Skip to content

Releases

dashboard 0.4.0

Choose a tag to compare

@github-actions github-actions released this 11 Aug 21:51
@evestack/dashboard@0.4.0
1178359

A minor, not a patch, and the reason is the schema. This image installs spans v4 and
facts v2; every published image up to and including 0.3.1 installs spans v3 and facts
v1. Two different schemas under one version number is the state this bump exists to end —
0.3.1 had been serving both, because the release gate checks that the written-out tags
agree with each other, not that the number increments when the schema moves.

**Rolling back to `0.3.1` or earlier over a v4 database is not a clean downgrade, and this release cannot stop it.** The guard added here lives in *this* image's SQL and only refuses to run when `installed > target`. An older image has no such guard: `sql/traces.sql` moves the spans marker forward only (`WHERE version < EXCLUDED.version`), but its `CREATE OR REPLACE FUNCTION resolve_span_ancestry` sits at file top level and runs unconditionally — so the marker stays at 4 while the v3 resolver replaces the v4 one, and because the marker never moved, no later migration re-applies it. `sql/facts.sql` has no such `WHERE`, so its marker does decrement (2 → 1) and the fact tables are dropped and rebuilt on the way down. Measured on a controlled single-variable rollback: `facts` went 2 → 1 and the resolver's md5 changed while `spans` stayed at 4. Re-upgrading repairs both. Pull forward, not back.

Changed

  • The dashboard schema moved: spans v3 → v4, facts v1 → v2. The version markers are the
    release-visible part of the span-resolution and fact-tier work below; the bump is what
    makes them addressable by a tag instead of hiding behind one that already means something
    else.
  • Every migration is now gated on the version marker before it touches DDL, not just
    data.
    An image older than the database it finds leaves it strictly alone and says so,
    rather than half-downgrading it in silence.

Fixed

  • A trace split across two overlapping ingest batches kept the turn_0 alias. An
    AFTER STATEMENT trigger runs inside the transaction that fired it, before that
    transaction commits — and no snapshot shows another transaction's uncommitted rows. So
    when the batch carrying the children and the batch carrying the enclosing
    workflow.run.id span are in flight at once, neither can see the other: both commit, and
    the finished trace on disk is one no transaction ever saw. (An earlier entry here said the
    trigger "only sees its own statement's snapshot". That was wrong — a volatile plpgsql
    function takes a fresh snapshot per query — and it mattered, because it made the failure
    sound certain when it is a race: 31 of 40 overlapping traces went stale, not 40.) The session page then reported "No spans on any of the 1
    runs" for a turn whose tool call /traces/<id> rendered in full. insertSpans now
    re-resolves the traces it touched from its own transaction once every chunk has committed,
    so the last writer to commit is the one whose walk sees the finished trace. The trigger
    stays — it is the only thing that resolves a write that did not arrive through
    insertSpans. Measured: 40 traces delivered as two overlapping batches left 93 stale spans
    across 31 of them.
  • Seven more surfaces where a check that could not run reported the reassuring value.
    The fleet banner returned null on a failed sweep, which its own contract reads as
    "nothing is open"; lib/sandboxes.ts skipped containers Docker would not describe and
    then counted them in "All 6 running sandboxes are network-isolated" on a PAGE-severity
    alert; the failing-streak query ranked over unresolved runs, so a worker that died
    mid-run sat on top of twenty failures and produced streak 0; failed chart queries
    degraded to the empty result a genuinely quiet window earns; /evals rendered "Ended
    badly: 0" from a swallowed count; and /api/budget classified errors by substring, so
    permission-denied answered "No budget data yet" at HTTP 200. Each now carries an explicit
    unreadable/unknown state.
  • /api/health distinguishes its not-ok states, so a client can tell an unconfigured
    dashboard from one that cannot reach Postgres from one that is older than its own
    database. evestack status reads that body instead of blaming credentials for all four.

