@claudexor/schema 3.22.0 → 3.23.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.
Files changed (65) hide show
  1. package/dist/agent-capabilities.d.ts +8 -8
  2. package/dist/agent-capabilities.js +1 -1
  3. package/dist/agent-capabilities.js.map +1 -1
  4. package/dist/command-list.d.ts +108 -37
  5. package/dist/command-list.d.ts.map +1 -1
  6. package/dist/command-list.js +17 -35
  7. package/dist/command-list.js.map +1 -1
  8. package/dist/command-summary.d.ts +8 -0
  9. package/dist/command-summary.d.ts.map +1 -0
  10. package/dist/command-summary.js +33 -0
  11. package/dist/command-summary.js.map +1 -0
  12. package/dist/control-operation-responses.d.ts +5 -0
  13. package/dist/control-operation-responses.d.ts.map +1 -1
  14. package/dist/control-run-detail.d.ts +10 -0
  15. package/dist/control-run-detail.d.ts.map +1 -1
  16. package/dist/control-run-execution.js +1 -1
  17. package/dist/control-run-execution.js.map +1 -1
  18. package/dist/control-thread-requests.d.ts +17 -3
  19. package/dist/control-thread-requests.d.ts.map +1 -1
  20. package/dist/control-thread-requests.js +24 -1
  21. package/dist/control-thread-requests.js.map +1 -1
  22. package/dist/control.d.ts +32 -16
  23. package/dist/control.d.ts.map +1 -1
  24. package/dist/control.js +11 -1
  25. package/dist/control.js.map +1 -1
  26. package/dist/daemon-status.d.ts +177 -0
  27. package/dist/daemon-status.d.ts.map +1 -0
  28. package/dist/daemon-status.js +27 -0
  29. package/dist/daemon-status.js.map +1 -0
  30. package/dist/index.d.ts +3 -0
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.js +3 -0
  33. package/dist/index.js.map +1 -1
  34. package/dist/project.d.ts +2 -2
  35. package/dist/project.d.ts.map +1 -1
  36. package/dist/project.js +3 -3
  37. package/dist/project.js.map +1 -1
  38. package/dist/run-list-page.d.ts +74 -0
  39. package/dist/run-list-page.d.ts.map +1 -0
  40. package/dist/run-list-page.js +85 -0
  41. package/dist/run-list-page.js.map +1 -0
  42. package/dist/run-strategy.d.ts +18 -0
  43. package/dist/run-strategy.d.ts.map +1 -1
  44. package/dist/run-strategy.js +15 -0
  45. package/dist/run-strategy.js.map +1 -1
  46. package/dist/thread.d.ts +24 -10
  47. package/dist/thread.d.ts.map +1 -1
  48. package/dist/thread.js +14 -4
  49. package/dist/thread.js.map +1 -1
  50. package/generated/AgentCapabilityCatalog.schema.json +4 -3
  51. package/generated/CommandListQuery.schema.json +204 -0
  52. package/generated/ControlDaemonStatus.schema.json +150 -0
  53. package/generated/ControlProjectRemoveReceipt.schema.json +1 -1
  54. package/generated/ControlRunAgainDraft.schema.json +1 -1
  55. package/generated/ControlRunDetail.schema.json +8 -0
  56. package/generated/ControlRunListResponse.schema.json +8 -0
  57. package/generated/ControlRunStartRequest.schema.json +1 -1
  58. package/generated/ControlRunSummary.schema.json +8 -0
  59. package/generated/ControlThread.schema.json +11 -2
  60. package/generated/ControlThreadCreateRequest.schema.json +7 -2
  61. package/generated/ControlThreadDetail.schema.json +11 -2
  62. package/generated/ControlThreadListResponse.schema.json +11 -2
  63. package/generated/RunListQuery.schema.json +66 -0
  64. package/generated/Thread.schema.json +12 -3
  65. package/package.json +2 -2
