@modootoday/pmcp 0.22.13 → 0.23.1

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 (144) hide show
  1. package/.agents/plugins/marketplace.json +1 -1
  2. package/.claude-plugin/marketplace.json +1 -1
  3. package/.claude-plugin/plugin.json +1 -1
  4. package/.mcp.json +1 -1
  5. package/dist/{affected-ZWO2F5EM.js → affected-D6FRJPPI.js} +2 -2
  6. package/dist/{apply-OIKQ5SIY.js → apply-3PWUO4J5.js} +20 -19
  7. package/dist/{available-Z5MIDFPH.js → available-74CMIBPD.js} +9 -9
  8. package/dist/{broadcast-BF2QL3O7.js → broadcast-VKZY7WSD.js} +3 -3
  9. package/dist/chunk-2GZKA33O.js +173 -0
  10. package/dist/chunk-2HL2MFNI.js +159 -0
  11. package/dist/{chunk-5PNS6V5C.js → chunk-2K4WYN4C.js} +2 -2
  12. package/dist/{chunk-4O4ZOSBQ.js → chunk-2MX5C7B2.js} +3 -3
  13. package/dist/chunk-43MXRTKH.js +134 -0
  14. package/dist/chunk-4VVQLWTS.js +93 -0
  15. package/dist/{chunk-24L4MO7H.js → chunk-5HNLHI5F.js} +2 -2
  16. package/dist/{chunk-JEL35P7S.js → chunk-5NDUWEMW.js} +2 -2
  17. package/dist/{chunk-737BENAU.js → chunk-6NRLBSEG.js} +5 -5
  18. package/dist/chunk-6QJ3F445.js +166 -0
  19. package/dist/{chunk-7ZOQELXR.js → chunk-72V6U7CZ.js} +3 -3
  20. package/dist/{chunk-J3QUG6O5.js → chunk-7CHUMF3E.js} +2 -2
  21. package/dist/{chunk-INT7QLEU.js → chunk-7DJQASH3.js} +25 -6
  22. package/dist/chunk-7IRXUPM2.js +7 -0
  23. package/dist/{chunk-UED3RH53.js → chunk-DNSHJIS4.js} +2 -2
  24. package/dist/{chunk-ISGBOJT7.js → chunk-DZTSCJOZ.js} +3 -3
  25. package/dist/{chunk-KEHB4FZP.js → chunk-E2E4HIEN.js} +49 -3
  26. package/dist/{chunk-VNZTULFD.js → chunk-EQF64INS.js} +3 -3
  27. package/dist/{chunk-G4ATQPQI.js → chunk-F3R5HEUB.js} +5 -1
  28. package/dist/{chunk-JW5NMQTU.js → chunk-HES44LTA.js} +4 -4
  29. package/dist/{chunk-RHJEGLYM.js → chunk-HF5D6B2U.js} +45 -6
  30. package/dist/{chunk-5OFQVW2K.js → chunk-HYXOJYVR.js} +2 -2
  31. package/dist/chunk-JANBBPKP.js +50 -0
  32. package/dist/{chunk-A6DARDQ4.js → chunk-JJFPSFDU.js} +2 -2
  33. package/dist/{chunk-XNML2KIC.js → chunk-JPYQDOEW.js} +3 -3
  34. package/dist/{chunk-733WVP2R.js → chunk-KYGGQPAH.js} +2 -2
  35. package/dist/{chunk-NNGGNXF2.js → chunk-LGRFYN5T.js} +2 -2
  36. package/dist/{chunk-GNVME5AD.js → chunk-LO54UUDE.js} +2 -2
  37. package/dist/{chunk-XSWF7APE.js → chunk-OGCJO6HQ.js} +9 -8
  38. package/dist/{chunk-T4GVN7XO.js → chunk-P25V6NEX.js} +5 -5
  39. package/dist/{chunk-A7XCUR2C.js → chunk-Q6V274OB.js} +8 -6
  40. package/dist/chunk-QR6A3TYP.js +315 -0
  41. package/dist/{chunk-EIDIVIAD.js → chunk-QYLOIM4U.js} +9 -2
  42. package/dist/{chunk-ZKB7ZNKY.js → chunk-RRKA3GF5.js} +4 -4
  43. package/dist/{chunk-P5D6RKMT.js → chunk-RZYZILU4.js} +5 -3
  44. package/dist/{chunk-5IZFEVPW.js → chunk-SDQYZDHS.js} +2 -2
  45. package/dist/chunk-UVTGY2R3.js +78 -0
  46. package/dist/{chunk-LLT5FQBE.js → chunk-VBVNOLRR.js} +7 -3
  47. package/dist/{chunk-ABTJQ4QV.js → chunk-WBPVNCQO.js} +20 -5
  48. package/dist/{chunk-K2VU3B4W.js → chunk-WQBKQTNT.js} +3 -3
  49. package/dist/{chunk-YGOWIJPE.js → chunk-WZYGM3FR.js} +6 -2
  50. package/dist/chunk-Y6NFETNG.js +232 -0
  51. package/dist/{chunk-5KWDQFVY.js → chunk-YRNFMPZB.js} +7 -8
  52. package/dist/{chunk-ZS5IDQFJ.js → chunk-ZXMECZBI.js} +4 -4
  53. package/dist/{cli-IHVNE3WL.js → cli-GFDT4YXM.js} +14 -15
  54. package/dist/{cli-FSSYFCV3.js → cli-YWV7FLYO.js} +18 -12
  55. package/dist/cli.js +307 -47
  56. package/dist/{completion-ZTTJVV4C.js → completion-OKGNN7DE.js} +25 -23
  57. package/dist/{diagnostics-XC5L6Z3E.js → diagnostics-N4XRRCQG.js} +5 -5
  58. package/dist/{doctor-FGDSUBR3.js → doctor-3H6UYNEA.js} +20 -20
  59. package/dist/{entry-NNB2CQLZ.js → entry-KDLLG6ED.js} +9 -9
  60. package/dist/{exec-mcp-ZU3Z3XT6.js → exec-mcp-AENALAHJ.js} +8 -8
  61. package/dist/{harness-B7ANLH5M.js → harness-GRYTNUF2.js} +26 -44
  62. package/dist/harness-launch-gate.js +3 -3
  63. package/dist/harness-worker.js +5 -5
  64. package/dist/{heavy-IIZBO4YM.js → heavy-BGXKJKYB.js} +78 -22
  65. package/dist/hooks-V25ANQ4Q.js +24 -0
  66. package/dist/{host-XXWQ23LD.js → host-4EGPADOJ.js} +6 -6
  67. package/dist/{host-5P4D7GSE.js → host-MLSWY7D7.js} +17 -14
  68. package/dist/{host-run-AEWHFVQL.js → host-run-VI52IUKF.js} +5 -5
  69. package/dist/http.js +1 -1
  70. package/dist/{import-mcp-BQM5DKYH.js → import-mcp-FIXFLUDM.js} +11 -11
  71. package/dist/index.d.ts +1 -1
  72. package/dist/index.js +10 -9
  73. package/dist/init-ALTBFUPP.js +14 -0
  74. package/dist/{install-OFVLR7TI.js → install-5JH4DSFF.js} +10 -10
  75. package/dist/{invoke-3BQ5NG3P.js → invoke-7T7UY57O.js} +7 -7
  76. package/dist/{list-EU4MJOXA.js → list-JFZ7UZLV.js} +11 -11
  77. package/dist/{list-WWYCGD3X.js → list-LV5EKCF6.js} +11 -7
  78. package/dist/{logout-6DFDYJUI.js → logout-7CNBO76Z.js} +8 -8
  79. package/dist/{logs-BRF6DBKG.js → logs-2JEMSNSG.js} +7 -7
  80. package/dist/{mailbox-QYA2LQSE.js → mailbox-5FVFMQ2J.js} +6 -6
  81. package/dist/{mailbox-AQCTXO3H.js → mailbox-ZHZWZMAY.js} +14 -21
  82. package/dist/{mainline-O5AEHG3J.js → mainline-6PBT3VNR.js} +8 -7
  83. package/dist/{marketplace-TI5HFAHB.js → marketplace-2X3OOEPW.js} +10 -9
  84. package/dist/{mcp-HR5JFUW7.js → mcp-MVQVMAKJ.js} +4 -4
  85. package/dist/{mcp-4R53HSGY.js → mcp-PBTQ5SJW.js} +2 -2
  86. package/dist/{models-63NQBSV3.js → models-XSF45MCD.js} +9 -5
  87. package/dist/{pause-UF7FQDJX.js → pause-CMZOIHTJ.js} +3 -3
  88. package/dist/{preview-WSESS2UN.js → preview-465CQJBQ.js} +4 -4
  89. package/dist/{project-JXXL24WN.js → project-FZGJRG2U.js} +14 -12
  90. package/dist/{reindex-3GPKAFBW.js → reindex-D62HQAN2.js} +7 -7
  91. package/dist/{report-JUSKQPAC.js → report-UB7MXAUB.js} +10 -10
  92. package/dist/{resume-3WAROOQ3.js → resume-PAKIT4TT.js} +3 -3
  93. package/dist/{run-XRWU4L73.js → run-TOP37ZQC.js} +7 -7
  94. package/dist/run-VGJDMA2O.js +23 -0
  95. package/dist/{serve-OEX5V5CD.js → serve-LR7SJHNH.js} +13 -13
  96. package/dist/{session-YZVX4NGN.js → session-3YVVO2GR.js} +6 -6
  97. package/dist/{setup-SWNAC2C7.js → setup-6AQUOWOH.js} +3 -2
  98. package/dist/{smoke-5BGJXAHX.js → smoke-6X6IXQIQ.js} +4 -4
  99. package/dist/{start-login-MG26NDE3.js → start-login-X37KGCCB.js} +9 -9
  100. package/dist/{status-GKCIVAAR.js → status-4PYPTYUB.js} +4 -4
  101. package/dist/{status-APADL7O2.js → status-E4AFUOQO.js} +17 -10
  102. package/dist/{status-LH7Q255G.js → status-LBRK37GA.js} +27 -26
  103. package/dist/stdio.js +2 -2
  104. package/dist/{sweep-VTVPDAPY.js → sweep-VURZU6DI.js} +3 -3
  105. package/dist/{test-TK2J3IB7.js → test-D2EEFUN2.js} +11 -11
  106. package/dist/{tui-YTPHHKCW.js → tui-D7E3MD3X.js} +45 -19
  107. package/dist/{unbroadcast-CH7BAQ2G.js → unbroadcast-7AMLURCG.js} +3 -3
  108. package/dist/{validate-5QVZBE6W.js → validate-YXR7FJJX.js} +11 -9
  109. package/dist/{wait-4HYJJAWO.js → wait-HEODT7KV.js} +3 -3
  110. package/dist/{worker-RBXYAMR4.js → worker-WTBC6VYO.js} +7 -7
  111. package/dist/{worktree-create-FEZNQUQ6.js → worktree-create-FTSLMZWS.js} +2 -2
  112. package/docs/commands.md +64 -28
  113. package/docs/hooks.md +3 -3
  114. package/docs/project-configuration.md +33 -33
  115. package/docs/terminal-workspace.md +2 -0
  116. package/docs/upgrading.md +43 -0
  117. package/gemini-extension.json +2 -2
  118. package/mcp.json +1 -1
  119. package/package.json +5 -5
  120. package/plugin.json +1 -1
  121. package/plugins/pmcp/.claude-plugin/plugin.json +1 -1
  122. package/plugins/pmcp/.mcp.json +1 -1
  123. package/plugins/pmcp/gemini-extension.json +2 -2
  124. package/plugins/pmcp/mcp.json +1 -1
  125. package/plugins/pmcp/plugin.json +1 -1
  126. package/plugins/pmcp/skills/headless-agents-ci-scaffold/SKILL.md +1 -1
  127. package/plugins/pmcp/skills/pmcp-project-init/SKILL.md +1 -1
  128. package/plugins/pmcp/skills/pmcp-sessions-and-git/SKILL.md +3 -2
  129. package/skills/headless-agents-ci-scaffold/SKILL.md +1 -1
  130. package/skills/pmcp-project-init/SKILL.md +1 -1
  131. package/skills/pmcp-sessions-and-git/SKILL.md +3 -2
  132. package/dist/chunk-2P4Z2NUX.js +0 -28
  133. package/dist/chunk-3Y3HDMHA.js +0 -108
  134. package/dist/chunk-74O7KZUH.js +0 -45
  135. package/dist/chunk-BN4XAXMQ.js +0 -65
  136. package/dist/chunk-E3DQB5LS.js +0 -48
  137. package/dist/chunk-JWRZDYB5.js +0 -59
  138. package/dist/chunk-LMUBBIE2.js +0 -83
  139. package/dist/chunk-QBSJL3SP.js +0 -162
  140. package/dist/chunk-VSTUKACC.js +0 -7
  141. package/dist/chunk-WFY7ATSZ.js +0 -116
  142. package/dist/hooks-IEJTW7BV.js +0 -24
  143. package/dist/init-L6GUO3PW.js +0 -14
  144. package/dist/run-VUUQS4WY.js +0 -19
