@open-mercato/cezar 0.9.2 → 0.10.0-pr892.1298
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/LICENSE +21 -0
- package/README.md +169 -38
- package/dist/agent-config/account-identity.d.ts +44 -0
- package/dist/agent-config/account-identity.js +128 -0
- package/dist/agent-config/account-identity.js.map +1 -0
- package/dist/agent-config/catalog.d.ts +8 -0
- package/dist/agent-config/catalog.js +18 -0
- package/dist/agent-config/catalog.js.map +1 -1
- package/dist/agent-config/model-settings/claude.d.ts +2 -0
- package/dist/agent-config/model-settings/claude.js +11 -0
- package/dist/agent-config/model-settings/claude.js.map +1 -0
- package/dist/agent-config/model-settings/codex.d.ts +2 -0
- package/dist/agent-config/model-settings/codex.js +16 -0
- package/dist/agent-config/model-settings/codex.js.map +1 -0
- package/dist/agent-config/model-settings/opencode.d.ts +2 -0
- package/dist/agent-config/model-settings/opencode.js +8 -0
- package/dist/agent-config/model-settings/opencode.js.map +1 -0
- package/dist/agent-config/model-settings/pi.d.ts +12 -0
- package/dist/agent-config/model-settings/pi.js +18 -0
- package/dist/agent-config/model-settings/pi.js.map +1 -0
- package/dist/agent-config/model-settings/shared.d.ts +9 -0
- package/dist/agent-config/model-settings/shared.js +93 -0
- package/dist/agent-config/model-settings/shared.js.map +1 -0
- package/dist/agent-config/model-settings/types.d.ts +9 -0
- package/dist/agent-config/model-settings/types.js +2 -0
- package/dist/agent-config/model-settings/types.js.map +1 -0
- package/dist/agent-config/models.d.ts +9 -0
- package/dist/agent-config/models.js +32 -0
- package/dist/agent-config/models.js.map +1 -0
- package/dist/agent-config/service.js +4 -4
- package/dist/agent-config/service.js.map +1 -1
- package/dist/automations/types.d.ts +4 -0
- package/dist/automations/types.js +2 -1
- package/dist/automations/types.js.map +1 -1
- package/dist/config.d.ts +10 -1
- package/dist/config.js +48 -5
- package/dist/config.js.map +1 -1
- package/dist/contract/agent-config.d.ts +2 -0
- package/dist/contract/agent-profiles.d.ts +347 -0
- package/dist/contract/automations.d.ts +24 -0
- package/dist/contract/events.d.ts +59 -0
- package/dist/contract/github.d.ts +88 -0
- package/dist/contract/health.d.ts +7 -1
- package/dist/contract/index.d.ts +1 -0
- package/dist/contract/index.js +1005 -555
- package/dist/contract/projects.d.ts +33 -5
- package/dist/contract/runs.d.ts +247 -0
- package/dist/contract/skills.d.ts +7 -0
- package/dist/contract/workflows.d.ts +6 -0
- package/dist/contract/workspace.d.ts +137 -2
- package/dist/core/agent-env.js +41 -16
- package/dist/core/agent-env.js.map +1 -1
- package/dist/core/agent-model-policy.d.ts +10 -0
- package/dist/core/agent-model-policy.js +36 -0
- package/dist/core/agent-model-policy.js.map +1 -0
- package/dist/core/agent-profiles.d.ts +62 -0
- package/dist/core/agent-profiles.js +90 -0
- package/dist/core/agent-profiles.js.map +1 -0
- package/dist/core/agent-runner.d.ts +37 -6
- package/dist/core/agent-runner.js +35 -3
- package/dist/core/agent-runner.js.map +1 -1
- package/dist/core/backend-detect.d.ts +5 -5
- package/dist/core/backend-detect.js +44 -7
- package/dist/core/backend-detect.js.map +1 -1
- package/dist/core/claude-cli-runner.js +10 -5
- package/dist/core/claude-cli-runner.js.map +1 -1
- package/dist/core/codex-app-server-runner.js +13 -3
- package/dist/core/codex-app-server-runner.js.map +1 -1
- package/dist/core/codex-app-server-transport.js +7 -2
- package/dist/core/codex-app-server-transport.js.map +1 -1
- package/dist/core/model-identity.d.ts +23 -11
- package/dist/core/model-identity.js +41 -24
- package/dist/core/model-identity.js.map +1 -1
- package/dist/core/model-presets.d.ts +8 -2
- package/dist/core/model-presets.js +51 -8
- package/dist/core/model-presets.js.map +1 -1
- package/dist/core/opencode-model-catalog.d.ts +32 -0
- package/dist/core/opencode-model-catalog.js +153 -0
- package/dist/core/opencode-model-catalog.js.map +1 -0
- package/dist/core/opencode-server-runner.d.ts +2 -0
- package/dist/core/opencode-server-runner.js +42 -11
- package/dist/core/opencode-server-runner.js.map +1 -1
- package/dist/core/pi-runner.d.ts +24 -0
- package/dist/core/pi-runner.js +349 -0
- package/dist/core/pi-runner.js.map +1 -0
- package/dist/core/pi-ui-mapper.d.ts +34 -0
- package/dist/core/pi-ui-mapper.js +270 -0
- package/dist/core/pi-ui-mapper.js.map +1 -0
- package/dist/core/provider-auth.d.ts +95 -3
- package/dist/core/provider-auth.js +234 -15
- package/dist/core/provider-auth.js.map +1 -1
- package/dist/core/provider-availability.d.ts +1 -1
- package/dist/core/provider-availability.js +2 -1
- package/dist/core/provider-availability.js.map +1 -1
- package/dist/core/runner-factory.js +3 -0
- package/dist/core/runner-factory.js.map +1 -1
- package/dist/core/shell-env.d.ts +28 -0
- package/dist/core/shell-env.js +56 -0
- package/dist/core/shell-env.js.map +1 -0
- package/dist/core/ui-events.d.ts +1 -1
- package/dist/core/usage-limit.d.ts +42 -0
- package/dist/core/usage-limit.js +209 -0
- package/dist/core/usage-limit.js.map +1 -0
- package/dist/git-diff-base.d.ts +51 -26
- package/dist/git-diff-base.js +163 -37
- package/dist/git-diff-base.js.map +1 -1
- package/dist/git-worktree.d.ts +15 -6
- package/dist/git-worktree.js +10 -3
- package/dist/git-worktree.js.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/paths.d.ts +53 -5
- package/dist/paths.js +63 -9
- package/dist/paths.js.map +1 -1
- package/dist/planner.js +6 -0
- package/dist/planner.js.map +1 -1
- package/dist/release/snapshot.d.ts +13 -2
- package/dist/release/snapshot.js +25 -1
- package/dist/release/snapshot.js.map +1 -1
- package/dist/runs/agent-tmpdir.d.ts +41 -0
- package/dist/runs/agent-tmpdir.js +183 -0
- package/dist/runs/agent-tmpdir.js.map +1 -0
- package/dist/runs/auto-name.js +6 -1
- package/dist/runs/auto-name.js.map +1 -1
- package/dist/runs/event-history.d.ts +50 -0
- package/dist/runs/event-history.js +613 -0
- package/dist/runs/event-history.js.map +1 -0
- package/dist/runs/run-index.d.ts +19 -0
- package/dist/runs/run-index.js +43 -0
- package/dist/runs/run-index.js.map +1 -0
- package/dist/runs/store.d.ts +78 -19
- package/dist/runs/store.js +175 -43
- package/dist/runs/store.js.map +1 -1
- package/dist/server/capabilities.d.ts +15 -1
- package/dist/server/capabilities.js +16 -1
- package/dist/server/capabilities.js.map +1 -1
- package/dist/server/forge/github.d.ts +169 -0
- package/dist/server/forge/github.js +511 -0
- package/dist/server/forge/github.js.map +1 -1
- package/dist/server/forge/index.d.ts +9 -0
- package/dist/server/forge/index.js +14 -0
- package/dist/server/forge/index.js.map +1 -1
- package/dist/server/git-changes.d.ts +7 -5
- package/dist/server/git-changes.js +15 -10
- package/dist/server/git-changes.js.map +1 -1
- package/dist/server/github.d.ts +2 -2
- package/dist/server/github.js +1 -1
- package/dist/server/github.js.map +1 -1
- package/dist/server/open-in-app.d.ts +2 -1
- package/dist/server/open-in-app.js +3 -1
- package/dist/server/open-in-app.js.map +1 -1
- package/dist/server/open-in-terminal.d.ts +46 -1
- package/dist/server/open-in-terminal.js +72 -13
- package/dist/server/open-in-terminal.js.map +1 -1
- package/dist/server/provider-action-gate.js +3 -1
- package/dist/server/provider-action-gate.js.map +1 -1
- package/dist/server/server.d.ts +2206 -434
- package/dist/server/server.js +1219 -136
- package/dist/server/server.js.map +1 -1
- package/dist/server-install/engine.js +5 -18
- package/dist/server-install/engine.js.map +1 -1
- package/dist/server-install/steps.js +6 -2
- package/dist/server-install/steps.js.map +1 -1
- package/dist/skills.js +4 -0
- package/dist/skills.js.map +1 -1
- package/dist/workflows/run.d.ts +229 -9
- package/dist/workflows/run.js +877 -147
- package/dist/workflows/run.js.map +1 -1
- package/dist/workflows/types.d.ts +3 -0
- package/dist/workflows/types.js +11 -2
- package/dist/workflows/types.js.map +1 -1
- package/dist/workspace/agent-accounts.d.ts +153 -0
- package/dist/workspace/agent-accounts.js +304 -0
- package/dist/workspace/agent-accounts.js.map +1 -0
- package/dist/workspace/agent-profiles.d.ts +78 -0
- package/dist/workspace/agent-profiles.js +115 -0
- package/dist/workspace/agent-profiles.js.map +1 -0
- package/dist/workspace/config.d.ts +27 -1
- package/dist/workspace/config.js +83 -2
- package/dist/workspace/config.js.map +1 -1
- package/dist/workspace/projects-cli.js +54 -4
- package/dist/workspace/projects-cli.js.map +1 -1
- package/dist/workspace/projects.d.ts +19 -1
- package/dist/workspace/projects.js +34 -1
- package/dist/workspace/projects.js.map +1 -1
- package/dist/workspace/semaphore.d.ts +46 -1
- package/dist/workspace/semaphore.js +41 -4
- package/dist/workspace/semaphore.js.map +1 -1
- package/dist/workspace/ui-state.d.ts +3 -2
- package/dist/workspace/ui-state.js +3 -2
- package/dist/workspace/ui-state.js.map +1 -1
- package/package.json +3 -3
- package/scripts/mock-claude.mjs +20 -0
- package/scripts/mock-pi-rpc.mjs +83 -0
- package/web/dist/assets/{alert-dialog-ghffK6g9.js → alert-dialog-Byp42_IG.js} +1 -1
- package/web/dist/assets/arrow-down-CGDbDYKD.js +1 -0
- package/web/dist/assets/arrow-left-ESCjr1Hq.js +1 -0
- package/web/dist/assets/centered-state-LfAW-igm.js +43 -0
- package/web/dist/assets/chevron-right-Du-P1IUd.js +1 -0
- package/web/dist/assets/{collapsible-B0JVzd0B.js → collapsible-CBiiqDJM.js} +1 -1
- package/web/dist/assets/{commit-list-wm6DPHNs.js → commit-list-6PPve7PE.js} +1 -1
- package/web/dist/assets/{compare-variants-DbdP4Y5T.js → compare-variants-BDnp6mXJ.js} +1 -1
- package/web/dist/assets/{diff-Bizc96qe.js → diff-_jK0OWpF.js} +2 -2
- package/web/dist/assets/{diff-stat-Dyfg3ltF.js → diff-stat-CIrTu4Ym.js} +1 -1
- package/web/dist/assets/{diff-view-CG8ek6tC.js → diff-view-COA_5IyY.js} +1 -1
- package/web/dist/assets/dropdown-menu-BofYpFFw.js +1 -0
- package/web/dist/assets/editable-title-_J0zFDl-.js +1 -0
- package/web/dist/assets/{ellipsis-vertical-DpGTRqC2.js → ellipsis-vertical-BeMR-l62.js} +1 -1
- package/web/dist/assets/{file-DlUGpUlb.js → file-DY996Pee.js} +1 -1
- package/web/dist/assets/{folder-BAY6Vddy.js → folder-NO3Ec-TY.js} +1 -1
- package/web/dist/assets/git-toolbar-BqJeUWcD.js +1 -0
- package/web/dist/assets/github-C96HPV9E.js +1 -0
- package/web/dist/assets/{image-preview-BWGk5fPX.js → image-preview-D9cCDfKQ.js} +1 -1
- package/web/dist/assets/index-Bx-grqa9.css +2 -0
- package/web/dist/assets/index-DoVvGDfW.js +7 -0
- package/web/dist/assets/{markdown-BGBOGCA_.js → markdown-DDzk11zj.js} +1 -1
- package/web/dist/assets/new-task-form-BNLLgC6P.js +1 -0
- package/web/dist/assets/pill-CVM1EmV4.js +1 -0
- package/web/dist/assets/{project-router-Cx8NPoqn.js → project-router-LRCtP48W.js} +1 -1
- package/web/dist/assets/prompt-templates-DFOvYgtW.js +15 -0
- package/web/dist/assets/{refresh-cw-BoGdAykg.js → refresh-cw-D1ys6QY2.js} +1 -1
- package/web/dist/assets/repo-git-CzUnsgWY.js +1 -0
- package/web/dist/assets/{run-diff-EcOkf3ti.js → run-diff-BlnqwfSS.js} +2 -2
- package/web/dist/assets/run-header-Bn7cN0Z1.js +1 -0
- package/web/dist/assets/{search-x-X3EpVhgs.js → search-x-D6FSpxId.js} +1 -1
- package/web/dist/assets/{skill-empty-hint-CZLALx6l.js → skill-empty-hint-iwpCcqgI.js} +1 -1
- package/web/dist/assets/skills-CezbOaol.js +1 -0
- package/web/dist/assets/{sparkles-Dt4q7pbG.js → sparkles-MrQrgCI9.js} +1 -1
- package/web/dist/assets/{square-terminal-hwBL8XsC.js → square-terminal-TTH64lO7.js} +1 -1
- package/web/dist/assets/tab-link-FYksz037.js +1 -0
- package/web/dist/assets/task-changes-ClWlnzBL.js +1 -0
- package/web/dist/assets/{task-commits-BTTA5k5T.js → task-commits-Crbrl86b.js} +1 -1
- package/web/dist/assets/{task-files-Da8_4C9g.js → task-files-uSCWyD0-.js} +2 -2
- package/web/dist/assets/task-thread-DPmamBA1.js +9 -0
- package/web/dist/assets/{textarea-CUdokhkv.js → textarea-B9Ahj4E4.js} +1 -1
- package/web/dist/assets/thread-loading-BH_ypQoy.js +1 -0
- package/web/dist/assets/{trash-2-DhVIdWv8.js → trash-2-D8S3V3fu.js} +1 -1
- package/web/dist/assets/{triangle-alert-XYT0DGCI.js → triangle-alert-bB7p9n5E.js} +1 -1
- package/web/dist/assets/{upload-BKjN59-1.js → upload-Bd5oRLPV.js} +1 -1
- package/web/dist/assets/{use-desktop-Bf5LS_P4.js → use-desktop-BNvbRBeZ.js} +1 -1
- package/web/dist/assets/{use-submit-shortcut-CzVyoAMd.js → use-submit-shortcut-B-xhu4Bf.js} +1 -1
- package/web/dist/assets/utils-BhpbVMwN.js +64 -0
- package/web/dist/assets/{workflows-o2QU_pvU.js → workflows-RmfbM9Vy.js} +3 -3
- package/web/dist/assets/{zoomable-image-7WyUiaVD.js → zoomable-image-BCW6ZBV0.js} +1 -1
- package/web/dist/index.html +24 -23
- package/web/dist/assets/arrow-down-Cz8qb71e.js +0 -1
- package/web/dist/assets/arrow-left-wcYKQXI_.js +0 -1
- package/web/dist/assets/centered-state-ZtnFHA-n.js +0 -43
- package/web/dist/assets/chevron-right-G4caF2QV.js +0 -1
- package/web/dist/assets/circle-check--KvBxXWp.js +0 -1
- package/web/dist/assets/circle-x-C3EFZ3xf.js +0 -1
- package/web/dist/assets/dropdown-menu-C1Dlf35P.js +0 -1
- package/web/dist/assets/editable-title-5rC_QRBZ.js +0 -1
- package/web/dist/assets/git-pull-request-agOG0iGM.js +0 -1
- package/web/dist/assets/git-toolbar-DGiNMmtY.js +0 -1
- package/web/dist/assets/github-Vp7lxYGQ.js +0 -1
- package/web/dist/assets/index-DSxyJpuK.css +0 -2
- package/web/dist/assets/index-DiawI6RX.js +0 -6
- package/web/dist/assets/new-task-form-BpAw_Dks.js +0 -1
- package/web/dist/assets/pill-Dvs-P0xy.js +0 -1
- package/web/dist/assets/prompt-templates-CSBYBR1I.js +0 -15
- package/web/dist/assets/repo-git-PmX-BNMo.js +0 -1
- package/web/dist/assets/run-header-BGiv6_qX.js +0 -1
- package/web/dist/assets/skills-CC91ouGH.js +0 -1
- package/web/dist/assets/tab-link-DIlR5T07.js +0 -1
- package/web/dist/assets/task-changes-XkHDxzQA.js +0 -1
- package/web/dist/assets/task-thread-DoNXUsHr.js +0 -9
- package/web/dist/assets/thread-loading-B8q8ukXJ.js +0 -1
- package/web/dist/assets/utils-DsLuRXwV.js +0 -64
package/dist/server/server.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import { type CloneRunner } from './checkout.ts';
|
|
|
15
15
|
import { ProjectContexts } from './project-context.ts';
|
|
16
16
|
import { type SocketHub, type WsUpgradeVerdict } from './ws.ts';
|
|
17
17
|
import { openInTerminal } from './open-in-terminal.ts';
|
|
18
|
+
import { openFileInDefaultApp, openInApp } from './open-in-app.ts';
|
|
18
19
|
import { ProviderRuntimeAuthObserver } from './provider-auth-runtime.ts';
|
|
19
20
|
export interface ServerDeps {
|
|
20
21
|
repoRoot: string;
|
|
@@ -78,6 +79,13 @@ export interface ServerDeps {
|
|
|
78
79
|
providerRuntimeAuth?: ProviderRuntimeAuthObserver;
|
|
79
80
|
/** Local terminal handoff for provider-owned login. */
|
|
80
81
|
openTerminal?: typeof openInTerminal;
|
|
82
|
+
/** Hand a local FILE (or folder) to the OS default app. Injected so the account-file open route
|
|
83
|
+
* is testable without actually launching an editor. */
|
|
84
|
+
openFile?: typeof openFileInDefaultApp;
|
|
85
|
+
/** Hand a folder to a detected app by target id — editor, file manager, or `terminal`, which
|
|
86
|
+
* reaches `openInTerminal`. Injected for the same reason as the two above: a test that reaches
|
|
87
|
+
* this for real opens a window on the developer's machine (#820). */
|
|
88
|
+
openApp?: typeof openInApp;
|
|
81
89
|
/** Process-wide Open Mercato skills update detector. Injected in tests and
|
|
82
90
|
* shared by every workspace route/project; createApp owns the default. */
|
|
83
91
|
skillsUpdate?: SkillsUpdateService;
|
|
@@ -160,9 +168,20 @@ export interface WorkspaceConfigResponse {
|
|
|
160
168
|
maxParallel: number;
|
|
161
169
|
maxMonitoringSessions: number;
|
|
162
170
|
monitoringWakeIntervalMinutes: number | null;
|
|
171
|
+
autoResumeOnUsageLimit: boolean;
|
|
163
172
|
memoryLimitMb: number | null;
|
|
164
173
|
worktreeRetentionDefault: number;
|
|
165
174
|
};
|
|
175
|
+
/** What a repo that has set none of its own runs (spec 2026-07-29-agent-profiles). Both keys
|
|
176
|
+
* optional: absent means "no opinion", which must stay distinguishable from a chosen value. */
|
|
177
|
+
agentDefaults: {
|
|
178
|
+
runner?: ProviderId;
|
|
179
|
+
models?: {
|
|
180
|
+
claude?: string;
|
|
181
|
+
codex?: string;
|
|
182
|
+
opencode?: string;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
166
185
|
}
|
|
167
186
|
/** Workspace-level event names carried ONLY on `GET /api/workspace/events`
|
|
168
187
|
* (never on the per-project streams): registry mutations, the GUI-clone
|
|
@@ -197,12 +216,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
197
216
|
remote?: string;
|
|
198
217
|
} | null;
|
|
199
218
|
checks: {
|
|
200
|
-
name: 'claude' | 'codex' | 'opencode' | 'gh' | 'git';
|
|
219
|
+
name: 'claude' | 'codex' | 'opencode' | 'pi' | 'gh' | 'git';
|
|
201
220
|
available: boolean;
|
|
202
221
|
version?: string;
|
|
203
222
|
hint?: string;
|
|
204
223
|
}[];
|
|
205
|
-
defaultRunner: "claude" | "codex" | "opencode";
|
|
224
|
+
defaultRunner: "claude" | "codex" | "opencode" | "pi";
|
|
206
225
|
forge: {
|
|
207
226
|
available?: boolean | undefined;
|
|
208
227
|
reason?: string;
|
|
@@ -212,6 +231,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
212
231
|
localHandoff: boolean;
|
|
213
232
|
followups: boolean;
|
|
214
233
|
singleProject: boolean;
|
|
234
|
+
automations: boolean;
|
|
215
235
|
tokenMetrics: boolean;
|
|
216
236
|
tokenUsageMetrics: boolean;
|
|
217
237
|
costMetrics: boolean;
|
|
@@ -237,7 +257,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
237
257
|
status: 400;
|
|
238
258
|
input: {
|
|
239
259
|
query: {
|
|
240
|
-
runner:
|
|
260
|
+
runner: "codex" | "opencode";
|
|
241
261
|
};
|
|
242
262
|
};
|
|
243
263
|
} | {
|
|
@@ -256,7 +276,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
256
276
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
257
277
|
input: {
|
|
258
278
|
query: {
|
|
259
|
-
runner:
|
|
279
|
+
runner: "codex" | "opencode";
|
|
260
280
|
};
|
|
261
281
|
};
|
|
262
282
|
};
|
|
@@ -363,6 +383,62 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
363
383
|
input: {};
|
|
364
384
|
};
|
|
365
385
|
};
|
|
386
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
387
|
+
"/workspace/runs-index": {
|
|
388
|
+
$get: {
|
|
389
|
+
output: {
|
|
390
|
+
runs: {
|
|
391
|
+
projectId: string;
|
|
392
|
+
id: string;
|
|
393
|
+
title: string;
|
|
394
|
+
titleSummary?: string | undefined;
|
|
395
|
+
titleOrigin?: "auto" | "marker" | "user" | undefined;
|
|
396
|
+
status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
397
|
+
activity?: "monitoring" | undefined;
|
|
398
|
+
createdAt: string;
|
|
399
|
+
finishedAt?: string | undefined;
|
|
400
|
+
seenAt?: string | undefined;
|
|
401
|
+
archived: boolean;
|
|
402
|
+
autoResumeAt?: string | undefined;
|
|
403
|
+
workflow: string;
|
|
404
|
+
branch?: string | undefined;
|
|
405
|
+
startedAt?: string | undefined;
|
|
406
|
+
pullRequestUrl?: string | undefined;
|
|
407
|
+
referencedPullRequestUrl?: string | undefined;
|
|
408
|
+
prNumber?: number | undefined;
|
|
409
|
+
issueNumber?: number | undefined;
|
|
410
|
+
referencedIssueUrl?: string | undefined;
|
|
411
|
+
markerRefs?: {
|
|
412
|
+
pr?: number | undefined;
|
|
413
|
+
issue?: number | undefined;
|
|
414
|
+
} | undefined;
|
|
415
|
+
costUsd?: number | undefined;
|
|
416
|
+
peakRssBytes?: number | undefined;
|
|
417
|
+
peakProcCount?: number | undefined;
|
|
418
|
+
usage?: {
|
|
419
|
+
cpuPct: number;
|
|
420
|
+
rssBytes: number;
|
|
421
|
+
procCount: number;
|
|
422
|
+
} | undefined;
|
|
423
|
+
}[];
|
|
424
|
+
referenceStatuses: {
|
|
425
|
+
[x: string]: {
|
|
426
|
+
prs: {
|
|
427
|
+
[x: number]: "changes-requested" | "checks-failing" | "checks-pending" | "closed" | "completed" | "draft" | "merged" | "not-planned" | "open" | "ready" | "review-required";
|
|
428
|
+
};
|
|
429
|
+
issues: {
|
|
430
|
+
[x: number]: "changes-requested" | "checks-failing" | "checks-pending" | "closed" | "completed" | "draft" | "merged" | "not-planned" | "open" | "ready" | "review-required";
|
|
431
|
+
};
|
|
432
|
+
};
|
|
433
|
+
};
|
|
434
|
+
perProjectLimit: number;
|
|
435
|
+
truncated: string[];
|
|
436
|
+
};
|
|
437
|
+
outputFormat: "json";
|
|
438
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
439
|
+
input: {};
|
|
440
|
+
};
|
|
441
|
+
};
|
|
366
442
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
367
443
|
"/workspace/skills-update": {
|
|
368
444
|
$get: {
|
|
@@ -518,6 +594,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
518
594
|
enabled?: boolean;
|
|
519
595
|
hint?: string;
|
|
520
596
|
authFailureId?: string;
|
|
597
|
+
profileId?: string;
|
|
521
598
|
}[];
|
|
522
599
|
};
|
|
523
600
|
outputFormat: "json";
|
|
@@ -539,7 +616,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
539
616
|
status: 400;
|
|
540
617
|
input: {
|
|
541
618
|
param: {
|
|
542
|
-
provider: "claude" | "codex" | "opencode";
|
|
619
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
543
620
|
};
|
|
544
621
|
} & {
|
|
545
622
|
json: {
|
|
@@ -554,13 +631,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
554
631
|
enabled?: boolean;
|
|
555
632
|
hint?: string;
|
|
556
633
|
authFailureId?: string;
|
|
634
|
+
profileId?: string;
|
|
557
635
|
}[];
|
|
558
636
|
};
|
|
559
637
|
outputFormat: "json";
|
|
560
638
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
561
639
|
input: {
|
|
562
640
|
param: {
|
|
563
|
-
provider: "claude" | "codex" | "opencode";
|
|
641
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
564
642
|
};
|
|
565
643
|
} & {
|
|
566
644
|
json: {
|
|
@@ -575,7 +653,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
575
653
|
status: 500;
|
|
576
654
|
input: {
|
|
577
655
|
param: {
|
|
578
|
-
provider: "claude" | "codex" | "opencode";
|
|
656
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
579
657
|
};
|
|
580
658
|
} & {
|
|
581
659
|
json: {
|
|
@@ -594,7 +672,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
594
672
|
status: 400;
|
|
595
673
|
input: {
|
|
596
674
|
param: {
|
|
597
|
-
provider: "claude" | "codex" | "opencode";
|
|
675
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
598
676
|
};
|
|
599
677
|
} & {
|
|
600
678
|
json: {
|
|
@@ -609,13 +687,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
609
687
|
enabled?: boolean;
|
|
610
688
|
hint?: string;
|
|
611
689
|
authFailureId?: string;
|
|
690
|
+
profileId?: string;
|
|
612
691
|
}[];
|
|
613
692
|
};
|
|
614
693
|
outputFormat: "json";
|
|
615
694
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
616
695
|
input: {
|
|
617
696
|
param: {
|
|
618
|
-
provider: "claude" | "codex" | "opencode";
|
|
697
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
619
698
|
};
|
|
620
699
|
} & {
|
|
621
700
|
json: {
|
|
@@ -630,7 +709,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
630
709
|
status: 409;
|
|
631
710
|
input: {
|
|
632
711
|
param: {
|
|
633
|
-
provider: "claude" | "codex" | "opencode";
|
|
712
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
634
713
|
};
|
|
635
714
|
} & {
|
|
636
715
|
json: {
|
|
@@ -646,35 +725,49 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
646
725
|
error: string;
|
|
647
726
|
};
|
|
648
727
|
outputFormat: "json";
|
|
649
|
-
status:
|
|
728
|
+
status: 409;
|
|
650
729
|
input: {
|
|
651
730
|
json: {
|
|
652
|
-
provider: "claude" | "codex" | "opencode";
|
|
731
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
732
|
+
profileId?: string | undefined;
|
|
653
733
|
};
|
|
654
734
|
};
|
|
655
735
|
} | {
|
|
656
736
|
output: {
|
|
657
|
-
|
|
658
|
-
connected: true;
|
|
659
|
-
command: string;
|
|
737
|
+
error: string;
|
|
660
738
|
};
|
|
661
739
|
outputFormat: "json";
|
|
662
|
-
status:
|
|
740
|
+
status: 400;
|
|
663
741
|
input: {
|
|
664
742
|
json: {
|
|
665
|
-
provider: "claude" | "codex" | "opencode";
|
|
743
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
744
|
+
profileId?: string | undefined;
|
|
666
745
|
};
|
|
667
746
|
};
|
|
668
747
|
} | {
|
|
669
748
|
output: {
|
|
670
749
|
error: string;
|
|
750
|
+
};
|
|
751
|
+
outputFormat: "json";
|
|
752
|
+
status: 500;
|
|
753
|
+
input: {
|
|
754
|
+
json: {
|
|
755
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
756
|
+
profileId?: string | undefined;
|
|
757
|
+
};
|
|
758
|
+
};
|
|
759
|
+
} | {
|
|
760
|
+
output: {
|
|
761
|
+
opened: false;
|
|
762
|
+
connected: true;
|
|
671
763
|
command: string;
|
|
672
764
|
};
|
|
673
765
|
outputFormat: "json";
|
|
674
|
-
status:
|
|
766
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
675
767
|
input: {
|
|
676
768
|
json: {
|
|
677
|
-
provider: "claude" | "codex" | "opencode";
|
|
769
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
770
|
+
profileId?: string | undefined;
|
|
678
771
|
};
|
|
679
772
|
};
|
|
680
773
|
} | {
|
|
@@ -686,7 +779,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
686
779
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
687
780
|
input: {
|
|
688
781
|
json: {
|
|
689
|
-
provider: "claude" | "codex" | "opencode";
|
|
782
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
783
|
+
profileId?: string | undefined;
|
|
690
784
|
};
|
|
691
785
|
};
|
|
692
786
|
};
|
|
@@ -709,9 +803,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
709
803
|
maxParallel: number;
|
|
710
804
|
maxMonitoringSessions: number;
|
|
711
805
|
monitoringWakeIntervalMinutes: number | null;
|
|
806
|
+
autoResumeOnUsageLimit: boolean;
|
|
712
807
|
memoryLimitMb: number | null;
|
|
713
808
|
worktreeRetentionDefault: number;
|
|
714
809
|
};
|
|
810
|
+
agentDefaults: {
|
|
811
|
+
runner?: ProviderId;
|
|
812
|
+
models?: {
|
|
813
|
+
claude?: string;
|
|
814
|
+
codex?: string;
|
|
815
|
+
opencode?: string;
|
|
816
|
+
} | undefined;
|
|
817
|
+
};
|
|
715
818
|
};
|
|
716
819
|
outputFormat: "json";
|
|
717
820
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -736,9 +839,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
736
839
|
maxParallel: number;
|
|
737
840
|
maxMonitoringSessions: number;
|
|
738
841
|
monitoringWakeIntervalMinutes: number | null;
|
|
842
|
+
autoResumeOnUsageLimit: boolean;
|
|
739
843
|
memoryLimitMb: number | null;
|
|
740
844
|
worktreeRetentionDefault: number;
|
|
741
845
|
};
|
|
846
|
+
agentDefaults: {
|
|
847
|
+
runner?: ProviderId;
|
|
848
|
+
models?: {
|
|
849
|
+
claude?: string;
|
|
850
|
+
codex?: string;
|
|
851
|
+
opencode?: string;
|
|
852
|
+
} | undefined;
|
|
853
|
+
};
|
|
742
854
|
};
|
|
743
855
|
outputFormat: "json";
|
|
744
856
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -755,9 +867,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
755
867
|
maxParallel?: number | undefined;
|
|
756
868
|
maxMonitoringSessions?: number | undefined;
|
|
757
869
|
monitoringWakeIntervalMinutes?: number | null | undefined;
|
|
870
|
+
autoResumeOnUsageLimit?: boolean | undefined;
|
|
758
871
|
memoryLimitMb?: number | null | undefined;
|
|
759
872
|
worktreeRetentionDefault?: number | undefined;
|
|
760
873
|
} | undefined;
|
|
874
|
+
agentDefaults?: {
|
|
875
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | null | undefined;
|
|
876
|
+
models?: {
|
|
877
|
+
claude?: string | null | undefined;
|
|
878
|
+
codex?: string | null | undefined;
|
|
879
|
+
opencode?: string | null | undefined;
|
|
880
|
+
pi?: string | null | undefined;
|
|
881
|
+
} | undefined;
|
|
882
|
+
} | undefined;
|
|
761
883
|
};
|
|
762
884
|
};
|
|
763
885
|
} | {
|
|
@@ -779,9 +901,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
779
901
|
maxParallel?: number | undefined;
|
|
780
902
|
maxMonitoringSessions?: number | undefined;
|
|
781
903
|
monitoringWakeIntervalMinutes?: number | null | undefined;
|
|
904
|
+
autoResumeOnUsageLimit?: boolean | undefined;
|
|
782
905
|
memoryLimitMb?: number | null | undefined;
|
|
783
906
|
worktreeRetentionDefault?: number | undefined;
|
|
784
907
|
} | undefined;
|
|
908
|
+
agentDefaults?: {
|
|
909
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | null | undefined;
|
|
910
|
+
models?: {
|
|
911
|
+
claude?: string | null | undefined;
|
|
912
|
+
codex?: string | null | undefined;
|
|
913
|
+
opencode?: string | null | undefined;
|
|
914
|
+
pi?: string | null | undefined;
|
|
915
|
+
} | undefined;
|
|
916
|
+
} | undefined;
|
|
785
917
|
};
|
|
786
918
|
};
|
|
787
919
|
} | {
|
|
@@ -803,9 +935,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
803
935
|
maxParallel?: number | undefined;
|
|
804
936
|
maxMonitoringSessions?: number | undefined;
|
|
805
937
|
monitoringWakeIntervalMinutes?: number | null | undefined;
|
|
938
|
+
autoResumeOnUsageLimit?: boolean | undefined;
|
|
806
939
|
memoryLimitMb?: number | null | undefined;
|
|
807
940
|
worktreeRetentionDefault?: number | undefined;
|
|
808
941
|
} | undefined;
|
|
942
|
+
agentDefaults?: {
|
|
943
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | null | undefined;
|
|
944
|
+
models?: {
|
|
945
|
+
claude?: string | null | undefined;
|
|
946
|
+
codex?: string | null | undefined;
|
|
947
|
+
opencode?: string | null | undefined;
|
|
948
|
+
pi?: string | null | undefined;
|
|
949
|
+
} | undefined;
|
|
950
|
+
} | undefined;
|
|
809
951
|
};
|
|
810
952
|
};
|
|
811
953
|
};
|
|
@@ -825,15 +967,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
825
967
|
claude?: string | undefined;
|
|
826
968
|
codex?: string | undefined;
|
|
827
969
|
opencode?: string | undefined;
|
|
970
|
+
pi?: string | undefined;
|
|
828
971
|
} | undefined;
|
|
829
972
|
appearance?: {
|
|
830
973
|
accent?: "lime" | "violet" | undefined;
|
|
831
974
|
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
975
|
+
width?: "narrow" | "wide" | undefined;
|
|
832
976
|
} | undefined;
|
|
833
977
|
notifications?: {
|
|
834
978
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
835
979
|
enabled?: boolean | undefined;
|
|
836
980
|
} | undefined;
|
|
981
|
+
taskTable?: {
|
|
982
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
983
|
+
expandedColumns?: {
|
|
984
|
+
[x: string]: boolean;
|
|
985
|
+
} | undefined;
|
|
986
|
+
} | undefined;
|
|
837
987
|
lastLocation?: {
|
|
838
988
|
projectId: string;
|
|
839
989
|
pathname: string;
|
|
@@ -862,15 +1012,23 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
862
1012
|
claude?: string | undefined;
|
|
863
1013
|
codex?: string | undefined;
|
|
864
1014
|
opencode?: string | undefined;
|
|
1015
|
+
pi?: string | undefined;
|
|
865
1016
|
} | undefined;
|
|
866
1017
|
appearance?: {
|
|
867
1018
|
accent?: "lime" | "violet" | undefined;
|
|
868
1019
|
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
1020
|
+
width?: "narrow" | "wide" | undefined;
|
|
869
1021
|
} | undefined;
|
|
870
1022
|
notifications?: {
|
|
871
1023
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
872
1024
|
enabled?: boolean | undefined;
|
|
873
1025
|
} | undefined;
|
|
1026
|
+
taskTable?: {
|
|
1027
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1028
|
+
expandedColumns?: {
|
|
1029
|
+
[x: string]: boolean;
|
|
1030
|
+
} | undefined;
|
|
1031
|
+
} | undefined;
|
|
874
1032
|
lastLocation?: {
|
|
875
1033
|
projectId: string;
|
|
876
1034
|
pathname: string;
|
|
@@ -893,11 +1051,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
893
1051
|
[x: string]: unknown;
|
|
894
1052
|
enabled?: boolean | undefined;
|
|
895
1053
|
} | undefined;
|
|
896
|
-
dismissedProviderAuthFailures?: {
|
|
897
|
-
claude?: string | undefined;
|
|
898
|
-
codex?: string | undefined;
|
|
899
|
-
opencode?: string | undefined;
|
|
900
|
-
} | undefined;
|
|
901
1054
|
lastLocation?: {
|
|
902
1055
|
projectId: string;
|
|
903
1056
|
pathname: string;
|
|
@@ -908,7 +1061,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
908
1061
|
[x: string]: unknown;
|
|
909
1062
|
collapsed?: Record<string, boolean> | undefined;
|
|
910
1063
|
} | undefined;
|
|
1064
|
+
dismissedProviderAuthFailures?: {
|
|
1065
|
+
claude?: string | undefined;
|
|
1066
|
+
codex?: string | undefined;
|
|
1067
|
+
opencode?: string | undefined;
|
|
1068
|
+
pi?: string | undefined;
|
|
1069
|
+
} | undefined;
|
|
911
1070
|
importedSkills?: string[] | undefined;
|
|
1071
|
+
taskTable?: {
|
|
1072
|
+
[x: string]: unknown;
|
|
1073
|
+
expandedColumns?: Record<string, boolean> | undefined;
|
|
1074
|
+
} | undefined;
|
|
912
1075
|
};
|
|
913
1076
|
};
|
|
914
1077
|
} | {
|
|
@@ -929,11 +1092,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
929
1092
|
[x: string]: unknown;
|
|
930
1093
|
enabled?: boolean | undefined;
|
|
931
1094
|
} | undefined;
|
|
932
|
-
dismissedProviderAuthFailures?: {
|
|
933
|
-
claude?: string | undefined;
|
|
934
|
-
codex?: string | undefined;
|
|
935
|
-
opencode?: string | undefined;
|
|
936
|
-
} | undefined;
|
|
937
1095
|
lastLocation?: {
|
|
938
1096
|
projectId: string;
|
|
939
1097
|
pathname: string;
|
|
@@ -944,7 +1102,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
944
1102
|
[x: string]: unknown;
|
|
945
1103
|
collapsed?: Record<string, boolean> | undefined;
|
|
946
1104
|
} | undefined;
|
|
1105
|
+
dismissedProviderAuthFailures?: {
|
|
1106
|
+
claude?: string | undefined;
|
|
1107
|
+
codex?: string | undefined;
|
|
1108
|
+
opencode?: string | undefined;
|
|
1109
|
+
pi?: string | undefined;
|
|
1110
|
+
} | undefined;
|
|
947
1111
|
importedSkills?: string[] | undefined;
|
|
1112
|
+
taskTable?: {
|
|
1113
|
+
[x: string]: unknown;
|
|
1114
|
+
expandedColumns?: Record<string, boolean> | undefined;
|
|
1115
|
+
} | undefined;
|
|
948
1116
|
};
|
|
949
1117
|
};
|
|
950
1118
|
};
|
|
@@ -962,9 +1130,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
962
1130
|
lastOpenedAt: string;
|
|
963
1131
|
source: "checkout" | "local";
|
|
964
1132
|
maxParallel?: number | undefined;
|
|
1133
|
+
tags?: string[] | undefined;
|
|
965
1134
|
status: import("../workspace/projects.ts").ProjectStatus;
|
|
966
1135
|
branch?: string;
|
|
967
1136
|
forge?: import("./forge/types.ts").ForgeKind;
|
|
1137
|
+
repoUrl?: string;
|
|
968
1138
|
}[];
|
|
969
1139
|
bootProject: string;
|
|
970
1140
|
projectsDir: string;
|
|
@@ -987,9 +1157,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
987
1157
|
lastOpenedAt: string;
|
|
988
1158
|
source: "checkout" | "local";
|
|
989
1159
|
maxParallel?: number | undefined;
|
|
1160
|
+
tags?: string[] | undefined;
|
|
990
1161
|
status: import("../workspace/projects.ts").ProjectStatus;
|
|
991
1162
|
branch?: string;
|
|
992
1163
|
forge?: import("./forge/types.ts").ForgeKind;
|
|
1164
|
+
repoUrl?: string;
|
|
993
1165
|
};
|
|
994
1166
|
error?: string;
|
|
995
1167
|
};
|
|
@@ -1011,9 +1183,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1011
1183
|
lastOpenedAt: string;
|
|
1012
1184
|
source: "checkout" | "local";
|
|
1013
1185
|
maxParallel?: number | undefined;
|
|
1186
|
+
tags?: string[] | undefined;
|
|
1014
1187
|
status: import("../workspace/projects.ts").ProjectStatus;
|
|
1015
1188
|
branch?: string;
|
|
1016
1189
|
forge?: import("./forge/types.ts").ForgeKind;
|
|
1190
|
+
repoUrl?: string;
|
|
1017
1191
|
};
|
|
1018
1192
|
error?: string;
|
|
1019
1193
|
} | {
|
|
@@ -1087,7 +1261,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1087
1261
|
status: 409;
|
|
1088
1262
|
input: {
|
|
1089
1263
|
json: {
|
|
1090
|
-
maxParallel
|
|
1264
|
+
maxParallel?: number | null | undefined;
|
|
1265
|
+
tags?: string[] | null | undefined;
|
|
1091
1266
|
};
|
|
1092
1267
|
} & {
|
|
1093
1268
|
param: {
|
|
@@ -1102,7 +1277,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1102
1277
|
status: 404;
|
|
1103
1278
|
input: {
|
|
1104
1279
|
json: {
|
|
1105
|
-
maxParallel
|
|
1280
|
+
maxParallel?: number | null | undefined;
|
|
1281
|
+
tags?: string[] | null | undefined;
|
|
1106
1282
|
};
|
|
1107
1283
|
} & {
|
|
1108
1284
|
param: {
|
|
@@ -1117,7 +1293,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1117
1293
|
status: 500;
|
|
1118
1294
|
input: {
|
|
1119
1295
|
json: {
|
|
1120
|
-
maxParallel
|
|
1296
|
+
maxParallel?: number | null | undefined;
|
|
1297
|
+
tags?: string[] | null | undefined;
|
|
1121
1298
|
};
|
|
1122
1299
|
} & {
|
|
1123
1300
|
param: {
|
|
@@ -1135,16 +1312,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1135
1312
|
lastOpenedAt: string;
|
|
1136
1313
|
source: "checkout" | "local";
|
|
1137
1314
|
maxParallel?: number | undefined;
|
|
1315
|
+
tags?: string[] | undefined;
|
|
1138
1316
|
status: import("../workspace/projects.ts").ProjectStatus;
|
|
1139
1317
|
branch?: string;
|
|
1140
1318
|
forge?: import("./forge/types.ts").ForgeKind;
|
|
1319
|
+
repoUrl?: string;
|
|
1141
1320
|
};
|
|
1142
1321
|
};
|
|
1143
1322
|
outputFormat: "json";
|
|
1144
1323
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1145
1324
|
input: {
|
|
1146
1325
|
json: {
|
|
1147
|
-
maxParallel
|
|
1326
|
+
maxParallel?: number | null | undefined;
|
|
1327
|
+
tags?: string[] | null | undefined;
|
|
1148
1328
|
};
|
|
1149
1329
|
} & {
|
|
1150
1330
|
param: {
|
|
@@ -1166,9 +1346,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1166
1346
|
lastOpenedAt: string;
|
|
1167
1347
|
source: "checkout" | "local";
|
|
1168
1348
|
maxParallel?: number | undefined;
|
|
1349
|
+
tags?: string[] | undefined;
|
|
1169
1350
|
status: import("../workspace/projects.ts").ProjectStatus;
|
|
1170
1351
|
branch?: string;
|
|
1171
1352
|
forge?: import("./forge/types.ts").ForgeKind;
|
|
1353
|
+
repoUrl?: string;
|
|
1172
1354
|
};
|
|
1173
1355
|
error?: string;
|
|
1174
1356
|
};
|
|
@@ -1199,19 +1381,75 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1199
1381
|
};
|
|
1200
1382
|
};
|
|
1201
1383
|
};
|
|
1202
|
-
}, "/"
|
|
1203
|
-
"/
|
|
1384
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
1385
|
+
"/workspace/agent-profiles": {
|
|
1204
1386
|
$get: {
|
|
1205
1387
|
output: {
|
|
1206
|
-
|
|
1388
|
+
editable: boolean;
|
|
1389
|
+
profiles: ({
|
|
1390
|
+
exists: boolean;
|
|
1391
|
+
looksValid: boolean;
|
|
1392
|
+
id: string;
|
|
1393
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1394
|
+
label: string;
|
|
1395
|
+
configDir: string;
|
|
1396
|
+
path: string;
|
|
1397
|
+
isDefault: boolean;
|
|
1398
|
+
status: {
|
|
1399
|
+
provider: ProviderId;
|
|
1400
|
+
status: import("../core/provider-auth.ts").ProviderConnectionState;
|
|
1401
|
+
enabled?: boolean;
|
|
1402
|
+
hint?: string;
|
|
1403
|
+
authFailureId?: string;
|
|
1404
|
+
profileId?: string;
|
|
1405
|
+
};
|
|
1406
|
+
files: {
|
|
1407
|
+
id: string;
|
|
1408
|
+
label: string;
|
|
1409
|
+
path: string;
|
|
1410
|
+
exists: boolean;
|
|
1411
|
+
}[];
|
|
1412
|
+
} | {
|
|
1413
|
+
exists: boolean;
|
|
1414
|
+
looksValid: boolean;
|
|
1415
|
+
id: string;
|
|
1416
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1417
|
+
label: string;
|
|
1418
|
+
configDir: string;
|
|
1419
|
+
path: string;
|
|
1420
|
+
isDefault: boolean;
|
|
1421
|
+
files: {
|
|
1422
|
+
id: string;
|
|
1423
|
+
label: string;
|
|
1424
|
+
path: string;
|
|
1425
|
+
exists: boolean;
|
|
1426
|
+
}[];
|
|
1427
|
+
})[];
|
|
1428
|
+
profileCapableProviders: ("claude" | "codex" | "opencode" | "pi")[];
|
|
1429
|
+
selections: {
|
|
1430
|
+
[x: string]: {
|
|
1431
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1432
|
+
claude?: string | undefined;
|
|
1433
|
+
codex?: string | undefined;
|
|
1434
|
+
opencode?: string | undefined;
|
|
1435
|
+
pi?: string | undefined;
|
|
1436
|
+
};
|
|
1437
|
+
};
|
|
1438
|
+
defaults: {
|
|
1439
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1440
|
+
claude?: string | undefined;
|
|
1441
|
+
codex?: string | undefined;
|
|
1442
|
+
opencode?: string | undefined;
|
|
1443
|
+
pi?: string | undefined;
|
|
1444
|
+
};
|
|
1207
1445
|
};
|
|
1208
1446
|
outputFormat: "json";
|
|
1209
1447
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1210
1448
|
input: {};
|
|
1211
1449
|
};
|
|
1212
1450
|
};
|
|
1213
|
-
}
|
|
1214
|
-
"/
|
|
1451
|
+
} & {
|
|
1452
|
+
"/workspace/agent-profiles": {
|
|
1215
1453
|
$post: {
|
|
1216
1454
|
output: {
|
|
1217
1455
|
error: string;
|
|
@@ -1220,116 +1458,698 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1220
1458
|
status: 409;
|
|
1221
1459
|
input: {
|
|
1222
1460
|
json: {
|
|
1223
|
-
|
|
1461
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1462
|
+
label?: string | undefined;
|
|
1463
|
+
configDir: string;
|
|
1224
1464
|
};
|
|
1225
1465
|
};
|
|
1226
1466
|
} | {
|
|
1227
1467
|
output: {
|
|
1228
|
-
|
|
1229
|
-
steps: {
|
|
1230
|
-
id: string;
|
|
1231
|
-
name?: string | undefined;
|
|
1232
|
-
prompt?: string | undefined;
|
|
1233
|
-
skill?: string | undefined;
|
|
1234
|
-
model?: string | undefined;
|
|
1235
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
1236
|
-
allowedTools?: string[] | undefined;
|
|
1237
|
-
bashAllowlist?: string[] | undefined;
|
|
1238
|
-
command?: string | undefined;
|
|
1239
|
-
onFail?: {
|
|
1240
|
-
retry: string;
|
|
1241
|
-
max: number;
|
|
1242
|
-
} | undefined;
|
|
1243
|
-
}[];
|
|
1244
|
-
rationale: string;
|
|
1245
|
-
fallback: boolean;
|
|
1468
|
+
error: string;
|
|
1246
1469
|
};
|
|
1247
1470
|
outputFormat: "json";
|
|
1248
|
-
status:
|
|
1471
|
+
status: 400;
|
|
1249
1472
|
input: {
|
|
1250
1473
|
json: {
|
|
1251
|
-
|
|
1474
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1475
|
+
label?: string | undefined;
|
|
1476
|
+
configDir: string;
|
|
1252
1477
|
};
|
|
1253
1478
|
};
|
|
1254
|
-
}
|
|
1255
|
-
};
|
|
1256
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
1257
|
-
"/open-targets": {
|
|
1258
|
-
$get: {
|
|
1479
|
+
} | {
|
|
1259
1480
|
output: {
|
|
1260
|
-
|
|
1261
|
-
id: string;
|
|
1262
|
-
label: string;
|
|
1263
|
-
icon?: string;
|
|
1264
|
-
}[];
|
|
1481
|
+
error: string;
|
|
1265
1482
|
};
|
|
1266
1483
|
outputFormat: "json";
|
|
1267
|
-
status:
|
|
1268
|
-
input: {
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1484
|
+
status: 500;
|
|
1485
|
+
input: {
|
|
1486
|
+
json: {
|
|
1487
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1488
|
+
label?: string | undefined;
|
|
1489
|
+
configDir: string;
|
|
1490
|
+
};
|
|
1491
|
+
};
|
|
1492
|
+
} | {
|
|
1274
1493
|
output: {
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
ref: string;
|
|
1279
|
-
} | undefined;
|
|
1280
|
-
recentSources?: {
|
|
1281
|
-
source: "skill" | "workflow";
|
|
1282
|
-
ref: string;
|
|
1283
|
-
}[] | undefined;
|
|
1284
|
-
lastWorktree?: boolean | undefined;
|
|
1285
|
-
lastAutonomous?: boolean | undefined;
|
|
1286
|
-
lastGenerateFollowups?: boolean | undefined;
|
|
1287
|
-
skillUsage?: {
|
|
1288
|
-
[x: string]: number;
|
|
1289
|
-
} | undefined;
|
|
1290
|
-
runsView?: "list" | "table" | undefined;
|
|
1291
|
-
githubView?: "issues" | "prs" | undefined;
|
|
1292
|
-
appearance?: {
|
|
1293
|
-
accent?: "lime" | "violet" | undefined;
|
|
1294
|
-
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
1295
|
-
} | undefined;
|
|
1296
|
-
promptTemplates?: {
|
|
1494
|
+
profile: {
|
|
1495
|
+
exists: boolean;
|
|
1496
|
+
looksValid: boolean;
|
|
1297
1497
|
id: string;
|
|
1498
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1298
1499
|
label: string;
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1500
|
+
configDir: string;
|
|
1501
|
+
path: string;
|
|
1502
|
+
isDefault: boolean;
|
|
1503
|
+
status: {
|
|
1504
|
+
provider: ProviderId;
|
|
1505
|
+
status: import("../core/provider-auth.ts").ProviderConnectionState;
|
|
1506
|
+
enabled?: boolean;
|
|
1507
|
+
hint?: string;
|
|
1508
|
+
authFailureId?: string;
|
|
1509
|
+
profileId?: string;
|
|
1510
|
+
};
|
|
1511
|
+
files: {
|
|
1512
|
+
id: string;
|
|
1513
|
+
label: string;
|
|
1514
|
+
path: string;
|
|
1515
|
+
exists: boolean;
|
|
1516
|
+
}[];
|
|
1517
|
+
} | {
|
|
1518
|
+
exists: boolean;
|
|
1519
|
+
looksValid: boolean;
|
|
1520
|
+
id: string;
|
|
1521
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1522
|
+
label: string;
|
|
1523
|
+
configDir: string;
|
|
1524
|
+
path: string;
|
|
1525
|
+
isDefault: boolean;
|
|
1526
|
+
files: {
|
|
1527
|
+
id: string;
|
|
1528
|
+
label: string;
|
|
1529
|
+
path: string;
|
|
1530
|
+
exists: boolean;
|
|
1531
|
+
}[];
|
|
1532
|
+
};
|
|
1303
1533
|
};
|
|
1304
1534
|
outputFormat: "json";
|
|
1305
|
-
status:
|
|
1306
|
-
input: {
|
|
1535
|
+
status: 201;
|
|
1536
|
+
input: {
|
|
1537
|
+
json: {
|
|
1538
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1539
|
+
label?: string | undefined;
|
|
1540
|
+
configDir: string;
|
|
1541
|
+
};
|
|
1542
|
+
};
|
|
1307
1543
|
};
|
|
1308
1544
|
};
|
|
1309
1545
|
} & {
|
|
1310
|
-
"/
|
|
1311
|
-
$
|
|
1546
|
+
"/workspace/agent-profiles/:id": {
|
|
1547
|
+
$patch: {
|
|
1312
1548
|
output: {
|
|
1313
1549
|
error: string;
|
|
1314
1550
|
};
|
|
1315
1551
|
outputFormat: "json";
|
|
1316
|
-
status:
|
|
1552
|
+
status: 400;
|
|
1317
1553
|
input: {
|
|
1554
|
+
param: {
|
|
1555
|
+
id: string;
|
|
1556
|
+
};
|
|
1557
|
+
} & {
|
|
1318
1558
|
json: {
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1559
|
+
label?: string | undefined;
|
|
1560
|
+
configDir?: string | undefined;
|
|
1561
|
+
};
|
|
1562
|
+
};
|
|
1563
|
+
} | {
|
|
1564
|
+
output: {
|
|
1565
|
+
error: string;
|
|
1566
|
+
};
|
|
1567
|
+
outputFormat: "json";
|
|
1568
|
+
status: 409;
|
|
1569
|
+
input: {
|
|
1570
|
+
param: {
|
|
1571
|
+
id: string;
|
|
1572
|
+
};
|
|
1573
|
+
} & {
|
|
1574
|
+
json: {
|
|
1575
|
+
label?: string | undefined;
|
|
1576
|
+
configDir?: string | undefined;
|
|
1577
|
+
};
|
|
1578
|
+
};
|
|
1579
|
+
} | {
|
|
1580
|
+
output: {
|
|
1581
|
+
error: string;
|
|
1582
|
+
};
|
|
1583
|
+
outputFormat: "json";
|
|
1584
|
+
status: 400;
|
|
1585
|
+
input: {
|
|
1586
|
+
param: {
|
|
1587
|
+
id: string;
|
|
1588
|
+
};
|
|
1589
|
+
} & {
|
|
1590
|
+
json: {
|
|
1591
|
+
label?: string | undefined;
|
|
1592
|
+
configDir?: string | undefined;
|
|
1593
|
+
};
|
|
1594
|
+
};
|
|
1595
|
+
} | {
|
|
1596
|
+
output: {
|
|
1597
|
+
error: string;
|
|
1598
|
+
};
|
|
1599
|
+
outputFormat: "json";
|
|
1600
|
+
status: 404;
|
|
1601
|
+
input: {
|
|
1602
|
+
param: {
|
|
1603
|
+
id: string;
|
|
1604
|
+
};
|
|
1605
|
+
} & {
|
|
1606
|
+
json: {
|
|
1607
|
+
label?: string | undefined;
|
|
1608
|
+
configDir?: string | undefined;
|
|
1609
|
+
};
|
|
1610
|
+
};
|
|
1611
|
+
} | {
|
|
1612
|
+
output: {
|
|
1613
|
+
error: string;
|
|
1614
|
+
};
|
|
1615
|
+
outputFormat: "json";
|
|
1616
|
+
status: 500;
|
|
1617
|
+
input: {
|
|
1618
|
+
param: {
|
|
1619
|
+
id: string;
|
|
1620
|
+
};
|
|
1621
|
+
} & {
|
|
1622
|
+
json: {
|
|
1623
|
+
label?: string | undefined;
|
|
1624
|
+
configDir?: string | undefined;
|
|
1625
|
+
};
|
|
1626
|
+
};
|
|
1627
|
+
} | {
|
|
1628
|
+
output: {
|
|
1629
|
+
profile: {
|
|
1630
|
+
exists: boolean;
|
|
1631
|
+
looksValid: boolean;
|
|
1632
|
+
id: string;
|
|
1633
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1634
|
+
label: string;
|
|
1635
|
+
configDir: string;
|
|
1636
|
+
path: string;
|
|
1637
|
+
isDefault: boolean;
|
|
1638
|
+
status: {
|
|
1639
|
+
provider: ProviderId;
|
|
1640
|
+
status: import("../core/provider-auth.ts").ProviderConnectionState;
|
|
1641
|
+
enabled?: boolean;
|
|
1642
|
+
hint?: string;
|
|
1643
|
+
authFailureId?: string;
|
|
1644
|
+
profileId?: string;
|
|
1645
|
+
};
|
|
1646
|
+
files: {
|
|
1647
|
+
id: string;
|
|
1648
|
+
label: string;
|
|
1649
|
+
path: string;
|
|
1650
|
+
exists: boolean;
|
|
1651
|
+
}[];
|
|
1652
|
+
} | {
|
|
1653
|
+
exists: boolean;
|
|
1654
|
+
looksValid: boolean;
|
|
1655
|
+
id: string;
|
|
1656
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1657
|
+
label: string;
|
|
1658
|
+
configDir: string;
|
|
1659
|
+
path: string;
|
|
1660
|
+
isDefault: boolean;
|
|
1661
|
+
files: {
|
|
1662
|
+
id: string;
|
|
1663
|
+
label: string;
|
|
1664
|
+
path: string;
|
|
1665
|
+
exists: boolean;
|
|
1666
|
+
}[];
|
|
1667
|
+
};
|
|
1668
|
+
};
|
|
1669
|
+
outputFormat: "json";
|
|
1670
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1671
|
+
input: {
|
|
1672
|
+
param: {
|
|
1673
|
+
id: string;
|
|
1674
|
+
};
|
|
1675
|
+
} & {
|
|
1676
|
+
json: {
|
|
1677
|
+
label?: string | undefined;
|
|
1678
|
+
configDir?: string | undefined;
|
|
1679
|
+
};
|
|
1680
|
+
};
|
|
1681
|
+
};
|
|
1682
|
+
};
|
|
1683
|
+
} & {
|
|
1684
|
+
"/workspace/agent-profiles/:id/status": {
|
|
1685
|
+
$get: {
|
|
1686
|
+
output: {
|
|
1687
|
+
error: string;
|
|
1688
|
+
};
|
|
1689
|
+
outputFormat: "json";
|
|
1690
|
+
status: 400;
|
|
1691
|
+
input: {
|
|
1692
|
+
param: {
|
|
1693
|
+
id: string;
|
|
1694
|
+
};
|
|
1695
|
+
} & {
|
|
1696
|
+
query: {
|
|
1697
|
+
refresh?: "1" | undefined;
|
|
1698
|
+
};
|
|
1699
|
+
};
|
|
1700
|
+
} | {
|
|
1701
|
+
output: {
|
|
1702
|
+
error: string;
|
|
1703
|
+
};
|
|
1704
|
+
outputFormat: "json";
|
|
1705
|
+
status: 409;
|
|
1706
|
+
input: {
|
|
1707
|
+
param: {
|
|
1708
|
+
id: string;
|
|
1709
|
+
};
|
|
1710
|
+
} & {
|
|
1711
|
+
query: {
|
|
1712
|
+
refresh?: "1" | undefined;
|
|
1713
|
+
};
|
|
1714
|
+
};
|
|
1715
|
+
} | {
|
|
1716
|
+
output: {
|
|
1717
|
+
error: string;
|
|
1718
|
+
};
|
|
1719
|
+
outputFormat: "json";
|
|
1720
|
+
status: 404;
|
|
1721
|
+
input: {
|
|
1722
|
+
param: {
|
|
1723
|
+
id: string;
|
|
1724
|
+
};
|
|
1725
|
+
} & {
|
|
1726
|
+
query: {
|
|
1727
|
+
refresh?: "1" | undefined;
|
|
1728
|
+
};
|
|
1729
|
+
};
|
|
1730
|
+
} | {
|
|
1731
|
+
output: {
|
|
1732
|
+
status: {
|
|
1733
|
+
provider: ProviderId;
|
|
1734
|
+
status: import("../core/provider-auth.ts").ProviderConnectionState;
|
|
1735
|
+
enabled?: boolean;
|
|
1736
|
+
hint?: string;
|
|
1737
|
+
authFailureId?: string;
|
|
1738
|
+
profileId?: string;
|
|
1739
|
+
};
|
|
1740
|
+
};
|
|
1741
|
+
outputFormat: "json";
|
|
1742
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1743
|
+
input: {
|
|
1744
|
+
param: {
|
|
1745
|
+
id: string;
|
|
1746
|
+
};
|
|
1747
|
+
} & {
|
|
1748
|
+
query: {
|
|
1749
|
+
refresh?: "1" | undefined;
|
|
1750
|
+
};
|
|
1751
|
+
};
|
|
1752
|
+
};
|
|
1753
|
+
};
|
|
1754
|
+
} & {
|
|
1755
|
+
"/workspace/agent-profiles/:id/details": {
|
|
1756
|
+
$get: {
|
|
1757
|
+
output: {
|
|
1758
|
+
error: string;
|
|
1759
|
+
};
|
|
1760
|
+
outputFormat: "json";
|
|
1761
|
+
status: 400;
|
|
1762
|
+
input: {
|
|
1763
|
+
param: {
|
|
1764
|
+
id: string;
|
|
1765
|
+
};
|
|
1766
|
+
};
|
|
1767
|
+
} | {
|
|
1768
|
+
output: {
|
|
1769
|
+
error: string;
|
|
1770
|
+
};
|
|
1771
|
+
outputFormat: "json";
|
|
1772
|
+
status: 409;
|
|
1773
|
+
input: {
|
|
1774
|
+
param: {
|
|
1775
|
+
id: string;
|
|
1776
|
+
};
|
|
1777
|
+
};
|
|
1778
|
+
} | {
|
|
1779
|
+
output: {
|
|
1780
|
+
error: string;
|
|
1781
|
+
};
|
|
1782
|
+
outputFormat: "json";
|
|
1783
|
+
status: 404;
|
|
1784
|
+
input: {
|
|
1785
|
+
param: {
|
|
1786
|
+
id: string;
|
|
1787
|
+
};
|
|
1788
|
+
};
|
|
1789
|
+
} | {
|
|
1790
|
+
output: {
|
|
1791
|
+
available: boolean;
|
|
1792
|
+
reason?: string;
|
|
1793
|
+
fields: {
|
|
1794
|
+
label: string;
|
|
1795
|
+
value: string;
|
|
1796
|
+
}[];
|
|
1797
|
+
};
|
|
1798
|
+
outputFormat: "json";
|
|
1799
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1800
|
+
input: {
|
|
1801
|
+
param: {
|
|
1802
|
+
id: string;
|
|
1803
|
+
};
|
|
1804
|
+
};
|
|
1805
|
+
};
|
|
1806
|
+
};
|
|
1807
|
+
} & {
|
|
1808
|
+
"/workspace/agent-profiles/:id/open": {
|
|
1809
|
+
$post: {
|
|
1810
|
+
output: {
|
|
1811
|
+
error: string;
|
|
1812
|
+
};
|
|
1813
|
+
outputFormat: "json";
|
|
1814
|
+
status: 400;
|
|
1815
|
+
input: {
|
|
1816
|
+
param: {
|
|
1817
|
+
id: string;
|
|
1818
|
+
};
|
|
1819
|
+
} & {
|
|
1820
|
+
json: {
|
|
1821
|
+
file: string;
|
|
1822
|
+
target?: string | undefined;
|
|
1823
|
+
};
|
|
1824
|
+
};
|
|
1825
|
+
} | {
|
|
1826
|
+
output: {
|
|
1827
|
+
error: string;
|
|
1828
|
+
};
|
|
1829
|
+
outputFormat: "json";
|
|
1830
|
+
status: 409;
|
|
1831
|
+
input: {
|
|
1832
|
+
param: {
|
|
1833
|
+
id: string;
|
|
1834
|
+
};
|
|
1835
|
+
} & {
|
|
1836
|
+
json: {
|
|
1837
|
+
file: string;
|
|
1838
|
+
target?: string | undefined;
|
|
1839
|
+
};
|
|
1840
|
+
};
|
|
1841
|
+
} | {
|
|
1842
|
+
output: {
|
|
1843
|
+
error: string;
|
|
1844
|
+
};
|
|
1845
|
+
outputFormat: "json";
|
|
1846
|
+
status: 404;
|
|
1847
|
+
input: {
|
|
1848
|
+
param: {
|
|
1849
|
+
id: string;
|
|
1850
|
+
};
|
|
1851
|
+
} & {
|
|
1852
|
+
json: {
|
|
1853
|
+
file: string;
|
|
1854
|
+
target?: string | undefined;
|
|
1855
|
+
};
|
|
1856
|
+
};
|
|
1857
|
+
} | {
|
|
1858
|
+
output: {
|
|
1859
|
+
error: string;
|
|
1860
|
+
};
|
|
1861
|
+
outputFormat: "json";
|
|
1862
|
+
status: 400;
|
|
1863
|
+
input: {
|
|
1864
|
+
param: {
|
|
1865
|
+
id: string;
|
|
1866
|
+
};
|
|
1867
|
+
} & {
|
|
1868
|
+
json: {
|
|
1869
|
+
file: string;
|
|
1870
|
+
target?: string | undefined;
|
|
1871
|
+
};
|
|
1872
|
+
};
|
|
1873
|
+
} | {
|
|
1874
|
+
output: {
|
|
1875
|
+
opened: true;
|
|
1876
|
+
path: string;
|
|
1877
|
+
};
|
|
1878
|
+
outputFormat: "json";
|
|
1879
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1880
|
+
input: {
|
|
1881
|
+
param: {
|
|
1882
|
+
id: string;
|
|
1883
|
+
};
|
|
1884
|
+
} & {
|
|
1885
|
+
json: {
|
|
1886
|
+
file: string;
|
|
1887
|
+
target?: string | undefined;
|
|
1888
|
+
};
|
|
1889
|
+
};
|
|
1890
|
+
};
|
|
1891
|
+
};
|
|
1892
|
+
} & {
|
|
1893
|
+
"/workspace/agent-profiles/selection": {
|
|
1894
|
+
$put: {
|
|
1895
|
+
output: {
|
|
1896
|
+
error: string;
|
|
1897
|
+
};
|
|
1898
|
+
outputFormat: "json";
|
|
1899
|
+
status: 409;
|
|
1900
|
+
input: {
|
|
1901
|
+
json: {
|
|
1902
|
+
projectId: string | null;
|
|
1903
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1904
|
+
profileId: string | null;
|
|
1905
|
+
};
|
|
1906
|
+
};
|
|
1907
|
+
} | {
|
|
1908
|
+
output: {
|
|
1909
|
+
error: string;
|
|
1910
|
+
};
|
|
1911
|
+
outputFormat: "json";
|
|
1912
|
+
status: 404;
|
|
1913
|
+
input: {
|
|
1914
|
+
json: {
|
|
1915
|
+
projectId: string | null;
|
|
1916
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1917
|
+
profileId: string | null;
|
|
1918
|
+
};
|
|
1919
|
+
};
|
|
1920
|
+
} | {
|
|
1921
|
+
output: {
|
|
1922
|
+
error: string;
|
|
1923
|
+
};
|
|
1924
|
+
outputFormat: "json";
|
|
1925
|
+
status: 400;
|
|
1926
|
+
input: {
|
|
1927
|
+
json: {
|
|
1928
|
+
projectId: string | null;
|
|
1929
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1930
|
+
profileId: string | null;
|
|
1931
|
+
};
|
|
1932
|
+
};
|
|
1933
|
+
} | {
|
|
1934
|
+
output: {
|
|
1935
|
+
error: string;
|
|
1936
|
+
};
|
|
1937
|
+
outputFormat: "json";
|
|
1938
|
+
status: 500;
|
|
1939
|
+
input: {
|
|
1940
|
+
json: {
|
|
1941
|
+
projectId: string | null;
|
|
1942
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1943
|
+
profileId: string | null;
|
|
1944
|
+
};
|
|
1945
|
+
};
|
|
1946
|
+
} | {
|
|
1947
|
+
output: {
|
|
1948
|
+
selections: {
|
|
1949
|
+
[x: string]: {
|
|
1950
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1951
|
+
claude?: string | undefined;
|
|
1952
|
+
codex?: string | undefined;
|
|
1953
|
+
opencode?: string | undefined;
|
|
1954
|
+
pi?: string | undefined;
|
|
1955
|
+
};
|
|
1956
|
+
};
|
|
1957
|
+
defaults: {
|
|
1958
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1959
|
+
claude?: string | undefined;
|
|
1960
|
+
codex?: string | undefined;
|
|
1961
|
+
opencode?: string | undefined;
|
|
1962
|
+
pi?: string | undefined;
|
|
1963
|
+
};
|
|
1964
|
+
};
|
|
1965
|
+
outputFormat: "json";
|
|
1966
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1967
|
+
input: {
|
|
1968
|
+
json: {
|
|
1969
|
+
projectId: string | null;
|
|
1970
|
+
provider: "claude" | "codex" | "opencode" | "pi";
|
|
1971
|
+
profileId: string | null;
|
|
1972
|
+
};
|
|
1973
|
+
};
|
|
1974
|
+
};
|
|
1975
|
+
};
|
|
1976
|
+
} & {
|
|
1977
|
+
"/workspace/agent-profiles/:id": {
|
|
1978
|
+
$delete: {
|
|
1979
|
+
output: {
|
|
1980
|
+
error: string;
|
|
1981
|
+
};
|
|
1982
|
+
outputFormat: "json";
|
|
1983
|
+
status: 400;
|
|
1984
|
+
input: {
|
|
1985
|
+
param: {
|
|
1986
|
+
id: string;
|
|
1987
|
+
};
|
|
1988
|
+
};
|
|
1989
|
+
} | {
|
|
1990
|
+
output: {
|
|
1991
|
+
error: string;
|
|
1992
|
+
};
|
|
1993
|
+
outputFormat: "json";
|
|
1994
|
+
status: 409;
|
|
1995
|
+
input: {
|
|
1996
|
+
param: {
|
|
1997
|
+
id: string;
|
|
1998
|
+
};
|
|
1999
|
+
};
|
|
2000
|
+
} | {
|
|
2001
|
+
output: {
|
|
2002
|
+
error: string;
|
|
2003
|
+
};
|
|
2004
|
+
outputFormat: "json";
|
|
2005
|
+
status: 500;
|
|
2006
|
+
input: {
|
|
2007
|
+
param: {
|
|
2008
|
+
id: string;
|
|
2009
|
+
};
|
|
2010
|
+
};
|
|
2011
|
+
} | {
|
|
2012
|
+
output: {
|
|
2013
|
+
error: string;
|
|
2014
|
+
};
|
|
2015
|
+
outputFormat: "json";
|
|
2016
|
+
status: 404;
|
|
2017
|
+
input: {
|
|
2018
|
+
param: {
|
|
2019
|
+
id: string;
|
|
2020
|
+
};
|
|
2021
|
+
};
|
|
2022
|
+
} | {
|
|
2023
|
+
output: {
|
|
2024
|
+
removed: true;
|
|
2025
|
+
id: string;
|
|
2026
|
+
};
|
|
2027
|
+
outputFormat: "json";
|
|
2028
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2029
|
+
input: {
|
|
2030
|
+
param: {
|
|
2031
|
+
id: string;
|
|
2032
|
+
};
|
|
2033
|
+
};
|
|
2034
|
+
};
|
|
2035
|
+
};
|
|
2036
|
+
}, "/">, "/api/v1"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
2037
|
+
"/launch-key": {
|
|
2038
|
+
$get: {
|
|
2039
|
+
output: {
|
|
2040
|
+
key: string;
|
|
2041
|
+
};
|
|
2042
|
+
outputFormat: "json";
|
|
2043
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2044
|
+
input: {};
|
|
2045
|
+
};
|
|
2046
|
+
};
|
|
2047
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
2048
|
+
"/plan": {
|
|
2049
|
+
$post: {
|
|
2050
|
+
output: {
|
|
2051
|
+
error: string;
|
|
2052
|
+
};
|
|
2053
|
+
outputFormat: "json";
|
|
2054
|
+
status: 409;
|
|
2055
|
+
input: {
|
|
2056
|
+
json: {
|
|
2057
|
+
task: string;
|
|
2058
|
+
};
|
|
2059
|
+
};
|
|
2060
|
+
} | {
|
|
2061
|
+
output: {
|
|
2062
|
+
name?: string;
|
|
2063
|
+
steps: {
|
|
2064
|
+
id: string;
|
|
2065
|
+
name?: string | undefined;
|
|
2066
|
+
prompt?: string | undefined;
|
|
2067
|
+
skill?: string | undefined;
|
|
2068
|
+
model?: string | undefined;
|
|
2069
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2070
|
+
allowedTools?: string[] | undefined;
|
|
2071
|
+
bashAllowlist?: string[] | undefined;
|
|
2072
|
+
command?: string | undefined;
|
|
2073
|
+
onFail?: {
|
|
2074
|
+
retry: string;
|
|
2075
|
+
max: number;
|
|
2076
|
+
} | undefined;
|
|
2077
|
+
}[];
|
|
2078
|
+
rationale: string;
|
|
2079
|
+
fallback: boolean;
|
|
2080
|
+
};
|
|
2081
|
+
outputFormat: "json";
|
|
2082
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2083
|
+
input: {
|
|
2084
|
+
json: {
|
|
2085
|
+
task: string;
|
|
2086
|
+
};
|
|
2087
|
+
};
|
|
2088
|
+
};
|
|
2089
|
+
};
|
|
2090
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
2091
|
+
"/ui-state": {
|
|
2092
|
+
$get: {
|
|
2093
|
+
output: {
|
|
2094
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
2095
|
+
lastTask?: {
|
|
2096
|
+
source: "skill" | "workflow";
|
|
2097
|
+
ref: string;
|
|
2098
|
+
} | undefined;
|
|
2099
|
+
recentSources?: {
|
|
2100
|
+
source: "skill" | "workflow";
|
|
2101
|
+
ref: string;
|
|
2102
|
+
}[] | undefined;
|
|
2103
|
+
lastWorktree?: boolean | undefined;
|
|
2104
|
+
lastAutonomous?: boolean | undefined;
|
|
2105
|
+
lastGenerateFollowups?: boolean | undefined;
|
|
2106
|
+
skillUsage?: {
|
|
2107
|
+
[x: string]: number;
|
|
2108
|
+
} | undefined;
|
|
2109
|
+
runsView?: "list" | "table" | undefined;
|
|
2110
|
+
githubView?: "issues" | "prs" | undefined;
|
|
2111
|
+
appearance?: {
|
|
2112
|
+
accent?: "lime" | "violet" | undefined;
|
|
2113
|
+
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
2114
|
+
width?: "narrow" | "wide" | undefined;
|
|
2115
|
+
} | undefined;
|
|
2116
|
+
promptTemplates?: {
|
|
2117
|
+
id: string;
|
|
2118
|
+
label: string;
|
|
2119
|
+
text: string;
|
|
2120
|
+
skills?: string[] | undefined;
|
|
2121
|
+
}[] | undefined;
|
|
2122
|
+
dismissedSkillsBanner?: boolean | undefined;
|
|
2123
|
+
};
|
|
2124
|
+
outputFormat: "json";
|
|
2125
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2126
|
+
input: {};
|
|
2127
|
+
};
|
|
2128
|
+
};
|
|
2129
|
+
} & {
|
|
2130
|
+
"/ui-state": {
|
|
2131
|
+
$put: {
|
|
2132
|
+
output: {
|
|
2133
|
+
error: string;
|
|
2134
|
+
};
|
|
2135
|
+
outputFormat: "json";
|
|
2136
|
+
status: 500;
|
|
2137
|
+
input: {
|
|
2138
|
+
json: {
|
|
2139
|
+
[x: string]: unknown;
|
|
2140
|
+
lastTask?: {
|
|
2141
|
+
source: "skill" | "workflow";
|
|
2142
|
+
ref: string;
|
|
2143
|
+
} | undefined;
|
|
2144
|
+
recentSources?: {
|
|
2145
|
+
source: "skill" | "workflow";
|
|
2146
|
+
ref: string;
|
|
2147
|
+
}[] | undefined;
|
|
2148
|
+
lastWorktree?: boolean | undefined;
|
|
2149
|
+
lastAutonomous?: boolean | undefined;
|
|
2150
|
+
lastGenerateFollowups?: boolean | undefined;
|
|
2151
|
+
skillUsage?: Record<string, number> | undefined;
|
|
2152
|
+
runsView?: "list" | "table" | undefined;
|
|
1333
2153
|
githubView?: "issues" | "prs" | undefined;
|
|
1334
2154
|
appearance?: {
|
|
1335
2155
|
accent?: "lime" | "violet" | undefined;
|
|
@@ -1367,6 +2187,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1367
2187
|
appearance?: {
|
|
1368
2188
|
accent?: "lime" | "violet" | undefined;
|
|
1369
2189
|
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
2190
|
+
width?: "narrow" | "wide" | undefined;
|
|
1370
2191
|
} | undefined;
|
|
1371
2192
|
promptTemplates?: {
|
|
1372
2193
|
id: string;
|
|
@@ -1505,7 +2326,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1505
2326
|
taskImages?: string[] | undefined;
|
|
1506
2327
|
model?: string | undefined;
|
|
1507
2328
|
modelIdentity?: string | undefined;
|
|
1508
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
2329
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2330
|
+
agentProfile?: string | undefined;
|
|
1509
2331
|
systemPrompt?: string | undefined;
|
|
1510
2332
|
generateFollowups?: boolean | undefined;
|
|
1511
2333
|
autonomous?: boolean | undefined;
|
|
@@ -1520,6 +2342,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1520
2342
|
activity?: "monitoring" | undefined;
|
|
1521
2343
|
monitoringWakeAt?: string | undefined;
|
|
1522
2344
|
monitoringWakeCapReached?: boolean | undefined;
|
|
2345
|
+
autoResumeAt?: string | undefined;
|
|
2346
|
+
autoResumeAttempts?: number | undefined;
|
|
1523
2347
|
createdAt: string;
|
|
1524
2348
|
startedAt?: string | undefined;
|
|
1525
2349
|
finishedAt?: string | undefined;
|
|
@@ -1572,7 +2396,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1572
2396
|
finishedAt?: string | undefined;
|
|
1573
2397
|
error?: string | undefined;
|
|
1574
2398
|
sessionId?: string | undefined;
|
|
1575
|
-
backend?: "claude" | "codex" | "opencode" | undefined;
|
|
2399
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2400
|
+
profileId?: string | undefined;
|
|
1576
2401
|
costUsd?: number | undefined;
|
|
1577
2402
|
}[];
|
|
1578
2403
|
workflowDef?: {
|
|
@@ -1584,7 +2409,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1584
2409
|
prompt?: string | undefined;
|
|
1585
2410
|
skill?: string | undefined;
|
|
1586
2411
|
model?: string | undefined;
|
|
1587
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
2412
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
1588
2413
|
allowedTools?: string[] | undefined;
|
|
1589
2414
|
bashAllowlist?: string[] | undefined;
|
|
1590
2415
|
command?: string | undefined;
|
|
@@ -1611,6 +2436,59 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1611
2436
|
};
|
|
1612
2437
|
};
|
|
1613
2438
|
};
|
|
2439
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
2440
|
+
"/open-targets": {
|
|
2441
|
+
$get: {
|
|
2442
|
+
output: {
|
|
2443
|
+
targets: {
|
|
2444
|
+
id: string;
|
|
2445
|
+
label: string;
|
|
2446
|
+
icon?: string;
|
|
2447
|
+
}[];
|
|
2448
|
+
};
|
|
2449
|
+
outputFormat: "json";
|
|
2450
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2451
|
+
input: {};
|
|
2452
|
+
};
|
|
2453
|
+
};
|
|
2454
|
+
} & {
|
|
2455
|
+
"/open-in": {
|
|
2456
|
+
$post: {
|
|
2457
|
+
output: {
|
|
2458
|
+
error: string;
|
|
2459
|
+
};
|
|
2460
|
+
outputFormat: "json";
|
|
2461
|
+
status: 409;
|
|
2462
|
+
input: {
|
|
2463
|
+
json: {
|
|
2464
|
+
target: string;
|
|
2465
|
+
};
|
|
2466
|
+
};
|
|
2467
|
+
} | {
|
|
2468
|
+
output: {
|
|
2469
|
+
error: string;
|
|
2470
|
+
};
|
|
2471
|
+
outputFormat: "json";
|
|
2472
|
+
status: 400;
|
|
2473
|
+
input: {
|
|
2474
|
+
json: {
|
|
2475
|
+
target: string;
|
|
2476
|
+
};
|
|
2477
|
+
};
|
|
2478
|
+
} | {
|
|
2479
|
+
output: {
|
|
2480
|
+
opened: true;
|
|
2481
|
+
path: string;
|
|
2482
|
+
};
|
|
2483
|
+
outputFormat: "json";
|
|
2484
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2485
|
+
input: {
|
|
2486
|
+
json: {
|
|
2487
|
+
target: string;
|
|
2488
|
+
};
|
|
2489
|
+
};
|
|
2490
|
+
};
|
|
2491
|
+
};
|
|
1614
2492
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
1615
2493
|
"/worktrees": {
|
|
1616
2494
|
$get: {
|
|
@@ -1657,6 +2535,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1657
2535
|
param: {
|
|
1658
2536
|
id: string;
|
|
1659
2537
|
};
|
|
2538
|
+
} & {
|
|
2539
|
+
query: {
|
|
2540
|
+
cursor?: string | undefined;
|
|
2541
|
+
afterSeq?: number | undefined;
|
|
2542
|
+
};
|
|
2543
|
+
};
|
|
2544
|
+
} | {
|
|
2545
|
+
output: {
|
|
2546
|
+
error: string;
|
|
2547
|
+
};
|
|
2548
|
+
outputFormat: "json";
|
|
2549
|
+
status: 400;
|
|
2550
|
+
input: {
|
|
2551
|
+
param: {
|
|
2552
|
+
id: string;
|
|
2553
|
+
};
|
|
2554
|
+
} & {
|
|
2555
|
+
query: {
|
|
2556
|
+
cursor?: string | undefined;
|
|
2557
|
+
afterSeq?: number | undefined;
|
|
2558
|
+
};
|
|
1660
2559
|
};
|
|
1661
2560
|
};
|
|
1662
2561
|
};
|
|
@@ -1674,13 +2573,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1674
2573
|
$get: {
|
|
1675
2574
|
output: {
|
|
1676
2575
|
baseBranch: string | null;
|
|
1677
|
-
defaultRunner: "claude" | "codex" | "opencode";
|
|
2576
|
+
defaultRunner: "claude" | "codex" | "opencode" | "pi";
|
|
1678
2577
|
systemPrompt: string | null;
|
|
1679
2578
|
defaultModels: {
|
|
1680
2579
|
claude?: string | undefined;
|
|
1681
2580
|
codex?: string | undefined;
|
|
1682
2581
|
opencode?: string | undefined;
|
|
2582
|
+
pi?: string | undefined;
|
|
1683
2583
|
};
|
|
2584
|
+
modelsLocked: boolean;
|
|
1684
2585
|
maxParallel: number;
|
|
1685
2586
|
memoryLimitMb: number | null;
|
|
1686
2587
|
worktreeRetention: number;
|
|
@@ -1697,13 +2598,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1697
2598
|
$put: {
|
|
1698
2599
|
output: {
|
|
1699
2600
|
baseBranch: string | null;
|
|
1700
|
-
defaultRunner: "claude" | "codex" | "opencode";
|
|
2601
|
+
defaultRunner: "claude" | "codex" | "opencode" | "pi";
|
|
1701
2602
|
systemPrompt: string | null;
|
|
1702
2603
|
defaultModels: {
|
|
1703
2604
|
claude?: string | undefined;
|
|
1704
2605
|
codex?: string | undefined;
|
|
1705
2606
|
opencode?: string | undefined;
|
|
2607
|
+
pi?: string | undefined;
|
|
1706
2608
|
};
|
|
2609
|
+
modelsLocked: boolean;
|
|
1707
2610
|
maxParallel: number;
|
|
1708
2611
|
memoryLimitMb: number | null;
|
|
1709
2612
|
worktreeRetention: number;
|
|
@@ -1715,12 +2618,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1715
2618
|
input: {
|
|
1716
2619
|
json: {
|
|
1717
2620
|
baseBranch?: string | null | undefined;
|
|
1718
|
-
defaultRunner?: "claude" | "codex" | "opencode" | undefined;
|
|
2621
|
+
defaultRunner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2622
|
+
systemPrompt?: string | null | undefined;
|
|
2623
|
+
defaultModels?: {
|
|
2624
|
+
claude?: string | null | undefined;
|
|
2625
|
+
codex?: string | null | undefined;
|
|
2626
|
+
opencode?: string | null | undefined;
|
|
2627
|
+
pi?: string | null | undefined;
|
|
2628
|
+
} | undefined;
|
|
2629
|
+
maxParallel?: number | undefined;
|
|
2630
|
+
memoryLimitMb?: number | null | undefined;
|
|
2631
|
+
worktreeRetention?: number | null | undefined;
|
|
2632
|
+
liveTitleUpdates?: boolean | null | undefined;
|
|
2633
|
+
reviewGate?: boolean | null | undefined;
|
|
2634
|
+
};
|
|
2635
|
+
};
|
|
2636
|
+
} | {
|
|
2637
|
+
output: {
|
|
2638
|
+
error: string;
|
|
2639
|
+
};
|
|
2640
|
+
outputFormat: "json";
|
|
2641
|
+
status: 409;
|
|
2642
|
+
input: {
|
|
2643
|
+
json: {
|
|
2644
|
+
baseBranch?: string | null | undefined;
|
|
2645
|
+
defaultRunner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
1719
2646
|
systemPrompt?: string | null | undefined;
|
|
1720
2647
|
defaultModels?: {
|
|
1721
2648
|
claude?: string | null | undefined;
|
|
1722
2649
|
codex?: string | null | undefined;
|
|
1723
2650
|
opencode?: string | null | undefined;
|
|
2651
|
+
pi?: string | null | undefined;
|
|
1724
2652
|
} | undefined;
|
|
1725
2653
|
maxParallel?: number | undefined;
|
|
1726
2654
|
memoryLimitMb?: number | null | undefined;
|
|
@@ -1738,12 +2666,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1738
2666
|
input: {
|
|
1739
2667
|
json: {
|
|
1740
2668
|
baseBranch?: string | null | undefined;
|
|
1741
|
-
defaultRunner?: "claude" | "codex" | "opencode" | undefined;
|
|
2669
|
+
defaultRunner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
1742
2670
|
systemPrompt?: string | null | undefined;
|
|
1743
2671
|
defaultModels?: {
|
|
1744
2672
|
claude?: string | null | undefined;
|
|
1745
2673
|
codex?: string | null | undefined;
|
|
1746
2674
|
opencode?: string | null | undefined;
|
|
2675
|
+
pi?: string | null | undefined;
|
|
1747
2676
|
} | undefined;
|
|
1748
2677
|
maxParallel?: number | undefined;
|
|
1749
2678
|
memoryLimitMb?: number | null | undefined;
|
|
@@ -1910,7 +2839,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1910
2839
|
status: 409;
|
|
1911
2840
|
input: {
|
|
1912
2841
|
json: {
|
|
1913
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
2842
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
1914
2843
|
model?: string | undefined;
|
|
1915
2844
|
prompt?: string | undefined;
|
|
1916
2845
|
} | undefined;
|
|
@@ -1942,7 +2871,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1942
2871
|
taskImages?: string[] | undefined;
|
|
1943
2872
|
model?: string | undefined;
|
|
1944
2873
|
modelIdentity?: string | undefined;
|
|
1945
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
2874
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2875
|
+
agentProfile?: string | undefined;
|
|
1946
2876
|
systemPrompt?: string | undefined;
|
|
1947
2877
|
generateFollowups?: boolean | undefined;
|
|
1948
2878
|
autonomous?: boolean | undefined;
|
|
@@ -1957,6 +2887,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1957
2887
|
activity?: "monitoring" | undefined;
|
|
1958
2888
|
monitoringWakeAt?: string | undefined;
|
|
1959
2889
|
monitoringWakeCapReached?: boolean | undefined;
|
|
2890
|
+
autoResumeAt?: string | undefined;
|
|
2891
|
+
autoResumeAttempts?: number | undefined;
|
|
1960
2892
|
createdAt: string;
|
|
1961
2893
|
startedAt?: string | undefined;
|
|
1962
2894
|
finishedAt?: string | undefined;
|
|
@@ -2009,7 +2941,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2009
2941
|
finishedAt?: string | undefined;
|
|
2010
2942
|
error?: string | undefined;
|
|
2011
2943
|
sessionId?: string | undefined;
|
|
2012
|
-
backend?: "claude" | "codex" | "opencode" | undefined;
|
|
2944
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2945
|
+
profileId?: string | undefined;
|
|
2013
2946
|
costUsd?: number | undefined;
|
|
2014
2947
|
}[];
|
|
2015
2948
|
workflowDef?: {
|
|
@@ -2021,7 +2954,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2021
2954
|
prompt?: string | undefined;
|
|
2022
2955
|
skill?: string | undefined;
|
|
2023
2956
|
model?: string | undefined;
|
|
2024
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
2957
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2025
2958
|
allowedTools?: string[] | undefined;
|
|
2026
2959
|
bashAllowlist?: string[] | undefined;
|
|
2027
2960
|
command?: string | undefined;
|
|
@@ -2039,7 +2972,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2039
2972
|
status: 201;
|
|
2040
2973
|
input: {
|
|
2041
2974
|
json: {
|
|
2042
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
2975
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2043
2976
|
model?: string | undefined;
|
|
2044
2977
|
prompt?: string | undefined;
|
|
2045
2978
|
} | undefined;
|
|
@@ -2056,7 +2989,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2056
2989
|
status: 409;
|
|
2057
2990
|
input: {
|
|
2058
2991
|
json: {
|
|
2059
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
2992
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2060
2993
|
model?: string | undefined;
|
|
2061
2994
|
prompt?: string | undefined;
|
|
2062
2995
|
} | undefined;
|
|
@@ -2073,7 +3006,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2073
3006
|
status: 404;
|
|
2074
3007
|
input: {
|
|
2075
3008
|
json: {
|
|
2076
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
3009
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2077
3010
|
model?: string | undefined;
|
|
2078
3011
|
prompt?: string | undefined;
|
|
2079
3012
|
} | undefined;
|
|
@@ -2237,7 +3170,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2237
3170
|
prompt?: string | undefined;
|
|
2238
3171
|
skill?: string | undefined;
|
|
2239
3172
|
model?: string | undefined;
|
|
2240
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
3173
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2241
3174
|
allowedTools?: string[] | undefined;
|
|
2242
3175
|
bashAllowlist?: string[] | undefined;
|
|
2243
3176
|
command?: string | undefined;
|
|
@@ -2277,7 +3210,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2277
3210
|
prompt?: string | undefined;
|
|
2278
3211
|
skill?: string | undefined;
|
|
2279
3212
|
model?: string | undefined;
|
|
2280
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
3213
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2281
3214
|
allowedTools?: string[] | undefined;
|
|
2282
3215
|
bashAllowlist?: string[] | undefined;
|
|
2283
3216
|
command?: string | undefined;
|
|
@@ -2307,7 +3240,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2307
3240
|
prompt?: string | undefined;
|
|
2308
3241
|
skill?: string | undefined;
|
|
2309
3242
|
model?: string | undefined;
|
|
2310
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
3243
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2311
3244
|
allowedTools?: string[] | undefined;
|
|
2312
3245
|
bashAllowlist?: string[] | undefined;
|
|
2313
3246
|
command?: string | undefined;
|
|
@@ -2336,7 +3269,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2336
3269
|
prompt?: string | undefined;
|
|
2337
3270
|
skill?: string | undefined;
|
|
2338
3271
|
model?: string | undefined;
|
|
2339
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
3272
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2340
3273
|
allowedTools?: string[] | undefined;
|
|
2341
3274
|
bashAllowlist?: string[] | undefined;
|
|
2342
3275
|
command?: string | undefined;
|
|
@@ -2366,7 +3299,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2366
3299
|
prompt?: string | undefined;
|
|
2367
3300
|
skill?: string | undefined;
|
|
2368
3301
|
model?: string | undefined;
|
|
2369
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
3302
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2370
3303
|
allowedTools?: string[] | undefined;
|
|
2371
3304
|
bashAllowlist?: string[] | undefined;
|
|
2372
3305
|
command?: string | undefined;
|
|
@@ -2453,7 +3386,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2453
3386
|
prompt?: string | undefined;
|
|
2454
3387
|
skill?: string | undefined;
|
|
2455
3388
|
model?: string | undefined;
|
|
2456
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
3389
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2457
3390
|
allowedTools?: string[] | undefined;
|
|
2458
3391
|
bashAllowlist?: string[] | undefined;
|
|
2459
3392
|
command?: string | undefined;
|
|
@@ -2522,6 +3455,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2522
3455
|
} & {
|
|
2523
3456
|
"/repo/commit/:sha": {
|
|
2524
3457
|
$get: {
|
|
3458
|
+
output: string;
|
|
3459
|
+
outputFormat: "text";
|
|
3460
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3461
|
+
input: {
|
|
3462
|
+
query: {
|
|
3463
|
+
structured?: string | undefined;
|
|
3464
|
+
};
|
|
3465
|
+
} & {
|
|
3466
|
+
param: {
|
|
3467
|
+
sha: string;
|
|
3468
|
+
};
|
|
3469
|
+
};
|
|
3470
|
+
} | {
|
|
2525
3471
|
output: {
|
|
2526
3472
|
error: string;
|
|
2527
3473
|
};
|
|
@@ -2584,19 +3530,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2584
3530
|
sha: string;
|
|
2585
3531
|
};
|
|
2586
3532
|
};
|
|
2587
|
-
} | {
|
|
2588
|
-
output: string;
|
|
2589
|
-
outputFormat: "text";
|
|
2590
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2591
|
-
input: {
|
|
2592
|
-
query: {
|
|
2593
|
-
structured?: string | undefined;
|
|
2594
|
-
};
|
|
2595
|
-
} & {
|
|
2596
|
-
param: {
|
|
2597
|
-
sha: string;
|
|
2598
|
-
};
|
|
2599
|
-
};
|
|
2600
3533
|
};
|
|
2601
3534
|
};
|
|
2602
3535
|
} & {
|
|
@@ -2857,6 +3790,57 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2857
3790
|
};
|
|
2858
3791
|
};
|
|
2859
3792
|
};
|
|
3793
|
+
} & {
|
|
3794
|
+
"/github/ref-status": {
|
|
3795
|
+
$get: {
|
|
3796
|
+
output: {
|
|
3797
|
+
error: string;
|
|
3798
|
+
};
|
|
3799
|
+
outputFormat: "json";
|
|
3800
|
+
status: 400;
|
|
3801
|
+
input: {
|
|
3802
|
+
query: {
|
|
3803
|
+
prs?: string | undefined;
|
|
3804
|
+
issues?: string | undefined;
|
|
3805
|
+
};
|
|
3806
|
+
};
|
|
3807
|
+
} | {
|
|
3808
|
+
output: {
|
|
3809
|
+
error: string;
|
|
3810
|
+
};
|
|
3811
|
+
outputFormat: "json";
|
|
3812
|
+
status: 400;
|
|
3813
|
+
input: {
|
|
3814
|
+
query: {
|
|
3815
|
+
prs?: string | undefined;
|
|
3816
|
+
issues?: string | undefined;
|
|
3817
|
+
};
|
|
3818
|
+
};
|
|
3819
|
+
} | {
|
|
3820
|
+
output: {
|
|
3821
|
+
available: true;
|
|
3822
|
+
prs: {
|
|
3823
|
+
[x: number]: import("./github.ts").ReferenceStatus;
|
|
3824
|
+
};
|
|
3825
|
+
issues: {
|
|
3826
|
+
[x: number]: import("./github.ts").ReferenceStatus;
|
|
3827
|
+
};
|
|
3828
|
+
recheckAfterMs: number | null;
|
|
3829
|
+
} | {
|
|
3830
|
+
available: false;
|
|
3831
|
+
reason: string;
|
|
3832
|
+
recheckAfterMs: number | null;
|
|
3833
|
+
};
|
|
3834
|
+
outputFormat: "json";
|
|
3835
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3836
|
+
input: {
|
|
3837
|
+
query: {
|
|
3838
|
+
prs?: string | undefined;
|
|
3839
|
+
issues?: string | undefined;
|
|
3840
|
+
};
|
|
3841
|
+
};
|
|
3842
|
+
};
|
|
3843
|
+
};
|
|
2860
3844
|
} & {
|
|
2861
3845
|
"/github/prs/:number/merge-state": {
|
|
2862
3846
|
$get: {
|
|
@@ -3132,7 +4116,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3132
4116
|
prompt?: string | undefined;
|
|
3133
4117
|
skill?: string | undefined;
|
|
3134
4118
|
model?: string | undefined;
|
|
3135
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
4119
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
3136
4120
|
allowedTools?: string[] | undefined;
|
|
3137
4121
|
bashAllowlist?: string[] | undefined;
|
|
3138
4122
|
command?: string | undefined;
|
|
@@ -3141,7 +4125,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3141
4125
|
max: number;
|
|
3142
4126
|
} | undefined;
|
|
3143
4127
|
}[] | undefined;
|
|
3144
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
4128
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
3145
4129
|
model?: string | undefined;
|
|
3146
4130
|
variants?: 1 | 2 | 3 | undefined;
|
|
3147
4131
|
worktree?: boolean | undefined;
|
|
@@ -3249,7 +4233,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3249
4233
|
prompt?: string | undefined;
|
|
3250
4234
|
skill?: string | undefined;
|
|
3251
4235
|
model?: string | undefined;
|
|
3252
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
4236
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
3253
4237
|
allowedTools?: string[] | undefined;
|
|
3254
4238
|
bashAllowlist?: string[] | undefined;
|
|
3255
4239
|
command?: string | undefined;
|
|
@@ -3258,7 +4242,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3258
4242
|
max?: number | undefined;
|
|
3259
4243
|
} | undefined;
|
|
3260
4244
|
}[] | undefined;
|
|
3261
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
4245
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
3262
4246
|
model?: string | undefined;
|
|
3263
4247
|
variants?: 1 | 2 | 3 | undefined;
|
|
3264
4248
|
worktree?: boolean | undefined;
|
|
@@ -3301,7 +4285,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3301
4285
|
prompt?: string | undefined;
|
|
3302
4286
|
skill?: string | undefined;
|
|
3303
4287
|
model?: string | undefined;
|
|
3304
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
4288
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
3305
4289
|
allowedTools?: string[] | undefined;
|
|
3306
4290
|
bashAllowlist?: string[] | undefined;
|
|
3307
4291
|
command?: string | undefined;
|
|
@@ -3310,7 +4294,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3310
4294
|
max: number;
|
|
3311
4295
|
} | undefined;
|
|
3312
4296
|
}[] | undefined;
|
|
3313
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
4297
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
3314
4298
|
model?: string | undefined;
|
|
3315
4299
|
variants?: 1 | 2 | 3 | undefined;
|
|
3316
4300
|
worktree?: boolean | undefined;
|
|
@@ -3352,7 +4336,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3352
4336
|
prompt?: string | undefined;
|
|
3353
4337
|
skill?: string | undefined;
|
|
3354
4338
|
model?: string | undefined;
|
|
3355
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
4339
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
3356
4340
|
allowedTools?: string[] | undefined;
|
|
3357
4341
|
bashAllowlist?: string[] | undefined;
|
|
3358
4342
|
command?: string | undefined;
|
|
@@ -3361,7 +4345,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3361
4345
|
max?: number | undefined;
|
|
3362
4346
|
} | undefined;
|
|
3363
4347
|
}[] | undefined;
|
|
3364
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
4348
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
3365
4349
|
model?: string | undefined;
|
|
3366
4350
|
variants?: 1 | 2 | 3 | undefined;
|
|
3367
4351
|
worktree?: boolean | undefined;
|
|
@@ -3419,7 +4403,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3419
4403
|
prompt?: string | undefined;
|
|
3420
4404
|
skill?: string | undefined;
|
|
3421
4405
|
model?: string | undefined;
|
|
3422
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
4406
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
3423
4407
|
allowedTools?: string[] | undefined;
|
|
3424
4408
|
bashAllowlist?: string[] | undefined;
|
|
3425
4409
|
command?: string | undefined;
|
|
@@ -3428,7 +4412,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3428
4412
|
max: number;
|
|
3429
4413
|
} | undefined;
|
|
3430
4414
|
}[] | undefined;
|
|
3431
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
4415
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
3432
4416
|
model?: string | undefined;
|
|
3433
4417
|
variants?: 1 | 2 | 3 | undefined;
|
|
3434
4418
|
worktree?: boolean | undefined;
|
|
@@ -3534,7 +4518,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3534
4518
|
prompt?: string | undefined;
|
|
3535
4519
|
skill?: string | undefined;
|
|
3536
4520
|
model?: string | undefined;
|
|
3537
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
4521
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
3538
4522
|
allowedTools?: string[] | undefined;
|
|
3539
4523
|
bashAllowlist?: string[] | undefined;
|
|
3540
4524
|
command?: string | undefined;
|
|
@@ -3543,7 +4527,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3543
4527
|
max?: number | undefined;
|
|
3544
4528
|
} | undefined;
|
|
3545
4529
|
}[] | undefined;
|
|
3546
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
4530
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
3547
4531
|
model?: string | undefined;
|
|
3548
4532
|
variants?: 1 | 2 | 3 | undefined;
|
|
3549
4533
|
worktree?: boolean | undefined;
|
|
@@ -3590,7 +4574,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3590
4574
|
prompt?: string | undefined;
|
|
3591
4575
|
skill?: string | undefined;
|
|
3592
4576
|
model?: string | undefined;
|
|
3593
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
4577
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
3594
4578
|
allowedTools?: string[] | undefined;
|
|
3595
4579
|
bashAllowlist?: string[] | undefined;
|
|
3596
4580
|
command?: string | undefined;
|
|
@@ -3599,7 +4583,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3599
4583
|
max: number;
|
|
3600
4584
|
} | undefined;
|
|
3601
4585
|
}[] | undefined;
|
|
3602
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
4586
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
3603
4587
|
model?: string | undefined;
|
|
3604
4588
|
variants?: 1 | 2 | 3 | undefined;
|
|
3605
4589
|
worktree?: boolean | undefined;
|
|
@@ -3641,7 +4625,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3641
4625
|
prompt?: string | undefined;
|
|
3642
4626
|
skill?: string | undefined;
|
|
3643
4627
|
model?: string | undefined;
|
|
3644
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
4628
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
3645
4629
|
allowedTools?: string[] | undefined;
|
|
3646
4630
|
bashAllowlist?: string[] | undefined;
|
|
3647
4631
|
command?: string | undefined;
|
|
@@ -3650,7 +4634,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3650
4634
|
max?: number | undefined;
|
|
3651
4635
|
} | undefined;
|
|
3652
4636
|
}[] | undefined;
|
|
3653
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
4637
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
3654
4638
|
model?: string | undefined;
|
|
3655
4639
|
variants?: 1 | 2 | 3 | undefined;
|
|
3656
4640
|
worktree?: boolean | undefined;
|
|
@@ -3699,7 +4683,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3699
4683
|
prompt?: string | undefined;
|
|
3700
4684
|
skill?: string | undefined;
|
|
3701
4685
|
model?: string | undefined;
|
|
3702
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
4686
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
3703
4687
|
allowedTools?: string[] | undefined;
|
|
3704
4688
|
bashAllowlist?: string[] | undefined;
|
|
3705
4689
|
command?: string | undefined;
|
|
@@ -3708,7 +4692,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3708
4692
|
max?: number | undefined;
|
|
3709
4693
|
} | undefined;
|
|
3710
4694
|
}[] | undefined;
|
|
3711
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
4695
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
3712
4696
|
model?: string | undefined;
|
|
3713
4697
|
variants?: 1 | 2 | 3 | undefined;
|
|
3714
4698
|
worktree?: boolean | undefined;
|
|
@@ -3794,7 +4778,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3794
4778
|
prompt?: string | undefined;
|
|
3795
4779
|
skill?: string | undefined;
|
|
3796
4780
|
model?: string | undefined;
|
|
3797
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
4781
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
3798
4782
|
allowedTools?: string[] | undefined;
|
|
3799
4783
|
bashAllowlist?: string[] | undefined;
|
|
3800
4784
|
command?: string | undefined;
|
|
@@ -3803,7 +4787,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3803
4787
|
max: number;
|
|
3804
4788
|
} | undefined;
|
|
3805
4789
|
}[] | undefined;
|
|
3806
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
4790
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
3807
4791
|
model?: string | undefined;
|
|
3808
4792
|
variants?: 1 | 2 | 3 | undefined;
|
|
3809
4793
|
worktree?: boolean | undefined;
|
|
@@ -3869,7 +4853,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3869
4853
|
prompt?: string | undefined;
|
|
3870
4854
|
skill?: string | undefined;
|
|
3871
4855
|
model?: string | undefined;
|
|
3872
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
4856
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
3873
4857
|
allowedTools?: string[] | undefined;
|
|
3874
4858
|
bashAllowlist?: string[] | undefined;
|
|
3875
4859
|
command?: string | undefined;
|
|
@@ -3878,7 +4862,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3878
4862
|
max: number;
|
|
3879
4863
|
} | undefined;
|
|
3880
4864
|
}[] | undefined;
|
|
3881
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
4865
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
3882
4866
|
model?: string | undefined;
|
|
3883
4867
|
variants?: 1 | 2 | 3 | undefined;
|
|
3884
4868
|
worktree?: boolean | undefined;
|
|
@@ -4052,7 +5036,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4052
5036
|
taskImages?: string[] | undefined;
|
|
4053
5037
|
model?: string | undefined;
|
|
4054
5038
|
modelIdentity?: string | undefined;
|
|
4055
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
5039
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5040
|
+
agentProfile?: string | undefined;
|
|
4056
5041
|
systemPrompt?: string | undefined;
|
|
4057
5042
|
generateFollowups?: boolean | undefined;
|
|
4058
5043
|
autonomous?: boolean | undefined;
|
|
@@ -4067,6 +5052,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4067
5052
|
activity?: "monitoring" | undefined;
|
|
4068
5053
|
monitoringWakeAt?: string | undefined;
|
|
4069
5054
|
monitoringWakeCapReached?: boolean | undefined;
|
|
5055
|
+
autoResumeAt?: string | undefined;
|
|
5056
|
+
autoResumeAttempts?: number | undefined;
|
|
4070
5057
|
createdAt: string;
|
|
4071
5058
|
startedAt?: string | undefined;
|
|
4072
5059
|
finishedAt?: string | undefined;
|
|
@@ -4119,7 +5106,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4119
5106
|
finishedAt?: string | undefined;
|
|
4120
5107
|
error?: string | undefined;
|
|
4121
5108
|
sessionId?: string | undefined;
|
|
4122
|
-
backend?: "claude" | "codex" | "opencode" | undefined;
|
|
5109
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5110
|
+
profileId?: string | undefined;
|
|
4123
5111
|
costUsd?: number | undefined;
|
|
4124
5112
|
}[];
|
|
4125
5113
|
workflowDef?: {
|
|
@@ -4131,7 +5119,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4131
5119
|
prompt?: string | undefined;
|
|
4132
5120
|
skill?: string | undefined;
|
|
4133
5121
|
model?: string | undefined;
|
|
4134
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
5122
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
4135
5123
|
allowedTools?: string[] | undefined;
|
|
4136
5124
|
bashAllowlist?: string[] | undefined;
|
|
4137
5125
|
command?: string | undefined;
|
|
@@ -4146,34 +5134,208 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4146
5134
|
usage?: ReturnType<typeof currentUsage>;
|
|
4147
5135
|
}[];
|
|
4148
5136
|
outputFormat: "json";
|
|
4149
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4150
|
-
input: {};
|
|
5137
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5138
|
+
input: {};
|
|
5139
|
+
};
|
|
5140
|
+
};
|
|
5141
|
+
} & {
|
|
5142
|
+
"/runs/archive-finished": {
|
|
5143
|
+
$post: {
|
|
5144
|
+
output: {
|
|
5145
|
+
archived: number;
|
|
5146
|
+
};
|
|
5147
|
+
outputFormat: "json";
|
|
5148
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5149
|
+
input: {};
|
|
5150
|
+
};
|
|
5151
|
+
};
|
|
5152
|
+
} & {
|
|
5153
|
+
"/runs/read-all": {
|
|
5154
|
+
$post: {
|
|
5155
|
+
output: {
|
|
5156
|
+
read: number;
|
|
5157
|
+
};
|
|
5158
|
+
outputFormat: "json";
|
|
5159
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5160
|
+
input: {};
|
|
5161
|
+
};
|
|
5162
|
+
};
|
|
5163
|
+
} & {
|
|
5164
|
+
"/runs/:id/archive": {
|
|
5165
|
+
$post: {
|
|
5166
|
+
output: {
|
|
5167
|
+
id: string;
|
|
5168
|
+
title: string;
|
|
5169
|
+
titleSummary?: string | undefined;
|
|
5170
|
+
diffStat?: {
|
|
5171
|
+
adds: number;
|
|
5172
|
+
dels: number;
|
|
5173
|
+
files: number;
|
|
5174
|
+
repointed?: boolean | undefined;
|
|
5175
|
+
} | undefined;
|
|
5176
|
+
workflow: string;
|
|
5177
|
+
task: string;
|
|
5178
|
+
queuedMessages?: {
|
|
5179
|
+
id: string;
|
|
5180
|
+
text: string;
|
|
5181
|
+
images?: string[] | undefined;
|
|
5182
|
+
createdAt: string;
|
|
5183
|
+
}[] | undefined;
|
|
5184
|
+
taskImages?: string[] | undefined;
|
|
5185
|
+
model?: string | undefined;
|
|
5186
|
+
modelIdentity?: string | undefined;
|
|
5187
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5188
|
+
agentProfile?: string | undefined;
|
|
5189
|
+
systemPrompt?: string | undefined;
|
|
5190
|
+
generateFollowups?: boolean | undefined;
|
|
5191
|
+
autonomous?: boolean | undefined;
|
|
5192
|
+
automation?: {
|
|
5193
|
+
automationId: string;
|
|
5194
|
+
automationRevision: number;
|
|
5195
|
+
receiptId: string;
|
|
5196
|
+
event: string;
|
|
5197
|
+
githubUrl: string;
|
|
5198
|
+
} | undefined;
|
|
5199
|
+
status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
5200
|
+
activity?: "monitoring" | undefined;
|
|
5201
|
+
monitoringWakeAt?: string | undefined;
|
|
5202
|
+
monitoringWakeCapReached?: boolean | undefined;
|
|
5203
|
+
autoResumeAt?: string | undefined;
|
|
5204
|
+
autoResumeAttempts?: number | undefined;
|
|
5205
|
+
createdAt: string;
|
|
5206
|
+
startedAt?: string | undefined;
|
|
5207
|
+
finishedAt?: string | undefined;
|
|
5208
|
+
tokensUsed: number;
|
|
5209
|
+
inputTokens?: number | undefined;
|
|
5210
|
+
outputTokens?: number | undefined;
|
|
5211
|
+
costUsd?: number | undefined;
|
|
5212
|
+
pullRequestUrl?: string | undefined;
|
|
5213
|
+
referencedPullRequestUrl?: string | undefined;
|
|
5214
|
+
prNumber?: number | undefined;
|
|
5215
|
+
issueNumber?: number | undefined;
|
|
5216
|
+
referencedIssueNumberSeeded?: boolean | undefined;
|
|
5217
|
+
titleOrigin?: "auto" | "marker" | "user" | undefined;
|
|
5218
|
+
markerRefs?: {
|
|
5219
|
+
pr?: number | undefined;
|
|
5220
|
+
issue?: number | undefined;
|
|
5221
|
+
} | undefined;
|
|
5222
|
+
referencedPrCandidates?: string[] | undefined;
|
|
5223
|
+
referencedIssueUrl?: string | undefined;
|
|
5224
|
+
referencedIssueCandidates?: string[] | undefined;
|
|
5225
|
+
worktree?: false | undefined;
|
|
5226
|
+
worktreePath?: string | undefined;
|
|
5227
|
+
branch?: string | undefined;
|
|
5228
|
+
baseBranch?: string | undefined;
|
|
5229
|
+
worktreeReclaimedAt?: string | undefined;
|
|
5230
|
+
groupId?: string | undefined;
|
|
5231
|
+
variant?: string | undefined;
|
|
5232
|
+
peakRssBytes?: number | undefined;
|
|
5233
|
+
peakProcCount?: number | undefined;
|
|
5234
|
+
archived: boolean;
|
|
5235
|
+
archivedAt?: string | undefined;
|
|
5236
|
+
seenAt?: string | undefined;
|
|
5237
|
+
currentStepId?: string | undefined;
|
|
5238
|
+
error?: string | undefined;
|
|
5239
|
+
steps: {
|
|
5240
|
+
id: string;
|
|
5241
|
+
name: string;
|
|
5242
|
+
kind: "agent" | "check";
|
|
5243
|
+
status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
|
|
5244
|
+
iterations: number;
|
|
5245
|
+
tokensUsed: number;
|
|
5246
|
+
inputTokens?: number | undefined;
|
|
5247
|
+
outputTokens?: number | undefined;
|
|
5248
|
+
usageInvocationsStarted?: number | undefined;
|
|
5249
|
+
usageInvocationsObserved?: number | undefined;
|
|
5250
|
+
usageTurnsStarted?: number | undefined;
|
|
5251
|
+
usageTurnsRecorded?: number | undefined;
|
|
5252
|
+
usageInvocationEpoch?: number | undefined;
|
|
5253
|
+
startedAt?: string | undefined;
|
|
5254
|
+
finishedAt?: string | undefined;
|
|
5255
|
+
error?: string | undefined;
|
|
5256
|
+
sessionId?: string | undefined;
|
|
5257
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5258
|
+
profileId?: string | undefined;
|
|
5259
|
+
costUsd?: number | undefined;
|
|
5260
|
+
}[];
|
|
5261
|
+
workflowDef?: {
|
|
5262
|
+
name: string;
|
|
5263
|
+
description?: string | undefined;
|
|
5264
|
+
steps: {
|
|
5265
|
+
id: string;
|
|
5266
|
+
name?: string | undefined;
|
|
5267
|
+
prompt?: string | undefined;
|
|
5268
|
+
skill?: string | undefined;
|
|
5269
|
+
model?: string | undefined;
|
|
5270
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5271
|
+
allowedTools?: string[] | undefined;
|
|
5272
|
+
bashAllowlist?: string[] | undefined;
|
|
5273
|
+
command?: string | undefined;
|
|
5274
|
+
onFail?: {
|
|
5275
|
+
retry: string;
|
|
5276
|
+
max: number;
|
|
5277
|
+
} | undefined;
|
|
5278
|
+
}[];
|
|
5279
|
+
source: "built-in" | "file";
|
|
5280
|
+
path?: string | undefined;
|
|
5281
|
+
} | undefined;
|
|
5282
|
+
};
|
|
5283
|
+
outputFormat: "json";
|
|
5284
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5285
|
+
input: {
|
|
5286
|
+
json: {
|
|
5287
|
+
archived?: boolean | undefined;
|
|
5288
|
+
};
|
|
5289
|
+
} & {
|
|
5290
|
+
param: {
|
|
5291
|
+
id: string;
|
|
5292
|
+
};
|
|
5293
|
+
};
|
|
5294
|
+
} | {
|
|
5295
|
+
output: {
|
|
5296
|
+
error: string;
|
|
5297
|
+
};
|
|
5298
|
+
outputFormat: "json";
|
|
5299
|
+
status: 404;
|
|
5300
|
+
input: {
|
|
5301
|
+
json: {
|
|
5302
|
+
archived?: boolean | undefined;
|
|
5303
|
+
};
|
|
5304
|
+
} & {
|
|
5305
|
+
param: {
|
|
5306
|
+
id: string;
|
|
5307
|
+
};
|
|
5308
|
+
};
|
|
4151
5309
|
};
|
|
4152
5310
|
};
|
|
4153
5311
|
} & {
|
|
4154
|
-
"/runs/
|
|
4155
|
-
$
|
|
5312
|
+
"/runs/:id/auto-resume": {
|
|
5313
|
+
$delete: {
|
|
4156
5314
|
output: {
|
|
4157
|
-
|
|
5315
|
+
error: string;
|
|
4158
5316
|
};
|
|
4159
5317
|
outputFormat: "json";
|
|
4160
|
-
status:
|
|
4161
|
-
input: {
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
}
|
|
4165
|
-
|
|
4166
|
-
|
|
5318
|
+
status: 404;
|
|
5319
|
+
input: {
|
|
5320
|
+
param: {
|
|
5321
|
+
id: string;
|
|
5322
|
+
};
|
|
5323
|
+
};
|
|
5324
|
+
} | {
|
|
4167
5325
|
output: {
|
|
4168
|
-
|
|
5326
|
+
cancelled: true;
|
|
4169
5327
|
};
|
|
4170
5328
|
outputFormat: "json";
|
|
4171
5329
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4172
|
-
input: {
|
|
5330
|
+
input: {
|
|
5331
|
+
param: {
|
|
5332
|
+
id: string;
|
|
5333
|
+
};
|
|
5334
|
+
};
|
|
4173
5335
|
};
|
|
4174
5336
|
};
|
|
4175
5337
|
} & {
|
|
4176
|
-
"/runs/:id/
|
|
5338
|
+
"/runs/:id/read": {
|
|
4177
5339
|
$post: {
|
|
4178
5340
|
output: {
|
|
4179
5341
|
id: string;
|
|
@@ -4196,7 +5358,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4196
5358
|
taskImages?: string[] | undefined;
|
|
4197
5359
|
model?: string | undefined;
|
|
4198
5360
|
modelIdentity?: string | undefined;
|
|
4199
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
5361
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5362
|
+
agentProfile?: string | undefined;
|
|
4200
5363
|
systemPrompt?: string | undefined;
|
|
4201
5364
|
generateFollowups?: boolean | undefined;
|
|
4202
5365
|
autonomous?: boolean | undefined;
|
|
@@ -4211,6 +5374,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4211
5374
|
activity?: "monitoring" | undefined;
|
|
4212
5375
|
monitoringWakeAt?: string | undefined;
|
|
4213
5376
|
monitoringWakeCapReached?: boolean | undefined;
|
|
5377
|
+
autoResumeAt?: string | undefined;
|
|
5378
|
+
autoResumeAttempts?: number | undefined;
|
|
4214
5379
|
createdAt: string;
|
|
4215
5380
|
startedAt?: string | undefined;
|
|
4216
5381
|
finishedAt?: string | undefined;
|
|
@@ -4263,7 +5428,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4263
5428
|
finishedAt?: string | undefined;
|
|
4264
5429
|
error?: string | undefined;
|
|
4265
5430
|
sessionId?: string | undefined;
|
|
4266
|
-
backend?: "claude" | "codex" | "opencode" | undefined;
|
|
5431
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5432
|
+
profileId?: string | undefined;
|
|
4267
5433
|
costUsd?: number | undefined;
|
|
4268
5434
|
}[];
|
|
4269
5435
|
workflowDef?: {
|
|
@@ -4275,7 +5441,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4275
5441
|
prompt?: string | undefined;
|
|
4276
5442
|
skill?: string | undefined;
|
|
4277
5443
|
model?: string | undefined;
|
|
4278
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
5444
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
4279
5445
|
allowedTools?: string[] | undefined;
|
|
4280
5446
|
bashAllowlist?: string[] | undefined;
|
|
4281
5447
|
command?: string | undefined;
|
|
@@ -4291,10 +5457,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4291
5457
|
outputFormat: "json";
|
|
4292
5458
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4293
5459
|
input: {
|
|
4294
|
-
json: {
|
|
4295
|
-
archived?: boolean | undefined;
|
|
4296
|
-
};
|
|
4297
|
-
} & {
|
|
4298
5460
|
param: {
|
|
4299
5461
|
id: string;
|
|
4300
5462
|
};
|
|
@@ -4306,10 +5468,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4306
5468
|
outputFormat: "json";
|
|
4307
5469
|
status: 404;
|
|
4308
5470
|
input: {
|
|
4309
|
-
json: {
|
|
4310
|
-
archived?: boolean | undefined;
|
|
4311
|
-
};
|
|
4312
|
-
} & {
|
|
4313
5471
|
param: {
|
|
4314
5472
|
id: string;
|
|
4315
5473
|
};
|
|
@@ -4317,7 +5475,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4317
5475
|
};
|
|
4318
5476
|
};
|
|
4319
5477
|
} & {
|
|
4320
|
-
"/runs/:id/
|
|
5478
|
+
"/runs/:id/unread": {
|
|
4321
5479
|
$post: {
|
|
4322
5480
|
output: {
|
|
4323
5481
|
id: string;
|
|
@@ -4340,7 +5498,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4340
5498
|
taskImages?: string[] | undefined;
|
|
4341
5499
|
model?: string | undefined;
|
|
4342
5500
|
modelIdentity?: string | undefined;
|
|
4343
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
5501
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5502
|
+
agentProfile?: string | undefined;
|
|
4344
5503
|
systemPrompt?: string | undefined;
|
|
4345
5504
|
generateFollowups?: boolean | undefined;
|
|
4346
5505
|
autonomous?: boolean | undefined;
|
|
@@ -4355,6 +5514,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4355
5514
|
activity?: "monitoring" | undefined;
|
|
4356
5515
|
monitoringWakeAt?: string | undefined;
|
|
4357
5516
|
monitoringWakeCapReached?: boolean | undefined;
|
|
5517
|
+
autoResumeAt?: string | undefined;
|
|
5518
|
+
autoResumeAttempts?: number | undefined;
|
|
4358
5519
|
createdAt: string;
|
|
4359
5520
|
startedAt?: string | undefined;
|
|
4360
5521
|
finishedAt?: string | undefined;
|
|
@@ -4407,7 +5568,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4407
5568
|
finishedAt?: string | undefined;
|
|
4408
5569
|
error?: string | undefined;
|
|
4409
5570
|
sessionId?: string | undefined;
|
|
4410
|
-
backend?: "claude" | "codex" | "opencode" | undefined;
|
|
5571
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5572
|
+
profileId?: string | undefined;
|
|
4411
5573
|
costUsd?: number | undefined;
|
|
4412
5574
|
}[];
|
|
4413
5575
|
workflowDef?: {
|
|
@@ -4419,7 +5581,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4419
5581
|
prompt?: string | undefined;
|
|
4420
5582
|
skill?: string | undefined;
|
|
4421
5583
|
model?: string | undefined;
|
|
4422
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
5584
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
4423
5585
|
allowedTools?: string[] | undefined;
|
|
4424
5586
|
bashAllowlist?: string[] | undefined;
|
|
4425
5587
|
command?: string | undefined;
|
|
@@ -4476,7 +5638,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4476
5638
|
taskImages?: string[] | undefined;
|
|
4477
5639
|
model?: string | undefined;
|
|
4478
5640
|
modelIdentity?: string | undefined;
|
|
4479
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
5641
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5642
|
+
agentProfile?: string | undefined;
|
|
4480
5643
|
systemPrompt?: string | undefined;
|
|
4481
5644
|
generateFollowups?: boolean | undefined;
|
|
4482
5645
|
autonomous?: boolean | undefined;
|
|
@@ -4491,6 +5654,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4491
5654
|
activity?: "monitoring" | undefined;
|
|
4492
5655
|
monitoringWakeAt?: string | undefined;
|
|
4493
5656
|
monitoringWakeCapReached?: boolean | undefined;
|
|
5657
|
+
autoResumeAt?: string | undefined;
|
|
5658
|
+
autoResumeAttempts?: number | undefined;
|
|
4494
5659
|
createdAt: string;
|
|
4495
5660
|
startedAt?: string | undefined;
|
|
4496
5661
|
finishedAt?: string | undefined;
|
|
@@ -4543,7 +5708,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4543
5708
|
finishedAt?: string | undefined;
|
|
4544
5709
|
error?: string | undefined;
|
|
4545
5710
|
sessionId?: string | undefined;
|
|
4546
|
-
backend?: "claude" | "codex" | "opencode" | undefined;
|
|
5711
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5712
|
+
profileId?: string | undefined;
|
|
4547
5713
|
costUsd?: number | undefined;
|
|
4548
5714
|
}[];
|
|
4549
5715
|
workflowDef?: {
|
|
@@ -4555,7 +5721,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4555
5721
|
prompt?: string | undefined;
|
|
4556
5722
|
skill?: string | undefined;
|
|
4557
5723
|
model?: string | undefined;
|
|
4558
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
5724
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
4559
5725
|
allowedTools?: string[] | undefined;
|
|
4560
5726
|
bashAllowlist?: string[] | undefined;
|
|
4561
5727
|
command?: string | undefined;
|
|
@@ -4579,7 +5745,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4579
5745
|
prompt?: string | undefined;
|
|
4580
5746
|
skill?: string | undefined;
|
|
4581
5747
|
model?: string | undefined;
|
|
4582
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
5748
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
4583
5749
|
allowedTools?: string[] | undefined;
|
|
4584
5750
|
bashAllowlist?: string[] | undefined;
|
|
4585
5751
|
command?: string | undefined;
|
|
@@ -4590,7 +5756,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4590
5756
|
}[] | undefined;
|
|
4591
5757
|
task: string;
|
|
4592
5758
|
model?: string | undefined;
|
|
4593
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
5759
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5760
|
+
agentProfile?: string | undefined;
|
|
4594
5761
|
variants?: number | undefined;
|
|
4595
5762
|
worktree?: boolean | undefined;
|
|
4596
5763
|
autonomous?: boolean | undefined;
|
|
@@ -4608,7 +5775,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4608
5775
|
error: string;
|
|
4609
5776
|
};
|
|
4610
5777
|
outputFormat: "json";
|
|
4611
|
-
status:
|
|
5778
|
+
status: 409;
|
|
4612
5779
|
input: {
|
|
4613
5780
|
json: {
|
|
4614
5781
|
workflow?: string | undefined;
|
|
@@ -4618,7 +5785,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4618
5785
|
prompt?: string | undefined;
|
|
4619
5786
|
skill?: string | undefined;
|
|
4620
5787
|
model?: string | undefined;
|
|
4621
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
5788
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
4622
5789
|
allowedTools?: string[] | undefined;
|
|
4623
5790
|
bashAllowlist?: string[] | undefined;
|
|
4624
5791
|
command?: string | undefined;
|
|
@@ -4629,7 +5796,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4629
5796
|
}[] | undefined;
|
|
4630
5797
|
task: string;
|
|
4631
5798
|
model?: string | undefined;
|
|
4632
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
5799
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5800
|
+
agentProfile?: string | undefined;
|
|
4633
5801
|
variants?: number | undefined;
|
|
4634
5802
|
worktree?: boolean | undefined;
|
|
4635
5803
|
autonomous?: boolean | undefined;
|
|
@@ -4647,7 +5815,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4647
5815
|
error: string;
|
|
4648
5816
|
};
|
|
4649
5817
|
outputFormat: "json";
|
|
4650
|
-
status:
|
|
5818
|
+
status: 400;
|
|
4651
5819
|
input: {
|
|
4652
5820
|
json: {
|
|
4653
5821
|
workflow?: string | undefined;
|
|
@@ -4657,7 +5825,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4657
5825
|
prompt?: string | undefined;
|
|
4658
5826
|
skill?: string | undefined;
|
|
4659
5827
|
model?: string | undefined;
|
|
4660
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
5828
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
4661
5829
|
allowedTools?: string[] | undefined;
|
|
4662
5830
|
bashAllowlist?: string[] | undefined;
|
|
4663
5831
|
command?: string | undefined;
|
|
@@ -4668,7 +5836,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4668
5836
|
}[] | undefined;
|
|
4669
5837
|
task: string;
|
|
4670
5838
|
model?: string | undefined;
|
|
4671
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
5839
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5840
|
+
agentProfile?: string | undefined;
|
|
4672
5841
|
variants?: number | undefined;
|
|
4673
5842
|
worktree?: boolean | undefined;
|
|
4674
5843
|
autonomous?: boolean | undefined;
|
|
@@ -4686,7 +5855,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4686
5855
|
error: string;
|
|
4687
5856
|
};
|
|
4688
5857
|
outputFormat: "json";
|
|
4689
|
-
status:
|
|
5858
|
+
status: 404;
|
|
4690
5859
|
input: {
|
|
4691
5860
|
json: {
|
|
4692
5861
|
workflow?: string | undefined;
|
|
@@ -4696,7 +5865,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4696
5865
|
prompt?: string | undefined;
|
|
4697
5866
|
skill?: string | undefined;
|
|
4698
5867
|
model?: string | undefined;
|
|
4699
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
5868
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
4700
5869
|
allowedTools?: string[] | undefined;
|
|
4701
5870
|
bashAllowlist?: string[] | undefined;
|
|
4702
5871
|
command?: string | undefined;
|
|
@@ -4707,7 +5876,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4707
5876
|
}[] | undefined;
|
|
4708
5877
|
task: string;
|
|
4709
5878
|
model?: string | undefined;
|
|
4710
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
5879
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5880
|
+
agentProfile?: string | undefined;
|
|
4711
5881
|
variants?: number | undefined;
|
|
4712
5882
|
worktree?: boolean | undefined;
|
|
4713
5883
|
autonomous?: boolean | undefined;
|
|
@@ -4743,7 +5913,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4743
5913
|
taskImages?: string[] | undefined;
|
|
4744
5914
|
model?: string | undefined;
|
|
4745
5915
|
modelIdentity?: string | undefined;
|
|
4746
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
5916
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5917
|
+
agentProfile?: string | undefined;
|
|
4747
5918
|
systemPrompt?: string | undefined;
|
|
4748
5919
|
generateFollowups?: boolean | undefined;
|
|
4749
5920
|
autonomous?: boolean | undefined;
|
|
@@ -4758,6 +5929,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4758
5929
|
activity?: "monitoring" | undefined;
|
|
4759
5930
|
monitoringWakeAt?: string | undefined;
|
|
4760
5931
|
monitoringWakeCapReached?: boolean | undefined;
|
|
5932
|
+
autoResumeAt?: string | undefined;
|
|
5933
|
+
autoResumeAttempts?: number | undefined;
|
|
4761
5934
|
createdAt: string;
|
|
4762
5935
|
startedAt?: string | undefined;
|
|
4763
5936
|
finishedAt?: string | undefined;
|
|
@@ -4810,7 +5983,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4810
5983
|
finishedAt?: string | undefined;
|
|
4811
5984
|
error?: string | undefined;
|
|
4812
5985
|
sessionId?: string | undefined;
|
|
4813
|
-
backend?: "claude" | "codex" | "opencode" | undefined;
|
|
5986
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5987
|
+
profileId?: string | undefined;
|
|
4814
5988
|
costUsd?: number | undefined;
|
|
4815
5989
|
}[];
|
|
4816
5990
|
workflowDef?: {
|
|
@@ -4822,7 +5996,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4822
5996
|
prompt?: string | undefined;
|
|
4823
5997
|
skill?: string | undefined;
|
|
4824
5998
|
model?: string | undefined;
|
|
4825
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
5999
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
4826
6000
|
allowedTools?: string[] | undefined;
|
|
4827
6001
|
bashAllowlist?: string[] | undefined;
|
|
4828
6002
|
command?: string | undefined;
|
|
@@ -4847,7 +6021,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4847
6021
|
prompt?: string | undefined;
|
|
4848
6022
|
skill?: string | undefined;
|
|
4849
6023
|
model?: string | undefined;
|
|
4850
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
6024
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
4851
6025
|
allowedTools?: string[] | undefined;
|
|
4852
6026
|
bashAllowlist?: string[] | undefined;
|
|
4853
6027
|
command?: string | undefined;
|
|
@@ -4858,7 +6032,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4858
6032
|
}[] | undefined;
|
|
4859
6033
|
task: string;
|
|
4860
6034
|
model?: string | undefined;
|
|
4861
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
6035
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
6036
|
+
agentProfile?: string | undefined;
|
|
4862
6037
|
variants?: number | undefined;
|
|
4863
6038
|
worktree?: boolean | undefined;
|
|
4864
6039
|
autonomous?: boolean | undefined;
|
|
@@ -4897,7 +6072,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4897
6072
|
taskImages?: string[] | undefined;
|
|
4898
6073
|
model?: string | undefined;
|
|
4899
6074
|
modelIdentity?: string | undefined;
|
|
4900
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
6075
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
6076
|
+
agentProfile?: string | undefined;
|
|
4901
6077
|
systemPrompt?: string | undefined;
|
|
4902
6078
|
generateFollowups?: boolean | undefined;
|
|
4903
6079
|
autonomous?: boolean | undefined;
|
|
@@ -4912,6 +6088,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4912
6088
|
activity?: "monitoring" | undefined;
|
|
4913
6089
|
monitoringWakeAt?: string | undefined;
|
|
4914
6090
|
monitoringWakeCapReached?: boolean | undefined;
|
|
6091
|
+
autoResumeAt?: string | undefined;
|
|
6092
|
+
autoResumeAttempts?: number | undefined;
|
|
4915
6093
|
createdAt: string;
|
|
4916
6094
|
startedAt?: string | undefined;
|
|
4917
6095
|
finishedAt?: string | undefined;
|
|
@@ -4964,7 +6142,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4964
6142
|
finishedAt?: string | undefined;
|
|
4965
6143
|
error?: string | undefined;
|
|
4966
6144
|
sessionId?: string | undefined;
|
|
4967
|
-
backend?: "claude" | "codex" | "opencode" | undefined;
|
|
6145
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
6146
|
+
profileId?: string | undefined;
|
|
4968
6147
|
costUsd?: number | undefined;
|
|
4969
6148
|
}[];
|
|
4970
6149
|
workflowDef?: {
|
|
@@ -4976,7 +6155,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4976
6155
|
prompt?: string | undefined;
|
|
4977
6156
|
skill?: string | undefined;
|
|
4978
6157
|
model?: string | undefined;
|
|
4979
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
6158
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
4980
6159
|
allowedTools?: string[] | undefined;
|
|
4981
6160
|
bashAllowlist?: string[] | undefined;
|
|
4982
6161
|
command?: string | undefined;
|
|
@@ -5010,6 +6189,126 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5010
6189
|
};
|
|
5011
6190
|
};
|
|
5012
6191
|
};
|
|
6192
|
+
} & {
|
|
6193
|
+
"/runs/:id/history": {
|
|
6194
|
+
$get: {
|
|
6195
|
+
output: {
|
|
6196
|
+
error: string;
|
|
6197
|
+
};
|
|
6198
|
+
outputFormat: "json";
|
|
6199
|
+
status: 400;
|
|
6200
|
+
input: {
|
|
6201
|
+
param: {
|
|
6202
|
+
id: string;
|
|
6203
|
+
};
|
|
6204
|
+
} & {
|
|
6205
|
+
query: {
|
|
6206
|
+
cursor?: string | undefined;
|
|
6207
|
+
};
|
|
6208
|
+
};
|
|
6209
|
+
} | {
|
|
6210
|
+
output: {
|
|
6211
|
+
error: string;
|
|
6212
|
+
};
|
|
6213
|
+
outputFormat: "json";
|
|
6214
|
+
status: 404;
|
|
6215
|
+
input: {
|
|
6216
|
+
param: {
|
|
6217
|
+
id: string;
|
|
6218
|
+
};
|
|
6219
|
+
} & {
|
|
6220
|
+
query: {
|
|
6221
|
+
cursor?: string | undefined;
|
|
6222
|
+
};
|
|
6223
|
+
};
|
|
6224
|
+
} | {
|
|
6225
|
+
output: {
|
|
6226
|
+
events: {
|
|
6227
|
+
[x: string]: any;
|
|
6228
|
+
seq: number;
|
|
6229
|
+
ts: string;
|
|
6230
|
+
stepId?: string | undefined;
|
|
6231
|
+
type: string;
|
|
6232
|
+
}[];
|
|
6233
|
+
itemCount: number;
|
|
6234
|
+
olderCursor?: string | undefined;
|
|
6235
|
+
newerCursor?: string | undefined;
|
|
6236
|
+
liveCursor: string;
|
|
6237
|
+
asOfSeq: number;
|
|
6238
|
+
hasOlder: boolean;
|
|
6239
|
+
};
|
|
6240
|
+
outputFormat: "json";
|
|
6241
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
6242
|
+
input: {
|
|
6243
|
+
param: {
|
|
6244
|
+
id: string;
|
|
6245
|
+
};
|
|
6246
|
+
} & {
|
|
6247
|
+
query: {
|
|
6248
|
+
cursor?: string | undefined;
|
|
6249
|
+
};
|
|
6250
|
+
};
|
|
6251
|
+
} | {
|
|
6252
|
+
output: {
|
|
6253
|
+
error: string;
|
|
6254
|
+
};
|
|
6255
|
+
outputFormat: "json";
|
|
6256
|
+
status: 400 | 409;
|
|
6257
|
+
input: {
|
|
6258
|
+
param: {
|
|
6259
|
+
id: string;
|
|
6260
|
+
};
|
|
6261
|
+
} & {
|
|
6262
|
+
query: {
|
|
6263
|
+
cursor?: string | undefined;
|
|
6264
|
+
};
|
|
6265
|
+
};
|
|
6266
|
+
};
|
|
6267
|
+
};
|
|
6268
|
+
} & {
|
|
6269
|
+
"/runs/:id/history-context": {
|
|
6270
|
+
$get: {
|
|
6271
|
+
output: {
|
|
6272
|
+
error: string;
|
|
6273
|
+
};
|
|
6274
|
+
outputFormat: "json";
|
|
6275
|
+
status: 400;
|
|
6276
|
+
input: {
|
|
6277
|
+
param: {
|
|
6278
|
+
id: string;
|
|
6279
|
+
};
|
|
6280
|
+
};
|
|
6281
|
+
} | {
|
|
6282
|
+
output: {
|
|
6283
|
+
error: string;
|
|
6284
|
+
};
|
|
6285
|
+
outputFormat: "json";
|
|
6286
|
+
status: 404;
|
|
6287
|
+
input: {
|
|
6288
|
+
param: {
|
|
6289
|
+
id: string;
|
|
6290
|
+
};
|
|
6291
|
+
};
|
|
6292
|
+
} | {
|
|
6293
|
+
output: {
|
|
6294
|
+
contextEvents: {
|
|
6295
|
+
[x: string]: any;
|
|
6296
|
+
seq: number;
|
|
6297
|
+
ts: string;
|
|
6298
|
+
stepId?: string | undefined;
|
|
6299
|
+
type: string;
|
|
6300
|
+
}[];
|
|
6301
|
+
asOfSeq: number;
|
|
6302
|
+
};
|
|
6303
|
+
outputFormat: "json";
|
|
6304
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
6305
|
+
input: {
|
|
6306
|
+
param: {
|
|
6307
|
+
id: string;
|
|
6308
|
+
};
|
|
6309
|
+
};
|
|
6310
|
+
};
|
|
6311
|
+
};
|
|
5013
6312
|
} & {
|
|
5014
6313
|
"/runs/:id": {
|
|
5015
6314
|
$patch: {
|
|
@@ -5034,7 +6333,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5034
6333
|
taskImages?: string[] | undefined;
|
|
5035
6334
|
model?: string | undefined;
|
|
5036
6335
|
modelIdentity?: string | undefined;
|
|
5037
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
6336
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
6337
|
+
agentProfile?: string | undefined;
|
|
5038
6338
|
systemPrompt?: string | undefined;
|
|
5039
6339
|
generateFollowups?: boolean | undefined;
|
|
5040
6340
|
autonomous?: boolean | undefined;
|
|
@@ -5049,6 +6349,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5049
6349
|
activity?: "monitoring" | undefined;
|
|
5050
6350
|
monitoringWakeAt?: string | undefined;
|
|
5051
6351
|
monitoringWakeCapReached?: boolean | undefined;
|
|
6352
|
+
autoResumeAt?: string | undefined;
|
|
6353
|
+
autoResumeAttempts?: number | undefined;
|
|
5052
6354
|
createdAt: string;
|
|
5053
6355
|
startedAt?: string | undefined;
|
|
5054
6356
|
finishedAt?: string | undefined;
|
|
@@ -5101,7 +6403,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5101
6403
|
finishedAt?: string | undefined;
|
|
5102
6404
|
error?: string | undefined;
|
|
5103
6405
|
sessionId?: string | undefined;
|
|
5104
|
-
backend?: "claude" | "codex" | "opencode" | undefined;
|
|
6406
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
6407
|
+
profileId?: string | undefined;
|
|
5105
6408
|
costUsd?: number | undefined;
|
|
5106
6409
|
}[];
|
|
5107
6410
|
workflowDef?: {
|
|
@@ -5113,7 +6416,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5113
6416
|
prompt?: string | undefined;
|
|
5114
6417
|
skill?: string | undefined;
|
|
5115
6418
|
model?: string | undefined;
|
|
5116
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
6419
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5117
6420
|
allowedTools?: string[] | undefined;
|
|
5118
6421
|
bashAllowlist?: string[] | undefined;
|
|
5119
6422
|
command?: string | undefined;
|
|
@@ -5526,7 +6829,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5526
6829
|
mediaType: string;
|
|
5527
6830
|
data: string;
|
|
5528
6831
|
}[] | undefined;
|
|
5529
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
6832
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5530
6833
|
model?: string | undefined;
|
|
5531
6834
|
};
|
|
5532
6835
|
} & {
|
|
@@ -5547,7 +6850,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5547
6850
|
mediaType: string;
|
|
5548
6851
|
data: string;
|
|
5549
6852
|
}[] | undefined;
|
|
5550
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
6853
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5551
6854
|
model?: string | undefined;
|
|
5552
6855
|
};
|
|
5553
6856
|
} & {
|
|
@@ -5568,7 +6871,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5568
6871
|
mediaType: string;
|
|
5569
6872
|
data: string;
|
|
5570
6873
|
}[] | undefined;
|
|
5571
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
6874
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5572
6875
|
model?: string | undefined;
|
|
5573
6876
|
};
|
|
5574
6877
|
} & {
|
|
@@ -5688,20 +6991,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5688
6991
|
} & {
|
|
5689
6992
|
"/runs/:id/handoff": {
|
|
5690
6993
|
$get: {
|
|
5691
|
-
output:
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
outputFormat: "json";
|
|
5695
|
-
status: 404;
|
|
6994
|
+
output: string;
|
|
6995
|
+
outputFormat: "text";
|
|
6996
|
+
status: 200;
|
|
5696
6997
|
input: {
|
|
5697
6998
|
param: {
|
|
5698
6999
|
id: string;
|
|
5699
7000
|
};
|
|
5700
7001
|
};
|
|
5701
7002
|
} | {
|
|
5702
|
-
output:
|
|
5703
|
-
|
|
5704
|
-
|
|
7003
|
+
output: {
|
|
7004
|
+
error: string;
|
|
7005
|
+
};
|
|
7006
|
+
outputFormat: "json";
|
|
7007
|
+
status: 404;
|
|
5705
7008
|
input: {
|
|
5706
7009
|
param: {
|
|
5707
7010
|
id: string;
|
|
@@ -5727,20 +7030,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5727
7030
|
} & {
|
|
5728
7031
|
"/runs/:id/diff": {
|
|
5729
7032
|
$get: {
|
|
5730
|
-
output:
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
outputFormat: "json";
|
|
5734
|
-
status: 404;
|
|
7033
|
+
output: string;
|
|
7034
|
+
outputFormat: "text";
|
|
7035
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5735
7036
|
input: {
|
|
5736
7037
|
param: {
|
|
5737
7038
|
id: string;
|
|
5738
7039
|
};
|
|
5739
7040
|
};
|
|
5740
7041
|
} | {
|
|
5741
|
-
output:
|
|
5742
|
-
|
|
5743
|
-
|
|
7042
|
+
output: {
|
|
7043
|
+
error: string;
|
|
7044
|
+
};
|
|
7045
|
+
outputFormat: "json";
|
|
7046
|
+
status: 404;
|
|
5744
7047
|
input: {
|
|
5745
7048
|
param: {
|
|
5746
7049
|
id: string;
|
|
@@ -6261,7 +7564,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6261
7564
|
prompt?: string | undefined;
|
|
6262
7565
|
skill?: string | undefined;
|
|
6263
7566
|
model?: string | undefined;
|
|
6264
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
7567
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
6265
7568
|
allowedTools?: string[] | undefined;
|
|
6266
7569
|
bashAllowlist?: string[] | undefined;
|
|
6267
7570
|
command?: string | undefined;
|
|
@@ -6282,21 +7585,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6282
7585
|
};
|
|
6283
7586
|
};
|
|
6284
7587
|
};
|
|
6285
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
6286
|
-
"/open-targets": {
|
|
6287
|
-
$get: {
|
|
6288
|
-
output: {
|
|
6289
|
-
targets: {
|
|
6290
|
-
id: string;
|
|
6291
|
-
label: string;
|
|
6292
|
-
icon?: string;
|
|
6293
|
-
}[];
|
|
6294
|
-
};
|
|
6295
|
-
outputFormat: "json";
|
|
6296
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
6297
|
-
input: {};
|
|
6298
|
-
};
|
|
6299
|
-
};
|
|
6300
7588
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
6301
7589
|
"/ui-state": {
|
|
6302
7590
|
$get: {
|
|
@@ -6321,6 +7609,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6321
7609
|
appearance?: {
|
|
6322
7610
|
accent?: "lime" | "violet" | undefined;
|
|
6323
7611
|
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
7612
|
+
width?: "narrow" | "wide" | undefined;
|
|
6324
7613
|
} | undefined;
|
|
6325
7614
|
promptTemplates?: {
|
|
6326
7615
|
id: string;
|
|
@@ -6396,6 +7685,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6396
7685
|
appearance?: {
|
|
6397
7686
|
accent?: "lime" | "violet" | undefined;
|
|
6398
7687
|
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
7688
|
+
width?: "narrow" | "wide" | undefined;
|
|
6399
7689
|
} | undefined;
|
|
6400
7690
|
promptTemplates?: {
|
|
6401
7691
|
id: string;
|
|
@@ -6534,7 +7824,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6534
7824
|
taskImages?: string[] | undefined;
|
|
6535
7825
|
model?: string | undefined;
|
|
6536
7826
|
modelIdentity?: string | undefined;
|
|
6537
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
7827
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
7828
|
+
agentProfile?: string | undefined;
|
|
6538
7829
|
systemPrompt?: string | undefined;
|
|
6539
7830
|
generateFollowups?: boolean | undefined;
|
|
6540
7831
|
autonomous?: boolean | undefined;
|
|
@@ -6549,6 +7840,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6549
7840
|
activity?: "monitoring" | undefined;
|
|
6550
7841
|
monitoringWakeAt?: string | undefined;
|
|
6551
7842
|
monitoringWakeCapReached?: boolean | undefined;
|
|
7843
|
+
autoResumeAt?: string | undefined;
|
|
7844
|
+
autoResumeAttempts?: number | undefined;
|
|
6552
7845
|
createdAt: string;
|
|
6553
7846
|
startedAt?: string | undefined;
|
|
6554
7847
|
finishedAt?: string | undefined;
|
|
@@ -6601,7 +7894,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6601
7894
|
finishedAt?: string | undefined;
|
|
6602
7895
|
error?: string | undefined;
|
|
6603
7896
|
sessionId?: string | undefined;
|
|
6604
|
-
backend?: "claude" | "codex" | "opencode" | undefined;
|
|
7897
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
7898
|
+
profileId?: string | undefined;
|
|
6605
7899
|
costUsd?: number | undefined;
|
|
6606
7900
|
}[];
|
|
6607
7901
|
workflowDef?: {
|
|
@@ -6613,7 +7907,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6613
7907
|
prompt?: string | undefined;
|
|
6614
7908
|
skill?: string | undefined;
|
|
6615
7909
|
model?: string | undefined;
|
|
6616
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
7910
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
6617
7911
|
allowedTools?: string[] | undefined;
|
|
6618
7912
|
bashAllowlist?: string[] | undefined;
|
|
6619
7913
|
command?: string | undefined;
|
|
@@ -6640,6 +7934,59 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6640
7934
|
};
|
|
6641
7935
|
};
|
|
6642
7936
|
};
|
|
7937
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
7938
|
+
"/open-targets": {
|
|
7939
|
+
$get: {
|
|
7940
|
+
output: {
|
|
7941
|
+
targets: {
|
|
7942
|
+
id: string;
|
|
7943
|
+
label: string;
|
|
7944
|
+
icon?: string;
|
|
7945
|
+
}[];
|
|
7946
|
+
};
|
|
7947
|
+
outputFormat: "json";
|
|
7948
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
7949
|
+
input: {};
|
|
7950
|
+
};
|
|
7951
|
+
};
|
|
7952
|
+
} & {
|
|
7953
|
+
"/open-in": {
|
|
7954
|
+
$post: {
|
|
7955
|
+
output: {
|
|
7956
|
+
error: string;
|
|
7957
|
+
};
|
|
7958
|
+
outputFormat: "json";
|
|
7959
|
+
status: 409;
|
|
7960
|
+
input: {
|
|
7961
|
+
json: {
|
|
7962
|
+
target: string;
|
|
7963
|
+
};
|
|
7964
|
+
};
|
|
7965
|
+
} | {
|
|
7966
|
+
output: {
|
|
7967
|
+
error: string;
|
|
7968
|
+
};
|
|
7969
|
+
outputFormat: "json";
|
|
7970
|
+
status: 400;
|
|
7971
|
+
input: {
|
|
7972
|
+
json: {
|
|
7973
|
+
target: string;
|
|
7974
|
+
};
|
|
7975
|
+
};
|
|
7976
|
+
} | {
|
|
7977
|
+
output: {
|
|
7978
|
+
opened: true;
|
|
7979
|
+
path: string;
|
|
7980
|
+
};
|
|
7981
|
+
outputFormat: "json";
|
|
7982
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
7983
|
+
input: {
|
|
7984
|
+
json: {
|
|
7985
|
+
target: string;
|
|
7986
|
+
};
|
|
7987
|
+
};
|
|
7988
|
+
};
|
|
7989
|
+
};
|
|
6643
7990
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
6644
7991
|
"/worktrees": {
|
|
6645
7992
|
$get: {
|
|
@@ -6686,6 +8033,27 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6686
8033
|
param: {
|
|
6687
8034
|
id: string;
|
|
6688
8035
|
};
|
|
8036
|
+
} & {
|
|
8037
|
+
query: {
|
|
8038
|
+
cursor?: string | undefined;
|
|
8039
|
+
afterSeq?: number | undefined;
|
|
8040
|
+
};
|
|
8041
|
+
};
|
|
8042
|
+
} | {
|
|
8043
|
+
output: {
|
|
8044
|
+
error: string;
|
|
8045
|
+
};
|
|
8046
|
+
outputFormat: "json";
|
|
8047
|
+
status: 400;
|
|
8048
|
+
input: {
|
|
8049
|
+
param: {
|
|
8050
|
+
id: string;
|
|
8051
|
+
};
|
|
8052
|
+
} & {
|
|
8053
|
+
query: {
|
|
8054
|
+
cursor?: string | undefined;
|
|
8055
|
+
afterSeq?: number | undefined;
|
|
8056
|
+
};
|
|
6689
8057
|
};
|
|
6690
8058
|
};
|
|
6691
8059
|
};
|
|
@@ -6703,13 +8071,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6703
8071
|
$get: {
|
|
6704
8072
|
output: {
|
|
6705
8073
|
baseBranch: string | null;
|
|
6706
|
-
defaultRunner: "claude" | "codex" | "opencode";
|
|
8074
|
+
defaultRunner: "claude" | "codex" | "opencode" | "pi";
|
|
6707
8075
|
systemPrompt: string | null;
|
|
6708
8076
|
defaultModels: {
|
|
6709
8077
|
claude?: string | undefined;
|
|
6710
8078
|
codex?: string | undefined;
|
|
6711
8079
|
opencode?: string | undefined;
|
|
8080
|
+
pi?: string | undefined;
|
|
6712
8081
|
};
|
|
8082
|
+
modelsLocked: boolean;
|
|
6713
8083
|
maxParallel: number;
|
|
6714
8084
|
memoryLimitMb: number | null;
|
|
6715
8085
|
worktreeRetention: number;
|
|
@@ -6726,13 +8096,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6726
8096
|
$put: {
|
|
6727
8097
|
output: {
|
|
6728
8098
|
baseBranch: string | null;
|
|
6729
|
-
defaultRunner: "claude" | "codex" | "opencode";
|
|
8099
|
+
defaultRunner: "claude" | "codex" | "opencode" | "pi";
|
|
6730
8100
|
systemPrompt: string | null;
|
|
6731
8101
|
defaultModels: {
|
|
6732
8102
|
claude?: string | undefined;
|
|
6733
8103
|
codex?: string | undefined;
|
|
6734
8104
|
opencode?: string | undefined;
|
|
8105
|
+
pi?: string | undefined;
|
|
6735
8106
|
};
|
|
8107
|
+
modelsLocked: boolean;
|
|
6736
8108
|
maxParallel: number;
|
|
6737
8109
|
memoryLimitMb: number | null;
|
|
6738
8110
|
worktreeRetention: number;
|
|
@@ -6744,12 +8116,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6744
8116
|
input: {
|
|
6745
8117
|
json: {
|
|
6746
8118
|
baseBranch?: string | null | undefined;
|
|
6747
|
-
defaultRunner?: "claude" | "codex" | "opencode" | undefined;
|
|
8119
|
+
defaultRunner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8120
|
+
systemPrompt?: string | null | undefined;
|
|
8121
|
+
defaultModels?: {
|
|
8122
|
+
claude?: string | null | undefined;
|
|
8123
|
+
codex?: string | null | undefined;
|
|
8124
|
+
opencode?: string | null | undefined;
|
|
8125
|
+
pi?: string | null | undefined;
|
|
8126
|
+
} | undefined;
|
|
8127
|
+
maxParallel?: number | undefined;
|
|
8128
|
+
memoryLimitMb?: number | null | undefined;
|
|
8129
|
+
worktreeRetention?: number | null | undefined;
|
|
8130
|
+
liveTitleUpdates?: boolean | null | undefined;
|
|
8131
|
+
reviewGate?: boolean | null | undefined;
|
|
8132
|
+
};
|
|
8133
|
+
};
|
|
8134
|
+
} | {
|
|
8135
|
+
output: {
|
|
8136
|
+
error: string;
|
|
8137
|
+
};
|
|
8138
|
+
outputFormat: "json";
|
|
8139
|
+
status: 409;
|
|
8140
|
+
input: {
|
|
8141
|
+
json: {
|
|
8142
|
+
baseBranch?: string | null | undefined;
|
|
8143
|
+
defaultRunner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
6748
8144
|
systemPrompt?: string | null | undefined;
|
|
6749
8145
|
defaultModels?: {
|
|
6750
8146
|
claude?: string | null | undefined;
|
|
6751
8147
|
codex?: string | null | undefined;
|
|
6752
8148
|
opencode?: string | null | undefined;
|
|
8149
|
+
pi?: string | null | undefined;
|
|
6753
8150
|
} | undefined;
|
|
6754
8151
|
maxParallel?: number | undefined;
|
|
6755
8152
|
memoryLimitMb?: number | null | undefined;
|
|
@@ -6767,12 +8164,13 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6767
8164
|
input: {
|
|
6768
8165
|
json: {
|
|
6769
8166
|
baseBranch?: string | null | undefined;
|
|
6770
|
-
defaultRunner?: "claude" | "codex" | "opencode" | undefined;
|
|
8167
|
+
defaultRunner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
6771
8168
|
systemPrompt?: string | null | undefined;
|
|
6772
8169
|
defaultModels?: {
|
|
6773
8170
|
claude?: string | null | undefined;
|
|
6774
8171
|
codex?: string | null | undefined;
|
|
6775
8172
|
opencode?: string | null | undefined;
|
|
8173
|
+
pi?: string | null | undefined;
|
|
6776
8174
|
} | undefined;
|
|
6777
8175
|
maxParallel?: number | undefined;
|
|
6778
8176
|
memoryLimitMb?: number | null | undefined;
|
|
@@ -6939,7 +8337,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6939
8337
|
status: 409;
|
|
6940
8338
|
input: {
|
|
6941
8339
|
json: {
|
|
6942
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
8340
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
6943
8341
|
model?: string | undefined;
|
|
6944
8342
|
prompt?: string | undefined;
|
|
6945
8343
|
} | undefined;
|
|
@@ -6971,7 +8369,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6971
8369
|
taskImages?: string[] | undefined;
|
|
6972
8370
|
model?: string | undefined;
|
|
6973
8371
|
modelIdentity?: string | undefined;
|
|
6974
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
8372
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8373
|
+
agentProfile?: string | undefined;
|
|
6975
8374
|
systemPrompt?: string | undefined;
|
|
6976
8375
|
generateFollowups?: boolean | undefined;
|
|
6977
8376
|
autonomous?: boolean | undefined;
|
|
@@ -6986,6 +8385,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6986
8385
|
activity?: "monitoring" | undefined;
|
|
6987
8386
|
monitoringWakeAt?: string | undefined;
|
|
6988
8387
|
monitoringWakeCapReached?: boolean | undefined;
|
|
8388
|
+
autoResumeAt?: string | undefined;
|
|
8389
|
+
autoResumeAttempts?: number | undefined;
|
|
6989
8390
|
createdAt: string;
|
|
6990
8391
|
startedAt?: string | undefined;
|
|
6991
8392
|
finishedAt?: string | undefined;
|
|
@@ -7038,7 +8439,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7038
8439
|
finishedAt?: string | undefined;
|
|
7039
8440
|
error?: string | undefined;
|
|
7040
8441
|
sessionId?: string | undefined;
|
|
7041
|
-
backend?: "claude" | "codex" | "opencode" | undefined;
|
|
8442
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8443
|
+
profileId?: string | undefined;
|
|
7042
8444
|
costUsd?: number | undefined;
|
|
7043
8445
|
}[];
|
|
7044
8446
|
workflowDef?: {
|
|
@@ -7050,7 +8452,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7050
8452
|
prompt?: string | undefined;
|
|
7051
8453
|
skill?: string | undefined;
|
|
7052
8454
|
model?: string | undefined;
|
|
7053
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
8455
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
7054
8456
|
allowedTools?: string[] | undefined;
|
|
7055
8457
|
bashAllowlist?: string[] | undefined;
|
|
7056
8458
|
command?: string | undefined;
|
|
@@ -7068,7 +8470,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7068
8470
|
status: 201;
|
|
7069
8471
|
input: {
|
|
7070
8472
|
json: {
|
|
7071
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
8473
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
7072
8474
|
model?: string | undefined;
|
|
7073
8475
|
prompt?: string | undefined;
|
|
7074
8476
|
} | undefined;
|
|
@@ -7085,7 +8487,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7085
8487
|
status: 409;
|
|
7086
8488
|
input: {
|
|
7087
8489
|
json: {
|
|
7088
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
8490
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
7089
8491
|
model?: string | undefined;
|
|
7090
8492
|
prompt?: string | undefined;
|
|
7091
8493
|
} | undefined;
|
|
@@ -7102,7 +8504,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7102
8504
|
status: 404;
|
|
7103
8505
|
input: {
|
|
7104
8506
|
json: {
|
|
7105
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
8507
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
7106
8508
|
model?: string | undefined;
|
|
7107
8509
|
prompt?: string | undefined;
|
|
7108
8510
|
} | undefined;
|
|
@@ -7266,7 +8668,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7266
8668
|
prompt?: string | undefined;
|
|
7267
8669
|
skill?: string | undefined;
|
|
7268
8670
|
model?: string | undefined;
|
|
7269
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
8671
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
7270
8672
|
allowedTools?: string[] | undefined;
|
|
7271
8673
|
bashAllowlist?: string[] | undefined;
|
|
7272
8674
|
command?: string | undefined;
|
|
@@ -7306,7 +8708,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7306
8708
|
prompt?: string | undefined;
|
|
7307
8709
|
skill?: string | undefined;
|
|
7308
8710
|
model?: string | undefined;
|
|
7309
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
8711
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
7310
8712
|
allowedTools?: string[] | undefined;
|
|
7311
8713
|
bashAllowlist?: string[] | undefined;
|
|
7312
8714
|
command?: string | undefined;
|
|
@@ -7336,7 +8738,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7336
8738
|
prompt?: string | undefined;
|
|
7337
8739
|
skill?: string | undefined;
|
|
7338
8740
|
model?: string | undefined;
|
|
7339
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
8741
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
7340
8742
|
allowedTools?: string[] | undefined;
|
|
7341
8743
|
bashAllowlist?: string[] | undefined;
|
|
7342
8744
|
command?: string | undefined;
|
|
@@ -7365,7 +8767,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7365
8767
|
prompt?: string | undefined;
|
|
7366
8768
|
skill?: string | undefined;
|
|
7367
8769
|
model?: string | undefined;
|
|
7368
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
8770
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
7369
8771
|
allowedTools?: string[] | undefined;
|
|
7370
8772
|
bashAllowlist?: string[] | undefined;
|
|
7371
8773
|
command?: string | undefined;
|
|
@@ -7395,7 +8797,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7395
8797
|
prompt?: string | undefined;
|
|
7396
8798
|
skill?: string | undefined;
|
|
7397
8799
|
model?: string | undefined;
|
|
7398
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
8800
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
7399
8801
|
allowedTools?: string[] | undefined;
|
|
7400
8802
|
bashAllowlist?: string[] | undefined;
|
|
7401
8803
|
command?: string | undefined;
|
|
@@ -7482,7 +8884,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7482
8884
|
prompt?: string | undefined;
|
|
7483
8885
|
skill?: string | undefined;
|
|
7484
8886
|
model?: string | undefined;
|
|
7485
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
8887
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
7486
8888
|
allowedTools?: string[] | undefined;
|
|
7487
8889
|
bashAllowlist?: string[] | undefined;
|
|
7488
8890
|
command?: string | undefined;
|
|
@@ -7551,6 +8953,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7551
8953
|
} & {
|
|
7552
8954
|
"/repo/commit/:sha": {
|
|
7553
8955
|
$get: {
|
|
8956
|
+
output: string;
|
|
8957
|
+
outputFormat: "text";
|
|
8958
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
8959
|
+
input: {
|
|
8960
|
+
query: {
|
|
8961
|
+
structured?: string | undefined;
|
|
8962
|
+
};
|
|
8963
|
+
} & {
|
|
8964
|
+
param: {
|
|
8965
|
+
sha: string;
|
|
8966
|
+
};
|
|
8967
|
+
};
|
|
8968
|
+
} | {
|
|
7554
8969
|
output: {
|
|
7555
8970
|
error: string;
|
|
7556
8971
|
};
|
|
@@ -7613,19 +9028,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7613
9028
|
sha: string;
|
|
7614
9029
|
};
|
|
7615
9030
|
};
|
|
7616
|
-
} | {
|
|
7617
|
-
output: string;
|
|
7618
|
-
outputFormat: "text";
|
|
7619
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
7620
|
-
input: {
|
|
7621
|
-
query: {
|
|
7622
|
-
structured?: string | undefined;
|
|
7623
|
-
};
|
|
7624
|
-
} & {
|
|
7625
|
-
param: {
|
|
7626
|
-
sha: string;
|
|
7627
|
-
};
|
|
7628
|
-
};
|
|
7629
9031
|
};
|
|
7630
9032
|
};
|
|
7631
9033
|
} & {
|
|
@@ -7886,6 +9288,57 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7886
9288
|
};
|
|
7887
9289
|
};
|
|
7888
9290
|
};
|
|
9291
|
+
} & {
|
|
9292
|
+
"/github/ref-status": {
|
|
9293
|
+
$get: {
|
|
9294
|
+
output: {
|
|
9295
|
+
error: string;
|
|
9296
|
+
};
|
|
9297
|
+
outputFormat: "json";
|
|
9298
|
+
status: 400;
|
|
9299
|
+
input: {
|
|
9300
|
+
query: {
|
|
9301
|
+
prs?: string | undefined;
|
|
9302
|
+
issues?: string | undefined;
|
|
9303
|
+
};
|
|
9304
|
+
};
|
|
9305
|
+
} | {
|
|
9306
|
+
output: {
|
|
9307
|
+
error: string;
|
|
9308
|
+
};
|
|
9309
|
+
outputFormat: "json";
|
|
9310
|
+
status: 400;
|
|
9311
|
+
input: {
|
|
9312
|
+
query: {
|
|
9313
|
+
prs?: string | undefined;
|
|
9314
|
+
issues?: string | undefined;
|
|
9315
|
+
};
|
|
9316
|
+
};
|
|
9317
|
+
} | {
|
|
9318
|
+
output: {
|
|
9319
|
+
available: true;
|
|
9320
|
+
prs: {
|
|
9321
|
+
[x: number]: import("./github.ts").ReferenceStatus;
|
|
9322
|
+
};
|
|
9323
|
+
issues: {
|
|
9324
|
+
[x: number]: import("./github.ts").ReferenceStatus;
|
|
9325
|
+
};
|
|
9326
|
+
recheckAfterMs: number | null;
|
|
9327
|
+
} | {
|
|
9328
|
+
available: false;
|
|
9329
|
+
reason: string;
|
|
9330
|
+
recheckAfterMs: number | null;
|
|
9331
|
+
};
|
|
9332
|
+
outputFormat: "json";
|
|
9333
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
9334
|
+
input: {
|
|
9335
|
+
query: {
|
|
9336
|
+
prs?: string | undefined;
|
|
9337
|
+
issues?: string | undefined;
|
|
9338
|
+
};
|
|
9339
|
+
};
|
|
9340
|
+
};
|
|
9341
|
+
};
|
|
7889
9342
|
} & {
|
|
7890
9343
|
"/github/prs/:number/merge-state": {
|
|
7891
9344
|
$get: {
|
|
@@ -8161,7 +9614,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8161
9614
|
prompt?: string | undefined;
|
|
8162
9615
|
skill?: string | undefined;
|
|
8163
9616
|
model?: string | undefined;
|
|
8164
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
9617
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8165
9618
|
allowedTools?: string[] | undefined;
|
|
8166
9619
|
bashAllowlist?: string[] | undefined;
|
|
8167
9620
|
command?: string | undefined;
|
|
@@ -8170,7 +9623,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8170
9623
|
max: number;
|
|
8171
9624
|
} | undefined;
|
|
8172
9625
|
}[] | undefined;
|
|
8173
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
9626
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8174
9627
|
model?: string | undefined;
|
|
8175
9628
|
variants?: 1 | 2 | 3 | undefined;
|
|
8176
9629
|
worktree?: boolean | undefined;
|
|
@@ -8278,7 +9731,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8278
9731
|
prompt?: string | undefined;
|
|
8279
9732
|
skill?: string | undefined;
|
|
8280
9733
|
model?: string | undefined;
|
|
8281
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
9734
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8282
9735
|
allowedTools?: string[] | undefined;
|
|
8283
9736
|
bashAllowlist?: string[] | undefined;
|
|
8284
9737
|
command?: string | undefined;
|
|
@@ -8287,7 +9740,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8287
9740
|
max?: number | undefined;
|
|
8288
9741
|
} | undefined;
|
|
8289
9742
|
}[] | undefined;
|
|
8290
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
9743
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8291
9744
|
model?: string | undefined;
|
|
8292
9745
|
variants?: 1 | 2 | 3 | undefined;
|
|
8293
9746
|
worktree?: boolean | undefined;
|
|
@@ -8330,7 +9783,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8330
9783
|
prompt?: string | undefined;
|
|
8331
9784
|
skill?: string | undefined;
|
|
8332
9785
|
model?: string | undefined;
|
|
8333
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
9786
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8334
9787
|
allowedTools?: string[] | undefined;
|
|
8335
9788
|
bashAllowlist?: string[] | undefined;
|
|
8336
9789
|
command?: string | undefined;
|
|
@@ -8339,7 +9792,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8339
9792
|
max: number;
|
|
8340
9793
|
} | undefined;
|
|
8341
9794
|
}[] | undefined;
|
|
8342
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
9795
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8343
9796
|
model?: string | undefined;
|
|
8344
9797
|
variants?: 1 | 2 | 3 | undefined;
|
|
8345
9798
|
worktree?: boolean | undefined;
|
|
@@ -8381,7 +9834,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8381
9834
|
prompt?: string | undefined;
|
|
8382
9835
|
skill?: string | undefined;
|
|
8383
9836
|
model?: string | undefined;
|
|
8384
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
9837
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8385
9838
|
allowedTools?: string[] | undefined;
|
|
8386
9839
|
bashAllowlist?: string[] | undefined;
|
|
8387
9840
|
command?: string | undefined;
|
|
@@ -8390,7 +9843,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8390
9843
|
max?: number | undefined;
|
|
8391
9844
|
} | undefined;
|
|
8392
9845
|
}[] | undefined;
|
|
8393
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
9846
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8394
9847
|
model?: string | undefined;
|
|
8395
9848
|
variants?: 1 | 2 | 3 | undefined;
|
|
8396
9849
|
worktree?: boolean | undefined;
|
|
@@ -8448,7 +9901,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8448
9901
|
prompt?: string | undefined;
|
|
8449
9902
|
skill?: string | undefined;
|
|
8450
9903
|
model?: string | undefined;
|
|
8451
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
9904
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8452
9905
|
allowedTools?: string[] | undefined;
|
|
8453
9906
|
bashAllowlist?: string[] | undefined;
|
|
8454
9907
|
command?: string | undefined;
|
|
@@ -8457,7 +9910,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8457
9910
|
max: number;
|
|
8458
9911
|
} | undefined;
|
|
8459
9912
|
}[] | undefined;
|
|
8460
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
9913
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8461
9914
|
model?: string | undefined;
|
|
8462
9915
|
variants?: 1 | 2 | 3 | undefined;
|
|
8463
9916
|
worktree?: boolean | undefined;
|
|
@@ -8563,7 +10016,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8563
10016
|
prompt?: string | undefined;
|
|
8564
10017
|
skill?: string | undefined;
|
|
8565
10018
|
model?: string | undefined;
|
|
8566
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
10019
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8567
10020
|
allowedTools?: string[] | undefined;
|
|
8568
10021
|
bashAllowlist?: string[] | undefined;
|
|
8569
10022
|
command?: string | undefined;
|
|
@@ -8572,7 +10025,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8572
10025
|
max?: number | undefined;
|
|
8573
10026
|
} | undefined;
|
|
8574
10027
|
}[] | undefined;
|
|
8575
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
10028
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8576
10029
|
model?: string | undefined;
|
|
8577
10030
|
variants?: 1 | 2 | 3 | undefined;
|
|
8578
10031
|
worktree?: boolean | undefined;
|
|
@@ -8619,7 +10072,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8619
10072
|
prompt?: string | undefined;
|
|
8620
10073
|
skill?: string | undefined;
|
|
8621
10074
|
model?: string | undefined;
|
|
8622
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
10075
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8623
10076
|
allowedTools?: string[] | undefined;
|
|
8624
10077
|
bashAllowlist?: string[] | undefined;
|
|
8625
10078
|
command?: string | undefined;
|
|
@@ -8628,7 +10081,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8628
10081
|
max: number;
|
|
8629
10082
|
} | undefined;
|
|
8630
10083
|
}[] | undefined;
|
|
8631
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
10084
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8632
10085
|
model?: string | undefined;
|
|
8633
10086
|
variants?: 1 | 2 | 3 | undefined;
|
|
8634
10087
|
worktree?: boolean | undefined;
|
|
@@ -8670,7 +10123,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8670
10123
|
prompt?: string | undefined;
|
|
8671
10124
|
skill?: string | undefined;
|
|
8672
10125
|
model?: string | undefined;
|
|
8673
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
10126
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8674
10127
|
allowedTools?: string[] | undefined;
|
|
8675
10128
|
bashAllowlist?: string[] | undefined;
|
|
8676
10129
|
command?: string | undefined;
|
|
@@ -8679,7 +10132,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8679
10132
|
max?: number | undefined;
|
|
8680
10133
|
} | undefined;
|
|
8681
10134
|
}[] | undefined;
|
|
8682
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
10135
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8683
10136
|
model?: string | undefined;
|
|
8684
10137
|
variants?: 1 | 2 | 3 | undefined;
|
|
8685
10138
|
worktree?: boolean | undefined;
|
|
@@ -8728,7 +10181,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8728
10181
|
prompt?: string | undefined;
|
|
8729
10182
|
skill?: string | undefined;
|
|
8730
10183
|
model?: string | undefined;
|
|
8731
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
10184
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8732
10185
|
allowedTools?: string[] | undefined;
|
|
8733
10186
|
bashAllowlist?: string[] | undefined;
|
|
8734
10187
|
command?: string | undefined;
|
|
@@ -8737,7 +10190,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8737
10190
|
max?: number | undefined;
|
|
8738
10191
|
} | undefined;
|
|
8739
10192
|
}[] | undefined;
|
|
8740
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
10193
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8741
10194
|
model?: string | undefined;
|
|
8742
10195
|
variants?: 1 | 2 | 3 | undefined;
|
|
8743
10196
|
worktree?: boolean | undefined;
|
|
@@ -8823,7 +10276,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8823
10276
|
prompt?: string | undefined;
|
|
8824
10277
|
skill?: string | undefined;
|
|
8825
10278
|
model?: string | undefined;
|
|
8826
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
10279
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8827
10280
|
allowedTools?: string[] | undefined;
|
|
8828
10281
|
bashAllowlist?: string[] | undefined;
|
|
8829
10282
|
command?: string | undefined;
|
|
@@ -8832,7 +10285,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8832
10285
|
max: number;
|
|
8833
10286
|
} | undefined;
|
|
8834
10287
|
}[] | undefined;
|
|
8835
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
10288
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8836
10289
|
model?: string | undefined;
|
|
8837
10290
|
variants?: 1 | 2 | 3 | undefined;
|
|
8838
10291
|
worktree?: boolean | undefined;
|
|
@@ -8898,7 +10351,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8898
10351
|
prompt?: string | undefined;
|
|
8899
10352
|
skill?: string | undefined;
|
|
8900
10353
|
model?: string | undefined;
|
|
8901
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
10354
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8902
10355
|
allowedTools?: string[] | undefined;
|
|
8903
10356
|
bashAllowlist?: string[] | undefined;
|
|
8904
10357
|
command?: string | undefined;
|
|
@@ -8907,7 +10360,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8907
10360
|
max: number;
|
|
8908
10361
|
} | undefined;
|
|
8909
10362
|
}[] | undefined;
|
|
8910
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
10363
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8911
10364
|
model?: string | undefined;
|
|
8912
10365
|
variants?: 1 | 2 | 3 | undefined;
|
|
8913
10366
|
worktree?: boolean | undefined;
|
|
@@ -9020,46 +10473,194 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9020
10473
|
};
|
|
9021
10474
|
};
|
|
9022
10475
|
} & {
|
|
9023
|
-
"/automation-log/:receiptId/retry": {
|
|
10476
|
+
"/automation-log/:receiptId/retry": {
|
|
10477
|
+
$post: {
|
|
10478
|
+
output: {
|
|
10479
|
+
error: string;
|
|
10480
|
+
};
|
|
10481
|
+
outputFormat: "json";
|
|
10482
|
+
status: 404;
|
|
10483
|
+
input: {
|
|
10484
|
+
param: {
|
|
10485
|
+
receiptId: string;
|
|
10486
|
+
};
|
|
10487
|
+
};
|
|
10488
|
+
} | {
|
|
10489
|
+
output: {
|
|
10490
|
+
error: string;
|
|
10491
|
+
};
|
|
10492
|
+
outputFormat: "json";
|
|
10493
|
+
status: 409;
|
|
10494
|
+
input: {
|
|
10495
|
+
param: {
|
|
10496
|
+
receiptId: string;
|
|
10497
|
+
};
|
|
10498
|
+
};
|
|
10499
|
+
} | {
|
|
10500
|
+
output: {
|
|
10501
|
+
receiptId: string;
|
|
10502
|
+
runId: string;
|
|
10503
|
+
};
|
|
10504
|
+
outputFormat: "json";
|
|
10505
|
+
status: 202;
|
|
10506
|
+
input: {
|
|
10507
|
+
param: {
|
|
10508
|
+
receiptId: string;
|
|
10509
|
+
};
|
|
10510
|
+
};
|
|
10511
|
+
};
|
|
10512
|
+
};
|
|
10513
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
10514
|
+
"/runs": {
|
|
10515
|
+
$get: {
|
|
10516
|
+
output: {
|
|
10517
|
+
id: string;
|
|
10518
|
+
title: string;
|
|
10519
|
+
titleSummary?: string | undefined;
|
|
10520
|
+
diffStat?: {
|
|
10521
|
+
adds: number;
|
|
10522
|
+
dels: number;
|
|
10523
|
+
files: number;
|
|
10524
|
+
repointed?: boolean | undefined;
|
|
10525
|
+
} | undefined;
|
|
10526
|
+
workflow: string;
|
|
10527
|
+
task: string;
|
|
10528
|
+
queuedMessages?: {
|
|
10529
|
+
id: string;
|
|
10530
|
+
text: string;
|
|
10531
|
+
images?: string[] | undefined;
|
|
10532
|
+
createdAt: string;
|
|
10533
|
+
}[] | undefined;
|
|
10534
|
+
taskImages?: string[] | undefined;
|
|
10535
|
+
model?: string | undefined;
|
|
10536
|
+
modelIdentity?: string | undefined;
|
|
10537
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
10538
|
+
agentProfile?: string | undefined;
|
|
10539
|
+
systemPrompt?: string | undefined;
|
|
10540
|
+
generateFollowups?: boolean | undefined;
|
|
10541
|
+
autonomous?: boolean | undefined;
|
|
10542
|
+
automation?: {
|
|
10543
|
+
automationId: string;
|
|
10544
|
+
automationRevision: number;
|
|
10545
|
+
receiptId: string;
|
|
10546
|
+
event: string;
|
|
10547
|
+
githubUrl: string;
|
|
10548
|
+
} | undefined;
|
|
10549
|
+
status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
10550
|
+
activity?: "monitoring" | undefined;
|
|
10551
|
+
monitoringWakeAt?: string | undefined;
|
|
10552
|
+
monitoringWakeCapReached?: boolean | undefined;
|
|
10553
|
+
autoResumeAt?: string | undefined;
|
|
10554
|
+
autoResumeAttempts?: number | undefined;
|
|
10555
|
+
createdAt: string;
|
|
10556
|
+
startedAt?: string | undefined;
|
|
10557
|
+
finishedAt?: string | undefined;
|
|
10558
|
+
tokensUsed: number;
|
|
10559
|
+
inputTokens?: number | undefined;
|
|
10560
|
+
outputTokens?: number | undefined;
|
|
10561
|
+
costUsd?: number | undefined;
|
|
10562
|
+
pullRequestUrl?: string | undefined;
|
|
10563
|
+
referencedPullRequestUrl?: string | undefined;
|
|
10564
|
+
prNumber?: number | undefined;
|
|
10565
|
+
issueNumber?: number | undefined;
|
|
10566
|
+
referencedIssueNumberSeeded?: boolean | undefined;
|
|
10567
|
+
titleOrigin?: "auto" | "marker" | "user" | undefined;
|
|
10568
|
+
markerRefs?: {
|
|
10569
|
+
pr?: number | undefined;
|
|
10570
|
+
issue?: number | undefined;
|
|
10571
|
+
} | undefined;
|
|
10572
|
+
referencedPrCandidates?: string[] | undefined;
|
|
10573
|
+
referencedIssueUrl?: string | undefined;
|
|
10574
|
+
referencedIssueCandidates?: string[] | undefined;
|
|
10575
|
+
worktree?: false | undefined;
|
|
10576
|
+
worktreePath?: string | undefined;
|
|
10577
|
+
branch?: string | undefined;
|
|
10578
|
+
baseBranch?: string | undefined;
|
|
10579
|
+
worktreeReclaimedAt?: string | undefined;
|
|
10580
|
+
groupId?: string | undefined;
|
|
10581
|
+
variant?: string | undefined;
|
|
10582
|
+
peakRssBytes?: number | undefined;
|
|
10583
|
+
peakProcCount?: number | undefined;
|
|
10584
|
+
archived: boolean;
|
|
10585
|
+
archivedAt?: string | undefined;
|
|
10586
|
+
seenAt?: string | undefined;
|
|
10587
|
+
currentStepId?: string | undefined;
|
|
10588
|
+
error?: string | undefined;
|
|
10589
|
+
steps: {
|
|
10590
|
+
id: string;
|
|
10591
|
+
name: string;
|
|
10592
|
+
kind: "agent" | "check";
|
|
10593
|
+
status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
|
|
10594
|
+
iterations: number;
|
|
10595
|
+
tokensUsed: number;
|
|
10596
|
+
inputTokens?: number | undefined;
|
|
10597
|
+
outputTokens?: number | undefined;
|
|
10598
|
+
usageInvocationsStarted?: number | undefined;
|
|
10599
|
+
usageInvocationsObserved?: number | undefined;
|
|
10600
|
+
usageTurnsStarted?: number | undefined;
|
|
10601
|
+
usageTurnsRecorded?: number | undefined;
|
|
10602
|
+
usageInvocationEpoch?: number | undefined;
|
|
10603
|
+
startedAt?: string | undefined;
|
|
10604
|
+
finishedAt?: string | undefined;
|
|
10605
|
+
error?: string | undefined;
|
|
10606
|
+
sessionId?: string | undefined;
|
|
10607
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
10608
|
+
profileId?: string | undefined;
|
|
10609
|
+
costUsd?: number | undefined;
|
|
10610
|
+
}[];
|
|
10611
|
+
workflowDef?: {
|
|
10612
|
+
name: string;
|
|
10613
|
+
description?: string | undefined;
|
|
10614
|
+
steps: {
|
|
10615
|
+
id: string;
|
|
10616
|
+
name?: string | undefined;
|
|
10617
|
+
prompt?: string | undefined;
|
|
10618
|
+
skill?: string | undefined;
|
|
10619
|
+
model?: string | undefined;
|
|
10620
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
10621
|
+
allowedTools?: string[] | undefined;
|
|
10622
|
+
bashAllowlist?: string[] | undefined;
|
|
10623
|
+
command?: string | undefined;
|
|
10624
|
+
onFail?: {
|
|
10625
|
+
retry: string;
|
|
10626
|
+
max: number;
|
|
10627
|
+
} | undefined;
|
|
10628
|
+
}[];
|
|
10629
|
+
source: "built-in" | "file";
|
|
10630
|
+
path?: string | undefined;
|
|
10631
|
+
} | undefined;
|
|
10632
|
+
usage?: ReturnType<typeof currentUsage>;
|
|
10633
|
+
}[];
|
|
10634
|
+
outputFormat: "json";
|
|
10635
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
10636
|
+
input: {};
|
|
10637
|
+
};
|
|
10638
|
+
};
|
|
10639
|
+
} & {
|
|
10640
|
+
"/runs/archive-finished": {
|
|
9024
10641
|
$post: {
|
|
9025
10642
|
output: {
|
|
9026
|
-
|
|
9027
|
-
};
|
|
9028
|
-
outputFormat: "json";
|
|
9029
|
-
status: 404;
|
|
9030
|
-
input: {
|
|
9031
|
-
param: {
|
|
9032
|
-
receiptId: string;
|
|
9033
|
-
};
|
|
9034
|
-
};
|
|
9035
|
-
} | {
|
|
9036
|
-
output: {
|
|
9037
|
-
error: string;
|
|
10643
|
+
archived: number;
|
|
9038
10644
|
};
|
|
9039
10645
|
outputFormat: "json";
|
|
9040
|
-
status:
|
|
9041
|
-
input: {
|
|
9042
|
-
|
|
9043
|
-
|
|
9044
|
-
|
|
9045
|
-
|
|
9046
|
-
|
|
10646
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
10647
|
+
input: {};
|
|
10648
|
+
};
|
|
10649
|
+
};
|
|
10650
|
+
} & {
|
|
10651
|
+
"/runs/read-all": {
|
|
10652
|
+
$post: {
|
|
9047
10653
|
output: {
|
|
9048
|
-
|
|
9049
|
-
runId: string;
|
|
10654
|
+
read: number;
|
|
9050
10655
|
};
|
|
9051
10656
|
outputFormat: "json";
|
|
9052
|
-
status:
|
|
9053
|
-
input: {
|
|
9054
|
-
param: {
|
|
9055
|
-
receiptId: string;
|
|
9056
|
-
};
|
|
9057
|
-
};
|
|
10657
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
10658
|
+
input: {};
|
|
9058
10659
|
};
|
|
9059
10660
|
};
|
|
9060
|
-
}
|
|
9061
|
-
"/runs": {
|
|
9062
|
-
$
|
|
10661
|
+
} & {
|
|
10662
|
+
"/runs/:id/archive": {
|
|
10663
|
+
$post: {
|
|
9063
10664
|
output: {
|
|
9064
10665
|
id: string;
|
|
9065
10666
|
title: string;
|
|
@@ -9081,7 +10682,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9081
10682
|
taskImages?: string[] | undefined;
|
|
9082
10683
|
model?: string | undefined;
|
|
9083
10684
|
modelIdentity?: string | undefined;
|
|
9084
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
10685
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
10686
|
+
agentProfile?: string | undefined;
|
|
9085
10687
|
systemPrompt?: string | undefined;
|
|
9086
10688
|
generateFollowups?: boolean | undefined;
|
|
9087
10689
|
autonomous?: boolean | undefined;
|
|
@@ -9096,6 +10698,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9096
10698
|
activity?: "monitoring" | undefined;
|
|
9097
10699
|
monitoringWakeAt?: string | undefined;
|
|
9098
10700
|
monitoringWakeCapReached?: boolean | undefined;
|
|
10701
|
+
autoResumeAt?: string | undefined;
|
|
10702
|
+
autoResumeAttempts?: number | undefined;
|
|
9099
10703
|
createdAt: string;
|
|
9100
10704
|
startedAt?: string | undefined;
|
|
9101
10705
|
finishedAt?: string | undefined;
|
|
@@ -9148,7 +10752,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9148
10752
|
finishedAt?: string | undefined;
|
|
9149
10753
|
error?: string | undefined;
|
|
9150
10754
|
sessionId?: string | undefined;
|
|
9151
|
-
backend?: "claude" | "codex" | "opencode" | undefined;
|
|
10755
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
10756
|
+
profileId?: string | undefined;
|
|
9152
10757
|
costUsd?: number | undefined;
|
|
9153
10758
|
}[];
|
|
9154
10759
|
workflowDef?: {
|
|
@@ -9160,7 +10765,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9160
10765
|
prompt?: string | undefined;
|
|
9161
10766
|
skill?: string | undefined;
|
|
9162
10767
|
model?: string | undefined;
|
|
9163
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
10768
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
9164
10769
|
allowedTools?: string[] | undefined;
|
|
9165
10770
|
bashAllowlist?: string[] | undefined;
|
|
9166
10771
|
command?: string | undefined;
|
|
@@ -9172,37 +10777,63 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9172
10777
|
source: "built-in" | "file";
|
|
9173
10778
|
path?: string | undefined;
|
|
9174
10779
|
} | undefined;
|
|
9175
|
-
|
|
9176
|
-
}[];
|
|
10780
|
+
};
|
|
9177
10781
|
outputFormat: "json";
|
|
9178
10782
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
9179
|
-
input: {
|
|
9180
|
-
|
|
9181
|
-
|
|
9182
|
-
}
|
|
9183
|
-
|
|
9184
|
-
|
|
10783
|
+
input: {
|
|
10784
|
+
json: {
|
|
10785
|
+
archived?: boolean | undefined;
|
|
10786
|
+
};
|
|
10787
|
+
} & {
|
|
10788
|
+
param: {
|
|
10789
|
+
id: string;
|
|
10790
|
+
};
|
|
10791
|
+
};
|
|
10792
|
+
} | {
|
|
9185
10793
|
output: {
|
|
9186
|
-
|
|
10794
|
+
error: string;
|
|
9187
10795
|
};
|
|
9188
10796
|
outputFormat: "json";
|
|
9189
|
-
status:
|
|
9190
|
-
input: {
|
|
10797
|
+
status: 404;
|
|
10798
|
+
input: {
|
|
10799
|
+
json: {
|
|
10800
|
+
archived?: boolean | undefined;
|
|
10801
|
+
};
|
|
10802
|
+
} & {
|
|
10803
|
+
param: {
|
|
10804
|
+
id: string;
|
|
10805
|
+
};
|
|
10806
|
+
};
|
|
9191
10807
|
};
|
|
9192
10808
|
};
|
|
9193
10809
|
} & {
|
|
9194
|
-
"/runs/
|
|
9195
|
-
$
|
|
10810
|
+
"/runs/:id/auto-resume": {
|
|
10811
|
+
$delete: {
|
|
9196
10812
|
output: {
|
|
9197
|
-
|
|
10813
|
+
error: string;
|
|
10814
|
+
};
|
|
10815
|
+
outputFormat: "json";
|
|
10816
|
+
status: 404;
|
|
10817
|
+
input: {
|
|
10818
|
+
param: {
|
|
10819
|
+
id: string;
|
|
10820
|
+
};
|
|
10821
|
+
};
|
|
10822
|
+
} | {
|
|
10823
|
+
output: {
|
|
10824
|
+
cancelled: true;
|
|
9198
10825
|
};
|
|
9199
10826
|
outputFormat: "json";
|
|
9200
10827
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
9201
|
-
input: {
|
|
10828
|
+
input: {
|
|
10829
|
+
param: {
|
|
10830
|
+
id: string;
|
|
10831
|
+
};
|
|
10832
|
+
};
|
|
9202
10833
|
};
|
|
9203
10834
|
};
|
|
9204
10835
|
} & {
|
|
9205
|
-
"/runs/:id/
|
|
10836
|
+
"/runs/:id/read": {
|
|
9206
10837
|
$post: {
|
|
9207
10838
|
output: {
|
|
9208
10839
|
id: string;
|
|
@@ -9225,7 +10856,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9225
10856
|
taskImages?: string[] | undefined;
|
|
9226
10857
|
model?: string | undefined;
|
|
9227
10858
|
modelIdentity?: string | undefined;
|
|
9228
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
10859
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
10860
|
+
agentProfile?: string | undefined;
|
|
9229
10861
|
systemPrompt?: string | undefined;
|
|
9230
10862
|
generateFollowups?: boolean | undefined;
|
|
9231
10863
|
autonomous?: boolean | undefined;
|
|
@@ -9240,6 +10872,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9240
10872
|
activity?: "monitoring" | undefined;
|
|
9241
10873
|
monitoringWakeAt?: string | undefined;
|
|
9242
10874
|
monitoringWakeCapReached?: boolean | undefined;
|
|
10875
|
+
autoResumeAt?: string | undefined;
|
|
10876
|
+
autoResumeAttempts?: number | undefined;
|
|
9243
10877
|
createdAt: string;
|
|
9244
10878
|
startedAt?: string | undefined;
|
|
9245
10879
|
finishedAt?: string | undefined;
|
|
@@ -9292,7 +10926,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9292
10926
|
finishedAt?: string | undefined;
|
|
9293
10927
|
error?: string | undefined;
|
|
9294
10928
|
sessionId?: string | undefined;
|
|
9295
|
-
backend?: "claude" | "codex" | "opencode" | undefined;
|
|
10929
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
10930
|
+
profileId?: string | undefined;
|
|
9296
10931
|
costUsd?: number | undefined;
|
|
9297
10932
|
}[];
|
|
9298
10933
|
workflowDef?: {
|
|
@@ -9304,7 +10939,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9304
10939
|
prompt?: string | undefined;
|
|
9305
10940
|
skill?: string | undefined;
|
|
9306
10941
|
model?: string | undefined;
|
|
9307
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
10942
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
9308
10943
|
allowedTools?: string[] | undefined;
|
|
9309
10944
|
bashAllowlist?: string[] | undefined;
|
|
9310
10945
|
command?: string | undefined;
|
|
@@ -9320,10 +10955,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9320
10955
|
outputFormat: "json";
|
|
9321
10956
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
9322
10957
|
input: {
|
|
9323
|
-
json: {
|
|
9324
|
-
archived?: boolean | undefined;
|
|
9325
|
-
};
|
|
9326
|
-
} & {
|
|
9327
10958
|
param: {
|
|
9328
10959
|
id: string;
|
|
9329
10960
|
};
|
|
@@ -9335,10 +10966,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9335
10966
|
outputFormat: "json";
|
|
9336
10967
|
status: 404;
|
|
9337
10968
|
input: {
|
|
9338
|
-
json: {
|
|
9339
|
-
archived?: boolean | undefined;
|
|
9340
|
-
};
|
|
9341
|
-
} & {
|
|
9342
10969
|
param: {
|
|
9343
10970
|
id: string;
|
|
9344
10971
|
};
|
|
@@ -9346,7 +10973,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9346
10973
|
};
|
|
9347
10974
|
};
|
|
9348
10975
|
} & {
|
|
9349
|
-
"/runs/:id/
|
|
10976
|
+
"/runs/:id/unread": {
|
|
9350
10977
|
$post: {
|
|
9351
10978
|
output: {
|
|
9352
10979
|
id: string;
|
|
@@ -9369,7 +10996,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9369
10996
|
taskImages?: string[] | undefined;
|
|
9370
10997
|
model?: string | undefined;
|
|
9371
10998
|
modelIdentity?: string | undefined;
|
|
9372
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
10999
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11000
|
+
agentProfile?: string | undefined;
|
|
9373
11001
|
systemPrompt?: string | undefined;
|
|
9374
11002
|
generateFollowups?: boolean | undefined;
|
|
9375
11003
|
autonomous?: boolean | undefined;
|
|
@@ -9384,6 +11012,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9384
11012
|
activity?: "monitoring" | undefined;
|
|
9385
11013
|
monitoringWakeAt?: string | undefined;
|
|
9386
11014
|
monitoringWakeCapReached?: boolean | undefined;
|
|
11015
|
+
autoResumeAt?: string | undefined;
|
|
11016
|
+
autoResumeAttempts?: number | undefined;
|
|
9387
11017
|
createdAt: string;
|
|
9388
11018
|
startedAt?: string | undefined;
|
|
9389
11019
|
finishedAt?: string | undefined;
|
|
@@ -9436,7 +11066,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9436
11066
|
finishedAt?: string | undefined;
|
|
9437
11067
|
error?: string | undefined;
|
|
9438
11068
|
sessionId?: string | undefined;
|
|
9439
|
-
backend?: "claude" | "codex" | "opencode" | undefined;
|
|
11069
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11070
|
+
profileId?: string | undefined;
|
|
9440
11071
|
costUsd?: number | undefined;
|
|
9441
11072
|
}[];
|
|
9442
11073
|
workflowDef?: {
|
|
@@ -9448,7 +11079,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9448
11079
|
prompt?: string | undefined;
|
|
9449
11080
|
skill?: string | undefined;
|
|
9450
11081
|
model?: string | undefined;
|
|
9451
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
11082
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
9452
11083
|
allowedTools?: string[] | undefined;
|
|
9453
11084
|
bashAllowlist?: string[] | undefined;
|
|
9454
11085
|
command?: string | undefined;
|
|
@@ -9505,7 +11136,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9505
11136
|
taskImages?: string[] | undefined;
|
|
9506
11137
|
model?: string | undefined;
|
|
9507
11138
|
modelIdentity?: string | undefined;
|
|
9508
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
11139
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11140
|
+
agentProfile?: string | undefined;
|
|
9509
11141
|
systemPrompt?: string | undefined;
|
|
9510
11142
|
generateFollowups?: boolean | undefined;
|
|
9511
11143
|
autonomous?: boolean | undefined;
|
|
@@ -9520,6 +11152,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9520
11152
|
activity?: "monitoring" | undefined;
|
|
9521
11153
|
monitoringWakeAt?: string | undefined;
|
|
9522
11154
|
monitoringWakeCapReached?: boolean | undefined;
|
|
11155
|
+
autoResumeAt?: string | undefined;
|
|
11156
|
+
autoResumeAttempts?: number | undefined;
|
|
9523
11157
|
createdAt: string;
|
|
9524
11158
|
startedAt?: string | undefined;
|
|
9525
11159
|
finishedAt?: string | undefined;
|
|
@@ -9572,7 +11206,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9572
11206
|
finishedAt?: string | undefined;
|
|
9573
11207
|
error?: string | undefined;
|
|
9574
11208
|
sessionId?: string | undefined;
|
|
9575
|
-
backend?: "claude" | "codex" | "opencode" | undefined;
|
|
11209
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11210
|
+
profileId?: string | undefined;
|
|
9576
11211
|
costUsd?: number | undefined;
|
|
9577
11212
|
}[];
|
|
9578
11213
|
workflowDef?: {
|
|
@@ -9584,7 +11219,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9584
11219
|
prompt?: string | undefined;
|
|
9585
11220
|
skill?: string | undefined;
|
|
9586
11221
|
model?: string | undefined;
|
|
9587
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
11222
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
9588
11223
|
allowedTools?: string[] | undefined;
|
|
9589
11224
|
bashAllowlist?: string[] | undefined;
|
|
9590
11225
|
command?: string | undefined;
|
|
@@ -9608,7 +11243,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9608
11243
|
prompt?: string | undefined;
|
|
9609
11244
|
skill?: string | undefined;
|
|
9610
11245
|
model?: string | undefined;
|
|
9611
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
11246
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
9612
11247
|
allowedTools?: string[] | undefined;
|
|
9613
11248
|
bashAllowlist?: string[] | undefined;
|
|
9614
11249
|
command?: string | undefined;
|
|
@@ -9619,7 +11254,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9619
11254
|
}[] | undefined;
|
|
9620
11255
|
task: string;
|
|
9621
11256
|
model?: string | undefined;
|
|
9622
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
11257
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11258
|
+
agentProfile?: string | undefined;
|
|
9623
11259
|
variants?: number | undefined;
|
|
9624
11260
|
worktree?: boolean | undefined;
|
|
9625
11261
|
autonomous?: boolean | undefined;
|
|
@@ -9637,7 +11273,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9637
11273
|
error: string;
|
|
9638
11274
|
};
|
|
9639
11275
|
outputFormat: "json";
|
|
9640
|
-
status:
|
|
11276
|
+
status: 409;
|
|
9641
11277
|
input: {
|
|
9642
11278
|
json: {
|
|
9643
11279
|
workflow?: string | undefined;
|
|
@@ -9647,7 +11283,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9647
11283
|
prompt?: string | undefined;
|
|
9648
11284
|
skill?: string | undefined;
|
|
9649
11285
|
model?: string | undefined;
|
|
9650
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
11286
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
9651
11287
|
allowedTools?: string[] | undefined;
|
|
9652
11288
|
bashAllowlist?: string[] | undefined;
|
|
9653
11289
|
command?: string | undefined;
|
|
@@ -9658,7 +11294,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9658
11294
|
}[] | undefined;
|
|
9659
11295
|
task: string;
|
|
9660
11296
|
model?: string | undefined;
|
|
9661
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
11297
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11298
|
+
agentProfile?: string | undefined;
|
|
9662
11299
|
variants?: number | undefined;
|
|
9663
11300
|
worktree?: boolean | undefined;
|
|
9664
11301
|
autonomous?: boolean | undefined;
|
|
@@ -9676,7 +11313,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9676
11313
|
error: string;
|
|
9677
11314
|
};
|
|
9678
11315
|
outputFormat: "json";
|
|
9679
|
-
status:
|
|
11316
|
+
status: 400;
|
|
9680
11317
|
input: {
|
|
9681
11318
|
json: {
|
|
9682
11319
|
workflow?: string | undefined;
|
|
@@ -9686,7 +11323,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9686
11323
|
prompt?: string | undefined;
|
|
9687
11324
|
skill?: string | undefined;
|
|
9688
11325
|
model?: string | undefined;
|
|
9689
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
11326
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
9690
11327
|
allowedTools?: string[] | undefined;
|
|
9691
11328
|
bashAllowlist?: string[] | undefined;
|
|
9692
11329
|
command?: string | undefined;
|
|
@@ -9697,7 +11334,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9697
11334
|
}[] | undefined;
|
|
9698
11335
|
task: string;
|
|
9699
11336
|
model?: string | undefined;
|
|
9700
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
11337
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11338
|
+
agentProfile?: string | undefined;
|
|
9701
11339
|
variants?: number | undefined;
|
|
9702
11340
|
worktree?: boolean | undefined;
|
|
9703
11341
|
autonomous?: boolean | undefined;
|
|
@@ -9715,7 +11353,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9715
11353
|
error: string;
|
|
9716
11354
|
};
|
|
9717
11355
|
outputFormat: "json";
|
|
9718
|
-
status:
|
|
11356
|
+
status: 404;
|
|
9719
11357
|
input: {
|
|
9720
11358
|
json: {
|
|
9721
11359
|
workflow?: string | undefined;
|
|
@@ -9725,7 +11363,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9725
11363
|
prompt?: string | undefined;
|
|
9726
11364
|
skill?: string | undefined;
|
|
9727
11365
|
model?: string | undefined;
|
|
9728
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
11366
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
9729
11367
|
allowedTools?: string[] | undefined;
|
|
9730
11368
|
bashAllowlist?: string[] | undefined;
|
|
9731
11369
|
command?: string | undefined;
|
|
@@ -9736,7 +11374,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9736
11374
|
}[] | undefined;
|
|
9737
11375
|
task: string;
|
|
9738
11376
|
model?: string | undefined;
|
|
9739
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
11377
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11378
|
+
agentProfile?: string | undefined;
|
|
9740
11379
|
variants?: number | undefined;
|
|
9741
11380
|
worktree?: boolean | undefined;
|
|
9742
11381
|
autonomous?: boolean | undefined;
|
|
@@ -9772,7 +11411,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9772
11411
|
taskImages?: string[] | undefined;
|
|
9773
11412
|
model?: string | undefined;
|
|
9774
11413
|
modelIdentity?: string | undefined;
|
|
9775
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
11414
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11415
|
+
agentProfile?: string | undefined;
|
|
9776
11416
|
systemPrompt?: string | undefined;
|
|
9777
11417
|
generateFollowups?: boolean | undefined;
|
|
9778
11418
|
autonomous?: boolean | undefined;
|
|
@@ -9787,6 +11427,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9787
11427
|
activity?: "monitoring" | undefined;
|
|
9788
11428
|
monitoringWakeAt?: string | undefined;
|
|
9789
11429
|
monitoringWakeCapReached?: boolean | undefined;
|
|
11430
|
+
autoResumeAt?: string | undefined;
|
|
11431
|
+
autoResumeAttempts?: number | undefined;
|
|
9790
11432
|
createdAt: string;
|
|
9791
11433
|
startedAt?: string | undefined;
|
|
9792
11434
|
finishedAt?: string | undefined;
|
|
@@ -9839,7 +11481,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9839
11481
|
finishedAt?: string | undefined;
|
|
9840
11482
|
error?: string | undefined;
|
|
9841
11483
|
sessionId?: string | undefined;
|
|
9842
|
-
backend?: "claude" | "codex" | "opencode" | undefined;
|
|
11484
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11485
|
+
profileId?: string | undefined;
|
|
9843
11486
|
costUsd?: number | undefined;
|
|
9844
11487
|
}[];
|
|
9845
11488
|
workflowDef?: {
|
|
@@ -9851,7 +11494,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9851
11494
|
prompt?: string | undefined;
|
|
9852
11495
|
skill?: string | undefined;
|
|
9853
11496
|
model?: string | undefined;
|
|
9854
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
11497
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
9855
11498
|
allowedTools?: string[] | undefined;
|
|
9856
11499
|
bashAllowlist?: string[] | undefined;
|
|
9857
11500
|
command?: string | undefined;
|
|
@@ -9876,7 +11519,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9876
11519
|
prompt?: string | undefined;
|
|
9877
11520
|
skill?: string | undefined;
|
|
9878
11521
|
model?: string | undefined;
|
|
9879
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
11522
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
9880
11523
|
allowedTools?: string[] | undefined;
|
|
9881
11524
|
bashAllowlist?: string[] | undefined;
|
|
9882
11525
|
command?: string | undefined;
|
|
@@ -9887,7 +11530,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9887
11530
|
}[] | undefined;
|
|
9888
11531
|
task: string;
|
|
9889
11532
|
model?: string | undefined;
|
|
9890
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
11533
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11534
|
+
agentProfile?: string | undefined;
|
|
9891
11535
|
variants?: number | undefined;
|
|
9892
11536
|
worktree?: boolean | undefined;
|
|
9893
11537
|
autonomous?: boolean | undefined;
|
|
@@ -9926,7 +11570,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9926
11570
|
taskImages?: string[] | undefined;
|
|
9927
11571
|
model?: string | undefined;
|
|
9928
11572
|
modelIdentity?: string | undefined;
|
|
9929
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
11573
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11574
|
+
agentProfile?: string | undefined;
|
|
9930
11575
|
systemPrompt?: string | undefined;
|
|
9931
11576
|
generateFollowups?: boolean | undefined;
|
|
9932
11577
|
autonomous?: boolean | undefined;
|
|
@@ -9941,6 +11586,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9941
11586
|
activity?: "monitoring" | undefined;
|
|
9942
11587
|
monitoringWakeAt?: string | undefined;
|
|
9943
11588
|
monitoringWakeCapReached?: boolean | undefined;
|
|
11589
|
+
autoResumeAt?: string | undefined;
|
|
11590
|
+
autoResumeAttempts?: number | undefined;
|
|
9944
11591
|
createdAt: string;
|
|
9945
11592
|
startedAt?: string | undefined;
|
|
9946
11593
|
finishedAt?: string | undefined;
|
|
@@ -9993,7 +11640,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9993
11640
|
finishedAt?: string | undefined;
|
|
9994
11641
|
error?: string | undefined;
|
|
9995
11642
|
sessionId?: string | undefined;
|
|
9996
|
-
backend?: "claude" | "codex" | "opencode" | undefined;
|
|
11643
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11644
|
+
profileId?: string | undefined;
|
|
9997
11645
|
costUsd?: number | undefined;
|
|
9998
11646
|
}[];
|
|
9999
11647
|
workflowDef?: {
|
|
@@ -10005,7 +11653,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10005
11653
|
prompt?: string | undefined;
|
|
10006
11654
|
skill?: string | undefined;
|
|
10007
11655
|
model?: string | undefined;
|
|
10008
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
11656
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
10009
11657
|
allowedTools?: string[] | undefined;
|
|
10010
11658
|
bashAllowlist?: string[] | undefined;
|
|
10011
11659
|
command?: string | undefined;
|
|
@@ -10039,6 +11687,126 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10039
11687
|
};
|
|
10040
11688
|
};
|
|
10041
11689
|
};
|
|
11690
|
+
} & {
|
|
11691
|
+
"/runs/:id/history": {
|
|
11692
|
+
$get: {
|
|
11693
|
+
output: {
|
|
11694
|
+
error: string;
|
|
11695
|
+
};
|
|
11696
|
+
outputFormat: "json";
|
|
11697
|
+
status: 400;
|
|
11698
|
+
input: {
|
|
11699
|
+
param: {
|
|
11700
|
+
id: string;
|
|
11701
|
+
};
|
|
11702
|
+
} & {
|
|
11703
|
+
query: {
|
|
11704
|
+
cursor?: string | undefined;
|
|
11705
|
+
};
|
|
11706
|
+
};
|
|
11707
|
+
} | {
|
|
11708
|
+
output: {
|
|
11709
|
+
error: string;
|
|
11710
|
+
};
|
|
11711
|
+
outputFormat: "json";
|
|
11712
|
+
status: 404;
|
|
11713
|
+
input: {
|
|
11714
|
+
param: {
|
|
11715
|
+
id: string;
|
|
11716
|
+
};
|
|
11717
|
+
} & {
|
|
11718
|
+
query: {
|
|
11719
|
+
cursor?: string | undefined;
|
|
11720
|
+
};
|
|
11721
|
+
};
|
|
11722
|
+
} | {
|
|
11723
|
+
output: {
|
|
11724
|
+
events: {
|
|
11725
|
+
[x: string]: any;
|
|
11726
|
+
seq: number;
|
|
11727
|
+
ts: string;
|
|
11728
|
+
stepId?: string | undefined;
|
|
11729
|
+
type: string;
|
|
11730
|
+
}[];
|
|
11731
|
+
itemCount: number;
|
|
11732
|
+
olderCursor?: string | undefined;
|
|
11733
|
+
newerCursor?: string | undefined;
|
|
11734
|
+
liveCursor: string;
|
|
11735
|
+
asOfSeq: number;
|
|
11736
|
+
hasOlder: boolean;
|
|
11737
|
+
};
|
|
11738
|
+
outputFormat: "json";
|
|
11739
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
11740
|
+
input: {
|
|
11741
|
+
param: {
|
|
11742
|
+
id: string;
|
|
11743
|
+
};
|
|
11744
|
+
} & {
|
|
11745
|
+
query: {
|
|
11746
|
+
cursor?: string | undefined;
|
|
11747
|
+
};
|
|
11748
|
+
};
|
|
11749
|
+
} | {
|
|
11750
|
+
output: {
|
|
11751
|
+
error: string;
|
|
11752
|
+
};
|
|
11753
|
+
outputFormat: "json";
|
|
11754
|
+
status: 400 | 409;
|
|
11755
|
+
input: {
|
|
11756
|
+
param: {
|
|
11757
|
+
id: string;
|
|
11758
|
+
};
|
|
11759
|
+
} & {
|
|
11760
|
+
query: {
|
|
11761
|
+
cursor?: string | undefined;
|
|
11762
|
+
};
|
|
11763
|
+
};
|
|
11764
|
+
};
|
|
11765
|
+
};
|
|
11766
|
+
} & {
|
|
11767
|
+
"/runs/:id/history-context": {
|
|
11768
|
+
$get: {
|
|
11769
|
+
output: {
|
|
11770
|
+
error: string;
|
|
11771
|
+
};
|
|
11772
|
+
outputFormat: "json";
|
|
11773
|
+
status: 400;
|
|
11774
|
+
input: {
|
|
11775
|
+
param: {
|
|
11776
|
+
id: string;
|
|
11777
|
+
};
|
|
11778
|
+
};
|
|
11779
|
+
} | {
|
|
11780
|
+
output: {
|
|
11781
|
+
error: string;
|
|
11782
|
+
};
|
|
11783
|
+
outputFormat: "json";
|
|
11784
|
+
status: 404;
|
|
11785
|
+
input: {
|
|
11786
|
+
param: {
|
|
11787
|
+
id: string;
|
|
11788
|
+
};
|
|
11789
|
+
};
|
|
11790
|
+
} | {
|
|
11791
|
+
output: {
|
|
11792
|
+
contextEvents: {
|
|
11793
|
+
[x: string]: any;
|
|
11794
|
+
seq: number;
|
|
11795
|
+
ts: string;
|
|
11796
|
+
stepId?: string | undefined;
|
|
11797
|
+
type: string;
|
|
11798
|
+
}[];
|
|
11799
|
+
asOfSeq: number;
|
|
11800
|
+
};
|
|
11801
|
+
outputFormat: "json";
|
|
11802
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
11803
|
+
input: {
|
|
11804
|
+
param: {
|
|
11805
|
+
id: string;
|
|
11806
|
+
};
|
|
11807
|
+
};
|
|
11808
|
+
};
|
|
11809
|
+
};
|
|
10042
11810
|
} & {
|
|
10043
11811
|
"/runs/:id": {
|
|
10044
11812
|
$patch: {
|
|
@@ -10063,7 +11831,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10063
11831
|
taskImages?: string[] | undefined;
|
|
10064
11832
|
model?: string | undefined;
|
|
10065
11833
|
modelIdentity?: string | undefined;
|
|
10066
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
11834
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11835
|
+
agentProfile?: string | undefined;
|
|
10067
11836
|
systemPrompt?: string | undefined;
|
|
10068
11837
|
generateFollowups?: boolean | undefined;
|
|
10069
11838
|
autonomous?: boolean | undefined;
|
|
@@ -10078,6 +11847,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10078
11847
|
activity?: "monitoring" | undefined;
|
|
10079
11848
|
monitoringWakeAt?: string | undefined;
|
|
10080
11849
|
monitoringWakeCapReached?: boolean | undefined;
|
|
11850
|
+
autoResumeAt?: string | undefined;
|
|
11851
|
+
autoResumeAttempts?: number | undefined;
|
|
10081
11852
|
createdAt: string;
|
|
10082
11853
|
startedAt?: string | undefined;
|
|
10083
11854
|
finishedAt?: string | undefined;
|
|
@@ -10130,7 +11901,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10130
11901
|
finishedAt?: string | undefined;
|
|
10131
11902
|
error?: string | undefined;
|
|
10132
11903
|
sessionId?: string | undefined;
|
|
10133
|
-
backend?: "claude" | "codex" | "opencode" | undefined;
|
|
11904
|
+
backend?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11905
|
+
profileId?: string | undefined;
|
|
10134
11906
|
costUsd?: number | undefined;
|
|
10135
11907
|
}[];
|
|
10136
11908
|
workflowDef?: {
|
|
@@ -10142,7 +11914,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10142
11914
|
prompt?: string | undefined;
|
|
10143
11915
|
skill?: string | undefined;
|
|
10144
11916
|
model?: string | undefined;
|
|
10145
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
11917
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
10146
11918
|
allowedTools?: string[] | undefined;
|
|
10147
11919
|
bashAllowlist?: string[] | undefined;
|
|
10148
11920
|
command?: string | undefined;
|
|
@@ -10555,7 +12327,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10555
12327
|
mediaType: string;
|
|
10556
12328
|
data: string;
|
|
10557
12329
|
}[] | undefined;
|
|
10558
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
12330
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
10559
12331
|
model?: string | undefined;
|
|
10560
12332
|
};
|
|
10561
12333
|
} & {
|
|
@@ -10576,7 +12348,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10576
12348
|
mediaType: string;
|
|
10577
12349
|
data: string;
|
|
10578
12350
|
}[] | undefined;
|
|
10579
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
12351
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
10580
12352
|
model?: string | undefined;
|
|
10581
12353
|
};
|
|
10582
12354
|
} & {
|
|
@@ -10597,7 +12369,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10597
12369
|
mediaType: string;
|
|
10598
12370
|
data: string;
|
|
10599
12371
|
}[] | undefined;
|
|
10600
|
-
runner?: "claude" | "codex" | "opencode" | undefined;
|
|
12372
|
+
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
10601
12373
|
model?: string | undefined;
|
|
10602
12374
|
};
|
|
10603
12375
|
} & {
|
|
@@ -10717,20 +12489,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10717
12489
|
} & {
|
|
10718
12490
|
"/runs/:id/handoff": {
|
|
10719
12491
|
$get: {
|
|
10720
|
-
output:
|
|
10721
|
-
|
|
10722
|
-
|
|
10723
|
-
outputFormat: "json";
|
|
10724
|
-
status: 404;
|
|
12492
|
+
output: string;
|
|
12493
|
+
outputFormat: "text";
|
|
12494
|
+
status: 200;
|
|
10725
12495
|
input: {
|
|
10726
12496
|
param: {
|
|
10727
12497
|
id: string;
|
|
10728
12498
|
};
|
|
10729
12499
|
};
|
|
10730
12500
|
} | {
|
|
10731
|
-
output:
|
|
10732
|
-
|
|
10733
|
-
|
|
12501
|
+
output: {
|
|
12502
|
+
error: string;
|
|
12503
|
+
};
|
|
12504
|
+
outputFormat: "json";
|
|
12505
|
+
status: 404;
|
|
10734
12506
|
input: {
|
|
10735
12507
|
param: {
|
|
10736
12508
|
id: string;
|
|
@@ -10756,20 +12528,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10756
12528
|
} & {
|
|
10757
12529
|
"/runs/:id/diff": {
|
|
10758
12530
|
$get: {
|
|
10759
|
-
output:
|
|
10760
|
-
|
|
10761
|
-
|
|
10762
|
-
outputFormat: "json";
|
|
10763
|
-
status: 404;
|
|
12531
|
+
output: string;
|
|
12532
|
+
outputFormat: "text";
|
|
12533
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
10764
12534
|
input: {
|
|
10765
12535
|
param: {
|
|
10766
12536
|
id: string;
|
|
10767
12537
|
};
|
|
10768
12538
|
};
|
|
10769
12539
|
} | {
|
|
10770
|
-
output:
|
|
10771
|
-
|
|
10772
|
-
|
|
12540
|
+
output: {
|
|
12541
|
+
error: string;
|
|
12542
|
+
};
|
|
12543
|
+
outputFormat: "json";
|
|
12544
|
+
status: 404;
|
|
10773
12545
|
input: {
|
|
10774
12546
|
param: {
|
|
10775
12547
|
id: string;
|