@modootoday/pmcp 0.21.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) 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-6FLMTJDV.js → apply-3PR4UOES.js} +10 -10
  6. package/dist/{chunk-DJZPPCJP.js → chunk-2QJGUR23.js} +3 -3
  7. package/dist/{chunk-OS5DF3LL.js → chunk-3LADLKAI.js} +4 -4
  8. package/dist/{chunk-G6JXCUSK.js → chunk-3OBJVG5R.js} +2 -2
  9. package/dist/{chunk-KVNNVLJR.js → chunk-5ZUDBC3P.js} +2 -2
  10. package/dist/{chunk-5FW7A6TG.js → chunk-73IDLWRI.js} +2 -2
  11. package/dist/{chunk-TBKVC2TA.js → chunk-E6YP2PMO.js} +2 -2
  12. package/dist/{chunk-R3MVL67T.js → chunk-EPNTYTDZ.js} +12 -12
  13. package/dist/{chunk-ZIJ5IUXH.js → chunk-GBKRDRMZ.js} +14 -5
  14. package/dist/chunk-L42U5XKC.js +7 -0
  15. package/dist/{chunk-Z4Q6RYJH.js → chunk-LVNGMGOM.js} +2 -2
  16. package/dist/{chunk-GQP4GWU4.js → chunk-NDED2O5B.js} +5 -5
  17. package/dist/{chunk-VBDDFO2V.js → chunk-RNC7PGW2.js} +2 -2
  18. package/dist/{chunk-OFPNCLG7.js → chunk-RNE4WPBS.js} +2 -2
  19. package/dist/{chunk-33KGCJB2.js → chunk-S4Y44CCC.js} +2 -2
  20. package/dist/{chunk-UFWQTZDX.js → chunk-SEM6WD7J.js} +5 -5
  21. package/dist/{chunk-YLITJLTR.js → chunk-SLCNCAWY.js} +3 -3
  22. package/dist/{chunk-POTI2RJ6.js → chunk-SPZ42EWE.js} +2 -2
  23. package/dist/{chunk-VUM6LO77.js → chunk-TCW2H47H.js} +9 -21
  24. package/dist/{chunk-3X5JQYKN.js → chunk-TPGJXENR.js} +3 -3
  25. package/dist/chunk-UKR64U7J.js +20 -0
  26. package/dist/{chunk-DEY23WTH.js → chunk-XB363ZXT.js} +2 -2
  27. package/dist/{chunk-UD3BEEBQ.js → chunk-XZ2TDH3J.js} +80 -3
  28. package/dist/{cli-RVPR3MH3.js → cli-BEEDAD4E.js} +5 -5
  29. package/dist/cli.js +3 -3
  30. package/dist/{completion-YTPHEVEW.js → completion-LHYNCQ3N.js} +2 -2
  31. package/dist/{diagnostics-IW54MLFK.js → diagnostics-ABTJUYZQ.js} +5 -5
  32. package/dist/{doctor-EN4JPSKV.js → doctor-GPPO5L4F.js} +12 -12
  33. package/dist/{entry-TQWSDTJ4.js → entry-ARGY5CKA.js} +9 -9
  34. package/dist/{exec-mcp-KKQ75N5O.js → exec-mcp-JEF74XVP.js} +8 -8
  35. package/dist/{harness-EB76F6BG.js → harness-OCXW6YE4.js} +3 -3
  36. package/dist/harness-launch-gate.js +3 -3
  37. package/dist/harness-worker.js +5 -5
  38. package/dist/{hooks-YWSHUNLM.js → hooks-JHXUN5MD.js} +3 -3
  39. package/dist/{host-LSVITS6M.js → host-OBRHBDRE.js} +6 -6
  40. package/dist/{host-OGGADMBT.js → host-VI4ZFCZP.js} +10 -10
  41. package/dist/{host-run-XO2TS4JC.js → host-run-H7AITG7C.js} +4 -4
  42. package/dist/http.js +1 -1
  43. package/dist/{import-mcp-BJDJTPVS.js → import-mcp-3Y33CUHF.js} +7 -7
  44. package/dist/index.d.ts +1 -1
  45. package/dist/index.js +11 -11
  46. package/dist/{init-773PTQM5.js → init-WZJHMWNJ.js} +2 -2
  47. package/dist/{invoke-Y7XH5S2L.js → invoke-GWWTXQLO.js} +7 -7
  48. package/dist/{list-5W65XVES.js → list-Y6UPLGNF.js} +9 -9
  49. package/dist/{logout-XO6ALD45.js → logout-KAUW4JZZ.js} +8 -8
  50. package/dist/{mainline-M2NSTAGC.js → mainline-Q42M2GJ2.js} +106 -13
  51. package/dist/{mcp-R62ZNVGJ.js → mcp-IDEUIY2F.js} +2 -2
  52. package/dist/{project-W5DQIZA6.js → project-GVVWLDOJ.js} +4 -4
  53. package/dist/{run-WYJMTLX7.js → run-HVNKQHVU.js} +4 -4
  54. package/dist/{run-OZLGSRHF.js → run-RRWB7U2Q.js} +7 -7
  55. package/dist/{serve-DCQGAGB7.js → serve-KJSOU3BR.js} +3 -3
  56. package/dist/{setup-D3KEJBGO.js → setup-3GET6K3J.js} +2 -2
  57. package/dist/{start-login-EKXM75XQ.js → start-login-RNHSEX5P.js} +8 -8
  58. package/dist/{status-23UDIYYP.js → status-RR4VZARJ.js} +9 -9
  59. package/dist/{status-EDSEG32U.js → status-Y25ONHA5.js} +8 -8
  60. package/dist/stdio.js +2 -2
  61. package/dist/{test-TM6PIZTV.js → test-7NYPQ6YU.js} +8 -8
  62. package/dist/{tui-EQNJIDN5.js → tui-H5RPSF4B.js} +4 -4
  63. package/dist/{worker-7X6WBPEI.js → worker-YWFTWIBP.js} +7 -7
  64. package/dist/{worktree-sync-T6C5YEYS.js → worktree-sync-A277AF4M.js} +3 -5
  65. package/docs/commands.md +1 -1
  66. package/docs/git-workflow.md +29 -8
  67. package/docs/project-configuration.md +4 -0
  68. package/docs/upgrading.md +16 -0
  69. package/gemini-extension.json +2 -2
  70. package/mcp.json +1 -1
  71. package/package.json +5 -5
  72. package/plugin.json +1 -1
  73. package/plugins/pmcp/.claude-plugin/plugin.json +1 -1
  74. package/plugins/pmcp/.mcp.json +1 -1
  75. package/plugins/pmcp/gemini-extension.json +2 -2
  76. package/plugins/pmcp/mcp.json +1 -1
  77. package/plugins/pmcp/plugin.json +1 -1
  78. package/plugins/pmcp/skills/agent-assets-migrate/SKILL.md +11 -8
  79. package/plugins/pmcp/skills/pmcp-project-init/SKILL.md +11 -7
  80. package/skills/agent-assets-migrate/SKILL.md +11 -8
  81. package/skills/pmcp-project-init/SKILL.md +11 -7
  82. package/dist/chunk-2MAD4WNZ.js +0 -92
  83. package/dist/chunk-H4ZOKIER.js +0 -7
