@modootoday/pmcp 0.22.13 → 0.24.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 (146) 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/CONTRIBUTING.md +8 -0
  6. package/dist/{affected-ZWO2F5EM.js → affected-D6FRJPPI.js} +2 -2
  7. package/dist/{apply-OIKQ5SIY.js → apply-6JVJ7FDZ.js} +21 -20
  8. package/dist/{available-Z5MIDFPH.js → available-74CMIBPD.js} +9 -9
  9. package/dist/{broadcast-BF2QL3O7.js → broadcast-VKZY7WSD.js} +3 -3
  10. package/dist/{chunk-K2VU3B4W.js → chunk-25M2YWBH.js} +4 -4
  11. package/dist/chunk-2GZKA33O.js +173 -0
  12. package/dist/chunk-2HL2MFNI.js +159 -0
  13. package/dist/{chunk-4O4ZOSBQ.js → chunk-2MX5C7B2.js} +3 -3
  14. package/dist/chunk-2W2F5BWF.js +166 -0
  15. package/dist/chunk-43MXRTKH.js +134 -0
  16. package/dist/chunk-4VVQLWTS.js +93 -0
  17. package/dist/{chunk-ZKB7ZNKY.js → chunk-56VBB3H7.js} +4 -4
  18. package/dist/{chunk-JEL35P7S.js → chunk-5NDUWEMW.js} +2 -2
  19. package/dist/{chunk-5PNS6V5C.js → chunk-5QBOGEVE.js} +2 -2
  20. package/dist/{chunk-NNGGNXF2.js → chunk-62BC3K4Z.js} +2 -2
  21. package/dist/{chunk-7ZOQELXR.js → chunk-644GNYMB.js} +3 -3
  22. package/dist/{chunk-GNVME5AD.js → chunk-6UGHVU5B.js} +2 -2
  23. package/dist/{chunk-733WVP2R.js → chunk-7A6QIROT.js} +3 -3
  24. package/dist/{chunk-J3QUG6O5.js → chunk-7CHUMF3E.js} +2 -2
  25. package/dist/{chunk-INT7QLEU.js → chunk-7DJQASH3.js} +25 -6
  26. package/dist/{chunk-VNZTULFD.js → chunk-D2MHB5EF.js} +3 -3
  27. package/dist/{chunk-KEHB4FZP.js → chunk-E2E4HIEN.js} +49 -3
  28. package/dist/{chunk-G4ATQPQI.js → chunk-F3R5HEUB.js} +5 -1
  29. package/dist/{chunk-JW5NMQTU.js → chunk-HES44LTA.js} +4 -4
  30. package/dist/{chunk-RHJEGLYM.js → chunk-HF5D6B2U.js} +45 -6
  31. package/dist/{chunk-5OFQVW2K.js → chunk-HYXOJYVR.js} +2 -2
  32. package/dist/{chunk-UED3RH53.js → chunk-ISGHJHVH.js} +2 -2
  33. package/dist/chunk-JANBBPKP.js +50 -0
  34. package/dist/{chunk-XNML2KIC.js → chunk-JPYQDOEW.js} +3 -3
  35. package/dist/{chunk-ZS5IDQFJ.js → chunk-K6ATERWS.js} +4 -4
  36. package/dist/{chunk-737BENAU.js → chunk-LB2WXBPA.js} +5 -5
  37. package/dist/{chunk-5IZFEVPW.js → chunk-LI3BII4F.js} +2 -2
  38. package/dist/chunk-LTMHE5VL.js +7 -0
  39. package/dist/{chunk-XSWF7APE.js → chunk-OGCJO6HQ.js} +9 -8
  40. package/dist/{chunk-A7XCUR2C.js → chunk-Q6V274OB.js} +8 -6
  41. package/dist/{chunk-ISGBOJT7.js → chunk-QR4GXET7.js} +3 -3
  42. package/dist/chunk-QR6A3TYP.js +315 -0
  43. package/dist/{chunk-FOLA4EUJ.js → chunk-QY2P54Z2.js} +10 -2
  44. package/dist/{chunk-EIDIVIAD.js → chunk-QYLOIM4U.js} +9 -2
  45. package/dist/{chunk-P5D6RKMT.js → chunk-RZYZILU4.js} +5 -3
  46. package/dist/{chunk-A6DARDQ4.js → chunk-S6G7YWNE.js} +2 -2
  47. package/dist/{chunk-24L4MO7H.js → chunk-TIH7JFPJ.js} +2 -2
  48. package/dist/{chunk-5KWDQFVY.js → chunk-UFWW4H6V.js} +7 -8
  49. package/dist/chunk-UVTGY2R3.js +78 -0
  50. package/dist/{chunk-LLT5FQBE.js → chunk-VBVNOLRR.js} +7 -3
  51. package/dist/{chunk-ABTJQ4QV.js → chunk-WBPVNCQO.js} +20 -5
  52. package/dist/{chunk-T4GVN7XO.js → chunk-WNP2BXR7.js} +5 -5
  53. package/dist/{chunk-YGOWIJPE.js → chunk-WZYGM3FR.js} +6 -2
  54. package/dist/chunk-Y6NFETNG.js +232 -0
  55. package/dist/{cli-IHVNE3WL.js → cli-GFDT4YXM.js} +14 -15
  56. package/dist/{cli-FSSYFCV3.js → cli-WWNTQJPV.js} +18 -12
  57. package/dist/cli.js +307 -47
  58. package/dist/{completion-ZTTJVV4C.js → completion-I63UIDZ7.js} +25 -23
  59. package/dist/{diagnostics-XC5L6Z3E.js → diagnostics-RUJZBPNZ.js} +6 -6
  60. package/dist/{doctor-FGDSUBR3.js → doctor-CLUFTEFO.js} +21 -21
  61. package/dist/{entry-NNB2CQLZ.js → entry-QSJCFI5Z.js} +10 -10
  62. package/dist/{exec-mcp-ZU3Z3XT6.js → exec-mcp-AFPUJTN7.js} +9 -9
  63. package/dist/{harness-B7ANLH5M.js → harness-PPM32AI5.js} +26 -44
  64. package/dist/harness-launch-gate.js +4 -4
  65. package/dist/harness-worker.js +6 -6
  66. package/dist/{heavy-IIZBO4YM.js → heavy-TEHP5PHT.js} +112 -27
  67. package/dist/hooks-L4PXVEGR.js +24 -0
  68. package/dist/{host-5P4D7GSE.js → host-LBTL47X7.js} +18 -15
  69. package/dist/{host-XXWQ23LD.js → host-MU2GRH57.js} +7 -7
  70. package/dist/{host-run-AEWHFVQL.js → host-run-IRSAQA5Z.js} +6 -6
  71. package/dist/http.js +1 -1
  72. package/dist/{import-mcp-BQM5DKYH.js → import-mcp-QVPW6A2Q.js} +12 -12
  73. package/dist/index.d.ts +1 -1
  74. package/dist/index.js +11 -10
  75. package/dist/init-46STH6FP.js +14 -0
  76. package/dist/{install-OFVLR7TI.js → install-5JH4DSFF.js} +10 -10
  77. package/dist/{invoke-3BQ5NG3P.js → invoke-I6C6UT6Q.js} +8 -8
  78. package/dist/{list-EU4MJOXA.js → list-HXG6EB7V.js} +12 -12
  79. package/dist/{list-WWYCGD3X.js → list-LV5EKCF6.js} +11 -7
  80. package/dist/{logout-6DFDYJUI.js → logout-SSUXJ6SE.js} +9 -9
  81. package/dist/{logs-BRF6DBKG.js → logs-2JEMSNSG.js} +7 -7
  82. package/dist/{mailbox-QYA2LQSE.js → mailbox-5FVFMQ2J.js} +6 -6
  83. package/dist/{mailbox-AQCTXO3H.js → mailbox-ZHZWZMAY.js} +14 -21
  84. package/dist/{mainline-O5AEHG3J.js → mainline-4XP6ZORU.js} +9 -8
  85. package/dist/{marketplace-TI5HFAHB.js → marketplace-2X3OOEPW.js} +10 -9
  86. package/dist/{mcp-HR5JFUW7.js → mcp-L6X45IOS.js} +4 -4
  87. package/dist/{mcp-4R53HSGY.js → mcp-PBTQ5SJW.js} +2 -2
  88. package/dist/{models-63NQBSV3.js → models-XSF45MCD.js} +9 -5
  89. package/dist/{pause-UF7FQDJX.js → pause-CMZOIHTJ.js} +3 -3
  90. package/dist/{preview-WSESS2UN.js → preview-465CQJBQ.js} +4 -4
  91. package/dist/{project-JXXL24WN.js → project-4JPKU2D7.js} +14 -12
  92. package/dist/{reindex-3GPKAFBW.js → reindex-D62HQAN2.js} +7 -7
  93. package/dist/{report-JUSKQPAC.js → report-UB7MXAUB.js} +10 -10
  94. package/dist/{resume-3WAROOQ3.js → resume-PAKIT4TT.js} +3 -3
  95. package/dist/run-OW7436TY.js +23 -0
  96. package/dist/{run-XRWU4L73.js → run-PMASXIGY.js} +8 -8
  97. package/dist/{serve-OEX5V5CD.js → serve-P3HJN6AF.js} +13 -13
  98. package/dist/{session-YZVX4NGN.js → session-3YVVO2GR.js} +6 -6
  99. package/dist/{setup-SWNAC2C7.js → setup-6AQUOWOH.js} +3 -2
  100. package/dist/{smoke-5BGJXAHX.js → smoke-6X6IXQIQ.js} +4 -4
  101. package/dist/{start-login-MG26NDE3.js → start-login-P7YDRTA3.js} +10 -10
  102. package/dist/{status-GKCIVAAR.js → status-4PYPTYUB.js} +4 -4
  103. package/dist/{status-LH7Q255G.js → status-DAXQKT35.js} +28 -27
  104. package/dist/{status-APADL7O2.js → status-DLGZDYEP.js} +18 -11
  105. package/dist/stdio.js +2 -2
  106. package/dist/{sweep-VTVPDAPY.js → sweep-VURZU6DI.js} +3 -3
  107. package/dist/{test-TK2J3IB7.js → test-H243OTSK.js} +12 -12
  108. package/dist/{tui-YTPHHKCW.js → tui-P6XTSTQO.js} +45 -19
  109. package/dist/{unbroadcast-CH7BAQ2G.js → unbroadcast-7AMLURCG.js} +3 -3
  110. package/dist/{validate-5QVZBE6W.js → validate-YXR7FJJX.js} +11 -9
  111. package/dist/{wait-4HYJJAWO.js → wait-HEODT7KV.js} +3 -3
  112. package/dist/{worker-RBXYAMR4.js → worker-5YJLIGTU.js} +8 -8
  113. package/dist/{worktree-create-FEZNQUQ6.js → worktree-create-FTSLMZWS.js} +2 -2
  114. package/docs/commands.md +65 -29
  115. package/docs/hooks.md +3 -3
  116. package/docs/project-configuration.md +54 -38
  117. package/docs/terminal-workspace.md +2 -0
  118. package/docs/upgrading.md +67 -0
  119. package/gemini-extension.json +2 -2
  120. package/mcp.json +1 -1
  121. package/package.json +5 -5
  122. package/plugin.json +1 -1
  123. package/plugins/pmcp/.claude-plugin/plugin.json +1 -1
  124. package/plugins/pmcp/.mcp.json +1 -1
  125. package/plugins/pmcp/gemini-extension.json +2 -2
  126. package/plugins/pmcp/mcp.json +1 -1
  127. package/plugins/pmcp/plugin.json +1 -1
  128. package/plugins/pmcp/skills/headless-agents-ci-scaffold/SKILL.md +1 -1
  129. package/plugins/pmcp/skills/pmcp-project-init/SKILL.md +1 -1
  130. package/plugins/pmcp/skills/pmcp-sessions-and-git/SKILL.md +3 -2
  131. package/skills/headless-agents-ci-scaffold/SKILL.md +1 -1
  132. package/skills/pmcp-project-init/SKILL.md +1 -1
  133. package/skills/pmcp-sessions-and-git/SKILL.md +3 -2
  134. package/dist/chunk-2P4Z2NUX.js +0 -28
  135. package/dist/chunk-3Y3HDMHA.js +0 -108
  136. package/dist/chunk-74O7KZUH.js +0 -45
  137. package/dist/chunk-BN4XAXMQ.js +0 -65
  138. package/dist/chunk-E3DQB5LS.js +0 -48
  139. package/dist/chunk-JWRZDYB5.js +0 -59
  140. package/dist/chunk-LMUBBIE2.js +0 -83
  141. package/dist/chunk-QBSJL3SP.js +0 -162
  142. package/dist/chunk-VSTUKACC.js +0 -7
  143. package/dist/chunk-WFY7ATSZ.js +0 -116
  144. package/dist/hooks-IEJTW7BV.js +0 -24
  145. package/dist/init-L6GUO3PW.js +0 -14
  146. package/dist/run-VUUQS4WY.js +0 -19
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "pmcp",
3
- "version": "0.22.13",
3
+ "version": "0.24.0",
4
4
  "mcpServers": {
5
5
  "pmcp": {
6
6
  "type": "stdio",
7
7
  "command": "npx",
8
- "args": ["-y", "@modootoday/pmcp@0.22.13", "serve"]
8
+ "args": ["-y", "@modootoday/pmcp@0.24.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.22.13", "serve"]
7
+ "args": ["-y", "@modootoday/pmcp@0.24.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.22.13",
4
+ "version": "0.24.0",
5
5
  "description": "Find package skills and use native runtime project configuration.",
6
6
  "author": { "name": "modootoday" },
7
7
  "license": "Elastic-2.0",
@@ -73,7 +73,7 @@ tool can supply and grep for it.
73
73
  ## Projection gate
74
74
 
75
75
  ```sh
76
- pmcp project --check # exit 2: generated files drifted, went stale or are undeclared
76
+ pmcp project --check # exit 4: generated files drifted, went stale or are undeclared
77
77
  pmcp doctor # exit 1 on any failed check
78
78
  ```
79
79
 
@@ -123,7 +123,7 @@ next prompt; SessionEnd hooks get at most 3 seconds.
123
123
 
124
124
  ```sh
125
125
  pmcp project # write; exits 1 if it would overwrite a file it did not write
126
- pmcp project --check # write nothing; exit 2 on drift, stale, undeclared or dead-glob outputs
126
+ pmcp project --check # write nothing; exit 4 on drift, stale, undeclared or dead-glob outputs
127
127
  pmcp doctor # exit 1 on any failed check; prints the feature x runtime table
128
128
  ```
129
129
 
@@ -65,8 +65,9 @@ pmcp git deliver <commit>... # only these
65
65
 
66
66
  It fetches, replays the commits onto the mainline, runs the gate in its own tree under a
67
67
  lock, and pushes, replaying again if the mainline moved. Exit 0 delivered or nothing to
68
- deliver; 1 refused (pause, lease, gate failure, attempts exhausted) with the reason on
69
- stderr; 2 the fetch failed. Fix what the gate reports; never bypass it with
68
+ deliver; 1 refused (pause, lease, gate failure, attempts exhausted, failed fetch) with the
69
+ reason on stderr; 75 the gate never got the host lease, so retry later. Fix what the gate
70
+ reports; never bypass it with
70
71
  `--no-verify` or a gate-bypass variable, which the guards refuse.
71
72
 
72
73
  `pmcp git sync` moves the main checkout to the mainline afterwards; it refuses (exit 2)
@@ -73,7 +73,7 @@ tool can supply and grep for it.
73
73
  ## Projection gate
74
74
 
75
75
  ```sh
76
- pmcp project --check # exit 2: generated files drifted, went stale or are undeclared
76
+ pmcp project --check # exit 4: generated files drifted, went stale or are undeclared
77
77
  pmcp doctor # exit 1 on any failed check
78
78
  ```
79
79
 
@@ -123,7 +123,7 @@ next prompt; SessionEnd hooks get at most 3 seconds.
123
123
 
124
124
  ```sh
125
125
  pmcp project # write; exits 1 if it would overwrite a file it did not write
126
- pmcp project --check # write nothing; exit 2 on drift, stale, undeclared or dead-glob outputs
126
+ pmcp project --check # write nothing; exit 4 on drift, stale, undeclared or dead-glob outputs
127
127
  pmcp doctor # exit 1 on any failed check; prints the feature x runtime table
128
128
  ```
129
129
 
@@ -65,8 +65,9 @@ pmcp git deliver <commit>... # only these
65
65
 
66
66
  It fetches, replays the commits onto the mainline, runs the gate in its own tree under a
67
67
  lock, and pushes, replaying again if the mainline moved. Exit 0 delivered or nothing to
68
- deliver; 1 refused (pause, lease, gate failure, attempts exhausted) with the reason on
69
- stderr; 2 the fetch failed. Fix what the gate reports; never bypass it with
68
+ deliver; 1 refused (pause, lease, gate failure, attempts exhausted, failed fetch) with the
69
+ reason on stderr; 75 the gate never got the host lease, so retry later. Fix what the gate
70
+ reports; never bypass it with
70
71
  `--no-verify` or a gate-bypass variable, which the guards refuse.
71
72
 
72
73
  `pmcp git sync` moves the main checkout to the mainline afterwards; it refuses (exit 2)
@@ -1,28 +0,0 @@
1
- // src/commands/specs/marketplace.ts
2
- var marketplaceSpec = {
3
- name: "marketplace",
4
- describe: "List free public plugins or export a selected native plugin",
5
- usage: "pmcp marketplace list | export <plugin> --runtime <runtime> --output <directory> [--json]",
6
- options: [
7
- {
8
- name: "runtime",
9
- describe: "Native plugin format: claude, codex, gemini, grok or agy.",
10
- placeholder: "<runtime>"
11
- },
12
- {
13
- name: "output",
14
- describe: "New directory for the selected plugin; existing paths are preserved.",
15
- placeholder: "<directory>"
16
- },
17
- {
18
- name: "json",
19
- describe: "Print machine-readable results.",
20
- boolean: true
21
- }
22
- ]
23
- };
24
-
25
- export {
26
- marketplaceSpec
27
- };
28
- //# sourceMappingURL=chunk-2P4Z2NUX.js.map
@@ -1,108 +0,0 @@
1
- // src/commands/harness/options.ts
2
- var harnessOptions = [
3
- {
4
- name: "include-starts",
5
- describe: "Include pending native starts in recovery inspection",
6
- boolean: true
7
- },
8
- {
9
- name: "columns",
10
- describe: "Terminal width in cells",
11
- placeholder: "<integer>"
12
- },
13
- {
14
- name: "rows",
15
- describe: "Terminal height including status",
16
- placeholder: "<integer>"
17
- },
18
- {
19
- name: "generation",
20
- describe: "Expected group generation for a mutation",
21
- placeholder: "<id>"
22
- },
23
- {
24
- name: "group-file",
25
- describe: "Private owned group state",
26
- placeholder: "<file>"
27
- },
28
- {
29
- name: "input",
30
- describe: "Group, session, read or watch specification JSON",
31
- placeholder: "<file>"
32
- },
33
- { name: "session", describe: "Owned native session ID", placeholder: "<id>" },
34
- {
35
- name: "lease-file",
36
- describe: "Private writer credential",
37
- placeholder: "<file>"
38
- },
39
- {
40
- name: "controller",
41
- describe: "Local controller identity",
42
- placeholder: "<id>"
43
- },
44
- {
45
- name: "mode",
46
- describe: "Control cli/native; attachment observe/write",
47
- placeholder: "<mode>"
48
- },
49
- {
50
- name: "request-id",
51
- describe: "Explicit input idempotency key",
52
- placeholder: "<id>"
53
- },
54
- {
55
- name: "text-file",
56
- describe: "Literal single-line UTF-8 input without submission",
57
- placeholder: "<file>"
58
- }
59
- ];
60
-
61
- // src/commands/tui/options.ts
62
- var tuiOptions = [
63
- {
64
- name: "memory-mb",
65
- describe: "Worker memory reservation",
66
- placeholder: "<count>"
67
- },
68
- {
69
- name: "config",
70
- describe: "Project pmcp.toml",
71
- placeholder: "<file>"
72
- },
73
- {
74
- name: "runtime",
75
- describe: "Native runtime ID for main launch or worker start",
76
- placeholder: "<runtime>"
77
- },
78
- {
79
- name: "yes",
80
- describe: "Confirm the first native runtime start",
81
- boolean: true
82
- },
83
- {
84
- name: "new",
85
- describe: "Create a workspace after the previous group is stopped",
86
- boolean: true
87
- }
88
- ];
89
-
90
- // src/commands/specs/terminal.ts
91
- var harnessSpec = {
92
- name: "harness",
93
- describe: "Manage optional owned native sessions independently of the MCP server",
94
- usage: "pmcp harness layout | family operation [options]",
95
- options: harnessOptions
96
- };
97
- var tuiSpec = {
98
- name: "tui",
99
- describe: "Open a native terminal workspace with optional configuration",
100
- usage: "pmcp tui [--config <file>] [--runtime <id>] | plan | recovery | doctor | start-worker --runtime <id>",
101
- options: tuiOptions
102
- };
103
-
104
- export {
105
- harnessSpec,
106
- tuiSpec
107
- };
108
- //# sourceMappingURL=chunk-3Y3HDMHA.js.map
@@ -1,45 +0,0 @@
1
- import {
2
- configOption,
3
- jsonOption
4
- } from "./chunk-XNML2KIC.js";
5
-
6
- // src/commands/specs/git.ts
7
- var gitSpec = {
8
- name: "git",
9
- describe: "Create and sync worktrees, deliver commits to the mainline, sync the main checkout",
10
- usage: "pmcp git worktree create <alias> | worktree list | worktree sync | deliver [<commit>...] | sync | affected --base <ref>",
11
- options: [
12
- jsonOption,
13
- configOption,
14
- {
15
- name: "base",
16
- describe: "Start a new worktree from this ref instead of the upstream; for affected, the ref the delta starts at",
17
- placeholder: "<ref>"
18
- },
19
- {
20
- name: "head",
21
- describe: "For affected, the ref the delta ends at (default HEAD)",
22
- placeholder: "<ref>"
23
- },
24
- {
25
- name: "tests-only",
26
- describe: "For affected, print changed members without their consumers",
27
- boolean: true
28
- },
29
- {
30
- name: "during-pause",
31
- describe: "Deliver although the sessions are paused",
32
- boolean: true
33
- },
34
- {
35
- name: "no-push",
36
- describe: "Replay and gate, then stop without pushing",
37
- boolean: true
38
- }
39
- ]
40
- };
41
-
42
- export {
43
- gitSpec
44
- };
45
- //# sourceMappingURL=chunk-74O7KZUH.js.map
@@ -1,65 +0,0 @@
1
- import {
2
- jsonOption,
3
- nearestConfigOption
4
- } from "./chunk-XNML2KIC.js";
5
-
6
- // src/commands/specs/host.ts
7
- var heavySpec = {
8
- name: "heavy",
9
- describe: "Run a heavy command within the host-wide budget, by lane, once the host has room",
10
- usage: "pmcp heavy [--label <text>] [--profile default|gate|hook|<name>] [--lane gate|hook|interactive|bulk] [--weight <n>] [--now --reason <text>] -- <command...> | pmcp heavy submit [options] -- <command...> | pmcp heavy wait|result <ticket> | pmcp heavy queue [--json] | pmcp heavy promote <id> --now --reason <text> | pmcp heavy priority <id> <lane|+N|-N> --reason <text> | pmcp heavy cancel <id> [--force] | pmcp heavy status [--json] | pmcp heavy stats [--json]",
11
- options: [
12
- nearestConfigOption,
13
- jsonOption,
14
- {
15
- name: "label",
16
- describe: "What status and the log call this job (default: the command).",
17
- placeholder: "<text>"
18
- },
19
- {
20
- name: "profile",
21
- describe: "Wait limits from [host.lease.profiles.<name>] (default: default).",
22
- placeholder: "<name>"
23
- },
24
- {
25
- name: "now",
26
- describe: "Emergency: run at once, outside the lanes, the budget and the host check, still counted in the running weight; needs --reason.",
27
- boolean: true
28
- },
29
- {
30
- name: "reason",
31
- describe: "Why: a --now run or a promote cannot wait, a priority change or cancel was needed; logged.",
32
- placeholder: "<text>"
33
- },
34
- {
35
- name: "timeout",
36
- describe: "wait: give up after this many seconds and exit 75.",
37
- placeholder: "<s>"
38
- },
39
- {
40
- name: "force",
41
- describe: "cancel: also stop a job that is already running.",
42
- boolean: true
43
- },
44
- {
45
- name: "ticket",
46
- describe: "Internal: the submitted ticket this run belongs to.",
47
- placeholder: "<id>"
48
- },
49
- {
50
- name: "lane",
51
- describe: "Queue in this lane: gate, hook, interactive or bulk; a short budget goes to them in that order (default: from the profile, [host.lease] commands, else interactive).",
52
- placeholder: "<lane>"
53
- },
54
- {
55
- name: "weight",
56
- describe: "How much of the host budget the command takes (default: [host.lease] commands, else the lane's weight).",
57
- placeholder: "<n>"
58
- }
59
- ]
60
- };
61
-
62
- export {
63
- heavySpec
64
- };
65
- //# sourceMappingURL=chunk-BN4XAXMQ.js.map
@@ -1,48 +0,0 @@
1
- import {
2
- jsonOption
3
- } from "./chunk-XNML2KIC.js";
4
-
5
- // src/commands/specs/mcp.ts
6
- var mcpSpec = {
7
- name: "mcp",
8
- describe: "Manage the project's shared remote MCP authentication",
9
- usage: "pmcp mcp <login|logout|status> <name> [--config <file>]",
10
- options: [
11
- jsonOption,
12
- {
13
- name: "config",
14
- describe: "Read this project configuration.",
15
- placeholder: "<file>"
16
- },
17
- {
18
- name: "code",
19
- describe: "Complete a pending login with a callback URL or authorization code.",
20
- placeholder: "<callback-or-code>"
21
- },
22
- {
23
- name: "no-wait",
24
- describe: "Print the authorization URL and save a pending login for later completion.",
25
- boolean: true
26
- },
27
- {
28
- name: "port",
29
- describe: "Loopback callback port; zero chooses an available port.",
30
- placeholder: "<port>"
31
- },
32
- {
33
- name: "client-id",
34
- describe: "Use a pre-registered OAuth client identifier.",
35
- placeholder: "<id>"
36
- },
37
- {
38
- name: "bearer-env",
39
- describe: "Store a bearer session from this environment variable without printing it.",
40
- placeholder: "<name>"
41
- }
42
- ]
43
- };
44
-
45
- export {
46
- mcpSpec
47
- };
48
- //# sourceMappingURL=chunk-E3DQB5LS.js.map
@@ -1,59 +0,0 @@
1
- import {
2
- configOption
3
- } from "./chunk-XNML2KIC.js";
4
-
5
- // src/commands/specs/mailbox.ts
6
- var mailboxSpec = {
7
- name: "mailbox",
8
- describe: "Manage opt-in local peer mail and launcher credentials",
9
- usage: "pmcp mailbox operation [--config <file>] [options]",
10
- options: [
11
- configOption,
12
- {
13
- name: "state-dir",
14
- describe: "Private mailbox state directory",
15
- placeholder: "<dir>"
16
- },
17
- { name: "actor", describe: "Registered actor ID", placeholder: "<id>" },
18
- {
19
- name: "actor-file",
20
- describe: "Private actor credential file",
21
- placeholder: "<file>"
22
- },
23
- {
24
- name: "binding-file",
25
- describe: "Private existing attachment file",
26
- placeholder: "<file>"
27
- },
28
- {
29
- name: "parent-binding",
30
- describe: "Live parent attachment for bounded child delegation",
31
- placeholder: "<file>"
32
- },
33
- {
34
- name: "input",
35
- describe: "Operation input JSON or backup source",
36
- placeholder: "<file>"
37
- },
38
- {
39
- name: "output",
40
- describe: "New export or backup destination",
41
- placeholder: "<file>"
42
- },
43
- {
44
- name: "scope-actor",
45
- describe: "Limit export to one actor's correspondence",
46
- placeholder: "<id>"
47
- },
48
- {
49
- name: "operator",
50
- describe: "Explicit local administrator intent",
51
- boolean: true
52
- }
53
- ]
54
- };
55
-
56
- export {
57
- mailboxSpec
58
- };
59
- //# sourceMappingURL=chunk-JWRZDYB5.js.map
@@ -1,83 +0,0 @@
1
- import {
2
- jsonOption,
3
- nearestConfigOption
4
- } from "./chunk-XNML2KIC.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
- describe: "Show and coordinate the live sessions of this workspace: pause, broadcast, sweep",
29
- usage: "pmcp sessions status | pause <reason> [--by <name>] | resume | broadcast <text> [--by <name>] | unbroadcast | sweep | send --to <selector>... [--subject <s>] [--ttl <minutes>] [--once] [--reply-to <id>] <body|-> | inbox [--all] | ack <id>... | reply <id> <body|->",
30
- options: [
31
- jsonOption,
32
- nearestConfigOption,
33
- {
34
- name: "by",
35
- describe: "Who pauses, broadcasts or sends; that session is exempt. Default operator.",
36
- placeholder: "<name>"
37
- },
38
- {
39
- name: "to",
40
- describe: "Message recipients: all, session:<id>, alias:<name>, role:<name> or worktree:<path> (desk:<path> also works). Repeatable.",
41
- placeholder: "<selector>",
42
- repeat: true
43
- },
44
- { name: "subject", describe: "Message subject.", placeholder: "<text>" },
45
- {
46
- name: "ttl",
47
- describe: "Minutes until the message expires; default [sessions.mailbox] ttl_minutes.",
48
- placeholder: "<minutes>"
49
- },
50
- {
51
- name: "once",
52
- describe: "Mark the message a one-time request, not a standing rule.",
53
- boolean: true
54
- },
55
- {
56
- name: "wake",
57
- describe: "Also start a turn in idle recipients where the runtime allows it (Claude, opencode).",
58
- boolean: true
59
- },
60
- {
61
- name: "reply-to",
62
- describe: "The message this one answers.",
63
- placeholder: "<id>"
64
- },
65
- {
66
- name: "session",
67
- describe: "Whose inbox: the session id that reads, sends or acknowledges.",
68
- placeholder: "<id>"
69
- },
70
- {
71
- name: "all",
72
- describe: "List every unexpired message, not only yours.",
73
- boolean: true
74
- }
75
- ]
76
- };
77
-
78
- export {
79
- SESSION_VERBS,
80
- JSON_VERBS,
81
- sessionsSpec
82
- };
83
- //# sourceMappingURL=chunk-LMUBBIE2.js.map