pybao-cli 1.4.15 → 1.4.16

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 (152) hide show
  1. package/dist/REPL-OP67MYUI.js +47 -0
  2. package/dist/{acp-RPMY76QL.js → acp-4BY6E74V.js} +29 -29
  3. package/dist/{agentsValidate-PX32PNPA.js → agentsValidate-ZW4UZ6WJ.js} +7 -7
  4. package/dist/{ask-P3GOQDEX.js → ask-EZLW4GJR.js} +28 -28
  5. package/dist/{autoUpdater-R4EXAJ7P.js → autoUpdater-YJD7A6N4.js} +3 -3
  6. package/dist/{chunk-ONPK4QYB.js → chunk-2NZLVZZN.js} +2 -2
  7. package/dist/{chunk-4YNWFMHH.js → chunk-3WE2Y7IS.js} +1 -1
  8. package/dist/{chunk-THJLROJB.js → chunk-54BVQTJK.js} +12 -2
  9. package/dist/chunk-54BVQTJK.js.map +7 -0
  10. package/dist/{chunk-IB6KSWDZ.js → chunk-5LU4IMRO.js} +6 -6
  11. package/dist/chunk-5LU4IMRO.js.map +7 -0
  12. package/dist/{chunk-PD6OTVLV.js → chunk-6NAGAGUN.js} +1 -1
  13. package/dist/{chunk-YY4XF7AZ.js → chunk-AYTHH4OG.js} +39 -38
  14. package/dist/chunk-AYTHH4OG.js.map +7 -0
  15. package/dist/{chunk-EASHVVK6.js → chunk-BCVME6IW.js} +3 -3
  16. package/dist/{chunk-ZTVPEF2F.js → chunk-BHRSSA7V.js} +1 -1
  17. package/dist/{chunk-NA7ROPOY.js → chunk-BN67YCOJ.js} +3 -3
  18. package/dist/{chunk-33NX2JEV.js → chunk-DQPO3BVO.js} +2 -2
  19. package/dist/{chunk-2WZXH6PI.js → chunk-EH2JWJOR.js} +3 -3
  20. package/dist/{chunk-YV4PKPBH.js → chunk-FXQWQEBJ.js} +2 -2
  21. package/dist/{chunk-ELWN7R7M.js → chunk-GFFEE5LM.js} +4 -4
  22. package/dist/{chunk-BUEOTCMA.js → chunk-GMNQLICU.js} +3 -3
  23. package/dist/{chunk-TJOLXDG6.js → chunk-GZCFWOTQ.js} +4 -4
  24. package/dist/{chunk-C6ZACFHI.js → chunk-HBAL4UBJ.js} +1 -1
  25. package/dist/{chunk-2WZY23LE.js → chunk-JANMYCFI.js} +22 -21
  26. package/dist/chunk-JANMYCFI.js.map +7 -0
  27. package/dist/{chunk-4E4ZHEYH.js → chunk-KNILDMY5.js} +2 -2
  28. package/dist/{chunk-LOOXNX5Y.js → chunk-KV2VMNNF.js} +4 -4
  29. package/dist/{chunk-5TAP3RGJ.js → chunk-MBQBME2D.js} +2 -2
  30. package/dist/{chunk-PVPXTCJH.js → chunk-N3LB5QDW.js} +1 -1
  31. package/dist/{chunk-PVPXTCJH.js.map → chunk-N3LB5QDW.js.map} +1 -1
  32. package/dist/{chunk-37NXYZZP.js → chunk-NKATIHUV.js} +3 -3
  33. package/dist/{chunk-BB7V4QKI.js → chunk-OYKPAK4T.js} +1 -1
  34. package/dist/{chunk-L3W3K3QU.js → chunk-PDIYFR3M.js} +27 -26
  35. package/dist/chunk-PDIYFR3M.js.map +7 -0
  36. package/dist/{chunk-2GNIL5UE.js → chunk-RU2QOEST.js} +3 -3
  37. package/dist/{chunk-MRMEHFMO.js → chunk-U4K7D5BX.js} +1 -1
  38. package/dist/{chunk-5N64T4FL.js → chunk-W4PHX55O.js} +2 -2
  39. package/dist/{chunk-UO5X5SXI.js → chunk-X2WFPPZ6.js} +1 -1
  40. package/dist/{chunk-6RKXEEHI.js → chunk-XS2CSGZS.js} +2 -2
  41. package/dist/{chunk-3D4D72TA.js → chunk-YM3LU2U2.js} +1 -1
  42. package/dist/{cli-GPDT2IJU.js → cli-HVIIKEBZ.js} +120 -102
  43. package/dist/cli-HVIIKEBZ.js.map +7 -0
  44. package/dist/commands-LPHKMDQQ.js +51 -0
  45. package/dist/{config-LWY7BZXJ.js → config-I3OK6HOR.js} +4 -4
  46. package/dist/{context-5AE67GYL.js → context-F3UBAWUR.js} +6 -6
  47. package/dist/{customCommands-7UNIEUFP.js → customCommands-CT4UBTJ3.js} +4 -4
  48. package/dist/{env-EFQJVSUY.js → env-SEQVESNX.js} +2 -2
  49. package/dist/{file-VRVRLDK2.js → file-OXKLY56G.js} +4 -4
  50. package/dist/index.js +3 -3
  51. package/dist/{llm-6BUSXSBZ.js → llm-IOCHHLE3.js} +29 -29
  52. package/dist/{llmLazy-6WFEDUPC.js → llmLazy-RIVBXEHP.js} +1 -1
  53. package/dist/{loader-HQ56KK4K.js → loader-5OLPHZPH.js} +4 -4
  54. package/dist/{lsp-4GTQX6SE.js → lsp-XM7AJFRL.js} +6 -6
  55. package/dist/{lspAnchor-4IEM6SQM.js → lspAnchor-2GDDRGLD.js} +8 -8
  56. package/dist/lspAnchor-2GDDRGLD.js.map +7 -0
  57. package/dist/{mcp-RFRGVPYG.js → mcp-UWYF5ZSK.js} +7 -7
  58. package/dist/{mentionProcessor-J4U4MFY5.js → mentionProcessor-JYOTYUQB.js} +5 -5
  59. package/dist/{messages-5JAJG44H.js → messages-ZCWO6COZ.js} +1 -1
  60. package/dist/{model-VR6QZCYI.js → model-MECAPV7A.js} +5 -5
  61. package/dist/{openai-LUD3GHJ5.js → openai-J6EXXQCF.js} +5 -5
  62. package/dist/{outputStyles-TJM65BMJ.js → outputStyles-L665IA2S.js} +4 -4
  63. package/dist/{pluginRuntime-OW54XVUW.js → pluginRuntime-JUC5IBC4.js} +6 -6
  64. package/dist/{pluginValidation-X2LVT22X.js → pluginValidation-SCGOD6ES.js} +6 -6
  65. package/dist/prompts-T3UK52SE.js +53 -0
  66. package/dist/{pybAgentSessionLoad-YI2EVD6F.js → pybAgentSessionLoad-IYZLFHHD.js} +4 -4
  67. package/dist/{pybAgentSessionResume-VJIKNW7O.js → pybAgentSessionResume-EOHQNKTV.js} +4 -4
  68. package/dist/{pybAgentStreamJsonSession-6DZUR3ME.js → pybAgentStreamJsonSession-KL2P62KD.js} +1 -1
  69. package/dist/{pybHooks-U24NOHX7.js → pybHooks-TN6MSHW2.js} +4 -4
  70. package/dist/query-W4AHBITB.js +55 -0
  71. package/dist/{registry-2U2WP7ZB.js → registry-KEXYTSWO.js} +5 -5
  72. package/dist/{ripgrep-EO24IKYT.js → ripgrep-2BKEMATD.js} +3 -3
  73. package/dist/{skillMarketplace-CAGSV3Z6.js → skillMarketplace-GQGXOINV.js} +3 -3
  74. package/dist/{state-56C2ROYY.js → state-72LIFZIK.js} +8 -4
  75. package/dist/{theme-DYILR2QC.js → theme-M23WLSPC.js} +5 -5
  76. package/dist/{toolPermissionSettings-ZPBRNODI.js → toolPermissionSettings-A5FWQUS2.js} +6 -6
  77. package/dist/tools-GTXU2Z34.js +52 -0
  78. package/dist/{userInput-3A7OKG4S.js → userInput-CQF6H7YG.js} +30 -30
  79. package/package.json +1 -1
  80. package/dist/REPL-3X2W4SUH.js +0 -47
  81. package/dist/chunk-2WZY23LE.js.map +0 -7
  82. package/dist/chunk-IB6KSWDZ.js.map +0 -7
  83. package/dist/chunk-L3W3K3QU.js.map +0 -7
  84. package/dist/chunk-THJLROJB.js.map +0 -7
  85. package/dist/chunk-YY4XF7AZ.js.map +0 -7
  86. package/dist/cli-GPDT2IJU.js.map +0 -7
  87. package/dist/commands-YV373ZFU.js +0 -51
  88. package/dist/lspAnchor-4IEM6SQM.js.map +0 -7
  89. package/dist/prompts-KTT5FAYF.js +0 -53
  90. package/dist/query-PSDZBJSO.js +0 -55
  91. package/dist/tools-M4GJRWEU.js +0 -52
  92. /package/dist/{REPL-3X2W4SUH.js.map → REPL-OP67MYUI.js.map} +0 -0
  93. /package/dist/{acp-RPMY76QL.js.map → acp-4BY6E74V.js.map} +0 -0
  94. /package/dist/{agentsValidate-PX32PNPA.js.map → agentsValidate-ZW4UZ6WJ.js.map} +0 -0
  95. /package/dist/{ask-P3GOQDEX.js.map → ask-EZLW4GJR.js.map} +0 -0
  96. /package/dist/{autoUpdater-R4EXAJ7P.js.map → autoUpdater-YJD7A6N4.js.map} +0 -0
  97. /package/dist/{chunk-ONPK4QYB.js.map → chunk-2NZLVZZN.js.map} +0 -0
  98. /package/dist/{chunk-4YNWFMHH.js.map → chunk-3WE2Y7IS.js.map} +0 -0
  99. /package/dist/{chunk-PD6OTVLV.js.map → chunk-6NAGAGUN.js.map} +0 -0
  100. /package/dist/{chunk-EASHVVK6.js.map → chunk-BCVME6IW.js.map} +0 -0
  101. /package/dist/{chunk-ZTVPEF2F.js.map → chunk-BHRSSA7V.js.map} +0 -0
  102. /package/dist/{chunk-NA7ROPOY.js.map → chunk-BN67YCOJ.js.map} +0 -0
  103. /package/dist/{chunk-33NX2JEV.js.map → chunk-DQPO3BVO.js.map} +0 -0
  104. /package/dist/{chunk-2WZXH6PI.js.map → chunk-EH2JWJOR.js.map} +0 -0
  105. /package/dist/{chunk-YV4PKPBH.js.map → chunk-FXQWQEBJ.js.map} +0 -0
  106. /package/dist/{chunk-ELWN7R7M.js.map → chunk-GFFEE5LM.js.map} +0 -0
  107. /package/dist/{chunk-BUEOTCMA.js.map → chunk-GMNQLICU.js.map} +0 -0
  108. /package/dist/{chunk-TJOLXDG6.js.map → chunk-GZCFWOTQ.js.map} +0 -0
  109. /package/dist/{chunk-C6ZACFHI.js.map → chunk-HBAL4UBJ.js.map} +0 -0
  110. /package/dist/{chunk-4E4ZHEYH.js.map → chunk-KNILDMY5.js.map} +0 -0
  111. /package/dist/{chunk-LOOXNX5Y.js.map → chunk-KV2VMNNF.js.map} +0 -0
  112. /package/dist/{chunk-5TAP3RGJ.js.map → chunk-MBQBME2D.js.map} +0 -0
  113. /package/dist/{chunk-37NXYZZP.js.map → chunk-NKATIHUV.js.map} +0 -0
  114. /package/dist/{chunk-BB7V4QKI.js.map → chunk-OYKPAK4T.js.map} +0 -0
  115. /package/dist/{chunk-2GNIL5UE.js.map → chunk-RU2QOEST.js.map} +0 -0
  116. /package/dist/{chunk-MRMEHFMO.js.map → chunk-U4K7D5BX.js.map} +0 -0
  117. /package/dist/{chunk-5N64T4FL.js.map → chunk-W4PHX55O.js.map} +0 -0
  118. /package/dist/{chunk-UO5X5SXI.js.map → chunk-X2WFPPZ6.js.map} +0 -0
  119. /package/dist/{chunk-6RKXEEHI.js.map → chunk-XS2CSGZS.js.map} +0 -0
  120. /package/dist/{chunk-3D4D72TA.js.map → chunk-YM3LU2U2.js.map} +0 -0
  121. /package/dist/{commands-YV373ZFU.js.map → commands-LPHKMDQQ.js.map} +0 -0
  122. /package/dist/{config-LWY7BZXJ.js.map → config-I3OK6HOR.js.map} +0 -0
  123. /package/dist/{context-5AE67GYL.js.map → context-F3UBAWUR.js.map} +0 -0
  124. /package/dist/{customCommands-7UNIEUFP.js.map → customCommands-CT4UBTJ3.js.map} +0 -0
  125. /package/dist/{env-EFQJVSUY.js.map → env-SEQVESNX.js.map} +0 -0
  126. /package/dist/{file-VRVRLDK2.js.map → file-OXKLY56G.js.map} +0 -0
  127. /package/dist/{llm-6BUSXSBZ.js.map → llm-IOCHHLE3.js.map} +0 -0
  128. /package/dist/{llmLazy-6WFEDUPC.js.map → llmLazy-RIVBXEHP.js.map} +0 -0
  129. /package/dist/{loader-HQ56KK4K.js.map → loader-5OLPHZPH.js.map} +0 -0
  130. /package/dist/{lsp-4GTQX6SE.js.map → lsp-XM7AJFRL.js.map} +0 -0
  131. /package/dist/{mcp-RFRGVPYG.js.map → mcp-UWYF5ZSK.js.map} +0 -0
  132. /package/dist/{mentionProcessor-J4U4MFY5.js.map → mentionProcessor-JYOTYUQB.js.map} +0 -0
  133. /package/dist/{messages-5JAJG44H.js.map → messages-ZCWO6COZ.js.map} +0 -0
  134. /package/dist/{model-VR6QZCYI.js.map → model-MECAPV7A.js.map} +0 -0
  135. /package/dist/{openai-LUD3GHJ5.js.map → openai-J6EXXQCF.js.map} +0 -0
  136. /package/dist/{outputStyles-TJM65BMJ.js.map → outputStyles-L665IA2S.js.map} +0 -0
  137. /package/dist/{pluginRuntime-OW54XVUW.js.map → pluginRuntime-JUC5IBC4.js.map} +0 -0
  138. /package/dist/{pluginValidation-X2LVT22X.js.map → pluginValidation-SCGOD6ES.js.map} +0 -0
  139. /package/dist/{prompts-KTT5FAYF.js.map → prompts-T3UK52SE.js.map} +0 -0
  140. /package/dist/{pybAgentSessionLoad-YI2EVD6F.js.map → pybAgentSessionLoad-IYZLFHHD.js.map} +0 -0
  141. /package/dist/{pybAgentSessionResume-VJIKNW7O.js.map → pybAgentSessionResume-EOHQNKTV.js.map} +0 -0
  142. /package/dist/{pybAgentStreamJsonSession-6DZUR3ME.js.map → pybAgentStreamJsonSession-KL2P62KD.js.map} +0 -0
  143. /package/dist/{pybHooks-U24NOHX7.js.map → pybHooks-TN6MSHW2.js.map} +0 -0
  144. /package/dist/{query-PSDZBJSO.js.map → query-W4AHBITB.js.map} +0 -0
  145. /package/dist/{registry-2U2WP7ZB.js.map → registry-KEXYTSWO.js.map} +0 -0
  146. /package/dist/{ripgrep-EO24IKYT.js.map → ripgrep-2BKEMATD.js.map} +0 -0
  147. /package/dist/{skillMarketplace-CAGSV3Z6.js.map → skillMarketplace-GQGXOINV.js.map} +0 -0
  148. /package/dist/{state-56C2ROYY.js.map → state-72LIFZIK.js.map} +0 -0
  149. /package/dist/{theme-DYILR2QC.js.map → theme-M23WLSPC.js.map} +0 -0
  150. /package/dist/{toolPermissionSettings-ZPBRNODI.js.map → toolPermissionSettings-A5FWQUS2.js.map} +0 -0
  151. /package/dist/{tools-M4GJRWEU.js.map → tools-GTXU2Z34.js.map} +0 -0
  152. /package/dist/{userInput-3A7OKG4S.js.map → userInput-CQF6H7YG.js.map} +0 -0