docker pull ghcr.io/sammytourani/evestack-dashboard:0.4.0

Multi-arch: linux/amd64 and linux/arm64. Also tagged :latest.

evestack@0.4.0

Choose a tag to compare

@SammyTourani SammyTourani released this 10 Aug 02:56
3d318ce

Changed

  • evestack tour no longer treats silence as consent. Off a TTY it exits 3 instead of
    sending a billable model call (920a439). This is a behaviour change for anything
    scripting it
    , which is why the bump is minor rather than patch.

Fixed

  • The four output defects the 0.3.0 redesign left behind — the stderr colour fix and
    two --json defects among them — and evestack status against a scheme-less dashboard
    URL (920a439).
  • The npm README advertised three of seven commands — it predated the redesign that
    added status and tour, so the two commands that redesign was built around were
    invisible on the page most people land on first (920a439).

create-evestack@0.9.1

Choose a tag to compare

@SammyTourani SammyTourani released this 10 Aug 02:56
94dd019

Changed

  • The scaffolded compose file pins ghcr.io/sammytourani/evestack-dashboard:0.3.0, up
    from :0.2.0. :0.2.0 is not withdrawn and stays pullable.

Fixed

  • npm run verify told an operator whose dashboard reports no version that it was "at
    least as old as 0.2.0". The version field on /api/health was added in 3d318ce,
    which shipped in the 0.3.0 image — so an image without it is older than 0.3.0, and
    0.2.0 was the newest release that could still be missing the field rather than the
    oldest. Off by one release, in the direction that made a stale image sound newer.

Why this exists at all. 0.9.0 was published an hour before the dashboard was cut
at 0.3.0, so it pins :0.2.0 — correct when published, stale within the hour.
publish-dashboard.yml's version job caught it and refused to build: "Every scaffolded
project would pull a tag this release does not publish." The gate stopped the release
rather than shipping a mismatch, which is the whole reason it counts written-out tags
instead of trusting one.

@evestack/sandbox-opensandbox@0.4.0

Choose a tag to compare

@SammyTourani SammyTourani released this 10 Aug 02:56
3d318ce

Three defects found by testing the session surface against a stubbed SDK, and two more
found by reviewing those fixes before they shipped. test/adapter.test.mjs is what made
any of it visible: everything in index.ts needs a live OpenSandbox server to run, so none
of it could be pinned by a test until the wire was faked. Each fix below is pinned by a
case that fails on 0.3.0.

Unlike every other entry in this file, this one carries no commit hashes — the work is
uncommitted in this checkout
, in src/index.ts, src/translate.ts, README.md,
test/translate.test.mjs and a new test/adapter.test.mjs. Commit before publishing:
npm publish ./packages/sandbox-opensandbox packs the working tree, so otherwise 0.4.0
on npm is a version that exists in no commit and these bullets cite nothing checkable.

Added

  • networkPolicy on the backend. OpenSandbox fixes a sandbox's defaultAction when
    the sandbox is created — that is why session.setNetworkPolicy() still rejects — so
    creation is the only point at which a policy can be honoured, and now it is:
    opensandbox({ networkPolicy: "deny-all" }) or an allow-list, translated to
    OpenSandbox's {defaultAction, egress} model and passed to Sandbox.create. Honoured
    completely or not at all — subnets (its egress model has no IP/CIDR) and per-domain
    transform / forwardURL / match rules throw when the backend is constructed
    rather than being dropped, because a restriction that is half-applied reports success
    with the hole still open.
  • The policy is recorded alongside the sandbox id, and create() refuses to reattach to a
    sandbox created under different egress: that sandbox's rules cannot be changed to match,
    so reattaching would run the agent under the old policy while the operator reads the new
    one in their source. Two limits on that refusal, both of which it lacked at first and
    both of which turned a guard into an outage — it is checked after the reconnect ladder
    and only for a sandbox actually recovered (a session whose sandbox was reaped upstream
    has nothing to diverge from, and now gets a fresh one under the new policy instead of
    throwing on every turn for ever: reproduced against the earlier build as create() THREW ... Sandbox.create calls: 0), and allow-all compares equal to no policy at all, since
    the SDK's own schema says an empty or null policy is allow-all at startup. Writing
    networkPolicy: "allow-all" down explicitly is a no-op, not something that detaches
    every live session.
  • test/adapter.test.mjs, the stubbed-SDK harness described above.

