@danya-ai/cli 0.1.2 → 0.1.4

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 (134) hide show
  1. package/README.md +125 -105
  2. package/dist/REPL-YFM3WKCC.js +42 -0
  3. package/dist/{acp-OF52BP4A.js → acp-LMW4BO5A.js} +26 -26
  4. package/dist/{agentsValidate-WUX5I4FS.js → agentsValidate-5VUACF2G.js} +7 -7
  5. package/dist/{ask-5P2J7UA5.js → ask-C57WQJNZ.js} +25 -25
  6. package/dist/{autoUpdater-6ABURQZA.js → autoUpdater-KEQOIUBC.js} +3 -3
  7. package/dist/{chunk-6KD43S3G.js → chunk-2CRLMZ76.js} +4 -4
  8. package/dist/{chunk-BAYPSZHG.js → chunk-3A4ENL7W.js} +1 -1
  9. package/dist/{chunk-VMJRNHDU.js → chunk-3ONZAVOS.js} +2 -2
  10. package/dist/{chunk-PTQTKIR2.js → chunk-5M3MBCE7.js} +1 -1
  11. package/dist/{chunk-PTQTKIR2.js.map → chunk-5M3MBCE7.js.map} +1 -1
  12. package/dist/{chunk-QJMLHIGS.js → chunk-5TDBDWNG.js} +2 -2
  13. package/dist/{chunk-T6RTYOJB.js → chunk-6JHEJQWY.js} +3 -3
  14. package/dist/{chunk-ESHU3HUM.js → chunk-6LOREEJY.js} +2551 -252
  15. package/dist/chunk-6LOREEJY.js.map +7 -0
  16. package/dist/{chunk-RO73O3Q7.js → chunk-CXOM4XMN.js} +4 -4
  17. package/dist/{chunk-N74L4GAM.js → chunk-DZCV2FEW.js} +1 -1
  18. package/dist/{chunk-SSS2WVMA.js → chunk-E5BAXZSR.js} +1 -1
  19. package/dist/{chunk-KS52NNBY.js → chunk-HIH5HC5H.js} +2 -2
  20. package/dist/{chunk-2VUDETSP.js → chunk-HPSW7NNI.js} +1 -1
  21. package/dist/{chunk-6GABS3DM.js → chunk-HXH5LYLI.js} +1 -1
  22. package/dist/{chunk-6IH7H2LH.js → chunk-IZETEFF5.js} +3 -3
  23. package/dist/{chunk-H3P32G2A.js → chunk-K7QXXI4A.js} +3 -3
  24. package/dist/{chunk-JF5D7ADP.js → chunk-LHNX67NO.js} +3 -3
  25. package/dist/{chunk-CZ5UJ3RL.js → chunk-NMNFFCQ7.js} +1 -1
  26. package/dist/{chunk-BTAVLAZT.js → chunk-RRPXM25U.js} +3 -3
  27. package/dist/{chunk-3GLLMJKA.js → chunk-TWE6H65Q.js} +3 -3
  28. package/dist/{chunk-HNK7M2ZO.js → chunk-UNIJZL2G.js} +1 -1
  29. package/dist/{chunk-7I3UELIX.js → chunk-X36NKBPR.js} +2 -2
  30. package/dist/{chunk-5ONWVNJH.js → chunk-X46SRZQF.js} +1 -1
  31. package/dist/{chunk-HRXRIW33.js → chunk-X7ZDT7EX.js} +2 -2
  32. package/dist/{chunk-JNAMM7A6.js → chunk-XLA6ANZN.js} +11 -11
  33. package/dist/{chunk-M75PDOOM.js → chunk-Y5IRVMDD.js} +3 -3
  34. package/dist/{chunk-QUAOJLG6.js → chunk-YUJ45IMI.js} +1 -1
  35. package/dist/{chunk-U7ZJW3CQ.js → chunk-Z4QNIOFF.js} +2 -2
  36. package/dist/{cli-FE6CUZI3.js → cli-P4CJSCH4.js} +131 -84
  37. package/dist/cli-P4CJSCH4.js.map +7 -0
  38. package/dist/commands-Y7WI2LGN.js +46 -0
  39. package/dist/{config-JEGZHGSM.js → config-5L37WETO.js} +4 -4
  40. package/dist/{context-LEXLLT4O.js → context-SF3X335Q.js} +5 -5
  41. package/dist/{customCommands-RLUKKBRZ.js → customCommands-SPF7HJEH.js} +4 -4
  42. package/dist/{env-4PRTNVDJ.js → env-GR5OKVVR.js} +2 -2
  43. package/dist/index.js +3 -3
  44. package/dist/{kodeAgentSessionLoad-LUKUH23S.js → kodeAgentSessionLoad-L54J2WSU.js} +4 -4
  45. package/dist/{kodeAgentSessionResume-FDZ6H3PX.js → kodeAgentSessionResume-4S4ZW7WI.js} +4 -4
  46. package/dist/{kodeAgentStreamJsonSession-VE2UG5B2.js → kodeAgentStreamJsonSession-44EO542F.js} +1 -1
  47. package/dist/{kodeHooks-ZVNRQTZM.js → kodeHooks-G64RN6MW.js} +4 -4
  48. package/dist/{llm-IFU62ZT4.js → llm-23Z6UDED.js} +26 -26
  49. package/dist/{llmLazy-45EGHX2A.js → llmLazy-PKBZHKOG.js} +1 -1
  50. package/dist/{loader-TITFI6LS.js → loader-BXIFWM6O.js} +4 -4
  51. package/dist/{mcp-DE5HUK63.js → mcp-CYG2WZG5.js} +7 -7
  52. package/dist/{mentionProcessor-SAPYBDCK.js → mentionProcessor-XQ2HNO4M.js} +5 -5
  53. package/dist/{messages-BARXRPB4.js → messages-YOW6NTUG.js} +1 -1
  54. package/dist/{model-PC6MMS2S.js → model-NIOLLP6W.js} +5 -5
  55. package/dist/{openai-AVJO73FG.js → openai-G2AMXRJ2.js} +5 -5
  56. package/dist/{outputStyles-VL7EKGIQ.js → outputStyles-CZDXBWRF.js} +4 -4
  57. package/dist/{pluginRuntime-IG2H3W7C.js → pluginRuntime-ZIT4IL6O.js} +6 -6
  58. package/dist/{pluginValidation-TOBMLJ5A.js → pluginValidation-LO7TNL4T.js} +6 -6
  59. package/dist/prompts-MKPN6WZF.js +50 -0
  60. package/dist/query-MSMRQ2ET.js +50 -0
  61. package/dist/{ripgrep-HID6XW3J.js → ripgrep-XSFDNITT.js} +3 -3
  62. package/dist/{skillMarketplace-YBS7NR7Q.js → skillMarketplace-NX6XZDT4.js} +3 -3
  63. package/dist/{state-5OBXGJX6.js → state-YAYMHZAZ.js} +2 -2
  64. package/dist/{theme-U2POECGP.js → theme-RATH22A4.js} +5 -5
  65. package/dist/{toolPermissionSettings-AYX5MEOW.js → toolPermissionSettings-SFS4Z63J.js} +6 -6
  66. package/dist/tools-2J2DNXWI.js +47 -0
  67. package/dist/{userInput-RXNBLFAH.js → userInput-EQAF4OWN.js} +27 -27
  68. package/package.json +1 -1
  69. package/dist/REPL-URLRZ4T4.js +0 -42
  70. package/dist/chunk-ESHU3HUM.js.map +0 -7
  71. package/dist/cli-FE6CUZI3.js.map +0 -7
  72. package/dist/commands-6DP3QW2F.js +0 -46
  73. package/dist/prompts-JGBWXN2Z.js +0 -50
  74. package/dist/query-4DUM4QP7.js +0 -50
  75. package/dist/tools-JL434UMR.js +0 -47
  76. /package/dist/{REPL-URLRZ4T4.js.map → REPL-YFM3WKCC.js.map} +0 -0
  77. /package/dist/{acp-OF52BP4A.js.map → acp-LMW4BO5A.js.map} +0 -0
  78. /package/dist/{agentsValidate-WUX5I4FS.js.map → agentsValidate-5VUACF2G.js.map} +0 -0
  79. /package/dist/{ask-5P2J7UA5.js.map → ask-C57WQJNZ.js.map} +0 -0
  80. /package/dist/{autoUpdater-6ABURQZA.js.map → autoUpdater-KEQOIUBC.js.map} +0 -0
  81. /package/dist/{chunk-6KD43S3G.js.map → chunk-2CRLMZ76.js.map} +0 -0
  82. /package/dist/{chunk-BAYPSZHG.js.map → chunk-3A4ENL7W.js.map} +0 -0
  83. /package/dist/{chunk-VMJRNHDU.js.map → chunk-3ONZAVOS.js.map} +0 -0
  84. /package/dist/{chunk-QJMLHIGS.js.map → chunk-5TDBDWNG.js.map} +0 -0
  85. /package/dist/{chunk-T6RTYOJB.js.map → chunk-6JHEJQWY.js.map} +0 -0
  86. /package/dist/{chunk-RO73O3Q7.js.map → chunk-CXOM4XMN.js.map} +0 -0
  87. /package/dist/{chunk-N74L4GAM.js.map → chunk-DZCV2FEW.js.map} +0 -0
  88. /package/dist/{chunk-SSS2WVMA.js.map → chunk-E5BAXZSR.js.map} +0 -0
  89. /package/dist/{chunk-KS52NNBY.js.map → chunk-HIH5HC5H.js.map} +0 -0
  90. /package/dist/{chunk-2VUDETSP.js.map → chunk-HPSW7NNI.js.map} +0 -0
  91. /package/dist/{chunk-6GABS3DM.js.map → chunk-HXH5LYLI.js.map} +0 -0
  92. /package/dist/{chunk-6IH7H2LH.js.map → chunk-IZETEFF5.js.map} +0 -0
  93. /package/dist/{chunk-H3P32G2A.js.map → chunk-K7QXXI4A.js.map} +0 -0
  94. /package/dist/{chunk-JF5D7ADP.js.map → chunk-LHNX67NO.js.map} +0 -0
  95. /package/dist/{chunk-CZ5UJ3RL.js.map → chunk-NMNFFCQ7.js.map} +0 -0
  96. /package/dist/{chunk-BTAVLAZT.js.map → chunk-RRPXM25U.js.map} +0 -0
  97. /package/dist/{chunk-3GLLMJKA.js.map → chunk-TWE6H65Q.js.map} +0 -0
  98. /package/dist/{chunk-HNK7M2ZO.js.map → chunk-UNIJZL2G.js.map} +0 -0
  99. /package/dist/{chunk-7I3UELIX.js.map → chunk-X36NKBPR.js.map} +0 -0
  100. /package/dist/{chunk-5ONWVNJH.js.map → chunk-X46SRZQF.js.map} +0 -0
  101. /package/dist/{chunk-HRXRIW33.js.map → chunk-X7ZDT7EX.js.map} +0 -0
  102. /package/dist/{chunk-JNAMM7A6.js.map → chunk-XLA6ANZN.js.map} +0 -0
  103. /package/dist/{chunk-M75PDOOM.js.map → chunk-Y5IRVMDD.js.map} +0 -0
  104. /package/dist/{chunk-QUAOJLG6.js.map → chunk-YUJ45IMI.js.map} +0 -0
  105. /package/dist/{chunk-U7ZJW3CQ.js.map → chunk-Z4QNIOFF.js.map} +0 -0
  106. /package/dist/{commands-6DP3QW2F.js.map → commands-Y7WI2LGN.js.map} +0 -0
  107. /package/dist/{config-JEGZHGSM.js.map → config-5L37WETO.js.map} +0 -0
  108. /package/dist/{context-LEXLLT4O.js.map → context-SF3X335Q.js.map} +0 -0
  109. /package/dist/{customCommands-RLUKKBRZ.js.map → customCommands-SPF7HJEH.js.map} +0 -0
  110. /package/dist/{env-4PRTNVDJ.js.map → env-GR5OKVVR.js.map} +0 -0
  111. /package/dist/{kodeAgentSessionLoad-LUKUH23S.js.map → kodeAgentSessionLoad-L54J2WSU.js.map} +0 -0
  112. /package/dist/{kodeAgentSessionResume-FDZ6H3PX.js.map → kodeAgentSessionResume-4S4ZW7WI.js.map} +0 -0
  113. /package/dist/{kodeAgentStreamJsonSession-VE2UG5B2.js.map → kodeAgentStreamJsonSession-44EO542F.js.map} +0 -0
  114. /package/dist/{kodeHooks-ZVNRQTZM.js.map → kodeHooks-G64RN6MW.js.map} +0 -0
  115. /package/dist/{llm-IFU62ZT4.js.map → llm-23Z6UDED.js.map} +0 -0
  116. /package/dist/{llmLazy-45EGHX2A.js.map → llmLazy-PKBZHKOG.js.map} +0 -0
  117. /package/dist/{loader-TITFI6LS.js.map → loader-BXIFWM6O.js.map} +0 -0
  118. /package/dist/{mcp-DE5HUK63.js.map → mcp-CYG2WZG5.js.map} +0 -0
  119. /package/dist/{mentionProcessor-SAPYBDCK.js.map → mentionProcessor-XQ2HNO4M.js.map} +0 -0
  120. /package/dist/{messages-BARXRPB4.js.map → messages-YOW6NTUG.js.map} +0 -0
  121. /package/dist/{model-PC6MMS2S.js.map → model-NIOLLP6W.js.map} +0 -0
  122. /package/dist/{openai-AVJO73FG.js.map → openai-G2AMXRJ2.js.map} +0 -0
  123. /package/dist/{outputStyles-VL7EKGIQ.js.map → outputStyles-CZDXBWRF.js.map} +0 -0
  124. /package/dist/{pluginRuntime-IG2H3W7C.js.map → pluginRuntime-ZIT4IL6O.js.map} +0 -0
  125. /package/dist/{pluginValidation-TOBMLJ5A.js.map → pluginValidation-LO7TNL4T.js.map} +0 -0
  126. /package/dist/{prompts-JGBWXN2Z.js.map → prompts-MKPN6WZF.js.map} +0 -0
  127. /package/dist/{query-4DUM4QP7.js.map → query-MSMRQ2ET.js.map} +0 -0
  128. /package/dist/{ripgrep-HID6XW3J.js.map → ripgrep-XSFDNITT.js.map} +0 -0
  129. /package/dist/{skillMarketplace-YBS7NR7Q.js.map → skillMarketplace-NX6XZDT4.js.map} +0 -0
  130. /package/dist/{state-5OBXGJX6.js.map → state-YAYMHZAZ.js.map} +0 -0
  131. /package/dist/{theme-U2POECGP.js.map → theme-RATH22A4.js.map} +0 -0
  132. /package/dist/{toolPermissionSettings-AYX5MEOW.js.map → toolPermissionSettings-SFS4Z63J.js.map} +0 -0
  133. /package/dist/{tools-JL434UMR.js.map → tools-2J2DNXWI.js.map} +0 -0
  134. /package/dist/{userInput-RXNBLFAH.js.map → userInput-EQAF4OWN.js.map} +0 -0
