Skip to content

Release v0.7.0: multi-root capture and refresh --watch - #47

Merged
takashi-matsuyama merged 3 commits into
mainfrom
release/v0.7.0
Jun 8, 2026
Merged

takashi-matsuyama merged 3 commits into
mainfrom
release/v0.7.0

Conversation

@takashi-matsuyama

Copy link
Copy Markdown
Member

Summary

Release v0.7.0. Promotes the Unreleased changelog to ## 0.7.0 — 2026-06-08
and bumps @basou/core, @basou/cli, @basou/sdk, and the bare basou
installer to 0.7.0 in lockstep. Two small fixes ride along with the two
features already on main.

Why

The 0.6.0 -> main delta carries two dogfood-proven but unpublished
features — multi-root capture (#44) and basou refresh --watch (#45).
Cutting 0.7.0 makes them reachable for npm consumers and lets the
basou.dev CLI reference (sourced from the published surface) pick up the
repeatable --project flag and --watch. Two follow-up fixes are folded in:

  • Import selector: basou import claude-code / basou import codex now
    reject --session and --all together instead of silently honouring
    --session and ignoring --all.
  • Schema accuracy: the published session-import JSON Schema description no
    longer references a basou session export command, which does not exist.

Contents (3 commits)

  • fix(cli): reject combining --session with --all on import
  • fix(core): drop unimplemented session export from session-import schema
  • basou: Release v0.7.0 (multi-root capture and refresh --watch)

The regenerated session-import.schema.json diff is exactly the one
description line; the other seven schemas are unchanged.

Checklist

  • Branch is rebased on main (branched from current main HEAD).
  • One commit per topic (two independent fixes + the release commit).
  • Tests cover the change (a both-given rejection test for each import
    adapter; the schema drift-guard covers the schema edit).
  • pnpm lint, pnpm typecheck, and pnpm test are all green locally
    (core 743, sdk 17, cli 443).
  • CHANGELOG.md updated: ## Unreleased promoted to ## 0.7.0 with a
    new ### Fixed subsection for the two fixes.
  • CLI stderr stays pathless (no new error message surfaces a path).

Maintainer follow-up (post-merge, not in this PR)

  • Tag push v0.7.0 and npm publish via the OIDC trusted-publisher workflow
    are maintainer actions. Pre-tag: scoped publish dry-run, pnpm pack
    tarball inspection, and the leak scan per docs/release-checklist.md.
  • The docs-bump auto-PR on basou-site fires on publish.
  • Pre-existing docs staleness is deferred to a separate PR: the root README
    still shows v0.4.0 and "@basou/cli is not yet published", the bare
    installer README shows 0.3.1, and the docs/spec session-import wording
    lags the live --format / --from options.

Related

takashi-matsuyama and others added 3 commits June 8, 2026 08:57
`basou import claude-code` and `basou import codex` accept `--session <id>`
to import one transcript and `--all` to import every transcript. The
selector guard only rejected passing neither; passing both slipped through
and silently took the `--session` path, ignoring `--all`. That is a quiet
surprise -- the caller asked for two contradictory things and got one
without warning.

Reject the combination explicitly so the selector is always unambiguous,
and cover both adapters with a test for the both-given case.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The `session-import` JSON Schema description claimed the payload was
"produced by `basou session export`". No such command exists -- the CLI
ships `basou session import` but never an `export` counterpart -- so the
reference was misleading to anyone reading the published schema at
basou.dev/schemas/. Trim the description to the consumer that actually
exists and regenerate the committed artifact.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Promote the Unreleased section to 0.7.0 and bump @basou/core,
@basou/cli, @basou/sdk, and the bare `basou` installer to 0.7.0 in
lockstep.

Headline changes since 0.6.0:
- Multi-root capture: one .basou/ workspace can aggregate the native
  logs of several sibling repositories via a repeatable --project flag
  and a manifest import.source_roots list.
- `basou refresh --watch`: keep the workspace current automatically by
  polling the native-log stores and re-importing only settled, changed
  sessions.
- Fixes: reject --session combined with --all on import; drop a
  reference to a nonexistent `basou session export` from the
  session-import JSON Schema.

pnpm-lock.yaml is unchanged because internal deps use workspace:*.
Tag push and npm publish are maintainer actions handled after merge.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@takashi-matsuyama
takashi-matsuyama merged commit 3e0b651 into main Jun 8, 2026
7 checks passed
@takashi-matsuyama
takashi-matsuyama deleted the release/v0.7.0 branch June 8, 2026 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant