@modootoday/pmcp 0.33.0 → 0.34.0

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 (84) 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-CLIKMDJJ.js → affected-7G6Z6UIH.js} +3 -3
  6. package/dist/{apply-PHXWER4P.js → apply-D72RERVD.js} +10 -10
  7. package/dist/{chunk-CGFLYYGD.js → chunk-2XPZHQKC.js} +15 -15
  8. package/dist/{chunk-GTPQUQCP.js → chunk-3VXOYOSB.js} +2 -2
  9. package/dist/{chunk-MIOKNRMY.js → chunk-3ZGNO4Y6.js} +2 -2
  10. package/dist/{chunk-7RRZGHXM.js → chunk-4DIR63AD.js} +4 -4
  11. package/dist/{chunk-HGVYHF3S.js → chunk-6AFTQ7J6.js} +2 -2
  12. package/dist/{chunk-KR3D7TQO.js → chunk-6BE63FTB.js} +3 -3
  13. package/dist/{chunk-3QU7Z7SJ.js → chunk-BA3LAWC5.js} +2 -2
  14. package/dist/{chunk-CD3NHHQ3.js → chunk-BVNENZWQ.js} +2 -2
  15. package/dist/{chunk-MEQ43M6X.js → chunk-CJL5V5SY.js} +2 -2
  16. package/dist/{chunk-RM6IPG7B.js → chunk-ECWE52ML.js} +2 -2
  17. package/dist/{chunk-FDFVAZOE.js → chunk-FN7S3SX7.js} +4 -4
  18. package/dist/{chunk-2D36J3YZ.js → chunk-FWAUMXQ3.js} +5 -5
  19. package/dist/{chunk-S5L65IJL.js → chunk-GS7KWWRO.js} +2 -2
  20. package/dist/{chunk-DGVXKZHP.js → chunk-LBPMMSQQ.js} +2 -2
  21. package/dist/chunk-LWQIS2FC.js +7 -0
  22. package/dist/{chunk-TRAC427I.js → chunk-PCSEVF6W.js} +2 -2
  23. package/dist/{chunk-3H7UTRJW.js → chunk-PVRTQUZU.js} +5 -5
  24. package/dist/{chunk-YKYHM54P.js → chunk-PXBG3PWL.js} +2 -2
  25. package/dist/{chunk-JFZU46JO.js → chunk-T3Z4HCOL.js} +2 -2
  26. package/dist/{chunk-6NVAKB2U.js → chunk-VNHQFQED.js} +2 -2
  27. package/dist/{chunk-47MNSTNA.js → chunk-WGVMNDIL.js} +3 -3
  28. package/dist/{chunk-RBWTJQYR.js → chunk-XTZTZLRD.js} +3 -3
  29. package/dist/{chunk-EWTJTS54.js → chunk-XXKM57RC.js} +3 -3
  30. package/dist/{chunk-I4IQUTR4.js → chunk-Z4EIDZ4E.js} +3 -3
  31. package/dist/{cli-33J5JI7Q.js → cli-AOVS3DLY.js} +5 -5
  32. package/dist/cli.js +3 -3
  33. package/dist/{completion-KM3C2SHI.js → completion-TJU5Y5V5.js} +2 -2
  34. package/dist/{diagnostics-HQIZ5M24.js → diagnostics-5MRXHPGM.js} +7 -7
  35. package/dist/{doctor-UGWGKB5U.js → doctor-4LDRVDRV.js} +12 -12
  36. package/dist/{doctor-PIJMN7XM.js → doctor-AOTBASUL.js} +18 -14
  37. package/dist/{entry-VNL45DQN.js → entry-77M53A4M.js} +11 -11
  38. package/dist/{exec-mcp-2QE7TWE4.js → exec-mcp-35X37R6L.js} +8 -8
  39. package/dist/{harness-5QEGA4RC.js → harness-NHCCUJCP.js} +3 -3
  40. package/dist/harness-launch-gate.js +5 -5
  41. package/dist/harness-worker.js +7 -7
  42. package/dist/{heavy-E2LBLJ7P.js → heavy-TVIMQZW2.js} +11 -8
  43. package/dist/{hooks-VOKZV5M4.js → hooks-HWVXTAXT.js} +3 -3
  44. package/dist/{host-RJ72SAF6.js → host-HFBE3VYV.js} +10 -10
  45. package/dist/{host-2F5PG3DF.js → host-KIYJQHMQ.js} +4 -4
  46. package/dist/{host-IZ2Y55HL.js → host-ORJHLJIZ.js} +8 -8
  47. package/dist/{host-run-EQQDEUW5.js → host-run-42GFROF7.js} +6 -6
  48. package/dist/http.js +1 -1
  49. package/dist/{import-mcp-HEAIC23N.js → import-mcp-H67C4O2W.js} +7 -7
  50. package/dist/index.d.ts +1 -1
  51. package/dist/index.js +11 -11
  52. package/dist/{init-CVKLSL5D.js → init-J2FE6GTQ.js} +2 -2
  53. package/dist/{invoke-TA2SYXFJ.js → invoke-S6IZRUCO.js} +9 -9
  54. package/dist/{list-N7DWTEPL.js → list-PEUJYQDQ.js} +9 -9
  55. package/dist/{logout-FVMOFMES.js → logout-JEF4D25W.js} +8 -8
  56. package/dist/{logs-UQ3FJ5RY.js → logs-G4LAFJ3O.js} +81 -5
  57. package/dist/{mainline-GYF4BNMI.js → mainline-5GVIB4O5.js} +5 -5
  58. package/dist/{mcp-CAUFKA44.js → mcp-MT3XMFGL.js} +2 -2
  59. package/dist/{measure-QB7SGMO3.js → measure-NZ4BNKK3.js} +6 -6
  60. package/dist/{plan-T2GT3YN6.js → plan-6T2GG5CT.js} +6 -6
  61. package/dist/{project-UGPOUTTR.js → project-GMUHGTIY.js} +4 -4
  62. package/dist/{run-Z2RXQJPJ.js → run-FBPJ234Y.js} +4 -4
  63. package/dist/{run-O6OYB423.js → run-NVQFGBGN.js} +7 -7
  64. package/dist/{serve-M4PZOOAW.js → serve-KUC235MZ.js} +3 -3
  65. package/dist/{setup-O75KDANV.js → setup-2TDTMJHV.js} +4 -4
  66. package/dist/{start-login-GY62GMNC.js → start-login-4CC753AK.js} +8 -8
  67. package/dist/{status-YMUZYN5M.js → status-N4VRXN4H.js} +8 -8
  68. package/dist/{status-YWXOVGE3.js → status-SGL5NDH2.js} +9 -9
  69. package/dist/stdio.js +2 -2
  70. package/dist/{test-SBP54LNA.js → test-R64EJ7WH.js} +8 -8
  71. package/dist/{tui-TB7YQLMP.js → tui-HBZV5VJ6.js} +4 -4
  72. package/dist/{worker-4VBEX5KF.js → worker-2MOWPJLI.js} +9 -9
  73. package/docs/commands.md +37 -13
  74. package/docs/upgrading.md +17 -0
  75. package/gemini-extension.json +2 -2
  76. package/mcp.json +1 -1
  77. package/package.json +5 -5
  78. package/plugin.json +1 -1
  79. package/plugins/pmcp/.claude-plugin/plugin.json +1 -1
  80. package/plugins/pmcp/.mcp.json +1 -1
  81. package/plugins/pmcp/gemini-extension.json +2 -2
  82. package/plugins/pmcp/mcp.json +1 -1
  83. package/plugins/pmcp/plugin.json +1 -1
  84. package/dist/chunk-PN3U7FPZ.js +0 -7
