@agents24/cli 0.3.25 → 0.3.27

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/dist/index.d.ts CHANGED
@@ -76,7 +76,7 @@ type RemoteClient = {
76
76
  candidates(options: {
77
77
  kind: string;
78
78
  query?: string;
79
- requiredCapability?: "chat" | "embedding";
79
+ requiredCapability?: "chat" | "embedding" | "speech_to_text" | "rerank";
80
80
  }): Promise<Record<string, unknown>>;
81
81
  };
82
82
  resourceInstallations: {
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  unpackFiles,
15
15
  validateFiles,
16
16
  validatePackage
17
- } from "./chunk-3MGYJNQL.js";
17
+ } from "./chunk-Z7P3CO2J.js";
18
18
  export {
19
19
  assertImportAllowed,
20
20
  createPackageId,
@@ -36,8 +36,14 @@
36
36
  "computer": {
37
37
  "type": "object",
38
38
  "additionalProperties": false,
39
- "required": ["enabled"],
40
- "properties": {"enabled": {"type": "boolean"}}
39
+ "required": [
40
+ "enabled"
41
+ ],
42
+ "properties": {
43
+ "enabled": {
44
+ "type": "boolean"
45
+ }
46
+ }
41
47
  }
42
48
  }
43
49
  },
@@ -45,24 +51,82 @@
45
51
  "type": "object",
46
52
  "additionalProperties": false,
