Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(providers): hide first-party agents from ACP registry search #20171

ClosedStiensWout(GitHub profile, opens in a new tab)wants to merge 1 commit intomain fromrefs/pull/20171/headopened View on GitHub

Showing 2 changed files with 101 additions and 11 deletions.

x
0 of 2 viewed, 2 left
89 additions and 11 deletionspackages/provider-acp-registry/src/server/AcpRegistrySupport.test.tsModified
View file
@@ -910,19 +910,19 @@
it.effect("searches compatible agents with deterministic ranking and bounded metadata", () => {
const exact = {
...makeAgent({ npx: { package: "@example/acp@1.2.3" } }),
- id: "codex-acp",
- name: "Codex",
- authors: ["OpenAI", "Zed Industries"],
+ id: "kimi",
+ name: "Kimi",
+ authors: ["Moonshot AI", "Zed Industries"],
license: "Apache-2.0",
- website: "https://example.test/codex",
- repository: "https://example.test/codex/source",
- icon: "https://example.test/codex.svg",
+ website: "https://example.test/kimi",
+ repository: "https://example.test/kimi/source",
+ icon: "https://example.test/kimi.svg",
} satisfies AcpRegistrySupport.AcpRegistryAgent;
const descriptionMatch = {
...makeAgent({ npx: { package: "other-agent@1.2.3" } }),
id: "other-agent",
name: "Other Agent",
- description: "An adapter for Codex workflows",
+ description: "An adapter for Kimi workflows",
} satisfies AcpRegistrySupport.AcpRegistryAgent;
const incompatible = {
...makeAgent({
@@ -931,7 +931,7 @@