@@ -612,7 +612,7 @@
612
612
  },
613
613
  {
614
614
  "name": "pmcp",
615
- "version": "0.22.13",
615
+ "version": "0.23.1",
616
616
  "description": "Find package skills and use native runtime project configuration.",
617
617
  "source": { "source": "local", "path": "./plugins/pmcp" },
618
618
  "policy": { "installation": "AVAILABLE", "authentication": "ON_USE" },
@@ -445,7 +445,7 @@
445
445
  },
446
446
  {
447
447
  "name": "pmcp",
448
- "version": "0.22.13",
448
+ "version": "0.23.1",
449
449
  "description": "Find package skills and use native runtime project configuration.",
450
450
  "source": "./plugins/pmcp"
451
451
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcp",
3
- "version": "0.22.13",
3
+ "version": "0.23.1",
4
4
  "description": "Find package skills and use native runtime project configuration.",
5
5
  "author": { "name": "modootoday" },
6
6
  "license": "Elastic-2.0",
package/.mcp.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "pmcp": {
4
4
  "type": "stdio",
5
5
  "command": "npx",
6
- "args": ["-y", "@modootoday/pmcp@0.22.13", "serve"]
6
+ "args": ["-y", "@modootoday/pmcp@0.23.1", "serve"]
7
7
  }
8
8
  }