@@ -612,7 +612,7 @@
612
612
  },
613
613
  {
614
614
  "name": "pmcp",
615
- "version": "0.21.0",
615
+ "version": "0.22.0",
616
616
  "description": "Find package skills and use native runtime project configuration.",
617
617
  "source": { "source": "local", "path": "./plugins/pmcp" },
618
618
  "policy": { "installation": "AVAILABLE", "authentication": "ON_USE" },
@@ -445,7 +445,7 @@
445
445
  },
446
446
  {
447
447
  "name": "pmcp",
448
- "version": "0.21.0",
448
+ "version": "0.22.0",
449
449
  "description": "Find package skills and use native runtime project configuration.",
450
450
  "source": "./plugins/pmcp"
451
451
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcp",
3
- "version": "0.21.0",
3
+ "version": "0.22.0",
4
4
  "description": "Find package skills and use native runtime project configuration.",
5
5
  "author": { "name": "modootoday" },
6
6
  "license": "Elastic-2.0",
package/.mcp.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "pmcp": {
4
4
  "type": "stdio",
5
5
  "command": "npx",
6
- "args": ["-y", "@modootoday/pmcp@0.21.0", "serve"]
6
+ "args": ["-y", "@modootoday/pmcp@0.22.0", "serve"]
7
7
  }
8
8
  }
