@modootoday/pmcp 0.28.1 → 0.29.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 (77) 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/{apply-6ORDPVZS.js → apply-AWK3VSKC.js} +9 -9
  6. package/dist/{chunk-IQYJWLGX.js → chunk-276S5Y6T.js} +2 -2
  7. package/dist/{chunk-Q7HMO7JX.js → chunk-2J3A24NC.js} +2 -2
  8. package/dist/{chunk-C7VIQJLF.js → chunk-3H7MYRD7.js} +2 -2
  9. package/dist/{chunk-7J25NFM6.js → chunk-5RV2OY4J.js} +2 -2
  10. package/dist/{chunk-4ZB5NJZA.js → chunk-5WAMDZHF.js} +6 -3
  11. package/dist/{chunk-45EC3JVG.js → chunk-63RCO6N2.js} +4 -4
  12. package/dist/{chunk-4G6LXAM4.js → chunk-7AGQNGGC.js} +13 -13
  13. package/dist/{chunk-MPH7BQON.js → chunk-7Q2AEC7I.js} +4 -4
  14. package/dist/{chunk-5KE3B5TO.js → chunk-AA7GECNR.js} +2 -2
  15. package/dist/{chunk-N6Q2QB2H.js → chunk-AOBUE2LQ.js} +2 -2
  16. package/dist/{chunk-Q2UBBZSD.js → chunk-CZSFYP3N.js} +3 -3
  17. package/dist/{chunk-6FUUX5WO.js → chunk-JMEAOY6F.js} +2 -2
  18. package/dist/{chunk-2I54YKIV.js → chunk-JSVYGGJX.js} +2 -2
  19. package/dist/{chunk-V42DHBXN.js → chunk-R3VNWSUG.js} +5 -5
  20. package/dist/{chunk-HUAPDSKW.js → chunk-UORNIGMP.js} +3 -3
  21. package/dist/chunk-V35SBA7H.js +7 -0
  22. package/dist/{chunk-OFYDBK44.js → chunk-X7MXKOGK.js} +2 -2
  23. package/dist/{chunk-SHTSGJBH.js → chunk-XPUJLBCV.js} +2 -2
  24. package/dist/{chunk-BLE3YNCU.js → chunk-YCWIW72Z.js} +3 -3
  25. package/dist/{chunk-J3C46RXZ.js → chunk-YEO6I6XN.js} +22 -17
  26. package/dist/{chunk-IWDZYK6V.js → chunk-ZOD5PQHJ.js} +5 -5
  27. package/dist/{cli-FXHKAXIV.js → cli-4VGHUQEY.js} +5 -5
  28. package/dist/cli.js +3 -3
  29. package/dist/{completion-OXAWXTUC.js → completion-IXGFF6YQ.js} +2 -2
  30. package/dist/{diagnostics-PTGOBBN7.js → diagnostics-C6RH7RCQ.js} +5 -5
  31. package/dist/{doctor-IVKT4F44.js → doctor-MPDKT6DH.js} +11 -11
  32. package/dist/{entry-7EWYX5XJ.js → entry-EUOUTUW4.js} +9 -9
  33. package/dist/{exec-mcp-WWVMIQLV.js → exec-mcp-2OFGMEAC.js} +7 -7
  34. package/dist/{harness-L5PBWKXS.js → harness-AA2S3B62.js} +3 -3
  35. package/dist/harness-launch-gate.js +3 -3
  36. package/dist/harness-worker.js +5 -5
  37. package/dist/hook-body.js +15 -10
  38. package/dist/{hooks-BKLDQQSN.js → hooks-JRA32K5M.js} +3 -3
  39. package/dist/{host-TVWPNQV5.js → host-K6Q234VA.js} +2 -2
  40. package/dist/{host-U7CA77BY.js → host-NLSXVDH6.js} +9 -9
  41. package/dist/{host-3GP3BJKY.js → host-QUI2L76N.js} +6 -6
  42. package/dist/{host-run-MHD72EGP.js → host-run-GV7D4374.js} +4 -4
  43. package/dist/http.js +1 -1
  44. package/dist/{import-mcp-7EV5RPWK.js → import-mcp-MPICQ57X.js} +6 -6
  45. package/dist/index.d.ts +1 -1
  46. package/dist/index.js +10 -10
  47. package/dist/{init-SHHALJOG.js → init-7L3J62D2.js} +2 -2
  48. package/dist/{invoke-W42C5POV.js → invoke-HTAIDNCY.js} +7 -7
  49. package/dist/{list-GNNRY4NJ.js → list-FQZUFE2E.js} +8 -8
  50. package/dist/{logout-DZVBFQYZ.js → logout-CDR7HHVK.js} +7 -7
  51. package/dist/{mainline-D665V4Y3.js → mainline-3HLQZZTE.js} +6 -6
  52. package/dist/{mcp-5A6WWV32.js → mcp-KCHLSRXM.js} +2 -2
  53. package/dist/{measure-Z5HPT26L.js → measure-OKB7WBHK.js} +2 -2
  54. package/dist/{project-CKECETMB.js → project-Q73BXGWL.js} +4 -4
  55. package/dist/{run-YMER7XMR.js → run-IAO2F2XV.js} +4 -4
  56. package/dist/{run-LWVKCXS4.js → run-TM7CK35L.js} +6 -6
  57. package/dist/{serve-GYMBJPNJ.js → serve-Z5WVBTWT.js} +3 -3
  58. package/dist/{setup-ZYD5XBKU.js → setup-V7QJKJ3M.js} +2 -2
  59. package/dist/{start-login-NE5QMH2F.js → start-login-RIULASFH.js} +7 -7
  60. package/dist/{status-WP6NM6VP.js → status-4KTT2FZS.js} +7 -7
  61. package/dist/{status-HCZBWIC3.js → status-7XSYG5ZX.js} +8 -8
  62. package/dist/stdio.js +2 -2
  63. package/dist/{test-PLZ62G54.js → test-3AVCMEAR.js} +7 -7
  64. package/dist/{tui-ZWLRAOCQ.js → tui-YHSOU7AX.js} +4 -4
  65. package/dist/{worker-GMSWWVTS.js → worker-L5HAMGBD.js} +7 -7
  66. package/dist/{worktree-sync-TQ75DK62.js → worktree-sync-AQ63HAKT.js} +3 -3
  67. package/docs/git-workflow.md +15 -2
  68. package/gemini-extension.json +2 -2
  69. package/mcp.json +1 -1
  70. package/package.json +5 -5
  71. package/plugin.json +1 -1
  72. package/plugins/pmcp/.claude-plugin/plugin.json +1 -1
  73. package/plugins/pmcp/.mcp.json +1 -1
  74. package/plugins/pmcp/gemini-extension.json +2 -2
  75. package/plugins/pmcp/mcp.json +1 -1
  76. package/plugins/pmcp/plugin.json +1 -1
  77. package/dist/chunk-RS2ST3KT.js +0 -7
