@hearsay-tools/squawk 0.18.0-pr3792.7074 → 0.18.0-pr3793.7081
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/server/server.d.ts +344 -142
- package/dist/server/server.js +20 -1
- package/dist/server/server.js.map +1 -1
- package/package.json +4 -4
- package/scripts/mock-skill-list.mjs +1 -7
- package/scripts/record-wait-oracle.ts +68 -0
- package/web/dist/assets/activity-motion-xKVlnR0q.js +2 -0
- package/web/dist/assets/{activity-route-0t40npDs.js → activity-route-KsJ3FdWd.js} +1 -1
- package/web/dist/assets/agent-accounts-CEmxoU4C.js +18 -0
- package/web/dist/assets/alert-dialog-CH4SXGfX.js +1 -0
- package/web/dist/assets/attention-D0gSE5Rr.js +1 -0
- package/web/dist/assets/{cez-idle-CnPEf2T2.js → cez-idle-D49bY6KR.js} +1 -1
- package/web/dist/assets/{chunk-BO2N2NFS-CM5F_Wdn.js → chunk-BO2N2NFS-DE6qKn3r.js} +17 -17
- package/web/dist/assets/{commit-diff-panel-BoKyNimy.js → commit-diff-panel-DGjLiAVs.js} +1 -1
- package/web/dist/assets/{core-DzoyrHjB.js → core-BCsw8oQw.js} +2 -2
- package/web/dist/assets/{design-icons-B6-0w7Aw.js → design-icons-DmYTv2r1.js} +1 -1
- package/web/dist/assets/dialog-B7p5oc5r.js +1 -0
- package/web/dist/assets/diff-CsyHTaL2.js +3 -0
- package/web/dist/assets/{diff-controls-fOOHkbPK.js → diff-controls-CeYlCm_y.js} +1 -1
- package/web/dist/assets/{diff-view-C7hh2m_Y.js → diff-view-lTo0JT2v.js} +5 -5
- package/web/dist/assets/dist-ClnpAEgV.js +1 -0
- package/web/dist/assets/dropdown-menu-DPrTX-zi.js +1 -0
- package/web/dist/assets/file-preview-Dq54dro7.js +2 -0
- package/web/dist/assets/{git-toolbar-Ba-__vIS.js → git-toolbar-ChgRC3vR.js} +1 -1
- package/web/dist/assets/github-BnwdgVET.js +1 -0
- package/web/dist/assets/{global-activity-route-6Mwdu6ef.js → global-activity-route-lHJSxyik.js} +1 -1
- package/web/dist/assets/{highlighted-body-OFNGDK62-D2OLwPBs.js → highlighted-body-OFNGDK62-BL-MfFgl.js} +1 -1
- package/web/dist/assets/index-Ci54Zqis.css +1 -0
- package/web/dist/assets/index-ZXr4fght.js +17 -0
- package/web/dist/assets/lib-BxQXEXDF.js +1 -0
- package/web/dist/assets/{live-protocol-C_Z-JQOy.js → live-protocol-DHEBTIRD.js} +1 -1
- package/web/dist/assets/mermaid-GHXKKRXX-C4jxqUUb.js +1 -0
- package/web/dist/assets/{preview-pane-connected-CkuNJ8As.js → preview-pane-connected-Cpc-OIBO.js} +3 -3
- package/web/dist/assets/{project-router-D5aSJsZ7.js → project-router-RpJixuMl.js} +1 -1
- package/web/dist/assets/project-scope-context-Cs9K5L24.js +4 -0
- package/web/dist/assets/prompt-template-menu-35CQbC0C.js +1 -0
- package/web/dist/assets/queries-CU1rdCnf.js +1 -0
- package/web/dist/assets/{reference-chip-BVB5YsfP.js → reference-chip-CZ88WX7M.js} +1 -1
- package/web/dist/assets/repo-git-BQRXiSQc.js +1 -0
- package/web/dist/assets/report-reader-B90i10fL.js +1 -0
- package/web/dist/assets/reports-DHccd243.js +1 -0
- package/web/dist/assets/run-header-B1Mhp48O.js +2 -0
- package/web/dist/assets/skill-empty-hint-YDmkqgo-.js +1 -0
- package/web/dist/assets/skills-9eRk7nNW.js +1 -0
- package/web/dist/assets/skills-DFBiAuJG.js +1 -0
- package/web/dist/assets/{tab-link-BTFjRC1e.js → tab-link-BT6RV1JN.js} +1 -1
- package/web/dist/assets/task-changes-D0x55i9H.js +1 -0
- package/web/dist/assets/{task-commits-D_UBLZ5X.js → task-commits-yRo6PLOs.js} +1 -1
- package/web/dist/assets/task-files-DxDEn0jU.js +1 -0
- package/web/dist/assets/{task-github-item-BzQ6hfOW.js → task-github-item-aysyirC9.js} +1 -1
- package/web/dist/assets/task-thread-CFw63WOG.js +9 -0
- package/web/dist/assets/{thread-state-DAmfOnS2.js → thread-state-CbZJSZ8d.js} +1 -1
- package/web/dist/assets/{use-desktop-DWhNBxlY.js → use-desktop-DXVYKnpA.js} +1 -1
- package/web/dist/assets/use-hand-to-agent-state-CPCd0vCN.js +1 -0
- package/web/dist/assets/{useInfiniteQuery-0WCd35C5.js → useInfiniteQuery-hcJtqg7r.js} +1 -1
- package/web/dist/assets/useQuery-DeFHpzJJ.js +1 -0
- package/web/dist/assets/workflows-DMUcQeqG.js +7 -0
- package/web/dist/assets/{ws-DJraxHk2.js → ws-DUd04kII.js} +1 -1
- package/web/dist/index.html +23 -21
- package/web/dist/live-worker.js +1 -1
- package/scripts/mock-skill-fixtures.d.mts +0 -11
- package/scripts/mock-skill-fixtures.mjs +0 -52
- package/web/dist/assets/activity-motion-Cn7uuLcT.js +0 -2
- package/web/dist/assets/agent-accounts-DetCQbKD.js +0 -1
- package/web/dist/assets/attention-Bs96zuwc.js +0 -1
- package/web/dist/assets/dialog-tMSuX5a7.js +0 -1
- package/web/dist/assets/diff-DRe_laTG.js +0 -3
- package/web/dist/assets/dist-CwBtGUlU.js +0 -1
- package/web/dist/assets/dropdown-menu-CzUYjvx4.js +0 -1
- package/web/dist/assets/file-preview-BWod8WSW.js +0 -2
- package/web/dist/assets/github-gFVcnXnn.js +0 -1
- package/web/dist/assets/index-DIbP3Jqu.js +0 -14
- package/web/dist/assets/index-JggtfEml.css +0 -1
- package/web/dist/assets/lib-DrPFkMXk.js +0 -1
- package/web/dist/assets/markdown-BPsaDk8B.js +0 -4
- package/web/dist/assets/mermaid-GHXKKRXX-DCw6rSYC.js +0 -1
- package/web/dist/assets/picker-pill-DKbLlGPr.js +0 -18
- package/web/dist/assets/project-scope-context-BUXmC8my.js +0 -4
- package/web/dist/assets/prompt-template-menu-De-8v5io.js +0 -1
- package/web/dist/assets/queries-DkipLnOL.js +0 -1
- package/web/dist/assets/repo-git-BS7jJat_.js +0 -1
- package/web/dist/assets/report-reader-Bk8Gtzwl.js +0 -1
- package/web/dist/assets/reports-DZ5C6UuG.js +0 -1
- package/web/dist/assets/run-header-BIhxNZvk.js +0 -2
- package/web/dist/assets/skills-BGgywWMY.js +0 -1
- package/web/dist/assets/skills-pM_PouEs.js +0 -1
- package/web/dist/assets/task-changes-Cc_uv2Cx.js +0 -1
- package/web/dist/assets/task-files-C8567PcA.js +0 -1
- package/web/dist/assets/task-thread-c9Lszznr.js +0 -9
- package/web/dist/assets/use-hand-to-agent-state-nkcDERta.js +0 -1
- package/web/dist/assets/useQuery-BifRjEjr.js +0 -1
- package/web/dist/assets/workflows-7JvNIX-Y.js +0 -7
- package/web/dist/assets/workflows-C21NystW.css +0 -1
package/dist/server/server.d.ts
CHANGED
|
@@ -3194,77 +3194,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3194
3194
|
};
|
|
3195
3195
|
};
|
|
3196
3196
|
}, "/">, "/">, "/api/v1"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
3197
|
-
"/runner-skills": {
|
|
3198
|
-
$get: {
|
|
3199
|
-
output: {
|
|
3200
|
-
error: string;
|
|
3201
|
-
code?: "invalid_input" | undefined;
|
|
3202
|
-
};
|
|
3203
|
-
outputFormat: "json";
|
|
3204
|
-
status: 400;
|
|
3205
|
-
input: {
|
|
3206
|
-
query: {
|
|
3207
|
-
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
3208
|
-
account?: string | undefined;
|
|
3209
|
-
refresh?: "1" | undefined;
|
|
3210
|
-
};
|
|
3211
|
-
};
|
|
3212
|
-
} | {
|
|
3213
|
-
output: {
|
|
3214
|
-
error: string;
|
|
3215
|
-
};
|
|
3216
|
-
outputFormat: "json";
|
|
3217
|
-
status: 409;
|
|
3218
|
-
input: {
|
|
3219
|
-
query: {
|
|
3220
|
-
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
3221
|
-
account?: string | undefined;
|
|
3222
|
-
refresh?: "1" | undefined;
|
|
3223
|
-
};
|
|
3224
|
-
};
|
|
3225
|
-
} | {
|
|
3226
|
-
output: {
|
|
3227
|
-
error: string;
|
|
3228
|
-
};
|
|
3229
|
-
outputFormat: "json";
|
|
3230
|
-
status: 400;
|
|
3231
|
-
input: {
|
|
3232
|
-
query: {
|
|
3233
|
-
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
3234
|
-
account?: string | undefined;
|
|
3235
|
-
refresh?: "1" | undefined;
|
|
3236
|
-
};
|
|
3237
|
-
};
|
|
3238
|
-
} | {
|
|
3239
|
-
output: {
|
|
3240
|
-
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
3241
|
-
skills: {
|
|
3242
|
-
id: string;
|
|
3243
|
-
name: string;
|
|
3244
|
-
description?: string | undefined;
|
|
3245
|
-
scope?: "other" | "repo" | "system" | "user" | undefined;
|
|
3246
|
-
plugin?: string | undefined;
|
|
3247
|
-
path?: string | undefined;
|
|
3248
|
-
}[];
|
|
3249
|
-
problems: {
|
|
3250
|
-
message: string;
|
|
3251
|
-
path?: string | undefined;
|
|
3252
|
-
}[];
|
|
3253
|
-
source: "cache" | "live" | "unavailable";
|
|
3254
|
-
reason?: string | undefined;
|
|
3255
|
-
};
|
|
3256
|
-
outputFormat: "json";
|
|
3257
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3258
|
-
input: {
|
|
3259
|
-
query: {
|
|
3260
|
-
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
3261
|
-
account?: string | undefined;
|
|
3262
|
-
refresh?: "1" | undefined;
|
|
3263
|
-
};
|
|
3264
|
-
};
|
|
3265
|
-
};
|
|
3266
|
-
};
|
|
3267
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3268
3197
|
"/plan": {
|
|
3269
3198
|
$post: {
|
|
3270
3199
|
output: {
|
|
@@ -4122,6 +4051,178 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4122
4051
|
};
|
|
4123
4052
|
};
|
|
4124
4053
|
};
|
|
4054
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
4055
|
+
"/runner-skills": {
|
|
4056
|
+
$get: {
|
|
4057
|
+
output: {
|
|
4058
|
+
error: string;
|
|
4059
|
+
code?: "invalid_input" | undefined;
|
|
4060
|
+
};
|
|
4061
|
+
outputFormat: "json";
|
|
4062
|
+
status: 400;
|
|
4063
|
+
input: {
|
|
4064
|
+
query: {
|
|
4065
|
+
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
4066
|
+
account?: string | undefined;
|
|
4067
|
+
refresh?: "1" | undefined;
|
|
4068
|
+
};
|
|
4069
|
+
};
|
|
4070
|
+
} | {
|
|
4071
|
+
output: {
|
|
4072
|
+
error: string;
|
|
4073
|
+
};
|
|
4074
|
+
outputFormat: "json";
|
|
4075
|
+
status: 409;
|
|
4076
|
+
input: {
|
|
4077
|
+
query: {
|
|
4078
|
+
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
4079
|
+
account?: string | undefined;
|
|
4080
|
+
refresh?: "1" | undefined;
|
|
4081
|
+
};
|
|
4082
|
+
};
|
|
4083
|
+
} | {
|
|
4084
|
+
output: {
|
|
4085
|
+
error: string;
|
|
4086
|
+
};
|
|
4087
|
+
outputFormat: "json";
|
|
4088
|
+
status: 400;
|
|
4089
|
+
input: {
|
|
4090
|
+
query: {
|
|
4091
|
+
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
4092
|
+
account?: string | undefined;
|
|
4093
|
+
refresh?: "1" | undefined;
|
|
4094
|
+
};
|
|
4095
|
+
};
|
|
4096
|
+
} | {
|
|
4097
|
+
output: {
|
|
4098
|
+
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
4099
|
+
skills: {
|
|
4100
|
+
id: string;
|
|
4101
|
+
name: string;
|
|
4102
|
+
description?: string | undefined;
|
|
4103
|
+
scope?: "other" | "repo" | "system" | "user" | undefined;
|
|
4104
|
+
plugin?: string | undefined;
|
|
4105
|
+
path?: string | undefined;
|
|
4106
|
+
}[];
|
|
4107
|
+
problems: {
|
|
4108
|
+
message: string;
|
|
4109
|
+
path?: string | undefined;
|
|
4110
|
+
}[];
|
|
4111
|
+
source: "cache" | "live" | "unavailable";
|
|
4112
|
+
reason?: string | undefined;
|
|
4113
|
+
};
|
|
4114
|
+
outputFormat: "json";
|
|
4115
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4116
|
+
input: {
|
|
4117
|
+
query: {
|
|
4118
|
+
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
4119
|
+
account?: string | undefined;
|
|
4120
|
+
refresh?: "1" | undefined;
|
|
4121
|
+
};
|
|
4122
|
+
};
|
|
4123
|
+
};
|
|
4124
|
+
};
|
|
4125
|
+
} & {
|
|
4126
|
+
"/skills": {
|
|
4127
|
+
$get: {
|
|
4128
|
+
output: {
|
|
4129
|
+
name: string;
|
|
4130
|
+
description?: string | undefined;
|
|
4131
|
+
interactive?: true | undefined;
|
|
4132
|
+
body: string;
|
|
4133
|
+
path: string;
|
|
4134
|
+
source: 'ai' | 'cezar' | 'agents' | 'global' | 'team' | 'builtin';
|
|
4135
|
+
team?: {
|
|
4136
|
+
repo: string;
|
|
4137
|
+
ref: string;
|
|
4138
|
+
path: string;
|
|
4139
|
+
dir: boolean;
|
|
4140
|
+
commit?: string | undefined;
|
|
4141
|
+
} | undefined;
|
|
4142
|
+
}[];
|
|
4143
|
+
outputFormat: "json";
|
|
4144
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4145
|
+
input: {
|
|
4146
|
+
query: {
|
|
4147
|
+
wait?: string | undefined;
|
|
4148
|
+
};
|
|
4149
|
+
};
|
|
4150
|
+
} | {
|
|
4151
|
+
output: {
|
|
4152
|
+
error: string;
|
|
4153
|
+
code?: "invalid_input" | undefined;
|
|
4154
|
+
};
|
|
4155
|
+
outputFormat: "json";
|
|
4156
|
+
status: 400;
|
|
4157
|
+
input: {
|
|
4158
|
+
query: {
|
|
4159
|
+
wait?: string | undefined;
|
|
4160
|
+
};
|
|
4161
|
+
};
|
|
4162
|
+
};
|
|
4163
|
+
};
|
|
4164
|
+
} & {
|
|
4165
|
+
"/skills/importable": {
|
|
4166
|
+
$get: {
|
|
4167
|
+
output: {
|
|
4168
|
+
name: string;
|
|
4169
|
+
description?: string | undefined;
|
|
4170
|
+
interactive?: true | undefined;
|
|
4171
|
+
body: string;
|
|
4172
|
+
path: string;
|
|
4173
|
+
source: 'ai' | 'cezar' | 'agents' | 'global' | 'team' | 'builtin';
|
|
4174
|
+
team?: {
|
|
4175
|
+
repo: string;
|
|
4176
|
+
ref: string;
|
|
4177
|
+
path: string;
|
|
4178
|
+
dir: boolean;
|
|
4179
|
+
commit?: string | undefined;
|
|
4180
|
+
} | undefined;
|
|
4181
|
+
}[];
|
|
4182
|
+
outputFormat: "json";
|
|
4183
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4184
|
+
input: {
|
|
4185
|
+
query: {
|
|
4186
|
+
wait?: string | undefined;
|
|
4187
|
+
};
|
|
4188
|
+
};
|
|
4189
|
+
} | {
|
|
4190
|
+
output: {
|
|
4191
|
+
error: string;
|
|
4192
|
+
code?: "invalid_input" | undefined;
|
|
4193
|
+
};
|
|
4194
|
+
outputFormat: "json";
|
|
4195
|
+
status: 400;
|
|
4196
|
+
input: {
|
|
4197
|
+
query: {
|
|
4198
|
+
wait?: string | undefined;
|
|
4199
|
+
};
|
|
4200
|
+
};
|
|
4201
|
+
};
|
|
4202
|
+
};
|
|
4203
|
+
} & {
|
|
4204
|
+
"/skills/refresh": {
|
|
4205
|
+
$post: {
|
|
4206
|
+
output: {
|
|
4207
|
+
name: string;
|
|
4208
|
+
description?: string | undefined;
|
|
4209
|
+
interactive?: true | undefined;
|
|
4210
|
+
body: string;
|
|
4211
|
+
path: string;
|
|
4212
|
+
source: 'ai' | 'cezar' | 'agents' | 'global' | 'team' | 'builtin';
|
|
4213
|
+
team?: {
|
|
4214
|
+
repo: string;
|
|
4215
|
+
ref: string;
|
|
4216
|
+
path: string;
|
|
4217
|
+
dir: boolean;
|
|
4218
|
+
commit?: string | undefined;
|
|
4219
|
+
} | undefined;
|
|
4220
|
+
}[];
|
|
4221
|
+
outputFormat: "json";
|
|
4222
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4223
|
+
input: {};
|
|
4224
|
+
};
|
|
4225
|
+
};
|
|
4125
4226
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
4126
4227
|
"/workflows": {
|
|
4127
4228
|
$get: {
|
|
@@ -19100,77 +19201,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19100
19201
|
};
|
|
19101
19202
|
};
|
|
19102
19203
|
}, "/">, "/api/v1"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
19103
|
-
"/runner-skills": {
|
|
19104
|
-
$get: {
|
|
19105
|
-
output: {
|
|
19106
|
-
error: string;
|
|
19107
|
-
code?: "invalid_input" | undefined;
|
|
19108
|
-
};
|
|
19109
|
-
outputFormat: "json";
|
|
19110
|
-
status: 400;
|
|
19111
|
-
input: {
|
|
19112
|
-
query: {
|
|
19113
|
-
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
19114
|
-
account?: string | undefined;
|
|
19115
|
-
refresh?: "1" | undefined;
|
|
19116
|
-
};
|
|
19117
|
-
};
|
|
19118
|
-
} | {
|
|
19119
|
-
output: {
|
|
19120
|
-
error: string;
|
|
19121
|
-
};
|
|
19122
|
-
outputFormat: "json";
|
|
19123
|
-
status: 409;
|
|
19124
|
-
input: {
|
|
19125
|
-
query: {
|
|
19126
|
-
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
19127
|
-
account?: string | undefined;
|
|
19128
|
-
refresh?: "1" | undefined;
|
|
19129
|
-
};
|
|
19130
|
-
};
|
|
19131
|
-
} | {
|
|
19132
|
-
output: {
|
|
19133
|
-
error: string;
|
|
19134
|
-
};
|
|
19135
|
-
outputFormat: "json";
|
|
19136
|
-
status: 400;
|
|
19137
|
-
input: {
|
|
19138
|
-
query: {
|
|
19139
|
-
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
19140
|
-
account?: string | undefined;
|
|
19141
|
-
refresh?: "1" | undefined;
|
|
19142
|
-
};
|
|
19143
|
-
};
|
|
19144
|
-
} | {
|
|
19145
|
-
output: {
|
|
19146
|
-
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
19147
|
-
skills: {
|
|
19148
|
-
id: string;
|
|
19149
|
-
name: string;
|
|
19150
|
-
description?: string | undefined;
|
|
19151
|
-
scope?: "other" | "repo" | "system" | "user" | undefined;
|
|
19152
|
-
plugin?: string | undefined;
|
|
19153
|
-
path?: string | undefined;
|
|
19154
|
-
}[];
|
|
19155
|
-
problems: {
|
|
19156
|
-
message: string;
|
|
19157
|
-
path?: string | undefined;
|
|
19158
|
-
}[];
|
|
19159
|
-
source: "cache" | "live" | "unavailable";
|
|
19160
|
-
reason?: string | undefined;
|
|
19161
|
-
};
|
|
19162
|
-
outputFormat: "json";
|
|
19163
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19164
|
-
input: {
|
|
19165
|
-
query: {
|
|
19166
|
-
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
19167
|
-
account?: string | undefined;
|
|
19168
|
-
refresh?: "1" | undefined;
|
|
19169
|
-
};
|
|
19170
|
-
};
|
|
19171
|
-
};
|
|
19172
|
-
};
|
|
19173
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19174
19204
|
"/plan": {
|
|
19175
19205
|
$post: {
|
|
19176
19206
|
output: {
|
|
@@ -20028,6 +20058,178 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20028
20058
|
};
|
|
20029
20059
|
};
|
|
20030
20060
|
};
|
|
20061
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
20062
|
+
"/runner-skills": {
|
|
20063
|
+
$get: {
|
|
20064
|
+
output: {
|
|
20065
|
+
error: string;
|
|
20066
|
+
code?: "invalid_input" | undefined;
|
|
20067
|
+
};
|
|
20068
|
+
outputFormat: "json";
|
|
20069
|
+
status: 400;
|
|
20070
|
+
input: {
|
|
20071
|
+
query: {
|
|
20072
|
+
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
20073
|
+
account?: string | undefined;
|
|
20074
|
+
refresh?: "1" | undefined;
|
|
20075
|
+
};
|
|
20076
|
+
};
|
|
20077
|
+
} | {
|
|
20078
|
+
output: {
|
|
20079
|
+
error: string;
|
|
20080
|
+
};
|
|
20081
|
+
outputFormat: "json";
|
|
20082
|
+
status: 409;
|
|
20083
|
+
input: {
|
|
20084
|
+
query: {
|
|
20085
|
+
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
20086
|
+
account?: string | undefined;
|
|
20087
|
+
refresh?: "1" | undefined;
|
|
20088
|
+
};
|
|
20089
|
+
};
|
|
20090
|
+
} | {
|
|
20091
|
+
output: {
|
|
20092
|
+
error: string;
|
|
20093
|
+
};
|
|
20094
|
+
outputFormat: "json";
|
|
20095
|
+
status: 400;
|
|
20096
|
+
input: {
|
|
20097
|
+
query: {
|
|
20098
|
+
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
20099
|
+
account?: string | undefined;
|
|
20100
|
+
refresh?: "1" | undefined;
|
|
20101
|
+
};
|
|
20102
|
+
};
|
|
20103
|
+
} | {
|
|
20104
|
+
output: {
|
|
20105
|
+
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
20106
|
+
skills: {
|
|
20107
|
+
id: string;
|
|
20108
|
+
name: string;
|
|
20109
|
+
description?: string | undefined;
|
|
20110
|
+
scope?: "other" | "repo" | "system" | "user" | undefined;
|
|
20111
|
+
plugin?: string | undefined;
|
|
20112
|
+
path?: string | undefined;
|
|
20113
|
+
}[];
|
|
20114
|
+
problems: {
|
|
20115
|
+
message: string;
|
|
20116
|
+
path?: string | undefined;
|
|
20117
|
+
}[];
|
|
20118
|
+
source: "cache" | "live" | "unavailable";
|
|
20119
|
+
reason?: string | undefined;
|
|
20120
|
+
};
|
|
20121
|
+
outputFormat: "json";
|
|
20122
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20123
|
+
input: {
|
|
20124
|
+
query: {
|
|
20125
|
+
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
20126
|
+
account?: string | undefined;
|
|
20127
|
+
refresh?: "1" | undefined;
|
|
20128
|
+
};
|
|
20129
|
+
};
|
|
20130
|
+
};
|
|
20131
|
+
};
|
|
20132
|
+
} & {
|
|
20133
|
+
"/skills": {
|
|
20134
|
+
$get: {
|
|
20135
|
+
output: {
|
|
20136
|
+
name: string;
|
|
20137
|
+
description?: string | undefined;
|
|
20138
|
+
interactive?: true | undefined;
|
|
20139
|
+
body: string;
|
|
20140
|
+
path: string;
|
|
20141
|
+
source: 'ai' | 'cezar' | 'agents' | 'global' | 'team' | 'builtin';
|
|
20142
|
+
team?: {
|
|
20143
|
+
repo: string;
|
|
20144
|
+
ref: string;
|
|
20145
|
+
path: string;
|
|
20146
|
+
dir: boolean;
|
|
20147
|
+
commit?: string | undefined;
|
|
20148
|
+
} | undefined;
|
|
20149
|
+
}[];
|
|
20150
|
+
outputFormat: "json";
|
|
20151
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20152
|
+
input: {
|
|
20153
|
+
query: {
|
|
20154
|
+
wait?: string | undefined;
|
|
20155
|
+
};
|
|
20156
|
+
};
|
|
20157
|
+
} | {
|
|
20158
|
+
output: {
|
|
20159
|
+
error: string;
|
|
20160
|
+
code?: "invalid_input" | undefined;
|
|
20161
|
+
};
|
|
20162
|
+
outputFormat: "json";
|
|
20163
|
+
status: 400;
|
|
20164
|
+
input: {
|
|
20165
|
+
query: {
|
|
20166
|
+
wait?: string | undefined;
|
|
20167
|
+
};
|
|
20168
|
+
};
|
|
20169
|
+
};
|
|
20170
|
+
};
|
|
20171
|
+
} & {
|
|
20172
|
+
"/skills/importable": {
|
|
20173
|
+
$get: {
|
|
20174
|
+
output: {
|
|
20175
|
+
name: string;
|
|
20176
|
+
description?: string | undefined;
|
|
20177
|
+
interactive?: true | undefined;
|
|
20178
|
+
body: string;
|
|
20179
|
+
path: string;
|
|
20180
|
+
source: 'ai' | 'cezar' | 'agents' | 'global' | 'team' | 'builtin';
|
|
20181
|
+
team?: {
|
|
20182
|
+
repo: string;
|
|
20183
|
+
ref: string;
|
|
20184
|
+
path: string;
|
|
20185
|
+
dir: boolean;
|
|
20186
|
+
commit?: string | undefined;
|
|
20187
|
+
} | undefined;
|
|
20188
|
+
}[];
|
|
20189
|
+
outputFormat: "json";
|
|
20190
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20191
|
+
input: {
|
|
20192
|
+
query: {
|
|
20193
|
+
wait?: string | undefined;
|
|
20194
|
+
};
|
|
20195
|
+
};
|
|
20196
|
+
} | {
|
|
20197
|
+
output: {
|
|
20198
|
+
error: string;
|
|
20199
|
+
code?: "invalid_input" | undefined;
|
|
20200
|
+
};
|
|
20201
|
+
outputFormat: "json";
|
|
20202
|
+
status: 400;
|
|
20203
|
+
input: {
|
|
20204
|
+
query: {
|
|
20205
|
+
wait?: string | undefined;
|
|
20206
|
+
};
|
|
20207
|
+
};
|
|
20208
|
+
};
|
|
20209
|
+
};
|
|
20210
|
+
} & {
|
|
20211
|
+
"/skills/refresh": {
|
|
20212
|
+
$post: {
|
|
20213
|
+
output: {
|
|
20214
|
+
name: string;
|
|
20215
|
+
description?: string | undefined;
|
|
20216
|
+
interactive?: true | undefined;
|
|
20217
|
+
body: string;
|
|
20218
|
+
path: string;
|
|
20219
|
+
source: 'ai' | 'cezar' | 'agents' | 'global' | 'team' | 'builtin';
|
|
20220
|
+
team?: {
|
|
20221
|
+
repo: string;
|
|
20222
|
+
ref: string;
|
|
20223
|
+
path: string;
|
|
20224
|
+
dir: boolean;
|
|
20225
|
+
commit?: string | undefined;
|
|
20226
|
+
} | undefined;
|
|
20227
|
+
}[];
|
|
20228
|
+
outputFormat: "json";
|
|
20229
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20230
|
+
input: {};
|
|
20231
|
+
};
|
|
20232
|
+
};
|
|
20031
20233
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
20032
20234
|
"/workflows": {
|
|
20033
20235
|
$get: {
|
package/dist/server/server.js
CHANGED
|
@@ -16,7 +16,7 @@ import { providerConnectSchema, createAgentProfileSchema, openAgentAccountFileSc
|
|
|
16
16
|
import { planSchema, parseWorkflowSchema } from '../contract/index.js';
|
|
17
17
|
import { uiStateBody } from '../contract/index.js';
|
|
18
18
|
import { queuedMessagePatchSchema, continueSchema, archiveSchema, openInSchema } from '../contract/index.js';
|
|
19
|
-
import { refreshQuery, modelDiscoveryQuerySchema, strictRefreshQuerySchema, browseQuerySchema, worktreeFilesQuerySchema } from '../contract/index.js';
|
|
19
|
+
import { refreshQuery, waitQuery, modelDiscoveryQuerySchema, strictRefreshQuerySchema, browseQuerySchema, worktreeFilesQuerySchema } from '../contract/index.js';
|
|
20
20
|
import { mergeNumberParams, prChangesParams, prChangesQuery, mergeBodySchema } from '../contract/index.js';
|
|
21
21
|
import { gitCommitSchema, reclaimBodySchema, repoBranchSchema } from '../contract/index.js';
|
|
22
22
|
import { setConfigSchema, setAgentConfigSchema } from '../contract/index.js';
|
|
@@ -91,6 +91,8 @@ import { allUsage, currentUsage, onUsage } from '../core/process-usage.js';
|
|
|
91
91
|
import { loadWorkflows } from '../workflows/load.js';
|
|
92
92
|
import { normalizeWorkflowDoc, skillStackOf, skillsToSteps, stepsIssue, workflowFileSchema, } from '../workflows/types.js';
|
|
93
93
|
import { planChain, slugify } from '../planner.js';
|
|
94
|
+
import { discoverSkills } from '../skills.js';
|
|
95
|
+
import { getTeamSkillsCached, refreshTeamSkills, waitForTeamSkills } from '../skills-remote.js';
|
|
94
96
|
import { skillSourcesRoutes } from './skill-sources.js';
|
|
95
97
|
import { readHandoff, renderHandoffRecords } from '../handoff.js';
|
|
96
98
|
import { ARCHIVED_WINDOW } from '../runs/store.js';
|
|
@@ -2186,6 +2188,23 @@ export function createApp(deps) {
|
|
|
2186
2188
|
if ('error' in result)
|
|
2187
2189
|
return c.json(result, 400);
|
|
2188
2190
|
return c.json(result);
|
|
2191
|
+
})
|
|
2192
|
+
.get('/skills', queryZodValidator(waitQuery), async (c) => {
|
|
2193
|
+
const repoRoot = c.get('project').root;
|
|
2194
|
+
if (c.req.valid('query').wait === '1')
|
|
2195
|
+
await waitForTeamSkills(repoRoot, deps.home);
|
|
2196
|
+
return c.json(await discoverSkills(repoRoot, {}, deps.home));
|
|
2197
|
+
})
|
|
2198
|
+
.get('/skills/importable', queryZodValidator(waitQuery), async (c) => {
|
|
2199
|
+
const repoRoot = c.get('project').root;
|
|
2200
|
+
if (c.req.valid('query').wait === '1')
|
|
2201
|
+
await waitForTeamSkills(repoRoot, deps.home);
|
|
2202
|
+
return c.json(getTeamSkillsCached(repoRoot, deps.home));
|
|
2203
|
+
})
|
|
2204
|
+
.post('/skills/refresh', async (c) => {
|
|
2205
|
+
const { root: repoRoot } = c.get('project');
|
|
2206
|
+
await refreshTeamSkills(repoRoot, deps.home);
|
|
2207
|
+
return c.json(await discoverSkills(repoRoot, {}, deps.home));
|
|
2189
2208
|
});
|
|
2190
2209
|
// ---- chained family: GUI prefs / ui-state (project-scoped) ----
|
|
2191
2210
|
const uiStateRoutes = new Hono()
|