@parcha/agentrun-serve 0.1.0-beta.36 → 0.1.0-beta.37
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/CHANGELOG.md +170 -0
- package/README.md +158 -52
- package/dist/attach-conformance-cli.d.ts +1 -0
- package/dist/attach-conformance-cli.js +18 -0
- package/dist/attach-conformance.d.ts +25 -0
- package/dist/attach-conformance.js +343 -0
- package/dist/browser-cost.d.ts +1 -1
- package/dist/browser-live.d.ts +20 -8
- package/dist/browser-live.js +50 -27
- package/dist/cap.d.ts +0 -17
- package/dist/cap.js +0 -91
- package/dist/catalog.d.ts +1 -12
- package/dist/catalog.js +3 -33
- package/dist/cli.js +13 -4
- package/dist/composio-preset.d.ts +36 -0
- package/dist/composio-preset.js +179 -0
- package/dist/computer-attach.d.ts +125 -0
- package/dist/computer-attach.js +330 -0
- package/dist/computer-calls.d.ts +48 -0
- package/dist/computer-calls.js +126 -0
- package/dist/computer-channel.d.ts +57 -0
- package/dist/computer-channel.js +115 -0
- package/dist/computer-commands.d.ts +1 -1
- package/dist/computer-held-routes.d.ts +35 -0
- package/dist/computer-held-routes.js +106 -0
- package/dist/computer-held.d.ts +48 -0
- package/dist/computer-held.js +87 -0
- package/dist/computer-keys.d.ts +21 -1
- package/dist/computer-keys.js +53 -11
- package/dist/computer-live.d.ts +160 -0
- package/dist/computer-live.js +643 -0
- package/dist/computer-view.d.ts +13 -0
- package/dist/computer-view.js +50 -3
- package/dist/computer-viewer.d.ts +6 -0
- package/dist/computer-viewer.js +297 -0
- package/dist/computers.d.ts +33 -7
- package/dist/computers.js +50 -8
- package/dist/console/assets/index-Cn6JX1uH.js +563 -0
- package/dist/console/assets/index-DRN62V5v.css +1 -0
- package/dist/console/index.html +2 -2
- package/dist/faux-computers.d.ts +9 -20
- package/dist/faux-computers.js +53 -25
- package/dist/github-connection.d.ts +10 -2
- package/dist/github-connection.js +65 -2
- package/dist/github-faux.js +1 -1
- package/dist/graph-view.d.ts +1 -1
- package/dist/harness.d.ts +1 -0
- package/dist/harness.js +35 -1
- package/dist/host-tools.d.ts +1 -1
- package/dist/hosted-search.d.ts +5 -4
- package/dist/hosted-search.js +2 -7
- package/dist/import-sources.d.ts +10 -0
- package/dist/import-sources.js +44 -2
- package/dist/import.d.ts +3 -3
- package/dist/import.js +37 -6
- package/dist/learn/check.d.ts +4 -1
- package/dist/learn/check.js +1 -1
- package/dist/learn/commit.d.ts +4 -2
- package/dist/learn/commit.js +5 -5
- package/dist/learn/folder.d.ts +6 -0
- package/dist/learn/folder.js +4 -1
- package/dist/learn/general.d.ts +66 -0
- package/dist/learn/general.js +73 -0
- package/dist/learn/grade.d.ts +4 -0
- package/dist/learn/grade.js +22 -1
- package/dist/learn/reflect.d.ts +10 -1
- package/dist/learn/reflect.js +14 -4
- package/dist/learn/skills.d.ts +33 -5
- package/dist/learn/skills.js +53 -7
- package/dist/learned-workflow.d.ts +24 -0
- package/dist/learned-workflow.js +66 -3
- package/dist/learning-batch.d.ts +283 -0
- package/dist/learning-batch.js +574 -0
- package/dist/learning-evals.d.ts +33 -0
- package/dist/learning-evals.js +98 -0
- package/dist/learning-routes.d.ts +25 -2
- package/dist/learning-routes.js +39 -6
- package/dist/learning-words.d.ts +6 -0
- package/dist/learning-words.js +6 -0
- package/dist/learning.d.ts +28 -15
- package/dist/learning.js +84 -44
- package/dist/live/stream.js +6 -3
- package/dist/live/translate.d.ts +4 -3
- package/dist/live/translate.js +8 -4
- package/dist/live-reach.d.ts +37 -0
- package/dist/live-reach.js +62 -0
- package/dist/mcp-gateway.d.ts +9 -0
- package/dist/mcp-gateway.js +60 -11
- package/dist/mcp-oauth.d.ts +57 -7
- package/dist/mcp-oauth.js +133 -18
- package/dist/mcp-private-hosts.d.ts +4 -4
- package/dist/mcp-private-hosts.js +20 -12
- package/dist/mcp-probe.d.ts +19 -2
- package/dist/mcp-probe.js +44 -9
- package/dist/mcp-secret-writes.js +4 -0
- package/dist/mcp-servers-store.d.ts +38 -15
- package/dist/mcp-servers-store.js +112 -20
- package/dist/mcp-store.d.ts +10 -4
- package/dist/mcp-store.js +17 -6
- package/dist/model-form.d.ts +26 -0
- package/dist/model-form.js +80 -0
- package/dist/model.js +23 -10
- package/dist/openapi.js +386 -21
- package/dist/page.d.ts +18 -0
- package/dist/page.js +48 -20
- package/dist/paid-calls.d.ts +1 -1
- package/dist/place-offers.d.ts +2 -3
- package/dist/place-offers.js +3 -7
- package/dist/place.js +1 -2
- package/dist/print.d.ts +15 -1
- package/dist/print.js +14 -3
- package/dist/propose.d.ts +3 -0
- package/dist/propose.js +13 -5
- package/dist/provider.js +3 -2
- package/dist/reflect-range.d.ts +8 -1
- package/dist/reflect-range.js +1 -1
- package/dist/run-launch.d.ts +14 -2
- package/dist/run-launch.js +9 -4
- package/dist/run-learning-served.d.ts +2 -2
- package/dist/run-reads-over-store.d.ts +1 -1
- package/dist/run-repo.d.ts +20 -0
- package/dist/run-repo.js +63 -0
- package/dist/run-timeline-served.d.ts +1 -1
- package/dist/run-view.d.ts +3 -3
- package/dist/run-view.js +14 -7
- package/dist/runner/adapter-loop.d.ts +23 -7
- package/dist/runner/adapter-loop.js +648 -62
- package/dist/runner/adapter-run-spec.d.ts +11 -3
- package/dist/runner/adapter-run-spec.js +77 -22
- package/dist/runner/adapters/pi-computer.d.ts +7 -0
- package/dist/runner/adapters/pi-computer.js +43 -0
- package/dist/runner/adapters/pi.d.ts +9 -4
- package/dist/runner/adapters/pi.js +76 -14
- package/dist/runner/beside.d.ts +7 -3
- package/dist/runner/beside.js +21 -11
- package/dist/runner/claim-secrets.d.ts +4 -0
- package/dist/runner/claim-secrets.js +6 -1
- package/dist/runner/cli-run-spec.d.ts +20 -3
- package/dist/runner/cli-run-spec.js +113 -43
- package/dist/runner/commands.d.ts +3 -1
- package/dist/runner/commands.js +28 -3
- package/dist/runner/computer-channel.d.ts +34 -0
- package/dist/runner/computer-channel.js +61 -0
- package/dist/runner/conformance/harness.js +80 -14
- package/dist/runner/conformance/subject.d.ts +1 -1
- package/dist/runner/dispatch.js +3 -0
- package/dist/runner/end-of-run.d.ts +22 -12
- package/dist/runner/end-of-run.js +38 -16
- package/dist/runner/github-app.d.ts +2 -1
- package/dist/runner/github-app.js +4 -2
- package/dist/runner/harness-loops.js +15 -1
- package/dist/runner/held-run.d.ts +65 -0
- package/dist/runner/held-run.js +158 -0
- package/dist/runner/journal-kinds.d.ts +20 -1
- package/dist/runner/journal-kinds.js +14 -0
- package/dist/runner/journal-reader.d.ts +5 -4
- package/dist/runner/journal-reader.js +12 -10
- package/dist/runner/learning-ask.d.ts +7 -1
- package/dist/runner/learning-ask.js +21 -6
- package/dist/runner/learning-dispatch.d.ts +22 -0
- package/dist/runner/learning-dispatch.js +77 -10
- package/dist/runner/learning-end.d.ts +22 -1
- package/dist/runner/learning-end.js +92 -12
- package/dist/runner/learning-factory.d.ts +1 -1
- package/dist/runner/learning-factory.js +11 -5
- package/dist/runner/learning-loop.d.ts +67 -7
- package/dist/runner/learning-loop.js +173 -21
- package/dist/runner/learning-seed.d.ts +7 -0
- package/dist/runner/learning-seed.js +13 -0
- package/dist/runner/live-ticker.js +1 -0
- package/dist/runner/loop-contract.d.ts +8 -1
- package/dist/runner/loop.d.ts +5 -1
- package/dist/runner/loop.js +2 -1
- package/dist/runner/main.d.ts +13 -1
- package/dist/runner/main.js +27 -5
- package/dist/runner/mcp-claim.d.ts +10 -7
- package/dist/runner/mcp-claim.js +113 -24
- package/dist/runner/mcp-github.js +1 -1
- package/dist/runner/mcp-run.d.ts +5 -5
- package/dist/runner/mcp-run.js +15 -3
- package/dist/runner/metrics.d.ts +11 -2
- package/dist/runner/metrics.js +12 -2
- package/dist/runner/pr-checkout.d.ts +1 -0
- package/dist/runner/pr-checkout.js +1 -1
- package/dist/runner/reflect-hook.d.ts +18 -0
- package/dist/runner/reflect-hook.js +20 -8
- package/dist/runner/runner.d.ts +26 -0
- package/dist/runner/runner.js +184 -15
- package/dist/runner/scratch-sweep.d.ts +13 -0
- package/dist/runner/scratch-sweep.js +62 -0
- package/dist/runner/sessions.d.ts +1 -1
- package/dist/runner/store-port.d.ts +4 -2
- package/dist/runner/store-secrets.js +4 -3
- package/dist/runner/subagent.js +3 -1
- package/dist/runner/workflow-host.d.ts +6 -1
- package/dist/runner/workflow-host.js +1 -1
- package/dist/runner/workflow-loop.d.ts +1 -1
- package/dist/runner/workflow-spec.d.ts +14 -2
- package/dist/runner/workflow-spec.js +56 -20
- package/dist/runs-over-store.d.ts +6 -1
- package/dist/runs-over-store.js +38 -9
- package/dist/seal-key.js +3 -3
- package/dist/sealed-settings-store.d.ts +5 -2
- package/dist/sealed-settings-store.js +10 -4
- package/dist/secret-writes.d.ts +5 -4
- package/dist/secret-writes.js +5 -4
- package/dist/server-secrets-store.d.ts +4 -3
- package/dist/server-secrets-store.js +15 -9
- package/dist/server-secrets.js +3 -2
- package/dist/server.d.ts +43 -14
- package/dist/server.js +472 -126
- package/dist/settings-wake.d.ts +21 -0
- package/dist/settings-wake.js +59 -0
- package/dist/standard-webhooks.d.ts +4 -1
- package/dist/standard-webhooks.js +8 -4
- package/dist/store/command-wake.d.ts +12 -0
- package/dist/store/command-wake.js +37 -0
- package/dist/store/dialect.d.ts +6 -0
- package/dist/store/dialect.js +5 -0
- package/dist/store/index.d.ts +1 -1
- package/dist/store/journal/storage.d.ts +3 -2
- package/dist/store/journal/storage.js +13 -5
- package/dist/store/postgres/dialect.js +4 -0
- package/dist/store/postgres/migrations/0005_learning_rounds.sql +14 -0
- package/dist/store/postgres/migrations/0006_run_changes_channel_attempts.sql +57 -0
- package/dist/store/postgres/migrations/0007_viewer_host.sql +11 -0
- package/dist/store/postgres/migrations/0008_paired_computers.sql +30 -0
- package/dist/store/postgres/migrations/0009_commands_answer.sql +10 -0
- package/dist/store/schema.d.ts +1 -1
- package/dist/store/schema.js +77 -8
- package/dist/store/sqlite/run-patch.d.ts +7 -5
- package/dist/store/sqlite/run-patch.js +28 -13
- package/dist/store/sqlite/store.js +272 -54
- package/dist/store/store.d.ts +268 -9
- package/dist/store/store.js +12 -1
- package/dist/store-reads/cap.d.ts +1 -1
- package/dist/store-reads/cap.js +8 -1
- package/dist/store-reads/decisions.d.ts +2 -2
- package/dist/store-reads/decisions.js +1 -1
- package/dist/store-reads/import-summary.d.ts +1 -1
- package/dist/store-reads/journal.d.ts +5 -4
- package/dist/store-reads/journal.js +73 -15
- package/dist/store-reads/learning.d.ts +20 -4
- package/dist/store-reads/learning.js +74 -18
- package/dist/store-reads/runs.d.ts +1 -1
- package/dist/store-reads/workflow.d.ts +1 -1
- package/dist/store-view.d.ts +5 -0
- package/dist/store-view.js +26 -11
- package/dist/template-eval.js +6 -4
- package/dist/template-github-permissions.d.ts +22 -8
- package/dist/template-github-permissions.js +35 -15
- package/dist/timeline/timeline.d.ts +27 -0
- package/dist/timeline/timeline.js +10 -9
- package/dist/timeline/util.d.ts +4 -0
- package/dist/timeline/util.js +14 -0
- package/dist/tool-budget.d.ts +19 -7
- package/dist/tool-budget.js +14 -8
- package/dist/tool-gate.d.ts +16 -9
- package/dist/tool-gate.js +53 -42
- package/dist/tool-plane.d.ts +16 -12
- package/dist/tool-plane.js +9 -4
- package/dist/tools.d.ts +13 -4
- package/dist/tools.js +13 -4
- package/dist/trigger-adapter.d.ts +4 -0
- package/dist/trigger-secrets-shown.d.ts +2 -2
- package/dist/trigger-secrets-shown.js +1 -1
- package/dist/trigger-signatures.d.ts +25 -6
- package/dist/trigger-signatures.js +41 -7
- package/dist/trigger-targets.d.ts +2 -0
- package/dist/trigger-targets.js +1 -0
- package/dist/trigger-webhook.js +5 -2
- package/dist/triggers.d.ts +7 -3
- package/dist/triggers.js +35 -5
- package/dist/turns.js +16 -1
- package/dist/validate.js +11 -1
- package/dist/web-fetch.d.ts +1 -1
- package/dist/web-search.d.ts +10 -5
- package/dist/web-search.js +7 -6
- package/dist/webhooks.d.ts +145 -102
- package/dist/webhooks.js +559 -322
- package/dist/workflow/decisions.d.ts +1 -1
- package/dist/workflow/node-runner.d.ts +2 -1
- package/dist/workflow/node.d.ts +2 -1
- package/dist/workflow/node.js +3 -1
- package/dist/workflow/pi-versions.d.ts +23 -0
- package/dist/workflow/pi-versions.js +57 -0
- package/dist/workflow/record-tool.d.ts +2 -1
- package/dist/workflow/store.d.ts +1 -1
- package/dist/workflow/task.js +3 -2
- package/dist/workflow-run.d.ts +1 -1
- package/dist/workspace/attached-computers.d.ts +41 -0
- package/dist/workspace/attached-computers.js +114 -0
- package/dist/workspace/computer-deps.d.ts +16 -9
- package/dist/workspace/computer-deps.js +19 -7
- package/dist/workspace/computer-for-claim.d.ts +17 -8
- package/dist/workspace/computer-for-claim.js +62 -21
- package/dist/workspace/computer-hold.d.ts +11 -27
- package/dist/workspace/computer-hold.js +36 -56
- package/dist/workspace/computer-ledger.d.ts +3 -1
- package/dist/workspace/computer-ledger.js +4 -0
- package/dist/workspace/computer-mcp.d.ts +25 -0
- package/dist/workspace/computer-mcp.js +41 -0
- package/dist/workspace/computer-ports.d.ts +4 -13
- package/dist/workspace/computer-ports.js +4 -107
- package/dist/workspace/computer-script.d.ts +37 -0
- package/dist/workspace/computer-script.js +138 -0
- package/dist/workspace/executors.d.ts +1 -1
- package/dist/workspace/index.d.ts +4 -2
- package/dist/workspace/index.js +3 -1
- package/dist/workspace/kind-skills/desktop/SKILL.md +119 -84
- package/dist/workspace/kind-skills/phone/SKILL.md +100 -85
- package/dist/workspace/resolve-computer.d.ts +3 -0
- package/dist/workspace/resolve-computer.js +8 -2
- package/dist/workspace/run-tools.d.ts +32 -15
- package/dist/workspace/run-tools.js +23 -30
- package/package.json +19 -16
- package/templates/market-monitor/agent.md +1 -1
- package/dist/console/assets/index-BI4Byidu.js +0 -550
- package/dist/console/assets/index-C19gUF2n.css +0 -1
- package/dist/run-db.d.ts +0 -53
- package/dist/run-db.js +0 -116
- package/dist/workflow/readers.d.ts +0 -36
- package/dist/workflow/readers.js +0 -145
- package/dist/workflow/wal.d.ts +0 -11
- package/dist/workflow/wal.js +0 -106
package/dist/server.d.ts
CHANGED
|
@@ -5,9 +5,11 @@ import { type Place } from "./place.js";
|
|
|
5
5
|
import { type Store } from "./store/index.js";
|
|
6
6
|
import { type BoxOffer } from "./place-offers.js";
|
|
7
7
|
import { type StoredKeys } from "./secrets.js";
|
|
8
|
+
import { type ComposioControl } from "./composio-preset.js";
|
|
8
9
|
import type { TriggerAdapter } from "./trigger-adapter.js";
|
|
9
10
|
import { type TriggerClock } from "./triggers.js";
|
|
10
11
|
import { type ToolSettingsMap } from "./tool-plane.js";
|
|
12
|
+
import { AttachHub } from "@parcha/agentrun-computer";
|
|
11
13
|
export declare const CONTRACT = "agentrun.v2/0";
|
|
12
14
|
export declare const DEFAULT_PORT = 7340;
|
|
13
15
|
export type ServeOptions = {
|
|
@@ -41,6 +43,10 @@ export type ServeOptions = {
|
|
|
41
43
|
* X-Forwarded-For names (the nearest one not itself a trusted proxy). None by default: the header is never read, and
|
|
42
44
|
* every request counts under the address it came from. */
|
|
43
45
|
trustedProxies?: readonly string[];
|
|
46
|
+
/** This server is a local install, its operator says (the CLI: AGENTRUN_MCP_ALLOW_LOOPBACK=1, only on a machine they
|
|
47
|
+
* alone use): an MCP server's URL may be on loopback, at its save, preview and sign-in, and for the runner beside it.
|
|
48
|
+
* Never inferred; absent, loopback is refused there in words saying how to say so. */
|
|
49
|
+
mcpLoopback?: boolean;
|
|
44
50
|
/** The address to listen on (default 127.0.0.1). On any other address every `Host` name is served and the token is
|
|
45
51
|
* the only lock: put TLS in front of it. */
|
|
46
52
|
host?: string;
|
|
@@ -69,6 +75,8 @@ export type ServeOptions = {
|
|
|
69
75
|
readonly baseUrl?: string;
|
|
70
76
|
readonly fetch?: typeof fetch;
|
|
71
77
|
};
|
|
78
|
+
/** Another Composio than the real one, and its fetch: a test's fake, for the Composio preset's calls (composio-preset.ts). */
|
|
79
|
+
composioControl?: ComposioControl;
|
|
72
80
|
/** With `faux` only: a module whose default export gives the `browser` tool's `{ provider, driver }` (the tests' fake
|
|
73
81
|
* backend), in place of Browserbase's or Kernel's. */
|
|
74
82
|
fauxBrowser?: string;
|
|
@@ -142,6 +150,8 @@ export type ServeOptions = {
|
|
|
142
150
|
* definition says `learning: true` starts from what its agent learned. `off`: no run this server starts does, whatever
|
|
143
151
|
* its agent's definition says, and its `learning` is null. */
|
|
144
152
|
learning?: LearningMode;
|
|
153
|
+
/** A test's seam: how often a learning batch's loop looks at its run, in ms (learning-batch.ts; default 1000). */
|
|
154
|
+
batchPollMs?: number;
|
|
145
155
|
/** How much of what a run learned its instructions hold under `# Learned`, in UTF-8 bytes (`--learning-budget`;
|
|
146
156
|
* default AGENTRUN_SERVE_LEARNING_BUDGET, else 8000): every note whole while they fit, else the notes that bear on
|
|
147
157
|
* the run's input whole and a line for each of the rest (learning.ts learnedParts, its note selector). */
|
|
@@ -160,10 +170,17 @@ export type ServeOptions = {
|
|
|
160
170
|
githubMcpOrigin?: string;
|
|
161
171
|
/** A test's seam: how long a hook's body has to arrive, whole (default 30 s: push-handler.ts HOOK_BODY_MS). */
|
|
162
172
|
hookBodyMs?: number;
|
|
173
|
+
/** A test's seam: awaited by a message (a person's, or a trigger's firing) once its checks have passed and just before its
|
|
174
|
+
* command row is written, with the run's id and the message's text, so a test can hold a message at the run's door while
|
|
175
|
+
* the run's state changes under it (runs-over-store.ts message). */
|
|
176
|
+
beforeSubmit?: (runId: string, content: string) => Promise<void> | void;
|
|
163
177
|
/** A test's seam: the folder the template packages are read from, in place of the package's own (templates.ts). */
|
|
164
178
|
templates?: string;
|
|
165
179
|
/** The waits before each try again of a webhook delivery (default 5 s, 5 min, 30 min, 2 h, 5 h and 10 h: webhooks.ts RETRY_MS). */
|
|
166
180
|
webhookRetryMs?: readonly number[];
|
|
181
|
+
/** Whether the outbound webhook may send to a private network or this machine: off by default, so no caller of the API
|
|
182
|
+
* can make the server POST inside its own network. The operator's AGENTRUN_WEBHOOK_PRIVATE_TARGETS=1 turns it on. */
|
|
183
|
+
webhookPrivateTargets?: boolean;
|
|
167
184
|
};
|
|
168
185
|
/** The test switches a run's process gets, each module path resolved: empty outside tests. A test's in-process runner
|
|
169
186
|
* takes the same (test/support.mjs startInProcessRunner). */
|
|
@@ -172,6 +189,8 @@ export declare function fauxEnvOf(options: ServeOptions): NodeJS.ProcessEnv;
|
|
|
172
189
|
/** `setupUrl`: with accounts and no password yet, the page that sets it (with its code when setup needs one);
|
|
173
190
|
* `setupOpen`: whether that setup takes no code (open setup on a loopback listener). */
|
|
174
191
|
/** `boxesLine`: what the start's banner says of the boxes, in words (place.ts boxesLine). */
|
|
192
|
+
/** `launchCode`: with no accounts, the code of the console's link this start prints (`/?launch=<code>`), which gives the
|
|
193
|
+
* browser that opens it a console session (page.ts ConsoleSessions). */
|
|
175
194
|
export type Serve = {
|
|
176
195
|
url: string;
|
|
177
196
|
baseUrl: string;
|
|
@@ -181,8 +200,16 @@ export type Serve = {
|
|
|
181
200
|
tokenMade: boolean;
|
|
182
201
|
setupUrl?: string;
|
|
183
202
|
setupOpen?: boolean;
|
|
203
|
+
launchCode?: string;
|
|
184
204
|
boxesLine: string;
|
|
185
205
|
close(): Promise<void>;
|
|
206
|
+
/** The live sockets of the computers paired with this server (computer-attach.ts): a runner beside the server in this
|
|
207
|
+
* process takes it (runner/beside.ts), so its runs can use them. */
|
|
208
|
+
attachHub: AttachHub;
|
|
209
|
+
/** Whether this server is a local install (listening on loopback, reached at no address off it): the one kind whose own
|
|
210
|
+
* runner beside it may reach an MCP server's URL on loopback (runner/beside.ts mcpLoopback). Only that runner is told:
|
|
211
|
+
* it is this process's finding, never a store's, so another host's runner on a shared store never inherits it. */
|
|
212
|
+
localInstall: boolean;
|
|
186
213
|
/** What a stop waits on: the runs whose processes still finish their turn, and the longest it waits on them. */
|
|
187
214
|
stopping(): {
|
|
188
215
|
runs: number;
|
|
@@ -248,6 +275,7 @@ export declare function readingOf(base: NodeJS.ProcessEnv, maxRuns: number, stor
|
|
|
248
275
|
reason?: string;
|
|
249
276
|
default_model: string | null;
|
|
250
277
|
installs?: "on_first_use";
|
|
278
|
+
models: string[];
|
|
251
279
|
run_memory_mib: number;
|
|
252
280
|
}[];
|
|
253
281
|
/** The places a revision may name (`definition.place`), this host's default, and whether this server has each box. */
|
|
@@ -287,9 +315,9 @@ export declare function readingOf(base: NodeJS.ProcessEnv, maxRuns: number, stor
|
|
|
287
315
|
default_provider?: string | undefined;
|
|
288
316
|
resolves?: Record<"opencode" | "codex" | "pi" | "claude-agent", import("./tool-plane.js").Resolution> | undefined;
|
|
289
317
|
why?: Record<"opencode" | "codex" | "pi" | "claude-agent", string> | undefined;
|
|
290
|
-
permission: "deny" | "
|
|
291
|
-
default_permission: "deny" | "
|
|
292
|
-
permissions: ("deny" | "
|
|
318
|
+
permission: "deny" | "ask" | "allow";
|
|
319
|
+
default_permission: "deny" | "ask" | "allow";
|
|
320
|
+
permissions: ("deny" | "ask" | "allow")[];
|
|
293
321
|
harnesses: ("opencode" | "codex" | "pi" | "claude-agent")[];
|
|
294
322
|
missing?: string[] | undefined;
|
|
295
323
|
reason?: string | undefined;
|
|
@@ -308,9 +336,9 @@ export declare function readingOf(base: NodeJS.ProcessEnv, maxRuns: number, stor
|
|
|
308
336
|
default_provider?: string | undefined;
|
|
309
337
|
resolves?: Record<"opencode" | "codex" | "pi" | "claude-agent", import("./tool-plane.js").Resolution> | undefined;
|
|
310
338
|
why?: Record<"opencode" | "codex" | "pi" | "claude-agent", string> | undefined;
|
|
311
|
-
permission: "deny" | "
|
|
312
|
-
default_permission: "deny" | "
|
|
313
|
-
permissions: ("deny" | "
|
|
339
|
+
permission: "deny" | "ask" | "allow";
|
|
340
|
+
default_permission: "deny" | "ask" | "allow";
|
|
341
|
+
permissions: ("deny" | "ask" | "allow")[];
|
|
314
342
|
harnesses: ("opencode" | "codex" | "pi" | "claude-agent")[];
|
|
315
343
|
missing?: string[] | undefined;
|
|
316
344
|
reason?: string | undefined;
|
|
@@ -457,7 +485,7 @@ export declare function readingOf(base: NodeJS.ProcessEnv, maxRuns: number, stor
|
|
|
457
485
|
failures_to_pause: number;
|
|
458
486
|
webhook: {
|
|
459
487
|
signing: string;
|
|
460
|
-
signatures: ("github" | "standard")[];
|
|
488
|
+
signatures: ("github" | "standard" | "composio")[];
|
|
461
489
|
tolerance_s: number;
|
|
462
490
|
max_body_bytes: number;
|
|
463
491
|
payload_kept_bytes: number;
|
|
@@ -513,6 +541,7 @@ export declare function capabilities(env?: NodeJS.ProcessEnv, maxRuns?: number,
|
|
|
513
541
|
reason?: string;
|
|
514
542
|
default_model: string | null;
|
|
515
543
|
installs?: "on_first_use";
|
|
544
|
+
models: string[];
|
|
516
545
|
run_memory_mib: number;
|
|
517
546
|
}[];
|
|
518
547
|
/** The places a revision may name (`definition.place`), this host's default, and whether this server has each box. */
|
|
@@ -552,9 +581,9 @@ export declare function capabilities(env?: NodeJS.ProcessEnv, maxRuns?: number,
|
|
|
552
581
|
default_provider?: string | undefined;
|
|
553
582
|
resolves?: Record<"opencode" | "codex" | "pi" | "claude-agent", import("./tool-plane.js").Resolution> | undefined;
|
|
554
583
|
why?: Record<"opencode" | "codex" | "pi" | "claude-agent", string> | undefined;
|
|
555
|
-
permission: "deny" | "
|
|
556
|
-
default_permission: "deny" | "
|
|
557
|
-
permissions: ("deny" | "
|
|
584
|
+
permission: "deny" | "ask" | "allow";
|
|
585
|
+
default_permission: "deny" | "ask" | "allow";
|
|
586
|
+
permissions: ("deny" | "ask" | "allow")[];
|
|
558
587
|
harnesses: ("opencode" | "codex" | "pi" | "claude-agent")[];
|
|
559
588
|
missing?: string[] | undefined;
|
|
560
589
|
reason?: string | undefined;
|
|
@@ -573,9 +602,9 @@ export declare function capabilities(env?: NodeJS.ProcessEnv, maxRuns?: number,
|
|
|
573
602
|
default_provider?: string | undefined;
|
|
574
603
|
resolves?: Record<"opencode" | "codex" | "pi" | "claude-agent", import("./tool-plane.js").Resolution> | undefined;
|
|
575
604
|
why?: Record<"opencode" | "codex" | "pi" | "claude-agent", string> | undefined;
|
|
576
|
-
permission: "deny" | "
|
|
577
|
-
default_permission: "deny" | "
|
|
578
|
-
permissions: ("deny" | "
|
|
605
|
+
permission: "deny" | "ask" | "allow";
|
|
606
|
+
default_permission: "deny" | "ask" | "allow";
|
|
607
|
+
permissions: ("deny" | "ask" | "allow")[];
|
|
579
608
|
harnesses: ("opencode" | "codex" | "pi" | "claude-agent")[];
|
|
580
609
|
missing?: string[] | undefined;
|
|
581
610
|
reason?: string | undefined;
|
|
@@ -722,7 +751,7 @@ export declare function capabilities(env?: NodeJS.ProcessEnv, maxRuns?: number,
|
|
|
722
751
|
failures_to_pause: number;
|
|
723
752
|
webhook: {
|
|
724
753
|
signing: string;
|
|
725
|
-
signatures: ("github" | "standard")[];
|
|
754
|
+
signatures: ("github" | "standard" | "composio")[];
|
|
726
755
|
tolerance_s: number;
|
|
727
756
|
max_body_bytes: number;
|
|
728
757
|
payload_kept_bytes: number;
|