@falkenslab/agent-kit 0.21.0 → 0.23.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/README.md +1 -4
- package/assets/extension-launcher.mjs +28 -5
- package/dist/chat/chatController.d.ts +60 -0
- package/dist/chat/chatController.js +212 -2
- package/dist/chat/extensions.d.ts +36 -2
- package/dist/chat/extensions.js +87 -3
- package/dist/chat/runs.d.ts +3 -1
- package/dist/chat/runs.js +1 -1
- package/dist/core/agentSpec.d.ts +11 -0
- package/dist/core/elicitation.d.ts +54 -0
- package/dist/core/elicitation.js +120 -0
- package/dist/core/extensionCatalog.d.ts +103 -0
- package/dist/core/extensionCatalog.js +235 -0
- package/dist/core/extensionOptions.d.ts +56 -0
- package/dist/core/extensionOptions.js +139 -0
- package/dist/core/extensionRequirements.d.ts +66 -0
- package/dist/core/extensionRequirements.js +112 -0
- package/dist/core/extensions.d.ts +75 -2
- package/dist/core/extensions.js +78 -6
- package/dist/core/externalExtensions.d.ts +101 -11
- package/dist/core/externalExtensions.js +263 -51
- package/dist/core/hooks/planGate.d.ts +2 -0
- package/dist/core/hooks/planGate.js +3 -0
- package/dist/core/interaction.d.ts +7 -0
- package/dist/core/liveExtensions.d.ts +15 -0
- package/dist/core/liveExtensions.js +33 -2
- package/dist/core/marketplaces.d.ts +7 -2
- package/dist/core/marketplaces.js +6 -4
- package/dist/core/messages/de.js +37 -1
- package/dist/core/messages/en.d.ts +44 -0
- package/dist/core/messages/en.js +37 -1
- package/dist/core/messages/es.js +37 -1
- package/dist/core/messages/fr.js +37 -1
- package/dist/core/npxPackages.d.ts +48 -0
- package/dist/core/npxPackages.js +121 -0
- package/dist/core/pluginDownloads.d.ts +2 -1
- package/dist/core/pluginDownloads.js +2 -2
- package/dist/core/readOnlyHints.d.ts +13 -0
- package/dist/core/readOnlyHints.js +26 -0
- package/dist/core/runner.js +2 -0
- package/dist/core/session.d.ts +17 -5
- package/dist/core/session.js +44 -11
- package/dist/core/sessionFacts.d.ts +11 -1
- package/dist/core/workspaceTrust.d.ts +12 -0
- package/dist/core/workspaceTrust.js +60 -0
- package/dist/extensions/awareness/tools.js +6 -2
- package/dist/index.d.ts +9 -2
- package/dist/index.js +7 -2
- package/dist/tui/extensionCommand.d.ts +10 -2
- package/dist/tui/extensionCommand.js +199 -34
- package/extensions/awareness/.claude-plugin/plugin.json +13 -5
- package/extensions/knowledge/.claude-plugin/plugin.json +13 -5
- package/extensions/memory/.claude-plugin/plugin.json +13 -5
- package/extensions/sources/.claude-plugin/plugin.json +13 -5
- package/package.json +7 -5
- package/schemas/agent-kit-metadata.schema.json +120 -0
- package/schemas/marketplace-catalog.schema.json +74 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://falkenslab.github.io/agent-kit/schemas/marketplace-catalog.schema.json",
|
|
4
|
+
"title": "A marketplace's catalog.json",
|
|
5
|
+
"description": "A Claude Code marketplace's extensions as one file, for a page or a client to show without cloning the repository: written by @falkenslab/agent-kit-catalog from .claude-plugin/marketplace.json and each extension's plugin.json.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": ["marketplace", "description", "repository", "add", "extensions"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"marketplace": { "description": "The marketplace's name, as <extension>@<marketplace> names an extension.", "type": "string", "minLength": 1 },
|
|
11
|
+
"description": { "type": "string" },
|
|
12
|
+
"repository": { "description": "The GitHub repository's page.", "type": "string", "pattern": "^https://github\\.com/[\\w.-]+/[\\w.-]+$" },
|
|
13
|
+
"add": {
|
|
14
|
+
"description": "How to add the marketplace.",
|
|
15
|
+
"type": "object",
|
|
16
|
+
"additionalProperties": false,
|
|
17
|
+
"required": ["claudeCode", "agentKit"],
|
|
18
|
+
"properties": {
|
|
19
|
+
"claudeCode": { "type": "string" },
|
|
20
|
+
"agentKit": { "description": "After the agent's own command (<agent> …).", "type": "string" }
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"extensions": {
|
|
24
|
+
"description": "Sorted by name.",
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": { "$ref": "#/$defs/extension" }
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"$defs": {
|
|
30
|
+
"url": { "type": "string", "pattern": "^https://" },
|
|
31
|
+
"extension": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"additionalProperties": false,
|
|
34
|
+
"required": ["name", "version", "description", "category", "topics", "author", "license", "homepage", "readme", "install"],
|
|
35
|
+
"properties": {
|
|
36
|
+
"name": { "type": "string", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$" },
|
|
37
|
+
"version": { "description": "Its plugin.json's, the same as its marketplace entry's.", "type": "string", "minLength": 1 },
|
|
38
|
+
"description": { "type": "string" },
|
|
39
|
+
"category": { "type": ["string", "null"] },
|
|
40
|
+
"topics": {
|
|
41
|
+
"description": "Its plugin.json's keywords and its entry's tags, keywords and category, lowercased, without repeats.",
|
|
42
|
+
"type": "array",
|
|
43
|
+
"uniqueItems": true,
|
|
44
|
+
"items": { "type": "string", "pattern": "^[^A-Z]+$" }
|
|
45
|
+
},
|
|
46
|
+
"author": { "type": ["string", "null"] },
|
|
47
|
+
"license": { "type": ["string", "null"] },
|
|
48
|
+
"homepage": { "$ref": "#/$defs/url" },
|
|
49
|
+
"readme": { "$ref": "#/$defs/url" },
|
|
50
|
+
"install": {
|
|
51
|
+
"type": "object",
|
|
52
|
+
"additionalProperties": false,
|
|
53
|
+
"required": ["claudeCode", "agentKit"],
|
|
54
|
+
"properties": {
|
|
55
|
+
"claudeCode": { "type": "string" },
|
|
56
|
+
"agentKit": { "description": "After the agent's own command (<agent> …).", "type": "string" }
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"capabilities": {
|
|
60
|
+
"description": "What it lets the agent do: its metadata[\"agent-kit\"].capabilities as it declares them, texts in every language it gives.",
|
|
61
|
+
"type": "array",
|
|
62
|
+
"items": { "$ref": "https://falkenslab.github.io/agent-kit/schemas/agent-kit-metadata.schema.json#/$defs/capability" }
|
|
63
|
+
},
|
|
64
|
+
"requirements": {
|
|
65
|
+
"description": "The programs it needs on the computer: its metadata[\"agent-kit\"].requirements as it declares them.",
|
|
66
|
+
"type": "array",
|
|
67
|
+
"items": { "$ref": "https://falkenslab.github.io/agent-kit/schemas/agent-kit-metadata.schema.json#/$defs/requirement" }
|
|
68
|
+
},
|
|
69
|
+
"logo": { "description": "A URL anyone can load.", "$ref": "#/$defs/url" },
|
|
70
|
+
"banner": { "description": "A URL anyone can load.", "$ref": "#/$defs/url" }
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|