@@ -8,14 +8,14 @@ import {
8
8
  getSettingsFileCandidates,
9
9
  loadSettingsWithLegacyFallback,
10
10
  saveSettingsToPrimaryAndSyncLegacy
11
- } from "./chunk-UO5X5SXI.js";
11
+ } from "./chunk-X2WFPPZ6.js";
12
12
  import {
13
13
  getCurrentProjectConfig
14
- } from "./chunk-BUEOTCMA.js";
14
+ } from "./chunk-GMNQLICU.js";
15
15
  import {
16
16
  getCwd,
17
17
  logError
18
- } from "./chunk-THJLROJB.js";
18
+ } from "./chunk-54BVQTJK.js";
19
19
 
20
20
  // src/utils/permissions/toolPermissionSettings.ts
21
21
  function uniqueStrings(value) {
@@ -4,7 +4,7 @@ import {
4
4
  BunShell,
5
5
  execFileNoThrow,
6
6
  logError
7
- } from "./chunk-THJLROJB.js";
7
+ } from "./chunk-54BVQTJK.js";
8
8
 
9
9
  // src/utils/system/ripgrep.ts
10
10
  import { findActualExecutable } from "spawn-rx";
@@ -2,13 +2,13 @@ import { createRequire as __pybCreateRequire } from "node:module";
2
2
  const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  MarketplaceManifestSchema
