@modootoday/pmcp 0.23.1 → 0.24.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 (75) 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/CONTRIBUTING.md +8 -0
  6. package/dist/{apply-3PWUO4J5.js → apply-6JVJ7FDZ.js} +8 -8
  7. package/dist/{chunk-WQBKQTNT.js → chunk-25M2YWBH.js} +3 -3
  8. package/dist/{chunk-6QJ3F445.js → chunk-2W2F5BWF.js} +13 -13
  9. package/dist/{chunk-RRKA3GF5.js → chunk-56VBB3H7.js} +2 -2
  10. package/dist/{chunk-2K4WYN4C.js → chunk-5QBOGEVE.js} +2 -2
  11. package/dist/{chunk-LGRFYN5T.js → chunk-62BC3K4Z.js} +2 -2
  12. package/dist/{chunk-72V6U7CZ.js → chunk-644GNYMB.js} +3 -3
  13. package/dist/{chunk-LO54UUDE.js → chunk-6UGHVU5B.js} +2 -2
  14. package/dist/{chunk-KYGGQPAH.js → chunk-7A6QIROT.js} +3 -3
  15. package/dist/{chunk-EQF64INS.js → chunk-D2MHB5EF.js} +3 -3
  16. package/dist/{chunk-DNSHJIS4.js → chunk-ISGHJHVH.js} +2 -2
  17. package/dist/{chunk-ZXMECZBI.js → chunk-K6ATERWS.js} +4 -4
  18. package/dist/{chunk-6NRLBSEG.js → chunk-LB2WXBPA.js} +5 -5
  19. package/dist/{chunk-SDQYZDHS.js → chunk-LI3BII4F.js} +2 -2
  20. package/dist/chunk-LTMHE5VL.js +7 -0
  21. package/dist/{chunk-DZTSCJOZ.js → chunk-QR4GXET7.js} +3 -3
  22. package/dist/{chunk-FOLA4EUJ.js → chunk-QY2P54Z2.js} +10 -2
  23. package/dist/{chunk-JJFPSFDU.js → chunk-S6G7YWNE.js} +2 -2
  24. package/dist/{chunk-5HNLHI5F.js → chunk-TIH7JFPJ.js} +2 -2
  25. package/dist/{chunk-YRNFMPZB.js → chunk-UFWW4H6V.js} +2 -2
  26. package/dist/{chunk-P25V6NEX.js → chunk-WNP2BXR7.js} +5 -5
  27. package/dist/{cli-YWV7FLYO.js → cli-WWNTQJPV.js} +3 -3
  28. package/dist/cli.js +3 -3
  29. package/dist/{completion-OKGNN7DE.js → completion-I63UIDZ7.js} +2 -2
  30. package/dist/{diagnostics-N4XRRCQG.js → diagnostics-RUJZBPNZ.js} +6 -6
  31. package/dist/{doctor-3H6UYNEA.js → doctor-CLUFTEFO.js} +10 -10
  32. package/dist/{entry-KDLLG6ED.js → entry-QSJCFI5Z.js} +10 -10
  33. package/dist/{exec-mcp-AENALAHJ.js → exec-mcp-AFPUJTN7.js} +6 -6
  34. package/dist/{harness-GRYTNUF2.js → harness-PPM32AI5.js} +3 -3
  35. package/dist/harness-launch-gate.js +4 -4
  36. package/dist/harness-worker.js +6 -6
  37. package/dist/{heavy-BGXKJKYB.js → heavy-TEHP5PHT.js} +35 -6
  38. package/dist/{hooks-V25ANQ4Q.js → hooks-L4PXVEGR.js} +3 -3
  39. package/dist/{host-MLSWY7D7.js → host-LBTL47X7.js} +8 -8
  40. package/dist/{host-4EGPADOJ.js → host-MU2GRH57.js} +7 -7
  41. package/dist/{host-run-VI52IUKF.js → host-run-IRSAQA5Z.js} +5 -5
  42. package/dist/http.js +1 -1
  43. package/dist/{import-mcp-FIXFLUDM.js → import-mcp-QVPW6A2Q.js} +5 -5
  44. package/dist/index.d.ts +1 -1
  45. package/dist/index.js +9 -9
  46. package/dist/{init-ALTBFUPP.js → init-46STH6FP.js} +2 -2
  47. package/dist/{invoke-7T7UY57O.js → invoke-I6C6UT6Q.js} +8 -8
  48. package/dist/{list-JFZ7UZLV.js → list-HXG6EB7V.js} +7 -7
  49. package/dist/{logout-7CNBO76Z.js → logout-SSUXJ6SE.js} +6 -6
  50. package/dist/{mainline-6PBT3VNR.js → mainline-4XP6ZORU.js} +2 -2
  51. package/dist/{mcp-MVQVMAKJ.js → mcp-L6X45IOS.js} +2 -2
  52. package/dist/{project-FZGJRG2U.js → project-4JPKU2D7.js} +4 -4
  53. package/dist/{run-VGJDMA2O.js → run-OW7436TY.js} +4 -4
  54. package/dist/{run-TOP37ZQC.js → run-PMASXIGY.js} +5 -5
  55. package/dist/{serve-LR7SJHNH.js → serve-P3HJN6AF.js} +3 -3
  56. package/dist/{start-login-X37KGCCB.js → start-login-P7YDRTA3.js} +6 -6
  57. package/dist/{status-LBRK37GA.js → status-DAXQKT35.js} +7 -7
  58. package/dist/{status-E4AFUOQO.js → status-DLGZDYEP.js} +6 -6
  59. package/dist/stdio.js +2 -2
  60. package/dist/{test-D2EEFUN2.js → test-H243OTSK.js} +6 -6
  61. package/dist/{tui-D7E3MD3X.js → tui-P6XTSTQO.js} +4 -4
  62. package/dist/{worker-WTBC6VYO.js → worker-5YJLIGTU.js} +8 -8
  63. package/docs/commands.md +1 -1
  64. package/docs/project-configuration.md +21 -5
  65. package/docs/upgrading.md +24 -0
  66. package/gemini-extension.json +2 -2
  67. package/mcp.json +1 -1
  68. package/package.json +5 -5
  69. package/plugin.json +1 -1
  70. package/plugins/pmcp/.claude-plugin/plugin.json +1 -1
  71. package/plugins/pmcp/.mcp.json +1 -1
  72. package/plugins/pmcp/gemini-extension.json +2 -2
  73. package/plugins/pmcp/mcp.json +1 -1
  74. package/plugins/pmcp/plugin.json +1 -1
  75. package/dist/chunk-7IRXUPM2.js +0 -7
