@parcha/agentrun-kernel 0.1.0-beta.56 → 0.1.0-beta.58

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 CHANGED
@@ -2,6 +2,27 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## 0.1.0-beta.58 (2026-11-25)
6
+
7
+ - `sessionSpendOf` also answers `chargedUsd`: what a session's answered requests were charged, a request a crash cut counted at its hold, and never one still in flight at its hold (null when one answered has no figure). `spentUsd` is unchanged and still counts the open ones at their holds. A host that checks a run's cap once it has settled reads `chargedUsd` in place of summing `figures` itself. <!-- changes/session-charged-usd.md -->
8
+ - More follow-ups to the Claude login on this machine (Settings → Model keys), and to the server's probe of the harness offers. <!-- changes/claude-sign-in-followups-2.md -->
9
+ - A tool key's save or delete while the offers held are behind the inputs, and the probe out was made from the inputs read now (a turn-on of the login, say), waits for that probe's turn and starts no probe of its own while it lands. The turn ends when the probe lands or fails, or when a later probe overtakes it; the change then reads the inputs again: landed, it composes the capabilities; failed, it probes for itself; overtaken, it goes by the later probe. So it never answers `500` for another request's failed probe once its key is stored, never waits on a dropped probe, and its key always shows in the capabilities it answers after. Before, it started a probe that dropped the one out, so the save answered only after a whole probe of its own. The server logs `harness_offers_wait` as it waits.
10
+ - A probe of the offers that fails leaves no probe out when it was the latest one, so a later change back to the inputs the offers held were made from reuses them. Before, that change probed again.
11
+ - The Playground's "No model yet" bar is gone while the login is on and reads signed in, no agent is picked (no agents yet, or the agents still being read), and the server's default place is the runner, where a first agent on Claude Agent runs on the login. The bar's ChatGPT and key offer goes with it, whatever harness the first agent will use. On a server whose default place is a box, or before its places are read, the bar stays: a first agent there runs in the box on the model keys. Before, a Playground with no agents offered ChatGPT or a key though an agent on Claude Agent would run on the login.
12
+ - A run of an agent on Claude Agent in a box, refused for its model while the login is on, on a model the login runs (Anthropic's own, `anthropic/<id>`, or none named), says that the login runs agents on the runner only, names the box, and says that moving the agent to the runner runs it on the login. Its `409 agent_not_runnable` carries a new `details.login_on_runner: true` (additive), and the Playground offers "Move it to the runner" there, which saves the agent's definition with its computer set to none and its box-only tools dropped, as the agent's Computer step does, and names the tools it dropped. Which tools run only in a box is the capabilities' word: a move taken before they are read, or after their read failed, reads them itself, and while that read fails it saves nothing and says so. The Computer step, with no tools read, refuses a pick that puts the agent on the runner, in words, and changes nothing. Before, either saved the agent on the runner with bash still granted, and its next run was refused there. The offer is the refused agent's: it shows only while that agent is picked and moves only that agent. After the move, a revision picked in the Playground becomes the one the move saved, so the next request runs on the runner. An agent already on the runner is not saved again. The login still runs agents on the runner only. An agent on any other model (an OpenRouter one, Anthropic's through OpenRouter included) is offered no move: on the runner it still needs its provider's key, which its refusal names. Serve puts a run on the login and makes the offer by one rule.
13
+ - A run's check of the login takes the Settings view's signed-in answer from a runner in a process of its own on the same data folder (`agentrun-serve --no-runner` beside `agentrun-serve runner`). The answer is kept in the data folder's `claude-login-answers/`: one file per login (0600, in a 0700 folder), named by a hash of the machine's id and the login, holding only the time; a signed-out answer removes it. A run's check reads it only as a regular file of at most 32 bytes, never through a link, and a FIFO there is no answer rather than a held check. A note tightens a wider folder to 0700 and never writes through a link at its name. On disk, an answer outlives a server restart for up to its 10 minutes. Before, it was in the server process's memory, so such a runner refused a first run whose two checks timed out right after Settings read signed in.
14
+ - A sign-in whose CLI is a script naming an interpreter that is not there (`#!/path`, or `#!/usr/bin/env <program>` with the program on no folder of the sign-in's PATH) fails at its start, in words that name the interpreter. Before, the parent watch's exit 127 read as the CLI's own exit. The `#!` line is read as the kernel reads it, as bytes, so an interpreter under a folder whose name is not ASCII (a home folder named `José`, say) is found.
15
+ - `parentWatched` throws a `RangeError` at the call for a `termGraceMs` the parent-watch shim would refuse (anything but a whole number of ms from 1 to 2^31 - 1), whichever watch is asked for. Before, the shim exited 2 at spawn, which read as the child's own exit.
16
+ - The status check reads an answer that is already in the CLI's output when the drain's second ends, though the server's event loop was held up past that second. Before, the loop ran the drain's timer before its reads, and the check read `no_status`.
17
+
18
+ ## 0.1.0-beta.57 (2026-11-24)
19
+
20
+ - A live run shows what it waits on while it waits, not only once it answers (GRE-4835): a model request from the moment it is sent, on every harness, and each tool call until it returns. A slow local model reading a long prompt shows "inkling-2-mini thinking · 2:13" under the run's header, ticking; a slow `web_fetch` shows "web_fetch · 0:41". <!-- changes/in-flight-requests.md -->
21
+ - The kernel stamps each model request's record (`runner.request`) with when it left (`at`) and the input it was admitted with (`inputTokensMax`), written before the request leaves, as the record already was. `ModelPortOptions.now` sets the clock.
22
+ - `GET /v2/runs/{id}/timeline` pages carry `in_flight` (`inflight/1`, this server's own beside the vendored contract): each model request with no answer yet (its model, `started_at`, `input_tokens_max`, and `for_tool` for a tool's own request) and each tool call with no result yet (its tool, `started_at`, `tool_use_id`), oldest first; empty once the run is final. A request sent or answered is a change of the page, so a long poll or the event stream wakes for it.
23
+ - Not yet: tokens counted while a model streams its answer; the Dev tools trace still lists a model request once it answers.
24
+ - `parentWatched` takes a third argument, `{ termGraceMs }`: under the parent-watch shim (where `setpriv --pdeathsig` is not available: macOS, or Linux without it), the shim kills its child with SIGKILL when the child is still running that many milliseconds after a TERM the shim passed on. It reaches the shim as `--term-grace <ms>` before `--`; anything but a positive whole number of milliseconds a timer can wait is a usage error (exit 2). A host that ends a watched child with TERM and later a SIGKILL of its own sends that SIGKILL to the shim alone, so a child that ignored the TERM, or took longer to exit, ran on with no watch while its host lived: such a host asks for a grace shorter than its own wait. The parent-death signal ignores the option, since setpriv execs the child in place and the host's SIGKILL reaches it. A child started without it is ended as before: the shim passes TERM, INT and HUP on with nothing after them. Session machines pass none (their kill reaches the whole process group, the CLI included), so a session's CLI keeps all the time its host gives it after a TERM. <!-- changes/parent-watch-term-grace.md -->
25
+
5
26
  ## 0.1.0-beta.55 (2026-11-23)
6
27
 
7
28
  - The server lists the models of this machine's Ollama itself, as `ollama/<tag>` on pi, with no key and no gateway. Start Ollama and its models are in capabilities, the Model picker and pi's free models within half a minute, with no restart. `OLLAMA_HOST` says where it listens, read as the ollama CLI reads it (plain http to loopback alone). Unset, it is 127.0.0.1:11434 only on one owner's own server on their own machine (the rule `--harness-sign-in` starts under); a shared server asks Ollama only where `OLLAMA_HOST` names it. A refused `OLLAMA_HOST` is said once in the server's log, never its value. Requests go to Ollama's own `/api/chat` with `num_ctx` the least of 65,536, the model's trained context and `OLLAMA_CONTEXT_LENGTH` when it is set. A model without the `tools` capability takes its tools as text. They cost $0 and never count toward `AGENTRUN_FREE_MODEL_REQUESTS`, and the console shows no request limit for them. With no model key held, pi's default is the first Ollama model that calls tools; any key wins. A down or stuck Ollama lists nothing and stalls nothing. <!-- changes/ollama-provider.md -->
@@ -6,7 +6,7 @@ export type { InputCounter, ModelProxy, ModelProxyHooks, ModelProxyOptions, Mode
6
6
  export { processAlive } from "./alive.js";
7
7
  export { serialWriter } from "./serial.js";
8
8
  export { PARENT_WATCH_SHIM, parentWatched, parentWatchHere, SETPRIV } from "./parent-death.js";
9
- export type { LaunchCommand, ParentWatch } from "./parent-death.js";
9
+ export type { LaunchCommand, ParentWatch, ParentWatchOptions } from "./parent-death.js";
10
10
  export { BoxError } from "./box.js";
11
11
  export type { BoxErrorCode, BoxRecord } from "./box.js";
12
12
  export { type BinaryCheck, type BinaryProbe, checkedOnce, checkedOnceAsync, sha256OfFile, sha256OfFileAsync } from "./pinned-binary.js";
@@ -11,5 +11,18 @@ export declare const SETPRIV = "/usr/bin/setpriv";
11
11
  export declare const PARENT_WATCH_SHIM: string;
12
12
  /** The watch this machine supports: pdeathsig on Linux with a setpriv that has `--pdeathsig`, else the shim. Read once. */
13
13
  export declare function parentWatchHere(): ParentWatch;
14
- /** `child`, started so that it dies with this process (`how`, default what this machine supports). */
15
- export declare function parentWatched(child: Readonly<LaunchCommand>, how?: ParentWatch): LaunchCommand;
14
+ /** What a caller asks of the watch. `termGraceMs` (a positive whole number of milliseconds): under the shim, the child is
15
+ * killed (SIGKILL) when it outlasts a TERM the shim passed on by that long, for a host whose own later SIGKILL goes to
16
+ * the shim alone. With none, the shim passes a TERM on and nothing after it. The parent-death signal ignores it: setpriv
17
+ * execs the child in place, so the host's SIGKILL reaches the child itself. */
18
+ export interface ParentWatchOptions {
19
+ termGraceMs?: number;
20
+ }
21
+ /** The longest grace the shim takes: a timer fires at once past it. */
22
+ export declare const MAX_TERM_GRACE_MS = 2147483647;
23
+ /** `arg` (`--term-grace`'s value) as the shim reads it: a positive whole number of milliseconds a timer can wait, in
24
+ * digits; undefined for anything else. parentWatched reads a caller's grace by the same rule. */
25
+ export declare function termGraceOf(arg: string): number | undefined;
26
+ /** `child`, started so that it dies with this process (`how`, default what this machine supports). A `termGraceMs` the
27
+ * shim would refuse (termGraceOf) throws a RangeError here, whichever watch `how` is. */
28
+ export declare function parentWatched(child: Readonly<LaunchCommand>, how?: ParentWatch, options?: Readonly<ParentWatchOptions>): LaunchCommand;
@@ -9,7 +9,10 @@
9
9
  // moment the host's spawning thread exits: libuv spawns from the event loop's thread, the main one, so a worker
10
10
  // thread's exit does not trigger it. The signal survives the exec, as the child is not set-user-ID.
11
11
  // - elsewhere (macOS, or no setpriv): `node parent-watch.js <host pid> -- <child>`, a shim that runs the child and
12
- // kills it when the shim is reparented, checked four times a second.
12
+ // kills it when the shim is reparented, checked four times a second. A host's kill of the shim alone (SIGKILL)
13
+ // leaves the child running, so a host that ends its child that way asks for `termGraceMs`: the shim kills a child
14
+ // that outlasts a TERM it passed on, that long later. A host that kills the whole group (a session machine) asks for
15
+ // none: its SIGKILL reaches the child itself.
13
16
  // The watch goes INSIDE the host's confinement (the machine applies its confine prefix to the watched command): the
14
17
  // kernel clears a parent-death signal when credentials change, so it is set after any switch of user the prefix makes.
15
18
  // The child's environment is the machine's: the watch adds nothing to it.
@@ -34,9 +37,20 @@ export function parentWatchHere() {
34
37
  }
35
38
  return (here = pdeathsig ? "pdeathsig" : "shim");
36
39
  }
37
- /** `child`, started so that it dies with this process (`how`, default what this machine supports). */
38
- export function parentWatched(child, how = parentWatchHere()) {
40
+ /** The longest grace the shim takes: a timer fires at once past it. */
41
+ export const MAX_TERM_GRACE_MS = 2_147_483_647;
42
+ /** `arg` (`--term-grace`'s value) as the shim reads it: a positive whole number of milliseconds a timer can wait, in
43
+ * digits; undefined for anything else. parentWatched reads a caller's grace by the same rule. */
44
+ export function termGraceOf(arg) {
45
+ return /^[1-9]\d*$/.test(arg) && Number(arg) <= MAX_TERM_GRACE_MS ? Number(arg) : undefined;
46
+ }
47
+ /** `child`, started so that it dies with this process (`how`, default what this machine supports). A `termGraceMs` the
48
+ * shim would refuse (termGraceOf) throws a RangeError here, whichever watch `how` is. */
49
+ export function parentWatched(child, how = parentWatchHere(), options = {}) {
50
+ if (options.termGraceMs !== undefined && termGraceOf(String(options.termGraceMs)) === undefined)
51
+ throw new RangeError(`termGraceMs must be a whole number of ms from 1 to ${MAX_TERM_GRACE_MS}, not ${options.termGraceMs}`);
39
52
  if (how === "pdeathsig")
40
53
  return { command: SETPRIV, args: ["--pdeathsig", "KILL", "--", child.command, ...child.args] };
41
- return { command: process.execPath, args: [PARENT_WATCH_SHIM, String(process.pid), "--", child.command, ...child.args] };
54
+ const grace = options.termGraceMs === undefined ? [] : ["--term-grace", String(options.termGraceMs)];
55
+ return { command: process.execPath, args: [PARENT_WATCH_SHIM, String(process.pid), ...grace, "--", child.command, ...child.args] };
42
56
  }
@@ -1,13 +1,26 @@
1
1
  // The parent watch where the kernel's parent-death signal is not available (parent-death.ts). Written for AgentRun.
2
- // node parent-watch.js <parent pid> -- <command> [args...]
2
+ // node parent-watch.js <parent pid> [--term-grace <ms>] -- <command> [args...]
3
3
  // Runs the command with this process's stdio and environment, in this process's group (so a group kill ends both),
4
4
  // passes TERM, INT and HUP on to it, exits as it exits, and kills it when this process is reparented: its parent, the
5
- // host, is gone.
5
+ // host, is gone. With `--term-grace <ms>` it also kills the command (SIGKILL) when it outlasts a TERM passed on by
6
+ // that long.
6
7
  import { spawn } from "node:child_process";
7
- const [parentArg, separator, command, ...args] = process.argv.slice(2);
8
+ import { termGraceOf } from "./parent-death.js";
9
+ // `--term-grace`: a host that ends this child with TERM, and SIGKILL after a wait of its own sent to this process
10
+ // alone (startClaudeLogin's 5 s), asks for a grace shorter than that wait, since its SIGKILL would leave a child still
11
+ // running with no watch while the host lives. A host whose SIGKILL reaches the child too (a session machine's group
12
+ // kill) asks for none, and the child keeps all the time that host gives it. INT and HUP pass on with no kill after
13
+ // them: a session's CLI may take INT as "stop this turn" and go on.
14
+ const [parentArg, ...rest] = process.argv.slice(2);
8
15
  const parent = Number(parentArg);
9
- if (!Number.isSafeInteger(parent) || parent < 1 || separator !== "--" || !command) {
10
- process.stderr.write("usage: parent-watch.js <parent pid> -- <command> [args...]\n");
16
+ const graceAsked = rest[0] === "--term-grace";
17
+ const graceArg = graceAsked ? rest[1] : undefined;
18
+ // A positive whole number of milliseconds a timer can wait (longer ones fire at once), by the rule parentWatched reads
19
+ // a caller's grace by.
20
+ const termGraceMs = graceArg === undefined ? undefined : termGraceOf(graceArg);
21
+ const [separator, command, ...args] = graceAsked ? rest.slice(2) : rest;
22
+ if (!Number.isSafeInteger(parent) || parent < 1 || (graceAsked && termGraceMs === undefined) || separator !== "--" || !command) {
23
+ process.stderr.write("usage: parent-watch.js <parent pid> [--term-grace <ms>] -- <command> [args...]\n");
11
24
  process.exit(2);
12
25
  }
13
26
  // Started after the host was already gone: nothing to run for.
@@ -15,8 +28,14 @@ if (process.ppid !== parent)
15
28
  process.exit(1);
16
29
  const child = spawn(command, args, { stdio: "inherit" });
17
30
  const passed = ["SIGTERM", "SIGINT", "SIGHUP"];
18
- for (const signal of passed)
19
- process.on(signal, () => child.kill(signal));
31
+ let grace;
32
+ for (const signal of passed) {
33
+ process.on(signal, () => {
34
+ child.kill(signal);
35
+ if (signal === "SIGTERM" && termGraceMs !== undefined)
36
+ grace ??= setTimeout(() => child.kill("SIGKILL"), termGraceMs);
37
+ });
38
+ }
20
39
  child.on("error", (error) => {
21
40
  process.stderr.write(`parent-watch: ${error.message}\n`);
22
41
  process.exit(127);
@@ -29,6 +48,7 @@ const watch = setInterval(() => {
29
48
  }, 250);
30
49
  child.on("exit", (code, signal) => {
31
50
  clearInterval(watch);
51
+ clearTimeout(grace);
32
52
  if (code !== null)
33
53
  process.exit(code);
34
54
  // Ended by a signal: end the same way, so the host sees what the child saw.
@@ -305,7 +305,8 @@ export interface ModelProxyOptions {
305
305
  * after the client's, so the client can neither set nor override them, and before the credential's. Checked when the
306
306
  * proxy starts (`hostHeaderProblems`). */
307
307
  headers?: Readonly<Record<string, string>>;
308
- /** For tests: the fetch the proxy forwards with. */
308
+ /** The fetch the proxy forwards with: the host's route for a model it translates onto the wire (a test's recorder,
309
+ * too); absent, the network. */
309
310
  fetch?: typeof fetch;
310
311
  /** Told, with CONTENT_FILTERED, once an answer the provider stopped on its content filter has been passed and booked
311
312
  * (`ProviderPolicy.filtered`): the harness halts the turn with it, before its client asks for the answer again. */
package/dist/runner.d.ts CHANGED
@@ -256,6 +256,8 @@ export interface ModelPortOptions {
256
256
  noteReturned?: (note: string) => void;
257
257
  /** The port ends the attempt (the turn limit, the host's refusal, a cost it could not record): the error it throws. */
258
258
  stop?: (reason: "turn_limit" | "refused" | "model_error", message?: string, code?: string) => Error;
259
+ /** The clock a request's record is stamped with (`at`, when it left), in ms since the epoch (default: Date.now). */
260
+ now?: () => number;
259
261
  }
260
262
  /** A session's booking of paid model requests: the adapter's model port, and what it has counted. */
261
263
  export interface ModelBooking {
@@ -283,7 +285,9 @@ export declare function modelPortFor(writer: SessionWriter, options: ModelPortOp
283
285
  * for each (`held`), the label of each the host sent beside the harness's own (`hosts`), which were answered, and the
284
286
  * session's spend (null: unknown). A turn is a paid request that left: counted from the records written before each one
285
287
  * left, so a request a crash cut off (or one still in flight, read from another process or session) counts at the
286
- * figure its host held for it, and leaves the spend unknown when there is none. */
288
+ * figure its host held for it, and leaves the spend unknown when there is none. `chargedUsd` is what the answered
289
+ * requests were charged alone (a crash's cut one at its hold among them), never one still in flight at its hold; null:
290
+ * one charged has no figure. */
287
291
  export declare function sessionSpendOf(records: readonly SessionRecord[]): {
288
292
  turns: number[];
289
293
  held: Map<number, number>;
@@ -291,6 +295,7 @@ export declare function sessionSpendOf(records: readonly SessionRecord[]): {
291
295
  answered: Set<number>;
292
296
  openHolds: Set<number>;
293
297
  spentUsd: number | null;
298
+ chargedUsd: number | null;
294
299
  figures: {
295
300
  turn: number;
296
301
  usd: number | null;
package/dist/runner.js CHANGED
@@ -61,7 +61,9 @@ export async function modelPortFor(writer, options) {
61
61
  * for each (`held`), the label of each the host sent beside the harness's own (`hosts`), which were answered, and the
62
62
  * session's spend (null: unknown). A turn is a paid request that left: counted from the records written before each one
63
63
  * left, so a request a crash cut off (or one still in flight, read from another process or session) counts at the
64
- * figure its host held for it, and leaves the spend unknown when there is none. */
64
+ * figure its host held for it, and leaves the spend unknown when there is none. `chargedUsd` is what the answered
65
+ * requests were charged alone (a crash's cut one at its hold among them), never one still in flight at its hold; null:
66
+ * one charged has no figure. */
65
67
  export function sessionSpendOf(records) {
66
68
  const requests = records.filter((r) => r.kind === RUNNER_RECORDS.request).map((r) => (r.data ?? {}));
67
69
  const turns = requests.map((data, i) => data.turn ?? i + 1);
@@ -128,6 +130,8 @@ export function sessionSpendOf(records) {
128
130
  else
129
131
  known += own.usd;
130
132
  }
133
+ // Every figure so far is an answered request's: what they were charged, before the open ones count at their holds.
134
+ const chargedUsd = spentUsd;
131
135
  const openHolds = new Set();
132
136
  for (const turn of turns) {
133
137
  if (answered.has(turn))
@@ -141,7 +145,7 @@ export function sessionSpendOf(records) {
141
145
  if (!onPlan.has(turn))
142
146
  unpriced++;
143
147
  }
144
- return { turns, held, hosts, answered, openHolds, spentUsd, figures, cost: costOfParts([{ known, bounded, atMost, unpriced }]) };
148
+ return { turns, held, hosts, answered, openHolds, spentUsd, chargedUsd, figures, cost: costOfParts([{ known, bounded, atMost, unpriced }]) };
145
149
  }
146
150
  /** The one rule for a cost made of parts, as every reader of a run's cost says it (the session's, the run's stored cost,
147
151
  * its view and its usage row). Every charge counted: `usd` is their sum, holds included, and `atMost` how many of them are
@@ -346,7 +350,9 @@ function bookingFor(writer, options) {
346
350
  const localRequest = !!verdict && "localRequest" in verdict && verdict.localRequest === true;
347
351
  // A paid tool call (ModelRequest.paid) says so on its record (`paid`), so a later process that books it cut knows its
348
352
  // hold is its fee as admitted, never a bound on what its provider charged (bookCut).
349
- await write([{ kind: RUNNER_RECORDS.request, data: { turn, model, ...(paid ? { paid: true } : {}), ...(hold === undefined ? {} : { heldUsd: hold }), ...(onPlan ? { plan: true } : {}), ...(freeRequest ? { freeRequest: true } : {}), ...(localRequest ? { localRequest: true } : {}), ...(side ? { side } : {}), ...(host === undefined ? {} : { host }), ...(paid?.call === undefined ? {} : { call: paid.call }), ...(paid?.charged_by === undefined ? {} : { charged_by: paid.charged_by }), ...(paid?.tool === undefined ? {} : { tool: paid.tool }), ...(paid?.tag === undefined ? {} : { tag: paid.tag }), ...(paid?.owed ? { owed: true } : {}), ...(paid?.hold ? { hold: true } : {}), ...(paid?.ref === undefined ? {} : { ref: paid.ref }), ...(paid?.reported ? { reported: true } : {}) } }]);
353
+ // `at`: when it left, so a reader shows a request still in flight from its start (a run page's live row), and
354
+ // `inputTokensMax`, the input it was admitted with, beside it.
355
+ await write([{ kind: RUNNER_RECORDS.request, data: { turn, model, at: new Date((options.now ?? Date.now)()).toISOString(), ...(inputTokensMax === undefined ? {} : { inputTokensMax }), ...(paid ? { paid: true } : {}), ...(hold === undefined ? {} : { heldUsd: hold }), ...(onPlan ? { plan: true } : {}), ...(freeRequest ? { freeRequest: true } : {}), ...(localRequest ? { localRequest: true } : {}), ...(side ? { side } : {}), ...(host === undefined ? {} : { host }), ...(paid?.call === undefined ? {} : { call: paid.call }), ...(paid?.charged_by === undefined ? {} : { charged_by: paid.charged_by }), ...(paid?.tool === undefined ? {} : { tool: paid.tool }), ...(paid?.tag === undefined ? {} : { tag: paid.tag }), ...(paid?.owed ? { owed: true } : {}), ...(paid?.hold ? { hold: true } : {}), ...(paid?.ref === undefined ? {} : { ref: paid.ref }), ...(paid?.reported ? { reported: true } : {}) } }]);
350
356
  turns = turn;
351
357
  if (host !== undefined)
352
358
  hosts.set(turn, host);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcha/agentrun-kernel",
3
- "version": "0.1.0-beta.56",
3
+ "version": "0.1.0-beta.58",
4
4
  "description": "Agent harnesses other than Pi, starting with Codex, behind one seam: a DSL node's runNode and an AgentRun run on a harness adapter, durable in AgentRun's own store.",
5
5
  "keywords": [
6
6
  "agentrun",
@@ -62,7 +62,7 @@
62
62
  "test": "node --test --test-concurrency=8 'test/*.test.mjs'"
63
63
  },
64
64
  "dependencies": {
65
- "@parcha/agentrun-dsl": "0.1.0-beta.56",
65
+ "@parcha/agentrun-dsl": "0.1.0-beta.58",
66
66
  "ajv": "8.18.0",
67
67
  "typebox": "1.3.27"
68
68
  },