5
- } from "./chunk-C6ZACFHI.js";
5
+ } from "./chunk-HBAL4UBJ.js";
6
6
  import {
7
7
  parseFrontmatter
8
- } from "./chunk-4E4ZHEYH.js";
8
+ } from "./chunk-KNILDMY5.js";
9
9
  import {
10
10
  getCwd
11
- } from "./chunk-THJLROJB.js";
11
+ } from "./chunk-54BVQTJK.js";
12
12
 
13
13
  // src/services/plugins/pluginValidation.ts
14
14
  import { existsSync, lstatSync, readFileSync } from "node:fs";
@@ -8,12 +8,12 @@ import {
8
8
  } from "./chunk-BJSWTHRM.js";
9
9
  import {
10
10
  debug
11
- } from "./chunk-3D4D72TA.js";
11
+ } from "./chunk-YM3LU2U2.js";
12
12
  import {
13
13
  getCwd,
14
14
  getXdgConfigDir,
15
15
  logError
16
- } from "./chunk-THJLROJB.js";
16
+ } from "./chunk-54BVQTJK.js";
17
17
 
18
18
  // src/utils/agent/loader.ts
19
19
  import {
@@ -4,10 +4,10 @@ import {
4
4
  PRODUCT_NAME,
5
5
  execFileNoThrow,
6
6
  logError
7
- } from "./chunk-THJLROJB.js";
7
+ } from "./chunk-54BVQTJK.js";
8
8
  import {
9
9
  MACRO
10
- } from "./chunk-PVPXTCJH.js";
10
+ } from "./chunk-N3LB5QDW.js";
11
11
 
12
12
  // src/utils/session/autoUpdater.ts
13
13
  async function getSemver() {
@@ -82,7 +82,7 @@ async function checkAndNotifyUpdate() {
82
82
  const [
83
83
  { isAutoUpdaterDisabled, getGlobalConfig, saveGlobalConfig },
84
84
  { env }
85
- ] = await Promise.all([import("./config-LWY7BZXJ.js"), import("./env-EFQJVSUY.js")]);
85
+ ] = await Promise.all([import("./config-I3OK6HOR.js"), import("./env-SEQVESNX.js")]);
86
86
  if (await isAutoUpdaterDisabled()) return;
87
87
  if (await env.getIsDocker()) return;
88
88
  if (!await env.hasInternetAccess()) return;
@@ -7,14 +7,14 @@ import {
7
7
  getSettingsFileCandidates,
8
8
  loadSettingsWithLegacyFallback,
9
9
  saveSettingsToPrimaryAndSyncLegacy
10
- } from "./chunk-UO5X5SXI.js";
10
+ } from "./chunk-X2WFPPZ6.js";
11
11
  import {
12
12
  getSessionPlugins
13
13
  } from "./chunk-BJSWTHRM.js";
14
14
  import {
15
15
  getCwd,
16
16
  getXdgConfigDir
17
- } from "./chunk-THJLROJB.js";
17
+ } from "./chunk-54BVQTJK.js";
18
18
 
