@shareai-lab/kode 2.1.10 → 2.1.12

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 (172) hide show
  1. package/dist/chunks/{Doctor-XELFCSOT.js → Doctor-UTJUNV3M.js} +9 -9
  2. package/dist/chunks/{LogList-3NTFJCO2.js → LogList-CAO6MIDJ.js} +7 -7
  3. package/dist/chunks/{REPL-IX3IFPIG.js → REPL-SRMLNUNG.js} +36 -36
  4. package/dist/chunks/{ResumeConversation-FVOIVVGE.js → ResumeConversation-5EYFE4H6.js} +38 -38
  5. package/dist/chunks/{agentLoader-6NDWVGB7.js → agentLoader-GRFWSMV2.js} +5 -5
  6. package/dist/chunks/{agentsValidate-3Q5O2KRJ.js → agentsValidate-IF3Q3VLR.js} +6 -6
  7. package/dist/chunks/{ask-U3DRLYA5.js → ask-NPC6SEGF.js} +16 -16
  8. package/dist/chunks/{autoUpdater-7VYMYA45.js → autoUpdater-M5SIW7ML.js} +4 -4
  9. package/dist/chunks/{chunk-A5V3GAYJ.js → chunk-2KYNZVYI.js} +2 -2
  10. package/dist/chunks/{chunk-ZLJJV562.js → chunk-4BRDUQSZ.js} +1 -1
  11. package/dist/chunks/{chunk-RK42LXVF.js → chunk-4EJDFWCI.js} +31 -31
  12. package/dist/chunks/{chunk-YMZMQ5HW.js → chunk-4ZYIY7L3.js} +1 -1
  13. package/dist/chunks/{chunk-QDEOTS5R.js → chunk-5C34UZ3O.js} +13 -13
  14. package/dist/chunks/chunk-5C34UZ3O.js.map +7 -0
  15. package/dist/chunks/{chunk-DW7WPTXF.js → chunk-5DGWKMOP.js} +2 -2
  16. package/dist/chunks/{chunk-QINB6PNL.js → chunk-6CFEV36C.js} +4 -4
  17. package/dist/chunks/{chunk-2GIXG2PW.js → chunk-7BWVLYQK.js} +3 -3
  18. package/dist/chunks/{chunk-67DE2WHP.js → chunk-7BYD6UMZ.js} +1 -1
  19. package/dist/chunks/{chunk-OKUTFUIT.js → chunk-7Y35Q4J6.js} +1 -1
  20. package/dist/chunks/{chunk-3NQ3RYIL.js → chunk-AF5FWWON.js} +4 -4
  21. package/dist/chunks/{chunk-6M3AFBK2.js → chunk-AT6COIQU.js} +1 -1
  22. package/dist/chunks/{chunk-DQFXPZUD.js → chunk-B5VSBSF7.js} +30 -30
  23. package/dist/chunks/{chunk-DQFXPZUD.js.map → chunk-B5VSBSF7.js.map} +2 -2
  24. package/dist/chunks/{chunk-YGUN6S7T.js → chunk-B7CNBBIL.js} +2 -2
  25. package/dist/chunks/{chunk-FC76LCMW.js → chunk-CNB4BTZH.js} +10 -10
  26. package/dist/chunks/{chunk-SBX77F6X.js → chunk-D2NMSBDP.js} +1 -1
  27. package/dist/chunks/{chunk-NYGDXJ46.js → chunk-E3RRQRIO.js} +4 -4
  28. package/dist/chunks/{chunk-43TU2H57.js → chunk-EQZFQOR7.js} +4 -3
  29. package/dist/chunks/chunk-EQZFQOR7.js.map +7 -0
  30. package/dist/chunks/{chunk-USGXOXJW.js → chunk-GGCSITGB.js} +2 -2
  31. package/dist/chunks/{chunk-6L3OLZ5I.js → chunk-GGDPVLLE.js} +3 -3
  32. package/dist/chunks/{chunk-UJYM3ZE2.js → chunk-HABZW45B.js} +1 -1
  33. package/dist/chunks/{chunk-VEN2ZG4I.js → chunk-IFCUTYNL.js} +5 -5
  34. package/dist/chunks/{chunk-4TSHO5ZW.js → chunk-IJZGXESD.js} +2 -2
  35. package/dist/chunks/{chunk-OSAK22DU.js → chunk-J3R2CXOL.js} +2 -2
  36. package/dist/chunks/{chunk-452OIBRO.js → chunk-J6HEHAJK.js} +1 -1
  37. package/dist/chunks/{chunk-RYKGTDT2.js → chunk-JP34R5TN.js} +3 -3
  38. package/dist/chunks/{chunk-KHTZNF45.js → chunk-JZASASUW.js} +1 -1
  39. package/dist/chunks/{chunk-6UOJ5ZP4.js → chunk-K5X5ZH6S.js} +1 -1
  40. package/dist/chunks/{chunk-57YIA3MS.js → chunk-M6K47N44.js} +8 -8
  41. package/dist/chunks/{chunk-CUO52YIF.js → chunk-NBUFUMCY.js} +2 -2
  42. package/dist/chunks/{chunk-HTVISK6B.js → chunk-PSZPJXAZ.js} +26 -28
  43. package/dist/chunks/chunk-PSZPJXAZ.js.map +7 -0
  44. package/dist/chunks/{chunk-5Q25BISS.js → chunk-QHFVTQTJ.js} +1 -1
  45. package/dist/chunks/{chunk-IQ32DUMR.js → chunk-QPKTLTQI.js} +1 -1
  46. package/dist/chunks/{chunk-GGZGXCOQ.js → chunk-SEHZ6CXK.js} +3 -3
  47. package/dist/chunks/{chunk-PDW7EGFG.js → chunk-TGYR4IBE.js} +2 -2
  48. package/dist/chunks/{chunk-NRGEIWNE.js → chunk-U6RPMFMW.js} +2 -2
  49. package/dist/chunks/{chunk-2BJ5A5KW.js → chunk-V5LS4WQ2.js} +1 -1
  50. package/dist/chunks/{chunk-4S27TXKV.js → chunk-XU3JD6EI.js} +5 -5
  51. package/dist/chunks/{chunk-GUN4HJHH.js → chunk-ZOLN5YMS.js} +4 -4
  52. package/dist/chunks/{chunk-KWBK4CET.js → chunk-ZPW2XM2C.js} +7 -7
  53. package/dist/chunks/{client-F6XWSJCH.js → client-OI7WP2WD.js} +5 -5
  54. package/dist/chunks/{customCommands-IKGXEHG3.js → customCommands-FC5MN3RF.js} +5 -5
  55. package/dist/chunks/{engine-X4P7KZ6B.js → engine-IPTVOBJG.js} +15 -15
  56. package/dist/chunks/{env-AII53SJK.js → env-U3P2JBIX.js} +3 -3
  57. package/dist/chunks/{kodeAgentSessionLoad-CR5FNAA6.js → kodeAgentSessionLoad-6YOXIXEK.js} +3 -3
  58. package/dist/chunks/{kodeAgentSessionResume-IMPILS2R.js → kodeAgentSessionResume-D3RLU3UW.js} +3 -3
  59. package/dist/chunks/{kodeHooks-E3HHH7GA.js → kodeHooks-4JYG4G5P.js} +4 -4
  60. package/dist/chunks/{llm-B73NJ55X.js → llm-7IAXAPGJ.js} +13 -13
  61. package/dist/chunks/{llmLazy-LUVJECH5.js → llmLazy-3NRENKYU.js} +1 -1
  62. package/dist/chunks/{mcpCli-FCBRMDSH.js → mcpCli-YTD4LMHI.js} +5 -5
  63. package/dist/chunks/{mentionProcessor-NLXSLNLI.js → mentionProcessor-DLA4M35M.js} +6 -6
  64. package/dist/chunks/{model-WWW5SROR.js → model-2A3EVYK4.js} +5 -5
  65. package/dist/chunks/{openai-5OUY3SXG.js → openai-VWKDNTC4.js} +5 -5
  66. package/dist/chunks/{permissions-CGZ3RRJT.js → permissions-LGMUKLID.js} +6 -6
  67. package/dist/chunks/{pluginRuntime-SCPTZM6F.js → pluginRuntime-RYFDHMVD.js} +3 -3
  68. package/dist/chunks/{pluginValidation-VNCCNUMA.js → pluginValidation-VBUTEACA.js} +7 -7
  69. package/dist/chunks/{registry-2UNFDLQM.js → registry-W5BED55O.js} +29 -29
  70. package/dist/chunks/{ripgrep-NWIVPJJ7.js → ripgrep-3F7VAKCB.js} +4 -4
  71. package/dist/chunks/{runNonTextPrintMode-TW7JEOIL.js → runNonTextPrintMode-EFJVB3QP.js} +9 -9
  72. package/dist/chunks/{server-QIVWLY63.js → server-AQYRBBDC.js} +25 -25
  73. package/dist/chunks/{server-7Z4J7HNO.js → server-DXXYOE4J.js} +27 -27
  74. package/dist/chunks/{skillMarketplace-C6YLA4HR.js → skillMarketplace-TEC7KBZM.js} +4 -4
  75. package/dist/chunks/{src-GCXFXXZH.js → src-EDQUDXM6.js} +24 -24
  76. package/dist/chunks/{src-LCYS363P.js → src-K4JCKY4R.js} +70 -70
  77. package/dist/chunks/{src-FLB236NV.js → src-UIU5LLYS.js} +27 -27
  78. package/dist/chunks/{thinking-HSV5XRET.js → thinking-E4Y7GXRR.js} +6 -6
  79. package/dist/chunks/{toolPermissionSettings-YW5IDAWZ.js → toolPermissionSettings-TX3WXTTX.js} +4 -4
  80. package/dist/chunks/{webOnlyMode-3IKZX4VY.js → webOnlyMode-QDIFYGU5.js} +1 -1
  81. package/dist/entrypoints/cli.js +1 -1
  82. package/dist/entrypoints/daemon.js +1 -1
  83. package/dist/entrypoints/mcp.js +25 -25
  84. package/dist/index.js +5 -5
  85. package/dist/sdk/core.cjs +13 -13
  86. package/dist/sdk/core.cjs.map +1 -1
  87. package/dist/sdk/core.js +13 -13
  88. package/dist/sdk/core.js.map +1 -1
  89. package/dist/sdk/tools.cjs +19 -20
  90. package/dist/sdk/tools.cjs.map +2 -2
  91. package/dist/sdk/tools.js +19 -20
  92. package/dist/sdk/tools.js.map +2 -2
  93. package/dist/vendor/seccomp/arm64/apply-seccomp +1 -0
  94. package/dist/vendor/seccomp/arm64/unix-block.bpf +1 -0
  95. package/dist/vendor/seccomp/x64/apply-seccomp +1 -0
  96. package/dist/vendor/seccomp/x64/unix-block.bpf +1 -0
  97. package/package.json +13 -13
  98. package/dist/chunks/chunk-43TU2H57.js.map +0 -7
  99. package/dist/chunks/chunk-HTVISK6B.js.map +0 -7
  100. package/dist/chunks/chunk-QDEOTS5R.js.map +0 -7
  101. /package/dist/chunks/{Doctor-XELFCSOT.js.map → Doctor-UTJUNV3M.js.map} +0 -0
  102. /package/dist/chunks/{LogList-3NTFJCO2.js.map → LogList-CAO6MIDJ.js.map} +0 -0
  103. /package/dist/chunks/{REPL-IX3IFPIG.js.map → REPL-SRMLNUNG.js.map} +0 -0
  104. /package/dist/chunks/{ResumeConversation-FVOIVVGE.js.map → ResumeConversation-5EYFE4H6.js.map} +0 -0
  105. /package/dist/chunks/{agentLoader-6NDWVGB7.js.map → agentLoader-GRFWSMV2.js.map} +0 -0
  106. /package/dist/chunks/{agentsValidate-3Q5O2KRJ.js.map → agentsValidate-IF3Q3VLR.js.map} +0 -0
  107. /package/dist/chunks/{ask-U3DRLYA5.js.map → ask-NPC6SEGF.js.map} +0 -0
  108. /package/dist/chunks/{autoUpdater-7VYMYA45.js.map → autoUpdater-M5SIW7ML.js.map} +0 -0
  109. /package/dist/chunks/{chunk-A5V3GAYJ.js.map → chunk-2KYNZVYI.js.map} +0 -0
  110. /package/dist/chunks/{chunk-ZLJJV562.js.map → chunk-4BRDUQSZ.js.map} +0 -0
  111. /package/dist/chunks/{chunk-RK42LXVF.js.map → chunk-4EJDFWCI.js.map} +0 -0
  112. /package/dist/chunks/{chunk-YMZMQ5HW.js.map → chunk-4ZYIY7L3.js.map} +0 -0
  113. /package/dist/chunks/{chunk-DW7WPTXF.js.map → chunk-5DGWKMOP.js.map} +0 -0
  114. /package/dist/chunks/{chunk-QINB6PNL.js.map → chunk-6CFEV36C.js.map} +0 -0
  115. /package/dist/chunks/{chunk-2GIXG2PW.js.map → chunk-7BWVLYQK.js.map} +0 -0
  116. /package/dist/chunks/{chunk-67DE2WHP.js.map → chunk-7BYD6UMZ.js.map} +0 -0
  117. /package/dist/chunks/{chunk-OKUTFUIT.js.map → chunk-7Y35Q4J6.js.map} +0 -0
  118. /package/dist/chunks/{chunk-3NQ3RYIL.js.map → chunk-AF5FWWON.js.map} +0 -0
  119. /package/dist/chunks/{chunk-6M3AFBK2.js.map → chunk-AT6COIQU.js.map} +0 -0
  120. /package/dist/chunks/{chunk-YGUN6S7T.js.map → chunk-B7CNBBIL.js.map} +0 -0
  121. /package/dist/chunks/{chunk-FC76LCMW.js.map → chunk-CNB4BTZH.js.map} +0 -0
  122. /package/dist/chunks/{chunk-SBX77F6X.js.map → chunk-D2NMSBDP.js.map} +0 -0
  123. /package/dist/chunks/{chunk-NYGDXJ46.js.map → chunk-E3RRQRIO.js.map} +0 -0
  124. /package/dist/chunks/{chunk-USGXOXJW.js.map → chunk-GGCSITGB.js.map} +0 -0
  125. /package/dist/chunks/{chunk-6L3OLZ5I.js.map → chunk-GGDPVLLE.js.map} +0 -0
  126. /package/dist/chunks/{chunk-UJYM3ZE2.js.map → chunk-HABZW45B.js.map} +0 -0
  127. /package/dist/chunks/{chunk-VEN2ZG4I.js.map → chunk-IFCUTYNL.js.map} +0 -0
  128. /package/dist/chunks/{chunk-4TSHO5ZW.js.map → chunk-IJZGXESD.js.map} +0 -0
  129. /package/dist/chunks/{chunk-OSAK22DU.js.map → chunk-J3R2CXOL.js.map} +0 -0
  130. /package/dist/chunks/{chunk-452OIBRO.js.map → chunk-J6HEHAJK.js.map} +0 -0
  131. /package/dist/chunks/{chunk-RYKGTDT2.js.map → chunk-JP34R5TN.js.map} +0 -0
  132. /package/dist/chunks/{chunk-KHTZNF45.js.map → chunk-JZASASUW.js.map} +0 -0
  133. /package/dist/chunks/{chunk-6UOJ5ZP4.js.map → chunk-K5X5ZH6S.js.map} +0 -0
  134. /package/dist/chunks/{chunk-57YIA3MS.js.map → chunk-M6K47N44.js.map} +0 -0
  135. /package/dist/chunks/{chunk-CUO52YIF.js.map → chunk-NBUFUMCY.js.map} +0 -0
  136. /package/dist/chunks/{chunk-5Q25BISS.js.map → chunk-QHFVTQTJ.js.map} +0 -0
  137. /package/dist/chunks/{chunk-IQ32DUMR.js.map → chunk-QPKTLTQI.js.map} +0 -0
  138. /package/dist/chunks/{chunk-GGZGXCOQ.js.map → chunk-SEHZ6CXK.js.map} +0 -0
  139. /package/dist/chunks/{chunk-PDW7EGFG.js.map → chunk-TGYR4IBE.js.map} +0 -0
  140. /package/dist/chunks/{chunk-NRGEIWNE.js.map → chunk-U6RPMFMW.js.map} +0 -0
  141. /package/dist/chunks/{chunk-2BJ5A5KW.js.map → chunk-V5LS4WQ2.js.map} +0 -0
  142. /package/dist/chunks/{chunk-4S27TXKV.js.map → chunk-XU3JD6EI.js.map} +0 -0
  143. /package/dist/chunks/{chunk-GUN4HJHH.js.map → chunk-ZOLN5YMS.js.map} +0 -0
  144. /package/dist/chunks/{chunk-KWBK4CET.js.map → chunk-ZPW2XM2C.js.map} +0 -0
  145. /package/dist/chunks/{client-F6XWSJCH.js.map → client-OI7WP2WD.js.map} +0 -0
  146. /package/dist/chunks/{customCommands-IKGXEHG3.js.map → customCommands-FC5MN3RF.js.map} +0 -0
  147. /package/dist/chunks/{engine-X4P7KZ6B.js.map → engine-IPTVOBJG.js.map} +0 -0
  148. /package/dist/chunks/{env-AII53SJK.js.map → env-U3P2JBIX.js.map} +0 -0
  149. /package/dist/chunks/{kodeAgentSessionLoad-CR5FNAA6.js.map → kodeAgentSessionLoad-6YOXIXEK.js.map} +0 -0
  150. /package/dist/chunks/{kodeAgentSessionResume-IMPILS2R.js.map → kodeAgentSessionResume-D3RLU3UW.js.map} +0 -0
  151. /package/dist/chunks/{kodeHooks-E3HHH7GA.js.map → kodeHooks-4JYG4G5P.js.map} +0 -0
  152. /package/dist/chunks/{llm-B73NJ55X.js.map → llm-7IAXAPGJ.js.map} +0 -0
  153. /package/dist/chunks/{llmLazy-LUVJECH5.js.map → llmLazy-3NRENKYU.js.map} +0 -0
  154. /package/dist/chunks/{mcpCli-FCBRMDSH.js.map → mcpCli-YTD4LMHI.js.map} +0 -0
  155. /package/dist/chunks/{mentionProcessor-NLXSLNLI.js.map → mentionProcessor-DLA4M35M.js.map} +0 -0
  156. /package/dist/chunks/{model-WWW5SROR.js.map → model-2A3EVYK4.js.map} +0 -0
  157. /package/dist/chunks/{openai-5OUY3SXG.js.map → openai-VWKDNTC4.js.map} +0 -0
  158. /package/dist/chunks/{permissions-CGZ3RRJT.js.map → permissions-LGMUKLID.js.map} +0 -0
  159. /package/dist/chunks/{pluginRuntime-SCPTZM6F.js.map → pluginRuntime-RYFDHMVD.js.map} +0 -0
  160. /package/dist/chunks/{pluginValidation-VNCCNUMA.js.map → pluginValidation-VBUTEACA.js.map} +0 -0
  161. /package/dist/chunks/{registry-2UNFDLQM.js.map → registry-W5BED55O.js.map} +0 -0
  162. /package/dist/chunks/{ripgrep-NWIVPJJ7.js.map → ripgrep-3F7VAKCB.js.map} +0 -0
  163. /package/dist/chunks/{runNonTextPrintMode-TW7JEOIL.js.map → runNonTextPrintMode-EFJVB3QP.js.map} +0 -0
  164. /package/dist/chunks/{server-7Z4J7HNO.js.map → server-AQYRBBDC.js.map} +0 -0
  165. /package/dist/chunks/{server-QIVWLY63.js.map → server-DXXYOE4J.js.map} +0 -0
  166. /package/dist/chunks/{skillMarketplace-C6YLA4HR.js.map → skillMarketplace-TEC7KBZM.js.map} +0 -0
  167. /package/dist/chunks/{src-GCXFXXZH.js.map → src-EDQUDXM6.js.map} +0 -0
  168. /package/dist/chunks/{src-LCYS363P.js.map → src-K4JCKY4R.js.map} +0 -0
  169. /package/dist/chunks/{src-FLB236NV.js.map → src-UIU5LLYS.js.map} +0 -0
  170. /package/dist/chunks/{thinking-HSV5XRET.js.map → thinking-E4Y7GXRR.js.map} +0 -0
  171. /package/dist/chunks/{toolPermissionSettings-YW5IDAWZ.js.map → toolPermissionSettings-TX3WXTTX.js.map} +0 -0
  172. /package/dist/chunks/{webOnlyMode-3IKZX4VY.js.map → webOnlyMode-QDIFYGU5.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  countTokens,
3
3
  query
4
- } from "./chunk-FC76LCMW.js";
4
+ } from "./chunk-CNB4BTZH.js";
5
5
  import {
6
6
  FileReadTool,
7
7
  FileWriteTool,
@@ -18,7 +18,7 @@ import {
18
18
  toProjectRelativeIfPossible,
19
19
  upsertBackgroundAgentTask,
20
20
  waitForBackgroundAgentTask
21
- } from "./chunk-QINB6PNL.js";
21
+ } from "./chunk-6CFEV36C.js";
22
22
  import {
23
23
  addLineNumbers,
24
24
  detectFileEncoding,
@@ -30,7 +30,7 @@ import {
30
30
  recordFileEdit,
31
31
  startWatchingTodoFile,
32
32
  writeTextContent
33
- } from "./chunk-NYGDXJ46.js";
33
+ } from "./chunk-E3RRQRIO.js";
34
34
  import {
35
35
  getCachedStringWidth
36
36
  } from "./chunk-UKNILZCN.js";