9
9
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ArgumentError,
10
10
  one
11
- } from "./chunk-WFY7ATSZ.js";
11
+ } from "./chunk-Y6NFETNG.js";
12
12
  import {
13
13
  Reader,
14
14
  child,
@@ -833,4 +833,4 @@ export {
833
833
  AFFECTED_SCHEMA,
834
834
  gitAffected
835
835
  };
836
- //# sourceMappingURL=affected-ZWO2F5EM.js.map
836
+ //# sourceMappingURL=affected-D6FRJPPI.js.map
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  catalogFrom
3
- } from "./chunk-4O4ZOSBQ.js";
3
+ } from "./chunk-2MX5C7B2.js";
4
4
  import {
5
5
  specFrom
6
- } from "./chunk-5KWDQFVY.js";
6
+ } from "./chunk-YRNFMPZB.js";
7
7
  import {
8
8
  printSmoke,
9
9
  runSmoke
10
- } from "./chunk-XSWF7APE.js";
10
+ } from "./chunk-OGCJO6HQ.js";
11
11
  import {
12
12
  configFrom
13
- } from "./chunk-J3QUG6O5.js";
13
+ } from "./chunk-7CHUMF3E.js";
14
14
  import {
15
15
  describeHookProblem,
16
16
  project,
17
17
  unmanagedHookProblems
18
- } from "./chunk-ZS5IDQFJ.js";
18
+ } from "./chunk-ZXMECZBI.js";
19
19
  import "./chunk-ANJMLKBR.js";