19
19
  // src/services/ui/outputStyles.ts
20
20
  import figures from "figures";
@@ -3,13 +3,13 @@ const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  getSettingsFileCandidates,
5
5
  loadSettingsWithLegacyFallback
6
- } from "./chunk-UO5X5SXI.js";
6
+ } from "./chunk-X2WFPPZ6.js";
7
7
  import {
8
8
  getSessionPlugins
9
9
  } from "./chunk-BJSWTHRM.js";
10
10
  import {
11
11
  getTheme
12
- } from "./chunk-4YNWFMHH.js";
12
+ } from "./chunk-3WE2Y7IS.js";
13
13
  import {
14
14
  addMcprcServerForTesting,
15
15
  getCurrentProjectConfig,
@@ -19,13 +19,13 @@ import {
19
19
  safeParseJSON,
20
20
  saveCurrentProjectConfig,
21
21
  saveGlobalConfig
22
- } from "./chunk-BUEOTCMA.js";
22
+ } from "./chunk-GMNQLICU.js";
23
23
  import {
24
24
  PRODUCT_COMMAND,
25
25
  PRODUCT_NAME,
26
26
  getCwd,
27
27
  logMCPError
28
- } from "./chunk-THJLROJB.js";
28
+ } from "./chunk-54BVQTJK.js";
29
29
 
