@hearsay-tools/squawk 0.19.0-pr4599.9140 → 0.19.0-pr4604.9147
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/hosts.d.ts +254 -0
- package/dist/contract/index.js +35 -0
- package/dist/core/http-route-registry.d.ts +7 -4
- package/dist/core/http-route-registry.js +6 -0
- package/dist/core/http-route-registry.js.map +1 -1
- package/dist/delegation/transport.d.ts +78 -78
- package/dist/features/automations/automations-routes.d.ts +150 -150
- package/dist/features/automations/server-plugin.js.map +1 -1
- package/dist/features/github/github-comments.js +19 -6
- package/dist/features/github/github-comments.js.map +1 -1
- package/dist/features/hosts/bootstrap.d.ts +1 -0
- package/dist/features/hosts/bootstrap.js +18 -6
- package/dist/features/hosts/bootstrap.js.map +1 -1
- package/dist/features/hosts/gateway-routes.d.ts +14 -0
- package/dist/features/hosts/gateway-routes.js +20 -0
- package/dist/features/hosts/gateway-routes.js.map +1 -0
- package/dist/features/hosts/gateway.d.ts +105 -0
- package/dist/features/hosts/gateway.js +800 -0
- package/dist/features/hosts/gateway.js.map +1 -0
- package/dist/features/hosts/index.d.ts +7 -1
- package/dist/features/hosts/index.js +23 -16
- package/dist/features/hosts/index.js.map +1 -1
- package/dist/features/hosts/routes.d.ts +91 -2
- package/dist/features/hosts/routes.js +142 -11
- package/dist/features/hosts/routes.js.map +1 -1
- package/dist/features/hosts/supervisor.d.ts +22 -8
- package/dist/features/hosts/supervisor.js +94 -37
- package/dist/features/hosts/supervisor.js.map +1 -1
- package/dist/features/webhooks/server-plugin.js.map +1 -1
- package/dist/plugin/index.d.ts +1 -1
- package/dist/plugin/index.js.map +1 -1
- package/dist/server/checkout.d.ts +10 -0
- package/dist/server/checkout.js +1 -1
- package/dist/server/checkout.js.map +1 -1
- package/dist/server/create-project.d.ts +6 -0
- package/dist/server/create-project.js +1 -1
- package/dist/server/create-project.js.map +1 -1
- package/dist/server/plugin-http-routes.d.ts +18 -6
- package/dist/server/plugin-http-routes.js +30 -14
- package/dist/server/plugin-http-routes.js.map +1 -1
- package/dist/server/project-settings-routes.d.ts +107 -107
- package/dist/server/provider-sign-in-routes.d.ts +2 -2
- package/dist/server/repo-routes.d.ts +52 -52
- package/dist/server/runner-install-routes.d.ts +10 -10
- package/dist/server/server.d.ts +1170 -1170
- package/dist/server/server.js +10 -8
- package/dist/server/server.js.map +1 -1
- package/dist/server/workspace-identity-routes.d.ts +5 -5
- package/package.json +4 -4
- package/web/dist/assets/{accounts-section-BXIfRpqn.js → accounts-section-BsgnDmow.js} +1 -1
- package/web/dist/assets/{activity-motion-CiMnzmaL.js → activity-motion-Ckq9kC3I.js} +1 -1
- package/web/dist/assets/{activity-route-7rgwez-p.js → activity-route-5S9WhN9U.js} +1 -1
- package/web/dist/assets/{agent-config-section-D35Gh915.js → agent-config-section-D8pxNy2V.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-qela9Lh0.js → agent-defaults-section-et5LHv9W.js} +1 -1
- package/web/dist/assets/{appearance-PSBR-L16.js → appearance-D_t3wCjY.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-BJFWDQ73.js → archive-on-merge-field-C63xRNFZ.js} +1 -1
- package/web/dist/assets/ask-card-kqWOqKIc.js +9 -0
- package/web/dist/assets/{automations-route-DvhHg4fm.js → automations-route-B5YBpGMc.js} +1 -1
- package/web/dist/assets/{commit-list-DebGaysy.js → commit-list-Bjc-pQxv.js} +1 -1
- package/web/dist/assets/{diff-controls-BBgyFS1R.js → diff-controls-CaCUSyxs.js} +1 -1
- package/web/dist/assets/{diff-BSfVn71B.js → diff-lwWO-At7.js} +2 -2
- package/web/dist/assets/{diff-view-CmGMWIlZ.js → diff-view-4wxDvYXE.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-C6sD9mz8.js → discard-changes-dialog-B3gvm7lX.js} +1 -1
- package/web/dist/assets/{file-preview-Clm9psfR.js → file-preview-98pJhZJj.js} +1 -1
- package/web/dist/assets/{git-toolbar-G_q1J1Qo.js → git-toolbar-CepvG0Ng.js} +1 -1
- package/web/dist/assets/{github-S25ca8_M.js → github-4Jhl7lLG.js} +1 -1
- package/web/dist/assets/{global-activity-route-C6wsa2VH.js → global-activity-route-DhmrWj31.js} +1 -1
- package/web/dist/assets/index-BK1FcZrA.css +1 -0
- package/web/dist/assets/{index-n7br_LJj.js → index-DJB0lid-.js} +4 -4
- package/web/dist/assets/{markdown-DBTrMXVS.js → markdown-BAPhDASs.js} +1 -1
- package/web/dist/assets/{option-select-lxOL23-m.js → option-select-BwSkbCrQ.js} +1 -1
- package/web/dist/assets/{preferences-section-BjUffanB.js → preferences-section-Cvh644K0.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-DzT-ebVU.js → preview-pane-connected-B08ZdGux.js} +1 -1
- package/web/dist/assets/{project-location-BEdaj_mZ.js → project-location-DR8go8oL.js} +1 -1
- package/web/dist/assets/{projects-section-DBfKeeqR.js → projects-section-XDboHBFP.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-D7SvCECE.js → prompt-templates-section-DcxD28iA.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-BFW5hckZ.js → remote-settings-notice-Dtaa3ovl.js} +1 -1
- package/web/dist/assets/{repo-git-DufonnxZ.js → repo-git-Dp9R2TuI.js} +1 -1
- package/web/dist/assets/{report-reader-BNeaSf9l.js → report-reader-mbkd2DKt.js} +1 -1
- package/web/dist/assets/{reports-Dg96OgK_.js → reports-ya2OW-iR.js} +1 -1
- package/web/dist/assets/{resources-section-mlWGic7N.js → resources-section-g5XRlefz.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-B8XEe0To.js → review-notes-drafts-BdBvLP6E.js} +1 -1
- package/web/dist/assets/{review-panel-DeGoLgcB.js → review-panel-Ba8yb8Fu.js} +1 -1
- package/web/dist/assets/{review-strip-B0dxLGVX.js → review-strip-CdlMeV2i.js} +1 -1
- package/web/dist/assets/{run-header-CO7X2ksL.js → run-header-BTRXYB4W.js} +1 -1
- package/web/dist/assets/{select-BCP0bQL_.js → select-DdH25sWT.js} +1 -1
- package/web/dist/assets/{session-context-section-DNHeVwaW.js → session-context-section-BqEdLdTv.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-DpNZjBNf.js → settings-agent-picker-b4M6fQ8m.js} +1 -1
- package/web/dist/assets/{settings-save-bar-DTuXtrOh.js → settings-save-bar-DFY_Km4X.js} +1 -1
- package/web/dist/assets/{settings-shell-DA8Ljpv9.js → settings-shell-BUwdvhI9.js} +1 -1
- package/web/dist/assets/{sidebar-section-CXPEyE4l.js → sidebar-section-CcucfASN.js} +1 -1
- package/web/dist/assets/{skills-CNCCc6b5.js → skills-BLkPhZO8.js} +1 -1
- package/web/dist/assets/{task-changes-BIdArX0Y.js → task-changes-Drvnew5P.js} +1 -1
- package/web/dist/assets/{task-commits-BMEqcu53.js → task-commits-1MJHuX1i.js} +1 -1
- package/web/dist/assets/{task-file-scope-DHm_aCX9.js → task-file-scope-CB3L3KQl.js} +1 -1
- package/web/dist/assets/{task-files-Dmc9mysp.js → task-files-B9okW1TC.js} +1 -1
- package/web/dist/assets/{task-github-item-BVQHPtmd.js → task-github-item-CMNk7FxR.js} +1 -1
- package/web/dist/assets/task-thread-_2ch8BRt.js +2 -0
- package/web/dist/assets/{task-thread-BObu0KsD.css → task-thread-a6CXLxwn.css} +1 -1
- package/web/dist/assets/{thread-state-qIdHMY4r.js → thread-state-qNczqxZQ.js} +1 -1
- package/web/dist/assets/{use-finish-run-BRlt2Xcp.js → use-finish-run-Dvm4JnAH.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-DA5WLXGY.js → use-hand-to-agent-state-CBJvP-US.js} +1 -1
- package/web/dist/assets/use-path-bases-C9yvZF5B.js +1 -0
- package/web/dist/assets/{workflows-BGZZkVU_.js → workflows-BUcx-n8J.js} +1 -1
- package/web/dist/assets/{workspace-tools-DIcwDrFd.js → workspace-tools-dbiR1fzO.js} +1 -1
- package/web/dist/assets/{worktrees-section-BTKs5R9c.js → worktrees-section-Dyb_QkSd.js} +1 -1
- package/web/dist/index.html +2 -2
- package/web/dist/assets/ask-card-BOsa7Rhk.js +0 -9
- package/web/dist/assets/index-QckSsk-V.css +0 -1
- package/web/dist/assets/task-thread-DonhRFPP.js +0 -2
- package/web/dist/assets/use-path-bases-DJciTjQE.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Hono } from 'hono';
|
|
1
|
+
import type { Hono, MiddlewareHandler } from 'hono';
|
|
2
2
|
import { type HttpRouteDefinition } from '../core/http-route-registry.ts';
|
|
3
3
|
import type { ServerPluginContext } from '../core/server-hook-registry.ts';
|
|
4
4
|
import type { Home } from '../home/home.ts';
|
|
@@ -25,12 +25,13 @@ export interface MountPluginRouteBundlesInput extends MountPluginHttpRoutesBaseI
|
|
|
25
25
|
}
|
|
26
26
|
export interface MountPluginHttpHandlersInput extends MountPluginHttpRoutesBaseInput {
|
|
27
27
|
routed: Hono;
|
|
28
|
+
/** Shared cockpit server context forwarded to handler routes. */
|
|
29
|
+
server?: ServerPluginContext | undefined;
|
|
30
|
+
/** Called with the mounted Hono handler for each route whose `managesBodyLimit` is true. */
|
|
31
|
+
onManagedBodyLimitMounted?: ((handler: unknown) => void) | undefined;
|
|
32
|
+
/** Called with the mounted Hono handler for each route whose `skipCompression` is true. */
|
|
33
|
+
onSkipCompressionMounted?: ((handler: unknown) => void) | undefined;
|
|
28
34
|
}
|
|
29
|
-
/**
|
|
30
|
-
* Paths whose plugin route enforces its own auth and streaming body limit, so the global 32 MiB
|
|
31
|
-
* `bodyLimit` middleware skips them instead of pre-buffering unauthenticated chunked uploads.
|
|
32
|
-
*/
|
|
33
|
-
export declare function pluginManagedBodyLimitPaths(httpRoutes?: readonly HttpRouteDefinition[]): ReadonlySet<string>;
|
|
34
35
|
/**
|
|
35
36
|
* Mount project-scoped and workspace-scoped plugin route bundles onto `v1` and `workspaceV1`
|
|
36
37
|
* AFTER those sub-apps fix their `AppType` types and BEFORE `app.route(...)` mounts them.
|
|
@@ -40,6 +41,17 @@ export declare function pluginManagedBodyLimitPaths(httpRoutes?: readonly HttpRo
|
|
|
40
41
|
* cockpit startup.
|
|
41
42
|
*/
|
|
42
43
|
export declare function mountPluginRouteBundles(input: MountPluginRouteBundlesInput): void;
|
|
44
|
+
/**
|
|
45
|
+
* Middleware gates for plugin HTTP handlers that opt out of global 32 MiB body buffering
|
|
46
|
+
* (`managesBodyLimit`) or main-server response compression (`skipCompression`), decided from
|
|
47
|
+
* Hono's own `matchedRoutes(c)` so exemptions never disagree with Hono's router.
|
|
48
|
+
*/
|
|
49
|
+
export declare function createPluginHandlerMiddlewareGates(): {
|
|
50
|
+
bypassCompression: (middleware: MiddlewareHandler) => MiddlewareHandler;
|
|
51
|
+
bypassBodyLimit: (middleware: MiddlewareHandler) => MiddlewareHandler;
|
|
52
|
+
onManagedBodyLimitMounted: (handler: unknown) => void;
|
|
53
|
+
onSkipCompressionMounted: (handler: unknown) => void;
|
|
54
|
+
};
|
|
43
55
|
/**
|
|
44
56
|
* Mount single-path plugin HTTP handlers (hearsay-tools/squawk#4402) outside the `AppType` RPC
|
|
45
57
|
* chain, after the global `/api/*` request-origin guard and before the SPA catch-all.
|
|
@@ -1,18 +1,6 @@
|
|
|
1
|
+
import { matchedRoutes } from 'hono/route';
|
|
1
2
|
import { httpRoutesSealed, isHttpBundleRoute, registeredHttpRoutes, } from '../core/http-route-registry.js';
|
|
2
3
|
import { pluginLoadReport } from '../plugin/loader.js';
|
|
3
|
-
/**
|
|
4
|
-
* Paths whose plugin route enforces its own auth and streaming body limit, so the global 32 MiB
|
|
5
|
-
* `bodyLimit` middleware skips them instead of pre-buffering unauthenticated chunked uploads.
|
|
6
|
-
*/
|
|
7
|
-
export function pluginManagedBodyLimitPaths(httpRoutes) {
|
|
8
|
-
const routes = httpRoutes ?? (httpRoutesSealed() ? registeredHttpRoutes() : []);
|
|
9
|
-
const paths = new Set();
|
|
10
|
-
for (const route of routes) {
|
|
11
|
-
if (!isHttpBundleRoute(route) && route.managesBodyLimit)
|
|
12
|
-
paths.add(route.path);
|
|
13
|
-
}
|
|
14
|
-
return paths;
|
|
15
|
-
}
|
|
16
4
|
function buildRouteContext(target, input, server) {
|
|
17
5
|
const fetchApp = async (request) => {
|
|
18
6
|
const headers = new Headers(request.headers);
|
|
@@ -118,6 +106,30 @@ export function mountPluginRouteBundles(input) {
|
|
|
118
106
|
}
|
|
119
107
|
}
|
|
120
108
|
}
|
|
109
|
+
/**
|
|
110
|
+
* Middleware gates for plugin HTTP handlers that opt out of global 32 MiB body buffering
|
|
111
|
+
* (`managesBodyLimit`) or main-server response compression (`skipCompression`), decided from
|
|
112
|
+
* Hono's own `matchedRoutes(c)` so exemptions never disagree with Hono's router.
|
|
113
|
+
*/
|
|
114
|
+
export function createPluginHandlerMiddlewareGates() {
|
|
115
|
+
const managedBodyLimitHandlers = new Set();
|
|
116
|
+
const skipCompressionHandlers = new Set();
|
|
117
|
+
const bypassWhenMatched = (handlers, middleware) => (c, next) => {
|
|
118
|
+
// Only exempt when the first terminal route handler (arity < 2, i.e. not a `(c, next)`
|
|
119
|
+
// middleware) is one of the registered plugin handlers, so a wildcard plugin pattern
|
|
120
|
+
// overlapping an earlier core route never strips the global cap from that core route.
|
|
121
|
+
const firstHandler = matchedRoutes(c).find((route) => route.handler.length < 2);
|
|
122
|
+
return firstHandler !== undefined && handlers.has(firstHandler.handler)
|
|
123
|
+
? next()
|
|
124
|
+
: middleware(c, next);
|
|
125
|
+
};
|
|
126
|
+
return {
|
|
127
|
+
bypassCompression: (middleware) => bypassWhenMatched(skipCompressionHandlers, middleware),
|
|
128
|
+
bypassBodyLimit: (middleware) => bypassWhenMatched(managedBodyLimitHandlers, middleware),
|
|
129
|
+
onManagedBodyLimitMounted: (handler) => { managedBodyLimitHandlers.add(handler); },
|
|
130
|
+
onSkipCompressionMounted: (handler) => { skipCompressionHandlers.add(handler); },
|
|
131
|
+
};
|
|
132
|
+
}
|
|
121
133
|
/**
|
|
122
134
|
* Mount single-path plugin HTTP handlers (hearsay-tools/squawk#4402) outside the `AppType` RPC
|
|
123
135
|
* chain, after the global `/api/*` request-origin guard and before the SPA catch-all.
|
|
@@ -127,9 +139,13 @@ export function mountPluginHttpRoutes(input) {
|
|
|
127
139
|
const handlers = pluginHttpRoutes.filter((route) => !isHttpBundleRoute(route));
|
|
128
140
|
if (handlers.length === 0)
|
|
129
141
|
return;
|
|
130
|
-
const routeContext = buildRouteContext(input.routed, input);
|
|
142
|
+
const routeContext = buildRouteContext(input.routed, input, input.server);
|
|
131
143
|
for (const route of handlers) {
|
|
132
144
|
const handler = (c) => route.handle(c.req.raw, routeContext);
|
|
145
|
+
if (route.managesBodyLimit)
|
|
146
|
+
input.onManagedBodyLimitMounted?.(handler);
|
|
147
|
+
if (route.skipCompression)
|
|
148
|
+
input.onSkipCompressionMounted?.(handler);
|
|
133
149
|
if (route.method === 'ALL')
|
|
134
150
|
input.routed.all(route.path, handler);
|
|
135
151
|
else
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-http-routes.js","sourceRoot":"","sources":["../../src/server/plugin-http-routes.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"plugin-http-routes.js","sourceRoot":"","sources":["../../src/server/plugin-http-routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,GAIrB,MAAM,gCAAgC,CAAC;AAGxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAmCvD,SAAS,iBAAiB,CAAC,MAAY,EAAE,KAAqC,EAAE,MAA4B;IAC1G,MAAM,QAAQ,GAAG,KAAK,EAAE,OAAgB,EAAqB,EAAE;QAC7D,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAC7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,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yB,EAAE,CAAC,OAAO,CAAC,CAAC;QACvE,IAAI,KAAK,CAAC,eAAe;YAAE,KAAK,CAAC,wBAAwB,EAAE,CAAC,OAAO,CAAC,CAAC;QACrE,IAAI,KAAK,CAAC,MAAM,KAAK,KAAK;YAAE,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;;YAC7D,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;AACH,CAAC"}
|
|
@@ -112,10 +112,42 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
|
|
|
112
112
|
"/ui-state": {
|
|
113
113
|
$put: {
|
|
114
114
|
output: {
|
|
115
|
-
|
|
115
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
116
|
+
sidebarLimits?: {
|
|
117
|
+
overall?: number | null | undefined;
|
|
118
|
+
needsYou?: number | null | undefined;
|
|
119
|
+
finished?: number | null | undefined;
|
|
120
|
+
working?: number | null | undefined;
|
|
121
|
+
} | undefined;
|
|
122
|
+
lastTask?: {
|
|
123
|
+
source: "skill" | "workflow";
|
|
124
|
+
ref: string;
|
|
125
|
+
} | null | undefined;
|
|
126
|
+
recentSources?: {
|
|
127
|
+
source: "skill" | "workflow";
|
|
128
|
+
ref: string;
|
|
129
|
+
}[] | undefined;
|
|
130
|
+
lastWorktree?: boolean | undefined;
|
|
131
|
+
lastAutonomous?: boolean | undefined;
|
|
132
|
+
skillUsage?: {
|
|
133
|
+
[x: string]: number;
|
|
134
|
+
} | undefined;
|
|
135
|
+
runsView?: "list" | "table" | undefined;
|
|
136
|
+
githubView?: "issues" | "prs" | undefined;
|
|
137
|
+
appearance?: {
|
|
138
|
+
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
139
|
+
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
140
|
+
width?: "narrow" | "wide" | undefined;
|
|
141
|
+
} | undefined;
|
|
142
|
+
promptTemplates?: {
|
|
143
|
+
id: string;
|
|
144
|
+
label: string;
|
|
145
|
+
text: string;
|
|
146
|
+
skills?: string[] | undefined;
|
|
147
|
+
}[] | undefined;
|
|
116
148
|
};
|
|
117
149
|
outputFormat: "json";
|
|
118
|
-
status:
|
|
150
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
119
151
|
input: {
|
|
120
152
|
json: {
|
|
121
153
|
[x: string]: unknown;
|
|
@@ -153,42 +185,10 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
|
|
|
153
185
|
};
|
|
154
186
|
} | {
|
|
155
187
|
output: {
|
|
156
|
-
|
|
157
|
-
sidebarLimits?: {
|
|
158
|
-
overall?: number | null | undefined;
|
|
159
|
-
needsYou?: number | null | undefined;
|
|
160
|
-
finished?: number | null | undefined;
|
|
161
|
-
working?: number | null | undefined;
|
|
162
|
-
} | undefined;
|
|
163
|
-
lastTask?: {
|
|
164
|
-
source: "skill" | "workflow";
|
|
165
|
-
ref: string;
|
|
166
|
-
} | null | undefined;
|
|
167
|
-
recentSources?: {
|
|
168
|
-
source: "skill" | "workflow";
|
|
169
|
-
ref: string;
|
|
170
|
-
}[] | undefined;
|
|
171
|
-
lastWorktree?: boolean | undefined;
|
|
172
|
-
lastAutonomous?: boolean | undefined;
|
|
173
|
-
skillUsage?: {
|
|
174
|
-
[x: string]: number;
|
|
175
|
-
} | undefined;
|
|
176
|
-
runsView?: "list" | "table" | undefined;
|
|
177
|
-
githubView?: "issues" | "prs" | undefined;
|
|
178
|
-
appearance?: {
|
|
179
|
-
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
180
|
-
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
181
|
-
width?: "narrow" | "wide" | undefined;
|
|
182
|
-
} | undefined;
|
|
183
|
-
promptTemplates?: {
|
|
184
|
-
id: string;
|
|
185
|
-
label: string;
|
|
186
|
-
text: string;
|
|
187
|
-
skills?: string[] | undefined;
|
|
188
|
-
}[] | undefined;
|
|
188
|
+
error: string;
|
|
189
189
|
};
|
|
190
190
|
outputFormat: "json";
|
|
191
|
-
status:
|
|
191
|
+
status: 500;
|
|
192
192
|
input: {
|
|
193
193
|
json: {
|
|
194
194
|
[x: string]: unknown;
|
|
@@ -274,11 +274,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
274
274
|
"/workflows": {
|
|
275
275
|
$post: {
|
|
276
276
|
output: {
|
|
277
|
-
|
|
278
|
-
name: string;
|
|
277
|
+
error: string;
|
|
279
278
|
};
|
|
280
279
|
outputFormat: "json";
|
|
281
|
-
status:
|
|
280
|
+
status: 400;
|
|
282
281
|
input: {
|
|
283
282
|
json: {
|
|
284
283
|
name: string;
|
|
@@ -311,9 +310,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
311
310
|
} | {
|
|
312
311
|
output: {
|
|
313
312
|
error: string;
|
|
313
|
+
exists: true;
|
|
314
314
|
};
|
|
315
315
|
outputFormat: "json";
|
|
316
|
-
status:
|
|
316
|
+
status: 409;
|
|
317
317
|
input: {
|
|
318
318
|
json: {
|
|
319
319
|
name: string;
|
|
@@ -346,10 +346,9 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
346
346
|
} | {
|
|
347
347
|
output: {
|
|
348
348
|
error: string;
|
|
349
|
-
exists: true;
|
|
350
349
|
};
|
|
351
350
|
outputFormat: "json";
|
|
352
|
-
status:
|
|
351
|
+
status: 500;
|
|
353
352
|
input: {
|
|
354
353
|
json: {
|
|
355
354
|
name: string;
|
|
@@ -381,10 +380,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
381
380
|
};
|
|
382
381
|
} | {
|
|
383
382
|
output: {
|
|
384
|
-
|
|
383
|
+
path: string;
|
|
384
|
+
name: string;
|
|
385
385
|
};
|
|
386
386
|
outputFormat: "json";
|
|
387
|
-
status:
|
|
387
|
+
status: 201;
|
|
388
388
|
input: {
|
|
389
389
|
json: {
|
|
390
390
|
name: string;
|
|
@@ -420,11 +420,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
420
420
|
"/workflows/:name": {
|
|
421
421
|
$delete: {
|
|
422
422
|
output: {
|
|
423
|
-
|
|
424
|
-
path: string;
|
|
423
|
+
error: string;
|
|
425
424
|
};
|
|
426
425
|
outputFormat: "json";
|
|
427
|
-
status:
|
|
426
|
+
status: 400 | 404 | 409 | 500;
|
|
428
427
|
input: {
|
|
429
428
|
param: {
|
|
430
429
|
name: string;
|
|
@@ -432,10 +431,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
432
431
|
};
|
|
433
432
|
} | {
|
|
434
433
|
output: {
|
|
435
|
-
|
|
434
|
+
ok: true;
|
|
435
|
+
path: string;
|
|
436
436
|
};
|
|
437
437
|
outputFormat: "json";
|
|
438
|
-
status:
|
|
438
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
439
439
|
input: {
|
|
440
440
|
param: {
|
|
441
441
|
name: string;
|
|
@@ -503,6 +503,18 @@ export interface PlanRouteDeps {
|
|
|
503
503
|
export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
|
|
504
504
|
"/plan": {
|
|
505
505
|
$post: {
|
|
506
|
+
output: {
|
|
507
|
+
error: string;
|
|
508
|
+
};
|
|
509
|
+
outputFormat: "json";
|
|
510
|
+
status: 400 | 404 | 409;
|
|
511
|
+
input: {
|
|
512
|
+
json: {
|
|
513
|
+
task: string;
|
|
514
|
+
agentProfile?: string | undefined;
|
|
515
|
+
};
|
|
516
|
+
};
|
|
517
|
+
} | {
|
|
506
518
|
output: {
|
|
507
519
|
name?: string;
|
|
508
520
|
steps: {
|
|
@@ -539,18 +551,6 @@ export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono
|
|
|
539
551
|
agentProfile?: string | undefined;
|
|
540
552
|
};
|
|
541
553
|
};
|
|
542
|
-
} | {
|
|
543
|
-
output: {
|
|
544
|
-
error: string;
|
|
545
|
-
};
|
|
546
|
-
outputFormat: "json";
|
|
547
|
-
status: 400 | 404 | 409;
|
|
548
|
-
input: {
|
|
549
|
-
json: {
|
|
550
|
-
task: string;
|
|
551
|
-
agentProfile?: string | undefined;
|
|
552
|
-
};
|
|
553
|
-
};
|
|
554
554
|
};
|
|
555
555
|
};
|
|
556
556
|
}, "/", "/plan">;
|
|
@@ -598,10 +598,34 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
|
|
|
598
598
|
"/config": {
|
|
599
599
|
$put: {
|
|
600
600
|
output: {
|
|
601
|
-
|
|
601
|
+
archiveOnMerge: boolean | null;
|
|
602
|
+
effectiveArchiveOnMerge: boolean;
|
|
603
|
+
archiveOnMergeSource: "default" | "environment" | "global" | "project";
|
|
604
|
+
baseBranch: string | null;
|
|
605
|
+
defaultRunner: string;
|
|
606
|
+
systemPrompt: string | null;
|
|
607
|
+
defaultModels: {
|
|
608
|
+
[x: string]: string | undefined;
|
|
609
|
+
};
|
|
610
|
+
modelsLocked: boolean;
|
|
611
|
+
maxParallel: number;
|
|
612
|
+
memoryLimitMb: number | null;
|
|
613
|
+
worktreeRetention: number;
|
|
614
|
+
liveTitleUpdates: boolean | null;
|
|
615
|
+
reviewGate: boolean | null;
|
|
616
|
+
worktreeSetup: {
|
|
617
|
+
commands: string[];
|
|
618
|
+
timeoutSeconds: number;
|
|
619
|
+
} | null;
|
|
620
|
+
worktreeSetupIssue: string | null;
|
|
621
|
+
worktreeTeardown: {
|
|
622
|
+
commands: string[];
|
|
623
|
+
timeoutSeconds: number;
|
|
624
|
+
} | null;
|
|
625
|
+
worktreeTeardownIssue: string | null;
|
|
602
626
|
};
|
|
603
627
|
outputFormat: "json";
|
|
604
|
-
status:
|
|
628
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
605
629
|
input: {
|
|
606
630
|
json: {
|
|
607
631
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -629,7 +653,7 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
|
|
|
629
653
|
error: string;
|
|
630
654
|
};
|
|
631
655
|
outputFormat: "json";
|
|
632
|
-
status:
|
|
656
|
+
status: 409;
|
|
633
657
|
input: {
|
|
634
658
|
json: {
|
|
635
659
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -654,34 +678,10 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
|
|
|
654
678
|
};
|
|
655
679
|
} | {
|
|
656
680
|
output: {
|
|
657
|
-
|
|
658
|
-
effectiveArchiveOnMerge: boolean;
|
|
659
|
-
archiveOnMergeSource: "default" | "environment" | "global" | "project";
|
|
660
|
-
baseBranch: string | null;
|
|
661
|
-
defaultRunner: string;
|
|
662
|
-
systemPrompt: string | null;
|
|
663
|
-
defaultModels: {
|
|
664
|
-
[x: string]: string | undefined;
|
|
665
|
-
};
|
|
666
|
-
modelsLocked: boolean;
|
|
667
|
-
maxParallel: number;
|
|
668
|
-
memoryLimitMb: number | null;
|
|
669
|
-
worktreeRetention: number;
|
|
670
|
-
liveTitleUpdates: boolean | null;
|
|
671
|
-
reviewGate: boolean | null;
|
|
672
|
-
worktreeSetup: {
|
|
673
|
-
commands: string[];
|
|
674
|
-
timeoutSeconds: number;
|
|
675
|
-
} | null;
|
|
676
|
-
worktreeSetupIssue: string | null;
|
|
677
|
-
worktreeTeardown: {
|
|
678
|
-
commands: string[];
|
|
679
|
-
timeoutSeconds: number;
|
|
680
|
-
} | null;
|
|
681
|
-
worktreeTeardownIssue: string | null;
|
|
681
|
+
error: string;
|
|
682
682
|
};
|
|
683
683
|
outputFormat: "json";
|
|
684
|
-
status:
|
|
684
|
+
status: 500;
|
|
685
685
|
input: {
|
|
686
686
|
json: {
|
|
687
687
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -795,10 +795,14 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
|
|
|
795
795
|
"/agent-config/:id": {
|
|
796
796
|
$put: {
|
|
797
797
|
output: {
|
|
798
|
-
|
|
798
|
+
id: string;
|
|
799
|
+
path: string;
|
|
800
|
+
exists: boolean;
|
|
801
|
+
content: string;
|
|
802
|
+
version: string | null;
|
|
799
803
|
};
|
|
800
804
|
outputFormat: "json";
|
|
801
|
-
status:
|
|
805
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
802
806
|
input: {
|
|
803
807
|
json: {
|
|
804
808
|
content: string;
|
|
@@ -811,14 +815,10 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
|
|
|
811
815
|
};
|
|
812
816
|
} | {
|
|
813
817
|
output: {
|
|
814
|
-
|
|
815
|
-
path: string;
|
|
816
|
-
exists: boolean;
|
|
817
|
-
content: string;
|
|
818
|
-
version: string | null;
|
|
818
|
+
error: string;
|
|
819
819
|
};
|
|
820
820
|
outputFormat: "json";
|
|
821
|
-
status:
|
|
821
|
+
status: 404;
|
|
822
822
|
input: {
|
|
823
823
|
json: {
|
|
824
824
|
content: string;
|
|
@@ -851,12 +851,9 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
|
|
|
851
851
|
export declare function createSseRoutes(): import("hono/hono-base").HonoBase<ProjectApiEnv, {
|
|
852
852
|
"/runs/:id/events": {
|
|
853
853
|
$get: {
|
|
854
|
-
output: {
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
};
|
|
858
|
-
outputFormat: "json";
|
|
859
|
-
status: 400;
|
|
854
|
+
output: {};
|
|
855
|
+
outputFormat: string;
|
|
856
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
860
857
|
input: {
|
|
861
858
|
param: {
|
|
862
859
|
id: string;
|
|
@@ -868,9 +865,12 @@ export declare function createSseRoutes(): import("hono/hono-base").HonoBase<Pro
|
|
|
868
865
|
};
|
|
869
866
|
};
|
|
870
867
|
} | {
|
|
871
|
-
output: {
|
|
872
|
-
|
|
873
|
-
|
|
868
|
+
output: {
|
|
869
|
+
error: string;
|
|
870
|
+
code?: "invalid_input" | undefined;
|
|
871
|
+
};
|
|
872
|
+
outputFormat: "json";
|
|
873
|
+
status: 400;
|
|
874
874
|
input: {
|
|
875
875
|
param: {
|
|
876
876
|
id: string;
|
|
@@ -18,7 +18,7 @@ export declare function createProviderSignInRoutes(options: {
|
|
|
18
18
|
error: string;
|
|
19
19
|
};
|
|
20
20
|
outputFormat: "json";
|
|
21
|
-
status:
|
|
21
|
+
status: 409;
|
|
22
22
|
input: {
|
|
23
23
|
json: {
|
|
24
24
|
provider: string;
|
|
@@ -30,7 +30,7 @@ export declare function createProviderSignInRoutes(options: {
|
|
|
30
30
|
error: string;
|
|
31
31
|
};
|
|
32
32
|
outputFormat: "json";
|
|
33
|
-
status:
|
|
33
|
+
status: 400;
|
|
34
34
|
input: {
|
|
35
35
|
json: {
|
|
36
36
|
provider: string;
|