@modootoday/pmcp 0.18.0 → 0.18.3

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 (156) hide show
  1. package/.agents/plugins/marketplace.json +1 -1
  2. package/.claude-plugin/marketplace.json +1 -1
  3. package/.claude-plugin/plugin.json +2 -2
  4. package/.mcp.json +1 -1
  5. package/CONTRIBUTING.md +80 -0
  6. package/README.md +100 -206
  7. package/SECURITY.md +17 -1
  8. package/dist/{apply-4IGTXOCQ.js → apply-S2QI72W3.js} +13 -13
  9. package/dist/{available-DBSIVVJ6.js → available-GFMTJW4E.js} +3 -3
  10. package/dist/{broadcast-3RY3OZGY.js → broadcast-CBMVOV3G.js} +4 -4
  11. package/dist/{chunk-SG5TPMKH.js → chunk-26WLNWDG.js} +2 -2
  12. package/dist/{chunk-4VCC2NXE.js → chunk-2RTRY45B.js} +2 -2
  13. package/dist/{chunk-3NYG4SGU.js → chunk-3MEYKFFO.js} +3 -3
  14. package/dist/{chunk-KMXRRSKT.js → chunk-4CRRLDDS.js} +1 -1
  15. package/dist/{chunk-ZH6R642Z.js → chunk-4GSGT55G.js} +2 -2
  16. package/dist/{chunk-EJBZGIDK.js → chunk-6BN35BHI.js} +3 -3
  17. package/dist/{chunk-T3LKX23M.js → chunk-7B6IC3F7.js} +3 -3
  18. package/dist/{chunk-25GHX674.js → chunk-7DEYLLIE.js} +9 -9
  19. package/dist/{chunk-ELAGZ635.js → chunk-7PTG42QU.js} +5 -5
  20. package/dist/chunk-AF2IBMWN.js +7 -0
  21. package/dist/{chunk-IGYRMM62.js → chunk-CKTN6LKP.js} +2 -2
  22. package/dist/{chunk-PLX3BOOS.js → chunk-E5XVSMBR.js} +2 -2
  23. package/dist/{chunk-Q65R3XKX.js → chunk-EAWPJHJ7.js} +2 -2
  24. package/dist/{chunk-7BLPN3W6.js → chunk-F5LEGPGP.js} +2 -2
  25. package/dist/{chunk-BBTBJCFA.js → chunk-F5WBMUOT.js} +2 -2
  26. package/dist/{chunk-YMHUM7AV.js → chunk-F5XMGOOX.js} +7 -1
  27. package/dist/{chunk-R4L6LJJ2.js → chunk-FX3LTTMB.js} +2 -2
  28. package/dist/{chunk-5QQWS4US.js → chunk-HEBCQTOD.js} +2 -2
  29. package/dist/{chunk-NZS5CD72.js → chunk-HEWZ6INU.js} +21 -5
  30. package/dist/{chunk-MWFOUBFC.js → chunk-HFE4QDJQ.js} +2 -2
  31. package/dist/{chunk-N5AQ3PP7.js → chunk-HQWVGU3W.js} +5 -5
  32. package/dist/{chunk-UOCLRM7P.js → chunk-IIBB37JE.js} +22 -22
  33. package/dist/{chunk-MPSQXSC6.js → chunk-ISZOLR3D.js} +5 -3
  34. package/dist/{chunk-J6QLLQVL.js → chunk-JM2KR2WJ.js} +5 -5
  35. package/dist/{chunk-CJTKR6K6.js → chunk-JZK7ZO7K.js} +2 -2
  36. package/dist/{chunk-RK4PYD7L.js → chunk-LBXO4VPG.js} +2 -2
  37. package/dist/{chunk-BVCTKPT3.js → chunk-LMUBBIE2.js} +2 -2
  38. package/dist/{chunk-Z4HRRXRF.js → chunk-LTZH5E3G.js} +6 -5
  39. package/dist/{chunk-MM2Y43LC.js → chunk-M455QSCW.js} +3 -3
  40. package/dist/{chunk-7GBYECSK.js → chunk-NLHLA2N5.js} +3 -3
  41. package/dist/{chunk-HDMBVLCZ.js → chunk-NWOV2E26.js} +2 -2
  42. package/dist/{chunk-PWSJJXLQ.js → chunk-QK4G7FCU.js} +8 -8
  43. package/dist/{chunk-47O3X4VS.js → chunk-QRCAGKC6.js} +1 -1
  44. package/dist/{chunk-665TA55Z.js → chunk-TAOOPXBV.js} +2 -2
  45. package/dist/{chunk-JUXNIXN4.js → chunk-TZORR6GZ.js} +2 -2
  46. package/dist/{chunk-LAZQBMAU.js → chunk-WM2RF2MI.js} +3 -3
  47. package/dist/{chunk-65ZHM5RH.js → chunk-XJUNAVU2.js} +9 -9
  48. package/dist/{chunk-TNCZ6444.js → chunk-Y2XASHVY.js} +2 -2
  49. package/dist/{cli-VYCQJZ5X.js → cli-MI4ZCAZ3.js} +9 -9
  50. package/dist/{cli-ZTCBSDW4.js → cli-ZN7ZVDEZ.js} +3 -3
  51. package/dist/cli.js +4 -4
  52. package/dist/{completion-E7RRG3ZT.js → completion-GYN7PX3T.js} +3 -3
  53. package/dist/{diagnostics-XXH4FLUG.js → diagnostics-WACXQ33W.js} +6 -6
  54. package/dist/{doctor-ZIOESU3N.js → doctor-VSQ72A6X.js} +13 -13
  55. package/dist/{entry-ZNFCTDVE.js → entry-VFEZC2XB.js} +10 -10
  56. package/dist/{exec-mcp-X6372BLE.js → exec-mcp-TOQEJFK3.js} +8 -8
  57. package/dist/{harness-F2XFDYXF.js → harness-XCEWFGCG.js} +5 -5
  58. package/dist/harness-launch-gate.js +4 -4
  59. package/dist/harness-worker.js +6 -6
  60. package/dist/hook-body.js +7 -6
  61. package/dist/{hooks-FYE2L5RW.js → hooks-32AFBC3Z.js} +3 -3
  62. package/dist/{host-X6BR6X4O.js → host-72OLHUX7.js} +20 -10
  63. package/dist/{host-GRY3VAHH.js → host-TE5PNDHJ.js} +7 -7
  64. package/dist/{host-run-GCA6H6SR.js → host-run-MXCH26ZD.js} +5 -5
  65. package/dist/http.js +5 -5
  66. package/dist/{import-mcp-2TTBPVLY.js → import-mcp-QWGZSIZR.js} +6 -6
  67. package/dist/index.d.ts +1 -1
  68. package/dist/index.js +18 -18
  69. package/dist/{init-627KFXTG.js → init-5M3XWOTJ.js} +2 -2
  70. package/dist/{install-GG7HHZK2.js → install-MQ7QSJQ7.js} +3 -3
  71. package/dist/{invoke-LW22Z6ET.js → invoke-SFSN4XT7.js} +8 -8
  72. package/dist/{list-MCP2FXUF.js → list-FB6RNYYB.js} +3 -3
  73. package/dist/{list-NGMSQ5SH.js → list-FGDUU5DL.js} +8 -8
  74. package/dist/{logout-6CSHUWWE.js → logout-KM5N5GOC.js} +7 -7
  75. package/dist/{logs-SPB6AANY.js → logs-TBUA4UWU.js} +4 -4
  76. package/dist/mailbox/index.js +4 -4
  77. package/dist/{mailbox-GDJ7BWQN.js → mailbox-5DWLH4W2.js} +3 -3
  78. package/dist/{mailbox-7BV54Q4R.js → mailbox-BMTZOSZ7.js} +4 -4
  79. package/dist/{mainline-JQTTYJMI.js → mainline-KAD2ERLP.js} +2 -2
  80. package/dist/{mcp-V23HC3LB.js → mcp-FJ2UQ4RH.js} +2 -2
  81. package/dist/{mcp-2DKVU3SW.js → mcp-ND6ZQWJE.js} +2 -2
  82. package/dist/{pause-FFAYRBWI.js → pause-7LILUVGL.js} +4 -4
  83. package/dist/{project-FY62G55N.js → project-LZKQUV2W.js} +4 -4
  84. package/dist/{reindex-Y27QJFDB.js → reindex-ZULHSQWY.js} +5 -5
  85. package/dist/{resume-UU4HZIUP.js → resume-26VFAAMH.js} +4 -4
  86. package/dist/{run-HALGEJNJ.js → run-X4663F4M.js} +4 -4
  87. package/dist/{run-OGA3P7FC.js → run-YEVGHGTN.js} +7 -7
  88. package/dist/{serve-NBKT5BKY.js → serve-S7MF42SS.js} +12 -12
  89. package/dist/{start-login-UIQYQBMC.js → start-login-GKFGTE2A.js} +7 -7
  90. package/dist/{status-NOOHW5WA.js → status-FYG6XYQ6.js} +7 -7
  91. package/dist/{status-VHODZPXB.js → status-RO55QPKV.js} +4 -4
  92. package/dist/{status-XQANBVXW.js → status-XG5GRWVU.js} +11 -11
  93. package/dist/stdio.js +7 -7
  94. package/dist/{sweep-64JDCGK6.js → sweep-35LGQTTO.js} +4 -4
  95. package/dist/{test-MKAXFJOL.js → test-KFDO6ROC.js} +7 -7
  96. package/dist/{tui-MWKAXE4K.js → tui-2MP7DRIX.js} +5 -5
  97. package/dist/{unbroadcast-KPUEFLZD.js → unbroadcast-5QNGAJR2.js} +4 -4
  98. package/dist/{validate-5GZ5YWNA.js → validate-AVM2VHMM.js} +4 -4
  99. package/dist/{worker-RQ575EJL.js → worker-3VS6RQEL.js} +8 -8
  100. package/docs/authoring.md +82 -0
  101. package/docs/browser-and-desktop.md +46 -0
  102. package/docs/commands.md +325 -0
  103. package/docs/compare.md +35 -0
  104. package/docs/compatibility.md +56 -0
  105. package/docs/embeddings.md +1 -1
  106. package/docs/getting-started.md +105 -0
  107. package/docs/git-workflow.md +60 -0
  108. package/docs/glossary.md +31 -0
  109. package/docs/hooks.md +264 -0
  110. package/docs/install.md +72 -0
  111. package/docs/known-issues.md +17 -0
  112. package/docs/library-skills.md +132 -0
  113. package/docs/mailbox.md +16 -5
  114. package/docs/project-configuration.md +51 -386
  115. package/docs/sessions.md +64 -0
  116. package/docs/skills.md +4 -45
  117. package/docs/terminal-harness.md +26 -21
  118. package/docs/terminal-workspace.md +4 -13
  119. package/docs/upgrading.md +23 -0
  120. package/gemini-extension.json +2 -2
  121. package/mcp.json +1 -1
  122. package/package.json +8 -7
  123. package/plugin.json +2 -2
  124. package/plugins/pmcp/.claude-plugin/plugin.json +2 -2
  125. package/plugins/pmcp/.mcp.json +1 -1
  126. package/plugins/pmcp/gemini-extension.json +2 -2
  127. package/plugins/pmcp/mcp.json +1 -1
  128. package/plugins/pmcp/mod/sessions/types.ts +1 -1
  129. package/plugins/pmcp/plugin.json +2 -2
  130. package/plugins/pmcp/skills/agent-assets-migrate/SKILL.md +8 -8
  131. package/plugins/pmcp/skills/headless-agents-ci-scaffold/SKILL.md +12 -11
  132. package/plugins/pmcp/skills/marketplace-plugin-scaffold/SKILL.md +10 -8
  133. package/plugins/pmcp/skills/package-skill-catalog/SKILL.md +0 -4
  134. package/plugins/pmcp/skills/pmcp-browser/SKILL.md +27 -0
  135. package/plugins/pmcp/skills/pmcp-desktop/SKILL.md +25 -0
  136. package/plugins/pmcp/skills/pmcp-project-init/SKILL.md +19 -11
  137. package/plugins/pmcp/skills/pmcp-sessions-and-git/SKILL.md +20 -28
  138. package/plugins/pmcp/skills/skill-package-scaffold/SKILL.md +16 -15
  139. package/schema/catalog-v1.json +36 -7
  140. package/schema/library.json +40 -8
  141. package/schema/marketplace-manifest.json +19 -5
  142. package/schema/plugin-manifest.json +6 -2
  143. package/schema/skill-frontmatter.json +33 -7
  144. package/schema/skill-metadata-core.json +26 -5
  145. package/skills/agent-assets-migrate/SKILL.md +8 -8
  146. package/skills/headless-agents-ci-scaffold/SKILL.md +12 -11
  147. package/skills/marketplace-plugin-scaffold/SKILL.md +10 -8
  148. package/skills/package-skill-catalog/SKILL.md +0 -4
  149. package/skills/pmcp-browser/SKILL.md +27 -0
  150. package/skills/pmcp-desktop/SKILL.md +25 -0
  151. package/skills/pmcp-project-init/SKILL.md +19 -11
  152. package/skills/pmcp-sessions-and-git/SKILL.md +20 -28
  153. package/skills/skill-package-scaffold/SKILL.md +16 -15
  154. package/CHANGELOG.md +0 -60
  155. package/dist/chunk-E7OOHLQR.js +0 -7
  156. package/docs/manual-library-skills.md +0 -74
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createFilesStore
3
- } from "./chunk-Z4HRRXRF.js";
3
+ } from "./chunk-LTZH5E3G.js";
4
4
  import {
5
5
  projectStateDir
6
6
  } from "./chunk-OEH47H6A.js";
