@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
|
@@ -53,11 +53,20 @@
|
|
|
53
53
|
"type": "string",
|
|
54
54
|
"enum": [
|
|
55
55
|
"in_place",
|
|
56
|
-
"isolated"
|
|
56
|
+
"isolated",
|
|
57
|
+
"delegated"
|
|
57
58
|
],
|
|
58
|
-
"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.",
|
|
59
|
+
"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.",
|
|
59
60
|
"default": "in_place"
|
|
60
61
|
},
|
|
62
|
+
"workspaceRoot": {
|
|
63
|
+
"type": [
|
|
64
|
+
"string",
|
|
65
|
+
"null"
|
|
66
|
+
],
|
|
67
|
+
"default": null,
|
|
68
|
+
"description": "Caller-owned workspace a delegated thread executes in; null for in_place and isolated threads."
|
|
69
|
+
},
|
|
61
70
|
"authPreference": {
|
|
62
71
|
"type": "string",
|
|
63
72
|
"enum": [
|
|
@@ -81,9 +81,14 @@
|
|
|
81
81
|
"type": "string",
|
|
82
82
|
"enum": [
|
|
83
83
|
"in_place",
|
|
84
|
-
"isolated"
|
|
84
|
+
"isolated",
|
|
85
|
+
"delegated"
|
|
85
86
|
],
|
|
86
|
-
"description": "Workspace mode for the thread (in_place or
|
|
87
|
+
"description": "Workspace mode for the thread (in_place, isolated, or delegated)."
|
|
88
|
+
},
|
|
89
|
+
"workspaceRoot": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"description": "Absolute existing caller-owned directory every turn of a workspace='delegated' thread executes in. Required exactly for that workspace, project scope only, and immutable after creation; scope.root stays the stable project identity."
|
|
87
92
|
},
|
|
88
93
|
"authPreference": {
|
|
89
94
|
"type": "string",
|
|
@@ -56,11 +56,20 @@
|
|
|
56
56
|
"type": "string",
|
|
57
57
|
"enum": [
|
|
58
58
|
"in_place",
|
|
59
|
-
"isolated"
|
|
59
|
+
"isolated",
|
|
60
|
+
"delegated"
|
|
60
61
|
],
|
|
61
|
-
"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.",
|
|
62
|
+
"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.",
|
|
62
63
|
"default": "in_place"
|
|
63
64
|
},
|
|
65
|
+
"workspaceRoot": {
|
|
66
|
+
"type": [
|
|
67
|
+
"string",
|
|
68
|
+
"null"
|
|
69
|
+
],
|
|
70
|
+
"default": null,
|
|
71
|
+
"description": "Caller-owned workspace a delegated thread executes in; null for in_place and isolated threads."
|
|
72
|
+
},
|
|
64
73
|
"authPreference": {
|
|
65
74
|
"type": "string",
|
|
66
75
|
"enum": [
|
|
@@ -58,11 +58,20 @@
|
|
|
58
58
|
"type": "string",
|
|
59
59
|
"enum": [
|
|
60
60
|
"in_place",
|
|
61
|
-
"isolated"
|
|
61
|
+
"isolated",
|
|
62
|
+
"delegated"
|
|
62
63
|
],
|
|
63
|
-
"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.",
|
|
64
|
+
"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.",
|
|
64
65
|
"default": "in_place"
|
|
65
66
|
},
|
|
67
|
+
"workspaceRoot": {
|
|
68
|
+
"type": [
|
|
69
|
+
"string",
|
|
70
|
+
"null"
|
|
71
|
+
],
|
|
72
|
+
"default": null,
|
|
73
|
+
"description": "Caller-owned workspace a delegated thread executes in; null for in_place and isolated threads."
|
|
74
|
+
},
|
|
66
75
|
"authPreference": {
|
|
67
76
|
"type": "string",
|
|
68
77
|
"enum": [
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/RunListQuery",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"RunListQuery": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"limit": {
|
|
8
|
+
"type": "integer",
|
|
9
|
+
"minimum": 1,
|
|
10
|
+
"maximum": 1000
|
|
11
|
+
},
|
|
12
|
+
"state": {
|
|
13
|
+
"anyOf": [
|
|
14
|
+
{
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": [
|
|
17
|
+
"queued",
|
|
18
|
+
"running",
|
|
19
|
+
"succeeded",
|
|
20
|
+
"failed",
|
|
21
|
+
"cancelled",
|
|
22
|
+
"interrupted"
|
|
23
|
+
],
|
|
24
|
+
"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."
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "null"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"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."
|
|
31
|
+
},
|
|
32
|
+
"cursor": {
|
|
33
|
+
"anyOf": [
|
|
34
|
+
{
|
|
35
|
+
"type": "object",
|
|
36
|
+
"properties": {
|
|
37
|
+
"createdAt": {
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
"id": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"minLength": 1
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"required": [
|
|
46
|
+
"createdAt",
|
|
47
|
+
"id"
|
|
48
|
+
],
|
|
49
|
+
"additionalProperties": false
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "null"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"required": [
|
|
58
|
+
"limit",
|
|
59
|
+
"state",
|
|
60
|
+
"cursor"
|
|
61
|
+
],
|
|
62
|
+
"additionalProperties": false
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
66
|
+
}
|
|
@@ -151,9 +151,10 @@
|
|
|
151
151
|
"type": "string",
|
|
152
152
|
"enum": [
|
|
153
153
|
"in_place",
|
|
154
|
-
"isolated"
|
|
154
|
+
"isolated",
|
|
155
|
+
"delegated"
|
|
155
156
|
],
|
|
156
|
-
"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.",
|
|
157
|
+
"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.",
|
|
157
158
|
"default": "in_place"
|
|
158
159
|
},
|
|
159
160
|
"worktree_path": {
|
|
@@ -183,10 +184,18 @@
|
|
|
183
184
|
],
|
|
184
185
|
"description": "Last run in the lineage prefix already delivered from this isolated thread.",
|
|
185
186
|
"default": null
|
|
187
|
+
},
|
|
188
|
+
"workspace_root": {
|
|
189
|
+
"type": [
|
|
190
|
+
"string",
|
|
191
|
+
"null"
|
|
192
|
+
],
|
|
193
|
+
"default": null,
|
|
194
|
+
"description": "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."
|
|
186
195
|
}
|
|
187
196
|
},
|
|
188
197
|
"additionalProperties": false,
|
|
189
|
-
"description": "How the thread's turns touch files (in-place live tree
|
|
198
|
+
"description": "How the thread's turns touch files (in-place live tree, isolated worktree, or caller-owned delegated workspace).",
|
|
190
199
|
"default": {}
|
|
191
200
|
},
|
|
192
201
|
"run_ids": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claudexor/schema",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.23.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Single source of truth for all Claudexor data shapes (Zod + generated JSON Schema).",
|
|
6
6
|
"type": "module",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"zod": "^4.6.5",
|
|
22
22
|
"zod-to-json-schema": "^3.24.1",
|
|
23
|
-
"@claudexor/util": "3.
|
|
23
|
+
"@claudexor/util": "3.23.1"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|