@@ -38,10 +38,10 @@ import {
38
38
  getActiveAgents,
39
39
  getAgentByType,
40
40
  getAvailableAgentTypes
41
- } from "./chunk-USGXOXJW.js";
41
+ } from "./chunk-GGCSITGB.js";
42
42
  import {
43
43
  loadKodeAgentSidechainMessagesForResume
44
- } from "./chunk-KHTZNF45.js";
44
+ } from "./chunk-JZASASUW.js";
45
45
  import {
46
46
  applyToolPermissionContextUpdateForConversationKey,
47
47
  getBunShellSandboxPlan,
@@ -55,21 +55,21 @@ import {
55
55
  splitBashCommandIntoSubcommands,
56
56
  splitCommand,
57
57
  xi
58
- } from "./chunk-3NQ3RYIL.js";
58
+ } from "./chunk-AF5FWWON.js";
59
59
  import {
60
60
  getAnthropicClient,
61
61
  resolveToolDescription
62
- } from "./chunk-RYKGTDT2.js";
62
+ } from "./chunk-JP34R5TN.js";
63
63
  import {
64
64
  getAgentPrompt,
65
65
  getContext
66
- } from "./chunk-6L3OLZ5I.js";
66
+ } from "./chunk-GGDPVLLE.js";
67
67
  import {
68
68
  emitReminderEvent,
69
69
  generateAgentId,
70
70
  getTodos,
71
71
  setTodos
72
- } from "./chunk-CUO52YIF.js";
72
+ } from "./chunk-NBUFUMCY.js";
73
73
  import {
74
74
  getRequestStatus,
75
75
  subscribeRequestStatus
@@ -81,7 +81,7 @@ import {
81
81
  import {
82
82
  queryLLM,
83
83
  queryQuick
84
- } from "./chunk-GUN4HJHH.js";
84
+ } from "./chunk-ZOLN5YMS.js";
85
85
  import {
86
86
  createDefaultToolPermissionContext
87
87
  } from "./chunk-E4C4N7OV.js";
@@ -89,10 +89,10 @@ import {
89
89
  getClients,
90
90
  getMCPTools,
91
91
  getMcpListChangedVersion
92
- } from "./chunk-YGUN6S7T.js";
92
+ } from "./chunk-B7CNBBIL.js";
93
93
  import {
94
94
  safeParseJSON
95
- } from "./chunk-UJYM3ZE2.js";
95
+ } from "./chunk-HABZW45B.js";
96
96
  import {
97
97
  INTERRUPT_MESSAGE,
98
98
  createAssistantMessage,
@@ -110,23 +110,22 @@ import {
110
110
  } from "./chunk-GJYXZ5IL.js";
111
111
  import {
112
112
  getMaxThinkingTokens
113
- } from "./chunk-5Q25BISS.js";
113
+ } from "./chunk-QHFVTQTJ.js";
114
114
  import {
115
115
  getModelManager
116
- } from "./chunk-A5V3GAYJ.js";
116
+ } from "./chunk-2KYNZVYI.js";
117
117
  import {
118
118
  debug
119
- } from "./chunk-IQ32DUMR.js";
119
+ } from "./chunk-QPKTLTQI.js";
120
120
  import {
121
121
  ripGrep
122
- } from "./chunk-2BJ5A5KW.js";
122
+ } from "./chunk-V5LS4WQ2.js";
123
123
  import {
124
124
  CACHE_PATHS,
125
125
  PRODUCT_NAME,
126
126
  PRODUCT_URL,
127
127
  dateToFilename,
128
128
  enterPlanMode,
129
- env,
130
129
  exitPlanMode,
131
130
  getKodeBaseDir,
132
131
  getMessagesPath,
@@ -136,7 +135,7 @@ import {
136
135
  logError,
137
136
  overwriteLog,
138
137
  readPlanFile
139
- } from "./chunk-6UOJ5ZP4.js";
138
+ } from "./chunk-K5X5ZH6S.js";
140
139
  import {
141
140
  getCwd,
142
141
  getOriginalCwd
@@ -717,8 +716,7 @@ import React2 from "react";
717
716
  import { z as z2 } from "zod";
718
717
 
719
718
  // packages/core/src/constants/figures.ts
720
- var BLACK_CIRCLE = env.platform === "macos" ? "\u25C6" : "\u25C6";
721
- var RECORD_CIRCLE = "\u23FA";
719
+ var BULLET = "\u25C6";
722
720
  var CHECKMARK = "\u2713";
723
721
  var CROSS = "\u2717";
724
722
  var DIAMOND_HOLLOW = "\u25C7";
@@ -802,11 +800,11 @@ var AskUserQuestionTool = {
802
800
  },
803
801
  renderToolUseRejectedMessage() {
804
802
  const theme = getTheme();
805
- return /* @__PURE__ */ React2.createElement(Box2, { flexDirection: "row", marginTop: 1 }, /* @__PURE__ */ React2.createElement(Text2, { color: theme.text }, BLACK_CIRCLE, "\xA0"), /* @__PURE__ */ React2.createElement(Text2, null, "User declined to answer questions"));
803
+ return /* @__PURE__ */ React2.createElement(Box2, { flexDirection: "row", marginTop: 1 }, /* @__PURE__ */ React2.createElement(Text2, { color: theme.text }, BULLET, "\xA0"), /* @__PURE__ */ React2.createElement(Text2, null, "User declined to answer questions"));
806
804
  },
807
805
  renderToolResultMessage(output, _options) {
808
806
  const theme = getTheme();
809
- return /* @__PURE__ */ React2.createElement(Box2, { flexDirection: "column", marginTop: 1 }, /* @__PURE__ */ React2.createElement(Box2, { flexDirection: "row" }, /* @__PURE__ */ React2.createElement(Text2, { color: theme.text }, BLACK_CIRCLE, "\xA0"), /* @__PURE__ */ React2.createElement(Text2, null, "User answered ", PRODUCT_NAME, " Agent's questions:")), /* @__PURE__ */ React2.createElement(Box2, { flexDirection: "column", paddingLeft: 2 }, Object.entries(output.answers).map(([question, answer]) => /* @__PURE__ */ React2.createElement(Box2, { key: question }, /* @__PURE__ */ React2.createElement(Text2, { dimColor: true }, "\xB7 ", question, " \u2192 ", answer)))));
807
+ return /* @__PURE__ */ React2.createElement(Box2, { flexDirection: "column", marginTop: 1 }, /* @__PURE__ */ React2.createElement(Box2, { flexDirection: "row" }, /* @__PURE__ */ React2.createElement(Text2, { color: theme.text }, BULLET, "\xA0"), /* @__PURE__ */ React2.createElement(Text2, null, "User answered ", PRODUCT_NAME, " Agent's questions:")), /* @__PURE__ */ React2.createElement(Box2, { flexDirection: "column", paddingLeft: 2 }, Object.entries(output.answers).map(([question, answer]) => /* @__PURE__ */ React2.createElement(Box2, { key: question }, /* @__PURE__ */ React2.createElement(Text2, { dimColor: true }, "\xB7 ", question, " \u2192 ", answer)))));
810
808
  },
811
809
  renderResultForAssistant(output) {
812
810
  const formatted = Object.entries(output.answers).map(([question, answer]) => `"${question}"="${answer}"`).join(", ");
@@ -1954,7 +1952,7 @@ function formatParseError(error) {
1954
1952
  return error instanceof Error ? error.message : String(error);
1955
1953
  }
1956
1954
  async function defaultGateQuery(args) {
1957
- const { API_ERROR_MESSAGE_PREFIX, queryLLM: queryLLM2 } = await import("./llm-B73NJ55X.js");
1955
+ const { API_ERROR_MESSAGE_PREFIX, queryLLM: queryLLM2 } = await import("./llm-7IAXAPGJ.js");
1958
1956
  const messages = [createUserMessage(args.userInput)];
1959
1957
  const assistant = await queryLLM2(
1960
1958
  messages,
@@ -4527,11 +4525,11 @@ var EnterPlanModeTool = {
4527
4525
  },
4528
4526
  renderToolUseRejectedMessage() {
4529
4527
  const theme = getTheme();
4530
- return /* @__PURE__ */ React12.createElement(Box8, { flexDirection: "row", marginTop: 1 }, /* @__PURE__ */ React12.createElement(Text9, { color: theme.text }, BLACK_CIRCLE), /* @__PURE__ */ React12.createElement(Text9, null, " User declined to enter plan mode"));
4528
+ return /* @__PURE__ */ React12.createElement(Box8, { flexDirection: "row", marginTop: 1 }, /* @__PURE__ */ React12.createElement(Text9, { color: theme.text }, BULLET), /* @__PURE__ */ React12.createElement(Text9, null, " User declined to enter plan mode"));
4531
4529
  },
4532
4530
  renderToolResultMessage(_output) {
4533
4531
  const theme = getTheme();
4534
- return /* @__PURE__ */ React12.createElement(Box8, { flexDirection: "column", marginTop: 1 }, /* @__PURE__ */ React12.createElement(Box8, { flexDirection: "row" }, /* @__PURE__ */ React12.createElement(Text9, { color: theme.planMode }, BLACK_CIRCLE), /* @__PURE__ */ React12.createElement(Text9, null, " Entered plan mode")), /* @__PURE__ */ React12.createElement(Box8, { paddingLeft: 2 }, /* @__PURE__ */ React12.createElement(Text9, { dimColor: true }, "Kode Agent is now exploring and designing an implementation approach.")));
4532
+ return /* @__PURE__ */ React12.createElement(Box8, { flexDirection: "column", marginTop: 1 }, /* @__PURE__ */ React12.createElement(Box8, { flexDirection: "row" }, /* @__PURE__ */ React12.createElement(Text9, { color: theme.planMode }, BULLET), /* @__PURE__ */ React12.createElement(Text9, null, " Entered plan mode")), /* @__PURE__ */ React12.createElement(Box8, { paddingLeft: 2 }, /* @__PURE__ */ React12.createElement(Text9, { dimColor: true }, "Kode Agent is now exploring and designing an implementation approach.")));
4535
4533
  },
4536
4534
  renderResultForAssistant(output) {
4537
4535
  return `${output.message}
@@ -4643,7 +4641,7 @@ var ExitPlanModeTool = {
4643
4641
  const theme = getTheme();
4644
4642
  const planPath = typeof output.filePath === "string" ? output.filePath : null;
4645
4643
  const plan = output.plan || "No plan found";
4646
- return /* @__PURE__ */ React13.createElement(Box9, { flexDirection: "column", marginTop: 1, width: "100%" }, /* @__PURE__ */ React13.createElement(Box9, { flexDirection: "row" }, /* @__PURE__ */ React13.createElement(Text10, { color: theme.planMode }, BLACK_CIRCLE), /* @__PURE__ */ React13.createElement(Text10, null, " User approved the plan")), /* @__PURE__ */ React13.createElement(Box9, { flexDirection: "row" }, /* @__PURE__ */ React13.createElement(Text10, null, "\xA0\xA0\u23BF \xA0"), /* @__PURE__ */ React13.createElement(Box9, { flexDirection: "column" }, planPath ? /* @__PURE__ */ React13.createElement(Text10, { dimColor: true }, "Plan file: ", planPath, " \xB7 /plan to edit") : null, /* @__PURE__ */ React13.createElement(Text10, { dimColor: true }, plan))));
4644
+ return /* @__PURE__ */ React13.createElement(Box9, { flexDirection: "column", marginTop: 1, width: "100%" }, /* @__PURE__ */ React13.createElement(Box9, { flexDirection: "row" }, /* @__PURE__ */ React13.createElement(Text10, { color: theme.planMode }, BULLET), /* @__PURE__ */ React13.createElement(Text10, null, " User approved the plan")), /* @__PURE__ */ React13.createElement(Box9, { flexDirection: "row" }, /* @__PURE__ */ React13.createElement(Text10, null, "\xA0\xA0\u23BF \xA0"), /* @__PURE__ */ React13.createElement(Box9, { flexDirection: "column" }, planPath ? /* @__PURE__ */ React13.createElement(Text10, { dimColor: true }, "Plan file: ", planPath, " \xB7 /plan to edit") : null, /* @__PURE__ */ React13.createElement(Text10, { dimColor: true }, plan))));
4647
4645
  },
4648
4646
  renderResultForAssistant(output) {
4649
4647
  if (output.isAgent) {
@@ -8175,7 +8173,7 @@ var SkillTool = {
8175
8173
  const MAX_AVAILABLE_SKILLS_CHARS = 8e3;
8176
8174
  async function loadCommands() {
8177
8175
  try {
8178
- const mod = await import("./customCommands-IKGXEHG3.js");
8176
+ const mod = await import("./customCommands-FC5MN3RF.js");
8179
8177
  if (typeof mod.loadCustomCommands !== "function") return [];
8180
8178
  const cmds = await mod.loadCustomCommands();
8181
8179
  if (!Array.isArray(cmds)) return [];
@@ -9526,7 +9524,7 @@ var getReadOnlyTools = memoize2(async () => {
9526
9524
 
9527
9525
  export {
9528
9526
  applyMarkdown,
9529
- RECORD_CIRCLE,
9527
+ BULLET,
9530
9528
  CHECKMARK,
9531
9529
  CROSS,
9532
9530
  DIAMOND_HOLLOW,