@@ -296,7 +296,7 @@ export declare const CatalogMutabilityMatrix: z.ZodObject<{
296
296
  readOnlyModes: z.ZodArray<z.ZodEnum<["ask", "plan", "agent"]>, "many">;
297
297
  writeModes: z.ZodArray<z.ZodEnum<["ask", "plan", "agent"]>, "many">;
298
298
  isolationKinds: z.ZodArray<z.ZodEnum<["envelope", "live"]>, "many">;
299
- workspaceModes: z.ZodArray<z.ZodEnum<["in_place", "isolated"]>, "many">;
299
+ workspaceModes: z.ZodArray<z.ZodEnum<["in_place", "isolated", "delegated"]>, "many">;
300
300
  accessProfiles: z.ZodArray<z.ZodEnum<["readonly", "workspace_write", "full", "inherit_native"]>, "many">;
301
301
  applyModes: z.ZodArray<z.ZodEnum<["apply", "commit", "branch", "pr"]>, "many">;
302
302
  }, "strip", z.ZodTypeAny, {
@@ -304,7 +304,7 @@ export declare const CatalogMutabilityMatrix: z.ZodObject<{
304
304
  readOnlyModes: ("agent" | "ask" | "plan")[];
305
305
  writeModes: ("agent" | "ask" | "plan")[];
306
306
  isolationKinds: ("envelope" | "live")[];
307
- workspaceModes: ("in_place" | "isolated")[];
307
+ workspaceModes: ("delegated" | "in_place" | "isolated")[];
308
308
  accessProfiles: ("full" | "inherit_native" | "readonly" | "workspace_write")[];
309
309
  applyModes: ("apply" | "branch" | "commit" | "pr")[];
310
310
  }, {
@@ -312,7 +312,7 @@ export declare const CatalogMutabilityMatrix: z.ZodObject<{
312
312
  readOnlyModes: ("agent" | "ask" | "plan")[];
313
313
  writeModes: ("agent" | "ask" | "plan")[];
314
314
  isolationKinds: ("envelope" | "live")[];
315
- workspaceModes: ("in_place" | "isolated")[];
315
+ workspaceModes: ("delegated" | "in_place" | "isolated")[];
316
316
  accessProfiles: ("full" | "inherit_native" | "readonly" | "workspace_write")[];
317
317
  applyModes: ("apply" | "branch" | "commit" | "pr")[];
318
318
  }>;
@@ -598,7 +598,7 @@ export declare const AgentCapabilityCatalog: z.ZodObject<{
598
598
  readOnlyModes: z.ZodArray<z.ZodEnum<["ask", "plan", "agent"]>, "many">;
599
599
  writeModes: z.ZodArray<z.ZodEnum<["ask", "plan", "agent"]>, "many">;
600
600
  isolationKinds: z.ZodArray<z.ZodEnum<["envelope", "live"]>, "many">;
601
- workspaceModes: z.ZodArray<z.ZodEnum<["in_place", "isolated"]>, "many">;
601
+ workspaceModes: z.ZodArray<z.ZodEnum<["in_place", "isolated", "delegated"]>, "many">;
602
602
  accessProfiles: z.ZodArray<z.ZodEnum<["readonly", "workspace_write", "full", "inherit_native"]>, "many">;
603
603
  applyModes: z.ZodArray<z.ZodEnum<["apply", "commit", "branch", "pr"]>, "many">;
604
604
  }, "strip", z.ZodTypeAny, {
@@ -606,7 +606,7 @@ export declare const AgentCapabilityCatalog: z.ZodObject<{
606
606
  readOnlyModes: ("agent" | "ask" | "plan")[];
607
607
  writeModes: ("agent" | "ask" | "plan")[];
608
608
  isolationKinds: ("envelope" | "live")[];
609
- workspaceModes: ("in_place" | "isolated")[];
609
+ workspaceModes: ("delegated" | "in_place" | "isolated")[];
610
610
  accessProfiles: ("full" | "inherit_native" | "readonly" | "workspace_write")[];
611
611
  applyModes: ("apply" | "branch" | "commit" | "pr")[];
612
612
  }, {
@@ -614,7 +614,7 @@ export declare const AgentCapabilityCatalog: z.ZodObject<{
614
614
  readOnlyModes: ("agent" | "ask" | "plan")[];
615
615
  writeModes: ("agent" | "ask" | "plan")[];
616
616
  isolationKinds: ("envelope" | "live")[];
617
- workspaceModes: ("in_place" | "isolated")[];
617
+ workspaceModes: ("delegated" | "in_place" | "isolated")[];
618
618
  accessProfiles: ("full" | "inherit_native" | "readonly" | "workspace_write")[];
619
619
  applyModes: ("apply" | "branch" | "commit" | "pr")[];
620
620
  }>;
@@ -711,7 +711,7 @@ export declare const AgentCapabilityCatalog: z.ZodObject<{
711
711
  readOnlyModes: ("agent" | "ask" | "plan")[];
712
712
  writeModes: ("agent" | "ask" | "plan")[];
713
713
  isolationKinds: ("envelope" | "live")[];
714
- workspaceModes: ("in_place" | "isolated")[];
714
+ workspaceModes: ("delegated" | "in_place" | "isolated")[];
715
715
  accessProfiles: ("full" | "inherit_native" | "readonly" | "workspace_write")[];
716
716
  applyModes: ("apply" | "branch" | "commit" | "pr")[];
717
717
  };
@@ -798,7 +798,7 @@ export declare const AgentCapabilityCatalog: z.ZodObject<{
798
798
  readOnlyModes: ("agent" | "ask" | "plan")[];
799
799
  writeModes: ("agent" | "ask" | "plan")[];
800
800
  isolationKinds: ("envelope" | "live")[];
801
- workspaceModes: ("in_place" | "isolated")[];
801
+ workspaceModes: ("delegated" | "in_place" | "isolated")[];
802
802
  accessProfiles: ("full" | "inherit_native" | "readonly" | "workspace_write")[];
803
803
  applyModes: ("apply" | "branch" | "commit" | "pr")[];
804
804
  };
@@ -149,7 +149,7 @@ export const CatalogMutabilityMatrix = z
149
149
  .describe("Run isolation: envelope = isolated worktree in the external per-project runtime namespace (default), live = the project tree itself."),
150
150
  workspaceModes: z
151
151
  .array(WorkspaceMode)
152
- .describe("Thread workspace modes (in_place | isolated)."),
152
+ .describe("Thread workspace modes (in_place | isolated | delegated)."),
153
153
  accessProfiles: z
154
154
  .array(AccessProfile)
155
155
  .describe("Access vocabulary; `full` additionally requires the per-repo trust allow (claudexor trust --allow-full-access) for a run an operator starts at a surface, not for an execution.delegated run."),
@@ -1 +1 @@
1
- {"version":3,"file":"agent-capabilities.js","sourceRoot":"","sources":["../src/agent-capabilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC1E,OAAO,EACL,aAAa,EACb,UAAU,EACV,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,GACf,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD;;;;;;;;GAQG;AAEH;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,UAAU;IACV,QAAQ;IACR,WAAW;IACX,SAAS;IACT,SAAS;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AA8C,CAAC;IAChF,GAAG,EAAE,aAAa,CAAC,QAAQ,CACzB,iGAAiG,CAClG;IACD,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,QAAQ,CAAC,gDAAgD,CAAC;IAC7F,kBAAkB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,yCAAyC,CAAC;IAC3F,KAAK,EAAE,CAAC;SACL,KAAK,CAAC,QAAQ,CAAC;SACf,QAAQ,CACP,uFAAuF,CACxF;IACH,cAAc,EAAE,CAAC;SACd,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,CACP,uIAAuI,CACxI;IACH,oBAAoB,EAAE,CAAC;SACpB,KAAK,CAAC,0BAA0B,CAAC;SACjC,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CAAC,8EAA8E,CAAC;IAC3F,UAAU,EAAE,uBAAuB;IACnC,WAAW,EAAE,CAAC;SACX,KAAK,CAAC,iBAAiB,CAAC;SACxB,QAAQ,CACP,qFAAqF,CACtF;IACH,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,+CAA+C,CAAC;IACvF,cAAc,EAAE,CAAC;SACd,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,CACP,gMAAgM,CACjM;CACJ,CAAC;KACD,QAAQ,CACP,2FAA2F,CAC5F,CAAC"}
@@ -1,40 +1,111 @@
1
1
  import { z } from "zod/v3";
2
- /**
3
- * How a caller ADDRESSES the daemon's retained product commands.
4
- *
5
- * The unqualified read (no query, or an empty one) still returns every retained
6
- * product command — the daemon's historical behavior. A qualified read names
7
- * exactly ONE subject, and the daemon selects it BEFORE the public projection
8
- * runs, so an addressed read never redacts, traverses, or serializes the params
9
- * of unrelated runs:
10
- *
11
- * - `id` — one run, matched on the job id OR the bound run id, the same rule
12
- * the control plane's run lookup applies. A miss is an empty selection, not
13
- * an error: absence is the caller's answer to report, never a transport fact.
14
- * - `delegatedFromRunId` — the bounded, deterministically ordered direct
15
- * Delegate children of one parent run (`MAX_DELEGATED_CHILDREN`).
16
- *
17
- * The two are mutually exclusive: a query carrying both addresses no single
18
- * subject and is refused at the RPC boundary instead of silently preferring
19
- * one (INV-021). An engine that predates this query ignores it and answers with
20
- * the full list, so every caller re-applies its own selection on the result and
21
- * a version skew costs work, never correctness.
22
- */
23
- export declare const CommandListQuery: z.ZodEffects<z.ZodObject<{
24
- id: z.ZodOptional<z.ZodString>;
25
- delegatedFromRunId: z.ZodOptional<z.ZodString>;
26
- }, "strict", z.ZodTypeAny, {
27
- id?: string | undefined;
28
- delegatedFromRunId?: string | undefined;
29
- }, {
30
- id?: string | undefined;
31
- delegatedFromRunId?: string | undefined;
32
- }>, {
33
- id?: string | undefined;
34
- delegatedFromRunId?: string | undefined;
35
- }, {
36
- id?: string | undefined;
37
- delegatedFromRunId?: string | undefined;
38
- }>;
2
+ /** Every retained-command read names its subject before public projection.
3
+ * Single id/turn reads retain full params; collections contain summary facts.
4
+ * No omitted, empty, mixed or unknown selector can request all history. */
5
+ export declare const CommandListQuery: z.ZodUnion<[z.ZodObject<{
6
+ id: z.ZodString;
7
+ }, "strict", z.ZodTypeAny, {
8
+ id: string;
9
+ }, {
10
+ id: string;
11
+ }>, z.ZodObject<{
12
+ delegatedFromRunId: z.ZodString;
13
+ }, "strict", z.ZodTypeAny, {
14
+ delegatedFromRunId: string;
15
+ }, {
16
+ delegatedFromRunId: string;
17
+ }>, z.ZodObject<{
18
+ ids: z.ZodArray<z.ZodString, "many">;
19
+ }, "strict", z.ZodTypeAny, {
20
+ ids: string[];
21
+ }, {
22
+ ids: string[];
23
+ }>, z.ZodObject<{
24
+ continuationChainOf: z.ZodString;
25
+ }, "strict", z.ZodTypeAny, {
26
+ continuationChainOf: string;
27
+ }, {
28
+ continuationChainOf: string;
29
+ }>, z.ZodObject<{
30
+ delegatedDescendantsOf: z.ZodString;
31
+ }, "strict", z.ZodTypeAny, {
32
+ delegatedDescendantsOf: string;
33
+ }, {
34
+ delegatedDescendantsOf: string;
35
+ }>, z.ZodObject<{
36
+ threadId: z.ZodString;
37
+ activeOnly: z.ZodOptional<z.ZodBoolean>;
38
+ }, "strict", z.ZodTypeAny, {
39
+ threadId: string;
40
+ activeOnly?: boolean | undefined;
41
+ }, {
42
+ threadId: string;
43
+ activeOnly?: boolean | undefined;
44
+ }>, z.ZodObject<{
45
+ threadIds: z.ZodArray<z.ZodString, "many">;
46
+ }, "strict", z.ZodTypeAny, {
47
+ threadIds: string[];
48
+ }, {
49
+ threadIds: string[];
50
+ }>, z.ZodObject<{
51
+ turnId: z.ZodString;
52
+ }, "strict", z.ZodTypeAny, {
53
+ turnId: string;
54
+ }, {
55
+ turnId: string;
56
+ }>, z.ZodObject<{
57
+ activeOnly: z.ZodLiteral<true>;
58
+ }, "strict", z.ZodTypeAny, {
59
+ activeOnly: true;
60
+ }, {
61
+ activeOnly: true;
62
+ }>, z.ZodObject<{
63
+ page: z.ZodObject<{
64
+ limit: z.ZodNumber;
65
+ state: z.ZodNullable<z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled", "interrupted"]>>;
66
+ cursor: z.ZodNullable<z.ZodObject<{
67
+ createdAt: z.ZodString;
68
+ id: z.ZodString;
69
+ }, "strict", z.ZodTypeAny, {
70
+ createdAt: string;
71
+ id: string;
72
+ }, {
73
+ createdAt: string;
74
+ id: string;
75
+ }>>;
76
+ }, "strict", z.ZodTypeAny, {
77
+ limit: number;
78
+ state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded" | null;
79
+ cursor: {
80
+ createdAt: string;
81
+ id: string;
82
+ } | null;
83
+ }, {
84
+ limit: number;
85
+ state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded" | null;
86
+ cursor: {
87
+ createdAt: string;
88
+ id: string;
89
+ } | null;
90
+ }>;
91
+ }, "strict", z.ZodTypeAny, {
92
+ page: {
93
+ limit: number;
94
+ state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded" | null;
95
+ cursor: {
96
+ createdAt: string;
97
+ id: string;
98
+ } | null;
99
+ };
100
+ }, {
101
+ page: {
102
+ limit: number;
103
+ state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded" | null;
104
+ cursor: {
105
+ createdAt: string;
106
+ id: string;
107
+ } | null;
108
+ };
109
+ }>]>;
39
110
  export type CommandListQuery = z.infer<typeof CommandListQuery>;
40
111
  //# sourceMappingURL=command-list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"command-list.d.ts","sourceRoot":"","sources":["../src/command-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;EAgBqD,CAAC;AACnF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"command-list.d.ts","sourceRoot":"","sources":["../src/command-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B;;2EAE2E;AAC3E,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAasE,CAAC;AACpG,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
@@ -1,39 +1,21 @@
1
1
  import { z } from "zod/v3";
2
2
  import { Id } from "./primitives.js";
3
- /**
4
- * How a caller ADDRESSES the daemon's retained product commands.
5
- *
6
- * The unqualified read (no query, or an empty one) still returns every retained
7
- * product command — the daemon's historical behavior. A qualified read names
8
- * exactly ONE subject, and the daemon selects it BEFORE the public projection
9
- * runs, so an addressed read never redacts, traverses, or serializes the params
10
- * of unrelated runs:
11
- *
12
- * - `id` — one run, matched on the job id OR the bound run id, the same rule
13
- * the control plane's run lookup applies. A miss is an empty selection, not
14
- * an error: absence is the caller's answer to report, never a transport fact.
15
- * - `delegatedFromRunId` — the bounded, deterministically ordered direct
16
- * Delegate children of one parent run (`MAX_DELEGATED_CHILDREN`).
17
- *
18
- * The two are mutually exclusive: a query carrying both addresses no single
19
- * subject and is refused at the RPC boundary instead of silently preferring
20
- * one (INV-021). An engine that predates this query ignores it and answers with
21
- * the full list, so every caller re-applies its own selection on the result and
22
- * a version skew costs work, never correctness.
23
- */
3
+ import { RunListQuery } from "./run-list-page.js";
4
+ /** Every retained-command read names its subject before public projection.
5
+ * Single id/turn reads retain full params; collections contain summary facts.
6
+ * No omitted, empty, mixed or unknown selector can request all history. */
24
7
  export const CommandListQuery = z
25
- .object({
26
- id: Id.optional().describe("Select the single command whose job id or run id equals this."),
27
- delegatedFromRunId: Id.optional().describe("Select the bounded direct Delegate children of this parent run id."),
28
- })
29
- .strict()
30
- .superRefine((value, ctx) => {
31
- if (value.id !== undefined && value.delegatedFromRunId !== undefined) {
32
- ctx.addIssue({
33
- code: z.ZodIssueCode.custom,
34
- message: "a command list query addresses either one id or one Delegate parent, never both",
35
- });
36
- }
37
- })
38
- .describe("Addressed selection for the daemon's retained product command list.");
8
+ .union([
9
+ z.object({ id: Id }).strict(),
10
+ z.object({ delegatedFromRunId: Id }).strict(),
11
+ z.object({ ids: z.array(Id).min(1).max(1000) }).strict(),
12
+ z.object({ continuationChainOf: Id }).strict(),
13
+ z.object({ delegatedDescendantsOf: Id }).strict(),
14
+ z.object({ threadId: Id, activeOnly: z.boolean().optional() }).strict(),
15
+ z.object({ threadIds: z.array(Id).min(1).max(1000) }).strict(),
16
+ z.object({ turnId: Id }).strict(),
17
+ z.object({ activeOnly: z.literal(true) }).strict(),
18
+ z.object({ page: RunListQuery }).strict(),
19
+ ])
20
+ .describe("Required addressed selection for retained product commands; collections are compact.");
39
21
  //# sourceMappingURL=command-list.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"command-list.js","sourceRoot":"","sources":["../src/command-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AAErC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC;KAC9B,MAAM,CAAC;IACN,EAAE,EAAE,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,+DAA+D,CAAC;IAC3F,kBAAkB,EAAE,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACxC,oEAAoE,CACrE;CACF,CAAC;KACD,MAAM,EAAE;KACR,WAAW,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;IAC1B,IAAI,KAAK,CAAC,EAAE,KAAK,SAAS,IAAI,KAAK,CAAC,kBAAkB,KAAK,SAAS,EAAE,CAAC;QACrE,GAAG,CAAC,QAAQ,CAAC;YACX,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM;YAC3B,OAAO,EAAE,iFAAiF;SAC3F,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAC;KACD,QAAQ,CAAC,qEAAqE,CAAC,CAAC"}
1
+ {"version":3,"file":"command-list.js","sourceRoot":"","sources":["../src/command-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD;;2EAE2E;AAC3E,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC;KAC9B,KAAK,CAAC;IACL,CAAC,CAAC,MAAM,CAAC,E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aries, thread
3
+ * activity/delivery and continuation admission. Prompts, instructions and
4
+ * arbitrary request extensions never travel with collection answers.
5
+ * Historical malformed values remain readable by the consumer's safe parsers. */
6
+ export declare const COMMAND_SUMMARY_PARAM_KEYS: readonly ["mode", "routingGoal", "access", "reviewerPanel", "protectedPathApprovals", "tests", "untilClean", "attempts", "create", "deepScan", "n", "council", "delegate", "harnesses", "primaryHarness", "model", "models", "review", "paidBudget", "parentRunId", "delegatedFromRunId", "continueFrom", "threadId", "turnId", "scope", "execution"];
7
+ export type CommandSummaryParams = Partial<Pick<RecordedControlRunStartRequest, (typeof COMMAND_SUMMARY_PARAM_KEYS)[number]>>;
8
+ //# sourceMappingURL=command-summary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command-summary.d.ts","sourceRoot":"","sources":["../src/command-summary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,cAAc,CAAC;AAEnE;;;iFAGiF;AACjF,eAAO,MAAM,0BAA0B,uVA2B+B,CAAC;AACvE,MAAM,MAAM,oBAAoB,GAAG,OAAO,CACxC,IAAI,CAAC,8BAA8B,EAAE,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC,CAClF,CAAC"}
@@ -0,0 +1,33 @@
1
+ /** The complete request-derived whitelist consumed by run summaries, thread
2
+ * activity/delivery and continuation admission. Prompts, instructions and
3
+ * arbitrary request extensions never travel with collection answers.
4
+ * Historical malformed values remain readable by the consumer's safe parsers. */
5
+ export const COMMAND_SUMMARY_PARAM_KEYS = [
6
+ "mode",
7
+ "routingGoal",
8
+ "access",
9
+ "reviewerPanel",
10
+ "protectedPathApprovals",
11
+ "tests",
12
+ "untilClean",
13
+ "attempts",
14
+ "create",
15
+ "deepScan",
16
+ "n",
17
+ "council",
18
+ "delegate",
19
+ "harnesses",
20
+ "primaryHarness",
21
+ "model",
22
+ "models",
23
+ "review",
24
+ "paidBudget",
25
+ "parentRunId",
26
+ "delegatedFromRunId",
27
+ "continueFrom",
28
+ "threadId",
29
+ "turnId",
30
+ "scope",
31
+ "execution",
32
+ ];
33
+ //# sourceMappingURL=command-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command-summary.js","sourceRoot":"","sources":["../src/command-summary.ts"],"names":[],"mappings":"AAEA;;;iFAGiF;AACjF,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,MAAM;IACN,aAAa;IACb,QAAQ;IACR,eAAe;IACf,wBAAwB;IACxB,OAAO;IACP,YAAY;IACZ,UAAU;IACV,QAAQ;IACR,UAAU;IACV,GAAG;IACH,SAAS;IACT,UAAU;IACV,WAAW;IACX,gBAAgB;IAChB,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,YAAY;IACZ,aAAa;IACb,oBAAoB;IACpB,cAAc;IACd,UAAU;IACV,QAAQ;IACR,OAAO;IACP,WAAW;CACyD,CAAC"}
@@ -412,6 +412,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
412
412
  projectName?: string | null | undefined;
413
413
  context?: "auto" | "off" | undefined;
414
414
  }>>;
415
+ executionRoot: z.ZodDefault<z.ZodNullable<z.ZodString>>;
415
416
  mode: z.ZodOptional<z.ZodEnum<["ask", "plan", "agent"]>>;
416
417
  strategy: z.ZodOptional<z.ZodNullable<z.ZodEnum<["race", "attempts", "until_clean", "deep_scan", "create"]>>>;
417
418
  prompt: z.ZodOptional<z.ZodString>;
@@ -913,6 +914,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
913
914
  projectName: string | null;
914
915
  context: "auto" | "off";
915
916
  };
917
+ executionRoot: string | null;
916
918
  mode?: "agent" | "ask" | "plan" | undefined;
917
919
  strategy?: "attempts" | "create" | "deep_scan" | "race" | "until_clean" | null | undefined;
918
920
  prompt?: string | undefined;
@@ -1158,6 +1160,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1158
1160
  projectName?: string | null | undefined;
1159
1161
  context?: "auto" | "off" | undefined;
1160
1162
  } | undefined;
1163
+ executionRoot?: string | null | undefined;
1161
1164
  mode?: "agent" | "ask" | "plan" | undefined;
1162
1165
  strategy?: "attempts" | "create" | "deep_scan" | "race" | "until_clean" | null | undefined;
1163
1166
  prompt?: string | undefined;
@@ -1413,6 +1416,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1413
1416
  projectName: string | null;
1414
1417
  context: "auto" | "off";
1415
1418
  };
1419
+ executionRoot: string | null;
1416
1420
  mode?: "agent" | "ask" | "plan" | undefined;
1417
1421
  strategy?: "attempts" | "create" | "deep_scan" | "race" | "until_clean" | null | undefined;
1418
1422
  prompt?: string | undefined;
@@ -1662,6 +1666,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1662
1666
  projectName?: string | null | undefined;
1663
1667
  context?: "auto" | "off" | undefined;
1664
1668
  } | undefined;
1669
+ executionRoot?: string | null | undefined;
1665
1670
  mode?: "agent" | "ask" | "plan" | undefined;
1666
1671
  strategy?: "attempts" | "create" | "deep_scan" | "race" | "until_clean" | null | undefined;
1667
1672
  prompt?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"control-operation-responses.d.ts","sourceRoot":"","sources":["../src/control-operation-responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAY3B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEqC,CAAC;AAC1E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE9E,eAAO,MAAM,gCAAgC;;;;;;;;;;;;EAUI,CAAC;AAClD,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAEhG,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;EAcW,CAAC;AAClD,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAElF,eAAO,MAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmC6D,CAAC;AACnG,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAEhF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKsC,CAAC;AAC7E,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
@@ -613,6 +613,7 @@ export declare const ControlRunDetail: z.ZodObject<{
613
613
  projectName?: string | null | undefined;
614
614
  context?: "auto" | "off" | undefined;
615
615
  }>>;
616
+ executionRoot: z.ZodDefault<z.ZodNullable<z.ZodString>>;
616
617
  mode: z.ZodOptional<z.ZodEnum<["ask", "plan", "agent"]>>;
617
618
  strategy: z.ZodOptional<z.ZodNullable<z.ZodEnum<["race", "attempts", "until_clean", "deep_scan", "create"]>>>;
618
619
  prompt: z.ZodOptional<z.ZodString>;
@@ -1114,6 +1115,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1114
1115
  projectName: string | null;
1115
1116
  context: "auto" | "off";
1116
1117
  };
1118
+ executionRoot: string | null;
1117
1119
  mode?: "agent" | "ask" | "plan" | undefined;
1118
1120
  strategy?: "attempts" | "create" | "deep_scan" | "race" | "until_clean" | null | undefined;
1119
1121
  prompt?: string | undefined;
@@ -1359,6 +1361,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1359
1361
  projectName?: string | null | undefined;
1360
1362
  context?: "auto" | "off" | undefined;
1361
1363
  } | undefined;
1364
+ executionRoot?: string | null | undefined;
1362
1365
  mode?: "agent" | "ask" | "plan" | undefined;
1363
1366
  strategy?: "attempts" | "create" | "deep_scan" | "race" | "until_clean" | null | undefined;
1364
1367
  prompt?: string | undefined;
@@ -1852,6 +1855,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1852
1855
  projectName?: string | null | undefined;
1853
1856
  context?: "auto" | "off" | undefined;
1854
1857
  }>>;
