@modootoday/pmcp 0.22.12 → 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 (154) 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-D6FRJPPI.js +836 -0
  6. package/dist/{apply-LPKZZ6EL.js → apply-3PWUO4J5.js} +27 -22
  7. package/dist/{available-BFXLII4A.js → available-74CMIBPD.js} +9 -9
  8. package/dist/{broadcast-DZGMSZRG.js → broadcast-VKZY7WSD.js} +6 -5
  9. package/dist/chunk-2GZKA33O.js +173 -0
  10. package/dist/chunk-2HL2MFNI.js +159 -0
  11. package/dist/{chunk-OAX6MIOZ.js → chunk-2K4WYN4C.js} +2 -2
  12. package/dist/{chunk-PEMMV5YQ.js → chunk-2MX5C7B2.js} +3 -3
  13. package/dist/{chunk-7I7O7ZNT.js → chunk-3V37OZQH.js} +5 -3
  14. package/dist/chunk-43MXRTKH.js +134 -0
  15. package/dist/chunk-4VVQLWTS.js +93 -0
  16. package/dist/{chunk-DYZVHO2L.js → chunk-5HNLHI5F.js} +2 -2
  17. package/dist/{chunk-JEL35P7S.js → chunk-5NDUWEMW.js} +2 -2
  18. package/dist/chunk-65BW7Y6O.js +40 -0
  19. package/dist/{chunk-HUBJWC7T.js → chunk-6NRLBSEG.js} +7 -7
  20. package/dist/chunk-6QJ3F445.js +166 -0
  21. package/dist/{chunk-2OOWAGBE.js → chunk-72V6U7CZ.js} +3 -3
  22. package/dist/{chunk-RPCIROW7.js → chunk-7CHUMF3E.js} +2 -2
  23. package/dist/{chunk-INT7QLEU.js → chunk-7DJQASH3.js} +25 -6
  24. package/dist/chunk-7IRXUPM2.js +7 -0
  25. package/dist/{chunk-UDVYVRGJ.js → chunk-DNSHJIS4.js} +2 -2
  26. package/dist/{chunk-UMQLIRSU.js → chunk-DZTSCJOZ.js} +3 -3
  27. package/dist/{chunk-KEHB4FZP.js → chunk-E2E4HIEN.js} +49 -3
  28. package/dist/{chunk-SUJCVEBM.js → chunk-EQF64INS.js} +3 -3
  29. package/dist/chunk-F3R5HEUB.js +39 -0
  30. package/dist/chunk-FOLA4EUJ.js +261 -0
  31. package/dist/chunk-FQLCD4HU.js +24 -0
  32. package/dist/{chunk-OEH47H6A.js → chunk-GUHOEIHP.js} +3 -20
  33. package/dist/{chunk-B2WRYGHJ.js → chunk-HES44LTA.js} +5 -5
  34. package/dist/{chunk-RHJEGLYM.js → chunk-HF5D6B2U.js} +45 -6
  35. package/dist/{chunk-R5MT42JS.js → chunk-HYXOJYVR.js} +2 -2
  36. package/dist/chunk-JANBBPKP.js +50 -0
  37. package/dist/{chunk-ITOTOC6Y.js → chunk-JJFPSFDU.js} +3 -3
  38. package/dist/{chunk-XNML2KIC.js → chunk-JPYQDOEW.js} +3 -3
  39. package/dist/{chunk-SPZQRLL5.js → chunk-KYGGQPAH.js} +18 -6
  40. package/dist/{chunk-EX4YXPVW.js → chunk-LGRFYN5T.js} +2 -2
  41. package/dist/{chunk-DP326AER.js → chunk-LO54UUDE.js} +2 -2
  42. package/dist/{chunk-5QKXEWDB.js → chunk-MHKY6TNF.js} +6 -4
  43. package/dist/chunk-N7ANFMA5.js +171 -0
  44. package/dist/{chunk-KPKMEUUH.js → chunk-OGCJO6HQ.js} +9 -8
  45. package/dist/{chunk-N63QCJHX.js → chunk-P25V6NEX.js} +5 -5
  46. package/dist/{chunk-PUIWESU3.js → chunk-Q6V274OB.js} +8 -6
  47. package/dist/chunk-QR6A3TYP.js +315 -0
  48. package/dist/{chunk-EIDIVIAD.js → chunk-QYLOIM4U.js} +9 -2
  49. package/dist/{chunk-MIFPPUWY.js → chunk-RRKA3GF5.js} +4 -4
  50. package/dist/{chunk-7CSUKCU7.js → chunk-RZYZILU4.js} +17 -96
  51. package/dist/{chunk-FODUHLZM.js → chunk-SDQYZDHS.js} +2 -2
  52. package/dist/chunk-SGFTHKKS.js +86 -0
  53. package/dist/chunk-T6C3TSTO.js +99 -0
  54. package/dist/chunk-UVTGY2R3.js +78 -0
  55. package/dist/{chunk-LLT5FQBE.js → chunk-VBVNOLRR.js} +7 -3
  56. package/dist/{chunk-ABTJQ4QV.js → chunk-WBPVNCQO.js} +20 -5
  57. package/dist/{chunk-63RZGEVI.js → chunk-WQBKQTNT.js} +98 -26
  58. package/dist/{chunk-YGOWIJPE.js → chunk-WZYGM3FR.js} +6 -2
  59. package/dist/chunk-Y6NFETNG.js +232 -0
  60. package/dist/{chunk-D5MIZM6L.js → chunk-YRNFMPZB.js} +7 -8
  61. package/dist/{chunk-2GRECE6B.js → chunk-ZXMECZBI.js} +4 -4
  62. package/dist/{cli-34EDFXJA.js → cli-GFDT4YXM.js} +14 -15
  63. package/dist/{cli-JXPJFHUA.js → cli-YWV7FLYO.js} +24 -12
  64. package/dist/cli.js +317 -51
  65. package/dist/{completion-KTECNPVY.js → completion-OKGNN7DE.js} +25 -21
  66. package/dist/{diagnostics-I5VZHK42.js → diagnostics-N4XRRCQG.js} +10 -6
  67. package/dist/{doctor-JJ2VUNHT.js → doctor-3H6UYNEA.js} +27 -23
  68. package/dist/{entry-OT7BN3ID.js → entry-KDLLG6ED.js} +19 -15
  69. package/dist/{exec-mcp-3E4SRJUY.js → exec-mcp-AENALAHJ.js} +15 -11
  70. package/dist/{harness-Q236VJSU.js → harness-GRYTNUF2.js} +26 -44
  71. package/dist/harness-launch-gate.js +8 -4
  72. package/dist/harness-worker.js +10 -6
  73. package/dist/heavy-BGXKJKYB.js +1965 -0
  74. package/dist/hook-body.js +69 -21
  75. package/dist/hooks-V25ANQ4Q.js +24 -0
  76. package/dist/{host-LT5JMUFJ.js → host-4EGPADOJ.js} +11 -7
  77. package/dist/{host-UDC4HVX3.js → host-MLSWY7D7.js} +24 -17
  78. package/dist/{host-run-LD63JGN7.js → host-run-VI52IUKF.js} +10 -6
  79. package/dist/http.js +1 -1
  80. package/dist/{import-mcp-URVONIZ3.js → import-mcp-FIXFLUDM.js} +18 -14
  81. package/dist/index.d.ts +1 -1
  82. package/dist/index.js +17 -12
  83. package/dist/init-ALTBFUPP.js +14 -0
  84. package/dist/{install-7V6NIA7W.js → install-5JH4DSFF.js} +10 -10
  85. package/dist/{invoke-JW5OC2HO.js → invoke-7T7UY57O.js} +12 -8
  86. package/dist/{list-UM4DYJRL.js → list-JFZ7UZLV.js} +18 -14
  87. package/dist/{list-WK2IYUK7.js → list-LV5EKCF6.js} +11 -7
  88. package/dist/{logout-H5X4D26I.js → logout-7CNBO76Z.js} +15 -11
  89. package/dist/{logs-UHJM7ZCL.js → logs-2JEMSNSG.js} +11 -10
  90. package/dist/{mailbox-NIMBOQPA.js → mailbox-5FVFMQ2J.js} +12 -44
  91. package/dist/{mailbox-YN6PG66A.js → mailbox-ZHZWZMAY.js} +14 -21
  92. package/dist/{mainline-74WCH4T4.js → mainline-6PBT3VNR.js} +75 -126
  93. package/dist/{marketplace-G4VQET5W.js → marketplace-2X3OOEPW.js} +10 -9
  94. package/dist/{mcp-6P3MVT4V.js → mcp-MVQVMAKJ.js} +4 -4
  95. package/dist/{mcp-AXHV547W.js → mcp-PBTQ5SJW.js} +2 -2
  96. package/dist/{models-ISU4DCMA.js → models-XSF45MCD.js} +9 -5
  97. package/dist/{pause-CBZ3BTJL.js → pause-CMZOIHTJ.js} +6 -5
  98. package/dist/{preview-DT7DWG5F.js → preview-465CQJBQ.js} +4 -4
  99. package/dist/{project-6QUIC73W.js → project-FZGJRG2U.js} +14 -12
  100. package/dist/{reindex-I7RYWCUR.js → reindex-D62HQAN2.js} +7 -7
  101. package/dist/{report-ZHOHQ4PZ.js → report-UB7MXAUB.js} +14 -13
  102. package/dist/{resume-UJEWQ66P.js → resume-PAKIT4TT.js} +6 -5
  103. package/dist/{run-HQTB7N2R.js → run-TOP37ZQC.js} +14 -10
  104. package/dist/run-VGJDMA2O.js +23 -0
  105. package/dist/{serve-APEVIJD2.js → serve-LR7SJHNH.js} +13 -13
  106. package/dist/{session-YZVX4NGN.js → session-3YVVO2GR.js} +6 -6
  107. package/dist/{setup-SOUBEZ3H.js → setup-6AQUOWOH.js} +7 -4
  108. package/dist/{smoke-2FI5D74B.js → smoke-6X6IXQIQ.js} +4 -4
  109. package/dist/{start-login-ER7DEGYN.js → start-login-X37KGCCB.js} +16 -12
  110. package/dist/{status-KN2ZE64O.js → status-4PYPTYUB.js} +7 -6
  111. package/dist/{status-7NYXRZ3R.js → status-E4AFUOQO.js} +24 -13
  112. package/dist/{status-OGABWCPO.js → status-LBRK37GA.js} +35 -30
  113. package/dist/stdio.js +2 -2
  114. package/dist/{sweep-EPZCW63Q.js → sweep-VURZU6DI.js} +6 -5
  115. package/dist/{test-WRZQERYC.js → test-D2EEFUN2.js} +18 -14
  116. package/dist/{tui-YUHQ36FC.js → tui-D7E3MD3X.js} +45 -19
  117. package/dist/{unbroadcast-N6LXHAMT.js → unbroadcast-7AMLURCG.js} +6 -5
  118. package/dist/{validate-KFBCUFI4.js → validate-YXR7FJJX.js} +11 -9
  119. package/dist/wait-HEODT7KV.js +141 -0
  120. package/dist/{worker-OKBJNDEI.js → worker-WTBC6VYO.js} +12 -8
  121. package/dist/{worktree-create-KMXPQXIQ.js → worktree-create-FTSLMZWS.js} +2 -2
  122. package/docs/commands.md +108 -36
  123. package/docs/git-workflow.md +51 -0
  124. package/docs/hooks.md +11 -4
  125. package/docs/project-configuration.md +136 -20
  126. package/docs/terminal-workspace.md +2 -0
  127. package/docs/upgrading.md +54 -0
  128. package/gemini-extension.json +2 -2
  129. package/mcp.json +1 -1
  130. package/package.json +5 -5
  131. package/plugin.json +1 -1
  132. package/plugins/pmcp/.claude-plugin/plugin.json +1 -1
  133. package/plugins/pmcp/.mcp.json +1 -1
  134. package/plugins/pmcp/gemini-extension.json +2 -2
  135. package/plugins/pmcp/mcp.json +1 -1
  136. package/plugins/pmcp/plugin.json +1 -1
  137. package/plugins/pmcp/skills/headless-agents-ci-scaffold/SKILL.md +1 -1
  138. package/plugins/pmcp/skills/pmcp-project-init/SKILL.md +1 -1
  139. package/plugins/pmcp/skills/pmcp-sessions-and-git/SKILL.md +3 -2
  140. package/skills/headless-agents-ci-scaffold/SKILL.md +1 -1
  141. package/skills/pmcp-project-init/SKILL.md +1 -1
  142. package/skills/pmcp-sessions-and-git/SKILL.md +3 -2
  143. package/dist/chunk-2P4Z2NUX.js +0 -28
  144. package/dist/chunk-3C5FVHQ3.js +0 -7
  145. package/dist/chunk-3Y3HDMHA.js +0 -108
  146. package/dist/chunk-A4PKLESO.js +0 -112
  147. package/dist/chunk-E3DQB5LS.js +0 -48
  148. package/dist/chunk-GFOQDLPL.js +0 -35
  149. package/dist/chunk-JWRZDYB5.js +0 -59
  150. package/dist/chunk-LMUBBIE2.js +0 -83
  151. package/dist/chunk-SMZPYJQI.js +0 -151
  152. package/dist/hooks-PABOEQO6.js +0 -24
  153. package/dist/init-4O24ZNUQ.js +0 -14
  154. package/dist/run-GZK3XJ62.js +0 -19
