impulso 0.19.1

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 (85) hide show
  1. package/README.md +425 -0
  2. package/agents/ImpulsoOrchestrator.md +112 -0
  3. package/agents/debugger.md +38 -0
  4. package/agents/generalist.md +26 -0
  5. package/agents/implementer-frontend.md +41 -0
  6. package/agents/implementer-infra.md +41 -0
  7. package/agents/implementer.md +35 -0
  8. package/agents/planner.md +52 -0
  9. package/agents/reviewer.md +40 -0
  10. package/agents/scout-writer.md +24 -0
  11. package/agents/scout.md +22 -0
  12. package/agents/shipper.md +64 -0
  13. package/commands/impulso-address-pr-comments.md +162 -0
  14. package/commands/impulso-brainstorm.md +54 -0
  15. package/commands/impulso-context-pack.md +55 -0
  16. package/commands/impulso-debug.md +50 -0
  17. package/commands/impulso-directspeech-compress.md +137 -0
  18. package/commands/impulso-directspeech-help.md +33 -0
  19. package/commands/impulso-directspeech-stats.md +16 -0
  20. package/commands/impulso-implement.md +86 -0
  21. package/commands/impulso-plan.md +92 -0
  22. package/commands/impulso-ship.md +46 -0
  23. package/commands/impulso-spec.md +106 -0
  24. package/commands/impulso-verify.md +99 -0
  25. package/commands/plannotator-annotate.md +47 -0
  26. package/commands/plannotator-last.md +45 -0
  27. package/commands/plannotator-review.md +46 -0
  28. package/harnesses/claude/README.md +109 -0
  29. package/harnesses/claude/hooks/bash-state-guard.cjs +84 -0
  30. package/harnesses/claude/hooks/directspeech-context.cjs +29 -0
  31. package/harnesses/claude/hooks/path-guard.cjs +106 -0
  32. package/harnesses/claude/hooks/preflight.cjs +39 -0
  33. package/harnesses/claude/hooks/pretooluse-bash.cjs +69 -0
  34. package/harnesses/claude/hooks/rtk.cjs +87 -0
  35. package/harnesses/claude/hooks/subagent-start.cjs +83 -0
  36. package/harnesses/claude/hooks/task-exit.cjs +189 -0
  37. package/harnesses/claude/hooks/tdd-observer.cjs +118 -0
  38. package/harnesses/claude/hooks/tokensave-stale.cjs +63 -0
  39. package/harnesses/claude/hooks/userpromptsubmit.cjs +42 -0
  40. package/harnesses/claude/install.sh +120 -0
  41. package/harnesses/claude/merge-settings.cjs +71 -0
  42. package/harnesses/claude/uninstall.sh +89 -0
  43. package/harnesses/opencode/bin/darwin-amd64/impulso-hub +0 -0
  44. package/harnesses/opencode/bin/darwin-arm64/impulso-hub +0 -0
  45. package/harnesses/opencode/bin/impulso-hub +0 -0
  46. package/harnesses/opencode/bin/linux-amd64/impulso-hub +0 -0
  47. package/harnesses/opencode/bin/linux-arm64/impulso-hub +0 -0
  48. package/harnesses/opencode/commands-loader.js +101 -0
  49. package/harnesses/opencode/compose.js +111 -0
  50. package/harnesses/opencode/directspeech/README.md +43 -0
  51. package/harnesses/opencode/directspeech/plugin.js +47 -0
  52. package/harnesses/opencode/frontmatter.js +60 -0
  53. package/harnesses/opencode/install.sh +121 -0
  54. package/harnesses/opencode/orchestration/index.js +362 -0
  55. package/harnesses/opencode/plugin.js +84 -0
  56. package/harnesses/opencode/rtk/README.md +100 -0
  57. package/harnesses/opencode/rtk/rtk.ts +41 -0
  58. package/harnesses/opencode/session-name/plugin.js +27 -0
  59. package/harnesses/opencode/sync-commands.js +98 -0
  60. package/harnesses/opencode/uninstall.sh +36 -0
  61. package/opencode/opencode.jsonc +35 -0
  62. package/package.json +95 -0
  63. package/scripts/bump-plugin-version.cjs +28 -0
  64. package/scripts/install-hub.js +78 -0
  65. package/scripts/sync-agents.cjs +167 -0
  66. package/shared/directspeech-config.cjs +18 -0
  67. package/shared/orchestration-config.cjs +281 -0
  68. package/shared/orchestration-data.json +48 -0
  69. package/shared/state-guard.cjs +56 -0
  70. package/shared/tokensave-freshness.cjs +62 -0
  71. package/skills/impulso-address-pr-comments/SKILL.md +159 -0
  72. package/skills/impulso-brainstorm/SKILL.md +51 -0
  73. package/skills/impulso-context-pack/SKILL.md +52 -0
  74. package/skills/impulso-debug/SKILL.md +47 -0
  75. package/skills/impulso-directspeech-compress/SKILL.md +134 -0
  76. package/skills/impulso-directspeech-help/SKILL.md +30 -0
  77. package/skills/impulso-directspeech-stats/SKILL.md +13 -0
  78. package/skills/impulso-implement/SKILL.md +83 -0
  79. package/skills/impulso-plan/SKILL.md +89 -0
  80. package/skills/impulso-ship/SKILL.md +43 -0
  81. package/skills/impulso-spec/SKILL.md +103 -0
  82. package/skills/impulso-verify/SKILL.md +96 -0
  83. package/skills/plannotator-annotate/SKILL.md +45 -0
  84. package/skills/plannotator-last/SKILL.md +43 -0
  85. package/skills/plannotator-review/SKILL.md +44 -0