@@ -90,4 +90,4 @@ export {
90
90
  readStoreSettings,
91
91
  openStore
92
92
  };
93
- //# sourceMappingURL=chunk-SG5TPMKH.js.map
93
+ //# sourceMappingURL=chunk-26WLNWDG.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  nativeBinary,
3
3
  readLock
4
- } from "./chunk-665TA55Z.js";
4
+ } from "./chunk-TAOOPXBV.js";
5
5
 
6
6
  // src/project/host.ts
7
7
  import { createHash } from "crypto";
@@ -101,4 +101,4 @@ export {
101
101
  ptyBinaryDoctor,
102
102
  hostDoctor
103
103
  };
104
- //# sourceMappingURL=chunk-4VCC2NXE.js.map
104
+ //# sourceMappingURL=chunk-2RTRY45B.js.map
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-5ZABTVSW.js";
4
4
  import {
5
5
  dependencies
6
- } from "./chunk-LAZQBMAU.js";
6
+ } from "./chunk-WM2RF2MI.js";
7
7
  import {
8
8
  interactiveEntry
9
9
  } from "./chunk-LMT3PPXJ.js";
10
10
  import {
11
11
  assertNativeHost
12
- } from "./chunk-MWFOUBFC.js";
12
+ } from "./chunk-HFE4QDJQ.js";
13
13
 