1858
+ executionRoot: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1855
1859
  mode: z.ZodOptional<z.ZodEnum<["ask", "plan", "agent"]>>;
1856
1860
  strategy: z.ZodOptional<z.ZodNullable<z.ZodEnum<["race", "attempts", "until_clean", "deep_scan", "create"]>>>;
1857
1861
  prompt: z.ZodOptional<z.ZodString>;
@@ -2353,6 +2357,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2353
2357
  projectName: string | null;
2354
2358
  context: "auto" | "off";
2355
2359
  };
2360
+ executionRoot: string | null;
2356
2361
  mode?: "agent" | "ask" | "plan" | undefined;
2357
2362
  strategy?: "attempts" | "create" | "deep_scan" | "race" | "until_clean" | null | undefined;
2358
2363
  prompt?: string | undefined;
@@ -2598,6 +2603,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2598
2603
  projectName?: string | null | undefined;
2599
2604
  context?: "auto" | "off" | undefined;
2600
2605
  } | undefined;
2606
+ executionRoot?: string | null | undefined;
2601
2607
  mode?: "agent" | "ask" | "plan" | undefined;
2602
2608
  strategy?: "attempts" | "create" | "deep_scan" | "race" | "until_clean" | null | undefined;
2603
2609
  prompt?: string | undefined;
