Bump to v1.16.1 for status line git worktree awareness

This commit is contained in:
2026-07-31 22:20:38 -07:00
parent 6740e26261
commit 8e457fa6e4
3 changed files with 12 additions and 3 deletions
+9
View File
@@ -2,6 +2,15 @@
All notable changes to Plan2Code will be documented in this file. All notable changes to Plan2Code will be documented in this file.
## v1.16.1
### ✨ Added
- **Status line: git worktree awareness** — a session running in a linked git worktree now renders the project segment as `repo ⑂ worktree` (e.g. `plan2code ⑂ spike`) instead of only the worktree's directory name, which previously made the session look like an unrelated project
- Repo identity resolved from `git rev-parse --git-common-dir`, so it is correct regardless of how the worktree directory was named (bare `<name>.git` main repos included)
- A leading repo prefix is stripped from the worktree name (`plan2code-user-auth``user-auth`), and the name collapses to a bare `⑂` when it merely restates the branch already on screen — matched across `/ _ . -` separators and type prefixes like `feature/`, and only when the branch is actually displayed
- Toggleable via the new `items.worktree` config flag (default on); one extra timeout-bounded `git` call, skipped outside git repos
## v1.16.0 ## v1.16.0
### ✨ Added ### ✨ Added
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "plan2code", "name": "plan2code",
"version": "1.16.0", "version": "1.16.1",
"private": true, "private": true,
"bin": { "bin": {
"plan2code": "./install.js" "plan2code": "./install.js"
+2 -2
View File
@@ -1,6 +1,6 @@
{ {
"name": "Plan2Code", "name": "Plan2Code",
"version": "1.16.0", "version": "1.16.1",
"description": "A structured 4-step workflow methodology for AI-assisted software development", "description": "A structured 4-step workflow methodology for AI-assisted software development",
"keywords": [ "keywords": [
"ai", "ai",
@@ -17,7 +17,7 @@
"url": "https://github.com/jparkerweb/plan2code" "url": "https://github.com/jparkerweb/plan2code"
}, },
"homepage": "https://plan2code.jparkerweb.com", "homepage": "https://plan2code.jparkerweb.com",
"releaseDate": "2026-07-20", "releaseDate": "2026-07-31",
"mode": "utility" "mode": "utility"
} }