Changed

  • Breaking: opensandbox() now throws on any option it does not implement
    (assertKnownOptions), where 0.3.0 accepted and ignored it. TypeScript's
    excess-property check catches opensandbox({ typo: 1 }) written as an object literal
    and catches nothing else, so an untyped JavaScript caller, a spread
    (opensandbox({ ...config })), or a config loaded from JSON that was passing extra keys
    silently will now fail at construction
    — that is the compatibility break in this
    release, and it has no other announcement. It is deliberate because of the case that
    motivated it: verified against 0.3.0, opensandbox({ initialNetworkPolicy: "deny-all" }) called Sandbox.create with {"image":"ubuntu"} and said nothing, and a
    caller who asked for a locked-down network and silently got an open one has no way to
    tell from the outside. A misspelling that looks network-related is named as such in the
    error.
  • setNetworkPolicy()'s rejection message no longer says a creation-time policy "is not
    exposed yet"; it points at opensandbox({ networkPolicy }).
  • The README documents the option, the kill path and the exit-code contract, and says
    which of them are covered only by the stubbed SDK rather than by a live server.

Fixed

  • A command that never completed reported success. exitCodeOf was
    execution.exitCode ?? (execution.error ? 1 : 0), so a null exit code with no error
    object returned 0. The SDK returns null for exactly the cases where the command did
    not complete — a server-side timeout kill, an OOM-killed container, an SSE stream that
    simply ends — so a killed command was reported to the model as a success. It now returns
    137 (128 + SIGKILL), the number Linux, Docker and eve's own docker() backend surface,
    so a reader that only asks exitCode !== 0 sees failure and a reader of the number sees
    "killed". The function's own doc comment and the README both already claimed the fixed
    behaviour. Reproduced on 0.3.0: an execution of {exitCode: null, error: undefined}
    came back from session.run() as {"exitCode":0}. Applies to run() and to spawn().
  • kill() did not kill. It called AbortController.abort() and made no further
    request to the sandbox at all — that closes our SSE connection, and whether execd then
    reaps the command is a server-side detail the SDK does not promise; it ships a separate
    termination API precisely because hanging up is not a kill. Measured against the previous
    build with a stubbed SDK: kill() made zero further calls to the sandbox, and wait()
    afterwards rejected with AbortError rather than reporting a terminated process. A
    spawned command is now wrapped to record its pid, and kill() runs a second command
    inside the sandbox that SIGKILLs that pid and every descendant, using the same
    /proc-walking script as eve's docker() backend. wait() after a successful kill()
    now resolves with 137; a kill() whose request never reached the sandbox throws,
    rather than reporting a termination that may not have happened. Not the SDK's own
    commands.interrupt(): it is DELETE /command?id=<sessionId> against a bash session
    this backend does not use, and a termination call aimed at the wrong id is a kill that
    silently does nothing.
  • The kill's intent is recorded before the round trip, not after. The server kills the
    process before it answers, so the spawned command's stream dies while kill() is still
    awaiting the response — written the other way round, which is how it was first written, a
    kill that worked perfectly took the "the stream broke unexpectedly" path: wait()
    rejected and both byte sinks errored under any reader, the exact opposite of the README's
    claim. A count rather than a flag, so two concurrent kills cannot undo each other.
  • Network-policy options were accepted and never reached the sandbox. There was no
    correctly-spelled option to pass one with, and anything that looked like one was dropped
    in silence — see networkPolicy and assertKnownOptions above. This is the one class of
    failure a caller cannot detect from outside the sandbox, which is why both halves of the
    fix refuse rather than degrade.