@@ -2,7 +2,7 @@ import {
2
2
  gateTreePath,
3
3
  leaseSpecs,
4
4
  loadGit
5
- } from "./chunk-JFZU46JO.js";
5
+ } from "./chunk-T3Z4HCOL.js";
6
6
  import "./chunk-WUFNKK3U.js";
7
7
  import "./chunk-374AZ4J4.js";
8
8
  import "./chunk-SDFJJJB5.js";
@@ -10,11 +10,11 @@ import "./chunk-PAY6HEEY.js";
10
10
  import "./chunk-Z6WRFOFT.js";
11
11
  import "./chunk-23PE3HZB.js";
12
12
  import "./chunk-Y6NFETNG.js";
13
- import "./chunk-YKYHM54P.js";
13
+ import "./chunk-PXBG3PWL.js";
14
14
  import "./chunk-KLIYFD3W.js";
15
15
  import "./chunk-GUHOEIHP.js";
16
16
  import "./chunk-IJBSOWHK.js";
17
- import "./chunk-PN3U7FPZ.js";
17
+ import "./chunk-LWQIS2FC.js";
18
18
  import "./chunk-GJXOFDJT.js";
19
19
  import "./chunk-PMJG2CXF.js";
20
20
  export {
@@ -22,4 +22,4 @@ export {
22
22
  leaseSpecs,
23
23
  loadGit
24
24
  };
25
- //# sourceMappingURL=setup-O75KDANV.js.map
25
+ //# sourceMappingURL=setup-2TDTMJHV.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  serverFrom
3
- } from "./chunk-S5L65IJL.js";
3
+ } from "./chunk-GS7KWWRO.js";
4
4
  import {
5
5
  storeBearer,
6
6
  tokenRequest,
@@ -14,7 +14,7 @@ import {
14
14
  writeCredentials
15
15
  } from "./chunk-UPQTAHUK.js";
16
16
  import "./chunk-7CHUMF3E.js";
17
- import "./chunk-FDFVAZOE.js";
17
+ import "./chunk-FN7S3SX7.js";
18
18
  import "./chunk-YEO6I6XN.js";
19
19
  import "./chunk-FLG7VRTC.js";
20
20
  import "./chunk-2GD7PQ7J.js";
@@ -25,7 +25,7 @@ import "./chunk-LFFIQBNY.js";
25
25
  import "./chunk-HQOB7OQS.js";
26
26
  import "./chunk-73AKO4UL.js";
27
27
  import "./chunk-VQBXWMLT.js";
28
- import "./chunk-JFZU46JO.js";
28
+ import "./chunk-T3Z4HCOL.js";
29
29
  import "./chunk-WUFNKK3U.js";
30
30
  import "./chunk-374AZ4J4.js";
31
31
  import "./chunk-SDFJJJB5.js";
@@ -42,16 +42,16 @@ import {
42
42
  ArgumentError,
43
43
  one
44
44
  } from "./chunk-Y6NFETNG.js";
45
- import "./chunk-EWTJTS54.js";
46
- import "./chunk-MIOKNRMY.js";
45
+ import "./chunk-XXKM57RC.js";
46
+ import "./chunk-3ZGNO4Y6.js";
47
47
  import "./chunk-N7ANFMA5.js";
48
48
  import "./chunk-TYY5TYHF.js";
49
- import "./chunk-YKYHM54P.js";
49
+ import "./chunk-PXBG3PWL.js";
50
50
  import "./chunk-KLIYFD3W.js";
51
51
  import "./chunk-GUHOEIHP.js";
52
52
  import "./chunk-IJBSOWHK.js";
53
53
  import "./chunk-XWLMZKH2.js";
54
- import "./chunk-PN3U7FPZ.js";
54
+ import "./chunk-LWQIS2FC.js";
55
55
  import "./chunk-GJXOFDJT.js";
56
56
  import "./chunk-PMJG2CXF.js";
57
57
  import "./chunk-J6KL3COD.js";
@@ -426,4 +426,4 @@ async function run(context) {
426
426
  export {
427
427
  run
428
428
  };
429
- //# sourceMappingURL=start-login-GY62GMNC.js.map
429
+ //# sourceMappingURL=start-login-4CC753AK.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  serverFrom
3
- } from "./chunk-S5L65IJL.js";
3
+ } from "./chunk-GS7KWWRO.js";
4
4
  import {
5
5
  status
6
6
  } from "./chunk-UPQTAHUK.js";