30
30
  // src/services/mcp/client.ts
31
31
  import { existsSync as existsSync2, readFileSync as readFileSync2 } from "fs";
@@ -5,13 +5,13 @@ import {
5
5
  } from "./chunk-RQVLBMP7.js";
6
6
  import {
7
7
  debug
8
- } from "./chunk-3D4D72TA.js";
8
+ } from "./chunk-YM3LU2U2.js";
9
9
  import {
10
10
  getCwd,
11
11
  getGlobalConfigFilePath,
12
12
  getLegacyGlobalConfigFilePath,
13
13
  logError
14
- } from "./chunk-THJLROJB.js";
14
+ } from "./chunk-54BVQTJK.js";
15
15
 
16
16
  // src/core/config/schema.ts
17
17
  function isAutoUpdaterStatus(value) {
@@ -688,7 +688,7 @@ function setModelPointer(pointer, modelName) {
688
688
  }
689
689
  };
690
690
  saveGlobalConfig(updatedConfig);
691
- import("./model-VR6QZCYI.js").then(({ reloadModelManager }) => {
691
+ import("./model-MECAPV7A.js").then(({ reloadModelManager }) => {
692
692
  reloadModelManager();
693
693
  });
694
694
  }
@@ -2,23 +2,23 @@ import { createRequire as __pybCreateRequire } from "node:module";
2
2
  const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  ripGrepWithStatus
5
- } from "./chunk-ZTVPEF2F.js";
5
+ } from "./chunk-BHRSSA7V.js";
6
6
  import {
7
7
  getCurrentProjectConfig,
8
8
  getGlobalConfig,
9
9
  getOrCreateUserID,
10
10
  saveCurrentProjectConfig
11
- } from "./chunk-BUEOTCMA.js";
11
+ } from "./chunk-GMNQLICU.js";
12
12
  import {
13
13
  SESSION_ID,
14
14
  env,
15
15
  execFileNoThrow,
16
16
  getCwd,
17
17
  logError
18
- } from "./chunk-THJLROJB.js";
18
+ } from "./chunk-54BVQTJK.js";
19
19
  import {
20
20
  MACRO
21
- } from "./chunk-PVPXTCJH.js";
21
+ } from "./chunk-N3LB5QDW.js";
22
22
  import {
23
23
  __require
24
24
  } from "./chunk-I3J4JYES.js";
