@hearsay-tools/squawk 0.18.0-dev.7836 → 0.18.0-dev.7847
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/README.md +11 -9
- package/dist/config.js +1 -1
- package/dist/contract/control-locations.d.ts +1 -1
- package/dist/contract/index.js +1 -1
- package/dist/contract/workspace.d.ts +3 -3
- package/dist/core/backend-detect.d.ts +1 -1
- package/dist/core/backend-detect.js +1 -1
- package/dist/delegation/routes.d.ts +65 -65
- package/dist/delegation/transport.d.ts +65 -65
- package/dist/runners/antigravity/detection.d.ts +1 -1
- package/dist/runners/antigravity/detection.js +1 -1
- package/dist/runners/antigravity/detection.js.map +1 -1
- package/dist/runners/antigravity/display.d.ts +2 -2
- package/dist/runners/antigravity/display.js +1 -1
- package/dist/runners/antigravity/display.js.map +1 -1
- package/dist/runners/antigravity/executable.d.ts +1 -1
- package/dist/runners/antigravity/executable.js +1 -1
- package/dist/runners/antigravity/executable.js.map +1 -1
- package/dist/runners/antigravity/login.d.ts +1 -1
- package/dist/runners/antigravity/login.js +1 -1
- package/dist/runners/antigravity/login.js.map +1 -1
- package/dist/server/provider-sign-in-routes.d.ts +2 -2
- package/dist/server/runner-install-routes.d.ts +10 -10
- package/dist/server/server.d.ts +1593 -1593
- package/dist/server/server.js +1 -1
- package/dist/server/server.js.map +1 -1
- package/dist/server-install/steps.js +1 -1
- package/dist/server-install/steps.js.map +1 -1
- package/package.json +4 -4
- package/web/dist/assets/activity-motion-CUiNY01w.js +2 -0
- package/web/dist/assets/{activity-route-CTJT4zv2.js → activity-route-Cz-rvbZ2.js} +1 -1
- package/web/dist/assets/attention-BbVNVmrP.js +1 -0
- package/web/dist/assets/{commit-diff-panel-BoK-qLXZ.js → commit-diff-panel-DMI0GCL1.js} +1 -1
- package/web/dist/assets/{diff-BHFOGiZQ.js → diff-DI4VzuYN.js} +2 -2
- package/web/dist/assets/{diff-view-BcEpsdxN.js → diff-view-D_4gizCK.js} +1 -1
- package/web/dist/assets/dropdown-menu-D4zMgwkC.js +1 -0
- package/web/dist/assets/{file-preview-DQmUdQku.js → file-preview-Bi4gKafB.js} +1 -1
- package/web/dist/assets/{git-toolbar-CIMGnrx-.js → git-toolbar-rD304H-0.js} +1 -1
- package/web/dist/assets/{github-DNt7fatG.js → github-DZQgKb40.js} +1 -1
- package/web/dist/assets/{global-activity-route-DvJfgzVz.js → global-activity-route-DlY7H1rT.js} +1 -1
- package/web/dist/assets/index-D4lUB-OA.js +14 -0
- package/web/dist/assets/index-DXvh46tl.css +1 -0
- package/web/dist/assets/{markdown-C78nwKGh.js → markdown-doq86ner.js} +1 -1
- package/web/dist/assets/picker-pill-B8HQMHMO.js +15 -0
- package/web/dist/assets/{preview-pane-connected-DAkxP33O.js → preview-pane-connected-Dggh7YST.js} +2 -2
- package/web/dist/assets/{project-router-BLLH9tz9.js → project-router-CFmb6NlX.js} +1 -1
- package/web/dist/assets/project-scope-context-Dlbq88xo.js +4 -0
- package/web/dist/assets/{prompt-template-menu-ntY16IJm.js → prompt-template-menu-DBFmXFq5.js} +1 -1
- package/web/dist/assets/queries-BtkCvBtK.js +1 -0
- package/web/dist/assets/reference-chip-6RyUrDc6.js +1 -0
- package/web/dist/assets/{repo-git-DTINuV7R.js → repo-git-7kwazD3R.js} +1 -1
- package/web/dist/assets/{report-reader-TsL5jS1q.js → report-reader-Dg2ojBc_.js} +1 -1
- package/web/dist/assets/reports-DaN1XZ5g.js +1 -0
- package/web/dist/assets/run-header-GF37CaAZ.js +2 -0
- package/web/dist/assets/{runners-BZb4ezwE.js → runners-M0-6Uumh.js} +1 -1
- package/web/dist/assets/{skills-Cc2FsHZq.js → skills-CXU7ZjvL.js} +1 -1
- package/web/dist/assets/{tab-link-DkArCoa9.js → tab-link-B8m0q2sJ.js} +1 -1
- package/web/dist/assets/{task-changes-Bis3iY6D.js → task-changes-BuVilcOg.js} +1 -1
- package/web/dist/assets/{task-commits-CELN07IE.js → task-commits-DDWgrNtx.js} +1 -1
- package/web/dist/assets/{task-files-Xj9SbIQY.js → task-files-D-vyiZrz.js} +1 -1
- package/web/dist/assets/{task-github-item-8Wi29msX.js → task-github-item-DQHmhrMu.js} +1 -1
- package/web/dist/assets/task-thread-CQN8oXtT.js +9 -0
- package/web/dist/assets/{thread-state-DjdzGdTP.js → thread-state-Cd3Q9ZdX.js} +1 -1
- package/web/dist/assets/{use-desktop-CEB_iBfH.js → use-desktop-NTwdvSZg.js} +1 -1
- package/web/dist/assets/use-hand-to-agent-state-DMy1raU0.js +1 -0
- package/web/dist/assets/{useInfiniteQuery-Bh_R8jAH.js → useInfiniteQuery-g210uX4t.js} +1 -1
- package/web/dist/assets/useQuery-D89BPQpm.js +1 -0
- package/web/dist/assets/{workflows-BgbhcFeb.js → workflows-KeaSZ0DF.js} +2 -2
- package/web/dist/assets/{ws-DCvFYEh3.js → ws-DBXUJ3K4.js} +1 -1
- package/web/dist/index.html +15 -15
- package/web/dist/assets/activity-motion-CMaQA87f.js +0 -2
- package/web/dist/assets/attention-CfWn6Sw7.js +0 -1
- package/web/dist/assets/dropdown-menu-DRFDwG2X.js +0 -1
- package/web/dist/assets/index-Bcs60T3F.js +0 -14
- package/web/dist/assets/index-CSsMeh0Q.css +0 -1
- package/web/dist/assets/picker-pill-DW8uRjlV.js +0 -15
- package/web/dist/assets/project-scope-context-CR3cozni.js +0 -4
- package/web/dist/assets/queries-BCXjp1_j.js +0 -1
- package/web/dist/assets/reference-chip-1O0efJ0d.js +0 -1
- package/web/dist/assets/reports-MBONm90i.js +0 -1
- package/web/dist/assets/run-header-BbuegkrJ.js +0 -2
- package/web/dist/assets/task-thread-BpprgiEm.js +0 -9
- package/web/dist/assets/use-hand-to-agent-state-BrTzbU6r.js +0 -1
- package/web/dist/assets/useQuery-Ct6O0RmO.js +0 -1
package/README.md
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
**Parallel coding agents orchestrator** — a local cockpit for running and
|
|
11
11
|
tracking AI coding-agent tasks in your repo.
|
|
12
12
|
|
|
13
|
-
Type a task, pick a workflow and an agent — **Claude Code, Codex, OpenCode, pi
|
|
14
|
-
OMP (OpenCode, pi and OMP experimental), or a mix of them per step** — and watch it work live: steps, tool calls,
|
|
13
|
+
Type a task, pick a workflow and an agent — **Claude Code, Codex, OpenCode, pi,
|
|
14
|
+
OMP or Antigravity (OpenCode, pi and OMP experimental), or a mix of them per step** — and watch it work live: steps, tool calls,
|
|
15
15
|
tokens, diffs, in a browser cockpit that runs entirely on your machine.
|
|
16
16
|
Your CLI logins, your `gh`, your files. No accounts, no database server, no cloud.
|
|
17
17
|
|
|
@@ -84,7 +84,8 @@ it does better than any of them:
|
|
|
84
84
|
- 🪶 **Genuinely zero config.** `npx -p @hearsay-tools/squawk hsq` in your repo and you're running —
|
|
85
85
|
no wizard, no API keys, no env vars, no schema, no database server. It rides the
|
|
86
86
|
`claude` / `codex` / `opencode` / `pi` / `omp` logins and the `gh` you already have, and every
|
|
87
|
-
missing piece degrades gracefully instead of blocking you.
|
|
87
|
+
missing piece degrades gracefully instead of blocking you. The Google Antigravity CLI
|
|
88
|
+
installs and signs in from **Settings → Agents**.
|
|
88
89
|
- 🖥️ **Built for a server (VPS mode).** Squawk is made to live on a **VPS, cloud,
|
|
89
90
|
or dedicated box** as an always-on janitor for your repo — headless-first, with
|
|
90
91
|
a mobile-friendly cockpit you drive from anywhere. It's a coding server you can
|
|
@@ -125,7 +126,7 @@ and an orchestrator keeps a whole queue of them moving.
|
|
|
125
126
|
its own branch: inspect it, send notes back into the same session, or push a
|
|
126
127
|
**draft PR**. Auto merge is off by default; each task can opt in to merge after Done.
|
|
127
128
|
Turn on the optional **review gate**
|
|
128
|
-
(`HSQ_REVIEW_GATE=1` (`CEZ_REVIEW_GATE` fallback) or Settings →
|
|
129
|
+
(`HSQ_REVIEW_GATE=1` (`CEZ_REVIEW_GATE` fallback) or Settings → Agent defaults) and a finished run with changes
|
|
129
130
|
waits in `review` for you.
|
|
130
131
|
- ♻️ **Losing a session when it fails.** Every run records its `claude` session id.
|
|
131
132
|
Take it over interactively in one click (`claude --resume <id>`), or continue it
|
|
@@ -135,7 +136,7 @@ and an orchestrator keeps a whole queue of them moving.
|
|
|
135
136
|
subagents from the stopped process stopped with it and that its shell commands
|
|
136
137
|
may have stopped. The cockpit shows this notice beside your message.
|
|
137
138
|
- 🔀 **Locked into one agent vendor.** Most tools wed you to a single CLI. Squawk
|
|
138
|
-
drives **Claude Code, Codex, OpenCode, pi and
|
|
139
|
+
drives **Claude Code, Codex, OpenCode, pi, OMP and Antigravity** (OpenCode, pi and OMP
|
|
139
140
|
experimental) through one runner seam — set a
|
|
140
141
|
default, pick a backend per task, or mix them inside one workflow (implement
|
|
141
142
|
with one agent, review with another) — and through **OpenCode**, **pi** or
|
|
@@ -175,7 +176,8 @@ the [`codex` CLI](https://github.com/openai/codex),
|
|
|
175
176
|
[OpenCode](https://opencode.ai), the
|
|
176
177
|
[pi](https://github.com/badlogic/pi-mono), or
|
|
177
178
|
[OMP](https://github.com/can1357/oh-my-pi) — and, optionally, `git` and the
|
|
178
|
-
`gh` CLI.
|
|
179
|
+
`gh` CLI. You can also install the Google Antigravity CLI from **Settings → Agents**
|
|
180
|
+
once the cockpit runs. Sign in there with a Google account, or set `GEMINI_API_KEY`.
|
|
179
181
|
|
|
180
182
|
```bash
|
|
181
183
|
cd your-repo
|
|
@@ -261,7 +263,7 @@ resolves to the latest stable release.
|
|
|
261
263
|
|
|
262
264
|
You describe a task. Squawk runs it as a **workflow** — an ordered list of agent
|
|
263
265
|
steps and shell checks — shelling out to your locally installed agent CLI
|
|
264
|
-
(Claude Code by default; Codex, OpenCode, pi and
|
|
266
|
+
(Claude Code by default; Codex, OpenCode, pi, OMP and Antigravity are drop-in
|
|
265
267
|
alternatives, per task or per step). Each task gets its own git worktree; the
|
|
266
268
|
cockpit streams every event live and leaves the diff on the task's branch for
|
|
267
269
|
you to inspect.
|
|
@@ -278,7 +280,7 @@ you to inspect.
|
|
|
278
280
|
┌──────────────────────────────┐ ┌────────────────────────────────┐
|
|
279
281
|
│ git worktree per task │ │ agent CLI (your login) │
|
|
280
282
|
│ (isolated branch, parallel) │◄───►│ claude · codex · opencode · │
|
|
281
|
-
└──────────────────────────────┘ │
|
|
283
|
+
└──────────────────────────────┘ │ pi · omp · antigravity │
|
|
282
284
|
│ │ Bash open · no prompts │
|
|
283
285
|
│ └────────────────────────────────┘
|
|
284
286
|
│ agent text · tool calls · tool results · tokens · cost
|
|
@@ -352,7 +354,7 @@ The moves that make the cockpit worth the browser tab:
|
|
|
352
354
|
- 🛡️ **You control merging.** Read a finished run's diff, type notes that go
|
|
353
355
|
straight back into the agent's session, or push a `gh pr create --draft`.
|
|
354
356
|
Auto merge is off by default and requires a task to opt in. The **review gate** is optional (`HSQ_REVIEW_GATE=1` (`CEZ_REVIEW_GATE` fallback), or
|
|
355
|
-
Settings →
|
|
357
|
+
Settings → Agent defaults): with it on, a successful run with changes parks in `review`
|
|
356
358
|
until you accept it. Autonomous runs always skip it.
|
|
357
359
|
- 🗂️ **Every project in one cockpit.** One `hsq serve` hosts every repo you
|
|
358
360
|
register; the desktop rail switches between them, and **All tasks** shows every
|
package/dist/config.js
CHANGED
|
@@ -73,7 +73,7 @@ const configSchema = z.object({
|
|
|
73
73
|
*/
|
|
74
74
|
systemPrompt: z.string().trim().min(1).max(20_000).optional().catch(undefined),
|
|
75
75
|
/**
|
|
76
|
-
* Per-runner default model preset (Settings →
|
|
76
|
+
* Per-runner default model preset (Settings → Agent defaults, redesign R6 1.5): the
|
|
77
77
|
* model id the composer preselects for that runner. Missing = auto (the
|
|
78
78
|
* runner decides). A capability (`model`), never a vendor config format.
|
|
79
79
|
* A record keyed by registered id, checked against the registry when config
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export declare const CONTROL_LOCATIONS: {
|
|
3
3
|
readonly general: readonly ['Settings', 'General'];
|
|
4
4
|
readonly webhooks: readonly ['Settings', 'General', 'Webhooks'];
|
|
5
|
-
readonly providers: readonly ['Settings', '
|
|
5
|
+
readonly providers: readonly ['Settings', 'Agent defaults', 'Providers'];
|
|
6
6
|
readonly projects: readonly ['Settings', 'Projects'];
|
|
7
7
|
readonly worktrees: readonly ['Settings', 'Worktrees'];
|
|
8
8
|
readonly sidebar: readonly ['Settings', 'Sidebar'];
|
package/dist/contract/index.js
CHANGED
|
@@ -5923,7 +5923,7 @@ function reportTitle(artifact) {
|
|
|
5923
5923
|
var CONTROL_LOCATIONS = {
|
|
5924
5924
|
general: ["Settings", "General"],
|
|
5925
5925
|
webhooks: ["Settings", "General", "Webhooks"],
|
|
5926
|
-
providers: ["Settings", "
|
|
5926
|
+
providers: ["Settings", "Agent defaults", "Providers"],
|
|
5927
5927
|
projects: ["Settings", "Projects"],
|
|
5928
5928
|
worktrees: ["Settings", "Worktrees"],
|
|
5929
5929
|
sidebar: ["Settings", "Sidebar"]
|
|
@@ -254,7 +254,7 @@ export declare const setWorkspaceUiStateInputSchema: z.ZodObject<{
|
|
|
254
254
|
}, z.core.$loose>>;
|
|
255
255
|
}, z.core.$loose>;
|
|
256
256
|
export type SetWorkspaceUiStateInput = z.infer<typeof setWorkspaceUiStateInputSchema>;
|
|
257
|
-
/** Per-runner default model preset (Settings →
|
|
257
|
+
/** Per-runner default model preset (Settings → Agent defaults): the composer preselects this model id for
|
|
258
258
|
* the runner. Absent = auto (the runner decides). Keyed by runner id, each independently optional. */
|
|
259
259
|
export declare const runnerModelsSchema: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>;
|
|
260
260
|
export type RunnerModels = z.infer<typeof runnerModelsSchema>;
|
|
@@ -273,7 +273,7 @@ export declare const worktreeSetupConfigSchema: z.ZodObject<{
|
|
|
273
273
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
274
274
|
}, z.core.$strict>;
|
|
275
275
|
export type WorktreeSetupConfig = z.infer<typeof worktreeSetupConfigSchema>;
|
|
276
|
-
/** `GET /api/v1/config` — every Settings →
|
|
276
|
+
/** `GET /api/v1/config` — every Settings → Agent defaults knob in one read. */
|
|
277
277
|
export declare const configResponseSchema: z.ZodObject<{
|
|
278
278
|
archiveOnMerge: z.ZodNullable<z.ZodBoolean>;
|
|
279
279
|
effectiveArchiveOnMerge: z.ZodBoolean;
|
|
@@ -338,7 +338,7 @@ export declare const setConfigResponseSchema: z.ZodObject<{
|
|
|
338
338
|
}, z.core.$strip>;
|
|
339
339
|
export type SetConfigResponse = z.infer<typeof setConfigResponseSchema>;
|
|
340
340
|
/**
|
|
341
|
-
* `PUT /api/v1/config` body (Settings →
|
|
341
|
+
* `PUT /api/v1/config` body (Settings → Agent defaults; the Repo tab's base-branch picker).
|
|
342
342
|
* `baseBranch: null` clears the setting back to "follow checked-out branch"; `systemPrompt` and
|
|
343
343
|
* per-runner `defaultModels` entries clear on `null` (or `''`) too. Merged into the raw
|
|
344
344
|
* config.json server-side — `defaultModels` merges per runner, so one write never clobbers
|
|
@@ -8,7 +8,7 @@ export interface BackendCheck {
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Probe the host for everything cez leans on: the agent CLIs (`claude`, and
|
|
11
|
-
* the optional `codex` / `opencode` / `pi` / `omp` alternatives), `gh` (GitHub auth for
|
|
11
|
+
* the optional `codex` / `opencode` / `pi` / `omp` / `antigravity` alternatives), `gh` (GitHub auth for
|
|
12
12
|
* PR creation) and `git`. Nothing is required except at least one agent CLI —
|
|
13
13
|
* the GUI degrades gracefully, only offers the runners that are present, and
|
|
14
14
|
* shows the hints for the rest.
|
|
@@ -11,7 +11,7 @@ import { runGit } from '../git-command.js';
|
|
|
11
11
|
const exec = promisify(execFile);
|
|
12
12
|
/**
|
|
13
13
|
* Probe the host for everything cez leans on: the agent CLIs (`claude`, and
|
|
14
|
-
* the optional `codex` / `opencode` / `pi` / `omp` alternatives), `gh` (GitHub auth for
|
|
14
|
+
* the optional `codex` / `opencode` / `pi` / `omp` / `antigravity` alternatives), `gh` (GitHub auth for
|
|
15
15
|
* PR creation) and `git`. Nothing is required except at least one agent CLI —
|
|
16
16
|
* the GUI degrades gracefully, only offers the runners that are present, and
|
|
17
17
|
* shows the hints for the rest.
|
|
@@ -27,18 +27,6 @@ export declare function delegationFailure(error: unknown): {
|
|
|
27
27
|
export declare function createDelegationRoutes(service: DelegationService, credentials: CredentialRegistry): import("hono/hono-base").HonoBase<Env, {
|
|
28
28
|
"/list": {
|
|
29
29
|
$get: {
|
|
30
|
-
output: {
|
|
31
|
-
error: string;
|
|
32
|
-
code?: "invalid_input" | undefined;
|
|
33
|
-
};
|
|
34
|
-
outputFormat: "json";
|
|
35
|
-
status: 400;
|
|
36
|
-
input: {
|
|
37
|
-
query: {
|
|
38
|
-
offset?: string | undefined;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
} | {
|
|
42
30
|
output: {
|
|
43
31
|
workers: {
|
|
44
32
|
workerId: string;
|
|
@@ -85,6 +73,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
85
73
|
offset?: string | undefined;
|
|
86
74
|
};
|
|
87
75
|
};
|
|
76
|
+
} | {
|
|
77
|
+
output: {
|
|
78
|
+
error: string;
|
|
79
|
+
code?: "invalid_input" | undefined;
|
|
80
|
+
};
|
|
81
|
+
outputFormat: "json";
|
|
82
|
+
status: 400;
|
|
83
|
+
input: {
|
|
84
|
+
query: {
|
|
85
|
+
offset?: string | undefined;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
88
|
};
|
|
89
89
|
};
|
|
90
90
|
} & {
|
|
@@ -629,18 +629,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
629
629
|
} & {
|
|
630
630
|
"/:workerId": {
|
|
631
631
|
$get: {
|
|
632
|
-
output: {
|
|
633
|
-
error: string;
|
|
634
|
-
code?: "invalid_input" | undefined;
|
|
635
|
-
};
|
|
636
|
-
outputFormat: "json";
|
|
637
|
-
status: 400;
|
|
638
|
-
input: {
|
|
639
|
-
param: {
|
|
640
|
-
workerId: string;
|
|
641
|
-
};
|
|
642
|
-
};
|
|
643
|
-
} | {
|
|
644
632
|
output: {
|
|
645
633
|
workerId: string;
|
|
646
634
|
settled: boolean;
|
|
@@ -758,11 +746,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
758
746
|
workerId: string;
|
|
759
747
|
};
|
|
760
748
|
};
|
|
761
|
-
}
|
|
762
|
-
};
|
|
763
|
-
} & {
|
|
764
|
-
"/:workerId/collect": {
|
|
765
|
-
$post: {
|
|
749
|
+
} | {
|
|
766
750
|
output: {
|
|
767
751
|
error: string;
|
|
768
752
|
code?: "invalid_input" | undefined;
|
|
@@ -773,10 +757,12 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
773
757
|
param: {
|
|
774
758
|
workerId: string;
|
|
775
759
|
};
|
|
776
|
-
} & {
|
|
777
|
-
json: Record<string, never>;
|
|
778
760
|
};
|
|
779
|
-
}
|
|
761
|
+
};
|
|
762
|
+
};
|
|
763
|
+
} & {
|
|
764
|
+
"/:workerId/collect": {
|
|
765
|
+
$post: {
|
|
780
766
|
output: {
|
|
781
767
|
workerId: string;
|
|
782
768
|
parentRunId: string;
|
|
@@ -899,11 +885,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
899
885
|
} & {
|
|
900
886
|
json: Record<string, never>;
|
|
901
887
|
};
|
|
902
|
-
}
|
|
903
|
-
};
|
|
904
|
-
} & {
|
|
905
|
-
"/:workerId/steer": {
|
|
906
|
-
$post: {
|
|
888
|
+
} | {
|
|
907
889
|
output: {
|
|
908
890
|
error: string;
|
|
909
891
|
code?: "invalid_input" | undefined;
|
|
@@ -915,11 +897,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
915
897
|
workerId: string;
|
|
916
898
|
};
|
|
917
899
|
} & {
|
|
918
|
-
json:
|
|
919
|
-
text: string;
|
|
920
|
-
};
|
|
900
|
+
json: Record<string, never>;
|
|
921
901
|
};
|
|
922
|
-
}
|
|
902
|
+
};
|
|
903
|
+
};
|
|
904
|
+
} & {
|
|
905
|
+
"/:workerId/steer": {
|
|
906
|
+
$post: {
|
|
923
907
|
output: {
|
|
924
908
|
workerId: string;
|
|
925
909
|
state: "delivered" | "queued";
|
|
@@ -935,11 +919,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
935
919
|
text: string;
|
|
936
920
|
};
|
|
937
921
|
};
|
|
938
|
-
}
|
|
939
|
-
};
|
|
940
|
-
} & {
|
|
941
|
-
"/:workerId/stop": {
|
|
942
|
-
$post: {
|
|
922
|
+
} | {
|
|
943
923
|
output: {
|
|
944
924
|
error: string;
|
|
945
925
|
code?: "invalid_input" | undefined;
|
|
@@ -951,9 +931,15 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
951
931
|
workerId: string;
|
|
952
932
|
};
|
|
953
933
|
} & {
|
|
954
|
-
json:
|
|
934
|
+
json: {
|
|
935
|
+
text: string;
|
|
936
|
+
};
|
|
955
937
|
};
|
|
956
|
-
}
|
|
938
|
+
};
|
|
939
|
+
};
|
|
940
|
+
} & {
|
|
941
|
+
"/:workerId/stop": {
|
|
942
|
+
$post: {
|
|
957
943
|
output: {
|
|
958
944
|
workerId: string;
|
|
959
945
|
state: "stopping" | "terminated";
|
|
@@ -967,11 +953,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
967
953
|
} & {
|
|
968
954
|
json: Record<string, never>;
|
|
969
955
|
};
|
|
970
|
-
}
|
|
971
|
-
};
|
|
972
|
-
} & {
|
|
973
|
-
"/:workerId/destroy": {
|
|
974
|
-
$post: {
|
|
956
|
+
} | {
|
|
975
957
|
output: {
|
|
976
958
|
error: string;
|
|
977
959
|
code?: "invalid_input" | undefined;
|
|
@@ -983,11 +965,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
983
965
|
workerId: string;
|
|
984
966
|
};
|
|
985
967
|
} & {
|
|
986
|
-
json:
|
|
987
|
-
discardWork?: true | undefined;
|
|
988
|
-
};
|
|
968
|
+
json: Record<string, never>;
|
|
989
969
|
};
|
|
990
|
-
}
|
|
970
|
+
};
|
|
971
|
+
};
|
|
972
|
+
} & {
|
|
973
|
+
"/:workerId/destroy": {
|
|
974
|
+
$post: {
|
|
991
975
|
output: {
|
|
992
976
|
workerId: string;
|
|
993
977
|
state: "complete" | "incomplete";
|
|
@@ -1016,6 +1000,22 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1016
1000
|
discardWork?: true | undefined;
|
|
1017
1001
|
};
|
|
1018
1002
|
};
|
|
1003
|
+
} | {
|
|
1004
|
+
output: {
|
|
1005
|
+
error: string;
|
|
1006
|
+
code?: "invalid_input" | undefined;
|
|
1007
|
+
};
|
|
1008
|
+
outputFormat: "json";
|
|
1009
|
+
status: 400;
|
|
1010
|
+
input: {
|
|
1011
|
+
param: {
|
|
1012
|
+
workerId: string;
|
|
1013
|
+
};
|
|
1014
|
+
} & {
|
|
1015
|
+
json: {
|
|
1016
|
+
discardWork?: true | undefined;
|
|
1017
|
+
};
|
|
1018
|
+
};
|
|
1019
1019
|
} | {
|
|
1020
1020
|
output: {
|
|
1021
1021
|
workerId: string;
|
|
@@ -1051,11 +1051,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1051
1051
|
"/:workerId/diff": {
|
|
1052
1052
|
$get: {
|
|
1053
1053
|
output: {
|
|
1054
|
-
|
|
1055
|
-
|
|
1054
|
+
workerId: string;
|
|
1055
|
+
baselineSha: string;
|
|
1056
|
+
diff: string;
|
|
1057
|
+
truncated: boolean;
|
|
1056
1058
|
};
|
|
1057
1059
|
outputFormat: "json";
|
|
1058
|
-
status:
|
|
1060
|
+
status: 200;
|
|
1059
1061
|
input: {
|
|
1060
1062
|
param: {
|
|
1061
1063
|
workerId: string;
|
|
@@ -1063,13 +1065,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1063
1065
|
};
|
|
1064
1066
|
} | {
|
|
1065
1067
|
output: {
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
diff: string;
|
|
1069
|
-
truncated: boolean;
|
|
1068
|
+
error: string;
|
|
1069
|
+
code?: "invalid_input" | undefined;
|
|
1070
1070
|
};
|
|
1071
1071
|
outputFormat: "json";
|
|
1072
|
-
status:
|
|
1072
|
+
status: 400;
|
|
1073
1073
|
input: {
|
|
1074
1074
|
param: {
|
|
1075
1075
|
workerId: string;
|
|
@@ -2,18 +2,6 @@ import type { DelegationRoutes } from './routes.ts';
|
|
|
2
2
|
export declare function createDelegationApp(routes: DelegationRoutes): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
3
3
|
"/list": {
|
|
4
4
|
$get: {
|
|
5
|
-
output: {
|
|
6
|
-
error: string;
|
|
7
|
-
code?: "invalid_input" | undefined;
|
|
8
|
-
};
|
|
9
|
-
outputFormat: "json";
|
|
10
|
-
status: 400;
|
|
11
|
-
input: {
|
|
12
|
-
query: {
|
|
13
|
-
offset?: string | undefined;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
} | {
|
|
17
5
|
output: {
|
|
18
6
|
workers: {
|
|
19
7
|
workerId: string;
|
|
@@ -60,6 +48,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
60
48
|
offset?: string | undefined;
|
|
61
49
|
};
|
|
62
50
|
};
|
|
51
|
+
} | {
|
|
52
|
+
output: {
|
|
53
|
+
error: string;
|
|
54
|
+
code?: "invalid_input" | undefined;
|
|
55
|
+
};
|
|
56
|
+
outputFormat: "json";
|
|
57
|
+
status: 400;
|
|
58
|
+
input: {
|
|
59
|
+
query: {
|
|
60
|
+
offset?: string | undefined;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
63
|
};
|
|
64
64
|
};
|
|
65
65
|
} & {
|
|
@@ -604,18 +604,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
604
604
|
} & {
|
|
605
605
|
"/:workerId": {
|
|
606
606
|
$get: {
|
|
607
|
-
output: {
|
|
608
|
-
error: string;
|
|
609
|
-
code?: "invalid_input" | undefined;
|
|
610
|
-
};
|
|
611
|
-
outputFormat: "json";
|
|
612
|
-
status: 400;
|
|
613
|
-
input: {
|
|
614
|
-
param: {
|
|
615
|
-
workerId: string;
|
|
616
|
-
};
|
|
617
|
-
};
|
|
618
|
-
} | {
|
|
619
607
|
output: {
|
|
620
608
|
workerId: string;
|
|
621
609
|
settled: boolean;
|
|
@@ -733,11 +721,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
733
721
|
workerId: string;
|
|
734
722
|
};
|
|
735
723
|
};
|
|
736
|
-
}
|
|
737
|
-
};
|
|
738
|
-
} & {
|
|
739
|
-
"/:workerId/collect": {
|
|
740
|
-
$post: {
|
|
724
|
+
} | {
|
|
741
725
|
output: {
|
|
742
726
|
error: string;
|
|
743
727
|
code?: "invalid_input" | undefined;
|
|
@@ -748,10 +732,12 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
748
732
|
param: {
|
|
749
733
|
workerId: string;
|
|
750
734
|
};
|
|
751
|
-
} & {
|
|
752
|
-
json: Record<string, never>;
|
|
753
735
|
};
|
|
754
|
-
}
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
} & {
|
|
739
|
+
"/:workerId/collect": {
|
|
740
|
+
$post: {
|
|
755
741
|
output: {
|
|
756
742
|
workerId: string;
|
|
757
743
|
parentRunId: string;
|
|
@@ -874,11 +860,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
874
860
|
} & {
|
|
875
861
|
json: Record<string, never>;
|
|
876
862
|
};
|
|
877
|
-
}
|
|
878
|
-
};
|
|
879
|
-
} & {
|
|
880
|
-
"/:workerId/steer": {
|
|
881
|
-
$post: {
|
|
863
|
+
} | {
|
|
882
864
|
output: {
|
|
883
865
|
error: string;
|
|
884
866
|
code?: "invalid_input" | undefined;
|
|
@@ -890,11 +872,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
890
872
|
workerId: string;
|
|
891
873
|
};
|
|
892
874
|
} & {
|
|
893
|
-
json:
|
|
894
|
-
text: string;
|
|
895
|
-
};
|
|
875
|
+
json: Record<string, never>;
|
|
896
876
|
};
|
|
897
|
-
}
|
|
877
|
+
};
|
|
878
|
+
};
|
|
879
|
+
} & {
|
|
880
|
+
"/:workerId/steer": {
|
|
881
|
+
$post: {
|
|
898
882
|
output: {
|
|
899
883
|
workerId: string;
|
|
900
884
|
state: "delivered" | "queued";
|
|
@@ -910,11 +894,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
910
894
|
text: string;
|
|
911
895
|
};
|
|
912
896
|
};
|
|
913
|
-
}
|
|
914
|
-
};
|
|
915
|
-
} & {
|
|
916
|
-
"/:workerId/stop": {
|
|
917
|
-
$post: {
|
|
897
|
+
} | {
|
|
918
898
|
output: {
|
|
919
899
|
error: string;
|
|
920
900
|
code?: "invalid_input" | undefined;
|
|
@@ -926,9 +906,15 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
926
906
|
workerId: string;
|
|
927
907
|
};
|
|
928
908
|
} & {
|
|
929
|
-
json:
|
|
909
|
+
json: {
|
|
910
|
+
text: string;
|
|
911
|
+
};
|
|
930
912
|
};
|
|
931
|
-
}
|
|
913
|
+
};
|
|
914
|
+
};
|
|
915
|
+
} & {
|
|
916
|
+
"/:workerId/stop": {
|
|
917
|
+
$post: {
|
|
932
918
|
output: {
|
|
933
919
|
workerId: string;
|
|
934
920
|
state: "stopping" | "terminated";
|
|
@@ -942,11 +928,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
942
928
|
} & {
|
|
943
929
|
json: Record<string, never>;
|
|
944
930
|
};
|
|
945
|
-
}
|
|
946
|
-
};
|
|
947
|
-
} & {
|
|
948
|
-
"/:workerId/destroy": {
|
|
949
|
-
$post: {
|
|
931
|
+
} | {
|
|
950
932
|
output: {
|
|
951
933
|
error: string;
|
|
952
934
|
code?: "invalid_input" | undefined;
|
|
@@ -958,11 +940,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
958
940
|
workerId: string;
|
|
959
941
|
};
|
|
960
942
|
} & {
|
|
961
|
-
json:
|
|
962
|
-
discardWork?: true | undefined;
|
|
963
|
-
};
|
|
943
|
+
json: Record<string, never>;
|
|
964
944
|
};
|
|
965
|
-
}
|
|
945
|
+
};
|
|
946
|
+
};
|
|
947
|
+
} & {
|
|
948
|
+
"/:workerId/destroy": {
|
|
949
|
+
$post: {
|
|
966
950
|
output: {
|
|
967
951
|
workerId: string;
|
|
968
952
|
state: "complete" | "incomplete";
|
|
@@ -991,6 +975,22 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
991
975
|
discardWork?: true | undefined;
|
|
992
976
|
};
|
|
993
977
|
};
|
|
978
|
+
} | {
|
|
979
|
+
output: {
|
|
980
|
+
error: string;
|
|
981
|
+
code?: "invalid_input" | undefined;
|
|
982
|
+
};
|
|
983
|
+
outputFormat: "json";
|
|
984
|
+
status: 400;
|
|
985
|
+
input: {
|
|
986
|
+
param: {
|
|
987
|
+
workerId: string;
|
|
988
|
+
};
|
|
989
|
+
} & {
|
|
990
|
+
json: {
|
|
991
|
+
discardWork?: true | undefined;
|
|
992
|
+
};
|
|
993
|
+
};
|
|
994
994
|
} | {
|
|
995
995
|
output: {
|
|
996
996
|
workerId: string;
|
|
@@ -1026,11 +1026,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1026
1026
|
"/:workerId/diff": {
|
|
1027
1027
|
$get: {
|
|
1028
1028
|
output: {
|
|
1029
|
-
|
|
1030
|
-
|
|
1029
|
+
workerId: string;
|
|
1030
|
+
baselineSha: string;
|
|
1031
|
+
diff: string;
|
|
1032
|
+
truncated: boolean;
|
|
1031
1033
|
};
|
|
1032
1034
|
outputFormat: "json";
|
|
1033
|
-
status:
|
|
1035
|
+
status: 200;
|
|
1034
1036
|
input: {
|
|
1035
1037
|
param: {
|
|
1036
1038
|
workerId: string;
|
|
@@ -1038,13 +1040,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1038
1040
|
};
|
|
1039
1041
|
} | {
|
|
1040
1042
|
output: {
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
diff: string;
|
|
1044
|
-
truncated: boolean;
|
|
1043
|
+
error: string;
|
|
1044
|
+
code?: "invalid_input" | undefined;
|
|
1045
1045
|
};
|
|
1046
1046
|
outputFormat: "json";
|
|
1047
|
-
status:
|
|
1047
|
+
status: 400;
|
|
1048
1048
|
input: {
|
|
1049
1049
|
param: {
|
|
1050
1050
|
workerId: string;
|
|
@@ -10,5 +10,5 @@ export declare const ANTIGRAVITY_DETECTION: {
|
|
|
10
10
|
readonly label: 'the Google Antigravity CLI';
|
|
11
11
|
};
|
|
12
12
|
readonly availableHint: 'Uses GEMINI_API_KEY, GOOGLE_API_KEY, or the Google sign-in of the selected account.';
|
|
13
|
-
readonly missingHint: 'Install the Antigravity CLI from Settings >
|
|
13
|
+
readonly missingHint: 'Install the Antigravity CLI from Settings > Agents > Install CLI, or put agy on PATH.';
|
|
14
14
|
};
|
|
@@ -7,6 +7,6 @@ export const ANTIGRAVITY_DETECTION = {
|
|
|
7
7
|
identify: checkAntigravityCli,
|
|
8
8
|
banner: { pattern: /^\d+\.\d+\.\d+$/, label: 'the Google Antigravity CLI' },
|
|
9
9
|
availableHint: 'Uses GEMINI_API_KEY, GOOGLE_API_KEY, or the Google sign-in of the selected account.',
|
|
10
|
-
missingHint: 'Install the Antigravity CLI from Settings >
|
|
10
|
+
missingHint: 'Install the Antigravity CLI from Settings > Agents > Install CLI, or put agy on PATH.',
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=detection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detection.js","sourceRoot":"","sources":["../../../src/runners/antigravity/detection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,OAAO,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACnG,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,iBAAiB,CAAC,IAAI,SAAS,EAAE,MAAM,EAAE,qBAAqB;IAC3G,MAAM,EAAE,GAAG,EAAE,CAAC,kBAAkB,EAAE,IAAI,uBAAuB,EAAE;IAC/D,+EAA+E;IAC/E,QAAQ,EAAE,mBAAmB;IAC7B,MAAM,EAAE,EAAE,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,4BAA4B,EAAE;IAC3E,aAAa,EAAE,qFAAqF;IACpG,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"detection.js","sourceRoot":"","sources":["../../../src/runners/antigravity/detection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,OAAO,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACnG,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,iBAAiB,CAAC,IAAI,SAAS,EAAE,MAAM,EAAE,qBAAqB;IAC3G,MAAM,EAAE,GAAG,EAAE,CAAC,kBAAkB,EAAE,IAAI,uBAAuB,EAAE;IAC/D,+EAA+E;IAC/E,QAAQ,EAAE,mBAAmB;IAC7B,MAAM,EAAE,EAAE,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,4BAA4B,EAAE;IAC3E,aAAa,EAAE,qFAAqF;IACpG,WAAW,EAAE,uFAAuF;CAClE,CAAC"}
|
|
@@ -5,7 +5,7 @@ export declare const ANTIGRAVITY_DISPLAY: {
|
|
|
5
5
|
readonly pickerLabel: 'Antigravity';
|
|
6
6
|
readonly pickerDescription: 'Google Antigravity CLI over ACP';
|
|
7
7
|
readonly icon: 'bot';
|
|
8
|
-
readonly installHint: 'Settings >
|
|
9
|
-
readonly loginCommand: 'Set GEMINI_API_KEY or GOOGLE_API_KEY, or connect a personal Google account in Settings >
|
|
8
|
+
readonly installHint: 'Settings > Agents > Install CLI';
|
|
9
|
+
readonly loginCommand: 'Set GEMINI_API_KEY or GOOGLE_API_KEY, or connect a personal Google account in Settings > Agents';
|
|
10
10
|
readonly accountFolderExample: '~/.gemini';
|
|
11
11
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const ANTIGRAVITY_DISPLAY = {
|
|
2
2
|
displayName: 'Antigravity', modelListName: 'Antigravity', modelIdScope: 'own',
|
|
3
3
|
pickerLabel: 'Antigravity', pickerDescription: 'Google Antigravity CLI over ACP', icon: 'bot',
|
|
4
|
-
installHint: 'Settings >
|
|
4
|
+
installHint: 'Settings > Agents > Install CLI', loginCommand: 'Set GEMINI_API_KEY or GOOGLE_API_KEY, or connect a personal Google account in Settings > Agents',
|
|
5
5
|
accountFolderExample: '~/.gemini',
|
|
6
6
|
};
|
|
7
7
|
//# sourceMappingURL=display.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"display.js","sourceRoot":"","sources":["../../../src/runners/antigravity/display.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,WAAW,EAAE,aAAa,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,KAAK;IAC7E,WAAW,EAAE,aAAa,EAAE,iBAAiB,EAAE,iCAAiC,EAAE,IAAI,EAAE,KAAK;IAC7F,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"display.js","sourceRoot":"","sources":["../../../src/runners/antigravity/display.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,WAAW,EAAE,aAAa,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,KAAK;IAC7E,WAAW,EAAE,aAAa,EAAE,iBAAiB,EAAE,iCAAiC,EAAE,IAAI,EAAE,KAAK;IAC7F,WAAW,EAAE,iCAAiC,EAAE,YAAY,EAAE,iGAAiG;IAC/J,oBAAoB,EAAE,WAAW;CACD,CAAC"}
|