@claudexor/cli 2.1.3 → 3.0.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/accounts-projection.d.ts +26 -0
- package/dist/accounts-projection.d.ts.map +1 -0
- package/dist/accounts-projection.js +90 -0
- package/dist/accounts-projection.js.map +1 -0
- package/dist/acp-surface-runner.d.ts.map +1 -1
- package/dist/acp-surface-runner.js +12 -16
- package/dist/acp-surface-runner.js.map +1 -1
- package/dist/bridge-serve.d.ts +9 -0
- package/dist/bridge-serve.d.ts.map +1 -1
- package/dist/bridge-serve.js +20 -1
- package/dist/bridge-serve.js.map +1 -1
- package/dist/claude-oauth-usage.d.ts +8 -2
- package/dist/claude-oauth-usage.d.ts.map +1 -1
- package/dist/claude-oauth-usage.js +27 -12
- package/dist/claude-oauth-usage.js.map +1 -1
- package/dist/claude-statusline.d.ts +5 -2
- package/dist/claude-statusline.d.ts.map +1 -1
- package/dist/claude-statusline.js +4 -2
- package/dist/claude-statusline.js.map +1 -1
- package/dist/claudexord.d.ts +7 -1
- package/dist/claudexord.d.ts.map +1 -1
- package/dist/claudexord.js +116 -19
- package/dist/claudexord.js.map +1 -1
- package/dist/cli.js +105 -276
- package/dist/cli.js.map +1 -1
- package/dist/codex-quota-source.d.ts +9 -3
- package/dist/codex-quota-source.d.ts.map +1 -1
- package/dist/codex-quota-source.js +82 -9
- package/dist/codex-quota-source.js.map +1 -1
- package/dist/command-flags.d.ts +1 -1
- package/dist/command-flags.d.ts.map +1 -1
- package/dist/command-flags.js +8 -9
- package/dist/command-flags.js.map +1 -1
- package/dist/command-registry.d.ts.map +1 -1
- package/dist/command-registry.js +19 -54
- package/dist/command-registry.js.map +1 -1
- package/dist/control-services.d.ts +163 -356
- package/dist/control-services.d.ts.map +1 -1
- package/dist/control-services.js +80 -126
- package/dist/control-services.js.map +1 -1
- package/dist/credential-commands.d.ts.map +1 -1
- package/dist/credential-commands.js +70 -8
- package/dist/credential-commands.js.map +1 -1
- package/dist/daemon-run.d.ts +49 -7
- package/dist/daemon-run.d.ts.map +1 -1
- package/dist/daemon-run.js +152 -30
- package/dist/daemon-run.js.map +1 -1
- package/dist/decision.js +2 -2
- package/dist/decision.js.map +1 -1
- package/dist/delegation-belt-descriptor.d.ts +43 -0
- package/dist/delegation-belt-descriptor.d.ts.map +1 -0
- package/dist/delegation-belt-descriptor.js +75 -0
- package/dist/delegation-belt-descriptor.js.map +1 -0
- package/dist/live.d.ts +5 -2
- package/dist/live.d.ts.map +1 -1
- package/dist/live.js +29 -12
- package/dist/live.js.map +1 -1
- package/dist/mcp-runner.d.ts.map +1 -1
- package/dist/mcp-runner.js +44 -20
- package/dist/mcp-runner.js.map +1 -1
- package/dist/plan-question-loop.d.ts +46 -0
- package/dist/plan-question-loop.d.ts.map +1 -0
- package/dist/plan-question-loop.js +149 -0
- package/dist/plan-question-loop.js.map +1 -0
- package/dist/plugins.d.ts.map +1 -1
- package/dist/plugins.js +1 -3
- package/dist/plugins.js.map +1 -1
- package/dist/primary-output.d.ts.map +1 -1
- package/dist/primary-output.js +9 -17
- package/dist/primary-output.js.map +1 -1
- package/dist/profile-registration.d.ts.map +1 -1
- package/dist/profile-registration.js +16 -0
- package/dist/profile-registration.js.map +1 -1
- package/dist/project-command.d.ts.map +1 -1
- package/dist/project-command.js +41 -2
- package/dist/project-command.js.map +1 -1
- package/dist/quota-command.js +8 -1
- package/dist/quota-command.js.map +1 -1
- package/dist/release-command.d.ts +12 -0
- package/dist/release-command.d.ts.map +1 -0
- package/dist/release-command.js +70 -0
- package/dist/release-command.js.map +1 -0
- package/dist/release.d.ts +59 -0
- package/dist/release.d.ts.map +1 -1
- package/dist/release.js +181 -0
- package/dist/release.js.map +1 -1
- package/dist/repl.d.ts +4 -3
- package/dist/repl.d.ts.map +1 -1
- package/dist/repl.js +27 -4
- package/dist/repl.js.map +1 -1
- package/dist/request-preflight.d.ts.map +1 -1
- package/dist/request-preflight.js +0 -2
- package/dist/request-preflight.js.map +1 -1
- package/dist/retention-service.d.ts.map +1 -1
- package/dist/retention-service.js +21 -0
- package/dist/retention-service.js.map +1 -1
- package/dist/settings-command.d.ts +38 -0
- package/dist/settings-command.d.ts.map +1 -1
- package/dist/settings-command.js +97 -15
- package/dist/settings-command.js.map +1 -1
- package/dist/settings-service.d.ts +5 -5
- package/dist/settings-service.d.ts.map +1 -1
- package/dist/settings-service.js +4 -1
- package/dist/settings-service.js.map +1 -1
- package/dist/setup-job-store.d.ts +9 -9
- package/dist/setup-job-store.d.ts.map +1 -1
- package/dist/setup-jobs.d.ts +13 -13
- package/dist/setup-jobs.d.ts.map +1 -1
- package/dist/thread-select.d.ts +6 -2
- package/dist/thread-select.d.ts.map +1 -1
- package/dist/thread-select.js +20 -3
- package/dist/thread-select.js.map +1 -1
- package/package.json +23 -24
- package/dist/orchestrate-options.d.ts +0 -9
- package/dist/orchestrate-options.d.ts.map +0 -1
- package/dist/orchestrate-options.js +0 -16
- package/dist/orchestrate-options.js.map +0 -1
- package/dist/spec-thread-scope.d.ts +0 -3
- package/dist/spec-thread-scope.d.ts.map +0 -1
- package/dist/spec-thread-scope.js +0 -9
- package/dist/spec-thread-scope.js.map +0 -1
- package/dist/spec.d.ts +0 -73
- package/dist/spec.d.ts.map +0 -1
- package/dist/spec.js +0 -466
- package/dist/spec.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type OperatorDecisionRecord, JournalManager, InteractionRegistry, ProjectPartitions, ProjectStore, ResourceStore, QuotaRegistry } from "@claudexor/daemon";
|
|
2
2
|
import { listTrustService, updateTrustService } from "./trust-services.js";
|
|
3
|
-
import { type ResourceAttachmentRef
|
|
3
|
+
import { type ResourceAttachmentRef } from "@claudexor/schema";
|
|
4
4
|
import { AuthReadinessService } from "@claudexor/gateway";
|
|
5
5
|
import { createSetupJobManager } from "./setup-jobs.js";
|
|
6
6
|
import { SetupJobStore } from "./setup-job-store.js";
|
|
@@ -44,8 +44,8 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
44
44
|
expectedBytes: number;
|
|
45
45
|
}>;
|
|
46
46
|
finalizeUpload: (uploadId: string, expectedSha256: string | undefined, idempotencyKey: string) => Promise<{
|
|
47
|
-
name: string;
|
|
48
47
|
kind: "file" | "image";
|
|
48
|
+
name: string;
|
|
49
49
|
resourceId: string;
|
|
50
50
|
mime: string;
|
|
51
51
|
sha256: string;
|
|
@@ -59,6 +59,11 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
59
59
|
projects: unknown[];
|
|
60
60
|
}>;
|
|
61
61
|
registerProject: (input: Parameters<ProjectStore["register"]>[0]) => Promise<{
|
|
62
|
+
nesting: {
|
|
63
|
+
relation: "inside" | "contains";
|
|
64
|
+
root: string;
|
|
65
|
+
projectId: string;
|
|
66
|
+
}[];
|
|
62
67
|
created_at: string;
|
|
63
68
|
schema_version: 2;
|
|
64
69
|
id: string;
|
|
@@ -66,6 +71,11 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
66
71
|
root: string;
|
|
67
72
|
}>;
|
|
68
73
|
relinkProject: (id: string, root: string) => Promise<{
|
|
74
|
+
nesting: {
|
|
75
|
+
relation: "inside" | "contains";
|
|
76
|
+
root: string;
|
|
77
|
+
projectId: string;
|
|
78
|
+
}[];
|
|
69
79
|
created_at: string;
|
|
70
80
|
schema_version: 2;
|
|
71
81
|
id: string;
|
|
@@ -81,9 +91,10 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
81
91
|
base_sha: string | null;
|
|
82
92
|
delivered_through_run_id: string | null;
|
|
83
93
|
};
|
|
84
|
-
mode: "ask" | "plan" | "
|
|
94
|
+
mode: "ask" | "plan" | "agent";
|
|
85
95
|
schema_version: 2;
|
|
86
96
|
id: string;
|
|
97
|
+
access: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | null;
|
|
87
98
|
auth_preference: "auto" | "subscription" | "api_key";
|
|
88
99
|
credential_profile_id: string | null;
|
|
89
100
|
title: string | null;
|
|
@@ -102,6 +113,7 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
102
113
|
}>;
|
|
103
114
|
listThreads: () => Promise<{
|
|
104
115
|
threads: unknown[];
|
|
116
|
+
problems: unknown[];
|
|
105
117
|
}>;
|
|
106
118
|
threadDetail: (id: string) => Promise<{
|
|
107
119
|
thread: unknown;
|
|
@@ -112,6 +124,8 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
112
124
|
kind?: unknown;
|
|
113
125
|
parentRunId?: string | null;
|
|
114
126
|
planRunId?: string | null;
|
|
127
|
+
planHash?: string | null;
|
|
128
|
+
planOverridden?: boolean;
|
|
115
129
|
attachments?: ResourceAttachmentRef[];
|
|
116
130
|
idempotency?: {
|
|
117
131
|
key: string;
|
|
@@ -125,8 +139,8 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
125
139
|
prompt: string;
|
|
126
140
|
attachments: {
|
|
127
141
|
path: string;
|
|
128
|
-
name: string;
|
|
129
142
|
kind: "file" | "image";
|
|
143
|
+
name: string;
|
|
130
144
|
resource_id: string;
|
|
131
145
|
mime: string;
|
|
132
146
|
sha256: string;
|
|
@@ -136,12 +150,23 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
136
150
|
run_id: string | null;
|
|
137
151
|
parent_run_id: string | null;
|
|
138
152
|
plan_run_id: string | null;
|
|
153
|
+
plan_hash: string | null;
|
|
154
|
+
plan_readiness_overridden: boolean;
|
|
139
155
|
enqueue_error: {
|
|
140
156
|
code: string | null;
|
|
141
157
|
message: string;
|
|
142
158
|
retryable: boolean;
|
|
143
159
|
failed_at: string;
|
|
144
160
|
} | null;
|
|
161
|
+
continuity: {
|
|
162
|
+
kind: "fresh" | "native_resume" | "packet";
|
|
163
|
+
packet_turns: number;
|
|
164
|
+
summarized: boolean;
|
|
165
|
+
lane_switched_from: {
|
|
166
|
+
profile_id: string | null;
|
|
167
|
+
harness_id: string;
|
|
168
|
+
} | null;
|
|
169
|
+
} | null;
|
|
145
170
|
}>;
|
|
146
171
|
updateThread: (id: string, patch: {
|
|
147
172
|
title?: string;
|
|
@@ -158,9 +183,10 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
158
183
|
base_sha: string | null;
|
|
159
184
|
delivered_through_run_id: string | null;
|
|
160
185
|
};
|
|
161
|
-
mode: "ask" | "plan" | "
|
|
186
|
+
mode: "ask" | "plan" | "agent";
|
|
162
187
|
schema_version: 2;
|
|
163
188
|
id: string;
|
|
189
|
+
access: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | null;
|
|
164
190
|
auth_preference: "auto" | "subscription" | "api_key";
|
|
165
191
|
credential_profile_id: string | null;
|
|
166
192
|
title: string | null;
|
|
@@ -186,9 +212,10 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
186
212
|
base_sha: string | null;
|
|
187
213
|
delivered_through_run_id: string | null;
|
|
188
214
|
};
|
|
189
|
-
mode: "ask" | "plan" | "
|
|
215
|
+
mode: "ask" | "plan" | "agent";
|
|
190
216
|
schema_version: 2;
|
|
191
217
|
id: string;
|
|
218
|
+
access: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | null;
|
|
192
219
|
auth_preference: "auto" | "subscription" | "api_key";
|
|
193
220
|
credential_profile_id: string | null;
|
|
194
221
|
title: string | null;
|
|
@@ -214,9 +241,10 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
214
241
|
base_sha: string | null;
|
|
215
242
|
delivered_through_run_id: string | null;
|
|
216
243
|
};
|
|
217
|
-
mode: "ask" | "plan" | "
|
|
244
|
+
mode: "ask" | "plan" | "agent";
|
|
218
245
|
schema_version: 2;
|
|
219
246
|
id: string;
|
|
247
|
+
access: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | null;
|
|
220
248
|
auth_preference: "auto" | "subscription" | "api_key";
|
|
221
249
|
credential_profile_id: string | null;
|
|
222
250
|
title: string | null;
|
|
@@ -242,9 +270,10 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
242
270
|
base_sha: string | null;
|
|
243
271
|
delivered_through_run_id: string | null;
|
|
244
272
|
};
|
|
245
|
-
mode: "ask" | "plan" | "
|
|
273
|
+
mode: "ask" | "plan" | "agent";
|
|
246
274
|
schema_version: 2;
|
|
247
275
|
id: string;
|
|
276
|
+
access: "readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native" | null;
|
|
248
277
|
auth_preference: "auto" | "subscription" | "api_key";
|
|
249
278
|
credential_profile_id: string | null;
|
|
250
279
|
title: string | null;
|
|
@@ -383,8 +412,8 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
383
412
|
ok: true;
|
|
384
413
|
version: string;
|
|
385
414
|
mutability: {
|
|
386
|
-
readOnlyModes: ("ask" | "plan" | "
|
|
387
|
-
writeModes: ("ask" | "plan" | "
|
|
415
|
+
readOnlyModes: ("ask" | "plan" | "agent")[];
|
|
416
|
+
writeModes: ("ask" | "plan" | "agent")[];
|
|
388
417
|
isolationKinds: ("live" | "envelope")[];
|
|
389
418
|
workspaceModes: ("in_place" | "isolated")[];
|
|
390
419
|
accessProfiles: ("readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native")[];
|
|
@@ -419,7 +448,7 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
419
448
|
readonlyMechanism: "none" | "fs_sandbox" | "permission_deny" | "tool_allowlist";
|
|
420
449
|
}[];
|
|
421
450
|
availableHarnesses: string[];
|
|
422
|
-
modes: ("ask" | "plan" | "
|
|
451
|
+
modes: ("ask" | "plan" | "agent")[];
|
|
423
452
|
runControlKeys: string[];
|
|
424
453
|
cliCommands: {
|
|
425
454
|
id: string;
|
|
@@ -438,7 +467,7 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
438
467
|
message: string;
|
|
439
468
|
harness: "cursor" | "codex" | "claude";
|
|
440
469
|
startedAt: string | null;
|
|
441
|
-
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "
|
|
470
|
+
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "succeeded" | "queued" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
442
471
|
profileId: string | null;
|
|
443
472
|
command: string | null;
|
|
444
473
|
createdAt: string;
|
|
@@ -447,11 +476,6 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
447
476
|
finishedAt: string | null;
|
|
448
477
|
action: "login";
|
|
449
478
|
guideUrl: string | null;
|
|
450
|
-
outcome?: {
|
|
451
|
-
reason: "completed" | "interrupted_unknown" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "interrupted" | "termination_unconfirmed";
|
|
452
|
-
exitCode?: number | null | undefined;
|
|
453
|
-
signal?: string | null | undefined;
|
|
454
|
-
} | undefined;
|
|
455
479
|
execution?: {
|
|
456
480
|
observedAt: string;
|
|
457
481
|
commandDigest: string;
|
|
@@ -471,6 +495,11 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
471
495
|
};
|
|
472
496
|
permitIssuedAt?: string | undefined;
|
|
473
497
|
} | undefined;
|
|
498
|
+
outcome?: {
|
|
499
|
+
reason: "completed" | "interrupted_unknown" | "interrupted" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "termination_unconfirmed";
|
|
500
|
+
exitCode?: number | null | undefined;
|
|
501
|
+
signal?: string | null | undefined;
|
|
502
|
+
} | undefined;
|
|
474
503
|
deadlineAt?: string | undefined;
|
|
475
504
|
authCapability?: {
|
|
476
505
|
attemptId: string;
|
|
@@ -620,7 +649,7 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
620
649
|
message: string;
|
|
621
650
|
harness: "cursor" | "codex" | "claude";
|
|
622
651
|
startedAt: string | null;
|
|
623
|
-
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "
|
|
652
|
+
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "succeeded" | "queued" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
624
653
|
profileId: string | null;
|
|
625
654
|
command: string | null;
|
|
626
655
|
createdAt: string;
|
|
@@ -629,11 +658,6 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
629
658
|
finishedAt: string | null;
|
|
630
659
|
action: "login";
|
|
631
660
|
guideUrl: string | null;
|
|
632
|
-
outcome?: {
|
|
633
|
-
reason: "completed" | "interrupted_unknown" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "interrupted" | "termination_unconfirmed";
|
|
634
|
-
exitCode?: number | null | undefined;
|
|
635
|
-
signal?: string | null | undefined;
|
|
636
|
-
} | undefined;
|
|
637
661
|
execution?: {
|
|
638
662
|
observedAt: string;
|
|
639
663
|
commandDigest: string;
|
|
@@ -653,6 +677,11 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
653
677
|
};
|
|
654
678
|
permitIssuedAt?: string | undefined;
|
|
655
679
|
} | undefined;
|
|
680
|
+
outcome?: {
|
|
681
|
+
reason: "completed" | "interrupted_unknown" | "interrupted" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "termination_unconfirmed";
|
|
682
|
+
exitCode?: number | null | undefined;
|
|
683
|
+
signal?: string | null | undefined;
|
|
684
|
+
} | undefined;
|
|
656
685
|
deadlineAt?: string | undefined;
|
|
657
686
|
authCapability?: {
|
|
658
687
|
attemptId: string;
|
|
@@ -802,7 +831,7 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
802
831
|
message: string;
|
|
803
832
|
harness: "cursor" | "codex" | "claude";
|
|
804
833
|
startedAt: string | null;
|
|
805
|
-
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "
|
|
834
|
+
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "succeeded" | "queued" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
806
835
|
profileId: string | null;
|
|
807
836
|
command: string | null;
|
|
808
837
|
createdAt: string;
|
|
@@ -811,11 +840,6 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
811
840
|
finishedAt: string | null;
|
|
812
841
|
action: "login";
|
|
813
842
|
guideUrl: string | null;
|
|
814
|
-
outcome?: {
|
|
815
|
-
reason: "completed" | "interrupted_unknown" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "interrupted" | "termination_unconfirmed";
|
|
816
|
-
exitCode?: number | null | undefined;
|
|
817
|
-
signal?: string | null | undefined;
|
|
818
|
-
} | undefined;
|
|
819
843
|
execution?: {
|
|
820
844
|
observedAt: string;
|
|
821
845
|
commandDigest: string;
|
|
@@ -835,6 +859,11 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
835
859
|
};
|
|
836
860
|
permitIssuedAt?: string | undefined;
|
|
837
861
|
} | undefined;
|
|
862
|
+
outcome?: {
|
|
863
|
+
reason: "completed" | "interrupted_unknown" | "interrupted" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "termination_unconfirmed";
|
|
864
|
+
exitCode?: number | null | undefined;
|
|
865
|
+
signal?: string | null | undefined;
|
|
866
|
+
} | undefined;
|
|
838
867
|
deadlineAt?: string | undefined;
|
|
839
868
|
authCapability?: {
|
|
840
869
|
attemptId: string;
|
|
@@ -986,7 +1015,7 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
986
1015
|
message: string;
|
|
987
1016
|
harness: "cursor" | "codex" | "claude";
|
|
988
1017
|
startedAt: string | null;
|
|
989
|
-
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "
|
|
1018
|
+
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "succeeded" | "queued" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
990
1019
|
profileId: string | null;
|
|
991
1020
|
command: string | null;
|
|
992
1021
|
createdAt: string;
|
|
@@ -995,11 +1024,6 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
995
1024
|
finishedAt: string | null;
|
|
996
1025
|
action: "login";
|
|
997
1026
|
guideUrl: string | null;
|
|
998
|
-
outcome?: {
|
|
999
|
-
reason: "completed" | "interrupted_unknown" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "interrupted" | "termination_unconfirmed";
|
|
1000
|
-
exitCode?: number | null | undefined;
|
|
1001
|
-
signal?: string | null | undefined;
|
|
1002
|
-
} | undefined;
|
|
1003
1027
|
execution?: {
|
|
1004
1028
|
observedAt: string;
|
|
1005
1029
|
commandDigest: string;
|
|
@@ -1019,6 +1043,11 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
1019
1043
|
};
|
|
1020
1044
|
permitIssuedAt?: string | undefined;
|
|
1021
1045
|
} | undefined;
|
|
1046
|
+
outcome?: {
|
|
1047
|
+
reason: "completed" | "interrupted_unknown" | "interrupted" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "termination_unconfirmed";
|
|
1048
|
+
exitCode?: number | null | undefined;
|
|
1049
|
+
signal?: string | null | undefined;
|
|
1050
|
+
} | undefined;
|
|
1022
1051
|
deadlineAt?: string | undefined;
|
|
1023
1052
|
authCapability?: {
|
|
1024
1053
|
attemptId: string;
|
|
@@ -1167,7 +1196,7 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
1167
1196
|
setupJobEvents: (input: unknown) => Promise<{
|
|
1168
1197
|
message: string;
|
|
1169
1198
|
cursor: string;
|
|
1170
|
-
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "
|
|
1199
|
+
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "succeeded" | "queued" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
1171
1200
|
kind: "status";
|
|
1172
1201
|
time: string;
|
|
1173
1202
|
jobId: string;
|
|
@@ -1177,7 +1206,7 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
1177
1206
|
message: string;
|
|
1178
1207
|
harness: "cursor" | "codex" | "claude";
|
|
1179
1208
|
startedAt: string | null;
|
|
1180
|
-
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "
|
|
1209
|
+
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "succeeded" | "queued" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
1181
1210
|
profileId: string | null;
|
|
1182
1211
|
command: string | null;
|
|
1183
1212
|
createdAt: string;
|
|
@@ -1186,11 +1215,6 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
1186
1215
|
finishedAt: string | null;
|
|
1187
1216
|
action: "login";
|
|
1188
1217
|
guideUrl: string | null;
|
|
1189
|
-
outcome?: {
|
|
1190
|
-
reason: "completed" | "interrupted_unknown" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "interrupted" | "termination_unconfirmed";
|
|
1191
|
-
exitCode?: number | null | undefined;
|
|
1192
|
-
signal?: string | null | undefined;
|
|
1193
|
-
} | undefined;
|
|
1194
1218
|
execution?: {
|
|
1195
1219
|
observedAt: string;
|
|
1196
1220
|
commandDigest: string;
|
|
@@ -1210,6 +1234,11 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
1210
1234
|
};
|
|
1211
1235
|
permitIssuedAt?: string | undefined;
|
|
1212
1236
|
} | undefined;
|
|
1237
|
+
outcome?: {
|
|
1238
|
+
reason: "completed" | "interrupted_unknown" | "interrupted" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "termination_unconfirmed";
|
|
1239
|
+
exitCode?: number | null | undefined;
|
|
1240
|
+
signal?: string | null | undefined;
|
|
1241
|
+
} | undefined;
|
|
1213
1242
|
deadlineAt?: string | undefined;
|
|
1214
1243
|
authCapability?: {
|
|
1215
1244
|
attemptId: string;
|
|
@@ -1359,7 +1388,7 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
1359
1388
|
message: string;
|
|
1360
1389
|
harness: "cursor" | "codex" | "claude";
|
|
1361
1390
|
startedAt: string | null;
|
|
1362
|
-
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "
|
|
1391
|
+
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "succeeded" | "queued" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
1363
1392
|
profileId: string | null;
|
|
1364
1393
|
command: string | null;
|
|
1365
1394
|
createdAt: string;
|
|
@@ -1368,11 +1397,6 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
1368
1397
|
finishedAt: string | null;
|
|
1369
1398
|
action: "login";
|
|
1370
1399
|
guideUrl: string | null;
|
|
1371
|
-
outcome?: {
|
|
1372
|
-
reason: "completed" | "interrupted_unknown" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "interrupted" | "termination_unconfirmed";
|
|
1373
|
-
exitCode?: number | null | undefined;
|
|
1374
|
-
signal?: string | null | undefined;
|
|
1375
|
-
} | undefined;
|
|
1376
1400
|
execution?: {
|
|
1377
1401
|
observedAt: string;
|
|
1378
1402
|
commandDigest: string;
|
|
@@ -1392,6 +1416,11 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
1392
1416
|
};
|
|
1393
1417
|
permitIssuedAt?: string | undefined;
|
|
1394
1418
|
} | undefined;
|
|
1419
|
+
outcome?: {
|
|
1420
|
+
reason: "completed" | "interrupted_unknown" | "interrupted" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "termination_unconfirmed";
|
|
1421
|
+
exitCode?: number | null | undefined;
|
|
1422
|
+
signal?: string | null | undefined;
|
|
1423
|
+
} | undefined;
|
|
1395
1424
|
deadlineAt?: string | undefined;
|
|
1396
1425
|
authCapability?: {
|
|
1397
1426
|
attemptId: string;
|
|
@@ -1540,7 +1569,7 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
1540
1569
|
message: string;
|
|
1541
1570
|
harness: "cursor" | "codex" | "claude";
|
|
1542
1571
|
startedAt: string | null;
|
|
1543
|
-
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "
|
|
1572
|
+
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "succeeded" | "queued" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
1544
1573
|
profileId: string | null;
|
|
1545
1574
|
command: string | null;
|
|
1546
1575
|
createdAt: string;
|
|
@@ -1549,11 +1578,6 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
1549
1578
|
finishedAt: string | null;
|
|
1550
1579
|
action: "login";
|
|
1551
1580
|
guideUrl: string | null;
|
|
1552
|
-
outcome?: {
|
|
1553
|
-
reason: "completed" | "interrupted_unknown" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "interrupted" | "termination_unconfirmed";
|
|
1554
|
-
exitCode?: number | null | undefined;
|
|
1555
|
-
signal?: string | null | undefined;
|
|
1556
|
-
} | undefined;
|
|
1557
1581
|
execution?: {
|
|
1558
1582
|
observedAt: string;
|
|
1559
1583
|
commandDigest: string;
|
|
@@ -1573,6 +1597,11 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
1573
1597
|
};
|
|
1574
1598
|
permitIssuedAt?: string | undefined;
|
|
1575
1599
|
} | undefined;
|
|
1600
|
+
outcome?: {
|
|
1601
|
+
reason: "completed" | "interrupted_unknown" | "interrupted" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "termination_unconfirmed";
|
|
1602
|
+
exitCode?: number | null | undefined;
|
|
1603
|
+
signal?: string | null | undefined;
|
|
1604
|
+
} | undefined;
|
|
1576
1605
|
deadlineAt?: string | undefined;
|
|
1577
1606
|
authCapability?: {
|
|
1578
1607
|
attemptId: string;
|
|
@@ -1721,7 +1750,7 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
1721
1750
|
message: string;
|
|
1722
1751
|
harness: "cursor" | "codex" | "claude";
|
|
1723
1752
|
startedAt: string | null;
|
|
1724
|
-
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "
|
|
1753
|
+
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "succeeded" | "queued" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
1725
1754
|
profileId: string | null;
|
|
1726
1755
|
command: string | null;
|
|
1727
1756
|
createdAt: string;
|
|
@@ -1730,11 +1759,6 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
1730
1759
|
finishedAt: string | null;
|
|
1731
1760
|
action: "login";
|
|
1732
1761
|
guideUrl: string | null;
|
|
1733
|
-
outcome?: {
|
|
1734
|
-
reason: "completed" | "interrupted_unknown" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "interrupted" | "termination_unconfirmed";
|
|
1735
|
-
exitCode?: number | null | undefined;
|
|
1736
|
-
signal?: string | null | undefined;
|
|
1737
|
-
} | undefined;
|
|
1738
1762
|
execution?: {
|
|
1739
1763
|
observedAt: string;
|
|
1740
1764
|
commandDigest: string;
|
|
@@ -1754,6 +1778,11 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
1754
1778
|
};
|
|
1755
1779
|
permitIssuedAt?: string | undefined;
|
|
1756
1780
|
} | undefined;
|
|
1781
|
+
outcome?: {
|
|
1782
|
+
reason: "completed" | "interrupted_unknown" | "interrupted" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "termination_unconfirmed";
|
|
1783
|
+
exitCode?: number | null | undefined;
|
|
1784
|
+
signal?: string | null | undefined;
|
|
1785
|
+
} | undefined;
|
|
1757
1786
|
deadlineAt?: string | undefined;
|
|
1758
1787
|
authCapability?: {
|
|
1759
1788
|
attemptId: string;
|
|
@@ -1984,14 +2013,13 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
1984
2013
|
sources: string[];
|
|
1985
2014
|
interactionTimeoutMs: number;
|
|
1986
2015
|
routing: {
|
|
1987
|
-
defaultPolicy: "auto" | "primary";
|
|
1988
2016
|
primaryHarness: string | null;
|
|
1989
2017
|
eligibleHarnesses: string[];
|
|
1990
2018
|
envInheritance: "mirror_native" | "clean";
|
|
1991
|
-
authPreference: "
|
|
2019
|
+
authPreference: "api_key" | "auto" | "subscription";
|
|
1992
2020
|
goal: "auto" | "quality" | "economy";
|
|
1993
2021
|
paidFallback: "never" | "when_unavailable" | "allowed_within_cap";
|
|
1994
|
-
qualityTiers: Partial<Record<"synthesize" | "
|
|
2022
|
+
qualityTiers: Partial<Record<"synthesize" | "review" | "plan" | "spec" | "implement" | "create_from_scratch" | "repair" | "verify" | "explain" | "audit", {
|
|
1995
2023
|
harness: string;
|
|
1996
2024
|
model: string;
|
|
1997
2025
|
effort: "low" | "medium" | "high" | "xhigh" | "max";
|
|
@@ -2017,6 +2045,7 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
2017
2045
|
harnesses: {
|
|
2018
2046
|
[k: string]: {
|
|
2019
2047
|
enabled: boolean;
|
|
2048
|
+
nativeCredentialsEnabled: boolean;
|
|
2020
2049
|
defaultModel: string | null;
|
|
2021
2050
|
effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
2022
2051
|
maxTurns: number | null;
|
|
@@ -2025,8 +2054,8 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
2025
2054
|
toolsDeny: string[];
|
|
2026
2055
|
fallbackModel: string | null;
|
|
2027
2056
|
web: "auto" | "live" | "off" | "cached";
|
|
2028
|
-
authPreference: "
|
|
2029
|
-
profileLimitAction: "
|
|
2057
|
+
authPreference: "api_key" | "auto" | "subscription";
|
|
2058
|
+
profileLimitAction: "fail" | "ask" | "rotate";
|
|
2030
2059
|
};
|
|
2031
2060
|
};
|
|
2032
2061
|
}>;
|
|
@@ -2050,6 +2079,17 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
2050
2079
|
observed_at: string;
|
|
2051
2080
|
freshness: "unknown" | "fresh" | "stale";
|
|
2052
2081
|
}[];
|
|
2082
|
+
absences: {
|
|
2083
|
+
detail: string | null;
|
|
2084
|
+
reason: "not_logged_in" | "transport_unavailable" | "platform_unsupported" | "refresh_failed" | "no_source";
|
|
2085
|
+
subject: {
|
|
2086
|
+
harness: string;
|
|
2087
|
+
credential_route: "local" | "vendor_native" | "managed_api_key";
|
|
2088
|
+
plan_label: string | null;
|
|
2089
|
+
subject_id: string | null;
|
|
2090
|
+
};
|
|
2091
|
+
observed_at: string;
|
|
2092
|
+
}[];
|
|
2053
2093
|
refreshed_at: string | null;
|
|
2054
2094
|
}>;
|
|
2055
2095
|
refreshQuota: () => Promise<{
|
|
@@ -2072,6 +2112,17 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
2072
2112
|
observed_at: string;
|
|
2073
2113
|
freshness: "unknown" | "fresh" | "stale";
|
|
2074
2114
|
}[];
|
|
2115
|
+
absences: {
|
|
2116
|
+
detail: string | null;
|
|
2117
|
+
reason: "not_logged_in" | "transport_unavailable" | "platform_unsupported" | "refresh_failed" | "no_source";
|
|
2118
|
+
subject: {
|
|
2119
|
+
harness: string;
|
|
2120
|
+
credential_route: "local" | "vendor_native" | "managed_api_key";
|
|
2121
|
+
plan_label: string | null;
|
|
2122
|
+
subject_id: string | null;
|
|
2123
|
+
};
|
|
2124
|
+
observed_at: string;
|
|
2125
|
+
}[];
|
|
2075
2126
|
refreshed_at: string | null;
|
|
2076
2127
|
}>;
|
|
2077
2128
|
credentialProfiles: () => Promise<{
|
|
@@ -2094,8 +2145,50 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
2094
2145
|
last_verified_at: string | null;
|
|
2095
2146
|
detail?: string | undefined;
|
|
2096
2147
|
};
|
|
2148
|
+
identity: {
|
|
2149
|
+
plan?: string | undefined;
|
|
2150
|
+
email?: string | undefined;
|
|
2151
|
+
} | null;
|
|
2152
|
+
}[];
|
|
2153
|
+
harnessAccounts: {
|
|
2154
|
+
harness_id: string;
|
|
2155
|
+
native_credentials_enabled: boolean;
|
|
2156
|
+
native_login_detected: boolean;
|
|
2157
|
+
identity: {
|
|
2158
|
+
plan?: string | undefined;
|
|
2159
|
+
email?: string | undefined;
|
|
2160
|
+
} | null;
|
|
2161
|
+
next_up: {
|
|
2162
|
+
kind: "profile";
|
|
2163
|
+
profileId: string;
|
|
2164
|
+
} | {
|
|
2165
|
+
kind: "native";
|
|
2166
|
+
} | {
|
|
2167
|
+
kind: "none";
|
|
2168
|
+
reason: string;
|
|
2169
|
+
};
|
|
2097
2170
|
}[];
|
|
2098
2171
|
}>;
|
|
2172
|
+
updateCredentialProfile: (input: unknown) => Promise<{
|
|
2173
|
+
profile: {
|
|
2174
|
+
profile_id: string;
|
|
2175
|
+
harness_id: string;
|
|
2176
|
+
display_name: string;
|
|
2177
|
+
credential_kind: "api_key" | "config_dir_login" | "oauth_token";
|
|
2178
|
+
isolation_locator: string | null;
|
|
2179
|
+
secret_ref: string | null;
|
|
2180
|
+
enabled: boolean;
|
|
2181
|
+
created_at: string | null;
|
|
2182
|
+
};
|
|
2183
|
+
status: {
|
|
2184
|
+
availability: "unknown" | "available" | "unavailable";
|
|
2185
|
+
verification: "passed" | "failed" | "not_run";
|
|
2186
|
+
profile_id: string;
|
|
2187
|
+
harness_id: string;
|
|
2188
|
+
last_verified_at: string | null;
|
|
2189
|
+
detail?: string | undefined;
|
|
2190
|
+
};
|
|
2191
|
+
}>;
|
|
2099
2192
|
deleteCredentialProfile: (input: unknown) => Promise<{
|
|
2100
2193
|
cleanupWarning?: string | undefined;
|
|
2101
2194
|
profile: {
|
|
@@ -2135,14 +2228,13 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
2135
2228
|
sources: string[];
|
|
2136
2229
|
interactionTimeoutMs: number;
|
|
2137
2230
|
routing: {
|
|
2138
|
-
defaultPolicy: "auto" | "primary";
|
|
2139
2231
|
primaryHarness: string | null;
|
|
2140
2232
|
eligibleHarnesses: string[];
|
|
2141
2233
|
envInheritance: "mirror_native" | "clean";
|
|
2142
|
-
authPreference: "
|
|
2234
|
+
authPreference: "api_key" | "auto" | "subscription";
|
|
2143
2235
|
goal: "auto" | "quality" | "economy";
|
|
2144
2236
|
paidFallback: "never" | "when_unavailable" | "allowed_within_cap";
|
|
2145
|
-
qualityTiers: Partial<Record<"synthesize" | "
|
|
2237
|
+
qualityTiers: Partial<Record<"synthesize" | "review" | "plan" | "spec" | "implement" | "create_from_scratch" | "repair" | "verify" | "explain" | "audit", {
|
|
2146
2238
|
harness: string;
|
|
2147
2239
|
model: string;
|
|
2148
2240
|
effort: "low" | "medium" | "high" | "xhigh" | "max";
|
|
@@ -2168,6 +2260,7 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
2168
2260
|
harnesses: {
|
|
2169
2261
|
[k: string]: {
|
|
2170
2262
|
enabled: boolean;
|
|
2263
|
+
nativeCredentialsEnabled: boolean;
|
|
2171
2264
|
defaultModel: string | null;
|
|
2172
2265
|
effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
2173
2266
|
maxTurns: number | null;
|
|
@@ -2176,8 +2269,8 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
2176
2269
|
toolsDeny: string[];
|
|
2177
2270
|
fallbackModel: string | null;
|
|
2178
2271
|
web: "auto" | "live" | "off" | "cached";
|
|
2179
|
-
authPreference: "
|
|
2180
|
-
profileLimitAction: "
|
|
2272
|
+
authPreference: "api_key" | "auto" | "subscription";
|
|
2273
|
+
profileLimitAction: "fail" | "ask" | "rotate";
|
|
2181
2274
|
};
|
|
2182
2275
|
};
|
|
2183
2276
|
}>;
|
|
@@ -2199,292 +2292,6 @@ export declare function controlServices(interactions: InteractionRegistry, proje
|
|
|
2199
2292
|
name: string;
|
|
2200
2293
|
deleted: boolean;
|
|
2201
2294
|
}>;
|
|
2202
|
-
createSpecSession: (input: {
|
|
2203
|
-
request: ControlSpecQuestionsRequest;
|
|
2204
|
-
idempotencyKey: string;
|
|
2205
|
-
clientId: string;
|
|
2206
|
-
}) => Promise<{
|
|
2207
|
-
state: "failed" | "cancelled" | "interrupted_unknown" | "questions" | "frozen" | "grounding" | "answered" | "freezing";
|
|
2208
|
-
error: string | null;
|
|
2209
|
-
createdAt: string;
|
|
2210
|
-
prompt: string;
|
|
2211
|
-
questions: {
|
|
2212
|
-
options: {
|
|
2213
|
-
id: string;
|
|
2214
|
-
label: string;
|
|
2215
|
-
}[];
|
|
2216
|
-
kind: "text" | "single" | "multi";
|
|
2217
|
-
id: string;
|
|
2218
|
-
prompt: string;
|
|
2219
|
-
tier: number;
|
|
2220
|
-
allow_text: boolean;
|
|
2221
|
-
rationale?: string | undefined;
|
|
2222
|
-
}[];
|
|
2223
|
-
answers: {
|
|
2224
|
-
question_id: string;
|
|
2225
|
-
text: string | null;
|
|
2226
|
-
option_ids: string[];
|
|
2227
|
-
}[];
|
|
2228
|
-
planRunId: string | null;
|
|
2229
|
-
scope: {
|
|
2230
|
-
kind: "project";
|
|
2231
|
-
root: string;
|
|
2232
|
-
context: "auto";
|
|
2233
|
-
};
|
|
2234
|
-
specPath: string | null;
|
|
2235
|
-
specId: string | null;
|
|
2236
|
-
specHash: string | null;
|
|
2237
|
-
threadId: string | null;
|
|
2238
|
-
sessionId: string;
|
|
2239
|
-
updatedAt: string;
|
|
2240
|
-
priorDecisions: {
|
|
2241
|
-
question: string;
|
|
2242
|
-
answer: string;
|
|
2243
|
-
}[];
|
|
2244
|
-
specDir: string | null;
|
|
2245
|
-
}>;
|
|
2246
|
-
listSpecSessions: () => Promise<{
|
|
2247
|
-
sessions: {
|
|
2248
|
-
state: "failed" | "cancelled" | "interrupted_unknown" | "questions" | "frozen" | "grounding" | "answered" | "freezing";
|
|
2249
|
-
error: string | null;
|
|
2250
|
-
createdAt: string;
|
|
2251
|
-
prompt: string;
|
|
2252
|
-
questions: {
|
|
2253
|
-
options: {
|
|
2254
|
-
id: string;
|
|
2255
|
-
label: string;
|
|
2256
|
-
}[];
|
|
2257
|
-
kind: "text" | "single" | "multi";
|
|
2258
|
-
id: string;
|
|
2259
|
-
prompt: string;
|
|
2260
|
-
tier: number;
|
|
2261
|
-
allow_text: boolean;
|
|
2262
|
-
rationale?: string | undefined;
|
|
2263
|
-
}[];
|
|
2264
|
-
answers: {
|
|
2265
|
-
question_id: string;
|
|
2266
|
-
text: string | null;
|
|
2267
|
-
option_ids: string[];
|
|
2268
|
-
}[];
|
|
2269
|
-
planRunId: string | null;
|
|
2270
|
-
scope: {
|
|
2271
|
-
kind: "project";
|
|
2272
|
-
root: string;
|
|
2273
|
-
context: "auto";
|
|
2274
|
-
};
|
|
2275
|
-
specPath: string | null;
|
|
2276
|
-
specId: string | null;
|
|
2277
|
-
specHash: string | null;
|
|
2278
|
-
threadId: string | null;
|
|
2279
|
-
sessionId: string;
|
|
2280
|
-
updatedAt: string;
|
|
2281
|
-
priorDecisions: {
|
|
2282
|
-
question: string;
|
|
2283
|
-
answer: string;
|
|
2284
|
-
}[];
|
|
2285
|
-
specDir: string | null;
|
|
2286
|
-
}[];
|
|
2287
|
-
}>;
|
|
2288
|
-
getSpecSession: (id: string) => Promise<{
|
|
2289
|
-
state: "failed" | "cancelled" | "interrupted_unknown" | "questions" | "frozen" | "grounding" | "answered" | "freezing";
|
|
2290
|
-
error: string | null;
|
|
2291
|
-
createdAt: string;
|
|
2292
|
-
prompt: string;
|
|
2293
|
-
questions: {
|
|
2294
|
-
options: {
|
|
2295
|
-
id: string;
|
|
2296
|
-
label: string;
|
|
2297
|
-
}[];
|
|
2298
|
-
kind: "text" | "single" | "multi";
|
|
2299
|
-
id: string;
|
|
2300
|
-
prompt: string;
|
|
2301
|
-
tier: number;
|
|
2302
|
-
allow_text: boolean;
|
|
2303
|
-
rationale?: string | undefined;
|
|
2304
|
-
}[];
|
|
2305
|
-
answers: {
|
|
2306
|
-
question_id: string;
|
|
2307
|
-
text: string | null;
|
|
2308
|
-
option_ids: string[];
|
|
2309
|
-
}[];
|
|
2310
|
-
planRunId: string | null;
|
|
2311
|
-
scope: {
|
|
2312
|
-
kind: "project";
|
|
2313
|
-
root: string;
|
|
2314
|
-
context: "auto";
|
|
2315
|
-
};
|
|
2316
|
-
specPath: string | null;
|
|
2317
|
-
specId: string | null;
|
|
2318
|
-
specHash: string | null;
|
|
2319
|
-
threadId: string | null;
|
|
2320
|
-
sessionId: string;
|
|
2321
|
-
updatedAt: string;
|
|
2322
|
-
priorDecisions: {
|
|
2323
|
-
question: string;
|
|
2324
|
-
answer: string;
|
|
2325
|
-
}[];
|
|
2326
|
-
specDir: string | null;
|
|
2327
|
-
} | undefined>;
|
|
2328
|
-
answerSpecSession: (id: string, input: ControlSpecAnswersRequest) => Promise<{
|
|
2329
|
-
state: "failed" | "cancelled" | "interrupted_unknown" | "questions" | "frozen" | "grounding" | "answered" | "freezing";
|
|
2330
|
-
error: string | null;
|
|
2331
|
-
createdAt: string;
|
|
2332
|
-
prompt: string;
|
|
2333
|
-
questions: {
|
|
2334
|
-
options: {
|
|
2335
|
-
id: string;
|
|
2336
|
-
label: string;
|
|
2337
|
-
}[];
|
|
2338
|
-
kind: "text" | "single" | "multi";
|
|
2339
|
-
id: string;
|
|
2340
|
-
prompt: string;
|
|
2341
|
-
tier: number;
|
|
2342
|
-
allow_text: boolean;
|
|
2343
|
-
rationale?: string | undefined;
|
|
2344
|
-
}[];
|
|
2345
|
-
answers: {
|
|
2346
|
-
question_id: string;
|
|
2347
|
-
text: string | null;
|
|
2348
|
-
option_ids: string[];
|
|
2349
|
-
}[];
|
|
2350
|
-
planRunId: string | null;
|
|
2351
|
-
scope: {
|
|
2352
|
-
kind: "project";
|
|
2353
|
-
root: string;
|
|
2354
|
-
context: "auto";
|
|
2355
|
-
};
|
|
2356
|
-
specPath: string | null;
|
|
2357
|
-
specId: string | null;
|
|
2358
|
-
specHash: string | null;
|
|
2359
|
-
threadId: string | null;
|
|
2360
|
-
sessionId: string;
|
|
2361
|
-
updatedAt: string;
|
|
2362
|
-
priorDecisions: {
|
|
2363
|
-
question: string;
|
|
2364
|
-
answer: string;
|
|
2365
|
-
}[];
|
|
2366
|
-
specDir: string | null;
|
|
2367
|
-
}>;
|
|
2368
|
-
freezeSpecSession: (id: string) => Promise<{
|
|
2369
|
-
state: "failed" | "cancelled" | "interrupted_unknown" | "questions" | "frozen" | "grounding" | "answered" | "freezing";
|
|
2370
|
-
error: string | null;
|
|
2371
|
-
createdAt: string;
|
|
2372
|
-
prompt: string;
|
|
2373
|
-
questions: {
|
|
2374
|
-
options: {
|
|
2375
|
-
id: string;
|
|
2376
|
-
label: string;
|
|
2377
|
-
}[];
|
|
2378
|
-
kind: "text" | "single" | "multi";
|
|
2379
|
-
id: string;
|
|
2380
|
-
prompt: string;
|
|
2381
|
-
tier: number;
|
|
2382
|
-
allow_text: boolean;
|
|
2383
|
-
rationale?: string | undefined;
|
|
2384
|
-
}[];
|
|
2385
|
-
answers: {
|
|
2386
|
-
question_id: string;
|
|
2387
|
-
text: string | null;
|
|
2388
|
-
option_ids: string[];
|
|
2389
|
-
}[];
|
|
2390
|
-
planRunId: string | null;
|
|
2391
|
-
scope: {
|
|
2392
|
-
kind: "project";
|
|
2393
|
-
root: string;
|
|
2394
|
-
context: "auto";
|
|
2395
|
-
};
|
|
2396
|
-
specPath: string | null;
|
|
2397
|
-
specId: string | null;
|
|
2398
|
-
specHash: string | null;
|
|
2399
|
-
threadId: string | null;
|
|
2400
|
-
sessionId: string;
|
|
2401
|
-
updatedAt: string;
|
|
2402
|
-
priorDecisions: {
|
|
2403
|
-
question: string;
|
|
2404
|
-
answer: string;
|
|
2405
|
-
}[];
|
|
2406
|
-
specDir: string | null;
|
|
2407
|
-
}>;
|
|
2408
|
-
cancelSpecSession: (id: string) => Promise<{
|
|
2409
|
-
state: "failed" | "cancelled" | "interrupted_unknown" | "questions" | "frozen" | "grounding" | "answered" | "freezing";
|
|
2410
|
-
error: string | null;
|
|
2411
|
-
createdAt: string;
|
|
2412
|
-
prompt: string;
|
|
2413
|
-
questions: {
|
|
2414
|
-
options: {
|
|
2415
|
-
id: string;
|
|
2416
|
-
label: string;
|
|
2417
|
-
}[];
|
|
2418
|
-
kind: "text" | "single" | "multi";
|
|
2419
|
-
id: string;
|
|
2420
|
-
prompt: string;
|
|
2421
|
-
tier: number;
|
|
2422
|
-
allow_text: boolean;
|
|
2423
|
-
rationale?: string | undefined;
|
|
2424
|
-
}[];
|
|
2425
|
-
answers: {
|
|
2426
|
-
question_id: string;
|
|
2427
|
-
text: string | null;
|
|
2428
|
-
option_ids: string[];
|
|
2429
|
-
}[];
|
|
2430
|
-
planRunId: string | null;
|
|
2431
|
-
scope: {
|
|
2432
|
-
kind: "project";
|
|
2433
|
-
root: string;
|
|
2434
|
-
context: "auto";
|
|
2435
|
-
};
|
|
2436
|
-
specPath: string | null;
|
|
2437
|
-
specId: string | null;
|
|
2438
|
-
specHash: string | null;
|
|
2439
|
-
threadId: string | null;
|
|
2440
|
-
sessionId: string;
|
|
2441
|
-
updatedAt: string;
|
|
2442
|
-
priorDecisions: {
|
|
2443
|
-
question: string;
|
|
2444
|
-
answer: string;
|
|
2445
|
-
}[];
|
|
2446
|
-
specDir: string | null;
|
|
2447
|
-
}>;
|
|
2448
|
-
resumeSpecSession: (id: string) => Promise<{
|
|
2449
|
-
state: "failed" | "cancelled" | "interrupted_unknown" | "questions" | "frozen" | "grounding" | "answered" | "freezing";
|
|
2450
|
-
error: string | null;
|
|
2451
|
-
createdAt: string;
|
|
2452
|
-
prompt: string;
|
|
2453
|
-
questions: {
|
|
2454
|
-
options: {
|
|
2455
|
-
id: string;
|
|
2456
|
-
label: string;
|
|
2457
|
-
}[];
|
|
2458
|
-
kind: "text" | "single" | "multi";
|
|
2459
|
-
id: string;
|
|
2460
|
-
prompt: string;
|
|
2461
|
-
tier: number;
|
|
2462
|
-
allow_text: boolean;
|
|
2463
|
-
rationale?: string | undefined;
|
|
2464
|
-
}[];
|
|
2465
|
-
answers: {
|
|
2466
|
-
question_id: string;
|
|
2467
|
-
text: string | null;
|
|
2468
|
-
option_ids: string[];
|
|
2469
|
-
}[];
|
|
2470
|
-
planRunId: string | null;
|
|
2471
|
-
scope: {
|
|
2472
|
-
kind: "project";
|
|
2473
|
-
root: string;
|
|
2474
|
-
context: "auto";
|
|
2475
|
-
};
|
|
2476
|
-
specPath: string | null;
|
|
2477
|
-
specId: string | null;
|
|
2478
|
-
specHash: string | null;
|
|
2479
|
-
threadId: string | null;
|
|
2480
|
-
sessionId: string;
|
|
2481
|
-
updatedAt: string;
|
|
2482
|
-
priorDecisions: {
|
|
2483
|
-
question: string;
|
|
2484
|
-
answer: string;
|
|
2485
|
-
}[];
|
|
2486
|
-
specDir: string | null;
|
|
2487
|
-
}>;
|
|
2488
2295
|
};
|
|
2489
2296
|
export {};
|
|
2490
2297
|
//# sourceMappingURL=control-services.d.ts.map
|