@@ -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
@@ -1,151 +0,0 @@
1
- import {
2
- marketplaceSpec
3
- } from "./chunk-2P4Z2NUX.js";
4
- import {
5
- mailboxSpec
6
- } from "./chunk-JWRZDYB5.js";
7
- import {
8
- harnessSpec,
9
- tuiSpec
10
- } from "./chunk-3Y3HDMHA.js";
11
- import {
12
- gitSpec
13
- } from "./chunk-GFOQDLPL.js";
14
- import {
15
- mcpSpec
16
- } from "./chunk-E3DQB5LS.js";
17
- import {
18
- sessionsSpec
19
- } from "./chunk-LMUBBIE2.js";
20
- import {
21
- logsSpec
22
- } from "./chunk-YGOWIJPE.js";
23
- import {
24
- availableSpec,
25
- installSpec,
26
- previewSpec,
27
- syncSpec
28
- } from "./chunk-ABTJQ4QV.js";
29
- import {
30
- doctorSpec,
31
- projectSpec
32
- } from "./chunk-RHJEGLYM.js";
33
- import {
34
- serveSpec
35
- } from "./chunk-LLT5FQBE.js";
36
- import {
37
- indexSpec,
38
- listSpec,
39
- modelsSpec,
40
- validateSpec
41
- } from "./chunk-INT7QLEU.js";
42
- import {
43
- loginSpec,
44
- logoutSpec,
45
- whoamiSpec
46
- } from "./chunk-EIDIVIAD.js";
47
- import {
48
- hooksSpec,
49
- initSpec,
50
- statusSpec
51
- } from "./chunk-KEHB4FZP.js";
52
-
53
- // src/commands/specs/completion.ts
54
- var completionSpec = {
55
- name: "completion",
56
- describe: "Print a shell completion script for bash, zsh or fish",
57
- usage: "pmcp completion bash | zsh | fish"
58
- };
59
-
60
- // src/commands/registry.ts
61
- var COMMANDS = [
62
- {
63
- ...statusSpec,
64
- load: async () => (await import("./status-OGABWCPO.js")).statusCommand
65
- },
66
- { ...initSpec, load: async () => (await import("./init-4O24ZNUQ.js")).initCommand },
67
- { ...hooksSpec, load: async () => (await import("./hooks-PABOEQO6.js")).hooksCommand },
68
- { ...serveSpec, load: async () => (await import("./serve-APEVIJD2.js")).serveCommand },
69
- { ...listSpec, load: async () => (await import("./list-WK2IYUK7.js")).listCommand },
70
- {
71
- ...indexSpec,
72
- load: async () => (await import("./reindex-I7RYWCUR.js")).indexCommand
73
- },
74
- {
75
- ...modelsSpec,
76
- load: async () => (await import("./models-ISU4DCMA.js")).modelsCommand
77
- },
78
- {
79
- ...loginSpec,
80
- load: async () => (await import("./session-YZVX4NGN.js")).loginCommand
81
- },
82
- {
83
- ...logoutSpec,
84
- load: async () => (await import("./session-YZVX4NGN.js")).logoutCommand
85
- },
86
- {
87
- ...whoamiSpec,
88
- load: async () => (await import("./session-YZVX4NGN.js")).whoamiCommand
89
- },
90
- {
91
- ...availableSpec,
92
- load: async () => (await import("./available-BFXLII4A.js")).availableCommand
93
- },
94
- {
95
- ...previewSpec,
96
- load: async () => (await import("./preview-DT7DWG5F.js")).previewCommand
97
- },
98
- {
99
- ...installSpec,
100
- load: async () => (await import("./install-7V6NIA7W.js")).installCommand
101
- },
102
- { ...syncSpec, load: async () => (await import("./install-7V6NIA7W.js")).syncCommand },
103
- {
104
- ...projectSpec,
105
- load: async () => (await import("./project-6QUIC73W.js")).projectCommand
106
- },
107
- {
108
- ...doctorSpec,
109
- load: async () => (await import("./doctor-JJ2VUNHT.js")).doctorCommand
110
- },
111
- {
112
- ...sessionsSpec,
113
- load: async () => (await import("./cli-34EDFXJA.js")).sessionsCommand
114
- },
115
- { ...logsSpec, load: async () => (await import("./logs-UHJM7ZCL.js")).logsCommand },
116
- { ...gitSpec, load: async () => (await import("./cli-JXPJFHUA.js")).gitCommand },
117
- { ...mcpSpec, load: async () => (await import("./mcp-6P3MVT4V.js")).mcpCommand },
118
- {
119
- ...validateSpec,
120
- load: async () => (await import("./validate-KFBCUFI4.js")).validateCommand
121
- },
122
- {
123
- ...mailboxSpec,
124
- load: async () => (await import("./mailbox-YN6PG66A.js")).mailboxCommand
125
- },
126
- {
127
- ...harnessSpec,
128
- load: async () => (await import("./harness-Q236VJSU.js")).harnessCommand
129
- },
130
- { ...tuiSpec, load: async () => (await import("./tui-YUHQ36FC.js")).tuiCommand },
131
- {
132
- ...marketplaceSpec,
133
- load: async () => (await import("./marketplace-G4VQET5W.js")).marketplaceCommand
134
- },
135
- {
136
- ...completionSpec,
137
- load: async () => (await import("./completion-KTECNPVY.js")).completionCommand
138
- }
139
- ];
140
- var PLANNED = [];
141
- function commandNamed(name) {
142
- return COMMANDS.find((command) => command.name === name);
143
- }
144
-
145
- export {
146
- completionSpec,
147
- COMMANDS,
148
- PLANNED,
149
- commandNamed
150
- };
151
- //# sourceMappingURL=chunk-SMZPYJQI.js.map
@@ -1,24 +0,0 @@
1
- import {
2
- hooksSpec
3
- } from "./chunk-KEHB4FZP.js";
4
- import "./chunk-XNML2KIC.js";
5
- import {
6
- ArgumentError
7
- } from "./chunk-A4PKLESO.js";
8
-
9
- // src/commands/hooks.ts
10
- async function run(context) {
11
- const [verb = "list", ...extra] = context.args.positional;
12
- const usage = "Use hooks list, hooks test or hooks report";
13
- if (extra.length) throw new ArgumentError(usage);
14
- if (verb === "list") return (await import("./list-UM4DYJRL.js")).run(context);
15
- if (verb === "test") return (await import("./test-WRZQERYC.js")).run(context);
16
- if (verb === "report")
17
- return (await import("./report-ZHOHQ4PZ.js")).run(context);
18
- throw new ArgumentError(usage);
19
- }
20
- var hooksCommand = { ...hooksSpec, run };
21
- export {
22
- hooksCommand
23
- };
24
- //# sourceMappingURL=hooks-PABOEQO6.js.map
@@ -1,14 +0,0 @@
1
- import {
2
- initSpec
3
- } from "./chunk-KEHB4FZP.js";
4
- import "./chunk-XNML2KIC.js";
5
-
6
- // src/commands/init.ts
7
- var initCommand = {
8
- ...initSpec,
9
- run: async (context) => (await import("./run-HQTB7N2R.js")).run(context)
10
- };
11
- export {
12
- initCommand
13
- };
14
- //# sourceMappingURL=init-4O24ZNUQ.js.map
@@ -1,19 +0,0 @@
1
- import {
2
- ArgumentError
3
- } from "./chunk-A4PKLESO.js";
4
-
5
- // src/commands/mcp/run.ts
6
- async function executeMcpCommand(context) {
7
- const [verb, name, ...extra] = context.args.positional;
8
- if (!name || extra.length || !["login", "logout", "status"].includes(verb ?? ""))
9
- throw new ArgumentError("Use pmcp mcp <login|logout|status> <name>");
10
- if (context.args.flags.has("json") && verb !== "status")
11
- throw new ArgumentError("--json requires mcp status");
12
- if (verb === "status") return (await import("./status-7NYXRZ3R.js")).run(context);
13
- if (verb === "logout") return (await import("./logout-H5X4D26I.js")).run(context);
14
- return (await import("./start-login-ER7DEGYN.js")).run(context);
15
- }
16
- export {
17
- executeMcpCommand
18
- };
19
- //# sourceMappingURL=run-GZK3XJ62.js.map