@agentxm/extension-model 0.28.4-bootstrap.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +110 -0
- package/README.md +17 -0
- package/dist/src/unstable/agent-capabilities/catalog.d.ts +47000 -0
- package/dist/src/unstable/agent-capabilities/catalog.js +172 -0
- package/dist/src/unstable/agent-capabilities/data/agents/adal.d.ts +162 -0
- package/dist/src/unstable/agent-capabilities/data/agents/adal.js +134 -0
- package/dist/src/unstable/agent-capabilities/data/agents/aider-desk.d.ts +167 -0
- package/dist/src/unstable/agent-capabilities/data/agents/aider-desk.js +133 -0
- package/dist/src/unstable/agent-capabilities/data/agents/amp.d.ts +203 -0
- package/dist/src/unstable/agent-capabilities/data/agents/amp.js +187 -0
- package/dist/src/unstable/agent-capabilities/data/agents/antigravity-cli.d.ts +186 -0
- package/dist/src/unstable/agent-capabilities/data/agents/antigravity-cli.js +140 -0
- package/dist/src/unstable/agent-capabilities/data/agents/antigravity.d.ts +357 -0
- package/dist/src/unstable/agent-capabilities/data/agents/antigravity.js +294 -0
- package/dist/src/unstable/agent-capabilities/data/agents/augment.d.ts +383 -0
- package/dist/src/unstable/agent-capabilities/data/agents/augment.js +329 -0
- package/dist/src/unstable/agent-capabilities/data/agents/chatgpt.d.ts +159 -0
- package/dist/src/unstable/agent-capabilities/data/agents/chatgpt.js +117 -0
- package/dist/src/unstable/agent-capabilities/data/agents/claude-ai.d.ts +153 -0
- package/dist/src/unstable/agent-capabilities/data/agents/claude-ai.js +105 -0
- package/dist/src/unstable/agent-capabilities/data/agents/claude-code.d.ts +460 -0
- package/dist/src/unstable/agent-capabilities/data/agents/claude-code.js +406 -0
- package/dist/src/unstable/agent-capabilities/data/agents/cline.d.ts +225 -0
- package/dist/src/unstable/agent-capabilities/data/agents/cline.js +190 -0
- package/dist/src/unstable/agent-capabilities/data/agents/codearts-agent.d.ts +246 -0
- package/dist/src/unstable/agent-capabilities/data/agents/codearts-agent.js +206 -0
- package/dist/src/unstable/agent-capabilities/data/agents/codebuddy.d.ts +420 -0
- package/dist/src/unstable/agent-capabilities/data/agents/codebuddy.js +378 -0
- package/dist/src/unstable/agent-capabilities/data/agents/codemaker.d.ts +143 -0
- package/dist/src/unstable/agent-capabilities/data/agents/codemaker.js +112 -0
- package/dist/src/unstable/agent-capabilities/data/agents/codestudio.d.ts +165 -0
- package/dist/src/unstable/agent-capabilities/data/agents/codestudio.js +136 -0
- package/dist/src/unstable/agent-capabilities/data/agents/codex.d.ts +458 -0
- package/dist/src/unstable/agent-capabilities/data/agents/codex.js +399 -0
- package/dist/src/unstable/agent-capabilities/data/agents/command-code.d.ts +247 -0
- package/dist/src/unstable/agent-capabilities/data/agents/command-code.js +222 -0
- package/dist/src/unstable/agent-capabilities/data/agents/continue.d.ts +322 -0
- package/dist/src/unstable/agent-capabilities/data/agents/continue.js +273 -0
- package/dist/src/unstable/agent-capabilities/data/agents/cortex.d.ts +306 -0
- package/dist/src/unstable/agent-capabilities/data/agents/cortex.js +241 -0
- package/dist/src/unstable/agent-capabilities/data/agents/cowork.d.ts +185 -0
- package/dist/src/unstable/agent-capabilities/data/agents/cowork.js +133 -0
- package/dist/src/unstable/agent-capabilities/data/agents/crush.d.ts +249 -0
- package/dist/src/unstable/agent-capabilities/data/agents/crush.js +218 -0
- package/dist/src/unstable/agent-capabilities/data/agents/cursor.d.ts +300 -0
- package/dist/src/unstable/agent-capabilities/data/agents/cursor.js +282 -0
- package/dist/src/unstable/agent-capabilities/data/agents/deepagents.d.ts +159 -0
- package/dist/src/unstable/agent-capabilities/data/agents/deepagents.js +137 -0
- package/dist/src/unstable/agent-capabilities/data/agents/devin.d.ts +410 -0
- package/dist/src/unstable/agent-capabilities/data/agents/devin.js +358 -0
- package/dist/src/unstable/agent-capabilities/data/agents/dexto.d.ts +166 -0
- package/dist/src/unstable/agent-capabilities/data/agents/dexto.js +141 -0
- package/dist/src/unstable/agent-capabilities/data/agents/droid.d.ts +318 -0
- package/dist/src/unstable/agent-capabilities/data/agents/droid.js +257 -0
- package/dist/src/unstable/agent-capabilities/data/agents/firebender.d.ts +313 -0
- package/dist/src/unstable/agent-capabilities/data/agents/firebender.js +244 -0
- package/dist/src/unstable/agent-capabilities/data/agents/forgecode.d.ts +193 -0
- package/dist/src/unstable/agent-capabilities/data/agents/forgecode.js +160 -0
- package/dist/src/unstable/agent-capabilities/data/agents/gemini-app.d.ts +153 -0
- package/dist/src/unstable/agent-capabilities/data/agents/gemini-app.js +105 -0
- package/dist/src/unstable/agent-capabilities/data/agents/gemini-cli.d.ts +424 -0
- package/dist/src/unstable/agent-capabilities/data/agents/gemini-cli.js +411 -0
- package/dist/src/unstable/agent-capabilities/data/agents/github-copilot-cli.d.ts +300 -0
- package/dist/src/unstable/agent-capabilities/data/agents/github-copilot-cli.js +307 -0
- package/dist/src/unstable/agent-capabilities/data/agents/goose.d.ts +162 -0
- package/dist/src/unstable/agent-capabilities/data/agents/goose.js +131 -0
- package/dist/src/unstable/agent-capabilities/data/agents/grok-cli.d.ts +186 -0
- package/dist/src/unstable/agent-capabilities/data/agents/grok-cli.js +164 -0
- package/dist/src/unstable/agent-capabilities/data/agents/hermes.d.ts +303 -0
- package/dist/src/unstable/agent-capabilities/data/agents/hermes.js +223 -0
- package/dist/src/unstable/agent-capabilities/data/agents/ibm-bob.d.ts +231 -0
- package/dist/src/unstable/agent-capabilities/data/agents/ibm-bob.js +200 -0
- package/dist/src/unstable/agent-capabilities/data/agents/iflow-cli.d.ts +182 -0
- package/dist/src/unstable/agent-capabilities/data/agents/iflow-cli.js +126 -0
- package/dist/src/unstable/agent-capabilities/data/agents/index.d.ts +67 -0
- package/dist/src/unstable/agent-capabilities/data/agents/index.js +67 -0
- package/dist/src/unstable/agent-capabilities/data/agents/junie.d.ts +219 -0
- package/dist/src/unstable/agent-capabilities/data/agents/junie.js +200 -0
- package/dist/src/unstable/agent-capabilities/data/agents/kilo.d.ts +282 -0
- package/dist/src/unstable/agent-capabilities/data/agents/kilo.js +260 -0
- package/dist/src/unstable/agent-capabilities/data/agents/kimi-cli.d.ts +350 -0
- package/dist/src/unstable/agent-capabilities/data/agents/kimi-cli.js +274 -0
- package/dist/src/unstable/agent-capabilities/data/agents/kiro-cli.d.ts +227 -0
- package/dist/src/unstable/agent-capabilities/data/agents/kiro-cli.js +197 -0
- package/dist/src/unstable/agent-capabilities/data/agents/kode.d.ts +166 -0
- package/dist/src/unstable/agent-capabilities/data/agents/kode.js +141 -0
- package/dist/src/unstable/agent-capabilities/data/agents/lingma.d.ts +185 -0
- package/dist/src/unstable/agent-capabilities/data/agents/lingma.js +149 -0
- package/dist/src/unstable/agent-capabilities/data/agents/mcpjam.d.ts +144 -0
- package/dist/src/unstable/agent-capabilities/data/agents/mcpjam.js +116 -0
- package/dist/src/unstable/agent-capabilities/data/agents/minimax-code.d.ts +138 -0
- package/dist/src/unstable/agent-capabilities/data/agents/minimax-code.js +93 -0
- package/dist/src/unstable/agent-capabilities/data/agents/mistral-vibe.d.ts +244 -0
- package/dist/src/unstable/agent-capabilities/data/agents/mistral-vibe.js +200 -0
- package/dist/src/unstable/agent-capabilities/data/agents/mux.d.ts +155 -0
- package/dist/src/unstable/agent-capabilities/data/agents/mux.js +127 -0
- package/dist/src/unstable/agent-capabilities/data/agents/neovate.d.ts +211 -0
- package/dist/src/unstable/agent-capabilities/data/agents/neovate.js +178 -0
- package/dist/src/unstable/agent-capabilities/data/agents/ona.d.ts +167 -0
- package/dist/src/unstable/agent-capabilities/data/agents/ona.js +110 -0
- package/dist/src/unstable/agent-capabilities/data/agents/openclaw.d.ts +139 -0
- package/dist/src/unstable/agent-capabilities/data/agents/openclaw.js +114 -0
- package/dist/src/unstable/agent-capabilities/data/agents/opencode.d.ts +220 -0
- package/dist/src/unstable/agent-capabilities/data/agents/opencode.js +192 -0
- package/dist/src/unstable/agent-capabilities/data/agents/openhands.d.ts +245 -0
- package/dist/src/unstable/agent-capabilities/data/agents/openhands.js +184 -0
- package/dist/src/unstable/agent-capabilities/data/agents/pi.d.ts +185 -0
- package/dist/src/unstable/agent-capabilities/data/agents/pi.js +169 -0
- package/dist/src/unstable/agent-capabilities/data/agents/pochi.d.ts +199 -0
- package/dist/src/unstable/agent-capabilities/data/agents/pochi.js +163 -0
- package/dist/src/unstable/agent-capabilities/data/agents/qoder-cn.d.ts +199 -0
- package/dist/src/unstable/agent-capabilities/data/agents/qoder-cn.js +141 -0
- package/dist/src/unstable/agent-capabilities/data/agents/qoder.d.ts +414 -0
- package/dist/src/unstable/agent-capabilities/data/agents/qoder.js +378 -0
- package/dist/src/unstable/agent-capabilities/data/agents/qwen-code.d.ts +406 -0
- package/dist/src/unstable/agent-capabilities/data/agents/qwen-code.js +345 -0
- package/dist/src/unstable/agent-capabilities/data/agents/replit.d.ts +144 -0
- package/dist/src/unstable/agent-capabilities/data/agents/replit.js +116 -0
- package/dist/src/unstable/agent-capabilities/data/agents/roo.d.ts +192 -0
- package/dist/src/unstable/agent-capabilities/data/agents/roo.js +180 -0
- package/dist/src/unstable/agent-capabilities/data/agents/rovodev.d.ts +189 -0
- package/dist/src/unstable/agent-capabilities/data/agents/rovodev.js +156 -0
- package/dist/src/unstable/agent-capabilities/data/agents/tabnine-cli.d.ts +280 -0
- package/dist/src/unstable/agent-capabilities/data/agents/tabnine-cli.js +223 -0
- package/dist/src/unstable/agent-capabilities/data/agents/trae-cn.d.ts +188 -0
- package/dist/src/unstable/agent-capabilities/data/agents/trae-cn.js +156 -0
- package/dist/src/unstable/agent-capabilities/data/agents/trae.d.ts +188 -0
- package/dist/src/unstable/agent-capabilities/data/agents/trae.js +156 -0
- package/dist/src/unstable/agent-capabilities/data/agents/warp.d.ts +169 -0
- package/dist/src/unstable/agent-capabilities/data/agents/warp.js +133 -0
- package/dist/src/unstable/agent-capabilities/data/agents/windsurf.d.ts +414 -0
- package/dist/src/unstable/agent-capabilities/data/agents/windsurf.js +326 -0
- package/dist/src/unstable/agent-capabilities/data/agents/zed.d.ts +168 -0
- package/dist/src/unstable/agent-capabilities/data/agents/zed.js +109 -0
- package/dist/src/unstable/agent-capabilities/data/agents/zencoder.d.ts +168 -0
- package/dist/src/unstable/agent-capabilities/data/agents/zencoder.js +137 -0
- package/dist/src/unstable/agent-capabilities/data/agents/zenflow.d.ts +153 -0
- package/dist/src/unstable/agent-capabilities/data/agents/zenflow.js +96 -0
- package/dist/src/unstable/agent-capabilities/derive.d.ts +129 -0
- package/dist/src/unstable/agent-capabilities/derive.js +389 -0
- package/dist/src/unstable/agent-capabilities/index.d.ts +15 -0
- package/dist/src/unstable/agent-capabilities/index.js +15 -0
- package/dist/src/unstable/agent-capabilities/lookup.d.ts +10 -0
- package/dist/src/unstable/agent-capabilities/lookup.js +9 -0
- package/dist/src/unstable/agent-capabilities/schema.d.ts +3788 -0
- package/dist/src/unstable/agent-capabilities/schema.js +1218 -0
- package/dist/src/unstable/agent-capabilities/verification.d.ts +25 -0
- package/dist/src/unstable/agent-capabilities/verification.js +40 -0
- package/dist/src/unstable/agents/registry.d.ts +33 -0
- package/dist/src/unstable/agents/registry.js +50 -0
- package/dist/src/unstable/agents/types.d.ts +126 -0
- package/dist/src/unstable/agents/types.js +17 -0
- package/dist/src/unstable/date-time.d.ts +17 -0
- package/dist/src/unstable/date-time.js +30 -0
- package/dist/src/unstable/discovery-walk.d.ts +8 -0
- package/dist/src/unstable/discovery-walk.js +15 -0
- package/dist/src/unstable/extension-types/index.d.ts +8 -0
- package/dist/src/unstable/extension-types/index.js +8 -0
- package/dist/src/unstable/extension-types/schema.d.ts +154 -0
- package/dist/src/unstable/extension-types/schema.js +102 -0
- package/dist/src/unstable/extension-types/standards.d.ts +29 -0
- package/dist/src/unstable/extension-types/standards.js +29 -0
- package/dist/src/unstable/extensions/common.d.ts +539 -0
- package/dist/src/unstable/extensions/common.js +605 -0
- package/dist/src/unstable/extensions/deprecation.d.ts +42 -0
- package/dist/src/unstable/extensions/deprecation.js +46 -0
- package/dist/src/unstable/extensions/fqn-pattern.d.ts +17 -0
- package/dist/src/unstable/extensions/fqn-pattern.js +63 -0
- package/dist/src/unstable/extensions/fqn.d.ts +51 -0
- package/dist/src/unstable/extensions/fqn.js +51 -0
- package/dist/src/unstable/extensions/handle.d.ts +16 -0
- package/dist/src/unstable/extensions/handle.js +30 -0
- package/dist/src/unstable/extensions/index.d.ts +13 -0
- package/dist/src/unstable/extensions/index.js +13 -0
- package/dist/src/unstable/extensions/installable-types.d.ts +12 -0
- package/dist/src/unstable/extensions/installable-types.js +21 -0
- package/dist/src/unstable/extensions/license.d.ts +16 -0
- package/dist/src/unstable/extensions/license.js +29 -0
- package/dist/src/unstable/extensions/manifest-metadata.d.ts +18 -0
- package/dist/src/unstable/extensions/manifest-metadata.js +61 -0
- package/dist/src/unstable/extensions/refs/extension-ref.d.ts +20 -0
- package/dist/src/unstable/extensions/refs/extension-ref.js +12 -0
- package/dist/src/unstable/extensions/refs/hook.d.ts +29 -0
- package/dist/src/unstable/extensions/refs/hook.js +8 -0
- package/dist/src/unstable/extensions/refs/knowledge.d.ts +15 -0
- package/dist/src/unstable/extensions/refs/knowledge.js +2 -0
- package/dist/src/unstable/extensions/refs/mcp-server.d.ts +19 -0
- package/dist/src/unstable/extensions/refs/mcp-server.js +8 -0
- package/dist/src/unstable/extensions/refs/pack.d.ts +17 -0
- package/dist/src/unstable/extensions/refs/pack.js +10 -0
- package/dist/src/unstable/extensions/refs/ref-base.d.ts +125 -0
- package/dist/src/unstable/extensions/refs/ref-base.js +12 -0
- package/dist/src/unstable/extensions/refs/rule.d.ts +27 -0
- package/dist/src/unstable/extensions/refs/rule.js +8 -0
- package/dist/src/unstable/extensions/refs/skill.d.ts +28 -0
- package/dist/src/unstable/extensions/refs/skill.js +11 -0
- package/dist/src/unstable/extensions/refs/subagent.d.ts +19 -0
- package/dist/src/unstable/extensions/refs/subagent.js +8 -0
- package/dist/src/unstable/extensions/registry-source.d.ts +37 -0
- package/dist/src/unstable/extensions/registry-source.js +158 -0
- package/dist/src/unstable/extensions/release-age.d.ts +36 -0
- package/dist/src/unstable/extensions/release-age.js +11 -0
- package/dist/src/unstable/extensions/universal-skills-dir.d.ts +58 -0
- package/dist/src/unstable/extensions/universal-skills-dir.js +68 -0
- package/dist/src/unstable/hooks/manifest-schema.d.ts +175 -0
- package/dist/src/unstable/hooks/manifest-schema.js +112 -0
- package/dist/src/unstable/knowledge/concept-ref.d.ts +34 -0
- package/dist/src/unstable/knowledge/concept-ref.js +114 -0
- package/dist/src/unstable/knowledge/index.d.ts +8 -0
- package/dist/src/unstable/knowledge/index.js +8 -0
- package/dist/src/unstable/knowledge/manifest-schema.d.ts +60 -0
- package/dist/src/unstable/knowledge/manifest-schema.js +34 -0
- package/dist/src/unstable/mcps/manifest-schema.d.ts +899 -0
- package/dist/src/unstable/mcps/manifest-schema.js +230 -0
- package/dist/src/unstable/package-urls/companion-package.d.ts +14 -0
- package/dist/src/unstable/package-urls/companion-package.js +44 -0
- package/dist/src/unstable/package-urls/index.d.ts +4 -0
- package/dist/src/unstable/package-urls/index.js +4 -0
- package/dist/src/unstable/package-urls/internal.d.ts +6 -0
- package/dist/src/unstable/package-urls/internal.js +17 -0
- package/dist/src/unstable/package-urls/package-identity-purl.d.ts +5 -0
- package/dist/src/unstable/package-urls/package-identity-purl.js +26 -0
- package/dist/src/unstable/package-urls/vers-range.d.ts +34 -0
- package/dist/src/unstable/package-urls/vers-range.js +163 -0
- package/dist/src/unstable/packaging/index.d.ts +8 -0
- package/dist/src/unstable/packaging/index.js +8 -0
- package/dist/src/unstable/packaging/package-type.d.ts +23 -0
- package/dist/src/unstable/packaging/package-type.js +31 -0
- package/dist/src/unstable/packaging/package-url.d.ts +50 -0
- package/dist/src/unstable/packaging/package-url.js +93 -0
- package/dist/src/unstable/packs/manifest-schema.d.ts +66 -0
- package/dist/src/unstable/packs/manifest-schema.js +34 -0
- package/dist/src/unstable/path-types.d.ts +22 -0
- package/dist/src/unstable/path-types.js +48 -0
- package/dist/src/unstable/rules/manifest-schema.d.ts +70 -0
- package/dist/src/unstable/rules/manifest-schema.js +43 -0
- package/dist/src/unstable/schema-issues.d.ts +13 -0
- package/dist/src/unstable/schema-issues.js +34 -0
- package/dist/src/unstable/skills/manifest-schema.d.ts +69 -0
- package/dist/src/unstable/skills/manifest-schema.js +31 -0
- package/dist/src/unstable/sources/forge-grammar.d.ts +22 -0
- package/dist/src/unstable/sources/forge-grammar.js +50 -0
- package/dist/src/unstable/sources/parser.d.ts +85 -0
- package/dist/src/unstable/sources/parser.js +122 -0
- package/dist/src/unstable/sources/printer.d.ts +14 -0
- package/dist/src/unstable/sources/printer.js +45 -0
- package/dist/src/unstable/sources/source-hash.d.ts +24 -0
- package/dist/src/unstable/sources/source-hash.js +22 -0
- package/dist/src/unstable/sources/source-host-provider.d.ts +112 -0
- package/dist/src/unstable/sources/source-host-provider.js +11 -0
- package/dist/src/unstable/sources/types.d.ts +262 -0
- package/dist/src/unstable/sources/types.js +127 -0
- package/dist/src/unstable/sources/workspace.d.ts +13 -0
- package/dist/src/unstable/sources/workspace.js +13 -0
- package/dist/src/unstable/subagents/manifest-schema.d.ts +81 -0
- package/dist/src/unstable/subagents/manifest-schema.js +43 -0
- package/dist/src/unstable/version-constraints/version-constraints.d.ts +71 -0
- package/dist/src/unstable/version-constraints/version-constraints.js +144 -0
- package/dist/src/unstable/workspace-files.d.ts +13 -0
- package/dist/src/unstable/workspace-files.js +13 -0
- package/dist/src/unstable/workspace-scope.d.ts +11 -0
- package/dist/src/unstable/workspace-scope.js +10 -0
- package/package.json +271 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Open standards referenced by the extension type catalog.
|
|
3
|
+
*
|
|
4
|
+
* @experimental This API is unstable and may change without notice.
|
|
5
|
+
*/
|
|
6
|
+
/** @experimental This API is unstable and may change without notice. */
|
|
7
|
+
export declare const STANDARDS: {
|
|
8
|
+
readonly skills: {
|
|
9
|
+
readonly id: "agent-skills";
|
|
10
|
+
readonly name: "Agent Skills";
|
|
11
|
+
readonly url: "https://agentskills.io";
|
|
12
|
+
};
|
|
13
|
+
readonly mcp: {
|
|
14
|
+
readonly id: "mcp";
|
|
15
|
+
readonly name: "Model Context Protocol";
|
|
16
|
+
readonly url: "https://modelcontextprotocol.io";
|
|
17
|
+
};
|
|
18
|
+
readonly rules: {
|
|
19
|
+
readonly id: "agents-md";
|
|
20
|
+
readonly name: "AGENTS.md";
|
|
21
|
+
readonly url: "https://agents.md";
|
|
22
|
+
};
|
|
23
|
+
readonly okf: {
|
|
24
|
+
readonly id: "okf-0.2";
|
|
25
|
+
readonly name: "Open Knowledge Format 0.2";
|
|
26
|
+
readonly url: "https://github.com/GoogleCloudPlatform/knowledge-catalog/blob/main/okf/SPEC.md";
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=standards.d.ts.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Open standards referenced by the extension type catalog.
|
|
3
|
+
*
|
|
4
|
+
* @experimental This API is unstable and may change without notice.
|
|
5
|
+
*/
|
|
6
|
+
/** @experimental This API is unstable and may change without notice. */
|
|
7
|
+
export const STANDARDS = {
|
|
8
|
+
skills: {
|
|
9
|
+
id: "agent-skills",
|
|
10
|
+
name: "Agent Skills",
|
|
11
|
+
url: "https://agentskills.io",
|
|
12
|
+
},
|
|
13
|
+
mcp: {
|
|
14
|
+
id: "mcp",
|
|
15
|
+
name: "Model Context Protocol",
|
|
16
|
+
url: "https://modelcontextprotocol.io",
|
|
17
|
+
},
|
|
18
|
+
rules: {
|
|
19
|
+
id: "agents-md",
|
|
20
|
+
name: "AGENTS.md",
|
|
21
|
+
url: "https://agents.md",
|
|
22
|
+
},
|
|
23
|
+
okf: {
|
|
24
|
+
id: "okf-0.2",
|
|
25
|
+
name: "Open Knowledge Format 0.2",
|
|
26
|
+
url: "https://github.com/GoogleCloudPlatform/knowledge-catalog/blob/main/okf/SPEC.md",
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=standards.js.map
|
|
@@ -0,0 +1,539 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Common schema definitions shared across AXM configuration files.
|
|
3
|
+
*
|
|
4
|
+
* @experimental This API is unstable and may change without notice.
|
|
5
|
+
*/
|
|
6
|
+
import * as Schema from "effect/Schema";
|
|
7
|
+
import * as Option from "effect/Option";
|
|
8
|
+
/**
|
|
9
|
+
* Author information for a manifest.
|
|
10
|
+
*
|
|
11
|
+
* @experimental This API is unstable and may change without notice.
|
|
12
|
+
*/
|
|
13
|
+
export declare const AuthorSchema: Schema.Struct<{
|
|
14
|
+
readonly name: Schema.String;
|
|
15
|
+
readonly email: Schema.optional<Schema.String>;
|
|
16
|
+
readonly url: Schema.optional<Schema.String>;
|
|
17
|
+
}>;
|
|
18
|
+
/**
|
|
19
|
+
* Author information in runtime/domain models.
|
|
20
|
+
*
|
|
21
|
+
* @experimental This API is unstable and may change without notice.
|
|
22
|
+
*/
|
|
23
|
+
export interface Author {
|
|
24
|
+
readonly name: string;
|
|
25
|
+
readonly email: Option.Option<string>;
|
|
26
|
+
readonly url: Option.Option<string>;
|
|
27
|
+
}
|
|
28
|
+
/** Convert schema-decoded author shape into runtime/domain Author. */
|
|
29
|
+
export declare const toAuthor: (author: Schema.Schema.Type<typeof AuthorSchema>) => Author;
|
|
30
|
+
/**
|
|
31
|
+
* Repository field for extension manifests. Accepts either a URL string
|
|
32
|
+
* (or shorthand like `github:owner/repo`) or an npm-style object with
|
|
33
|
+
* optional `type` and `directory` for monorepo subpaths.
|
|
34
|
+
*
|
|
35
|
+
* Matches the shape accepted by npm's `package.json` `repository` field.
|
|
36
|
+
*
|
|
37
|
+
* @experimental This API is unstable and may change without notice.
|
|
38
|
+
*/
|
|
39
|
+
export declare const RepositorySchema: Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
40
|
+
readonly type: Schema.optional<Schema.NonEmptyString>;
|
|
41
|
+
readonly url: Schema.NonEmptyString;
|
|
42
|
+
readonly directory: Schema.optional<Schema.NonEmptyString>;
|
|
43
|
+
}>]>;
|
|
44
|
+
/**
|
|
45
|
+
* Inferred type for {@link RepositorySchema}.
|
|
46
|
+
*
|
|
47
|
+
* @experimental This API is unstable and may change without notice.
|
|
48
|
+
*/
|
|
49
|
+
export type Repository = Schema.Schema.Type<typeof RepositorySchema>;
|
|
50
|
+
/**
|
|
51
|
+
* Bugs field for extension manifests. Accepts either a URL string or an
|
|
52
|
+
* npm-style object with optional `url` and `email`.
|
|
53
|
+
*
|
|
54
|
+
* @experimental This API is unstable and may change without notice.
|
|
55
|
+
*/
|
|
56
|
+
export declare const BugsSchema: Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
57
|
+
readonly url: Schema.optional<Schema.NonEmptyString>;
|
|
58
|
+
readonly email: Schema.optional<Schema.NonEmptyString>;
|
|
59
|
+
}>]>;
|
|
60
|
+
/**
|
|
61
|
+
* Inferred type for {@link BugsSchema}.
|
|
62
|
+
*
|
|
63
|
+
* @experimental This API is unstable and may change without notice.
|
|
64
|
+
*/
|
|
65
|
+
export type Bugs = Schema.Schema.Type<typeof BugsSchema>;
|
|
66
|
+
/**
|
|
67
|
+
* License field for extension manifests.
|
|
68
|
+
*
|
|
69
|
+
* Accepts valid SPDX license expressions plus the npm-compatible
|
|
70
|
+
* `UNLICENSED` literal for proprietary code that grants no license.
|
|
71
|
+
*
|
|
72
|
+
* @experimental This API is unstable and may change without notice.
|
|
73
|
+
*/
|
|
74
|
+
export declare const LicenseSchema: Schema.String;
|
|
75
|
+
/** How an extension type is distributed. All current types are registry-distributed. */
|
|
76
|
+
export type ExtensionDistribution = "registry";
|
|
77
|
+
/**
|
|
78
|
+
* Where an extension type's installed artifacts live: in per-agent locations
|
|
79
|
+
* AXM can collide with, in workspace-owned locations, or nowhere of its own
|
|
80
|
+
* (container types like pack).
|
|
81
|
+
*/
|
|
82
|
+
export type ExtensionPlacement = "per-agent" | "workspace" | "container";
|
|
83
|
+
/** What a governing standard covers for a type, when one exists. */
|
|
84
|
+
export type StandardGoverns = "package-body" | "runtime-protocol" | "host-file";
|
|
85
|
+
/** Workspace-level capability a type participates in. */
|
|
86
|
+
export type WorkspaceCapabilityKey = "instructions";
|
|
87
|
+
/**
|
|
88
|
+
* One extension type's naming and capability-axis row. Every CONDITIONAL
|
|
89
|
+
* parity obligation is a predicate over the five axis columns.
|
|
90
|
+
*/
|
|
91
|
+
interface ExtensionTypeRow {
|
|
92
|
+
readonly plural: string;
|
|
93
|
+
readonly label: string;
|
|
94
|
+
readonly pluralLabel: string;
|
|
95
|
+
readonly sentenceLabel: string;
|
|
96
|
+
readonly pluralSentenceLabel: string;
|
|
97
|
+
readonly distribution: ExtensionDistribution;
|
|
98
|
+
readonly placement: ExtensionPlacement;
|
|
99
|
+
readonly governs: StandardGoverns | null;
|
|
100
|
+
readonly installInputs: boolean;
|
|
101
|
+
readonly workspaceCapability: WorkspaceCapabilityKey | null;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Single source of truth for extension type naming. Row order is the canonical
|
|
105
|
+
* display order. Every other type-naming export in this module derives from
|
|
106
|
+
* this table, so a new extension type is exactly one row here: a missing
|
|
107
|
+
* column is TS2741, an excess column is TS2353, and every downstream
|
|
108
|
+
* `satisfies Record<ExtensionType, _>` table fails until the new type is
|
|
109
|
+
* decided everywhere.
|
|
110
|
+
*
|
|
111
|
+
* @experimental This API is unstable and may change without notice.
|
|
112
|
+
*/
|
|
113
|
+
export declare const EXTENSION_TYPE_TABLE: {
|
|
114
|
+
readonly skill: {
|
|
115
|
+
readonly plural: "skills";
|
|
116
|
+
readonly label: "Skill";
|
|
117
|
+
readonly pluralLabel: "Skills";
|
|
118
|
+
readonly sentenceLabel: "skill";
|
|
119
|
+
readonly pluralSentenceLabel: "skills";
|
|
120
|
+
readonly distribution: "registry";
|
|
121
|
+
readonly placement: "per-agent";
|
|
122
|
+
readonly governs: "package-body";
|
|
123
|
+
readonly installInputs: false;
|
|
124
|
+
readonly workspaceCapability: null;
|
|
125
|
+
};
|
|
126
|
+
readonly "mcp-server": {
|
|
127
|
+
readonly plural: "mcps";
|
|
128
|
+
readonly label: "MCP Server";
|
|
129
|
+
readonly pluralLabel: "MCP Servers";
|
|
130
|
+
readonly sentenceLabel: "MCP server";
|
|
131
|
+
readonly pluralSentenceLabel: "MCP servers";
|
|
132
|
+
readonly distribution: "registry";
|
|
133
|
+
readonly placement: "per-agent";
|
|
134
|
+
readonly governs: "runtime-protocol";
|
|
135
|
+
readonly installInputs: true;
|
|
136
|
+
readonly workspaceCapability: null;
|
|
137
|
+
};
|
|
138
|
+
readonly subagent: {
|
|
139
|
+
readonly plural: "subagents";
|
|
140
|
+
readonly label: "Subagent";
|
|
141
|
+
readonly pluralLabel: "Subagents";
|
|
142
|
+
readonly sentenceLabel: "subagent";
|
|
143
|
+
readonly pluralSentenceLabel: "subagents";
|
|
144
|
+
readonly distribution: "registry";
|
|
145
|
+
readonly placement: "per-agent";
|
|
146
|
+
readonly governs: null;
|
|
147
|
+
readonly installInputs: false;
|
|
148
|
+
readonly workspaceCapability: null;
|
|
149
|
+
};
|
|
150
|
+
readonly rule: {
|
|
151
|
+
readonly plural: "rules";
|
|
152
|
+
readonly label: "Rule";
|
|
153
|
+
readonly pluralLabel: "Rules";
|
|
154
|
+
readonly sentenceLabel: "rule";
|
|
155
|
+
readonly pluralSentenceLabel: "rules";
|
|
156
|
+
readonly distribution: "registry";
|
|
157
|
+
readonly placement: "workspace";
|
|
158
|
+
readonly governs: "host-file";
|
|
159
|
+
readonly installInputs: false;
|
|
160
|
+
readonly workspaceCapability: "instructions";
|
|
161
|
+
};
|
|
162
|
+
readonly hook: {
|
|
163
|
+
readonly plural: "hooks";
|
|
164
|
+
readonly label: "Hook";
|
|
165
|
+
readonly pluralLabel: "Hooks";
|
|
166
|
+
readonly sentenceLabel: "hook";
|
|
167
|
+
readonly pluralSentenceLabel: "hooks";
|
|
168
|
+
readonly distribution: "registry";
|
|
169
|
+
readonly placement: "per-agent";
|
|
170
|
+
readonly governs: null;
|
|
171
|
+
readonly installInputs: false;
|
|
172
|
+
readonly workspaceCapability: null;
|
|
173
|
+
};
|
|
174
|
+
readonly knowledge: {
|
|
175
|
+
readonly plural: "knowledge";
|
|
176
|
+
readonly label: "Knowledge";
|
|
177
|
+
readonly pluralLabel: "Knowledge";
|
|
178
|
+
readonly sentenceLabel: "knowledge bundle";
|
|
179
|
+
readonly pluralSentenceLabel: "knowledge bundles";
|
|
180
|
+
readonly distribution: "registry";
|
|
181
|
+
readonly placement: "workspace";
|
|
182
|
+
readonly governs: "package-body";
|
|
183
|
+
readonly installInputs: false;
|
|
184
|
+
readonly workspaceCapability: null;
|
|
185
|
+
};
|
|
186
|
+
readonly pack: {
|
|
187
|
+
readonly plural: "packs";
|
|
188
|
+
readonly label: "Pack";
|
|
189
|
+
readonly pluralLabel: "Packs";
|
|
190
|
+
readonly sentenceLabel: "pack";
|
|
191
|
+
readonly pluralSentenceLabel: "packs";
|
|
192
|
+
readonly distribution: "registry";
|
|
193
|
+
readonly placement: "container";
|
|
194
|
+
readonly governs: null;
|
|
195
|
+
readonly installInputs: false;
|
|
196
|
+
readonly workspaceCapability: null;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
export type ExtensionType = keyof typeof EXTENSION_TYPE_TABLE;
|
|
200
|
+
export type ExtensionTypePlural = (typeof EXTENSION_TYPE_TABLE)[ExtensionType]["plural"];
|
|
201
|
+
export declare const extensionTypes: ReadonlyArray<ExtensionType>;
|
|
202
|
+
export declare const extensionTypePluralSegments: ReadonlyArray<ExtensionTypePlural>;
|
|
203
|
+
export declare const isExtensionType: (value: string | undefined) => value is ExtensionType;
|
|
204
|
+
export declare const isExtensionTypePlural: (value: string | undefined) => value is ExtensionTypePlural;
|
|
205
|
+
export declare const extensionTypeFromPlural: Record<ExtensionTypePlural, ExtensionType>;
|
|
206
|
+
export declare const extensionTypeToPlural: Record<ExtensionType, ExtensionTypePlural>;
|
|
207
|
+
export declare const toExtensionType: (segment: ExtensionTypePlural) => ExtensionType;
|
|
208
|
+
export declare const toExtensionTypePlural: (type: ExtensionType) => ExtensionTypePlural;
|
|
209
|
+
export declare const extensionTypeLabels: Record<ExtensionType, string>;
|
|
210
|
+
export declare const extensionTypePluralLabels: Record<ExtensionTypePlural, string>;
|
|
211
|
+
export declare const extensionTypeSentenceLabels: Record<ExtensionType, string>;
|
|
212
|
+
export declare const extensionTypePluralSentenceLabels: Record<ExtensionTypePlural, string>;
|
|
213
|
+
/**
|
|
214
|
+
* Plural extension-type segments that may appear as dependency keys —
|
|
215
|
+
* everything except `packs`. Packs cannot depend on other packs.
|
|
216
|
+
*
|
|
217
|
+
* @experimental This API is unstable and may change without notice.
|
|
218
|
+
*/
|
|
219
|
+
export type NonPackExtensionTypePlural = Exclude<ExtensionTypePlural, "packs">;
|
|
220
|
+
export declare const nonPackExtensionTypePluralSegments: ReadonlyArray<NonPackExtensionTypePlural>;
|
|
221
|
+
type ExtensionTypeRows = typeof EXTENSION_TYPE_TABLE;
|
|
222
|
+
/**
|
|
223
|
+
* Extension types whose table row matches an axis value. Derived, never
|
|
224
|
+
* hand-written: an axis change on a row updates every union below, and the
|
|
225
|
+
* exact-membership pins in extension-type-table.type-test.ts fail compile in
|
|
226
|
+
* both directions if a union gains or loses a member.
|
|
227
|
+
*/
|
|
228
|
+
type TypesWhere<Axis extends keyof ExtensionTypeRow, Value> = {
|
|
229
|
+
[Key in ExtensionType]: ExtensionTypeRows[Key][Axis] extends Value ? Key : never;
|
|
230
|
+
}[ExtensionType];
|
|
231
|
+
/** Extension types materialized into agent-owned locations. */
|
|
232
|
+
export type PerAgentType = TypesWhere<"placement", "per-agent">;
|
|
233
|
+
/** Extension types materialized into workspace-owned locations. */
|
|
234
|
+
export type WorkspaceType = TypesWhere<"placement", "workspace">;
|
|
235
|
+
/** Extension types that coordinate other extensions instead of projecting directly. */
|
|
236
|
+
export type ContainerType = TypesWhere<"placement", "container">;
|
|
237
|
+
/** Registry-distributed non-container extension types. */
|
|
238
|
+
export type RegistryType = PerAgentType | WorkspaceType;
|
|
239
|
+
/** Extension types whose installs accept user-provided inputs. */
|
|
240
|
+
export type InputType = TypesWhere<"installInputs", true>;
|
|
241
|
+
/** Extension types whose governing standard covers the package body. */
|
|
242
|
+
export type BodyGovernedType = TypesWhere<"governs", "package-body">;
|
|
243
|
+
/**
|
|
244
|
+
* Extension types a standard governs at all. The agent catalog records a
|
|
245
|
+
* standards-compliance grade for exactly these, so the grade is never
|
|
246
|
+
* hand-applied per capability schema.
|
|
247
|
+
*/
|
|
248
|
+
export type SpecTrackedType = TypesWhere<"governs", StandardGoverns>;
|
|
249
|
+
/**
|
|
250
|
+
* Extension types that double as a workspace-level capability toggle. These
|
|
251
|
+
* carry workspace configuration of their own, so surfaces that split extension
|
|
252
|
+
* management from workspace management group them with the workspace.
|
|
253
|
+
*/
|
|
254
|
+
export type WorkspaceCapabilityType = TypesWhere<"workspaceCapability", WorkspaceCapabilityKey>;
|
|
255
|
+
export declare const PER_AGENT_EXTENSION_TYPES: ReadonlyArray<PerAgentType>;
|
|
256
|
+
export declare const WORKSPACE_EXTENSION_TYPES: ReadonlyArray<WorkspaceType>;
|
|
257
|
+
export declare const CONTAINER_EXTENSION_TYPES: ReadonlyArray<ContainerType>;
|
|
258
|
+
export declare const REGISTRY_EXTENSION_TYPES: ReadonlyArray<RegistryType>;
|
|
259
|
+
export declare const INPUT_EXTENSION_TYPES: ReadonlyArray<InputType>;
|
|
260
|
+
export declare const BODY_GOVERNED_EXTENSION_TYPES: ReadonlyArray<BodyGovernedType>;
|
|
261
|
+
export declare const SPEC_TRACKED_EXTENSION_TYPES: ReadonlyArray<SpecTrackedType>;
|
|
262
|
+
export declare const WORKSPACE_CAPABILITY_EXTENSION_TYPES: ReadonlyArray<WorkspaceCapabilityType>;
|
|
263
|
+
/** Extension types managed purely as extensions, with no workspace capability. */
|
|
264
|
+
export declare const EXTENSION_ONLY_TYPES: ReadonlyArray<Exclude<ExtensionType, WorkspaceCapabilityType>>;
|
|
265
|
+
/**
|
|
266
|
+
* Fully qualified name regex: `@<handle>/<type>/<name>` where handle and name
|
|
267
|
+
* use the canonical handle, plural extension type, and extension name grammar.
|
|
268
|
+
*
|
|
269
|
+
* @experimental This API is unstable and may change without notice.
|
|
270
|
+
*/
|
|
271
|
+
export declare const FQN_PATTERN: RegExp;
|
|
272
|
+
/**
|
|
273
|
+
* Fully qualified name regex restricted to non-pack extension types. Matches
|
|
274
|
+
* `@<handle>/<type>/<name>` where `<type>` is any plural extension type other
|
|
275
|
+
* than `packs`.
|
|
276
|
+
*
|
|
277
|
+
* @experimental This API is unstable and may change without notice.
|
|
278
|
+
*/
|
|
279
|
+
export declare const NON_PACK_FQN_PATTERN: RegExp;
|
|
280
|
+
/**
|
|
281
|
+
* Fully qualified name regex restricted to the pack extension type. Matches
|
|
282
|
+
* `@<handle>/packs/<name>`.
|
|
283
|
+
*
|
|
284
|
+
* @experimental This API is unstable and may change without notice.
|
|
285
|
+
*/
|
|
286
|
+
export declare const PACK_FQN_PATTERN: RegExp;
|
|
287
|
+
/**
|
|
288
|
+
* Canonical extension short name regex.
|
|
289
|
+
*/
|
|
290
|
+
export declare const EXTENSION_NAME_PATTERN: RegExp;
|
|
291
|
+
/**
|
|
292
|
+
* Canonical extension short name schema shared by generic extension surfaces.
|
|
293
|
+
*/
|
|
294
|
+
export declare const ExtensionNameSchema: Schema.brand<Schema.NonEmptyString, "ExtensionName">;
|
|
295
|
+
export type ExtensionName = Schema.Schema.Type<typeof ExtensionNameSchema>;
|
|
296
|
+
export declare const decodeExtensionNameSync: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"ExtensionName">;
|
|
297
|
+
/**
|
|
298
|
+
* Extension type enumeration.
|
|
299
|
+
*
|
|
300
|
+
* @experimental This API is unstable and may change without notice.
|
|
301
|
+
*/
|
|
302
|
+
export declare const ExtensionTypeSchema: Schema.Literals<readonly ("skill" | "mcp-server" | "subagent" | "rule" | "hook" | "knowledge" | "pack")[]>;
|
|
303
|
+
/**
|
|
304
|
+
* Plural extension-type segment enumeration used by route/FQN surfaces.
|
|
305
|
+
*
|
|
306
|
+
* @experimental This API is unstable and may change without notice.
|
|
307
|
+
*/
|
|
308
|
+
export declare const ExtensionTypePluralSchema: Schema.Literals<readonly ("skills" | "mcps" | "subagents" | "rules" | "hooks" | "knowledge" | "packs")[]>;
|
|
309
|
+
/**
|
|
310
|
+
* Structured FQN parts schema composed from the canonical handle, type, and name schemas.
|
|
311
|
+
*
|
|
312
|
+
* @experimental This API is unstable and may change without notice.
|
|
313
|
+
*/
|
|
314
|
+
export declare const ExtensionFqnPartsSchema: Schema.Struct<{
|
|
315
|
+
readonly owner: Schema.brand<Schema.String, "Handle">;
|
|
316
|
+
readonly type: Schema.Literals<readonly ("skill" | "mcp-server" | "subagent" | "rule" | "hook" | "knowledge" | "pack")[]>;
|
|
317
|
+
readonly name: Schema.brand<Schema.NonEmptyString, "ExtensionName">;
|
|
318
|
+
}>;
|
|
319
|
+
/**
|
|
320
|
+
* Inferred type for parsed FQN parts.
|
|
321
|
+
*
|
|
322
|
+
* @experimental This API is unstable and may change without notice.
|
|
323
|
+
*/
|
|
324
|
+
export type ExtensionFqnParts = Schema.Schema.Type<typeof ExtensionFqnPartsSchema>;
|
|
325
|
+
/**
|
|
326
|
+
* Parse a fully qualified name string into validated structured parts.
|
|
327
|
+
*
|
|
328
|
+
* @experimental This API is unstable and may change without notice.
|
|
329
|
+
*/
|
|
330
|
+
export declare const parseExtensionFqnParts: (input: string) => ExtensionFqnParts | undefined;
|
|
331
|
+
/**
|
|
332
|
+
* Parse an extension spec string (with optional version constraint) into parts.
|
|
333
|
+
* Strips the version constraint suffix and returns the validated FQN parts.
|
|
334
|
+
*
|
|
335
|
+
* @experimental This API is unstable and may change without notice.
|
|
336
|
+
*/
|
|
337
|
+
export declare const parseExtensionSpecParts: (input: string) => ExtensionFqnParts | undefined;
|
|
338
|
+
/**
|
|
339
|
+
* Fully qualified name string schema validated against the composed handle,
|
|
340
|
+
* type, and name patterns. Annotated so JSON Schema generation surfaces a
|
|
341
|
+
* `pattern` and a top-level `ExtensionFqn` definition that `Schema.Record`
|
|
342
|
+
* keys can reference via `propertyNames`.
|
|
343
|
+
*
|
|
344
|
+
* @experimental This API is unstable and may change without notice.
|
|
345
|
+
*/
|
|
346
|
+
export declare const ExtensionFqnSchema: Schema.String;
|
|
347
|
+
/**
|
|
348
|
+
* Inferred type for ExtensionFqn schema.
|
|
349
|
+
*
|
|
350
|
+
* @experimental This API is unstable and may change without notice.
|
|
351
|
+
*/
|
|
352
|
+
export type ExtensionFqn = Schema.Schema.Type<typeof ExtensionFqnSchema>;
|
|
353
|
+
/**
|
|
354
|
+
* Fully qualified name string schema restricted to non-pack extension types.
|
|
355
|
+
* Used wherever pack-typed FQNs are not permitted, like the keys of a pack
|
|
356
|
+
* manifest's `dependencies` map.
|
|
357
|
+
*
|
|
358
|
+
* @experimental This API is unstable and may change without notice.
|
|
359
|
+
*/
|
|
360
|
+
export declare const NonPackExtensionFqnSchema: Schema.String;
|
|
361
|
+
/**
|
|
362
|
+
* Inferred type for NonPackExtensionFqn schema.
|
|
363
|
+
*
|
|
364
|
+
* @experimental This API is unstable and may change without notice.
|
|
365
|
+
*/
|
|
366
|
+
export type NonPackExtensionFqn = Schema.Schema.Type<typeof NonPackExtensionFqnSchema>;
|
|
367
|
+
/**
|
|
368
|
+
* Fully qualified name string schema restricted to the pack extension type.
|
|
369
|
+
* Used wherever only pack-typed FQNs are permitted, like the items of a
|
|
370
|
+
* non-pack manifest's `recommendedPacks` list.
|
|
371
|
+
*
|
|
372
|
+
* @experimental This API is unstable and may change without notice.
|
|
373
|
+
*/
|
|
374
|
+
export declare const PackFqnSchema: Schema.String;
|
|
375
|
+
/**
|
|
376
|
+
* Inferred type for PackFqn schema.
|
|
377
|
+
*
|
|
378
|
+
* @experimental This API is unstable and may change without notice.
|
|
379
|
+
*/
|
|
380
|
+
export type PackFqn = Schema.Schema.Type<typeof PackFqnSchema>;
|
|
381
|
+
/**
|
|
382
|
+
* Extension spec — fully qualified extension name with an optional version
|
|
383
|
+
* constraint suffix. Accepts `@owner/type/name` or `@owner/type/name@constraint`
|
|
384
|
+
* where the FQN portion validates through ExtensionFqnSchema and the optional
|
|
385
|
+
* constraint validates as a semver VersionRange.
|
|
386
|
+
*
|
|
387
|
+
* @experimental This API is unstable and may change without notice.
|
|
388
|
+
*/
|
|
389
|
+
export declare const ExtensionSpecSchema: Schema.brand<Schema.NonEmptyString, "ExtensionSpec">;
|
|
390
|
+
/**
|
|
391
|
+
* Inferred type for ExtensionSpec schema.
|
|
392
|
+
*
|
|
393
|
+
* @experimental This API is unstable and may change without notice.
|
|
394
|
+
*/
|
|
395
|
+
export type ExtensionSpec = Schema.Schema.Type<typeof ExtensionSpecSchema>;
|
|
396
|
+
/**
|
|
397
|
+
* Pack spec — fully qualified pack name with an optional version constraint
|
|
398
|
+
* suffix. Accepts `@owner/packs/name` or `@owner/packs/name@constraint` where
|
|
399
|
+
* the FQN portion validates through PackFqnSchema and the optional constraint
|
|
400
|
+
* validates as a semver VersionRange.
|
|
401
|
+
*
|
|
402
|
+
* @experimental This API is unstable and may change without notice.
|
|
403
|
+
*/
|
|
404
|
+
export declare const PackSpecSchema: Schema.brand<Schema.NonEmptyString, "PackSpec">;
|
|
405
|
+
/**
|
|
406
|
+
* Inferred type for PackSpec schema.
|
|
407
|
+
*
|
|
408
|
+
* @experimental This API is unstable and may change without notice.
|
|
409
|
+
*/
|
|
410
|
+
export type PackSpec = Schema.Schema.Type<typeof PackSpecSchema>;
|
|
411
|
+
/**
|
|
412
|
+
* Map of fully-qualified extension names to semver constraints.
|
|
413
|
+
*
|
|
414
|
+
* @experimental This API is unstable and may change without notice.
|
|
415
|
+
*/
|
|
416
|
+
export declare const ExtensionDependencyConstraintMapSchema: Schema.$Record<Schema.String, Schema.brand<Schema.NonEmptyString, "VersionRange">>;
|
|
417
|
+
/**
|
|
418
|
+
* Inferred type for extension dependency constraint maps.
|
|
419
|
+
*
|
|
420
|
+
* @experimental This API is unstable and may change without notice.
|
|
421
|
+
*/
|
|
422
|
+
export type ExtensionDependencyConstraintMap = Schema.Schema.Type<typeof ExtensionDependencyConstraintMapSchema>;
|
|
423
|
+
/**
|
|
424
|
+
* Map of non-pack fully-qualified extension names to semver constraints.
|
|
425
|
+
* Used for pack manifest `dependencies`, which cannot include other packs.
|
|
426
|
+
*
|
|
427
|
+
* @experimental This API is unstable and may change without notice.
|
|
428
|
+
*/
|
|
429
|
+
export declare const NonPackExtensionDependencyConstraintMapSchema: Schema.$Record<Schema.String, Schema.brand<Schema.NonEmptyString, "VersionRange">>;
|
|
430
|
+
/**
|
|
431
|
+
* Inferred type for non-pack extension dependency constraint maps.
|
|
432
|
+
*
|
|
433
|
+
* @experimental This API is unstable and may change without notice.
|
|
434
|
+
*/
|
|
435
|
+
export type NonPackExtensionDependencyConstraintMap = Schema.Schema.Type<typeof NonPackExtensionDependencyConstraintMapSchema>;
|
|
436
|
+
/**
|
|
437
|
+
* Publish-time packaging options.
|
|
438
|
+
*
|
|
439
|
+
* Declared in the manifest rather than in workspace settings so the policy
|
|
440
|
+
* travels with the package: whoever publishes a checkout produces the same
|
|
441
|
+
* archive. Absent means every file under the package directory is published,
|
|
442
|
+
* which is the default and the only behavior before this field existed.
|
|
443
|
+
*
|
|
444
|
+
* @experimental This API is unstable and may change without notice.
|
|
445
|
+
*/
|
|
446
|
+
export declare const ExtensionVisibilitySchema: Schema.Literals<readonly ["public", "private"]>;
|
|
447
|
+
/** @experimental This API is unstable and may change without notice. */
|
|
448
|
+
export type ExtensionVisibility = Schema.Schema.Type<typeof ExtensionVisibilitySchema>;
|
|
449
|
+
export declare const PublishOptionsSchema: Schema.Struct<{
|
|
450
|
+
readonly visibility: Schema.optional<Schema.Literals<readonly ["public", "private"]>>;
|
|
451
|
+
readonly ignore: Schema.optional<Schema.$Array<Schema.NonEmptyString>>;
|
|
452
|
+
}>;
|
|
453
|
+
/** @experimental This API is unstable and may change without notice. */
|
|
454
|
+
export type PublishOptions = Schema.Schema.Type<typeof PublishOptionsSchema>;
|
|
455
|
+
/**
|
|
456
|
+
* Common base fields shared across manifest types.
|
|
457
|
+
* Type-specific manifests provide their own `type` and `name` fields explicitly.
|
|
458
|
+
*
|
|
459
|
+
* @experimental This API is unstable and may change without notice.
|
|
460
|
+
*/
|
|
461
|
+
export declare const CommonManifestBaseFields: {
|
|
462
|
+
publish: Schema.optional<Schema.Struct<{
|
|
463
|
+
readonly visibility: Schema.optional<Schema.Literals<readonly ["public", "private"]>>;
|
|
464
|
+
readonly ignore: Schema.optional<Schema.$Array<Schema.NonEmptyString>>;
|
|
465
|
+
}>>;
|
|
466
|
+
metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
467
|
+
owner: Schema.brand<Schema.String, "Handle">;
|
|
468
|
+
version: Schema.brand<Schema.String, "Version">;
|
|
469
|
+
description: Schema.optional<Schema.String>;
|
|
470
|
+
keywords: Schema.optional<Schema.$Array<Schema.NonEmptyString>>;
|
|
471
|
+
repository: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
472
|
+
readonly type: Schema.optional<Schema.NonEmptyString>;
|
|
473
|
+
readonly url: Schema.NonEmptyString;
|
|
474
|
+
readonly directory: Schema.optional<Schema.NonEmptyString>;
|
|
475
|
+
}>]>>;
|
|
476
|
+
homepage: Schema.optional<Schema.String>;
|
|
477
|
+
license: Schema.optional<Schema.String>;
|
|
478
|
+
bugs: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
479
|
+
readonly url: Schema.optional<Schema.NonEmptyString>;
|
|
480
|
+
readonly email: Schema.optional<Schema.NonEmptyString>;
|
|
481
|
+
}>]>>;
|
|
482
|
+
authors: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
483
|
+
readonly name: Schema.String;
|
|
484
|
+
readonly email: Schema.optional<Schema.String>;
|
|
485
|
+
readonly url: Schema.optional<Schema.String>;
|
|
486
|
+
}>>>;
|
|
487
|
+
packages: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
488
|
+
readonly purl: Schema.brand<Schema.NonEmptyString, "PackageIdentityPurl">;
|
|
489
|
+
readonly versionRange: Schema.optional<Schema.brand<Schema.decodeTo<Schema.toType<Schema.Struct<{
|
|
490
|
+
readonly raw: Schema.NonEmptyString;
|
|
491
|
+
readonly scheme: Schema.NonEmptyString;
|
|
492
|
+
readonly constraints: Schema.$Array<Schema.Struct<{
|
|
493
|
+
readonly comparator: Schema.Literals<readonly ["=", "!=", "<", "<=", ">", ">="]>;
|
|
494
|
+
readonly version: Schema.NonEmptyString;
|
|
495
|
+
}>>;
|
|
496
|
+
}>>, Schema.NonEmptyString, never, never>, "VersRange">>;
|
|
497
|
+
}>>>;
|
|
498
|
+
};
|
|
499
|
+
/**
|
|
500
|
+
* Fields shared across non-pack extension manifests. These describe how an
|
|
501
|
+
* extension relates to packs.
|
|
502
|
+
*
|
|
503
|
+
* @experimental This API is unstable and may change without notice.
|
|
504
|
+
*/
|
|
505
|
+
export declare const NonPackManifestFields: {
|
|
506
|
+
enhances: Schema.optional<Schema.$Array<Schema.NonEmptyString>>;
|
|
507
|
+
requires: Schema.optional<Schema.$Array<Schema.NonEmptyString>>;
|
|
508
|
+
fallback: Schema.optional<Schema.Literals<readonly ["auto", "none"]>>;
|
|
509
|
+
recommendedPacks: Schema.optional<Schema.$Array<Schema.brand<Schema.NonEmptyString, "PackSpec">>>;
|
|
510
|
+
standalone: Schema.optional<Schema.Boolean>;
|
|
511
|
+
};
|
|
512
|
+
/**
|
|
513
|
+
* Agent identifier enumeration for supported coding agents.
|
|
514
|
+
*
|
|
515
|
+
* Derived from `AGENT_IDS` in agents/types.ts — compile-time enforced,
|
|
516
|
+
* no manual sync required.
|
|
517
|
+
*
|
|
518
|
+
* @experimental This API is unstable and may change without notice.
|
|
519
|
+
*/
|
|
520
|
+
export declare const AgentIdSchema: Schema.Literals<readonly ["adal", "aider-desk", "amp", "antigravity", "antigravity-cli", "augment", "claude-code", "cline", "codearts-agent", "codebuddy", "codemaker", "codestudio", "codex", "command-code", "continue", "cortex", "crush", "cursor", "deepagents", "devin", "dexto", "droid", "firebender", "forgecode", "gemini-cli", "github-copilot-cli", "goose", "grok-cli", "hermes", "ibm-bob", "iflow-cli", "junie", "lingma", "kilo", "kimi-cli", "kiro-cli", "kode", "mcpjam", "minimax-code", "mistral-vibe", "mux", "neovate", "openclaw", "opencode", "openhands", "ona", "pi", "pochi", "qoder", "qoder-cn", "qwen-code", "replit", "roo", "rovodev", "tabnine-cli", "trae-cn", "trae", "warp", "windsurf", "zencoder", "zed", "zenflow", "universal"]>;
|
|
521
|
+
/**
|
|
522
|
+
* Agent identifiers users may persist in `axm.json`.
|
|
523
|
+
*
|
|
524
|
+
* Synthetic materialization targets such as `universal` are known agents, but
|
|
525
|
+
* they are injected by repository code rather than configured by users.
|
|
526
|
+
*
|
|
527
|
+
* @experimental This API is unstable and may change without notice.
|
|
528
|
+
*/
|
|
529
|
+
export declare const ConfigurableAgentIdSchema: Schema.Literals<readonly ["adal", "aider-desk", "amp", "antigravity", "antigravity-cli", "augment", "claude-code", "cline", "codearts-agent", "codebuddy", "codemaker", "codestudio", "codex", "command-code", "continue", "cortex", "crush", "cursor", "deepagents", "devin", "dexto", "droid", "firebender", "forgecode", "gemini-cli", "github-copilot-cli", "goose", "grok-cli", "hermes", "ibm-bob", "iflow-cli", "junie", "lingma", "kilo", "kimi-cli", "kiro-cli", "kode", "mcpjam", "minimax-code", "mistral-vibe", "mux", "neovate", "openclaw", "opencode", "openhands", "ona", "pi", "pochi", "qoder", "qoder-cn", "qwen-code", "replit", "roo", "rovodev", "tabnine-cli", "trae-cn", "trae", "warp", "windsurf", "zencoder", "zed", "zenflow"]>;
|
|
530
|
+
/**
|
|
531
|
+
* Inferred type for AgentId schema.
|
|
532
|
+
*
|
|
533
|
+
* @experimental This API is unstable and may change without notice.
|
|
534
|
+
*/
|
|
535
|
+
export type AgentId = Schema.Schema.Type<typeof AgentIdSchema>;
|
|
536
|
+
/** @experimental This API is unstable and may change without notice. */
|
|
537
|
+
export type ConfigurableAgentId = Schema.Schema.Type<typeof ConfigurableAgentIdSchema>;
|
|
538
|
+
export {};
|
|
539
|
+
//# sourceMappingURL=common.d.ts.map
|