@agent-phonon/protocol 0.2.11 → 0.6.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/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas/capabilities.d.ts +9 -0
- package/dist/schemas/capabilities.d.ts.map +1 -1
- package/dist/schemas/capabilities.js +7 -0
- package/dist/schemas/capabilities.js.map +1 -1
- package/dist/schemas/discovery.d.ts +26 -0
- package/dist/schemas/discovery.d.ts.map +1 -1
- package/dist/schemas/methods.d.ts +1457 -0
- package/dist/schemas/methods.d.ts.map +1 -1
- package/dist/schemas/methods.js +46 -1
- package/dist/schemas/methods.js.map +1 -1
- package/dist/schemas/skill.d.ts +97 -0
- package/dist/schemas/skill.d.ts.map +1 -1
- package/dist/schemas/skill.js +24 -0
- package/dist/schemas/skill.js.map +1 -1
- package/dist/schemas/stream.d.ts +192 -16
- package/dist/schemas/stream.d.ts.map +1 -1
- package/dist/schemas/stream.js +9 -0
- package/dist/schemas/stream.js.map +1 -1
- package/dist/schemas/workflow.d.ts +2965 -0
- package/dist/schemas/workflow.d.ts.map +1 -0
- package/dist/schemas/workflow.js +365 -0
- package/dist/schemas/workflow.js.map +1 -0
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/schemas/capabilities.ts +7 -0
- package/src/schemas/methods.ts +59 -0
- package/src/schemas/skill.ts +30 -0
- package/src/schemas/stream.ts +9 -0
- package/src/schemas/workflow.ts +439 -0
package/dist/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export * from "./schemas/connect.js";
|
|
|
19
19
|
export * from "./schemas/device.js";
|
|
20
20
|
export * from "./schemas/file.js";
|
|
21
21
|
export * from "./schemas/env.js";
|
|
22
|
+
export * from "./schemas/workflow.js";
|
|
22
23
|
export * from "./schemas/jsonrpc.js";
|
|
23
24
|
export * from "./schemas/methods.js";
|
|
24
25
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -19,6 +19,7 @@ export * from "./schemas/connect.js";
|
|
|
19
19
|
export * from "./schemas/device.js";
|
|
20
20
|
export * from "./schemas/file.js";
|
|
21
21
|
export * from "./schemas/env.js";
|
|
22
|
+
export * from "./schemas/workflow.js";
|
|
22
23
|
export * from "./schemas/jsonrpc.js";
|
|
23
24
|
export * from "./schemas/methods.js";
|
|
24
25
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC"}
|
|
@@ -37,6 +37,13 @@ export declare const AgentCapabilities: z.ZodObject<{
|
|
|
37
37
|
hooks: z.ZodArray<z.ZodEnum<["pre_tool", "post_tool", "pre_command", "pre_file_write", "pre_network", "session_start", "session_end", "notification"]>, "many">;
|
|
38
38
|
/** 是否支持流式输出。 */
|
|
39
39
|
streaming: z.ZodBoolean;
|
|
40
|
+
/**
|
|
41
|
+
* L3 编排中可承担的角色(P2-9,2026-06-23 review)。
|
|
42
|
+
* executor 需要长话话/多轮决策能力(OpenClaw/Claude Code/Hermes 适合);
|
|
43
|
+
* worker 一般单轮执行即可(Codex/OpenCode 也能干)。
|
|
44
|
+
* 不申明默认两者都不推荐。
|
|
45
|
+
*/
|
|
46
|
+
workflowRoles: z.ZodDefault<z.ZodArray<z.ZodEnum<["executor", "worker"]>, "many">>;
|
|
40
47
|
/**
|
|
41
48
|
* 可选调度限制(P2-13):server 据此做调度/背压。
|
|
42
49
|
*/
|
|
@@ -64,6 +71,7 @@ export declare const AgentCapabilities: z.ZodObject<{
|
|
|
64
71
|
skillManagement: boolean;
|
|
65
72
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
66
73
|
streaming: boolean;
|
|
74
|
+
workflowRoles: ("executor" | "worker")[];
|
|
67
75
|
limits?: {
|
|
68
76
|
maxConcurrentSessions?: number | undefined;
|
|
69
77
|
maxContextTokens?: number | undefined;
|
|
@@ -80,6 +88,7 @@ export declare const AgentCapabilities: z.ZodObject<{
|
|
|
80
88
|
skillManagement: boolean;
|
|
81
89
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
82
90
|
streaming: boolean;
|
|
91
|
+
workflowRoles?: ("executor" | "worker")[] | undefined;
|
|
83
92
|
limits?: {
|
|
84
93
|
maxConcurrentSessions?: number | undefined;
|
|
85
94
|
maxContextTokens?: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../src/schemas/capabilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,eAAO,MAAM,QAAQ,sIASnB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;IAC5B,4CAA4C;;IAE5C,qDAAqD;;IAErD,eAAe;;IAEf;;;;;OAKG;;IAEH,iCAAiC;;IAEjC,oEAAoE;;IAEpE,wDAAwD;;IAExD,gDAAgD;;IAEhD,uCAAuC;;IAEvC,gBAAgB;;IAEhB;;OAEG
|
|
1
|
+
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../src/schemas/capabilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,eAAO,MAAM,QAAQ,sIASnB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;IAC5B,4CAA4C;;IAE5C,qDAAqD;;IAErD,eAAe;;IAEf;;;;;OAKG;;IAEH,iCAAiC;;IAEjC,oEAAoE;;IAEpE,wDAAwD;;IAExD,gDAAgD;;IAEhD,uCAAuC;;IAEvC,gBAAgB;;IAEhB;;;;;OAKG;;IAEH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQH,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -45,6 +45,13 @@ export const AgentCapabilities = z.object({
|
|
|
45
45
|
hooks: z.array(HookType),
|
|
46
46
|
/** 是否支持流式输出。 */
|
|
47
47
|
streaming: z.boolean(),
|
|
48
|
+
/**
|
|
49
|
+
* L3 编排中可承担的角色(P2-9,2026-06-23 review)。
|
|
50
|
+
* executor 需要长话话/多轮决策能力(OpenClaw/Claude Code/Hermes 适合);
|
|
51
|
+
* worker 一般单轮执行即可(Codex/OpenCode 也能干)。
|
|
52
|
+
* 不申明默认两者都不推荐。
|
|
53
|
+
*/
|
|
54
|
+
workflowRoles: z.array(z.enum(["executor", "worker"])).default([]),
|
|
48
55
|
/**
|
|
49
56
|
* 可选调度限制(P2-13):server 据此做调度/背压。
|
|
50
57
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.js","sourceRoot":"","sources":["../../src/schemas/capabilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7B,UAAU,EAAE,QAAQ;IACpB,WAAW,EAAE,QAAQ;IACrB,aAAa,EAAE,kCAAkC;IACjD,gBAAgB,EAAE,OAAO;IACzB,aAAa,EAAE,aAAa;IAC5B,eAAe,EAAE,OAAO;IACxB,aAAa,EAAE,OAAO;IACtB,cAAc,EAAE,uBAAuB;CACxC,CAAC,CAAC;AAGH;;;;GAIG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,4CAA4C;IAC5C,aAAa,EAAE,CAAC,CAAC,OAAO,EAAE;IAC1B,qDAAqD;IACrD,iBAAiB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC9B,eAAe;IACf,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC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"}
|
|
@@ -74,6 +74,7 @@ export declare const AgentDescriptor: z.ZodObject<{
|
|
|
74
74
|
skillManagement: z.ZodBoolean;
|
|
75
75
|
hooks: z.ZodArray<z.ZodEnum<["pre_tool", "post_tool", "pre_command", "pre_file_write", "pre_network", "session_start", "session_end", "notification"]>, "many">;
|
|
76
76
|
streaming: z.ZodBoolean;
|
|
77
|
+
workflowRoles: z.ZodDefault<z.ZodArray<z.ZodEnum<["executor", "worker"]>, "many">>;
|
|
77
78
|
limits: z.ZodOptional<z.ZodObject<{
|
|
78
79
|
maxConcurrentSessions: z.ZodOptional<z.ZodNumber>;
|
|
79
80
|
maxContextTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -98,6 +99,7 @@ export declare const AgentDescriptor: z.ZodObject<{
|
|
|
98
99
|
skillManagement: boolean;
|
|
99
100
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
100
101
|
streaming: boolean;
|
|
102
|
+
workflowRoles: ("executor" | "worker")[];
|
|
101
103
|
limits?: {
|
|
102
104
|
maxConcurrentSessions?: number | undefined;
|
|
103
105
|
maxContextTokens?: number | undefined;
|
|
@@ -114,6 +116,7 @@ export declare const AgentDescriptor: z.ZodObject<{
|
|
|
114
116
|
skillManagement: boolean;
|
|
115
117
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
116
118
|
streaming: boolean;
|
|
119
|
+
workflowRoles?: ("executor" | "worker")[] | undefined;
|
|
117
120
|
limits?: {
|
|
118
121
|
maxConcurrentSessions?: number | undefined;
|
|
119
122
|
maxContextTokens?: number | undefined;
|
|
@@ -144,6 +147,7 @@ export declare const AgentDescriptor: z.ZodObject<{
|
|
|
144
147
|
skillManagement: boolean;
|
|
145
148
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
146
149
|
streaming: boolean;
|
|
150
|
+
workflowRoles: ("executor" | "worker")[];
|
|
147
151
|
limits?: {
|
|
148
152
|
maxConcurrentSessions?: number | undefined;
|
|
149
153
|
maxContextTokens?: number | undefined;
|
|
@@ -175,6 +179,7 @@ export declare const AgentDescriptor: z.ZodObject<{
|
|
|
175
179
|
skillManagement: boolean;
|
|
176
180
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
177
181
|
streaming: boolean;
|
|
182
|
+
workflowRoles?: ("executor" | "worker")[] | undefined;
|
|
178
183
|
limits?: {
|
|
179
184
|
maxConcurrentSessions?: number | undefined;
|
|
180
185
|
maxContextTokens?: number | undefined;
|
|
@@ -241,6 +246,7 @@ export declare const DiscoveryListResult: z.ZodObject<{
|
|
|
241
246
|
skillManagement: z.ZodBoolean;
|
|
242
247
|
hooks: z.ZodArray<z.ZodEnum<["pre_tool", "post_tool", "pre_command", "pre_file_write", "pre_network", "session_start", "session_end", "notification"]>, "many">;
|
|
243
248
|
streaming: z.ZodBoolean;
|
|
249
|
+
workflowRoles: z.ZodDefault<z.ZodArray<z.ZodEnum<["executor", "worker"]>, "many">>;
|
|
244
250
|
limits: z.ZodOptional<z.ZodObject<{
|
|
245
251
|
maxConcurrentSessions: z.ZodOptional<z.ZodNumber>;
|
|
246
252
|
maxContextTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -265,6 +271,7 @@ export declare const DiscoveryListResult: z.ZodObject<{
|
|
|
265
271
|
skillManagement: boolean;
|
|
266
272
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
267
273
|
streaming: boolean;
|
|
274
|
+
workflowRoles: ("executor" | "worker")[];
|
|
268
275
|
limits?: {
|
|
269
276
|
maxConcurrentSessions?: number | undefined;
|
|
270
277
|
maxContextTokens?: number | undefined;
|
|
@@ -281,6 +288,7 @@ export declare const DiscoveryListResult: z.ZodObject<{
|
|
|
281
288
|
skillManagement: boolean;
|
|
282
289
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
283
290
|
streaming: boolean;
|
|
291
|
+
workflowRoles?: ("executor" | "worker")[] | undefined;
|
|
284
292
|
limits?: {
|
|
285
293
|
maxConcurrentSessions?: number | undefined;
|
|
286
294
|
maxContextTokens?: number | undefined;
|
|
@@ -311,6 +319,7 @@ export declare const DiscoveryListResult: z.ZodObject<{
|
|
|
311
319
|
skillManagement: boolean;
|
|
312
320
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
313
321
|
streaming: boolean;
|
|
322
|
+
workflowRoles: ("executor" | "worker")[];
|
|
314
323
|
limits?: {
|
|
315
324
|
maxConcurrentSessions?: number | undefined;
|
|
316
325
|
maxContextTokens?: number | undefined;
|
|
@@ -342,6 +351,7 @@ export declare const DiscoveryListResult: z.ZodObject<{
|
|
|
342
351
|
skillManagement: boolean;
|
|
343
352
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
344
353
|
streaming: boolean;
|
|
354
|
+
workflowRoles?: ("executor" | "worker")[] | undefined;
|
|
345
355
|
limits?: {
|
|
346
356
|
maxConcurrentSessions?: number | undefined;
|
|
347
357
|
maxContextTokens?: number | undefined;
|
|
@@ -375,6 +385,7 @@ export declare const DiscoveryListResult: z.ZodObject<{
|
|
|
375
385
|
skillManagement: boolean;
|
|
376
386
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
377
387
|
streaming: boolean;
|
|
388
|
+
workflowRoles: ("executor" | "worker")[];
|
|
378
389
|
limits?: {
|
|
379
390
|
maxConcurrentSessions?: number | undefined;
|
|
380
391
|
maxContextTokens?: number | undefined;
|
|
@@ -408,6 +419,7 @@ export declare const DiscoveryListResult: z.ZodObject<{
|
|
|
408
419
|
skillManagement: boolean;
|
|
409
420
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
410
421
|
streaming: boolean;
|
|
422
|
+
workflowRoles?: ("executor" | "worker")[] | undefined;
|
|
411
423
|
limits?: {
|
|
412
424
|
maxConcurrentSessions?: number | undefined;
|
|
413
425
|
maxContextTokens?: number | undefined;
|
|
@@ -474,6 +486,7 @@ export declare const DiscoveryGetResult: z.ZodObject<{
|
|
|
474
486
|
skillManagement: z.ZodBoolean;
|
|
475
487
|
hooks: z.ZodArray<z.ZodEnum<["pre_tool", "post_tool", "pre_command", "pre_file_write", "pre_network", "session_start", "session_end", "notification"]>, "many">;
|
|
476
488
|
streaming: z.ZodBoolean;
|
|
489
|
+
workflowRoles: z.ZodDefault<z.ZodArray<z.ZodEnum<["executor", "worker"]>, "many">>;
|
|
477
490
|
limits: z.ZodOptional<z.ZodObject<{
|
|
478
491
|
maxConcurrentSessions: z.ZodOptional<z.ZodNumber>;
|
|
479
492
|
maxContextTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -498,6 +511,7 @@ export declare const DiscoveryGetResult: z.ZodObject<{
|
|
|
498
511
|
skillManagement: boolean;
|
|
499
512
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
500
513
|
streaming: boolean;
|
|
514
|
+
workflowRoles: ("executor" | "worker")[];
|
|
501
515
|
limits?: {
|
|
502
516
|
maxConcurrentSessions?: number | undefined;
|
|
503
517
|
maxContextTokens?: number | undefined;
|
|
@@ -514,6 +528,7 @@ export declare const DiscoveryGetResult: z.ZodObject<{
|
|
|
514
528
|
skillManagement: boolean;
|
|
515
529
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
516
530
|
streaming: boolean;
|
|
531
|
+
workflowRoles?: ("executor" | "worker")[] | undefined;
|
|
517
532
|
limits?: {
|
|
518
533
|
maxConcurrentSessions?: number | undefined;
|
|
519
534
|
maxContextTokens?: number | undefined;
|
|
@@ -544,6 +559,7 @@ export declare const DiscoveryGetResult: z.ZodObject<{
|
|
|
544
559
|
skillManagement: boolean;
|
|
545
560
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
546
561
|
streaming: boolean;
|
|
562
|
+
workflowRoles: ("executor" | "worker")[];
|
|
547
563
|
limits?: {
|
|
548
564
|
maxConcurrentSessions?: number | undefined;
|
|
549
565
|
maxContextTokens?: number | undefined;
|
|
@@ -575,6 +591,7 @@ export declare const DiscoveryGetResult: z.ZodObject<{
|
|
|
575
591
|
skillManagement: boolean;
|
|
576
592
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
577
593
|
streaming: boolean;
|
|
594
|
+
workflowRoles?: ("executor" | "worker")[] | undefined;
|
|
578
595
|
limits?: {
|
|
579
596
|
maxConcurrentSessions?: number | undefined;
|
|
580
597
|
maxContextTokens?: number | undefined;
|
|
@@ -608,6 +625,7 @@ export declare const DiscoveryGetResult: z.ZodObject<{
|
|
|
608
625
|
skillManagement: boolean;
|
|
609
626
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
610
627
|
streaming: boolean;
|
|
628
|
+
workflowRoles: ("executor" | "worker")[];
|
|
611
629
|
limits?: {
|
|
612
630
|
maxConcurrentSessions?: number | undefined;
|
|
613
631
|
maxContextTokens?: number | undefined;
|
|
@@ -641,6 +659,7 @@ export declare const DiscoveryGetResult: z.ZodObject<{
|
|
|
641
659
|
skillManagement: boolean;
|
|
642
660
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
643
661
|
streaming: boolean;
|
|
662
|
+
workflowRoles?: ("executor" | "worker")[] | undefined;
|
|
644
663
|
limits?: {
|
|
645
664
|
maxConcurrentSessions?: number | undefined;
|
|
646
665
|
maxContextTokens?: number | undefined;
|
|
@@ -703,6 +722,7 @@ export declare const DiscoveryChangedParams: z.ZodObject<{
|
|
|
703
722
|
skillManagement: z.ZodBoolean;
|
|
704
723
|
hooks: z.ZodArray<z.ZodEnum<["pre_tool", "post_tool", "pre_command", "pre_file_write", "pre_network", "session_start", "session_end", "notification"]>, "many">;
|
|
705
724
|
streaming: z.ZodBoolean;
|
|
725
|
+
workflowRoles: z.ZodDefault<z.ZodArray<z.ZodEnum<["executor", "worker"]>, "many">>;
|
|
706
726
|
limits: z.ZodOptional<z.ZodObject<{
|
|
707
727
|
maxConcurrentSessions: z.ZodOptional<z.ZodNumber>;
|
|
708
728
|
maxContextTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -727,6 +747,7 @@ export declare const DiscoveryChangedParams: z.ZodObject<{
|
|
|
727
747
|
skillManagement: boolean;
|
|
728
748
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
729
749
|
streaming: boolean;
|
|
750
|
+
workflowRoles: ("executor" | "worker")[];
|
|
730
751
|
limits?: {
|
|
731
752
|
maxConcurrentSessions?: number | undefined;
|
|
732
753
|
maxContextTokens?: number | undefined;
|
|
@@ -743,6 +764,7 @@ export declare const DiscoveryChangedParams: z.ZodObject<{
|
|
|
743
764
|
skillManagement: boolean;
|
|
744
765
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
745
766
|
streaming: boolean;
|
|
767
|
+
workflowRoles?: ("executor" | "worker")[] | undefined;
|
|
746
768
|
limits?: {
|
|
747
769
|
maxConcurrentSessions?: number | undefined;
|
|
748
770
|
maxContextTokens?: number | undefined;
|
|
@@ -773,6 +795,7 @@ export declare const DiscoveryChangedParams: z.ZodObject<{
|
|
|
773
795
|
skillManagement: boolean;
|
|
774
796
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
775
797
|
streaming: boolean;
|
|
798
|
+
workflowRoles: ("executor" | "worker")[];
|
|
776
799
|
limits?: {
|
|
777
800
|
maxConcurrentSessions?: number | undefined;
|
|
778
801
|
maxContextTokens?: number | undefined;
|
|
@@ -804,6 +827,7 @@ export declare const DiscoveryChangedParams: z.ZodObject<{
|
|
|
804
827
|
skillManagement: boolean;
|
|
805
828
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
806
829
|
streaming: boolean;
|
|
830
|
+
workflowRoles?: ("executor" | "worker")[] | undefined;
|
|
807
831
|
limits?: {
|
|
808
832
|
maxConcurrentSessions?: number | undefined;
|
|
809
833
|
maxContextTokens?: number | undefined;
|
|
@@ -841,6 +865,7 @@ export declare const DiscoveryChangedParams: z.ZodObject<{
|
|
|
841
865
|
skillManagement: boolean;
|
|
842
866
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
843
867
|
streaming: boolean;
|
|
868
|
+
workflowRoles: ("executor" | "worker")[];
|
|
844
869
|
limits?: {
|
|
845
870
|
maxConcurrentSessions?: number | undefined;
|
|
846
871
|
maxContextTokens?: number | undefined;
|
|
@@ -877,6 +902,7 @@ export declare const DiscoveryChangedParams: z.ZodObject<{
|
|
|
877
902
|
skillManagement: boolean;
|
|
878
903
|
hooks: ("pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification")[];
|
|
879
904
|
streaming: boolean;
|
|
905
|
+
workflowRoles?: ("executor" | "worker")[] | undefined;
|
|
880
906
|
limits?: {
|
|
881
907
|
maxConcurrentSessions?: number | undefined;
|
|
882
908
|
maxContextTokens?: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discovery.d.ts","sourceRoot":"","sources":["../../src/schemas/discovery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;GAMG;AAEH,kBAAkB;AAClB,eAAO,MAAM,SAAS;IACpB,6CAA6C;;IAE7C,eAAe;;IAEf,oDAAoD;;IAEpD,gCAAgC;;;;;;;;;;;;EAEhC,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAElD,sBAAsB;AACtB,eAAO,MAAM,eAAe;;IAE1B,wCAAwC;;IAExC,2CAA2C;;IAE3C,gCAAgC;;IAEhC,uEAAuE;;IAEvE,wBAAwB;;IAExB,cAAc;;QAxBd,6CAA6C;;QAE7C,eAAe;;QAEf,oDAAoD;;QAEpD,gCAAgC;;;;;;;;;;;;;IAoBhC,iCAAiC
|
|
1
|
+
{"version":3,"file":"discovery.d.ts","sourceRoot":"","sources":["../../src/schemas/discovery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;GAMG;AAEH,kBAAkB;AAClB,eAAO,MAAM,SAAS;IACpB,6CAA6C;;IAE7C,eAAe;;IAEf,oDAAoD;;IAEpD,gCAAgC;;;;;;;;;;;;EAEhC,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAElD,sBAAsB;AACtB,eAAO,MAAM,eAAe;;IAE1B,wCAAwC;;IAExC,2CAA2C;;IAE3C,gCAAgC;;IAEhC,uEAAuE;;IAEvE,wBAAwB;;IAExB,cAAc;;QAxBd,6CAA6C;;QAE7C,eAAe;;QAEf,oDAAoD;;QAEpD,gCAAgC;;;;;;;;;;;;;IAoBhC,iCAAiC;;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