Releases: dkedar7/langstage-cli
Releases · dkedar7/langstage-cli
Release list
langstage-cli 0.6.14
Fixed
- The header box collapsed to a bare
╭╮/╰╯under a pty that reports 0 columns (gh #71).get_terminal_width()guardedOSErrorbut not the case whereos.get_terminal_size()succeeds and reportscolumns == 0— which a pty forked without an initialized window size (pexpect/expect automation, some CI pseudo-ttys, editor terminals, process supervisors) really does.min(0, 100) == 0made the box borders vanish while content rows overflowed. Width is now floored at 40 (min(max(cols, 40), 100)), so the banner always renders.
langstage-cli 0.6.13
Fixed
- The HITL approval prompt always showed
1. unknowninstead of the tool name (gh #69). The interrupt renderer readaction.get("tool"), but a HumanInterruptaction_requestkeys the tool name underaction(the deepagents/langchain convention), so the lookup always missed — safety-relevant, since the operator couldn't see what they were approving. Now readsaction.get("action"), falling back to"tool"then"unknown". Mirrors the langstage-vscode #44 fix.
v0.6.12
Changed
--show-configand interactive/confignow render the identical diagnostic, and a parity test locks it (config-diagnostic consolidation). Both views were assembled from pieces (describe()+ a separately-rendered[configurable]table) that could drift — the seam behind #64 and #66. Both now go through the singledescribe(configurable=…)renderer in langstage-core 1.0.14 (now the minimum pin); the_print_configurablebolt-on is gone, and a test asserts the two views can't diverge.
v0.6.11
Fixed
--show-confignow shows the[configurable]table, matching interactive/config(gh #66). The[configurable]TOML table is honored at runtime (it reaches the graph'sconfig["configurable"]) and/configdisplays it, but--show-configomitted the section entirely — so a user parameterizing their agent via[configurable]couldn't confirm it via--show-config. Both views now render the table through a shared helper, so they stay in sync.
v0.6.10
Fixed
- Interactive
/confignow reports the true source ofworkspace_root, matching--show-config(gh #64)./configre-resolved config at display time — after startup'sapply_workspace()self-publishesLANGSTAGE_WORKSPACE_ROOTinto the environment (ADR 0005) — so it misreported the source as[env:LANGSTAGE_WORKSPACE_ROOT]even when unset. It now reuses the config diagnostic snapshotted at startup (before the self-publish), so it agrees with--show-config.
v0.6.9
Changed
--stream-modeis deprecated — it was a no-op advertised as a feature (gh #62).--stream-mode {auto,updates,messages},LANGSTAGE_STREAM_MODE, and[ui] stream_modeclaimed three streaming behaviors, but since the AG-UI migration all three render identically (the_resolve_stream_modemapper was never called). It is now hidden from--help, omitted from--show-config, no longer resolved from env/TOML, and accepted-and-ignored on the CLI (so--stream-mode Xdoesn't hard-error) with a one-line deprecation notice. No rendering behavior changes.
v0.6.8
Fixed
- The interactive prompt no longer leaks an ANSI color escape in
--quiet/ piped mode (gh #60).make_prompt'scolorargument defaulted to theBRIGHT_BLUEmodule global, bound once at definition time, so_disable_ansi()never reached it and the prompt still emitted a stray\033[94m. The default is now resolved at call time. Thanks @JSap0914 (#61).
v0.6.7
Fixed
- The
langstage.toml[configurable]table now reaches the graph (gh #57)./configand--show-configadvertise that[configurable]seeds LangGraph'sRunnableConfig.configurable, but the AG-UI path forwarded onlythread_id— every other key was silently dropped, so a node'sconfig["configurable"]sawNone. The session agent is now built with the resolved configurable, so those keys reach the graph on every turn.
v0.6.6
Changed
- Workspace root is now applied through the shared
core.apply_workspace()(ADR 0005). Replaces the localos.chdirblock with the one source of truth: the resolved workspace is published (env + active) so the agent's tools can readcore.workspace_root(), and cli stillchdirs into it when one was explicitly configured. Same behavior, minus the drift — plus a configured workspace that doesn't exist yet is now created instead of silently ignored. First surface migration for ADR 0005. Requireslangstage-core>=1.0.7.
v0.6.5
Added
--verify: preflight the configured agent with one real turn (ADR 0004).langstage-cli --verify(with-a/--demo/LANGSTAGE_AGENT_SPEC) loads the agent, runs ONE real turn through the sharedlangstage-coreprimitivecore.verify(), and exits 0 if it completed cleanly / non-zero otherwise — a real CI gate that catches a missing key, broken tool, or non-runnable graph before you rely on it, versus a static "it imports" check. The verdict is one line (pass on stdout, failure on stderr) and a piped--verifyauto-quiets, so it scripts cleanly.
First surface adoption of the consolidated preflight — "healthy" now means the same thing here as in vscode --selfcheck and hermes verify. Requires langstage-core>=1.0.6.