@@ -4392,6 +4398,7 @@ export declare const ControlRunDetail: z.ZodObject<{
4392
4398
  projectName: string | null;
4393
4399
  context: "auto" | "off";
4394
4400
  };
4401
+ executionRoot: string | null;
4395
4402
  mode?: "agent" | "ask" | "plan" | undefined;
4396
4403
  strategy?: "attempts" | "create" | "deep_scan" | "race" | "until_clean" | null | undefined;
4397
4404
  prompt?: string | undefined;
@@ -4638,6 +4645,7 @@ export declare const ControlRunDetail: z.ZodObject<{
4638
4645
  projectName: string | null;
4639
4646
  context: "auto" | "off";
4640
4647
  };
4648
+ executionRoot: string | null;
4641
4649
  mode?: "agent" | "ask" | "plan" | undefined;
4642
4650
  strategy?: "attempts" | "create" | "deep_scan" | "race" | "until_clean" | null | undefined;
4643
4651
  prompt?: string | undefined;
@@ -5262,6 +5270,7 @@ export declare const ControlRunDetail: z.ZodObject<{
5262
5270
  projectName?: string | null | undefined;
5263
5271
  context?: "auto" | "off" | undefined;
5264
5272
  } | undefined;
5273
+ executionRoot?: string | null | undefined;
5265
5274
  mode?: "agent" | "ask" | "plan" | undefined;
