@shareai-lab/kode 2.1.13 → 2.2.0
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-7FMNUHVK.js → Doctor-SQPPQDUP.js} +9 -9
- package/dist/chunks/{LogList-7A45VEJ3.js → LogList-HJIYRTJP.js} +7 -7
- package/dist/chunks/{REPL-RPMNB753.js → REPL-6PLUOVWF.js} +36 -36
- package/dist/chunks/{ResumeConversation-ZHD2BGE2.js → ResumeConversation-S2HGGML4.js} +38 -38
- package/dist/chunks/{agentLoader-LXY26VUO.js → agentLoader-BPERAKGP.js} +5 -5
- package/dist/chunks/{agentsValidate-3NQ5B536.js → agentsValidate-HMXWBYLD.js} +6 -6
- package/dist/chunks/{ask-TTU5MIQL.js → ask-L6EOSIV4.js} +16 -16
- package/dist/chunks/{autoUpdater-OL2FHJW4.js → autoUpdater-M2DNAL3O.js} +4 -4
- package/dist/chunks/{chunk-2NGYIYTT.js → chunk-2K23URB7.js} +4 -4
- package/dist/chunks/{chunk-X4BTBVLC.js → chunk-2L4YAYGN.js} +2 -2
- package/dist/chunks/{chunk-GQ5BR7LE.js → chunk-3LHEZF5K.js} +1 -1
- package/dist/chunks/{chunk-GAURYXBG.js → chunk-3NRDY4IK.js} +1 -1
- package/dist/chunks/{chunk-A4EMFTOH.js → chunk-5IJI22EZ.js} +10 -10
- package/dist/chunks/{chunk-OOAB5VYK.js → chunk-66VG6OIU.js} +1 -1
- package/dist/chunks/{chunk-OYRUYKZ4.js → chunk-6KXJZ3PR.js} +2 -2
- package/dist/chunks/{chunk-U5M5EV7S.js → chunk-7K26P5S7.js} +2 -2
- package/dist/chunks/{chunk-5MQQUH4D.js → chunk-7OBUZ2HY.js} +1 -1
- package/dist/chunks/{chunk-YDQZK4JM.js → chunk-7PD6OIVO.js} +1 -1
- package/dist/chunks/{chunk-XEBLTJNM.js → chunk-AXNKHSAC.js} +5 -5
- package/dist/chunks/{chunk-3WLJNJSS.js → chunk-AYPPESZM.js} +1 -1
- package/dist/chunks/{chunk-ZVDG6S37.js → chunk-BHU6JNFG.js} +2 -2
- package/dist/chunks/{chunk-DQPWWE7E.js → chunk-BOV5TVAE.js} +4 -4
- package/dist/chunks/{chunk-5QS3GMCU.js → chunk-CJIJECZP.js} +3 -3
- package/dist/chunks/{chunk-Q4LETTXN.js → chunk-CMIH4UOF.js} +2 -2
- package/dist/chunks/{chunk-MSBD7AHV.js → chunk-DO7K6TGM.js} +1 -1
- package/dist/chunks/{chunk-UTMBNP7U.js → chunk-E7TD5S7N.js} +1 -1
- package/dist/chunks/{chunk-2EAA62U6.js → chunk-EM54AUR2.js} +1 -1
- package/dist/chunks/{chunk-KRQX2YAN.js → chunk-GVI6HL4U.js} +2 -2
- package/dist/chunks/{chunk-Y53KNUBH.js → chunk-H3672ZW5.js} +3 -3
- package/dist/chunks/{chunk-UNMVGIEM.js → chunk-IOTVTJ4V.js} +2 -2
- package/dist/chunks/{chunk-HABXSZIY.js → chunk-JFG72QYE.js} +3 -3
- package/dist/chunks/{chunk-RVJSFWNW.js → chunk-JP6KOQMD.js} +1 -1
- package/dist/chunks/{chunk-CUJBKJNS.js → chunk-KDC2L6BQ.js} +21 -19
- package/dist/chunks/chunk-KDC2L6BQ.js.map +7 -0
- package/dist/chunks/{chunk-KKX6BBCU.js → chunk-L33WDKO3.js} +5 -5
- package/dist/chunks/{chunk-USRQVHYN.js → chunk-LPRQZBFR.js} +4 -4
- package/dist/chunks/{chunk-XBHDR2ZC.js → chunk-ONYF5YEQ.js} +3 -3
- package/dist/chunks/{chunk-QQDJ4CXM.js → chunk-PZTINNXW.js} +13 -13
- package/dist/chunks/chunk-PZTINNXW.js.map +7 -0
- package/dist/chunks/{chunk-ZIMHV3DG.js → chunk-RGSDVPA3.js} +4 -4
- package/dist/chunks/{chunk-3VH52KPZ.js → chunk-RTFBVLVX.js} +7 -7
- package/dist/chunks/{chunk-EFTBBWD3.js → chunk-SKB2BXH2.js} +31 -30
- package/dist/chunks/{chunk-EFTBBWD3.js.map → chunk-SKB2BXH2.js.map} +2 -2
- package/dist/chunks/{chunk-QFNRQTF5.js → chunk-SNM7WKMO.js} +1 -1
- package/dist/chunks/{chunk-MTNFSTSP.js → chunk-VBD37RDX.js} +8 -8
- package/dist/chunks/{chunk-64I4GZUZ.js → chunk-VIGKWGSE.js} +1 -1
- package/dist/chunks/{chunk-QP2E5HZ6.js → chunk-WLHRJ4AG.js} +2 -2
- package/dist/chunks/{chunk-73UYWYPL.js → chunk-WQ2JJTXY.js} +2 -2
- package/dist/chunks/{chunk-TU3DMACH.js → chunk-YYRGTLHS.js} +31 -31
- package/dist/chunks/{chunk-ZTEJXST7.js → chunk-ZXGDDGHT.js} +2 -2
- package/dist/chunks/{chunk-I7VZ4GGD.js → chunk-ZXVYOY7Q.js} +1 -1
- package/dist/chunks/{client-75F4KRQ3.js → client-NW52QVVJ.js} +5 -5
- package/dist/chunks/{customCommands-X7TG3N4B.js → customCommands-IFZ7KP6G.js} +5 -5
- package/dist/chunks/{engine-5Y76P7CV.js → engine-J4DBW5XT.js} +15 -15
- package/dist/chunks/{env-5PTUTHCP.js → env-PDJXSO6L.js} +3 -3
- package/dist/chunks/{kodeAgentSessionLoad-UVOA24FK.js → kodeAgentSessionLoad-JVEGLPZ5.js} +3 -3
- package/dist/chunks/{kodeAgentSessionResume-LF2LRCGV.js → kodeAgentSessionResume-VOM56LNR.js} +3 -3
- package/dist/chunks/{kodeHooks-YU54H6EG.js → kodeHooks-H4ZT47GH.js} +4 -4
- package/dist/chunks/{llm-4SNM4IDE.js → llm-2RAEZEFB.js} +13 -13
- package/dist/chunks/{llmLazy-QZELFRLW.js → llmLazy-NQXXBMAS.js} +1 -1
- package/dist/chunks/{mcpCli-A6DOUI6K.js → mcpCli-ZMDL6WSF.js} +5 -5
- package/dist/chunks/{mentionProcessor-UJFE5JNZ.js → mentionProcessor-FL6RMNP2.js} +6 -6
- package/dist/chunks/{model-22KSMIFJ.js → model-RVYCXVDF.js} +5 -5
- package/dist/chunks/{openai-4UAVS6TI.js → openai-5HLUMKKN.js} +5 -5
- package/dist/chunks/{permissions-4F7TX6N7.js → permissions-NIKEBCC6.js} +6 -6
- package/dist/chunks/{pluginRuntime-4GPEUR45.js → pluginRuntime-UVPO3WNW.js} +3 -3
- package/dist/chunks/{pluginValidation-NVJ4H6AZ.js → pluginValidation-CGPYAJRK.js} +7 -7
- package/dist/chunks/{registry-R3N7PM3V.js → registry-LTLVAYEG.js} +29 -29
- package/dist/chunks/{ripgrep-FVYG25TF.js → ripgrep-GV3JMIAW.js} +4 -4
- package/dist/chunks/{runNonTextPrintMode-ZXNYYTOM.js → runNonTextPrintMode-J25FOWGL.js} +9 -9
- package/dist/chunks/{server-KDPTHJ63.js → server-FKG7T4NY.js} +25 -25
- package/dist/chunks/{server-DRM5LNJI.js → server-MLL7BQKM.js} +27 -27
- package/dist/chunks/{skillMarketplace-KMBZH3XB.js → skillMarketplace-K3UKPMF5.js} +4 -4
- package/dist/chunks/{src-NA4PARIJ.js → src-342GCZGI.js} +27 -27
- package/dist/chunks/{src-NAONSXUL.js → src-FMDYIS6H.js} +24 -24
- package/dist/chunks/{src-HS4JSOV7.js → src-QQAKPKH4.js} +70 -70
- package/dist/chunks/{thinking-2CBSWTVB.js → thinking-PDP3LHNE.js} +6 -6
- package/dist/chunks/{toolPermissionSettings-AKHRQGA7.js → toolPermissionSettings-4AZYL76C.js} +4 -4
- package/dist/chunks/{webOnlyMode-NYD23BP3.js → webOnlyMode-YTPENVWX.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 +13 -13
- package/dist/sdk/tools.cjs.map +1 -1
- package/dist/sdk/tools.js +13 -13
- package/dist/sdk/tools.js.map +1 -1
- package/package.json +13 -13
- package/dist/chunks/chunk-CUJBKJNS.js.map +0 -7
- package/dist/chunks/chunk-QQDJ4CXM.js.map +0 -7
- /package/dist/chunks/{Doctor-7FMNUHVK.js.map → Doctor-SQPPQDUP.js.map} +0 -0
- /package/dist/chunks/{LogList-7A45VEJ3.js.map → LogList-HJIYRTJP.js.map} +0 -0
- /package/dist/chunks/{REPL-RPMNB753.js.map → REPL-6PLUOVWF.js.map} +0 -0
- /package/dist/chunks/{ResumeConversation-ZHD2BGE2.js.map → ResumeConversation-S2HGGML4.js.map} +0 -0
- /package/dist/chunks/{agentLoader-LXY26VUO.js.map → agentLoader-BPERAKGP.js.map} +0 -0
- /package/dist/chunks/{agentsValidate-3NQ5B536.js.map → agentsValidate-HMXWBYLD.js.map} +0 -0
- /package/dist/chunks/{ask-TTU5MIQL.js.map → ask-L6EOSIV4.js.map} +0 -0
- /package/dist/chunks/{autoUpdater-OL2FHJW4.js.map → autoUpdater-M2DNAL3O.js.map} +0 -0
- /package/dist/chunks/{chunk-2NGYIYTT.js.map → chunk-2K23URB7.js.map} +0 -0
- /package/dist/chunks/{chunk-X4BTBVLC.js.map → chunk-2L4YAYGN.js.map} +0 -0
- /package/dist/chunks/{chunk-GQ5BR7LE.js.map → chunk-3LHEZF5K.js.map} +0 -0
- /package/dist/chunks/{chunk-GAURYXBG.js.map → chunk-3NRDY4IK.js.map} +0 -0
- /package/dist/chunks/{chunk-A4EMFTOH.js.map → chunk-5IJI22EZ.js.map} +0 -0
- /package/dist/chunks/{chunk-OOAB5VYK.js.map → chunk-66VG6OIU.js.map} +0 -0
- /package/dist/chunks/{chunk-OYRUYKZ4.js.map → chunk-6KXJZ3PR.js.map} +0 -0
- /package/dist/chunks/{chunk-U5M5EV7S.js.map → chunk-7K26P5S7.js.map} +0 -0
- /package/dist/chunks/{chunk-5MQQUH4D.js.map → chunk-7OBUZ2HY.js.map} +0 -0
- /package/dist/chunks/{chunk-YDQZK4JM.js.map → chunk-7PD6OIVO.js.map} +0 -0
- /package/dist/chunks/{chunk-XEBLTJNM.js.map → chunk-AXNKHSAC.js.map} +0 -0
- /package/dist/chunks/{chunk-3WLJNJSS.js.map → chunk-AYPPESZM.js.map} +0 -0
- /package/dist/chunks/{chunk-ZVDG6S37.js.map → chunk-BHU6JNFG.js.map} +0 -0
- /package/dist/chunks/{chunk-DQPWWE7E.js.map → chunk-BOV5TVAE.js.map} +0 -0
- /package/dist/chunks/{chunk-5QS3GMCU.js.map → chunk-CJIJECZP.js.map} +0 -0
- /package/dist/chunks/{chunk-Q4LETTXN.js.map → chunk-CMIH4UOF.js.map} +0 -0
- /package/dist/chunks/{chunk-MSBD7AHV.js.map → chunk-DO7K6TGM.js.map} +0 -0
- /package/dist/chunks/{chunk-UTMBNP7U.js.map → chunk-E7TD5S7N.js.map} +0 -0
- /package/dist/chunks/{chunk-2EAA62U6.js.map → chunk-EM54AUR2.js.map} +0 -0
- /package/dist/chunks/{chunk-KRQX2YAN.js.map → chunk-GVI6HL4U.js.map} +0 -0
- /package/dist/chunks/{chunk-Y53KNUBH.js.map → chunk-H3672ZW5.js.map} +0 -0
- /package/dist/chunks/{chunk-UNMVGIEM.js.map → chunk-IOTVTJ4V.js.map} +0 -0
- /package/dist/chunks/{chunk-HABXSZIY.js.map → chunk-JFG72QYE.js.map} +0 -0
- /package/dist/chunks/{chunk-RVJSFWNW.js.map → chunk-JP6KOQMD.js.map} +0 -0
- /package/dist/chunks/{chunk-KKX6BBCU.js.map → chunk-L33WDKO3.js.map} +0 -0
- /package/dist/chunks/{chunk-USRQVHYN.js.map → chunk-LPRQZBFR.js.map} +0 -0
- /package/dist/chunks/{chunk-XBHDR2ZC.js.map → chunk-ONYF5YEQ.js.map} +0 -0
- /package/dist/chunks/{chunk-ZIMHV3DG.js.map → chunk-RGSDVPA3.js.map} +0 -0
- /package/dist/chunks/{chunk-3VH52KPZ.js.map → chunk-RTFBVLVX.js.map} +0 -0
- /package/dist/chunks/{chunk-QFNRQTF5.js.map → chunk-SNM7WKMO.js.map} +0 -0
- /package/dist/chunks/{chunk-MTNFSTSP.js.map → chunk-VBD37RDX.js.map} +0 -0
- /package/dist/chunks/{chunk-64I4GZUZ.js.map → chunk-VIGKWGSE.js.map} +0 -0
- /package/dist/chunks/{chunk-QP2E5HZ6.js.map → chunk-WLHRJ4AG.js.map} +0 -0
- /package/dist/chunks/{chunk-73UYWYPL.js.map → chunk-WQ2JJTXY.js.map} +0 -0
- /package/dist/chunks/{chunk-TU3DMACH.js.map → chunk-YYRGTLHS.js.map} +0 -0
- /package/dist/chunks/{chunk-ZTEJXST7.js.map → chunk-ZXGDDGHT.js.map} +0 -0
- /package/dist/chunks/{chunk-I7VZ4GGD.js.map → chunk-ZXVYOY7Q.js.map} +0 -0
- /package/dist/chunks/{client-75F4KRQ3.js.map → client-NW52QVVJ.js.map} +0 -0
- /package/dist/chunks/{customCommands-X7TG3N4B.js.map → customCommands-IFZ7KP6G.js.map} +0 -0
- /package/dist/chunks/{engine-5Y76P7CV.js.map → engine-J4DBW5XT.js.map} +0 -0
- /package/dist/chunks/{env-5PTUTHCP.js.map → env-PDJXSO6L.js.map} +0 -0
- /package/dist/chunks/{kodeAgentSessionLoad-UVOA24FK.js.map → kodeAgentSessionLoad-JVEGLPZ5.js.map} +0 -0
- /package/dist/chunks/{kodeAgentSessionResume-LF2LRCGV.js.map → kodeAgentSessionResume-VOM56LNR.js.map} +0 -0
- /package/dist/chunks/{kodeHooks-YU54H6EG.js.map → kodeHooks-H4ZT47GH.js.map} +0 -0
- /package/dist/chunks/{llm-4SNM4IDE.js.map → llm-2RAEZEFB.js.map} +0 -0
- /package/dist/chunks/{llmLazy-QZELFRLW.js.map → llmLazy-NQXXBMAS.js.map} +0 -0
- /package/dist/chunks/{mcpCli-A6DOUI6K.js.map → mcpCli-ZMDL6WSF.js.map} +0 -0
- /package/dist/chunks/{mentionProcessor-UJFE5JNZ.js.map → mentionProcessor-FL6RMNP2.js.map} +0 -0
- /package/dist/chunks/{model-22KSMIFJ.js.map → model-RVYCXVDF.js.map} +0 -0
- /package/dist/chunks/{openai-4UAVS6TI.js.map → openai-5HLUMKKN.js.map} +0 -0
- /package/dist/chunks/{permissions-4F7TX6N7.js.map → permissions-NIKEBCC6.js.map} +0 -0
- /package/dist/chunks/{pluginRuntime-4GPEUR45.js.map → pluginRuntime-UVPO3WNW.js.map} +0 -0
- /package/dist/chunks/{pluginValidation-NVJ4H6AZ.js.map → pluginValidation-CGPYAJRK.js.map} +0 -0
- /package/dist/chunks/{registry-R3N7PM3V.js.map → registry-LTLVAYEG.js.map} +0 -0
- /package/dist/chunks/{ripgrep-FVYG25TF.js.map → ripgrep-GV3JMIAW.js.map} +0 -0
- /package/dist/chunks/{runNonTextPrintMode-ZXNYYTOM.js.map → runNonTextPrintMode-J25FOWGL.js.map} +0 -0
- /package/dist/chunks/{server-DRM5LNJI.js.map → server-FKG7T4NY.js.map} +0 -0
- /package/dist/chunks/{server-KDPTHJ63.js.map → server-MLL7BQKM.js.map} +0 -0
- /package/dist/chunks/{skillMarketplace-KMBZH3XB.js.map → skillMarketplace-K3UKPMF5.js.map} +0 -0
- /package/dist/chunks/{src-NA4PARIJ.js.map → src-342GCZGI.js.map} +0 -0
- /package/dist/chunks/{src-NAONSXUL.js.map → src-FMDYIS6H.js.map} +0 -0
- /package/dist/chunks/{src-HS4JSOV7.js.map → src-QQAKPKH4.js.map} +0 -0
- /package/dist/chunks/{thinking-2CBSWTVB.js.map → thinking-PDP3LHNE.js.map} +0 -0
- /package/dist/chunks/{toolPermissionSettings-AKHRQGA7.js.map → toolPermissionSettings-4AZYL76C.js.map} +0 -0
- /package/dist/chunks/{webOnlyMode-NYD23BP3.js.map → webOnlyMode-YTPENVWX.js.map} +0 -0
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
} from "./chunk-QAXE37B5.js";
|
|
4
4
|
import {
|
|
5
5
|
getAllTools
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KDC2L6BQ.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveToolDescription
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-H3672ZW5.js";
|
|
10
10
|
import {
|
|
11
11
|
createAssistantMessage
|
|
12
12
|
} from "./chunk-L2LWCVUF.js";
|
|
13
13
|
import {
|
|
14
14
|
logError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7PD6OIVO.js";
|
|
16
16
|
import {
|
|
17
17
|
setCwd
|
|
18
18
|
} from "./chunk-5ARRC2T2.js";
|
|
19
19
|
import {
|
|
20
20
|
MACRO
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-DO7K6TGM.js";
|
|
22
22
|
import {
|
|
23
23
|
LEGACY_ENV
|
|
24
24
|
} from "./chunk-IJOMPG6S.js";
|
|
@@ -155,7 +155,7 @@ async function startMCPServer(cwd) {
|
|
|
155
155
|
);
|
|
156
156
|
}
|
|
157
157
|
const assistantMessage = createAssistantMessage("");
|
|
158
|
-
const permission = await (await import("./permissions-
|
|
158
|
+
const permission = await (await import("./permissions-NIKEBCC6.js")).hasPermissionsToUseTool(
|
|
159
159
|
tool,
|
|
160
160
|
toolInput,
|
|
161
161
|
toolUseContext,
|
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
recordFileEdit,
|
|
12
12
|
recordFileRead,
|
|
13
13
|
writeTextContent
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2K23URB7.js";
|
|
15
15
|
import {
|
|
16
16
|
hasReadPermission,
|
|
17
17
|
hasWritePermission
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-BOV5TVAE.js";
|
|
19
19
|
import {
|
|
20
20
|
emitReminderEvent
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-CMIH4UOF.js";
|
|
22
22
|
import {
|
|
23
23
|
createAssistantMessage
|
|
24
24
|
} from "./chunk-L2LWCVUF.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
import {
|
|
35
35
|
getKodeBaseDir,
|
|
36
36
|
logError
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-7PD6OIVO.js";
|
|
38
38
|
import {
|
|
39
39
|
getCwd
|
|
40
40
|
} from "./chunk-5ARRC2T2.js";
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
PRODUCT_NAME,
|
|
3
3
|
execFileNoThrow,
|
|
4
4
|
logError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7PD6OIVO.js";
|
|
6
6
|
import {
|
|
7
7
|
MACRO
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DO7K6TGM.js";
|
|
9
9
|
|
|
10
10
|
// packages/core/src/utils/autoUpdater.ts
|
|
11
11
|
async function getSemver() {
|
|
@@ -80,7 +80,7 @@ async function checkAndNotifyUpdate() {
|
|
|
80
80
|
const [
|
|
81
81
|
{ isAutoUpdaterDisabled, getGlobalConfig, saveGlobalConfig },
|
|
82
82
|
{ env }
|
|
83
|
-
] = await Promise.all([import("./config-RR37LH7R.js"), import("./env-
|
|
83
|
+
] = await Promise.all([import("./config-RR37LH7R.js"), import("./env-PDJXSO6L.js")]);
|
|
84
84
|
if (await isAutoUpdaterDisabled()) return;
|
|
85
85
|
if (await env.getIsDocker()) return;
|
|
86
86
|
if (!await env.hasInternetAccess()) return;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// package.json
|
|
2
2
|
var package_default = {
|
|
3
3
|
name: "@shareai-lab/kode",
|
|
4
|
-
version: "2.
|
|
4
|
+
version: "2.2.0",
|
|
5
5
|
workspaces: [
|
|
6
6
|
"apps/*",
|
|
7
7
|
"packages/*"
|
|
@@ -156,18 +156,18 @@ var package_default = {
|
|
|
156
156
|
"zod-to-json-schema": "^3.24.6"
|
|
157
157
|
},
|
|
158
158
|
optionalDependencies: {
|
|
159
|
-
"@shareai-lab/kode-bin-darwin-arm64": "2.
|
|
160
|
-
"@shareai-lab/kode-bin-darwin-x64": "2.
|
|
161
|
-
"@shareai-lab/kode-bin-linux-arm64": "2.
|
|
162
|
-
"@shareai-lab/kode-bin-linux-x64": "2.
|
|
163
|
-
"@shareai-lab/kode-bin-win32-arm64": "2.
|
|
164
|
-
"@shareai-lab/kode-bin-win32-x64": "2.
|
|
165
|
-
"@shareai-lab/kode-ripgrep-darwin-arm64": "2.
|
|
166
|
-
"@shareai-lab/kode-ripgrep-darwin-x64": "2.
|
|
167
|
-
"@shareai-lab/kode-ripgrep-linux-arm64": "2.
|
|
168
|
-
"@shareai-lab/kode-ripgrep-linux-x64": "2.
|
|
169
|
-
"@shareai-lab/kode-ripgrep-win32-arm64": "2.
|
|
170
|
-
"@shareai-lab/kode-ripgrep-win32-x64": "2.
|
|
159
|
+
"@shareai-lab/kode-bin-darwin-arm64": "2.2.0",
|
|
160
|
+
"@shareai-lab/kode-bin-darwin-x64": "2.2.0",
|
|
161
|
+
"@shareai-lab/kode-bin-linux-arm64": "2.2.0",
|
|
162
|
+
"@shareai-lab/kode-bin-linux-x64": "2.2.0",
|
|
163
|
+
"@shareai-lab/kode-bin-win32-arm64": "2.2.0",
|
|
164
|
+
"@shareai-lab/kode-bin-win32-x64": "2.2.0",
|
|
165
|
+
"@shareai-lab/kode-ripgrep-darwin-arm64": "2.2.0",
|
|
166
|
+
"@shareai-lab/kode-ripgrep-darwin-x64": "2.2.0",
|
|
167
|
+
"@shareai-lab/kode-ripgrep-linux-arm64": "2.2.0",
|
|
168
|
+
"@shareai-lab/kode-ripgrep-linux-x64": "2.2.0",
|
|
169
|
+
"@shareai-lab/kode-ripgrep-win32-arm64": "2.2.0",
|
|
170
|
+
"@shareai-lab/kode-ripgrep-win32-x64": "2.2.0"
|
|
171
171
|
},
|
|
172
172
|
devDependencies: {
|
|
173
173
|
"@codemirror/lang-css": "^6.3.1",
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../package.json"],
|
|
4
|
+
"sourcesContent": ["{\n \"name\": \"@shareai-lab/kode\",\n \"version\": \"2.2.0\",\n \"workspaces\": [\n \"apps/*\",\n \"packages/*\"\n ],\n \"bin\": {\n \"kode\": \"cli.js\",\n \"kwa\": \"cli.js\",\n \"kd\": \"cli.js\",\n \"mcp-cli\": \"mcp-cli.js\",\n \"kode-acp\": \"cli-acp.js\"\n },\n \"engines\": {\n \"node\": \">=20.18.1\"\n },\n \"main\": \"cli.js\",\n \"exports\": {\n \".\": {\n \"require\": \"./cli.js\",\n \"default\": \"./cli.js\"\n },\n \"./protocol\": {\n \"import\": \"./dist/sdk/protocol.js\",\n \"require\": \"./dist/sdk/protocol.cjs\"\n },\n \"./client\": {\n \"import\": \"./dist/sdk/client.js\",\n \"require\": \"./dist/sdk/client.cjs\"\n },\n \"./daemon-client\": {\n \"import\": \"./dist/sdk/daemon-client.js\",\n \"require\": \"./dist/sdk/daemon-client.cjs\"\n },\n \"./core\": {\n \"import\": \"./dist/sdk/core.js\",\n \"require\": \"./dist/sdk/core.cjs\"\n },\n \"./tools\": {\n \"import\": \"./dist/sdk/tools.js\",\n \"require\": \"./dist/sdk/tools.cjs\"\n },\n \"./runtime\": {\n \"import\": \"./dist/sdk/runtime.js\",\n \"require\": \"./dist/sdk/runtime.cjs\"\n },\n \"./runtime-node\": {\n \"import\": \"./dist/sdk/runtime-node.js\",\n \"require\": \"./dist/sdk/runtime-node.cjs\"\n }\n },\n \"author\": \"ShareAI-lab <ai-lab@foxmail.com>\",\n \"license\": \"Apache-2.0\",\n \"description\": \"AI-powered terminal assistant that understands your codebase, edits files, runs commands, and automates development workflows.\",\n \"homepage\": \"https://github.com/shareAI-lab/kode\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/shareAI-lab/kode.git\"\n },\n \"bugs\": {\n \"url\": \"https://github.com/shareAI-lab/kode/issues\"\n },\n \"files\": [\n \"cli.js\",\n \"cli-acp.js\",\n \"mcp-cli.js\",\n \"yoga.wasm\",\n \"dist/**/*\",\n \"!dist/bin/**\",\n \"!dist/binary/**\",\n \"packages/builtin-skills/THIRD_PARTY_NOTICES.md\",\n \"packages/builtin-skills/skills/**/*\",\n \"packages/builtin-skills/third_party/shareai-skills/LICENSE\",\n \"scripts/cli-wrapper.cjs\",\n \"scripts/cli-acp-wrapper.cjs\"\n ],\n \"scripts\": {\n \"dev\": \"bun run ./apps/cli/src/dispatch.ts --verbose\",\n \"dev:cli\": \"bun run ./apps/cli/src/dispatch.ts --verbose\",\n \"dev:server\": \"bun run --filter @kode/server dev\",\n \"dev:web\": \"bun run --filter @kode/web dev\",\n \"dev:bun\": \"bun run ./apps/cli/src/dispatch.ts --verbose\",\n \"build:cli\": \"node scripts/build-cli.mjs\",\n \"build:server\": \"node scripts/build-server.mjs\",\n \"build:web\": \"node scripts/build-web.mjs\",\n \"build\": \"bun run scripts/build.mjs\",\n \"build:binary\": \"bun run scripts/build-binary.mjs\",\n \"clean\": \"bun run scripts/clean.mjs\",\n \"prepublishOnly\": \"bun run scripts/build.mjs && bun run scripts/prepublish-check.js\",\n \"format\": \"prettier --write \\\"apps/**/*.{ts,tsx,js,jsx,json,md,css,html}\\\" \\\"packages/**/*.{ts,tsx,js,jsx,json,md}\\\" \\\"scripts/**/*.{ts,tsx,js,jsx,mjs,cjs,json}\\\" \\\"docs/**/*.{md,json}\\\"\",\n \"format:check\": \"prettier --check \\\"apps/**/*.{ts,tsx,js,jsx,json,md,css,html}\\\" \\\"packages/**/*.{ts,tsx,js,jsx,json,md}\\\" \\\"scripts/**/*.{ts,tsx,js,jsx,mjs,cjs,json}\\\" \\\"docs/**/*.{md,json}\\\"\",\n \"lint\": \"eslint . --ext .ts,.tsx,.js --max-warnings 0\",\n \"lint:fix\": \"eslint . --ext .ts,.tsx,.js --fix\",\n \"test\": \"bun test\",\n \"typecheck\": \"tsc --noEmit\",\n \"check\": \"bun run format:check && bun run typecheck && bun test && bun run build\",\n \"prepare\": \"node scripts/install-hooks.mjs\",\n \"publish:dev\": \"bun run scripts/publish-dev.js\",\n \"publish:release\": \"bun run scripts/publish-release.js\",\n \"bench:startup\": \"bun run scripts/bench-startup.mjs\"\n },\n \"dependencies\": {\n \"@anthropic-ai/bedrock-sdk\": \"^0.12.6\",\n \"@anthropic-ai/sdk\": \"^0.39.0\",\n \"@anthropic-ai/vertex-sdk\": \"^0.7.0\",\n \"@aws-sdk/client-bedrock-runtime\": \"3.797.0\",\n \"@commander-js/extra-typings\": \"^13.1.0\",\n \"@inkjs/ui\": \"^2.0.0\",\n \"@modelcontextprotocol/sdk\": \"^1.15.1\",\n \"@types/lodash-es\": \"^4.17.12\",\n \"@types/react\": \"19.2.9\",\n \"ajv\": \"^8.17.1\",\n \"ansi-escapes\": \"^7.0.0\",\n \"chalk\": \"^5.4.1\",\n \"cli-highlight\": \"^2.1.11\",\n \"cli-table3\": \"^0.6.5\",\n \"commander\": \"^13.1.0\",\n \"debug\": \"^4.4.1\",\n \"diff\": \"^7.0.0\",\n \"dotenv\": \"^16.6.1\",\n \"env-paths\": \"^3.0.0\",\n \"fflate\": \"^0.8.2\",\n \"figures\": \"^6.1.0\",\n \"glob\": \"^11.0.3\",\n \"gray-matter\": \"^4.0.3\",\n \"highlight.js\": \"^11.11.1\",\n \"ignore\": \"^7.0.5\",\n \"ink\": \"6.6.0\",\n \"ink-link\": \"^4.1.0\",\n \"ink-select-input\": \"^6.2.0\",\n \"ink-text-input\": \"^6.0.0\",\n \"js-yaml\": \"^4.1.1\",\n \"lodash-es\": \"^4.17.21\",\n \"lru-cache\": \"^11.1.0\",\n \"marked\": \"^15.0.12\",\n \"minimatch\": \"^10.0.3\",\n \"nanoid\": \"^5.1.5\",\n \"node-fetch\": \"^3.3.2\",\n \"node-html-parser\": \"^7.0.1\",\n \"openai\": \"^4.104.0\",\n \"react\": \"19.2.3\",\n \"semver\": \"^7.7.2\",\n \"shell-quote\": \"^1.8.3\",\n \"spawn-rx\": \"^5.1.2\",\n \"string-width\": \"^7.2.0\",\n \"strip-ansi\": \"^7.1.0\",\n \"tsx\": \"^4.20.3\",\n \"turndown\": \"^7.2.0\",\n \"undici\": \"^7.11.0\",\n \"which\": \"^5.0.0\",\n \"wrap-ansi\": \"^9.0.0\",\n \"ws\": \"^8.18.3\",\n \"zod\": \"^3.25.76\",\n \"zod-to-json-schema\": \"^3.24.6\"\n },\n \"optionalDependencies\": {\n \"@shareai-lab/kode-bin-darwin-arm64\": \"2.2.0\",\n \"@shareai-lab/kode-bin-darwin-x64\": \"2.2.0\",\n \"@shareai-lab/kode-bin-linux-arm64\": \"2.2.0\",\n \"@shareai-lab/kode-bin-linux-x64\": \"2.2.0\",\n \"@shareai-lab/kode-bin-win32-arm64\": \"2.2.0\",\n \"@shareai-lab/kode-bin-win32-x64\": \"2.2.0\",\n \"@shareai-lab/kode-ripgrep-darwin-arm64\": \"2.2.0\",\n \"@shareai-lab/kode-ripgrep-darwin-x64\": \"2.2.0\",\n \"@shareai-lab/kode-ripgrep-linux-arm64\": \"2.2.0\",\n \"@shareai-lab/kode-ripgrep-linux-x64\": \"2.2.0\",\n \"@shareai-lab/kode-ripgrep-win32-arm64\": \"2.2.0\",\n \"@shareai-lab/kode-ripgrep-win32-x64\": \"2.2.0\"\n },\n \"devDependencies\": {\n \"@codemirror/lang-css\": \"^6.3.1\",\n \"@codemirror/lang-html\": \"^6.4.10\",\n \"@codemirror/lang-javascript\": \"^6.2.4\",\n \"@codemirror/lang-json\": \"^6.0.2\",\n \"@codemirror/lang-markdown\": \"^6.3.4\",\n \"@codemirror/lang-python\": \"^6.2.1\",\n \"@codemirror/theme-one-dark\": \"^6.1.2\",\n \"@radix-ui/react-accordion\": \"^1.2.12\",\n \"@radix-ui/react-checkbox\": \"^1.3.3\",\n \"@radix-ui/react-collapsible\": \"^1.1.12\",\n \"@radix-ui/react-dialog\": \"^1.1.15\",\n \"@radix-ui/react-dropdown-menu\": \"^2.1.16\",\n \"@radix-ui/react-radio-group\": \"^1.3.8\",\n \"@radix-ui/react-scroll-area\": \"^1.2.10\",\n \"@radix-ui/react-separator\": \"^1.1.8\",\n \"@radix-ui/react-slot\": \"^1.2.4\",\n \"@radix-ui/react-tabs\": \"^1.1.13\",\n \"@radix-ui/react-tooltip\": \"^1.2.8\",\n \"@tailwindcss/postcss\": \"^4.1.18\",\n \"@tailwindcss/typography\": \"^0.5.19\",\n \"@types/bun\": \"latest\",\n \"@types/jest\": \"^30.0.0\",\n \"@types/node\": \"^24.1.0\",\n \"@types/which\": \"^3.0.4\",\n \"@uiw/react-codemirror\": \"^4.24.2\",\n \"@vitejs/plugin-react\": \"^4.7.0\",\n \"@xterm/addon-fit\": \"^0.10.0\",\n \"@xterm/xterm\": \"^5.5.0\",\n \"autoprefixer\": \"^10.4.21\",\n \"bun-types\": \"latest\",\n \"class-variance-authority\": \"^0.7.1\",\n \"clsx\": \"^2.1.1\",\n \"esbuild\": \"^0.25.9\",\n \"lucide-react\": \"^0.542.0\",\n \"next-themes\": \"^0.4.6\",\n \"postcss\": \"^8.5.6\",\n \"prettier\": \"^3.6.2\",\n \"react-devtools-core\": \"^7.0.1\",\n \"react-dom\": \"19.2.3\",\n \"react-markdown\": \"^10.1.0\",\n \"react-resizable-panels\": \"^3.0.5\",\n \"remark-gfm\": \"^4.0.1\",\n \"tailwind-merge\": \"^3.3.1\",\n \"tailwindcss\": \"^4.1.12\",\n \"tailwindcss-animate\": \"^1.0.7\",\n \"typescript\": \"^5.9.2\",\n \"vite\": \"^7.3.0\"\n },\n \"overrides\": {\n \"@aws-sdk/client-bedrock-runtime\": \"3.797.0\",\n \"@smithy/smithy-client\": \"2.5.1\"\n }\n}\n"],
|
|
5
|
+
"mappings": ";AAAA;AAAA,EACE,MAAQ;AAAA,EACR,SAAW;AAAA,EACX,YAAc;AAAA,IACZ;AAAA,IACA;AAAA,EACF;AAAA,EACA,KAAO;AAAA,IACL,MAAQ;AAAA,IACR,KAAO;AAAA,IACP,IAAM;AAAA,IACN,WA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|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
// packages/core/src/ai/llmLazy.ts
|
|
2
2
|
async function queryLLM(...args) {
|
|
3
|
-
const { queryLLM: inner } = await import("./llm-
|
|
3
|
+
const { queryLLM: inner } = await import("./llm-2RAEZEFB.js");
|
|
4
4
|
return inner(...args);
|
|
5
5
|
}
|
|
6
6
|
async function queryQuick(...args) {
|
|
7
|
-
const { queryQuick: inner } = await import("./llm-
|
|
7
|
+
const { queryQuick: inner } = await import("./llm-2RAEZEFB.js");
|
|
8
8
|
return inner(...args);
|
|
9
9
|
}
|
|
10
10
|
async function verifyApiKey(apiKey, baseURL, provider) {
|
|
11
|
-
const { verifyApiKey: inner } = await import("./llm-
|
|
11
|
+
const { verifyApiKey: inner } = await import("./llm-2RAEZEFB.js");
|
|
12
12
|
return inner(apiKey, baseURL, provider);
|
|
13
13
|
}
|
|
14
14
|
async function fetchAnthropicModels(apiKey, baseURL) {
|
|
15
|
-
const { fetchAnthropicModels: inner } = await import("./llm-
|
|
15
|
+
const { fetchAnthropicModels: inner } = await import("./llm-2RAEZEFB.js");
|
|
16
16
|
return inner(apiKey, baseURL);
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
buildSystemPromptForSession,
|
|
3
3
|
getSessionContext,
|
|
4
4
|
runTurn
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WLHRJ4AG.js";
|
|
6
6
|
import {
|
|
7
7
|
isUuid
|
|
8
8
|
} from "./chunk-UNOY3VJ2.js";
|
|
9
9
|
import {
|
|
10
10
|
listKodeAgentSessions
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7OBUZ2HY.js";
|
|
12
12
|
import {
|
|
13
13
|
getTools
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KDC2L6BQ.js";
|
|
15
15
|
import {
|
|
16
16
|
kodeMessageToSdkMessage,
|
|
17
17
|
makeSdkInitMessage,
|
|
@@ -19,21 +19,21 @@ import {
|
|
|
19
19
|
} from "./chunk-XX7Z3ORN.js";
|
|
20
20
|
import {
|
|
21
21
|
loadKodeAgentSessionMessages
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-EM54AUR2.js";
|
|
23
23
|
import {
|
|
24
24
|
grantReadPermissionForOriginalDir,
|
|
25
25
|
hasPermissionsToUseTool,
|
|
26
26
|
savePermission
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-BOV5TVAE.js";
|
|
28
28
|
import {
|
|
29
29
|
resolveToolDescription
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-H3672ZW5.js";
|
|
31
31
|
import {
|
|
32
32
|
setSessionId
|
|
33
33
|
} from "./chunk-UINOTNT3.js";
|
|
34
34
|
import {
|
|
35
35
|
loadToolPermissionContextFromDisk
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-VIGKWGSE.js";
|
|
37
37
|
import {
|
|
38
38
|
setKodeAgentSessionForkInfo
|
|
39
39
|
} from "./chunk-RPKUSL6P.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
buildSystemPromptForSession,
|
|
8
8
|
runTurn
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WLHRJ4AG.js";
|
|
10
10
|
import {
|
|
11
11
|
BashSpinner,
|
|
12
12
|
ConfigScreen,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
markProjectOnboardingComplete,
|
|
29
29
|
sendNotification,
|
|
30
30
|
switchCwdForResume
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-YYRGTLHS.js";
|
|
32
32
|
import {
|
|
33
33
|
Cursor,
|
|
34
34
|
Select,
|
|
@@ -36,18 +36,18 @@ import {
|
|
|
36
36
|
TextInput,
|
|
37
37
|
countWrappedLines,
|
|
38
38
|
structuredDiffLines
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-VBD37RDX.js";
|
|
40
40
|
import {
|
|
41
41
|
getWindowedList
|
|
42
42
|
} from "./chunk-YK3ZQM3C.js";
|
|
43
43
|
import {
|
|
44
44
|
useDoublePress,
|
|
45
45
|
useExitOnCtrlCD
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-3NRDY4IK.js";
|
|
47
47
|
import {
|
|
48
48
|
Doctor,
|
|
49
49
|
KEYPRESS_PRIORITY
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-7K26P5S7.js";
|
|
51
51
|
import {
|
|
52
52
|
wrapLines
|
|
53
53
|
} from "./chunk-7FPYAZAS.js";
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
setTerminalTitle,
|
|
59
59
|
terminalCapabilityManager,
|
|
60
60
|
useKeypress
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-IOTVTJ4V.js";
|
|
62
62
|
import {
|
|
63
63
|
getCurrentOutputStyle,
|
|
64
64
|
getCurrentOutputStyleDefinition,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
} from "./chunk-OP5ZIKFR.js";
|
|
67
67
|
import {
|
|
68
68
|
subscribeCustomCommandReloads
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-JFG72QYE.js";
|
|
70
70
|
import {
|
|
71
71
|
Divider,
|
|
72
72
|
ScreenFrame
|
|
@@ -86,6 +86,7 @@ import {
|
|
|
86
86
|
BashTool,
|
|
87
87
|
BashToolResultMessage_default,
|
|
88
88
|
CHECKMARK,
|
|
89
|
+
CIRCLE,
|
|
89
90
|
CROSS,
|
|
90
91
|
DIAMOND_HOLLOW,
|
|
91
92
|
ExitPlanModeTool,
|
|
@@ -100,13 +101,13 @@ import {
|
|
|
100
101
|
applyMarkdown,
|
|
101
102
|
inputSchema,
|
|
102
103
|
maybeTruncateVerboseToolOutput
|
|
103
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-KDC2L6BQ.js";
|
|
104
105
|
import {
|
|
105
106
|
countTokens,
|
|
106
107
|
getBinaryFeedbackResultForChoice,
|
|
107
108
|
logBinaryFeedbackEvent,
|
|
108
109
|
resolveToolNameAlias
|
|
109
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-5IJI22EZ.js";
|
|
110
111
|
import {
|
|
111
112
|
FileReadTool,
|
|
112
113
|
FileWriteTool,
|
|
@@ -117,7 +118,7 @@ import {
|
|
|
117
118
|
listBackgroundAgentTaskSnapshots,
|
|
118
119
|
normalizeLineEndings,
|
|
119
120
|
shouldTreatAsSpecialPaste
|
|
120
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-LPRQZBFR.js";
|
|
121
122
|
import {
|
|
122
123
|
detectFileEncoding,
|
|
123
124
|
getMessagesSetter,
|
|
@@ -126,7 +127,7 @@ import {
|
|
|
126
127
|
setMessagesSetter,
|
|
127
128
|
setModelConfigChangeHandler,
|
|
128
129
|
triggerModelConfigChange
|
|
129
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-2K23URB7.js";
|
|
130
131
|
import {
|
|
131
132
|
getCachedStringWidth
|
|
132
133
|
} from "./chunk-UKNILZCN.js";
|
|
@@ -134,7 +135,7 @@ import {
|
|
|
134
135
|
getActiveAgents,
|
|
135
136
|
getAgentByType,
|
|
136
137
|
subscribeAgentReloads
|
|
137
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-GVI6HL4U.js";
|
|
138
139
|
import {
|
|
139
140
|
AbortError,
|
|
140
141
|
MODE_CONFIGS,
|
|
@@ -154,17 +155,17 @@ import {
|
|
|
154
155
|
setToolPermissionContextForConversationKey,
|
|
155
156
|
subscribeToolPermissionContextUpdates,
|
|
156
157
|
toAbsolutePath
|
|
157
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-BOV5TVAE.js";
|
|
158
159
|
import {
|
|
159
160
|
resolveToolDescription
|
|
160
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-H3672ZW5.js";
|
|
161
162
|
import {
|
|
162
163
|
getCodeStyle,
|
|
163
164
|
getContext
|
|
164
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-CJIJECZP.js";
|
|
165
166
|
import {
|
|
166
167
|
resetReminderSession
|
|
167
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-CMIH4UOF.js";
|
|
168
169
|
import {
|
|
169
170
|
getRequestStatus,
|
|
170
171
|
subscribeRequestStatus
|
|
@@ -210,16 +211,16 @@ import {
|
|
|
210
211
|
} from "./chunk-GJYXZ5IL.js";
|
|
211
212
|
import {
|
|
212
213
|
getDisableAllHooksState
|
|
213
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-WQ2JJTXY.js";
|
|
214
215
|
import {
|
|
215
216
|
getMaxThinkingTokens
|
|
216
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-66VG6OIU.js";
|
|
217
218
|
import {
|
|
218
219
|
getModelManager
|
|
219
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-6KXJZ3PR.js";
|
|
220
221
|
import {
|
|
221
222
|
debug
|
|
222
|
-
} from "./chunk-
|
|
223
|
+
} from "./chunk-3LHEZF5K.js";
|
|
223
224
|
import {
|
|
224
225
|
PRODUCT_NAME,
|
|
225
226
|
enterPlanModeForConversationKey,
|
|
@@ -233,14 +234,14 @@ import {
|
|
|
233
234
|
overwriteLog,
|
|
234
235
|
readPlanFile,
|
|
235
236
|
setActivePlanConversationKey
|
|
236
|
-
} from "./chunk-
|
|
237
|
+
} from "./chunk-7PD6OIVO.js";
|
|
237
238
|
import {
|
|
238
239
|
getCwd,
|
|
239
240
|
getOriginalCwd
|
|
240
241
|
} from "./chunk-5ARRC2T2.js";
|
|
241
242
|
import {
|
|
242
243
|
MACRO
|
|
243
|
-
} from "./chunk-
|
|
244
|
+
} from "./chunk-DO7K6TGM.js";
|
|
244
245
|
import {
|
|
245
246
|
getKodeAgentSessionId
|
|
246
247
|
} from "./chunk-SWQV4KSY.js";
|
|
@@ -5534,12 +5535,12 @@ async function processUserInput(input, mode, setToolJSX, context, pastedImages)
|
|
|
5534
5535
|
${input}` : input;
|
|
5535
5536
|
if (processedInput.includes("!`") || processedInput.includes("@")) {
|
|
5536
5537
|
try {
|
|
5537
|
-
const { executeBashCommands } = await import("./customCommands-
|
|
5538
|
+
const { executeBashCommands } = await import("./customCommands-IFZ7KP6G.js");
|
|
5538
5539
|
if (processedInput.includes("!`")) {
|
|
5539
5540
|
processedInput = await executeBashCommands(processedInput);
|
|
5540
5541
|
}
|
|
5541
5542
|
if (processedInput.includes("@")) {
|
|
5542
|
-
const { processMentions } = await import("./mentionProcessor-
|
|
5543
|
+
const { processMentions } = await import("./mentionProcessor-FL6RMNP2.js");
|
|
5543
5544
|
await processMentions(processedInput);
|
|
5544
5545
|
}
|
|
5545
5546
|
} catch (error) {
|
|
@@ -5720,7 +5721,7 @@ function extractMessageText(content) {
|
|
|
5720
5721
|
}
|
|
5721
5722
|
async function interpretHashCommand(input) {
|
|
5722
5723
|
try {
|
|
5723
|
-
const { queryQuick } = await import("./llm-
|
|
5724
|
+
const { queryQuick } = await import("./llm-2RAEZEFB.js");
|
|
5724
5725
|
const systemPrompt = [
|
|
5725
5726
|
"You're helping the user structure notes that will be added to their AGENTS.md file.",
|
|
5726
5727
|
"Format the user's input into a well-structured note that will be useful for later reference.",
|
|
@@ -8288,7 +8289,7 @@ function AssistantThinkingMessage({
|
|
|
8288
8289
|
marginTop: addMargin ? 1 : 0,
|
|
8289
8290
|
width: "100%"
|
|
8290
8291
|
},
|
|
8291
|
-
/* @__PURE__ */ React51.createElement(Text43, { color: theme.kode,
|
|
8292
|
+
/* @__PURE__ */ React51.createElement(Text43, null, /* @__PURE__ */ React51.createElement(Text43, { color: theme.kode }, BULLET), /* @__PURE__ */ React51.createElement(Text43, { color: theme.text }, " [Thinking ", PROGRESS_FRAMES[progressFrame], "]")),
|
|
8292
8293
|
/* @__PURE__ */ React51.createElement(Box39, { paddingLeft: 2 }, /* @__PURE__ */ React51.createElement(Text43, { color: theme.secondaryText, italic: true }, applyMarkdown(thinking)))
|
|
8293
8294
|
);
|
|
8294
8295
|
}
|
|
@@ -8645,7 +8646,7 @@ function AssistantTextMessage({
|
|
|
8645
8646
|
marginTop: addMargin ? 1 : 0,
|
|
8646
8647
|
width: "100%"
|
|
8647
8648
|
},
|
|
8648
|
-
/* @__PURE__ */ React58.createElement(Box43, { flexDirection: "row" }, shouldShowDot && /* @__PURE__ */ React58.createElement(Box43, { minWidth: 2 }, /* @__PURE__ */ React58.createElement(Text48, { color: getTheme().kode },
|
|
8649
|
+
/* @__PURE__ */ React58.createElement(Box43, { flexDirection: "row" }, shouldShowDot && /* @__PURE__ */ React58.createElement(Box43, { minWidth: 2 }, /* @__PURE__ */ React58.createElement(Text48, { color: getTheme().kode }, CIRCLE)), /* @__PURE__ */ React58.createElement(Box43, { flexDirection: "column", width: contentWidth }, maxHeight ? /* @__PURE__ */ React58.createElement(
|
|
8649
8650
|
MaxSizedText,
|
|
8650
8651
|
{
|
|
8651
8652
|
text: content,
|
|
@@ -10946,7 +10947,7 @@ function useReplController(props) {
|
|
|
10946
10947
|
(async () => {
|
|
10947
10948
|
try {
|
|
10948
10949
|
const [{ getLatestVersion, getUpdateCommandSuggestions }, semverMod] = await Promise.all([
|
|
10949
|
-
import("./autoUpdater-
|
|
10950
|
+
import("./autoUpdater-M2DNAL3O.js"),
|
|
10950
10951
|
import("semver")
|
|
10951
10952
|
]);
|
|
10952
10953
|
const semverModule = semverMod;
|
|
@@ -11477,7 +11478,7 @@ function useReplController(props) {
|
|
|
11477
11478
|
ModelConfig,
|
|
11478
11479
|
{
|
|
11479
11480
|
onClose: () => {
|
|
11480
|
-
import("./model-
|
|
11481
|
+
import("./model-RVYCXVDF.js").then(
|
|
11481
11482
|
({ reloadModelManager }) => {
|
|
11482
11483
|
reloadModelManager();
|
|
11483
11484
|
triggerModelConfigChange();
|
|
@@ -11609,7 +11610,7 @@ function useReplController(props) {
|
|
|
11609
11610
|
);
|
|
11610
11611
|
void (async () => {
|
|
11611
11612
|
try {
|
|
11612
|
-
const { getCommands } = await import("./registry-
|
|
11613
|
+
const { getCommands } = await import("./registry-LTLVAYEG.js");
|
|
11613
11614
|
const next = await getCommands();
|
|
11614
11615
|
if (cancelled) return;
|
|
11615
11616
|
setCommands(next);
|