@modootoday/pmcp 0.22.7 → 0.22.8

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 (72) 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-UYCLP5AL.js → apply-T26VVWOZ.js} +8 -8
  6. package/dist/{chunk-5NPDVKX5.js → chunk-2C7YCZCU.js} +5 -5
  7. package/dist/{chunk-667C72QC.js → chunk-4LB4665T.js} +2 -2
  8. package/dist/{chunk-DYAOLBWZ.js → chunk-6N7YO2MJ.js} +3 -3
  9. package/dist/{chunk-AOWWLVFL.js → chunk-7GVHEUCI.js} +5 -5
  10. package/dist/{chunk-XERIEIQ3.js → chunk-7MC2ECUI.js} +12 -12
  11. package/dist/{chunk-565QGUAV.js → chunk-AY2JWFTO.js} +2 -2
  12. package/dist/{chunk-CBGY3ELI.js → chunk-H7UCINE3.js} +2 -2
  13. package/dist/{chunk-JX5G2USM.js → chunk-HJRD7R3L.js} +3 -3
  14. package/dist/{chunk-NK5CAYET.js → chunk-HRZ44RLZ.js} +2 -2
  15. package/dist/{chunk-GTZ5R2ER.js → chunk-HVCBG4MT.js} +2 -2
  16. package/dist/{chunk-HABVHASY.js → chunk-LYMX6G4B.js} +2 -2
  17. package/dist/{chunk-4GBK5M5C.js → chunk-MBWFCWBY.js} +2 -2
  18. package/dist/{chunk-6FFGGATI.js → chunk-PAXVHM4E.js} +4 -4
  19. package/dist/{chunk-2R3FVI6M.js → chunk-QW6PHF5K.js} +2 -2
  20. package/dist/{chunk-5EZKGPWY.js → chunk-UVHL7DOT.js} +2 -2
  21. package/dist/{chunk-CFSYEB4U.js → chunk-UYBWUOLR.js} +15 -2
  22. package/dist/{chunk-QRTA5NGD.js → chunk-WEOSWF6Q.js} +3 -3
  23. package/dist/{chunk-EKW2TQA3.js → chunk-XHBWMWZM.js} +2 -2
  24. package/dist/chunk-Y7F4EY35.js +7 -0
  25. package/dist/{chunk-NVNC3JY5.js → chunk-ZWRMK5TZ.js} +3 -3
  26. package/dist/{cli-DKVUBOMX.js → cli-ZTYST4U5.js} +4 -4
  27. package/dist/cli.js +3 -3
  28. package/dist/{completion-5WIKJUXU.js → completion-BNGZXFIX.js} +2 -2
  29. package/dist/{diagnostics-6EKKP4FS.js → diagnostics-EDOHR27L.js} +5 -5
  30. package/dist/{doctor-XOUT6HJU.js → doctor-QENZSTX4.js} +10 -10
  31. package/dist/{entry-7THS4LUN.js → entry-KQQ2WVS3.js} +9 -9
  32. package/dist/{exec-mcp-V4VMYZBN.js → exec-mcp-7J6I2TFN.js} +6 -6
  33. package/dist/{harness-3DFGRL57.js → harness-5V7C7W4X.js} +3 -3
  34. package/dist/harness-launch-gate.js +3 -3
  35. package/dist/harness-worker.js +5 -5
  36. package/dist/hook-body.js +14 -1
  37. package/dist/{hooks-QGH3RRZH.js → hooks-YH27BJNA.js} +3 -3
  38. package/dist/{host-AWCM6O5R.js → host-BPL4QYTV.js} +8 -8
  39. package/dist/{host-64MTQRJZ.js → host-LDKQLXZK.js} +6 -6
  40. package/dist/{host-run-NCHMUCWE.js → host-run-JQQRBC3B.js} +4 -4
  41. package/dist/http.js +1 -1
  42. package/dist/{import-mcp-WFDAOCTO.js → import-mcp-ECOJNVES.js} +5 -5
  43. package/dist/index.d.ts +1 -1
  44. package/dist/index.js +9 -9
  45. package/dist/{init-GXSUWZC7.js → init-SFD2AD55.js} +2 -2
  46. package/dist/{invoke-5FOYWZKY.js → invoke-XKDBJWZR.js} +7 -7
  47. package/dist/{list-FOVH6DDM.js → list-YQMLWGDZ.js} +7 -7
  48. package/dist/{logout-BV4Z36EL.js → logout-ULJ7Y5GJ.js} +6 -6
  49. package/dist/{mainline-VOEDBDZE.js → mainline-SQSAUOMQ.js} +5 -3
  50. package/dist/{mcp-VQGNYSEO.js → mcp-AWSPXJ5K.js} +2 -2
  51. package/dist/{project-4YGFV3OU.js → project-XWAGF3LG.js} +4 -4
  52. package/dist/{run-JP4CIL5Z.js → run-ESKEMSV6.js} +4 -4
  53. package/dist/{run-JLZ5SCX6.js → run-VUIMTTUN.js} +5 -5
  54. package/dist/{serve-RYHXWUTT.js → serve-N3QMQTFP.js} +3 -3
  55. package/dist/{start-login-LXP4FVGX.js → start-login-OAG3OUDP.js} +6 -6
  56. package/dist/{status-EBD7PGZZ.js → status-OKH3ZY6V.js} +7 -7
  57. package/dist/{status-6TXNV2GA.js → status-XULZJ677.js} +6 -6
  58. package/dist/stdio.js +2 -2
  59. package/dist/{test-56CNS2LD.js → test-MP634HCP.js} +6 -6
  60. package/dist/{tui-6JJOARKG.js → tui-TKV3C3XM.js} +4 -4
  61. package/dist/{worker-A3ZT5TTF.js → worker-53EP7EUT.js} +7 -7
  62. package/dist/{worktree-sync-JS7ZSCKX.js → worktree-sync-DGNHSQ64.js} +2 -2
  63. package/gemini-extension.json +2 -2
  64. package/mcp.json +1 -1
  65. package/package.json +5 -5
  66. package/plugin.json +1 -1
  67. package/plugins/pmcp/.claude-plugin/plugin.json +1 -1
  68. package/plugins/pmcp/.mcp.json +1 -1
  69. package/plugins/pmcp/gemini-extension.json +2 -2
  70. package/plugins/pmcp/mcp.json +1 -1
  71. package/plugins/pmcp/plugin.json +1 -1
  72. package/dist/chunk-7GL2BXSP.js +0 -7