@evestack/mcp@0.3.0

Choose a tag to compare

@SammyTourani SammyTourani released this 10 Aug 02:56
3d318ce

Cut as a minor, not the patch this was first queued as. It was a patch while the change
was README-only; the output cap below is a new feature with a new environment variable and
a behavioural change to every tool result, and shipping that as 0.2.1 would tell every
consumer's version range it was safe to take without reading anything.

Added

  • A cap on how much one tool result can put in a model's context, default 64 KiB
    (~16k tokens), configurable through EVESTACK_MCP_MAX_OUTPUT_BYTES. Before it, the size
    of a tool result was a property of how much history the deployment had rather than of
    anything this server decided: list_approvals against a busy install measured 113,289 B
    (~28k tokens) with no arguments at all. Results are never silently shortened — the
    payload stays valid JSON, _truncated is the first key so a model reading top-down meets
    it before the data, and cuts names every array and string that lost content. A
    truncated audit log mistaken for a complete one answers "who approved this?" with
    "nobody did".

Fixed

  • The README — which is the npmjs.com page — said list_approvals "does not exist yet".
    The route was added in 5c49f3a on 2026-08-05, four days before that sentence shipped
    (920a439).

dashboard 0.3.1

Choose a tag to compare

@github-actions github-actions released this 10 Aug 03:18
464a85f

Fixed

  • Every new chat and every fork answered 502 against an eve 0.31.x agent, and
    docs/upgrading.mdx was telling self-hosters to npm install eve@latest — which is
    0.31.3. createSession required a continuationToken in the create response;
    0.30.8's docs say the response "returns sessionId and the continuationToken", and
    0.31.3's say "session message and control request/response bodies do not accept or
    return continuation tokens". The token moved to the session.waiting stream event,
    which is where it becomes meaningful — a session that has not parked has nothing to
    continue from. The session id is the handle; the token was never required here, and
    every caller that needs one already resolves it from the durable stream. Now accepted
    as absent, so the dashboard works against both lines. The fix was written and reviewed
    in PR #36 a day earlier and stranded there behind a version bump.
  • /schedules was up to 25 hours wrong, and pinned, in a zone whose daylight-saving
    change is not a whole hour.
    0 2 * * * in America/St_Johns standing on
    2026-10-31T20:00Z projected 2026-11-02T05:30Z against the runner's 2026-11-01T05:30Z.
    The 0.3.0 fix stepped over the whole repeated interval, which is right for a reading
    inside it — New York's 30 1 * * * — and wrong for one on its far edge, which has not
    happened yet and occurs exactly once. The test is now the candidate rather than the
    interval: look ahead at the new offset and step over the window only when what is found
    inside it is a reading the clock has already spent. Verified against the runner across
    five zones and both transitions; America/St_Johns, Australia/Lord_Howe,
    Pacific/Chatham and Europe/Berlin now have no confidently-wrong answer at all.
One known case remains, unfixed and stated rather than hidden: in `America/New_York`, `0 2 * * *` evaluated the day AFTER a spring-forward projects an hour late while still reporting `pinned`. One disagreement in 180 differential cases per zone. The other disagreements in that sweep are the runner's own fall-back quirk — `nextFire()` can return an instant earlier than its `after` argument during the repeated hour — where the page is right and the oracle is wrong.
docker pull ghcr.io/sammytourani/evestack-dashboard:0.3.1

Multi-arch: linux/amd64 and linux/arm64. Also tagged :latest.

dashboard 0.3.0

Choose a tag to compare

@github-actions github-actions released this 10 Aug 01:51
94dd019

The second release of the day, and cut for the reason the first one was: 0.2.0 shipped
in the morning and the audit's remaining findings landed in 3d318ce that afternoon, so
the image tag and the source tree once again named the same version while containing
different code. Bumping is what stops that from being a standing condition rather than an
incident.

