@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
@@ -0,0 +1,134 @@
1
+ import {
2
+ jsonOption,
3
+ nearestConfigOption
4
+ } from "./chunk-JPYQDOEW.js";
5
+
6
+ // src/commands/specs/host.ts
7
+ var heavySpec = {
8
+ name: "heavy",
9
+ examples: [
10
+ "pmcp heavy -- npm test",
11
+ 'pmcp heavy --label "web build" --profile gate -- npm run build'
12
+ ],
13
+ subcommands: [
14
+ {
15
+ name: "submit",
16
+ describe: "Queue a command and return its ticket at once",
17
+ usage: "pmcp heavy submit [--label <text>] [--lane <lane>] [--weight <n>] -- <command...>",
18
+ options: ["label", "profile", "lane", "weight", "config", "json"],
19
+ examples: ["pmcp heavy submit --lane bulk -- npm run build"]
20
+ },
21
+ {
22
+ name: "wait",
23
+ describe: "Wait for a submitted ticket to finish",
24
+ usage: "pmcp heavy wait <ticket> [--timeout <s>]",
25
+ options: ["timeout", "config", "json"],
26
+ examples: ["pmcp heavy wait 7f3a --timeout 900"]
27
+ },
28
+ {
29
+ name: "result",
30
+ describe: "The exit code and log of a finished ticket",
31
+ usage: "pmcp heavy result <ticket>",
32
+ options: ["config", "json"],
33
+ examples: ["pmcp heavy result 7f3a"]
34
+ },
35
+ {
36
+ name: "queue",
37
+ describe: "The queued and running jobs by lane",
38
+ usage: "pmcp heavy queue [--json]",
39
+ options: ["config", "json"],
40
+ examples: ["pmcp heavy queue --json"]
41
+ },
42
+ {
43
+ name: "promote",
44
+ describe: "Run a queued job now (emergency; logged)",
45
+ usage: "pmcp heavy promote <id> --now --reason <text>",
46
+ options: ["now", "reason", "config"],
47
+ examples: ['pmcp heavy promote 7f3a --now --reason "release blocker"']
48
+ },
49
+ {
50
+ name: "priority",
51
+ describe: "Move a queued job to another lane or position",
52
+ usage: "pmcp heavy priority <id> <lane|+N|-N> --reason <text>",
53
+ options: ["reason", "config"],
54
+ examples: ['pmcp heavy priority 7f3a gate --reason "blocks the land"']
55
+ },
56
+ {
57
+ name: "cancel",
58
+ describe: "Withdraw a queued job; --force also stops a running one",
59
+ usage: "pmcp heavy cancel <id> [--force]",
60
+ options: ["force", "reason", "config"],
61
+ examples: ["pmcp heavy cancel 7f3a"]
62
+ },
63
+ {
64
+ name: "status",
65
+ describe: "The lease, its holder, waiters and the host readings",
66
+ usage: "pmcp heavy status [--json]",
67
+ options: ["config", "json"],
68
+ examples: ["pmcp heavy status --json"]
69
+ },
70
+ {
71
+ name: "stats",
72
+ describe: "Recorded run times and weights per command",
73
+ usage: "pmcp heavy stats [--json]",
74
+ options: ["config", "json"],
75
+ examples: ["pmcp heavy stats"]
76
+ }
77
+ ],
78
+ describe: "Run a heavy command within the host-wide budget, by lane, once the host has room",
79
+ usage: "pmcp heavy [--label <text>] [--profile <name>] [--lane <lane>] [--weight <n>] [--now --reason <text>] -- <command...> | pmcp heavy <subcommand> [options]",
80
+ options: [
81
+ nearestConfigOption,
82
+ jsonOption,
83
+ {
84
+ name: "label",
85
+ describe: "What status and the log call this job (default: the command).",
86
+ placeholder: "<text>"
87
+ },
88
+ {
89
+ name: "profile",
90
+ describe: "Wait limits from [host.lease.profiles.<name>] (default: default).",
91
+ placeholder: "<name>"
92
+ },
93
+ {
94
+ name: "now",
95
+ describe: "Emergency: run at once, outside the lanes, the budget and the host check, still counted in the running weight; needs --reason.",
96
+ boolean: true
97
+ },
98
+ {
99
+ name: "reason",
100
+ describe: "Why: a --now run or a promote cannot wait, a priority change or cancel was needed; logged.",
101
+ placeholder: "<text>"
102
+ },
103
+ {
104
+ name: "timeout",
105
+ describe: "wait: give up after this many seconds and exit 75.",
106
+ placeholder: "<s>"
107
+ },
108
+ {
109
+ name: "force",
110
+ describe: "cancel: also stop a job that is already running.",
111
+ boolean: true
112
+ },
113
+ {
114
+ name: "ticket",
115
+ describe: "Internal: the submitted ticket this run belongs to.",
116
+ placeholder: "<id>"
117
+ },
118
+ {
119
+ name: "lane",
120
+ 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).",
121
+ placeholder: "<lane>"
122
+ },
123
+ {
124
+ name: "weight",
125
+ describe: "How much of the host budget the command takes (default: [host.lease] commands, else the lane's weight).",
126
+ placeholder: "<n>"
127
+ }
128
+ ]
129
+ };
130
+
131
+ export {
132
+ heavySpec
133
+ };
134
+ //# sourceMappingURL=chunk-43MXRTKH.js.map
@@ -0,0 +1,93 @@
1
+ import {
2
+ configOption,
3
+ jsonOption
4
+ } from "./chunk-JPYQDOEW.js";
5
+
6
+ // src/commands/specs/git.ts
7
+ var gitSpec = {
8
+ name: "git",
9
+ examples: ["pmcp git worktree create review", "pmcp git deliver --json"],
10
+ subcommands: [
11
+ {
12
+ name: "worktree create",
13
+ describe: "Make a linked worktree on a new branch from the upstream",
14
+ usage: "pmcp git worktree create <alias> [--base <ref>]",
15
+ options: ["base", "config"],
16
+ examples: ["pmcp git worktree create review --base origin/main"]
17
+ },
18
+ {
19
+ name: "worktree list",
20
+ describe: "The main checkout and each linked worktree, with behind/ahead",
21
+ usage: "pmcp git worktree list [--json]",
22
+ options: ["config", "json"],
23
+ examples: ["pmcp git worktree list --json"]
24
+ },
25
+ {
26
+ name: "worktree sync",
27
+ describe: "Move this worktree onto the mainline when that loses nothing",
28
+ usage: "pmcp git worktree sync",
29
+ options: ["config"],
30
+ examples: ["pmcp git worktree sync"]
31
+ },
32
+ {
33
+ name: "deliver",
34
+ describe: "Replay, gate and push commits to the mainline",
35
+ usage: "pmcp git deliver [<commit>...] [--during-pause] [--no-push] [--json]",
36
+ options: ["during-pause", "no-push", "config", "json"],
37
+ examples: ["pmcp git deliver", "pmcp git deliver 1a2b3c4 --no-push"]
38
+ },
39
+ {
40
+ name: "sync",
41
+ describe: "Move the main checkout, or this desk, to the mainline",
42
+ usage: "pmcp git sync",
43
+ options: ["config"],
44
+ examples: ["pmcp git sync"]
45
+ },
46
+ {
47
+ name: "affected",
48
+ describe: "The workspace members a delta touches, with their consumers",
49
+ usage: "pmcp git affected --base <ref> [--head <ref>] [--tests-only] [--json]",
50
+ options: ["base", "head", "tests-only", "config", "json"],
51
+ examples: [
52
+ "pmcp git affected --base origin/main",
53
+ "pmcp git affected --base HEAD~3 --tests-only --json"
54
+ ]
55
+ }
56
+ ],
57
+ describe: "Create and sync worktrees, deliver commits to the mainline, sync the main checkout",
58
+ usage: "pmcp git <subcommand> [options]",
59
+ options: [
60
+ jsonOption,
61
+ configOption,
62
+ {
63
+ name: "base",
64
+ describe: "Start a new worktree from this ref instead of the upstream; for affected, the ref the delta starts at",
65
+ placeholder: "<ref>"
66
+ },
67
+ {
68
+ name: "head",
69
+ describe: "For affected, the ref the delta ends at (default HEAD)",
70
+ placeholder: "<ref>"
71
+ },
72
+ {
73
+ name: "tests-only",
74
+ describe: "For affected, print changed members without their consumers",
75
+ boolean: true
76
+ },
77
+ {
78
+ name: "during-pause",
79
+ describe: "Deliver although the sessions are paused",
80
+ boolean: true
81
+ },
82
+ {
83
+ name: "no-push",
84
+ describe: "Replay and gate, then stop without pushing",
85
+ boolean: true
86
+ }
87
+ ]
88
+ };
89
+
90
+ export {
91
+ gitSpec
92
+ };
93
+ //# sourceMappingURL=chunk-4VVQLWTS.js.map
@@ -5,7 +5,7 @@ import {
5
5
  POLICIES,
6
6
  customMode,
7
7
  customPolicy
8
- } from "./chunk-K2VU3B4W.js";
8
+ } from "./chunk-WQBKQTNT.js";
9
9
  import {
10
10
  RUNTIMES
11
11
  } from "./chunk-ARXCYFFZ.js";
@@ -42,4 +42,4 @@ function policyRows(compiled) {
42
42
  export {
43
43
  policyRows
44
44
  };
45
- //# sourceMappingURL=chunk-24L4MO7H.js.map
45
+ //# sourceMappingURL=chunk-5HNLHI5F.js.map
@@ -37,7 +37,7 @@ var CATALOG_OPTIONS = [
37
37
  },
38
38
  {
39
39
  name: "config",
40
- describe: "A pmcp.toml to read instead of the nearest one at or above the working directory.",
40
+ describe: "A pmcp.toml to read instead of the nearest one.",
41
41
  placeholder: "<file>"
42
42
  },
43
43
  {
@@ -50,4 +50,4 @@ var CATALOG_OPTIONS = [
50
50
  export {
51
51
  CATALOG_OPTIONS
52
52
  };
53
- //# sourceMappingURL=chunk-JEL35P7S.js.map
53
+ //# sourceMappingURL=chunk-5NDUWEMW.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  hostApprovalDoctor
3
- } from "./chunk-A6DARDQ4.js";
3
+ } from "./chunk-JJFPSFDU.js";
4
4
  import {
5
5
  wakeableBy
6
6
  } from "./chunk-JQVSDPFL.js";
@@ -12,7 +12,7 @@ import {
12
12
  describeHookProblem,
13
13
  project,
14
14
  unmanagedHooks
15
- } from "./chunk-ZS5IDQFJ.js";
15
+ } from "./chunk-ZXMECZBI.js";
16
16
  import {
17
17
  ANTIGRAVITY_MCP_PLUGIN,
18
18
  agentNames,
@@ -23,7 +23,7 @@ import {
23
23
  skillNames,
24
24
  splitFrontmatter,
25
25
  uiClaudeDoctor
26
- } from "./chunk-K2VU3B4W.js";
26
+ } from "./chunk-WQBKQTNT.js";
27
27
  import {
28
28
  pathPmcp,
29
29
  pmcpCommand
@@ -37,7 +37,7 @@ import {
37
37
  hostEnvDoctor,
38
38
  ptyBinaryDoctor,
39
39
  readLockFile
40
- } from "./chunk-733WVP2R.js";
40
+ } from "./chunk-KYGGQPAH.js";
41
41
  import {
42
42
  ProjectError
43
43
  } from "./chunk-TYY5TYHF.js";