@@ -0,0 +1,45 @@
1
+ ---
2
+ name: plannotator-annotate
3
+ description:
4
+ Open Plannotator's annotation UI for a markdown file, HTML file, URL, or
5
+ folder and then respond to the returned annotations.
6
+ disable-model-invocation: true
7
+ ---
8
+
9
+ # Plannotator Annotate
10
+
11
+ Use when user wants document annotated in Plannotator.
12
+
13
+ ## Protocol
14
+
15
+ 1. Set `TARGET` to the file/URL/folder to annotate. Never empty.
16
+
17
+ 2. Launch plannotator and get the URL:
18
+
19
+ ```bash
20
+ impulso-hub plannotator launch annotate <TARGET>
21
+ ```
22
+
23
+ This returns a JSON line with `url`, `remoteUrl`, `port`, and `pid`.
24
+ Plannotator runs in the background.
25
+
26
+ 3. **IMMEDIATELY relay URL:** "Open Plannotator at `<URL>` (remote: `<Remote>`).
27
+ Annotate `<TARGET>`, then tell me when done." WAIT for user to confirm.
28
+
29
+ 4. After user confirms, wait for plannotator to finish and get the decision:
30
+
31
+ ```bash
32
+ impulso-hub plannotator wait
33
+ ```
34
+
35
+ Returns JSON:
36
+ `{"decision":"approved"|"dismissed"|"annotated","feedback":"..."}`.
37
+
38
+ 5. Apply the decision:
39
+ - `approved` → acknowledge, proceed.
40
+ - `dismissed` → session closed, say so, continue.
41
+ - `annotated` → address the feedback text.
42
+
43
+ 6. Launch timeout (impulso-hub exits 2): check stderr, ask whether to retry.
44
+
45
+ Run commands yourself. Never ask user to paste shell commands into chat.
@@ -0,0 +1,43 @@
1
+ ---
2
+ name: plannotator-last
3
+ description:
4
+ Open Plannotator on the latest rendered assistant message and use the returned
5
+ annotations to revise that message or continue.
6
+ disable-model-invocation: true
7
+ ---
8
+
9
+ # Plannotator Last
10
+
11
+ Use when user wants latest assistant response annotated in Plannotator.
12
+
13
+ No commentary before launch — preamble becomes the thing annotated.
14
+
15
+ ## Protocol
16
+
17
+ 1. Launch plannotator immediately (no preamble):
18
+
19
+ ```bash
20
+ impulso-hub plannotator launch last
21
+ ```
22
+
23
+ Returns JSON with `url`, `remoteUrl`, `port`, `pid`. Non-blocking.
24
+
25
+ 2. **IMMEDIATELY relay URL:** "Open Plannotator at `<URL>` (remote: `<Remote>`).
26
+ Annotate the last message, then tell me when done." WAIT for user.
27
+
28
+ 3. After user confirms:
29
+
30
+ ```bash
31
+ impulso-hub plannotator wait
32
+ ```
33
+
34
+ Returns `{"decision":"approved"|"dismissed"|"annotated","feedback":"..."}`.
35
+
36
+ 4. Apply the decision:
37
+ - `approved` → acknowledge, proceed.
38
+ - `dismissed` → session closed, say so, continue.
39
+ - `annotated` → address the feedback text.
40
+
41
+ 5. Launch timeout (exit 2): check stderr, ask whether to retry.
42
+
43
+ Run commands yourself. Never ask user to paste shell commands into chat.
@@ -0,0 +1,44 @@
1
+ ---
2
+ name: plannotator-review
3
+ description:
4
+ Open Plannotator's browser-based code review UI for the current worktree or a
5
+ pull request URL, then act on the feedback that comes back.
6
+ disable-model-invocation: true
7
+ ---
8
+
9
+ # Plannotator Review
10
+
11
+ Use when user wants code changes reviewed in Plannotator.
12
+
13
+ ## Protocol
14
+
15
+ 1. Determine the review target. User gave PR URL → set `TARGET` to the PR URL.
16
+ Worktree review → leave `TARGET` empty.
17
+
18
+ 2. Launch plannotator and get the URL:
19
+
20
+ ```bash
21
+ impulso-hub plannotator launch review [TARGET]
22
+ ```
23
+
24
+ Returns JSON with `url`, `remoteUrl`, `port`, `pid`. Non-blocking.
25
+
26
+ 3. **IMMEDIATELY relay URL:** "Open Plannotator at `<URL>` (remote: `<Remote>`).
27
+ Review the changes, then tell me when done." WAIT for user to confirm.
28
+
29
+ 4. After user confirms, wait for plannotator to finish:
30
+
31
+ ```bash
32
+ impulso-hub plannotator wait
33
+ ```
34
+
35
+ Returns `{"decision":"approved"|"dismissed"|"annotated","feedback":"..."}`.
36
+
37
+ 5. Apply the decision:
38
+ - `approved` → acknowledge, proceed.
39
+ - `dismissed` → session closed, say so, continue.
40
+ - `annotated` → address the feedback text.
41
+
42
+ 6. Launch timeout (exit 2): check stderr, ask whether to retry.
43
+
44
+ Run commands yourself. Never ask user to paste shell commands into chat.