@hearsay-tools/squawk 0.18.0-pr3684.6696 → 0.18.0-pr3684.6708
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-config/seed.js +1 -6
- package/dist/agent-config/seed.js.map +1 -1
- package/dist/autosave-git.js +3 -4
- package/dist/autosave-git.js.map +1 -1
- package/dist/ci-wait/controller.d.ts +37 -37
- package/dist/core/backend-detect.js +2 -1
- package/dist/core/backend-detect.js.map +1 -1
- package/dist/data-gitignore.js +2 -2
- package/dist/data-gitignore.js.map +1 -1
- package/dist/delegation/cli.js +2 -2
- package/dist/delegation/cli.js.map +1 -1
- package/dist/delegation/context.js +7 -11
- package/dist/delegation/context.js.map +1 -1
- package/dist/delegation/results.js +2 -2
- package/dist/delegation/results.js.map +1 -1
- package/dist/delegation/routes.d.ts +15 -15
- package/dist/delegation/service.js +2 -4
- package/dist/delegation/service.js.map +1 -1
- package/dist/delegation/transport.d.ts +71 -71
- package/dist/git-command.d.ts +29 -0
- package/dist/git-command.js +27 -1
- package/dist/git-command.js.map +1 -1
- package/dist/git-worktree-lock-helper.d.ts +2 -0
- package/dist/git-worktree-lock-helper.js +12 -14
- package/dist/git-worktree-lock-helper.js.map +1 -1
- package/dist/git-worktree-lock.js +3 -10
- package/dist/git-worktree-lock.js.map +1 -1
- package/dist/project-migration/containment.js +2 -4
- package/dist/project-migration/containment.js.map +1 -1
- package/dist/project-migration/plan.js +2 -4
- package/dist/project-migration/plan.js.map +1 -1
- package/dist/release/publication.js +2 -2
- package/dist/release/publication.js.map +1 -1
- package/dist/server/activity-routes.d.ts +23 -23
- package/dist/server/checkout.js +5 -5
- package/dist/server/checkout.js.map +1 -1
- package/dist/server/create-project.js +9 -10
- package/dist/server/create-project.js.map +1 -1
- package/dist/server/forge/draft-pr.js +17 -13
- package/dist/server/forge/draft-pr.js.map +1 -1
- package/dist/server/git.js +2 -4
- package/dist/server/git.js.map +1 -1
- package/dist/server/live-routes.d.ts +6 -6
- package/dist/server/repo-pull.js +3 -7
- package/dist/server/repo-pull.js.map +1 -1
- package/dist/server/reports-api.d.ts +2 -2
- package/dist/server/server.d.ts +192 -183
- package/dist/server/server.js +22 -35
- package/dist/server/server.js.map +1 -1
- package/dist/skills-remote.js +8 -12
- package/dist/skills-remote.js.map +1 -1
- package/dist/task-branch-head.js +2 -4
- package/dist/task-branch-head.js.map +1 -1
- package/dist/task-cli/discovery.js +2 -4
- package/dist/task-cli/discovery.js.map +1 -1
- package/dist/ui-state.d.ts +7 -6
- package/dist/ui-state.js +31 -6
- package/dist/ui-state.js.map +1 -1
- package/dist/workflows/run/attachment-writer.d.ts +5 -4
- package/dist/workflows/run/attachment-writer.js +9 -7
- package/dist/workflows/run/attachment-writer.js.map +1 -1
- package/dist/workflows/run/compose.d.ts +4 -1
- package/dist/workflows/run/compose.js +13 -10
- package/dist/workflows/run/compose.js.map +1 -1
- package/dist/workflows/run/continuation-acceptance.d.ts +4 -1
- package/dist/workflows/run/continuation-acceptance.js +4 -1
- package/dist/workflows/run/continuation-acceptance.js.map +1 -1
- package/dist/workflows/run/family-reconciler.d.ts +4 -0
- package/dist/workflows/run/family-reconciler.js +4 -0
- package/dist/workflows/run/family-reconciler.js.map +1 -1
- package/dist/workflows/run/inbox-claims.d.ts +2 -0
- package/dist/workflows/run/inbox-claims.js +2 -0
- package/dist/workflows/run/inbox-claims.js.map +1 -1
- package/dist/workflows/run/maintenance-claims.d.ts +2 -0
- package/dist/workflows/run/maintenance-claims.js +2 -0
- package/dist/workflows/run/maintenance-claims.js.map +1 -1
- package/dist/workflows/run/memory-guard.d.ts +6 -6
- package/dist/workflows/run/memory-guard.js +8 -8
- package/dist/workflows/run/memory-guard.js.map +1 -1
- package/dist/workflows/run/queued-input.d.ts +12 -10
- package/dist/workflows/run/queued-input.js +17 -16
- package/dist/workflows/run/queued-input.js.map +1 -1
- package/dist/workflows/run/run-line.d.ts +5 -4
- package/dist/workflows/run/run-line.js +11 -6
- package/dist/workflows/run/run-line.js.map +1 -1
- package/dist/workflows/run/run-memory.d.ts +52 -0
- package/dist/workflows/run/run-memory.js +58 -0
- package/dist/workflows/run/run-memory.js.map +1 -0
- package/dist/workflows/run/run-settlement.d.ts +11 -4
- package/dist/workflows/run/run-settlement.js +21 -17
- package/dist/workflows/run/run-settlement.js.map +1 -1
- package/dist/workflows/run/turn-bookkeeping.d.ts +5 -5
- package/dist/workflows/run/turn-bookkeeping.js +7 -7
- package/dist/workflows/run/turn-bookkeeping.js.map +1 -1
- package/dist/workflows/run/wait-registry.d.ts +1 -0
- package/dist/workflows/run/wait-registry.js +1 -0
- package/dist/workflows/run/wait-registry.js.map +1 -1
- package/dist/workflows/run/wake-retries.d.ts +10 -6
- package/dist/workflows/run/wake-retries.js +14 -10
- package/dist/workflows/run/wake-retries.js.map +1 -1
- package/dist/workflows/run/worker-executions.d.ts +11 -2
- package/dist/workflows/run/worker-executions.js +15 -6
- package/dist/workflows/run/worker-executions.js.map +1 -1
- package/dist/workflows/run/worker-orphans.js +2 -0
- package/dist/workflows/run/worker-orphans.js.map +1 -1
- package/dist/workflows/run/worktree-autosave.d.ts +2 -1
- package/dist/workflows/run/worktree-autosave.js +2 -1
- package/dist/workflows/run/worktree-autosave.js.map +1 -1
- package/dist/workflows/run.d.ts +2 -0
- package/dist/workflows/run.js +12 -3
- package/dist/workflows/run.js.map +1 -1
- package/dist/workspace/projects.d.ts +2 -0
- package/dist/workspace/projects.js +3 -4
- package/dist/workspace/projects.js.map +1 -1
- package/dist/worktree-manifest.js +2 -4
- package/dist/worktree-manifest.js.map +1 -1
- package/package.json +4 -4
package/dist/server/repo-pull.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { productEnv } from '../core/product-env.js';
|
|
2
|
-
import {
|
|
3
|
-
import { gitEnv } from '../git-command.js';
|
|
4
|
-
import { promisify } from 'node:util';
|
|
2
|
+
import { runGit } from '../git-command.js';
|
|
5
3
|
import { isSafeGitRef } from '../git-refs.js';
|
|
6
|
-
const exec = promisify(execFile);
|
|
7
4
|
const mutating = new Set();
|
|
8
5
|
/** Shared with branch switching: a cockpit action must not change HEAD during a pull. */
|
|
9
6
|
export function claimRepoGitMutation(root) {
|
|
@@ -13,12 +10,11 @@ export function claimRepoGitMutation(root) {
|
|
|
13
10
|
return () => { mutating.delete(root); };
|
|
14
11
|
}
|
|
15
12
|
async function git(root, args) {
|
|
16
|
-
const { stdout } = await
|
|
13
|
+
const { stdout } = await runGit(args, {
|
|
17
14
|
cwd: root,
|
|
18
|
-
encoding: 'utf8',
|
|
19
15
|
timeout: 60_000,
|
|
20
16
|
maxBuffer: 1024 * 1024,
|
|
21
|
-
env:
|
|
17
|
+
env: { GIT_TERMINAL_PROMPT: '0', GCM_INTERACTIVE: 'never', GIT_MERGE_AUTOEDIT: 'no', GIT_EDITOR: 'true' },
|
|
22
18
|
});
|
|
23
19
|
return stdout.trim();
|
|
24
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repo-pull.js","sourceRoot":"","sources":["../../src/server/repo-pull.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"repo-pull.js","sourceRoot":"","sources":["../../src/server/repo-pull.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAU,CAAC;AAEnC,yFAAyF;AACzF,MAAM,UAAU,oBAAoB,CAAC,IAAY;IAC/C,IAAI,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC;IACpC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACnB,OAAO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EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,8CAA8C,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;QACxG,CAAC;QACD,IAAI,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,EAAE,CAAC;YAClC,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,0BAA0B,EAAE,EAAE,CAAC;QAC5F,CAAC;QACD,IAAI,MAAM,KAAK,OAAO;YAAE,MAAM,GAAG,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC;QAC1E,mFAAmF;QACnF,wFAAwF;QACxF,MAAM,MAAM,GAAG,MAAM,GAAG,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAAC;QAC3D,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,IAAI,iBAAiB,EAAE,EAAE,CAAC;IAChI,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC;IACxD,CAAC;YAAS,CAAC;QACT,OAAO,EAAE,CAAC;IACZ,CAAC;AACH,CAAC"}
|
|
@@ -40,7 +40,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
|
|
|
40
40
|
error: string;
|
|
41
41
|
};
|
|
42
42
|
outputFormat: "json";
|
|
43
|
-
status:
|
|
43
|
+
status: 409;
|
|
44
44
|
input: {
|
|
45
45
|
query: {
|
|
46
46
|
q?: string | undefined;
|
|
@@ -53,7 +53,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
|
|
|
53
53
|
error: string;
|
|
54
54
|
};
|
|
55
55
|
outputFormat: "json";
|
|
56
|
-
status:
|
|
56
|
+
status: 400;
|
|
57
57
|
input: {
|
|
58
58
|
query: {
|
|
59
59
|
q?: string | undefined;
|
package/dist/server/server.d.ts
CHANGED
|
@@ -2215,6 +2215,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2215
2215
|
} & {
|
|
2216
2216
|
"/projects": {
|
|
2217
2217
|
$post: {
|
|
2218
|
+
output: {
|
|
2219
|
+
error: string;
|
|
2220
|
+
};
|
|
2221
|
+
outputFormat: "json";
|
|
2222
|
+
status: 400 | 500;
|
|
2223
|
+
input: {
|
|
2224
|
+
json: {
|
|
2225
|
+
root: string;
|
|
2226
|
+
};
|
|
2227
|
+
};
|
|
2228
|
+
} | {
|
|
2218
2229
|
output: {
|
|
2219
2230
|
project: {
|
|
2220
2231
|
id: string;
|
|
@@ -2245,10 +2256,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2245
2256
|
agent: boolean;
|
|
2246
2257
|
}[] | undefined;
|
|
2247
2258
|
};
|
|
2248
|
-
error
|
|
2259
|
+
error: string;
|
|
2249
2260
|
};
|
|
2250
2261
|
outputFormat: "json";
|
|
2251
|
-
status:
|
|
2262
|
+
status: 409;
|
|
2252
2263
|
input: {
|
|
2253
2264
|
json: {
|
|
2254
2265
|
root: string;
|
|
@@ -2286,11 +2297,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2286
2297
|
}[] | undefined;
|
|
2287
2298
|
};
|
|
2288
2299
|
error?: string | undefined;
|
|
2289
|
-
} | {
|
|
2290
|
-
error: string;
|
|
2291
2300
|
};
|
|
2292
2301
|
outputFormat: "json";
|
|
2293
|
-
status:
|
|
2302
|
+
status: 200;
|
|
2294
2303
|
input: {
|
|
2295
2304
|
json: {
|
|
2296
2305
|
root: string;
|
|
@@ -2979,6 +2988,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2979
2988
|
output: {
|
|
2980
2989
|
generation: string;
|
|
2981
2990
|
results: ({
|
|
2991
|
+
projectId: string;
|
|
2992
|
+
runId: string;
|
|
2993
|
+
type: "error" | "reset";
|
|
2994
|
+
status: 400 | 404 | 409 | 413 | 503;
|
|
2995
|
+
error: string;
|
|
2996
|
+
} | {
|
|
2982
2997
|
projectId: string;
|
|
2983
2998
|
runId: string;
|
|
2984
2999
|
type: "batch";
|
|
@@ -2992,12 +3007,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2992
3007
|
cursor: string;
|
|
2993
3008
|
afterSeq: number;
|
|
2994
3009
|
hasMore: boolean;
|
|
2995
|
-
} | {
|
|
2996
|
-
projectId: string;
|
|
2997
|
-
runId: string;
|
|
2998
|
-
type: "error" | "reset";
|
|
2999
|
-
status: 400 | 404 | 409 | 413 | 503;
|
|
3000
|
-
error: string;
|
|
3001
3010
|
})[];
|
|
3002
3011
|
};
|
|
3003
3012
|
outputFormat: "json";
|
|
@@ -3288,10 +3297,46 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3288
3297
|
"/ui-state": {
|
|
3289
3298
|
$put: {
|
|
3290
3299
|
output: {
|
|
3291
|
-
|
|
3300
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
3301
|
+
sidebarLimits?: {
|
|
3302
|
+
overall?: number | null | undefined;
|
|
3303
|
+
needsYou?: number | null | undefined;
|
|
3304
|
+
finished?: number | null | undefined;
|
|
3305
|
+
working?: number | null | undefined;
|
|
3306
|
+
} | undefined;
|
|
3307
|
+
lastTask?: {
|
|
3308
|
+
source: "skill" | "workflow";
|
|
3309
|
+
ref: string;
|
|
3310
|
+
} | null | undefined;
|
|
3311
|
+
recentSources?: {
|
|
3312
|
+
source: "skill" | "workflow";
|
|
3313
|
+
ref: string;
|
|
3314
|
+
}[] | undefined;
|
|
3315
|
+
lastWorktree?: boolean | undefined;
|
|
3316
|
+
lastAutonomous?: boolean | undefined;
|
|
3317
|
+
disabledTeamSkills?: {
|
|
3318
|
+
repo: string;
|
|
3319
|
+
name: string;
|
|
3320
|
+
}[] | undefined;
|
|
3321
|
+
skillUsage?: {
|
|
3322
|
+
[x: string]: number;
|
|
3323
|
+
} | undefined;
|
|
3324
|
+
runsView?: "list" | "table" | undefined;
|
|
3325
|
+
githubView?: "issues" | "prs" | undefined;
|
|
3326
|
+
appearance?: {
|
|
3327
|
+
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
3328
|
+
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
3329
|
+
width?: "narrow" | "wide" | undefined;
|
|
3330
|
+
} | undefined;
|
|
3331
|
+
promptTemplates?: {
|
|
3332
|
+
id: string;
|
|
3333
|
+
label: string;
|
|
3334
|
+
text: string;
|
|
3335
|
+
skills?: string[] | undefined;
|
|
3336
|
+
}[] | undefined;
|
|
3292
3337
|
};
|
|
3293
3338
|
outputFormat: "json";
|
|
3294
|
-
status:
|
|
3339
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3295
3340
|
input: {
|
|
3296
3341
|
json: {
|
|
3297
3342
|
[x: string]: unknown;
|
|
@@ -3333,46 +3378,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3333
3378
|
};
|
|
3334
3379
|
} | {
|
|
3335
3380
|
output: {
|
|
3336
|
-
|
|
3337
|
-
sidebarLimits?: {
|
|
3338
|
-
overall?: number | null | undefined;
|
|
3339
|
-
needsYou?: number | null | undefined;
|
|
3340
|
-
finished?: number | null | undefined;
|
|
3341
|
-
working?: number | null | undefined;
|
|
3342
|
-
} | undefined;
|
|
3343
|
-
lastTask?: {
|
|
3344
|
-
source: "skill" | "workflow";
|
|
3345
|
-
ref: string;
|
|
3346
|
-
} | null | undefined;
|
|
3347
|
-
recentSources?: {
|
|
3348
|
-
source: "skill" | "workflow";
|
|
3349
|
-
ref: string;
|
|
3350
|
-
}[] | undefined;
|
|
3351
|
-
lastWorktree?: boolean | undefined;
|
|
3352
|
-
lastAutonomous?: boolean | undefined;
|
|
3353
|
-
disabledTeamSkills?: {
|
|
3354
|
-
repo: string;
|
|
3355
|
-
name: string;
|
|
3356
|
-
}[] | undefined;
|
|
3357
|
-
skillUsage?: {
|
|
3358
|
-
[x: string]: number;
|
|
3359
|
-
} | undefined;
|
|
3360
|
-
runsView?: "list" | "table" | undefined;
|
|
3361
|
-
githubView?: "issues" | "prs" | undefined;
|
|
3362
|
-
appearance?: {
|
|
3363
|
-
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
3364
|
-
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
3365
|
-
width?: "narrow" | "wide" | undefined;
|
|
3366
|
-
} | undefined;
|
|
3367
|
-
promptTemplates?: {
|
|
3368
|
-
id: string;
|
|
3369
|
-
label: string;
|
|
3370
|
-
text: string;
|
|
3371
|
-
skills?: string[] | undefined;
|
|
3372
|
-
}[] | undefined;
|
|
3381
|
+
error: string;
|
|
3373
3382
|
};
|
|
3374
3383
|
outputFormat: "json";
|
|
3375
|
-
status:
|
|
3384
|
+
status: 500;
|
|
3376
3385
|
input: {
|
|
3377
3386
|
json: {
|
|
3378
3387
|
[x: string]: unknown;
|
|
@@ -4785,19 +4794,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4785
4794
|
} & {
|
|
4786
4795
|
"/repo/commit/:sha": {
|
|
4787
4796
|
$get: {
|
|
4788
|
-
output: string;
|
|
4789
|
-
outputFormat: "text";
|
|
4790
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4791
|
-
input: {
|
|
4792
|
-
query: {
|
|
4793
|
-
structured?: string | undefined;
|
|
4794
|
-
};
|
|
4795
|
-
} & {
|
|
4796
|
-
param: {
|
|
4797
|
-
sha: string;
|
|
4798
|
-
};
|
|
4799
|
-
};
|
|
4800
|
-
} | {
|
|
4801
4797
|
output: {
|
|
4802
4798
|
error: string;
|
|
4803
4799
|
code?: "invalid_input" | undefined;
|
|
@@ -4861,6 +4857,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4861
4857
|
sha: string;
|
|
4862
4858
|
};
|
|
4863
4859
|
};
|
|
4860
|
+
} | {
|
|
4861
|
+
output: string;
|
|
4862
|
+
outputFormat: "text";
|
|
4863
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4864
|
+
input: {
|
|
4865
|
+
query: {
|
|
4866
|
+
structured?: string | undefined;
|
|
4867
|
+
};
|
|
4868
|
+
} & {
|
|
4869
|
+
param: {
|
|
4870
|
+
sha: string;
|
|
4871
|
+
};
|
|
4872
|
+
};
|
|
4864
4873
|
};
|
|
4865
4874
|
};
|
|
4866
4875
|
} & {
|
|
@@ -8564,22 +8573,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8564
8573
|
"/runs/:id/worker-destroy": {
|
|
8565
8574
|
$post: {
|
|
8566
8575
|
output: {
|
|
8567
|
-
|
|
8568
|
-
|
|
8569
|
-
readonly modelChoices?: {
|
|
8570
|
-
runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
|
|
8571
|
-
requestedModel: string;
|
|
8572
|
-
availableModels: {
|
|
8573
|
-
id: string;
|
|
8574
|
-
label: string;
|
|
8575
|
-
description: string;
|
|
8576
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
8577
|
-
}[];
|
|
8578
|
-
otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
|
|
8579
|
-
} | undefined;
|
|
8576
|
+
error: string;
|
|
8577
|
+
code?: "invalid_input" | undefined;
|
|
8580
8578
|
};
|
|
8581
8579
|
outputFormat: "json";
|
|
8582
|
-
status: 400
|
|
8580
|
+
status: 400;
|
|
8583
8581
|
input: {
|
|
8584
8582
|
query: {
|
|
8585
8583
|
[x: string]: string | string[];
|
|
@@ -8593,11 +8591,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8593
8591
|
};
|
|
8594
8592
|
} | {
|
|
8595
8593
|
output: {
|
|
8596
|
-
|
|
8597
|
-
|
|
8594
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
8595
|
+
readonly error: string;
|
|
8596
|
+
readonly modelChoices?: {
|
|
8597
|
+
runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
|
|
8598
|
+
requestedModel: string;
|
|
8599
|
+
availableModels: {
|
|
8600
|
+
id: string;
|
|
8601
|
+
label: string;
|
|
8602
|
+
description: string;
|
|
8603
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
8604
|
+
}[];
|
|
8605
|
+
otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
|
|
8606
|
+
} | undefined;
|
|
8598
8607
|
};
|
|
8599
8608
|
outputFormat: "json";
|
|
8600
|
-
status: 400;
|
|
8609
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
8601
8610
|
input: {
|
|
8602
8611
|
query: {
|
|
8603
8612
|
[x: string]: string | string[];
|
|
@@ -18197,20 +18206,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18197
18206
|
} & {
|
|
18198
18207
|
"/runs/:id/handoff": {
|
|
18199
18208
|
$get: {
|
|
18200
|
-
output:
|
|
18201
|
-
|
|
18202
|
-
|
|
18209
|
+
output: {
|
|
18210
|
+
error: string;
|
|
18211
|
+
};
|
|
18212
|
+
outputFormat: "json";
|
|
18213
|
+
status: 404;
|
|
18203
18214
|
input: {
|
|
18204
18215
|
param: {
|
|
18205
18216
|
id: string;
|
|
18206
18217
|
};
|
|
18207
18218
|
};
|
|
18208
18219
|
} | {
|
|
18209
|
-
output:
|
|
18210
|
-
|
|
18211
|
-
|
|
18212
|
-
outputFormat: "json";
|
|
18213
|
-
status: 404;
|
|
18220
|
+
output: string;
|
|
18221
|
+
outputFormat: "text";
|
|
18222
|
+
status: 200;
|
|
18214
18223
|
input: {
|
|
18215
18224
|
param: {
|
|
18216
18225
|
id: string;
|
|
@@ -18248,20 +18257,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18248
18257
|
} & {
|
|
18249
18258
|
"/runs/:id/diff": {
|
|
18250
18259
|
$get: {
|
|
18251
|
-
output:
|
|
18252
|
-
|
|
18253
|
-
|
|
18260
|
+
output: {
|
|
18261
|
+
error: string;
|
|
18262
|
+
};
|
|
18263
|
+
outputFormat: "json";
|
|
18264
|
+
status: 404 | 409;
|
|
18254
18265
|
input: {
|
|
18255
18266
|
param: {
|
|
18256
18267
|
id: string;
|
|
18257
18268
|
};
|
|
18258
18269
|
};
|
|
18259
18270
|
} | {
|
|
18260
|
-
output:
|
|
18261
|
-
|
|
18262
|
-
|
|
18263
|
-
outputFormat: "json";
|
|
18264
|
-
status: 404 | 409;
|
|
18271
|
+
output: string;
|
|
18272
|
+
outputFormat: "text";
|
|
18273
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18265
18274
|
input: {
|
|
18266
18275
|
param: {
|
|
18267
18276
|
id: string;
|
|
@@ -19057,10 +19066,46 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19057
19066
|
"/ui-state": {
|
|
19058
19067
|
$put: {
|
|
19059
19068
|
output: {
|
|
19060
|
-
|
|
19069
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
19070
|
+
sidebarLimits?: {
|
|
19071
|
+
overall?: number | null | undefined;
|
|
19072
|
+
needsYou?: number | null | undefined;
|
|
19073
|
+
finished?: number | null | undefined;
|
|
19074
|
+
working?: number | null | undefined;
|
|
19075
|
+
} | undefined;
|
|
19076
|
+
lastTask?: {
|
|
19077
|
+
source: "skill" | "workflow";
|
|
19078
|
+
ref: string;
|
|
19079
|
+
} | null | undefined;
|
|
19080
|
+
recentSources?: {
|
|
19081
|
+
source: "skill" | "workflow";
|
|
19082
|
+
ref: string;
|
|
19083
|
+
}[] | undefined;
|
|
19084
|
+
lastWorktree?: boolean | undefined;
|
|
19085
|
+
lastAutonomous?: boolean | undefined;
|
|
19086
|
+
disabledTeamSkills?: {
|
|
19087
|
+
repo: string;
|
|
19088
|
+
name: string;
|
|
19089
|
+
}[] | undefined;
|
|
19090
|
+
skillUsage?: {
|
|
19091
|
+
[x: string]: number;
|
|
19092
|
+
} | undefined;
|
|
19093
|
+
runsView?: "list" | "table" | undefined;
|
|
19094
|
+
githubView?: "issues" | "prs" | undefined;
|
|
19095
|
+
appearance?: {
|
|
19096
|
+
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
19097
|
+
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
19098
|
+
width?: "narrow" | "wide" | undefined;
|
|
19099
|
+
} | undefined;
|
|
19100
|
+
promptTemplates?: {
|
|
19101
|
+
id: string;
|
|
19102
|
+
label: string;
|
|
19103
|
+
text: string;
|
|
19104
|
+
skills?: string[] | undefined;
|
|
19105
|
+
}[] | undefined;
|
|
19061
19106
|
};
|
|
19062
19107
|
outputFormat: "json";
|
|
19063
|
-
status:
|
|
19108
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19064
19109
|
input: {
|
|
19065
19110
|
json: {
|
|
19066
19111
|
[x: string]: unknown;
|
|
@@ -19102,46 +19147,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19102
19147
|
};
|
|
19103
19148
|
} | {
|
|
19104
19149
|
output: {
|
|
19105
|
-
|
|
19106
|
-
sidebarLimits?: {
|
|
19107
|
-
overall?: number | null | undefined;
|
|
19108
|
-
needsYou?: number | null | undefined;
|
|
19109
|
-
finished?: number | null | undefined;
|
|
19110
|
-
working?: number | null | undefined;
|
|
19111
|
-
} | undefined;
|
|
19112
|
-
lastTask?: {
|
|
19113
|
-
source: "skill" | "workflow";
|
|
19114
|
-
ref: string;
|
|
19115
|
-
} | null | undefined;
|
|
19116
|
-
recentSources?: {
|
|
19117
|
-
source: "skill" | "workflow";
|
|
19118
|
-
ref: string;
|
|
19119
|
-
}[] | undefined;
|
|
19120
|
-
lastWorktree?: boolean | undefined;
|
|
19121
|
-
lastAutonomous?: boolean | undefined;
|
|
19122
|
-
disabledTeamSkills?: {
|
|
19123
|
-
repo: string;
|
|
19124
|
-
name: string;
|
|
19125
|
-
}[] | undefined;
|
|
19126
|
-
skillUsage?: {
|
|
19127
|
-
[x: string]: number;
|
|
19128
|
-
} | undefined;
|
|
19129
|
-
runsView?: "list" | "table" | undefined;
|
|
19130
|
-
githubView?: "issues" | "prs" | undefined;
|
|
19131
|
-
appearance?: {
|
|
19132
|
-
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
19133
|
-
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
19134
|
-
width?: "narrow" | "wide" | undefined;
|
|
19135
|
-
} | undefined;
|
|
19136
|
-
promptTemplates?: {
|
|
19137
|
-
id: string;
|
|
19138
|
-
label: string;
|
|
19139
|
-
text: string;
|
|
19140
|
-
skills?: string[] | undefined;
|
|
19141
|
-
}[] | undefined;
|
|
19150
|
+
error: string;
|
|
19142
19151
|
};
|
|
19143
19152
|
outputFormat: "json";
|
|
19144
|
-
status:
|
|
19153
|
+
status: 500;
|
|
19145
19154
|
input: {
|
|
19146
19155
|
json: {
|
|
19147
19156
|
[x: string]: unknown;
|
|
@@ -20554,19 +20563,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20554
20563
|
} & {
|
|
20555
20564
|
"/repo/commit/:sha": {
|
|
20556
20565
|
$get: {
|
|
20557
|
-
output: string;
|
|
20558
|
-
outputFormat: "text";
|
|
20559
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20560
|
-
input: {
|
|
20561
|
-
query: {
|
|
20562
|
-
structured?: string | undefined;
|
|
20563
|
-
};
|
|
20564
|
-
} & {
|
|
20565
|
-
param: {
|
|
20566
|
-
sha: string;
|
|
20567
|
-
};
|
|
20568
|
-
};
|
|
20569
|
-
} | {
|
|
20570
20566
|
output: {
|
|
20571
20567
|
error: string;
|
|
20572
20568
|
code?: "invalid_input" | undefined;
|
|
@@ -20630,6 +20626,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20630
20626
|
sha: string;
|
|
20631
20627
|
};
|
|
20632
20628
|
};
|
|
20629
|
+
} | {
|
|
20630
|
+
output: string;
|
|
20631
|
+
outputFormat: "text";
|
|
20632
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20633
|
+
input: {
|
|
20634
|
+
query: {
|
|
20635
|
+
structured?: string | undefined;
|
|
20636
|
+
};
|
|
20637
|
+
} & {
|
|
20638
|
+
param: {
|
|
20639
|
+
sha: string;
|
|
20640
|
+
};
|
|
20641
|
+
};
|
|
20633
20642
|
};
|
|
20634
20643
|
};
|
|
20635
20644
|
} & {
|
|
@@ -24333,22 +24342,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
24333
24342
|
"/runs/:id/worker-destroy": {
|
|
24334
24343
|
$post: {
|
|
24335
24344
|
output: {
|
|
24336
|
-
|
|
24337
|
-
|
|
24338
|
-
readonly modelChoices?: {
|
|
24339
|
-
runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
|
|
24340
|
-
requestedModel: string;
|
|
24341
|
-
availableModels: {
|
|
24342
|
-
id: string;
|
|
24343
|
-
label: string;
|
|
24344
|
-
description: string;
|
|
24345
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
24346
|
-
}[];
|
|
24347
|
-
otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
|
|
24348
|
-
} | undefined;
|
|
24345
|
+
error: string;
|
|
24346
|
+
code?: "invalid_input" | undefined;
|
|
24349
24347
|
};
|
|
24350
24348
|
outputFormat: "json";
|
|
24351
|
-
status: 400
|
|
24349
|
+
status: 400;
|
|
24352
24350
|
input: {
|
|
24353
24351
|
query: {
|
|
24354
24352
|
[x: string]: string | string[];
|
|
@@ -24362,11 +24360,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
24362
24360
|
};
|
|
24363
24361
|
} | {
|
|
24364
24362
|
output: {
|
|
24365
|
-
|
|
24366
|
-
|
|
24363
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
24364
|
+
readonly error: string;
|
|
24365
|
+
readonly modelChoices?: {
|
|
24366
|
+
runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
|
|
24367
|
+
requestedModel: string;
|
|
24368
|
+
availableModels: {
|
|
24369
|
+
id: string;
|
|
24370
|
+
label: string;
|
|
24371
|
+
description: string;
|
|
24372
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
24373
|
+
}[];
|
|
24374
|
+
otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
|
|
24375
|
+
} | undefined;
|
|
24367
24376
|
};
|
|
24368
24377
|
outputFormat: "json";
|
|
24369
|
-
status: 400;
|
|
24378
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
24370
24379
|
input: {
|
|
24371
24380
|
query: {
|
|
24372
24381
|
[x: string]: string | string[];
|
|
@@ -33966,20 +33975,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33966
33975
|
} & {
|
|
33967
33976
|
"/runs/:id/handoff": {
|
|
33968
33977
|
$get: {
|
|
33969
|
-
output:
|
|
33970
|
-
|
|
33971
|
-
|
|
33978
|
+
output: {
|
|
33979
|
+
error: string;
|
|
33980
|
+
};
|
|
33981
|
+
outputFormat: "json";
|
|
33982
|
+
status: 404;
|
|
33972
33983
|
input: {
|
|
33973
33984
|
param: {
|
|
33974
33985
|
id: string;
|
|
33975
33986
|
};
|
|
33976
33987
|
};
|
|
33977
33988
|
} | {
|
|
33978
|
-
output:
|
|
33979
|
-
|
|
33980
|
-
|
|
33981
|
-
outputFormat: "json";
|
|
33982
|
-
status: 404;
|
|
33989
|
+
output: string;
|
|
33990
|
+
outputFormat: "text";
|
|
33991
|
+
status: 200;
|
|
33983
33992
|
input: {
|
|
33984
33993
|
param: {
|
|
33985
33994
|
id: string;
|
|
@@ -34017,20 +34026,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
34017
34026
|
} & {
|
|
34018
34027
|
"/runs/:id/diff": {
|
|
34019
34028
|
$get: {
|
|
34020
|
-
output:
|
|
34021
|
-
|
|
34022
|
-
|
|
34029
|
+
output: {
|
|
34030
|
+
error: string;
|
|
34031
|
+
};
|
|
34032
|
+
outputFormat: "json";
|
|
34033
|
+
status: 404 | 409;
|
|
34023
34034
|
input: {
|
|
34024
34035
|
param: {
|
|
34025
34036
|
id: string;
|
|
34026
34037
|
};
|
|
34027
34038
|
};
|
|
34028
34039
|
} | {
|
|
34029
|
-
output:
|
|
34030
|
-
|
|
34031
|
-
|
|
34032
|
-
outputFormat: "json";
|
|
34033
|
-
status: 404 | 409;
|
|
34040
|
+
output: string;
|
|
34041
|
+
outputFormat: "text";
|
|
34042
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
34034
34043
|
input: {
|
|
34035
34044
|
param: {
|
|
34036
34045
|
id: string;
|