7
7
  import "./chunk-7CHUMF3E.js";
8
- import "./chunk-FDFVAZOE.js";
8
+ import "./chunk-FN7S3SX7.js";
9
9
  import "./chunk-YEO6I6XN.js";
10
10
  import "./chunk-FLG7VRTC.js";
11
11
  import "./chunk-2GD7PQ7J.js";
@@ -16,7 +16,7 @@ import "./chunk-LFFIQBNY.js";
16
16
  import "./chunk-HQOB7OQS.js";
17
17
  import "./chunk-73AKO4UL.js";
18
18
  import "./chunk-VQBXWMLT.js";
19
- import "./chunk-JFZU46JO.js";
19
+ import "./chunk-T3Z4HCOL.js";
20
20
  import "./chunk-WUFNKK3U.js";
21
21
  import "./chunk-374AZ4J4.js";
22
22
  import "./chunk-SDFJJJB5.js";
@@ -27,16 +27,16 @@ import "./chunk-Q5H3L6Y4.js";
27
27
  import "./chunk-NQBSTHYF.js";
28
28
  import "./chunk-QRLTTS5K.js";
29
29
  import "./chunk-Y6NFETNG.js";
30
- import "./chunk-EWTJTS54.js";
31
- import "./chunk-MIOKNRMY.js";
30
+ import "./chunk-XXKM57RC.js";
31
+ import "./chunk-3ZGNO4Y6.js";
32
32
  import "./chunk-N7ANFMA5.js";
33
33
  import "./chunk-TYY5TYHF.js";
34
- import "./chunk-YKYHM54P.js";
34
+ import "./chunk-PXBG3PWL.js";
35
35
  import "./chunk-KLIYFD3W.js";
36
36
  import "./chunk-GUHOEIHP.js";
37
37
  import "./chunk-IJBSOWHK.js";
38
38
  import "./chunk-XWLMZKH2.js";
39
- import "./chunk-PN3U7FPZ.js";
39
+ import "./chunk-LWQIS2FC.js";
40
40
  import "./chunk-GJXOFDJT.js";
41
41
  import "./chunk-PMJG2CXF.js";
42
42
  import "./chunk-J6KL3COD.js";
@@ -60,4 +60,4 @@ function run(context) {
60
60
  export {
61
61
  run
62
62
  };
63
- //# sourceMappingURL=status-YMUZYN5M.js.map
63
+ //# sourceMappingURL=status-N4VRXN4H.js.map
@@ -7,18 +7,18 @@ import {
7
7
  } from "./chunk-VN34GLGJ.js";
8
8
  import {
9
9
  policyRows
10
- } from "./chunk-HGVYHF3S.js";
10
+ } from "./chunk-6AFTQ7J6.js";
11
11
  import "./chunk-E272CFPS.js";
