Skip to content

Releases: dkedar7/langstage-cli

langstage-cli 0.6.14

Choose a tag to compare

@dkedar7 dkedar7 released this 10 Jul 12:04
a4fc2d9

Fixed

  • The header box collapsed to a bare ╭╮/╰╯ under a pty that reports 0 columns (gh #71). get_terminal_width() guarded OSError but not the case where os.get_terminal_size() succeeds and reports columns == 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) == 0 made 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

Choose a tag to compare

@dkedar7 dkedar7 released this 10 Jul 02:46
3b48b71

Fixed

  • The HITL approval prompt always showed 1. unknown instead of the tool name (gh #69). The interrupt renderer read action.get("tool"), but a HumanInterrupt action_request keys the tool name under action (the deepagents/langchain convention), so the lookup always missed — safety-relevant, since the operator couldn't see what they were approving. Now reads action.get("action"), falling back to "tool" then "unknown". Mirrors the langstage-vscode #44 fix.

v0.6.12

Choose a tag to compare

@dkedar7 dkedar7 released this 08 Jul 23:53
3d90fd6

Changed

  • --show-config and interactive /config now 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 single describe(configurable=…) renderer in langstage-core 1.0.14 (now the minimum pin); the _print_configurable bolt-on is gone, and a test asserts the two views can't diverge.

v0.6.11

Choose a tag to compare

@dkedar7 dkedar7 released this 08 Jul 13:06
2e28449

Fixed

  • --show-config now shows the [configurable] table, matching interactive /config (gh #66). The [configurable] TOML table is honored at runtime (it reaches the graph's config["configurable"]) and /config displays it, but --show-config omitted 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

Choose a tag to compare

@dkedar7 dkedar7 released this 08 Jul 01:53
0470ea9

Fixed

  • Interactive /config now reports the true source of workspace_root, matching --show-config (gh #64). /config re-resolved config at display time — after startup's apply_workspace() self-publishes LANGSTAGE_WORKSPACE_ROOT into 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

Choose a tag to compare

@dkedar7 dkedar7 released this 06 Jul 11:46
34ad641

Changed

  • --stream-mode is deprecated — it was a no-op advertised as a feature (gh #62). --stream-mode {auto,updates,messages}, LANGSTAGE_STREAM_MODE, and [ui] stream_mode claimed three streaming behaviors, but since the AG-UI migration all three render identically (the _resolve_stream_mode mapper 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 X doesn't hard-error) with a one-line deprecation notice. No rendering behavior changes.

v0.6.8

Choose a tag to compare

@dkedar7 dkedar7 released this 05 Jul 14:26

Fixed

  • The interactive prompt no longer leaks an ANSI color escape in --quiet / piped mode (gh #60). make_prompt's color argument defaulted to the BRIGHT_BLUE module 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

Choose a tag to compare

@dkedar7 dkedar7 released this 04 Jul 15:08
c07f87f

Fixed

  • The langstage.toml [configurable] table now reaches the graph (gh #57). /config and --show-config advertise that [configurable] seeds LangGraph's RunnableConfig.configurable, but the AG-UI path forwarded only thread_id — every other key was silently dropped, so a node's config["configurable"] saw None. The session agent is now built with the resolved configurable, so those keys reach the graph on every turn.

v0.6.6

Choose a tag to compare

@dkedar7 dkedar7 released this 03 Jul 21:44
03bf43e

Changed

  • Workspace root is now applied through the shared core.apply_workspace() (ADR 0005). Replaces the local os.chdir block with the one source of truth: the resolved workspace is published (env + active) so the agent's tools can read core.workspace_root(), and cli still chdirs 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. Requires langstage-core>=1.0.7.

v0.6.5

Choose a tag to compare

@dkedar7 dkedar7 released this 03 Jul 18:54
2aecbd8

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 shared langstage-core primitive core.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 --verify auto-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.