14
14
  // src/tui/startup/host.ts
15
15
  function terminalSupport() {
@@ -42,4 +42,4 @@ export {
42
42
  terminalSupport,
43
43
  requireTerminal
44
44
  };
45
- //# sourceMappingURL=chunk-3NYG4SGU.js.map
45
+ //# sourceMappingURL=chunk-3MEYKFFO.js.map
@@ -657,4 +657,4 @@ export {
657
657
  withoutBody,
658
658
  displayPath
659
659
  };
660
- //# sourceMappingURL=chunk-KMXRRSKT.js.map
660
+ //# sourceMappingURL=chunk-4CRRLDDS.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HOST_MANIFEST,
3
3
  HOST_POLICY
4
- } from "./chunk-4VCC2NXE.js";
4
+ } from "./chunk-2RTRY45B.js";
5
5
  import {
6
6
  projectStateDir
7
7
  } from "./chunk-OEH47H6A.js";
@@ -99,4 +99,4 @@ export {
99
99
  hostApprovalDoctor,
100
100
  writeApproval
101
101
  };
102
- //# sourceMappingURL=chunk-ZH6R642Z.js.map
102
+ //# sourceMappingURL=chunk-4GSGT55G.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  assertNativeHost
3
- } from "./chunk-MWFOUBFC.js";
3
+ } from "./chunk-HFE4QDJQ.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-R4L6LJJ2.js";
36
+ } from "./chunk-FX3LTTMB.js";
37
37
  import {
38
38
  command
39
39
  } from "./chunk-34DECPVC.js";
@@ -1931,4 +1931,4 @@ export {
1931
1931
  isReadOnly,
1932
1932
  runOperation
1933
1933
  };
1934
- //# sourceMappingURL=chunk-EJBZGIDK.js.map
1934
+ //# sourceMappingURL=chunk-6BN35BHI.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  catalogFrom,
3
3
  rootsFrom