@@ -140,10 +140,10 @@ var tuiCommand = {
140
140
  try {
141
141
  let receipt;
142
142
  if (invocation.action === "doctor") {
143
- const { inspectTerminalHost } = await import("./diagnostics-PTGOBBN7.js");
143
+ const { inspectTerminalHost } = await import("./diagnostics-C6RH7RCQ.js");
144
144
  receipt = inspectTerminalHost();
145
145
  } else if (invocation.action === "start-worker") {
146
- const { startWorkspaceWorker } = await import("./worker-GMSWWVTS.js");
146
+ const { startWorkspaceWorker } = await import("./worker-L5HAMGBD.js");
147
147
  receipt = await startWorkspaceWorker(
148
148
  { config: invocation.startup?.config, cwd: context.cwd },
149
149
  invocation.startup.runtime,
@@ -156,7 +156,7 @@ var tuiCommand = {
156
156
  cwd: context.cwd
157
157
  });
158
158
  } else {
159
- const { launchStartup, planStartup } = await import("./entry-7EWYX5XJ.js");
159
+ const { launchStartup, planStartup } = await import("./entry-EUOUTUW4.js");
160
160
  const request = { ...invocation.startup, cwd: context.cwd };
161
161
  receipt = invocation.action === "plan" ? planStartup(request) : await launchStartup(
162
162
  request,
@@ -176,4 +176,4 @@ var tuiCommand = {
176
176
  export {
177
177
  tuiCommand
178
178
  };
179
- //# sourceMappingURL=tui-ZWLRAOCQ.js.map
179
+ //# sourceMappingURL=tui-YHSOU7AX.js.map
@@ -5,16 +5,16 @@ import {
5
5
  } from "./chunk-C3G75JH7.js";
6
6
  import {
7
7
  invoke
8
- } from "./chunk-V42DHBXN.js";
8
+ } from "./chunk-R3VNWSUG.js";
9
9
  import "./chunk-DZ2MRTYT.js";
10
- import "./chunk-Q2UBBZSD.js";
11
- import "./chunk-6FUUX5WO.js";
10
+ import "./chunk-CZSFYP3N.js";
11
+ import "./chunk-JMEAOY6F.js";
12
12
  import {
13
13
  locateExecutable
14
14
  } from "./chunk-R2GPCZUX.js";
15
- import "./chunk-N6Q2QB2H.js";
15
+ import "./chunk-AOBUE2LQ.js";
16
16
  import "./chunk-34DECPVC.js";
17
- import "./chunk-5KE3B5TO.js";
17
+ import "./chunk-AA7GECNR.js";
18
18
  import "./chunk-PZ6D3WKD.js";
19
19
  import "./chunk-N7ANFMA5.js";
20
20
  import "./chunk-TYY5TYHF.js";
@@ -23,7 +23,7 @@ import "./chunk-KLIYFD3W.js";
23
23
  import "./chunk-GUHOEIHP.js";
24
24
  import "./chunk-IJBSOWHK.js";
25
25
  import "./chunk-XWLMZKH2.js";
26
- import "./chunk-RS2ST3KT.js";
26
+ import "./chunk-V35SBA7H.js";
27
27
  import "./chunk-GJXOFDJT.js";
28
28
  import "./chunk-PMJG2CXF.js";
29
29
  import {
@@ -83,4 +83,4 @@ async function startWorkspaceWorker(request, runtime, memoryMb) {
83
83
  export {
84
84
  startWorkspaceWorker
85
85
  };
86
- //# sourceMappingURL=worker-GMSWWVTS.js.map
86
+ //# sourceMappingURL=worker-L5HAMGBD.js.map
@@ -5,7 +5,7 @@ import {
5
5
  dirToGitlinkPolicy,
6
6
  installSpec,
7
7
  syncWorktree
8
- } from "./chunk-J3C46RXZ.js";
8
+ } from "./chunk-YEO6I6XN.js";
9
9
  import "./chunk-2GD7PQ7J.js";
10
10
  import "./chunk-VQBXWMLT.js";
11
11
  import "./chunk-23PE3HZB.js";
@@ -21,7 +21,7 @@ var worktreeSync = (setup, _context, report) => {
21
21
  const result = syncWorktree({
22
22
  ctx,
23
23
  followSubmodules: config.submodules?.follow === "clean_pins",
24
- dirToGitlink: dirToGitlinkPolicy(config.submodules),
24
+ dirToGitlink: dirToGitlinkPolicy(config.submodules, "desk"),
25
25
  report,
26
26
  ...config.umask !== void 0 ? { umask: config.umask } : {},
27
27
  ...install === void 0 ? {} : { install }
@@ -31,4 +31,4 @@ var worktreeSync = (setup, _context, report) => {
31
31
  export {
32
32
  worktreeSync
33
33
  };
34
- //# sourceMappingURL=worktree-sync-TQ75DK62.js.map
34
+ //# sourceMappingURL=worktree-sync-AQ63HAKT.js.map
@@ -198,7 +198,16 @@ its name. Delivery events record the same hash and whether the stamp matches it.
198
198
 
199
199
  `[git.submodules]`: `follow = "clean_pins"` (the default when the table is
200
200
  present) moves submodules to the pinned commit when they are clean; `"off"`
201
- leaves them. Without the table submodules are not followed.
201
+ leaves them. Without the table submodules are not followed. A clean submodule
202
+ whose commits are all on its origin follows even when it lagged behind the old
203
+ pin, and one that lacks the pinned commit fetches its origin first: git fetches
204
+ submodule commits only when the parent's own fetch brings new commits, and a
205
+ checkout sharing its refs (the main checkout, another desk) has usually fetched
206
+ them already. A submodule with commits its origin lacks stays where it is. A
207
+ module with no fetch refspec (one cloned bare, for example) records nothing on a
208
+ plain fetch, so sync fetches its origin's branches into remote-tracking refs with
209
+ an explicit refspec and leaves the config alone; when even that fails, sync says
210
+ what its origin holds is unknown.
202
211
  `shared` lists submodules other sessions also edit in the main checkout (an
203
212
  app kept in its own repository, for example): those move to the new pin even with uncommitted edits, as
204
213
  long as no edited or untracked file is one the pin changes. When one is, the
@@ -212,7 +221,11 @@ output aside. `"refuse"` leaves the checkout where it is, with the directory and
212
221
  its files untouched, and exits 1, so a separate step can adopt it; the optional
213
222
  `dir_to_gitlink_hint` is appended to the refusal to name that step. It applies to
214
223
  `pmcp git sync` in the main checkout and on desks, to `pmcp git worktree sync`,
215
- and to the sync after a delivery, which still reports the delivery as done.
224
+ and to the sync after a delivery, which still reports the delivery as done. The
225
+ main checkout usually adopts by a different step than a desk; when
226
+ `dir_to_gitlink_main_hint` is set, its refusals (sync there and after a delivery)
227
+ name that one instead. The exit code stays 1 because the checkout did not move:
228
+ a script that runs sync must not go on as if it had.
216
229
 
217
230
  With `push = "pins"`, `pmcp git deliver` first makes sure every submodule commit the
218
231
  delivered commits pin is on that submodule's origin. A pin already on a remote branch
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "pmcp",
3
- "version": "0.28.1",
3
+ "version": "0.29.1",
4
4
  "mcpServers": {
5
5
  "pmcp": {
6
6
  "type": "stdio",
7
7
  "command": "npx",
8
- "args": ["-y", "@modootoday/pmcp@0.28.1", "serve"]
8
+ "args": ["-y", "@modootoday/pmcp@0.29.1", "serve"]
9
9
  }
10
10
  }
11
11
  }
package/mcp.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "pmcp": {
5
5
  "type": "stdio",
6
6
  "command": "npx",
7
- "args": ["-y", "@modootoday/pmcp@0.28.1", "serve"]
7
+ "args": ["-y", "@modootoday/pmcp@0.29.1", "serve"]
8
8
  }
9
9
  }
10
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modootoday/pmcp",
3
- "version": "0.28.1",
3
+ "version": "0.29.1",
4
4
  "license": "Elastic-2.0",
5
5
  "author": "modootoday",
6
6
  "description": "Use the skills your packages already ship, and keep your AI tools' project configuration in one place.",
@@ -136,9 +136,9 @@
136
136
  "bun": ">=1.3.0"
137
137
  },
138
138
  "optionalDependencies": {
139
- "@modootoday/pmcp-linux-x64": "0.28.1",
140
- "@modootoday/pmcp-linux-arm64": "0.28.1",
141
- "@modootoday/pmcp-darwin-x64": "0.28.1",
142
- "@modootoday/pmcp-darwin-arm64": "0.28.1"
139
+ "@modootoday/pmcp-linux-x64": "0.29.1",
140
+ "@modootoday/pmcp-linux-arm64": "0.29.1",
141
+ "@modootoday/pmcp-darwin-x64": "0.29.1",
142
+ "@modootoday/pmcp-darwin-arm64": "0.29.1"
143
143
  }
144
144
  }
package/plugin.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "pmcp",
4
- "version": "0.28.1",
4
+ "version": "0.29.1",
5
5
  "description": "Find package skills and use native runtime project configuration.",
6
6
  "author": { "name": "modootoday" },
7
7
  "license": "Elastic-2.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcp",
3
- "version": "0.28.1",
3
+ "version": "0.29.1",
4
4
  "description": "Find package skills and use native runtime project configuration.",
5
5
  "author": { "name": "modootoday" },
6
6
  "license": "Elastic-2.0",
@@ -3,7 +3,7 @@
3
3
  "pmcp": {
4
4
  "type": "stdio",
5
5
  "command": "npx",
6
- "args": ["-y", "@modootoday/pmcp@0.28.1", "serve"]
6
+ "args": ["-y", "@modootoday/pmcp@0.29.1", "serve"]
7
7
  }
8
8
  }
9
9
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "pmcp",
3
- "version": "0.28.1",
3
+ "version": "0.29.1",
4
4
  "mcpServers": {
5
5
  "pmcp": {
6
6
  "type": "stdio",
7
7
  "command": "npx",
8
- "args": ["-y", "@modootoday/pmcp@0.28.1", "serve"]
8
+ "args": ["-y", "@modootoday/pmcp@0.29.1", "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.28.1", "serve"]
7
+ "args": ["-y", "@modootoday/pmcp@0.29.1", "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.28.1",
4
+ "version": "0.29.1",
5
5
  "description": "Find package skills and use native runtime project configuration.",
6
6
  "author": { "name": "modootoday" },
7
7
  "license": "Elastic-2.0",
@@ -1,7 +0,0 @@
1
- // src/commands/version.ts
2
- var VERSION = "0.28.1";
3
-
4
- export {
5
- VERSION
6
- };
7
- //# sourceMappingURL=chunk-RS2ST3KT.js.map