9
9
  }
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-PEMMV5YQ.js";
4
4
  import {
5
5
  specFrom
6
- } from "./chunk-VBDDFO2V.js";
6
+ } from "./chunk-RNC7PGW2.js";
7
7
  import {
8
8
  printSmoke,
9
9
  runSmoke
@@ -15,16 +15,16 @@ import {
15
15
  describeHookProblem,
16
16
  project,
17
17
  unmanagedHookProblems
18
- } from "./chunk-OS5DF3LL.js";
18
+ } from "./chunk-3LADLKAI.js";
19
19
  import "./chunk-P4N7DBD5.js";
20
- import "./chunk-DJZPPCJP.js";
20
+ import "./chunk-2QJGUR23.js";
21
21
  import {
22
22
  checkBudget,
23
23
  renderFrontmatter,
24
24
  splitFrontmatter
25
- } from "./chunk-VUM6LO77.js";
26
- import "./chunk-2MAD4WNZ.js";
27
- import "./chunk-UD3BEEBQ.js";
25
+ } from "./chunk-TCW2H47H.js";
26
+ import "./chunk-UKR64U7J.js";
27
+ import "./chunk-XZ2TDH3J.js";
28
28
  import "./chunk-KUBHGVTD.js";
29
29
  import "./chunk-EATCUWGG.js";
30
30
  import "./chunk-OFJIMBTL.js";
@@ -35,7 +35,7 @@ import "./chunk-LFFIQBNY.js";
35
35
  import "./chunk-HQOB7OQS.js";
36
36
  import "./chunk-73AKO4UL.js";
37
37
  import "./chunk-P6LNYYYH.js";
38
- import "./chunk-ZIJ5IUXH.js";
38
+ import "./chunk-GBKRDRMZ.js";
39
39
  import "./chunk-2Q6MNGU5.js";
40
40
  import "./chunk-MR5IBS6L.js";
41
41
  import "./chunk-Z6WRFOFT.js";
@@ -56,10 +56,10 @@ import {
56
56
  import "./chunk-YSAWTGNA.js";
57
57
  import {
58
58
  recordProjector
59
- } from "./chunk-DEY23WTH.js";
59
+ } from "./chunk-XB363ZXT.js";
60
60
  import "./chunk-OEH47H6A.js";
61
61
  import "./chunk-IJBSOWHK.js";
62
- import "./chunk-H4ZOKIER.js";
62
+ import "./chunk-L42U5XKC.js";
63
63
  import "./chunk-GJXOFDJT.js";
64
64
  import "./chunk-PMJG2CXF.js";
65
65
  import "./chunk-J6KL3COD.js";
@@ -274,4 +274,4 @@ export {
274
274
  projectOrCheck,
275
275
  removeAndProject
276
276
  };
