@inf-monkeys-tech/monkeys 1.0.21 → 1.0.22
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/lib/contracts/agent.d.ts +471 -0
- package/lib/contracts/agent.d.ts.map +1 -1
- package/lib/contracts/agent.js +211 -4
- package/lib/contracts/agent.js.map +1 -1
- package/lib/contracts/theme.d.ts +1 -1
- package/lib/esm/contracts/index.mjs +207 -8
- package/lib/esm/contracts/index.mjs.map +1 -1
- package/lib/esm/index.mjs +207 -8
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +190 -7
- package/lib/esm/runtime/index.mjs.map +1 -1
- package/lib/esm/schemas/index.mjs +194 -7
- package/lib/esm/schemas/index.mjs.map +1 -1
- package/lib/json-schema/agent-session-command-result.schema.json +105 -0
- package/lib/json-schema/agent-session-command.schema.json +375 -0
- package/lib/json-schema/agent-session-event.schema.json +106 -0
- package/lib/json-schema/agent-session-run-event.schema.json +106 -0
- package/lib/json-schema/agent-session-targeted-command.schema.json +375 -0
- package/lib/json-schema/agent-session-view-model.schema.json +217 -1
- package/lib/schemas/index.d.ts +284 -1
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +7 -3
- package/lib/schemas/index.js.map +1 -1
- package/package.json +1 -1
- package/test/fixtures/agent-session-agent.json +5 -1
- package/test/fixtures/agent-session-chatbot.json +5 -1
- package/test/fixtures/agent-session-kernel.json +5 -1
package/lib/contracts/agent.d.ts
CHANGED
|
@@ -60,6 +60,10 @@ export declare const AgentSessionCapabilitySchema: z.ZodEnum<{
|
|
|
60
60
|
workspaceFiles: "workspaceFiles";
|
|
61
61
|
terminal: "terminal";
|
|
62
62
|
testResults: "testResults";
|
|
63
|
+
threadForking: "threadForking";
|
|
64
|
+
editAndRerun: "editAndRerun";
|
|
65
|
+
steering: "steering";
|
|
66
|
+
summary: "summary";
|
|
63
67
|
}>;
|
|
64
68
|
export declare const AgentSessionCapabilitiesSchema: z.ZodObject<{
|
|
65
69
|
text: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -79,6 +83,10 @@ export declare const AgentSessionCapabilitiesSchema: z.ZodObject<{
|
|
|
79
83
|
workspaceFiles: z.ZodDefault<z.ZodBoolean>;
|
|
80
84
|
terminal: z.ZodDefault<z.ZodBoolean>;
|
|
81
85
|
testResults: z.ZodDefault<z.ZodBoolean>;
|
|
86
|
+
threadForking: z.ZodDefault<z.ZodBoolean>;
|
|
87
|
+
editAndRerun: z.ZodDefault<z.ZodBoolean>;
|
|
88
|
+
steering: z.ZodDefault<z.ZodBoolean>;
|
|
89
|
+
summary: z.ZodDefault<z.ZodBoolean>;
|
|
82
90
|
}, z.core.$strict>;
|
|
83
91
|
export declare const AGENT_SESSION_RUNTIME_CAPABILITIES: Readonly<{
|
|
84
92
|
chatbot: {
|
|
@@ -99,6 +107,10 @@ export declare const AGENT_SESSION_RUNTIME_CAPABILITIES: Readonly<{
|
|
|
99
107
|
workspaceFiles: boolean;
|
|
100
108
|
terminal: boolean;
|
|
101
109
|
testResults: boolean;
|
|
110
|
+
threadForking: boolean;
|
|
111
|
+
editAndRerun: boolean;
|
|
112
|
+
steering: boolean;
|
|
113
|
+
summary: boolean;
|
|
102
114
|
};
|
|
103
115
|
agent: {
|
|
104
116
|
text: boolean;
|
|
@@ -118,6 +130,10 @@ export declare const AGENT_SESSION_RUNTIME_CAPABILITIES: Readonly<{
|
|
|
118
130
|
workspaceFiles: boolean;
|
|
119
131
|
terminal: boolean;
|
|
120
132
|
testResults: boolean;
|
|
133
|
+
threadForking: boolean;
|
|
134
|
+
editAndRerun: boolean;
|
|
135
|
+
steering: boolean;
|
|
136
|
+
summary: boolean;
|
|
121
137
|
};
|
|
122
138
|
}>;
|
|
123
139
|
export declare function getAgentSessionRuntimeCapabilities(mode: AgentMode): AgentSessionCapabilities;
|
|
@@ -190,6 +206,22 @@ export declare const AGENT_SESSION_CAPABILITY_EVIDENCE: Readonly<{
|
|
|
190
206
|
readonly eventTypes: readonly ["test-result"];
|
|
191
207
|
readonly commandTypes: readonly [];
|
|
192
208
|
};
|
|
209
|
+
readonly threadForking: {
|
|
210
|
+
readonly eventTypes: readonly [];
|
|
211
|
+
readonly commandTypes: readonly ["fork"];
|
|
212
|
+
};
|
|
213
|
+
readonly editAndRerun: {
|
|
214
|
+
readonly eventTypes: readonly [];
|
|
215
|
+
readonly commandTypes: readonly ["edit-and-rerun"];
|
|
216
|
+
};
|
|
217
|
+
readonly steering: {
|
|
218
|
+
readonly eventTypes: readonly [];
|
|
219
|
+
readonly commandTypes: readonly ["steer"];
|
|
220
|
+
};
|
|
221
|
+
readonly summary: {
|
|
222
|
+
readonly eventTypes: readonly ["summary"];
|
|
223
|
+
readonly commandTypes: readonly [];
|
|
224
|
+
};
|
|
193
225
|
}>;
|
|
194
226
|
export declare function findUnsupportedAgentSessionCapabilities(capabilities: AgentSessionCapabilities, evidence: {
|
|
195
227
|
eventTypes?: readonly string[];
|
|
@@ -219,6 +251,10 @@ export declare const AgentSessionSnapshotSchema: z.ZodObject<{
|
|
|
219
251
|
workspaceFiles: z.ZodDefault<z.ZodBoolean>;
|
|
220
252
|
terminal: z.ZodDefault<z.ZodBoolean>;
|
|
221
253
|
testResults: z.ZodDefault<z.ZodBoolean>;
|
|
254
|
+
threadForking: z.ZodDefault<z.ZodBoolean>;
|
|
255
|
+
editAndRerun: z.ZodDefault<z.ZodBoolean>;
|
|
256
|
+
steering: z.ZodDefault<z.ZodBoolean>;
|
|
257
|
+
summary: z.ZodDefault<z.ZodBoolean>;
|
|
222
258
|
}, z.core.$strict>;
|
|
223
259
|
}, z.core.$strict>;
|
|
224
260
|
export declare const AgentSessionStatusSchema: z.ZodEnum<{
|
|
@@ -235,6 +271,45 @@ export declare const AgentSessionTerminalStatusSchema: z.ZodEnum<{
|
|
|
235
271
|
completed: "completed";
|
|
236
272
|
failed: "failed";
|
|
237
273
|
}>;
|
|
274
|
+
export declare const AgentSessionLineageSchema: z.ZodObject<{
|
|
275
|
+
forkedFromThreadId: z.ZodString;
|
|
276
|
+
forkedFromMessageId: z.ZodString;
|
|
277
|
+
sourceRunId: z.ZodString;
|
|
278
|
+
}, z.core.$strict>;
|
|
279
|
+
export declare const AgentSessionContextInheritanceSchema: z.ZodObject<{
|
|
280
|
+
messages: z.ZodEnum<{
|
|
281
|
+
"through-source-message": "through-source-message";
|
|
282
|
+
exclude: "exclude";
|
|
283
|
+
}>;
|
|
284
|
+
attachments: z.ZodEnum<{
|
|
285
|
+
exclude: "exclude";
|
|
286
|
+
inherit: "inherit";
|
|
287
|
+
}>;
|
|
288
|
+
summaries: z.ZodEnum<{
|
|
289
|
+
exclude: "exclude";
|
|
290
|
+
inherit: "inherit";
|
|
291
|
+
}>;
|
|
292
|
+
toolResults: z.ZodEnum<{
|
|
293
|
+
exclude: "exclude";
|
|
294
|
+
inherit: "inherit";
|
|
295
|
+
}>;
|
|
296
|
+
codeChanges: z.ZodEnum<{
|
|
297
|
+
exclude: "exclude";
|
|
298
|
+
inherit: "inherit";
|
|
299
|
+
}>;
|
|
300
|
+
}, z.core.$strict>;
|
|
301
|
+
export declare const AgentSessionActiveBranchSchema: z.ZodObject<{
|
|
302
|
+
branchId: z.ZodString;
|
|
303
|
+
threadId: z.ZodString;
|
|
304
|
+
sourceMessageId: z.ZodString;
|
|
305
|
+
runId: z.ZodString;
|
|
306
|
+
lineage: z.ZodOptional<z.ZodObject<{
|
|
307
|
+
forkedFromThreadId: z.ZodString;
|
|
308
|
+
forkedFromMessageId: z.ZodString;
|
|
309
|
+
sourceRunId: z.ZodString;
|
|
310
|
+
}, z.core.$strict>>;
|
|
311
|
+
createdAt: z.ZodString;
|
|
312
|
+
}, z.core.$strict>;
|
|
238
313
|
export declare const AgentSessionRunSchema: z.ZodObject<{
|
|
239
314
|
runId: z.ZodString;
|
|
240
315
|
sessionId: z.ZodString;
|
|
@@ -258,6 +333,9 @@ export declare const AgentSessionRunSchema: z.ZodObject<{
|
|
|
258
333
|
export declare const AgentSessionCommandTypeSchema: z.ZodEnum<{
|
|
259
334
|
approval: "approval";
|
|
260
335
|
resume: "resume";
|
|
336
|
+
fork: "fork";
|
|
337
|
+
"edit-and-rerun": "edit-and-rerun";
|
|
338
|
+
steer: "steer";
|
|
261
339
|
stop: "stop";
|
|
262
340
|
retry: "retry";
|
|
263
341
|
}>;
|
|
@@ -314,6 +392,92 @@ export declare const AgentSessionCommandSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
314
392
|
}>;
|
|
315
393
|
reason: z.ZodOptional<z.ZodString>;
|
|
316
394
|
}, z.core.$strict>;
|
|
395
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
396
|
+
contract: z.ZodLiteral<"AgentSessionCommand">;
|
|
397
|
+
commandId: z.ZodString;
|
|
398
|
+
sessionId: z.ZodString;
|
|
399
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
400
|
+
idempotencyKey: z.ZodString;
|
|
401
|
+
expectedSequence: z.ZodNumber;
|
|
402
|
+
issuedAt: z.ZodString;
|
|
403
|
+
commandType: z.ZodLiteral<"fork">;
|
|
404
|
+
payload: z.ZodObject<{
|
|
405
|
+
sourceThreadId: z.ZodString;
|
|
406
|
+
sourceMessageId: z.ZodString;
|
|
407
|
+
sourceRunId: z.ZodString;
|
|
408
|
+
inheritance: z.ZodObject<{
|
|
409
|
+
messages: z.ZodEnum<{
|
|
410
|
+
"through-source-message": "through-source-message";
|
|
411
|
+
exclude: "exclude";
|
|
412
|
+
}>;
|
|
413
|
+
attachments: z.ZodEnum<{
|
|
414
|
+
exclude: "exclude";
|
|
415
|
+
inherit: "inherit";
|
|
416
|
+
}>;
|
|
417
|
+
summaries: z.ZodEnum<{
|
|
418
|
+
exclude: "exclude";
|
|
419
|
+
inherit: "inherit";
|
|
420
|
+
}>;
|
|
421
|
+
toolResults: z.ZodEnum<{
|
|
422
|
+
exclude: "exclude";
|
|
423
|
+
inherit: "inherit";
|
|
424
|
+
}>;
|
|
425
|
+
codeChanges: z.ZodEnum<{
|
|
426
|
+
exclude: "exclude";
|
|
427
|
+
inherit: "inherit";
|
|
428
|
+
}>;
|
|
429
|
+
}, z.core.$strict>;
|
|
430
|
+
}, z.core.$strict>;
|
|
431
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
432
|
+
contract: z.ZodLiteral<"AgentSessionCommand">;
|
|
433
|
+
commandId: z.ZodString;
|
|
434
|
+
sessionId: z.ZodString;
|
|
435
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
436
|
+
idempotencyKey: z.ZodString;
|
|
437
|
+
expectedSequence: z.ZodNumber;
|
|
438
|
+
issuedAt: z.ZodString;
|
|
439
|
+
commandType: z.ZodLiteral<"edit-and-rerun">;
|
|
440
|
+
payload: z.ZodObject<{
|
|
441
|
+
sourceThreadId: z.ZodString;
|
|
442
|
+
sourceMessageId: z.ZodString;
|
|
443
|
+
sourceRunId: z.ZodString;
|
|
444
|
+
replacementParts: z.ZodArray<z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>;
|
|
445
|
+
inheritance: z.ZodObject<{
|
|
446
|
+
messages: z.ZodEnum<{
|
|
447
|
+
"through-source-message": "through-source-message";
|
|
448
|
+
exclude: "exclude";
|
|
449
|
+
}>;
|
|
450
|
+
attachments: z.ZodEnum<{
|
|
451
|
+
exclude: "exclude";
|
|
452
|
+
inherit: "inherit";
|
|
453
|
+
}>;
|
|
454
|
+
summaries: z.ZodEnum<{
|
|
455
|
+
exclude: "exclude";
|
|
456
|
+
inherit: "inherit";
|
|
457
|
+
}>;
|
|
458
|
+
toolResults: z.ZodEnum<{
|
|
459
|
+
exclude: "exclude";
|
|
460
|
+
inherit: "inherit";
|
|
461
|
+
}>;
|
|
462
|
+
codeChanges: z.ZodEnum<{
|
|
463
|
+
exclude: "exclude";
|
|
464
|
+
inherit: "inherit";
|
|
465
|
+
}>;
|
|
466
|
+
}, z.core.$strict>;
|
|
467
|
+
}, z.core.$strict>;
|
|
468
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
469
|
+
contract: z.ZodLiteral<"AgentSessionCommand">;
|
|
470
|
+
commandId: z.ZodString;
|
|
471
|
+
sessionId: z.ZodString;
|
|
472
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
473
|
+
idempotencyKey: z.ZodString;
|
|
474
|
+
expectedSequence: z.ZodNumber;
|
|
475
|
+
issuedAt: z.ZodString;
|
|
476
|
+
commandType: z.ZodLiteral<"steer">;
|
|
477
|
+
payload: z.ZodObject<{
|
|
478
|
+
targetRunId: z.ZodString;
|
|
479
|
+
guidanceParts: z.ZodArray<z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>;
|
|
480
|
+
}, z.core.$strict>;
|
|
317
481
|
}, z.core.$strict>], "commandType">;
|
|
318
482
|
export declare const AgentSessionTargetedCommandSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
319
483
|
contract: z.ZodLiteral<"AgentSessionCommand">;
|
|
@@ -368,6 +532,92 @@ export declare const AgentSessionTargetedCommandSchema: z.ZodIntersection<z.ZodD
|
|
|
368
532
|
}>;
|
|
369
533
|
reason: z.ZodOptional<z.ZodString>;
|
|
370
534
|
}, z.core.$strict>;
|
|
535
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
536
|
+
contract: z.ZodLiteral<"AgentSessionCommand">;
|
|
537
|
+
commandId: z.ZodString;
|
|
538
|
+
sessionId: z.ZodString;
|
|
539
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
540
|
+
idempotencyKey: z.ZodString;
|
|
541
|
+
expectedSequence: z.ZodNumber;
|
|
542
|
+
issuedAt: z.ZodString;
|
|
543
|
+
commandType: z.ZodLiteral<"fork">;
|
|
544
|
+
payload: z.ZodObject<{
|
|
545
|
+
sourceThreadId: z.ZodString;
|
|
546
|
+
sourceMessageId: z.ZodString;
|
|
547
|
+
sourceRunId: z.ZodString;
|
|
548
|
+
inheritance: z.ZodObject<{
|
|
549
|
+
messages: z.ZodEnum<{
|
|
550
|
+
"through-source-message": "through-source-message";
|
|
551
|
+
exclude: "exclude";
|
|
552
|
+
}>;
|
|
553
|
+
attachments: z.ZodEnum<{
|
|
554
|
+
exclude: "exclude";
|
|
555
|
+
inherit: "inherit";
|
|
556
|
+
}>;
|
|
557
|
+
summaries: z.ZodEnum<{
|
|
558
|
+
exclude: "exclude";
|
|
559
|
+
inherit: "inherit";
|
|
560
|
+
}>;
|
|
561
|
+
toolResults: z.ZodEnum<{
|
|
562
|
+
exclude: "exclude";
|
|
563
|
+
inherit: "inherit";
|
|
564
|
+
}>;
|
|
565
|
+
codeChanges: z.ZodEnum<{
|
|
566
|
+
exclude: "exclude";
|
|
567
|
+
inherit: "inherit";
|
|
568
|
+
}>;
|
|
569
|
+
}, z.core.$strict>;
|
|
570
|
+
}, z.core.$strict>;
|
|
571
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
572
|
+
contract: z.ZodLiteral<"AgentSessionCommand">;
|
|
573
|
+
commandId: z.ZodString;
|
|
574
|
+
sessionId: z.ZodString;
|
|
575
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
576
|
+
idempotencyKey: z.ZodString;
|
|
577
|
+
expectedSequence: z.ZodNumber;
|
|
578
|
+
issuedAt: z.ZodString;
|
|
579
|
+
commandType: z.ZodLiteral<"edit-and-rerun">;
|
|
580
|
+
payload: z.ZodObject<{
|
|
581
|
+
sourceThreadId: z.ZodString;
|
|
582
|
+
sourceMessageId: z.ZodString;
|
|
583
|
+
sourceRunId: z.ZodString;
|
|
584
|
+
replacementParts: z.ZodArray<z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>;
|
|
585
|
+
inheritance: z.ZodObject<{
|
|
586
|
+
messages: z.ZodEnum<{
|
|
587
|
+
"through-source-message": "through-source-message";
|
|
588
|
+
exclude: "exclude";
|
|
589
|
+
}>;
|
|
590
|
+
attachments: z.ZodEnum<{
|
|
591
|
+
exclude: "exclude";
|
|
592
|
+
inherit: "inherit";
|
|
593
|
+
}>;
|
|
594
|
+
summaries: z.ZodEnum<{
|
|
595
|
+
exclude: "exclude";
|
|
596
|
+
inherit: "inherit";
|
|
597
|
+
}>;
|
|
598
|
+
toolResults: z.ZodEnum<{
|
|
599
|
+
exclude: "exclude";
|
|
600
|
+
inherit: "inherit";
|
|
601
|
+
}>;
|
|
602
|
+
codeChanges: z.ZodEnum<{
|
|
603
|
+
exclude: "exclude";
|
|
604
|
+
inherit: "inherit";
|
|
605
|
+
}>;
|
|
606
|
+
}, z.core.$strict>;
|
|
607
|
+
}, z.core.$strict>;
|
|
608
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
609
|
+
contract: z.ZodLiteral<"AgentSessionCommand">;
|
|
610
|
+
commandId: z.ZodString;
|
|
611
|
+
sessionId: z.ZodString;
|
|
612
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
613
|
+
idempotencyKey: z.ZodString;
|
|
614
|
+
expectedSequence: z.ZodNumber;
|
|
615
|
+
issuedAt: z.ZodString;
|
|
616
|
+
commandType: z.ZodLiteral<"steer">;
|
|
617
|
+
payload: z.ZodObject<{
|
|
618
|
+
targetRunId: z.ZodString;
|
|
619
|
+
guidanceParts: z.ZodArray<z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>;
|
|
620
|
+
}, z.core.$strict>;
|
|
371
621
|
}, z.core.$strict>], "commandType">, z.ZodObject<{
|
|
372
622
|
runId: z.ZodString;
|
|
373
623
|
}, z.core.$strip>>;
|
|
@@ -384,6 +634,11 @@ export declare const AgentSessionCommandErrorCodeSchema: z.ZodEnum<{
|
|
|
384
634
|
TARGET_EVENT_NOT_RETRYABLE: "TARGET_EVENT_NOT_RETRYABLE";
|
|
385
635
|
APPROVAL_NOT_FOUND: "APPROVAL_NOT_FOUND";
|
|
386
636
|
APPROVAL_ALREADY_RESOLVED: "APPROVAL_ALREADY_RESOLVED";
|
|
637
|
+
SOURCE_THREAD_NOT_FOUND: "SOURCE_THREAD_NOT_FOUND";
|
|
638
|
+
SOURCE_MESSAGE_NOT_FOUND: "SOURCE_MESSAGE_NOT_FOUND";
|
|
639
|
+
SOURCE_RUN_NOT_FOUND: "SOURCE_RUN_NOT_FOUND";
|
|
640
|
+
SOURCE_LINEAGE_INVALID: "SOURCE_LINEAGE_INVALID";
|
|
641
|
+
ACTIVE_BRANCH_NOT_FOUND: "ACTIVE_BRANCH_NOT_FOUND";
|
|
387
642
|
COMMAND_EXECUTION_FAILED: "COMMAND_EXECUTION_FAILED";
|
|
388
643
|
}>;
|
|
389
644
|
export declare const AgentSessionCommandResultSchema: z.ZodObject<{
|
|
@@ -409,6 +664,25 @@ export declare const AgentSessionCommandResultSchema: z.ZodObject<{
|
|
|
409
664
|
}>;
|
|
410
665
|
acceptedSequence: z.ZodOptional<z.ZodNumber>;
|
|
411
666
|
resultEventIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
667
|
+
operation: z.ZodOptional<z.ZodObject<{
|
|
668
|
+
lineage: z.ZodObject<{
|
|
669
|
+
forkedFromThreadId: z.ZodString;
|
|
670
|
+
forkedFromMessageId: z.ZodString;
|
|
671
|
+
sourceRunId: z.ZodString;
|
|
672
|
+
}, z.core.$strict>;
|
|
673
|
+
activeBranch: z.ZodObject<{
|
|
674
|
+
branchId: z.ZodString;
|
|
675
|
+
threadId: z.ZodString;
|
|
676
|
+
sourceMessageId: z.ZodString;
|
|
677
|
+
runId: z.ZodString;
|
|
678
|
+
lineage: z.ZodOptional<z.ZodObject<{
|
|
679
|
+
forkedFromThreadId: z.ZodString;
|
|
680
|
+
forkedFromMessageId: z.ZodString;
|
|
681
|
+
sourceRunId: z.ZodString;
|
|
682
|
+
}, z.core.$strict>>;
|
|
683
|
+
createdAt: z.ZodString;
|
|
684
|
+
}, z.core.$strict>;
|
|
685
|
+
}, z.core.$strict>>;
|
|
412
686
|
termination: z.ZodOptional<z.ZodEnum<{
|
|
413
687
|
requested: "requested";
|
|
414
688
|
confirmed: "confirmed";
|
|
@@ -427,6 +701,11 @@ export declare const AgentSessionCommandResultSchema: z.ZodObject<{
|
|
|
427
701
|
TARGET_EVENT_NOT_RETRYABLE: "TARGET_EVENT_NOT_RETRYABLE";
|
|
428
702
|
APPROVAL_NOT_FOUND: "APPROVAL_NOT_FOUND";
|
|
429
703
|
APPROVAL_ALREADY_RESOLVED: "APPROVAL_ALREADY_RESOLVED";
|
|
704
|
+
SOURCE_THREAD_NOT_FOUND: "SOURCE_THREAD_NOT_FOUND";
|
|
705
|
+
SOURCE_MESSAGE_NOT_FOUND: "SOURCE_MESSAGE_NOT_FOUND";
|
|
706
|
+
SOURCE_RUN_NOT_FOUND: "SOURCE_RUN_NOT_FOUND";
|
|
707
|
+
SOURCE_LINEAGE_INVALID: "SOURCE_LINEAGE_INVALID";
|
|
708
|
+
ACTIVE_BRANCH_NOT_FOUND: "ACTIVE_BRANCH_NOT_FOUND";
|
|
430
709
|
COMMAND_EXECUTION_FAILED: "COMMAND_EXECUTION_FAILED";
|
|
431
710
|
}>;
|
|
432
711
|
message: z.ZodString;
|
|
@@ -434,6 +713,107 @@ export declare const AgentSessionCommandResultSchema: z.ZodObject<{
|
|
|
434
713
|
}, z.core.$strict>>;
|
|
435
714
|
occurredAt: z.ZodString;
|
|
436
715
|
}, z.core.$strict>;
|
|
716
|
+
export declare const AgentSessionCommandPolicySchema: z.ZodObject<{
|
|
717
|
+
capability: z.ZodOptional<z.ZodEnum<{
|
|
718
|
+
tools: "tools";
|
|
719
|
+
text: "text";
|
|
720
|
+
skills: "skills";
|
|
721
|
+
mcp: "mcp";
|
|
722
|
+
reasoning: "reasoning";
|
|
723
|
+
plan: "plan";
|
|
724
|
+
tasks: "tasks";
|
|
725
|
+
shell: "shell";
|
|
726
|
+
fileChange: "fileChange";
|
|
727
|
+
approval: "approval";
|
|
728
|
+
artifacts: "artifacts";
|
|
729
|
+
usage: "usage";
|
|
730
|
+
resume: "resume";
|
|
731
|
+
diff: "diff";
|
|
732
|
+
workspaceFiles: "workspaceFiles";
|
|
733
|
+
terminal: "terminal";
|
|
734
|
+
testResults: "testResults";
|
|
735
|
+
threadForking: "threadForking";
|
|
736
|
+
editAndRerun: "editAndRerun";
|
|
737
|
+
steering: "steering";
|
|
738
|
+
summary: "summary";
|
|
739
|
+
}>>;
|
|
740
|
+
allowedStatuses: z.ZodArray<z.ZodEnum<{
|
|
741
|
+
queued: "queued";
|
|
742
|
+
running: "running";
|
|
743
|
+
waiting_approval: "waiting_approval";
|
|
744
|
+
stopping: "stopping";
|
|
745
|
+
stopped: "stopped";
|
|
746
|
+
completed: "completed";
|
|
747
|
+
failed: "failed";
|
|
748
|
+
}>>;
|
|
749
|
+
requiresRunId: z.ZodBoolean;
|
|
750
|
+
sourceSessionEffect: z.ZodEnum<{
|
|
751
|
+
transition: "transition";
|
|
752
|
+
preserve: "preserve";
|
|
753
|
+
}>;
|
|
754
|
+
idempotencyScope: z.ZodLiteral<"session-command">;
|
|
755
|
+
sequenceRule: z.ZodLiteral<"match-current">;
|
|
756
|
+
}, z.core.$strict>;
|
|
757
|
+
export declare const AGENT_SESSION_COMMAND_POLICIES: Readonly<{
|
|
758
|
+
stop: {
|
|
759
|
+
allowedStatuses: ("queued" | "running" | "waiting_approval" | "stopping" | "stopped" | "completed" | "failed")[];
|
|
760
|
+
requiresRunId: boolean;
|
|
761
|
+
sourceSessionEffect: "transition" | "preserve";
|
|
762
|
+
idempotencyScope: "session-command";
|
|
763
|
+
sequenceRule: "match-current";
|
|
764
|
+
capability?: "tools" | "text" | "skills" | "mcp" | "reasoning" | "plan" | "tasks" | "shell" | "fileChange" | "approval" | "artifacts" | "usage" | "resume" | "diff" | "workspaceFiles" | "terminal" | "testResults" | "threadForking" | "editAndRerun" | "steering" | "summary" | undefined;
|
|
765
|
+
};
|
|
766
|
+
resume: {
|
|
767
|
+
allowedStatuses: ("queued" | "running" | "waiting_approval" | "stopping" | "stopped" | "completed" | "failed")[];
|
|
768
|
+
requiresRunId: boolean;
|
|
769
|
+
sourceSessionEffect: "transition" | "preserve";
|
|
770
|
+
idempotencyScope: "session-command";
|
|
771
|
+
sequenceRule: "match-current";
|
|
772
|
+
capability?: "tools" | "text" | "skills" | "mcp" | "reasoning" | "plan" | "tasks" | "shell" | "fileChange" | "approval" | "artifacts" | "usage" | "resume" | "diff" | "workspaceFiles" | "terminal" | "testResults" | "threadForking" | "editAndRerun" | "steering" | "summary" | undefined;
|
|
773
|
+
};
|
|
774
|
+
retry: {
|
|
775
|
+
allowedStatuses: ("queued" | "running" | "waiting_approval" | "stopping" | "stopped" | "completed" | "failed")[];
|
|
776
|
+
requiresRunId: boolean;
|
|
777
|
+
sourceSessionEffect: "transition" | "preserve";
|
|
778
|
+
idempotencyScope: "session-command";
|
|
779
|
+
sequenceRule: "match-current";
|
|
780
|
+
capability?: "tools" | "text" | "skills" | "mcp" | "reasoning" | "plan" | "tasks" | "shell" | "fileChange" | "approval" | "artifacts" | "usage" | "resume" | "diff" | "workspaceFiles" | "terminal" | "testResults" | "threadForking" | "editAndRerun" | "steering" | "summary" | undefined;
|
|
781
|
+
};
|
|
782
|
+
approval: {
|
|
783
|
+
allowedStatuses: ("queued" | "running" | "waiting_approval" | "stopping" | "stopped" | "completed" | "failed")[];
|
|
784
|
+
requiresRunId: boolean;
|
|
785
|
+
sourceSessionEffect: "transition" | "preserve";
|
|
786
|
+
idempotencyScope: "session-command";
|
|
787
|
+
sequenceRule: "match-current";
|
|
788
|
+
capability?: "tools" | "text" | "skills" | "mcp" | "reasoning" | "plan" | "tasks" | "shell" | "fileChange" | "approval" | "artifacts" | "usage" | "resume" | "diff" | "workspaceFiles" | "terminal" | "testResults" | "threadForking" | "editAndRerun" | "steering" | "summary" | undefined;
|
|
789
|
+
};
|
|
790
|
+
fork: {
|
|
791
|
+
allowedStatuses: ("queued" | "running" | "waiting_approval" | "stopping" | "stopped" | "completed" | "failed")[];
|
|
792
|
+
requiresRunId: boolean;
|
|
793
|
+
sourceSessionEffect: "transition" | "preserve";
|
|
794
|
+
idempotencyScope: "session-command";
|
|
795
|
+
sequenceRule: "match-current";
|
|
796
|
+
capability?: "tools" | "text" | "skills" | "mcp" | "reasoning" | "plan" | "tasks" | "shell" | "fileChange" | "approval" | "artifacts" | "usage" | "resume" | "diff" | "workspaceFiles" | "terminal" | "testResults" | "threadForking" | "editAndRerun" | "steering" | "summary" | undefined;
|
|
797
|
+
};
|
|
798
|
+
'edit-and-rerun': {
|
|
799
|
+
allowedStatuses: ("queued" | "running" | "waiting_approval" | "stopping" | "stopped" | "completed" | "failed")[];
|
|
800
|
+
requiresRunId: boolean;
|
|
801
|
+
sourceSessionEffect: "transition" | "preserve";
|
|
802
|
+
idempotencyScope: "session-command";
|
|
803
|
+
sequenceRule: "match-current";
|
|
804
|
+
capability?: "tools" | "text" | "skills" | "mcp" | "reasoning" | "plan" | "tasks" | "shell" | "fileChange" | "approval" | "artifacts" | "usage" | "resume" | "diff" | "workspaceFiles" | "terminal" | "testResults" | "threadForking" | "editAndRerun" | "steering" | "summary" | undefined;
|
|
805
|
+
};
|
|
806
|
+
steer: {
|
|
807
|
+
allowedStatuses: ("queued" | "running" | "waiting_approval" | "stopping" | "stopped" | "completed" | "failed")[];
|
|
808
|
+
requiresRunId: boolean;
|
|
809
|
+
sourceSessionEffect: "transition" | "preserve";
|
|
810
|
+
idempotencyScope: "session-command";
|
|
811
|
+
sequenceRule: "match-current";
|
|
812
|
+
capability?: "tools" | "text" | "skills" | "mcp" | "reasoning" | "plan" | "tasks" | "shell" | "fileChange" | "approval" | "artifacts" | "usage" | "resume" | "diff" | "workspaceFiles" | "terminal" | "testResults" | "threadForking" | "editAndRerun" | "steering" | "summary" | undefined;
|
|
813
|
+
};
|
|
814
|
+
}>;
|
|
815
|
+
export declare function getAgentSessionCommandPolicy(commandType: AgentSessionCommandType): AgentSessionCommandPolicy;
|
|
816
|
+
export declare function canIssueAgentSessionCommand(status: AgentSessionStatus, commandType: AgentSessionCommandType): boolean;
|
|
437
817
|
export declare function resolveAgentSessionCommandTransition(status: AgentSessionStatus, commandType: AgentSessionCommandType): AgentSessionStatus | undefined;
|
|
438
818
|
export declare function isAgentSessionTerminalStatus(status: AgentSessionStatus): status is AgentSessionTerminalStatus;
|
|
439
819
|
export declare function canApplyAgentSessionRunStatus(current: AgentSessionStatus, next: AgentSessionStatus): boolean;
|
|
@@ -775,6 +1155,28 @@ export declare const AgentSessionEventSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
775
1155
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
776
1156
|
output: z.ZodOptional<z.ZodString>;
|
|
777
1157
|
}, z.core.$strict>;
|
|
1158
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1159
|
+
contract: z.ZodLiteral<"AgentSessionEvent">;
|
|
1160
|
+
eventId: z.ZodString;
|
|
1161
|
+
sessionId: z.ZodString;
|
|
1162
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
1163
|
+
sourceMessageId: z.ZodOptional<z.ZodString>;
|
|
1164
|
+
sequence: z.ZodNumber;
|
|
1165
|
+
idempotencyKey: z.ZodString;
|
|
1166
|
+
occurredAt: z.ZodString;
|
|
1167
|
+
eventType: z.ZodLiteral<"summary">;
|
|
1168
|
+
payload: z.ZodObject<{
|
|
1169
|
+
summaryId: z.ZodString;
|
|
1170
|
+
runId: z.ZodString;
|
|
1171
|
+
text: z.ZodString;
|
|
1172
|
+
highlights: z.ZodArray<z.ZodString>;
|
|
1173
|
+
pendingItems: z.ZodArray<z.ZodString>;
|
|
1174
|
+
status: z.ZodEnum<{
|
|
1175
|
+
completed: "completed";
|
|
1176
|
+
failed: "failed";
|
|
1177
|
+
generating: "generating";
|
|
1178
|
+
}>;
|
|
1179
|
+
}, z.core.$strict>;
|
|
778
1180
|
}, z.core.$strict>], "eventType">;
|
|
779
1181
|
export declare const AgentSessionRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
780
1182
|
contract: z.ZodLiteral<"AgentSessionEvent">;
|
|
@@ -1114,6 +1516,28 @@ export declare const AgentSessionRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
1114
1516
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1115
1517
|
output: z.ZodOptional<z.ZodString>;
|
|
1116
1518
|
}, z.core.$strict>;
|
|
1519
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1520
|
+
contract: z.ZodLiteral<"AgentSessionEvent">;
|
|
1521
|
+
eventId: z.ZodString;
|
|
1522
|
+
sessionId: z.ZodString;
|
|
1523
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
1524
|
+
sourceMessageId: z.ZodOptional<z.ZodString>;
|
|
1525
|
+
sequence: z.ZodNumber;
|
|
1526
|
+
idempotencyKey: z.ZodString;
|
|
1527
|
+
occurredAt: z.ZodString;
|
|
1528
|
+
eventType: z.ZodLiteral<"summary">;
|
|
1529
|
+
payload: z.ZodObject<{
|
|
1530
|
+
summaryId: z.ZodString;
|
|
1531
|
+
runId: z.ZodString;
|
|
1532
|
+
text: z.ZodString;
|
|
1533
|
+
highlights: z.ZodArray<z.ZodString>;
|
|
1534
|
+
pendingItems: z.ZodArray<z.ZodString>;
|
|
1535
|
+
status: z.ZodEnum<{
|
|
1536
|
+
completed: "completed";
|
|
1537
|
+
failed: "failed";
|
|
1538
|
+
generating: "generating";
|
|
1539
|
+
}>;
|
|
1540
|
+
}, z.core.$strict>;
|
|
1117
1541
|
}, z.core.$strict>], "eventType">;
|
|
1118
1542
|
export declare const AgentSessionViewModelSchema: z.ZodObject<{
|
|
1119
1543
|
contract: z.ZodLiteral<"AgentSessionViewModel">;
|
|
@@ -1142,6 +1566,10 @@ export declare const AgentSessionViewModelSchema: z.ZodObject<{
|
|
|
1142
1566
|
workspaceFiles: z.ZodDefault<z.ZodBoolean>;
|
|
1143
1567
|
terminal: z.ZodDefault<z.ZodBoolean>;
|
|
1144
1568
|
testResults: z.ZodDefault<z.ZodBoolean>;
|
|
1569
|
+
threadForking: z.ZodDefault<z.ZodBoolean>;
|
|
1570
|
+
editAndRerun: z.ZodDefault<z.ZodBoolean>;
|
|
1571
|
+
steering: z.ZodDefault<z.ZodBoolean>;
|
|
1572
|
+
summary: z.ZodDefault<z.ZodBoolean>;
|
|
1145
1573
|
}, z.core.$strict>;
|
|
1146
1574
|
}, z.core.$strict>;
|
|
1147
1575
|
status: z.ZodEnum<{
|
|
@@ -1491,9 +1919,48 @@ export declare const AgentSessionViewModelSchema: z.ZodObject<{
|
|
|
1491
1919
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1492
1920
|
output: z.ZodOptional<z.ZodString>;
|
|
1493
1921
|
}, z.core.$strict>;
|
|
1922
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1923
|
+
contract: z.ZodLiteral<"AgentSessionEvent">;
|
|
1924
|
+
eventId: z.ZodString;
|
|
1925
|
+
sessionId: z.ZodString;
|
|
1926
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
1927
|
+
sourceMessageId: z.ZodOptional<z.ZodString>;
|
|
1928
|
+
sequence: z.ZodNumber;
|
|
1929
|
+
idempotencyKey: z.ZodString;
|
|
1930
|
+
occurredAt: z.ZodString;
|
|
1931
|
+
eventType: z.ZodLiteral<"summary">;
|
|
1932
|
+
payload: z.ZodObject<{
|
|
1933
|
+
summaryId: z.ZodString;
|
|
1934
|
+
runId: z.ZodString;
|
|
1935
|
+
text: z.ZodString;
|
|
1936
|
+
highlights: z.ZodArray<z.ZodString>;
|
|
1937
|
+
pendingItems: z.ZodArray<z.ZodString>;
|
|
1938
|
+
status: z.ZodEnum<{
|
|
1939
|
+
completed: "completed";
|
|
1940
|
+
failed: "failed";
|
|
1941
|
+
generating: "generating";
|
|
1942
|
+
}>;
|
|
1943
|
+
}, z.core.$strict>;
|
|
1494
1944
|
}, z.core.$strict>], "eventType">>;
|
|
1495
1945
|
lastSequence: z.ZodNumber;
|
|
1496
1946
|
resumable: z.ZodDefault<z.ZodBoolean>;
|
|
1947
|
+
lineage: z.ZodOptional<z.ZodObject<{
|
|
1948
|
+
forkedFromThreadId: z.ZodString;
|
|
1949
|
+
forkedFromMessageId: z.ZodString;
|
|
1950
|
+
sourceRunId: z.ZodString;
|
|
1951
|
+
}, z.core.$strict>>;
|
|
1952
|
+
activeBranch: z.ZodOptional<z.ZodObject<{
|
|
1953
|
+
branchId: z.ZodString;
|
|
1954
|
+
threadId: z.ZodString;
|
|
1955
|
+
sourceMessageId: z.ZodString;
|
|
1956
|
+
runId: z.ZodString;
|
|
1957
|
+
lineage: z.ZodOptional<z.ZodObject<{
|
|
1958
|
+
forkedFromThreadId: z.ZodString;
|
|
1959
|
+
forkedFromMessageId: z.ZodString;
|
|
1960
|
+
sourceRunId: z.ZodString;
|
|
1961
|
+
}, z.core.$strict>>;
|
|
1962
|
+
createdAt: z.ZodString;
|
|
1963
|
+
}, z.core.$strict>>;
|
|
1497
1964
|
}, z.core.$strict>;
|
|
1498
1965
|
export type AgentMode = z.infer<typeof AgentModeSchema>;
|
|
1499
1966
|
export type AgentConfigurationCapability = z.infer<typeof AgentConfigurationCapabilitySchema>;
|
|
@@ -1504,12 +1971,16 @@ export type AgentSessionCapabilities = z.infer<typeof AgentSessionCapabilitiesSc
|
|
|
1504
1971
|
export type AgentSessionSnapshot = z.infer<typeof AgentSessionSnapshotSchema>;
|
|
1505
1972
|
export type AgentSessionStatus = z.infer<typeof AgentSessionStatusSchema>;
|
|
1506
1973
|
export type AgentSessionTerminalStatus = z.infer<typeof AgentSessionTerminalStatusSchema>;
|
|
1974
|
+
export type AgentSessionLineage = z.infer<typeof AgentSessionLineageSchema>;
|
|
1975
|
+
export type AgentSessionContextInheritance = z.infer<typeof AgentSessionContextInheritanceSchema>;
|
|
1976
|
+
export type AgentSessionActiveBranch = z.infer<typeof AgentSessionActiveBranchSchema>;
|
|
1507
1977
|
export type AgentSessionRun = z.infer<typeof AgentSessionRunSchema>;
|
|
1508
1978
|
export type AgentSessionCommandType = z.infer<typeof AgentSessionCommandTypeSchema>;
|
|
1509
1979
|
export type AgentSessionCommand = z.infer<typeof AgentSessionCommandSchema>;
|
|
1510
1980
|
export type AgentSessionTargetedCommand = z.infer<typeof AgentSessionTargetedCommandSchema>;
|
|
1511
1981
|
export type AgentSessionCommandErrorCode = z.infer<typeof AgentSessionCommandErrorCodeSchema>;
|
|
1512
1982
|
export type AgentSessionCommandResult = z.infer<typeof AgentSessionCommandResultSchema>;
|
|
1983
|
+
export type AgentSessionCommandPolicy = z.infer<typeof AgentSessionCommandPolicySchema>;
|
|
1513
1984
|
export type AgentSessionEvent = z.infer<typeof AgentSessionEventSchema>;
|
|
1514
1985
|
export type AgentSessionRunEvent = z.infer<typeof AgentSessionRunEventSchema>;
|
|
1515
1986
|
export type AgentSessionViewModel = z.infer<typeof AgentSessionViewModelSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../src/contracts/agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,eAAe;;;EAA+B,CAAC;AAE5D,eAAO,MAAM,kCAAkC;;;;;;EAM7C,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;kBAQ7B,CAAC;AAEZ,eAAO,MAAM,8BAA8B;;;;;kBAIhC,CAAC;AAEZ,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;EAe2B,CAAC;AAEhE,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,SAAS,GAAG,qBAAqB,CAE/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,4BAA4B,GAAG,OAAO,CAEzG;AAED,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,wBAAwB,GAAG,SAAS,EAC7C,IAAI,EAAE,SAAS,GACd,OAAO,CAET;AAED,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"agent.d.ts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