@@ -612,7 +612,7 @@
612
612
  },
613
613
  {
614
614
  "name": "pmcp",
615
- "version": "0.22.7",
615
+ "version": "0.22.8",
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.22.7",
448
+ "version": "0.22.8",
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.22.7",
3
+ "version": "0.22.8",
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.22.7", "serve"]
6
+ "args": ["-y", "@modootoday/pmcp@0.22.8", "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-NK5CAYET.js";
6
+ } from "./chunk-HRZ44RLZ.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-6FFGGATI.js";
18
+ } from "./chunk-PAXVHM4E.js";
19
19
  import "./chunk-P4N7DBD5.js";
20
- import "./chunk-NVNC3JY5.js";
20
+ import "./chunk-ZWRMK5TZ.js";
21
21
  import {
22
22
  checkBudget,
23
23
  renderFrontmatter,
24
24
  splitFrontmatter
25
- } from "./chunk-DYAOLBWZ.js";
25
+ } from "./chunk-6N7YO2MJ.js";
26
26
  import "./chunk-UKR64U7J.js";
27
- import "./chunk-CFSYEB4U.js";
27
+ import "./chunk-UYBWUOLR.js";
28
28
  import "./chunk-42SO7KYX.js";
29
29
  import "./chunk-EATCUWGG.js";
30
30
  import "./chunk-OFJIMBTL.js";