@@ -7,13 +7,13 @@ import {
7
7
  } from "./chunk-PDSAJX7G.js";
8
8
  import {
9
9
  getAllTools
10
- } from "./chunk-JNAMM7A6.js";
10
+ } from "./chunk-XLA6ANZN.js";
11
11
  import {
12
12
  DanyaAgentStructuredStdio
13
13
  } from "./chunk-P5VWDMRD.js";
14
14
  import {
15
15
  assertMinVersion
16
- } from "./chunk-3GLLMJKA.js";
16
+ } from "./chunk-TWE6H65Q.js";
17
17
  import {
18
18
  getToolDescription
19
19
  } from "./chunk-DKOCP6VD.js";
@@ -32,8 +32,8 @@ import {
32
32
  review_default,
33
33
  useExitOnCtrlCD,
34
34
  useTerminalSize
35
- } from "./chunk-ESHU3HUM.js";
36
- import "./chunk-5ONWVNJH.js";
35
+ } from "./chunk-6LOREEJY.js";
36
+ import "./chunk-X46SRZQF.js";
37
37
  import {
38
38
  addMcpServer,
39
39
  ensureConfigScope,
@@ -48,48 +48,48 @@ import {
48
48
  parseEnvVars,
49
49
  parseMcpHeaders,
50
50
  removeMcpServer
51
- } from "./chunk-RO73O3Q7.js";
52
- import "./chunk-6IH7H2LH.js";
53
- import "./chunk-6GABS3DM.js";
54
- import "./chunk-HNK7M2ZO.js";
55
- import "./chunk-U7ZJW3CQ.js";
51
+ } from "./chunk-CXOM4XMN.js";
52
+ import "./chunk-IZETEFF5.js";
53
+ import "./chunk-HXH5LYLI.js";
54
+ import "./chunk-UNIJZL2G.js";
55
+ import "./chunk-Z4QNIOFF.js";
56
56
  import "./chunk-Y5LQPJWK.js";