4
- } from "./chunk-5QQWS4US.js";
4
+ } from "./chunk-HEBCQTOD.js";
5
5
  import {
6
6
  configFrom
7
7
  } from "./chunk-7DLZC73N.js";
@@ -16,7 +16,7 @@ import {
16
16
  import {
17
17
  loadEmbedder,
18
18
  openEntryVectors
19
- } from "./chunk-MPSQXSC6.js";
19
+ } from "./chunk-ISZOLR3D.js";
20
20
  import {
21
21
  resolveEncoder
22
22
  } from "./chunk-PMJG2CXF.js";
@@ -165,4 +165,4 @@ export {
165
165
  indexPath,
166
166
  indexCommand
167
167
  };
168
- //# sourceMappingURL=chunk-T3LKX23M.js.map
168
+ //# sourceMappingURL=chunk-7B6IC3F7.js.map
@@ -11,15 +11,15 @@ import {
11
11
  readFrontmatterText,
12
12
  specProblems,
13
13
  withoutBody
14
- } from "./chunk-KMXRRSKT.js";
14
+ } from "./chunk-4CRRLDDS.js";
15
15
  import {
16
16
  registerMailboxTools
17
- } from "./chunk-TNCZ6444.js";
17
+ } from "./chunk-Y2XASHVY.js";
18
18
  import {
19
19
  RUNTIMES,
20
20
  detectRuntime,
21
21
  verifiedRuntimesOf
22
- } from "./chunk-47O3X4VS.js";
22
+ } from "./chunk-QRCAGKC6.js";
23
23
 
24
24
  // src/find.ts
25
25
  import { createHash } from "crypto";