@@ -53,14 +53,14 @@ import {
53
53
  import "./chunk-YSAWTGNA.js";
54
54
  import {
55
55
  recordProjector
56
- } from "./chunk-2R3FVI6M.js";
56
+ } from "./chunk-QW6PHF5K.js";
57
57
  import {
58
58
  ProjectError
59
59
  } from "./chunk-NRBQK6UX.js";
60
60
  import "./chunk-OEH47H6A.js";
61
61
  import "./chunk-IJBSOWHK.js";
62
62
  import "./chunk-XWLMZKH2.js";
63
- import "./chunk-7GL2BXSP.js";
63
+ import "./chunk-Y7F4EY35.js";
64
64
  import "./chunk-GJXOFDJT.js";
65
65
  import "./chunk-PMJG2CXF.js";
66
66
  import "./chunk-J6KL3COD.js";
@@ -275,4 +275,4 @@ export {
275
275
  projectOrCheck,
276
276
  removeAndProject
277
277
  };
278
- //# sourceMappingURL=apply-UYCLP5AL.js.map
278
+ //# sourceMappingURL=apply-T26VVWOZ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  hostApprovalDoctor
3
- } from "./chunk-EKW2TQA3.js";
3
+ } from "./chunk-XHBWMWZM.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-6FFGGATI.js";
15
+ } from "./chunk-PAXVHM4E.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-DYAOLBWZ.js";
26
+ } from "./chunk-6N7YO2MJ.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-2R3FVI6M.js";
40
+ } from "./chunk-QW6PHF5K.js";
41
41
  import {
42
42
  ProjectError
43
43
  } from "./chunk-NRBQK6UX.js";
@@ -671,4 +671,4 @@ export {
671
671
  spawnRunner,
672
672
  doctor
673
673
  };
674
- //# sourceMappingURL=chunk-5NPDVKX5.js.map
674
+ //# sourceMappingURL=chunk-2C7YCZCU.js.map
@@ -5,7 +5,7 @@ import {
5
5
  POLICIES,
6
6
  customMode,
7
7
  customPolicy
8
- } from "./chunk-DYAOLBWZ.js";
8
+ } from "./chunk-6N7YO2MJ.js";
9
9
  import {
10
10
  RUNTIMES
11
11
  } from "./chunk-7DYWCQVB.js";