57
57
  import "./chunk-JVGG2YQR.js";
58
- import "./chunk-H3P32G2A.js";
58
+ import "./chunk-K7QXXI4A.js";
59
59
  import "./chunk-U7Z4MXY4.js";
60
60
  import {
61
61
  clearOutputStyleCache
62
- } from "./chunk-HRXRIW33.js";
63
- import "./chunk-VMJRNHDU.js";
64
- import "./chunk-6KD43S3G.js";
65
- import "./chunk-SSS2WVMA.js";
66
- import "./chunk-KS52NNBY.js";
67
- import "./chunk-M75PDOOM.js";
68
- import "./chunk-2VUDETSP.js";
62
+ } from "./chunk-X7ZDT7EX.js";
63
+ import "./chunk-3ONZAVOS.js";
64
+ import "./chunk-2CRLMZ76.js";
65
+ import "./chunk-E5BAXZSR.js";
66
+ import "./chunk-HIH5HC5H.js";
67
+ import "./chunk-Y5IRVMDD.js";
68
+ import "./chunk-HPSW7NNI.js";
69
69
  import "./chunk-MVN3DHQF.js";
70
- import "./chunk-QJMLHIGS.js";
70
+ import "./chunk-5TDBDWNG.js";
71
71
  import "./chunk-XEYEKVFT.js";
72
72
  import {
73
73
  clearAgentCache,
74
74
  setFlagAgentsFromCliJson
75
- } from "./chunk-7I3UELIX.js";
75
+ } from "./chunk-X36NKBPR.js";
76
76
  import {
77
77
  setEnabledSettingSourcesFromCli
78
78
  } from "./chunk-WAY3DKFO.js";
79
79
  import "./chunk-2VQWLLDU.js";