12
12
  import {
13
13
  configFrom
14
14
  } from "./chunk-7CHUMF3E.js";
15
15
  import {
16
16
  checkProject
17
- } from "./chunk-I4IQUTR4.js";
17
+ } from "./chunk-Z4EIDZ4E.js";
18
18
  import {
19
19
  checkBudget,
20
20
  readSpec
21
- } from "./chunk-FDFVAZOE.js";
21
+ } from "./chunk-FN7S3SX7.js";
22
22
  import "./chunk-YEO6I6XN.js";
23
23
  import "./chunk-FLG7VRTC.js";
24
24
  import {
@@ -33,7 +33,7 @@ import "./chunk-73AKO4UL.js";
33
33
  import "./chunk-VQBXWMLT.js";
34
34
  import {
35
35
  readGitConfig
36
- } from "./chunk-JFZU46JO.js";
36
+ } from "./chunk-T3Z4HCOL.js";
37
37
  import "./chunk-WUFNKK3U.js";
38
38
  import "./chunk-374AZ4J4.js";
39
39
  import {
@@ -58,11 +58,11 @@ import {
58
58
  EXIT,
59
59
  noConfig
60
60
  } from "./chunk-Y6NFETNG.js";
61
- import "./chunk-EWTJTS54.js";
62
- import "./chunk-MIOKNRMY.js";
61
+ import "./chunk-XXKM57RC.js";
62
+ import "./chunk-3ZGNO4Y6.js";
63
63
  import "./chunk-N7ANFMA5.js";
64
64
  import "./chunk-TYY5TYHF.js";
65
- import "./chunk-YKYHM54P.js";
65
+ import "./chunk-PXBG3PWL.js";
66
66
  import "./chunk-KLIYFD3W.js";
67
67
  import "./chunk-GUHOEIHP.js";
68
68
  import {
@@ -70,7 +70,7 @@ import {
70
70
  worktreesOf
71
71
  } from "./chunk-IJBSOWHK.js";
72
72
  import "./chunk-XWLMZKH2.js";
73
- import "./chunk-PN3U7FPZ.js";
73
+ import "./chunk-LWQIS2FC.js";
74
74
  import "./chunk-GJXOFDJT.js";
75
75
  import "./chunk-PMJG2CXF.js";
76
76
  import "./chunk-J6KL3COD.js";
@@ -307,4 +307,4 @@ var statusCommand = {
307
307
  export {
308
308
  statusCommand
309
309
  };
310
- //# sourceMappingURL=status-YWXOVGE3.js.map
310
+ //# sourceMappingURL=status-SGL5NDH2.js.map
package/dist/stdio.js CHANGED
@@ -4,8 +4,8 @@ import {
4
4
  resolveRoots,
5
5
  serve,
6
6
  serveWithMailbox
7
- } from "./chunk-6NVAKB2U.js";
8
- import "./chunk-3QU7Z7SJ.js";
7
+ } from "./chunk-VNHQFQED.js";
8
+ import "./chunk-BA3LAWC5.js";
9
9
  import "./chunk-6WXMJOMI.js";
10
10
  import "./chunk-4CRRLDDS.js";
11
11
  import "./chunk-YSAWTGNA.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  specFrom
3
- } from "./chunk-CD3NHHQ3.js";
3
+ } from "./chunk-BVNENZWQ.js";
4
4
  import {
5
5
  sourceFor
6
6
  } from "./chunk-E272CFPS.js";
@@ -13,7 +13,7 @@ import {
13
13
  customPolicy,
14
14
  externalPolicy,
15
15
  readScript
16
- } from "./chunk-FDFVAZOE.js";
16
+ } from "./chunk-FN7S3SX7.js";
17
17
  import "./chunk-YEO6I6XN.js";
18
18
  import "./chunk-FLG7VRTC.js";
19
19
  import "./chunk-2GD7PQ7J.js";
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-HQOB7OQS.js";
28
28
  import "./chunk-73AKO4UL.js";
29
29
  import "./chunk-VQBXWMLT.js";
30
- import "./chunk-JFZU46JO.js";
30
+ import "./chunk-T3Z4HCOL.js";
31
31
  import "./chunk-WUFNKK3U.js";
32
32
  import "./chunk-374AZ4J4.js";
33
33
  import "./chunk-SDFJJJB5.js";
@@ -57,11 +57,11 @@ import {
57
57
  ArgumentError,
58
58
  one
59
59
  } from "./chunk-Y6NFETNG.js";
60
- import "./chunk-EWTJTS54.js";
61
- import "./chunk-MIOKNRMY.js";
60
+ import "./chunk-XXKM57RC.js";
61
+ import "./chunk-3ZGNO4Y6.js";
62
62
  import "./chunk-N7ANFMA5.js";
63
63
  import "./chunk-TYY5TYHF.js";
64
- import "./chunk-YKYHM54P.js";
64
+ import "./chunk-PXBG3PWL.js";
65
65
  import "./chunk-KLIYFD3W.js";
