@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.
- package/README.md +10 -9
- package/dist/cli.js +4 -2
- 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
|
|
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
|
|
165
|
-
|
|
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: `
|
|
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
|
-
- **
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
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 ${
|
|
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
|
-
|
|
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
|
];
|