80
- import "./chunk-QUAOJLG6.js";
80
+ import "./chunk-YUJ45IMI.js";
81
81
  import {
82
82
  getModelManager,
83
83
  isDefaultSlowAndCapableModel
84
- } from "./chunk-BTAVLAZT.js";
84
+ } from "./chunk-RRPXM25U.js";
85
85
  import {
86
86
  getContext,
87
87
  removeContext,
88
88
  setContext
89
- } from "./chunk-JF5D7ADP.js";
89
+ } from "./chunk-LHNX67NO.js";
90
90
  import {
91
91
  getTheme
92
- } from "./chunk-N74L4GAM.js";
92
+ } from "./chunk-DZCV2FEW.js";
93
93
  import {
94
94
  checkHasTrustDialogAccepted,
95
95
  deleteConfigForCLI,
@@ -103,14 +103,14 @@ import {
103
103
  saveGlobalConfig,
104
104
  setConfigForCLI,
105
105
  validateAndRepairAllGPT5Profiles
106
- } from "./chunk-T6RTYOJB.js";
106
+ } from "./chunk-6JHEJQWY.js";
107
107
  import {
108
108
  ConfigParseError
109
109
  } from "./chunk-HIIHGKXP.js";
110
110
  import {
111
111
  debug,
112
112
  initDebugLogger
113
- } from "./chunk-CZ5UJ3RL.js";
113
+ } from "./chunk-NMNFFCQ7.js";
114
114
  import {
115
115
  BunShell,
116
116
  CACHE_PATHS,
@@ -131,11 +131,11 @@ import {
131
131
  parseLogFilename,
132
132
  setCwd,
133
133
  setOriginalCwd
134
- } from "./chunk-BAYPSZHG.js";
134
+ } from "./chunk-3A4ENL7W.js";
135
135
  import {
136
136
  MACRO,
137
137
  init_macros
138
- } from "./chunk-PTQTKIR2.js";
138
+ } from "./chunk-5M3MBCE7.js";
139
139
  import "./chunk-LWXT5RGE.js";
140
140
  import "./chunk-M3TKNAUR.js";
141
141
 
