@agent-deck/shared 2.3.2 → 2.4.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.
|
@@ -53,6 +53,54 @@ export declare const CreateAgentRunRequestSchema: z.ZodObject<{
|
|
|
53
53
|
resumeSessionId?: string | undefined;
|
|
54
54
|
prepareFinalization?: boolean | undefined;
|
|
55
55
|
}>;
|
|
56
|
+
/**
|
|
57
|
+
* NOT-539: trusted-session MCP start (`start_run`). The deck is the live
|
|
58
|
+
* runtime-session deck and the cwd is the session's launch-bound workspace,
|
|
59
|
+
* so neither is accepted here — an extra `deckId` or `cwd` is rejected.
|
|
60
|
+
*/
|
|
61
|
+
export declare const StartSessionAgentRunRequestSchema: z.ZodObject<{
|
|
62
|
+
client: z.ZodEnum<["claude", "codex", "cursor", "muse"]>;
|
|
63
|
+
prompt: z.ZodEffects<z.ZodString, string, string>;
|
|
64
|
+
tools: z.ZodDefault<z.ZodEnum<["readonly", "edit"]>>;
|
|
65
|
+
resumeSessionId: z.ZodOptional<z.ZodString>;
|
|
66
|
+
prepareFinalization: z.ZodDefault<z.ZodBoolean>;
|
|
67
|
+
/** One pinned playbook version for the run's MCP session (NOT-537). */
|
|
68
|
+
playbookVersion: z.ZodOptional<z.ZodObject<{
|
|
69
|
+
playbookId: z.ZodString;
|
|
70
|
+
versionId: z.ZodString;
|
|
71
|
+
}, "strict", z.ZodTypeAny, {
|
|
72
|
+
playbookId: string;
|
|
73
|
+
versionId: string;
|
|
74
|
+
}, {
|
|
75
|
+
playbookId: string;
|
|
76
|
+
versionId: string;
|
|
77
|
+
}>>;
|
|
78
|
+
}, "strict", z.ZodTypeAny, {
|
|
79
|
+
tools: "readonly" | "edit";
|
|
80
|
+
client: "claude" | "cursor" | "codex" | "muse";
|
|
81
|
+
prompt: string;
|
|
82
|
+
prepareFinalization: boolean;
|
|
83
|
+
resumeSessionId?: string | undefined;
|
|
84
|
+
playbookVersion?: {
|
|
85
|
+
playbookId: string;
|
|
86
|
+
versionId: string;
|
|
87
|
+
} | undefined;
|
|
88
|
+
}, {
|
|
89
|
+
client: "claude" | "cursor" | "codex" | "muse";
|
|
90
|
+
prompt: string;
|
|
91
|
+
tools?: "readonly" | "edit" | undefined;
|
|
92
|
+
resumeSessionId?: string | undefined;
|
|
93
|
+
prepareFinalization?: boolean | undefined;
|
|
94
|
+
playbookVersion?: {
|
|
95
|
+
playbookId: string;
|
|
96
|
+
versionId: string;
|
|
97
|
+
} | undefined;
|
|
98
|
+
}>;
|
|
99
|
+
/**
|
|
100
|
+
* NOT-539: `WORKSPACE_REQUIRED` remedy. The agent cannot fix this itself, so
|
|
101
|
+
* it names the launcher — never a CLI command, a port, or a local URL.
|
|
102
|
+
*/
|
|
103
|
+
export declare const AGENT_RUN_WORKSPACE_REQUIRED_MESSAGE: string;
|
|
56
104
|
/**
|
|
57
105
|
* Lifecycle state. `starting` is the launch acknowledgement (record written,
|
|
58
106
|
* no event yet); `running` has emitted events; `ended`, `error`, `died`, and
|
|
@@ -501,6 +549,267 @@ export declare const AgentRunEventsResponseSchema: z.ZodObject<{
|
|
|
501
549
|
})[];
|
|
502
550
|
nextCursor: string;
|
|
503
551
|
}>;
|
|
552
|
+
/** NOT-539: `get_run` — the public status plus one cursor page of ordered events. */
|
|
553
|
+
export declare const SessionAgentRunResponseSchema: z.ZodObject<{
|
|
554
|
+
runId: z.ZodString;
|
|
555
|
+
deckId: z.ZodString;
|
|
556
|
+
client: z.ZodEnum<["claude", "codex", "cursor", "muse"]>;
|
|
557
|
+
tools: z.ZodEnum<["readonly", "edit"]>;
|
|
558
|
+
state: z.ZodEnum<["starting", "running", "ended", "error", "died", "canceled"]>;
|
|
559
|
+
/** Opaque client session id; pass as `resumeSessionId` to continue. */
|
|
560
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
561
|
+
startedAt: z.ZodString;
|
|
562
|
+
lastEventAt: z.ZodNullable<z.ZodString>;
|
|
563
|
+
/** NOT-486: present only when the run was started with `prepareFinalization`. */
|
|
564
|
+
finalization: z.ZodNullable<z.ZodObject<{
|
|
565
|
+
baselineRef: z.ZodString;
|
|
566
|
+
baselineDigest: z.ZodString;
|
|
567
|
+
state: z.ZodEnum<["prepared", "finalizing", "finalized"]>;
|
|
568
|
+
commit: z.ZodNullable<z.ZodString>;
|
|
569
|
+
}, "strict", z.ZodTypeAny, {
|
|
570
|
+
state: "prepared" | "finalizing" | "finalized";
|
|
571
|
+
baselineRef: string;
|
|
572
|
+
baselineDigest: string;
|
|
573
|
+
commit: string | null;
|
|
574
|
+
}, {
|
|
575
|
+
state: "prepared" | "finalizing" | "finalized";
|
|
576
|
+
baselineRef: string;
|
|
577
|
+
baselineDigest: string;
|
|
578
|
+
commit: string | null;
|
|
579
|
+
}>>;
|
|
580
|
+
} & {
|
|
581
|
+
events: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
582
|
+
type: z.ZodLiteral<"text">;
|
|
583
|
+
text: z.ZodString;
|
|
584
|
+
seq: z.ZodNumber;
|
|
585
|
+
ts: z.ZodString;
|
|
586
|
+
}, "strict", z.ZodTypeAny, {
|
|
587
|
+
type: "text";
|
|
588
|
+
text: string;
|
|
589
|
+
seq: number;
|
|
590
|
+
ts: string;
|
|
591
|
+
}, {
|
|
592
|
+
type: "text";
|
|
593
|
+
text: string;
|
|
594
|
+
seq: number;
|
|
595
|
+
ts: string;
|
|
596
|
+
}>, z.ZodObject<{
|
|
597
|
+
type: z.ZodLiteral<"tool">;
|
|
598
|
+
name: z.ZodString;
|
|
599
|
+
seq: z.ZodNumber;
|
|
600
|
+
ts: z.ZodString;
|
|
601
|
+
}, "strict", z.ZodTypeAny, {
|
|
602
|
+
name: string;
|
|
603
|
+
type: "tool";
|
|
604
|
+
seq: number;
|
|
605
|
+
ts: string;
|
|
606
|
+
}, {
|
|
607
|
+
name: string;
|
|
608
|
+
type: "tool";
|
|
609
|
+
seq: number;
|
|
610
|
+
ts: string;
|
|
611
|
+
}>, z.ZodObject<{
|
|
612
|
+
type: z.ZodLiteral<"notice">;
|
|
613
|
+
message: z.ZodString;
|
|
614
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
615
|
+
seq: z.ZodNumber;
|
|
616
|
+
ts: z.ZodString;
|
|
617
|
+
}, "strict", z.ZodTypeAny, {
|
|
618
|
+
type: "notice";
|
|
619
|
+
message: string;
|
|
620
|
+
sessionId: string | null;
|
|
621
|
+
seq: number;
|
|
622
|
+
ts: string;
|
|
623
|
+
}, {
|
|
624
|
+
type: "notice";
|
|
625
|
+
message: string;
|
|
626
|
+
sessionId: string | null;
|
|
627
|
+
seq: number;
|
|
628
|
+
ts: string;
|
|
629
|
+
}>, z.ZodObject<{
|
|
630
|
+
type: z.ZodLiteral<"result">;
|
|
631
|
+
subtype: z.ZodString;
|
|
632
|
+
result: z.ZodUnknown;
|
|
633
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
634
|
+
seq: z.ZodNumber;
|
|
635
|
+
ts: z.ZodString;
|
|
636
|
+
}, "strict", z.ZodTypeAny, {
|
|
637
|
+
type: "result";
|
|
638
|
+
sessionId: string | null;
|
|
639
|
+
seq: number;
|
|
640
|
+
ts: string;
|
|
641
|
+
subtype: string;
|
|
642
|
+
result?: unknown;
|
|
643
|
+
}, {
|
|
644
|
+
type: "result";
|
|
645
|
+
sessionId: string | null;
|
|
646
|
+
seq: number;
|
|
647
|
+
ts: string;
|
|
648
|
+
subtype: string;
|
|
649
|
+
result?: unknown;
|
|
650
|
+
}>, z.ZodObject<{
|
|
651
|
+
type: z.ZodLiteral<"end">;
|
|
652
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
653
|
+
seq: z.ZodNumber;
|
|
654
|
+
ts: z.ZodString;
|
|
655
|
+
}, "strict", z.ZodTypeAny, {
|
|
656
|
+
type: "end";
|
|
657
|
+
sessionId: string | null;
|
|
658
|
+
seq: number;
|
|
659
|
+
ts: string;
|
|
660
|
+
}, {
|
|
661
|
+
type: "end";
|
|
662
|
+
sessionId: string | null;
|
|
663
|
+
seq: number;
|
|
664
|
+
ts: string;
|
|
665
|
+
}>, z.ZodObject<{
|
|
666
|
+
type: z.ZodLiteral<"error">;
|
|
667
|
+
message: z.ZodString;
|
|
668
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
669
|
+
seq: z.ZodNumber;
|
|
670
|
+
ts: z.ZodString;
|
|
671
|
+
}, "strict", z.ZodTypeAny, {
|
|
672
|
+
type: "error";
|
|
673
|
+
message: string;
|
|
674
|
+
sessionId: string | null;
|
|
675
|
+
seq: number;
|
|
676
|
+
ts: string;
|
|
677
|
+
}, {
|
|
678
|
+
type: "error";
|
|
679
|
+
message: string;
|
|
680
|
+
sessionId: string | null;
|
|
681
|
+
seq: number;
|
|
682
|
+
ts: string;
|
|
683
|
+
}>, z.ZodObject<{
|
|
684
|
+
type: z.ZodLiteral<"canceled">;
|
|
685
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
686
|
+
seq: z.ZodNumber;
|
|
687
|
+
ts: z.ZodString;
|
|
688
|
+
}, "strict", z.ZodTypeAny, {
|
|
689
|
+
type: "canceled";
|
|
690
|
+
sessionId: string | null;
|
|
691
|
+
seq: number;
|
|
692
|
+
ts: string;
|
|
693
|
+
}, {
|
|
694
|
+
type: "canceled";
|
|
695
|
+
sessionId: string | null;
|
|
696
|
+
seq: number;
|
|
697
|
+
ts: string;
|
|
698
|
+
}>]>, "many">;
|
|
699
|
+
nextCursor: z.ZodString;
|
|
700
|
+
}, "strict", z.ZodTypeAny, {
|
|
701
|
+
tools: "readonly" | "edit";
|
|
702
|
+
deckId: string;
|
|
703
|
+
startedAt: string;
|
|
704
|
+
state: "error" | "starting" | "running" | "ended" | "died" | "canceled";
|
|
705
|
+
sessionId: string | null;
|
|
706
|
+
client: "claude" | "cursor" | "codex" | "muse";
|
|
707
|
+
runId: string;
|
|
708
|
+
lastEventAt: string | null;
|
|
709
|
+
finalization: {
|
|
710
|
+
state: "prepared" | "finalizing" | "finalized";
|
|
711
|
+
baselineRef: string;
|
|
712
|
+
baselineDigest: string;
|
|
713
|
+
commit: string | null;
|
|
714
|
+
} | null;
|
|
715
|
+
events: ({
|
|
716
|
+
type: "text";
|
|
717
|
+
text: string;
|
|
718
|
+
seq: number;
|
|
719
|
+
ts: string;
|
|
720
|
+
} | {
|
|
721
|
+
name: string;
|
|
722
|
+
type: "tool";
|
|
723
|
+
seq: number;
|
|
724
|
+
ts: string;
|
|
725
|
+
} | {
|
|
726
|
+
type: "notice";
|
|
727
|
+
message: string;
|
|
728
|
+
sessionId: string | null;
|
|
729
|
+
seq: number;
|
|
730
|
+
ts: string;
|
|
731
|
+
} | {
|
|
732
|
+
type: "result";
|
|
733
|
+
sessionId: string | null;
|
|
734
|
+
seq: number;
|
|
735
|
+
ts: string;
|
|
736
|
+
subtype: string;
|
|
737
|
+
result?: unknown;
|
|
738
|
+
} | {
|
|
739
|
+
type: "end";
|
|
740
|
+
sessionId: string | null;
|
|
741
|
+
seq: number;
|
|
742
|
+
ts: string;
|
|
743
|
+
} | {
|
|
744
|
+
type: "error";
|
|
745
|
+
message: string;
|
|
746
|
+
sessionId: string | null;
|
|
747
|
+
seq: number;
|
|
748
|
+
ts: string;
|
|
749
|
+
} | {
|
|
750
|
+
type: "canceled";
|
|
751
|
+
sessionId: string | null;
|
|
752
|
+
seq: number;
|
|
753
|
+
ts: string;
|
|
754
|
+
})[];
|
|
755
|
+
nextCursor: string;
|
|
756
|
+
}, {
|
|
757
|
+
tools: "readonly" | "edit";
|
|
758
|
+
deckId: string;
|
|
759
|
+
startedAt: string;
|
|
760
|
+
state: "error" | "starting" | "running" | "ended" | "died" | "canceled";
|
|
761
|
+
sessionId: string | null;
|
|
762
|
+
client: "claude" | "cursor" | "codex" | "muse";
|
|
763
|
+
runId: string;
|
|
764
|
+
lastEventAt: string | null;
|
|
765
|
+
finalization: {
|
|
766
|
+
state: "prepared" | "finalizing" | "finalized";
|
|
767
|
+
baselineRef: string;
|
|
768
|
+
baselineDigest: string;
|
|
769
|
+
commit: string | null;
|
|
770
|
+
} | null;
|
|
771
|
+
events: ({
|
|
772
|
+
type: "text";
|
|
773
|
+
text: string;
|
|
774
|
+
seq: number;
|
|
775
|
+
ts: string;
|
|
776
|
+
} | {
|
|
777
|
+
name: string;
|
|
778
|
+
type: "tool";
|
|
779
|
+
seq: number;
|
|
780
|
+
ts: string;
|
|
781
|
+
} | {
|
|
782
|
+
type: "notice";
|
|
783
|
+
message: string;
|
|
784
|
+
sessionId: string | null;
|
|
785
|
+
seq: number;
|
|
786
|
+
ts: string;
|
|
787
|
+
} | {
|
|
788
|
+
type: "result";
|
|
789
|
+
sessionId: string | null;
|
|
790
|
+
seq: number;
|
|
791
|
+
ts: string;
|
|
792
|
+
subtype: string;
|
|
793
|
+
result?: unknown;
|
|
794
|
+
} | {
|
|
795
|
+
type: "end";
|
|
796
|
+
sessionId: string | null;
|
|
797
|
+
seq: number;
|
|
798
|
+
ts: string;
|
|
799
|
+
} | {
|
|
800
|
+
type: "error";
|
|
801
|
+
message: string;
|
|
802
|
+
sessionId: string | null;
|
|
803
|
+
seq: number;
|
|
804
|
+
ts: string;
|
|
805
|
+
} | {
|
|
806
|
+
type: "canceled";
|
|
807
|
+
sessionId: string | null;
|
|
808
|
+
seq: number;
|
|
809
|
+
ts: string;
|
|
810
|
+
})[];
|
|
811
|
+
nextCursor: string;
|
|
812
|
+
}>;
|
|
504
813
|
/**
|
|
505
814
|
* `GET /api/agent-runs/capabilities` (NOT-481): only clients whose real host
|
|
506
815
|
* preflight (installed and signed in) passes are listed. `start`/`resume`
|
|
@@ -720,10 +1029,12 @@ export declare const FinalizeAgentRunResponseSchema: z.ZodObject<{
|
|
|
720
1029
|
fileCount: number;
|
|
721
1030
|
}>;
|
|
722
1031
|
/** Run-specific error codes (auth failures use the trusted-session codes). */
|
|
723
|
-
export declare const AgentRunErrorCodeSchema: z.ZodEnum<["INVALID_REQUEST", "REQUEST_TOO_LARGE", "IDEMPOTENCY_KEY_REQUIRED", "IDEMPOTENCY_CONFLICT", "DECK_NOT_FOUND", "WORKSPACE_INVALID", "WORKSPACE_MISMATCH", "CLIENT_UNAVAILABLE", "PROFILE_UNSUPPORTED", "RESUME_UNVERIFIED", "RUN_NOT_FOUND", "RUN_NOT_CANCELABLE", "FINALIZATION_INVALID", "FINALIZATION_NOT_PREPARED", "RUN_NOT_TERMINAL", "BASE_MISMATCH", "INDEX_DIRTY", "BASELINE_MISMATCH", "PATH_INVALID", "PATH_UNEXPECTED", "DIGEST_MISMATCH", "GIT_LOCK_CONFLICT", "REF_RACE", "FINALIZATION_CANCELED", "FINALIZATION_FAILED"]>;
|
|
1032
|
+
export declare const AgentRunErrorCodeSchema: z.ZodEnum<["INVALID_REQUEST", "REQUEST_TOO_LARGE", "IDEMPOTENCY_KEY_REQUIRED", "IDEMPOTENCY_CONFLICT", "DECK_NOT_FOUND", "WORKSPACE_INVALID", "WORKSPACE_MISMATCH", "WORKSPACE_REQUIRED", "CLIENT_UNAVAILABLE", "PROFILE_UNSUPPORTED", "RESUME_UNVERIFIED", "RUN_NOT_FOUND", "RUN_NOT_CANCELABLE", "FINALIZATION_INVALID", "FINALIZATION_NOT_PREPARED", "RUN_NOT_TERMINAL", "BASE_MISMATCH", "INDEX_DIRTY", "BASELINE_MISMATCH", "PATH_INVALID", "PATH_UNEXPECTED", "DIGEST_MISMATCH", "GIT_LOCK_CONFLICT", "REF_RACE", "FINALIZATION_CANCELED", "FINALIZATION_FAILED"]>;
|
|
724
1033
|
export type AgentRunClient = z.infer<typeof AgentRunClientSchema>;
|
|
725
1034
|
export type AgentRunTools = z.infer<typeof AgentRunToolsSchema>;
|
|
726
1035
|
export type CreateAgentRunRequest = z.infer<typeof CreateAgentRunRequestSchema>;
|
|
1036
|
+
export type StartSessionAgentRunRequest = z.infer<typeof StartSessionAgentRunRequestSchema>;
|
|
1037
|
+
export type SessionAgentRunResponse = z.infer<typeof SessionAgentRunResponseSchema>;
|
|
727
1038
|
export type CreateAgentRunResponse = z.infer<typeof CreateAgentRunResponseSchema>;
|
|
728
1039
|
export type AgentRunState = z.infer<typeof AgentRunStateSchema>;
|
|
729
1040
|
export type AgentRunStatus = z.infer<typeof AgentRunStatusSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-run.d.ts","sourceRoot":"","sources":["../../src/schemas/agent-run.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;GAOG;AAEH,uDAAuD;AACvD,eAAO,MAAM,0BAA0B,QAAY,CAAC;AACpD,8DAA8D;AAC9D,eAAO,MAAM,kCAAkC,QAAa,CAAC;AAC7D,uEAAuE;AACvE,eAAO,MAAM,4BAA4B,oBAAoB,CAAC;AAC9D,eAAO,MAAM,8BAA8B,MAAM,CAAC;AAClD,eAAO,MAAM,0BAA0B,OAAO,CAAC;AAE/C,eAAO,MAAM,oBAAoB,kDAAgD,CAAC;AAClF,eAAO,MAAM,mBAAmB,iCAA+B,CAAC;AAEhE,+CAA+C;AAC/C,eAAO,MAAM,gBAAgB,aAAoD,CAAC;AAElF,eAAO,MAAM,4BAA4B,aAI2C,CAAC;AAMrF,eAAO,MAAM,2BAA2B;;;IAIpC,yDAAyD;;;IAUzD,2DAA2D;;IAE3D,6DAA6D;;IAE7D;;;;OAIG;;;;;;;;;;;;;;;;;;EAGI,CAAC;AAEZ;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,0EAAwE,CAAC;AACzG,eAAO,MAAM,yBAAyB,iDAAkD,CAAC;AAEzF,eAAO,MAAM,4BAA4B;;;;;;;;;EAK9B,CAAC;AAEZ,mEAAmE;AACnE,eAAO,MAAM,iBAAiB,aAAsD,CAAC;AACrF,eAAO,MAAM,eAAe,aAAqC,CAAC;AAClE,mEAAmE;AACnE,eAAO,MAAM,6BAA6B,aAAwC,CAAC;AAEnF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,oDAAkD,CAAC;AAEvF,wFAAwF;AAC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BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AACxF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACpF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACpF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,KAAK,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,iBAAiB,CAAC;CAC/B,CAAC;AAEF,wBAAgB,aAAa,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,GAAG,iBAAiB,CAEzF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AgentRunErrorCodeSchema = exports.FinalizeAgentRunResponseSchema = exports.FinalizeAgentRunRequestSchema = exports.AgentRunChangesResponseSchema = exports.FinalizationManifestEntrySchema = exports.FinalizationFileModeSchema = exports.FINALIZATION_REVIEW_ID_MAX_CHARS = exports.FINALIZATION_COMMIT_MESSAGE_MAX_CHARS = exports.FINALIZATION_PATH_MAX_CHARS = exports.FINALIZATION_MANIFEST_MAX_FILES = exports.AgentRunCapabilitiesResponseSchema = exports.AgentRunClientCapabilitySchema = exports.AgentRunEventsResponseSchema = exports.AgentRunEventsQuerySchema = exports.AgentRunEventSchema = exports.AgentRunStatusSchema = exports.AgentRunFinalizationStatusSchema = exports.FinalizationStateSchema = exports.FinalizationBaselineRefSchema = exports.Sha256HexSchema = exports.GitObjectIdSchema = exports.CreateAgentRunResponseSchema = exports.AGENT_RUN_TERMINAL_STATES = exports.AgentRunStateSchema = exports.CreateAgentRunRequestSchema = exports.AgentRunIdempotencyKeySchema = exports.AgentRunIdSchema = exports.AgentRunToolsSchema = exports.AgentRunClientSchema = exports.AGENT_RUN_EVENTS_MAX_LIMIT = exports.AGENT_RUN_EVENTS_DEFAULT_LIMIT = exports.AGENT_RUN_IDEMPOTENCY_HEADER = exports.AGENT_RUN_REQUEST_BODY_LIMIT_BYTES = exports.AGENT_RUN_PROMPT_MAX_CHARS = void 0;
|
|
3
|
+
exports.AgentRunErrorCodeSchema = exports.FinalizeAgentRunResponseSchema = exports.FinalizeAgentRunRequestSchema = exports.AgentRunChangesResponseSchema = exports.FinalizationManifestEntrySchema = exports.FinalizationFileModeSchema = exports.FINALIZATION_REVIEW_ID_MAX_CHARS = exports.FINALIZATION_COMMIT_MESSAGE_MAX_CHARS = exports.FINALIZATION_PATH_MAX_CHARS = exports.FINALIZATION_MANIFEST_MAX_FILES = exports.AgentRunCapabilitiesResponseSchema = exports.AgentRunClientCapabilitySchema = exports.SessionAgentRunResponseSchema = exports.AgentRunEventsResponseSchema = exports.AgentRunEventsQuerySchema = exports.AgentRunEventSchema = exports.AgentRunStatusSchema = exports.AgentRunFinalizationStatusSchema = exports.FinalizationStateSchema = exports.FinalizationBaselineRefSchema = exports.Sha256HexSchema = exports.GitObjectIdSchema = exports.CreateAgentRunResponseSchema = exports.AGENT_RUN_TERMINAL_STATES = exports.AgentRunStateSchema = exports.AGENT_RUN_WORKSPACE_REQUIRED_MESSAGE = exports.StartSessionAgentRunRequestSchema = exports.CreateAgentRunRequestSchema = exports.AgentRunIdempotencyKeySchema = exports.AgentRunIdSchema = exports.AgentRunToolsSchema = exports.AgentRunClientSchema = exports.AGENT_RUN_EVENTS_MAX_LIMIT = exports.AGENT_RUN_EVENTS_DEFAULT_LIMIT = exports.AGENT_RUN_IDEMPOTENCY_HEADER = exports.AGENT_RUN_REQUEST_BODY_LIMIT_BYTES = exports.AGENT_RUN_PROMPT_MAX_CHARS = void 0;
|
|
4
4
|
exports.agentRunError = agentRunError;
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
6
|
/**
|
|
@@ -57,6 +57,34 @@ exports.CreateAgentRunRequestSchema = zod_1.z
|
|
|
57
57
|
prepareFinalization: zod_1.z.boolean().default(false),
|
|
58
58
|
})
|
|
59
59
|
.strict();
|
|
60
|
+
/**
|
|
61
|
+
* NOT-539: trusted-session MCP start (`start_run`). The deck is the live
|
|
62
|
+
* runtime-session deck and the cwd is the session's launch-bound workspace,
|
|
63
|
+
* so neither is accepted here — an extra `deckId` or `cwd` is rejected.
|
|
64
|
+
*/
|
|
65
|
+
exports.StartSessionAgentRunRequestSchema = zod_1.z
|
|
66
|
+
.object({
|
|
67
|
+
client: exports.AgentRunClientSchema,
|
|
68
|
+
prompt: zod_1.z
|
|
69
|
+
.string()
|
|
70
|
+
.max(exports.AGENT_RUN_PROMPT_MAX_CHARS)
|
|
71
|
+
.refine((value) => value.trim().length > 0, 'prompt must not be empty'),
|
|
72
|
+
tools: exports.AgentRunToolsSchema.default('readonly'),
|
|
73
|
+
resumeSessionId: zod_1.z.string().min(1).max(512).optional(),
|
|
74
|
+
prepareFinalization: zod_1.z.boolean().default(false),
|
|
75
|
+
/** One pinned playbook version for the run's MCP session (NOT-537). */
|
|
76
|
+
playbookVersion: zod_1.z
|
|
77
|
+
.object({ playbookId: zod_1.z.string().min(1).max(200), versionId: zod_1.z.string().min(1).max(200) })
|
|
78
|
+
.strict()
|
|
79
|
+
.optional(),
|
|
80
|
+
})
|
|
81
|
+
.strict();
|
|
82
|
+
/**
|
|
83
|
+
* NOT-539: `WORKSPACE_REQUIRED` remedy. The agent cannot fix this itself, so
|
|
84
|
+
* it names the launcher — never a CLI command, a port, or a local URL.
|
|
85
|
+
*/
|
|
86
|
+
exports.AGENT_RUN_WORKSPACE_REQUIRED_MESSAGE = 'This MCP session was launched without a host execution workspace, so start_run has nowhere to run and the agent cannot choose one. ' +
|
|
87
|
+
'The launcher that started this session (for example Agent Dealer) must provide its workspace when it launches the session.';
|
|
60
88
|
/**
|
|
61
89
|
* Lifecycle state. `starting` is the launch acknowledgement (record written,
|
|
62
90
|
* no event yet); `running` has emitted events; `ended`, `error`, `died`, and
|
|
@@ -148,6 +176,11 @@ exports.AgentRunEventsResponseSchema = zod_1.z
|
|
|
148
176
|
nextCursor: zod_1.z.string(),
|
|
149
177
|
})
|
|
150
178
|
.strict();
|
|
179
|
+
/** NOT-539: `get_run` — the public status plus one cursor page of ordered events. */
|
|
180
|
+
exports.SessionAgentRunResponseSchema = exports.AgentRunStatusSchema.extend({
|
|
181
|
+
events: zod_1.z.array(exports.AgentRunEventSchema),
|
|
182
|
+
nextCursor: zod_1.z.string(),
|
|
183
|
+
}).strict();
|
|
151
184
|
/**
|
|
152
185
|
* `GET /api/agent-runs/capabilities` (NOT-481): only clients whose real host
|
|
153
186
|
* preflight (installed and signed in) passes are listed. `start`/`resume`
|
|
@@ -241,6 +274,8 @@ exports.AgentRunErrorCodeSchema = zod_1.z.enum([
|
|
|
241
274
|
'DECK_NOT_FOUND',
|
|
242
275
|
'WORKSPACE_INVALID',
|
|
243
276
|
'WORKSPACE_MISMATCH',
|
|
277
|
+
// NOT-539: the MCP session carries no launch-bound execution workspace.
|
|
278
|
+
'WORKSPACE_REQUIRED',
|
|
244
279
|
'CLIENT_UNAVAILABLE',
|
|
245
280
|
'PROFILE_UNSUPPORTED',
|
|
246
281
|
'RESUME_UNVERIFIED',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-run.js","sourceRoot":"","sources":["../../src/schemas/agent-run.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"agent-run.js","sourceRoot":"","sources":["../../src/schemas/agent-run.ts"],"names":[],"mappings":";;;AAiWA,sCAEC;AAnWD,6BAAwB;AAExB;;;;;;;GAOG;AAEH,uDAAuD;AAC1C,QAAA,0BAA0B,GAAG,EAAE,GAAG,IAAI,CAAC;AACpD,8DAA8D;AACjD,QAAA,kCAAkC,GA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