@@ -5,7 +5,7 @@ import {
5
5
  getCwd,
6
6
  resolveXdgCachePath,
7
7
  resolveXdgDataPath
8
- } from "./chunk-THJLROJB.js";
8
+ } from "./chunk-54BVQTJK.js";
9
9
 
10
10
  // src/services/plugins/skillMarketplace.ts
11
11
  import {
@@ -25,68 +25,69 @@ import {
25
25
  hasReadPermission,
26
26
  hasWritePermission,
27
27
  query
28
- } from "./chunk-YY4XF7AZ.js";
28
+ } from "./chunk-AYTHH4OG.js";
29
29
  import {
30
30
  queryLLM,
31
31
  queryQuick
32
- } from "./chunk-LOOXNX5Y.js";
32
+ } from "./chunk-KV2VMNNF.js";
33
33
  import {
34
34
  FallbackToolUseRejectedMessage,
35
35
  MCPTool,
36
36
  getClients,
37
37
  getMCPTools
38
- } from "./chunk-ELWN7R7M.js";
38
+ } from "./chunk-GFFEE5LM.js";
39
39
  import {
40
40
  generateAgentId
41
- } from "./chunk-ONPK4QYB.js";
41
+ } from "./chunk-2NZLVZZN.js";
42
42
  import {
43
43
  getActiveAgents,
44
44
  getAgentByType,
45
45
  getAvailableAgentTypes
46
- } from "./chunk-33NX2JEV.js";
46
+ } from "./chunk-DQPO3BVO.js";
47
47
  import {
48
48
  INTERRUPT_MESSAGE,
49
49
  createAssistantMessage,
50
50
  createUserMessage,
51
51
  getLastAssistantMessageId
52
- } from "./chunk-PD6OTVLV.js";
52
+ } from "./chunk-6NAGAGUN.js";
53
53
  import {
54
54
  formatDuration,
55
55
  formatNumber
56
56
  } from "./chunk-OUXHGDLH.js";
57
57
  import {
58
58
  getAbsolutePath
59
- } from "./chunk-5TAP3RGJ.js";
59
+ } from "./chunk-MBQBME2D.js";
60
60
  import {
61
61
  LspFacade,
62
62
  formatDiagnosticsPretty
63
- } from "./chunk-L3W3K3QU.js";
63
+ } from "./chunk-PDIYFR3M.js";
64
64
  import {
65
65
  getModelManager
66
- } from "./chunk-2GNIL5UE.js";
66
+ } from "./chunk-RU2QOEST.js";
67
67
  import {
68
68
  getContext
69
- } from "./chunk-TJOLXDG6.js";
69
+ } from "./chunk-GZCFWOTQ.js";
70
70
  import {
71
71
  filesToTree,
72
72
  ripGrepWithStatus
73
- } from "./chunk-ZTVPEF2F.js";
73
+ } from "./chunk-BHRSSA7V.js";
74
74
  import {
75
75
  getTheme
76
- } from "./chunk-4YNWFMHH.js";
76
+ } from "./chunk-3WE2Y7IS.js";
77
77
  import {
78
78
  debug
79
- } from "./chunk-3D4D72TA.js";
79
+ } from "./chunk-YM3LU2U2.js";
80
80
  import {
81
81
  BunShell,
82
82
  getCwd,
83
83
  getMessagesPath,
84
84
  getNextAvailableLogSidechainNumber,
85
+ getSessionRoot,
85
86
  logError,
86
87
  overwriteLog,
87
88
  readTaskOutput,
88
89
  resolveXdgDataPath
89
- } from "./chunk-THJLROJB.js";
90
+ } from "./chunk-54BVQTJK.js";
90
91
 
