Skip to content

v0.2.0 — rebase atoms + working-tree extras + control-flow conditionally

Choose a tag to compare

@gfargo gfargo released this 18 May 16:02

Minor release adding rebase, working-tree extras, and a new control-flow atom.

Added

New atoms — Rebase

  • startRebase(onto, { allowConflict? }) — runs git rebase onto the named ref. Same conflict-tolerant pattern as startMerge — conflicts leave the repo mid-rebase by default (REBASE_HEAD set, conflicted files in the worktree). Set allowConflict: false to rethrow on conflict.
  • abortRebase()git rebase --abort. Restores pre-rebase state.
  • continueRebase()git rebase --continue. Advances after resolving a conflict.

New atoms — Working tree

  • deleteFiles(...paths) — removes files from the worktree. Does not stage; pair with stageFiles or addCommit to land the deletion.
  • renameFile(from, to) — wraps git mv for rename-detection scenarios.

New atom — Control flow

  • conditionally(condition, step) — runs a step only when a boolean (or async predicate) is true. Avoids awkward ternaries inside chain(...).

Docs + tooling

  • README badges activated (npm version, license, types, CI).
  • New cookbook entries: mid-rebase conflict, rename detection.
  • Kiro steering documents added (.kiro/steering/).

Fixed

  • insideSubmodule test no longer times out — added 60s timeout matching the other submodule tests in the suite.

Full diff

v0.1.1...v0.2.0