20
- import "./chunk-7ZOQELXR.js";
20
+ import "./chunk-72V6U7CZ.js";
21
21
  import {
22
22
  checkBudget,
23
23
  renderFrontmatter,
24
24
  splitFrontmatter
25
- } from "./chunk-K2VU3B4W.js";
25
+ } from "./chunk-WQBKQTNT.js";
26
26
  import "./chunk-UYBWUOLR.js";
27
27
  import "./chunk-UKR64U7J.js";
28
28
  import "./chunk-42SO7KYX.js";
@@ -32,7 +32,7 @@ import "./chunk-LFFIQBNY.js";
32
32
  import "./chunk-HQOB7OQS.js";
33
33
  import "./chunk-73AKO4UL.js";
34
34
  import "./chunk-M6X6HVQK.js";
35
- import "./chunk-P5D6RKMT.js";
35
+ import "./chunk-RZYZILU4.js";
36
36
  import "./chunk-SUDG7B6S.js";
37
37
  import "./chunk-3V37OZQH.js";
38
38
  import "./chunk-Z6WRFOFT.js";
@@ -42,18 +42,19 @@ import {
42
42
  RUNTIMES,
43
43
  readTestTable
44
44
  } from "./chunk-ARXCYFFZ.js";
45
- import "./chunk-JEL35P7S.js";
46
- import {
47
- ArgumentError
48
- } from "./chunk-WFY7ATSZ.js";
45
+ import "./chunk-5NDUWEMW.js";
49
46
  import "./chunk-V4NPDK6X.js";
47
+ import {
48
+ ArgumentError,
49
+ EXIT
50
+ } from "./chunk-Y6NFETNG.js";
50
51
  import {
51
52
  kindOf
52
53
  } from "./chunk-4CRRLDDS.js";
53
54
  import "./chunk-YSAWTGNA.js";
54
55
  import {
55
56
  recordProjector
56
- } from "./chunk-733WVP2R.js";
57
+ } from "./chunk-KYGGQPAH.js";
57
58
  import "./chunk-FOLA4EUJ.js";
58
59
  import "./chunk-N7ANFMA5.js";
59
60
  import {
@@ -64,7 +65,7 @@ import "./chunk-FQLCD4HU.js";
64
65
  import "./chunk-GUHOEIHP.js";
65
66
  import "./chunk-IJBSOWHK.js";
66
67
  import "./chunk-XWLMZKH2.js";
67
- import "./chunk-VSTUKACC.js";
68
+ import "./chunk-7IRXUPM2.js";
68
69
  import "./chunk-GJXOFDJT.js";
69
70
  import "./chunk-PMJG2CXF.js";
70
71
  import "./chunk-J6KL3COD.js";
@@ -230,8 +231,8 @@ function smokeCheck(context, spec) {
230
231
  return 2;
231
232
  }
232
233
  const result = runSmoke(spec.root, file, context.env);
233
- printSmoke(context.ui, result);
234
- return result.findings.length === 0 ? 0 : 2;
234
+ printSmoke(context.ui.results, result);
235
+ return result.findings.length === 0 ? EXIT.ok : EXIT.differences;
235
236
  }