277
- //# sourceMappingURL=apply-6FLMTJDV.js.map
277
+ //# sourceMappingURL=apply-3PR4UOES.js.map
@@ -19,7 +19,7 @@ import {
19
19
  splitKeyed,
20
20
  versionMatches,
21
21
  withoutBlock
22
- } from "./chunk-VUM6LO77.js";
22
+ } from "./chunk-TCW2H47H.js";
23
23
  import {
24
24
  ProjectError,
25
25
  RULES_DIR,
@@ -29,7 +29,7 @@ import {
29
29
  lockVersionProblem,
30
30
  readLock,
31
31
  replaceFile
32
- } from "./chunk-DEY23WTH.js";
32
+ } from "./chunk-XB363ZXT.js";
33
33
 
34
34
  // src/project/apply/census.ts
35
35
  import { existsSync, readFileSync, readdirSync } from "fs";
@@ -271,4 +271,4 @@ export {
271
271
  prepare,
272
272
  checkProject
273
273
  };
274
- //# sourceMappingURL=chunk-DJZPPCJP.js.map
274
+ //# sourceMappingURL=chunk-2QJGUR23.js.map
@@ -7,7 +7,7 @@ import {
7
7
  prepare,
8
8
  present,
9
9
  writeNative
10
- } from "./chunk-DJZPPCJP.js";
10
+ } from "./chunk-2QJGUR23.js";
11
11
  import {
12
12
  ANTIGRAVITY_MCP_PLUGIN,
13
13
  BUNDLE_NATIVE_FILES,
@@ -21,7 +21,7 @@ import {
21
21
  same,
22
22
  splitKeyed,
23
23
  withoutBlock
24
- } from "./chunk-VUM6LO77.js";
24
+ } from "./chunk-TCW2H47H.js";
25
25
  import {
26
26
  RULES_DIR,
27
27
  legacyLinks
@@ -34,7 +34,7 @@ import {
34
34
  replaceFile,
35
35
  replaceLink,
36
36
  writeLock
37
- } from "./chunk-DEY23WTH.js";
37
+ } from "./chunk-XB363ZXT.js";
38
38
 
39
39
  // src/project/apply/files.ts
40
40
  import { mkdirSync } from "fs";
@@ -400,4 +400,4 @@ export {
400
400
  unmanagedHooks,
401
401
  describeHookProblem
402
402
  };
403
- //# sourceMappingURL=chunk-OS5DF3LL.js.map
403
+ //# sourceMappingURL=chunk-3LADLKAI.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createSkillServer
3
- } from "./chunk-Z4Q6RYJH.js";
3
+ } from "./chunk-LVNGMGOM.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-G6JXCUSK.js.map
87
+ //# sourceMappingURL=chunk-3OBJVG5R.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HOST_MANIFEST,
3
3
  HOST_POLICY
4
- } from "./chunk-DEY23WTH.js";
4
+ } from "./chunk-XB363ZXT.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-KVNNVLJR.js.map
102
+ //# sourceMappingURL=chunk-5ZUDBC3P.js.map
@@ -5,7 +5,7 @@ import {
5
5
  POLICIES,
6
6
  customMode,
7
7
  customPolicy
8
- } from "./chunk-VUM6LO77.js";
8
+ } from "./chunk-TCW2H47H.js";
9
9
  import {
10
10
  RUNTIMES
11
11
  } from "./chunk-5YCKFU5Q.js";
@@ -42,4 +42,4 @@ function policyRows(compiled) {
42
42
  export {
43
43
  policyRows
44
44
  };
45
- //# sourceMappingURL=chunk-5FW7A6TG.js.map
45
+ //# sourceMappingURL=chunk-73IDLWRI.js.map
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  nativeBinary,
9
9
  ptyBinary
10
- } from "./chunk-DEY23WTH.js";
10
+ } from "./chunk-XB363ZXT.js";
11
11
 
12
12
  // src/tui/rust.ts
13
13
  import { spawn } from "child_process";
@@ -62,4 +62,4 @@ export {
62
62
  runTui,
63
63
  dependencies
64
64
  };
