@hearsay-tools/squawk 0.18.0-pr3429.5979 → 0.18.0-pr3435.6000.2
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/automations/service.d.ts +1 -1
- package/dist/automations/service.js +1 -1
- package/dist/ci-wait/tools.d.ts +4 -4
- package/dist/contract/automation-schedule.d.ts +9 -0
- package/dist/contract/automations.d.ts +1 -9
- package/dist/contract/index.js +1956 -1960
- package/dist/contract/run-status.d.ts +32 -0
- package/dist/contract/runs.d.ts +1 -21
- package/dist/core/structured-output.d.ts +9 -0
- package/dist/core/structured-output.js +64 -0
- package/dist/core/structured-output.js.map +1 -0
- package/dist/delegation/routes.d.ts +9 -9
- package/dist/delegation/service.d.ts +1 -1
- package/dist/delegation/service.js +1 -1
- package/dist/delegation/transport.d.ts +9 -9
- package/dist/discovery/catalog.d.ts +2 -9
- package/dist/discovery/catalog.js +1 -18
- package/dist/discovery/catalog.js.map +1 -1
- package/dist/discovery/choices.d.ts +10 -0
- package/dist/discovery/choices.js +19 -0
- package/dist/discovery/choices.js.map +1 -0
- package/dist/planner.d.ts +1 -8
- package/dist/planner.js +2 -63
- package/dist/planner.js.map +1 -1
- package/dist/runs/auto-name.js +1 -1
- package/dist/runs/auto-name.js.map +1 -1
- package/dist/runs/run-exits.d.ts +290 -290
- package/dist/server/live-routes.d.ts +6 -6
- package/dist/server/reports-api.d.ts +2 -2
- package/dist/server/server.d.ts +228 -228
- package/dist/server/workspace-live-routes.d.ts +6 -6
- package/dist/workflows/input-acknowledgement.d.ts +24 -24
- package/package.json +4 -4
- package/web/dist/assets/{activity-motion-XsGcc9eM.js → activity-motion-Bqd8S9Xy.js} +2 -2
- package/web/dist/assets/{activity-route-DIDXHV7J.js → activity-route-DQI_8J09.js} +1 -1
- package/web/dist/assets/{agent-accounts-CuRvwNoA.js → agent-accounts-C6eyz75V.js} +1 -1
- package/web/dist/assets/{cez-idle-DtpdVf_5.js → cez-idle-NomdGTfa.js} +1 -1
- package/web/dist/assets/{commit-diff-panel-DtHg36xc.js → commit-diff-panel-C7BUSPzE.js} +1 -1
- package/web/dist/assets/{control-locations-CljaLD_b.js → control-locations-DlrUP5vD.js} +1 -1
- package/web/dist/assets/{diff-ImdJ4tPA.js → diff-Bwy0qFul.js} +2 -2
- package/web/dist/assets/{diff-view-BMqNpcSH.js → diff-view-B9kgeZTm.js} +1 -1
- package/web/dist/assets/{file-preview-C58stPPw.js → file-preview-DrXgM1-S.js} +1 -1
- package/web/dist/assets/{git-toolbar-Dzp24LO7.js → git-toolbar-B1gOn_1U.js} +1 -1
- package/web/dist/assets/{github-Cn0hlJsH.js → github-g-ZOTwHQ.js} +1 -1
- package/web/dist/assets/{github-sidebar-model-BSNdxNKJ.js → github-sidebar-model-BdoLA7qT.js} +1 -1
- package/web/dist/assets/{global-activity-route-D5ke1ZQa.js → global-activity-route-CZ_xwiz3.js} +1 -1
- package/web/dist/assets/index-75IttVLX.js +17 -0
- package/web/dist/assets/{live-protocol-BAiIX_Mf.js → live-protocol-DBPXI6ks.js} +1 -1
- package/web/dist/assets/{live-refetch-CstQIN6c.js → live-refetch-pzhdhNS_.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-Cl-W1pDv.js → preview-pane-connected-Cx8q-Yrh.js} +1 -1
- package/web/dist/assets/{project-router-Dd63wBeA.js → project-router-BFKfAFvq.js} +1 -1
- package/web/dist/assets/project-scope-context-DSkcNKO7.js +4 -0
- package/web/dist/assets/{queries-BPdWfTBN.js → queries-BtScxiQP.js} +1 -1
- package/web/dist/assets/{repo-git-YYivBJ2x.js → repo-git-DgZuI4FP.js} +1 -1
- package/web/dist/assets/{report-reader-gGAlVnKU.js → report-reader-CeBtx_Sf.js} +1 -1
- package/web/dist/assets/reports-CRPxIRMM.js +1 -0
- package/web/dist/assets/{run-header-CxRJxVsR.js → run-header-C8Eeonkx.js} +2 -2
- package/web/dist/assets/{skills-CEFXcZA5.js → skills-DDoJCcmD.js} +1 -1
- package/web/dist/assets/{tab-link-CDrve3Rf.js → tab-link-DDpdYMnv.js} +1 -1
- package/web/dist/assets/{task-changes-Bm4gjXBb.js → task-changes-XAcKfebn.js} +1 -1
- package/web/dist/assets/{task-commits-DYHV533w.js → task-commits-D5V0Q0au.js} +1 -1
- package/web/dist/assets/{task-files-Bqvj0rbX.js → task-files-CkPJZE0w.js} +1 -1
- package/web/dist/assets/{task-github-item-YkTV2--_.js → task-github-item-CbCOKkvp.js} +1 -1
- package/web/dist/assets/{task-thread-CempX7k0.js → task-thread-DyR8HsDz.js} +5 -5
- package/web/dist/assets/{thread-state-BpcneWuV.js → thread-state-BtmIMbkZ.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-B9qtivFb.js → use-hand-to-agent-state-BUpbMYM9.js} +1 -1
- package/web/dist/assets/{useInfiniteQuery-hrWYY8aw.js → useInfiniteQuery-BmfExLUr.js} +1 -1
- package/web/dist/assets/useQuery-8pHkglP4.js +1 -0
- package/web/dist/assets/{workflows-z-CqJ0JW.js → workflows-CEFtJj_h.js} +1 -1
- package/web/dist/assets/{ws-Cn8d-Fu-.js → ws-CEQH0TUT.js} +1 -1
- package/web/dist/index.html +13 -13
- package/web/dist/live-worker.js +1 -1
- package/web/dist/assets/index-lMBPAedr.js +0 -17
- package/web/dist/assets/project-scope-context-wlB-Y0ii.js +0 -4
- package/web/dist/assets/reports-B_xpuTvK.js +0 -1
- package/web/dist/assets/useQuery-BHmKi9_o.js +0 -1
|
@@ -16,6 +16,12 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
|
|
|
16
16
|
output: {
|
|
17
17
|
generation: string;
|
|
18
18
|
results: ({
|
|
19
|
+
projectId: string;
|
|
20
|
+
runId: string;
|
|
21
|
+
type: "error" | "reset";
|
|
22
|
+
status: 400 | 404 | 409 | 413 | 503;
|
|
23
|
+
error: string;
|
|
24
|
+
} | {
|
|
19
25
|
projectId: string;
|
|
20
26
|
runId: string;
|
|
21
27
|
type: "batch";
|
|
@@ -29,12 +35,6 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
|
|
|
29
35
|
cursor: string;
|
|
30
36
|
afterSeq: number;
|
|
31
37
|
hasMore: boolean;
|
|
32
|
-
} | {
|
|
33
|
-
projectId: string;
|
|
34
|
-
runId: string;
|
|
35
|
-
type: "error" | "reset";
|
|
36
|
-
status: 400 | 404 | 409 | 413 | 503;
|
|
37
|
-
error: string;
|
|
38
38
|
})[];
|
|
39
39
|
};
|
|
40
40
|
outputFormat: "json";
|
|
@@ -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
|
@@ -3303,6 +3303,103 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3303
3303
|
};
|
|
3304
3304
|
};
|
|
3305
3305
|
};
|
|
3306
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3307
|
+
"/voice/decide": {
|
|
3308
|
+
$post: {
|
|
3309
|
+
output: {
|
|
3310
|
+
error: string;
|
|
3311
|
+
};
|
|
3312
|
+
outputFormat: "json";
|
|
3313
|
+
status: 503;
|
|
3314
|
+
input: {
|
|
3315
|
+
json: {
|
|
3316
|
+
text: string;
|
|
3317
|
+
sidebarView: "active" | "automations";
|
|
3318
|
+
openRunId?: string | undefined;
|
|
3319
|
+
view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
|
|
3320
|
+
askRequestId?: string | null | undefined;
|
|
3321
|
+
proposal?: {
|
|
3322
|
+
decisionId: string;
|
|
3323
|
+
action: "answer" | "tell";
|
|
3324
|
+
} | undefined;
|
|
3325
|
+
};
|
|
3326
|
+
};
|
|
3327
|
+
} | {
|
|
3328
|
+
output: {
|
|
3329
|
+
action: "open";
|
|
3330
|
+
decisionId: string;
|
|
3331
|
+
status: "archived" | "cancelled" | "done" | "failed" | "finished" | "monitoring" | "needs-permission" | "needs-review" | "needs-you" | "queued" | "running" | "scheduled" | "unread" | "waiting-for-capacity" | "waiting-for-ci" | "waiting-on-workers" | "working";
|
|
3332
|
+
position: number | "last" | "next" | "previous";
|
|
3333
|
+
confidence: number;
|
|
3334
|
+
alternatives?: {
|
|
3335
|
+
status: "archived" | "cancelled" | "done" | "failed" | "finished" | "monitoring" | "needs-permission" | "needs-review" | "needs-you" | "queued" | "running" | "scheduled" | "unread" | "waiting-for-capacity" | "waiting-for-ci" | "waiting-on-workers" | "working";
|
|
3336
|
+
position: number | "last" | "next" | "previous";
|
|
3337
|
+
}[] | undefined;
|
|
3338
|
+
} | {
|
|
3339
|
+
action: "answer";
|
|
3340
|
+
decisionId: string;
|
|
3341
|
+
runId: string;
|
|
3342
|
+
askRequestId: string;
|
|
3343
|
+
answers: ({
|
|
3344
|
+
question: number;
|
|
3345
|
+
kind: "option";
|
|
3346
|
+
labels: string[];
|
|
3347
|
+
} | {
|
|
3348
|
+
question: number;
|
|
3349
|
+
kind: "other";
|
|
3350
|
+
text: string;
|
|
3351
|
+
})[];
|
|
3352
|
+
confidence: number;
|
|
3353
|
+
} | {
|
|
3354
|
+
action: "tell";
|
|
3355
|
+
decisionId: string;
|
|
3356
|
+
runId: string;
|
|
3357
|
+
text: string;
|
|
3358
|
+
confidence: number;
|
|
3359
|
+
} | {
|
|
3360
|
+
action: "confirm";
|
|
3361
|
+
decisionId: string;
|
|
3362
|
+
} | {
|
|
3363
|
+
action: "cancel";
|
|
3364
|
+
decisionId: string;
|
|
3365
|
+
} | {
|
|
3366
|
+
action: "none";
|
|
3367
|
+
decisionId: string;
|
|
3368
|
+
reason: "ambiguous" | "no-open-question" | "no-open-task" | "not-a-command" | "stale-context" | "unclear" | "unsupported";
|
|
3369
|
+
};
|
|
3370
|
+
outputFormat: "json";
|
|
3371
|
+
status: 200;
|
|
3372
|
+
input: {
|
|
3373
|
+
json: {
|
|
3374
|
+
text: string;
|
|
3375
|
+
sidebarView: "active" | "automations";
|
|
3376
|
+
openRunId?: string | undefined;
|
|
3377
|
+
view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
|
|
3378
|
+
askRequestId?: string | null | undefined;
|
|
3379
|
+
proposal?: {
|
|
3380
|
+
decisionId: string;
|
|
3381
|
+
action: "answer" | "tell";
|
|
3382
|
+
} | undefined;
|
|
3383
|
+
};
|
|
3384
|
+
};
|
|
3385
|
+
};
|
|
3386
|
+
};
|
|
3387
|
+
} & {
|
|
3388
|
+
"/voice/outcome": {
|
|
3389
|
+
$post: {
|
|
3390
|
+
output: {
|
|
3391
|
+
ok: true;
|
|
3392
|
+
};
|
|
3393
|
+
outputFormat: "json";
|
|
3394
|
+
status: 200;
|
|
3395
|
+
input: {
|
|
3396
|
+
json: {
|
|
3397
|
+
decisionId: string;
|
|
3398
|
+
outcome: "abandoned" | "cancelled" | "confirmed" | "executed" | "replaced";
|
|
3399
|
+
};
|
|
3400
|
+
};
|
|
3401
|
+
};
|
|
3402
|
+
};
|
|
3306
3403
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3307
3404
|
"/ui-state": {
|
|
3308
3405
|
$get: {
|
|
@@ -3733,103 +3830,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3733
3830
|
};
|
|
3734
3831
|
};
|
|
3735
3832
|
};
|
|
3736
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3737
|
-
"/voice/decide": {
|
|
3738
|
-
$post: {
|
|
3739
|
-
output: {
|
|
3740
|
-
error: string;
|
|
3741
|
-
};
|
|
3742
|
-
outputFormat: "json";
|
|
3743
|
-
status: 503;
|
|
3744
|
-
input: {
|
|
3745
|
-
json: {
|
|
3746
|
-
text: string;
|
|
3747
|
-
sidebarView: "active" | "automations";
|
|
3748
|
-
openRunId?: string | undefined;
|
|
3749
|
-
view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
|
|
3750
|
-
askRequestId?: string | null | undefined;
|
|
3751
|
-
proposal?: {
|
|
3752
|
-
decisionId: string;
|
|
3753
|
-
action: "answer" | "tell";
|
|
3754
|
-
} | undefined;
|
|
3755
|
-
};
|
|
3756
|
-
};
|
|
3757
|
-
} | {
|
|
3758
|
-
output: {
|
|
3759
|
-
action: "open";
|
|
3760
|
-
decisionId: string;
|
|
3761
|
-
status: "archived" | "cancelled" | "done" | "failed" | "finished" | "monitoring" | "needs-permission" | "needs-review" | "needs-you" | "queued" | "running" | "scheduled" | "unread" | "waiting-for-capacity" | "waiting-for-ci" | "waiting-on-workers" | "working";
|
|
3762
|
-
position: number | "last" | "next" | "previous";
|
|
3763
|
-
confidence: number;
|
|
3764
|
-
alternatives?: {
|
|
3765
|
-
status: "archived" | "cancelled" | "done" | "failed" | "finished" | "monitoring" | "needs-permission" | "needs-review" | "needs-you" | "queued" | "running" | "scheduled" | "unread" | "waiting-for-capacity" | "waiting-for-ci" | "waiting-on-workers" | "working";
|
|
3766
|
-
position: number | "last" | "next" | "previous";
|
|
3767
|
-
}[] | undefined;
|
|
3768
|
-
} | {
|
|
3769
|
-
action: "answer";
|
|
3770
|
-
decisionId: string;
|
|
3771
|
-
runId: string;
|
|
3772
|
-
askRequestId: string;
|
|
3773
|
-
answers: ({
|
|
3774
|
-
question: number;
|
|
3775
|
-
kind: "option";
|
|
3776
|
-
labels: string[];
|
|
3777
|
-
} | {
|
|
3778
|
-
question: number;
|
|
3779
|
-
kind: "other";
|
|
3780
|
-
text: string;
|
|
3781
|
-
})[];
|
|
3782
|
-
confidence: number;
|
|
3783
|
-
} | {
|
|
3784
|
-
action: "tell";
|
|
3785
|
-
decisionId: string;
|
|
3786
|
-
runId: string;
|
|
3787
|
-
text: string;
|
|
3788
|
-
confidence: number;
|
|
3789
|
-
} | {
|
|
3790
|
-
action: "confirm";
|
|
3791
|
-
decisionId: string;
|
|
3792
|
-
} | {
|
|
3793
|
-
action: "cancel";
|
|
3794
|
-
decisionId: string;
|
|
3795
|
-
} | {
|
|
3796
|
-
action: "none";
|
|
3797
|
-
decisionId: string;
|
|
3798
|
-
reason: "ambiguous" | "no-open-question" | "no-open-task" | "not-a-command" | "stale-context" | "unclear" | "unsupported";
|
|
3799
|
-
};
|
|
3800
|
-
outputFormat: "json";
|
|
3801
|
-
status: 200;
|
|
3802
|
-
input: {
|
|
3803
|
-
json: {
|
|
3804
|
-
text: string;
|
|
3805
|
-
sidebarView: "active" | "automations";
|
|
3806
|
-
openRunId?: string | undefined;
|
|
3807
|
-
view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
|
|
3808
|
-
askRequestId?: string | null | undefined;
|
|
3809
|
-
proposal?: {
|
|
3810
|
-
decisionId: string;
|
|
3811
|
-
action: "answer" | "tell";
|
|
3812
|
-
} | undefined;
|
|
3813
|
-
};
|
|
3814
|
-
};
|
|
3815
|
-
};
|
|
3816
|
-
};
|
|
3817
|
-
} & {
|
|
3818
|
-
"/voice/outcome": {
|
|
3819
|
-
$post: {
|
|
3820
|
-
output: {
|
|
3821
|
-
ok: true;
|
|
3822
|
-
};
|
|
3823
|
-
outputFormat: "json";
|
|
3824
|
-
status: 200;
|
|
3825
|
-
input: {
|
|
3826
|
-
json: {
|
|
3827
|
-
decisionId: string;
|
|
3828
|
-
outcome: "abandoned" | "cancelled" | "confirmed" | "executed" | "replaced";
|
|
3829
|
-
};
|
|
3830
|
-
};
|
|
3831
|
-
};
|
|
3832
|
-
};
|
|
3833
3833
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3834
3834
|
"/agent-webhooks": {
|
|
3835
3835
|
$get: {
|
|
@@ -8733,11 +8733,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8733
8733
|
"/runs/:id/worker-destroy": {
|
|
8734
8734
|
$post: {
|
|
8735
8735
|
output: {
|
|
8736
|
-
|
|
8737
|
-
|
|
8736
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
8737
|
+
readonly error: string;
|
|
8738
|
+
readonly modelChoices?: {
|
|
8739
|
+
runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
|
|
8740
|
+
requestedModel: string;
|
|
8741
|
+
availableModels: {
|
|
8742
|
+
id: string;
|
|
8743
|
+
label: string;
|
|
8744
|
+
description: string;
|
|
8745
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
8746
|
+
}[];
|
|
8747
|
+
otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
|
|
8748
|
+
} | undefined;
|
|
8738
8749
|
};
|
|
8739
8750
|
outputFormat: "json";
|
|
8740
|
-
status: 400;
|
|
8751
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
8741
8752
|
input: {
|
|
8742
8753
|
query: {
|
|
8743
8754
|
[x: string]: string | string[];
|
|
@@ -8751,22 +8762,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8751
8762
|
};
|
|
8752
8763
|
} | {
|
|
8753
8764
|
output: {
|
|
8754
|
-
|
|
8755
|
-
|
|
8756
|
-
readonly modelChoices?: {
|
|
8757
|
-
runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
|
|
8758
|
-
requestedModel: string;
|
|
8759
|
-
availableModels: {
|
|
8760
|
-
id: string;
|
|
8761
|
-
label: string;
|
|
8762
|
-
description: string;
|
|
8763
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
8764
|
-
}[];
|
|
8765
|
-
otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
|
|
8766
|
-
} | undefined;
|
|
8765
|
+
error: string;
|
|
8766
|
+
code?: "invalid_input" | undefined;
|
|
8767
8767
|
};
|
|
8768
8768
|
outputFormat: "json";
|
|
8769
|
-
status: 400
|
|
8769
|
+
status: 400;
|
|
8770
8770
|
input: {
|
|
8771
8771
|
query: {
|
|
8772
8772
|
[x: string]: string | string[];
|
|
@@ -19180,6 +19180,103 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19180
19180
|
};
|
|
19181
19181
|
};
|
|
19182
19182
|
};
|
|
19183
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19184
|
+
"/voice/decide": {
|
|
19185
|
+
$post: {
|
|
19186
|
+
output: {
|
|
19187
|
+
error: string;
|
|
19188
|
+
};
|
|
19189
|
+
outputFormat: "json";
|
|
19190
|
+
status: 503;
|
|
19191
|
+
input: {
|
|
19192
|
+
json: {
|
|
19193
|
+
text: string;
|
|
19194
|
+
sidebarView: "active" | "automations";
|
|
19195
|
+
openRunId?: string | undefined;
|
|
19196
|
+
view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
|
|
19197
|
+
askRequestId?: string | null | undefined;
|
|
19198
|
+
proposal?: {
|
|
19199
|
+
decisionId: string;
|
|
19200
|
+
action: "answer" | "tell";
|
|
19201
|
+
} | undefined;
|
|
19202
|
+
};
|
|
19203
|
+
};
|
|
19204
|
+
} | {
|
|
19205
|
+
output: {
|
|
19206
|
+
action: "open";
|
|
19207
|
+
decisionId: string;
|
|
19208
|
+
status: "archived" | "cancelled" | "done" | "failed" | "finished" | "monitoring" | "needs-permission" | "needs-review" | "needs-you" | "queued" | "running" | "scheduled" | "unread" | "waiting-for-capacity" | "waiting-for-ci" | "waiting-on-workers" | "working";
|
|
19209
|
+
position: number | "last" | "next" | "previous";
|
|
19210
|
+
confidence: number;
|
|
19211
|
+
alternatives?: {
|
|
19212
|
+
status: "archived" | "cancelled" | "done" | "failed" | "finished" | "monitoring" | "needs-permission" | "needs-review" | "needs-you" | "queued" | "running" | "scheduled" | "unread" | "waiting-for-capacity" | "waiting-for-ci" | "waiting-on-workers" | "working";
|
|
19213
|
+
position: number | "last" | "next" | "previous";
|
|
19214
|
+
}[] | undefined;
|
|
19215
|
+
} | {
|
|
19216
|
+
action: "answer";
|
|
19217
|
+
decisionId: string;
|
|
19218
|
+
runId: string;
|
|
19219
|
+
askRequestId: string;
|
|
19220
|
+
answers: ({
|
|
19221
|
+
question: number;
|
|
19222
|
+
kind: "option";
|
|
19223
|
+
labels: string[];
|
|
19224
|
+
} | {
|
|
19225
|
+
question: number;
|
|
19226
|
+
kind: "other";
|
|
19227
|
+
text: string;
|
|
19228
|
+
})[];
|
|
19229
|
+
confidence: number;
|
|
19230
|
+
} | {
|
|
19231
|
+
action: "tell";
|
|
19232
|
+
decisionId: string;
|
|
19233
|
+
runId: string;
|
|
19234
|
+
text: string;
|
|
19235
|
+
confidence: number;
|
|
19236
|
+
} | {
|
|
19237
|
+
action: "confirm";
|
|
19238
|
+
decisionId: string;
|
|
19239
|
+
} | {
|
|
19240
|
+
action: "cancel";
|
|
19241
|
+
decisionId: string;
|
|
19242
|
+
} | {
|
|
19243
|
+
action: "none";
|
|
19244
|
+
decisionId: string;
|
|
19245
|
+
reason: "ambiguous" | "no-open-question" | "no-open-task" | "not-a-command" | "stale-context" | "unclear" | "unsupported";
|
|
19246
|
+
};
|
|
19247
|
+
outputFormat: "json";
|
|
19248
|
+
status: 200;
|
|
19249
|
+
input: {
|
|
19250
|
+
json: {
|
|
19251
|
+
text: string;
|
|
19252
|
+
sidebarView: "active" | "automations";
|
|
19253
|
+
openRunId?: string | undefined;
|
|
19254
|
+
view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
|
|
19255
|
+
askRequestId?: string | null | undefined;
|
|
19256
|
+
proposal?: {
|
|
19257
|
+
decisionId: string;
|
|
19258
|
+
action: "answer" | "tell";
|
|
19259
|
+
} | undefined;
|
|
19260
|
+
};
|
|
19261
|
+
};
|
|
19262
|
+
};
|
|
19263
|
+
};
|
|
19264
|
+
} & {
|
|
19265
|
+
"/voice/outcome": {
|
|
19266
|
+
$post: {
|
|
19267
|
+
output: {
|
|
19268
|
+
ok: true;
|
|
19269
|
+
};
|
|
19270
|
+
outputFormat: "json";
|
|
19271
|
+
status: 200;
|
|
19272
|
+
input: {
|
|
19273
|
+
json: {
|
|
19274
|
+
decisionId: string;
|
|
19275
|
+
outcome: "abandoned" | "cancelled" | "confirmed" | "executed" | "replaced";
|
|
19276
|
+
};
|
|
19277
|
+
};
|
|
19278
|
+
};
|
|
19279
|
+
};
|
|
19183
19280
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19184
19281
|
"/ui-state": {
|
|
19185
19282
|
$get: {
|
|
@@ -19610,103 +19707,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19610
19707
|
};
|
|
19611
19708
|
};
|
|
19612
19709
|
};
|
|
19613
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19614
|
-
"/voice/decide": {
|
|
19615
|
-
$post: {
|
|
19616
|
-
output: {
|
|
19617
|
-
error: string;
|
|
19618
|
-
};
|
|
19619
|
-
outputFormat: "json";
|
|
19620
|
-
status: 503;
|
|
19621
|
-
input: {
|
|
19622
|
-
json: {
|
|
19623
|
-
text: string;
|
|
19624
|
-
sidebarView: "active" | "automations";
|
|
19625
|
-
openRunId?: string | undefined;
|
|
19626
|
-
view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
|
|
19627
|
-
askRequestId?: string | null | undefined;
|
|
19628
|
-
proposal?: {
|
|
19629
|
-
decisionId: string;
|
|
19630
|
-
action: "answer" | "tell";
|
|
19631
|
-
} | undefined;
|
|
19632
|
-
};
|
|
19633
|
-
};
|
|
19634
|
-
} | {
|
|
19635
|
-
output: {
|
|
19636
|
-
action: "open";
|
|
19637
|
-
decisionId: string;
|
|
19638
|
-
status: "archived" | "cancelled" | "done" | "failed" | "finished" | "monitoring" | "needs-permission" | "needs-review" | "needs-you" | "queued" | "running" | "scheduled" | "unread" | "waiting-for-capacity" | "waiting-for-ci" | "waiting-on-workers" | "working";
|
|
19639
|
-
position: number | "last" | "next" | "previous";
|
|
19640
|
-
confidence: number;
|
|
19641
|
-
alternatives?: {
|
|
19642
|
-
status: "archived" | "cancelled" | "done" | "failed" | "finished" | "monitoring" | "needs-permission" | "needs-review" | "needs-you" | "queued" | "running" | "scheduled" | "unread" | "waiting-for-capacity" | "waiting-for-ci" | "waiting-on-workers" | "working";
|
|
19643
|
-
position: number | "last" | "next" | "previous";
|
|
19644
|
-
}[] | undefined;
|
|
19645
|
-
} | {
|
|
19646
|
-
action: "answer";
|
|
19647
|
-
decisionId: string;
|
|
19648
|
-
runId: string;
|
|
19649
|
-
askRequestId: string;
|
|
19650
|
-
answers: ({
|
|
19651
|
-
question: number;
|
|
19652
|
-
kind: "option";
|
|
19653
|
-
labels: string[];
|
|
19654
|
-
} | {
|
|
19655
|
-
question: number;
|
|
19656
|
-
kind: "other";
|
|
19657
|
-
text: string;
|
|
19658
|
-
})[];
|
|
19659
|
-
confidence: number;
|
|
19660
|
-
} | {
|
|
19661
|
-
action: "tell";
|
|
19662
|
-
decisionId: string;
|
|
19663
|
-
runId: string;
|
|
19664
|
-
text: string;
|
|
19665
|
-
confidence: number;
|
|
19666
|
-
} | {
|
|
19667
|
-
action: "confirm";
|
|
19668
|
-
decisionId: string;
|
|
19669
|
-
} | {
|
|
19670
|
-
action: "cancel";
|
|
19671
|
-
decisionId: string;
|
|
19672
|
-
} | {
|
|
19673
|
-
action: "none";
|
|
19674
|
-
decisionId: string;
|
|
19675
|
-
reason: "ambiguous" | "no-open-question" | "no-open-task" | "not-a-command" | "stale-context" | "unclear" | "unsupported";
|
|
19676
|
-
};
|
|
19677
|
-
outputFormat: "json";
|
|
19678
|
-
status: 200;
|
|
19679
|
-
input: {
|
|
19680
|
-
json: {
|
|
19681
|
-
text: string;
|
|
19682
|
-
sidebarView: "active" | "automations";
|
|
19683
|
-
openRunId?: string | undefined;
|
|
19684
|
-
view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
|
|
19685
|
-
askRequestId?: string | null | undefined;
|
|
19686
|
-
proposal?: {
|
|
19687
|
-
decisionId: string;
|
|
19688
|
-
action: "answer" | "tell";
|
|
19689
|
-
} | undefined;
|
|
19690
|
-
};
|
|
19691
|
-
};
|
|
19692
|
-
};
|
|
19693
|
-
};
|
|
19694
|
-
} & {
|
|
19695
|
-
"/voice/outcome": {
|
|
19696
|
-
$post: {
|
|
19697
|
-
output: {
|
|
19698
|
-
ok: true;
|
|
19699
|
-
};
|
|
19700
|
-
outputFormat: "json";
|
|
19701
|
-
status: 200;
|
|
19702
|
-
input: {
|
|
19703
|
-
json: {
|
|
19704
|
-
decisionId: string;
|
|
19705
|
-
outcome: "abandoned" | "cancelled" | "confirmed" | "executed" | "replaced";
|
|
19706
|
-
};
|
|
19707
|
-
};
|
|
19708
|
-
};
|
|
19709
|
-
};
|
|
19710
19710
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19711
19711
|
"/agent-webhooks": {
|
|
19712
19712
|
$get: {
|
|
@@ -24610,11 +24610,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
24610
24610
|
"/runs/:id/worker-destroy": {
|
|
24611
24611
|
$post: {
|
|
24612
24612
|
output: {
|
|
24613
|
-
|
|
24614
|
-
|
|
24613
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
24614
|
+
readonly error: string;
|
|
24615
|
+
readonly modelChoices?: {
|
|
24616
|
+
runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
|
|
24617
|
+
requestedModel: string;
|
|
24618
|
+
availableModels: {
|
|
24619
|
+
id: string;
|
|
24620
|
+
label: string;
|
|
24621
|
+
description: string;
|
|
24622
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
24623
|
+
}[];
|
|
24624
|
+
otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
|
|
24625
|
+
} | undefined;
|
|
24615
24626
|
};
|
|
24616
24627
|
outputFormat: "json";
|
|
24617
|
-
status: 400;
|
|
24628
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
24618
24629
|
input: {
|
|
24619
24630
|
query: {
|
|
24620
24631
|
[x: string]: string | string[];
|
|
@@ -24628,22 +24639,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
24628
24639
|
};
|
|
24629
24640
|
} | {
|
|
24630
24641
|
output: {
|
|
24631
|
-
|
|
24632
|
-
|
|
24633
|
-
readonly modelChoices?: {
|
|
24634
|
-
runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
|
|
24635
|
-
requestedModel: string;
|
|
24636
|
-
availableModels: {
|
|
24637
|
-
id: string;
|
|
24638
|
-
label: string;
|
|
24639
|
-
description: string;
|
|
24640
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
24641
|
-
}[];
|
|
24642
|
-
otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
|
|
24643
|
-
} | undefined;
|
|
24642
|
+
error: string;
|
|
24643
|
+
code?: "invalid_input" | undefined;
|
|
24644
24644
|
};
|
|
24645
24645
|
outputFormat: "json";
|
|
24646
|
-
status: 400
|
|
24646
|
+
status: 400;
|
|
24647
24647
|
input: {
|
|
24648
24648
|
query: {
|
|
24649
24649
|
[x: string]: string | string[];
|
|
@@ -7,12 +7,6 @@ export declare function createWorkspaceLiveRoutes(live: Parameters<typeof create
|
|
|
7
7
|
output: {
|
|
8
8
|
generation: string;
|
|
9
9
|
results: ({
|
|
10
|
-
projectId: string;
|
|
11
|
-
runId: string;
|
|
12
|
-
type: "error" | "reset";
|
|
13
|
-
status: 400 | 404 | 409 | 413 | 503;
|
|
14
|
-
error: string;
|
|
15
|
-
} | {
|
|
16
10
|
projectId: string;
|
|
17
11
|
runId: string;
|
|
18
12
|
type: "batch";
|
|
@@ -26,6 +20,12 @@ export declare function createWorkspaceLiveRoutes(live: Parameters<typeof create
|
|
|
26
20
|
cursor: string;
|
|
27
21
|
afterSeq: number;
|
|
28
22
|
hasMore: boolean;
|
|
23
|
+
} | {
|
|
24
|
+
projectId: string;
|
|
25
|
+
runId: string;
|
|
26
|
+
type: "error" | "reset";
|
|
27
|
+
status: 400 | 404 | 409 | 413 | 503;
|
|
28
|
+
error: string;
|
|
29
29
|
})[];
|
|
30
30
|
};
|
|
31
31
|
outputFormat: "json";
|
|
@@ -72,30 +72,6 @@ export declare function analyseAcknowledgedInput(runId: string, state: ActiveRun
|
|
|
72
72
|
deadline: string;
|
|
73
73
|
seconds: number;
|
|
74
74
|
note?: string | undefined;
|
|
75
|
-
} | {
|
|
76
|
-
id: string;
|
|
77
|
-
source: "agent" | "cezar";
|
|
78
|
-
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";
|
|
79
|
-
registeredAt: string;
|
|
80
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
81
|
-
resolvedAt?: string | undefined;
|
|
82
|
-
deliveredAt?: string | undefined;
|
|
83
|
-
cancelledAt?: string | undefined;
|
|
84
|
-
turnId: string;
|
|
85
|
-
kind: "process";
|
|
86
|
-
deadline: string;
|
|
87
|
-
timeoutSeconds: number;
|
|
88
|
-
pid: number;
|
|
89
|
-
startToken?: string | undefined;
|
|
90
|
-
exitFile?: string | undefined;
|
|
91
|
-
note?: string | undefined;
|
|
92
|
-
result?: {
|
|
93
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
94
|
-
observedAt: string;
|
|
95
|
-
exitCode?: number | undefined;
|
|
96
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
97
|
-
diagnostic?: string | undefined;
|
|
98
|
-
} | undefined;
|
|
99
75
|
} | {
|
|
100
76
|
id: string;
|
|
101
77
|
source: "agent" | "cezar";
|
|
@@ -156,6 +132,30 @@ export declare function analyseAcknowledgedInput(runId: string, state: ActiveRun
|
|
|
156
132
|
reason: "outcome" | "timeout";
|
|
157
133
|
} | undefined;
|
|
158
134
|
wakeInputId?: string | undefined;
|
|
135
|
+
} | {
|
|
136
|
+
id: string;
|
|
137
|
+
source: "agent" | "cezar";
|
|
138
|
+
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";
|
|
139
|
+
registeredAt: string;
|
|
140
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
141
|
+
resolvedAt?: string | undefined;
|
|
142
|
+
deliveredAt?: string | undefined;
|
|
143
|
+
cancelledAt?: string | undefined;
|
|
144
|
+
turnId: string;
|
|
145
|
+
kind: "process";
|
|
146
|
+
deadline: string;
|
|
147
|
+
timeoutSeconds: number;
|
|
148
|
+
pid: number;
|
|
149
|
+
startToken?: string | undefined;
|
|
150
|
+
exitFile?: string | undefined;
|
|
151
|
+
note?: string | undefined;
|
|
152
|
+
result?: {
|
|
153
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
154
|
+
observedAt: string;
|
|
155
|
+
exitCode?: number | undefined;
|
|
156
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
157
|
+
diagnostic?: string | undefined;
|
|
158
|
+
} | undefined;
|
|
159
159
|
} | {
|
|
160
160
|
id: string;
|
|
161
161
|
source: "agent" | "cezar";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.18.0-
|
|
3
|
+
"version": "0.18.0-pr3435.6000.2",
|
|
4
4
|
"description": "Local cockpit for running and tracking AI agent tasks in your repo. Uses your logged-in `claude` CLI and `gh` — zero config, zero database.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@babel/parser": "^8.0.8",
|
|
62
62
|
"@babel/types": "^8.0.8",
|
|
63
|
-
"@open-mercato/cezar-api-client": "0.18.0-
|
|
64
|
-
"@open-mercato/cezar-contract": "0.18.0-
|
|
63
|
+
"@open-mercato/cezar-api-client": "0.18.0-pr3435.6000.2",
|
|
64
|
+
"@open-mercato/cezar-contract": "0.18.0-pr3435.6000.2",
|
|
65
65
|
"@types/node": "^24.19.1",
|
|
66
66
|
"@types/ws": "^8.18.1",
|
|
67
67
|
"esbuild": "^0.28.1",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"publishConfig": {
|
|
79
79
|
"access": "public"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "0ed2372823ea107ce42821a5a35157d04bb93689"
|
|
82
82
|
}
|