@paigy/mcp 0.40.3 → 0.40.4

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.
@@ -10,7 +10,7 @@ import {
10
10
  saveToken,
11
11
  sleep,
12
12
  startE2ee
13
- } from "./chunk-6QQHTUKJ.js";
13
+ } from "./chunk-QCWXYJ64.js";
14
14
 
15
15
  // src/identity.ts
16
16
  var CLIENT_LABELS = {
@@ -903,6 +903,9 @@ var ConnectionSummarySchema = z3.object({
903
903
  * harness availabilities + granted workspaces — the option set the phone's
904
904
  * "new session" sheet offers. Absent for ordinary MCP agents. */
905
905
  runtime: z3.object({
906
+ /** The @paigy/harness this host is running — a machine the self-update has not reached
907
+ * shows its age here (`apps/desktop/src/update.ts`). */
908
+ version: z3.string().optional(),
906
909
  harnesses: z3.array(z3.object({ name: z3.string(), label: z3.string(), status: z3.string() })).optional(),
907
910
  workspaces: z3.array(z3.string()).optional()
908
911
  }).optional(),
@@ -2,10 +2,10 @@ import {
2
2
  AGENT_TOOLS,
3
3
  mcpInputSchema,
4
4
  serverInstructions
5
- } from "./chunk-V3VVCML7.js";
5
+ } from "./chunk-CL5P4IVS.js";
6
6
  import {
7
7
  AGENT_NAME
8
- } from "./chunk-6QQHTUKJ.js";
8
+ } from "./chunk-QCWXYJ64.js";
9
9
 
10
10
  // src/toolset.ts
11
11
  var ONBOARD_DESCRIPTION = "Get this agent talking to Paigy \u2014 call it FIRST, before contact, and any time you're unsure who you are. One call, and it does whatever the situation needs: NOT SET UP \u2192 hatches an identity instantly if this machine holds a device credential (the user ran the Paigy desktop app or harness), otherwise starts the code ceremony; ALREADY SET UP \u2192 returns your current identity and offers the two things left to decide, renaming it or unpairing; TOKEN NO LONGER VALID \u2192 says so, then re-pairs. Pass { name, voice } to choose who you are when hatching, or to RENAME yourself when already set up (voices: rachel, george, jessica, brian, lily). Safe to call any time: idempotent, and it never writes settings \u2014 the tool-allowlist state it reports is read-only. If it returns a `user_code`, print it to the user immediately and call onboard again with the `device_code`. If it returns `enable_command`, PRINT that command for the user to run \u2014 you cannot apply it yourself (it writes your own permission allowlist, which hosts block as privilege escalation), so print it, don't wait for it, and carry on.";
@@ -4456,6 +4456,9 @@ var ConnectionSummarySchema = z3.object({
4456
4456
  * harness availabilities + granted workspaces — the option set the phone's
4457
4457
  * "new session" sheet offers. Absent for ordinary MCP agents. */
4458
4458
  runtime: z3.object({
4459
+ /** The @paigy/harness this host is running — a machine the self-update has not reached
4460
+ * shows its age here (`apps/desktop/src/update.ts`). */
4461
+ version: z3.string().optional(),
4459
4462
  harnesses: z3.array(z3.object({ name: z3.string(), label: z3.string(), status: z3.string() })).optional(),
4460
4463
  workspaces: z3.array(z3.string()).optional()
4461
4464
  }).optional(),
package/dist/enable.js CHANGED
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  PAIGY_TOOL_IDS,
4
4
  enablePaigyTools
5
- } from "./chunk-4JDG67EF.js";
6
- import "./chunk-V3VVCML7.js";
7
- import "./chunk-6QQHTUKJ.js";
5
+ } from "./chunk-IXVUUHTY.js";
6
+ import "./chunk-CL5P4IVS.js";
7
+ import "./chunk-QCWXYJ64.js";
8
8
 
9
9
  // src/enable.ts
10
10
  function main() {
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  resolvePairing,
6
6
  startPairing,
7
7
  suggestedAgentName
8
- } from "./chunk-TNQOFCZC.js";
8
+ } from "./chunk-4KN5TGBJ.js";
9
9
  import {
10
10
  ENABLE_COMMAND,
11
11
  OnboardSchema,
@@ -16,8 +16,8 @@ import {
16
16
  autoConfigureClients,
17
17
  claudeInstallHint,
18
18
  paigyToolsAllowlisted
19
- } from "./chunk-4JDG67EF.js";
20
- import "./chunk-V3VVCML7.js";
19
+ } from "./chunk-IXVUUHTY.js";
20
+ import "./chunk-CL5P4IVS.js";
21
21
  import {
22
22
  clearSurface,
23
23
  writeSurface
@@ -38,7 +38,7 @@ import {
38
38
  setIdentity,
39
39
  slotName,
40
40
  whoAmI
41
- } from "./chunk-6QQHTUKJ.js";
41
+ } from "./chunk-QCWXYJ64.js";
42
42
 
43
43
  // src/index.ts
44
44
  import { Server } from "@modelcontextprotocol/sdk/server/index.js";
package/dist/listen.js CHANGED
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  entryWords
4
- } from "./chunk-V3VVCML7.js";
4
+ } from "./chunk-CL5P4IVS.js";
5
5
  import {
6
6
  checkReplies,
7
7
  getGoal,
8
8
  subscribeWake
9
- } from "./chunk-6QQHTUKJ.js";
9
+ } from "./chunk-QCWXYJ64.js";
10
10
 
11
11
  // src/listen.ts
12
12
  import { spawn } from "child_process";
package/dist/onboard.js CHANGED
@@ -3,13 +3,13 @@ import {
3
3
  resolvePairing,
4
4
  startPairing,
5
5
  suggestedAgentName
6
- } from "./chunk-TNQOFCZC.js";
6
+ } from "./chunk-4KN5TGBJ.js";
7
7
  import {
8
8
  autoConfigureClients,
9
9
  claudeInstallHint,
10
10
  openBrowser
11
- } from "./chunk-4JDG67EF.js";
12
- import "./chunk-V3VVCML7.js";
11
+ } from "./chunk-IXVUUHTY.js";
12
+ import "./chunk-CL5P4IVS.js";
13
13
  import {
14
14
  AGENT_NAME,
15
15
  TOKEN_PATH,
@@ -20,7 +20,7 @@ import {
20
20
  saveToken,
21
21
  setIdentity,
22
22
  whoAmI
23
- } from "./chunk-6QQHTUKJ.js";
23
+ } from "./chunk-QCWXYJ64.js";
24
24
 
25
25
  // src/onboard.ts
26
26
  function reportRegistered() {
package/dist/slot.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  AGENT_NAME
4
- } from "./chunk-6QQHTUKJ.js";
4
+ } from "./chunk-QCWXYJ64.js";
5
5
 
6
6
  // src/slot.ts
7
7
  process.stdout.write(AGENT_NAME);
@@ -9,7 +9,7 @@ import {
9
9
  readToken,
10
10
  sessionSlot,
11
11
  slotName
12
- } from "./chunk-6QQHTUKJ.js";
12
+ } from "./chunk-QCWXYJ64.js";
13
13
 
14
14
  // src/statusline.ts
15
15
  import { mkdirSync, readFileSync, realpathSync, writeFileSync } from "fs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paigy/mcp",
3
- "version": "0.40.3",
3
+ "version": "0.40.4",
4
4
  "description": "Paigy MCP server — the AI agent harness that calls you. Lets an agent notify a user and await their reply.",
5
5
  "license": "MIT",
6
6
  "type": "module",