acstack 0.52.1 → 0.52.3

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.
Files changed (36) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/README.md +3 -1
  3. package/agents/codex/task-checker.toml +51 -190
  4. package/agents/codex/task-executor.toml +5 -4
  5. package/agents/codex/test-writer.toml +3 -0
  6. package/agents/task-checker.md +51 -190
  7. package/agents/task-executor.md +5 -4
  8. package/agents/test-writer.md +3 -0
  9. package/assets/terminal-workspace/config.example.yaml +3 -9
  10. package/assets/terminal-workspace/lib/commands.sh +0 -2
  11. package/assets/terminal-workspace/lib/pi-packages.sh +6 -19
  12. package/assets/terminal-workspace/lib/versions.sh +1 -2
  13. package/cli/dist/index.js +1 -1
  14. package/cli/dist/index.js.map +1 -1
  15. package/cli/package.json +1 -1
  16. package/docs/terminal-workspace.md +9 -10
  17. package/docs/workflows.md +6 -1
  18. package/orchestrator/AGENTS.md +38 -17
  19. package/package.json +1 -1
  20. package/pi/agents/task-checker.md +51 -190
  21. package/pi/agents/task-executor.md +5 -4
  22. package/pi/agents/test-writer.md +3 -0
  23. package/pi/extension.ts +4 -4
  24. package/skills/code-review/SKILL.md +3 -0
  25. package/skills/compact-and-continue/SKILL.md +4 -2
  26. package/skills/handoff/SKILL.md +5 -5
  27. package/skills/implement/SKILL.md +6 -4
  28. package/skills/pre-commit-review/SKILL.md +34 -35
  29. package/skills/pre-commit-review/auto-fix.md +12 -12
  30. package/skills/pre-commit-review/interactive.md +12 -5
  31. package/skills/quick-fix/SKILL.md +6 -8
  32. package/skills/terminal-workspace/SKILL.md +1 -1
  33. package/skills/terminal-workspace/components.md +1 -1
  34. package/skills/terminal-workspace/config-choices.md +1 -1
  35. package/skills/terminal-workspace/turn-off-and-update.md +3 -3
  36. package/skills/test-conventions/SKILL.md +2 -2
@@ -196,13 +196,12 @@ pi:
196
196
  # Off by default, because it writes into pi's own config in ~/.pi/agent.
197
197
  # pi is a coding agent in the terminal. Turning this on installs it with npm
198
198
  # if it is missing, then installs ACStack into it, pinned to this plugin's
199
- # version, with pi-subagents, which ACStack needs to launch a subagent.
199
+ # version, with ac-teams for agent delegation, shared tasks, and messaging.
200
200
  #
201
201
  # It also writes one line into pi's context file in ~/.pi/agent (AGENTS.md
202
202
  # by default) that lets pi delegate when an ACStack skill says to.
203
- # It sets "toolActivation": "eager" in
204
- # ~/.pi/agent/extensions/subagent/config.json. It binds
205
- # "app.message.dequeue" to "ctrl+enter" in ~/.pi/agent/keybindings.json.
203
+ # It binds "app.message.dequeue" to "ctrl+enter" in
204
+ # ~/.pi/agent/keybindings.json.
206
205
  # These changes sit beside your own settings, which stay.
207
206
  #
208
207
  # Logging in is yours: run pi, then /login.
@@ -217,11 +216,6 @@ pi:
217
216
  # markdown, code and artifact previews beside a decision, accepts freeform
218
217
  # answers and notes, and does not require a full-event telemetry env var.
219
218
  question_tool: true
220
- # rpiv-todo, which adds a todo tool to pi. When this is on, apply also
221
- # suggests a line for the user's global ~/.pi/agent/AGENTS.md if their Pi
222
- # context file does not already mention todo discipline. It never edits that
223
- # user-owned file for them.
224
- todo: true
225
219
  # pi-plugin-manager, which adds pi plugin management commands.
226
220
  plugin_manager: true
227
221
  # pi-web-access, which adds web search, URL fetching, GitHub repo cloning,