@@ -303,7 +303,7 @@ function createPrintModeControlRequestHandler(args) {
303
303
 
304
304
  // src/entrypoints/cli/stdio/streamJsonSession.ts
305
305
  async function runPrintModeStreamJsonSession(args) {
306
- const { runDanyaAgentStreamJsonSession } = await import("./kodeAgentStreamJsonSession-VE2UG5B2.js");
306
+ const { runDanyaAgentStreamJsonSession } = await import("./kodeAgentStreamJsonSession-44EO542F.js");
307
307
  await runDanyaAgentStreamJsonSession(args);
308
308
  }
309
309
 
@@ -457,18 +457,18 @@ async function runPrintMode({
457
457
  `);
458
458
  process.exit(0);
459
459
  }
460
- const { createUserMessage } = await import("./messages-BARXRPB4.js");
461
- const { getSystemPrompt } = await import("./prompts-JGBWXN2Z.js");
462
- const { getContext: getContext2 } = await import("./context-LEXLLT4O.js");
460
+ const { createUserMessage } = await import("./messages-YOW6NTUG.js");
461
+ const { getSystemPrompt } = await import("./prompts-MKPN6WZF.js");
462
+ const { getContext: getContext2 } = await import("./context-SF3X335Q.js");
463
463
  const { getTotalCost } = await import("./costTracker-5WKZXN5S.js");
464
- const { query } = await import("./query-4DUM4QP7.js");
464
+ const { query } = await import("./query-MSMRQ2ET.js");
465
465
  const { getDanyaAgentSessionId } = await import("./kodeAgentSessionId-WUT74FSH.js");
466
466
  const { danyaMessageToSdkMessage, makeSdkInitMessage, makeSdkResultMessage } = await import("./kodeAgentStreamJson-EDHHWNNX.js");
467
467
  const { DanyaAgentStructuredStdio: DanyaAgentStructuredStdio2 } = await import("./kodeAgentStructuredStdio-UA5P5UNU.js");
468
468
  const {
469
469
  loadToolPermissionContextFromDisk,
470
470
  persistToolPermissionUpdateToDisk
471
- } = await import("./toolPermissionSettings-AYX5MEOW.js");
471
+ } = await import("./toolPermissionSettings-SFS4Z63J.js");
472
472
  const { applyToolPermissionContextUpdates } = await import("./toolPermissionContext-DHAGUPEW.js");
473
473
  const sessionIdForSdk = getDanyaAgentSessionId();
474
474
  const startedAt = Date.now();
@@ -794,7 +794,7 @@ async function runPrintMode({
794
794
  // src/utils/session/cleanup.ts
795
795
  init_log();
796
796
  import { promises as fs } from "fs";
797
- import { join } from "path";
797
+ import { join as join2 } from "path";
798
798
  var THIRTY_DAYS_MS = 30 * 24 * 60 * 60 * 1e3;
799
799
  function convertFileNameToDate(filename) {
800
800
  const isoStr = filename.split(".")[0].replace(/T(\d{2})-(\d{2})-(\d{2})-(\d{3})Z/, "T$1:$2:$3.$4Z");
@@ -812,7 +812,7 @@ async function cleanupOldMessageFiles() {
812
812
  try {
813
813
  const timestamp = convertFileNameToDate(file);
814
814
  if (timestamp < thirtyDaysAgo) {
815
- await fs.unlink(join(path, file));
815
+ await fs.unlink(join2(path, file));
816
816
  if (path === messagePath) {
817
817
  deletedCounts.messages++;
818
818
  } else {
@@ -850,9 +850,9 @@ async function setup(cwd2, safeMode) {
850
850
  grantReadPermissionForOriginalDir();
851
851
  let agentLoader;
852
852
  try {
853
- agentLoader = await import("./loader-TITFI6LS.js");
853
+ agentLoader = await import("./loader-BXIFWM6O.js");
854
854
  } catch {
855
- agentLoader = await import("./loader-TITFI6LS.js");
855
+ agentLoader = await import("./loader-BXIFWM6O.js");
856
856
  }
857
857
  const { startAgentWatcher } = agentLoader;
858
858
  await startAgentWatcher(() => {
@@ -2045,12 +2045,12 @@ async function parseArgs(stdinContent, renderContext) {
2045
2045
  assertMinVersion();
2046
2046
  {
2047
2047
  const requested = Array.isArray(pluginDir) && pluginDir.length > 0 ? pluginDir : [];
2048
- const { listEnabledInstalledPluginPackRoots } = await import("./skillMarketplace-YBS7NR7Q.js");
2048
+ const { listEnabledInstalledPluginPackRoots } = await import("./skillMarketplace-NX6XZDT4.js");
2049
2049
  const installed = listEnabledInstalledPluginPackRoots();
2050
2050
  const all = [...installed, ...requested].filter(Boolean);
2051
2051
  const deduped = Array.from(new Set(all));
2052
2052
  if (deduped.length > 0) {
2053
- const { configureSessionPlugins } = await import("./pluginRuntime-IG2H3W7C.js");
2053
+ const { configureSessionPlugins } = await import("./pluginRuntime-ZIT4IL6O.js");
2054
2054
  const { errors } = await configureSessionPlugins({
2055
2055
  pluginDirs: deduped
2056
2056
  });
@@ -2060,9 +2060,9 @@ async function parseArgs(stdinContent, renderContext) {
2060
2060
  }
2061
2061
  }
2062
2062
  const [{ ask }, { getTools }, { getCommands }] = await Promise.all([
2063
- import("./ask-5P2J7UA5.js"),
2064
- import("./tools-JL434UMR.js"),
2065
- import("./commands-6DP3QW2F.js")
2063
+ import("./ask-C57WQJNZ.js"),
2064
+ import("./tools-2J2DNXWI.js"),
2065
+ import("./commands-Y7WI2LGN.js")
2066
2066
  ]);
2067
2067
  const commands = await getCommands();
2068
2068
  const mcpClientsPromise = Array.isArray(mcpConfig) && mcpConfig.length > 0 || strictMcpConfig === true ? getClientsForCliMcpConfig({
@@ -2081,8 +2081,8 @@ async function parseArgs(stdinContent, renderContext) {
2081
2081
  const {
2082
2082
  loadDanyaAgentSessionMessages,
2083
2083
  findMostRecentDanyaAgentSessionId
2084
- } = await import("./kodeAgentSessionLoad-LUKUH23S.js");
2085
- const { listDanyaAgentSessions, resolveResumeSessionIdentifier } = await import("./kodeAgentSessionResume-FDZ6H3PX.js");
2084
+ } = await import("./kodeAgentSessionLoad-L54J2WSU.js");
2085
+ const { listDanyaAgentSessions, resolveResumeSessionIdentifier } = await import("./kodeAgentSessionResume-4S4ZW7WI.js");
2086
2086
  const { isUuid } = await import("./uuid-QUYJMIUV.js");
2087
2087
  const { setDanyaAgentSessionId, getDanyaAgentSessionId } = await import("./kodeAgentSessionId-WUT74FSH.js");
2088
2088
  const { randomUUID } = await import("crypto");
@@ -2207,7 +2207,7 @@ async function parseArgs(stdinContent, renderContext) {
2207
2207
  { getLatestVersion, getUpdateCommandSuggestions },
2208
2208
  semverMod
2209
2209
  ] = await Promise.all([
2210
- import("./autoUpdater-6ABURQZA.js"),
2210
+ import("./autoUpdater-KEQOIUBC.js"),
2211
2211
  import("semver")
2212
2212
  ]);
2213
2213
  const semver = semverMod?.default ?? semverMod;
@@ -2268,7 +2268,7 @@ async function parseArgs(stdinContent, renderContext) {
2268
2268
  const isDefaultModel = await isDefaultSlowAndCapableModel();
2269
2269
  {
2270
2270
  const { render: render3 } = await import("ink");
2271
- const { REPL } = await import("./REPL-URLRZ4T4.js");
2271
+ const { REPL } = await import("./REPL-YFM3WKCC.js");
2272
2272
  render3(
2273
2273
  /* @__PURE__ */ React10.createElement(
2274
2274
  REPL,
@@ -2355,7 +2355,7 @@ async function parseArgs(stdinContent, renderContext) {
2355
2355
  { replace: !!replace }
2356
2356
  );
2357
2357
  saveGlobalConfig(nextConfig);
2358
- await import("./model-PC6MMS2S.js").then(({ reloadModelManager }) => {
2358
+ await import("./model-NIOLLP6W.js").then(({ reloadModelManager }) => {
2359
2359
  reloadModelManager();
2360
2360
  });
2361
2361
  if (warnings.length > 0) {
@@ -2373,7 +2373,7 @@ async function parseArgs(stdinContent, renderContext) {
2373
2373
  const workingDir = typeof options?.cwd === "string" ? options.cwd : cwd();
2374
2374
  const asJson = options?.json === true;
2375
2375
  await setup(workingDir, false);
2376
- const { reloadModelManager, getModelManager: getModelManager2 } = await import("./model-PC6MMS2S.js");
2376
+ const { reloadModelManager, getModelManager: getModelManager2 } = await import("./model-NIOLLP6W.js");
2377
2377
  reloadModelManager();
2378
2378
  const manager = getModelManager2();
2379
2379
  const config2 = getGlobalConfig();
@@ -2447,7 +2447,7 @@ Model profiles (${active.length}/${profiles.length} active):
2447
2447
  try {
2448
2448
  const workingDir = typeof options?.cwd === "string" ? options.cwd : cwd();
2449
2449
  await setup(workingDir, false);
2450
- const { validateAgentTemplates } = await import("./agentsValidate-WUX5I4FS.js");
2450
+ const { validateAgentTemplates } = await import("./agentsValidate-5VUACF2G.js");
2451
2451
  const report = await validateAgentTemplates({
2452
2452
  cwd: workingDir,
2453
2453
  paths: Array.isArray(paths) ? paths : [],
@@ -2491,7 +2491,7 @@ Model profiles (${active.length}/${profiles.length} active):
2491
2491
  const registerMarketplaceCommands = (marketplaceCmd2) => {
2492
2492
  marketplaceCmd2.command("add <source>").description("Add a marketplace from a URL, path, or GitHub repo").action(async (source) => {
2493
2493
  try {
2494
- const { addMarketplace } = await import("./skillMarketplace-YBS7NR7Q.js");
2494
+ const { addMarketplace } = await import("./skillMarketplace-NX6XZDT4.js");
2495
2495
  console.log("Adding marketplace...");
2496
2496
  const { name } = await addMarketplace(source);
2497
2497
  console.log(`Successfully added marketplace: ${name}`);
@@ -2503,7 +2503,7 @@ Model profiles (${active.length}/${profiles.length} active):
2503
2503
  });
2504
2504
  marketplaceCmd2.command("list").description("List all configured marketplaces").option("--json", "Output as JSON").action(async (options) => {
2505
2505
  try {
2506
- const { listMarketplaces } = await import("./skillMarketplace-YBS7NR7Q.js");
2506
+ const { listMarketplaces } = await import("./skillMarketplace-NX6XZDT4.js");
2507
2507
  const marketplaces = listMarketplaces();
2508
2508
  if (options.json) {
2509
2509
  console.log(JSON.stringify(marketplaces, null, 2));
@@ -2542,7 +2542,7 @@ Model profiles (${active.length}/${profiles.length} active):
2542
2542
  });
2543
2543
  marketplaceCmd2.command("remove <name>").alias("rm").description("Remove a configured marketplace").action(async (name) => {
2544
2544
  try {
2545
- const { removeMarketplace } = await import("./skillMarketplace-YBS7NR7Q.js");
2545
+ const { removeMarketplace } = await import("./skillMarketplace-NX6XZDT4.js");
2546
2546
  removeMarketplace(name);
2547
2547
  console.log(`Successfully removed marketplace: ${name}`);
2548
2548
  process.exit(0);
@@ -2559,7 +2559,7 @@ Model profiles (${active.length}/${profiles.length} active):
2559
2559
  listMarketplaces,
2560
2560
  refreshAllMarketplacesAsync,
2561
2561
  refreshMarketplaceAsync
2562
- } = await import("./skillMarketplace-YBS7NR7Q.js");
2562
+ } = await import("./skillMarketplace-NX6XZDT4.js");
2563
2563
  const trimmed = typeof name === "string" ? name.trim() : "";
2564
2564
  if (trimmed) {
2565
2565
  console.log(`Updating marketplace: ${trimmed}...`);
@@ -2610,9 +2610,9 @@ Model profiles (${active.length}/${profiles.length} active):
2610
2610
  );
2611
2611
  process.exit(1);
2612
2612
  }
2613
- const { setCwd: setCwd2 } = await import("./state-5OBXGJX6.js");
2613
+ const { setCwd: setCwd2 } = await import("./state-YAYMHZAZ.js");
2614
2614
  await setCwd2(options.cwd ?? cwd());
2615
- const { installSkillPlugin } = await import("./skillMarketplace-YBS7NR7Q.js");
2615
+ const { installSkillPlugin } = await import("./skillMarketplace-NX6XZDT4.js");
2616
2616
  const result = installSkillPlugin(plugin, {
2617
2617
  scope,
2618
2618
  force: options.force === true
@@ -2639,9 +2639,9 @@ ${skillList}`);
2639
2639
  );
2640
2640
  process.exit(1);
2641
2641
  }