65
- //# sourceMappingURL=chunk-TBKVC2TA.js.map
65
+ //# sourceMappingURL=chunk-E6YP2PMO.js.map
@@ -61,11 +61,11 @@ var completionSpec = {
61
61
  var COMMANDS = [
62
62
  {
63
63
  ...statusSpec,
64
- load: async () => (await import("./status-23UDIYYP.js")).statusCommand
64
+ load: async () => (await import("./status-RR4VZARJ.js")).statusCommand
65
65
  },
66
- { ...initSpec, load: async () => (await import("./init-773PTQM5.js")).initCommand },
67
- { ...hooksSpec, load: async () => (await import("./hooks-YWSHUNLM.js")).hooksCommand },
68
- { ...serveSpec, load: async () => (await import("./serve-DCQGAGB7.js")).serveCommand },
66
+ { ...initSpec, load: async () => (await import("./init-WZJHMWNJ.js")).initCommand },
67
+ { ...hooksSpec, load: async () => (await import("./hooks-JHXUN5MD.js")).hooksCommand },
68
+ { ...serveSpec, load: async () => (await import("./serve-KJSOU3BR.js")).serveCommand },
69
69
  { ...listSpec, load: async () => (await import("./list-WK2IYUK7.js")).listCommand },
70
70
  {
71
71
  ...indexSpec,
@@ -102,19 +102,19 @@ var COMMANDS = [
102
102
  { ...syncSpec, load: async () => (await import("./install-7V6NIA7W.js")).syncCommand },
103
103
  {
104
104
  ...projectSpec,
105
- load: async () => (await import("./project-W5DQIZA6.js")).projectCommand
105
+ load: async () => (await import("./project-GVVWLDOJ.js")).projectCommand
106
106
  },
107
107
  {
108
108
  ...doctorSpec,
109
- load: async () => (await import("./doctor-EN4JPSKV.js")).doctorCommand
109
+ load: async () => (await import("./doctor-GPPO5L4F.js")).doctorCommand
110
110
  },
111
111
  {
112
112
  ...sessionsSpec,
113
113
  load: async () => (await import("./cli-6FWRBCWM.js")).sessionsCommand
114
114
  },
115
115
  { ...logsSpec, load: async () => (await import("./logs-74JGLQG6.js")).logsCommand },
116
- { ...gitSpec, load: async () => (await import("./cli-RVPR3MH3.js")).gitCommand },
117
- { ...mcpSpec, load: async () => (await import("./mcp-R62ZNVGJ.js")).mcpCommand },
116
+ { ...gitSpec, load: async () => (await import("./cli-BEEDAD4E.js")).gitCommand },
117
+ { ...mcpSpec, load: async () => (await import("./mcp-IDEUIY2F.js")).mcpCommand },
118
118
  {
119
119
  ...validateSpec,
120
120
  load: async () => (await import("./validate-KFBCUFI4.js")).validateCommand
@@ -125,16 +125,16 @@ var COMMANDS = [
125
125
  },
126
126
  {
127
127
  ...harnessSpec,
128
- load: async () => (await import("./harness-EB76F6BG.js")).harnessCommand
128
+ load: async () => (await import("./harness-OCXW6YE4.js")).harnessCommand
129
129
  },
130
- { ...tuiSpec, load: async () => (await import("./tui-EQNJIDN5.js")).tuiCommand },
130
+ { ...tuiSpec, load: async () => (await import("./tui-H5RPSF4B.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-YTPHEVEW.js")).completionCommand
137
+ load: async () => (await import("./completion-LHYNCQ3N.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-R3MVL67T.js.map
151
+ //# sourceMappingURL=chunk-EPNTYTDZ.js.map
@@ -116,9 +116,11 @@ function worktrees(path, source) {
116
116
  "alias_pattern",
117
117
  "bootstrap",
118
118
  "link_from_main",
119
- "sync"
119
+ "sync",
120
+ "desks"
120
121
  ]);
121
122
  const pattern = read.string("alias_pattern") ?? "^[a-z][a-z0-9-]{1,30}$";
123
+ const root = read.string("root") ?? ".claude/worktrees";
122
124
  try {
123
125
  new RegExp(pattern, "u");
124
126
  } catch {
@@ -128,11 +130,12 @@ function worktrees(path, source) {
128
130
  );
129
131
  }
130
132
  return {
131
- root: read.string("root") ?? ".claude/worktrees",
133
+ root,
132
134
  branchPrefix: read.string("branch_prefix") ?? "worktree-",
133
135
  aliasPattern: pattern,
134
136
  bootstrap: read.argv("bootstrap"),
135
- linkFromMain: read.list("link_from_main")
137
+ linkFromMain: read.list("link_from_main"),
138
+ desks: read.string("desks") ?? `${root.replace(/\/+$/u, "")}/*`
136
139
  };
137
140
  }
138
141
  function worktreeSync(path, source) {
@@ -140,9 +143,15 @@ function worktreeSync(path, source) {
140
143
  "on_session_start",
141
144
  "install_after_move",
142
145
  "between_prompts",
143
- "notice_paths"
146
+ "notice_paths",
147
+ "after_deliver"
144
148
  ]);
145
149
  return {
150
+ afterDeliver: read.oneOf(
151
+ "after_deliver",
152
+ ["desk", "off"],
153
+ "off"
154
+ ),
146
155
  onSessionStart: read.string("on_session_start") ?? "fetch_and_move",
147
156
  installAfterMove: read.oneOf(
148
157
  "install_after_move",
@@ -371,4 +380,4 @@ export {
371
380
  gateTreePath,
372
381
  leaseSpecs
373
382
  };
374
- //# sourceMappingURL=chunk-ZIJ5IUXH.js.map
383
+ //# sourceMappingURL=chunk-GBKRDRMZ.js.map
@@ -0,0 +1,7 @@
1
+ // src/commands/version.ts
2
+ var VERSION = "0.22.0";
3
+
4
+ export {
5
+ VERSION
6
+ };
7
+ //# sourceMappingURL=chunk-L42U5XKC.js.map
@@ -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.21.0";
1193
+ var SERVER_VERSION = "0.22.0";
1194
1194
  var MAX_TOOL_INPUT_ELEMENTS = 1e4;
1195
1195
  function registerSkillTools(server, tools) {
1196
1196
  registerCatalogTool(server, tools);
@@ -1247,4 +1247,4 @@ export {
1247
1247
  registerSkillTools,
1248
1248
  createSkillServer
1249
1249
  };
1250
- //# sourceMappingURL=chunk-Z4Q6RYJH.js.map
1250
+ //# sourceMappingURL=chunk-LVNGMGOM.js.map
@@ -7,20 +7,20 @@ import {
7
7
  observeSession,
8
8
  openGroup,
9
9
  runOperation
10
- } from "./chunk-YLITJLTR.js";
10
+ } from "./chunk-SLCNCAWY.js";
11
11
  import {
12
12
  nativeHostTools
13
- } from "./chunk-POTI2RJ6.js";
13
+ } from "./chunk-SPZ42EWE.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-33KGCJB2.js";
20
+ } from "./chunk-S4Y44CCC.js";
21
21
  import {
22
22
  ptyBinary
23
- } from "./chunk-DEY23WTH.js";
23
+ } from "./chunk-XB363ZXT.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-GQP4GWU4.js.map
252
+ //# sourceMappingURL=chunk-NDED2O5B.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-RPCIROW7.js";
4
4
  import {
5
5
  readSpec
6
- } from "./chunk-VUM6LO77.js";
6
+ } from "./chunk-TCW2H47H.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-VBDDFO2V.js.map
31
+ //# sourceMappingURL=chunk-RNC7PGW2.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-RPCIROW7.js";
4
4
  import {
5
5
  readSpec
6
- } from "./chunk-VUM6LO77.js";
6
+ } from "./chunk-TCW2H47H.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-OFPNCLG7.js.map
28
+ //# sourceMappingURL=chunk-RNE4WPBS.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-34DECPVC.js";
4
4
  import {
5
5
  ptyBinary
6
- } from "./chunk-DEY23WTH.js";
6
+ } from "./chunk-XB363ZXT.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-33KGCJB2.js.map
778
+ //# sourceMappingURL=chunk-S4Y44CCC.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  hostApprovalDoctor
3
- } from "./chunk-KVNNVLJR.js";
3
+ } from "./chunk-5ZUDBC3P.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-OS5DF3LL.js";
15
+ } from "./chunk-3LADLKAI.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-VUM6LO77.js";
26
+ } from "./chunk-TCW2H47H.js";
27
27
  import {
28
28
  pathPmcp,
29
29
  pmcpCommand
@@ -36,7 +36,7 @@ import {
36
36
  hostDoctor,
37
37
  hostEnvDoctor,
38
38
  ptyBinaryDoctor
39
- } from "./chunk-DEY23WTH.js";
39
+ } from "./chunk-XB363ZXT.js";
40
40
  import {
41
41
  projectStateDir
42
42
  } from "./chunk-OEH47H6A.js";
