pi-straw-boss 0.27.0 → 0.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/README.zh-TW.md +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -126,7 +126,9 @@ In a workspace whose worktree is a linked git worktree (whatever its name), it c
|
|
|
126
126
|
Herdr then closes the tab and the workspace, and the plugin removes the workspace's checkout if `git status` is clean and nothing else is using it (no other pane works in it, no other workspace is open on it).
|
|
127
127
|
Git-ignored files (`.env`, `node_modules`, caches, local databases) do not make a checkout dirty, so they are deleted with it.
|
|
128
128
|
The branch always stays, and so does a dirty checkout, with the reason in the plugin log.
|
|
129
|
-
|
|
129
|
+
A checkout with a submodule is never removed (git refuses by design) and stays with git's reason in the log; if a removal fails partway and leaves files git no longer tracks, the log says "half-removed" and names the directory for you to delete.
|
|
130
|
+
When Herdr opened a plain shell workspace for the main checkout to group the worktrees under, the plugin remembers it, and closes it once no worktree workspace of that repository is left and it holds only idle shells (no agent, not pinned, not renamed, not focused); the checkout and branches are untouched.
|
|
131
|
+
Every other workspace, including a main-checkout workspace that never had a worktree under it, is left alone.
|
|
130
132
|
It sweeps every 10 minutes and a minute after an agent exits, and the `reap-now` action sweeps at once.
|
|
131
133
|
Every close, removal, skip and pin is a line in the plugin log (`herdr plugin log list --plugin wayne930242.straw-boss-reaper`).
|
|
132
134
|
|
package/README.zh-TW.md
CHANGED
|
@@ -125,7 +125,9 @@ description = "toggle the straw net view"
|
|
|
125
125
|
Herdr 接著會關掉分頁和工作區,plugin 再在 `git status` 乾淨、而且沒有別的東西還在用它(沒有別的 pane 在裡面工作,也沒有別的工作區開在同一個 checkout)時移除這個工作區的 checkout。
|
|
126
126
|
git 忽略的檔案(`.env`、`node_modules`、快取、本機資料庫)不算變更,所以會跟著 checkout 一起被刪掉。
|
|
127
127
|
分支一律保留;有未提交變更的 checkout 也留著,原因寫在 plugin 日誌裡。
|
|
128
|
-
|
|
128
|
+
含 submodule 的 checkout 不會被移除(git 設計上就拒絕),會連同 git 給的原因留在日誌裡;若移除做到一半失敗、留下 git 已不再追蹤的檔案,日誌會寫「half-removed」並指出該目錄,由你自己刪除。
|
|
129
|
+
Herdr 為了把 worktree 歸在底下而替主 checkout 開了一個純 shell 工作區時,plugin 會記住它;該 repo 的 worktree 工作區全部收掉後,若它只剩閒置的 shell(沒有智慧體、沒釘選、名稱沒改過、沒有焦點),就把這個工作區關掉,checkout 和分支都不動。
|
|
130
|
+
其他工作區(包括從沒掛過 worktree 的主 checkout 工作區)完全不動。
|
|
129
131
|
它每 10 分鐘掃一次,智慧體結束後約一分鐘也會掃,`reap-now` 動作則立刻掃。
|
|
130
132
|
每一次關閉、移除、略過和釘選,都是 plugin 日誌(`herdr plugin log list --plugin wayne930242.straw-boss-reaper`)裡的一行。
|
|
131
133
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-straw-boss",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.2",
|
|
4
4
|
"description": "Straw Boss coordination for pi in Herdr: sessions join a tab's net by choice, the first joiner is its main agent, a workspace tower opens on demand with a live monitoring dashboard, and boss_broadcast reaches the rest",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|