236
237
  function projectOrCheck(context) {
237
238
  const spec = specFrom(context);
@@ -248,7 +249,7 @@ function projectOrCheck(context) {
248
249
  "fix",
249
250
  "pmcp project (edit .agents/ or pmcp.toml, never the outputs)"
250
251
  );
251
- return 2;
252
+ return EXIT.differences;
252
253
  }
253
254
  context.ui.success(`${result.outputs} outputs match`);
254
255
  const broken = unmanagedHookProblems(spec.root, context.env);
@@ -258,7 +259,7 @@ function projectOrCheck(context) {
258
259
  );
259
260
  const over = spec.budget ? checkBudget(spec, spec.budget).problems : [];
260
261
  for (const problem of over) context.ui.error(problem);
261
- if (broken.length > 0 || over.length > 0) return 2;
262
+ if (broken.length > 0 || over.length > 0) return EXIT.differences;
262
263
  return smoke ? smokeCheck(context, spec) : 0;
263
264
  }
264
265
  function addAndProject(context, name) {
@@ -279,4 +280,4 @@ export {
279
280
  projectOrCheck,
280
281
  removeAndProject
281
282
  };
282
- //# sourceMappingURL=apply-OIKQ5SIY.js.map
283
+ //# sourceMappingURL=apply-3PWUO4J5.js.map
@@ -8,18 +8,18 @@ import {
8
8
  import {
9
9
  projectFrom,
10
10
  remoteCatalog
11
- } from "./chunk-5OFQVW2K.js";
11
+ } from "./chunk-HYXOJYVR.js";
12
12
  import "./chunk-RMATE45Z.js";
13
- import {
14
- invocation
15
- } from "./chunk-J7UYNJCR.js";
16
13
  import "./chunk-73AKO4UL.js";
17
14
  import {
18
15
  availableSpec
19
- } from "./chunk-ABTJQ4QV.js";
16
+ } from "./chunk-WBPVNCQO.js";
17
+ import {
18
+ invocation
19
+ } from "./chunk-J7UYNJCR.js";
20
20
  import {
21
21
  ArgumentError
22
- } from "./chunk-WFY7ATSZ.js";
22
+ } from "./chunk-Y6NFETNG.js";
23
23
  import "./chunk-4CRRLDDS.js";
24
24
  import "./chunk-YSAWTGNA.js";
25
25
 