5266
5275
  strategy?: "attempts" | "create" | "deep_scan" | "race" | "until_clean" | null | undefined;
5267
5276
  prompt?: string | undefined;
@@ -5508,6 +5517,7 @@ export declare const ControlRunDetail: z.ZodObject<{
5508
5517
  projectName?: string | null | undefined;
5509
5518
  context?: "auto" | "off" | undefined;
5510
5519
  } | undefined;
5520
+ executionRoot?: string | null | undefined;
5511
5521
  mode?: "agent" | "ask" | "plan" | undefined;
5512
5522
  strategy?: "attempts" | "create" | "deep_scan" | "race" | "until_clean" | null | undefined;
5513
5523
  prompt?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"control-run-detail.d.ts","sourceRoot":"","sources":["../src/control-run-detail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAoB3B,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAwB4B,CAAC;AAC9D,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAExE;;;kCAGkC;AAClC,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;EAwBrC,CAAC;AACJ,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEtF;;;gCAGgC;AAChC,eAAO,MAAM,gBAAgB;;;;;;;;;;IAgCzB,0DAA0D;;;;;;;;;;;;;;;;;;IA0B1D;;;;;;;;OAQG;;IAQH;uEACmE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASpE,CAAC;AACJ,MAAM,MAAM,gBAAgB,GAAG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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUtE,CAAC;AACJ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
@@ -13,7 +13,7 @@ export const RunExecution = z
13
13
  workspaceRoot: z
14
14
  .string()
15
15
  .optional()
16
- .describe("Absolute existing execution workspace for a project-scoped delegated agent live run. The stable project identity remains scope.root."),
16
+ .describe("Absolute existing execution workspace for a project-scoped delegated run: the live tree of an agent run (or the source of its directory execution), and the read-only tree of a delegated thread's Ask/Plan turn. The stable project identity remains scope.root."),
17
17
  workspaceKind: WorkspaceKind.optional().describe("Explicit directory execution needs no Git initialization; omission preserves existing clients."),
18
18
  scopePaths: z
19
19
  .array(WorkspaceScopePath)
@@ -1 +1 @@
1
- {"version":3,"file":"control-run-execution.js","sourceRoot":"","sources":["../src/control-run-execution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAExE,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC;KAC1B,MAAM,CAAC;IACN,SAAS,EAAE,CAAC;SACT,IAAI,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;SAC1B,OAAO,CAAC,UAAU,CAAC;SACnB,QAAQ,CACP,2IAA2I,CAC5I;IACH,SAAS,EAAE,CAAC;SACT,OAAO,EAAE;SACT,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CACP,oXAAoX,CACrX;IACH,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,sIAAsI,CACvI;IACH,aAAa,EAAE,aAAa,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC9C,gGAAgG,CACjG;IACD,UAAU,EAAE,CAAC;SACV,KAAK,CAAC,kBAAkB,CAAC;SACzB,QAAQ,EAAE;SACV,QAAQ,CACP,8HAA8H,CAC/H;CACJ,CAAC;KACD,MAAM,EAAE;KACR,QAAQ,CAAC,wDAAwD,CAAC,CAAC"}
1
+ {"version":3,"file":"control-run-execution.js","sourceRoot":"","sources":["../src/control-run-execution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAExE,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC;KAC1B,MAAM,CAAC;IACN,SAAS,EAAE,CAAC;SACT,IAAI,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;SAC1B,OAAO,CAAC,UAAU,CAAC;SACnB,QAAQ,CACP,2IAA2I,CAC5I;IACH,SAAS,EAAE,CAAC;SACT,OAAO,EAAE;SACT,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CACP,oXAAoX,CACrX;IACH,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,mQAAmQ,CACpQ;IACH,aAAa,EAAE,aAAa,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC9C,gGAAgG,CACjG;IACD,UAAU,EAAE,CAAC;SACV,KAAK,CAAC,kBAAkB,CAAC;SACzB,QAAQ,EAAE;SACV,QAAQ,CACP,8HAA8H,CAC/H;CACJ,CAAC;KACD,MAAM,EAAE;KACR,QAAQ,CAAC,wDAAwD,CAAC,CAAC"}
@@ -25,7 +25,9 @@ export declare const ControlThreadCreateRequest: z.ZodObject<{
25
25
  kind: "none";
26
26
  }>]>>;
27
27
  mode: z.ZodOptional<z.ZodEnum<["ask", "plan", "agent"]>>;
28
- workspace: z.ZodOptional<z.ZodEnum<["in_place", "isolated"]>>;
28
+ workspace: z.ZodOptional<z.ZodEnum<["in_place", "isolated", "delegated"]>>;
29
+ /** Create-only binding of a delegated thread; never patched or replaced by a turn. */
30
+ workspaceRoot: z.ZodOptional<z.ZodString>;
29
31
  authPreference: z.ZodOptional<z.ZodEnum<["subscription", "api_key", "auto"]>>;
30
32
  credentialProfileId: z.ZodOptional<z.ZodString>;
31
33
  primaryHarness: z.ZodOptional<z.ZodString>;
@@ -44,7 +46,8 @@ export declare const ControlThreadCreateRequest: z.ZodObject<{
44
46
  kind: "none";
45
47
  };
46
48
  mode?: "agent" | "ask" | "plan" | undefined;
47
- workspace?: "in_place" | "isolated" | undefined;
49
+ workspace?: "delegated" | "in_place" | "isolated" | undefined;
50
+ workspaceRoot?: string | undefined;
48
51
  authPreference?: "api_key" | "auto" | "subscription" | undefined;
49
52
  credentialProfileId?: string | undefined;
50
53
  primaryHarness?: string | undefined;
@@ -62,7 +65,8 @@ export declare const ControlThreadCreateRequest: z.ZodObject<{
62
65
  kind: "none";
63
66
  } | undefined;
64
67
  mode?: "agent" | "ask" | "plan" | undefined;
65
- workspace?: "in_place" | "isolated" | undefined;
68
+ workspace?: "delegated" | "in_place" | "isolated" | undefined;
69
+ workspaceRoot?: string | undefined;
66
70
  authPreference?: "api_key" | "auto" | "subscription" | undefined;
67
71
  credentialProfileId?: string | undefined;
68
72
  primaryHarness?: string | undefined;
@@ -70,6 +74,16 @@ export declare const ControlThreadCreateRequest: z.ZodObject<{
70
74
  access?: "full" | "inherit_native" | "readonly" | "workspace_write" | undefined;
71
75
  }>;
72
76
  export type ControlThreadCreateRequest = z.infer<typeof ControlThreadCreateRequest>;
77
+ /**
78
+ * The one shape rule for a delegated thread binding, shared by every creation
79
+ * owner (Control API, daemon store). Existence of the directory is a mutable
80
+ * filesystem fact checked separately, after accepted-replay lookup.
81
+ */
82
+ export declare function threadCreateWorkspaceViolation(request: Pick<ControlThreadCreateRequest, "workspace" | "workspaceRoot"> & {
83
+ scope?: {
84
+ kind: string;
85
+ };
86
+ }): string | null;
73
87
  /** Mutate a thread's title, sidebar folder, open/closed state, or sticky routing
74
88
  * (rename, file, archive, switch primary/pool). primaryHarness nullable => clear back to auto. */
75
89
  export declare const ControlThreadUpdateRequest: z.ZodObject<{