@harness-control/protocol 0.4.7 → 0.4.8
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/package.json +2 -2
- package/schemas/mcp-review.json +155 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harness-control/protocol",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.8",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"test": "tsx --test src/**/*.test.ts test/**/*.test.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"zod": "
|
|
43
|
+
"zod": "4.4.3"
|
|
44
44
|
},
|
|
45
45
|
"description": "Types, validation, JSON Schema and reducers for Harness Control Protocol",
|
|
46
46
|
"engines": {
|
package/schemas/mcp-review.json
CHANGED
|
@@ -28,6 +28,41 @@
|
|
|
28
28
|
"additionalProperties": {
|
|
29
29
|
"$ref": "#/$defs/__schema0"
|
|
30
30
|
}
|
|
31
|
+
},
|
|
32
|
+
"delegated_subject": {
|
|
33
|
+
"type": "object",
|
|
34
|
+
"properties": {
|
|
35
|
+
"operation_id": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"minLength": 1,
|
|
38
|
+
"maxLength": 256
|
|
39
|
+
},
|
|
40
|
+
"tool_name": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"minLength": 1
|
|
43
|
+
},
|
|
44
|
+
"arguments": {
|
|
45
|
+
"type": "object",
|
|
46
|
+
"propertyNames": {
|
|
47
|
+
"type": "string"
|
|
48
|
+
},
|
|
49
|
+
"additionalProperties": {
|
|
50
|
+
"$ref": "#/$defs/__schema1"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"binding": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"minLength": 1,
|
|
56
|
+
"maxLength": 65536
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"required": [
|
|
60
|
+
"operation_id",
|
|
61
|
+
"tool_name",
|
|
62
|
+
"arguments",
|
|
63
|
+
"binding"
|
|
64
|
+
],
|
|
65
|
+
"additionalProperties": false
|
|
31
66
|
}
|
|
32
67
|
},
|
|
33
68
|
"required": [
|
|
@@ -68,6 +103,37 @@
|
|
|
68
103
|
}
|
|
69
104
|
}
|
|
70
105
|
]
|
|
106
|
+
},
|
|
107
|
+
"__schema1": {
|
|
108
|
+
"anyOf": [
|
|
109
|
+
{
|
|
110
|
+
"type": "string"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"type": "number"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"type": "boolean"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"type": "null"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"type": "array",
|
|
123
|
+
"items": {
|
|
124
|
+
"$ref": "#/$defs/__schema1"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"type": "object",
|
|
129
|
+
"propertyNames": {
|
|
130
|
+
"type": "string"
|
|
131
|
+
},
|
|
132
|
+
"additionalProperties": {
|
|
133
|
+
"$ref": "#/$defs/__schema1"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
]
|
|
71
137
|
}
|
|
72
138
|
}
|
|
73
139
|
},
|
|
@@ -136,6 +202,95 @@
|
|
|
136
202
|
"additionalProperties": false
|
|
137
203
|
}
|
|
138
204
|
]
|
|
205
|
+
},
|
|
206
|
+
"delegated_request": {
|
|
207
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
208
|
+
"type": "object",
|
|
209
|
+
"properties": {
|
|
210
|
+
"kind": {
|
|
211
|
+
"type": "string",
|
|
212
|
+
"const": "delegated"
|
|
213
|
+
},
|
|
214
|
+
"input_request_id": {
|
|
215
|
+
"type": "string",
|
|
216
|
+
"minLength": 1,
|
|
217
|
+
"maxLength": 256
|
|
218
|
+
},
|
|
219
|
+
"subject": {
|
|
220
|
+
"type": "object",
|
|
221
|
+
"properties": {
|
|
222
|
+
"operation_id": {
|
|
223
|
+
"type": "string",
|
|
224
|
+
"minLength": 1,
|
|
225
|
+
"maxLength": 256
|
|
226
|
+
},
|
|
227
|
+
"tool_name": {
|
|
228
|
+
"type": "string",
|
|
229
|
+
"minLength": 1
|
|
230
|
+
},
|
|
231
|
+
"arguments": {
|
|
232
|
+
"type": "object",
|
|
233
|
+
"propertyNames": {
|
|
234
|
+
"type": "string"
|
|
235
|
+
},
|
|
236
|
+
"additionalProperties": {
|
|
237
|
+
"$ref": "#/$defs/__schema0"
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
"binding": {
|
|
241
|
+
"type": "string",
|
|
242
|
+
"minLength": 1,
|
|
243
|
+
"maxLength": 65536
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"required": [
|
|
247
|
+
"operation_id",
|
|
248
|
+
"tool_name",
|
|
249
|
+
"arguments",
|
|
250
|
+
"binding"
|
|
251
|
+
],
|
|
252
|
+
"additionalProperties": false
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"required": [
|
|
256
|
+
"kind",
|
|
257
|
+
"input_request_id",
|
|
258
|
+
"subject"
|
|
259
|
+
],
|
|
260
|
+
"additionalProperties": false,
|
|
261
|
+
"$defs": {
|
|
262
|
+
"__schema0": {
|
|
263
|
+
"anyOf": [
|
|
264
|
+
{
|
|
265
|
+
"type": "string"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"type": "number"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"type": "boolean"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"type": "null"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"type": "array",
|
|
278
|
+
"items": {
|
|
279
|
+
"$ref": "#/$defs/__schema0"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"type": "object",
|
|
284
|
+
"propertyNames": {
|
|
285
|
+
"type": "string"
|
|
286
|
+
},
|
|
287
|
+
"additionalProperties": {
|
|
288
|
+
"$ref": "#/$defs/__schema0"
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
]
|
|
292
|
+
}
|
|
293
|
+
}
|
|
139
294
|
}
|
|
140
295
|
}
|
|
141
296
|
}
|