@paigy/harness 0.1.6 → 0.1.8

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 (3) hide show
  1. package/README.md +10 -9
  2. package/dist/cli.js +4 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -157,12 +157,13 @@ re-voiceable, revocable.
157
157
  ## Install anywhere (the curl path)
158
158
 
159
159
  ```sh
160
- curl -fsSL https://paigy.ai/install.sh | sh
160
+ curl -fsSL https://paigy.ai/install | sh
161
161
  ```
162
162
 
163
- Installs the npm CLI (one self-contained file — the workspace libs are bundled),
164
- runs `paigy-harness pair` (device flow with a terminal QR, landing in the Desktop
165
- slot), and prints the host/service next steps. `paigy-harness service` installs a
163
+ Installs the npm CLI (one self-contained file — the workspace libs are bundled) and
164
+ runs `paigy-harness setup`: QR-pairs the machine, hatches each detected agent's
165
+ identity (no codes), registers the MCP + statusline, grants a workspace, installs
166
+ the host service. `paigy-harness service` installs a
166
167
  macOS launchd agent so hosting survives reboots — the host loop IS the service,
167
168
  launchd just keeps it alive (the old "no daemon" note was about the WAKE channel,
168
169
  which still belongs to paigy-listen).
@@ -191,7 +192,7 @@ import Electron — a machine with only the CLI is exactly as launchable as one
191
192
  the window.
192
193
 
193
194
  Pairing is one-time and lives in `~/.paigy` — the app reads it, never mints it. If
194
- you've never paired: `npx -y -p @paigy/mcp paigy-mcp-onboard`.
195
+ you've never paired: `paigy-harness setup`.
195
196
 
196
197
  ## Uninstall
197
198
 
@@ -224,7 +225,7 @@ LAST, after the hooks are gone.
224
225
  token — per-run identity is threaded through every network touch (`run.ts` binds
225
226
  submit/check/ack once per session), so parallel sessions never share a
226
227
  conversation. "Stop sessions" stops them all; per-session stop is UI away.
227
- - **Deliberately no auto-start daemon.** A promptless harness has no thread to pump,
228
- and `paigy-listen` + `PAIGY_ON_WAKE` (#486) already own the standing wake channel
229
- a launchd `paigy-harness` would be a second daemon racing the first. The composition
230
- is: the listener wakes on Paigy work, and what it runs can be `paigy-harness`.
228
+ - **The host service IS the daemon** (`paigy-harness service`, launchd, KeepAlive)
229
+ it claims phone launches and runs sessions. The WAKE channel for terminal-agent
230
+ replies still belongs to `paigy-listen` + `PAIGY_ON_WAKE` (#486); spawn-on-wake
231
+ needs the slot-lease design in companion.md before it auto-wires.
package/dist/cli.js CHANGED
@@ -30825,7 +30825,7 @@ var authToken = (explicit) => explicit ?? tokenOverride ?? readToken();
30825
30825
  async function hatch(name, voice = null) {
30826
30826
  const res = ensureAuthed(await reach(`${BACKEND_URL}/api/hatch`, {
30827
30827
  method: "POST",
30828
- headers: { "content-type": "application/json", authorization: `Bearer ${readToken()}` },
30828
+ headers: { "content-type": "application/json", authorization: `Bearer ${authToken()}` },
30829
30829
  body: JSON.stringify({ name, voice })
30830
30830
  }));
30831
30831
  if (!res.ok) throw new Error(`hatch failed: ${res.status} ${await res.text()}`);
@@ -32510,7 +32510,9 @@ async function main() {
32510
32510
  }
32511
32511
  } else console.log("start hosting with: paigy-harness host (keep it running under your init system)");
32512
32512
  const TERMINAL_AGENTS = [
32513
- { cli: "claude", name: "Claude Code", slot: "mcp-agent", wire: "claude mcp add --scope user paigy -- npx -y @paigy/mcp@latest" },
32513
+ // Wire = MCP registration + the plugin (skills, hooks, idle-escalation the
32514
+ // piece that makes a LIVE session notice your requests without polling).
32515
+ { cli: "claude", name: "Claude Code", slot: "mcp-agent", wire: "claude mcp add --scope user paigy -- npx -y @paigy/mcp@latest && claude plugin marketplace add paigy-ai/mcp; claude plugin install paigy" },
32514
32516
  { cli: "codex", name: "Codex", slot: "codex", wire: "codex mcp add paigy -- npx -y @paigy/mcp@latest" },
32515
32517
  { cli: "antigravity", name: "Antigravity", slot: "antigravity" }
32516
32518
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paigy/harness",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "Run Claude Code / Codex on this machine, bridged to Paigy — launchable from your phone.",
5
5
  "license": "MIT",
6
6
  "type": "module",