47
53
  "properties": {
48
- "enabled": {"type": "boolean"},
49
- "allow_self_fork": {"type": "boolean"},
50
- "allow_nested": {"type": "boolean"},
51
- "allow_background": {"type": "boolean"},
52
- "context_modes": {"type": "array", "uniqueItems": true, "items": {"enum": ["brief", "recent", "fork"]}},
53
- "max_depth": {"type": "integer", "minimum": 1, "maximum": 16},
54
- "max_active": {"type": "integer", "minimum": 1, "maximum": 64},
55
- "max_children": {"type": "integer", "minimum": 1, "maximum": 1000},
56
- "max_context_chars": {"type": "integer", "minimum": 1024, "maximum": 1000000},
57
- "allowed_model_ids": {"type": "array", "items": {"type": "string", "pattern": "^\\$models\\."}},
58
- "targets": {"type": "array", "maxItems": 64, "items": {
59
- "type": "object", "additionalProperties": false, "required": ["key", "uses"],
60
- "properties": {
61
- "key": {"type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},
62
- "uses": {"type": "string", "minLength": 1},
63
- "description": {"type": "string", "maxLength": 2000}
54
+ "enabled": {
55
+ "type": "boolean"
56
+ },
57
+ "allow_self_fork": {
58
+ "type": "boolean"
59
+ },
60
+ "allow_nested": {
61
+ "type": "boolean"
62
+ },
63
+ "allow_background": {
64
+ "type": "boolean"
65
+ },
66
+ "context_modes": {
67
+ "type": "array",
68
+ "uniqueItems": true,
69
+ "items": {
70
+ "enum": [
71
+ "brief",
72
+ "recent",
73
+ "fork"
74
+ ]
64
75
  }
65
- }}
76
+ },
77
+ "max_depth": {
78
+ "type": "integer",
79
+ "minimum": 1,
80
+ "maximum": 16
81
+ },
82
+ "max_active": {
83
+ "type": "integer",
84
+ "minimum": 1,
85
+ "maximum": 64
86
+ },
87
+ "max_children": {
88
+ "type": "integer",
89
+ "minimum": 1,
90
+ "maximum": 1000
91
+ },
92
+ "max_context_chars": {
93
+ "type": "integer",
94
+ "minimum": 1024,
95
+ "maximum": 1000000
96
+ },
97
+ "allowed_model_ids": {
98
+ "type": "array",
99
+ "items": {
100
+ "type": "string",
101
+ "pattern": "^\\$models\\."
102
+ }
103
+ },
104
+ "targets": {
105
+ "type": "array",
106
+ "maxItems": 64,
107
+ "items": {
108
+ "type": "object",
109
+ "additionalProperties": false,
110
+ "required": [
111
+ "key",
112
+ "uses"
113
+ ],
114
+ "properties": {
115
+ "key": {
116
+ "type": "string",
117
+ "pattern": "^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"
118
+ },
119
+ "uses": {
120
+ "type": "string",
121
+ "minLength": 1
122
+ },
123
+ "description": {
124
+ "type": "string",
125
+ "maxLength": 2000
126
+ }
127
+ }
128
+ }
129
+ }
66
130
  }
67
131
  },
68
132
  "temperature": {
@@ -94,7 +158,6 @@
94
158
  "properties": {
95
159
  "kind": {
96
160
  "enum": [
97
- "agent",
98
161
  "rag",
99
162
  "tool",
100
163
  "toolset",
@@ -118,17 +181,59 @@
118
181
  },
119
182
  "allOf": [
120
183
  {
121
- "if": {"properties": {"kind": {"const": "artifact"}}},
122
- "then": {"required": ["export"]},
123
- "else": {"not": {"required": ["export"]}}
184
+ "if": {
185
+ "properties": {
186
+ "kind": {
187
+ "const": "artifact"
188
+ }
189
+ }
190
+ },
191
+ "then": {
192
+ "required": [
193
+ "export"
194
+ ]
195
+ },
196
+ "else": {
197
+ "not": {
198
+ "required": [
199
+ "export"
200
+ ]
201
+ }
202
+ }
124
203
  },
125
204
  {
126
- "if": {"properties": {"kind": {"const": "toolset"}}},
127
- "then": {"properties": {"uses": {"type": "string", "pattern": "^\\$toolsets\\.[a-z0-9]+(?:-[a-z0-9]+)*$"}}}
205
+ "if": {
206
+ "properties": {
207
+ "kind": {
208
+ "const": "toolset"
209
+ }
210
+ }
211
+ },
212
+ "then": {
213
+ "properties": {
214
+ "uses": {
215
+ "type": "string",
216
+ "pattern": "^\\$toolsets\\.[a-z0-9]+(?:-[a-z0-9]+)*$"
217
+ }
218
+ }
219
+ }
128
220
  },
129
221
  {
130
- "if": {"properties": {"kind": {"const": "integration"}}},
131
- "then": {"properties": {"uses": {"type": "string", "pattern": "^\\$integrations\\.[a-z0-9]+(?:-[a-z0-9]+)*$"}}}
222
+ "if": {
223
+ "properties": {
224
+ "kind": {
225
+ "const": "integration"
226
+ }
227
+ }
228
+ },
229
+ "then": {
230
+ "properties": {
231
+ "uses": {
232
+ "type": "string",
233
+ "pattern": "^\\$integrations\\.[a-z0-9]+(?:-[a-z0-9]+)*$"
234
+ }
235
+ }
236
+ }
132
237
  }
133
238
  ]
134
239
  }
@@ -22,7 +22,12 @@
22
22
  "type": "boolean"
23
23
  },
24
24
  "capability": {
25
- "enum": ["chat", "embedding"]
25
+ "enum": [
26
+ "chat",
27
+ "embedding",
28
+ "speech_to_text",
29
+ "rerank"
30
+ ]
26
31
  },
27
32
  "env": {
28
33
  "type": "string",
@@ -46,8 +51,73 @@
46
51
  "maxLength": 255
47
52
  }
48
53
  }
54
+ },
55
+ "model_requirements": {
56
+ "$ref": "#/$defs/ModelRequirements"
49
57
  }
50
58
  }