@@ -70,8 +70,6 @@ acstack_tw_main() {
70
70
  grep -qsF "$PI_MD_BEGIN" "$PI_DIR"/AGENTS.override.md "$PI_DIR"/AGENTS.md "$PI_DIR"/AGENTS.MD \
71
71
  "$PI_DIR"/CLAUDE.md "$PI_DIR"/CLAUDE.MD \
72
72
  && say "pi delegation line: present" || say "pi delegation line: absent"
73
- ta=$(json_field "$PI_SUBAGENT_CFG" toolActivation)
74
- say "pi toolActivation: ${ta:-not set}"
75
73
  [ -f "$PI_DIR/auth.json" ] && say "pi login: logged in" \
76
74
  || say "pi login: not logged in - run pi, then /login"
77
75
  fi
@@ -57,7 +57,7 @@ pi_npm_package() { # pi_npm_package <name> -> npm package identity, or nothing
57
57
  version_table | awk -F'\t' -v n="$1" '$1==n && $2=="pi" && $3=="npm"{print "npm:" $4; found=1; exit} END{exit !found}'
58
58
  }
59
59
 
60
- # A package pi holds at a fixed version, such as npm:pi-subagents@1.0.0.
60
+ # A package pi holds at a fixed version, such as npm:ac-teams@1.0.0.
61
61
  pi_npm_pin() { # pi_npm_pin <name>
62
62
  local pkg src
63
63
  pkg=$(pi_npm_package "$1") || return 1
@@ -65,17 +65,6 @@ pi_npm_pin() { # pi_npm_pin <name>
65
65
  [ "$src" != "$pkg" ]
66
66
  }
67
67
 
68
- pi_suggest_todo_discipline() {
69
- local needle="When using a todo list, keep it current as work completes."
70
- grep -qsF "$needle" "$PI_DIR"/AGENTS.override.md "$PI_DIR"/AGENTS.md "$PI_DIR"/AGENTS.MD \
71
- "$PI_DIR"/CLAUDE.md "$PI_DIR"/CLAUDE.MD && return 0
72
- say "pi: todo tool installed. For stricter todo discipline, ask the agent"
73
- say "pi: running this setup to hand-edit $PI_DIR/AGENTS.md and add:"
74
- say "pi: $needle Before reporting a task as done, check the todo list"
75
- say "pi: and mark every completed step completed. Do not leave stale"
76
- say "pi: in-progress or pending todos after a commit, PR, merge or workflow gate."
77
- }
78
-
79
68
  # The pin apply would move to, or nothing when the installed one is current
80
69
  # or newer. A newer pin is one the user chose, so it is never moved back.
81
70
  pi_acstack_behind() {
@@ -189,13 +178,11 @@ apply_pi() {
189
178
 
190
179
  patch_pi_win32_paste
191
180
 
192
- # ACStack cannot launch a subagent on pi without pi-subagents.
193
- pi_add npm:pi-subagents npm:pi-subagents
194
- if [ "$(cfg_get pi.todo true)" = "true" ]; then
195
- pi_add npm:@juicesharp/rpiv-todo npm:@juicesharp/rpiv-todo
196
- pi_suggest_todo_discipline
197
- else
181
+ # Retire only setup-owned packages after their replacement is available.
182
+ if pi_add npm:ac-teams npm:ac-teams; then
183
+ pi_drop npm:pi-subagents
198
184
  pi_drop npm:@juicesharp/rpiv-todo
185
+ pi_state merge "$PI_SUBAGENT_CFG" subagent '{"toolActivation": null}'
199
186
  fi
200
187
  if [ "$(cfg_get pi.plugin_manager true)" = "true" ]; then
201
188
  pi_add npm:pi-plugin-manager npm:pi-plugin-manager
@@ -298,7 +285,6 @@ apply_pi() {
298
285
 
299
286
  pi_state merge "$PI_SETTINGS" settings "$(pi_settings_wanted)"
300
287
  pi_state merge "$PI_KEYBINDINGS" keybindings '{"app.message.dequeue": "ctrl+enter"}'
301
- pi_state merge "$PI_SUBAGENT_CFG" subagent '{"toolActivation": "eager"}'
302
288
  pi_state md write
303
289
  patch_pi_win32_paste
304
290
  patch_herdr_pi_status
@@ -322,6 +308,7 @@ remove_pi() {
322
308
  bili_client remove pi
323
309
  pi_drop "$PI_BILLION"
324
310
  pi_drop npm:pi-plugin-manager
311
+ pi_drop npm:ac-teams
325
312
  pi_drop npm:@juicesharp/rpiv-todo
326
313
  pi_drop npm:pi-compact-tools
327
314
  pi_drop "$PI_ZENTUI"
@@ -11,9 +11,8 @@ herdr herdr herdr - -
11
11
  gh-dash gh_dash ghext dlvhdr/gh-dash -
12
12
  harlequin harlequin pypi harlequin -
13
13
  pi pi npm @earendil-works/pi-coding-agent -
14
- pi-subagents pi npm pi-subagents -
14
+ ac-teams pi npm ac-teams -
15
15
  billion-context pi npm billion-context -
16
- @juicesharp/rpiv-todo pi npm @juicesharp/rpiv-todo -
17
16
  pi-plugin-manager pi npm pi-plugin-manager -
18
17
  @juicesharp/rpiv-ask-user-question pi npm @juicesharp/rpiv-ask-user-question -
19
18
  pi-web-access pi npm pi-web-access -