66
66
  import {
67
67
  expandPath
@@ -71,7 +71,7 @@ import {
71
71
  worktreesOf
72
72
  } from "./chunk-IJBSOWHK.js";
73
73
  import "./chunk-XWLMZKH2.js";
74
- import "./chunk-PN3U7FPZ.js";
74
+ import "./chunk-LWQIS2FC.js";
75
75
  import "./chunk-GJXOFDJT.js";
76
76
  import "./chunk-PMJG2CXF.js";
77
77
  import "./chunk-J6KL3COD.js";
@@ -640,4 +640,4 @@ async function run(context) {
640
640
  export {
641
641
  run
642
642
  };
643
- //# sourceMappingURL=test-SBP54LNA.js.map
643
+ //# sourceMappingURL=test-R64EJ7WH.js.map
@@ -140,10 +140,10 @@ var tuiCommand = {
140
140
  try {
141
141
  let receipt;
142
142
  if (invocation.action === "doctor") {
143
- const { inspectTerminalHost } = await import("./diagnostics-HQIZ5M24.js");
143
+ const { inspectTerminalHost } = await import("./diagnostics-5MRXHPGM.js");
144
144
  receipt = inspectTerminalHost();
145
145
  } else if (invocation.action === "start-worker") {
146
- const { startWorkspaceWorker } = await import("./worker-4VBEX5KF.js");
146
+ const { startWorkspaceWorker } = await import("./worker-2MOWPJLI.js");
147
147
  receipt = await startWorkspaceWorker(
148
148
  { config: invocation.startup?.config, cwd: context.cwd },
149
149
  invocation.startup.runtime,
@@ -156,7 +156,7 @@ var tuiCommand = {
156
156
  cwd: context.cwd
157
157
  });
158
158
  } else {
159
- const { launchStartup, planStartup } = await import("./entry-VNL45DQN.js");
159
+ const { launchStartup, planStartup } = await import("./entry-77M53A4M.js");
160
160
  const request = { ...invocation.startup, cwd: context.cwd };
161
161
  receipt = invocation.action === "plan" ? planStartup(request) : await launchStartup(
162
162
  request,
@@ -176,4 +176,4 @@ var tuiCommand = {
176
176
  export {
177
177
  tuiCommand
178
178
  };
179
- //# sourceMappingURL=tui-TB7YQLMP.js.map
179
+ //# sourceMappingURL=tui-HBZV5VJ6.js.map
@@ -5,25 +5,25 @@ import {
5
5
  } from "./chunk-4B2VDTHL.js";
6
6
  import {
7
7
  invoke
8
- } from "./chunk-3H7UTRJW.js";
8
+ } from "./chunk-PVRTQUZU.js";
9
9
  import "./chunk-DZ2MRTYT.js";
10
- import "./chunk-RBWTJQYR.js";
11
- import "./chunk-RM6IPG7B.js";
10
+ import "./chunk-XTZTZLRD.js";
11
+ import "./chunk-ECWE52ML.js";
12
12
  import {
13
13
  locateExecutable
14
14
  } from "./chunk-R2GPCZUX.js";
15
- import "./chunk-TRAC427I.js";
15
+ import "./chunk-PCSEVF6W.js";
16
16
  import "./chunk-34DECPVC.js";
17
- import "./chunk-EWTJTS54.js";
18
- import "./chunk-MIOKNRMY.js";
17
+ import "./chunk-XXKM57RC.js";
18
+ import "./chunk-3ZGNO4Y6.js";
19
19
  import "./chunk-N7ANFMA5.js";
20
20
  import "./chunk-TYY5TYHF.js";
21
- import "./chunk-YKYHM54P.js";
21
+ import "./chunk-PXBG3PWL.js";
22
22
  import "./chunk-KLIYFD3W.js";
23
23
  import "./chunk-GUHOEIHP.js";
24
24
  import "./chunk-IJBSOWHK.js";
25
25
  import "./chunk-XWLMZKH2.js";
26
- import "./chunk-PN3U7FPZ.js";
26
+ import "./chunk-LWQIS2FC.js";
27
27
  import "./chunk-GJXOFDJT.js";
28
28
  import "./chunk-PMJG2CXF.js";
29
29
  import {
@@ -84,4 +84,4 @@ async function startWorkspaceWorker(request, runtime, memoryMb) {
84
84
  export {
85
85
  startWorkspaceWorker
86
86
  };
87
- //# sourceMappingURL=worker-4VBEX5KF.js.map
87
+ //# sourceMappingURL=worker-2MOWPJLI.js.map
package/docs/commands.md CHANGED
@@ -73,18 +73,41 @@ Every command that prints a result takes `--json` and then writes exactly one li
73
73
 
74
74
  No colour or human text is mixed into standard output; the same errors also go to standard error. Without `--json` every command prints human output (`mcp status` and the `tui` receipts included). `mailbox` and `harness` are machine protocols: they always print their own JSON receipts (`{ok, data}` and `{schemaVersion, ok, ...}`), take no `--json`, and are unchanged. `logs` without `--json` keeps its JSONL stream.
75
75
 
76
- The `data` of these commands has a published schema in [schemas.json](https://pmcp.build/commands/schemas.json), with `version: 1` inside `data`; each entry under `schemas` uses the shared root `$defs`, and `envelope` describes the wrapper. Consumers must allow unknown fields inside session, decision and log records. Tokens are never part of an auth status object.
77
-
78
- | Command | Schema | Fields after version |
79
- | -------------------------- | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
80
- | `status --json` | status | config, drift, features, projection, sessions, worktrees, mcp, errors |
81
- | `hooks list --json` | hooks-list | policies: runtime, event, policy, mode, source |
82
- | `hooks test --json` | hooks-test | runtime, event, payload, decision, policies, rendered |
83
- | `sessions status --json` | sessions-status | live, pause, leases, broadcasts with unseenBy session IDs |
84
- | `logs --json` | logs | records; filtered snapshot, incompatible with --follow and --pretty |
85
- | `git worktree list --json` | git-worktree-list | worktrees: path, main, optional alias, branch, behind and ahead |
86
- | `mcp status <name> --json` | mcp-status | name, present, expiresAt (UTC string or null), scopes |
87
- | `heavy status --json` | heavy-status | schema `pmcp.heavy.status.v1`, enabled, dir, budget, running_weight, legacy_holder, host, lanes with running jobs, waiters, tickets, grace_24h, outside, skip |
76
+ The `data` of these commands has a published schema in [schemas.json](https://pmcp.build/commands/schemas.json), with `version: 1` inside `data`; each entry under `schemas` uses the shared root `$defs`, and `envelope` describes the wrapper. Consumers must allow unknown fields inside session, decision and log records and mailbox messages. Tokens are never part of an auth status object.
77
+
78
+ | Command | Schema | Fields after version |
79
+ | ------------------------------ | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
80
+ | `status --json` | status | config, drift, features, projection, sessions, worktrees, mcp, errors |
81
+ | `hooks list --json` | hooks-list | policies: runtime, event, policy, mode, source |
82
+ | `hooks test --json` | hooks-test | runtime, event, payload, decision, policies, rendered |
83
+ | `sessions status --json` | sessions-status | live, pause, leases, broadcasts with unseenBy session IDs |
84
+ | `logs --json` | logs | records; filtered snapshot, incompatible with --follow and --pretty |
85
+ | `git worktree list --json` | git-worktree-list | worktrees: path, main, optional alias, branch, behind and ahead |
86
+ | `mcp status <name> --json` | mcp-status | name, present, expiresAt (UTC string or null), scopes |
87
+ | `heavy status --json` | heavy-status | schema `pmcp.heavy.status.v1`, enabled, dir, budget, running_weight, legacy_holder, host, lanes with running jobs, waiters, tickets, grace_24h, outside, skip |
88
+ | `heavy queue --json` | heavy-queue | schema `pmcp.heavy.queue.v1`, waiters (as in heavy-status) |
89
+ | `heavy stats --json` | heavy-stats | an array, no version: signature, samples, failed, timeouts, skipped, p50 and p90 of wall_s, user_s, sys_s, max_rss_kb, read_bytes, write_bytes |
90
+ | `hooks report --json` | hooks-report | lines, sessions, excluded, guards (calls, raw and verdict counts, modes, durationMs); with `--switch-check`, guard and refused |
91
+ | `whoami --json` | whoami | no version: signedIn, and when signed in issuer, optional scope and expiresInMinutes |
92
+ | `validate --json` | validate | no version: findings with path, reason and level |
93
+ | `models --json` | models | an array, no version: name, modelId, dtype, dtypes, dimensions, revision, encoder |
94
+ | `marketplace list --json` | marketplace-list | no version: marketplace, plugins with name, version and description |
95
+ | `marketplace export --json` | marketplace-export | no version: plugin, runtime, output, files |
96
+ | `owners --json` | owners | paths: path, owners with owner, optional note and mode |
97
+ | `doctor --json` | doctor | no version: findings with tool, check, status and optional detail; in a project with hooks, features with a cell per runtime |
98
+ | `sessions inbox --json` | sessions-inbox | an array, no version: messages with id, from, to, body, createdAt, expiresAt, once and acked |
99
+ | `heavy result <ticket> --json` | heavy-result | id, state, label, pid, position, result (null until done; exit, outcome and the run's usage) |
100
+ | `list --json` | list | no version: skills with name, package, slug, description, path and optional tier, metadata, keywords, kind and root; rejected with path and reason |
101
+ | `available --json` | available | no version: catalogRevision, matches with targetName, targetVersion, verified and the catalog entry; issues with name and reason |
102
+ | `preview <package> --json` | preview | no version: productId, title, summary, package, evidence, targets and optional line and preview |
103
+ | `git affected --json` | git-affected | schema `pmcp.git.affected.v1`, no version: testsOnly, all, optional reason, base and head, changed, members, unmapped, optional rootDependencies and workspaceMembers, selected (a list or `ALL`) |
104
+ | `git deliver --json` | git-deliver | no version: ok, code, delivered, upstream, attempts, replayed, gate (exit, log, logs, by) or null, leases, sync and desk_sync (from, to, code) or null, optional reason |
105
+ | `host io measure --json` | host-io-measure | version 1, device, measured_at, pmcp, dir, seconds, size_mb, model (six io.cost fields), probes, live_model and live_qos lines or null |
106
+ | `host io plan --json` | host-io-plan | version 1, devices with model_line and qos_line, unit (path, text), apply |
107
+ | `host io doctor --json` | host-io-doctor | version 1, record, live_model and live_qos (device and fields) or null, findings (level, device, message), weights with `--weights` |
108
+ | `tui doctor --json` | tui-doctor | schemaVersion 1: ok, platform, the tool paths or null, supported, userManagerAvailable, runtimes, remediation, nextCommands; or the tui failure shape (ok false, error, hint) |
109
+ | `tui plan --json` | tui-plan | schemaVersion 1: ok, settings, savedWorkspace or null, willStartRuntime, runtimeExecutable or null; or the tui failure shape |
110
+ | `tui recovery --json` | tui-recovery | schemaVersion 1: ok, checkpoint, projectRoot, status, hint, commands and optional phase, groupFile, generation; or the tui failure shape |
88
111
 
89
112
  Feature rows have feature, enabled and source. Projection has drift, outputs and problems. Session snapshots include only live records; broadcasts include the IDs that have not yet seen each entry. Worktree counts are omitted when the upstream cannot be compared; absence does not assert equality. Status auth rows add a redacted error when credentials are unavailable or invalid. Errors are JSONL records with valid timestamps within the last hour, excluding future rows. Hooks test observations have policy, mode, decision, durationMs, skipped, source, verdict and reason; rendered has stdout and exitCode. The final decision includes runtime lowering, while each policy row retains its configured verdict. Heavy status jobs have pid, label, cwd, lane, weight, session, started, running_s, flags (grace, bypass, over_hold_warn, over_hold_max) and bypass_reason; waiters have pid, label, cwd, lane, weight, session, position, waited_s and eta_s (a rough estimate or null). It only reads: no record is pruned and nothing is written. Mutating sessions, git and MCP verbs reject `--json`.
90
113
 
@@ -193,10 +216,11 @@ Coordinate the live agent sessions of this repository and its worktrees, through
193
216
  pmcp logs --since 10m --level warn --pretty
194
217
  pmcp logs --session 4f92 --component hooks
195
218
  pmcp logs --trace 7cef825e8fbd8c3f
219
+ pmcp logs --component lease --since 2h --level warn
196
220
  pmcp logs --follow
197
221
  ```
198
222
 
199
- Read this project's JSONL logs from the state directory, or the file `[hooks] error_log` names. Filters combine: `--session` takes an id prefix, `--trace` one hook call, `--component` a component and those below it, `--level` that level and more severe, `--since` a duration (`10m`, `2h`, `3d`) or an ISO time. Records print as JSON lines unless `--pretty`; `--follow` keeps printing until interrupted. Secret values, prompt text and environment values are redacted at write time, per [`[logging]`](project-configuration.md#logging). Exit 0, or 2 for an unusable filter or no `pmcp.toml`.
223
+ Read this project's JSONL logs from the state directory, or the file `[hooks] error_log` names. Filters combine: `--session` takes an id prefix, `--trace` one hook call, `--component` a component and those below it, `--level` that level and more severe, `--since` a duration (`10m`, `2h`, `3d`) or an ISO time. Records print as JSON lines unless `--pretty`; `--follow` keeps printing until interrupted. Secret values, prompt text and environment values are redacted at write time, per [`[logging]`](project-configuration.md#logging). `--component lease` adds the host lease's records, read from its directory rather than this project's logs: each `heavy.log` event (acquired, released, skip, grace, timeout and the rest; refusals and timeouts at `warn`) and, as `lease.usage`, each finished run from `usage.jsonl`; `--follow` does not include them. Exit 0, or 2 for an unusable filter or no `pmcp.toml`.
200
224
 
201
225
  ## git
202
226
 
package/docs/upgrading.md CHANGED
@@ -15,6 +15,23 @@ it: a lease-wrapped install (`pmcp heavy`) only warns about an unknown top-level
15
15
  on, a refused key in a checkout whose `package.json` pins a newer pmcp than the one
16
16
  running says so and names the install to run.
17
17
 
18
+ ## From 0.33 to 0.34
19
+
20
+ **`pmcp heavy queue --json` names its own schema.** Its data was labelled
21
+ `pmcp.heavy.status.v1`, the name `pmcp heavy status --json` uses, although it carries only
22
+ `version`, `schema` and `waiters`. It now says `pmcp.heavy.queue.v1`. A client that branches on
23
+ the schema name and read the queue as a status snapshot should branch on the new name; the
24
+ fields are unchanged.
25
+
26
+ **Every `--json` command with a stable shape has a published schema.**
27
+ `docs/commands/schemas.json` now describes, and the test suite checks against real output,
28
+ the data of the commands listed in [Commands](commands.md). Three schemas gained fields the
29
+ commands already printed: `restart` and `wake` in sessions, `lagging` and `budget` in status,
30
+ and `raw` in a hooks test policy row. No output changed for them.
31
+
32
+ **`pmcp logs --component lease`** also reads the host lease's own records. A plain
33
+ `pmcp logs` is unchanged.
34
+
18
35
  ## From 0.32 to 0.33
19
36
 
20
37
  **A long wait also reaches grace sooner.** A waiter that has waited `age_limit` seconds now
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "pmcp",
3
- "version": "0.33.0",
3
+ "version": "0.34.0",
4
4
  "mcpServers": {
5
5
  "pmcp": {
6
6
  "type": "stdio",
7
7
  "command": "npx",
8
- "args": ["-y", "@modootoday/pmcp@0.33.0", "serve"]
8
+ "args": ["-y", "@modootoday/pmcp@0.34.0", "serve"]
9
9
  }
10
10
  }
11
11
  }
package/mcp.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "pmcp": {
5
5
  "type": "stdio",
6
6
  "command": "npx",
7
- "args": ["-y", "@modootoday/pmcp@0.33.0", "serve"]
7
+ "args": ["-y", "@modootoday/pmcp@0.34.0", "serve"]
8
8
  }
9
9
  }
10
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modootoday/pmcp",
3
- "version": "0.33.0",
3
+ "version": "0.34.0",
4
4
  "license": "Elastic-2.0",
5
5
  "author": "modootoday",
6
6
  "description": "Use the skills your packages already ship, and keep your AI tools' project configuration in one place.",
@@ -136,9 +136,9 @@
136
136
  "bun": ">=1.3.0"
137
137
  },
138
138
  "optionalDependencies": {
139
- "@modootoday/pmcp-linux-x64": "0.33.0",
140
- "@modootoday/pmcp-linux-arm64": "0.33.0",
141
- "@modootoday/pmcp-darwin-x64": "0.33.0",
142
- "@modootoday/pmcp-darwin-arm64": "0.33.0"
139
+ "@modootoday/pmcp-linux-x64": "0.34.0",
140
+ "@modootoday/pmcp-linux-arm64": "0.34.0",
141
+ "@modootoday/pmcp-darwin-x64": "0.34.0",
142
+ "@modootoday/pmcp-darwin-arm64": "0.34.0"
143
143
  }
144
144
  }
package/plugin.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "pmcp",
4
- "version": "0.33.0",
4
+ "version": "0.34.0",
5
5
  "description": "Find package skills and use native runtime project configuration.",
6
6
  "author": { "name": "modootoday" },
7
7
  "license": "Elastic-2.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcp",
3
- "version": "0.33.0",
3
+ "version": "0.34.0",
4
4
  "description": "Find package skills and use native runtime project configuration.",
5
5
  "author": { "name": "modootoday" },
6
6
  "license": "Elastic-2.0",
@@ -3,7 +3,7 @@
3
3
  "pmcp": {
4
4
  "type": "stdio",
5
5
  "command": "npx",
6
- "args": ["-y", "@modootoday/pmcp@0.33.0", "serve"]
6
+ "args": ["-y", "@modootoday/pmcp@0.34.0", "serve"]
7
7
  }
8
8
  }
9
9
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "pmcp",
3
- "version": "0.33.0",
3
+ "version": "0.34.0",
4
4
  "mcpServers": {
5
5
  "pmcp": {
6
6
  "type": "stdio",
7
7
  "command": "npx",
8
- "args": ["-y", "@modootoday/pmcp@0.33.0", "serve"]
8
+ "args": ["-y", "@modootoday/pmcp@0.34.0", "serve"]
9
9
  }
10
10
  }
11
11
  }
@@ -4,7 +4,7 @@
4
4
  "pmcp": {
5
5
  "type": "stdio",
6
6
  "command": "npx",
7
- "args": ["-y", "@modootoday/pmcp@0.33.0", "serve"]
7
+ "args": ["-y", "@modootoday/pmcp@0.34.0", "serve"]
8
8
  }
9
9
  }
10
10
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "pmcp",
4
- "version": "0.33.0",
4
+ "version": "0.34.0",
5
5
  "description": "Find package skills and use native runtime project configuration.",
6
6
  "author": { "name": "modootoday" },
7
7
  "license": "Elastic-2.0",
@@ -1,7 +0,0 @@
1
- // src/commands/version.ts
2
- var VERSION = "0.33.0";
3
-
4
- export {
5
- VERSION
6
- };
7
- //# sourceMappingURL=chunk-PN3U7FPZ.js.map