@@ -671,4 +671,4 @@ export {
671
671
  spawnRunner,
672
672
  doctor
673
673
  };
674
- //# sourceMappingURL=chunk-737BENAU.js.map
674
+ //# sourceMappingURL=chunk-6NRLBSEG.js.map
@@ -0,0 +1,166 @@
1
+ import {
2
+ harnessSpec,
3
+ tuiSpec
4
+ } from "./chunk-QR6A3TYP.js";
5
+ import {
6
+ marketplaceSpec
7
+ } from "./chunk-JANBBPKP.js";
8
+ import {
9
+ mcpSpec
10
+ } from "./chunk-UVTGY2R3.js";
11
+ import {
12
+ mailboxSpec
13
+ } from "./chunk-2HL2MFNI.js";
14
+ import {
15
+ gitSpec
16
+ } from "./chunk-4VVQLWTS.js";
17
+ import {
18
+ heavySpec
19
+ } from "./chunk-43MXRTKH.js";
20
+ import {
21
+ waitSpec
22
+ } from "./chunk-F3R5HEUB.js";
23
+ import {
24
+ sessionsSpec
25
+ } from "./chunk-2GZKA33O.js";
26
+ import {
27
+ logsSpec
28
+ } from "./chunk-WZYGM3FR.js";
29
+ import {
30
+ availableSpec,
31
+ installSpec,
32
+ previewSpec,
33
+ syncSpec
34
+ } from "./chunk-WBPVNCQO.js";
35
+ import {
36
+ doctorSpec,
37
+ projectSpec
38
+ } from "./chunk-HF5D6B2U.js";
39
+ import {
40
+ serveSpec
41
+ } from "./chunk-VBVNOLRR.js";
42
+ import {
43
+ indexSpec,
44
+ listSpec,
45
+ modelsSpec,
46
+ validateSpec
47
+ } from "./chunk-7DJQASH3.js";
48
+ import {
49
+ loginSpec,
50
+ logoutSpec,
51
+ whoamiSpec
52
+ } from "./chunk-QYLOIM4U.js";
53
+ import {
54
+ hooksSpec,
55
+ initSpec,
56
+ statusSpec
57
+ } from "./chunk-E2E4HIEN.js";
58
+
59
+ // src/commands/specs/completion.ts
60
+ var completionSpec = {
61
+ name: "completion",
62
+ examples: [
63
+ "pmcp completion bash > ~/.local/share/bash-completion/completions/pmcp",
64
+ 'pmcp completion zsh > "${fpath[1]}/_pmcp"'
65
+ ],
66
+ describe: "Print a shell completion script for bash, zsh or fish",
67
+ usage: "pmcp completion bash | zsh | fish"
68
+ };
69
+
70
+ // src/commands/registry.ts
71
+ var COMMANDS = [
72
+ {
73
+ ...statusSpec,
74
+ load: async () => (await import("./status-LBRK37GA.js")).statusCommand
75
+ },
76
+ { ...initSpec, load: async () => (await import("./init-ALTBFUPP.js")).initCommand },
77
+ { ...hooksSpec, load: async () => (await import("./hooks-V25ANQ4Q.js")).hooksCommand },
78
+ { ...serveSpec, load: async () => (await import("./serve-LR7SJHNH.js")).serveCommand },
79
+ { ...listSpec, load: async () => (await import("./list-LV5EKCF6.js")).listCommand },
80
+ {
81
+ ...indexSpec,
82
+ load: async () => (await import("./reindex-D62HQAN2.js")).indexCommand
83
+ },
84
+ {
85
+ ...modelsSpec,
86
+ load: async () => (await import("./models-XSF45MCD.js")).modelsCommand
87
+ },
88
+ {
89
+ ...loginSpec,
90
+ load: async () => (await import("./session-3YVVO2GR.js")).loginCommand
91
+ },
92
+ {
93
+ ...logoutSpec,
94
+ load: async () => (await import("./session-3YVVO2GR.js")).logoutCommand
95
+ },
96
+ {
97
+ ...whoamiSpec,
98
+ load: async () => (await import("./session-3YVVO2GR.js")).whoamiCommand
99
+ },
100
+ {
101
+ ...availableSpec,
102
+ load: async () => (await import("./available-74CMIBPD.js")).availableCommand
103
+ },
104
+ {
105
+ ...previewSpec,
106
+ load: async () => (await import("./preview-465CQJBQ.js")).previewCommand
107
+ },
108
+ {
109
+ ...installSpec,
110
+ load: async () => (await import("./install-5JH4DSFF.js")).installCommand
111
+ },
112
+ { ...syncSpec, load: async () => (await import("./install-5JH4DSFF.js")).syncCommand },
113
+ {
114
+ ...projectSpec,
115
+ load: async () => (await import("./project-FZGJRG2U.js")).projectCommand
116
+ },
117
+ {
118
+ ...doctorSpec,
119
+ load: async () => (await import("./doctor-3H6UYNEA.js")).doctorCommand
120
+ },
121
+ {
122
+ ...sessionsSpec,
123
+ load: async () => (await import("./cli-GFDT4YXM.js")).sessionsCommand
124
+ },
125
+ { ...logsSpec, load: async () => (await import("./logs-2JEMSNSG.js")).logsCommand },
126
+ { ...gitSpec, load: async () => (await import("./cli-YWV7FLYO.js")).gitCommand },
127
+ {
128
+ ...heavySpec,
129
+ load: async () => (await import("./heavy-BGXKJKYB.js")).heavyCommand
130
+ },
131
+ { ...waitSpec, load: async () => (await import("./wait-HEODT7KV.js")).waitCommand },
132
+ { ...mcpSpec, load: async () => (await import("./mcp-MVQVMAKJ.js")).mcpCommand },
133
+ {
134
+ ...validateSpec,
135
+ load: async () => (await import("./validate-YXR7FJJX.js")).validateCommand
136
+ },
137
+ {
138
+ ...mailboxSpec,
139
+ load: async () => (await import("./mailbox-ZHZWZMAY.js")).mailboxCommand
140
+ },
141
+ {
142
+ ...harnessSpec,
143
+ load: async () => (await import("./harness-GRYTNUF2.js")).harnessCommand
144
+ },
145
+ { ...tuiSpec, load: async () => (await import("./tui-D7E3MD3X.js")).tuiCommand },
146
+ {
147
+ ...marketplaceSpec,
148
+ load: async () => (await import("./marketplace-2X3OOEPW.js")).marketplaceCommand
149
+ },
150
+ {
151
+ ...completionSpec,
152
+ load: async () => (await import("./completion-OKGNN7DE.js")).completionCommand
153
+ }
154
+ ];
155
+ var PLANNED = [];
156
+ function commandNamed(name) {
157
+ return COMMANDS.find((command) => command.name === name);
158
+ }
159
+
160
+ export {
161
+ completionSpec,
162
+ COMMANDS,
163
+ PLANNED,
164
+ commandNamed
165
+ };
166
+ //# sourceMappingURL=chunk-6QJ3F445.js.map
@@ -19,12 +19,12 @@ import {
19
19
  splitKeyed,
20
20
  versionMatches,
21
21
  withoutBlock
22
- } from "./chunk-K2VU3B4W.js";
22
+ } from "./chunk-WQBKQTNT.js";
23
23
  import {
24
24
  lockVersionProblem,
25
25
  readLock,
26
26
  replaceFile
27
- } from "./chunk-733WVP2R.js";
27
+ } from "./chunk-KYGGQPAH.js";
28
28
  import {
29
29
  ProjectError,
30
30
  RULES_DIR,
@@ -273,4 +273,4 @@ export {
273
273
  prepare,
274
274
  checkProject
275
275
  };
276
- //# sourceMappingURL=chunk-7ZOQELXR.js.map
276
+ //# sourceMappingURL=chunk-72V6U7CZ.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ArgumentError,
3
3
  one
4
- } from "./chunk-WFY7ATSZ.js";
4
+ } from "./chunk-Y6NFETNG.js";
5
5
  import {
6
6
  ConfigError,
7
7
  findConfig,
@@ -26,4 +26,4 @@ function configFrom(context) {
26
26
  export {
27
27
  configFrom
28
28
  };
29
- //# sourceMappingURL=chunk-J3QUG6O5.js.map
29
+ //# sourceMappingURL=chunk-7CHUMF3E.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CATALOG_OPTIONS
3
- } from "./chunk-JEL35P7S.js";
3
+ } from "./chunk-5NDUWEMW.js";
4
4
 