@@ -42,4 +42,4 @@ function policyRows(compiled) {
42
42
  export {
43
43
  policyRows
44
44
  };
45
- //# sourceMappingURL=chunk-667C72QC.js.map
45
+ //# sourceMappingURL=chunk-4LB4665T.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-UKR64U7J.js";
4
4
  import {
5
5
  syncWorktree
6
- } from "./chunk-CFSYEB4U.js";
6
+ } from "./chunk-UYBWUOLR.js";
7
7
  import {
8
8
  localCli,
9
9
  pmcpCommand,
@@ -68,7 +68,7 @@ import {
68
68
  readHost,
69
69
  readLock,
70
70
  readLockFile
71
- } from "./chunk-2R3FVI6M.js";
71
+ } from "./chunk-QW6PHF5K.js";
72
72
  import {
73
73
  ProjectError,
74
74
  RULES_DIR,
@@ -5513,4 +5513,4 @@ export {
5513
5513
  checkBudget,
5514
5514
  readSpec
5515
5515
  };
5516
- //# sourceMappingURL=chunk-DYAOLBWZ.js.map
5516
+ //# sourceMappingURL=chunk-6N7YO2MJ.js.map
@@ -7,20 +7,20 @@ import {
7
7
  observeSession,
8
8
  openGroup,
9
9
  runOperation
10
- } from "./chunk-JX5G2USM.js";
10
+ } from "./chunk-HJRD7R3L.js";
11
11
  import {
12
12
  nativeHostTools
13
- } from "./chunk-5EZKGPWY.js";
13
+ } from "./chunk-UVHL7DOT.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-CBGY3ELI.js";
20
+ } from "./chunk-H7UCINE3.js";
21
21
  import {
22
22
  ptyBinary
23
- } from "./chunk-2R3FVI6M.js";
23
+ } from "./chunk-QW6PHF5K.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-AOWWLVFL.js.map
252
+ //# sourceMappingURL=chunk-7GVHEUCI.js.map
@@ -61,11 +61,11 @@ var completionSpec = {
61
61
  var COMMANDS = [
62
62
  {
63
63
  ...statusSpec,
64
- load: async () => (await import("./status-EBD7PGZZ.js")).statusCommand
64
+ load: async () => (await import("./status-OKH3ZY6V.js")).statusCommand
65
65
  },
66
- { ...initSpec, load: async () => (await import("./init-GXSUWZC7.js")).initCommand },
67
- { ...hooksSpec, load: async () => (await import("./hooks-QGH3RRZH.js")).hooksCommand },
68
- { ...serveSpec, load: async () => (await import("./serve-RYHXWUTT.js")).serveCommand },
66
+ { ...initSpec, load: async () => (await import("./init-SFD2AD55.js")).initCommand },
67
+ { ...hooksSpec, load: async () => (await import("./hooks-YH27BJNA.js")).hooksCommand },
68
+ { ...serveSpec, load: async () => (await import("./serve-N3QMQTFP.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-4YGFV3OU.js")).projectCommand
105
+ load: async () => (await import("./project-XWAGF3LG.js")).projectCommand
106
106
  },
107
107
  {
108
108
  ...doctorSpec,
109
- load: async () => (await import("./doctor-XOUT6HJU.js")).doctorCommand
109
+ load: async () => (await import("./doctor-QENZSTX4.js")).doctorCommand
110
110
  },
111
111
  {
112
112
  ...sessionsSpec,
113
113
  load: async () => (await import("./cli-34EDFXJA.js")).sessionsCommand
114
114
  },
115
115
  { ...logsSpec, load: async () => (await import("./logs-UHJM7ZCL.js")).logsCommand },
116
- { ...gitSpec, load: async () => (await import("./cli-DKVUBOMX.js")).gitCommand },
117
- { ...mcpSpec, load: async () => (await import("./mcp-VQGNYSEO.js")).mcpCommand },
116
+ { ...gitSpec, load: async () => (await import("./cli-ZTYST4U5.js")).gitCommand },
117
+ { ...mcpSpec, load: async () => (await import("./mcp-AWSPXJ5K.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-3DFGRL57.js")).harnessCommand
128
+ load: async () => (await import("./harness-5V7C7W4X.js")).harnessCommand
129
129
  },
130
- { ...tuiSpec, load: async () => (await import("./tui-6JJOARKG.js")).tuiCommand },
130
+ { ...tuiSpec, load: async () => (await import("./tui-TKV3C3XM.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-5WIKJUXU.js")).completionCommand
137
+ load: async () => (await import("./completion-BNGZXFIX.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-XERIEIQ3.js.map
151
+ //# sourceMappingURL=chunk-7MC2ECUI.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-RPCIROW7.js";
4
4
  import {
5
5
  readSpec
6
- } from "./chunk-DYAOLBWZ.js";
6
+ } from "./chunk-6N7YO2MJ.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-565QGUAV.js.map
28
+ //# sourceMappingURL=chunk-AY2JWFTO.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-34DECPVC.js";
4
4
  import {
5
5
  ptyBinary
6
- } from "./chunk-2R3FVI6M.js";
6
+ } from "./chunk-QW6PHF5K.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-CBGY3ELI.js.map
778
+ //# sourceMappingURL=chunk-H7UCINE3.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  assertNativeHost
3
- } from "./chunk-5EZKGPWY.js";
3
+ } from "./chunk-UVHL7DOT.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-CBGY3ELI.js";
36
+ } from "./chunk-H7UCINE3.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-JX5G2USM.js.map
1984
+ //# sourceMappingURL=chunk-HJRD7R3L.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-RPCIROW7.js";
4
4
  import {
5
5
  readSpec
6
- } from "./chunk-DYAOLBWZ.js";
6
+ } from "./chunk-6N7YO2MJ.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-NK5CAYET.js.map
31
+ //# sourceMappingURL=chunk-HRZ44RLZ.js.map
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  nativeBinary,
9
9
  ptyBinary