2642
- const { setCwd: setCwd2 } = await import("./state-5OBXGJX6.js");
2642
+ const { setCwd: setCwd2 } = await import("./state-YAYMHZAZ.js");
2643
2643
  await setCwd2(options.cwd ?? cwd());
2644
- const { uninstallSkillPlugin } = await import("./skillMarketplace-YBS7NR7Q.js");
2644
+ const { uninstallSkillPlugin } = await import("./skillMarketplace-NX6XZDT4.js");
2645
2645
  const result = uninstallSkillPlugin(plugin, { scope });
2646
2646
  const skillList = result.removedSkills.length > 0 ? `Skills: ${result.removedSkills.join(", ")}` : "Skills: (none)";
2647
2647
  console.log(`Uninstalled ${result.pluginSpec}
@@ -2665,9 +2665,9 @@ ${skillList}`);
2665
2665
  );
2666
2666
  process.exit(1);
2667
2667
  }
2668
- const { setCwd: setCwd2, getCwd: getCwd2 } = await import("./state-5OBXGJX6.js");
2668
+ const { setCwd: setCwd2, getCwd: getCwd2 } = await import("./state-YAYMHZAZ.js");
2669
2669
  await setCwd2(options.cwd ?? cwd());
2670
- const { listInstalledSkillPlugins } = await import("./skillMarketplace-YBS7NR7Q.js");
2670
+ const { listInstalledSkillPlugins } = await import("./skillMarketplace-NX6XZDT4.js");
2671
2671
  const all = listInstalledSkillPlugins();
2672
2672
  const filtered = Object.fromEntries(
2673
2673
  Object.entries(all).filter(([, record]) => {
@@ -2711,9 +2711,9 @@ ${skillList}`);
2711
2711
  );
2712
2712
  process.exit(1);
2713
2713
  }
2714
- const { setCwd: setCwd2 } = await import("./state-5OBXGJX6.js");
2714
+ const { setCwd: setCwd2 } = await import("./state-YAYMHZAZ.js");
2715
2715
  await setCwd2(options.cwd ?? cwd());
2716
- const { enableSkillPlugin } = await import("./skillMarketplace-YBS7NR7Q.js");
2716
+ const { enableSkillPlugin } = await import("./skillMarketplace-NX6XZDT4.js");
2717
2717
  const result = enableSkillPlugin(plugin, { scope });
2718
2718
  console.log(`Enabled ${result.pluginSpec}`);
2719
2719
  process.exit(0);
@@ -2735,9 +2735,9 @@ ${skillList}`);
2735
2735
  );
2736
2736
  process.exit(1);
2737
2737
  }
2738
- const { setCwd: setCwd2 } = await import("./state-5OBXGJX6.js");
2738
+ const { setCwd: setCwd2 } = await import("./state-YAYMHZAZ.js");
2739
2739
  await setCwd2(options.cwd ?? cwd());
2740
- const { disableSkillPlugin } = await import("./skillMarketplace-YBS7NR7Q.js");
2740
+ const { disableSkillPlugin } = await import("./skillMarketplace-NX6XZDT4.js");
2741
2741
  const result = disableSkillPlugin(plugin, { scope });
2742
2742
  console.log(`Disabled ${result.pluginSpec}`);
2743
2743
  process.exit(0);
@@ -2748,9 +2748,9 @@ ${skillList}`);
2748
2748
  });
2749
2749
  pluginCmd.command("validate <path>").description("Validate a plugin or marketplace manifest").option("--cwd <cwd>", "The current working directory", String, cwd()).action(async (path, options) => {
2750
2750
  try {
2751
- const { setCwd: setCwd2 } = await import("./state-5OBXGJX6.js");
2751
+ const { setCwd: setCwd2 } = await import("./state-YAYMHZAZ.js");
2752
2752
  await setCwd2(options.cwd ?? cwd());
2753
- const { formatValidationResult, validatePluginOrMarketplacePath } = await import("./pluginValidation-TOBMLJ5A.js");
2753
+ const { formatValidationResult, validatePluginOrMarketplacePath } = await import("./pluginValidation-LO7TNL4T.js");
2754
2754
  const result = validatePluginOrMarketplacePath(path);
2755
2755
  console.log(
2756
2756
  `Validating ${result.fileType} manifest: ${result.filePath}