59
+ },
60
+ "ModelInputModality": {
61
+ "enum": [
62
+ "text",
63
+ "image",
64
+ "audio",
65
+ "video",
66
+ "pdf"
67
+ ],
68
+ "title": "ModelInputModality",
69
+ "type": "string"
70
+ },
71
+ "ModelOutputModality": {
72
+ "enum": [
73
+ "text",
74
+ "image",
75
+ "audio",
76
+ "video",
77
+ "embedding",
78
+ "ranking",
79
+ "transcription"
80
+ ],
81
+ "title": "ModelOutputModality",
82
+ "type": "string"
83
+ },
84
+ "ModelRequirements": {
85
+ "additionalProperties": false,
86
+ "properties": {
87
+ "input_modalities": {
88
+ "items": {
89
+ "$ref": "#/$defs/ModelInputModality"
90
+ },
91
+ "title": "Input Modalities",
92
+ "type": "array",
93
+ "uniqueItems": true
94
+ },
95
+ "output_modalities": {
96
+ "items": {
97
+ "$ref": "#/$defs/ModelOutputModality"
98
+ },
99
+ "title": "Output Modalities",
100
+ "type": "array",
101
+ "uniqueItems": true
102
+ },
103
+ "required_features": {
104
+ "items": {
105
+ "enum": [
106
+ "tool_calling",
107
+ "structured_output",
108
+ "reasoning",
109
+ "segment_timestamps",
110
+ "word_timestamps"
111
+ ],
112
+ "type": "string"
113
+ },
114
+ "title": "Required Features",
115
+ "type": "array",
116
+ "uniqueItems": true
117
+ }
118
+ },
119
+ "title": "ModelRequirements",
120
+ "type": "object"
51
121
  }
52
122
  },
53
123
  "properties": {
@@ -78,7 +148,10 @@
78
148
  "items": {
79
149
  "type": "object",
80
150
  "additionalProperties": false,
81
- "required": ["key", "path"],
151
+ "required": [
152
+ "key",
153
+ "path"
154
+ ],
82
155
  "properties": {
83
156
  "key": {
84
157
  "type": "string",
@@ -58,6 +58,10 @@
58
58
  },
59
59
  "with": {
60
60
  "type": "object"
61
+ },
62
+ "label": {
63
+ "type": "string",
64
+ "description": "Optional display label for the visual pipeline node; operator identity remains in uses."
61
65
  }
62
66
  },
63
67
  "additionalProperties": false
@@ -38,11 +38,21 @@
38
38
  "type": "object",
39
39
  "additionalProperties": false,
40
40
  "properties": {
41
- "label": {"type": "string"},
42
- "semantic_type": {"type": "string"},
43
- "enabled": {"type": "boolean"},
44
- "readonly": {"type": "boolean"},
45
- "derived": {"type": "boolean"}
41
+ "label": {
42
+ "type": "string"
43
+ },
44
+ "semantic_type": {
45
+ "type": "string"
46
+ },
47
+ "enabled": {
48
+ "type": "boolean"
49
+ },
50
+ "readonly": {
51
+ "type": "boolean"
52
+ },
53
+ "derived": {
54
+ "type": "boolean"
55
+ }
46
56
  }
47
57
  }
48
58
  },
@@ -54,18 +64,37 @@
54
64
  },
55
65
  "output_schema": {
56
66
  "type": "object",
57
- "required": ["schema"],
67
+ "required": [
68
+ "schema"
69
+ ],
58
70
  "properties": {
59
- "name": {"type": "string"},
60
- "mode": {"enum": ["simple", "advanced"]},
61
- "schema": {"type": "object"}
71
+ "name": {
72
+ "type": "string"
73
+ },
74
+ "mode": {
75
+ "enum": [
76
+ "simple",
77
+ "advanced"
78
+ ]
79
+ },
80
+ "schema": {
81
+ "type": "object"
82
+ }
62
83
  },
63
84
  "additionalProperties": false
64
85
  },