@@ -45,12 +45,12 @@ var availableCommand = {
45
45
  `
46
46
  );
47
47
  const { verifiedOn, examplesExecuted } = match.entry.evidence;
48
- context.ui.line(
48
+ context.ui.results.line(
49
49
  ` ${examplesExecuted} examples executed${verifiedOn ? ` on ${verifiedOn}` : ""}`
50
50
  );
51
51
  const headings = match.entry.preview?.headings ?? [];
52
52
  if (headings.length > 0) {
53
- context.ui.line(` ${headings.join(" \xB7 ")}`);
53
+ context.ui.results.line(` ${headings.join(" \xB7 ")}`);
54
54
  }
55
55
  sayStanding(context, match.entry.line);
56
56
  }
@@ -70,4 +70,4 @@ var availableCommand = {
70
70
  export {
71
71
  availableCommand
72
72
  };
73
- //# sourceMappingURL=available-Z5MIDFPH.js.map
73
+ //# sourceMappingURL=available-74CMIBPD.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  change
3
- } from "./chunk-JW5NMQTU.js";
3
+ } from "./chunk-HES44LTA.js";
4
4
  import "./chunk-3V37OZQH.js";
5
5
  import "./chunk-Z6WRFOFT.js";
6
- import "./chunk-WFY7ATSZ.js";
6
+ import "./chunk-Y6NFETNG.js";
7
7
  import "./chunk-FQLCD4HU.js";
8
8
  import "./chunk-GUHOEIHP.js";
9
9
  import "./chunk-IJBSOWHK.js";
@@ -15,4 +15,4 @@ var run = (context) => change(context, "broadcast");
15
15
  export {
16
16
  run
17
17
  };
18
- //# sourceMappingURL=broadcast-BF2QL3O7.js.map
18
+ //# sourceMappingURL=broadcast-VKZY7WSD.js.map
@@ -0,0 +1,173 @@
1
+ import {
2
+ jsonOption,
3
+ nearestConfigOption
4
+ } from "./chunk-JPYQDOEW.js";
5
+
6
+ // src/commands/specs/sessions.ts
7
+ var SESSION_VERBS = [
8
+ "status",
9
+ "pause",
10
+ "resume",
11
+ "broadcast",
12
+ "unbroadcast",
13
+ "sweep",
14
+ "send",
15
+ "inbox",
16
+ "ack",
17
+ "reply"
18
+ ];
19
+ var JSON_VERBS = [
20
+ "status",
21
+ "send",
22
+ "inbox",
23
+ "ack",
24
+ "reply"
25
+ ];
26
+ var sessionsSpec = {
27
+ name: "sessions",
28
+ examples: [
29
+ "pmcp sessions",
30
+ 'pmcp sessions broadcast "main moved; rebase before delivering"'
31
+ ],
32
+ subcommands: [
33
+ {
34
+ name: "status",
35
+ describe: "Live sessions, pause, broadcasts and leases",
36
+ usage: "pmcp sessions [status] [--json]",
37
+ options: ["config", "json"],
38
+ examples: ["pmcp sessions status --json"]
39
+ },
40
+ {
41
+ name: "pause",
42
+ describe: "Refuse edits in every other session until resume",
43
+ usage: "pmcp sessions pause <reason> [--by <name>]",
44
+ options: ["by", "config"],
45
+ examples: ['pmcp sessions pause "release freeze"']
46
+ },
47
+ {
48
+ name: "resume",
49
+ describe: "Lift the pause",
50
+ usage: "pmcp sessions resume",
51
+ options: ["config"],
52
+ examples: ["pmcp sessions resume"]
53
+ },
54
+ {
55
+ name: "broadcast",
56
+ describe: "Deliver a note once to every session",
57
+ usage: "pmcp sessions broadcast <text> [--by <name>]",
58
+ options: ["by", "config"],
59
+ examples: ['pmcp sessions broadcast "main moved"']
60
+ },
61
+ {
62
+ name: "unbroadcast",
63
+ describe: "Withdraw the broadcasts",
64
+ usage: "pmcp sessions unbroadcast",
65
+ options: ["config"],
66
+ examples: ["pmcp sessions unbroadcast"]
67
+ },
68
+ {
69
+ name: "sweep",
70
+ describe: "Remove records whose process is gone",
71
+ usage: "pmcp sessions sweep",
72
+ options: ["config"],
73
+ examples: ["pmcp sessions sweep"]
74
+ },
75
+ {
76
+ name: "send",
77
+ describe: "Send a message to sessions",
78
+ usage: "pmcp sessions send --to <selector>... [--subject <s>] [--ttl <minutes>] [--once] [--wake] [--reply-to <id>] <body|->",
79
+ options: [
80
+ "to",
81
+ "subject",
82
+ "ttl",
83
+ "once",
84
+ "wake",
85
+ "reply-to",
86
+ "by",
87
+ "session",
88
+ "config",
89
+ "json"
90
+ ],
91
+ examples: [
92
+ 'pmcp sessions send --to role:reviewer --subject review "please look at 4f92"'
93
+ ]
94
+ },
95
+ {
96
+ name: "inbox",
97
+ describe: "List your messages",
98
+ usage: "pmcp sessions inbox [--all] [--session <id>] [--json]",
99
+ options: ["all", "session", "config", "json"],
100
+ examples: ["pmcp sessions inbox --all"]
101
+ },
102
+ {
103
+ name: "ack",
104
+ describe: "Acknowledge messages by id",
105
+ usage: "pmcp sessions ack <id>... [--session <id>]",
106
+ options: ["session", "config", "json"],
107
+ examples: ["pmcp sessions ack 01J9Z"]
108
+ },
109
+ {
110
+ name: "reply",
111
+ describe: "Answer a message",
112
+ usage: "pmcp sessions reply <id> <body|->",
113
+ options: ["session", "by", "config", "json"],
114
+ examples: ['pmcp sessions reply 01J9Z "done"']
115
+ }
116
+ ],
117
+ defaultSubcommand: "status",
118
+ describe: "Show and coordinate the live sessions of this workspace: pause, broadcast, sweep",
119
+ usage: "pmcp sessions [<subcommand>] [options]",
120
+ options: [
121
+ jsonOption,
122
+ nearestConfigOption,
123
+ {
124
+ name: "by",
125
+ describe: "Who pauses, broadcasts or sends; that session is exempt. Default operator.",
126
+ placeholder: "<name>"
127
+ },
128
+ {
129
+ name: "to",
130
+ describe: "Message recipients: all, session:<id>, alias:<name>, role:<name> or worktree:<path> (desk:<path> also works). Repeatable.",
131
+ placeholder: "<selector>",
132
+ repeat: true
133
+ },
134
+ { name: "subject", describe: "Message subject.", placeholder: "<text>" },
135
+ {
136
+ name: "ttl",
137
+ describe: "Minutes until the message expires; default [sessions.mailbox] ttl_minutes.",
138
+ placeholder: "<minutes>"
139
+ },
140
+ {
141
+ name: "once",
142
+ describe: "Mark the message a one-time request, not a standing rule.",
143
+ boolean: true
144
+ },
145
+ {
146
+ name: "wake",
147
+ describe: "Also start a turn in idle recipients where the runtime allows it (Claude, opencode).",
148
+ boolean: true
149
+ },
150
+ {
151
+ name: "reply-to",
152
+ describe: "The message this one answers.",
153
+ placeholder: "<id>"
154
+ },
155
+ {
156
+ name: "session",
157
+ describe: "Whose inbox: the session id that reads, sends or acknowledges.",
158
+ placeholder: "<id>"
159
+ },
160
+ {
161
+ name: "all",
162
+ describe: "List every unexpired message, not only yours.",
163
+ boolean: true
164
+ }
165
+ ]
166
+ };
167
+
168
+ export {
169
+ SESSION_VERBS,
170
+ JSON_VERBS,
171
+ sessionsSpec
172
+ };
173
+ //# sourceMappingURL=chunk-2GZKA33O.js.map
@@ -0,0 +1,159 @@
1
+ import {
2
+ configOption
3
+ } from "./chunk-JPYQDOEW.js";
4
+
5
+ // src/commands/specs/mailbox.ts
6
+ var mailboxSpec = {
7
+ name: "mailbox",
8
+ protocol: true,
9
+ describe: "Manage opt-in local peer mail and launcher credentials",
10
+ usage: "pmcp mailbox <subcommand> [options]",
11
+ subcommands: [
12
+ {
13
+ name: "init",
14
+ describe: "Create the project UUID and mailbox state",
15
+ usage: "pmcp mailbox init [--config <file>] [--state-dir <dir>]",
16
+ options: ["config", "state-dir"],
17
+ examples: ["pmcp mailbox init --config ./pmcp.toml"]
18
+ },
19
+ {
20
+ name: "actor",
21
+ describe: "Register an actor and write its private credential",
22
+ usage: "pmcp mailbox actor --actor <id> --actor-file <file> [--parent-binding <file>]",
23
+ options: ["config", "actor", "actor-file", "parent-binding"],
24
+ examples: [
25
+ "pmcp mailbox actor --actor reviewer --actor-file /private/reviewer.actor.json"
26
+ ]
27
+ },
28
+ {
29
+ name: "rotate",
30
+ describe: "Replace an actor's credential (administration)",
31
+ usage: "pmcp mailbox rotate --actor <id> --actor-file <file> --operator",
32
+ options: ["config", "actor", "actor-file", "operator"],
33
+ examples: [
34
+ "pmcp mailbox rotate --actor reviewer --actor-file /private/reviewer.actor.json --operator"
35
+ ]
36
+ },
37
+ {
38
+ name: "send",
39
+ describe: "Send a message from --input as the actor",
40
+ usage: "pmcp mailbox send --actor-file <file> --binding-file <file> --input <file>",
41
+ options: ["config", "actor-file", "binding-file", "input"],
42
+ examples: [
43
+ "pmcp mailbox send --actor-file a.json --binding-file b.json --input message.json"
44
+ ]
45
+ },
46
+ {
47
+ name: "inbox",
48
+ describe: "List the actor's messages",
49
+ usage: "pmcp mailbox inbox --actor-file <file> --binding-file <file> [--input <file>]",
50
+ options: ["config", "actor-file", "binding-file", "input"],
51
+ examples: [
52
+ "pmcp mailbox inbox --actor-file a.json --binding-file b.json"
53
+ ]
54
+ },
55
+ {
56
+ name: "read",
57
+ describe: "Read a message and record a receipt",
58
+ usage: "pmcp mailbox read --actor-file <file> --binding-file <file> --input <file>",
59
+ options: ["config", "actor-file", "binding-file", "input"],
60
+ examples: [
61
+ "pmcp mailbox read --actor-file a.json --binding-file b.json --input read.json"
62
+ ]
63
+ },
64
+ {
65
+ name: "ack",
66
+ describe: "Acknowledge a read message",
67
+ usage: "pmcp mailbox ack --actor-file <file> --binding-file <file> --input <file>",
68
+ options: ["config", "actor-file", "binding-file", "input"],
69
+ examples: [
70
+ "pmcp mailbox ack --actor-file a.json --binding-file b.json --input ack.json"
71
+ ]
72
+ },
73
+ {
74
+ name: "sessions",
75
+ describe: "List attached sessions",
76
+ usage: "pmcp mailbox sessions --actor-file <file> --binding-file <file>",
77
+ options: ["config", "actor-file", "binding-file"],
78
+ examples: [
79
+ "pmcp mailbox sessions --actor-file a.json --binding-file b.json"
80
+ ]
81
+ },
82
+ {
83
+ name: "export",
84
+ describe: "Export correspondence (administration)",
85
+ usage: "pmcp mailbox export --operator --output <file> [--scope-actor <id>]",
86
+ options: ["config", "operator", "output", "scope-actor"],
87
+ examples: ["pmcp mailbox export --operator --output mail-export.json"]
88
+ },
89
+ {
90
+ name: "backup",
91
+ describe: "Back the mailbox state up (administration)",
92
+ usage: "pmcp mailbox backup --operator --output <file>",
93
+ options: ["config", "operator", "output"],
94
+ examples: ["pmcp mailbox backup --operator --output mail.backup"]
95
+ },
96
+ {
97
+ name: "restore",
98
+ describe: "Restore a backup (administration)",
99
+ usage: "pmcp mailbox restore --operator --input <file> --output <file>",
100
+ options: ["config", "operator", "input", "output"],
101
+ examples: [
102
+ "pmcp mailbox restore --operator --input mail.backup --output restored"
103
+ ]
104
+ }
105
+ ],
106
+ examples: [
107
+ "pmcp mailbox init --config ./pmcp.toml",
108
+ "pmcp mailbox actor --actor reviewer --actor-file /private/reviewer.actor.json"
109
+ ],
110
+ options: [
111
+ configOption,
112
+ {
113
+ name: "state-dir",
114
+ describe: "Private mailbox state directory",
115
+ placeholder: "<dir>"
116
+ },
117
+ { name: "actor", describe: "Registered actor ID", placeholder: "<id>" },
118
+ {
119
+ name: "actor-file",
120
+ describe: "Private actor credential file",
121
+ placeholder: "<file>"
122
+ },
123
+ {
124
+ name: "binding-file",
125
+ describe: "Private existing attachment file",
126
+ placeholder: "<file>"
127
+ },
128
+ {
129
+ name: "parent-binding",
130
+ describe: "Live parent attachment for bounded child delegation",
131
+ placeholder: "<file>"
132
+ },
133
+ {
134
+ name: "input",
135
+ describe: "Operation input JSON or backup source",
136
+ placeholder: "<file>"
137
+ },
138
+ {
139
+ name: "output",
140
+ describe: "New export or backup destination",
141
+ placeholder: "<file>"
142
+ },
143
+ {
144
+ name: "scope-actor",
145
+ describe: "Limit export to one actor's correspondence",
146
+ placeholder: "<id>"
147
+ },
148
+ {
149
+ name: "operator",
150
+ describe: "Explicit local administrator intent",
151
+ boolean: true
152
+ }
153
+ ]
154
+ };
155
+
156
+ export {
157
+ mailboxSpec
158
+ };
159
+ //# sourceMappingURL=chunk-2HL2MFNI.js.map
@@ -1190,7 +1190,7 @@ function registerReadTool(server, tools) {
1190
1190
 
1191
1191
  // src/mcp.ts
1192
1192
  var SERVER_NAME = "pmcp";
1193
- var SERVER_VERSION = "0.22.13";
1193
+ var SERVER_VERSION = "0.23.1";
1194
1194
  var MAX_TOOL_INPUT_ELEMENTS = 1e4;
1195
1195
  function registerSkillTools(server, tools) {
1196
1196
  registerCatalogTool(server, tools);
@@ -1247,4 +1247,4 @@ export {
1247
1247
  registerSkillTools,
1248
1248
  createSkillServer
1249
1249
  };
1250
- //# sourceMappingURL=chunk-5PNS6V5C.js.map
1250
+ //# sourceMappingURL=chunk-2K4WYN4C.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  configFrom
3
- } from "./chunk-J3QUG6O5.js";
3
+ } from "./chunk-7CHUMF3E.js";
4
4
  import {
5
5
  publicMarketplaceRoot
6
6
  } from "./chunk-73AKO4UL.js";
7
7
  import {
8
8
  many
9
- } from "./chunk-WFY7ATSZ.js";
9
+ } from "./chunk-Y6NFETNG.js";
10
10
  import {
11
11
  readCatalog
12
12
  } from "./chunk-4CRRLDDS.js";
@@ -50,4 +50,4 @@ export {
50
50
  catalogOptionsFrom,
51
51
  catalogFrom
52
52
  };
53
- //# sourceMappingURL=chunk-4O4ZOSBQ.js.map
53
+ //# sourceMappingURL=chunk-2MX5C7B2.js.map