@shareai-lab/kode 2.1.5 → 2.1.6
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-TWRIVOVW.js → Doctor-65ITFPQM.js} +9 -9
- package/dist/chunks/{LogList-PUTPM24L.js → LogList-M2SA2SFY.js} +7 -7
- package/dist/chunks/{REPL-YGIR5VXC.js → REPL-LJAN2IGA.js} +36 -36
- package/dist/chunks/{ResumeConversation-IJMKQXBU.js → ResumeConversation-SKYFK5ZI.js} +38 -38
- package/dist/chunks/{agentLoader-GOYNJTAO.js → agentLoader-DXOHT4Y3.js} +5 -5
- package/dist/chunks/{agentsValidate-R26AKPAA.js → agentsValidate-YI3Y5HTA.js} +6 -6
- package/dist/chunks/{ask-6SYVJONJ.js → ask-TO3BQAOC.js} +16 -16
- package/dist/chunks/{autoUpdater-SDLJ5QSH.js → autoUpdater-ZG6A77IQ.js} +4 -4
- package/dist/chunks/{chunk-4T5LR4P5.js → chunk-2YP73VQO.js} +31 -31
- package/dist/chunks/{chunk-PTIAF6KF.js → chunk-3AUFM7Y4.js} +2 -2
- package/dist/chunks/{chunk-KA543BHH.js → chunk-4EF74JUP.js} +7 -7
- package/dist/chunks/{chunk-WOMV4RCI.js → chunk-5AFW54RJ.js} +20 -20
- package/dist/chunks/chunk-5AFW54RJ.js.map +7 -0
- package/dist/chunks/{chunk-AX3VXMUS.js → chunk-6G73VOD6.js} +1 -1
- package/dist/chunks/{chunk-LKDMUCWA.js → chunk-7ISFZQSV.js} +5 -5
- package/dist/chunks/{chunk-BPMYW5DT.js → chunk-7LP2BLJA.js} +31 -31
- package/dist/chunks/{chunk-BPMYW5DT.js.map → chunk-7LP2BLJA.js.map} +2 -2
- package/dist/chunks/{chunk-6C6VNA2D.js → chunk-7NVJXNXO.js} +2 -2
- package/dist/chunks/{chunk-AZHJLRRP.js → chunk-AXLX26NX.js} +1 -1
- package/dist/chunks/{chunk-KHMXPPO7.js → chunk-DI6HV3AS.js} +3 -3
- package/dist/chunks/{chunk-SOBWNYOW.js → chunk-E2ZC3ZZZ.js} +1 -1
- package/dist/chunks/{chunk-BNSPVA24.js → chunk-F5FH6EVL.js} +4 -4
- package/dist/chunks/{chunk-5HZWM4JB.js → chunk-FCJRJJXB.js} +1 -1
- package/dist/chunks/{chunk-JXYXMP2Q.js → chunk-GN4PKD6E.js} +2 -2
- package/dist/chunks/{chunk-WE7CQGRG.js → chunk-HKVWDUJZ.js} +2 -2
- package/dist/chunks/{chunk-KQV5FGSS.js → chunk-HTCHRX7L.js} +5 -5
- package/dist/chunks/{chunk-YQ3YJSMI.js → chunk-HYXP4E53.js} +1 -1
- package/dist/chunks/{chunk-2B2TR2S3.js → chunk-IH5WMN3G.js} +4 -4
- package/dist/chunks/{chunk-N5AH66UG.js → chunk-KPUNQG5H.js} +4 -4
- package/dist/chunks/{chunk-ZXOTOID7.js → chunk-LQROPVAH.js} +2 -2
- package/dist/chunks/{chunk-LBHVWSUP.js → chunk-MDENGBHC.js} +1 -1
- package/dist/chunks/{chunk-DWKF6SQH.js → chunk-NPDIRMY5.js} +3 -3
- package/dist/chunks/{chunk-N4772IDQ.js → chunk-NXIDWZTU.js} +3 -3
- package/dist/chunks/{chunk-H5F7M5D3.js → chunk-PF4IMAOU.js} +2 -2
- package/dist/chunks/{chunk-SUNG5KP5.js → chunk-PWS6JBAK.js} +1 -1
- package/dist/chunks/{chunk-RTGKCKD3.js → chunk-RYYPYM4N.js} +1 -1
- package/dist/chunks/{chunk-6CAQXUDY.js → chunk-SC5XTM3F.js} +1 -1
- package/dist/chunks/{chunk-437YGKVA.js → chunk-T7WS7QTU.js} +2 -2
- package/dist/chunks/{chunk-LUZMHHQF.js → chunk-TP6FZ6H3.js} +8 -8
- package/dist/chunks/{chunk-MOGUUWKG.js → chunk-TV44AV5I.js} +1 -1
- package/dist/chunks/{chunk-FKWFR23G.js → chunk-UDBSYLEH.js} +2 -2
- package/dist/chunks/{chunk-YUZBVKVH.js → chunk-V7ZQO4MM.js} +3 -3
- package/dist/chunks/{chunk-PVMCLI36.js → chunk-VD5CSE5T.js} +1 -1
- package/dist/chunks/{chunk-WVJMXIKQ.js → chunk-WGH4JDKY.js} +1 -1
- package/dist/chunks/{chunk-WVJMXIKQ.js.map → chunk-WGH4JDKY.js.map} +1 -1
- package/dist/chunks/{chunk-5LL33G6X.js → chunk-WM6F262I.js} +2 -2
- package/dist/chunks/{chunk-SVRXO73D.js → chunk-WU57SJRL.js} +10 -10
- package/dist/chunks/{chunk-XVNEJVZC.js → chunk-WZHSUR6R.js} +2 -2
- package/dist/chunks/{chunk-4BBWDSDC.js → chunk-XKJZ43A6.js} +1 -1
- package/dist/chunks/{chunk-KRBZO255.js → chunk-XYQBQJLH.js} +1 -1
- package/dist/chunks/{chunk-L5ZJIOEF.js → chunk-YFPO5X2W.js} +4 -4
- package/dist/chunks/{client-QUCHWMEW.js → client-U5XINNE2.js} +5 -5
- package/dist/chunks/{customCommands-S6YGRUED.js → customCommands-UNKKV63I.js} +5 -5
- package/dist/chunks/{engine-FRDEQVDF.js → engine-6JSFXB63.js} +15 -15
- package/dist/chunks/{env-YH77MILU.js → env-CHRM4T2W.js} +3 -3
- package/dist/chunks/{kodeAgentSessionLoad-TBPU4TWU.js → kodeAgentSessionLoad-LGEJFBZW.js} +3 -3
- package/dist/chunks/{kodeAgentSessionResume-3CNE5T6N.js → kodeAgentSessionResume-772VHNZ5.js} +3 -3
- package/dist/chunks/{kodeHooks-6SWQE5W7.js → kodeHooks-6X7BTFZF.js} +4 -4
- package/dist/chunks/{llm-PONI6QWH.js → llm-K37L4HUD.js} +13 -13
- package/dist/chunks/{llmLazy-O4T62IIT.js → llmLazy-WZ5ROU5P.js} +1 -1
- package/dist/chunks/{mcpCli-HIA4I4GG.js → mcpCli-UXCSTYEA.js} +5 -5
- package/dist/chunks/{mentionProcessor-HH4EF7BE.js → mentionProcessor-XW4HAFQP.js} +6 -6
- package/dist/chunks/{model-4EIFU5QN.js → model-FWF45MLA.js} +5 -5
- package/dist/chunks/{openai-KTBJ2KNZ.js → openai-3SB3JXI6.js} +5 -5
- package/dist/chunks/{permissions-C3N4DKS2.js → permissions-BM5EY7NP.js} +6 -6
- package/dist/chunks/{pluginRuntime-2FKZLVA5.js → pluginRuntime-PUTVFD33.js} +3 -3
- package/dist/chunks/{pluginValidation-X5NZZCFA.js → pluginValidation-IIXLHWO7.js} +7 -7
- package/dist/chunks/{registry-3UVW32YF.js → registry-PWTADTKL.js} +29 -29
- package/dist/chunks/{ripgrep-N7O6M4IE.js → ripgrep-OT6JSNDX.js} +4 -4
- package/dist/chunks/{runNonTextPrintMode-YFWCUTWZ.js → runNonTextPrintMode-ZBCSK5P6.js} +9 -9
- package/dist/chunks/{server-3CICV7EL.js → server-FP2M2IVJ.js} +25 -25
- package/dist/chunks/{server-FRP7OT4H.js → server-YWI7RRL5.js} +27 -27
- package/dist/chunks/{skillMarketplace-4Y2H4JFK.js → skillMarketplace-Q3XMCB4G.js} +4 -4
- package/dist/chunks/{src-Y2IM2VKU.js → src-3YMBR6H5.js} +70 -70
- package/dist/chunks/{src-OB2HE3RX.js → src-CBGGLLYQ.js} +24 -24
- package/dist/chunks/{src-IETAWKYR.js → src-DFYVAU6A.js} +27 -27
- package/dist/chunks/{thinking-XG3FB4HO.js → thinking-RMBNRF4N.js} +6 -6
- package/dist/chunks/{toolPermissionSettings-EEFURGBO.js → toolPermissionSettings-2ZLIABTX.js} +4 -4
- package/dist/chunks/{webOnlyMode-FRQBIAXG.js → webOnlyMode-KSAMJ7QN.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 +1 -1
- package/dist/sdk/core.cjs.map +1 -1
- package/dist/sdk/core.js +1 -1
- package/dist/sdk/core.js.map +1 -1
- package/dist/sdk/tools.cjs +2 -2
- package/dist/sdk/tools.cjs.map +1 -1
- package/dist/sdk/tools.js +2 -2
- package/dist/sdk/tools.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/chunk-WOMV4RCI.js.map +0 -7
- /package/dist/chunks/{Doctor-TWRIVOVW.js.map → Doctor-65ITFPQM.js.map} +0 -0
- /package/dist/chunks/{LogList-PUTPM24L.js.map → LogList-M2SA2SFY.js.map} +0 -0
- /package/dist/chunks/{REPL-YGIR5VXC.js.map → REPL-LJAN2IGA.js.map} +0 -0
- /package/dist/chunks/{ResumeConversation-IJMKQXBU.js.map → ResumeConversation-SKYFK5ZI.js.map} +0 -0
- /package/dist/chunks/{agentLoader-GOYNJTAO.js.map → agentLoader-DXOHT4Y3.js.map} +0 -0
- /package/dist/chunks/{agentsValidate-R26AKPAA.js.map → agentsValidate-YI3Y5HTA.js.map} +0 -0
- /package/dist/chunks/{ask-6SYVJONJ.js.map → ask-TO3BQAOC.js.map} +0 -0
- /package/dist/chunks/{autoUpdater-SDLJ5QSH.js.map → autoUpdater-ZG6A77IQ.js.map} +0 -0
- /package/dist/chunks/{chunk-4T5LR4P5.js.map → chunk-2YP73VQO.js.map} +0 -0
- /package/dist/chunks/{chunk-PTIAF6KF.js.map → chunk-3AUFM7Y4.js.map} +0 -0
- /package/dist/chunks/{chunk-KA543BHH.js.map → chunk-4EF74JUP.js.map} +0 -0
- /package/dist/chunks/{chunk-AX3VXMUS.js.map → chunk-6G73VOD6.js.map} +0 -0
- /package/dist/chunks/{chunk-LKDMUCWA.js.map → chunk-7ISFZQSV.js.map} +0 -0
- /package/dist/chunks/{chunk-6C6VNA2D.js.map → chunk-7NVJXNXO.js.map} +0 -0
- /package/dist/chunks/{chunk-AZHJLRRP.js.map → chunk-AXLX26NX.js.map} +0 -0
- /package/dist/chunks/{chunk-KHMXPPO7.js.map → chunk-DI6HV3AS.js.map} +0 -0
- /package/dist/chunks/{chunk-SOBWNYOW.js.map → chunk-E2ZC3ZZZ.js.map} +0 -0
- /package/dist/chunks/{chunk-BNSPVA24.js.map → chunk-F5FH6EVL.js.map} +0 -0
- /package/dist/chunks/{chunk-5HZWM4JB.js.map → chunk-FCJRJJXB.js.map} +0 -0
- /package/dist/chunks/{chunk-JXYXMP2Q.js.map → chunk-GN4PKD6E.js.map} +0 -0
- /package/dist/chunks/{chunk-WE7CQGRG.js.map → chunk-HKVWDUJZ.js.map} +0 -0
- /package/dist/chunks/{chunk-KQV5FGSS.js.map → chunk-HTCHRX7L.js.map} +0 -0
- /package/dist/chunks/{chunk-YQ3YJSMI.js.map → chunk-HYXP4E53.js.map} +0 -0
- /package/dist/chunks/{chunk-2B2TR2S3.js.map → chunk-IH5WMN3G.js.map} +0 -0
- /package/dist/chunks/{chunk-N5AH66UG.js.map → chunk-KPUNQG5H.js.map} +0 -0
- /package/dist/chunks/{chunk-ZXOTOID7.js.map → chunk-LQROPVAH.js.map} +0 -0
- /package/dist/chunks/{chunk-LBHVWSUP.js.map → chunk-MDENGBHC.js.map} +0 -0
- /package/dist/chunks/{chunk-DWKF6SQH.js.map → chunk-NPDIRMY5.js.map} +0 -0
- /package/dist/chunks/{chunk-N4772IDQ.js.map → chunk-NXIDWZTU.js.map} +0 -0
- /package/dist/chunks/{chunk-H5F7M5D3.js.map → chunk-PF4IMAOU.js.map} +0 -0
- /package/dist/chunks/{chunk-SUNG5KP5.js.map → chunk-PWS6JBAK.js.map} +0 -0
- /package/dist/chunks/{chunk-RTGKCKD3.js.map → chunk-RYYPYM4N.js.map} +0 -0
- /package/dist/chunks/{chunk-6CAQXUDY.js.map → chunk-SC5XTM3F.js.map} +0 -0
- /package/dist/chunks/{chunk-437YGKVA.js.map → chunk-T7WS7QTU.js.map} +0 -0
- /package/dist/chunks/{chunk-LUZMHHQF.js.map → chunk-TP6FZ6H3.js.map} +0 -0
- /package/dist/chunks/{chunk-MOGUUWKG.js.map → chunk-TV44AV5I.js.map} +0 -0
- /package/dist/chunks/{chunk-FKWFR23G.js.map → chunk-UDBSYLEH.js.map} +0 -0
- /package/dist/chunks/{chunk-YUZBVKVH.js.map → chunk-V7ZQO4MM.js.map} +0 -0
- /package/dist/chunks/{chunk-PVMCLI36.js.map → chunk-VD5CSE5T.js.map} +0 -0
- /package/dist/chunks/{chunk-5LL33G6X.js.map → chunk-WM6F262I.js.map} +0 -0
- /package/dist/chunks/{chunk-SVRXO73D.js.map → chunk-WU57SJRL.js.map} +0 -0
- /package/dist/chunks/{chunk-XVNEJVZC.js.map → chunk-WZHSUR6R.js.map} +0 -0
- /package/dist/chunks/{chunk-4BBWDSDC.js.map → chunk-XKJZ43A6.js.map} +0 -0
- /package/dist/chunks/{chunk-KRBZO255.js.map → chunk-XYQBQJLH.js.map} +0 -0
- /package/dist/chunks/{chunk-L5ZJIOEF.js.map → chunk-YFPO5X2W.js.map} +0 -0
- /package/dist/chunks/{client-QUCHWMEW.js.map → client-U5XINNE2.js.map} +0 -0
- /package/dist/chunks/{customCommands-S6YGRUED.js.map → customCommands-UNKKV63I.js.map} +0 -0
- /package/dist/chunks/{engine-FRDEQVDF.js.map → engine-6JSFXB63.js.map} +0 -0
- /package/dist/chunks/{env-YH77MILU.js.map → env-CHRM4T2W.js.map} +0 -0
- /package/dist/chunks/{kodeAgentSessionLoad-TBPU4TWU.js.map → kodeAgentSessionLoad-LGEJFBZW.js.map} +0 -0
- /package/dist/chunks/{kodeAgentSessionResume-3CNE5T6N.js.map → kodeAgentSessionResume-772VHNZ5.js.map} +0 -0
- /package/dist/chunks/{kodeHooks-6SWQE5W7.js.map → kodeHooks-6X7BTFZF.js.map} +0 -0
- /package/dist/chunks/{llm-PONI6QWH.js.map → llm-K37L4HUD.js.map} +0 -0
- /package/dist/chunks/{llmLazy-O4T62IIT.js.map → llmLazy-WZ5ROU5P.js.map} +0 -0
- /package/dist/chunks/{mcpCli-HIA4I4GG.js.map → mcpCli-UXCSTYEA.js.map} +0 -0
- /package/dist/chunks/{mentionProcessor-HH4EF7BE.js.map → mentionProcessor-XW4HAFQP.js.map} +0 -0
- /package/dist/chunks/{model-4EIFU5QN.js.map → model-FWF45MLA.js.map} +0 -0
- /package/dist/chunks/{openai-KTBJ2KNZ.js.map → openai-3SB3JXI6.js.map} +0 -0
- /package/dist/chunks/{permissions-C3N4DKS2.js.map → permissions-BM5EY7NP.js.map} +0 -0
- /package/dist/chunks/{pluginRuntime-2FKZLVA5.js.map → pluginRuntime-PUTVFD33.js.map} +0 -0
- /package/dist/chunks/{pluginValidation-X5NZZCFA.js.map → pluginValidation-IIXLHWO7.js.map} +0 -0
- /package/dist/chunks/{registry-3UVW32YF.js.map → registry-PWTADTKL.js.map} +0 -0
- /package/dist/chunks/{ripgrep-N7O6M4IE.js.map → ripgrep-OT6JSNDX.js.map} +0 -0
- /package/dist/chunks/{runNonTextPrintMode-YFWCUTWZ.js.map → runNonTextPrintMode-ZBCSK5P6.js.map} +0 -0
- /package/dist/chunks/{server-3CICV7EL.js.map → server-FP2M2IVJ.js.map} +0 -0
- /package/dist/chunks/{server-FRP7OT4H.js.map → server-YWI7RRL5.js.map} +0 -0
- /package/dist/chunks/{skillMarketplace-4Y2H4JFK.js.map → skillMarketplace-Q3XMCB4G.js.map} +0 -0
- /package/dist/chunks/{src-Y2IM2VKU.js.map → src-3YMBR6H5.js.map} +0 -0
- /package/dist/chunks/{src-OB2HE3RX.js.map → src-CBGGLLYQ.js.map} +0 -0
- /package/dist/chunks/{src-IETAWKYR.js.map → src-DFYVAU6A.js.map} +0 -0
- /package/dist/chunks/{thinking-XG3FB4HO.js.map → thinking-RMBNRF4N.js.map} +0 -0
- /package/dist/chunks/{toolPermissionSettings-EEFURGBO.js.map → toolPermissionSettings-2ZLIABTX.js.map} +0 -0
- /package/dist/chunks/{webOnlyMode-FRQBIAXG.js.map → webOnlyMode-KSAMJ7QN.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getSessionStoreProjectNameCandidatesForRead,
|
|
3
3
|
getSessionStoreRoots
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XYQBQJLH.js";
|
|
5
5
|
|
|
6
6
|
// packages/protocol/src/utils/kodeAgentSessionResume.ts
|
|
7
7
|
import { existsSync, readdirSync, readFileSync, statSync } from "node:fs";
|
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
} from "./chunk-QAXE37B5.js";
|
|
4
4
|
import {
|
|
5
5
|
getAllTools
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5AFW54RJ.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveToolDescription
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NPDIRMY5.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-E2ZC3ZZZ.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-SC5XTM3F.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-BM5EY7NP.js")).hasPermissionsToUseTool(
|
|
159
159
|
tool,
|
|
160
160
|
toolInput,
|
|
161
161
|
toolUseContext,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
buildSystemPromptForSession,
|
|
8
8
|
runTurn
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HKVWDUJZ.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-2YP73VQO.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-TP6FZ6H3.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-AXLX26NX.js";
|
|
47
47
|
import {
|
|
48
48
|
Doctor,
|
|
49
49
|
KEYPRESS_PRIORITY
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-3AUFM7Y4.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-WZHSUR6R.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-NXIDWZTU.js";
|
|
70
70
|
import {
|
|
71
71
|
Divider,
|
|
72
72
|
ScreenFrame
|
|
@@ -100,13 +100,13 @@ import {
|
|
|
100
100
|
applyMarkdown,
|
|
101
101
|
inputSchema,
|
|
102
102
|
maybeTruncateVerboseToolOutput
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-5AFW54RJ.js";
|
|
104
104
|
import {
|
|
105
105
|
countTokens,
|
|
106
106
|
getBinaryFeedbackResultForChoice,
|
|
107
107
|
logBinaryFeedbackEvent,
|
|
108
108
|
resolveToolNameAlias
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-WU57SJRL.js";
|
|
110
110
|
import {
|
|
111
111
|
FileReadTool,
|
|
112
112
|
FileWriteTool,
|
|
@@ -117,7 +117,7 @@ import {
|
|
|
117
117
|
listBackgroundAgentTaskSnapshots,
|
|
118
118
|
normalizeLineEndings,
|
|
119
119
|
shouldTreatAsSpecialPaste
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-F5FH6EVL.js";
|
|
121
121
|
import {
|
|
122
122
|
detectFileEncoding,
|
|
123
123
|
getMessagesSetter,
|
|
@@ -126,7 +126,7 @@ import {
|
|
|
126
126
|
setMessagesSetter,
|
|
127
127
|
setModelConfigChangeHandler,
|
|
128
128
|
triggerModelConfigChange
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-YFPO5X2W.js";
|
|
130
130
|
import {
|
|
131
131
|
getCachedStringWidth
|
|
132
132
|
} from "./chunk-UKNILZCN.js";
|
|
@@ -134,7 +134,7 @@ import {
|
|
|
134
134
|
getActiveAgents,
|
|
135
135
|
getAgentByType,
|
|
136
136
|
subscribeAgentReloads
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-T7WS7QTU.js";
|
|
138
138
|
import {
|
|
139
139
|
AbortError,
|
|
140
140
|
MODE_CONFIGS,
|
|
@@ -154,17 +154,17 @@ import {
|
|
|
154
154
|
setToolPermissionContextForConversationKey,
|
|
155
155
|
subscribeToolPermissionContextUpdates,
|
|
156
156
|
toAbsolutePath
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-KPUNQG5H.js";
|
|
158
158
|
import {
|
|
159
159
|
resolveToolDescription
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-NPDIRMY5.js";
|
|
161
161
|
import {
|
|
162
162
|
getCodeStyle,
|
|
163
163
|
getContext
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-DI6HV3AS.js";
|
|
165
165
|
import {
|
|
166
166
|
resetReminderSession
|
|
167
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-GN4PKD6E.js";
|
|
168
168
|
import {
|
|
169
169
|
getRequestStatus,
|
|
170
170
|
subscribeRequestStatus
|
|
@@ -210,16 +210,16 @@ import {
|
|
|
210
210
|
} from "./chunk-GJYXZ5IL.js";
|
|
211
211
|
import {
|
|
212
212
|
getDisableAllHooksState
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-WM6F262I.js";
|
|
214
214
|
import {
|
|
215
215
|
getMaxThinkingTokens
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-PWS6JBAK.js";
|
|
217
217
|
import {
|
|
218
218
|
getModelManager
|
|
219
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-UDBSYLEH.js";
|
|
220
220
|
import {
|
|
221
221
|
debug
|
|
222
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-HYXP4E53.js";
|
|
223
223
|
import {
|
|
224
224
|
PRODUCT_NAME,
|
|
225
225
|
enterPlanModeForConversationKey,
|
|
@@ -233,14 +233,14 @@ import {
|
|
|
233
233
|
overwriteLog,
|
|
234
234
|
readPlanFile,
|
|
235
235
|
setActivePlanConversationKey
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-E2ZC3ZZZ.js";
|
|
237
237
|
import {
|
|
238
238
|
getCwd,
|
|
239
239
|
getOriginalCwd
|
|
240
240
|
} from "./chunk-5ARRC2T2.js";
|
|
241
241
|
import {
|
|
242
242
|
MACRO
|
|
243
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-SC5XTM3F.js";
|
|
244
244
|
import {
|
|
245
245
|
getKodeAgentSessionId
|
|
246
246
|
} from "./chunk-SWQV4KSY.js";
|
|
@@ -5137,7 +5137,7 @@ function getPromptInputSpecialKeyAction(args) {
|
|
|
5137
5137
|
return "modeCycle";
|
|
5138
5138
|
}
|
|
5139
5139
|
const optionOrMeta = Boolean(args.key.meta) || Boolean(args.key.option);
|
|
5140
|
-
if (args.inputChar === "\xB5" || args.inputChar === "\u03BC" || optionOrMeta && (args.inputChar === "m" || args.inputChar === "M")) {
|
|
5140
|
+
if (args.inputChar === "\xB5" || args.inputChar === "\u03BC" || optionOrMeta && (args.inputChar === "m" || args.inputChar === "M") || args.key.ctrl && (args.inputChar === "m" || args.inputChar === "M")) {
|
|
5141
5141
|
return "modelSwitch";
|
|
5142
5142
|
}
|
|
5143
5143
|
if (args.key.ctrl && (args.inputChar === "g" || args.inputChar === "G")) {
|
|
@@ -5146,7 +5146,7 @@ function getPromptInputSpecialKeyAction(args) {
|
|
|
5146
5146
|
if (args.inputChar === "\xA9" || optionOrMeta && (args.inputChar === "g" || args.inputChar === "G")) {
|
|
5147
5147
|
return "externalEditor";
|
|
5148
5148
|
}
|
|
5149
|
-
if (args.inputChar === "\
|
|
5149
|
+
if (args.inputChar === "\u222B" || optionOrMeta && (args.inputChar === "b" || args.inputChar === "B") || args.key.ctrl && (args.inputChar === "b" || args.inputChar === "B")) {
|
|
5150
5150
|
return "bashModeToggle";
|
|
5151
5151
|
}
|
|
5152
5152
|
return null;
|
|
@@ -5534,12 +5534,12 @@ async function processUserInput(input, mode, setToolJSX, context, pastedImages)
|
|
|
5534
5534
|
${input}` : input;
|
|
5535
5535
|
if (processedInput.includes("!`") || processedInput.includes("@")) {
|
|
5536
5536
|
try {
|
|
5537
|
-
const { executeBashCommands } = await import("./customCommands-
|
|
5537
|
+
const { executeBashCommands } = await import("./customCommands-UNKKV63I.js");
|
|
5538
5538
|
if (processedInput.includes("!`")) {
|
|
5539
5539
|
processedInput = await executeBashCommands(processedInput);
|
|
5540
5540
|
}
|
|
5541
5541
|
if (processedInput.includes("@")) {
|
|
5542
|
-
const { processMentions } = await import("./mentionProcessor-
|
|
5542
|
+
const { processMentions } = await import("./mentionProcessor-XW4HAFQP.js");
|
|
5543
5543
|
await processMentions(processedInput);
|
|
5544
5544
|
}
|
|
5545
5545
|
} catch (error) {
|
|
@@ -5720,7 +5720,7 @@ function extractMessageText(content) {
|
|
|
5720
5720
|
}
|
|
5721
5721
|
async function interpretHashCommand(input) {
|
|
5722
5722
|
try {
|
|
5723
|
-
const { queryQuick } = await import("./llm-
|
|
5723
|
+
const { queryQuick } = await import("./llm-K37L4HUD.js");
|
|
5724
5724
|
const systemPrompt = [
|
|
5725
5725
|
"You're helping the user structure notes that will be added to their AGENTS.md file.",
|
|
5726
5726
|
"Format the user's input into a well-structured note that will be useful for later reference.",
|
|
@@ -9712,7 +9712,7 @@ function ShortcutsScreen({ onDone }) {
|
|
|
9712
9712
|
paddingY: layout.paddingY,
|
|
9713
9713
|
gap: layout.gap
|
|
9714
9714
|
},
|
|
9715
|
-
/* @__PURE__ */ React72.createElement(Box54, { flexDirection: "row", gap: Math.max(2, layout.gap), paddingX: 1 }, /* @__PURE__ */ React72.createElement(Box54, { flexDirection: "column", width: leftWidth }, /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "! for bash mode"), /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "/ for commands"), /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "@ for file paths"), /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "& for background")), /* @__PURE__ */ React72.createElement(Box54, { flexDirection: "column", width: middleWidth }, /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "double tap esc to clear input"), /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, modeCycleShortcut.displayText.replace("+", " + "), " to auto-accept edits"), /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "ctrl + o for transcript output"), /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "ctrl + t to show todos"), /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "shift + enter for newline")), /* @__PURE__ */ React72.createElement(Box54, { flexDirection: "column" }, /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "ctrl + _ to undo"), /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "ctrl + v to paste images"), /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "alt +
|
|
9715
|
+
/* @__PURE__ */ React72.createElement(Box54, { flexDirection: "row", gap: Math.max(2, layout.gap), paddingX: 1 }, /* @__PURE__ */ React72.createElement(Box54, { flexDirection: "column", width: leftWidth }, /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "! for bash mode"), /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "/ for commands"), /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "@ for file paths"), /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "& for background"), /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "ctrl/opt + b bash mode")), /* @__PURE__ */ React72.createElement(Box54, { flexDirection: "column", width: middleWidth }, /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "double tap esc to clear input"), /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, modeCycleShortcut.displayText.replace("+", " + "), " to auto-accept edits"), /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "ctrl + o for transcript output"), /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "ctrl + t to show todos"), /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "shift + enter for newline")), /* @__PURE__ */ React72.createElement(Box54, { flexDirection: "column" }, /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "ctrl + _ to undo"), /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "ctrl + v to paste images"), /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "ctrl/alt + m switch model"), /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "ctrl + s to stash prompt"), /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, /* @__PURE__ */ React72.createElement(Text57, { color: theme.secondaryText }, "Esc"), " to close")))
|
|
9716
9716
|
);
|
|
9717
9717
|
}
|
|
9718
9718
|
|
|
@@ -10946,7 +10946,7 @@ function useReplController(props) {
|
|
|
10946
10946
|
(async () => {
|
|
10947
10947
|
try {
|
|
10948
10948
|
const [{ getLatestVersion, getUpdateCommandSuggestions }, semverMod] = await Promise.all([
|
|
10949
|
-
import("./autoUpdater-
|
|
10949
|
+
import("./autoUpdater-ZG6A77IQ.js"),
|
|
10950
10950
|
import("semver")
|
|
10951
10951
|
]);
|
|
10952
10952
|
const semverModule = semverMod;
|
|
@@ -11477,7 +11477,7 @@ function useReplController(props) {
|
|
|
11477
11477
|
ModelConfig,
|
|
11478
11478
|
{
|
|
11479
11479
|
onClose: () => {
|
|
11480
|
-
import("./model-
|
|
11480
|
+
import("./model-FWF45MLA.js").then(
|
|
11481
11481
|
({ reloadModelManager }) => {
|
|
11482
11482
|
reloadModelManager();
|
|
11483
11483
|
triggerModelConfigChange();
|
|
@@ -11609,7 +11609,7 @@ function useReplController(props) {
|
|
|
11609
11609
|
);
|
|
11610
11610
|
void (async () => {
|
|
11611
11611
|
try {
|
|
11612
|
-
const { getCommands } = await import("./registry-
|
|
11612
|
+
const { getCommands } = await import("./registry-PWTADTKL.js");
|
|
11613
11613
|
const next = await getCommands();
|
|
11614
11614
|
if (cancelled) return;
|
|
11615
11615
|
setCommands(next);
|