@claudexor/schema 1.0.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.
- package/LICENSE +21 -0
- package/README.md +16 -0
- package/dist/agent-capabilities.d.ts +366 -0
- package/dist/agent-capabilities.d.ts.map +1 -0
- package/dist/agent-capabilities.js +125 -0
- package/dist/agent-capabilities.js.map +1 -0
- package/dist/apply-eligibility.d.ts +76 -0
- package/dist/apply-eligibility.d.ts.map +1 -0
- package/dist/apply-eligibility.js +37 -0
- package/dist/apply-eligibility.js.map +1 -0
- package/dist/attachment.d.ts +69 -0
- package/dist/attachment.d.ts.map +1 -0
- package/dist/attachment.js +54 -0
- package/dist/attachment.js.map +1 -0
- package/dist/budget.d.ts +75 -0
- package/dist/budget.d.ts.map +1 -0
- package/dist/budget.js +54 -0
- package/dist/budget.js.map +1 -0
- package/dist/config.d.ts +743 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +194 -0
- package/dist/config.js.map +1 -0
- package/dist/context.d.ts +222 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/context.js +70 -0
- package/dist/context.js.map +1 -0
- package/dist/control-run-detail.d.ts +1686 -0
- package/dist/control-run-detail.d.ts.map +1 -0
- package/dist/control-run-detail.js +107 -0
- package/dist/control-run-detail.js.map +1 -0
- package/dist/control-trust.d.ts +79 -0
- package/dist/control-trust.d.ts.map +1 -0
- package/dist/control-trust.js +39 -0
- package/dist/control-trust.js.map +1 -0
- package/dist/control.d.ts +4226 -0
- package/dist/control.d.ts.map +1 -0
- package/dist/control.js +1022 -0
- package/dist/control.js.map +1 -0
- package/dist/decision.d.ts +208 -0
- package/dist/decision.d.ts.map +1 -0
- package/dist/decision.js +98 -0
- package/dist/decision.js.map +1 -0
- package/dist/events.d.ts +70 -0
- package/dist/events.d.ts.map +1 -0
- package/dist/events.js +105 -0
- package/dist/events.js.map +1 -0
- package/dist/gate.d.ts +37 -0
- package/dist/gate.d.ts.map +1 -0
- package/dist/gate.js +20 -0
- package/dist/gate.js.map +1 -0
- package/dist/harness.d.ts +1418 -0
- package/dist/harness.d.ts.map +1 -0
- package/dist/harness.js +552 -0
- package/dist/harness.js.map +1 -0
- package/dist/index.d.ts +32 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +32 -0
- package/dist/index.js.map +1 -0
- package/dist/orchestrate.d.ts +428 -0
- package/dist/orchestrate.d.ts.map +1 -0
- package/dist/orchestrate.js +246 -0
- package/dist/orchestrate.js.map +1 -0
- package/dist/primitives.d.ts +71 -0
- package/dist/primitives.d.ts.map +1 -0
- package/dist/primitives.js +114 -0
- package/dist/primitives.js.map +1 -0
- package/dist/review.d.ts +220 -0
- package/dist/review.d.ts.map +1 -0
- package/dist/review.js +91 -0
- package/dist/review.js.map +1 -0
- package/dist/route.d.ts +67 -0
- package/dist/route.d.ts.map +1 -0
- package/dist/route.js +33 -0
- package/dist/route.js.map +1 -0
- package/dist/spec.d.ts +561 -0
- package/dist/spec.d.ts.map +1 -0
- package/dist/spec.js +133 -0
- package/dist/spec.js.map +1 -0
- package/dist/surface-run-controls.d.ts +14 -0
- package/dist/surface-run-controls.d.ts.map +1 -0
- package/dist/surface-run-controls.js +142 -0
- package/dist/surface-run-controls.js.map +1 -0
- package/dist/task.d.ts +565 -0
- package/dist/task.d.ts.map +1 -0
- package/dist/task.js +186 -0
- package/dist/task.js.map +1 -0
- package/dist/telemetry.d.ts +660 -0
- package/dist/telemetry.d.ts.map +1 -0
- package/dist/telemetry.js +140 -0
- package/dist/telemetry.js.map +1 -0
- package/dist/thread.d.ts +348 -0
- package/dist/thread.d.ts.map +1 -0
- package/dist/thread.js +194 -0
- package/dist/thread.js.map +1 -0
- package/dist/workproduct.d.ts +31 -0
- package/dist/workproduct.d.ts.map +1 -0
- package/dist/workproduct.js +25 -0
- package/dist/workproduct.js.map +1 -0
- package/dist/workspace.d.ts +53 -0
- package/dist/workspace.d.ts.map +1 -0
- package/dist/workspace.js +30 -0
- package/dist/workspace.js.map +1 -0
- package/generated/AgentCapabilityCatalog.schema.json +389 -0
- package/generated/ApplyEligibility.schema.json +44 -0
- package/generated/BudgetLease.schema.json +95 -0
- package/generated/BudgetObservation.schema.json +76 -0
- package/generated/ConformanceReport.schema.json +107 -0
- package/generated/ContextPack.schema.json +186 -0
- package/generated/ControlApplyCheckRequest.schema.json +54 -0
- package/generated/ControlApplyRequest.schema.json +74 -0
- package/generated/ControlHarnessListResponse.schema.json +498 -0
- package/generated/ControlHarnessModelsResponse.schema.json +78 -0
- package/generated/ControlHarnessSettingsPatch.schema.json +130 -0
- package/generated/ControlInteractionAnswerRequest.schema.json +48 -0
- package/generated/ControlInteractionAnswerResponse.schema.json +35 -0
- package/generated/ControlPendingInteraction.schema.json +129 -0
- package/generated/ControlQueuedRunInfo.schema.json +44 -0
- package/generated/ControlRunControlRequest.schema.json +61 -0
- package/generated/ControlRunControlResponse.schema.json +40 -0
- package/generated/ControlRunDecisionRequest.schema.json +98 -0
- package/generated/ControlRunDecisionResponse.schema.json +40 -0
- package/generated/ControlRunDetail.schema.json +1925 -0
- package/generated/ControlRunStartInfo.schema.json +33 -0
- package/generated/ControlRunStartRequest.schema.json +429 -0
- package/generated/ControlRunSummary.schema.json +666 -0
- package/generated/ControlSecretListResponse.schema.json +57 -0
- package/generated/ControlSettingsSnapshot.schema.json +281 -0
- package/generated/ControlSettingsUpdateRequest.schema.json +212 -0
- package/generated/ControlSetupJob.schema.json +148 -0
- package/generated/ControlSetupJobConfirmRequest.schema.json +18 -0
- package/generated/ControlSetupJobCreateRequest.schema.json +38 -0
- package/generated/ControlSetupJobEvent.schema.json +58 -0
- package/generated/ControlSetupJobListResponse.schema.json +162 -0
- package/generated/ControlSpecFreezeRequest.schema.json +83 -0
- package/generated/ControlSpecQuestionsRequest.schema.json +80 -0
- package/generated/ControlThread.schema.json +129 -0
- package/generated/ControlThreadApplyRequest.schema.json +32 -0
- package/generated/ControlThreadApplyResponse.schema.json +47 -0
- package/generated/ControlThreadCreateRequest.schema.json +107 -0
- package/generated/ControlThreadDetail.schema.json +515 -0
- package/generated/ControlThreadListResponse.schema.json +141 -0
- package/generated/ControlThreadUpdateRequest.schema.json +46 -0
- package/generated/ControlTrustListResponse.schema.json +59 -0
- package/generated/ControlTrustState.schema.json +45 -0
- package/generated/ControlTrustUpdateRequest.schema.json +26 -0
- package/generated/DecisionRecord.schema.json +232 -0
- package/generated/GateResult.schema.json +81 -0
- package/generated/GlobalConfig.schema.json +313 -0
- package/generated/HarnessEvent.schema.json +360 -0
- package/generated/HarnessManifest.schema.json +350 -0
- package/generated/HarnessModel.schema.json +41 -0
- package/generated/HarnessStatusDto.schema.json +486 -0
- package/generated/McpRunToolResult.schema.json +91 -0
- package/generated/OrchestrateContract.schema.json +93 -0
- package/generated/OrchestratePlan.schema.json +244 -0
- package/generated/OrchestratePlanProgress.schema.json +103 -0
- package/generated/ProjectConfig.schema.json +95 -0
- package/generated/ReviewFinding.schema.json +226 -0
- package/generated/RouteFallbackPayload.schema.json +79 -0
- package/generated/RouteProof.schema.json +111 -0
- package/generated/RunControl.schema.json +51 -0
- package/generated/RunEvent.schema.json +103 -0
- package/generated/RunFailure.schema.json +98 -0
- package/generated/RunTelemetry.schema.json +433 -0
- package/generated/SecretMetadata.schema.json +34 -0
- package/generated/Session.schema.json +80 -0
- package/generated/SessionReboundLineage.schema.json +73 -0
- package/generated/SpecPack.schema.json +372 -0
- package/generated/TaskContract.schema.json +501 -0
- package/generated/Thread.schema.json +176 -0
- package/generated/ThreadTurn.schema.json +172 -0
- package/generated/TrustConfig.schema.json +44 -0
- package/generated/WorkProduct.schema.json +60 -0
- package/generated/WorkspaceEnvelope.schema.json +94 -0
- package/package.json +43 -0
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlThread",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlThread": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"id": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"description": "Thread id."
|
|
11
|
+
},
|
|
12
|
+
"title": {
|
|
13
|
+
"type": [
|
|
14
|
+
"string",
|
|
15
|
+
"null"
|
|
16
|
+
],
|
|
17
|
+
"default": null,
|
|
18
|
+
"description": "Thread title; null until set."
|
|
19
|
+
},
|
|
20
|
+
"repoRoot": {
|
|
21
|
+
"type": [
|
|
22
|
+
"string",
|
|
23
|
+
"null"
|
|
24
|
+
],
|
|
25
|
+
"default": null,
|
|
26
|
+
"description": "Project root the thread is anchored to; null for a no-project thread."
|
|
27
|
+
},
|
|
28
|
+
"mode": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"enum": [
|
|
31
|
+
"ask",
|
|
32
|
+
"plan",
|
|
33
|
+
"audit",
|
|
34
|
+
"agent",
|
|
35
|
+
"orchestrate"
|
|
36
|
+
],
|
|
37
|
+
"description": "Default mode for new turns."
|
|
38
|
+
},
|
|
39
|
+
"workspaceMode": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"enum": [
|
|
42
|
+
"in_place",
|
|
43
|
+
"isolated"
|
|
44
|
+
],
|
|
45
|
+
"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.",
|
|
46
|
+
"default": "in_place"
|
|
47
|
+
},
|
|
48
|
+
"authPreference": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"enum": [
|
|
51
|
+
"subscription",
|
|
52
|
+
"api_key",
|
|
53
|
+
"auto"
|
|
54
|
+
],
|
|
55
|
+
"description": "Preferred auth route: subscription (native/OAuth session), api_key (a stored API key), or auto (engine picks subscription-first with policy fallback). A preference, not a secret.",
|
|
56
|
+
"default": "auto"
|
|
57
|
+
},
|
|
58
|
+
"primaryHarness": {
|
|
59
|
+
"type": [
|
|
60
|
+
"string",
|
|
61
|
+
"null"
|
|
62
|
+
],
|
|
63
|
+
"default": null,
|
|
64
|
+
"description": "Sticky primary harness for the thread; null = engine routing."
|
|
65
|
+
},
|
|
66
|
+
"eligibleHarnesses": {
|
|
67
|
+
"type": "array",
|
|
68
|
+
"items": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
},
|
|
71
|
+
"default": [],
|
|
72
|
+
"description": "Sticky eligible harness pool; empty = the engine auto-pools."
|
|
73
|
+
},
|
|
74
|
+
"state": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"enum": [
|
|
77
|
+
"active",
|
|
78
|
+
"closed"
|
|
79
|
+
],
|
|
80
|
+
"description": "Thread lifecycle state: active or explicitly closed (archived). Blocked is a live projection, not a thread state.",
|
|
81
|
+
"default": "active"
|
|
82
|
+
},
|
|
83
|
+
"runIds": {
|
|
84
|
+
"type": "array",
|
|
85
|
+
"items": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"minLength": 1,
|
|
88
|
+
"description": "Non-empty identifier string."
|
|
89
|
+
},
|
|
90
|
+
"default": [],
|
|
91
|
+
"description": "Ordered run lineage of the thread."
|
|
92
|
+
},
|
|
93
|
+
"headRunId": {
|
|
94
|
+
"anyOf": [
|
|
95
|
+
{
|
|
96
|
+
"$ref": "#/definitions/ControlThread/properties/runIds/items"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"type": "null"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"description": "Most recent run of the thread; null before the first turn runs.",
|
|
103
|
+
"default": null
|
|
104
|
+
},
|
|
105
|
+
"needsHuman": {
|
|
106
|
+
"type": "boolean",
|
|
107
|
+
"default": false,
|
|
108
|
+
"description": "True when the head turn is blocked on a human decision (needs-me inbox)."
|
|
109
|
+
},
|
|
110
|
+
"createdAt": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"description": "When the thread was created."
|
|
113
|
+
},
|
|
114
|
+
"updatedAt": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"description": "When the thread was last updated."
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"required": [
|
|
120
|
+
"id",
|
|
121
|
+
"createdAt",
|
|
122
|
+
"updatedAt"
|
|
123
|
+
],
|
|
124
|
+
"additionalProperties": false,
|
|
125
|
+
"description": "Control-plane projection of a thread (camelCase view of the Thread artifact)."
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
129
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlThreadApplyRequest",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlThreadApplyRequest": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"mode": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": [
|
|
10
|
+
"apply",
|
|
11
|
+
"branch",
|
|
12
|
+
"commit",
|
|
13
|
+
"pr"
|
|
14
|
+
],
|
|
15
|
+
"default": "apply",
|
|
16
|
+
"description": "Delivery mode: apply to the tree, or as a branch, commit, or PR."
|
|
17
|
+
},
|
|
18
|
+
"branch": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"description": "Branch name for branch/pr modes."
|
|
21
|
+
},
|
|
22
|
+
"message": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "Commit message for commit/pr modes."
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"additionalProperties": false,
|
|
28
|
+
"description": "Request body applying an isolated thread's accumulated worktree diff to the project."
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
32
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlThreadApplyResponse",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlThreadApplyResponse": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"applied": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"description": "Whether anything was delivered."
|
|
10
|
+
},
|
|
11
|
+
"status": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"enum": [
|
|
14
|
+
"applied",
|
|
15
|
+
"branched",
|
|
16
|
+
"committed",
|
|
17
|
+
"pr_opened",
|
|
18
|
+
"empty",
|
|
19
|
+
"conflict",
|
|
20
|
+
"rejected"
|
|
21
|
+
],
|
|
22
|
+
"description": "Delivery outcome: applied, branched, committed, pr_opened, empty (no diff), conflict, or rejected."
|
|
23
|
+
},
|
|
24
|
+
"headMoved": {
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"default": false,
|
|
27
|
+
"description": "True when the project HEAD moved past the thread base since the thread started."
|
|
28
|
+
},
|
|
29
|
+
"detail": {
|
|
30
|
+
"type": [
|
|
31
|
+
"string",
|
|
32
|
+
"null"
|
|
33
|
+
],
|
|
34
|
+
"default": null,
|
|
35
|
+
"description": "Human-readable detail."
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"required": [
|
|
39
|
+
"applied",
|
|
40
|
+
"status"
|
|
41
|
+
],
|
|
42
|
+
"additionalProperties": false,
|
|
43
|
+
"description": "Response to a thread apply."
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
47
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlThreadCreateRequest",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlThreadCreateRequest": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"title": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Initial thread title."
|
|
10
|
+
},
|
|
11
|
+
"scope": {
|
|
12
|
+
"anyOf": [
|
|
13
|
+
{
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"kind": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"const": "project"
|
|
19
|
+
},
|
|
20
|
+
"root": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "Absolute path of the project root."
|
|
23
|
+
},
|
|
24
|
+
"context": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"enum": [
|
|
27
|
+
"auto"
|
|
28
|
+
],
|
|
29
|
+
"description": "Project context depth; auto is the only mode.",
|
|
30
|
+
"default": "auto"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required": [
|
|
34
|
+
"kind",
|
|
35
|
+
"root"
|
|
36
|
+
],
|
|
37
|
+
"additionalProperties": false,
|
|
38
|
+
"description": "Run anchored to a project."
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"type": "object",
|
|
42
|
+
"properties": {
|
|
43
|
+
"kind": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"const": "none"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"required": [
|
|
49
|
+
"kind"
|
|
50
|
+
],
|
|
51
|
+
"additionalProperties": false,
|
|
52
|
+
"description": "Run with no project (pure ask)."
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"description": "What the run operates on: a project (with root) or nothing.",
|
|
56
|
+
"default": {
|
|
57
|
+
"kind": "none"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"mode": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"enum": [
|
|
63
|
+
"ask",
|
|
64
|
+
"plan",
|
|
65
|
+
"audit",
|
|
66
|
+
"agent",
|
|
67
|
+
"orchestrate"
|
|
68
|
+
],
|
|
69
|
+
"description": "Default mode for new turns."
|
|
70
|
+
},
|
|
71
|
+
"workspace": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"enum": [
|
|
74
|
+
"in_place",
|
|
75
|
+
"isolated"
|
|
76
|
+
],
|
|
77
|
+
"description": "Workspace mode for the thread (in_place or isolated)."
|
|
78
|
+
},
|
|
79
|
+
"authPreference": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"enum": [
|
|
82
|
+
"subscription",
|
|
83
|
+
"api_key",
|
|
84
|
+
"auto"
|
|
85
|
+
],
|
|
86
|
+
"description": "Per-thread auth preference override."
|
|
87
|
+
},
|
|
88
|
+
"primaryHarness": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"minLength": 1,
|
|
91
|
+
"pattern": "\\S",
|
|
92
|
+
"description": "Sticky primary harness for the thread."
|
|
93
|
+
},
|
|
94
|
+
"eligibleHarnesses": {
|
|
95
|
+
"type": "array",
|
|
96
|
+
"items": {
|
|
97
|
+
"$ref": "#/definitions/ControlThreadCreateRequest/properties/primaryHarness"
|
|
98
|
+
},
|
|
99
|
+
"description": "Sticky eligible harness pool; turns inherit it when unset."
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"additionalProperties": false,
|
|
103
|
+
"description": "Request body for POST /threads."
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
107
|
+
}
|