@pelotto-tech/bellwether 0.0.0-stage → 0.1.0

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 (114) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +229 -2
  3. package/dist/agents/claude.d.ts +8 -0
  4. package/dist/agents/claude.js +63 -0
  5. package/dist/agents/claude.js.map +1 -0
  6. package/dist/agents/copilot.d.ts +7 -0
  7. package/dist/agents/copilot.js +39 -0
  8. package/dist/agents/copilot.js.map +1 -0
  9. package/dist/agents/index.d.ts +5 -0
  10. package/dist/agents/index.js +8 -0
  11. package/dist/agents/index.js.map +1 -0
  12. package/dist/agents/paths.d.ts +2 -0
  13. package/dist/agents/paths.js +5 -0
  14. package/dist/agents/paths.js.map +1 -0
  15. package/dist/agents/types.d.ts +29 -0
  16. package/dist/agents/types.js +2 -0
  17. package/dist/agents/types.js.map +1 -0
  18. package/dist/index.d.ts +5 -0
  19. package/dist/index.js +4 -0
  20. package/dist/index.js.map +1 -0
  21. package/dist/install.d.ts +38 -0
  22. package/dist/install.js +104 -0
  23. package/dist/install.js.map +1 -0
  24. package/dist/json-file.d.ts +12 -0
  25. package/dist/json-file.js +33 -0
  26. package/dist/json-file.js.map +1 -0
  27. package/dist/main.d.ts +2 -0
  28. package/dist/main.js +75 -0
  29. package/dist/main.js.map +1 -0
  30. package/dist/roles.d.ts +3 -0
  31. package/dist/roles.js +13 -0
  32. package/dist/roles.js.map +1 -0
  33. package/dist/run.d.ts +9 -0
  34. package/dist/run.js +41 -0
  35. package/dist/run.js.map +1 -0
  36. package/dist/skill.d.ts +9 -0
  37. package/dist/skill.js +65 -0
  38. package/dist/skill.js.map +1 -0
  39. package/package.json +52 -3
  40. package/runtime/adapter/dist/actions.d.ts +15 -0
  41. package/runtime/adapter/dist/actions.js +7 -0
  42. package/runtime/adapter/dist/actions.js.map +1 -0
  43. package/runtime/adapter/dist/bin.d.ts +2 -0
  44. package/runtime/adapter/dist/bin.js +121 -0
  45. package/runtime/adapter/dist/bin.js.map +1 -0
  46. package/runtime/adapter/dist/config.d.ts +41 -0
  47. package/runtime/adapter/dist/config.js +71 -0
  48. package/runtime/adapter/dist/config.js.map +1 -0
  49. package/runtime/adapter/dist/core.d.ts +8 -0
  50. package/runtime/adapter/dist/core.js +10 -0
  51. package/runtime/adapter/dist/core.js.map +1 -0
  52. package/runtime/adapter/dist/herdr/connection.d.ts +34 -0
  53. package/runtime/adapter/dist/herdr/connection.js +137 -0
  54. package/runtime/adapter/dist/herdr/connection.js.map +1 -0
  55. package/runtime/adapter/dist/herdr/index.d.ts +5 -0
  56. package/runtime/adapter/dist/herdr/index.js +5 -0
  57. package/runtime/adapter/dist/herdr/index.js.map +1 -0
  58. package/runtime/adapter/dist/herdr/mapper.d.ts +27 -0
  59. package/runtime/adapter/dist/herdr/mapper.js +141 -0
  60. package/runtime/adapter/dist/herdr/mapper.js.map +1 -0
  61. package/runtime/adapter/dist/herdr/paths.d.ts +29 -0
  62. package/runtime/adapter/dist/herdr/paths.js +89 -0
  63. package/runtime/adapter/dist/herdr/paths.js.map +1 -0
  64. package/runtime/adapter/dist/herdr/protocol.d.ts +102 -0
  65. package/runtime/adapter/dist/herdr/protocol.js +19 -0
  66. package/runtime/adapter/dist/herdr/protocol.js.map +1 -0
  67. package/runtime/adapter/dist/herdr/source.d.ts +99 -0
  68. package/runtime/adapter/dist/herdr/source.js +316 -0
  69. package/runtime/adapter/dist/herdr/source.js.map +1 -0
  70. package/runtime/adapter/dist/index.d.ts +6 -0
  71. package/runtime/adapter/dist/index.js +7 -0
  72. package/runtime/adapter/dist/index.js.map +1 -0
  73. package/runtime/adapter/dist/mock.d.ts +33 -0
  74. package/runtime/adapter/dist/mock.js +130 -0
  75. package/runtime/adapter/dist/mock.js.map +1 -0
  76. package/runtime/adapter/dist/random.d.ts +3 -0
  77. package/runtime/adapter/dist/random.js +18 -0
  78. package/runtime/adapter/dist/random.js.map +1 -0
  79. package/runtime/adapter/dist/recording.d.ts +22 -0
  80. package/runtime/adapter/dist/recording.js +52 -0
  81. package/runtime/adapter/dist/recording.js.map +1 -0
  82. package/runtime/adapter/dist/roles.d.ts +16 -0
  83. package/runtime/adapter/dist/roles.js +21 -0
  84. package/runtime/adapter/dist/roles.js.map +1 -0
  85. package/runtime/adapter/dist/rollup.d.ts +5 -0
  86. package/runtime/adapter/dist/rollup.js +18 -0
  87. package/runtime/adapter/dist/rollup.js.map +1 -0
  88. package/runtime/adapter/dist/scrub.d.ts +9 -0
  89. package/runtime/adapter/dist/scrub.js +56 -0
  90. package/runtime/adapter/dist/scrub.js.map +1 -0
  91. package/runtime/adapter/dist/server.d.ts +47 -0
  92. package/runtime/adapter/dist/server.js +119 -0
  93. package/runtime/adapter/dist/server.js.map +1 -0
  94. package/runtime/adapter/dist/source.d.ts +20 -0
  95. package/runtime/adapter/dist/source.js +14 -0
  96. package/runtime/adapter/dist/source.js.map +1 -0
  97. package/runtime/adapter/dist/types.d.ts +66 -0
  98. package/runtime/adapter/dist/types.js +23 -0
  99. package/runtime/adapter/dist/types.js.map +1 -0
  100. package/runtime/adapter/dist/world.d.ts +9 -0
  101. package/runtime/adapter/dist/world.js +64 -0
  102. package/runtime/adapter/dist/world.js.map +1 -0
  103. package/runtime/adapter/package.json +37 -0
  104. package/runtime/renderer/dist/assets/BitmapFont-CrMu5gVf.js +6 -0
  105. package/runtime/renderer/dist/assets/CanvasRenderer-BJUwGe2K.js +1 -0
  106. package/runtime/renderer/dist/assets/Filter-CYMWP98C.js +1 -0
  107. package/runtime/renderer/dist/assets/RenderTargetSystem-CUv6yCH8.js +184 -0
  108. package/runtime/renderer/dist/assets/WebGLRenderer-DT-aSeEc.js +156 -0
  109. package/runtime/renderer/dist/assets/WebGPURenderer-CV0poHB6.js +75 -0
  110. package/runtime/renderer/dist/assets/browserAll-BpE2Jy31.js +14 -0
  111. package/runtime/renderer/dist/assets/getTexelRangeRects-BCdgu8cV.js +195 -0
  112. package/runtime/renderer/dist/assets/index-BgIYSiaY.js +296 -0
  113. package/runtime/renderer/dist/assets/webworkerAll-DEtPMT-J.js +83 -0
  114. package/runtime/renderer/dist/index.html +36 -0