10
- } from "./chunk-2R3FVI6M.js";
10
+ } from "./chunk-QW6PHF5K.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-GTZ5R2ER.js.map
65
+ //# sourceMappingURL=chunk-HVCBG4MT.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createSkillServer
3
- } from "./chunk-4GBK5M5C.js";
3
+ } from "./chunk-MBWFCWBY.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-HABVHASY.js.map
87
+ //# sourceMappingURL=chunk-LYMX6G4B.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.22.7";
1193
+ var SERVER_VERSION = "0.22.8";
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-4GBK5M5C.js.map
1250
+ //# sourceMappingURL=chunk-MBWFCWBY.js.map
@@ -7,7 +7,7 @@ import {
7
7
  prepare,
8
8
  present,
9
9
  writeNative
10
- } from "./chunk-NVNC3JY5.js";
10
+ } from "./chunk-ZWRMK5TZ.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-DYAOLBWZ.js";
24
+ } from "./chunk-6N7YO2MJ.js";
25
25
  import {
26
26
  HOOK_DIRECTORY
27
27
  } from "./chunk-7DYWCQVB.js";
@@ -30,7 +30,7 @@ import {
30
30
  replaceFile,
31
31
  replaceLink,
32
32
  writeLock
33
- } from "./chunk-2R3FVI6M.js";
33
+ } from "./chunk-QW6PHF5K.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-6FFGGATI.js.map
403
+ //# sourceMappingURL=chunk-PAXVHM4E.js.map
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-XWLMZKH2.js";
10
10
  import {
11
11
  VERSION
12
- } from "./chunk-7GL2BXSP.js";
12
+ } from "./chunk-Y7F4EY35.js";
13
13
  import {
14
14
  ConfigError
15
15
  } from "./chunk-GJXOFDJT.js";
@@ -598,4 +598,4 @@ export {
598
598
  hostEnvDoctor,
599
599
  hostDoctor
600
600
  };
601
- //# sourceMappingURL=chunk-2R3FVI6M.js.map
601
+ //# sourceMappingURL=chunk-QW6PHF5K.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-34DECPVC.js";
7
7
  import {
8
8
  ptyBinary
9
- } from "./chunk-2R3FVI6M.js";
9
+ } from "./chunk-QW6PHF5K.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-5EZKGPWY.js.map
39
+ //# sourceMappingURL=chunk-UVHL7DOT.js.map
@@ -117,7 +117,7 @@ function initAddedSubmodules(root, from, to) {
117
117
  }