A minor, not a patch: the schedule projection moved from the browser to the server and
changes what the page displays, and /api/health grew a field.

Security

  • safeNextPath rejected the // and /\ prefixes, but the WHATWG URL parser strips
    tab, LF and CR before parsing, so the string the browser resolves is not the string
    that was validated. /signin?next=/%09/evil.example sent the operator off-site
    immediately after they typed the deployment password. Measured against Node's own
    implementation for all three characters (b9a00a7).

Fixed

  • /costs counted turns that never called a model as unpriced spend. priced is a
    three-state column — TRUE priced, FALSE no catalog entry, NULL no model call
    (sql/facts.sql:155) — and r.priced !== true folded the last two together. The
    warning banner then read "N turns ran a model with no catalog price ()" with an empty
    parenthetical, because a turn that called no model has no model name to list. The same
    fold was corrected in lib/alerts.ts, where it produced a spurious firing alert.
  • "Most expensive sessions" on /costs was empty on every install since it shipped.
    session_id is groupable: false in the catalog, compileMetricQuery threw, and
    ranked()'s caller caught everything and returned [], so a broken panel rendered as
    "Nothing to rank" — indistinguishable from a quiet month. The query now takes an
    explicit topN: true, and MetricQueryError is re-thrown rather than swallowed
    (38076ca).
  • /schedules computed the next fire in the reader's browser timezone. The number is
    now projected server-side, and the agent's zone is derived from the fires that schedule
    actually recorded rather than assumed — so two people in different places are shown the
    same instant, and it is the instant the runner will use.
  • /schedules projected a daylight-saving fall-back a full day early, and marked it
    confident.
    Standing on 01:30 EDT the page offered the 01:30 EST repeat an hour later;
    the runner fires the next day, because Vixie does not re-run a reading the clock
    repeats. pinned: true suppresses the UI's hedge, so it was drawn as a firm answer.
    Verified against @evestack/schedules' own nextFire() rather than against a
    description of it, and pinned by a differential test over both transitions.
  • A schedule named __proto__ lost its next fire silently. nextFires[name] = value
    on a plain object sets the prototype instead of creating a property when the key is
    __proto__, and the name is chosen by the operator. Built with Object.fromEntries
    now, which creates an ordinary own key.
  • The wedged-turns alert used a 15-minute threshold while facts.sql, lib/fleet.ts
    and the wedged outcome all use STUCK_TURN_MS = 1 hour, so it counted turns the fleet
    banner called healthy and linked to a shorter list than the number it reported
    (b9a00a7). Its threshold field, rendered as "healthy: …", separately asserted "none
    stalled" whatever the count was; it now states the condition it actually tests.
  • /memory capped at 200 rows without saying so. The total was already shown; what
    was missing was any marker that the list itself had ended early.
  • Several claims about what an unconfigured dashboard serves were wrong, in
    lib/auth.ts, proxy.ts, app/api/health/route.ts, the README and .env.example.
    It does not answer 503 on every route: PUBLIC_PATHS holds three paths and proxy.ts
    gates the tier on method, so four path/method combinations get through — GET /signin
    renders the misconfiguration with no form on it, the two /api/auth routes are
    POST-only and answer a bare 405, and GET /api/health reaches its own handler, which
    returns 503 {"status":"unconfigured"}.

Added

  • /api/health reports the dashboard's own version, on every branch including the
    failures. Nothing could previously ask a running dashboard what it was — evestack verify printed the same line against the current image and against the four-day-old
    one — which is the whole reason the 0.1.0 image went 51 commits stale unnoticed
    (f76a0d1).
  • Tests for two surfaces that decided something consequential and had none: evaluateAlerts
    (every DeliveryStatus branch, the threshold boundary, empty versus stale facts) and the
    approvals decision path.

docker pull ghcr.io/sammytourani/evestack-dashboard:0.3.0

