@hearsay-tools/squawk 0.19.0-dev.8959 → 0.19.0-dev.8965
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/contract/index.js +4 -1
- package/dist/contract/repo.d.ts +2 -0
- package/dist/delegation/routes.d.ts +65 -65
- package/dist/features/automations/automations-routes.d.ts +150 -150
- package/dist/server/git-changes.d.ts +5 -0
- package/dist/server/git-changes.js +17 -1
- package/dist/server/git-changes.js.map +1 -1
- package/dist/server/models-routes.d.ts +12 -12
- package/dist/server/project-settings-routes.d.ts +107 -107
- package/dist/server/projects-routes.d.ts +45 -45
- package/dist/server/provider-sign-in-routes.d.ts +2 -2
- package/dist/server/reports-api.d.ts +2 -2
- package/dist/server/runners-routes.d.ts +10 -10
- package/dist/server/runs-routes.d.ts +23 -22
- package/dist/server/server.d.ts +1210 -1208
- package/package.json +4 -4
- package/web/dist/assets/accounts-section-Db5lzinF.js +1 -0
- package/web/dist/assets/{activity-motion-CNZbrIKs.js → activity-motion-DP9A-iJP.js} +1 -1
- package/web/dist/assets/{activity-route-HjCeTGFh.js → activity-route-CSVZG1Yk.js} +1 -1
- package/web/dist/assets/{agent-config-section-D3ASkT9C.js → agent-config-section-BWpBfi7r.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-B9ooGC8t.js → agent-defaults-section-B7oMQzUO.js} +1 -1
- package/web/dist/assets/{appearance-OFbvt85o.js → appearance-DYSwuTmE.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-BvtuaspW.js → archive-on-merge-field-Cuw5IABu.js} +1 -1
- package/web/dist/assets/attention-C9zoC-gL.js +1 -0
- package/web/dist/assets/{automations-route-C6uMU-W3.js → automations-route-BgdxYmqh.js} +2 -2
- package/web/dist/assets/{commit-list-Dg-dPG_J.js → commit-list-D-eUAETe.js} +1 -1
- package/web/dist/assets/{diff-2NATw62W.js → diff-BFrqQZmo.js} +2 -2
- package/web/dist/assets/{diff-controls-DkJTGyU5.js → diff-controls-x4n0YQLg.js} +1 -1
- package/web/dist/assets/{diff-view-CW-GN8t7.js → diff-view-BUofv-IL.js} +1 -1
- package/web/dist/assets/discard-changes-dialog-CO98KAfo.js +1 -0
- package/web/dist/assets/{file-preview-BJ6Q-VPN.js → file-preview-lIaIJUZK.js} +1 -1
- package/web/dist/assets/{folder-browser-BSGB9hhQ.js → folder-browser-DiQGbqCN.js} +1 -1
- package/web/dist/assets/git-toolbar-BlwZtWla.js +1 -0
- package/web/dist/assets/github-Dc3nfijN.js +1 -0
- package/web/dist/assets/{global-activity-route-CoxiPpqk.js → global-activity-route-9kNmmkcm.js} +1 -1
- package/web/dist/assets/{index-MCtGGYNa.js → index-CwaCfhQn.js} +7 -7
- package/web/dist/assets/index-j7fiJmmF.css +1 -0
- package/web/dist/assets/{label-CV8tuTOO.js → label-B1zf-eXb.js} +1 -1
- package/web/dist/assets/{markdown-Vws-ZDQC.js → markdown-CdlTRkrR.js} +1 -1
- package/web/dist/assets/middle-truncated-name-TQxp8NxE.js +1 -0
- package/web/dist/assets/{open-in-menu-BTa2aBQh.js → open-in-menu-DfTnT8YF.js} +1 -1
- package/web/dist/assets/{option-select-C7M2fzIw.js → option-select-CpZhQQ4x.js} +1 -1
- package/web/dist/assets/{preferences-section-C_T_KjBg.js → preferences-section-BNZaZoHj.js} +1 -1
- package/web/dist/assets/preview-pane-connected-DtjCqQCW.js +3 -0
- package/web/dist/assets/{project-location-Db8_ITcg.js → project-location-BkThFjg5.js} +1 -1
- package/web/dist/assets/{project-router-BHFXTx5l.js → project-router-onKnSy5a.js} +1 -1
- package/web/dist/assets/{projects-section-CFTrO5BI.js → projects-section-BdK2iGn2.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-DtlXhJiK.js → prompt-templates-section-K8tGcjHO.js} +2 -2
- package/web/dist/assets/{queries-CIeJg62Y.js → queries-CII6fTHH.js} +1 -1
- package/web/dist/assets/{reference-chip-Br0H2srF.js → reference-chip-Cv3i1kxz.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-BVvV6edA.js → remote-settings-notice-BjVD9Tpd.js} +1 -1
- package/web/dist/assets/repo-git-83M_eSW4.js +1 -0
- package/web/dist/assets/{report-reader-c0AG1n4k.js → report-reader-C9faqNxp.js} +1 -1
- package/web/dist/assets/{report-selection-dYsm1HEf.js → report-selection-CmEfaDz7.js} +1 -1
- package/web/dist/assets/{reports-BTVWwMou.js → reports-_MEq44e-.js} +1 -1
- package/web/dist/assets/{resources-section-BmLG8Lm0.js → resources-section-B9AnYDT1.js} +1 -1
- package/web/dist/assets/{review-panel-B1Mt1hrO.js → review-panel-QkkXnNl6.js} +4 -4
- package/web/dist/assets/{run-detail-refresh-DTnwaDy2.js → run-detail-refresh-Caj4BPPd.js} +1 -1
- package/web/dist/assets/run-header-C6-a8K7X.js +2 -0
- package/web/dist/assets/{select-dpKLmgZ_.js → select-BG2mryTI.js} +1 -1
- package/web/dist/assets/{session-context-section-CXb8kIYJ.js → session-context-section-DoPTAAaF.js} +2 -2
- package/web/dist/assets/{settings-agent-picker-NGLgXFte.js → settings-agent-picker-PVoldhz2.js} +1 -1
- package/web/dist/assets/{settings-save-bar-CfUNcwW4.js → settings-save-bar-DrJyUlGR.js} +1 -1
- package/web/dist/assets/{settings-shell-Dcv1oVB4.js → settings-shell-C-eZ0DiM.js} +1 -1
- package/web/dist/assets/{sidebar-section-BeXW9JPy.js → sidebar-section-iVSpyRZ0.js} +1 -1
- package/web/dist/assets/{skills-BcCvvz3d.js → skills-Cvskb0Fk.js} +1 -1
- package/web/dist/assets/{tab-link-BYYXdpLn.js → tab-link-B2k-zaeP.js} +1 -1
- package/web/dist/assets/task-changes-gGRvQ3NB.js +1 -0
- package/web/dist/assets/{task-commits-CgjVHKLR.js → task-commits-DGPH3gFX.js} +1 -1
- package/web/dist/assets/{task-file-scope-CPI1TQ21.js → task-file-scope-Z2smLv09.js} +1 -1
- package/web/dist/assets/task-files-905jN7TA.js +1 -0
- package/web/dist/assets/{task-github-item-Bybg0bs5.js → task-github-item-xrfEri2x.js} +1 -1
- package/web/dist/assets/{task-groups-C9pTQm-2.js → task-groups-dEzH1nMg.js} +1 -1
- package/web/dist/assets/{task-thread-CIl3Uj6Y.js → task-thread-Dsm-48-n.js} +2 -2
- package/web/dist/assets/{tasks-table-CvZ2ZyCa.js → tasks-table-CPAY1N-E.js} +1 -1
- package/web/dist/assets/thread-state-CrCMnkHo.js +4 -0
- package/web/dist/assets/{toaster-D0HMoto5.js → toaster-Bs1mVYf9.js} +1 -1
- package/web/dist/assets/use-hand-to-agent-state-D2mTcKQq.js +1 -0
- package/web/dist/assets/use-path-bases-DIMmnJTH.js +1 -0
- package/web/dist/assets/use-workspace-config-save-0Mtdwfrd.js +1 -0
- package/web/dist/assets/{workflows-aqvasP6w.js → workflows-BM4nrPVB.js} +3 -3
- package/web/dist/assets/{workspace-tools-BwjfFjb2.js → workspace-tools-DHMaUd94.js} +1 -1
- package/web/dist/assets/{worktrees-section-BcuizqIq.js → worktrees-section-VBLWYgdm.js} +1 -1
- package/web/dist/index.html +14 -14
- package/web/dist/assets/accounts-section-Iuso5EHy.js +0 -1
- package/web/dist/assets/attention-V1gJ7gKo.js +0 -1
- package/web/dist/assets/discard-changes-dialog-BXfDdnph.js +0 -1
- package/web/dist/assets/git-toolbar-C68CnIDL.js +0 -1
- package/web/dist/assets/github-Dqk0cII6.js +0 -1
- package/web/dist/assets/index-CM_iAvs4.css +0 -1
- package/web/dist/assets/preview-pane-connected-CXUd2utJ.js +0 -3
- package/web/dist/assets/repo-git-ymL5_ed2.js +0 -1
- package/web/dist/assets/run-header-DyEbB88q.js +0 -2
- package/web/dist/assets/task-changes-Bj7JpmR_.js +0 -1
- package/web/dist/assets/task-files-nBsD7Mvo.js +0 -1
- package/web/dist/assets/thread-state-DQUYVbcr.js +0 -4
- package/web/dist/assets/use-hand-to-agent-state-CUDqVWwY.js +0 -1
- package/web/dist/assets/use-path-bases-BbEKGJNh.js +0 -1
- package/web/dist/assets/use-workspace-config-save-bZksgjRK.js +0 -1
package/dist/contract/index.js
CHANGED
|
@@ -3112,7 +3112,10 @@ var repoCommitPayloadSchema = z24.object({
|
|
|
3112
3112
|
var worktreeDirEntrySchema = z24.object({
|
|
3113
3113
|
name: z24.string(),
|
|
3114
3114
|
type: z24.enum(["dir", "file"]),
|
|
3115
|
-
size: z24.number().optional()
|
|
3115
|
+
size: z24.number().optional(),
|
|
3116
|
+
/** A folder holding only one folder: the path from the listed folder down that single-child
|
|
3117
|
+
* chain (`packages/web/src`), so the tree draws it as one row. Absent when it is `name`. */
|
|
3118
|
+
chain: z24.string().optional()
|
|
3116
3119
|
});
|
|
3117
3120
|
var worktreeEntrySchema = z24.discriminatedUnion("type", [
|
|
3118
3121
|
z24.object({
|
package/dist/contract/repo.d.ts
CHANGED
|
@@ -423,6 +423,7 @@ export declare const worktreeDirEntrySchema: z.ZodObject<{
|
|
|
423
423
|
file: "file";
|
|
424
424
|
}>;
|
|
425
425
|
size: z.ZodOptional<z.ZodNumber>;
|
|
426
|
+
chain: z.ZodOptional<z.ZodString>;
|
|
426
427
|
}, z.core.$strip>;
|
|
427
428
|
export type WorktreeDirEntry = z.infer<typeof worktreeDirEntrySchema>;
|
|
428
429
|
/**
|
|
@@ -443,6 +444,7 @@ export declare const worktreeEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
443
444
|
file: "file";
|
|
444
445
|
}>;
|
|
445
446
|
size: z.ZodOptional<z.ZodNumber>;
|
|
447
|
+
chain: z.ZodOptional<z.ZodString>;
|
|
446
448
|
}, z.core.$strip>>;
|
|
447
449
|
}, z.core.$strip>, z.ZodObject<{
|
|
448
450
|
type: z.ZodLiteral<"file">;
|
|
@@ -27,6 +27,18 @@ export declare function delegationFailure(error: unknown): {
|
|
|
27
27
|
export declare function createDelegationRoutes(service: DelegationService, credentials: CredentialRegistry): import("hono/hono-base").HonoBase<Env, {
|
|
28
28
|
"/list": {
|
|
29
29
|
$get: {
|
|
30
|
+
output: {
|
|
31
|
+
error: string;
|
|
32
|
+
code?: "invalid_input" | undefined;
|
|
33
|
+
};
|
|
34
|
+
outputFormat: "json";
|
|
35
|
+
status: 400;
|
|
36
|
+
input: {
|
|
37
|
+
query: {
|
|
38
|
+
offset?: string | undefined;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
} | {
|
|
30
42
|
output: {
|
|
31
43
|
workers: {
|
|
32
44
|
workerId: string;
|
|
@@ -79,18 +91,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
79
91
|
offset?: string | undefined;
|
|
80
92
|
};
|
|
81
93
|
};
|
|
82
|
-
} | {
|
|
83
|
-
output: {
|
|
84
|
-
error: string;
|
|
85
|
-
code?: "invalid_input" | undefined;
|
|
86
|
-
};
|
|
87
|
-
outputFormat: "json";
|
|
88
|
-
status: 400;
|
|
89
|
-
input: {
|
|
90
|
-
query: {
|
|
91
|
-
offset?: string | undefined;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
94
|
};
|
|
95
95
|
};
|
|
96
96
|
} & {
|
|
@@ -677,6 +677,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
677
677
|
} & {
|
|
678
678
|
"/:workerId": {
|
|
679
679
|
$get: {
|
|
680
|
+
output: {
|
|
681
|
+
error: string;
|
|
682
|
+
code?: "invalid_input" | undefined;
|
|
683
|
+
};
|
|
684
|
+
outputFormat: "json";
|
|
685
|
+
status: 400;
|
|
686
|
+
input: {
|
|
687
|
+
param: {
|
|
688
|
+
workerId: string;
|
|
689
|
+
};
|
|
690
|
+
};
|
|
691
|
+
} | {
|
|
680
692
|
output: {
|
|
681
693
|
workerId: string;
|
|
682
694
|
settled: boolean;
|
|
@@ -801,7 +813,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
801
813
|
workerId: string;
|
|
802
814
|
};
|
|
803
815
|
};
|
|
804
|
-
}
|
|
816
|
+
};
|
|
817
|
+
};
|
|
818
|
+
} & {
|
|
819
|
+
"/:workerId/collect": {
|
|
820
|
+
$post: {
|
|
805
821
|
output: {
|
|
806
822
|
error: string;
|
|
807
823
|
code?: "invalid_input" | undefined;
|
|
@@ -812,12 +828,10 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
812
828
|
param: {
|
|
813
829
|
workerId: string;
|
|
814
830
|
};
|
|
831
|
+
} & {
|
|
832
|
+
json: Record<string, never>;
|
|
815
833
|
};
|
|
816
|
-
}
|
|
817
|
-
};
|
|
818
|
-
} & {
|
|
819
|
-
"/:workerId/collect": {
|
|
820
|
-
$post: {
|
|
834
|
+
} | {
|
|
821
835
|
output: {
|
|
822
836
|
workerId: string;
|
|
823
837
|
parentRunId: string;
|
|
@@ -940,7 +954,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
940
954
|
} & {
|
|
941
955
|
json: Record<string, never>;
|
|
942
956
|
};
|
|
943
|
-
}
|
|
957
|
+
};
|
|
958
|
+
};
|
|
959
|
+
} & {
|
|
960
|
+
"/:workerId/steer": {
|
|
961
|
+
$post: {
|
|
944
962
|
output: {
|
|
945
963
|
error: string;
|
|
946
964
|
code?: "invalid_input" | undefined;
|
|
@@ -952,13 +970,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
952
970
|
workerId: string;
|
|
953
971
|
};
|
|
954
972
|
} & {
|
|
955
|
-
json:
|
|
973
|
+
json: {
|
|
974
|
+
text: string;
|
|
975
|
+
};
|
|
956
976
|
};
|
|
957
|
-
}
|
|
958
|
-
};
|
|
959
|
-
} & {
|
|
960
|
-
"/:workerId/steer": {
|
|
961
|
-
$post: {
|
|
977
|
+
} | {
|
|
962
978
|
output: {
|
|
963
979
|
workerId: string;
|
|
964
980
|
state: "delivered" | "queued";
|
|
@@ -974,7 +990,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
974
990
|
text: string;
|
|
975
991
|
};
|
|
976
992
|
};
|
|
977
|
-
}
|
|
993
|
+
};
|
|
994
|
+
};
|
|
995
|
+
} & {
|
|
996
|
+
"/:workerId/stop": {
|
|
997
|
+
$post: {
|
|
978
998
|
output: {
|
|
979
999
|
error: string;
|
|
980
1000
|
code?: "invalid_input" | undefined;
|
|
@@ -986,15 +1006,9 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
986
1006
|
workerId: string;
|
|
987
1007
|
};
|
|
988
1008
|
} & {
|
|
989
|
-
json:
|
|
990
|
-
text: string;
|
|
991
|
-
};
|
|
1009
|
+
json: Record<string, never>;
|
|
992
1010
|
};
|
|
993
|
-
}
|
|
994
|
-
};
|
|
995
|
-
} & {
|
|
996
|
-
"/:workerId/stop": {
|
|
997
|
-
$post: {
|
|
1011
|
+
} | {
|
|
998
1012
|
output: {
|
|
999
1013
|
workerId: string;
|
|
1000
1014
|
state: "stopping" | "terminated";
|
|
@@ -1008,7 +1022,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1008
1022
|
} & {
|
|
1009
1023
|
json: Record<string, never>;
|
|
1010
1024
|
};
|
|
1011
|
-
}
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
1027
|
+
} & {
|
|
1028
|
+
"/:workerId/destroy": {
|
|
1029
|
+
$post: {
|
|
1012
1030
|
output: {
|
|
1013
1031
|
error: string;
|
|
1014
1032
|
code?: "invalid_input" | undefined;
|
|
@@ -1020,13 +1038,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1020
1038
|
workerId: string;
|
|
1021
1039
|
};
|
|
1022
1040
|
} & {
|
|
1023
|
-
json:
|
|
1041
|
+
json: {
|
|
1042
|
+
discardWork?: true | undefined;
|
|
1043
|
+
};
|
|
1024
1044
|
};
|
|
1025
|
-
}
|
|
1026
|
-
};
|
|
1027
|
-
} & {
|
|
1028
|
-
"/:workerId/destroy": {
|
|
1029
|
-
$post: {
|
|
1045
|
+
} | {
|
|
1030
1046
|
output: {
|
|
1031
1047
|
workerId: string;
|
|
1032
1048
|
state: "complete" | "incomplete";
|
|
@@ -1055,22 +1071,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1055
1071
|
discardWork?: true | undefined;
|
|
1056
1072
|
};
|
|
1057
1073
|
};
|
|
1058
|
-
} | {
|
|
1059
|
-
output: {
|
|
1060
|
-
error: string;
|
|
1061
|
-
code?: "invalid_input" | undefined;
|
|
1062
|
-
};
|
|
1063
|
-
outputFormat: "json";
|
|
1064
|
-
status: 400;
|
|
1065
|
-
input: {
|
|
1066
|
-
param: {
|
|
1067
|
-
workerId: string;
|
|
1068
|
-
};
|
|
1069
|
-
} & {
|
|
1070
|
-
json: {
|
|
1071
|
-
discardWork?: true | undefined;
|
|
1072
|
-
};
|
|
1073
|
-
};
|
|
1074
1074
|
} | {
|
|
1075
1075
|
output: {
|
|
1076
1076
|
workerId: string;
|
|
@@ -1106,13 +1106,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1106
1106
|
"/:workerId/diff": {
|
|
1107
1107
|
$get: {
|
|
1108
1108
|
output: {
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
diff: string;
|
|
1112
|
-
truncated: boolean;
|
|
1109
|
+
error: string;
|
|
1110
|
+
code?: "invalid_input" | undefined;
|
|
1113
1111
|
};
|
|
1114
1112
|
outputFormat: "json";
|
|
1115
|
-
status:
|
|
1113
|
+
status: 400;
|
|
1116
1114
|
input: {
|
|
1117
1115
|
param: {
|
|
1118
1116
|
workerId: string;
|
|
@@ -1120,11 +1118,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1120
1118
|
};
|
|
1121
1119
|
} | {
|
|
1122
1120
|
output: {
|
|
1123
|
-
|
|
1124
|
-
|
|
1121
|
+
workerId: string;
|
|
1122
|
+
baselineSha: string;
|
|
1123
|
+
diff: string;
|
|
1124
|
+
truncated: boolean;
|
|
1125
1125
|
};
|
|
1126
1126
|
outputFormat: "json";
|
|
1127
|
-
status:
|
|
1127
|
+
status: 200;
|
|
1128
1128
|
input: {
|
|
1129
1129
|
param: {
|
|
1130
1130
|
workerId: string;
|