@hearsay-tools/squawk 0.19.0-dev.9113 → 0.19.0-dev.9128
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/ci-wait/errors.js +1 -1
- package/dist/ci-wait/errors.js.map +1 -1
- package/dist/{delegation/input.js → core/agent-input-queue.js} +2 -2
- package/dist/core/agent-input-queue.js.map +1 -0
- package/dist/core/agent-runner.d.ts +1 -1
- package/dist/core/delegation-error.d.ts +13 -0
- package/dist/core/delegation-error.js +18 -0
- package/dist/core/delegation-error.js.map +1 -0
- package/dist/core/retry-backoff.js.map +1 -0
- package/dist/core/session-process.d.ts +1 -1
- package/dist/core/spawn-scope.d.ts +10 -0
- package/dist/core/spawn-scope.js +2 -0
- package/dist/core/spawn-scope.js.map +1 -0
- package/dist/delegation/cli.js +1 -1
- package/dist/delegation/cli.js.map +1 -1
- package/dist/delegation/context.d.ts +1 -1
- package/dist/delegation/context.js +1 -1
- package/dist/delegation/context.js.map +1 -1
- package/dist/delegation/conversation-send.js +1 -1
- package/dist/delegation/conversation-send.js.map +1 -1
- package/dist/delegation/conversations.js +1 -1
- package/dist/delegation/conversations.js.map +1 -1
- package/dist/delegation/effort.js +1 -1
- package/dist/delegation/effort.js.map +1 -1
- package/dist/delegation/execution-settings.js +1 -1
- package/dist/delegation/execution-settings.js.map +1 -1
- package/dist/delegation/policy.d.ts +1 -12
- package/dist/delegation/policy.js +1 -16
- package/dist/delegation/policy.js.map +1 -1
- package/dist/delegation/routes.d.ts +93 -93
- package/dist/delegation/routes.js +1 -1
- package/dist/delegation/routes.js.map +1 -1
- package/dist/delegation/scratch-cleanup.js +1 -1
- package/dist/delegation/scratch-cleanup.js.map +1 -1
- package/dist/delegation/service.js +2 -1
- package/dist/delegation/service.js.map +1 -1
- package/dist/delegation/task-discovery.js +2 -1
- package/dist/delegation/task-discovery.js.map +1 -1
- package/dist/delegation/transport.d.ts +88 -88
- package/dist/delegation/wait-kinds.js +2 -1
- package/dist/delegation/wait-kinds.js.map +1 -1
- package/dist/delegation/worker-cleanup.d.ts +1 -1
- package/dist/delegation/worker-cleanup.js +2 -2
- package/dist/delegation/worker-cleanup.js.map +1 -1
- package/dist/delegation/worker-executions.d.ts +2 -1
- package/dist/delegation/worker-executions.js.map +1 -1
- package/dist/delegation/workspace-kinds.js +1 -1
- package/dist/delegation/workspace-kinds.js.map +1 -1
- package/dist/delegation/workspace.js +1 -1
- package/dist/delegation/workspace.js.map +1 -1
- package/dist/features/automations/automations-routes.d.ts +150 -150
- package/dist/features/reports/routes.d.ts +2 -2
- package/dist/plugin/runner-kit.d.ts +1 -1
- package/dist/preview/dev-server.d.ts +1 -1
- package/dist/preview/host.d.ts +1 -1
- package/dist/runs/run-archive.d.ts +72 -72
- package/dist/server/live-routes.d.ts +6 -6
- package/dist/server/models-routes.d.ts +12 -12
- package/dist/server/project-run-files.js +1 -1
- package/dist/server/project-run-files.js.map +1 -1
- package/dist/server/providers-routes.d.ts +58 -58
- package/dist/server/repo-routes.d.ts +52 -52
- package/dist/server/runners-routes.d.ts +10 -10
- package/dist/server/runs-routes.d.ts +666 -666
- package/dist/server/workspace-live-routes.d.ts +11 -11
- package/dist/server/workspace-routes.d.ts +85 -85
- package/dist/worker-scope/scope.d.ts +0 -10
- package/dist/worker-scope/worker-scopes.d.ts +2 -1
- package/dist/worker-scope/worker-scopes.js.map +1 -1
- package/dist/workflows/continuation-admission.d.ts +72 -72
- package/dist/workflows/grouped-command.d.ts +1 -1
- package/dist/workflows/run/auto-resume.js +1 -1
- package/dist/workflows/run/auto-resume.js.map +1 -1
- package/dist/workflows/run/inbox-claims.js +1 -1
- package/dist/workflows/run/inbox-claims.js.map +1 -1
- package/dist/workflows/run/input-batch.js +1 -1
- package/dist/workflows/run/input-batch.js.map +1 -1
- package/dist/workflows/run/input-delivery.js +2 -2
- package/dist/workflows/run/input-delivery.js.map +1 -1
- package/dist/workflows/run/launch-read-resolver.js +1 -1
- package/dist/workflows/run/launch-read-resolver.js.map +1 -1
- package/dist/workflows/run/resolved-wait-input-batch.js +1 -1
- package/dist/workflows/run/resolved-wait-input-batch.js.map +1 -1
- package/dist/workflows/run/run-cancel.js +1 -1
- package/dist/workflows/run/run-cancel.js.map +1 -1
- package/dist/workflows/run/run-recovery.js +1 -1
- package/dist/workflows/run/run-recovery.js.map +1 -1
- package/dist/workflows/run/run-start.js +1 -1
- package/dist/workflows/run/run-start.js.map +1 -1
- package/dist/workflows/run/turn-nudges.js +1 -1
- package/dist/workflows/run/turn-nudges.js.map +1 -1
- package/dist/workflows/run/wait-engine.d.ts +72 -72
- package/dist/workflows/run/wake-admission.js +1 -1
- package/dist/workflows/run/wake-admission.js.map +1 -1
- package/dist/workflows/run/wake-ledger.js +1 -1
- package/dist/workflows/run/wake-ledger.js.map +1 -1
- package/dist/workflows/run/wake-retries.d.ts +1 -1
- package/dist/workflows/run/wake-retries.js +1 -1
- package/dist/workflows/run/wake-retries.js.map +1 -1
- package/dist/workflows/run/worker-orphans.d.ts +1 -1
- package/dist/workflows/run/worker-orphans.js +1 -1
- package/dist/workflows/run/worker-orphans.js.map +1 -1
- package/dist/workflows/run/worker-questions.js +1 -1
- package/dist/workflows/run/worker-questions.js.map +1 -1
- package/dist/workflows/wait-scope.d.ts +1 -1
- package/dist/workflows/wait-scope.js +2 -2
- package/dist/workflows/wait-scope.js.map +1 -1
- package/dist/worktree-setup.d.ts +1 -1
- package/package.json +4 -4
- package/dist/delegation/input.js.map +0 -1
- package/dist/delegation/retry-backoff.js.map +0 -1
- /package/dist/{delegation/input.d.ts → core/agent-input-queue.d.ts} +0 -0
- /package/dist/{delegation → core}/retry-backoff.d.ts +0 -0
- /package/dist/{delegation → core}/retry-backoff.js +0 -0
|
@@ -233,30 +233,6 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
233
233
|
deadline: string;
|
|
234
234
|
seconds: number;
|
|
235
235
|
note?: string | undefined;
|
|
236
|
-
} | {
|
|
237
|
-
id: string;
|
|
238
|
-
source: "agent" | "cezar";
|
|
239
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
240
|
-
registeredAt: string;
|
|
241
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
242
|
-
resolvedAt?: string | undefined;
|
|
243
|
-
deliveredAt?: string | undefined;
|
|
244
|
-
cancelledAt?: string | undefined;
|
|
245
|
-
turnId: string;
|
|
246
|
-
kind: "process";
|
|
247
|
-
deadline: string;
|
|
248
|
-
timeoutSeconds: number;
|
|
249
|
-
pid: number;
|
|
250
|
-
startToken?: string | undefined;
|
|
251
|
-
exitFile?: string | undefined;
|
|
252
|
-
note?: string | undefined;
|
|
253
|
-
result?: {
|
|
254
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
255
|
-
observedAt: string;
|
|
256
|
-
exitCode?: number | undefined;
|
|
257
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
258
|
-
diagnostic?: string | undefined;
|
|
259
|
-
} | undefined;
|
|
260
236
|
} | {
|
|
261
237
|
id: string;
|
|
262
238
|
source: "agent" | "cezar";
|
|
@@ -318,6 +294,30 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
318
294
|
reason: "outcome" | "timeout";
|
|
319
295
|
} | undefined;
|
|
320
296
|
wakeInputId?: string | undefined;
|
|
297
|
+
} | {
|
|
298
|
+
id: string;
|
|
299
|
+
source: "agent" | "cezar";
|
|
300
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
301
|
+
registeredAt: string;
|
|
302
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
303
|
+
resolvedAt?: string | undefined;
|
|
304
|
+
deliveredAt?: string | undefined;
|
|
305
|
+
cancelledAt?: string | undefined;
|
|
306
|
+
turnId: string;
|
|
307
|
+
kind: "process";
|
|
308
|
+
deadline: string;
|
|
309
|
+
timeoutSeconds: number;
|
|
310
|
+
pid: number;
|
|
311
|
+
startToken?: string | undefined;
|
|
312
|
+
exitFile?: string | undefined;
|
|
313
|
+
note?: string | undefined;
|
|
314
|
+
result?: {
|
|
315
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
316
|
+
observedAt: string;
|
|
317
|
+
exitCode?: number | undefined;
|
|
318
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
319
|
+
diagnostic?: string | undefined;
|
|
320
|
+
} | undefined;
|
|
321
321
|
} | {
|
|
322
322
|
id: string;
|
|
323
323
|
source: "agent" | "cezar";
|
|
@@ -446,30 +446,6 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
446
446
|
deadline: string;
|
|
447
447
|
seconds: number;
|
|
448
448
|
note?: string | undefined;
|
|
449
|
-
} | {
|
|
450
|
-
id: string;
|
|
451
|
-
source: "agent" | "cezar";
|
|
452
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
453
|
-
registeredAt: string;
|
|
454
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
455
|
-
resolvedAt?: string | undefined;
|
|
456
|
-
deliveredAt?: string | undefined;
|
|
457
|
-
cancelledAt?: string | undefined;
|
|
458
|
-
turnId: string;
|
|
459
|
-
kind: "process";
|
|
460
|
-
deadline: string;
|
|
461
|
-
timeoutSeconds: number;
|
|
462
|
-
pid: number;
|
|
463
|
-
startToken?: string | undefined;
|
|
464
|
-
exitFile?: string | undefined;
|
|
465
|
-
note?: string | undefined;
|
|
466
|
-
result?: {
|
|
467
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
468
|
-
observedAt: string;
|
|
469
|
-
exitCode?: number | undefined;
|
|
470
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
471
|
-
diagnostic?: string | undefined;
|
|
472
|
-
} | undefined;
|
|
473
449
|
} | {
|
|
474
450
|
id: string;
|
|
475
451
|
source: "agent" | "cezar";
|
|
@@ -531,6 +507,30 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
531
507
|
reason: "outcome" | "timeout";
|
|
532
508
|
} | undefined;
|
|
533
509
|
wakeInputId?: string | undefined;
|
|
510
|
+
} | {
|
|
511
|
+
id: string;
|
|
512
|
+
source: "agent" | "cezar";
|
|
513
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
514
|
+
registeredAt: string;
|
|
515
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
516
|
+
resolvedAt?: string | undefined;
|
|
517
|
+
deliveredAt?: string | undefined;
|
|
518
|
+
cancelledAt?: string | undefined;
|
|
519
|
+
turnId: string;
|
|
520
|
+
kind: "process";
|
|
521
|
+
deadline: string;
|
|
522
|
+
timeoutSeconds: number;
|
|
523
|
+
pid: number;
|
|
524
|
+
startToken?: string | undefined;
|
|
525
|
+
exitFile?: string | undefined;
|
|
526
|
+
note?: string | undefined;
|
|
527
|
+
result?: {
|
|
528
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
529
|
+
observedAt: string;
|
|
530
|
+
exitCode?: number | undefined;
|
|
531
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
532
|
+
diagnostic?: string | undefined;
|
|
533
|
+
} | undefined;
|
|
534
534
|
} | {
|
|
535
535
|
id: string;
|
|
536
536
|
source: "agent" | "cezar";
|
|
@@ -658,30 +658,6 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
658
658
|
deadline: string;
|
|
659
659
|
seconds: number;
|
|
660
660
|
note?: string | undefined;
|
|
661
|
-
} | {
|
|
662
|
-
id: string;
|
|
663
|
-
source: "agent" | "cezar";
|
|
664
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
665
|
-
registeredAt: string;
|
|
666
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
667
|
-
resolvedAt?: string | undefined;
|
|
668
|
-
deliveredAt?: string | undefined;
|
|
669
|
-
cancelledAt?: string | undefined;
|
|
670
|
-
turnId: string;
|
|
671
|
-
kind: "process";
|
|
672
|
-
deadline: string;
|
|
673
|
-
timeoutSeconds: number;
|
|
674
|
-
pid: number;
|
|
675
|
-
startToken?: string | undefined;
|
|
676
|
-
exitFile?: string | undefined;
|
|
677
|
-
note?: string | undefined;
|
|
678
|
-
result?: {
|
|
679
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
680
|
-
observedAt: string;
|
|
681
|
-
exitCode?: number | undefined;
|
|
682
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
683
|
-
diagnostic?: string | undefined;
|
|
684
|
-
} | undefined;
|
|
685
661
|
} | {
|
|
686
662
|
id: string;
|
|
687
663
|
source: "agent" | "cezar";
|
|
@@ -743,6 +719,30 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
743
719
|
reason: "outcome" | "timeout";
|
|
744
720
|
} | undefined;
|
|
745
721
|
wakeInputId?: string | undefined;
|
|
722
|
+
} | {
|
|
723
|
+
id: string;
|
|
724
|
+
source: "agent" | "cezar";
|
|
725
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
726
|
+
registeredAt: string;
|
|
727
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
728
|
+
resolvedAt?: string | undefined;
|
|
729
|
+
deliveredAt?: string | undefined;
|
|
730
|
+
cancelledAt?: string | undefined;
|
|
731
|
+
turnId: string;
|
|
732
|
+
kind: "process";
|
|
733
|
+
deadline: string;
|
|
734
|
+
timeoutSeconds: number;
|
|
735
|
+
pid: number;
|
|
736
|
+
startToken?: string | undefined;
|
|
737
|
+
exitFile?: string | undefined;
|
|
738
|
+
note?: string | undefined;
|
|
739
|
+
result?: {
|
|
740
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
741
|
+
observedAt: string;
|
|
742
|
+
exitCode?: number | undefined;
|
|
743
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
744
|
+
diagnostic?: string | undefined;
|
|
745
|
+
} | undefined;
|
|
746
746
|
} | {
|
|
747
747
|
id: string;
|
|
748
748
|
source: "agent" | "cezar";
|
|
@@ -17,6 +17,12 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
|
|
|
17
17
|
output: {
|
|
18
18
|
generation: string;
|
|
19
19
|
results: ({
|
|
20
|
+
projectId: string;
|
|
21
|
+
runId: string;
|
|
22
|
+
type: "error" | "reset";
|
|
23
|
+
status: 400 | 404 | 409 | 413 | 503;
|
|
24
|
+
error: string;
|
|
25
|
+
} | {
|
|
20
26
|
projectId: string;
|
|
21
27
|
runId: string;
|
|
22
28
|
type: "batch";
|
|
@@ -37,12 +43,6 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
|
|
|
37
43
|
cursor: string;
|
|
38
44
|
afterSeq: number;
|
|
39
45
|
hasMore: boolean;
|
|
40
|
-
} | {
|
|
41
|
-
projectId: string;
|
|
42
|
-
runId: string;
|
|
43
|
-
type: "error" | "reset";
|
|
44
|
-
status: 400 | 404 | 409 | 413 | 503;
|
|
45
|
-
error: string;
|
|
46
46
|
})[];
|
|
47
47
|
};
|
|
48
48
|
outputFormat: "json";
|
|
@@ -22,6 +22,18 @@ export declare function createModelsRoutes(options: {
|
|
|
22
22
|
profileId?: string | undefined;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
+
} | {
|
|
26
|
+
output: {
|
|
27
|
+
error: string;
|
|
28
|
+
};
|
|
29
|
+
outputFormat: "json";
|
|
30
|
+
status: 400;
|
|
31
|
+
input: {
|
|
32
|
+
query: {
|
|
33
|
+
runner: string | string[];
|
|
34
|
+
profileId?: string | undefined;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
25
37
|
} | {
|
|
26
38
|
output: {
|
|
27
39
|
runner: string;
|
|
@@ -43,18 +55,6 @@ export declare function createModelsRoutes(options: {
|
|
|
43
55
|
profileId?: string | undefined;
|
|
44
56
|
};
|
|
45
57
|
};
|
|
46
|
-
} | {
|
|
47
|
-
output: {
|
|
48
|
-
error: string;
|
|
49
|
-
};
|
|
50
|
-
outputFormat: "json";
|
|
51
|
-
status: 400;
|
|
52
|
-
input: {
|
|
53
|
-
query: {
|
|
54
|
-
runner: string | string[];
|
|
55
|
-
profileId?: string | undefined;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
60
|
}, "/", "/models">;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { artifactDirectory } from '../task-files/artifact-kind.js';
|
|
2
2
|
import { matchedRoutes } from 'hono/route';
|
|
3
3
|
import { delegationFailure } from '../delegation/routes.js';
|
|
4
|
-
import { DelegationPolicyError } from '../delegation
|
|
4
|
+
import { DelegationPolicyError } from '../core/delegation-error.js';
|
|
5
5
|
/** Logical deletion cannot expose a fallback copy. Legacy-only resource cleanup remains allowed. */
|
|
6
6
|
export function protectFallbackRun(kind) {
|
|
7
7
|
return async (context, next) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-run-files.js","sourceRoot":"","sources":["../../src/server/project-run-files.ts"],"names":[],"mappings":"AAAA,O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E,GAAG,CAAC,CAAC;QACjJ,OAAO,OAAO,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,GAAG,CAAC,CAAC;IAC/C,CAAC;IACD,OAAO,IAAI,EAAE,CAAC;AAChB,CAAC,CAAC;AAEF,wFAAwF;AACxF,MAAM,UAAU,oBAAoB,CAAC,KAA4D,EAAE,KAAa;IAC9G,OAAO,iBAAiB,CAAC,KAAK,CAAC,MAAM,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,CAAC;AACrE,CAAC"}
|
|
@@ -70,18 +70,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
70
70
|
};
|
|
71
71
|
} | {
|
|
72
72
|
output: {
|
|
73
|
-
|
|
74
|
-
requiresAccountHome?: boolean | undefined;
|
|
75
|
-
provider: string;
|
|
76
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
77
|
-
enabled?: boolean | undefined;
|
|
78
|
-
hint?: string | undefined;
|
|
79
|
-
authFailureId?: string | undefined;
|
|
80
|
-
profileId?: string | undefined;
|
|
81
|
-
}[];
|
|
73
|
+
error: string;
|
|
82
74
|
};
|
|
83
75
|
outputFormat: "json";
|
|
84
|
-
status:
|
|
76
|
+
status: 500;
|
|
85
77
|
input: {
|
|
86
78
|
param: {
|
|
87
79
|
provider: string;
|
|
@@ -93,10 +85,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
93
85
|
};
|
|
94
86
|
} | {
|
|
95
87
|
output: {
|
|
96
|
-
|
|
88
|
+
providers: {
|
|
89
|
+
requiresAccountHome?: boolean | undefined;
|
|
90
|
+
provider: string;
|
|
91
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
92
|
+
enabled?: boolean | undefined;
|
|
93
|
+
hint?: string | undefined;
|
|
94
|
+
authFailureId?: string | undefined;
|
|
95
|
+
profileId?: string | undefined;
|
|
96
|
+
}[];
|
|
97
97
|
};
|
|
98
98
|
outputFormat: "json";
|
|
99
|
-
status:
|
|
99
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
100
100
|
input: {
|
|
101
101
|
param: {
|
|
102
102
|
provider: string;
|
|
@@ -128,18 +128,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
128
128
|
};
|
|
129
129
|
} | {
|
|
130
130
|
output: {
|
|
131
|
-
|
|
132
|
-
requiresAccountHome?: boolean | undefined;
|
|
133
|
-
provider: string;
|
|
134
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
135
|
-
enabled?: boolean | undefined;
|
|
136
|
-
hint?: string | undefined;
|
|
137
|
-
authFailureId?: string | undefined;
|
|
138
|
-
profileId?: string | undefined;
|
|
139
|
-
}[];
|
|
131
|
+
error: string;
|
|
140
132
|
};
|
|
141
133
|
outputFormat: "json";
|
|
142
|
-
status:
|
|
134
|
+
status: 409;
|
|
143
135
|
input: {
|
|
144
136
|
param: {
|
|
145
137
|
provider: string;
|
|
@@ -151,10 +143,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
151
143
|
};
|
|
152
144
|
} | {
|
|
153
145
|
output: {
|
|
154
|
-
|
|
146
|
+
providers: {
|
|
147
|
+
requiresAccountHome?: boolean | undefined;
|
|
148
|
+
provider: string;
|
|
149
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
150
|
+
enabled?: boolean | undefined;
|
|
151
|
+
hint?: string | undefined;
|
|
152
|
+
authFailureId?: string | undefined;
|
|
153
|
+
profileId?: string | undefined;
|
|
154
|
+
}[];
|
|
155
155
|
};
|
|
156
156
|
outputFormat: "json";
|
|
157
|
-
status:
|
|
157
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
158
158
|
input: {
|
|
159
159
|
param: {
|
|
160
160
|
provider: string;
|
|
@@ -173,7 +173,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
173
173
|
error: string;
|
|
174
174
|
};
|
|
175
175
|
outputFormat: "json";
|
|
176
|
-
status:
|
|
176
|
+
status: 400;
|
|
177
177
|
input: {
|
|
178
178
|
json: {
|
|
179
179
|
provider: string;
|
|
@@ -185,7 +185,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
185
185
|
error: string;
|
|
186
186
|
};
|
|
187
187
|
outputFormat: "json";
|
|
188
|
-
status:
|
|
188
|
+
status: 409;
|
|
189
189
|
input: {
|
|
190
190
|
json: {
|
|
191
191
|
provider: string;
|
|
@@ -290,10 +290,28 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
290
290
|
"/workspace/agent-profiles": {
|
|
291
291
|
$post: {
|
|
292
292
|
output: {
|
|
293
|
-
|
|
293
|
+
profile: {
|
|
294
|
+
id: string;
|
|
295
|
+
provider: string;
|
|
296
|
+
label: string;
|
|
297
|
+
configDir?: string | undefined;
|
|
298
|
+
path?: string | undefined;
|
|
299
|
+
exists: boolean;
|
|
300
|
+
looksValid: boolean;
|
|
301
|
+
isDefault: boolean;
|
|
302
|
+
status?: {
|
|
303
|
+
requiresAccountHome?: boolean | undefined;
|
|
304
|
+
provider: string;
|
|
305
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
306
|
+
enabled?: boolean | undefined;
|
|
307
|
+
hint?: string | undefined;
|
|
308
|
+
authFailureId?: string | undefined;
|
|
309
|
+
profileId?: string | undefined;
|
|
310
|
+
} | undefined;
|
|
311
|
+
};
|
|
294
312
|
};
|
|
295
313
|
outputFormat: "json";
|
|
296
|
-
status:
|
|
314
|
+
status: 201;
|
|
297
315
|
input: {
|
|
298
316
|
json: {
|
|
299
317
|
provider: string;
|
|
@@ -319,7 +337,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
319
337
|
error: string;
|
|
320
338
|
};
|
|
321
339
|
outputFormat: "json";
|
|
322
|
-
status:
|
|
340
|
+
status: 409;
|
|
323
341
|
input: {
|
|
324
342
|
json: {
|
|
325
343
|
provider: string;
|
|
@@ -329,28 +347,10 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
329
347
|
};
|
|
330
348
|
} | {
|
|
331
349
|
output: {
|
|
332
|
-
|
|
333
|
-
id: string;
|
|
334
|
-
provider: string;
|
|
335
|
-
label: string;
|
|
336
|
-
configDir?: string | undefined;
|
|
337
|
-
path?: string | undefined;
|
|
338
|
-
exists: boolean;
|
|
339
|
-
looksValid: boolean;
|
|
340
|
-
isDefault: boolean;
|
|
341
|
-
status?: {
|
|
342
|
-
requiresAccountHome?: boolean | undefined;
|
|
343
|
-
provider: string;
|
|
344
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
345
|
-
enabled?: boolean | undefined;
|
|
346
|
-
hint?: string | undefined;
|
|
347
|
-
authFailureId?: string | undefined;
|
|
348
|
-
profileId?: string | undefined;
|
|
349
|
-
} | undefined;
|
|
350
|
-
};
|
|
350
|
+
error: string;
|
|
351
351
|
};
|
|
352
352
|
outputFormat: "json";
|
|
353
|
-
status:
|
|
353
|
+
status: 500;
|
|
354
354
|
input: {
|
|
355
355
|
json: {
|
|
356
356
|
provider: string;
|
|
@@ -384,7 +384,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
384
384
|
error: string;
|
|
385
385
|
};
|
|
386
386
|
outputFormat: "json";
|
|
387
|
-
status:
|
|
387
|
+
status: 400;
|
|
388
388
|
input: {
|
|
389
389
|
param: {
|
|
390
390
|
id: string;
|
|
@@ -400,7 +400,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
400
400
|
error: string;
|
|
401
401
|
};
|
|
402
402
|
outputFormat: "json";
|
|
403
|
-
status:
|
|
403
|
+
status: 404;
|
|
404
404
|
input: {
|
|
405
405
|
param: {
|
|
406
406
|
id: string;
|
|
@@ -416,7 +416,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
416
416
|
error: string;
|
|
417
417
|
};
|
|
418
418
|
outputFormat: "json";
|
|
419
|
-
status:
|
|
419
|
+
status: 409;
|
|
420
420
|
input: {
|
|
421
421
|
param: {
|
|
422
422
|
id: string;
|
|
@@ -542,10 +542,9 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
542
542
|
$put: {
|
|
543
543
|
output: {
|
|
544
544
|
error: string;
|
|
545
|
-
code: "no-boot-project";
|
|
546
545
|
};
|
|
547
546
|
outputFormat: "json";
|
|
548
|
-
status:
|
|
547
|
+
status: 400;
|
|
549
548
|
input: {
|
|
550
549
|
json: {
|
|
551
550
|
projectId: string;
|
|
@@ -569,9 +568,10 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
569
568
|
} | {
|
|
570
569
|
output: {
|
|
571
570
|
error: string;
|
|
571
|
+
code: "no-boot-project";
|
|
572
572
|
};
|
|
573
573
|
outputFormat: "json";
|
|
574
|
-
status:
|
|
574
|
+
status: 409;
|
|
575
575
|
input: {
|
|
576
576
|
json: {
|
|
577
577
|
projectId: string;
|
|
@@ -635,7 +635,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
635
635
|
error: string;
|
|
636
636
|
};
|
|
637
637
|
outputFormat: "json";
|
|
638
|
-
status:
|
|
638
|
+
status: 404;
|
|
639
639
|
input: {
|
|
640
640
|
param: {
|
|
641
641
|
id: string;
|
|
@@ -646,7 +646,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
646
646
|
error: string;
|
|
647
647
|
};
|
|
648
648
|
outputFormat: "json";
|
|
649
|
-
status:
|
|
649
|
+
status: 409;
|
|
650
650
|
input: {
|
|
651
651
|
param: {
|
|
652
652
|
id: string;
|
|
@@ -657,7 +657,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
657
657
|
error: string;
|
|
658
658
|
};
|
|
659
659
|
outputFormat: "json";
|
|
660
|
-
status:
|
|
660
|
+
status: 500;
|
|
661
661
|
input: {
|
|
662
662
|
param: {
|
|
663
663
|
id: string;
|