@agentproto/runtime 3.6.1 → 4.1.0
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 +8 -3
- package/dist/app-ui-build.d.ts +96 -0
- package/dist/app-ui-build.mjs +250 -0
- package/dist/app-ui-build.mjs.map +1 -0
- package/dist/app-ui-delivery.d.ts +75 -0
- package/dist/app-ui-delivery.mjs +144 -0
- package/dist/app-ui-delivery.mjs.map +1 -0
- package/dist/app-ui-placeholder.d.ts +73 -0
- package/dist/app-ui-placeholder.mjs +89 -0
- package/dist/app-ui-placeholder.mjs.map +1 -0
- package/dist/catalog-models.d.ts +5 -3
- package/dist/catalog-models.mjs.map +1 -1
- package/dist/config-schema.d.ts +134 -0
- package/dist/config-schema.mjs +3697 -0
- package/dist/config-schema.mjs.map +1 -0
- package/dist/config.d.ts +22 -2
- package/dist/config.mjs +3615 -4
- package/dist/config.mjs.map +1 -1
- package/dist/{context-continuity-ib9_bVYM.d.ts → context-continuity-Bn99UtVC.d.ts} +40 -1
- package/dist/{heartbeat-COGpMrJS.d.ts → heartbeat-BJtxbDb9.d.ts} +13 -1
- package/dist/heartbeat.d.ts +1 -1
- package/dist/index.d.ts +3057 -151
- package/dist/index.mjs +17669 -7188
- package/dist/index.mjs.map +1 -1
- package/dist/mcp-imports.d.ts +2 -1
- package/dist/resume-strategies.mjs +27 -1
- package/dist/resume-strategies.mjs.map +1 -1
- package/dist/{session-config-DbWP9RRj.d.ts → session-config-ByfVeEQJ.d.ts} +1 -1
- package/dist/session-presence.mjs +3613 -6
- package/dist/session-presence.mjs.map +1 -1
- package/dist/session-story.d.ts +10 -0
- package/dist/{spawn-defaults-CwI9Puwy.d.ts → spawn-defaults-CZj39Znq.d.ts} +146 -2
- package/dist/user-presets.d.ts +8 -2
- package/dist/user-presets.mjs +2 -1
- package/dist/user-presets.mjs.map +1 -1
- package/docs/TRANSMITTER.md +356 -0
- package/docs/mcp-tools/agent_start.md +476 -0
- package/docs/mcp-tools/app_run.md +47 -0
- package/package.json +47 -23
package/dist/config.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { S as SpawnDefaultsConfig } from './spawn-defaults-
|
|
1
|
+
import { S as SpawnDefaultsConfig } from './spawn-defaults-CZj39Znq.js';
|
|
2
|
+
import './context-continuity-Bn99UtVC.js';
|
|
3
|
+
import '@agentproto/acp';
|
|
4
|
+
import '@agentproto/command-sandbox';
|
|
2
5
|
import '@agentproto/model-catalog';
|
|
3
|
-
import './context-continuity-ib9_bVYM.js';
|
|
4
6
|
|
|
5
7
|
/**
|
|
6
8
|
* `~/.agentproto/config.json` — single hand-editable JSON for the
|
|
@@ -68,6 +70,18 @@ interface DaemonConfig {
|
|
|
68
70
|
* `agentproto config set daemon.resumeSessionsOnBoot true`. Surfaced in
|
|
69
71
|
* `daemon_health` / `GET /health`. */
|
|
70
72
|
resumeSessionsOnBoot?: boolean;
|
|
73
|
+
/** Opt-in continue-on-boot (continue-interrupted). When true, right after
|
|
74
|
+
* the eager resume pass, the boot sends a "the daemon restarted mid-turn,
|
|
75
|
+
* check the state on disk and continue" prompt to every session the LAST
|
|
76
|
+
* restart interrupted mid-turn (`interrupted: true`) that is resumable,
|
|
77
|
+
* under the resume cap, idle, and whose resume didn't fail. Never loops: at
|
|
78
|
+
* most one auto-continue per restart and `MAX_AUTO_CONTINUE_ATTEMPTS` in a
|
|
79
|
+
* row without a successful turn-end. Default false — the interrupted prompt
|
|
80
|
+
* itself is never auto-retried, and a continue prompt is still a prompt
|
|
81
|
+
* (tokens, side effects), so it's opt-in. The manual
|
|
82
|
+
* `session_continue_interrupted` verb works regardless. Set via
|
|
83
|
+
* `agentproto config set daemon.continueInterruptedOnBoot true`. */
|
|
84
|
+
continueInterruptedOnBoot?: boolean;
|
|
71
85
|
/** Idle agent-session reaper (PR-6). When set to a positive number of
|
|
72
86
|
* milliseconds, the daemon periodically retires agent-cli sessions that have
|
|
73
87
|
* been idle (not busy, not awaiting input, `status:"running"`) longer than
|
|
@@ -359,6 +373,12 @@ interface PairingConfig {
|
|
|
359
373
|
* persisted pairing on boot (so a paired client can reconnect anytime).
|
|
360
374
|
* Mirrors `tunnel.autoconnect`. Default true when a rendezvous is set. */
|
|
361
375
|
autoconnect?: boolean;
|
|
376
|
+
/** Web pair page for `pair offer --qr` (the offer rides in its fragment).
|
|
377
|
+
* A template with `{fp}` in the HOSTNAME, filled with the daemon
|
|
378
|
+
* fingerprint (one origin per daemon), or a plain http(s) URL (one shared
|
|
379
|
+
* origin). Unset → `https://{fp}.agentproto.cloud/pair`. `--pair-page`
|
|
380
|
+
* overrides it. */
|
|
381
|
+
pairPage?: string;
|
|
362
382
|
}
|
|
363
383
|
/**
|
|
364
384
|
* A user-defined generic ACP agent — the config-file half of
|