@agentproto/runtime 2.10.1 → 2.11.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 +1 -1
- package/dist/index.d.ts +10 -6
- package/dist/index.mjs +639 -2841
- package/dist/index.mjs.map +1 -1
- package/dist/pr-provenance.d.ts +11 -1
- package/dist/pr-provenance.mjs +10 -1
- package/dist/pr-provenance.mjs.map +1 -1
- package/dist/resume-strategies.mjs.map +1 -1
- package/dist/session-story.d.ts +1 -1
- package/dist/session-story.mjs.map +1 -1
- package/package.json +12 -16
- package/dist/session-story-panel.d.ts +0 -26
- package/dist/session-story-panel.mjs +0 -970
- package/dist/session-story-panel.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -65,7 +65,7 @@ The `/mcp` endpoint exposes the core toolset plus several opt-in / feature-gated
|
|
|
65
65
|
| `terminal_start` / `terminal_input` / `terminal_output` / `terminal_kill` | Raw PTY sessions |
|
|
66
66
|
| `session_list` / `session_tree` / `session_usage` / `session_restart` / `session_rename` | Session management |
|
|
67
67
|
| `app_install` / `app_run` / `app_list` / `app_status` / `app_stop` / `app_apply` / `app_unapply` / `app_list_applied` | App-kit apps |
|
|
68
|
-
| `app_data_read` / `app_data_write` / `app_data_list` / `app_data_migrate` | App-scoped durable data plane (
|
|
68
|
+
| `app_data_read` / `app_data_write` / `app_data_list` / `app_data_migrate` | App-scoped durable data plane, anchored at the app's `dataDir` (default `<dir>/data`; `app_install {dataDir}`) |
|
|
69
69
|
| `harness_preset_list` / `harness_preset_create` / `harness_preset_delete` / `harness_preset_set_default` | Persisted harness→auth-profile presets (new) |
|
|
70
70
|
| `workspace_brain_query` / `workspace_brain_status` / `workspace_brain_ingest` | Per-workspace transcript recall (new) |
|
|
71
71
|
| `conversation_export` | Export a daemon transcript to a target adapter's native store, e.g. `claude-code` (new) |
|
package/dist/index.d.ts
CHANGED
|
@@ -557,15 +557,16 @@ interface ToolCallRecord {
|
|
|
557
557
|
*
|
|
558
558
|
* Deliberately dependency-free — a `SessionState`, two pure summarisers, one
|
|
559
559
|
* regenerate/guard helper — so it can be BOTH:
|
|
560
|
-
* - reused verbatim by `summarize_session` (
|
|
561
|
-
* `summarizeLines` / `deriveSessionState` from here), and
|
|
560
|
+
* - reused verbatim by `summarize_session` (summarize-session-tool.ts
|
|
561
|
+
* imports `summarizeLines` / `deriveSessionState` from here), and
|
|
562
562
|
* - imported by the session store (sessions.ts) to stamp `activitySummary`
|
|
563
563
|
* onto the descriptor on turn-end, WITHOUT dragging the overview panel's
|
|
564
|
-
* HTML bundle or the MCP-app
|
|
564
|
+
* HTML bundle (now @agentproto/apps/agents-overview) or the MCP-app
|
|
565
|
+
* wiring into the hot session path.
|
|
565
566
|
*
|
|
566
|
-
* HEURISTIC, no LLM: `@agentproto/runtime` has no inference client (see
|
|
567
|
-
*
|
|
568
|
-
* heavy today). `regenerateActivitySummary` is the documented swap point —
|
|
567
|
+
* HEURISTIC, no LLM: `@agentproto/runtime` has no inference client (see
|
|
568
|
+
* summarize-session-tool.ts's header for why a `ModelLike.complete` call is
|
|
569
|
+
* too heavy today). `regenerateActivitySummary` is the documented swap point —
|
|
569
570
|
* replace its `summarizeLines`/`deriveSessionState` body with a
|
|
570
571
|
* `ModelLike.complete({ system, prompt })` call to upgrade the line to a
|
|
571
572
|
* semantic one; the trigger + `renamedByUser` guard contract and the
|
|
@@ -6351,6 +6352,7 @@ interface SpawnAgentInput {
|
|
|
6351
6352
|
* reads its state.db keyed by the adapter session id). Omit for adapters
|
|
6352
6353
|
* with no usage source. */
|
|
6353
6354
|
readUsage?: () => Promise<{
|
|
6355
|
+
model?: string;
|
|
6354
6356
|
costUsd?: number;
|
|
6355
6357
|
tokensIn?: number;
|
|
6356
6358
|
tokensOut?: number;
|
|
@@ -6400,6 +6402,7 @@ type PendingAgentOutcome = {
|
|
|
6400
6402
|
resumable?: boolean;
|
|
6401
6403
|
nativeTerminalResume?: boolean;
|
|
6402
6404
|
readUsage?: () => Promise<{
|
|
6405
|
+
model?: string;
|
|
6403
6406
|
costUsd?: number;
|
|
6404
6407
|
tokensIn?: number;
|
|
6405
6408
|
tokensOut?: number;
|
|
@@ -6781,6 +6784,7 @@ interface ReconcilerSession extends FooterSession {
|
|
|
6781
6784
|
worktreePath?: string;
|
|
6782
6785
|
openedPrs?: readonly {
|
|
6783
6786
|
url: string;
|
|
6787
|
+
number?: number;
|
|
6784
6788
|
}[];
|
|
6785
6789
|
}
|
|
6786
6790
|
/** The registry slice the reconciler needs — structurally satisfied by the full
|