@falkenslab/agent-kit 0.22.0 → 0.24.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/dist/chat/chatController.d.ts +1 -0
- package/dist/chat/chatController.js +4 -1
- package/dist/chat/extensions.d.ts +6 -0
- package/dist/chat/extensions.js +26 -1
- package/dist/core/extensionCatalog.d.ts +11 -0
- package/dist/core/extensionCatalog.js +12 -3
- package/dist/core/extensionRequirements.d.ts +66 -0
- package/dist/core/extensionRequirements.js +112 -0
- package/dist/core/extensions.d.ts +75 -1
- package/dist/core/extensions.js +90 -6
- package/dist/core/externalExtensions.d.ts +21 -3
- package/dist/core/externalExtensions.js +35 -25
- package/dist/core/liveExtensions.d.ts +4 -0
- package/dist/core/liveExtensions.js +11 -2
- package/dist/core/marketplaces.d.ts +1 -0
- package/dist/core/messages/de.js +4 -0
- package/dist/core/messages/en.d.ts +8 -0
- package/dist/core/messages/en.js +4 -0
- package/dist/core/messages/es.js +4 -0
- package/dist/core/messages/fr.js +4 -0
- package/dist/core/session.d.ts +4 -4
- package/dist/core/session.js +14 -5
- package/dist/core/sessionFacts.d.ts +6 -0
- package/dist/extensions/awareness/tools.js +6 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/tui/extensionCommand.js +22 -3
- package/package.json +1 -1
- package/schemas/agent-kit-metadata.schema.json +66 -2
- package/schemas/marketplace-catalog.schema.json +25 -1
|
@@ -11,9 +11,24 @@
|
|
|
11
11
|
"type": "string",
|
|
12
12
|
"pattern": "^\\s*(?:(?:>=|<=|>|<|=)?\\s*v?\\d+(?:\\.\\d+){0,2})(?:\\s+(?:>=|<=|>|<|=)?\\s*v?\\d+(?:\\.\\d+){0,2})*\\s*$"
|
|
13
13
|
},
|
|
14
|
-
"
|
|
14
|
+
"description": {
|
|
15
|
+
"description": "Its description in other languages than English, which stays plugin.json's own description (Claude Code reads that one).",
|
|
16
|
+
"type": "object",
|
|
17
|
+
"propertyNames": { "enum": ["es", "fr", "de"] },
|
|
18
|
+
"additionalProperties": { "type": "string", "minLength": 1 }
|
|
19
|
+
},
|
|
20
|
+
"provides": { "description": "Capabilities it lets the agent use, by name only. Its capabilities' ids count as provided too.", "type": "array", "items": { "type": "string", "minLength": 1 } },
|
|
21
|
+
"capabilities": {
|
|
22
|
+
"description": "What it lets the agent do, for the person: each one's skills and tools together, described per language. Its id is what requires names; neutral ids (lms-grading) let skills depend on what can be done, not on which extension does it.",
|
|
23
|
+
"type": "array",
|
|
24
|
+
"items": { "$ref": "#/$defs/capability" }
|
|
25
|
+
},
|
|
15
26
|
"requires": { "description": "Capabilities another enabled extension must provide.", "type": "array", "items": { "type": "string", "minLength": 1 } },
|
|
16
|
-
"
|
|
27
|
+
"requirements": {
|
|
28
|
+
"description": "Programs it needs on the computer, which the person installs: agent-kit checks them, says what's missing and how to install it, and never installs them. Without one the whole extension needs, it's off; without one only some capabilities need (for), those are.",
|
|
29
|
+
"type": "array",
|
|
30
|
+
"items": { "$ref": "#/$defs/requirement" }
|
|
31
|
+
},
|
|
17
32
|
"readOnlyTools": {
|
|
18
33
|
"description": "Its tools that only read (short names): plan mode lets them through. Without it, plan mode asks its servers (readOnlyHint).",
|
|
19
34
|
"type": "array",
|
|
@@ -54,6 +69,55 @@
|
|
|
54
69
|
}
|
|
55
70
|
},
|
|
56
71
|
"$defs": {
|
|
72
|
+
"requirement": {
|
|
73
|
+
"type": "object",
|
|
74
|
+
"additionalProperties": false,
|
|
75
|
+
"required": ["name", "program", "install"],
|
|
76
|
+
"properties": {
|
|
77
|
+
"name": { "description": "What the person reads: Docker.", "type": "string", "minLength": 1 },
|
|
78
|
+
"program": { "description": "Its bare name, found on the PATH (on Windows with PATHEXT's extensions): never a path.", "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._+-]*$" },
|
|
79
|
+
"version": {
|
|
80
|
+
"description": "How to check its version: run with these arguments only (options or version, no shell), the first x.y.z it prints compared with min.",
|
|
81
|
+
"type": "object",
|
|
82
|
+
"additionalProperties": false,
|
|
83
|
+
"required": ["args", "min"],
|
|
84
|
+
"properties": {
|
|
85
|
+
"args": { "type": "array", "items": { "type": "string", "pattern": "^(--?[A-Za-z][A-Za-z0-9-]*|version)$" } },
|
|
86
|
+
"min": { "type": "string", "pattern": "^\\d+(\\.\\d+){0,2}$" }
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"install": {
|
|
90
|
+
"description": "How to install it on each system: a command, or a link (url, the fallback).",
|
|
91
|
+
"type": "object",
|
|
92
|
+
"additionalProperties": false,
|
|
93
|
+
"minProperties": 1,
|
|
94
|
+
"properties": { "windows": { "type": "string", "minLength": 1 }, "macos": { "type": "string", "minLength": 1 }, "linux": { "type": "string", "minLength": 1 }, "url": { "type": "string", "pattern": "^https?://" } }
|
|
95
|
+
},
|
|
96
|
+
"for": { "description": "The capabilities (ids it provides) that need it; without it, the whole extension does.", "type": "array", "items": { "type": "string", "minLength": 1 } }
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"capability": {
|
|
100
|
+
"type": "object",
|
|
101
|
+
"additionalProperties": false,
|
|
102
|
+
"required": ["id", "texts"],
|
|
103
|
+
"properties": {
|
|
104
|
+
"id": { "type": "string", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$" },
|
|
105
|
+
"skills": { "description": "Its skills, by their folder in the extension's skills/.", "type": "array", "items": { "type": "string", "minLength": 1 } },
|
|
106
|
+
"tools": { "description": "Its tools, by short name (of any of its servers).", "type": "array", "items": { "type": "string", "minLength": 1 } },
|
|
107
|
+
"texts": {
|
|
108
|
+
"description": "Its label and description per language (en, es, fr, de); English is shown where its language is missing.",
|
|
109
|
+
"type": "object",
|
|
110
|
+
"propertyNames": { "enum": ["en", "es", "fr", "de"] },
|
|
111
|
+
"minProperties": 1,
|
|
112
|
+
"additionalProperties": {
|
|
113
|
+
"type": "object",
|
|
114
|
+
"additionalProperties": false,
|
|
115
|
+
"required": ["label"],
|
|
116
|
+
"properties": { "label": { "type": "string", "minLength": 1 }, "description": { "type": "string" } }
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
57
121
|
"image": {
|
|
58
122
|
"type": "string",
|
|
59
123
|
"pattern": "^(?!/)(?![A-Za-z]:)(?!.*(?:^|[\\\\/])\\.\\.(?:[\\\\/]|$)).+\\.(?:svg|png|jpe?g|webp)$"
|
|
@@ -35,7 +35,14 @@
|
|
|
35
35
|
"properties": {
|
|
36
36
|
"name": { "type": "string", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$" },
|
|
37
37
|
"version": { "description": "Its plugin.json's, the same as its marketplace entry's.", "type": "string", "minLength": 1 },
|
|
38
|
-
"description": { "type": "string" },
|
|
38
|
+
"description": { "description": "In English: its marketplace entry's, else its plugin.json's.", "type": "string" },
|
|
39
|
+
"descriptions": {
|
|
40
|
+
"description": "Its description per language, English among them; only when it has one in another language.",
|
|
41
|
+
"type": "object",
|
|
42
|
+
"propertyNames": { "enum": ["en", "es", "fr", "de"] },
|
|
43
|
+
"required": ["en"],
|
|
44
|
+
"additionalProperties": { "type": "string" }
|
|
45
|
+
},
|
|
39
46
|
"category": { "type": ["string", "null"] },
|
|
40
47
|
"topics": {
|
|
41
48
|
"description": "Its plugin.json's keywords and its entry's tags, keywords and category, lowercased, without repeats.",
|
|
@@ -47,6 +54,13 @@
|
|
|
47
54
|
"license": { "type": ["string", "null"] },
|
|
48
55
|
"homepage": { "$ref": "#/$defs/url" },
|
|
49
56
|
"readme": { "$ref": "#/$defs/url" },
|
|
57
|
+
"readmes": {
|
|
58
|
+
"description": "Its README per language (README.md, README.es.md…), as URLs; only when it has one in another language.",
|
|
59
|
+
"type": "object",
|
|
60
|
+
"propertyNames": { "enum": ["en", "es", "fr", "de"] },
|
|
61
|
+
"required": ["en"],
|
|
62
|
+
"additionalProperties": { "$ref": "#/$defs/url" }
|
|
63
|
+
},
|
|
50
64
|
"install": {
|
|
51
65
|
"type": "object",
|
|
52
66
|
"additionalProperties": false,
|
|
@@ -56,6 +70,16 @@
|
|
|
56
70
|
"agentKit": { "description": "After the agent's own command (<agent> …).", "type": "string" }
|
|
57
71
|
}
|
|
58
72
|
},
|
|
73
|
+
"capabilities": {
|
|
74
|
+
"description": "What it lets the agent do: its metadata[\"agent-kit\"].capabilities as it declares them, texts in every language it gives.",
|
|
75
|
+
"type": "array",
|
|
76
|
+
"items": { "$ref": "https://falkenslab.github.io/agent-kit/schemas/agent-kit-metadata.schema.json#/$defs/capability" }
|
|
77
|
+
},
|
|
78
|
+
"requirements": {
|
|
79
|
+
"description": "The programs it needs on the computer: its metadata[\"agent-kit\"].requirements as it declares them.",
|
|
80
|
+
"type": "array",
|
|
81
|
+
"items": { "$ref": "https://falkenslab.github.io/agent-kit/schemas/agent-kit-metadata.schema.json#/$defs/requirement" }
|
|
82
|
+
},
|
|
59
83
|
"logo": { "description": "A URL anyone can load.", "$ref": "#/$defs/url" },
|
|
60
84
|
"banner": { "description": "A URL anyone can load.", "$ref": "#/$defs/url" }
|
|
61
85
|
}
|