@claudexor/schema 3.22.0 → 3.23.1
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/agent-capabilities.d.ts +8 -8
- package/dist/agent-capabilities.js +1 -1
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/command-list.d.ts +108 -37
- package/dist/command-list.d.ts.map +1 -1
- package/dist/command-list.js +17 -35
- package/dist/command-list.js.map +1 -1
- package/dist/command-summary.d.ts +8 -0
- package/dist/command-summary.d.ts.map +1 -0
- package/dist/command-summary.js +33 -0
- package/dist/command-summary.js.map +1 -0
- package/dist/control-operation-responses.d.ts +5 -0
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-run-detail.d.ts +10 -0
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-execution.js +1 -1
- package/dist/control-run-execution.js.map +1 -1
- package/dist/control-thread-requests.d.ts +17 -3
- package/dist/control-thread-requests.d.ts.map +1 -1
- package/dist/control-thread-requests.js +24 -1
- package/dist/control-thread-requests.js.map +1 -1
- package/dist/control.d.ts +32 -16
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +11 -1
- package/dist/control.js.map +1 -1
- package/dist/daemon-status.d.ts +177 -0
- package/dist/daemon-status.d.ts.map +1 -0
- package/dist/daemon-status.js +27 -0
- package/dist/daemon-status.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/project.d.ts +2 -2
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +3 -3
- package/dist/project.js.map +1 -1
- package/dist/run-list-page.d.ts +74 -0
- package/dist/run-list-page.d.ts.map +1 -0
- package/dist/run-list-page.js +85 -0
- package/dist/run-list-page.js.map +1 -0
- package/dist/run-strategy.d.ts +18 -0
- package/dist/run-strategy.d.ts.map +1 -1
- package/dist/run-strategy.js +15 -0
- package/dist/run-strategy.js.map +1 -1
- package/dist/thread.d.ts +24 -10
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +14 -4
- package/dist/thread.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +4 -3
- package/generated/CommandListQuery.schema.json +204 -0
- package/generated/ControlDaemonStatus.schema.json +150 -0
- package/generated/ControlProjectRemoveReceipt.schema.json +1 -1
- package/generated/ControlRunAgainDraft.schema.json +1 -1
- package/generated/ControlRunDetail.schema.json +8 -0
- package/generated/ControlRunListResponse.schema.json +8 -0
- package/generated/ControlRunStartRequest.schema.json +1 -1
- package/generated/ControlRunSummary.schema.json +8 -0
- package/generated/ControlThread.schema.json +11 -2
- package/generated/ControlThreadCreateRequest.schema.json +7 -2
- package/generated/ControlThreadDetail.schema.json +11 -2
- package/generated/ControlThreadListResponse.schema.json +11 -2
- package/generated/RunListQuery.schema.json +66 -0
- package/generated/Thread.schema.json +12 -3
- package/package.json +2 -2
package/dist/thread.d.ts
CHANGED
|
@@ -30,27 +30,35 @@ export type ThreadTurnKind = z.infer<typeof ThreadTurnKind>;
|
|
|
30
30
|
* directly (continuity is the tree itself; native vendor sessions resume); the
|
|
31
31
|
* default, matching how Claude Code / Cursor work locally. `isolated` keeps a
|
|
32
32
|
* persistent git worktree per thread; turns accumulate there and `apply` merges
|
|
33
|
-
* into the project.
|
|
33
|
+
* into the project. `delegated` binds the thread at creation to ONE
|
|
34
|
+
* caller-owned workspace (`workspace_root`): every turn and mode executes
|
|
35
|
+
* there under the external caller's delegated authority, and Claudexor never
|
|
36
|
+
* provisions, resets, applies, or deletes it. Race candidates always run in
|
|
37
|
+
* throwaway envelopes regardless.
|
|
34
38
|
*/
|
|
35
|
-
export declare const WorkspaceMode: z.ZodEnum<["in_place", "isolated"]>;
|
|
39
|
+
export declare const WorkspaceMode: z.ZodEnum<["in_place", "isolated", "delegated"]>;
|
|
36
40
|
export type WorkspaceMode = z.infer<typeof WorkspaceMode>;
|
|
37
41
|
export declare const ThreadWorkspace: z.ZodObject<{
|
|
38
|
-
mode: z.ZodDefault<z.ZodEnum<["in_place", "isolated"]>>;
|
|
42
|
+
mode: z.ZodDefault<z.ZodEnum<["in_place", "isolated", "delegated"]>>;
|
|
39
43
|
/** Set lazily on the first write turn of an isolated thread. */
|
|
40
44
|
worktree_path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
41
45
|
/** Snapshot SHA the isolated worktree (or last apply) is based on. */
|
|
42
46
|
base_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
43
47
|
delivered_through_run_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
/** Caller-owned execution tree of a `delegated` thread, bound at creation. */
|
|
49
|
+
workspace_root: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
44
50
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
mode: "in_place" | "isolated";
|
|
51
|
+
mode: "delegated" | "in_place" | "isolated";
|
|
46
52
|
worktree_path: string | null;
|
|
47
53
|
base_sha: string | null;
|
|
48
54
|
delivered_through_run_id: string | null;
|
|
55
|
+
workspace_root: string | null;
|
|
49
56
|
}, {
|
|
50
|
-
mode?: "in_place" | "isolated" | undefined;
|
|
57
|
+
mode?: "delegated" | "in_place" | "isolated" | undefined;
|
|
51
58
|
worktree_path?: string | null | undefined;
|
|
52
59
|
base_sha?: string | null | undefined;
|
|
53
60
|
delivered_through_run_id?: string | null | undefined;
|
|
61
|
+
workspace_root?: string | null | undefined;
|
|
54
62
|
}>;
|
|
55
63
|
export type ThreadWorkspace = z.infer<typeof ThreadWorkspace>;
|
|
56
64
|
/** The Claudexor-owned conversation. SSOT for lineage; vendor sessions are caches. */
|
|
@@ -94,22 +102,26 @@ export declare const Thread: z.ZodObject<{
|
|
|
94
102
|
eligible_harnesses: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
95
103
|
/** How turns touch files (in-place live tree vs isolated worktree). */
|
|
96
104
|
workspace: z.ZodDefault<z.ZodObject<{
|
|
97
|
-
mode: z.ZodDefault<z.ZodEnum<["in_place", "isolated"]>>;
|
|
105
|
+
mode: z.ZodDefault<z.ZodEnum<["in_place", "isolated", "delegated"]>>;
|
|
98
106
|
/** Set lazily on the first write turn of an isolated thread. */
|
|
99
107
|
worktree_path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
100
108
|
/** Snapshot SHA the isolated worktree (or last apply) is based on. */
|
|
101
109
|
base_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
102
110
|
delivered_through_run_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
111
|
+
/** Caller-owned execution tree of a `delegated` thread, bound at creation. */
|
|
112
|
+
workspace_root: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
103
113
|
}, "strip", z.ZodTypeAny, {
|
|
104
|
-
mode: "in_place" | "isolated";
|
|
114
|
+
mode: "delegated" | "in_place" | "isolated";
|
|
105
115
|
worktree_path: string | null;
|
|
106
116
|
base_sha: string | null;
|
|
107
117
|
delivered_through_run_id: string | null;
|
|
118
|
+
workspace_root: string | null;
|
|
108
119
|
}, {
|
|
109
|
-
mode?: "in_place" | "isolated" | undefined;
|
|
120
|
+
mode?: "delegated" | "in_place" | "isolated" | undefined;
|
|
110
121
|
worktree_path?: string | null | undefined;
|
|
111
122
|
base_sha?: string | null | undefined;
|
|
112
123
|
delivered_through_run_id?: string | null | undefined;
|
|
124
|
+
workspace_root?: string | null | undefined;
|
|
113
125
|
}>>;
|
|
114
126
|
/** Ordered run lineage (each run is a turn move). */
|
|
115
127
|
run_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -136,10 +148,11 @@ export declare const Thread: z.ZodObject<{
|
|
|
136
148
|
primary_harness: string | null;
|
|
137
149
|
eligible_harnesses: string[];
|
|
138
150
|
workspace: {
|
|
139
|
-
mode: "in_place" | "isolated";
|
|
151
|
+
mode: "delegated" | "in_place" | "isolated";
|
|
140
152
|
worktree_path: string | null;
|
|
141
153
|
base_sha: string | null;
|
|
142
154
|
delivered_through_run_id: string | null;
|
|
155
|
+
workspace_root: string | null;
|
|
143
156
|
};
|
|
144
157
|
run_ids: string[];
|
|
145
158
|
head_run_id: string | null;
|
|
@@ -165,10 +178,11 @@ export declare const Thread: z.ZodObject<{
|
|
|
165
178
|
primary_harness?: string | null | undefined;
|
|
166
179
|
eligible_harnesses?: string[] | undefined;
|
|
167
180
|
workspace?: {
|
|
168
|
-
mode?: "in_place" | "isolated" | undefined;
|
|
181
|
+
mode?: "delegated" | "in_place" | "isolated" | undefined;
|
|
169
182
|
worktree_path?: string | null | undefined;
|
|
170
183
|
base_sha?: string | null | undefined;
|
|
171
184
|
delivered_through_run_id?: string | null | undefined;
|
|
185
|
+
workspace_root?: string | null | undefined;
|
|
172
186
|
} | undefined;
|
|
173
187
|
run_ids?: string[] | undefined;
|
|
174
188
|
head_run_id?: string | null | undefined;
|
package/dist/thread.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../src/thread.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAW3B;;;;;;;;;;;GAWG;AAEH;oEACoE;AACpE,eAAO,MAAM,WAAW,sDAE0E,CAAC;AACnG,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEtD,eAAO,MAAM,gBAAgB,aAKkB,CAAC;AAEhD,eAAO,MAAM,YAAY,yCAItB,CAAC;AACJ,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD;;2CAE2C;AAC3C,eAAO,MAAM,iBAAiB,qCAI3B,CAAC;AACJ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE,eAAO,MAAM,cAAc,gDAEuE,CAAC;AACnG,MAAM,MAAM,cAAc,GAAG,CA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,eAAO,MAAM,oBAAoB;;IAG7B,kFAAkF;;IASlF;wFACoF;;IAOpF;6EACyE;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS1E,CAAC;AACJ,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAExE,2EAA2E;AAC3E,eAAO,MAAM,UAAU;;;;;IAMnB;kFAC8E;;IAI9E,+EAA+E;;IAI/E;qDACiD;;IAMjD;6EACyE;;;;IAOzE,2EAA2E;;;;;;;;;;;;;;;;;;;;;;;;;;IAK3E,mFAAmF;;;QAxInF;+EACuE;;QAQvE;;;iDAGyC;;;;;;;;;;;;;;;;;;;;;IAgIzC;;;wDAGoD;;;QAzEpD,kFAAkF;;QASlF;4FACoF;;QAOpF;iFACyE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+DK,CAAC;AACnF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAEpD;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;IAEvB,+EAA+E;;;;;IAO/E,wCAAwC;;;;;;;;;;;;;;;;;EAMzC,CAAC;AACJ,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
|
package/dist/thread.js
CHANGED
|
@@ -41,11 +41,15 @@ export const ThreadTurnKind = z
|
|
|
41
41
|
* directly (continuity is the tree itself; native vendor sessions resume); the
|
|
42
42
|
* default, matching how Claude Code / Cursor work locally. `isolated` keeps a
|
|
43
43
|
* persistent git worktree per thread; turns accumulate there and `apply` merges
|
|
44
|
-
* into the project.
|
|
44
|
+
* into the project. `delegated` binds the thread at creation to ONE
|
|
45
|
+
* caller-owned workspace (`workspace_root`): every turn and mode executes
|
|
46
|
+
* there under the external caller's delegated authority, and Claudexor never
|
|
47
|
+
* provisions, resets, applies, or deletes it. Race candidates always run in
|
|
48
|
+
* throwaway envelopes regardless.
|
|
45
49
|
*/
|
|
46
50
|
export const WorkspaceMode = z
|
|
47
|
-
.enum(["in_place", "isolated"])
|
|
48
|
-
.describe("Per-thread workspace mode: in_place mutates the live project tree directly (the default); isolated keeps a persistent git worktree per thread that apply merges into the project.");
|
|
51
|
+
.enum(["in_place", "isolated", "delegated"])
|
|
52
|
+
.describe("Per-thread workspace mode: in_place mutates the live project tree directly (the default); isolated keeps a persistent git worktree per thread that apply merges into the project; delegated runs every turn in one caller-owned workspace bound at creation, which Claudexor never applies to the project or deletes.");
|
|
49
53
|
export const ThreadWorkspace = z
|
|
50
54
|
.object({
|
|
51
55
|
mode: WorkspaceMode.default("in_place"),
|
|
@@ -64,8 +68,14 @@ export const ThreadWorkspace = z
|
|
|
64
68
|
delivered_through_run_id: Id.nullable()
|
|
65
69
|
.default(null)
|
|
66
70
|
.describe("Last run in the lineage prefix already delivered from this isolated thread."),
|
|
71
|
+
/** Caller-owned execution tree of a `delegated` thread, bound at creation. */
|
|
72
|
+
workspace_root: z
|
|
73
|
+
.string()
|
|
74
|
+
.nullable()
|
|
75
|
+
.default(null)
|
|
76
|
+
.describe("Caller-owned absolute workspace every turn of a delegated thread executes in; bound at creation, immutable, and retained after purge as the historical binding. Null for in_place and isolated threads."),
|
|
67
77
|
})
|
|
68
|
-
.describe("How the thread's turns touch files (in-place live tree
|
|
78
|
+
.describe("How the thread's turns touch files (in-place live tree, isolated worktree, or caller-owned delegated workspace).");
|
|
69
79
|
/** The Claudexor-owned conversation. SSOT for lineage; vendor sessions are caches. */
|
|
70
80
|
export const Thread = z
|
|
71
81
|
.object({
|
package/dist/thread.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread.js","sourceRoot":"","sources":["../src/thread.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CA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E,CAAC,CAAC;AAGnF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC;KAC5B,MAAM,CAAC;IACN,+EAA+E;IAC/E,EAAE,EAAE,EAAE,CAAC,QAAQ,CAAC,wDAAwD,CAAC;IACzE,SAAS,EAAE,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IACrD,UAAU,EAAE,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC;IAC/C,UAAU,EAAE,EAAE,CAAC,QAAQ,EAAE;SACtB,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CAAC,yDAAyD,CAAC;IACtE,wCAAwC;IACxC,OAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;IACzD,UAAU,EAAE,YAAY,CAAC,QAAQ,CAAC,oCAAoC,CAAC;CACxE,CAAC;KACD,QAAQ,CACP,+GAA+G,CAChH,CAAC"}
|
|
@@ -551,11 +551,12 @@
|
|
|
551
551
|
"type": "string",
|
|
552
552
|
"enum": [
|
|
553
553
|
"in_place",
|
|
554
|
-
"isolated"
|
|
554
|
+
"isolated",
|
|
555
|
+
"delegated"
|
|
555
556
|
],
|
|
556
|
-
"description": "Per-thread workspace mode: in_place mutates the live project tree directly (the default); isolated keeps a persistent git worktree per thread that apply merges into the project."
|
|
557
|
+
"description": "Per-thread workspace mode: in_place mutates the live project tree directly (the default); isolated keeps a persistent git worktree per thread that apply merges into the project; delegated runs every turn in one caller-owned workspace bound at creation, which Claudexor never applies to the project or deletes."
|
|
557
558
|
},
|
|
558
|
-
"description": "Thread workspace modes (in_place | isolated)."
|
|
559
|
+
"description": "Thread workspace modes (in_place | isolated | delegated)."
|
|
559
560
|
},
|
|
560
561
|
"accessProfiles": {
|
|
561
562
|
"type": "array",
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/CommandListQuery",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"CommandListQuery": {
|
|
5
|
+
"anyOf": [
|
|
6
|
+
{
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"id": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"minLength": 1,
|
|
12
|
+
"description": "Non-empty identifier string."
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"required": [
|
|
16
|
+
"id"
|
|
17
|
+
],
|
|
18
|
+
"additionalProperties": false
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"type": "object",
|
|
22
|
+
"properties": {
|
|
23
|
+
"delegatedFromRunId": {
|
|
24
|
+
"$ref": "#/definitions/CommandListQuery/anyOf/0/properties/id"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"required": [
|
|
28
|
+
"delegatedFromRunId"
|
|
29
|
+
],
|
|
30
|
+
"additionalProperties": false
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"type": "object",
|
|
34
|
+
"properties": {
|
|
35
|
+
"ids": {
|
|
36
|
+
"type": "array",
|
|
37
|
+
"items": {
|
|
38
|
+
"$ref": "#/definitions/CommandListQuery/anyOf/0/properties/id"
|
|
39
|
+
},
|
|
40
|
+
"minItems": 1,
|
|
41
|
+
"maxItems": 1000
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"required": [
|
|
45
|
+
"ids"
|
|
46
|
+
],
|
|
47
|
+
"additionalProperties": false
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "object",
|
|
51
|
+
"properties": {
|
|
52
|
+
"continuationChainOf": {
|
|
53
|
+
"$ref": "#/definitions/CommandListQuery/anyOf/0/properties/id"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"required": [
|
|
57
|
+
"continuationChainOf"
|
|
58
|
+
],
|
|
59
|
+
"additionalProperties": false
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"type": "object",
|
|
63
|
+
"properties": {
|
|
64
|
+
"delegatedDescendantsOf": {
|
|
65
|
+
"$ref": "#/definitions/CommandListQuery/anyOf/0/properties/id"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"required": [
|
|
69
|
+
"delegatedDescendantsOf"
|
|
70
|
+
],
|
|
71
|
+
"additionalProperties": false
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"type": "object",
|
|
75
|
+
"properties": {
|
|
76
|
+
"threadId": {
|
|
77
|
+
"$ref": "#/definitions/CommandListQuery/anyOf/0/properties/id"
|
|
78
|
+
},
|
|
79
|
+
"activeOnly": {
|
|
80
|
+
"type": "boolean"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"required": [
|
|
84
|
+
"threadId"
|
|
85
|
+
],
|
|
86
|
+
"additionalProperties": false
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"type": "object",
|
|
90
|
+
"properties": {
|
|
91
|
+
"threadIds": {
|
|
92
|
+
"type": "array",
|
|
93
|
+
"items": {
|
|
94
|
+
"$ref": "#/definitions/CommandListQuery/anyOf/0/properties/id"
|
|
95
|
+
},
|
|
96
|
+
"minItems": 1,
|
|
97
|
+
"maxItems": 1000
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"required": [
|
|
101
|
+
"threadIds"
|
|
102
|
+
],
|
|
103
|
+
"additionalProperties": false
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"type": "object",
|
|
107
|
+
"properties": {
|
|
108
|
+
"turnId": {
|
|
109
|
+
"$ref": "#/definitions/CommandListQuery/anyOf/0/properties/id"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"required": [
|
|
113
|
+
"turnId"
|
|
114
|
+
],
|
|
115
|
+
"additionalProperties": false
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"type": "object",
|
|
119
|
+
"properties": {
|
|
120
|
+
"activeOnly": {
|
|
121
|
+
"type": "boolean",
|
|
122
|
+
"const": true
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"required": [
|
|
126
|
+
"activeOnly"
|
|
127
|
+
],
|
|
128
|
+
"additionalProperties": false
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"type": "object",
|
|
132
|
+
"properties": {
|
|
133
|
+
"page": {
|
|
134
|
+
"type": "object",
|
|
135
|
+
"properties": {
|
|
136
|
+
"limit": {
|
|
137
|
+
"type": "integer",
|
|
138
|
+
"minimum": 1,
|
|
139
|
+
"maximum": 1000
|
|
140
|
+
},
|
|
141
|
+
"state": {
|
|
142
|
+
"anyOf": [
|
|
143
|
+
{
|
|
144
|
+
"type": "string",
|
|
145
|
+
"enum": [
|
|
146
|
+
"queued",
|
|
147
|
+
"running",
|
|
148
|
+
"succeeded",
|
|
149
|
+
"failed",
|
|
150
|
+
"cancelled",
|
|
151
|
+
"interrupted"
|
|
152
|
+
],
|
|
153
|
+
"description": "Control-plane run state = the run LIFECYCLE (D8): queued/running while live, then exactly one of succeeded / failed / cancelled / interrupted. Outcome quality (checks/review/delivery) is orthogonal — see outcomeFacts."
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"type": "null"
|
|
157
|
+
}
|
|
158
|
+
],
|
|
159
|
+
"description": "Control-plane run state = the run LIFECYCLE (D8): queued/running while live, then exactly one of succeeded / failed / cancelled / interrupted. Outcome quality (checks/review/delivery) is orthogonal — see outcomeFacts."
|
|
160
|
+
},
|
|
161
|
+
"cursor": {
|
|
162
|
+
"anyOf": [
|
|
163
|
+
{
|
|
164
|
+
"type": "object",
|
|
165
|
+
"properties": {
|
|
166
|
+
"createdAt": {
|
|
167
|
+
"type": "string"
|
|
168
|
+
},
|
|
169
|
+
"id": {
|
|
170
|
+
"type": "string",
|
|
171
|
+
"minLength": 1
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"required": [
|
|
175
|
+
"createdAt",
|
|
176
|
+
"id"
|
|
177
|
+
],
|
|
178
|
+
"additionalProperties": false
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"type": "null"
|
|
182
|
+
}
|
|
183
|
+
]
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"required": [
|
|
187
|
+
"limit",
|
|
188
|
+
"state",
|
|
189
|
+
"cursor"
|
|
190
|
+
],
|
|
191
|
+
"additionalProperties": false
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"required": [
|
|
195
|
+
"page"
|
|
196
|
+
],
|
|
197
|
+
"additionalProperties": false
|
|
198
|
+
}
|
|
199
|
+
],
|
|
200
|
+
"description": "Required addressed selection for retained product commands; collections are compact."
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
204
|
+
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlDaemonStatus",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlDaemonStatus": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"ok": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"const": true
|
|
10
|
+
},
|
|
11
|
+
"uptime_ms": {
|
|
12
|
+
"type": "number",
|
|
13
|
+
"minimum": 0
|
|
14
|
+
},
|
|
15
|
+
"queue": {
|
|
16
|
+
"type": "integer",
|
|
17
|
+
"minimum": 0
|
|
18
|
+
},
|
|
19
|
+
"running": {
|
|
20
|
+
"type": "boolean"
|
|
21
|
+
},
|
|
22
|
+
"active": {
|
|
23
|
+
"type": "integer",
|
|
24
|
+
"minimum": 0
|
|
25
|
+
},
|
|
26
|
+
"jobs": {
|
|
27
|
+
"type": "integer",
|
|
28
|
+
"minimum": 0
|
|
29
|
+
},
|
|
30
|
+
"stopping": {
|
|
31
|
+
"type": "boolean"
|
|
32
|
+
},
|
|
33
|
+
"servingMode": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"enum": [
|
|
36
|
+
"normal",
|
|
37
|
+
"recovery_only"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"capacity": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"properties": {
|
|
43
|
+
"maxConcurrent": {
|
|
44
|
+
"type": "integer",
|
|
45
|
+
"minimum": -9007199254740991,
|
|
46
|
+
"maximum": 9007199254740991,
|
|
47
|
+
"exclusiveMinimum": 0
|
|
48
|
+
},
|
|
49
|
+
"maxParallelCandidates": {
|
|
50
|
+
"$ref": "#/definitions/ControlDaemonStatus/properties/capacity/properties/maxConcurrent"
|
|
51
|
+
},
|
|
52
|
+
"maxDeepScanWidth": {
|
|
53
|
+
"$ref": "#/definitions/ControlDaemonStatus/properties/capacity/properties/maxConcurrent"
|
|
54
|
+
},
|
|
55
|
+
"maxCouncilMembers": {
|
|
56
|
+
"type": "integer",
|
|
57
|
+
"minimum": 2,
|
|
58
|
+
"maximum": 9007199254740991,
|
|
59
|
+
"exclusiveMinimum": 0
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"required": [
|
|
63
|
+
"maxConcurrent"
|
|
64
|
+
],
|
|
65
|
+
"additionalProperties": false
|
|
66
|
+
},
|
|
67
|
+
"memory": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"properties": {
|
|
70
|
+
"heapUsedBytes": {
|
|
71
|
+
"type": "integer",
|
|
72
|
+
"minimum": 0
|
|
73
|
+
},
|
|
74
|
+
"heapLimitBytes": {
|
|
75
|
+
"$ref": "#/definitions/ControlDaemonStatus/properties/memory/properties/heapUsedBytes"
|
|
76
|
+
},
|
|
77
|
+
"rssBytes": {
|
|
78
|
+
"$ref": "#/definitions/ControlDaemonStatus/properties/memory/properties/heapUsedBytes"
|
|
79
|
+
},
|
|
80
|
+
"externalBytes": {
|
|
81
|
+
"$ref": "#/definitions/ControlDaemonStatus/properties/memory/properties/heapUsedBytes"
|
|
82
|
+
},
|
|
83
|
+
"nodeHeapArgs": {
|
|
84
|
+
"type": "array",
|
|
85
|
+
"items": {
|
|
86
|
+
"type": "string"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"atAdmission": {
|
|
90
|
+
"anyOf": [
|
|
91
|
+
{
|
|
92
|
+
"type": "object",
|
|
93
|
+
"properties": {
|
|
94
|
+
"heapUsedBytes": {
|
|
95
|
+
"$ref": "#/definitions/ControlDaemonStatus/properties/memory/properties/heapUsedBytes"
|
|
96
|
+
},
|
|
97
|
+
"rssBytes": {
|
|
98
|
+
"$ref": "#/definitions/ControlDaemonStatus/properties/memory/properties/heapUsedBytes"
|
|
99
|
+
},
|
|
100
|
+
"at": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"minLength": 1,
|
|
103
|
+
"description": "ISO-8601 timestamp string."
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"required": [
|
|
107
|
+
"heapUsedBytes",
|
|
108
|
+
"rssBytes",
|
|
109
|
+
"at"
|
|
110
|
+
],
|
|
111
|
+
"additionalProperties": false
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"type": "null"
|
|
115
|
+
}
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
"sampledAt": {
|
|
119
|
+
"$ref": "#/definitions/ControlDaemonStatus/properties/memory/properties/atAdmission/anyOf/0/properties/at"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"required": [
|
|
123
|
+
"heapUsedBytes",
|
|
124
|
+
"heapLimitBytes",
|
|
125
|
+
"rssBytes",
|
|
126
|
+
"externalBytes",
|
|
127
|
+
"nodeHeapArgs",
|
|
128
|
+
"atAdmission",
|
|
129
|
+
"sampledAt"
|
|
130
|
+
],
|
|
131
|
+
"additionalProperties": false
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"required": [
|
|
135
|
+
"ok",
|
|
136
|
+
"uptime_ms",
|
|
137
|
+
"queue",
|
|
138
|
+
"running",
|
|
139
|
+
"active",
|
|
140
|
+
"jobs",
|
|
141
|
+
"stopping",
|
|
142
|
+
"servingMode",
|
|
143
|
+
"capacity",
|
|
144
|
+
"memory"
|
|
145
|
+
],
|
|
146
|
+
"additionalProperties": false
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
150
|
+
}
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"activeRunCheck": {
|
|
39
39
|
"type": "string",
|
|
40
40
|
"const": "snapshot",
|
|
41
|
-
"description": "How the live/queued-run fence was evaluated. Always 'snapshot': the
|
|
41
|
+
"description": "How the live/queued-run fence was evaluated. Always 'snapshot': the daemon reads its in-process activity projection and removes the project in the same synchronous turn, with no await between the snapshot and registry/partition mutation."
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"required": [
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
},
|
|
124
124
|
"workspaceRoot": {
|
|
125
125
|
"type": "string",
|
|
126
|
-
"description": "Absolute existing execution workspace for a project-scoped delegated
|
|
126
|
+
"description": "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."
|
|
127
127
|
},
|
|
128
128
|
"workspaceKind": {
|
|
129
129
|
"type": "string",
|
|
@@ -1039,6 +1039,14 @@
|
|
|
1039
1039
|
"description": "Project metadata projected onto a run summary.",
|
|
1040
1040
|
"default": {}
|
|
1041
1041
|
},
|
|
1042
|
+
"executionRoot": {
|
|
1043
|
+
"type": [
|
|
1044
|
+
"string",
|
|
1045
|
+
"null"
|
|
1046
|
+
],
|
|
1047
|
+
"default": null,
|
|
1048
|
+
"description": "Tree this run's file references resolve in: a delegated run's recorded execution.workspaceRoot, otherwise project.root; null without a project. The stable identity stays project.root."
|
|
1049
|
+
},
|
|
1042
1050
|
"mode": {
|
|
1043
1051
|
"type": "string",
|
|
1044
1052
|
"enum": [
|
|
@@ -859,6 +859,14 @@
|
|
|
859
859
|
"description": "Project metadata projected onto a run summary.",
|
|
860
860
|
"default": {}
|
|
861
861
|
},
|
|
862
|
+
"executionRoot": {
|
|
863
|
+
"type": [
|
|
864
|
+
"string",
|
|
865
|
+
"null"
|
|
866
|
+
],
|
|
867
|
+
"default": null,
|
|
868
|
+
"description": "Tree this run's file references resolve in: a delegated run's recorded execution.workspaceRoot, otherwise project.root; null without a project. The stable identity stays project.root."
|
|
869
|
+
},
|
|
862
870
|
"mode": {
|
|
863
871
|
"type": "string",
|
|
864
872
|
"enum": [
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
},
|
|
116
116
|
"workspaceRoot": {
|
|
117
117
|
"type": "string",
|
|
118
|
-
"description": "Absolute existing execution workspace for a project-scoped delegated
|
|
118
|
+
"description": "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."
|
|
119
119
|
},
|
|
120
120
|
"workspaceKind": {
|
|
121
121
|
"type": "string",
|
|
@@ -854,6 +854,14 @@
|
|
|
854
854
|
"description": "Project metadata projected onto a run summary.",
|
|
855
855
|
"default": {}
|
|
856
856
|
},
|
|
857
|
+
"executionRoot": {
|
|
858
|
+
"type": [
|
|
859
|
+
"string",
|
|
860
|
+
"null"
|
|
861
|
+
],
|
|
862
|
+
"default": null,
|
|
863
|
+
"description": "Tree this run's file references resolve in: a delegated run's recorded execution.workspaceRoot, otherwise project.root; null without a project. The stable identity stays project.root."
|
|
864
|
+
},
|
|
857
865
|
"mode": {
|
|
858
866
|
"type": "string",
|
|
859
867
|
"enum": [
|