91
92
  // src/tools/index.ts
92
93
  import { memoize as memoize2 } from "lodash-es";
@@ -765,7 +766,7 @@ async function analyzeOutputWithLsp(output, exitCode) {
765
766
  if (exitCode !== 0 || errorCount > 0 || warningCount > 0) {
766
767
  try {
767
768
  const { isAbsolute: isAbsolute3, resolve: resolve4 } = await import("path");
768
- const { getCwd: getCwd2 } = await import("./state-56C2ROYY.js");
769
+ const { getSessionRoot: getSessionRoot2 } = await import("./state-72LIFZIK.js");
769
770
  const lines = output.split("\n");
770
771
  const uniqueFiles = /* @__PURE__ */ new Set();
771
772
  const lspSuggestions = [];
@@ -790,16 +791,16 @@ async function analyzeOutputWithLsp(output, exitCode) {
790
791
  }
791
792
  for (const file of uniqueFiles) {
792
793
  try {
793
- const absPath = isAbsolute3(file) ? file : resolve4(getCwd2(), file);
794
+ const absPath = isAbsolute3(file) ? file : resolve4(getSessionRoot2(), file);
794
795
  await LspFacade.run({
795
796
  operation: "diagnostics",
796
797
  filePath: absPath,
797
798
  waitForDiagnostics: true,
798
799
  timeoutMs: 2e3,
799
- rootPath: getCwd2()
800
+ rootPath: getSessionRoot2()
800
801
  });
801
802
  const diagnostics = await LspFacade.diagnostics(absPath, {
802
- rootPath: getCwd2()
803
+ rootPath: getSessionRoot2()
803
804
  });
804
805
  if (diagnostics && diagnostics.length > 0) {
805
806
  const pretty = formatDiagnosticsPretty(diagnostics, { maxItems: 3 });
@@ -1138,7 +1139,7 @@ var DeleteTool = {
1138
1139
  }
1139
1140
  if (!force) {
1140
1141
  try {
1141
- const { LspFacade: LspFacade2 } = await import("./lsp-4GTQX6SE.js");
1142
+ const { LspFacade: LspFacade2 } = await import("./lsp-XM7AJFRL.js");
1142
1143
  const referenceDetail = await LspFacade2.checkFileReferences(fullPath);
1143
1144
  if (referenceDetail) {
1144
1145
  failedItems.push(
@@ -1607,7 +1608,7 @@ var getDirectoryStats = (paths) => {
1607
1608
  // src/tools/search/LspTool/LspTool.tsx
1608
1609
  import { existsSync as existsSync3, readFileSync as readFileSync2, statSync as statSync2 } from "fs";
1609
1610
  import { Box as Box6, Text as Text6 } from "ink";
1610
- import { dirname, relative as relative3, resolve as resolve3 } from "path";
1611
+ import { relative as relative3, resolve as resolve3 } from "path";
1611
1612
  import React6 from "react";
1612
1613
  import { z as z6 } from "zod";
1613
1614
 
@@ -2027,7 +2028,7 @@ var LspTool = {
2027
2028
  } catch {
2028
2029
  }
2029
2030
  }
2030
- const workspaceRoot = input.operation === "workspaceSymbol" ? statSync2(absPath).isDirectory() ? absPath : dirname(absPath) : void 0;
2031
+ const workspaceRoot = input.operation === "workspaceSymbol" ? statSync2(absPath).isDirectory() ? absPath : getSessionRoot() : void 0;
2031
2032
  const targetPath = input.operation === "workspaceSymbol" ? absPath : absPath;
2032
2033
  const formattedResult = await LspFacade.run({
2033
2034
  operation: input.operation,