@shareai-lab/kode 2.1.11 → 2.1.13
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.
- package/dist/chunks/{Doctor-CATM2XNU.js → Doctor-7FMNUHVK.js} +9 -9
- package/dist/chunks/{LogList-LFBDGSM2.js → LogList-7A45VEJ3.js} +7 -7
- package/dist/chunks/{REPL-QXAX74JS.js → REPL-RPMNB753.js} +36 -36
- package/dist/chunks/{ResumeConversation-RWILJAA4.js → ResumeConversation-ZHD2BGE2.js} +38 -38
- package/dist/chunks/{agentLoader-6Q5SPXTH.js → agentLoader-LXY26VUO.js} +5 -5
- package/dist/chunks/{agentsValidate-THCDNEHS.js → agentsValidate-3NQ5B536.js} +6 -6
- package/dist/chunks/{ask-45WQLHSB.js → ask-TTU5MIQL.js} +16 -16
- package/dist/chunks/{autoUpdater-MYQJ6SZ6.js → autoUpdater-OL2FHJW4.js} +4 -4
- package/dist/chunks/{chunk-47J6JKVO.js → chunk-2EAA62U6.js} +1 -1
- package/dist/chunks/{chunk-CLON3EB6.js → chunk-2NGYIYTT.js} +4 -4
- package/dist/chunks/{chunk-EXBCQFHX.js → chunk-3VH52KPZ.js} +7 -7
- package/dist/chunks/{chunk-2WCOBF3H.js → chunk-3WLJNJSS.js} +1 -1
- package/dist/chunks/{chunk-7IQW2CI4.js → chunk-5MQQUH4D.js} +1 -1
- package/dist/chunks/{chunk-CR3U5VLS.js → chunk-5QS3GMCU.js} +3 -3
- package/dist/chunks/{chunk-BOC5TWSC.js → chunk-64I4GZUZ.js} +1 -1
- package/dist/chunks/{chunk-AYIRV6KF.js → chunk-73UYWYPL.js} +2 -2
- package/dist/chunks/{chunk-4AYXXNBP.js → chunk-A4EMFTOH.js} +10 -10
- package/dist/chunks/{chunk-TQSAI7TB.js → chunk-CUJBKJNS.js} +26 -28
- package/dist/chunks/chunk-CUJBKJNS.js.map +7 -0
- package/dist/chunks/{chunk-ZNLL22BR.js → chunk-DQPWWE7E.js} +4 -4
- package/dist/chunks/{chunk-FV5EGWT2.js → chunk-EFTBBWD3.js} +31 -31
- package/dist/chunks/{chunk-FV5EGWT2.js.map → chunk-EFTBBWD3.js.map} +2 -2
- package/dist/chunks/{chunk-MFHYPPVF.js → chunk-GAURYXBG.js} +1 -1
- package/dist/chunks/{chunk-BIYAUAON.js → chunk-GQ5BR7LE.js} +1 -1
- package/dist/chunks/{chunk-B6WKFUVR.js → chunk-HABXSZIY.js} +3 -3
- package/dist/chunks/{chunk-LWEETYXC.js → chunk-I7VZ4GGD.js} +1 -1
- package/dist/chunks/{chunk-JFI7JPSS.js → chunk-KKX6BBCU.js} +5 -5
- package/dist/chunks/{chunk-TRUDQVOM.js → chunk-KRQX2YAN.js} +2 -2
- package/dist/chunks/{chunk-V724GMRT.js → chunk-MSBD7AHV.js} +1 -1
- package/dist/chunks/{chunk-7GSPVB7I.js → chunk-MTNFSTSP.js} +8 -8
- package/dist/chunks/{chunk-MV2CBNGN.js → chunk-OOAB5VYK.js} +1 -1
- package/dist/chunks/{chunk-DDKEOS6U.js → chunk-OYRUYKZ4.js} +2 -2
- package/dist/chunks/{chunk-V4F2JN34.js → chunk-Q4LETTXN.js} +2 -2
- package/dist/chunks/{chunk-YVNRRIP3.js → chunk-QFNRQTF5.js} +1 -1
- package/dist/chunks/{chunk-26QBEO4F.js → chunk-QP2E5HZ6.js} +2 -2
- package/dist/chunks/{chunk-7C2FPP6X.js → chunk-QQDJ4CXM.js} +13 -13
- package/dist/chunks/{chunk-7C2FPP6X.js.map → chunk-QQDJ4CXM.js.map} +1 -1
- package/dist/chunks/{chunk-GICGCOOF.js → chunk-RVJSFWNW.js} +1 -1
- package/dist/chunks/{chunk-HB3IGXGY.js → chunk-TU3DMACH.js} +31 -31
- package/dist/chunks/{chunk-KV2M7S6B.js → chunk-U5M5EV7S.js} +2 -2
- package/dist/chunks/{chunk-B33S2FYF.js → chunk-UNMVGIEM.js} +2 -2
- package/dist/chunks/{chunk-EYK2FFOG.js → chunk-USRQVHYN.js} +4 -4
- package/dist/chunks/{chunk-3ZUPPBMO.js → chunk-UTMBNP7U.js} +1 -1
- package/dist/chunks/{chunk-JYWWSSMK.js → chunk-X4BTBVLC.js} +2 -2
- package/dist/chunks/{chunk-ZI5Z3XMH.js → chunk-XBHDR2ZC.js} +3 -3
- package/dist/chunks/{chunk-HDQQDCSJ.js → chunk-XEBLTJNM.js} +5 -5
- package/dist/chunks/{chunk-AFI5XWCD.js → chunk-Y53KNUBH.js} +3 -3
- package/dist/chunks/{chunk-TV62M6SY.js → chunk-YDQZK4JM.js} +1 -1
- package/dist/chunks/{chunk-VA2JXT6V.js → chunk-ZIMHV3DG.js} +4 -4
- package/dist/chunks/{chunk-MOAWT5ID.js → chunk-ZTEJXST7.js} +2 -2
- package/dist/chunks/{chunk-FHJWXZVX.js → chunk-ZVDG6S37.js} +2 -2
- package/dist/chunks/{client-BCBHJ4NH.js → client-75F4KRQ3.js} +5 -5
- package/dist/chunks/{customCommands-ZDNOLIX3.js → customCommands-X7TG3N4B.js} +5 -5
- package/dist/chunks/{engine-VQ3VJBS3.js → engine-5Y76P7CV.js} +15 -15
- package/dist/chunks/{env-M42K2VMN.js → env-5PTUTHCP.js} +3 -3
- package/dist/chunks/{kodeAgentSessionLoad-NI5QABZQ.js → kodeAgentSessionLoad-UVOA24FK.js} +3 -3
- package/dist/chunks/{kodeAgentSessionResume-EXIMDDJZ.js → kodeAgentSessionResume-LF2LRCGV.js} +3 -3
- package/dist/chunks/{kodeHooks-RA6MO3XI.js → kodeHooks-YU54H6EG.js} +4 -4
- package/dist/chunks/{llm-DOCFAYF7.js → llm-4SNM4IDE.js} +13 -13
- package/dist/chunks/{llmLazy-EPG4VSGC.js → llmLazy-QZELFRLW.js} +1 -1
- package/dist/chunks/{mcpCli-GHQ4ZZVY.js → mcpCli-A6DOUI6K.js} +5 -5
- package/dist/chunks/{mentionProcessor-JW7LGNXX.js → mentionProcessor-UJFE5JNZ.js} +6 -6
- package/dist/chunks/{model-22JBEFFH.js → model-22KSMIFJ.js} +5 -5
- package/dist/chunks/{openai-PJKZ6SFT.js → openai-4UAVS6TI.js} +5 -5
- package/dist/chunks/{permissions-DZ4ZRT3E.js → permissions-4F7TX6N7.js} +6 -6
- package/dist/chunks/{pluginRuntime-2DYWCDL6.js → pluginRuntime-4GPEUR45.js} +3 -3
- package/dist/chunks/{pluginValidation-KUZBPB5G.js → pluginValidation-NVJ4H6AZ.js} +7 -7
- package/dist/chunks/{registry-REENP5FM.js → registry-R3N7PM3V.js} +29 -29
- package/dist/chunks/{ripgrep-4QIOLKJQ.js → ripgrep-FVYG25TF.js} +4 -4
- package/dist/chunks/{runNonTextPrintMode-T3KJLVDW.js → runNonTextPrintMode-ZXNYYTOM.js} +9 -9
- package/dist/chunks/{server-UG7VGSMK.js → server-DRM5LNJI.js} +27 -27
- package/dist/chunks/{server-427X65CM.js → server-KDPTHJ63.js} +25 -25
- package/dist/chunks/{skillMarketplace-4IPMZJOM.js → skillMarketplace-KMBZH3XB.js} +4 -4
- package/dist/chunks/{src-C65OF2CE.js → src-HS4JSOV7.js} +70 -70
- package/dist/chunks/{src-AWKZPH7X.js → src-NA4PARIJ.js} +27 -27
- package/dist/chunks/{src-PT7VYXGT.js → src-NAONSXUL.js} +24 -24
- package/dist/chunks/{thinking-PO4DIVS6.js → thinking-2CBSWTVB.js} +6 -6
- package/dist/chunks/{toolPermissionSettings-OBYPVTUI.js → toolPermissionSettings-AKHRQGA7.js} +4 -4
- package/dist/chunks/{webOnlyMode-MTYJLIX6.js → webOnlyMode-NYD23BP3.js} +1 -1
- package/dist/entrypoints/cli.js +1 -1
- package/dist/entrypoints/daemon.js +1 -1
- package/dist/entrypoints/mcp.js +25 -25
- package/dist/index.js +5 -5
- package/dist/sdk/core.cjs +13 -13
- package/dist/sdk/core.cjs.map +1 -1
- package/dist/sdk/core.js +13 -13
- package/dist/sdk/core.js.map +1 -1
- package/dist/sdk/tools.cjs +19 -20
- package/dist/sdk/tools.cjs.map +2 -2
- package/dist/sdk/tools.js +19 -20
- package/dist/sdk/tools.js.map +2 -2
- package/dist/vendor/seccomp/arm64/apply-seccomp +1 -0
- package/dist/vendor/seccomp/arm64/unix-block.bpf +1 -0
- package/dist/vendor/seccomp/x64/apply-seccomp +1 -0
- package/dist/vendor/seccomp/x64/unix-block.bpf +1 -0
- package/package.json +13 -13
- package/dist/chunks/chunk-TQSAI7TB.js.map +0 -7
- /package/dist/chunks/{Doctor-CATM2XNU.js.map → Doctor-7FMNUHVK.js.map} +0 -0
- /package/dist/chunks/{LogList-LFBDGSM2.js.map → LogList-7A45VEJ3.js.map} +0 -0
- /package/dist/chunks/{REPL-QXAX74JS.js.map → REPL-RPMNB753.js.map} +0 -0
- /package/dist/chunks/{ResumeConversation-RWILJAA4.js.map → ResumeConversation-ZHD2BGE2.js.map} +0 -0
- /package/dist/chunks/{agentLoader-6Q5SPXTH.js.map → agentLoader-LXY26VUO.js.map} +0 -0
- /package/dist/chunks/{agentsValidate-THCDNEHS.js.map → agentsValidate-3NQ5B536.js.map} +0 -0
- /package/dist/chunks/{ask-45WQLHSB.js.map → ask-TTU5MIQL.js.map} +0 -0
- /package/dist/chunks/{autoUpdater-MYQJ6SZ6.js.map → autoUpdater-OL2FHJW4.js.map} +0 -0
- /package/dist/chunks/{chunk-47J6JKVO.js.map → chunk-2EAA62U6.js.map} +0 -0
- /package/dist/chunks/{chunk-CLON3EB6.js.map → chunk-2NGYIYTT.js.map} +0 -0
- /package/dist/chunks/{chunk-EXBCQFHX.js.map → chunk-3VH52KPZ.js.map} +0 -0
- /package/dist/chunks/{chunk-2WCOBF3H.js.map → chunk-3WLJNJSS.js.map} +0 -0
- /package/dist/chunks/{chunk-7IQW2CI4.js.map → chunk-5MQQUH4D.js.map} +0 -0
- /package/dist/chunks/{chunk-CR3U5VLS.js.map → chunk-5QS3GMCU.js.map} +0 -0
- /package/dist/chunks/{chunk-BOC5TWSC.js.map → chunk-64I4GZUZ.js.map} +0 -0
- /package/dist/chunks/{chunk-AYIRV6KF.js.map → chunk-73UYWYPL.js.map} +0 -0
- /package/dist/chunks/{chunk-4AYXXNBP.js.map → chunk-A4EMFTOH.js.map} +0 -0
- /package/dist/chunks/{chunk-ZNLL22BR.js.map → chunk-DQPWWE7E.js.map} +0 -0
- /package/dist/chunks/{chunk-MFHYPPVF.js.map → chunk-GAURYXBG.js.map} +0 -0
- /package/dist/chunks/{chunk-BIYAUAON.js.map → chunk-GQ5BR7LE.js.map} +0 -0
- /package/dist/chunks/{chunk-B6WKFUVR.js.map → chunk-HABXSZIY.js.map} +0 -0
- /package/dist/chunks/{chunk-LWEETYXC.js.map → chunk-I7VZ4GGD.js.map} +0 -0
- /package/dist/chunks/{chunk-JFI7JPSS.js.map → chunk-KKX6BBCU.js.map} +0 -0
- /package/dist/chunks/{chunk-TRUDQVOM.js.map → chunk-KRQX2YAN.js.map} +0 -0
- /package/dist/chunks/{chunk-V724GMRT.js.map → chunk-MSBD7AHV.js.map} +0 -0
- /package/dist/chunks/{chunk-7GSPVB7I.js.map → chunk-MTNFSTSP.js.map} +0 -0
- /package/dist/chunks/{chunk-MV2CBNGN.js.map → chunk-OOAB5VYK.js.map} +0 -0
- /package/dist/chunks/{chunk-DDKEOS6U.js.map → chunk-OYRUYKZ4.js.map} +0 -0
- /package/dist/chunks/{chunk-V4F2JN34.js.map → chunk-Q4LETTXN.js.map} +0 -0
- /package/dist/chunks/{chunk-YVNRRIP3.js.map → chunk-QFNRQTF5.js.map} +0 -0
- /package/dist/chunks/{chunk-26QBEO4F.js.map → chunk-QP2E5HZ6.js.map} +0 -0
- /package/dist/chunks/{chunk-GICGCOOF.js.map → chunk-RVJSFWNW.js.map} +0 -0
- /package/dist/chunks/{chunk-HB3IGXGY.js.map → chunk-TU3DMACH.js.map} +0 -0
- /package/dist/chunks/{chunk-KV2M7S6B.js.map → chunk-U5M5EV7S.js.map} +0 -0
- /package/dist/chunks/{chunk-B33S2FYF.js.map → chunk-UNMVGIEM.js.map} +0 -0
- /package/dist/chunks/{chunk-EYK2FFOG.js.map → chunk-USRQVHYN.js.map} +0 -0
- /package/dist/chunks/{chunk-3ZUPPBMO.js.map → chunk-UTMBNP7U.js.map} +0 -0
- /package/dist/chunks/{chunk-JYWWSSMK.js.map → chunk-X4BTBVLC.js.map} +0 -0
- /package/dist/chunks/{chunk-ZI5Z3XMH.js.map → chunk-XBHDR2ZC.js.map} +0 -0
- /package/dist/chunks/{chunk-HDQQDCSJ.js.map → chunk-XEBLTJNM.js.map} +0 -0
- /package/dist/chunks/{chunk-AFI5XWCD.js.map → chunk-Y53KNUBH.js.map} +0 -0
- /package/dist/chunks/{chunk-TV62M6SY.js.map → chunk-YDQZK4JM.js.map} +0 -0
- /package/dist/chunks/{chunk-VA2JXT6V.js.map → chunk-ZIMHV3DG.js.map} +0 -0
- /package/dist/chunks/{chunk-MOAWT5ID.js.map → chunk-ZTEJXST7.js.map} +0 -0
- /package/dist/chunks/{chunk-FHJWXZVX.js.map → chunk-ZVDG6S37.js.map} +0 -0
- /package/dist/chunks/{client-BCBHJ4NH.js.map → client-75F4KRQ3.js.map} +0 -0
- /package/dist/chunks/{customCommands-ZDNOLIX3.js.map → customCommands-X7TG3N4B.js.map} +0 -0
- /package/dist/chunks/{engine-VQ3VJBS3.js.map → engine-5Y76P7CV.js.map} +0 -0
- /package/dist/chunks/{env-M42K2VMN.js.map → env-5PTUTHCP.js.map} +0 -0
- /package/dist/chunks/{kodeAgentSessionLoad-NI5QABZQ.js.map → kodeAgentSessionLoad-UVOA24FK.js.map} +0 -0
- /package/dist/chunks/{kodeAgentSessionResume-EXIMDDJZ.js.map → kodeAgentSessionResume-LF2LRCGV.js.map} +0 -0
- /package/dist/chunks/{kodeHooks-RA6MO3XI.js.map → kodeHooks-YU54H6EG.js.map} +0 -0
- /package/dist/chunks/{llm-DOCFAYF7.js.map → llm-4SNM4IDE.js.map} +0 -0
- /package/dist/chunks/{llmLazy-EPG4VSGC.js.map → llmLazy-QZELFRLW.js.map} +0 -0
- /package/dist/chunks/{mcpCli-GHQ4ZZVY.js.map → mcpCli-A6DOUI6K.js.map} +0 -0
- /package/dist/chunks/{mentionProcessor-JW7LGNXX.js.map → mentionProcessor-UJFE5JNZ.js.map} +0 -0
- /package/dist/chunks/{model-22JBEFFH.js.map → model-22KSMIFJ.js.map} +0 -0
- /package/dist/chunks/{openai-PJKZ6SFT.js.map → openai-4UAVS6TI.js.map} +0 -0
- /package/dist/chunks/{permissions-DZ4ZRT3E.js.map → permissions-4F7TX6N7.js.map} +0 -0
- /package/dist/chunks/{pluginRuntime-2DYWCDL6.js.map → pluginRuntime-4GPEUR45.js.map} +0 -0
- /package/dist/chunks/{pluginValidation-KUZBPB5G.js.map → pluginValidation-NVJ4H6AZ.js.map} +0 -0
- /package/dist/chunks/{registry-REENP5FM.js.map → registry-R3N7PM3V.js.map} +0 -0
- /package/dist/chunks/{ripgrep-4QIOLKJQ.js.map → ripgrep-FVYG25TF.js.map} +0 -0
- /package/dist/chunks/{runNonTextPrintMode-T3KJLVDW.js.map → runNonTextPrintMode-ZXNYYTOM.js.map} +0 -0
- /package/dist/chunks/{server-427X65CM.js.map → server-DRM5LNJI.js.map} +0 -0
- /package/dist/chunks/{server-UG7VGSMK.js.map → server-KDPTHJ63.js.map} +0 -0
- /package/dist/chunks/{skillMarketplace-4IPMZJOM.js.map → skillMarketplace-KMBZH3XB.js.map} +0 -0
- /package/dist/chunks/{src-C65OF2CE.js.map → src-HS4JSOV7.js.map} +0 -0
- /package/dist/chunks/{src-AWKZPH7X.js.map → src-NA4PARIJ.js.map} +0 -0
- /package/dist/chunks/{src-PT7VYXGT.js.map → src-NAONSXUL.js.map} +0 -0
- /package/dist/chunks/{thinking-PO4DIVS6.js.map → thinking-2CBSWTVB.js.map} +0 -0
- /package/dist/chunks/{toolPermissionSettings-OBYPVTUI.js.map → toolPermissionSettings-AKHRQGA7.js.map} +0 -0
- /package/dist/chunks/{webOnlyMode-MTYJLIX6.js.map → webOnlyMode-NYD23BP3.js.map} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getMessagesSetter,
|
|
6
6
|
readTextContent,
|
|
7
7
|
resetFileFreshnessSession
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2NGYIYTT.js";
|
|
9
9
|
import {
|
|
10
10
|
MaxBudgetUsdExceededError
|
|
11
11
|
} from "./chunk-XXTEA5GR.js";
|
|
@@ -19,23 +19,23 @@ import {
|
|
|
19
19
|
appendSessionJsonlFromMessage,
|
|
20
20
|
appendSessionSummaryRecord,
|
|
21
21
|
sanitizeProjectNameForSessionStore
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-I7VZ4GGD.js";
|
|
23
23
|
import {
|
|
24
24
|
formatSystemPromptWithContext
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-XEBLTJNM.js";
|
|
26
26
|
import {
|
|
27
27
|
getCodeStyle,
|
|
28
28
|
getContext
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-5QS3GMCU.js";
|
|
30
30
|
import {
|
|
31
31
|
emitReminderEvent
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-Q4LETTXN.js";
|
|
33
33
|
import {
|
|
34
34
|
setRequestStatus
|
|
35
35
|
} from "./chunk-ESRGV7DC.js";
|
|
36
36
|
import {
|
|
37
37
|
queryLLM
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-ZIMHV3DG.js";
|
|
39
39
|
import {
|
|
40
40
|
INTERRUPT_MESSAGE,
|
|
41
41
|
INTERRUPT_MESSAGE_FOR_TOOL_USE,
|
|
@@ -60,22 +60,22 @@ import {
|
|
|
60
60
|
runStopHooks,
|
|
61
61
|
runUserPromptSubmitHooks,
|
|
62
62
|
updateHookTranscriptForMessages
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-73UYWYPL.js";
|
|
64
64
|
import {
|
|
65
65
|
getModelManager
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-OYRUYKZ4.js";
|
|
67
67
|
import {
|
|
68
68
|
debug,
|
|
69
69
|
getCurrentRequest,
|
|
70
70
|
logUserFriendly,
|
|
71
71
|
markPhase
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-GQ5BR7LE.js";
|
|
73
73
|
import {
|
|
74
74
|
getKodeBaseDir,
|
|
75
75
|
getPlanModeSystemPromptAdditions,
|
|
76
76
|
hydratePlanSlugFromMessages,
|
|
77
77
|
logError
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-YDQZK4JM.js";
|
|
79
79
|
import {
|
|
80
80
|
getCwd
|
|
81
81
|
} from "./chunk-5ARRC2T2.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
countTokens,
|
|
3
3
|
query
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-A4EMFTOH.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-
|
|
21
|
+
} from "./chunk-USRQVHYN.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-
|
|
33
|
+
} from "./chunk-2NGYIYTT.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-
|
|
41
|
+
} from "./chunk-KRQX2YAN.js";
|
|
42
42
|
import {
|
|
43
43
|
loadKodeAgentSidechainMessagesForResume
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-2EAA62U6.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-
|
|
58
|
+
} from "./chunk-DQPWWE7E.js";
|
|
59
59
|
import {
|
|
60
60
|
getAnthropicClient,
|
|
61
61
|
resolveToolDescription
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-Y53KNUBH.js";
|
|
63
63
|
import {
|
|
64
64
|
getAgentPrompt,
|
|
65
65
|
getContext
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-5QS3GMCU.js";
|
|
67
67
|
import {
|
|
68
68
|
emitReminderEvent,
|
|
69
69
|
generateAgentId,
|
|
70
70
|
getTodos,
|
|
71
71
|
setTodos
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-Q4LETTXN.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-
|
|
84
|
+
} from "./chunk-ZIMHV3DG.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-
|
|
92
|
+
} from "./chunk-X4BTBVLC.js";
|
|
93
93
|
import {
|
|
94
94
|
safeParseJSON
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-UTMBNP7U.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-
|
|
113
|
+
} from "./chunk-OOAB5VYK.js";
|
|
114
114
|
import {
|
|
115
115
|
getModelManager
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-OYRUYKZ4.js";
|
|
117
117
|
import {
|
|
118
118
|
debug
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-GQ5BR7LE.js";
|
|
120
120
|
import {
|
|
121
121
|
ripGrep
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-QFNRQTF5.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-
|
|
138
|
+
} from "./chunk-YDQZK4JM.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
|
|
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 },
|
|
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 },
|
|
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-
|
|
1955
|
+
const { API_ERROR_MESSAGE_PREFIX, queryLLM: queryLLM2 } = await import("./llm-4SNM4IDE.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 },
|
|
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 },
|
|
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 },
|
|
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-
|
|
8176
|
+
const mod = await import("./customCommands-X7TG3N4B.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
|
-
|
|
9527
|
+
BULLET,
|
|
9530
9528
|
CHECKMARK,
|
|
9531
9529
|
CROSS,
|
|
9532
9530
|
DIAMOND_HOLLOW,
|