@hearsay-tools/squawk 0.18.0-dev.7622 → 0.18.0-dev.7627
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/delegation/routes.d.ts +65 -65
- package/package.json +4 -4
|
@@ -27,18 +27,6 @@ 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
|
-
} | {
|
|
42
30
|
output: {
|
|
43
31
|
workers: {
|
|
44
32
|
workerId: string;
|
|
@@ -85,6 +73,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
85
73
|
offset?: string | undefined;
|
|
86
74
|
};
|
|
87
75
|
};
|
|
76
|
+
} | {
|
|
77
|
+
output: {
|
|
78
|
+
error: string;
|
|
79
|
+
code?: "invalid_input" | undefined;
|
|
80
|
+
};
|
|
81
|
+
outputFormat: "json";
|
|
82
|
+
status: 400;
|
|
83
|
+
input: {
|
|
84
|
+
query: {
|
|
85
|
+
offset?: string | undefined;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
88
|
};
|
|
89
89
|
};
|
|
90
90
|
} & {
|
|
@@ -623,18 +623,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
623
623
|
} & {
|
|
624
624
|
"/:workerId": {
|
|
625
625
|
$get: {
|
|
626
|
-
output: {
|
|
627
|
-
error: string;
|
|
628
|
-
code?: "invalid_input" | undefined;
|
|
629
|
-
};
|
|
630
|
-
outputFormat: "json";
|
|
631
|
-
status: 400;
|
|
632
|
-
input: {
|
|
633
|
-
param: {
|
|
634
|
-
workerId: string;
|
|
635
|
-
};
|
|
636
|
-
};
|
|
637
|
-
} | {
|
|
638
626
|
output: {
|
|
639
627
|
workerId: string;
|
|
640
628
|
settled: boolean;
|
|
@@ -752,11 +740,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
752
740
|
workerId: string;
|
|
753
741
|
};
|
|
754
742
|
};
|
|
755
|
-
}
|
|
756
|
-
};
|
|
757
|
-
} & {
|
|
758
|
-
"/:workerId/collect": {
|
|
759
|
-
$post: {
|
|
743
|
+
} | {
|
|
760
744
|
output: {
|
|
761
745
|
error: string;
|
|
762
746
|
code?: "invalid_input" | undefined;
|
|
@@ -767,10 +751,12 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
767
751
|
param: {
|
|
768
752
|
workerId: string;
|
|
769
753
|
};
|
|
770
|
-
} & {
|
|
771
|
-
json: Record<string, never>;
|
|
772
754
|
};
|
|
773
|
-
}
|
|
755
|
+
};
|
|
756
|
+
};
|
|
757
|
+
} & {
|
|
758
|
+
"/:workerId/collect": {
|
|
759
|
+
$post: {
|
|
774
760
|
output: {
|
|
775
761
|
workerId: string;
|
|
776
762
|
parentRunId: string;
|
|
@@ -893,11 +879,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
893
879
|
} & {
|
|
894
880
|
json: Record<string, never>;
|
|
895
881
|
};
|
|
896
|
-
}
|
|
897
|
-
};
|
|
898
|
-
} & {
|
|
899
|
-
"/:workerId/steer": {
|
|
900
|
-
$post: {
|
|
882
|
+
} | {
|
|
901
883
|
output: {
|
|
902
884
|
error: string;
|
|
903
885
|
code?: "invalid_input" | undefined;
|
|
@@ -909,11 +891,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
909
891
|
workerId: string;
|
|
910
892
|
};
|
|
911
893
|
} & {
|
|
912
|
-
json:
|
|
913
|
-
text: string;
|
|
914
|
-
};
|
|
894
|
+
json: Record<string, never>;
|
|
915
895
|
};
|
|
916
|
-
}
|
|
896
|
+
};
|
|
897
|
+
};
|
|
898
|
+
} & {
|
|
899
|
+
"/:workerId/steer": {
|
|
900
|
+
$post: {
|
|
917
901
|
output: {
|
|
918
902
|
workerId: string;
|
|
919
903
|
state: "delivered" | "queued";
|
|
@@ -929,11 +913,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
929
913
|
text: string;
|
|
930
914
|
};
|
|
931
915
|
};
|
|
932
|
-
}
|
|
933
|
-
};
|
|
934
|
-
} & {
|
|
935
|
-
"/:workerId/stop": {
|
|
936
|
-
$post: {
|
|
916
|
+
} | {
|
|
937
917
|
output: {
|
|
938
918
|
error: string;
|
|
939
919
|
code?: "invalid_input" | undefined;
|
|
@@ -945,9 +925,15 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
945
925
|
workerId: string;
|
|
946
926
|
};
|
|
947
927
|
} & {
|
|
948
|
-
json:
|
|
928
|
+
json: {
|
|
929
|
+
text: string;
|
|
930
|
+
};
|
|
949
931
|
};
|
|
950
|
-
}
|
|
932
|
+
};
|
|
933
|
+
};
|
|
934
|
+
} & {
|
|
935
|
+
"/:workerId/stop": {
|
|
936
|
+
$post: {
|
|
951
937
|
output: {
|
|
952
938
|
workerId: string;
|
|
953
939
|
state: "stopping" | "terminated";
|
|
@@ -961,11 +947,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
961
947
|
} & {
|
|
962
948
|
json: Record<string, never>;
|
|
963
949
|
};
|
|
964
|
-
}
|
|
965
|
-
};
|
|
966
|
-
} & {
|
|
967
|
-
"/:workerId/destroy": {
|
|
968
|
-
$post: {
|
|
950
|
+
} | {
|
|
969
951
|
output: {
|
|
970
952
|
error: string;
|
|
971
953
|
code?: "invalid_input" | undefined;
|
|
@@ -977,11 +959,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
977
959
|
workerId: string;
|
|
978
960
|
};
|
|
979
961
|
} & {
|
|
980
|
-
json:
|
|
981
|
-
discardWork?: true | undefined;
|
|
982
|
-
};
|
|
962
|
+
json: Record<string, never>;
|
|
983
963
|
};
|
|
984
|
-
}
|
|
964
|
+
};
|
|
965
|
+
};
|
|
966
|
+
} & {
|
|
967
|
+
"/:workerId/destroy": {
|
|
968
|
+
$post: {
|
|
985
969
|
output: {
|
|
986
970
|
workerId: string;
|
|
987
971
|
state: "complete" | "incomplete";
|
|
@@ -1010,6 +994,22 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1010
994
|
discardWork?: true | undefined;
|
|
1011
995
|
};
|
|
1012
996
|
};
|
|
997
|
+
} | {
|
|
998
|
+
output: {
|
|
999
|
+
error: string;
|
|
1000
|
+
code?: "invalid_input" | undefined;
|
|
1001
|
+
};
|
|
1002
|
+
outputFormat: "json";
|
|
1003
|
+
status: 400;
|
|
1004
|
+
input: {
|
|
1005
|
+
param: {
|
|
1006
|
+
workerId: string;
|
|
1007
|
+
};
|
|
1008
|
+
} & {
|
|
1009
|
+
json: {
|
|
1010
|
+
discardWork?: true | undefined;
|
|
1011
|
+
};
|
|
1012
|
+
};
|
|
1013
1013
|
} | {
|
|
1014
1014
|
output: {
|
|
1015
1015
|
workerId: string;
|
|
@@ -1045,11 +1045,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1045
1045
|
"/:workerId/diff": {
|
|
1046
1046
|
$get: {
|
|
1047
1047
|
output: {
|
|
1048
|
-
|
|
1049
|
-
|
|
1048
|
+
workerId: string;
|
|
1049
|
+
baselineSha: string;
|
|
1050
|
+
diff: string;
|
|
1051
|
+
truncated: boolean;
|
|
1050
1052
|
};
|
|
1051
1053
|
outputFormat: "json";
|
|
1052
|
-
status:
|
|
1054
|
+
status: 200;
|
|
1053
1055
|
input: {
|
|
1054
1056
|
param: {
|
|
1055
1057
|
workerId: string;
|
|
@@ -1057,13 +1059,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1057
1059
|
};
|
|
1058
1060
|
} | {
|
|
1059
1061
|
output: {
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
diff: string;
|
|
1063
|
-
truncated: boolean;
|
|
1062
|
+
error: string;
|
|
1063
|
+
code?: "invalid_input" | undefined;
|
|
1064
1064
|
};
|
|
1065
1065
|
outputFormat: "json";
|
|
1066
|
-
status:
|
|
1066
|
+
status: 400;
|
|
1067
1067
|
input: {
|
|
1068
1068
|
param: {
|
|
1069
1069
|
workerId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.18.0-dev.
|
|
3
|
+
"version": "0.18.0-dev.7627",
|
|
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",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@babel/parser": "^8.0.8",
|
|
65
65
|
"@babel/types": "^8.0.8",
|
|
66
|
-
"@open-mercato/cezar-api-client": "0.18.0-dev.
|
|
67
|
-
"@open-mercato/cezar-contract": "0.18.0-dev.
|
|
66
|
+
"@open-mercato/cezar-api-client": "0.18.0-dev.7627",
|
|
67
|
+
"@open-mercato/cezar-contract": "0.18.0-dev.7627",
|
|
68
68
|
"@types/node": "^24.19.1",
|
|
69
69
|
"@types/ws": "^8.18.1",
|
|
70
70
|
"esbuild": "^0.28.1",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "86dcd0433e19b118c77bcc001de3248bee01cd0d"
|
|
85
85
|
}
|