@@ -654,4 +654,4 @@ export {
654
654
  spawnRunner,
655
655
  doctor
656
656
  };
657
- //# sourceMappingURL=chunk-UFWQTZDX.js.map
657
+ //# sourceMappingURL=chunk-SEM6WD7J.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  assertNativeHost
3
- } from "./chunk-POTI2RJ6.js";
3
+ } from "./chunk-SPZ42EWE.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-33KGCJB2.js";
36
+ } from "./chunk-S4Y44CCC.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-YLITJLTR.js.map
1984
+ //# sourceMappingURL=chunk-SLCNCAWY.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-34DECPVC.js";
7
7
  import {
8
8
  ptyBinary
9
- } from "./chunk-DEY23WTH.js";
9
+ } from "./chunk-XB363ZXT.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-POTI2RJ6.js.map
39
+ //# sourceMappingURL=chunk-SPZ42EWE.js.map
@@ -1,6 +1,9 @@
1
+ import {
2
+ globPattern
3
+ } from "./chunk-UKR64U7J.js";
1
4
  import {
2
5
  syncWorktree
3
- } from "./chunk-2MAD4WNZ.js";
6
+ } from "./chunk-XZ2TDH3J.js";
4
7
  import {
5
8
  localCli,
6
9
  pmcpCommand,
@@ -31,7 +34,7 @@ import {
31
34
  import {
32
35
  leaseSpecs,
33
36
  readGitConfig
34
- } from "./chunk-ZIJ5IUXH.js";
37
+ } from "./chunk-GBKRDRMZ.js";
35
38
  import {
36
39
  detect
37
40
  } from "./chunk-2Q6MNGU5.js";
@@ -70,7 +73,7 @@ import {
70
73
  packagedBinary,
71
74
  readHost,
72
75
  readLock
73
- } from "./chunk-DEY23WTH.js";
76
+ } from "./chunk-XB363ZXT.js";
74
77
  import {
75
78
  checkoutOf,
76
79
  hasLinkedWorktrees
@@ -1481,9 +1484,6 @@ function skillOutputs(spec) {
1481
1484
  if (spec.tools.has("claude")) {
1482
1485
  outputs.push({ kind: "link", path: `.claude/skills/${name}`, target });
1483
1486
  }
1484
- if (spec.tools.has("grok")) {
1485
- outputs.push({ kind: "link", path: `.grok/skills/${name}`, target });
1486
- }
1487
1487
  if (spec.skills[name]?.invocation !== "user") continue;
1488
1488
  if (spec.tools.has("claude")) {
1489
1489
  outputs.push(
@@ -1596,6 +1596,8 @@ function censusDirs(spec) {
1596
1596
  ".claude/commands",
1597
1597
  ".gemini/agents",
1598
1598
  ".codex/agents",
1599
+ // No longer written; still watched, since a skill placed there would shadow the
1600
+ // .agents/skills one of the same name in Grok.
1599
1601
  ".grok/skills",
1600
1602
  `${RULES_DIR}/pmcp`
1601
1603
  ];
@@ -1643,20 +1645,6 @@ function readBudget(value) {
1643
1645
  forbidPaths: forbid
1644
1646
  };
1645
1647
  }
1646
- function globPattern(glob) {
1647
- let source = "";
1648
- for (let at = 0; at < glob.length; at += 1) {
1649
- const char = glob[at];
1650
- if (char === "*" && glob[at + 1] === "*") {
1651
- const slash = glob[at + 2] === "/";
1652
- source += slash ? "(?:.*/)?" : ".*";
1653
- at += slash ? 2 : 1;
1654
- } else if (char === "*") source += "[^/]*";
1655
- else if (char === "?") source += "[^/]";
1656
- else source += char.replace(/[.+^${}()|[\]\\]/gu, "\\$&");
1657
- }
1658
- return new RegExp(`^${source}(?:/.*)?$`, "u");
1659
- }
1660
1648
  function regularFile(path) {
1661
1649
  try {
1662
1650
  return lstatSync2(path).isFile();
@@ -5403,4 +5391,4 @@ export {
5403
5391
  checkBudget,
5404
5392
  readSpec
5405
5393
  };
5406
- //# sourceMappingURL=chunk-VUM6LO77.js.map
5394
+ //# sourceMappingURL=chunk-TCW2H47H.js.map
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-5ZABTVSW.js";
4
4
  import {
5
5
  dependencies
6
- } from "./chunk-TBKVC2TA.js";
6
+ } from "./chunk-E6YP2PMO.js";
7
7
  import {
8
8
  interactiveEntry
9
9
  } from "./chunk-LMT3PPXJ.js";
10
10
  import {
11
11
  assertNativeHost
12
- } from "./chunk-POTI2RJ6.js";
12
+ } from "./chunk-SPZ42EWE.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-3X5JQYKN.js.map
45
+ //# sourceMappingURL=chunk-TPGJXENR.js.map
@@ -0,0 +1,20 @@
1
+ // src/glob.ts
2
+ function globPattern(glob, below = true) {
3
+ let source = "";
4
+ for (let at = 0; at < glob.length; at += 1) {
5
+ const char = glob[at];
6
+ if (char === "*" && glob[at + 1] === "*") {
7
+ const slash = glob[at + 2] === "/";
8
+ source += slash ? "(?:.*/)?" : ".*";
9
+ at += slash ? 2 : 1;
10
+ } else if (char === "*") source += "[^/]*";
11
+ else if (char === "?") source += "[^/]";
12
+ else source += char.replace(/[.+^${}()|[\]\\]/gu, "\\$&");
13
+ }
14
+ return new RegExp(`^${source}${below ? "(?:/.*)?" : ""}$`, "u");
15
+ }
16
+
17
+ export {
18
+ globPattern
19
+ };
20
+ //# sourceMappingURL=chunk-UKR64U7J.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-OEH47H6A.js";
4
4
  import {
5
5
  VERSION
6
- } from "./chunk-H4ZOKIER.js";
6
+ } from "./chunk-L42U5XKC.js";
7
7
  import {
8
8
  ConfigError
9
9
  } from "./chunk-GJXOFDJT.js";
@@ -578,4 +578,4 @@ export {
578
578
  hostEnvDoctor,
579
579
  hostDoctor
580
580
  };
581
- //# sourceMappingURL=chunk-DEY23WTH.js.map
581
+ //# sourceMappingURL=chunk-XB363ZXT.js.map