@@ -2772,9 +2772,9 @@ ${skillList}`);
2772
2772
  registerMarketplaceCommands(marketplaceCmd);
2773
2773
  skillsCmd.command("install <plugin>").description("Install a skill plugin pack (<plugin>@<marketplace>)").option("--cwd <cwd>", "The current working directory", String, cwd()).option("--project", "Install into this project (.danya/...)", () => true).option("--force", "Overwrite existing installed files", () => true).action(async (plugin, options) => {
2774
2774
  try {
2775
- const { setCwd: setCwd2 } = await import("./state-5OBXGJX6.js");
2775
+ const { setCwd: setCwd2 } = await import("./state-YAYMHZAZ.js");
2776
2776
  await setCwd2(options.cwd ?? cwd());
2777
- const { installSkillPlugin } = await import("./skillMarketplace-YBS7NR7Q.js");
2777
+ const { installSkillPlugin } = await import("./skillMarketplace-NX6XZDT4.js");
2778
2778
  const result = installSkillPlugin(plugin, {
2779
2779
  project: options.project === true,
2780
2780
  force: options.force === true
@@ -2790,9 +2790,9 @@ ${skillList}`);
2790
2790
  });
2791
2791
  skillsCmd.command("uninstall <plugin>").description("Uninstall a skill plugin pack (<plugin>@<marketplace>)").option("--cwd <cwd>", "The current working directory", String, cwd()).option("--project", "Uninstall from this project (.danya/...)", () => true).action(async (plugin, options) => {
2792
2792
  try {
2793
- const { setCwd: setCwd2 } = await import("./state-5OBXGJX6.js");
2793
+ const { setCwd: setCwd2 } = await import("./state-YAYMHZAZ.js");
2794
2794
  await setCwd2(options.cwd ?? cwd());
2795
- const { uninstallSkillPlugin } = await import("./skillMarketplace-YBS7NR7Q.js");
2795
+ const { uninstallSkillPlugin } = await import("./skillMarketplace-NX6XZDT4.js");
2796
2796
  const result = uninstallSkillPlugin(plugin, {
2797
2797
  project: options.project === true
2798
2798
  });
@@ -2807,7 +2807,7 @@ ${skillList}`);
2807
2807
  });
2808
2808
  skillsCmd.command("list-installed").description("List installed skill plugins").action(async () => {
2809
2809
  try {
2810
- const { listInstalledSkillPlugins } = await import("./skillMarketplace-YBS7NR7Q.js");
2810
+ const { listInstalledSkillPlugins } = await import("./skillMarketplace-NX6XZDT4.js");
2811
2811
  console.log(JSON.stringify(listInstalledSkillPlugins(), null, 2));
2812
2812
  process.exit(0);
2813
2813
  } catch (error) {
@@ -3373,7 +3373,7 @@ ${skillList}`);
3373
3373
  const scope = ensureConfigScope(options.scope);
3374
3374
  const platform = process.platform;
3375
3375
  const { existsSync: existsSync2, readFileSync: readFileSync2 } = await import("fs");
3376
- const { join: join2 } = await import("path");
3376
+ const { join: join3 } = await import("path");
3377
3377
  const { exec } = await import("child_process");
3378
3378
  const isWSL = platform === "linux" && existsSync2("/proc/version") && readFileSync2("/proc/version", "utf-8").toLowerCase().includes("microsoft");
3379
3379
  if (platform !== "darwin" && platform !== "win32" && !isWSL) {
@@ -3384,12 +3384,12 @@ ${skillList}`);
3384
3384
  }
3385
3385
  let configPath;
3386
3386
  if (platform === "darwin") {
3387
- configPath = join2(
3387
+ configPath = join3(
3388
3388
  process.env.HOME || "~",
3389
3389
  "Library/Application Support/Claude/claude_desktop_config.json"
3390
3390
  );
3391
3391
  } else if (platform === "win32") {
3392
- configPath = join2(
3392
+ configPath = join3(
3393
3393
  process.env.APPDATA || "",
3394
3394
  "Claude/claude_desktop_config.json"
3395
3395
  );
@@ -3453,7 +3453,7 @@ ${skillList}`);
3453
3453
  const ink = await import("ink");
3454
3454
  const reactModule = await import("react");
3455
3455
  const inkjsui = await import("@inkjs/ui");
3456
- const utilsTheme = await import("./theme-U2POECGP.js");
3456
+ const utilsTheme = await import("./theme-RATH22A4.js");
3457
3457
  const { render: render3 } = ink;
3458
3458
  const React11 = reactModule;
3459
3459
  const { MultiSelect: MultiSelect2 } = inkjsui;
@@ -3603,7 +3603,7 @@ ${skillList}`);
3603
3603
  program.command("update").description("Show manual upgrade commands (no auto-install)").action(async () => {
3604
3604
  console.log(`Current version: ${MACRO.VERSION}`);
3605
3605
  console.log("Checking for updates...");
3606
- const { getLatestVersion, getUpdateCommandSuggestions } = await import("./autoUpdater-6ABURQZA.js");
3606
+ const { getLatestVersion, getUpdateCommandSuggestions } = await import("./autoUpdater-KEQOIUBC.js");
3607
3607
  const latestVersion = await getLatestVersion();
3608
3608
  if (!latestVersion) {
3609
3609
  console.error("Failed to check for updates");
@@ -3658,8 +3658,8 @@ ${skillList}`);
3658
3658
  await setup(cwd2, safe);
3659
3659
  assertMinVersion();
3660
3660
  const [{ getTools }, { getCommands }] = await Promise.all([
3661
- import("./tools-JL434UMR.js"),
3662
- import("./commands-6DP3QW2F.js")
3661
+ import("./tools-2J2DNXWI.js"),
3662
+ import("./commands-Y7WI2LGN.js")
3663
3663
  ]);
3664
3664
  const [allTools, commands, mcpClients] = await Promise.all([
3665
3665
  getTools(
@@ -3670,8 +3670,8 @@ ${skillList}`);
3670
3670
  ]);
3671
3671
  const tools = disableSlashCommands === true ? allTools.filter((t) => t.name !== "SlashCommand") : allTools;
3672
3672
  if (identifier !== void 0) {
3673
- const { loadDanyaAgentSessionMessages } = await import("./kodeAgentSessionLoad-LUKUH23S.js");
3674
- const { resolveResumeSessionIdentifier } = await import("./kodeAgentSessionResume-FDZ6H3PX.js");
3673
+ const { loadDanyaAgentSessionMessages } = await import("./kodeAgentSessionLoad-L54J2WSU.js");
3674
+ const { resolveResumeSessionIdentifier } = await import("./kodeAgentSessionResume-4S4ZW7WI.js");
3675
3675
  const { setDanyaAgentSessionId } = await import("./kodeAgentSessionId-WUT74FSH.js");
3676
3676
  const rawIdentifier = String(identifier).trim();
3677
3677
  const isLegacyNumber = /^-?\\d+$/.test(rawIdentifier);
@@ -3741,7 +3741,7 @@ ${skillList}`);
3741
3741
  const isDefaultModel = await isDefaultSlowAndCapableModel();
3742
3742
  {
3743
3743
  const { render: render3 } = await import("ink");
3744
- const { REPL } = await import("./REPL-URLRZ4T4.js");
3744
+ const { REPL } = await import("./REPL-YFM3WKCC.js");
3745
3745
  render3(
3746
3746
  /* @__PURE__ */ React10.createElement(
3747
3747
  REPL,
@@ -3768,7 +3768,7 @@ ${skillList}`);
3768
3768
  process.exit(1);
3769
3769
  }
3770
3770
  } else {
3771
- const { listDanyaAgentSessions } = await import("./kodeAgentSessionResume-FDZ6H3PX.js");
3771
+ const { listDanyaAgentSessions } = await import("./kodeAgentSessionResume-4S4ZW7WI.js");
3772
3772
  const sessions = listDanyaAgentSessions({ cwd: cwd2 });
3773
3773
  if (sessions.length === 0) {
3774
3774
  console.error("No conversation found to resume");
@@ -3854,6 +3854,53 @@ ${skillList}`);
3854
3854
  console.log(`Removed context.${key}`);
3855
3855
  process.exit(0);
3856
3856
  });
3857
+ program.command("auto-work <requirement>").description("Shell-enforced full-auto pipeline (each stage = independent danya -p)").option("--model <model>", "Model to use", "sonnet").option("--max-turns <n>", "Max turns per stage", "30").action(async (requirement, opts) => {
3858
+ const { execSync } = await import("child_process");
3859
+ const scriptPath = join(cwd(), ".danya", "scripts", "auto-work-loop.sh");
3860
+ const env = { ...process.env, MODEL: opts.model, MAX_TURNS: opts.maxTurns };
3861
+ try {
3862
+ execSync(`bash "${scriptPath}" "${requirement}"`, { stdio: "inherit", env, cwd: cwd() });
3863
+ } catch (e) {
3864
+ process.exit(e.status || 1);
3865
+ }
3866
+ });
3867
+ program.command("parallel <tasks-dir>").description("Wave-based parallel execution (each task in independent worktree)").action(async (tasksDir) => {
3868
+ const { execSync } = await import("child_process");
3869
+ const scriptPath = join(cwd(), ".danya", "scripts", "parallel-wave.sh");
3870
+ try {
3871
+ execSync(`bash "${scriptPath}" "${tasksDir}"`, { stdio: "inherit", cwd: cwd() });
3872
+ } catch (e) {
3873
+ process.exit(e.status || 1);
3874
+ }
3875
+ });
3876
+ program.command("red-blue [scope]").description("Adversarial red-blue testing loop").option("-n, --rounds <n>", "Max rounds", "5").option("--model <model>", "Model to use", "sonnet").action(async (scope, opts) => {
3877
+ const { execSync } = await import("child_process");
3878
+ const scriptPath = join(cwd(), ".danya", "scripts", "red-blue-loop.sh");
3879
+ const env = { ...process.env, MODEL: opts.model, MAX_ROUNDS: opts.rounds };
3880
+ try {
3881
+ execSync(`bash "${scriptPath}" "${scope || "."}"`, { stdio: "inherit", env, cwd: cwd() });
3882
+ } catch (e) {
3883
+ process.exit(e.status || 1);
3884
+ }
3885
+ });
3886
+ program.command("orchestrate <task-file>").description("Auto-research iteration loop (AI codes \u2192 verify \u2192 commit/revert)").option("-n, --iterations <n>", "Max iterations", "20").option("--model <model>", "Model to use", "sonnet").action(async (taskFile, opts) => {
3887
+ const { execSync } = await import("child_process");
3888
+ const scriptPath = join(cwd(), ".danya", "scripts", "orchestrator.sh");
3889
+ const env = { ...process.env, MODEL: opts.model, MAX_ITERATIONS: opts.iterations };
3890
+ try {
3891
+ execSync(`bash "${scriptPath}" "${taskFile}"`, { stdio: "inherit", env, cwd: cwd() });
3892
+ } catch (e) {
3893
+ process.exit(e.status || 1);
3894
+ }
3895
+ });
3896
+ program.command("check-env").description("Validate environment dependencies for Danya tools").action(async () => {
3897
+ const { execSync } = await import("child_process");
3898
+ const scriptPath = join(cwd(), ".danya", "scripts", "check-env.sh");
3899
+ try {
3900
+ execSync(`bash "${scriptPath}"`, { stdio: "inherit", cwd: cwd() });
3901
+ } catch {
3902
+ }
3903
+ });
3857
3904
  await program.parseAsync(process.argv);
3858
3905
  return program;
3859
3906
  }
@@ -3873,12 +3920,12 @@ async function gracefulExit(code = 0) {
3873
3920
  }
3874
3921
  isGracefulExitInProgress = true;
3875
3922
  try {
3876
- const { runSessionEndHooks } = await import("./kodeHooks-ZVNRQTZM.js");
3923
+ const { runSessionEndHooks } = await import("./kodeHooks-G64RN6MW.js");
3877
3924
  const { getDanyaAgentSessionId } = await import("./kodeAgentSessionId-WUT74FSH.js");
3878
3925
  const { tmpdir } = await import("os");
3879
- const { join: join2 } = await import("path");
3926
+ const { join: join3 } = await import("path");
3880
3927
  const sessionId = getDanyaAgentSessionId();
3881
- const transcriptPath = join2(
3928
+ const transcriptPath = join3(
3882
3929
  tmpdir(),
3883
3930
  "danya-hooks-transcripts",
3884
3931
  `${sessionId}.transcript.txt`