@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/compatibility.json +8 -8
- package/dist/{chunk-3MGYJNQL.js → chunk-Z7P3CO2J.js} +1 -1
- package/dist/{chunk-3MGYJNQL.js.map → chunk-Z7P3CO2J.js.map} +1 -1
- package/dist/cli.js +3 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/generated/schemas/resource-package/2.0/agent.schema.json +132 -27
- package/generated/schemas/resource-package/2.0/manifest.schema.json +75 -2
- package/generated/schemas/resource-package/2.0/rag.schema.json +4 -0
- package/generated/schemas/resource-package/2.0/workflow.schema.json +91 -50
- package/package.json +2 -2
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
|
@@ -36,8 +36,14 @@
|
|
|
36
36
|
"computer": {
|
|
37
37
|
"type": "object",
|
|
38
38
|
"additionalProperties": false,
|
|
39
|
-
"required": [
|
|
40
|
-
|
|
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": {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
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": {
|
|
122
|
-
|
|
123
|
-
|
|
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": {
|
|
127
|
-
|
|
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": {
|
|
131
|
-
|
|
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": [
|
|
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": [
|
|
151
|
+
"required": [
|
|
152
|
+
"key",
|
|
153
|
+
"path"
|
|
154
|
+
],
|
|
82
155
|
"properties": {
|
|
83
156
|
"key": {
|
|
84
157
|
"type": "string",
|
|
@@ -38,11 +38,21 @@
|
|
|
38
38
|
"type": "object",
|
|
39
39
|
"additionalProperties": false,
|
|
40
40
|
"properties": {
|
|
41
|
-
"label": {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
|
|
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": [
|
|
67
|
+
"required": [
|
|
68
|
+
"schema"
|
|
69
|
+
],
|
|
58
70
|
"properties": {
|
|
59
|
-
"name": {
|
|
60
|
-
|
|
61
|
-
|
|
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": {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
"
|
|
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": [
|
|
105
|
+
"required": [
|
|
106
|
+
"uses"
|
|
107
|
+
],
|
|
77
108
|
"properties": {
|
|
78
|
-
"uses": {
|
|
79
|
-
|
|
80
|
-
|
|
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": {
|
|
120
|
-
|
|
121
|
-
|
|
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
|
-
{
|
|
125
|
-
|
|
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
|
-
{
|
|
186
|
+
{
|
|
187
|
+
"type": "string"
|
|
188
|
+
},
|
|
133
189
|
{
|
|
134
190
|
"type": "object",
|
|
135
|
-
"required": [
|
|
136
|
-
|
|
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": [
|
|
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.
|
|
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.
|
|
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"
|