Multi-arch: linux/amd64 and linux/arm64. Also tagged :latest.

@evestack/budget@0.2.1

Choose a tag to compare

@SammyTourani SammyTourani released this 10 Aug 02:56
3d318ce

Fixed

  • The spend cap undercharged every cache write. costUsd() takes five arguments —
    (model, input, output, cacheRead, cacheWrite) — and hook.ts called it with four, so
    cacheWriteTokens fell to its = 0 default on every step and a write was billed at the
    plain input rate (b9a00a7). eve reports the number and pricing.ts has always accepted
    it; only the call site dropped it. Cache reads and writes are parts of inputTokens
    rather than additions to it, so the miss is the gap between two rates, not a whole extra
    charge. Measured against the shipped catalog on 1M input tokens of which 400k were cache
    writes: anthropic/claude-sonnet-5 charged $2.000 against a correct $2.200 (−10%);
    openai/gpt-5-mini charged $0.250 against a correct $0.250 (no difference), because it
    publishes no separate write rate and pricing.ts falls back to the input rate. So the
    bug undercharges on Anthropic and is a no-op on the default provider, which is why it
    survived. Cost is what the cap is measured against, so an Anthropic prompt-caching
    workload passed its limit before anything tripped.

    Patch rather than minor: no surface moved and nothing scripting this package sees a
    different shape — the only behaviour change is that a cap now trips where it should
    always have. Pinned by a source-text assertion, because the hook needs Postgres and a
    live session to run and a four-argument call is exactly the shape that regressed.

    Still not fixed: budget_steps has no cache_write_tokens column, so the count is not
    stored per step — only its cost is now correct. Adding the column means a migration
    against tables created with CREATE TABLE IF NOT EXISTS, which is more than this bug
    needs.

create-evestack@0.5.0

Choose a tag to compare

Covers everything since 0.3.1, including the 0.4.0 fixes.

The scaffolder was broken in two ways nobody could see from inside the repo

Found by installing the published package in an empty directory and following the printed instructions, rather than running it from a checkout.

The advertised $0 local-model path never booted. Choosing "Ollama (local) — genuinely $0" wrote EVESTACK_MODEL=qwen3 and a comment saying no API key was needed, but never EVESTACK_PROVIDER=ollama. The agent defaults the provider to openai, so the model name went to the wrong provider and it died before serving a request:

Cannot compile agent compaction because the primary compaction trigger model
"openai/qwen3" does not have known AI Gateway context window metadata.

Every project claimed the compose name evestack. Compose treats name: as the project identity, so a second scaffold — or a scaffold plus the cloned repo, which the printed next-steps tell you to set up — was the same project. Observed live: scaffolding into a fresh directory recreated an unrelated running evestack-postgres-1, after which two agents would share one database. The name now derives from the project directory.

A fresh install reported 5 npm advisories. Now 0.

All five were undici, reached two ways. @workflow/world-local exact-pins 7.28.0, which is why npm audit fix gave up — a narrow nested override lifts just that edge. The rest came from @ai-sdk/openai pinned to ^2.0.0, two majors behind the SDK it plugs into, which the agent announced at every boot as "specificationVersion is used in a compatibility mode… Some features may not be available." ^4.0.0 is the version that matches ai@7, so this is a correctness fix as much as a security one.

Sandbox and instrumentation

Egress is denied by default and the sandbox image is pinned. The dashboard now says out loud when it refuses a span instead of dropping it silently, and the tool-approval middleware was rewritten for @ai-sdk/provider 4.0.5 — under the new spec a denial carries providerOptions.openai.approvalId, which the old rewrite dropped.

Also

The RAM warning for local models appears in the wizard itself, not only the README. Loading a 5.2 GB model on top of Docker, Postgres, the dashboard and the agent does not degrade gracefully — it can take the host down.

Every surface — site, README, GitHub and npm — now opens with the same sentence: The whole eve stack. On your own machine.