Skip to content

Commit 179d6bc

Browse files
chore: changelog for 0.4.1
1 parent c220ee3 commit 179d6bc

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,50 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.4.1] - 2026-06-08
11+
12+
### Breaking & behavior changes
13+
- **Bare-objective shortcut removed.** `kane-cli "<objective>"` no longer routes to `run`. Use `kane-cli run "<objective>"`.
14+
Unknown first tokens now exit `2` with a "did you mean" suggestion instead of silently running.
15+
- **Exit code `1 → 2` for TMS credential-exchange failures.** Aligns with the other auth/setup failure codes. CI scripts that
16+
branch on exit `1` vs `2` should be updated.
17+
- **`config show` and the new `list` commands emit JSON when stdout is piped or redirected** (`> file`, `| jq`) instead of the human table. Useful for scripts; anyone scraping the human format will need to update.
18+
- **Mid-run interactive project/folder picker removed.** When the startup gate finds nothing configured (or a stale/invalid cached value), it auto-defaults headlessly and announces the choice rather than prompting. The explicit `kane-cli config project` / `config folder` pickers still work in a TTY.
19+
20+
### Project & folder selection
21+
- **Zero-config first run** — every run path (`kane-cli run`, `kane-cli testmd run`, `kane-cli generate`) validates a
22+
project/folder before launching. If nothing is configured, kane-cli auto-resolves (find-or-create) and announces the choice in the TUI scrollback and as a `project_folder_auto_defaulted` event under `--agent`.
23+
- **New `projects` and `folders` subcommands** for scripted setup:
24+
- `kane-cli projects list [--search] [--limit] [--offset]`
25+
- `kane-cli projects create <name> [--description]`
26+
- `kane-cli folders list [--search] [--limit] [--offset]`
27+
- `kane-cli folders create <name> [--description]`
28+
29+
Human table in a TTY, NDJSON when piped or under `--agent`, with `_meta`-paginated output for agents.
30+
- **Self-healing for stale, invalid, or typo'd IDs** — a cached project/folder that's been deleted, renamed, revoked, or set to a malformed value is detected at run start and replaced via auto-default, instead of silently breaking the upload at the end of the run.
31+
- **OAuth users can use the interactive `config project` / `config folder` picker again** — a regression that required basic-auth credentials to reach the picker is fixed.
32+
- **OAuth tokens refreshed in the projects/folders auth path** — expired tokens no longer cause silent failures when listing or selecting projects.
33+
34+
### More faithful recorded tests
35+
- **Bare variable references are preserved in recorded `test.md`** — variable refs are written as-is, not coerced or mangled during recording.
36+
- **`--author` is honored in non-TTY and agent runs** — passing `--author` in CI or agent mode now takes effect as expected.
37+
38+
### Variable handling in recorded tests
39+
- **`--variables-file` and auto-store values resolve as expected** ([LambdaTest/kane-cli#69](https://github.com/LambdaTest/kane-cli/issues/69), [#75](https://github.com/LambdaTest/kane-cli/issues/75)) — the runtime `{{VAR}}` resolver now tries the local resolver first and falls back to the ATMS lookup, instead of silently dropping values the file had set.
40+
- **Recorded `*_test.md` no longer double-prefixes variable namespaces** [#76](https://github.com/LambdaTest/kane-cli/issues/76) — replays previously produced `{{secrets.user.secrets.user.X}}` which never resolved; recorded objectives + frontmatter now persist bare `{{name}}` refs.
41+
42+
### Non-TTY & agent runs
43+
- **`--author` is honored in non-TTY and `--agent` runs** ([LambdaTest/kane-cli#72](https://github.com/LambdaTest/kane-cli/issues/72)) — forcing re-authoring no longer falls back to the stale cached plan in headless mode.
44+
- **Typo'd subcommands fail loudly** instead of silently running your input as an objective (see Breaking).
45+
46+
### Auth
47+
- **`login` / `whoami` verify credentials server-side** ([LambdaTest/kane-cli#58](https://github.com/LambdaTest/kane-cli/issues/58)) — previously both could report success while the backend rejected every API call; invalid tokens now fail immediately instead of after the first real command.
48+
49+
### Cleaner output and display
50+
- **Project-list count shown as a lower bound while streaming** — the projects denominator is now marked as approximate during streaming, so the display is not misleading.
51+
52+
---
53+
1054
## [0.4.0] - 2026-06-04
1155

1256
### AI test generation (`kane-cli generate`)

0 commit comments

Comments
 (0)