Skip to content

v0.23.0

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Nov 10:47
· 3 commits to main since this release
24efec9

Highlights: Guard prompts against replaced sessions, improve cancellation and session recovery, preserve tool results and process failures, and clarify CLI and flow diagnostics.

Changes

  • CLI: add prompt --expect-record <id> so callers can reject a replaced named session before sending or queueing a prompt. Thanks @vincentkoc.

Fixes

  • Sessions: keep tool result text that agents report through ACP content blocks when they send no rawOutput, so saved sessions and the embedded runtime no longer record those results as empty. Thanks @saariuslystoned.

  • Runtime/embedding: keep cancellation of an already-settled turn from cancelling a later turn on the same reused session client. Thanks @saariuslystoned.

  • Sessions: keep the exit code or signal of an agent that crashes mid-turn when its stdout closes before the process exit is reported, so status reports the session as dead and sessions show lists the exit code. Thanks @saariuslystoned.

  • CLI: Ctrl+C on a foreground session prompt now cancels that prompt (dequeues it or sends session/cancel) instead of leaving it running in the queue owner. Thanks @saariuslystoned.

  • Sessions: wait up to 60 seconds for a newly started queue owner instead of about six, so the first prompt on a slow or heavily loaded host no longer fails with "Session queue owner failed to start". Thanks @saariuslystoned.

  • CLI: report invalid option values once in text output, and as a single [acpx] error: USAGE line in quiet output instead of the full help plus the raw error. Thanks @saariuslystoned.

  • Sessions/prune: fail with the filesystem error when a selected file cannot be deleted instead of reporting success and freed bytes. Thanks @saariuslystoned.

  • CLI: preserve the interrupted exit status while cancellation and connection cleanup settle an in-flight one-shot command. Thanks @saariuslystoned.

  • Output: keep agent stdout parse diagnostics off stderr in --format json --json-strict and --format quiet, so strict JSON pipelines and quiet scripts no longer get a stack trace when an adapter prints a non-JSON line. Thanks @saariuslystoned.

  • Flows: flow run now rejects an empty --input-json or --input-file argument (for example an unset shell variable) instead of silently running the flow with {}. Thanks @saariuslystoned.

  • ACP/terminals: identify missing executable paths and working directories in terminal/create startup errors while preserving the original ENOENT details. Thanks @KrasimirKralev.

  • Sessions/import: launch an imported session with the destination's configured agent command and arguments instead of the source machine's saved launch arguments when the two commands differ. Thanks @saariuslystoned.

  • Shared runtime: ensureSession() no longer applies a creation-time sessionOptions.model to an existing persistent session, so reuse keeps its model and provider session instead of reconnecting. Thanks @saariuslystoned.

  • Dependencies: update the guarded filesystem runtime, Commander, and development tools while retaining the ACP SDK 1.x line and existing security overrides.

  • Sessions/export: reject archives when session ownership or the saved checkpoint changes during capture, preserving existing output files. Thanks @saariuslystoned.

  • Flows: reapply and verify pinned model and configuration choices when the initial connection dies before the first prompt. Thanks @saariuslystoned.

  • Output: skip malformed embedded resource metadata without losing later text or completion events. Thanks @saariuslystoned.

  • Flows/JSON: preserve literal backticks inside fenced JSON strings and keys. Thanks @saariuslystoned.

  • Runtime: reject overflowing in-process timeouts and shared-session idle TTLs before admitting session work. Thanks @saariuslystoned.

  • Shared sessions: retain each turn's request identity when callers reuse the input object, so cancellation targets the original turn. Thanks @saariuslystoned.

  • Sessions/watch: keep read contents suppressed when opposite-direction requests reuse an RPC ID. Thanks @saariuslystoned.

  • Sessions/list: preserve accepted opaque pagination cursors without trimming them. Thanks @saariuslystoned.

  • CLI: identify missing or non-file prompt, flow, and flow-input paths while preserving exit codes and JSON error envelopes. Thanks @KrasimirKralev.

  • CLI: prompt, exec and bare acpx <agent> now reject an empty --file argument (for example an unset shell variable) with Prompt file must not be empty (exit 2), as compare already does, instead of silently reading the prompt from stdin. Thanks @KrasimirKralev.

  • CLI/terminals/flows: a working directory that is a regular file (--cwd, terminal/create, shell actions) now reports Working directory is unavailable: <path> instead of ENOTDIR on the project .acpxrc.json or a bare spawn ENOTDIR. Thanks @KrasimirKralev.

  • CLI: show hidden child directories with an explicit relative path in reused-session banners. Thanks @Dcastroro.

  • Dependencies: update the guarded filesystem runtime and development tools while retaining ACP SDK 1.x and the existing security overrides.

  • Sessions: keep local listing and history reads from creating a session directory in an empty home.