@hivey/cli 0.9.65 → 0.9.67
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/native/darwin-arm64/hivey +0 -0
- package/package.json +1 -1
- package/repo/skills/hivey-agent-map/SKILL.md +6 -6
- package/repo/skills/hivey-agent-map/scripts/agent_map.py +2 -2
- package/repo/skills/hivey-agent-map/scripts/enhance.py +1 -1
- package/repo/skills/hivey-agent-map/scripts/office/music/README.txt +14 -2
- package/repo/skills/hivey-agent-map/scripts/office/music/space_02.mp3.b64 +1 -0
- package/repo/skills/hivey-agent-map/scripts/office/music/track_01.mp3.b64 +1 -0
- package/repo/skills/hivey-agent-map/scripts/office/music/track_02.mp3.b64 +1 -0
- package/repo/skills/hivey-agent-map/scripts/office/music/track_03.mp3.b64 +1 -0
- package/repo/skills/hivey-agent-map/scripts/office/music/track_04.mp3.b64 +1 -0
- package/repo/skills/hivey-agent-map/scripts/office/music/track_05.mp3.b64 +1 -0
- package/repo/skills/hivey-agent-map/scripts/office/music/track_06.mp3.b64 +1 -0
- package/repo/skills/hivey-agent-map/scripts/office/music/track_07.mp3.b64 +1 -0
- package/repo/skills/hivey-agent-map/scripts/office/music/track_08.mp3.b64 +1 -0
- package/repo/skills/hivey-agent-map/scripts/office/office.html +53 -20
- package/repo/skills/hivey-agent-map/scripts/office/office.js +58 -7
- package/repo/skills/hivey-agent-map/scripts/office.py +1 -1
- package/repo/skills/hivey-agent-map/scripts/report.py +2 -2
- package/repo/skills/hivey-agent-map/scripts/serve.py +7 -3
|
Binary file
|
package/package.json
CHANGED
|
@@ -108,7 +108,7 @@ hivey agent-map nightly [--model sonnet] # a full report now (also: --no-llm,
|
|
|
108
108
|
hivey agent-map schedule install [--at 06:30] [--model sonnet] # | remove | status
|
|
109
109
|
```
|
|
110
110
|
|
|
111
|
-
- **hivey menu → agent
|
|
111
|
+
- **hivey menu → agent jobs** runs `hivey agent-map open`: it opens `agent-stats.html`,
|
|
112
112
|
`agent-map.html` and `agent-logs.html` from `~/.hivey/agent-map/reports/latest`.
|
|
113
113
|
- **hivey's layer on the archify pages** (`enhance.py`, after finalize; `agent_map.py enhance [folder]`
|
|
114
114
|
re-applies it): a Stats · Map · Logs navbar on every page; map boxes coloured by spend (green: none →
|
|
@@ -130,7 +130,7 @@ hivey agent-map schedule install [--at 06:30] [--model sonnet] # | remove | st
|
|
|
130
130
|
People chatting with agents (Claude Code, Codex, Grok in a terminal; snapshot `interactive`, with one
|
|
131
131
|
entry per session) go to **`agent-sessions.html`**: cost by agent and by day, the costliest sessions with
|
|
132
132
|
their peak context (⚠️ over 300k tokens), length and first message, and tips to spend less.
|
|
133
|
-
- **Open:** `hivey agent-map open` (hivey menu → agent
|
|
133
|
+
- **Open:** `hivey agent-map open` (hivey menu → agent jobs) opens `http://127.0.0.1:42817/latest/agent-map.html`
|
|
134
134
|
(the map first; the stats page when there is no map yet). With no report yet it builds the pages without
|
|
135
135
|
a model in seconds, opens them, then draws the map in the background (`first-run.json` stops a second
|
|
136
136
|
click from starting another build). If a stats page fails, the logs and sessions pages still publish.
|
|
@@ -179,9 +179,9 @@ hivey agent-map schedule install [--at 06:30] [--model sonnet] # | remove | st
|
|
|
179
179
|
- When you are the nightly model: follow the prompt you were given, change only `map.json`,
|
|
180
180
|
`agent-map.html` and `links.json` (through `link`), and stop after the map passes.
|
|
181
181
|
|
|
182
|
-
## Agent
|
|
182
|
+
## Agent fleet (what every agent does now)
|
|
183
183
|
|
|
184
|
-
`hivey agent-map
|
|
184
|
+
`hivey agent-map fleet` (or `office`; hivey menu → agent fleet) opens http://127.0.0.1:42817/office/: every live
|
|
185
185
|
agent in hivey at a desk in a 3D office, one room per space, and one spaceship per hivey session (`hivey session list`: the default session flies the classic frigate, the others a carrier, an explorer or a recoloured frigate, their name painted on the hull; a stopped session's ship has cold engines and its agents asleep at their desks, read from its saved `session.json`; a running one's engines burn). Click an agent to open its session in a terminal: the one already showing it, or a new Terminal/iTerm window running `hivey session attach <name>`, which also starts a stopped session. Click the name painted on a ship's hull for its menu (hover shows its agent count): open/start the session, or stop it (a second click confirms; `hivey session stop` ends all its agents and closes its terminal; never the default session). The space outside is one of six scenes (violet, emerald, crimson, deep blue, golden twin suns, a singularity with its lensed accretion disk), chosen with the page's 🌌 setting: a new one on every load, or always the one you pick (saved with the ⏱ setting; `?space=1..6` in the address overrides it). Drag the hull name to move the ship; positions are kept in `~/.hivey/agent-map/office-settings.json` with the ⏱ setting. Open, compact and clear reach the agent through its own session's socket. After a /compact the context shown is the compacted size until the agent's next reply. Solo agents, extra sessions in a space and
|
|
186
186
|
each swarm's coordinator get a desk; a swarm's workers and critics stand beside their coordinator's desk.
|
|
187
187
|
|
|
@@ -199,7 +199,7 @@ each swarm's coordinator get a desk; a swarm's workers and critics stand beside
|
|
|
199
199
|
every 5 min, 15 min or hour (full passes only) or on reload only (no clock: a full pass when the page loads or on ⟳),
|
|
200
200
|
saved in `~/.hivey/agent-map/office-settings.json`. The header shows the time of the last update, of
|
|
201
201
|
the last full summary pass and of the next update.
|
|
202
|
-
- **Page
|
|
202
|
+
- **Page** (titled "hivey fleet", with the hivey logo; the ⚙ button holds the 🎵 music, ⏱ updates and 🌌 background settings): Fleet (Three.js r160, MIT, vendored in `scripts/office/` with RoomEnvironment, OutlineEffect and the bloom
|
|
203
203
|
post-processing; `ship.js` builds the scene: the deck of a spacecraft floating in front of a galaxy, viewports, hull
|
|
204
204
|
light strips, an observation lounge with a holotable, galley, server racks, plant pods; the crew are mini robots,
|
|
205
205
|
one per desk, glass visor eyes in the status colour, team-coloured ear pods; ✨ HD (bloom) or 🎨 comic, `t`; only working agents move, a blocked one waves, labels
|
|
@@ -213,7 +213,7 @@ each swarm's coordinator get a desk; a swarm's workers and critics stand beside
|
|
|
213
213
|
`office.py` decodes them into the page folder): the animated crew robot (RobotExpressive, Tomás Laulhé /
|
|
214
214
|
Quaternius, CC0: Idle + nods when working, Wave when blocked, ThumbsUp when done, Sitting when idle), Kenney
|
|
215
215
|
Space Kit and Space Station Kit pieces (CC0: desks, chairs, generators, dishes, small craft, astronauts,
|
|
216
|
-
consoles, crates), licences in `models/LICENSE-*`;
|
|
216
|
+
consoles, crates), licences in `models/LICENSE-*`; 10 MusicGen electronic space tracks (`music/README.txt` has their prompts), 🔇/🎵 or `m`; the 🎵 menu plays a new one each time (moving on when one ends) or always one (saved with the other settings). Browsers allow sound only after you touch the page, so when playing at once is refused the music starts with your first click or key press anywhere.
|
|
217
217
|
- **CEO**: the space named `ceo` gets the captain's bridge, its own room in the ship's nose (gold trim, main
|
|
218
218
|
viewscreen); its master sits at the captain's console.
|
|
219
219
|
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
confirm (or remove) a link between two nodes
|
|
11
11
|
agent_map.py nightly [--model sonnet] [--no-llm] [--open]
|
|
12
12
|
a full report in ~/.hivey/agent-map/reports/<date>/
|
|
13
|
-
agent_map.py open open the latest report (hivey menu → agent
|
|
13
|
+
agent_map.py open open the latest report (hivey menu → agent jobs)
|
|
14
14
|
agent_map.py office [open|run] [--no-llm] the agent office: every live agent at a desk, its current
|
|
15
15
|
job (terminal + session log, summed up by Sonnet), context
|
|
16
|
-
and compact/clear advice (hivey menu → agent
|
|
16
|
+
and compact/clear advice (hivey menu → agent fleet)
|
|
17
17
|
agent_map.py schedule [install|remove|status|offer] [--at 06:30] [--model sonnet]
|
|
18
18
|
agent_map.py schedule token --command "envsave get es_…" long-lived Claude login for the run
|
|
19
19
|
the nightly launchd run (com.hivey.agent-map)
|
|
@@ -93,7 +93,7 @@ def nav(active: str, generated: str, days: int = 7) -> str:
|
|
|
93
93
|
# The Refresh button: the pages are served by `hivey agent-map open` (serve.py) on 127.0.0.1,
|
|
94
94
|
# which reruns the scan on POST /hv-refresh. Opened as plain files, it says how to get there.
|
|
95
95
|
REFRESH_JS = """<script>async function hvRefresh(b){
|
|
96
|
-
if(location.protocol==='file:'){b.textContent='open from the hivey menu → agent
|
|
96
|
+
if(location.protocol==='file:'){b.textContent='open from the hivey menu → agent jobs to refresh';return;}
|
|
97
97
|
b.disabled=true;const t0=Date.now();const tick=setInterval(()=>{b.textContent='↻ Scanning… '+Math.round((Date.now()-t0)/1000)+'s';},500);
|
|
98
98
|
try{const r=await fetch('/hv-refresh',{method:'POST'});const j=await r.json();clearInterval(tick);
|
|
99
99
|
if(j.ok){location.reload();}else{b.disabled=false;b.textContent='refresh failed';b.title=j.error||'';}}
|
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
Background music for the hivey agent office: generated locally with Meta MusicGen (large, MLX) for hivey,
|
|
2
|
+
28 s each, loudness-normalized. The page plays a new one each time (moving on when one ends) or always the
|
|
3
|
+
one picked in its 🎵 menu.
|
|
4
|
+
|
|
5
|
+
space.mp3 cosmic ambient: "minimalist ambient electronica, slow evolving analog synth pads, soft pulsing arpeggio, deep sub bass, airy shimmer, spacious reverb, calm cosmic, beatless, 80 bpm"
|
|
6
|
+
space_02.mp3 cosmic ambient II: same prompt, second take
|
|
7
|
+
track_01.mp3 dark techno: "dark ambient techno, deep pulsing kick, hypnotic analog bass sequence, distant metallic pads, spacious reverb, space station, 110 bpm"
|
|
8
|
+
track_02.mp3 synthwave cruise: "synthwave space cruise, warm retro analog synth leads, gated reverb drums, shimmering arpeggios, nostalgic starlight, 100 bpm"
|
|
9
|
+
track_03.mp3 glitch downtempo: "glitchy downtempo electronica, crisp micro beats, bubbling modular synth, airy pads, cosmic and curious, 90 bpm"
|
|
10
|
+
track_04.mp3 cinematic drones: "cinematic space ambient, huge slowly evolving synth drones, choir-like pad swells, deep sub bass, awe, beatless, 60 bpm"
|
|
11
|
+
track_05.mp3 lo-fi stars: "chill lo-fi electronica, soft rhodes chords, dusty breakbeat, vinyl crackle, warm synth bass, starry night, relaxed, 85 bpm"
|
|
12
|
+
track_06.mp3 berlin sequencer: "berlin school sequencer music, bubbling analog arpeggio, slow filter sweeps, mellotron pads, krautrock space voyage, 120 bpm"
|
|
13
|
+
track_07.mp3 deep house orbit: "minimal deep house, warm round bassline, soft shuffled hi hats, dreamy space pads, late night orbit, 118 bpm"
|
|
14
|
+
track_08.mp3 liquid drum & bass: "liquid drum and bass, rolling breakbeat, deep smooth reese bass, floating ethereal pads, starfield, 172 bpm"
|