@@ -612,7 +612,7 @@
612
612
  },
613
613
  {
614
614
  "name": "pmcp",
615
- "version": "0.23.1",
615
+ "version": "0.24.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.23.1",
448
+ "version": "0.24.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.23.1",
3
+ "version": "0.24.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.23.1", "serve"]
6
+ "args": ["-y", "@modootoday/pmcp@0.24.0", "serve"]
7
7
  }
8
8
  }
9
9
  }
package/CONTRIBUTING.md CHANGED
@@ -23,6 +23,14 @@ npm test
23
23
  npm run format:check
24
24
  ```
25
25
 
26
+ `npm test` gives the run its own `TMPDIR`, `XDG_STATE_HOME`, `XDG_CACHE_HOME` and
27
+ `XDG_CONFIG_HOME` (`__tests__/setup/isolation.ts`) and removes them afterwards; the run
28
+ fails when a test still left a `pmcp-*` directory in the real temp directory or a project
29
+ in the real pmcp state directory. Make fixtures under `os.tmpdir()` and pass the process
30
+ environment to any `pmcp` you spawn. The check compares the real directories before and
31
+ after the run, so another session creating `pmcp-*` directories or pmcp projects on the same
32
+ host meanwhile fails it too; run it again once that session is done.
33
+
26
34
  Use the package's typecheck and test scripts for code changes. Documentation changes need
27
35
  link, packaging and formatting checks; avoid rebuilding unrelated runtime artifacts.
28
36
 
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-2MX5C7B2.js";
4
4
  import {
5
5
  specFrom
6
- } from "./chunk-YRNFMPZB.js";
6
+ } from "./chunk-UFWW4H6V.js";
7
7
  import {
8
8
  printSmoke,
9
9
  runSmoke
@@ -15,14 +15,14 @@ import {
15
15
  describeHookProblem,
16
16
  project,
17
17
  unmanagedHookProblems
18
- } from "./chunk-ZXMECZBI.js";
18
+ } from "./chunk-K6ATERWS.js";
19
19
  import "./chunk-ANJMLKBR.js";
20
- import "./chunk-72V6U7CZ.js";
20
+ import "./chunk-644GNYMB.js";
21
21
  import {
22
22
  checkBudget,
23
23
  renderFrontmatter,
24
24
  splitFrontmatter
25
- } from "./chunk-WQBKQTNT.js";
25
+ } from "./chunk-25M2YWBH.js";
26
26
  import "./chunk-UYBWUOLR.js";
27
27
  import "./chunk-UKR64U7J.js";
28
28
  import "./chunk-42SO7KYX.js";
@@ -54,8 +54,8 @@ import {
54
54
  import "./chunk-YSAWTGNA.js";
55
55
  import {
56
56
  recordProjector
57
- } from "./chunk-KYGGQPAH.js";
58
- import "./chunk-FOLA4EUJ.js";
57
+ } from "./chunk-7A6QIROT.js";
58
+ import "./chunk-QY2P54Z2.js";
59
59
  import "./chunk-N7ANFMA5.js";
60
60
  import {
61
61
  ProjectError
@@ -65,7 +65,7 @@ import "./chunk-FQLCD4HU.js";
65
65
  import "./chunk-GUHOEIHP.js";
66
66
  import "./chunk-IJBSOWHK.js";
67
67
  import "./chunk-XWLMZKH2.js";
68
- import "./chunk-7IRXUPM2.js";
68
+ import "./chunk-LTMHE5VL.js";
69
69
  import "./chunk-GJXOFDJT.js";
70
70
  import "./chunk-PMJG2CXF.js";
71
71
  import "./chunk-J6KL3COD.js";
@@ -280,4 +280,4 @@ export {
280
280
  projectOrCheck,
281
281
  removeAndProject
282
282
  };
283
- //# sourceMappingURL=apply-3PWUO4J5.js.map
283
+ //# sourceMappingURL=apply-6JVJ7FDZ.js.map
@@ -69,11 +69,11 @@ import {
69
69
  readHost,
70
70
  readLock,
71
71
  readLockFile
72
- } from "./chunk-KYGGQPAH.js";
72
+ } from "./chunk-7A6QIROT.js";
73
73
  import {
74
74
  DISABLE_ENV,
75
75
  readLeaseSettings
76
- } from "./chunk-FOLA4EUJ.js";
76
+ } from "./chunk-QY2P54Z2.js";
77
77
  import {
78
78
  ProjectError,
79
79
  RULES_DIR,
@@ -6367,4 +6367,4 @@ export {
6367
6367
  checkBudget,
6368
6368
  readSpec
6369
6369
  };
6370
- //# sourceMappingURL=chunk-WQBKQTNT.js.map
6370
+ //# sourceMappingURL=chunk-25M2YWBH.js.map
@@ -71,11 +71,11 @@ var completionSpec = {
71
71
  var COMMANDS = [
72
72
  {
73
73
  ...statusSpec,
74
- load: async () => (await import("./status-LBRK37GA.js")).statusCommand
74
+ load: async () => (await import("./status-DAXQKT35.js")).statusCommand
75
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 },
76
+ { ...initSpec, load: async () => (await import("./init-46STH6FP.js")).initCommand },
77
+ { ...hooksSpec, load: async () => (await import("./hooks-L4PXVEGR.js")).hooksCommand },
78
+ { ...serveSpec, load: async () => (await import("./serve-P3HJN6AF.js")).serveCommand },
79
79
  { ...listSpec, load: async () => (await import("./list-LV5EKCF6.js")).listCommand },
80
80
  {
81
81
  ...indexSpec,
@@ -112,24 +112,24 @@ var COMMANDS = [
112
112
  { ...syncSpec, load: async () => (await import("./install-5JH4DSFF.js")).syncCommand },
113
113
  {
114
114
  ...projectSpec,
115
- load: async () => (await import("./project-FZGJRG2U.js")).projectCommand
115
+ load: async () => (await import("./project-4JPKU2D7.js")).projectCommand
116
116
  },
117
117
  {
118
118
  ...doctorSpec,
119
- load: async () => (await import("./doctor-3H6UYNEA.js")).doctorCommand
119
+ load: async () => (await import("./doctor-CLUFTEFO.js")).doctorCommand
120
120
  },
121
121
  {
122
122
  ...sessionsSpec,
123
123
  load: async () => (await import("./cli-GFDT4YXM.js")).sessionsCommand
124
124
  },
125
125
  { ...logsSpec, load: async () => (await import("./logs-2JEMSNSG.js")).logsCommand },
126
- { ...gitSpec, load: async () => (await import("./cli-YWV7FLYO.js")).gitCommand },
126
+ { ...gitSpec, load: async () => (await import("./cli-WWNTQJPV.js")).gitCommand },
127
127
  {
128
128
  ...heavySpec,
129
- load: async () => (await import("./heavy-BGXKJKYB.js")).heavyCommand
129
+ load: async () => (await import("./heavy-TEHP5PHT.js")).heavyCommand
130
130
  },
131
131
  { ...waitSpec, load: async () => (await import("./wait-HEODT7KV.js")).waitCommand },
132
- { ...mcpSpec, load: async () => (await import("./mcp-MVQVMAKJ.js")).mcpCommand },
132
+ { ...mcpSpec, load: async () => (await import("./mcp-L6X45IOS.js")).mcpCommand },
133
133
  {
134
134
  ...validateSpec,
135
135
  load: async () => (await import("./validate-YXR7FJJX.js")).validateCommand
@@ -140,16 +140,16 @@ var COMMANDS = [
140
140
  },
141
141
  {
142
142
  ...harnessSpec,
143
- load: async () => (await import("./harness-GRYTNUF2.js")).harnessCommand
143
+ load: async () => (await import("./harness-PPM32AI5.js")).harnessCommand
144
144
  },
145
- { ...tuiSpec, load: async () => (await import("./tui-D7E3MD3X.js")).tuiCommand },
145
+ { ...tuiSpec, load: async () => (await import("./tui-P6XTSTQO.js")).tuiCommand },
146
146
  {
147
147
  ...marketplaceSpec,
148
148
  load: async () => (await import("./marketplace-2X3OOEPW.js")).marketplaceCommand
149
149
  },
150
150
  {
151
151
  ...completionSpec,
152
- load: async () => (await import("./completion-OKGNN7DE.js")).completionCommand
152
+ load: async () => (await import("./completion-I63UIDZ7.js")).completionCommand
153
153
  }
154
154
  ];
155
155
  var PLANNED = [];
@@ -163,4 +163,4 @@ export {
163
163
  PLANNED,
164
164
  commandNamed
165
165
  };
166
- //# sourceMappingURL=chunk-6QJ3F445.js.map
166
+ //# sourceMappingURL=chunk-2W2F5BWF.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-7CHUMF3E.js";
4
4
  import {
5
5
  readSpec
6
- } from "./chunk-WQBKQTNT.js";
6
+ } from "./chunk-25M2YWBH.js";
7
7
  import {
8
8
  ArgumentError
9
9
  } from "./chunk-Y6NFETNG.js";
@@ -25,4 +25,4 @@ function serverFrom(context) {
25
25
  export {
26
26
  serverFrom
27
27
  };
28
- //# sourceMappingURL=chunk-RRKA3GF5.js.map
28
+ //# sourceMappingURL=chunk-56VBB3H7.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.23.1";
1193
+ var SERVER_VERSION = "0.24.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-2K4WYN4C.js.map
1250
+ //# sourceMappingURL=chunk-5QBOGEVE.js.map
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  nativeBinary,
9
9
  ptyBinary
10
- } from "./chunk-KYGGQPAH.js";
10
+ } from "./chunk-7A6QIROT.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-LGRFYN5T.js.map
65
+ //# sourceMappingURL=chunk-62BC3K4Z.js.map
@@ -19,12 +19,12 @@ import {
19
19
  splitKeyed,
20
20
  versionMatches,
21
21
  withoutBlock
22
- } from "./chunk-WQBKQTNT.js";
22
+ } from "./chunk-25M2YWBH.js";
23
23
  import {
24
24
  lockVersionProblem,
25
25
  readLock,
26
26
  replaceFile
27
- } from "./chunk-KYGGQPAH.js";
27
+ } from "./chunk-7A6QIROT.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-72V6U7CZ.js.map
276
+ //# sourceMappingURL=chunk-644GNYMB.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-34DECPVC.js";
4
4
  import {
5
5
  ptyBinary
6
- } from "./chunk-KYGGQPAH.js";
6
+ } from "./chunk-7A6QIROT.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-LO54UUDE.js.map
778
+ //# sourceMappingURL=chunk-6UGHVU5B.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readLeaseSettings
3
- } from "./chunk-FOLA4EUJ.js";
3
+ } from "./chunk-QY2P54Z2.js";
4
4
  import {
5
5
  ProjectError
6
6
  } from "./chunk-TYY5TYHF.js";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-XWLMZKH2.js";
13
13
  import {
14
14
  VERSION
15
- } from "./chunk-7IRXUPM2.js";
15
+ } from "./chunk-LTMHE5VL.js";
16
16
  import {
17
17
  ConfigError
18
18
  } from "./chunk-GJXOFDJT.js";
@@ -610,4 +610,4 @@ export {
610
610
  hostEnvDoctor,
611
611
  hostDoctor
612
612
  };
613
- //# sourceMappingURL=chunk-KYGGQPAH.js.map
613
+ //# sourceMappingURL=chunk-7A6QIROT.js.map
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-5ZABTVSW.js";
4
4
  import {
5
5
  dependencies
6
- } from "./chunk-LGRFYN5T.js";
6
+ } from "./chunk-62BC3K4Z.js";
7
7
  import {
8
8
  interactiveEntry
9
9
  } from "./chunk-LMT3PPXJ.js";
10
10
  import {
11
11
  assertNativeHost
12
- } from "./chunk-SDQYZDHS.js";
12
+ } from "./chunk-LI3BII4F.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-EQF64INS.js.map
45
+ //# sourceMappingURL=chunk-D2MHB5EF.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createSkillServer
3
- } from "./chunk-2K4WYN4C.js";
3
+ } from "./chunk-5QBOGEVE.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-DNSHJIS4.js.map
87
+ //# sourceMappingURL=chunk-ISGHJHVH.js.map
@@ -7,7 +7,7 @@ import {
7
7
  prepare,
8
8
  present,
9
9
  writeNative
10
- } from "./chunk-72V6U7CZ.js";
10
+ } from "./chunk-644GNYMB.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-WQBKQTNT.js";
24
+ } from "./chunk-25M2YWBH.js";
25
25
  import {
26
26
  HOOK_DIRECTORY
27
27
  } from "./chunk-ARXCYFFZ.js";
@@ -30,7 +30,7 @@ import {
30
30
  replaceFile,
31
31
  replaceLink,
32
32
  writeLock
33
- } from "./chunk-KYGGQPAH.js";
33
+ } from "./chunk-7A6QIROT.js";
34
34
  import {
35
35
  RULES_DIR,
36
36
  legacyLinks
@@ -400,4 +400,4 @@ export {
400
400
  unmanagedHooks,
401
401
  describeHookProblem
402
402
  };
403
- //# sourceMappingURL=chunk-ZXMECZBI.js.map
403
+ //# sourceMappingURL=chunk-K6ATERWS.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  hostApprovalDoctor
3
- } from "./chunk-JJFPSFDU.js";
3
+ } from "./chunk-S6G7YWNE.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-ZXMECZBI.js";
15
+ } from "./chunk-K6ATERWS.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-WQBKQTNT.js";
26
+ } from "./chunk-25M2YWBH.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-KYGGQPAH.js";
40
+ } from "./chunk-7A6QIROT.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-6NRLBSEG.js.map
674
+ //# sourceMappingURL=chunk-LB2WXBPA.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-34DECPVC.js";
7
7
  import {
8
8
  ptyBinary
9
- } from "./chunk-KYGGQPAH.js";
9
+ } from "./chunk-7A6QIROT.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-SDQYZDHS.js.map
39
+ //# sourceMappingURL=chunk-LI3BII4F.js.map
@@ -0,0 +1,7 @@
1
+ // src/commands/version.ts
2
+ var VERSION = "0.24.0";
3
+
4
+ export {
5
+ VERSION
6
+ };
7
+ //# sourceMappingURL=chunk-LTMHE5VL.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  assertNativeHost
3
- } from "./chunk-SDQYZDHS.js";
3
+ } from "./chunk-LI3BII4F.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-LO54UUDE.js";
36
+ } from "./chunk-6UGHVU5B.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-DZTSCJOZ.js.map
1984
+ //# sourceMappingURL=chunk-QR4GXET7.js.map
@@ -48,7 +48,8 @@ var KEYS = [
48
48
  "guard",
49
49
  "io",
50
50
  "usage_cap",
51
- "settle_window"
51
+ "settle_window",
52
+ "skip_always"
52
53
  ];
53
54
  var SIZE = /^[1-9]\d*[KMGT]$/u;
54
55
  function fail(path, message) {
@@ -177,6 +178,12 @@ function ioSettings(path, raw) {
177
178
  }
178
179
  return { enabled, weights, max };
179
180
  }
181
+ function reasons(path, value) {
182
+ if (value === void 0) return [];
183
+ if (!Array.isArray(value) || !value.every((item) => typeof item === "string" && item !== ""))
184
+ fail(path, "[host.lease] skip_always must be a list of skip reasons");
185
+ return value;
186
+ }
180
187
  function hardFactor(path, value) {
181
188
  if (value === void 0) return 2;
182
189
  if (typeof value !== "number" || !(value >= 1))
@@ -204,6 +211,7 @@ function readLeaseSettings(path, dir, host) {
204
211
  markerEnv: read.envName("marker_env") ?? "PMCP_HEAVY_LEASE",
205
212
  ...legacyMarkerEnv ? { legacyMarkerEnv } : {},
206
213
  ...legacySkipEnv ? { legacySkipEnv } : {},
214
+ skipAlways: reasons(path, raw["skip_always"]),
207
215
  maxLoad: read.positive("max_load") ?? availableParallelism(),
208
216
  maxIo: read.positive("max_io") ?? 8,
209
217
  ioWindow: read.oneOf("io_window", ["avg10", "avg60", "avg300"], "avg60"),
@@ -258,4 +266,4 @@ export {
258
266
  readLeaseSettings,
259
267
  leaseSettingsFor
260
268
  };
261
- //# sourceMappingURL=chunk-FOLA4EUJ.js.map
269
+ //# sourceMappingURL=chunk-QY2P54Z2.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HOST_MANIFEST,
3
3
  HOST_POLICY
4
- } from "./chunk-KYGGQPAH.js";
4
+ } from "./chunk-7A6QIROT.js";
5
5
  import {
6
6
  projectStateDir
7
7
  } from "./chunk-FQLCD4HU.js";
@@ -99,4 +99,4 @@ export {
99
99
  hostApprovalDoctor,
100
100
  writeApproval
101
101
  };
102
- //# sourceMappingURL=chunk-JJFPSFDU.js.map
102
+ //# sourceMappingURL=chunk-S6G7YWNE.js.map
@@ -5,7 +5,7 @@ import {
5
5
  POLICIES,
6
6
  customMode,
7
7
  customPolicy
8
- } from "./chunk-WQBKQTNT.js";
8
+ } from "./chunk-25M2YWBH.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-5HNLHI5F.js.map
45
+ //# sourceMappingURL=chunk-TIH7JFPJ.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-7CHUMF3E.js";
4
4
  import {
5
5
  readSpec
6
- } from "./chunk-WQBKQTNT.js";
6
+ } from "./chunk-25M2YWBH.js";
7
7
  import {
8
8
  ArgumentError,
9
9
  noConfig
@@ -27,4 +27,4 @@ function specFrom(context) {
27
27
  export {
28
28
  specFrom
29
29
  };
30
- //# sourceMappingURL=chunk-YRNFMPZB.js.map
30
+ //# sourceMappingURL=chunk-UFWW4H6V.js.map
@@ -7,20 +7,20 @@ import {
7
7
  observeSession,
8
8
  openGroup,
9
9
  runOperation
10
- } from "./chunk-DZTSCJOZ.js";
10
+ } from "./chunk-QR4GXET7.js";
11
11
  import {
12
12
  nativeHostTools
13
- } from "./chunk-SDQYZDHS.js";
13
+ } from "./chunk-LI3BII4F.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-LO54UUDE.js";
20
+ } from "./chunk-6UGHVU5B.js";
21
21
  import {
22
22
  ptyBinary
23
- } from "./chunk-KYGGQPAH.js";
23
+ } from "./chunk-7A6QIROT.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-P25V6NEX.js.map
252
+ //# sourceMappingURL=chunk-WNP2BXR7.js.map
@@ -12,8 +12,8 @@ import {
12
12
  async function action(positional) {
13
13
  const [verb, sub] = positional;
14
14
  if (verb === "deliver")
15
- return (await import("./mainline-6PBT3VNR.js")).mainlineDeliver;
16
- if (verb === "sync") return (await import("./mainline-6PBT3VNR.js")).mainlineSync;
15
+ return (await import("./mainline-4XP6ZORU.js")).mainlineDeliver;
16
+ if (verb === "sync") return (await import("./mainline-4XP6ZORU.js")).mainlineSync;
17
17
  if (verb !== "worktree")
18
18
  throw unknownSubcommand("git", verb, [
19
19
  "worktree",
@@ -57,4 +57,4 @@ var gitCommand = { ...gitSpec, run };
57
57
  export {
58
58
  gitCommand
59
59
  };
60
- //# sourceMappingURL=cli-YWV7FLYO.js.map
60
+ //# sourceMappingURL=cli-WWNTQJPV.js.map
package/dist/cli.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  COMMANDS,
4
4
  PLANNED,
5
5
  commandNamed
6
- } from "./chunk-6QJ3F445.js";
6
+ } from "./chunk-2W2F5BWF.js";
7
7
  import {
8
8
  entryMode
9
9
  } from "./chunk-LMT3PPXJ.js";
@@ -41,7 +41,7 @@ import {
41
41
  } from "./chunk-Y6NFETNG.js";
42
42
  import {
43
43
  VERSION
44
- } from "./chunk-7IRXUPM2.js";
44
+ } from "./chunk-LTMHE5VL.js";
45
45
 
46
46
  // src/cli/envelope.ts
47
47
  var CODE_NAMES = {
@@ -417,7 +417,7 @@ async function defaultEntry(options, context) {
417
417
  });
418
418
  if (mode === "server") return run(required("serve"), [], context);
419
419
  if (mode === "terminal") {
420
- const { terminalSupport } = await import("./host-4EGPADOJ.js");
420
+ const { terminalSupport } = await import("./host-MU2GRH57.js");
421
421
  const support = terminalSupport();
422
422
  if (support.supported) return run(required("tui"), [], context);
423
423
  context.ui.info(`Terminal workspace unavailable: ${support.reason}`);
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  COMMANDS,
3
3
  completionSpec
4
- } from "./chunk-6QJ3F445.js";
4
+ } from "./chunk-2W2F5BWF.js";
5
5
  import "./chunk-QR6A3TYP.js";
6
6
  import "./chunk-JANBBPKP.js";
7
7
  import "./chunk-UVTGY2R3.js";
@@ -143,4 +143,4 @@ var completionCommand = {
143
143
  export {
144
144
  completionCommand
145
145
  };
146
- //# sourceMappingURL=completion-OKGNN7DE.js.map
146
+ //# sourceMappingURL=completion-I63UIDZ7.js.map