5
5
  // src/commands/options/embedding.ts
6
6
  var EMBEDDING_OPTIONS = [
@@ -54,15 +54,24 @@ var EMBEDDING_OPTIONS = [
54
54
  // src/commands/specs/catalog.ts
55
55
  var listSpec = {
56
56
  name: "list",
57
+ examples: ["pmcp list", "pmcp list --scope @acme/ --json"],
57
58
  describe: "List the skills discovered in node_modules and marketplaces",
58
59
  usage: "pmcp list [--root <dir>] [--scope <prefix>] [--marketplace <dir>] [--package <dir>] [--workspace <dir|glob>] [--config <file> | --no-config] [--json]",
59
60
  options: [
60
61
  ...CATALOG_OPTIONS,
61
- { name: "json", describe: "Emit JSON rather than a table.", boolean: true }
62
+ {
63
+ name: "json",
64
+ describe: "Print the result as one JSON envelope on stdout.",
65
+ boolean: true
66
+ }
62
67
  ]
63
68
  };
64
69
  var indexSpec = {
65
70
  name: "index",
71
+ examples: [
72
+ "pmcp index",
73
+ "pmcp index --model embeddinggemma-2 --dtype q4 --dry-run"
74
+ ],
66
75
  describe: "Encode the catalog so ranking can be semantic",
67
76
  usage: "pmcp index [--root <dir>] [--model <id>]",
68
77
  options: [
@@ -76,7 +85,7 @@ var indexSpec = {
76
85
  },
77
86
  {
78
87
  name: "json",
79
- describe: "Emit JSON rather than a summary.",
88
+ describe: "Print the result as one JSON envelope on stdout.",
80
89
  boolean: true
81
90
  },
82
91
  {
@@ -88,19 +97,29 @@ var indexSpec = {
88
97
  };
89
98
  var modelsSpec = {
90
99
  name: "models",
100
+ examples: ["pmcp models", "pmcp models --json"],
91
101
  describe: "List embedding presets without loading or downloading models",
92
102
  usage: "pmcp models [--json]",
93
103
  options: [
94
- { name: "json", describe: "Emit preset metadata as JSON", boolean: true }
104
+ {
105
+ name: "json",
106
+ describe: "Print the result as one JSON envelope on stdout.",
107
+ boolean: true
108
+ }
95
109
  ]
96
110
  };
97
111
  var validateSpec = {
98
112
  name: "validate",
113
+ examples: ["pmcp validate", "pmcp validate ./skills/review --json"],
99
114
  describe: "Check skills against the Agent Skills specification: given directories, or every skill the catalog reaches",
100
115
  usage: "pmcp validate [<skill-dir>...] [--root <dir>] [--marketplace <dir>] [--package <dir>] [--workspace <dir>] [--config <file> | --no-config] [--json]",
101
116
  options: [
102
117
  ...CATALOG_OPTIONS,
103
- { name: "json", describe: "Emit JSON rather than a table.", boolean: true }
118
+ {
119
+ name: "json",
120
+ describe: "Print the result as one JSON envelope on stdout.",
121
+ boolean: true
122
+ }
104
123
  ]
105
124
  };
106
125
 
@@ -111,4 +130,4 @@ export {
111
130
  modelsSpec,
112
131
  validateSpec
113
132
  };
114
- //# sourceMappingURL=chunk-INT7QLEU.js.map
133
+ //# sourceMappingURL=chunk-7DJQASH3.js.map
@@ -0,0 +1,7 @@
1
+ // src/commands/version.ts
2
+ var VERSION = "0.23.1";
3
+
4
+ export {
5
+ VERSION
6
+ };
7
+ //# sourceMappingURL=chunk-7IRXUPM2.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createSkillServer
3
- } from "./chunk-5PNS6V5C.js";
3
+ } from "./chunk-2K4WYN4C.js";
4
4
  import {
5
5
  attachMailbox
6
6
  } from "./chunk-JZKAJUVT.js";
@@ -84,4 +84,4 @@ export {
84
84
  serveWithMailbox,
85
85
  main
86
86
  };
87
- //# sourceMappingURL=chunk-UED3RH53.js.map
87
+ //# sourceMappingURL=chunk-DNSHJIS4.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  assertNativeHost
3
- } from "./chunk-5IZFEVPW.js";
3
+ } from "./chunk-SDQYZDHS.js";
4
4
  import {
5
5
  locateExecutable
6
6
  } from "./chunk-R2GPCZUX.js";
@@ -33,7 +33,7 @@ import {
33
33
  resourceClaim,
34
34
  resourceRunning,
35
35
  runtimeUnit
36
- } from "./chunk-GNVME5AD.js";
36
+ } from "./chunk-LO54UUDE.js";
37
37
  import {
38
38
  command
39
39
  } from "./chunk-34DECPVC.js";
@@ -1981,4 +1981,4 @@ export {
1981
1981
  isReadOnly,
1982
1982
  runOperation
1983
1983
  };
1984
- //# sourceMappingURL=chunk-ISGBOJT7.js.map
1984
+ //# sourceMappingURL=chunk-DZTSCJOZ.js.map