@@ -1062,7 +1062,7 @@ function registerCallTool(server, tools) {
1062
1062
  "skill_call",
1063
1063
  {
1064
1064
  ...readOnlyTool("Read a skill"),
1065
- description: "The body of a single skill, by the name skill_find or skill_catalog returned, followed by the list of reference, script and asset files the skill carries, if any, as text; skill_read returns one of them and skill_bundle links them all. This is the only call that costs a document.",
1065
+ description: "The body of a single skill, by the name skill_find or skill_catalog returned, followed by the list of reference, script and asset files the skill carries, if any, as text; skill_read returns one of them and skill_bundle links them all. It loads the full instructions into context, so call it only for the one or two skills you chose.",
1066
1066
  inputSchema: z6.object({
1067
1067
  name: z6.string().min(1).describe("The skill name, as <package>/<slug>.")
1068
1068
  })
@@ -1086,7 +1086,7 @@ function registerCatalogTool(server, tools) {
1086
1086
  "skill_catalog",
1087
1087
  {
1088
1088
  ...readOnlyTool("List skills"),
1089
- description: "Every skill the installed packages and marketplaces ship, grouped by package or plugin, with names, one-line descriptions and tier, and no bodies. Paged by group. With kind it lists agents, hooks or MCP servers instead. Items list the runtimes they were verified on (verifiedRuntimes). With runtime, verified items are marked and listed first within their group but the others are kept; verifiedOnly drops the unverified ones.",
1089
+ description: "Browse the whole catalog page by page; use it when skill_find returned nothing useful or to see what exists. Every skill the installed packages and marketplaces ship, grouped by package or plugin, with names, one-line descriptions and tier, and no bodies. Paged by group. With kind it lists agents, hooks or MCP servers instead. Items list the runtimes they were verified on (verifiedRuntimes). With runtime, verified items are marked and listed first within their group but the others are kept; verifiedOnly drops the unverified ones.",
1090
1090
  inputSchema: z7.object({
1091
1091
  page: z7.number().int().min(1).optional(),
1092
1092
  pageSize: z7.number().int().min(1).max(20).optional(),
@@ -1131,7 +1131,7 @@ function registerFindTool(server, tools) {
1131
1131
  "skill_find",
1132
1132
  {
1133
1133
  ...readOnlyTool("Find skills"),
1134
- description: "Skill names ranked against an intent, with descriptions and scores, and no bodies. The ranking compares the intent with skill descriptions, so a full sentence matches better than a single keyword. Each match lists the runtimes it was verified on (verifiedRuntimes). With runtime, verified matches are marked and listed first but the others are kept; verifiedOnly drops the unverified ones. The answer's runtime is the one the ordering used, or null.",
1134
+ description: "Search the skill catalog; call this first when a task might have a skill. Describe the task in a full sentence: the ranking compares it with skill descriptions, so a sentence matches better than a keyword. Returns skill names with descriptions and scores, no bodies; then call skill_call with one returned name. Not for listing everything (use skill_catalog). Each match lists the runtimes it was verified on (verifiedRuntimes). With runtime, verified matches are marked and listed first but the others are kept; verifiedOnly drops the unverified ones. The answer's runtime is the one the ordering used, or null.",
1135
1135
  inputSchema: z9.object({
1136
1136
  intent: z9.string().min(1).max(256).describe("What the task is, as a sentence."),
1137
1137
  limit: z9.number().int().min(1).max(25).optional(),
@@ -1166,7 +1166,7 @@ function registerReadTool(server, tools) {
1166
1166
  "skill_read",
1167
1167
  {
1168
1168
  ...readOnlyTool("Read a skill file"),
1169
- description: "One file inside a skill's directory in this catalog, with its sha256 and media type: text as text, images and audio as image and audio content, other binary files as an embedded resource. path is relative to the skill, as skill_call, skill_bundle and skill_describe list it (layout: https://pmcp.build). Scripts are returned as content, never run, and no external API is called. Files over 256 KiB and paths outside the skill are refused.",
1169
+ description: "One file inside a skill's directory in this catalog, with its sha256 and media type: text as text, images and audio as image and audio content, other binary files as an embedded resource. path is relative to the skill, as skill_call, skill_bundle and skill_describe list it. Scripts are returned as content, never run, and no external API is called. Files over 256 KiB and paths outside the skill are refused.",
1170
1170
  inputSchema: z10.object({
1171
1171
  name: skillNameInput,
1172
1172
  path: z10.string().min(1).optional().describe(
@@ -1190,7 +1190,7 @@ function registerReadTool(server, tools) {
1190
1190
 
1191
1191
  // src/mcp.ts
1192
1192
  var SERVER_NAME = "pmcp";
1193
- var SERVER_VERSION = "0.18.0";
1193
+ var SERVER_VERSION = "0.18.3";
1194
1194
  function registerSkillTools(server, tools) {
1195
1195
  registerCatalogTool(server, tools);
1196
1196
  registerFindTool(server, tools);
@@ -1243,4 +1243,4 @@ export {
1243
1243
  registerSkillTools,
1244
1244
  createSkillServer
1245
1245
  };
1246
- //# sourceMappingURL=chunk-25GHX674.js.map
1246
+ //# sourceMappingURL=chunk-7DEYLLIE.js.map
@@ -7,20 +7,20 @@ import {
7
7
  observeSession,
8
8
  openGroup,
9
9
  runOperation
10
- } from "./chunk-EJBZGIDK.js";
10
+ } from "./chunk-6BN35BHI.js";
11
11
  import {
12
12
  nativeHostTools
13
- } from "./chunk-MWFOUBFC.js";
13
+ } from "./chunk-HFE4QDJQ.js";
14
14
  import {
15
15
  locateExecutable
16
16
  } from "./chunk-R2GPCZUX.js";
17
17
  import {
18
18
  artifact,
19
19
  stateDirectory
20
- } from "./chunk-R4L6LJJ2.js";
20
+ } from "./chunk-FX3LTTMB.js";
21
21
  import {
22
22
  ptyBinary
23
- } from "./chunk-4VCC2NXE.js";
23
+ } from "./chunk-2RTRY45B.js";
24
24
  import {
25
25
  GroupStore,
26
26
  privateJson
@@ -249,4 +249,4 @@ async function invoke(operation) {
249
249
  export {
250
250
  invoke
251
251
  };
252
- //# sourceMappingURL=chunk-ELAGZ635.js.map
252
+ //# sourceMappingURL=chunk-7PTG42QU.js.map
@@ -0,0 +1,7 @@
1
+ // src/commands/version.ts
2
+ var VERSION = "0.18.3";
3
+
4
+ export {
5
+ VERSION
6
+ };
7
+ //# sourceMappingURL=chunk-AF2IBMWN.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-7DLZC73N.js";
4
4
  import {
5
5
  readSpec
6
- } from "./chunk-65ZHM5RH.js";
6
+ } from "./chunk-XJUNAVU2.js";
7
7
  import {
8
8
  ArgumentError
9
9
  } from "./chunk-A4PKLESO.js";
@@ -25,4 +25,4 @@ function serverFrom(context) {
25
25
  export {
26
26
  serverFrom
27
27
  };
28
- //# sourceMappingURL=chunk-IGYRMM62.js.map
28
+ //# sourceMappingURL=chunk-CKTN6LKP.js.map
@@ -2,7 +2,7 @@ import {
2
2
  MARK,
3
3
  blockOutput,
4
4
  jsonOutput
5
- } from "./chunk-65ZHM5RH.js";
5
+ } from "./chunk-XJUNAVU2.js";
6
6
  import {
7
7
  ProjectError
8
8
  } from "./chunk-NRBQK6UX.js";
@@ -393,4 +393,4 @@ export {
393
393
  serversForTool,
394
394
  mcpOutputs
395
395
  };
396
- //# sourceMappingURL=chunk-PLX3BOOS.js.map
396
+ //# sourceMappingURL=chunk-E5XVSMBR.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-HQOB7OQS.js";
6
6
  import {
7
7
  readStoreSettings
8
- } from "./chunk-SG5TPMKH.js";
8
+ } from "./chunk-26WLNWDG.js";
9
9
  import {
10
10
  expandPath,
11
11
  projectStateDir
@@ -152,4 +152,4 @@ export {
152
152
  tail,
153
153
  logLocation
154
154
  };
155
- //# sourceMappingURL=chunk-Q65R3XKX.js.map
155
+ //# sourceMappingURL=chunk-EAWPJHJ7.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-7DLZC73N.js";
4
4
  import {
5
5
  readSpec
6
- } from "./chunk-65ZHM5RH.js";
6
+ } from "./chunk-XJUNAVU2.js";
7
7
  import {
8
8
  ArgumentError
9
9
  } from "./chunk-A4PKLESO.js";
@@ -28,4 +28,4 @@ function specFrom(context) {
28
28
  export {
29
29
  specFrom
30
30
  };
31
- //# sourceMappingURL=chunk-7BLPN3W6.js.map
31
+ //# sourceMappingURL=chunk-F5LEGPGP.js.map
@@ -2,7 +2,7 @@ import {
2
2
  expandBraces,
3
3
  globDirs,
4
4
  workspacePackageDirs
5
- } from "./chunk-KMXRRSKT.js";
5
+ } from "./chunk-4CRRLDDS.js";
6
6
 
7
7
  // src/installed.ts
8
8
  import { existsSync, readFileSync } from "fs";
@@ -377,4 +377,4 @@ export {
377
377
  matchingSkills,
378
378
  planInstall
379
379
  };
380
- //# sourceMappingURL=chunk-BBTBJCFA.js.map
380
+ //# sourceMappingURL=chunk-F5WBMUOT.js.map
@@ -5,6 +5,11 @@ function unsupportedHost(platform = process.platform) {
5
5
  return "Windows is not supported yet: pmcp harness, pmcp tui and pmcp-pty run on Linux and macOS";
6
6
  return `${platform} is not supported yet: pmcp harness, pmcp tui and pmcp-pty run on Linux and macOS`;
7
7
  }
8
+ function hostVerbUnsupported(verb, platform = process.platform) {
9
+ if (platform === "linux" || verb !== "up" && verb !== "unit")
10
+ return void 0;
11
+ return `pmcp harness host ${verb} needs Linux with a user systemd manager; on macOS use pmcp tui or a harness group instead`;
12
+ }
8
13
  function unsupportedReceipt(hint) {
9
14
  return {
10
15
  schemaVersion: 1,
@@ -17,6 +22,7 @@ function unsupportedReceipt(hint) {
17
22
 
18
23
  export {
19
24
  unsupportedHost,
25
+ hostVerbUnsupported,
20
26
  unsupportedReceipt
21
27
  };
22
- //# sourceMappingURL=chunk-YMHUM7AV.js.map
28
+ //# sourceMappingURL=chunk-F5XMGOOX.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-34DECPVC.js";
4
4
  import {
5
5
  ptyBinary
6
- } from "./chunk-4VCC2NXE.js";
6
+ } from "./chunk-2RTRY45B.js";
7
7
  import {
8
8
  GroupStore,
9
9
  egressPolicy,
@@ -775,4 +775,4 @@ export {
775
775
  prepareBridge,
776
776
  assertBridge
777
777
  };
778
- //# sourceMappingURL=chunk-R4L6LJJ2.js.map
778
+ //# sourceMappingURL=chunk-FX3LTTMB.js.map
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-A4PKLESO.js";
10
10
  import {
11
11
  readCatalog
12
- } from "./chunk-KMXRRSKT.js";
12
+ } from "./chunk-4CRRLDDS.js";
13
13
 
14
14
  // src/commands/roots.ts
15
15
  function rootsFrom(context) {
@@ -50,4 +50,4 @@ export {
50
50
  catalogOptionsFrom,
51
51
  catalogFrom
52
52
  };
53
- //# sourceMappingURL=chunk-5QQWS4US.js.map
53
+ //# sourceMappingURL=chunk-HEBCQTOD.js.map
@@ -3,7 +3,7 @@ import {
3
3
  frontmatterObject,
4
4
  readCatalog,
5
5
  specProblems
6
- } from "./chunk-KMXRRSKT.js";
6
+ } from "./chunk-4CRRLDDS.js";
7
7
 
8
8
  // src/validate.ts
9
9
  import { existsSync as existsSync3, readFileSync as readFileSync3, statSync as statSync2 } from "fs";
@@ -96,6 +96,9 @@ var skillMetadataCore = z.looseObject({
96
96
  deprecated: true,
97
97
  description: "Inherited from marketplace metadata.tier; repeated skill tiers warn."
98
98
  }).optional()
99
+ }).meta({
100
+ title: "Skill metadata",
101
+ description: "The metadata map of a SKILL.md frontmatter: catalog fields pmcp reads (level, domain, install, keywords and the rest)."
99
102
  });
100
103
  var skillFrontmatter = z.looseObject({
101
104
  name: z.string().min(1),
@@ -104,6 +107,9 @@ var skillFrontmatter = z.looseObject({
104
107
  compatibility: z.string().optional(),
105
108
  "allowed-tools": z.union([z.string(), strings]).optional(),
106
109
  metadata: skillMetadataCore.optional()
110
+ }).meta({
111
+ title: "SKILL.md frontmatter",
112
+ description: "The Agent Skills frontmatter pmcp validate checks: name, description and the optional fields."
107
113
  });
108
114
  var manifestFields = {
109
115
  tier: z.never().optional(),
@@ -114,7 +120,10 @@ var manifestFields = {
114
120
  renames: z.record(z.string().min(1), z.string().min(1).nullable()).optional(),
115
121
  interface: z.looseObject({ displayName: z.string().min(1).optional() }).optional()
116
122
  };
117
- var pluginManifest = z.looseObject(manifestFields);
123
+ var pluginManifest = z.looseObject(manifestFields).meta({
124
+ title: "Plugin manifest",
125
+ description: "A native plugin manifest as pmcp reads it from a marketplace."
126
+ });
118
127
  var marketplaceManifest = z.looseObject({
119
128
  ...manifestFields,
120
129
  metadata: z.looseObject({
@@ -123,6 +132,9 @@ var marketplaceManifest = z.looseObject({
123
132
  version: version.optional()
124
133
  }).optional(),
125
134
  plugins: z.array(pluginManifest)
135
+ }).meta({
136
+ title: "Marketplace manifest",
137
+ description: "A native plugin marketplace manifest and the plugins it lists."
126
138
  });
127
139
  function skillDuplicationWarnings(metadata, pluginVersion) {
128
140
  const warnings = [];
@@ -157,6 +169,9 @@ var catalogV1 = skillFrontmatter.extend({
157
169
  name: kebab,
158
170
  description: z2.string().min(40),
159
171
  metadata: catalogMetadata
172
+ }).meta({
173
+ title: "Catalog skill frontmatter",
174
+ description: 'The SKILL.md frontmatter of a marketplace catalog skill: [catalog.validation] profile = "catalog-v1".'
160
175
  });
161
176
 
162
177
  // src/metadata/profiles/catalog-v1/frontmatter.ts
@@ -236,8 +251,9 @@ var libraryMetadata = skillMetadataCore.extend({
236
251
  "selected-version": z3.string().min(1).optional(),
237
252
  loading: z3.enum(["manual", "automatic"]).optional()
238
253
  });
239
- var libraryProfile = skillFrontmatter.extend({
240
- metadata: libraryMetadata.optional()
254
+ var libraryProfile = skillFrontmatter.extend({ metadata: libraryMetadata.optional() }).meta({
255
+ title: "Library skill frontmatter",
256
+ description: 'The SKILL.md frontmatter of a library skill: [catalog.validation] profile = "library".'
241
257
  });
242
258
 
243
259
  // src/validate/profile.ts
@@ -330,4 +346,4 @@ export {
330
346
  validateSkillDir,
331
347
  validateCatalog
332
348
  };
333
- //# sourceMappingURL=chunk-NZS5CD72.js.map
349
+ //# sourceMappingURL=chunk-HEWZ6INU.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-34DECPVC.js";
7
7
  import {
8
8
  ptyBinary
9
- } from "./chunk-4VCC2NXE.js";
9
+ } from "./chunk-2RTRY45B.js";
10
10
 
11
11
  // src/harness/adapters/systemd/admission.ts
12
12
  var nativeHostTools = ["systemctl", "systemd-run"];
@@ -36,4 +36,4 @@ export {
36
36
  nativeHostTools,
37
37
  assertNativeHost
38
38
  };
39
- //# sourceMappingURL=chunk-MWFOUBFC.js.map
39
+ //# sourceMappingURL=chunk-HFE4QDJQ.js.map
@@ -8,10 +8,10 @@ import {
8
8
  prepare,
9
9
  present,
10
10
  writeNative
11
- } from "./chunk-J6QLLQVL.js";
11
+ } from "./chunk-JM2KR2WJ.js";
12
12
  import {
13
13
  ANTIGRAVITY_MCP_PLUGIN
14
- } from "./chunk-PLX3BOOS.js";
14
+ } from "./chunk-E5XVSMBR.js";
15
15
  import {
16
16
  changedSincePlan,
17
17
  exists,
@@ -22,7 +22,7 @@ import {
22
22
  same,
23
23
  splitKeyed,
24
24
  withoutBlock
25
- } from "./chunk-65ZHM5RH.js";
25
+ } from "./chunk-XJUNAVU2.js";
26
26
  import {
27
27
  RULES_DIR,
28
28
  legacyLinks
@@ -32,7 +32,7 @@ import {
32
32
  replaceFile,
33
33
  replaceLink,
34
34
  writeLock
35
- } from "./chunk-665TA55Z.js";
35
+ } from "./chunk-TAOOPXBV.js";
36
36
 
37
37
  // src/project/apply/files.ts
38
38
  import { mkdirSync } from "fs";
@@ -208,4 +208,4 @@ function project(spec, options) {
208
208
  export {
209
209
  project
210
210
  };
211
- //# sourceMappingURL=chunk-N5AQ3PP7.js.map
211
+ //# sourceMappingURL=chunk-HQWVGU3W.js.map
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-T6GOWHK6.js";
20
20
  import {
21
21
  sessionsSpec
22
- } from "./chunk-BVCTKPT3.js";
22
+ } from "./chunk-LMUBBIE2.js";
23
23
  import {
24
24
  doctorSpec,
25
25
  projectSpec
@@ -61,15 +61,15 @@ var completionSpec = {
61
61
  var COMMANDS = [
62
62
  {
63
63
  ...statusSpec,
64
- load: async () => (await import("./status-XQANBVXW.js")).statusCommand
64
+ load: async () => (await import("./status-XG5GRWVU.js")).statusCommand
65
65
  },
66
- { ...initSpec, load: async () => (await import("./init-627KFXTG.js")).initCommand },
67
- { ...hooksSpec, load: async () => (await import("./hooks-FYE2L5RW.js")).hooksCommand },
68
- { ...serveSpec, load: async () => (await import("./serve-NBKT5BKY.js")).serveCommand },
69
- { ...listSpec, load: async () => (await import("./list-MCP2FXUF.js")).listCommand },
66
+ { ...initSpec, load: async () => (await import("./init-5M3XWOTJ.js")).initCommand },
67
+ { ...hooksSpec, load: async () => (await import("./hooks-32AFBC3Z.js")).hooksCommand },
68
+ { ...serveSpec, load: async () => (await import("./serve-S7MF42SS.js")).serveCommand },
69
+ { ...listSpec, load: async () => (await import("./list-FB6RNYYB.js")).listCommand },
70
70
  {
71
71
  ...indexSpec,
72
- load: async () => (await import("./reindex-Y27QJFDB.js")).indexCommand
72
+ load: async () => (await import("./reindex-ZULHSQWY.js")).indexCommand
73
73
  },
74
74
  {
75
75
  ...modelsSpec,
@@ -89,7 +89,7 @@ var COMMANDS = [
89
89
  },
90
90
  {
91
91
  ...availableSpec,
92
- load: async () => (await import("./available-DBSIVVJ6.js")).availableCommand
92
+ load: async () => (await import("./available-GFMTJW4E.js")).availableCommand
93
93
  },
94
94
  {
95
95
  ...previewSpec,
@@ -97,44 +97,44 @@ var COMMANDS = [
97
97
  },
98
98
  {
99
99
  ...installSpec,
100
- load: async () => (await import("./install-GG7HHZK2.js")).installCommand
100
+ load: async () => (await import("./install-MQ7QSJQ7.js")).installCommand
101
101
  },
102
- { ...syncSpec, load: async () => (await import("./install-GG7HHZK2.js")).syncCommand },
102
+ { ...syncSpec, load: async () => (await import("./install-MQ7QSJQ7.js")).syncCommand },
103
103
  {
104
104
  ...projectSpec,
105
- load: async () => (await import("./project-FY62G55N.js")).projectCommand
105
+ load: async () => (await import("./project-LZKQUV2W.js")).projectCommand
106
106
  },
107
107
  {
108
108
  ...doctorSpec,
109
- load: async () => (await import("./doctor-ZIOESU3N.js")).doctorCommand
109
+ load: async () => (await import("./doctor-VSQ72A6X.js")).doctorCommand
110
110
  },
111
111
  {
112
112
  ...sessionsSpec,
113
- load: async () => (await import("./cli-VYCQJZ5X.js")).sessionsCommand
113
+ load: async () => (await import("./cli-MI4ZCAZ3.js")).sessionsCommand
114
114
  },
115
- { ...logsSpec, load: async () => (await import("./logs-SPB6AANY.js")).logsCommand },
116
- { ...gitSpec, load: async () => (await import("./cli-ZTCBSDW4.js")).gitCommand },
117
- { ...mcpSpec, load: async () => (await import("./mcp-2DKVU3SW.js")).mcpCommand },
115
+ { ...logsSpec, load: async () => (await import("./logs-TBUA4UWU.js")).logsCommand },
116
+ { ...gitSpec, load: async () => (await import("./cli-ZN7ZVDEZ.js")).gitCommand },
117
+ { ...mcpSpec, load: async () => (await import("./mcp-ND6ZQWJE.js")).mcpCommand },
118
118
  {
119
119
  ...validateSpec,
120
- load: async () => (await import("./validate-5GZ5YWNA.js")).validateCommand
120
+ load: async () => (await import("./validate-AVM2VHMM.js")).validateCommand
121
121
  },
122
122
  {
123
123
  ...mailboxSpec,
124
- load: async () => (await import("./mailbox-GDJ7BWQN.js")).mailboxCommand
124
+ load: async () => (await import("./mailbox-5DWLH4W2.js")).mailboxCommand
125
125
  },
126
126
  {
127
127
  ...harnessSpec,
128
- load: async () => (await import("./harness-F2XFDYXF.js")).harnessCommand
128
+ load: async () => (await import("./harness-XCEWFGCG.js")).harnessCommand
129
129
  },
130
- { ...tuiSpec, load: async () => (await import("./tui-MWKAXE4K.js")).tuiCommand },
130
+ { ...tuiSpec, load: async () => (await import("./tui-2MP7DRIX.js")).tuiCommand },
131
131
  {
132
132
  ...marketplaceSpec,
133
133
  load: async () => (await import("./marketplace-G4VQET5W.js")).marketplaceCommand
134
134
  },
135
135
  {
136
136
  ...completionSpec,
137
- load: async () => (await import("./completion-E7RRG3ZT.js")).completionCommand
137
+ load: async () => (await import("./completion-GYN7PX3T.js")).completionCommand
138
138
  }
139
139
  ];
140
140
  var PLANNED = [];
@@ -148,4 +148,4 @@ export {
148
148
  PLANNED,
149
149
  commandNamed
150
150
  };
151
- //# sourceMappingURL=chunk-UOCLRM7P.js.map
151
+ //# sourceMappingURL=chunk-IIBB37JE.js.map
@@ -317,12 +317,14 @@ async function openEntryVectors(path, options = {}) {
317
317
  return out;
318
318
  },
319
319
  write(modelId, name, description, vector) {
320
- db.prepare(`INSERT INTO entry_vector (name, model_id, dims, description_hash, vector)
320
+ db.prepare(
321
+ `INSERT INTO entry_vector (name, model_id, dims, description_hash, vector)
321
322
  VALUES (?, ?, ?, ?, ?)
322
323
  ON CONFLICT(name, model_id) DO UPDATE SET
323
324
  dims = excluded.dims,
324
325
  description_hash = excluded.description_hash,
325
- vector = excluded.vector`).run(
326
+ vector = excluded.vector`
327
+ ).run(
326
328
  name,
327
329
  modelId,
328
330
  vector.length,
@@ -343,4 +345,4 @@ export {
343
345
  encodeEntries,
344
346
  openEntryVectors
345
347
  };
346
- //# sourceMappingURL=chunk-MPSQXSC6.js.map
348
+ //# sourceMappingURL=chunk-ISZOLR3D.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  OPENCODE_CONFIG,
3
3
  mcpOutputs
4
- } from "./chunk-PLX3BOOS.js";
4
+ } from "./chunk-E5XVSMBR.js";
5
5
  import {
6
6
  MARK,
7
7
  NATIVE_HOOK_FILES,
@@ -25,7 +25,7 @@ import {
25
25
  splitKeyed,
26
26
  uiClaudeOutputs,
27
27
  withoutBlock
28
- } from "./chunk-65ZHM5RH.js";
28
+ } from "./chunk-XJUNAVU2.js";
29
29
  import {
30
30
  ProjectError,
31
31
  RULES_DIR,
@@ -37,12 +37,12 @@ import {
37
37
  } from "./chunk-73AKO4UL.js";
38
38
  import {
39
39
  hostOutputs
40
- } from "./chunk-4VCC2NXE.js";
40
+ } from "./chunk-2RTRY45B.js";
41
41
  import {
42
42
  lockVersionProblem,
43
43
  readLock,
44
44
  replaceFile
45
- } from "./chunk-665TA55Z.js";
45
+ } from "./chunk-TAOOPXBV.js";
46
46
  import {
47
47
  CODEX_PLUGIN_LIST,
48
48
  claudeSettings,
@@ -1022,4 +1022,4 @@ export {
1022
1022
  prepare,
1023
1023
  checkProject
1024
1024
  };
1025
- //# sourceMappingURL=chunk-J6QLLQVL.js.map
1025
+ //# sourceMappingURL=chunk-JM2KR2WJ.js.map