118
118
  function initOne(root, path, pin, from) {
119
119
  const dir = join2(root, path);
120
- if (existsSync2(join2(dir, ".git"))) return "already checked out";
120
+ if (existsSync2(join2(dir, ".git"))) return followLeftCheckout(root, path, pin);
121
121
  let displaced = "";
122
122
  if (existsSync2(dir) && readdirSync(dir).length > 0) {
123
123
  if (unignoredFiles(root, path, from).length > 0)
@@ -130,6 +130,19 @@ function initOne(root, path, pin, from) {
130
130
  return `new submodule not checked out: ${done.stderr.trim()}${aside}`;
131
131
  return `new submodule checked out at ${pin.slice(0, 10)}${aside}`;
132
132
  }
133
+ function followLeftCheckout(root, path, pin) {
134
+ const dir = join2(root, path);
135
+ const head = git(dir, ["rev-parse", "HEAD"]);
136
+ if (head.status === 0 && head.stdout.trim() === pin)
137
+ return "already checked out";
138
+ const status = git(dir, ["status", "--porcelain", "--ignored"]);
139
+ if (status.status !== 0 || status.stdout.trim() !== "")
140
+ return `new submodule not checked out: the earlier checkout in ${path} holds changes or ignored files; move it aside, then git submodule update --init ${path}`;
141
+ const done = git(root, ["submodule", "update", "--init", "-q", "--", path]);
142
+ if (done.status !== 0)
143
+ return `new submodule not checked out: ${done.stderr.trim()}`;
144
+ return `earlier checkout moved to the new pin ${pin.slice(0, 10)}`;
145
+ }
133
146
  function unignoredFiles(root, path, from) {
134
147
  const restored = restoreIgnoreFiles(root, path, from);
135
148
  const own = new Set(restored);
@@ -375,4 +388,4 @@ export {
375
388
  followPins,
376
389
  syncWorktree
377
390
  };
378
- //# sourceMappingURL=chunk-CFSYEB4U.js.map
391
+ //# sourceMappingURL=chunk-UYBWUOLR.js.map
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-5ZABTVSW.js";
4
4
  import {
5
5
  dependencies
6
- } from "./chunk-GTZ5R2ER.js";
6
+ } from "./chunk-HVCBG4MT.js";
7
7
  import {
8
8
  interactiveEntry
9
9
  } from "./chunk-LMT3PPXJ.js";
10
10
  import {
11
11
  assertNativeHost
12
- } from "./chunk-5EZKGPWY.js";
12
+ } from "./chunk-UVHL7DOT.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-QRTA5NGD.js.map
45
+ //# sourceMappingURL=chunk-WEOSWF6Q.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HOST_MANIFEST,
3
3
  HOST_POLICY
4
- } from "./chunk-2R3FVI6M.js";
4
+ } from "./chunk-QW6PHF5K.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-EKW2TQA3.js.map
102
+ //# sourceMappingURL=chunk-XHBWMWZM.js.map
@@ -0,0 +1,7 @@
1
+ // src/commands/version.ts
2
+ var VERSION = "0.22.8";
3
+
4
+ export {
5
+ VERSION
6
+ };
7
+ //# sourceMappingURL=chunk-Y7F4EY35.js.map
@@ -19,12 +19,12 @@ import {
19
19
  splitKeyed,
20
20
  versionMatches,
21
21
  withoutBlock
22
- } from "./chunk-DYAOLBWZ.js";
22
+ } from "./chunk-6N7YO2MJ.js";
23
23
  import {
24
24
  lockVersionProblem,
25
25
  readLock,
26
26
  replaceFile
27
- } from "./chunk-2R3FVI6M.js";
27
+ } from "./chunk-QW6PHF5K.js";
28
28
  import {
29
29
  ProjectError,
30
30
  RULES_DIR,
@@ -271,4 +271,4 @@ export {
271
271
  prepare,
272
272
  checkProject
273
273
  };
274
- //# sourceMappingURL=chunk-NVNC3JY5.js.map
274
+ //# sourceMappingURL=chunk-ZWRMK5TZ.js.map
@@ -11,8 +11,8 @@ import {
11
11
  async function action(positional) {
12
12
  const [verb, sub] = positional;
13
13
  if (verb === "deliver")
14
- return (await import("./mainline-VOEDBDZE.js")).mainlineDeliver;
15
- if (verb === "sync") return (await import("./mainline-VOEDBDZE.js")).mainlineSync;
14
+ return (await import("./mainline-SQSAUOMQ.js")).mainlineDeliver;
15
+ if (verb === "sync") return (await import("./mainline-SQSAUOMQ.js")).mainlineSync;
16
16
  if (verb !== "worktree")
17
17
  throw new ArgumentError("Use worktree, deliver or sync");
18
18
  if (sub === "create")
@@ -20,7 +20,7 @@ async function action(positional) {
20
20
  if (sub === "list")
21
21
  return (await import("./worktree-list-WH6OX6U7.js")).worktreeList;
22
22
  if (sub === "sync")
23
- return (await import("./worktree-sync-JS7ZSCKX.js")).worktreeSync;
23
+ return (await import("./worktree-sync-DGNHSQ64.js")).worktreeSync;
24
24
  throw new ArgumentError("Use worktree create, list or sync");
25
25
  }
26
26
  async function run(context) {
@@ -45,4 +45,4 @@ var gitCommand = { ...gitSpec, run };
45
45
  export {
46
46
  gitCommand
47
47
  };
48
- //# sourceMappingURL=cli-DKVUBOMX.js.map
48
+ //# sourceMappingURL=cli-ZTYST4U5.js.map
package/dist/cli.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  COMMANDS,
7
7
  PLANNED,
8
8
  commandNamed
9
- } from "./chunk-XERIEIQ3.js";
9
+ } from "./chunk-7MC2ECUI.js";
10
10
  import "./chunk-2P4Z2NUX.js";
11
11
  import "./chunk-JWRZDYB5.js";
12
12
  import "./chunk-3Y3HDMHA.js";
@@ -32,7 +32,7 @@ import {
32
32
  import "./chunk-V4NPDK6X.js";
33
33
  import {
34
34
  VERSION
35
- } from "./chunk-7GL2BXSP.js";
35
+ } from "./chunk-Y7F4EY35.js";
36
36
 
37
37
  // src/cli/ui.ts
38
38
  var ESC = String.fromCharCode(27);
@@ -185,7 +185,7 @@ async function defaultEntry(options, context) {
185
185
  });
186
186
  if (mode === "server") return run(required("serve"), [], context);
187
187
  if (mode === "terminal") {
188
- const { terminalSupport } = await import("./host-64MTQRJZ.js");
188
+ const { terminalSupport } = await import("./host-LDKQLXZK.js");
189
189
  const support = terminalSupport();
190
190
  if (support.supported) return run(required("tui"), [], context);
191
191
  context.ui.info(`Terminal workspace unavailable: ${support.reason}`);
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  COMMANDS,
3
3
  completionSpec
4
- } from "./chunk-XERIEIQ3.js";
4
+ } from "./chunk-7MC2ECUI.js";
5
5
  import "./chunk-2P4Z2NUX.js";