65
- "memory_config": {"type": "object"},
66
- "execution_constraints": {"type": "object"},
67
- "show_in_playground": {"type": "boolean"},
68
- "start": {"type": "object"},
86
+ "memory_config": {
87
+ "type": "object"
88
+ },
89
+ "execution_constraints": {
90
+ "type": "object"
91
+ },
92
+ "show_in_playground": {
93
+ "type": "boolean"
94
+ },
95
+ "start": {
96
+ "type": "object"
97
+ },
69
98
  "connections": {
70
99
  "type": "object",
71
100
  "properties": {
@@ -73,11 +102,22 @@
73
102
  "type": "array",
74
103
  "items": {
75
104
  "type": "object",
76
- "required": ["uses"],
105
+ "required": [
106
+ "uses"
107
+ ],
77
108
  "properties": {
78
- "uses": {"type": "string"},
79
- "identity_mode": {"enum": ["fixed_credentials", "customer_credentials"]},
80
- "active": {"type": "boolean"}
109
+ "uses": {
110
+ "type": "string"
111
+ },
112
+ "identity_mode": {
113
+ "enum": [
114
+ "fixed_credentials",
115
+ "customer_credentials"
116
+ ]
117
+ },
118
+ "active": {
119
+ "type": "boolean"
120
+ }
81
121
  },
82
122
  "additionalProperties": false
83
123
  }
@@ -116,24 +156,46 @@
116
156
  "name": {
117
157
  "type": "string"
118
158
  },
119
- "description": {"type": "string"},
120
- "tags": {"type": "array", "items": {"type": "string"}},
121
- "export": {"type": "string", "minLength": 1},
159
+ "description": {
160
+ "type": "string"
161
+ },
162
+ "tags": {
163
+ "type": "array",
164
+ "items": {
165
+ "type": "string"
166
+ }
167
+ },
168
+ "export": {
169
+ "type": "string",
170
+ "minLength": 1
171
+ },
122
172
  "input_mappings": {
123
173
  "oneOf": [
124
- {"type": "object"},
125
- {"type": "array"}
174
+ {
175
+ "type": "object"
176
+ },
177
+ {
178
+ "type": "array"
179
+ }
126
180
  ]
127
181
  },
128
182
  "inputs": {
129
183
  "type": "array",
130
184
  "items": {
131
185
  "oneOf": [
132
- {"type": "string"},
186
+ {
187
+ "type": "string"
188
+ },
133
189
  {
134
190
  "type": "object",
135
- "required": ["from"],
136
- "properties": {"from": {"type": "string"}},
191
+ "required": [
192
+ "from"
193
+ ],
194
+ "properties": {
195
+ "from": {
196
+ "type": "string"
197
+ }
198
+ },
137
199
  "additionalProperties": false
138
200
  }
139
201
  ]
@@ -162,7 +224,10 @@
162
224
  "type": "string"
163
225
  },
164
226
  "type": {
165
- "enum": ["control", "data"]
227
+ "enum": [
228
+ "control",
229
+ "data"
230
+ ]
166
231
  },
167
232
  "condition": {
168
233
  "type": "string"
@@ -170,30 +235,6 @@
170
235
  },
171
236
  "additionalProperties": false
172
237
  }
173
- },
174
- "tool": {
175
- "type": "object",
176
- "required": [
177
- "name",
178
- "description"
179
- ],
180
- "properties": {
181
- "name": {
182
- "type": "string",
183
- "minLength": 1,
184
- "description": "Source-provided default title for the generated Tool. It is not the callable Tool key."
185
- },
186
- "description": {
187
- "type": "string",
188
- "description": "Source-provided default Tool description. Registry edits remain independent until an explicit package apply or Tool sync."
189
- },
190
- "key": {
191
- "type": "string",
192
- "minLength": 1,
193
- "description": "Preferred stable registry key for the generated Tool."
194
- }
195
- },
196
- "additionalProperties": false
197
238
  }
198
239
  }
199
240
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agents24/cli",
3
- "version": "0.3.25",
3
+ "version": "0.3.27",
4
4
  "description": "Git-friendly Agents24 resource package tooling.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,7 +34,7 @@
34
34
  "provenance": false
35
35
  },
36
36
  "dependencies": {
37
- "@agents24/node": "0.5.22",
37
+ "@agents24/node": "0.5.24",
38
38
  "@clack/prompts": "1.7.0",
39
39
  "ajv": "^8.17.1",
40
40
  "yaml": "^2.8.1"