@wjarka/cezarion 0.13.6 → 0.14.0-pr381.589
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 +27 -3
- package/dist/agent-config/catalog.d.ts +2 -0
- package/dist/agent-config/catalog.js +40 -2
- package/dist/agent-config/catalog.js.map +1 -1
- package/dist/agent-config/models.js +4 -0
- package/dist/agent-config/models.js.map +1 -1
- package/dist/automations/types.d.ts +4 -0
- package/dist/config.d.ts +2 -0
- package/dist/config.js +1 -0
- package/dist/config.js.map +1 -1
- package/dist/contract/agent-config.d.ts +2 -0
- package/dist/contract/agent-profiles.d.ts +15 -0
- package/dist/contract/automations.d.ts +16 -0
- package/dist/contract/delegation.d.ts +6 -0
- package/dist/contract/health.d.ts +4 -0
- package/dist/contract/index.js +20 -11
- package/dist/contract/runs.d.ts +25 -3
- package/dist/contract/skills.d.ts +3 -0
- package/dist/contract/workflows.d.ts +6 -0
- package/dist/contract/workspace.d.ts +20 -2
- package/dist/core/agent-env.js +1 -0
- package/dist/core/agent-env.js.map +1 -1
- package/dist/core/agent-profiles.js +3 -0
- package/dist/core/agent-profiles.js.map +1 -1
- package/dist/core/agent-runner.d.ts +1 -1
- package/dist/core/agent-runner.js +1 -1
- package/dist/core/agent-runner.js.map +1 -1
- package/dist/core/backend-detect.d.ts +1 -1
- package/dist/core/backend-detect.js +14 -0
- package/dist/core/backend-detect.js.map +1 -1
- package/dist/core/codex-app-server-runner.d.ts +6 -6
- package/dist/core/codex-app-server-runner.js +6 -7
- package/dist/core/codex-app-server-runner.js.map +1 -1
- package/dist/core/cursor-acp-runner.d.ts +15 -0
- package/dist/core/cursor-acp-runner.js +466 -0
- package/dist/core/cursor-acp-runner.js.map +1 -0
- package/dist/core/cursor-config-options.d.ts +18 -0
- package/dist/core/cursor-config-options.js +31 -0
- package/dist/core/cursor-config-options.js.map +1 -0
- package/dist/core/cursor-model-catalog.d.ts +23 -0
- package/dist/core/cursor-model-catalog.js +271 -0
- package/dist/core/cursor-model-catalog.js.map +1 -0
- package/dist/core/cursor-ui-mapper.d.ts +29 -0
- package/dist/core/cursor-ui-mapper.js +272 -0
- package/dist/core/cursor-ui-mapper.js.map +1 -0
- package/dist/core/host-model-catalog.js +2 -0
- package/dist/core/host-model-catalog.js.map +1 -1
- package/dist/core/model-identity.js +3 -0
- package/dist/core/model-identity.js.map +1 -1
- package/dist/core/model-presets.js +4 -0
- package/dist/core/model-presets.js.map +1 -1
- package/dist/core/provider-auth.d.ts +1 -1
- package/dist/core/provider-auth.js +30 -1
- package/dist/core/provider-auth.js.map +1 -1
- package/dist/core/runner-factory.js +3 -0
- package/dist/core/runner-factory.js.map +1 -1
- package/dist/core/runner-model-catalog.js +1 -0
- package/dist/core/runner-model-catalog.js.map +1 -1
- package/dist/core/shell-env.d.ts +2 -0
- package/dist/core/shell-env.js +8 -0
- package/dist/core/shell-env.js.map +1 -1
- package/dist/core/ui-events.d.ts +1 -1
- package/dist/delegation/execution-identity.d.ts +3 -0
- package/dist/delegation/execution-identity.js +1 -1
- package/dist/delegation/execution-identity.js.map +1 -1
- package/dist/delegation/provision.js +1 -1
- package/dist/delegation/provision.js.map +1 -1
- package/dist/delegation/routes.d.ts +3 -3
- package/dist/delegation/transport.d.ts +7 -7
- package/dist/paths.js +3 -0
- package/dist/paths.js.map +1 -1
- package/dist/runs/store.d.ts +7 -3
- package/dist/server/open-in-app.js +1 -0
- package/dist/server/open-in-app.js.map +1 -1
- package/dist/server/provider-action-gate.js +1 -0
- package/dist/server/provider-action-gate.js.map +1 -1
- package/dist/server/server.d.ts +1441 -1401
- package/dist/server/server.js +23 -9
- package/dist/server/server.js.map +1 -1
- package/dist/workflows/types.d.ts +3 -0
- package/dist/workflows/types.js +1 -0
- package/dist/workflows/types.js.map +1 -1
- package/dist/workspace/agent-accounts.d.ts +5 -1
- package/dist/workspace/agent-accounts.js +1 -0
- package/dist/workspace/agent-accounts.js.map +1 -1
- package/dist/workspace/agent-profiles.js +1 -1
- package/dist/workspace/agent-profiles.js.map +1 -1
- package/dist/workspace/config.d.ts +3 -1
- package/dist/workspace/config.js +1 -0
- package/dist/workspace/config.js.map +1 -1
- package/package.json +3 -3
- package/scripts/mock-cursor-acp.mjs +77 -0
- package/web/dist/assets/{agent-accounts-CdHFiYTN.js → agent-accounts-MT-jtwOU.js} +1 -1
- package/web/dist/assets/alert-dialog-KUiPIBmb.js +43 -0
- package/web/dist/assets/{collapsible-CI78cX0k.js → collapsible-CkSaP6_n.js} +1 -1
- package/web/dist/assets/{commit-list-D3Cy_0hj.js → commit-list-B47VXJez.js} +1 -1
- package/web/dist/assets/{compare-variants-BkYiBaI1.js → compare-variants-DNqtPFUv.js} +1 -1
- package/web/dist/assets/{diff-DDUpEMjA2.js → diff-C4aSZfrQ2.js} +2 -2
- package/web/dist/assets/{diff-controls-C1THeHoP.js → diff-controls-D5b8ocJ0.js} +1 -1
- package/web/dist/assets/{diff-stat-Cq4juy0u.js → diff-stat-B7f-F8cC.js} +1 -1
- package/web/dist/assets/{diff-view-Coyp_Kst.js → diff-view-BPKHTL85.js} +1 -1
- package/web/dist/assets/{dropdown-menu-BP8LYsNU.js → dropdown-menu-xYcDecNM.js} +1 -1
- package/web/dist/assets/{git-toolbar-BP8_wDyk.js → git-toolbar-C4zVVSpl.js} +1 -1
- package/web/dist/assets/{github-CVranJaK.js → github-D97-DHsF.js} +1 -1
- package/web/dist/assets/{image-preview-DXIixdjJ.js → image-preview-BhuwWeyP.js} +1 -1
- package/web/dist/assets/index-ujHRHX5o.js +7 -0
- package/web/dist/assets/{markdown-uwx4ouIE.js → markdown-CIi0LXvU.js} +1 -1
- package/web/dist/assets/pill-DDhByAhe.js +1 -0
- package/web/dist/assets/{project-router-D9DfwL9L.js → project-router-BOglfKgF.js} +1 -1
- package/web/dist/assets/{prompt-templates-DgR9lv5k.js → prompt-templates-DTSPmJP-.js} +1 -1
- package/web/dist/assets/{repo-git-BLjI-1pn.js → repo-git-DvxUSPot.js} +1 -1
- package/web/dist/assets/{run-diff-DRPGyUPP.js → run-diff-DEVs-zV1.js} +1 -1
- package/web/dist/assets/run-header-Dvb1P3Ge.js +1 -0
- package/web/dist/assets/{skills-DRowiHKX.js → skills-DJ06RZbi.js} +1 -1
- package/web/dist/assets/{tab-link-C5tpLlqv.js → tab-link-ChqeHA8K.js} +1 -1
- package/web/dist/assets/{task-changes-LBnRxH_G.js → task-changes-CIN0MkJE.js} +1 -1
- package/web/dist/assets/{task-commits-lpE22fPa.js → task-commits-BRZshVHV.js} +1 -1
- package/web/dist/assets/{task-files-Dh6SjTQF.js → task-files-BZTNbpcP.js} +1 -1
- package/web/dist/assets/{task-thread-B_74GvMl.js → task-thread-D_N6ELtr.js} +6 -6
- package/web/dist/assets/{textarea-D_Ce7vp0.js → textarea-DdKiIORK.js} +1 -1
- package/web/dist/assets/{thread-loading-CwnPHwar.js → thread-loading-BRM8kyKz.js} +1 -1
- package/web/dist/assets/{token-metrics-BC00XXU8.js → token-metrics-DDvhrHmK.js} +1 -1
- package/web/dist/assets/{utils-B8qbBJrk.js → utils-CG8vWc5K.js} +1 -1
- package/web/dist/assets/{workflows-B2Iq2bcd.js → workflows-CplF7YNk.js} +1 -1
- package/web/dist/assets/{zoomable-image-Idq840Ej.js → zoomable-image-BXioMWqb.js} +1 -1
- package/web/dist/index.html +13 -13
- package/web/dist/assets/alert-dialog-7OZcjFyp.js +0 -43
- package/web/dist/assets/index-CokupxlP.js +0 -7
- package/web/dist/assets/pill-jITycc8f.js +0 -1
- package/web/dist/assets/run-header-DO-yE5Gj.js +0 -1
package/README.md
CHANGED
|
@@ -494,7 +494,7 @@ cez worker destroy <worker-id>
|
|
|
494
494
|
|
|
495
495
|
Commands return bounded JSON and a nonzero exit on failure or incomplete cleanup. Spawn requires a committed baseline (`parent-head` or an explicit ref) and pins its SHA at acceptance; dirty parent edits are excluded. Optional `--context '<text>'` or `--context-file <UTF-8-file>` supplies selected context, not the parent's conversation. The two flags are mutually exclusive, and combined task/context text is limited to 100,000 characters. The API also accepts up to 32 pinned-baseline file or parent-attachment references, with at most 8 MiB of copied attachments. Inspect reports worker-local input locations. Reuse a request ID only with the same task, baseline, context, backend, model and effort when retrying a lost response. There are at most 32 accepted creations per parent, counting destroyed workers, and 32 undelivered steering messages per worker.
|
|
496
496
|
|
|
497
|
-
Omitted `--backend` inherits the parent's active backend. Same-backend workers inherit omitted model/account/effort; `--backend <claude|codex|opencode|pi>` selecting another backend resolves that backend's project/default account and model without forwarding another provider's settings. `--model <model>` selects a supported model, subject to existing locks. `--effort <low|medium|high|xhigh|max>` pins reasoning effort on same-backend and mixed-backend spawn; omitted `--effort` still inherits the parent pin on same-backend spawn and drops it on mixed-backend spawn. Accepted identity and grants remain fixed across queuing, restart and Continue, including explicit empty grants. Changing or deleting an account registry entry does not rebind a worker. Missing accepted identity evidence or account homes, incompatible Claude state-file layouts, and conflicting later model locks refuse execution explicitly. Credentials and vendor configuration are never copied; each worker receives its own delegation credential, and unspecified native models stay unspecified.
|
|
497
|
+
Omitted `--backend` inherits the parent's active backend. Same-backend workers inherit omitted model/account/effort; `--backend <claude|codex|opencode|pi|cursor>` selecting another backend resolves that backend's project/default account and model without forwarding another provider's settings. `--model <model>` selects a supported model, subject to existing locks. `--effort <low|medium|high|xhigh|max>` pins reasoning effort on same-backend and mixed-backend spawn; omitted `--effort` still inherits the parent pin on same-backend spawn and drops it on mixed-backend spawn. Accepted identity and grants remain fixed across queuing, restart and Continue, including explicit empty grants. Changing or deleting an account registry entry does not rebind a worker. Missing accepted identity evidence or account homes, incompatible Claude state-file layouts, and conflicting later model locks refuse execution explicitly. Credentials and vendor configuration are never copied; each worker receives its own delegation credential, and unspecified native models stay unspecified.
|
|
498
498
|
|
|
499
499
|
Wait registers immediately. End the parent turn to release scheduler capacity; Cezar resumes it on a selected settled outcome or the finite deadline. `any` is the default, `one` requires exactly one worker, and `all` waits for every selected worker. Review, completion, failure, cancellation with proven termination, and destruction are outcomes. Timeout defaults to 600 seconds (1–1800 accepted). `cancel-wait` is idempotent for the retained wait ID and cannot cancel a newer wait. Timeout and wait cancellation report partial outcomes and unresolved workers, never cancel workers, and never automatically re-wait. Steering is attributed agent input and cannot answer a pending human question.
|
|
500
500
|
|
|
@@ -584,6 +584,7 @@ Useful environment variables:
|
|
|
584
584
|
| `CEZ_CODEX_BIN=/path/to/codex` | Override which `codex` binary is used. |
|
|
585
585
|
| `CEZ_OPENCODE_BIN=/path/to/opencode` | Override which `opencode` binary is used. |
|
|
586
586
|
| `CEZ_PI_BIN=/path/to/pi` | Override which `pi` binary is used. |
|
|
587
|
+
| `CEZ_CURSOR_BIN=/path/to/agent` | Override the Cursor CLI (`agent`) executable. |
|
|
587
588
|
| `CLAUDE_CONFIG_DIR`, `CODEX_HOME` | The agents' **own** variables, honoured where the vendor documents one. Setting one moves that agent's **default account** — the config folder cezar discovers. A *second* login of the same CLI is deliberately not an environment setting, since one process-wide value cannot differ per project: add it under **Settings → Agent accounts** and pick it per project. |
|
|
588
589
|
| `CEZ_BROWSE_ROOT=~/` | Default root for **Add project → Open local folder…**. The picker cannot navigate above it; a saved workspace value overrides the environment default and must name an existing folder. |
|
|
589
590
|
| `CEZ_PROJECTS_DIR=~/cezar/projects` | Default destination for **Clone from GitHub**. Saved workspace settings override it, and missing directories are created recursively. |
|
|
@@ -640,13 +641,14 @@ platform.
|
|
|
640
641
|
## Coding agent backends
|
|
641
642
|
|
|
642
643
|
cezar is not married to one vendor. Every agent step runs through a single
|
|
643
|
-
`AgentRunner` seam with
|
|
644
|
+
`AgentRunner` seam with five built-in backends:
|
|
644
645
|
|
|
645
646
|
| Backend | CLI | How cezar drives it | Tool access |
|
|
646
647
|
|---|---|---|---|
|
|
647
648
|
| **Claude Code** (default) | [`claude`](https://github.com/anthropics/claude-code) | Headless `stream-json` mode. | Per-tool `--allowedTools` (`bashAllowlist` scopes `Bash`); `dontAsk` denies unapproved tools without prompting (`CEZ_APPROVAL_GATE=1` → `acceptEdits` + approval UI; `CEZ_CLAUDE_PERMISSION_MODE=bypass` → `--dangerously-skip-permissions`). |
|
|
648
649
|
| **Codex** | [`codex`](https://github.com/openai/codex) | `codex app-server` — JSON-RPC over stdio, the same transport the Codex IDE extensions use. | Ignores `allowedTools`; the default auto mode uses `danger-full-access` with `approvalPolicy: never` (`CEZ_CODEX_NETWORK=0` opts into the network-blocked `workspace-write` sandbox). |
|
|
649
650
|
| **OpenCode** _(experimental)_ | [`opencode`](https://opencode.ai) | `opencode serve` — a local HTTP server with an SSE event stream. | Ignores `allowedTools` entirely; every permission is auto-approved. |
|
|
651
|
+
| **Cursor** | [`agent`](https://cursor.com/docs/cli/installation) | Persistent ACP over stdio. | Uses `--force` and approves ACP allow-once requests; Cursor’s native deny rules still apply. Per-run `allowedTools` and `bashAllowlist` are unsupported. |
|
|
650
652
|
| **pi** _(experimental)_ | [`pi`](https://github.com/badlogic/pi-mono) | Persistent `--mode rpc` over JSONL; models are picked with the `provider/model` convention. | Maps `allowedTools` onto pi's `--tools` allowlist; default sessions also pass harness extras (`Subagent`, `SubagentSupervisor`, `SubagentWait`) through `--tools`, and an explicit `allowedTools` still restricts. A configured `bashAllowlist` disables Bash because pi cannot express command-prefix rules. |
|
|
651
653
|
|
|
652
654
|
> ⚠️ **OpenCode and pi support are experimental.** Both runners work but are less
|
|
@@ -655,7 +657,29 @@ cezar is not married to one vendor. Every agent step runs through a single
|
|
|
655
657
|
> rough edges.
|
|
656
658
|
|
|
657
659
|
On startup cezar probes which CLIs are installed and the cockpit only offers
|
|
658
|
-
the backends it found — install any one of the
|
|
660
|
+
the backends it found — install any one of the five and you're operational.
|
|
661
|
+
|
|
662
|
+
### Cursor CLI
|
|
663
|
+
|
|
664
|
+
Install [Cursor CLI](https://cursor.com/docs/cli/installation) and run `agent login`,
|
|
665
|
+
or set `CURSOR_API_KEY`. Cezar discovers `agent` on PATH; `CEZ_CURSOR_BIN` overrides
|
|
666
|
+
its location. Select **Cursor** in the runner picker to use a persistent ACP session.
|
|
667
|
+
A missing CLI leaves the other backends available. `CEZ_DRY_RUN=1` uses the mock.
|
|
668
|
+
Cursor ACP currently provides no token-usage telemetry; Cezar leaves usage unavailable
|
|
669
|
+
instead of estimating it. Cezar negotiates Cursor’s parameterized model picker and
|
|
670
|
+
shows only the effort levels the selected model advertises. The runner applies
|
|
671
|
+
`effort` or `reasoning` through ACP session config options before prompting;
|
|
672
|
+
unsupported explicit values fail instead of silently using a default. Initial models
|
|
673
|
+
are pinned with `--model`; opaque parameterized IDs and legacy model discovery
|
|
674
|
+
remain compatibility paths for older CLIs.
|
|
675
|
+
|
|
676
|
+
Settings → Agent config exposes Cursor’s global `cli-config.json`, project
|
|
677
|
+
`.cursor/cli.json` permissions, `.cursor/mcp.json`, and shared `AGENTS.md`.
|
|
678
|
+
[Cursor’s configuration reference](https://cursor.com/docs/cli/reference/configuration)
|
|
679
|
+
documents `CURSOR_CONFIG_DIR` and the Linux/BSD `XDG_CONFIG_HOME/cursor` override.
|
|
680
|
+
These select configuration; Cezar does not offer alternate Cursor account profiles
|
|
681
|
+
because a complete credential-and-session home override has not been verified.
|
|
682
|
+
|
|
659
683
|
|
|
660
684
|
**Pick a backend at three levels** (most specific wins):
|
|
661
685
|
|
|
@@ -32,6 +32,8 @@ export interface AgentHomePaths {
|
|
|
32
32
|
opencodeConfig: string;
|
|
33
33
|
/** `$PI_CODING_AGENT_DIR` or `~/.pi/agent` */
|
|
34
34
|
pi: string;
|
|
35
|
+
/** Cursor CLI configuration directory; not an account home. */
|
|
36
|
+
cursor: string;
|
|
35
37
|
}
|
|
36
38
|
export interface ConfigFileDef {
|
|
37
39
|
/** Stable, opaque, URL-safe. The ONLY thing a client may name (traversal-proof). */
|
|
@@ -245,17 +245,55 @@ export const CONFIG_FILES = [
|
|
|
245
245
|
precedence: 'Global context file, loaded first. Every AGENTS.md (or CLAUDE.md) from the parent directories down to the current one is concatenated after it; an AGENTS.override.md replaces that directory’s file only.',
|
|
246
246
|
docsUrl: PI_CONTEXT_FILES_DOCS,
|
|
247
247
|
},
|
|
248
|
+
// ---- Cursor — verified against vendor docs 2026-09-16 ----
|
|
249
|
+
{
|
|
250
|
+
id: 'cursor.user.settings',
|
|
251
|
+
runners: ['cursor'],
|
|
252
|
+
kind: 'settings',
|
|
253
|
+
scope: 'user',
|
|
254
|
+
resolve: (_repo, home) => join(home.cursor, 'cli-config.json'),
|
|
255
|
+
label: '~/.cursor/cli-config.json',
|
|
256
|
+
format: 'json',
|
|
257
|
+
tracked: 'outside-repo',
|
|
258
|
+
precedence: 'Global CLI settings. Only permissions can be configured at the project level.',
|
|
259
|
+
docsUrl: 'https://cursor.com/docs/cli/reference/configuration',
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
id: 'cursor.project.settings',
|
|
263
|
+
runners: ['cursor'],
|
|
264
|
+
kind: 'settings',
|
|
265
|
+
scope: 'project',
|
|
266
|
+
resolve: (repo) => join(repo, '.cursor', 'cli.json'),
|
|
267
|
+
label: '.cursor/cli.json',
|
|
268
|
+
format: 'json',
|
|
269
|
+
tracked: 'tracked',
|
|
270
|
+
precedence: 'Project permissions only. All other CLI settings must be set globally.',
|
|
271
|
+
docsUrl: 'https://cursor.com/docs/cli/reference/configuration',
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
id: 'cursor.project.mcp',
|
|
275
|
+
runners: ['cursor'],
|
|
276
|
+
kind: 'mcp',
|
|
277
|
+
scope: 'project',
|
|
278
|
+
resolve: (repo) => join(repo, '.cursor', 'mcp.json'),
|
|
279
|
+
label: '.cursor/mcp.json',
|
|
280
|
+
format: 'json',
|
|
281
|
+
tracked: 'tracked',
|
|
282
|
+
holdsMcp: true,
|
|
283
|
+
precedence: 'MCP in the CLI uses the same configuration as the editor.',
|
|
284
|
+
docsUrl: 'https://cursor.com/docs/cli/mcp',
|
|
285
|
+
},
|
|
248
286
|
// ---- Shared: <repo>/AGENTS.md is read by Codex, OpenCode AND Pi ----
|
|
249
287
|
{
|
|
250
288
|
id: 'project.agents',
|
|
251
|
-
runners: ['codex', 'opencode', 'pi'],
|
|
289
|
+
runners: ['codex', 'opencode', 'pi', 'cursor'],
|
|
252
290
|
kind: 'memory',
|
|
253
291
|
scope: 'project',
|
|
254
292
|
resolve: (repo) => join(repo, 'AGENTS.md'),
|
|
255
293
|
label: 'AGENTS.md',
|
|
256
294
|
format: 'markdown',
|
|
257
295
|
tracked: 'tracked',
|
|
258
|
-
precedence: 'Read by Codex, OpenCode and
|
|
296
|
+
precedence: 'Read by Codex, OpenCode, Pi and Cursor (Claude ignores it). Codex concatenates it root-down; OpenCode uses the first match and prefers it over CLAUDE.md; Pi concatenates every AGENTS.md (or CLAUDE.md) from the parent directories down, after its global file. Runs read the committed copy.',
|
|
259
297
|
docsUrl: OPENCODE_RULES_DOCS,
|
|
260
298
|
},
|
|
261
299
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.js","sourceRoot":"","sources":["../../src/agent-config/catalog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.js","sourceRoot":"","sources":["../../src/agent-config/catalog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AA0EjC,MAAM,oBAAoB,GAAG,0CAA0C,CAAC;AACxE,MAAM,kBAAkB,GAAG,wCAAwC,CAAC;AACpE,MAAM,eAAe,GAAG,qCAAqC,CAAC;AAC9D,MAAM,iBAAiB,GAAG,sDAAsD,CAAC;AACjF,MAAM,iBAAiB,GAAG,sDAAsD,CAAC;AACjF,MAAM,oBAAoB,GAAG,kCAAkC,CAAC;AAChE,MAAM,mBAAmB,GAAG,iCAAiC,CAAC;AAC9D,MAAM,gBAAgB,GAAG,sFAAsF,CAAC;AAChH,MAAM,qBAAqB,GAAG,6FAA6F,CAAC;AAE5H;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAoB;IAC3C,wBAAwB;IACxB;QACE,EA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AAS;QAChB,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,SAAS,EAAE,UAAU,CAAC;QACpD,KAAK,EAAE,kBAAkB;QACzB,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,SAAS;QAClB,QAAQ,EAAE,IAAI;QACd,UAAU,EAAE,2DAA2D;QACvE,OAAO,EAAE,iCAAiC;KAC3C;IAED,uEAAuE;IACvE;QACE,EAAE,EAAE,gBAAgB;QACpB,OAAO,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,CAAC;QAC9C,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC;QAC1C,KAAK,EAAE,WAAW;QAClB,MAAM,EAAE,UAAU;QAClB,OAAO,EAAE,SAAS;QAClB,UAAU,EACR,iSAAiS;QACnS,OAAO,EAAE,mBAAmB;KAC7B;CACF,CAAC;AAEF,yBAAyB;AACzB,MAAM,UAAU,eAAe;IAC7B,OAAO,YAAY,CAAC;AACtB,CAAC;AAED,+EAA+E;AAC/E,MAAM,UAAU,cAAc,CAAC,EAAU;IACvC,OAAO,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;AAC/C,CAAC"}
|
|
@@ -13,6 +13,10 @@ const MODEL_SETTINGS_STRATEGIES = {
|
|
|
13
13
|
codex: codexModelSettingsStrategy,
|
|
14
14
|
opencode: opencodeModelSettingsStrategy,
|
|
15
15
|
pi: piModelSettingsStrategy,
|
|
16
|
+
// Cursor persists a model object plus CLI-managed parameter/override flags.
|
|
17
|
+
// Do not flatten that object into a guessed model string: leaving the prompt
|
|
18
|
+
// unpinned preserves the CLI's own effective default and model parameters.
|
|
19
|
+
cursor: { runner: 'cursor', async read() { return {}; } },
|
|
16
20
|
};
|
|
17
21
|
export function readAgentModelSettings(runner, repoRoot, env = process.env) {
|
|
18
22
|
return MODEL_SETTINGS_STRATEGIES[runner].read(repoRoot, env);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../src/agent-config/models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAiB,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAMjE;;;;GAIG;AACH,MAAM,yBAAyB,GAAiD;IAC9E,MAAM,EAAE,2BAA2B;IACnC,KAAK,EAAE,0BAA0B;IACjC,QAAQ,EAAE,6BAA6B;IACvC,EAAE,EAAE,uBAAuB;
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../src/agent-config/models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAiB,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAMjE;;;;GAIG;AACH,MAAM,yBAAyB,GAAiD;IAC9E,MAAM,EAAE,2BAA2B;IACnC,KAAK,EAAE,0BAA0B;IACjC,QAAQ,EAAE,6BAA6B;IACvC,EAAE,EAAE,uBAAuB;IAC3B,4EAA4E;IAC5E,6EAA6E;IAC7E,2EAA2E;IAC3E,MAAM,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,CAAC,IAAI,KAAK,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE;CAC1D,CAAC;AAEF,MAAM,UAAU,sBAAsB,CACpC,MAAgB,EAChB,QAAgB,EAChB,GAAG,GAAsB,OAAO,CAAC,GAAG;IAEpC,OAAO,yBAAyB,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;AAC/D,CAAC;AAED,iFAAiF;AACjF,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAC1C,QAAgB,EAChB,GAAG,GAAsB,OAAO,CAAC,GAAG;IAEpC,MAAM,OAAO,GAAG,MAAM,OAAO,CAAC,GAAG,CAC/B,UAAU,CAAC,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC;QAC/B,MAAM;QACN,CAAC,MAAM,sBAAsB,CAAC,MAAM,EAAE,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC,KAAK;KACnD,CAAC,CACZ,CAAC;IACF,OAAO,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,KAAK,EAAwC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC;AACrH,CAAC;AAED,4EAA4E;AAC5E,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAC1C,MAAgB,EAChB,QAAgB,EAChB,GAAG,GAAsB,OAAO,CAAC,GAAG;IAEpC,OAAO,CAAC,MAAM,sBAAsB,CAAC,MAAM,EAAE,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC;AACxE,CAAC"}
|
|
@@ -27,6 +27,7 @@ export declare const automationTaskSchema: z.ZodObject<{
|
|
|
27
27
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
28
28
|
claude: "claude";
|
|
29
29
|
codex: "codex";
|
|
30
|
+
cursor: "cursor";
|
|
30
31
|
opencode: "opencode";
|
|
31
32
|
pi: "pi";
|
|
32
33
|
}>>;
|
|
@@ -41,6 +42,7 @@ export declare const automationTaskSchema: z.ZodObject<{
|
|
|
41
42
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
42
43
|
claude: "claude";
|
|
43
44
|
codex: "codex";
|
|
45
|
+
cursor: "cursor";
|
|
44
46
|
opencode: "opencode";
|
|
45
47
|
pi: "pi";
|
|
46
48
|
}>>;
|
|
@@ -87,6 +89,7 @@ export declare const automationDefinitionSchema: z.ZodObject<{
|
|
|
87
89
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
88
90
|
claude: "claude";
|
|
89
91
|
codex: "codex";
|
|
92
|
+
cursor: "cursor";
|
|
90
93
|
opencode: "opencode";
|
|
91
94
|
pi: "pi";
|
|
92
95
|
}>>;
|
|
@@ -101,6 +104,7 @@ export declare const automationDefinitionSchema: z.ZodObject<{
|
|
|
101
104
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
102
105
|
claude: "claude";
|
|
103
106
|
codex: "codex";
|
|
107
|
+
cursor: "cursor";
|
|
104
108
|
opencode: "opencode";
|
|
105
109
|
pi: "pi";
|
|
106
110
|
}>>;
|
package/dist/config.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ declare const configSchema: z.ZodObject<{
|
|
|
24
24
|
defaultRunner: z.ZodDefault<z.ZodEnum<{
|
|
25
25
|
claude: "claude";
|
|
26
26
|
codex: "codex";
|
|
27
|
+
cursor: "cursor";
|
|
27
28
|
opencode: "opencode";
|
|
28
29
|
pi: "pi";
|
|
29
30
|
}>>;
|
|
@@ -38,6 +39,7 @@ declare const configSchema: z.ZodObject<{
|
|
|
38
39
|
codex: z.ZodOptional<z.ZodString>;
|
|
39
40
|
opencode: z.ZodOptional<z.ZodString>;
|
|
40
41
|
pi: z.ZodOptional<z.ZodString>;
|
|
42
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
41
43
|
}, z.core.$strip>>>;
|
|
42
44
|
modelsLocked: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
|
|
43
45
|
}, z.core.$strip>;
|
package/dist/config.js
CHANGED
|
@@ -104,6 +104,7 @@ const configSchema = z.object({
|
|
|
104
104
|
codex: z.string().trim().min(1).max(200).optional(),
|
|
105
105
|
opencode: z.string().trim().min(1).max(200).optional(),
|
|
106
106
|
pi: z.string().trim().min(1).max(200).optional(),
|
|
107
|
+
cursor: z.string().trim().min(1).max(200).optional(),
|
|
107
108
|
})
|
|
108
109
|
.optional()
|
|
109
110
|
.catch(undefined),
|
package/dist/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAwB,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEpD;;;;;GAKG;AACH,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,gFAAgF;IAChF,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC;CACvC,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,oBAAoB,GAAuB;IACtD,EAAE,IAAI,EAAE,qBAAqB,EAAE,GAAG,EAAE,MAAM,EAAE;CAC7C,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,SAAS,kBAAkB;IACzB,OAAO,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,oBAAoB,CAAC;AACxD,CAAC;AAED,mFAAmF;AACnF,MAAM,CAAC,MAAM,0BAA0B,GAAG,EAAE,CAAC;AA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,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YAC1C,OAAO,IAAI,GAAG,CAAC,oBAAoB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;QAC1D,CAAC;QACD,2EAA2E;QAC3E,0EAA0E;QAC1E,IAAK,MAAkC,CAAC,WAAW,KAAK,SAAS;YAAE,OAAO,IAAI,CAAC;QAC/E,OAAO,IAAI,GAAG,CAAC,oBAAoB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;IAC1D,CAAC;IAAC,MAAM,CAAC;QACP,uEAAuE;QACvE,OAAO,IAAI,GAAG,CAAC,oBAAoB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;IAC1D,CAAC;AACH,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,wBAAwB,CAAC,QAAgB;IAC7D,MAAM,GAAG,GAAG,MAAM,oBAAoB,CAAC,QAAQ,CAAC,CAAC;IACjD,IAAI,GAAG,KAAK,SAAS;QAAE,OAAO,GAAG,CAAC;IAClC,MAAM,SAAS,GAAG,MAAM,mBAAmB,EAAE,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC;IAChE,OAAO,SAAS,EAAE,SAAS,CAAC,wBAAwB,IAAI,0BAA0B,CAAC;AACrF,CAAC"}
|
|
@@ -36,6 +36,7 @@ export declare const agentConfigFileSchema: z.ZodObject<{
|
|
|
36
36
|
runners: z.ZodArray<z.ZodEnum<{
|
|
37
37
|
claude: "claude";
|
|
38
38
|
codex: "codex";
|
|
39
|
+
cursor: "cursor";
|
|
39
40
|
opencode: "opencode";
|
|
40
41
|
pi: "pi";
|
|
41
42
|
}>>;
|
|
@@ -89,6 +90,7 @@ export declare const agentConfigListingSchema: z.ZodObject<{
|
|
|
89
90
|
runners: z.ZodArray<z.ZodEnum<{
|
|
90
91
|
claude: "claude";
|
|
91
92
|
codex: "codex";
|
|
93
|
+
cursor: "cursor";
|
|
92
94
|
opencode: "opencode";
|
|
93
95
|
pi: "pi";
|
|
94
96
|
}>>;
|
|
@@ -48,6 +48,7 @@ export declare const agentProfileSchema: z.ZodObject<{
|
|
|
48
48
|
provider: z.ZodEnum<{
|
|
49
49
|
claude: "claude";
|
|
50
50
|
codex: "codex";
|
|
51
|
+
cursor: "cursor";
|
|
51
52
|
opencode: "opencode";
|
|
52
53
|
pi: "pi";
|
|
53
54
|
}>;
|
|
@@ -61,6 +62,7 @@ export declare const agentProfileSchema: z.ZodObject<{
|
|
|
61
62
|
provider: z.ZodEnum<{
|
|
62
63
|
claude: "claude";
|
|
63
64
|
codex: "codex";
|
|
65
|
+
cursor: "cursor";
|
|
64
66
|
opencode: "opencode";
|
|
65
67
|
pi: "pi";
|
|
66
68
|
}>;
|
|
@@ -99,6 +101,7 @@ export declare const agentAccountSelectionSchema: z.ZodObject<{
|
|
|
99
101
|
codex: z.ZodOptional<z.ZodString>;
|
|
100
102
|
opencode: z.ZodOptional<z.ZodString>;
|
|
101
103
|
pi: z.ZodOptional<z.ZodString>;
|
|
104
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
102
105
|
}, z.core.$strip>;
|
|
103
106
|
export type AgentAccountSelection = z.infer<typeof agentAccountSelectionSchema>;
|
|
104
107
|
/**
|
|
@@ -115,6 +118,7 @@ export declare const agentProfilesResponseSchema: z.ZodObject<{
|
|
|
115
118
|
provider: z.ZodEnum<{
|
|
116
119
|
claude: "claude";
|
|
117
120
|
codex: "codex";
|
|
121
|
+
cursor: "cursor";
|
|
118
122
|
opencode: "opencode";
|
|
119
123
|
pi: "pi";
|
|
120
124
|
}>;
|
|
@@ -128,6 +132,7 @@ export declare const agentProfilesResponseSchema: z.ZodObject<{
|
|
|
128
132
|
provider: z.ZodEnum<{
|
|
129
133
|
claude: "claude";
|
|
130
134
|
codex: "codex";
|
|
135
|
+
cursor: "cursor";
|
|
131
136
|
opencode: "opencode";
|
|
132
137
|
pi: "pi";
|
|
133
138
|
}>;
|
|
@@ -152,6 +157,7 @@ export declare const agentProfilesResponseSchema: z.ZodObject<{
|
|
|
152
157
|
profileCapableProviders: z.ZodArray<z.ZodEnum<{
|
|
153
158
|
claude: "claude";
|
|
154
159
|
codex: "codex";
|
|
160
|
+
cursor: "cursor";
|
|
155
161
|
opencode: "opencode";
|
|
156
162
|
pi: "pi";
|
|
157
163
|
}>>;
|
|
@@ -160,12 +166,14 @@ export declare const agentProfilesResponseSchema: z.ZodObject<{
|
|
|
160
166
|
codex: z.ZodOptional<z.ZodString>;
|
|
161
167
|
opencode: z.ZodOptional<z.ZodString>;
|
|
162
168
|
pi: z.ZodOptional<z.ZodString>;
|
|
169
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
163
170
|
}, z.core.$strip>>;
|
|
164
171
|
defaults: z.ZodObject<{
|
|
165
172
|
claude: z.ZodOptional<z.ZodString>;
|
|
166
173
|
codex: z.ZodOptional<z.ZodString>;
|
|
167
174
|
opencode: z.ZodOptional<z.ZodString>;
|
|
168
175
|
pi: z.ZodOptional<z.ZodString>;
|
|
176
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
169
177
|
}, z.core.$strip>;
|
|
170
178
|
}, z.core.$strip>;
|
|
171
179
|
export type AgentProfilesResponse = z.infer<typeof agentProfilesResponseSchema>;
|
|
@@ -181,6 +189,7 @@ export declare const selectAgentProfileInputSchema: z.ZodObject<{
|
|
|
181
189
|
provider: z.ZodEnum<{
|
|
182
190
|
claude: "claude";
|
|
183
191
|
codex: "codex";
|
|
192
|
+
cursor: "cursor";
|
|
184
193
|
opencode: "opencode";
|
|
185
194
|
pi: "pi";
|
|
186
195
|
}>;
|
|
@@ -194,12 +203,14 @@ export declare const agentProfileSelectionsResponseSchema: z.ZodObject<{
|
|
|
194
203
|
codex: z.ZodOptional<z.ZodString>;
|
|
195
204
|
opencode: z.ZodOptional<z.ZodString>;
|
|
196
205
|
pi: z.ZodOptional<z.ZodString>;
|
|
206
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
197
207
|
}, z.core.$strip>>;
|
|
198
208
|
defaults: z.ZodObject<{
|
|
199
209
|
claude: z.ZodOptional<z.ZodString>;
|
|
200
210
|
codex: z.ZodOptional<z.ZodString>;
|
|
201
211
|
opencode: z.ZodOptional<z.ZodString>;
|
|
202
212
|
pi: z.ZodOptional<z.ZodString>;
|
|
213
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
203
214
|
}, z.core.$strip>;
|
|
204
215
|
}, z.core.$strip>;
|
|
205
216
|
export type AgentProfileSelectionsResponse = z.infer<typeof agentProfileSelectionsResponseSchema>;
|
|
@@ -211,6 +222,7 @@ export declare const agentAccountStatusResponseSchema: z.ZodObject<{
|
|
|
211
222
|
provider: z.ZodEnum<{
|
|
212
223
|
claude: "claude";
|
|
213
224
|
codex: "codex";
|
|
225
|
+
cursor: "cursor";
|
|
214
226
|
opencode: "opencode";
|
|
215
227
|
pi: "pi";
|
|
216
228
|
}>;
|
|
@@ -276,6 +288,7 @@ export declare const createAgentProfileInputSchema: z.ZodObject<{
|
|
|
276
288
|
provider: z.ZodEnum<{
|
|
277
289
|
claude: "claude";
|
|
278
290
|
codex: "codex";
|
|
291
|
+
cursor: "cursor";
|
|
279
292
|
opencode: "opencode";
|
|
280
293
|
pi: "pi";
|
|
281
294
|
}>;
|
|
@@ -296,6 +309,7 @@ export declare const agentProfileResponseSchema: z.ZodObject<{
|
|
|
296
309
|
provider: z.ZodEnum<{
|
|
297
310
|
claude: "claude";
|
|
298
311
|
codex: "codex";
|
|
312
|
+
cursor: "cursor";
|
|
299
313
|
opencode: "opencode";
|
|
300
314
|
pi: "pi";
|
|
301
315
|
}>;
|
|
@@ -309,6 +323,7 @@ export declare const agentProfileResponseSchema: z.ZodObject<{
|
|
|
309
323
|
provider: z.ZodEnum<{
|
|
310
324
|
claude: "claude";
|
|
311
325
|
codex: "codex";
|
|
326
|
+
cursor: "cursor";
|
|
312
327
|
opencode: "opencode";
|
|
313
328
|
pi: "pi";
|
|
314
329
|
}>;
|
|
@@ -68,6 +68,7 @@ export declare const automationTaskSchema: z.ZodObject<{
|
|
|
68
68
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
69
69
|
claude: "claude";
|
|
70
70
|
codex: "codex";
|
|
71
|
+
cursor: "cursor";
|
|
71
72
|
opencode: "opencode";
|
|
72
73
|
pi: "pi";
|
|
73
74
|
}>>;
|
|
@@ -84,6 +85,7 @@ export declare const automationTaskSchema: z.ZodObject<{
|
|
|
84
85
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
85
86
|
claude: "claude";
|
|
86
87
|
codex: "codex";
|
|
88
|
+
cursor: "cursor";
|
|
87
89
|
opencode: "opencode";
|
|
88
90
|
pi: "pi";
|
|
89
91
|
}>>;
|
|
@@ -131,6 +133,7 @@ export declare const automationDefinitionSchema: z.ZodObject<{
|
|
|
131
133
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
132
134
|
claude: "claude";
|
|
133
135
|
codex: "codex";
|
|
136
|
+
cursor: "cursor";
|
|
134
137
|
opencode: "opencode";
|
|
135
138
|
pi: "pi";
|
|
136
139
|
}>>;
|
|
@@ -147,6 +150,7 @@ export declare const automationDefinitionSchema: z.ZodObject<{
|
|
|
147
150
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
148
151
|
claude: "claude";
|
|
149
152
|
codex: "codex";
|
|
153
|
+
cursor: "cursor";
|
|
150
154
|
opencode: "opencode";
|
|
151
155
|
pi: "pi";
|
|
152
156
|
}>>;
|
|
@@ -287,6 +291,7 @@ export declare const automationListEntrySchema: z.ZodObject<{
|
|
|
287
291
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
288
292
|
claude: "claude";
|
|
289
293
|
codex: "codex";
|
|
294
|
+
cursor: "cursor";
|
|
290
295
|
opencode: "opencode";
|
|
291
296
|
pi: "pi";
|
|
292
297
|
}>>;
|
|
@@ -303,6 +308,7 @@ export declare const automationListEntrySchema: z.ZodObject<{
|
|
|
303
308
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
304
309
|
claude: "claude";
|
|
305
310
|
codex: "codex";
|
|
311
|
+
cursor: "cursor";
|
|
306
312
|
opencode: "opencode";
|
|
307
313
|
pi: "pi";
|
|
308
314
|
}>>;
|
|
@@ -433,6 +439,7 @@ export declare const automationsResponseSchema: z.ZodObject<{
|
|
|
433
439
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
434
440
|
claude: "claude";
|
|
435
441
|
codex: "codex";
|
|
442
|
+
cursor: "cursor";
|
|
436
443
|
opencode: "opencode";
|
|
437
444
|
pi: "pi";
|
|
438
445
|
}>>;
|
|
@@ -449,6 +456,7 @@ export declare const automationsResponseSchema: z.ZodObject<{
|
|
|
449
456
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
450
457
|
claude: "claude";
|
|
451
458
|
codex: "codex";
|
|
459
|
+
cursor: "cursor";
|
|
452
460
|
opencode: "opencode";
|
|
453
461
|
pi: "pi";
|
|
454
462
|
}>>;
|
|
@@ -564,6 +572,7 @@ export declare const automationResponseSchema: z.ZodObject<{
|
|
|
564
572
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
565
573
|
claude: "claude";
|
|
566
574
|
codex: "codex";
|
|
575
|
+
cursor: "cursor";
|
|
567
576
|
opencode: "opencode";
|
|
568
577
|
pi: "pi";
|
|
569
578
|
}>>;
|
|
@@ -580,6 +589,7 @@ export declare const automationResponseSchema: z.ZodObject<{
|
|
|
580
589
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
581
590
|
claude: "claude";
|
|
582
591
|
codex: "codex";
|
|
592
|
+
cursor: "cursor";
|
|
583
593
|
opencode: "opencode";
|
|
584
594
|
pi: "pi";
|
|
585
595
|
}>>;
|
|
@@ -632,6 +642,7 @@ export declare const automationDetailResponseSchema: z.ZodObject<{
|
|
|
632
642
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
633
643
|
claude: "claude";
|
|
634
644
|
codex: "codex";
|
|
645
|
+
cursor: "cursor";
|
|
635
646
|
opencode: "opencode";
|
|
636
647
|
pi: "pi";
|
|
637
648
|
}>>;
|
|
@@ -648,6 +659,7 @@ export declare const automationDetailResponseSchema: z.ZodObject<{
|
|
|
648
659
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
649
660
|
claude: "claude";
|
|
650
661
|
codex: "codex";
|
|
662
|
+
cursor: "cursor";
|
|
651
663
|
opencode: "opencode";
|
|
652
664
|
pi: "pi";
|
|
653
665
|
}>>;
|
|
@@ -836,6 +848,7 @@ export declare const createAutomationInputSchema: z.ZodObject<{
|
|
|
836
848
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
837
849
|
claude: "claude";
|
|
838
850
|
codex: "codex";
|
|
851
|
+
cursor: "cursor";
|
|
839
852
|
opencode: "opencode";
|
|
840
853
|
pi: "pi";
|
|
841
854
|
}>>;
|
|
@@ -852,6 +865,7 @@ export declare const createAutomationInputSchema: z.ZodObject<{
|
|
|
852
865
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
853
866
|
claude: "claude";
|
|
854
867
|
codex: "codex";
|
|
868
|
+
cursor: "cursor";
|
|
855
869
|
opencode: "opencode";
|
|
856
870
|
pi: "pi";
|
|
857
871
|
}>>;
|
|
@@ -902,6 +916,7 @@ export declare const updateAutomationInputSchema: z.ZodObject<{
|
|
|
902
916
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
903
917
|
claude: "claude";
|
|
904
918
|
codex: "codex";
|
|
919
|
+
cursor: "cursor";
|
|
905
920
|
opencode: "opencode";
|
|
906
921
|
pi: "pi";
|
|
907
922
|
}>>;
|
|
@@ -918,6 +933,7 @@ export declare const updateAutomationInputSchema: z.ZodObject<{
|
|
|
918
933
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
919
934
|
claude: "claude";
|
|
920
935
|
codex: "codex";
|
|
936
|
+
cursor: "cursor";
|
|
921
937
|
opencode: "opencode";
|
|
922
938
|
pi: "pi";
|
|
923
939
|
}>>;
|
|
@@ -125,6 +125,7 @@ export declare const workerCreationReceiptSchema: z.ZodObject<{
|
|
|
125
125
|
export declare const workerBackendSchema: z.ZodEnum<{
|
|
126
126
|
claude: "claude";
|
|
127
127
|
codex: "codex";
|
|
128
|
+
cursor: "cursor";
|
|
128
129
|
opencode: "opencode";
|
|
129
130
|
pi: "pi";
|
|
130
131
|
}>;
|
|
@@ -210,6 +211,7 @@ export declare const workerCollectedResultSchema: z.ZodObject<{
|
|
|
210
211
|
backend: z.ZodOptional<z.ZodEnum<{
|
|
211
212
|
claude: "claude";
|
|
212
213
|
codex: "codex";
|
|
214
|
+
cursor: "cursor";
|
|
213
215
|
opencode: "opencode";
|
|
214
216
|
pi: "pi";
|
|
215
217
|
}>>;
|
|
@@ -366,6 +368,7 @@ export declare const workerResultFileSchema: z.ZodObject<{
|
|
|
366
368
|
backend: z.ZodOptional<z.ZodEnum<{
|
|
367
369
|
claude: "claude";
|
|
368
370
|
codex: "codex";
|
|
371
|
+
cursor: "cursor";
|
|
369
372
|
opencode: "opencode";
|
|
370
373
|
pi: "pi";
|
|
371
374
|
}>>;
|
|
@@ -909,6 +912,7 @@ export declare const workerSpawnRequestSchema: z.ZodObject<{
|
|
|
909
912
|
backend: z.ZodOptional<z.ZodEnum<{
|
|
910
913
|
claude: "claude";
|
|
911
914
|
codex: "codex";
|
|
915
|
+
cursor: "cursor";
|
|
912
916
|
opencode: "opencode";
|
|
913
917
|
pi: "pi";
|
|
914
918
|
}>>;
|
|
@@ -980,6 +984,7 @@ export declare const workerInspectionSchema: z.ZodObject<{
|
|
|
980
984
|
backend: z.ZodOptional<z.ZodEnum<{
|
|
981
985
|
claude: "claude";
|
|
982
986
|
codex: "codex";
|
|
987
|
+
cursor: "cursor";
|
|
983
988
|
opencode: "opencode";
|
|
984
989
|
pi: "pi";
|
|
985
990
|
}>>;
|
|
@@ -1144,6 +1149,7 @@ export declare const runRelationshipsSchema: z.ZodObject<{
|
|
|
1144
1149
|
backend: z.ZodOptional<z.ZodEnum<{
|
|
1145
1150
|
claude: "claude";
|
|
1146
1151
|
codex: "codex";
|
|
1152
|
+
cursor: "cursor";
|
|
1147
1153
|
opencode: "opencode";
|
|
1148
1154
|
pi: "pi";
|
|
1149
1155
|
}>>;
|
|
@@ -3,6 +3,7 @@ import { z } from 'zod';
|
|
|
3
3
|
export declare const runnerSchema: z.ZodEnum<{
|
|
4
4
|
claude: "claude";
|
|
5
5
|
codex: "codex";
|
|
6
|
+
cursor: "cursor";
|
|
6
7
|
opencode: "opencode";
|
|
7
8
|
pi: "pi";
|
|
8
9
|
}>;
|
|
@@ -19,6 +20,7 @@ export declare const backendCheckSchema: z.ZodObject<{
|
|
|
19
20
|
name: z.ZodEnum<{
|
|
20
21
|
claude: "claude";
|
|
21
22
|
codex: "codex";
|
|
23
|
+
cursor: "cursor";
|
|
22
24
|
gh: "gh";
|
|
23
25
|
git: "git";
|
|
24
26
|
opencode: "opencode";
|
|
@@ -64,6 +66,7 @@ export declare const healthResponseSchema: z.ZodObject<{
|
|
|
64
66
|
name: z.ZodEnum<{
|
|
65
67
|
claude: "claude";
|
|
66
68
|
codex: "codex";
|
|
69
|
+
cursor: "cursor";
|
|
67
70
|
gh: "gh";
|
|
68
71
|
git: "git";
|
|
69
72
|
opencode: "opencode";
|
|
@@ -76,6 +79,7 @@ export declare const healthResponseSchema: z.ZodObject<{
|
|
|
76
79
|
defaultRunner: z.ZodEnum<{
|
|
77
80
|
claude: "claude";
|
|
78
81
|
codex: "codex";
|
|
82
|
+
cursor: "cursor";
|
|
79
83
|
opencode: "opencode";
|
|
80
84
|
pi: "pi";
|
|
81
85
|
}>;
|