@shareai-lab/kode 2.1.7 → 2.1.9
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-3L35GQEA.js → Doctor-MQAVNQVV.js} +9 -9
- package/dist/chunks/{LogList-JRBIMZK3.js → LogList-OQU4S5DC.js} +7 -7
- package/dist/chunks/{REPL-Z7OH54ZY.js → REPL-EXMCMS64.js} +36 -36
- package/dist/chunks/{ResumeConversation-FBJEGMQU.js → ResumeConversation-DYQOK353.js} +38 -38
- package/dist/chunks/{agentLoader-5P4SDNYY.js → agentLoader-HRC2W3LQ.js} +5 -5
- package/dist/chunks/{agentsValidate-MIUUPRQH.js → agentsValidate-BGSOMOGV.js} +6 -6
- package/dist/chunks/{ask-OTK6JY6Y.js → ask-OGEFXA3X.js} +16 -16
- package/dist/chunks/{autoUpdater-KLQX5DHG.js → autoUpdater-D33RC4LV.js} +4 -4
- package/dist/chunks/{chunk-MIIJHURF.js → chunk-2ARLOUNE.js} +1 -1
- package/dist/chunks/{chunk-IIU3EEO6.js → chunk-3VCAZEQV.js} +1 -1
- package/dist/chunks/{chunk-MN7PCCBR.js → chunk-45QBCJMS.js} +2 -2
- package/dist/chunks/{chunk-YVPUEUBP.js → chunk-4FTJKVK3.js} +2 -2
- package/dist/chunks/{chunk-UOCIKFUW.js → chunk-4NXBARXG.js} +4 -4
- package/dist/chunks/{chunk-5CWBMOLZ.js → chunk-A2TUNSNT.js} +4 -4
- package/dist/chunks/{chunk-OHI43FZV.js → chunk-B57WEZPI.js} +34 -31
- package/dist/chunks/{chunk-OHI43FZV.js.map → chunk-B57WEZPI.js.map} +2 -2
- package/dist/chunks/{chunk-2UAFIDOG.js → chunk-C7BDJHHW.js} +2 -2
- package/dist/chunks/{chunk-GAENNHAB.js → chunk-DCOBVCXJ.js} +2 -2
- package/dist/chunks/{chunk-S2XSG5L7.js → chunk-DN4XRO46.js} +1 -1
- package/dist/chunks/{chunk-NVIIGNRI.js → chunk-DZI7XHOK.js} +1 -1
- package/dist/chunks/{chunk-JZ6TDDXP.js → chunk-EDKYFO7G.js} +1 -1
- package/dist/chunks/{chunk-T3SKZPKI.js → chunk-ESVOIGP3.js} +3 -3
- package/dist/chunks/{chunk-PHBGBKGF.js → chunk-EWKHPP5R.js} +1 -1
- package/dist/chunks/{chunk-NCTAWXV7.js → chunk-FGL2MNAF.js} +1 -1
- package/dist/chunks/{chunk-NJQA5TMT.js → chunk-FSQNWU5B.js} +2 -2
- package/dist/chunks/{chunk-L3G2KW3R.js → chunk-H7WZVHPF.js} +3 -3
- package/dist/chunks/{chunk-C7NZLWIA.js → chunk-HPWKS7QV.js} +1 -1
- package/dist/chunks/{chunk-QMZROKLT.js → chunk-HRK3FZHR.js} +2 -2
- package/dist/chunks/{chunk-6GWQEETK.js → chunk-IVLSQRMD.js} +4 -4
- package/dist/chunks/{chunk-2ZW3X7UO.js → chunk-KIMA3A2O.js} +7 -7
- package/dist/chunks/{chunk-RENQ7FKI.js → chunk-KNZLROJS.js} +5 -5
- package/dist/chunks/{chunk-P7DGVS3A.js → chunk-KU7XEKPB.js} +34 -32
- package/dist/chunks/chunk-KU7XEKPB.js.map +7 -0
- package/dist/chunks/{chunk-HZHMIZGJ.js → chunk-KWYR4ETH.js} +2 -2
- package/dist/chunks/{chunk-Q5UM4EKB.js → chunk-OHN3TR2T.js} +1 -1
- package/dist/chunks/{chunk-7XYEUUGY.js → chunk-OYRT3NH2.js} +1 -1
- package/dist/chunks/{chunk-3C435W3Q.js → chunk-Q2OD2PQH.js} +19 -19
- package/dist/chunks/{chunk-X3FNDZH3.js → chunk-Q4LGLYLO.js} +1 -1
- package/dist/chunks/{chunk-STJ7IA4I.js → chunk-RAUIKUKC.js} +4 -4
- package/dist/chunks/{chunk-I3BXG3L6.js → chunk-TOPPHOOC.js} +2 -2
- package/dist/chunks/{chunk-JQ4UWMEI.js → chunk-ULLZ75SI.js} +3 -3
- package/dist/chunks/{chunk-DEQKKV43.js → chunk-VXBMYN4D.js} +2 -2
- package/dist/chunks/{chunk-AIFYUWAJ.js → chunk-X2XPITYZ.js} +1 -1
- package/dist/chunks/{chunk-L2KQYYWQ.js → chunk-XABIWF4Q.js} +10 -10
- package/dist/chunks/{chunk-K5RJXSIY.js → chunk-XP46BN3B.js} +3 -3
- package/dist/chunks/{chunk-2KPPALZS.js → chunk-XV7OMY3F.js} +12 -10
- package/dist/chunks/chunk-XV7OMY3F.js.map +7 -0
- package/dist/chunks/{chunk-NQXQWWU7.js → chunk-XXR7FHCW.js} +5 -5
- package/dist/chunks/{chunk-5X2WIGMG.js → chunk-YDKWMOMS.js} +1 -1
- package/dist/chunks/{chunk-5X2WIGMG.js.map → chunk-YDKWMOMS.js.map} +1 -1
- package/dist/chunks/{chunk-VLC7N6VV.js → chunk-YL2FWZAZ.js} +1 -1
- package/dist/chunks/{chunk-QPVADKH4.js → chunk-ZXARH4O7.js} +2 -2
- package/dist/chunks/{client-CQTZ2TDK.js → client-PZJCCQAC.js} +5 -5
- package/dist/chunks/{customCommands-JX4IHR6N.js → customCommands-7DTMDVCZ.js} +5 -5
- package/dist/chunks/{engine-5XVTLRCC.js → engine-JTZXBMDE.js} +15 -15
- package/dist/chunks/{env-AC3HPJYK.js → env-PPTM6ME3.js} +3 -3
- package/dist/chunks/{kodeAgentSessionLoad-OCDNJBDW.js → kodeAgentSessionLoad-AYMG4UYD.js} +3 -3
- package/dist/chunks/{kodeAgentSessionResume-MX2JYZWS.js → kodeAgentSessionResume-3QJMMEXR.js} +3 -3
- package/dist/chunks/{kodeHooks-FG4H3PCA.js → kodeHooks-KTW3RP46.js} +4 -4
- package/dist/chunks/{llm-LWWXFYJV.js → llm-GRMI5IZK.js} +13 -13
- package/dist/chunks/{llmLazy-57BHTMWO.js → llmLazy-SL427CLA.js} +1 -1
- package/dist/chunks/{mcpCli-ACYQDE2P.js → mcpCli-DRCGYYFR.js} +5 -5
- package/dist/chunks/{mentionProcessor-WGFUC4CO.js → mentionProcessor-QP6WDK4N.js} +6 -6
- package/dist/chunks/{model-C6XJELK3.js → model-LNINTLVV.js} +5 -5
- package/dist/chunks/{openai-YPCUNJV6.js → openai-CLV62WYJ.js} +5 -5
- package/dist/chunks/{permissions-R7ISL4FQ.js → permissions-WPEILJHH.js} +6 -6
- package/dist/chunks/{pluginRuntime-O5S4YTHA.js → pluginRuntime-2HV2LLCJ.js} +3 -3
- package/dist/chunks/{pluginValidation-UO7G2L6E.js → pluginValidation-PGXSXDHM.js} +7 -7
- package/dist/chunks/{registry-H6Z7RGKW.js → registry-R7SDG4PW.js} +29 -29
- package/dist/chunks/{ripgrep-ZQQGUPQG.js → ripgrep-3QNFXKPG.js} +4 -4
- package/dist/chunks/{runNonTextPrintMode-3C22ZQVQ.js → runNonTextPrintMode-7APSU4MP.js} +9 -9
- package/dist/chunks/{server-4XRF6KBY.js → server-EKOHOKCZ.js} +25 -25
- package/dist/chunks/{server-JEVQGAGS.js → server-R3JC23CJ.js} +27 -27
- package/dist/chunks/{skillMarketplace-DY2BV5DL.js → skillMarketplace-VGQ2ON4L.js} +4 -4
- package/dist/chunks/{src-KGXLCQ5T.js → src-EXFZSPOT.js} +70 -70
- package/dist/chunks/{src-CE25ME6Y.js → src-N4LNNBNB.js} +27 -27
- package/dist/chunks/{src-WIIICKMW.js → src-VMR25VLE.js} +24 -24
- package/dist/chunks/{thinking-4KNMONEN.js → thinking-IHIHU3CR.js} +6 -6
- package/dist/chunks/{toolPermissionSettings-EX3GBT7L.js → toolPermissionSettings-WS6CDC6N.js} +4 -4
- package/dist/chunks/{webOnlyMode-RKACEWYY.js → webOnlyMode-WSL3N3XF.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 +8 -4
- package/dist/sdk/tools.cjs.map +2 -2
- package/dist/sdk/tools.js +8 -4
- package/dist/sdk/tools.js.map +2 -2
- package/package.json +1 -1
- package/dist/chunks/chunk-2KPPALZS.js.map +0 -7
- package/dist/chunks/chunk-P7DGVS3A.js.map +0 -7
- /package/dist/chunks/{Doctor-3L35GQEA.js.map → Doctor-MQAVNQVV.js.map} +0 -0
- /package/dist/chunks/{LogList-JRBIMZK3.js.map → LogList-OQU4S5DC.js.map} +0 -0
- /package/dist/chunks/{REPL-Z7OH54ZY.js.map → REPL-EXMCMS64.js.map} +0 -0
- /package/dist/chunks/{ResumeConversation-FBJEGMQU.js.map → ResumeConversation-DYQOK353.js.map} +0 -0
- /package/dist/chunks/{agentLoader-5P4SDNYY.js.map → agentLoader-HRC2W3LQ.js.map} +0 -0
- /package/dist/chunks/{agentsValidate-MIUUPRQH.js.map → agentsValidate-BGSOMOGV.js.map} +0 -0
- /package/dist/chunks/{ask-OTK6JY6Y.js.map → ask-OGEFXA3X.js.map} +0 -0
- /package/dist/chunks/{autoUpdater-KLQX5DHG.js.map → autoUpdater-D33RC4LV.js.map} +0 -0
- /package/dist/chunks/{chunk-MIIJHURF.js.map → chunk-2ARLOUNE.js.map} +0 -0
- /package/dist/chunks/{chunk-IIU3EEO6.js.map → chunk-3VCAZEQV.js.map} +0 -0
- /package/dist/chunks/{chunk-MN7PCCBR.js.map → chunk-45QBCJMS.js.map} +0 -0
- /package/dist/chunks/{chunk-YVPUEUBP.js.map → chunk-4FTJKVK3.js.map} +0 -0
- /package/dist/chunks/{chunk-UOCIKFUW.js.map → chunk-4NXBARXG.js.map} +0 -0
- /package/dist/chunks/{chunk-5CWBMOLZ.js.map → chunk-A2TUNSNT.js.map} +0 -0
- /package/dist/chunks/{chunk-2UAFIDOG.js.map → chunk-C7BDJHHW.js.map} +0 -0
- /package/dist/chunks/{chunk-GAENNHAB.js.map → chunk-DCOBVCXJ.js.map} +0 -0
- /package/dist/chunks/{chunk-S2XSG5L7.js.map → chunk-DN4XRO46.js.map} +0 -0
- /package/dist/chunks/{chunk-NVIIGNRI.js.map → chunk-DZI7XHOK.js.map} +0 -0
- /package/dist/chunks/{chunk-JZ6TDDXP.js.map → chunk-EDKYFO7G.js.map} +0 -0
- /package/dist/chunks/{chunk-T3SKZPKI.js.map → chunk-ESVOIGP3.js.map} +0 -0
- /package/dist/chunks/{chunk-PHBGBKGF.js.map → chunk-EWKHPP5R.js.map} +0 -0
- /package/dist/chunks/{chunk-NCTAWXV7.js.map → chunk-FGL2MNAF.js.map} +0 -0
- /package/dist/chunks/{chunk-NJQA5TMT.js.map → chunk-FSQNWU5B.js.map} +0 -0
- /package/dist/chunks/{chunk-L3G2KW3R.js.map → chunk-H7WZVHPF.js.map} +0 -0
- /package/dist/chunks/{chunk-C7NZLWIA.js.map → chunk-HPWKS7QV.js.map} +0 -0
- /package/dist/chunks/{chunk-QMZROKLT.js.map → chunk-HRK3FZHR.js.map} +0 -0
- /package/dist/chunks/{chunk-6GWQEETK.js.map → chunk-IVLSQRMD.js.map} +0 -0
- /package/dist/chunks/{chunk-2ZW3X7UO.js.map → chunk-KIMA3A2O.js.map} +0 -0
- /package/dist/chunks/{chunk-RENQ7FKI.js.map → chunk-KNZLROJS.js.map} +0 -0
- /package/dist/chunks/{chunk-HZHMIZGJ.js.map → chunk-KWYR4ETH.js.map} +0 -0
- /package/dist/chunks/{chunk-Q5UM4EKB.js.map → chunk-OHN3TR2T.js.map} +0 -0
- /package/dist/chunks/{chunk-7XYEUUGY.js.map → chunk-OYRT3NH2.js.map} +0 -0
- /package/dist/chunks/{chunk-3C435W3Q.js.map → chunk-Q2OD2PQH.js.map} +0 -0
- /package/dist/chunks/{chunk-X3FNDZH3.js.map → chunk-Q4LGLYLO.js.map} +0 -0
- /package/dist/chunks/{chunk-STJ7IA4I.js.map → chunk-RAUIKUKC.js.map} +0 -0
- /package/dist/chunks/{chunk-I3BXG3L6.js.map → chunk-TOPPHOOC.js.map} +0 -0
- /package/dist/chunks/{chunk-JQ4UWMEI.js.map → chunk-ULLZ75SI.js.map} +0 -0
- /package/dist/chunks/{chunk-DEQKKV43.js.map → chunk-VXBMYN4D.js.map} +0 -0
- /package/dist/chunks/{chunk-AIFYUWAJ.js.map → chunk-X2XPITYZ.js.map} +0 -0
- /package/dist/chunks/{chunk-L2KQYYWQ.js.map → chunk-XABIWF4Q.js.map} +0 -0
- /package/dist/chunks/{chunk-K5RJXSIY.js.map → chunk-XP46BN3B.js.map} +0 -0
- /package/dist/chunks/{chunk-NQXQWWU7.js.map → chunk-XXR7FHCW.js.map} +0 -0
- /package/dist/chunks/{chunk-VLC7N6VV.js.map → chunk-YL2FWZAZ.js.map} +0 -0
- /package/dist/chunks/{chunk-QPVADKH4.js.map → chunk-ZXARH4O7.js.map} +0 -0
- /package/dist/chunks/{client-CQTZ2TDK.js.map → client-PZJCCQAC.js.map} +0 -0
- /package/dist/chunks/{customCommands-JX4IHR6N.js.map → customCommands-7DTMDVCZ.js.map} +0 -0
- /package/dist/chunks/{engine-5XVTLRCC.js.map → engine-JTZXBMDE.js.map} +0 -0
- /package/dist/chunks/{env-AC3HPJYK.js.map → env-PPTM6ME3.js.map} +0 -0
- /package/dist/chunks/{kodeAgentSessionLoad-OCDNJBDW.js.map → kodeAgentSessionLoad-AYMG4UYD.js.map} +0 -0
- /package/dist/chunks/{kodeAgentSessionResume-MX2JYZWS.js.map → kodeAgentSessionResume-3QJMMEXR.js.map} +0 -0
- /package/dist/chunks/{kodeHooks-FG4H3PCA.js.map → kodeHooks-KTW3RP46.js.map} +0 -0
- /package/dist/chunks/{llm-LWWXFYJV.js.map → llm-GRMI5IZK.js.map} +0 -0
- /package/dist/chunks/{llmLazy-57BHTMWO.js.map → llmLazy-SL427CLA.js.map} +0 -0
- /package/dist/chunks/{mcpCli-ACYQDE2P.js.map → mcpCli-DRCGYYFR.js.map} +0 -0
- /package/dist/chunks/{mentionProcessor-WGFUC4CO.js.map → mentionProcessor-QP6WDK4N.js.map} +0 -0
- /package/dist/chunks/{model-C6XJELK3.js.map → model-LNINTLVV.js.map} +0 -0
- /package/dist/chunks/{openai-YPCUNJV6.js.map → openai-CLV62WYJ.js.map} +0 -0
- /package/dist/chunks/{permissions-R7ISL4FQ.js.map → permissions-WPEILJHH.js.map} +0 -0
- /package/dist/chunks/{pluginRuntime-O5S4YTHA.js.map → pluginRuntime-2HV2LLCJ.js.map} +0 -0
- /package/dist/chunks/{pluginValidation-UO7G2L6E.js.map → pluginValidation-PGXSXDHM.js.map} +0 -0
- /package/dist/chunks/{registry-H6Z7RGKW.js.map → registry-R7SDG4PW.js.map} +0 -0
- /package/dist/chunks/{ripgrep-ZQQGUPQG.js.map → ripgrep-3QNFXKPG.js.map} +0 -0
- /package/dist/chunks/{runNonTextPrintMode-3C22ZQVQ.js.map → runNonTextPrintMode-7APSU4MP.js.map} +0 -0
- /package/dist/chunks/{server-4XRF6KBY.js.map → server-EKOHOKCZ.js.map} +0 -0
- /package/dist/chunks/{server-JEVQGAGS.js.map → server-R3JC23CJ.js.map} +0 -0
- /package/dist/chunks/{skillMarketplace-DY2BV5DL.js.map → skillMarketplace-VGQ2ON4L.js.map} +0 -0
- /package/dist/chunks/{src-KGXLCQ5T.js.map → src-EXFZSPOT.js.map} +0 -0
- /package/dist/chunks/{src-CE25ME6Y.js.map → src-N4LNNBNB.js.map} +0 -0
- /package/dist/chunks/{src-WIIICKMW.js.map → src-VMR25VLE.js.map} +0 -0
- /package/dist/chunks/{thinking-4KNMONEN.js.map → thinking-IHIHU3CR.js.map} +0 -0
- /package/dist/chunks/{toolPermissionSettings-EX3GBT7L.js.map → toolPermissionSettings-WS6CDC6N.js.map} +0 -0
- /package/dist/chunks/{webOnlyMode-RKACEWYY.js.map → webOnlyMode-WSL3N3XF.js.map} +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
buildSystemPromptForSession,
|
|
8
8
|
runTurn
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4FTJKVK3.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-KU7XEKPB.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-XV7OMY3F.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-OHN3TR2T.js";
|
|
47
47
|
import {
|
|
48
48
|
Doctor,
|
|
49
49
|
KEYPRESS_PRIORITY
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-C7BDJHHW.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-ZXARH4O7.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-H7WZVHPF.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-Q2OD2PQH.js";
|
|
104
104
|
import {
|
|
105
105
|
countTokens,
|
|
106
106
|
getBinaryFeedbackResultForChoice,
|
|
107
107
|
logBinaryFeedbackEvent,
|
|
108
108
|
resolveToolNameAlias
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-XABIWF4Q.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-RAUIKUKC.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-A2TUNSNT.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-FSQNWU5B.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-IVLSQRMD.js";
|
|
158
158
|
import {
|
|
159
159
|
resolveToolDescription
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-XP46BN3B.js";
|
|
161
161
|
import {
|
|
162
162
|
getCodeStyle,
|
|
163
163
|
getContext
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-ESVOIGP3.js";
|
|
165
165
|
import {
|
|
166
166
|
resetReminderSession
|
|
167
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-KWYR4ETH.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-VXBMYN4D.js";
|
|
214
214
|
import {
|
|
215
215
|
getMaxThinkingTokens
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-DN4XRO46.js";
|
|
217
217
|
import {
|
|
218
218
|
getModelManager
|
|
219
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-TOPPHOOC.js";
|
|
220
220
|
import {
|
|
221
221
|
debug
|
|
222
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-OYRT3NH2.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-X2XPITYZ.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-FGL2MNAF.js";
|
|
244
244
|
import {
|
|
245
245
|
getKodeAgentSessionId
|
|
246
246
|
} from "./chunk-SWQV4KSY.js";
|
|
@@ -5132,18 +5132,21 @@ function useUndoBuffer(args) {
|
|
|
5132
5132
|
}
|
|
5133
5133
|
|
|
5134
5134
|
// apps/cli/src/ui/utils/promptInputSpecialKey.ts
|
|
5135
|
+
var CTRL_B_CODE = 2;
|
|
5136
|
+
var CTRL_G_CODE = 7;
|
|
5135
5137
|
function getPromptInputSpecialKeyAction(args) {
|
|
5136
5138
|
if (args.modeCycleShortcut.check(args.inputChar, args.key)) {
|
|
5137
5139
|
return "modeCycle";
|
|
5138
5140
|
}
|
|
5139
5141
|
const optionOrMeta = Boolean(args.key.meta) || Boolean(args.key.option);
|
|
5142
|
+
const charCode = args.inputChar.length === 1 ? args.inputChar.charCodeAt(0) : -1;
|
|
5140
5143
|
if (args.inputChar === "\xB5" || args.inputChar === "\u03BC" || optionOrMeta && (args.inputChar === "m" || args.inputChar === "M") || args.key.ctrl && (args.inputChar === "m" || args.inputChar === "M")) {
|
|
5141
5144
|
return "modelSwitch";
|
|
5142
5145
|
}
|
|
5143
|
-
if (
|
|
5146
|
+
if (charCode === CTRL_G_CODE || args.inputChar === "\xA9" || args.key.ctrl && (args.inputChar === "g" || args.inputChar === "G") || optionOrMeta && (args.inputChar === "g" || args.inputChar === "G")) {
|
|
5144
5147
|
return "externalEditor";
|
|
5145
5148
|
}
|
|
5146
|
-
if (
|
|
5149
|
+
if (charCode === CTRL_B_CODE || args.inputChar === "\u222B" || args.key.ctrl && (args.inputChar === "b" || args.inputChar === "B") || optionOrMeta && (args.inputChar === "b" || args.inputChar === "B")) {
|
|
5147
5150
|
return "bashModeToggle";
|
|
5148
5151
|
}
|
|
5149
5152
|
return null;
|
|
@@ -5531,12 +5534,12 @@ async function processUserInput(input, mode, setToolJSX, context, pastedImages)
|
|
|
5531
5534
|
${input}` : input;
|
|
5532
5535
|
if (processedInput.includes("!`") || processedInput.includes("@")) {
|
|
5533
5536
|
try {
|
|
5534
|
-
const { executeBashCommands } = await import("./customCommands-
|
|
5537
|
+
const { executeBashCommands } = await import("./customCommands-7DTMDVCZ.js");
|
|
5535
5538
|
if (processedInput.includes("!`")) {
|
|
5536
5539
|
processedInput = await executeBashCommands(processedInput);
|
|
5537
5540
|
}
|
|
5538
5541
|
if (processedInput.includes("@")) {
|
|
5539
|
-
const { processMentions } = await import("./mentionProcessor-
|
|
5542
|
+
const { processMentions } = await import("./mentionProcessor-QP6WDK4N.js");
|
|
5540
5543
|
await processMentions(processedInput);
|
|
5541
5544
|
}
|
|
5542
5545
|
} catch (error) {
|
|
@@ -5717,7 +5720,7 @@ function extractMessageText(content) {
|
|
|
5717
5720
|
}
|
|
5718
5721
|
async function interpretHashCommand(input) {
|
|
5719
5722
|
try {
|
|
5720
|
-
const { queryQuick } = await import("./llm-
|
|
5723
|
+
const { queryQuick } = await import("./llm-GRMI5IZK.js");
|
|
5721
5724
|
const systemPrompt = [
|
|
5722
5725
|
"You're helping the user structure notes that will be added to their AGENTS.md file.",
|
|
5723
5726
|
"Format the user's input into a well-structured note that will be useful for later reference.",
|
|
@@ -9709,7 +9712,7 @@ function ShortcutsScreen({ onDone }) {
|
|
|
9709
9712
|
paddingY: layout.paddingY,
|
|
9710
9713
|
gap: layout.gap
|
|
9711
9714
|
},
|
|
9712
|
-
/* @__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
|
|
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/ctrl + enter 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/opt + m switch model"), /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, "ctrl/opt + g ext editor"), /* @__PURE__ */ React72.createElement(Text57, { dimColor: true }, /* @__PURE__ */ React72.createElement(Text57, { color: theme.secondaryText }, "Esc"), " to close")))
|
|
9713
9716
|
);
|
|
9714
9717
|
}
|
|
9715
9718
|
|
|
@@ -10943,7 +10946,7 @@ function useReplController(props) {
|
|
|
10943
10946
|
(async () => {
|
|
10944
10947
|
try {
|
|
10945
10948
|
const [{ getLatestVersion, getUpdateCommandSuggestions }, semverMod] = await Promise.all([
|
|
10946
|
-
import("./autoUpdater-
|
|
10949
|
+
import("./autoUpdater-D33RC4LV.js"),
|
|
10947
10950
|
import("semver")
|
|
10948
10951
|
]);
|
|
10949
10952
|
const semverModule = semverMod;
|
|
@@ -11474,7 +11477,7 @@ function useReplController(props) {
|
|
|
11474
11477
|
ModelConfig,
|
|
11475
11478
|
{
|
|
11476
11479
|
onClose: () => {
|
|
11477
|
-
import("./model-
|
|
11480
|
+
import("./model-LNINTLVV.js").then(
|
|
11478
11481
|
({ reloadModelManager }) => {
|
|
11479
11482
|
reloadModelManager();
|
|
11480
11483
|
triggerModelConfigChange();
|
|
@@ -11606,7 +11609,7 @@ function useReplController(props) {
|
|
|
11606
11609
|
);
|
|
11607
11610
|
void (async () => {
|
|
11608
11611
|
try {
|
|
11609
|
-
const { getCommands } = await import("./registry-
|
|
11612
|
+
const { getCommands } = await import("./registry-R7SDG4PW.js");
|
|
11610
11613
|
const next = await getCommands();
|
|
11611
11614
|
if (cancelled) return;
|
|
11612
11615
|
setCommands(next);
|