package/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/README.md CHANGED
@@ -1,3 +1,230 @@
1
- # Temporary Holding Version
1
+ # Bellwether
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ A Stream-Avatars-style pixel overlay for [Herdr](https://herdr.dev). Each Herdr
4
+ worktree workspace becomes a party of pixel characters that walk along the bottom of
5
+ your screen. One of them carries a light that shows the party's status (working,
6
+ done, blocked). A map mode shows every party as a glow on a pixel map; zoom into one to
7
+ see its members and what they are doing.
8
+
9
+ Reads the Herdr TUI socket API. Display only in v1, with interactive hooks stubbed.
10
+ Theme packs are swappable; the core knows roles (architect, implementer, reviewer,
11
+ ...), not characters.
12
+
13
+ **Status:** v0.1 MVP. Strip and map modes run on mock agents or live Herdr (`--live`); the installer lives in `packages/cli`; the Electron shell is in `packages/shell`. The plan is in [docs/PLAN.md](docs/PLAN.md).
14
+
15
+ ## Run it
16
+
17
+ Needs Node 20+ and pnpm (`corepack enable` gives you the pinned version).
18
+
19
+ ```sh
20
+ pnpm install
21
+ pnpm mock # build, then serve mock agents + the overlay on one port
22
+ ```
23
+
24
+ Open <http://127.0.0.1:7341/>. Parties of pixel agents walk along the bottom of the
25
+ window; the party label and the beacon's light show the rolled-up status (green
26
+ working, yellow done, red pulsing blocked, white idle, grey unknown). Blocked members
27
+ stop and hop, and speech bubbles show `say` lines.
28
+
29
+ For development with hot reload:
30
+
31
+ ```sh
32
+ pnpm dev # adapter mock server on :7341 and Vite on :5173
33
+ ```
34
+
35
+ Open <http://127.0.0.1:5173/>. If the adapter is not reachable the page falls back to an
36
+ in-browser mock and says so in the corner chip.
37
+
38
+ Page options (query string):
39
+
40
+ | Option | Effect |
41
+ |---|---|
42
+ | `?transparent` | No backdrop or chip. Use this for an OBS browser source. |
43
+ | `?pack=aesir` | Skin pack: `neutral` (Workshop Crew, default), `aesir`, `wayfarers`, or a private folder under `themes/`. Overrides `pack` in `bellwether.toml`. |
44
+ | `?scale=4` | Pixel scale, 1 to 6 (default 3). |
45
+ | `?source=mock` | Skip the adapter and run the mock in the browser. |
46
+ | `?ws=ws://host:port/deltas` | Connect to a specific adapter. |
47
+
48
+ Characters come from the skin pack's 24x32 sprite sheets: each role has its own sheet,
49
+ members walk while working, raise a hand when blocked, wave when done, talk while a
50
+ speech bubble is up, and blink when idle. The beacon's status light and each cloak are
51
+ tinted through the sheet's masks, and bubbles and party nameplates use the pack's UI
52
+ pieces. A pack without `art.json` falls back to procedural figures from `theme.json`.
53
+
54
+ Pick a pack with `pack = "aesir"` in `bellwether.toml`, `--pack aesir` or
55
+ `BELLWETHER_PACK=aesir` on the adapter (it serves the choice as `/config.json`), or
56
+ `?pack=` in the URL. Unknown names fall back to `neutral`.
57
+
58
+ ### Map mode
59
+
60
+ `?mode=map` (or press `m` to toggle with strip mode) shows a pixel world. Each repo is a
61
+ settlement placed by hashing its path into a grid, so it stays put between runs. Each
62
+ party camps beside its repo's settlement, with a glow in its rolled-up status colour
63
+ (green working, yellow done, red pulsing blocked). Members wander around the camp;
64
+ blocked ones stand still. When a member speaks (a `say` token, or an inferred hand-off
65
+ from a teammate who just finished) it walks over to a teammate, or to a party camped at
66
+ the same settlement, and the speech bubble shows.
67
+
68
+ - Click a glow, or a dot on the minimap in the corner, to zoom into that party. A panel
69
+ lists its members with role, agent, status and their latest line. Esc, the panel's
70
+ close button, or clicking empty ground zooms back out.
71
+ - The pack's map tileset and props (settlements, camps, campfires, glow) are used; pick
72
+ the pack as above.
73
+
74
+ Layout, terrain, camera, chatter and wandering are pure modules under
75
+ `packages/renderer/src/map/` with tests; `src/pixi/map.ts` is the thin Pixi scene.
76
+
77
+ To watch your real Herdr agents instead, run the adapter against the live socket:
78
+
79
+ ```sh
80
+ pnpm build
81
+ node packages/adapter/dist/bin.js --live --all --serve packages/renderer/dist
82
+ ```
83
+
84
+ Adapter flags (`--help` for all): `--live` / `--mock` / `--replay <file.jsonl>`,
85
+ `--session <name>` or `--all`, `--socket <path>`, `--record <file.jsonl>` (add `--scrub`, or `scrub = true` in `bellwether.toml`, to hash repo, branch and workspace labels and strip `say` text and pane titles), `--scrub-file <in.jsonl> <out.jsonl>`, `--actions` (or `actions = true`: let the overlay prompt and send keys to agents; focus is always allowed), `--print`,
86
+ `--port`, `--serve <dir>`, `--pack <name>`. `source = "live"` in `bellwether.toml` or
87
+ `BELLWETHER_SOURCE=live` sets the default.
88
+
89
+ ## Overlay on your desktop
90
+
91
+ `packages/shell` wraps the strip in a transparent, frameless, always-on-top,
92
+ click-through Electron window the width of one monitor, pinned to its bottom edge.
93
+
94
+ ```sh
95
+ pnpm install # downloads the Electron binary (CI skips it with ELECTRON_SKIP_BINARY_DOWNLOAD=1)
96
+ pnpm shell # builds adapter and renderer, then launches the overlay
97
+ ```
98
+
99
+ The shell attaches to an adapter already serving `http://127.0.0.1:7341/` or, if none
100
+ answers, spawns `packages/adapter/dist/bin.js --live --all --serve packages/renderer/dist`.
101
+ The tray icon menu has: switch strip/map (reloads with `?mode=map`), pick skin (reloads
102
+ with `?pack=`), pick monitor, pick
103
+ Herdr session (restarts a spawned adapter with `--session`), and quit. Choices persist in
104
+ `shell.json` in Electron's userData folder. Set `BELLWETHER_ADAPTER_BIN` or
105
+ `BELLWETHER_RENDERER_DIR` to point at other builds.
106
+
107
+ Guides: [using the page in OBS](docs/obs.md), [writing a skin pack](docs/themes.md).
108
+
109
+ Checks, the same ones CI runs:
110
+
111
+ ```sh
112
+ pnpm typecheck && pnpm test && pnpm build
113
+ ```
114
+
115
+ Double-click a member in strip mode (browser or OBS interact window) to jump the Herdr TUI to that pane. The overlay window is click-through, so this is for the browser view; `--actions` also enables `prompt` and `sendKeys` messages from clients.
116
+
117
+ ## CLI and replay
118
+
119
+ Once published, install the CLI with `npm install -g @pelotto-tech/bellwether` and use `bellwether <cmd>` directly. It bundles the adapter and overlay page; the Electron tray shell (`pnpm shell`) runs from a checkout.
120
+
121
+ From a source checkout the `bellwether` binary is not on your PATH. Run it through pnpm
122
+ (it builds on first use; `BELLWETHER_REBUILD=1` forces a rebuild):
123
+
124
+ ```sh
125
+ pnpm bellwether run
126
+ pnpm bellwether install
127
+ ```
128
+
129
+ Everywhere below, `bellwether <cmd>` means `pnpm bellwether <cmd>` unless you have linked it
130
+ globally with `pnpm build && cd packages/cli && pnpm link --global`.
131
+
132
+ ```sh
133
+ bellwether run # live Herdr, overlay at http://127.0.0.1:7341/
134
+ bellwether record session.jsonl --scrub
135
+ bellwether replay session.jsonl --speed 4
136
+ bellwether scrub in.jsonl out.jsonl # hash repo/branch/labels, drop speech text
137
+ ```
138
+
139
+ `pnpm blog` builds a static, adapter-free bundle in `blog/`: the renderer plus the
140
+ scrubbed demo recording in `docs/demo/`. Host it anywhere and embed
141
+ `embed.html?pack=aesir&scale=3`, or point `?replay=<url>&speed=2` at your own scrubbed
142
+ recording. Never publish an unscrubbed recording.
143
+
144
+ ## Layout
145
+
146
+ ```
147
+ packages/adapter world model, mock source, WebSocket server, recorder/replayer; Herdr client next
148
+ packages/renderer PixiJS strip and map modes and the theme loader (web page)
149
+ packages/shell Electron overlay window + tray
150
+ packages/cli bellwether install | uninstall | run | record | replay | scrub
151
+ themes/neutral ships with the repo
152
+ themes/<private> your own skins, gitignored
153
+ docs/ plan and research artifacts
154
+ ```
155
+
156
+ ## Data sources
157
+
158
+ The adapter reads from a mock source (default) or live Herdr. Pick one in
159
+ `bellwether.toml` (gitignored) or with `BELLWETHER_SOURCE=mock|live`:
160
+
161
+ ```toml
162
+ source = "live"
163
+ [herdr]
164
+ sessions = "all" # every running session; or ["default", "overlay-dev"]
165
+ # socket = "..." # explicit socket or pipe path
166
+ ```
167
+
168
+ `pnpm --filter @bellwether/adapter build && node packages/adapter/dist/bin.js --live --session overlay-dev`
169
+ prints deltas as JSON lines.
170
+
171
+ ## Research artifacts
172
+
173
+ `docs/research/` holds the verified protocol details this project rests on: the Herdr
174
+ TUI API schema (protocol 22), herdr-core's OpenRPC schema, the raw named-pipe probe
175
+ scripts, and a captured `working` → `idle` event log from a real agent pane.
176
+
177
+ ## Supported agents
178
+
179
+ Claude Code and GitHub Copilot CLI are first-class targets for the installer. The
180
+ adapter itself is agent-agnostic: it reads Herdr's `agent` field (`claude`, `copilot`,
181
+ `codex`, ...) and draws every agent the same way, so anything Herdr recognizes shows up.
182
+ Only the installer (`packages/cli`) knows agents apart.
183
+
184
+ ### Setup
185
+
186
+ 1. Let Herdr detect each agent and resume its sessions:
187
+
188
+ ```sh
189
+ herdr integration install claude
190
+ herdr integration install copilot
191
+ ```
192
+
193
+ 2. Install Bellwether's role tagging for every agent it finds:
194
+
195
+ ```sh
196
+ bellwether agents # what is on PATH and which config dirs exist
197
+ bellwether install # all present agents
198
+ bellwether install --agent copilot # or just one
199
+ ```
200
+
201
+ For each agent whose config dir exists, this writes:
202
+
203
+ | | Claude Code | GitHub Copilot CLI |
204
+ |---|---|---|
205
+ | Config dir | `~/.claude` or `$CLAUDE_CONFIG_DIR` | `~/.copilot` or `$COPILOT_HOME` |
206
+ | Skill pack | `skills/bellwether/SKILL.md` | `skills/bellwether/SKILL.md` |
207
+ | Role hook | `hooks/bellwether-role.sh` (+ `.ps1`) | `hooks/bellwether-role.sh` (+ `.ps1`) |
208
+ | `settings.json` | `SessionStart` group with a `command` hook | flat `SessionStart` entry with `bash` and `powershell` |
209
+
210
+ Herdr's own entries and anything you added stay untouched. Running it twice changes
211
+ nothing. A missing config dir is skipped, not created: start the agent once first.
212
+
213
+ 3. Give panes a role. Either split a pane with `HERDR_ROLE=<role>` in its environment
214
+ (the hook tags it on session start), or let the agent follow the skill pack and tag
215
+ itself. Roles: `orchestrator`, `coordinator`, `architect`, `implementer`, `reviewer`,
216
+ `researcher`, `writer`, `ops`, `generic`.
217
+
218
+ `bellwether uninstall` removes only what `install` wrote.
219
+
220
+ Older Copilot CLI builds without skills support ignore the skill pack; the hook still
221
+ works. Paste the contents of `SKILL.md` into `AGENTS.md` or
222
+ `.github/copilot-instructions.md` if you want the instructions there.
223
+
224
+ ## License
225
+
226
+ Apache License 2.0, the same as Herdr. Copyright 2026 Pelotto Technologies. See
227
+ [LICENSE](LICENSE). The public skin packs (`neutral`, `aesir`, `wayfarers`) are original
228
+ art under the same license.
229
+
230
+ Contributions: see [CONTRIBUTING.md](CONTRIBUTING.md).
@@ -0,0 +1,8 @@
1
+ import { type Json, type JsonObject } from '../json-file.js';
2
+ import type { AgentTarget } from './types.js';
3
+ /**
4
+ * Claude Code: `~/.claude/settings.json` (or `$CLAUDE_CONFIG_DIR`), nested hook shape:
5
+ * `hooks.SessionStart[] = { matcher, hooks: [{ type: "command", command }] }`.
6
+ */
7
+ export declare const claude: AgentTarget;
8
+ export declare function pruneEvent(settings: JsonObject, hooks: JsonObject, entries: Json[]): JsonObject;
@@ -0,0 +1,63 @@
1
+ import { join } from 'node:path';
2
+ import { asArray, asObject, mentions } from '../json-file.js';
3
+ import { HOOK_BASENAME } from '../skill.js';
4
+ import { posixPath } from './paths.js';
5
+ /**
6
+ * Claude Code: `~/.claude/settings.json` (or `$CLAUDE_CONFIG_DIR`), nested hook shape:
7
+ * `hooks.SessionStart[] = { matcher, hooks: [{ type: "command", command }] }`.
8
+ */
9
+ export const claude = {
10
+ id: 'claude',
11
+ displayName: 'Claude Code',
12
+ binary: 'claude',
13
+ configDir(ctx) {
14
+ return ctx.env.CLAUDE_CONFIG_DIR || join(ctx.home, '.claude');
15
+ },
16
+ addSessionStartHook(settings, hook) {
17
+ const hooks = asObject(settings.hooks);
18
+ const groups = asArray(hooks.SessionStart);
19
+ const entry = {
20
+ matcher: 'startup|resume|clear|compact',
21
+ hooks: [{ type: 'command', command: `sh "${posixPath(hook.sh)}"` }],
22
+ };
23
+ return { ...settings, hooks: { ...hooks, SessionStart: [...groups, entry] } };
24
+ },
25
+ removeSessionStartHook(settings) {
26
+ const hooks = asObject(settings.hooks);
27
+ if (!Array.isArray(hooks.SessionStart))
28
+ return settings;
29
+ const groups = [];
30
+ let changed = false;
31
+ for (const group of hooks.SessionStart) {
32
+ const g = asObject(group);
33
+ if (!Array.isArray(g.hooks)) {
34
+ if (mentions(group, HOOK_BASENAME))
35
+ changed = true;
36
+ else
37
+ groups.push(group);
38
+ continue;
39
+ }
40
+ const inner = g.hooks.filter((h) => !mentions(h, HOOK_BASENAME));
41
+ if (inner.length === g.hooks.length)
42
+ groups.push(group);
43
+ else {
44
+ changed = true;
45
+ if (inner.length > 0)
46
+ groups.push({ ...g, hooks: inner });
47
+ }
48
+ }
49
+ if (!changed)
50
+ return settings;
51
+ return pruneEvent(settings, hooks, groups);
52
+ },
53
+ };
54
+ export function pruneEvent(settings, hooks, entries) {
55
+ const nextHooks = { ...hooks, SessionStart: entries };
56
+ if (entries.length === 0)
57
+ delete nextHooks.SessionStart;
58
+ const next = { ...settings, hooks: nextHooks };
59
+ if (Object.keys(nextHooks).length === 0)
60
+ delete next.hooks;
61
+ return next;
62
+ }
63
+ //# sourceMappingURL=claude.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"claude.js","sourceRoot":"","sources":["../../src/agents/claude.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,7 @@
1
+ import type { AgentTarget } from './types.js';
2
+ /**
3
+ * GitHub Copilot CLI: `~/.copilot/settings.json` (or `$COPILOT_HOME`), flat hook shape:
4
+ * `hooks.SessionStart[] = { type: "command", bash, powershell, timeoutSec }`.
5
+ * Same file and event Herdr's own `herdr integration install copilot` edits.
6
+ */
7
+ export declare const copilot: AgentTarget;
@@ -0,0 +1,39 @@
1
+ import { join } from 'node:path';
2
+ import { asArray, asObject, mentions } from '../json-file.js';
3
+ import { HOOK_BASENAME } from '../skill.js';
4
+ import { pruneEvent } from './claude.js';
5
+ import { posixPath } from './paths.js';
6
+ /**
7
+ * GitHub Copilot CLI: `~/.copilot/settings.json` (or `$COPILOT_HOME`), flat hook shape:
8
+ * `hooks.SessionStart[] = { type: "command", bash, powershell, timeoutSec }`.
9
+ * Same file and event Herdr's own `herdr integration install copilot` edits.
10
+ */
11
+ export const copilot = {
12
+ id: 'copilot',
13
+ displayName: 'GitHub Copilot CLI',
14
+ binary: 'copilot',
15
+ configDir(ctx) {
16
+ return ctx.env.COPILOT_HOME || join(ctx.home, '.copilot');
17
+ },
18
+ addSessionStartHook(settings, hook) {
19
+ const hooks = asObject(settings.hooks);
20
+ const entries = asArray(hooks.SessionStart);
21
+ const entry = {
22
+ type: 'command',
23
+ bash: `sh "${posixPath(hook.sh)}"`,
24
+ powershell: `& "${hook.ps1}"`,
25
+ timeoutSec: 10,
26
+ };
27
+ return { ...settings, hooks: { ...hooks, SessionStart: [...entries, entry] } };
28
+ },
29
+ removeSessionStartHook(settings) {
30
+ const hooks = asObject(settings.hooks);
31
+ if (!Array.isArray(hooks.SessionStart))
32
+ return settings;
33
+ const kept = hooks.SessionStart.filter((e) => !mentions(e, HOOK_BASENAME));
34
+ if (kept.length === hooks.SessionStart.length)
35
+ return settings;
36
+ return pruneEvent(settings, hooks, kept);
37
+ },
38
+ };
39
+ //# sourceMappingURL=copilot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copilot.js","sourceRoot":"","sources":["../../src/agents/copilot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAmB,MAAM,iBAAiB,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC;;;;GAIG;AACH,MAAM,CAAC,MAAM,OAAO,GAAgB;IAClC,EAAE,EAAE,SAAS;IACb,WAAW,EAAE,oBAAoB;IACjC,MAAM,EAAE,SAAS;IAEjB,SAAS,CAAC,GAAG;QACX,OAAO,GAAG,CAAC,GAAG,CAAC,YAAY,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;IAC5D,CAAC;IAED,mBAAmB,CAAC,QAAQ,EAAE,IAAI;QAChC,MAAM,KAAK,GAAG,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACvC,MAAM,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;QAC5C,MAAM,KAAK,GAAe;YACxB,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,OAAO,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG;YAClC,UAAU,EAAE,MAAM,IAAI,CAAC,GAAG,GAAG;YAC7B,UAAU,EAAE,EAAE;SACf,CAAC;QACF,OAAO,EAAE,GAAG,QAAQ,EAAE,KAAK,EAAE,EAAE,GAAG,KAAK,EAAE,YAAY,EAAE,CAAC,GAAG,OAAO,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC;IACjF,CAAC;IAED,sBAAsB,CAAC,QAAQ;QAC7B,MAAM,KAAK,GAAG,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACvC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC;YAAE,OAAO,QAAQ,CAAC;QACxD,MAAM,IAAI,GAAG,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC;QAC3E,IAAI,IAAI,CAAC,MAAM,KAAK,KAAK,CAAC,YAAY,CAAC,MAAM;YAAE,OAAO,QAAQ,CAAC;QAC/D,OAAO,UAAU,CAAC,QAAQ,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;IAC3C,CAAC;CACF,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { AgentTarget } from './types.js';
2
+ export type { AgentContext, AgentTarget, HookPaths } from './types.js';
3
+ /** Installer targets, both first-class. Add a new agent by adding a target here. */
4
+ export declare const AGENT_TARGETS: readonly AgentTarget[];
5
+ export declare function findTarget(id: string): AgentTarget | undefined;
@@ -0,0 +1,8 @@
1
+ import { claude } from './claude.js';
2
+ import { copilot } from './copilot.js';
3
+ /** Installer targets, both first-class. Add a new agent by adding a target here. */
4
+ export const AGENT_TARGETS = [claude, copilot];
5
+ export function findTarget(id) {
6
+ return AGENT_TARGETS.find((t) => t.id === id);
7
+ }
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/agents/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAKvC,oFAAoF;AACpF,MAAM,CAAC,MAAM,aAAa,GAA2B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEvE,MAAM,UAAU,UAAU,CAAC,EAAU;IACnC,OAAO,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;AAChD,CAAC"}
@@ -0,0 +1,2 @@
1
+ /** Forward slashes, so `sh` accepts the path on Windows (Git Bash) as well as Unix. */
2
+ export declare function posixPath(p: string): string;
@@ -0,0 +1,5 @@
1
+ /** Forward slashes, so `sh` accepts the path on Windows (Git Bash) as well as Unix. */
2
+ export function posixPath(p) {
3
+ return p.replace(/\\/g, '/');
4
+ }
5
+ //# sourceMappingURL=paths.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paths.js","sourceRoot":"","sources":["../../src/agents/paths.ts"],"names":[],"mappings":"AAAA,uFAAuF;AACvF,MAAM,UAAU,SAAS,CAAC,CAAS;IACjC,OAAO,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;AAC/B,CAAC"}
@@ -0,0 +1,29 @@
1
+ import type { JsonObject } from '../json-file.js';
2
+ /** Where an agent target looks things up. Injected so tests never touch the real home dir. */
3
+ export interface AgentContext {
4
+ env: Record<string, string | undefined>;
5
+ home: string;
6
+ platform: NodeJS.Platform;
7
+ /** Whether an executable with this name is on PATH. */
8
+ onPath(binary: string): boolean;
9
+ }
10
+ export interface HookPaths {
11
+ sh: string;
12
+ ps1: string;
13
+ }
14
+ /**
15
+ * One coding agent the installer can integrate with. `id` is the value Herdr puts in
16
+ * the `agent` field for this agent. This is the only place in Bellwether that knows
17
+ * agents apart; the adapter and renderer stay agent-agnostic.
18
+ */
19
+ export interface AgentTarget {
20
+ id: string;
21
+ displayName: string;
22
+ binary: string;
23
+ /** Config home, honouring the agent's own override variable. */
24
+ configDir(ctx: AgentContext): string;
25
+ /** Return settings with Bellwether's SessionStart entry added. Assumes none is present. */
26
+ addSessionStartHook(settings: JsonObject, hook: HookPaths): JsonObject;
27
+ /** Return settings with every Bellwether entry removed and all other entries untouched. */
28
+ removeSessionStartHook(settings: JsonObject): JsonObject;
29
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/agents/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export { AGENT_TARGETS, findTarget } from './agents/index.js';
2
+ export type { AgentContext, AgentTarget, HookPaths } from './agents/index.js';
3
+ export { detect, install, uninstall, pathsFor, systemContext } from './install.js';
4
+ export type { DetectResult, Outcome, TargetPaths } from './install.js';
5
+ export { ROLES, type Role } from './roles.js';
package/dist/index.js ADDED
@@ -0,0 +1,4 @@
1
+ export { AGENT_TARGETS, findTarget } from './agents/index.js';
2
+ export { detect, install, uninstall, pathsFor, systemContext } from './install.js';
3
+ export { ROLES } from './roles.js';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAEnF,OAAO,EAAE,KAAK,EAAa,MAAM,YAAY,CAAC"}