6
6
  import "./chunk-JWRZDYB5.js";
7
7
  import "./chunk-3Y3HDMHA.js";
@@ -139,4 +139,4 @@ var completionCommand = {
139
139
  export {
140
140
  completionCommand
141
141
  };
142
- //# sourceMappingURL=completion-5WIKJUXU.js.map
142
+ //# sourceMappingURL=completion-BNGZXFIX.js.map
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  dependencies
3
- } from "./chunk-GTZ5R2ER.js";
3
+ } from "./chunk-HVCBG4MT.js";
4
4
  import {
5
5
  assertNativeHost
6
- } from "./chunk-5EZKGPWY.js";
6
+ } from "./chunk-UVHL7DOT.js";
7
7
  import {
8
8
  locateExecutable
9
9
  } from "./chunk-R2GPCZUX.js";
10
10
  import "./chunk-34DECPVC.js";
11
11
  import {
12
12
  missingBinary
13
- } from "./chunk-2R3FVI6M.js";
13
+ } from "./chunk-QW6PHF5K.js";
14
14
  import "./chunk-NRBQK6UX.js";
15
15
  import "./chunk-OEH47H6A.js";
16
16
  import "./chunk-IJBSOWHK.js";
17
17
  import "./chunk-XWLMZKH2.js";
18
18
  import {
19
19
  VERSION
20
- } from "./chunk-7GL2BXSP.js";
20
+ } from "./chunk-Y7F4EY35.js";
21
21
  import "./chunk-GJXOFDJT.js";
22
22
  import "./chunk-PMJG2CXF.js";
23
23
  import {
@@ -92,4 +92,4 @@ function inspectTerminalHost() {
92
92
  export {
93
93
  inspectTerminalHost
94
94
  };
95
- //# sourceMappingURL=diagnostics-6EKKP4FS.js.map
95
+ //# sourceMappingURL=diagnostics-EDOHR27L.js.map