@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
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getProjectDocs
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CJIJECZP.js";
|
|
4
4
|
import {
|
|
5
5
|
generateSystemReminders
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CMIH4UOF.js";
|
|
7
7
|
import {
|
|
8
8
|
getModelManager
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6KXJZ3PR.js";
|
|
10
10
|
import {
|
|
11
11
|
debug
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3LHEZF5K.js";
|
|
13
13
|
import {
|
|
14
14
|
logError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7PD6OIVO.js";
|
|
16
16
|
|
|
17
17
|
// packages/core/src/ai/llm/kodeContext.ts
|
|
18
18
|
var KodeContextManager = class _KodeContextManager {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
setInkInstanceForStdout
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VBD37RDX.js";
|
|
4
4
|
import {
|
|
5
5
|
disableLineWrapping,
|
|
6
6
|
ensureTuiStdioPatched
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IOTVTJ4V.js";
|
|
8
8
|
import {
|
|
9
9
|
getGlobalConfigCached
|
|
10
10
|
} from "./chunk-EYEZUJGL.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadToolPermissionContextFromDisk,
|
|
3
3
|
persistToolPermissionUpdateToDisk
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VIGKWGSE.js";
|
|
5
5
|
import {
|
|
6
6
|
applyToolPermissionContextUpdate,
|
|
7
7
|
createDefaultToolPermissionContext
|
|
8
8
|
} from "./chunk-E4C4N7OV.js";
|
|
9
9
|
import {
|
|
10
10
|
debug
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3LHEZF5K.js";
|
|
12
12
|
import {
|
|
13
13
|
PRODUCT_NAME,
|
|
14
14
|
getKodeBaseDir,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
getPlanFilePath,
|
|
17
17
|
isMainPlanFilePathForActiveConversation,
|
|
18
18
|
logError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-7PD6OIVO.js";
|
|
20
20
|
import {
|
|
21
21
|
getCwd,
|
|
22
22
|
getOriginalCwd
|
|
@@ -3615,7 +3615,7 @@ var getCommandSubcommandPrefix = memoize(
|
|
|
3615
3615
|
var getCommandPrefix = memoize(
|
|
3616
3616
|
async (command, abortSignal) => {
|
|
3617
3617
|
const { systemPrompt, userPrompt } = buildBashCommandPrefixDetectionPrompt(command);
|
|
3618
|
-
const { API_ERROR_MESSAGE_PREFIX, queryQuick } = await import("./llm-
|
|
3618
|
+
const { API_ERROR_MESSAGE_PREFIX, queryQuick } = await import("./llm-2RAEZEFB.js");
|
|
3619
3619
|
const response = await queryQuick({
|
|
3620
3620
|
systemPrompt,
|
|
3621
3621
|
userPrompt,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-L2LWCVUF.js";
|
|
5
5
|
import {
|
|
6
6
|
getSessionStartAdditionalContext
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WQ2JJTXY.js";
|
|
8
8
|
import {
|
|
9
9
|
PRODUCT_COMMAND,
|
|
10
10
|
PRODUCT_NAME,
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
env,
|
|
13
13
|
execFileNoThrow,
|
|
14
14
|
logError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7PD6OIVO.js";
|
|
16
16
|
import {
|
|
17
17
|
getCwd
|
|
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
|
getKodeAgentSessionId
|
|
24
24
|
} from "./chunk-SWQV4KSY.js";
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
} from "./chunk-UINOTNT3.js";
|
|
8
8
|
import {
|
|
9
9
|
debug
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3LHEZF5K.js";
|
|
11
11
|
import {
|
|
12
12
|
logError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7PD6OIVO.js";
|
|
14
14
|
import {
|
|
15
15
|
getKodeRoot
|
|
16
16
|
} from "./chunk-KGE74PKI.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getSessionStoreProjectNameCandidatesForRead,
|
|
3
3
|
getSessionStoreRoots
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZXVYOY7Q.js";
|
|
5
5
|
|
|
6
6
|
// packages/protocol/src/utils/kodeAgentSessionLoad.ts
|
|
7
7
|
import { existsSync, readdirSync, readFileSync, statSync } from "node:fs";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-M7P3QNRU.js";
|
|
4
4
|
import {
|
|
5
5
|
debug
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3LHEZF5K.js";
|
|
7
7
|
import {
|
|
8
8
|
logError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7PD6OIVO.js";
|
|
10
10
|
import {
|
|
11
11
|
getCwd
|
|
12
12
|
} from "./chunk-5ARRC2T2.js";
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
USE_VERTEX,
|
|
8
8
|
getModelManager,
|
|
9
9
|
getVertexRegionForModel
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6KXJZ3PR.js";
|
|
11
11
|
import {
|
|
12
12
|
PRODUCT_COMMAND
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7PD6OIVO.js";
|
|
14
14
|
import {
|
|
15
15
|
MACRO
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DO7K6TGM.js";
|
|
17
17
|
import {
|
|
18
18
|
getAnthropicApiKey,
|
|
19
19
|
getGlobalConfig
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
debug
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3LHEZF5K.js";
|
|
4
4
|
import {
|
|
5
5
|
CACHE_PATHS,
|
|
6
6
|
DATE
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7PD6OIVO.js";
|
|
8
8
|
|
|
9
9
|
// apps/cli/src/utils/stdio.ts
|
|
10
10
|
import { mkdirSync, writeFileSync } from "node:fs";
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
} from "./chunk-M7P3QNRU.js";
|
|
7
7
|
import {
|
|
8
8
|
debug
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3LHEZF5K.js";
|
|
10
10
|
import {
|
|
11
11
|
getKodeBaseDir,
|
|
12
12
|
logError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7PD6OIVO.js";
|
|
14
14
|
import {
|
|
15
15
|
getCwd
|
|
16
16
|
} from "./chunk-5ARRC2T2.js";
|
|
@@ -975,7 +975,7 @@ function emitCustomCommandReloaded(event) {
|
|
|
975
975
|
async function reloadCustomCommandsForSession(args) {
|
|
976
976
|
try {
|
|
977
977
|
reloadCustomCommands();
|
|
978
|
-
const { getCommands } = await import("./registry-
|
|
978
|
+
const { getCommands } = await import("./registry-LTLVAYEG.js");
|
|
979
979
|
getCommands.cache.clear?.();
|
|
980
980
|
} catch (error) {
|
|
981
981
|
logError(error);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
countTokens,
|
|
3
3
|
query
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5IJI22EZ.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-LPRQZBFR.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-2K23URB7.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-GVI6HL4U.js";
|
|
42
42
|
import {
|
|
43
43
|
loadKodeAgentSidechainMessagesForResume
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-EM54AUR2.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-BOV5TVAE.js";
|
|
59
59
|
import {
|
|
60
60
|
getAnthropicClient,
|
|
61
61
|
resolveToolDescription
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-H3672ZW5.js";
|
|
63
63
|
import {
|
|
64
64
|
getAgentPrompt,
|
|
65
65
|
getContext
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-CJIJECZP.js";
|
|
67
67
|
import {
|
|
68
68
|
emitReminderEvent,
|
|
69
69
|
generateAgentId,
|
|
70
70
|
getTodos,
|
|
71
71
|
setTodos
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-CMIH4UOF.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-RGSDVPA3.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-2L4YAYGN.js";
|
|
93
93
|
import {
|
|
94
94
|
safeParseJSON
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-E7TD5S7N.js";
|
|
96
96
|
import {
|
|
97
97
|
INTERRUPT_MESSAGE,
|
|
98
98
|
createAssistantMessage,
|
|
@@ -110,16 +110,16 @@ import {
|
|
|
110
110
|
} from "./chunk-GJYXZ5IL.js";
|
|
111
111
|
import {
|
|
112
112
|
getMaxThinkingTokens
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-66VG6OIU.js";
|
|
114
114
|
import {
|
|
115
115
|
getModelManager
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-6KXJZ3PR.js";
|
|
117
117
|
import {
|
|
118
118
|
debug
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-3LHEZF5K.js";
|
|
120
120
|
import {
|
|
121
121
|
ripGrep
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-SNM7WKMO.js";
|
|
123
123
|
import {
|
|
124
124
|
CACHE_PATHS,
|
|
125
125
|
PRODUCT_NAME,
|
|
@@ -135,7 +135,7 @@ import {
|
|
|
135
135
|
logError,
|
|
136
136
|
overwriteLog,
|
|
137
137
|
readPlanFile
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-7PD6OIVO.js";
|
|
139
139
|
import {
|
|
140
140
|
getCwd,
|
|
141
141
|
getOriginalCwd
|
|
@@ -720,6 +720,7 @@ var BULLET = "\u25C6";
|
|
|
720
720
|
var CHECKMARK = "\u2713";
|
|
721
721
|
var CROSS = "\u2717";
|
|
722
722
|
var DIAMOND_HOLLOW = "\u25C7";
|
|
723
|
+
var CIRCLE = "\u25CF";
|
|
723
724
|
|
|
724
725
|
// packages/tools/src/tools/interaction/AskUserQuestionTool/prompt.ts
|
|
725
726
|
var TOOL_NAME_FOR_PROMPT = "AskUserQuestion";
|
|
@@ -1952,7 +1953,7 @@ function formatParseError(error) {
|
|
|
1952
1953
|
return error instanceof Error ? error.message : String(error);
|
|
1953
1954
|
}
|
|
1954
1955
|
async function defaultGateQuery(args) {
|
|
1955
|
-
const { API_ERROR_MESSAGE_PREFIX, queryLLM: queryLLM2 } = await import("./llm-
|
|
1956
|
+
const { API_ERROR_MESSAGE_PREFIX, queryLLM: queryLLM2 } = await import("./llm-2RAEZEFB.js");
|
|
1956
1957
|
const messages = [createUserMessage(args.userInput)];
|
|
1957
1958
|
const assistant = await queryLLM2(
|
|
1958
1959
|
messages,
|
|
@@ -8173,7 +8174,7 @@ var SkillTool = {
|
|
|
8173
8174
|
const MAX_AVAILABLE_SKILLS_CHARS = 8e3;
|
|
8174
8175
|
async function loadCommands() {
|
|
8175
8176
|
try {
|
|
8176
|
-
const mod = await import("./customCommands-
|
|
8177
|
+
const mod = await import("./customCommands-IFZ7KP6G.js");
|
|
8177
8178
|
if (typeof mod.loadCustomCommands !== "function") return [];
|
|
8178
8179
|
const cmds = await mod.loadCustomCommands();
|
|
8179
8180
|
if (!Array.isArray(cmds)) return [];
|
|
@@ -9528,6 +9529,7 @@ export {
|
|
|
9528
9529
|
CHECKMARK,
|
|
9529
9530
|
CROSS,
|
|
9530
9531
|
DIAMOND_HOLLOW,
|
|
9532
|
+
CIRCLE,
|
|
9531
9533
|
AskUserQuestionTool,
|
|
9532
9534
|
MaxSizedText,
|
|
9533
9535
|
BashToolResultMessage_default,
|