@shareai-lab/kode 2.1.0 → 2.1.2
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-AES5ON33.js → Doctor-TWRIVOVW.js} +13 -13
- package/dist/chunks/{LogList-PQJEJHHE.js → LogList-PUTPM24L.js} +10 -10
- package/dist/chunks/REPL-YGIR5VXC.js +78 -0
- package/dist/chunks/{ResumeConversation-OWQ3DB4M.js → ResumeConversation-IJMKQXBU.js} +44 -44
- package/dist/chunks/{ScreenFrame-AGLR6B4D.js → ScreenFrame-PQJRZ5DQ.js} +2 -2
- package/dist/chunks/{agentLoader-BMWB4UKI.js → agentLoader-GOYNJTAO.js} +5 -5
- package/dist/chunks/{agentsValidate-LSMJSFYW.js → agentsValidate-R26AKPAA.js} +6 -6
- package/dist/chunks/{ask-3TSZR6AJ.js → ask-6SYVJONJ.js} +18 -18
- package/dist/chunks/{autoUpdater-MEPC7LJF.js → autoUpdater-SDLJ5QSH.js} +4 -4
- package/dist/chunks/{chunk-NC3RX5AB.js → chunk-2B2TR2S3.js} +4 -4
- package/dist/chunks/{chunk-HDEYMVIJ.js → chunk-437YGKVA.js} +2 -2
- package/dist/chunks/{chunk-WGMKKKS2.js → chunk-4BBWDSDC.js} +1 -1
- package/dist/chunks/{chunk-KKOES3YK.js → chunk-4T5LR4P5.js} +55 -116
- package/dist/chunks/chunk-4T5LR4P5.js.map +7 -0
- package/dist/chunks/{chunk-PMC3BZ3M.js → chunk-5HZWM4JB.js} +1 -1
- package/dist/chunks/{chunk-REQTXUXO.js → chunk-5LBRVQT5.js} +1 -1
- package/dist/chunks/{chunk-BEDQTC44.js → chunk-5LL33G6X.js} +2 -2
- package/dist/chunks/{chunk-YUXYJB45.js → chunk-5RCVEFJS.js} +19 -8
- package/dist/chunks/chunk-5RCVEFJS.js.map +7 -0
- package/dist/chunks/{chunk-MDCOIZVX.js → chunk-6C6VNA2D.js} +2 -2
- package/dist/chunks/{chunk-P77NF36M.js → chunk-6CAQXUDY.js} +1 -1
- package/dist/chunks/{chunk-DPQE5NA4.js → chunk-7SRIFZDJ.js} +1 -1
- package/dist/chunks/{chunk-TI2CTTMA.js → chunk-7ZC22R33.js} +1 -1
- package/dist/chunks/{chunk-EV56PDOI.js → chunk-AX3VXMUS.js} +1 -1
- package/dist/chunks/{chunk-5MVUCX6O.js → chunk-AZHJLRRP.js} +1 -1
- package/dist/chunks/{chunk-LIBZWJEW.js → chunk-BNSPVA24.js} +11 -10
- package/dist/chunks/chunk-BNSPVA24.js.map +7 -0
- package/dist/chunks/{chunk-Z3J3WJ2K.js → chunk-BPMYW5DT.js} +415 -414
- package/dist/chunks/chunk-BPMYW5DT.js.map +7 -0
- package/dist/chunks/{chunk-QBW7VU7C.js → chunk-DWKF6SQH.js} +3 -3
- package/dist/chunks/{chunk-4RVYYLN7.js → chunk-E4C4N7OV.js} +1 -1
- package/dist/chunks/{chunk-4RVYYLN7.js.map → chunk-E4C4N7OV.js.map} +1 -1
- package/dist/chunks/chunk-ESRGV7DC.js +34 -0
- package/dist/chunks/chunk-ESRGV7DC.js.map +7 -0
- package/dist/chunks/{chunk-VSKGDU73.js → chunk-FKWFR23G.js} +2 -2
- package/dist/chunks/{chunk-E6BU32L2.js → chunk-H5F7M5D3.js} +2 -2
- package/dist/chunks/{chunk-DZPD6H7A.js → chunk-JXYXMP2Q.js} +2 -2
- package/dist/chunks/{chunk-65FLXXMH.js → chunk-KA543BHH.js} +8 -8
- package/dist/chunks/{chunk-MEQ7TAT7.js → chunk-KHMXPPO7.js} +4 -4
- package/dist/chunks/{chunk-G5ET7GFB.js → chunk-KQV5FGSS.js} +5 -5
- package/dist/chunks/{chunk-DPVCHIF7.js → chunk-KRBZO255.js} +1 -1
- package/dist/chunks/{chunk-Y33AS3MY.js → chunk-L2LWCVUF.js} +21 -7
- package/dist/chunks/chunk-L2LWCVUF.js.map +7 -0
- package/dist/chunks/{chunk-EKXQ7ZWV.js → chunk-L5ZJIOEF.js} +4 -4
- package/dist/chunks/{chunk-UUJN5ZCN.js → chunk-LBHVWSUP.js} +2 -2
- package/dist/chunks/{chunk-GL6HUBBX.js → chunk-LKDMUCWA.js} +6 -6
- package/dist/chunks/{chunk-HJCYE2AS.js → chunk-LUZMHHQF.js} +10 -10
- package/dist/chunks/{chunk-MXFN7OSL.js → chunk-MOGUUWKG.js} +1 -1
- package/dist/chunks/{chunk-4UDKRYWZ.js → chunk-N4772IDQ.js} +3 -3
- package/dist/chunks/{chunk-TJMA65RL.js → chunk-N5AH66UG.js} +168 -23
- package/dist/chunks/chunk-N5AH66UG.js.map +7 -0
- package/dist/chunks/{chunk-JJ67KF6A.js → chunk-PTIAF6KF.js} +4 -4
- package/dist/chunks/{chunk-YUJB4WDK.js → chunk-PVMCLI36.js} +1 -1
- package/dist/chunks/{chunk-3TLVYEGW.js → chunk-RTGKCKD3.js} +1 -1
- package/dist/chunks/{chunk-AKC4BUW5.js → chunk-SOBWNYOW.js} +7 -6
- package/dist/chunks/chunk-SOBWNYOW.js.map +7 -0
- package/dist/chunks/{chunk-3DBNJOZI.js → chunk-SUNG5KP5.js} +1 -1
- package/dist/chunks/{chunk-VBGSHKHX.js → chunk-SVRXO73D.js} +16 -13
- package/dist/chunks/chunk-SVRXO73D.js.map +7 -0
- package/dist/chunks/{chunk-Q55CB4Y4.js → chunk-WE7CQGRG.js} +2 -2
- package/dist/chunks/{chunk-V3IXG64X.js → chunk-WOMV4RCI.js} +404 -446
- package/dist/chunks/chunk-WOMV4RCI.js.map +7 -0
- package/dist/chunks/{chunk-ZAT5BSQI.js → chunk-WVJMXIKQ.js} +12 -12
- package/dist/chunks/{chunk-ZAT5BSQI.js.map → chunk-WVJMXIKQ.js.map} +1 -1
- package/dist/chunks/{chunk-DELUVYKS.js → chunk-XVNEJVZC.js} +2 -2
- package/dist/chunks/{chunk-KDY7XYYS.js → chunk-YQ3YJSMI.js} +1 -1
- package/dist/chunks/{chunk-6CNJ3CYQ.js → chunk-YUZBVKVH.js} +3 -3
- package/dist/chunks/{chunk-VJ2QSQ3E.js → chunk-ZXOTOID7.js} +2 -2
- package/dist/chunks/{client-OWTJ7TPE.js → client-QUCHWMEW.js} +5 -5
- package/dist/chunks/{customCommands-FA6HRXXV.js → customCommands-S6YGRUED.js} +5 -5
- package/dist/chunks/{engine-UBCAVO7E.js → engine-FRDEQVDF.js} +17 -17
- package/dist/chunks/{env-JIMGBRE2.js → env-YH77MILU.js} +3 -3
- package/dist/chunks/{kodeAgentSessionLoad-BZRTCPMB.js → kodeAgentSessionLoad-TBPU4TWU.js} +3 -3
- package/dist/chunks/{kodeAgentSessionResume-V3WB3OWQ.js → kodeAgentSessionResume-3CNE5T6N.js} +3 -3
- package/dist/chunks/{kodeHooks-R3YHG4ZI.js → kodeHooks-6SWQE5W7.js} +4 -4
- package/dist/chunks/{llm-C4F2Q7I2.js → llm-PONI6QWH.js} +47 -20
- package/dist/chunks/llm-PONI6QWH.js.map +7 -0
- package/dist/chunks/{llmLazy-IBED5LIH.js → llmLazy-O4T62IIT.js} +1 -1
- package/dist/chunks/{mcpCli-A744Z3FL.js → mcpCli-HIA4I4GG.js} +5 -5
- package/dist/chunks/{mentionProcessor-VV6DN2LJ.js → mentionProcessor-HH4EF7BE.js} +6 -6
- package/dist/chunks/{messages-ZR64JVON.js → messages-WKWCZBGM.js} +1 -1
- package/dist/chunks/{model-NPMMYL2U.js → model-4EIFU5QN.js} +5 -5
- package/dist/chunks/{openai-FEBNBOGM.js → openai-KTBJ2KNZ.js} +5 -5
- package/dist/chunks/{permissions-34CRWMCH.js → permissions-C3N4DKS2.js} +7 -7
- package/dist/chunks/{pluginRuntime-7YBUMVFI.js → pluginRuntime-2FKZLVA5.js} +3 -3
- package/dist/chunks/{pluginValidation-NZ4LOT3Q.js → pluginValidation-X5NZZCFA.js} +7 -7
- package/dist/chunks/registry-3UVW32YF.js +68 -0
- package/dist/chunks/{responsesStreaming-JNGE2P3D.js → responsesStreaming-LB4THIUM.js} +2 -2
- package/dist/chunks/{ripgrep-KGHLK4RO.js → ripgrep-N7O6M4IE.js} +4 -4
- package/dist/chunks/{runNonTextPrintMode-U3TKEYYN.js → runNonTextPrintMode-YFWCUTWZ.js} +12 -12
- package/dist/chunks/server-3CICV7EL.js +59 -0
- package/dist/chunks/server-FRP7OT4H.js +61 -0
- package/dist/chunks/{skillMarketplace-PPPUBC4N.js → skillMarketplace-4Y2H4JFK.js} +4 -4
- package/dist/chunks/{src-TVS6YABL.js → src-IETAWKYR.js} +30 -30
- package/dist/chunks/{src-QST7UD2A.js → src-OB2HE3RX.js} +27 -27
- package/dist/chunks/{src-DB7GKD4L.js → src-Y2IM2VKU.js} +78 -78
- package/dist/chunks/{thinking-O7LIIMFW.js → thinking-XG3FB4HO.js} +6 -6
- package/dist/chunks/{toolPermissionContext-UWGATCUZ.js → toolPermissionContext-RFYFDINH.js} +1 -1
- package/dist/chunks/{toolPermissionSettings-WD7CB37T.js → toolPermissionSettings-EEFURGBO.js} +5 -5
- package/dist/chunks/{useScreenLayout-PKLCMNZD.js → useScreenLayout-OUGQRR4I.js} +2 -2
- package/dist/chunks/{webOnlyMode-GJ6PQCPU.js → webOnlyMode-FRQBIAXG.js} +1 -1
- package/dist/entrypoints/cli.js +1 -1
- package/dist/entrypoints/daemon.js +1 -1
- package/dist/entrypoints/mcp.js +28 -28
- package/dist/index.js +5 -5
- package/dist/sdk/core.cjs +93 -34
- package/dist/sdk/core.cjs.map +3 -3
- package/dist/sdk/core.js +96 -37
- package/dist/sdk/core.js.map +4 -4
- package/dist/sdk/tools.cjs +1787 -1748
- package/dist/sdk/tools.cjs.map +4 -4
- package/dist/sdk/tools.js +1611 -1572
- package/dist/sdk/tools.js.map +4 -4
- package/package.json +1 -1
- package/dist/chunks/REPL-KD7YOSI5.js +0 -78
- package/dist/chunks/chunk-AKC4BUW5.js.map +0 -7
- package/dist/chunks/chunk-KKOES3YK.js.map +0 -7
- package/dist/chunks/chunk-LIBZWJEW.js.map +0 -7
- package/dist/chunks/chunk-LOCXPQNJ.js +0 -20
- package/dist/chunks/chunk-LOCXPQNJ.js.map +0 -7
- package/dist/chunks/chunk-TJMA65RL.js.map +0 -7
- package/dist/chunks/chunk-V3IXG64X.js.map +0 -7
- package/dist/chunks/chunk-VBGSHKHX.js.map +0 -7
- package/dist/chunks/chunk-Y33AS3MY.js.map +0 -7
- package/dist/chunks/chunk-YUXYJB45.js.map +0 -7
- package/dist/chunks/chunk-Z3J3WJ2K.js.map +0 -7
- package/dist/chunks/llm-C4F2Q7I2.js.map +0 -7
- package/dist/chunks/registry-FHPZ36EO.js +0 -68
- package/dist/chunks/server-Y42VR6YJ.js +0 -59
- package/dist/chunks/server-ZSC5G3TU.js +0 -61
- /package/dist/chunks/{Doctor-AES5ON33.js.map → Doctor-TWRIVOVW.js.map} +0 -0
- /package/dist/chunks/{LogList-PQJEJHHE.js.map → LogList-PUTPM24L.js.map} +0 -0
- /package/dist/chunks/{REPL-KD7YOSI5.js.map → REPL-YGIR5VXC.js.map} +0 -0
- /package/dist/chunks/{ResumeConversation-OWQ3DB4M.js.map → ResumeConversation-IJMKQXBU.js.map} +0 -0
- /package/dist/chunks/{ScreenFrame-AGLR6B4D.js.map → ScreenFrame-PQJRZ5DQ.js.map} +0 -0
- /package/dist/chunks/{agentLoader-BMWB4UKI.js.map → agentLoader-GOYNJTAO.js.map} +0 -0
- /package/dist/chunks/{agentsValidate-LSMJSFYW.js.map → agentsValidate-R26AKPAA.js.map} +0 -0
- /package/dist/chunks/{ask-3TSZR6AJ.js.map → ask-6SYVJONJ.js.map} +0 -0
- /package/dist/chunks/{autoUpdater-MEPC7LJF.js.map → autoUpdater-SDLJ5QSH.js.map} +0 -0
- /package/dist/chunks/{chunk-NC3RX5AB.js.map → chunk-2B2TR2S3.js.map} +0 -0
- /package/dist/chunks/{chunk-HDEYMVIJ.js.map → chunk-437YGKVA.js.map} +0 -0
- /package/dist/chunks/{chunk-WGMKKKS2.js.map → chunk-4BBWDSDC.js.map} +0 -0
- /package/dist/chunks/{chunk-PMC3BZ3M.js.map → chunk-5HZWM4JB.js.map} +0 -0
- /package/dist/chunks/{chunk-REQTXUXO.js.map → chunk-5LBRVQT5.js.map} +0 -0
- /package/dist/chunks/{chunk-BEDQTC44.js.map → chunk-5LL33G6X.js.map} +0 -0
- /package/dist/chunks/{chunk-MDCOIZVX.js.map → chunk-6C6VNA2D.js.map} +0 -0
- /package/dist/chunks/{chunk-P77NF36M.js.map → chunk-6CAQXUDY.js.map} +0 -0
- /package/dist/chunks/{chunk-DPQE5NA4.js.map → chunk-7SRIFZDJ.js.map} +0 -0
- /package/dist/chunks/{chunk-TI2CTTMA.js.map → chunk-7ZC22R33.js.map} +0 -0
- /package/dist/chunks/{chunk-EV56PDOI.js.map → chunk-AX3VXMUS.js.map} +0 -0
- /package/dist/chunks/{chunk-5MVUCX6O.js.map → chunk-AZHJLRRP.js.map} +0 -0
- /package/dist/chunks/{chunk-QBW7VU7C.js.map → chunk-DWKF6SQH.js.map} +0 -0
- /package/dist/chunks/{chunk-VSKGDU73.js.map → chunk-FKWFR23G.js.map} +0 -0
- /package/dist/chunks/{chunk-E6BU32L2.js.map → chunk-H5F7M5D3.js.map} +0 -0
- /package/dist/chunks/{chunk-DZPD6H7A.js.map → chunk-JXYXMP2Q.js.map} +0 -0
- /package/dist/chunks/{chunk-65FLXXMH.js.map → chunk-KA543BHH.js.map} +0 -0
- /package/dist/chunks/{chunk-MEQ7TAT7.js.map → chunk-KHMXPPO7.js.map} +0 -0
- /package/dist/chunks/{chunk-G5ET7GFB.js.map → chunk-KQV5FGSS.js.map} +0 -0
- /package/dist/chunks/{chunk-DPVCHIF7.js.map → chunk-KRBZO255.js.map} +0 -0
- /package/dist/chunks/{chunk-EKXQ7ZWV.js.map → chunk-L5ZJIOEF.js.map} +0 -0
- /package/dist/chunks/{chunk-UUJN5ZCN.js.map → chunk-LBHVWSUP.js.map} +0 -0
- /package/dist/chunks/{chunk-GL6HUBBX.js.map → chunk-LKDMUCWA.js.map} +0 -0
- /package/dist/chunks/{chunk-HJCYE2AS.js.map → chunk-LUZMHHQF.js.map} +0 -0
- /package/dist/chunks/{chunk-MXFN7OSL.js.map → chunk-MOGUUWKG.js.map} +0 -0
- /package/dist/chunks/{chunk-4UDKRYWZ.js.map → chunk-N4772IDQ.js.map} +0 -0
- /package/dist/chunks/{chunk-JJ67KF6A.js.map → chunk-PTIAF6KF.js.map} +0 -0
- /package/dist/chunks/{chunk-YUJB4WDK.js.map → chunk-PVMCLI36.js.map} +0 -0
- /package/dist/chunks/{chunk-3TLVYEGW.js.map → chunk-RTGKCKD3.js.map} +0 -0
- /package/dist/chunks/{chunk-3DBNJOZI.js.map → chunk-SUNG5KP5.js.map} +0 -0
- /package/dist/chunks/{chunk-Q55CB4Y4.js.map → chunk-WE7CQGRG.js.map} +0 -0
- /package/dist/chunks/{chunk-DELUVYKS.js.map → chunk-XVNEJVZC.js.map} +0 -0
- /package/dist/chunks/{chunk-KDY7XYYS.js.map → chunk-YQ3YJSMI.js.map} +0 -0
- /package/dist/chunks/{chunk-6CNJ3CYQ.js.map → chunk-YUZBVKVH.js.map} +0 -0
- /package/dist/chunks/{chunk-VJ2QSQ3E.js.map → chunk-ZXOTOID7.js.map} +0 -0
- /package/dist/chunks/{client-OWTJ7TPE.js.map → client-QUCHWMEW.js.map} +0 -0
- /package/dist/chunks/{customCommands-FA6HRXXV.js.map → customCommands-S6YGRUED.js.map} +0 -0
- /package/dist/chunks/{engine-UBCAVO7E.js.map → engine-FRDEQVDF.js.map} +0 -0
- /package/dist/chunks/{env-JIMGBRE2.js.map → env-YH77MILU.js.map} +0 -0
- /package/dist/chunks/{kodeAgentSessionLoad-BZRTCPMB.js.map → kodeAgentSessionLoad-TBPU4TWU.js.map} +0 -0
- /package/dist/chunks/{kodeAgentSessionResume-V3WB3OWQ.js.map → kodeAgentSessionResume-3CNE5T6N.js.map} +0 -0
- /package/dist/chunks/{kodeHooks-R3YHG4ZI.js.map → kodeHooks-6SWQE5W7.js.map} +0 -0
- /package/dist/chunks/{llmLazy-IBED5LIH.js.map → llmLazy-O4T62IIT.js.map} +0 -0
- /package/dist/chunks/{mcpCli-A744Z3FL.js.map → mcpCli-HIA4I4GG.js.map} +0 -0
- /package/dist/chunks/{mentionProcessor-VV6DN2LJ.js.map → mentionProcessor-HH4EF7BE.js.map} +0 -0
- /package/dist/chunks/{messages-ZR64JVON.js.map → messages-WKWCZBGM.js.map} +0 -0
- /package/dist/chunks/{model-NPMMYL2U.js.map → model-4EIFU5QN.js.map} +0 -0
- /package/dist/chunks/{openai-FEBNBOGM.js.map → openai-KTBJ2KNZ.js.map} +0 -0
- /package/dist/chunks/{permissions-34CRWMCH.js.map → permissions-C3N4DKS2.js.map} +0 -0
- /package/dist/chunks/{pluginRuntime-7YBUMVFI.js.map → pluginRuntime-2FKZLVA5.js.map} +0 -0
- /package/dist/chunks/{pluginValidation-NZ4LOT3Q.js.map → pluginValidation-X5NZZCFA.js.map} +0 -0
- /package/dist/chunks/{registry-FHPZ36EO.js.map → registry-3UVW32YF.js.map} +0 -0
- /package/dist/chunks/{responsesStreaming-JNGE2P3D.js.map → responsesStreaming-LB4THIUM.js.map} +0 -0
- /package/dist/chunks/{ripgrep-KGHLK4RO.js.map → ripgrep-N7O6M4IE.js.map} +0 -0
- /package/dist/chunks/{runNonTextPrintMode-U3TKEYYN.js.map → runNonTextPrintMode-YFWCUTWZ.js.map} +0 -0
- /package/dist/chunks/{server-Y42VR6YJ.js.map → server-3CICV7EL.js.map} +0 -0
- /package/dist/chunks/{server-ZSC5G3TU.js.map → server-FRP7OT4H.js.map} +0 -0
- /package/dist/chunks/{skillMarketplace-PPPUBC4N.js.map → skillMarketplace-4Y2H4JFK.js.map} +0 -0
- /package/dist/chunks/{src-TVS6YABL.js.map → src-IETAWKYR.js.map} +0 -0
- /package/dist/chunks/{src-QST7UD2A.js.map → src-OB2HE3RX.js.map} +0 -0
- /package/dist/chunks/{src-DB7GKD4L.js.map → src-Y2IM2VKU.js.map} +0 -0
- /package/dist/chunks/{thinking-O7LIIMFW.js.map → thinking-XG3FB4HO.js.map} +0 -0
- /package/dist/chunks/{toolPermissionContext-UWGATCUZ.js.map → toolPermissionContext-RFYFDINH.js.map} +0 -0
- /package/dist/chunks/{toolPermissionSettings-WD7CB37T.js.map → toolPermissionSettings-EEFURGBO.js.map} +0 -0
- /package/dist/chunks/{useScreenLayout-PKLCMNZD.js.map → useScreenLayout-OUGQRR4I.js.map} +0 -0
- /package/dist/chunks/{webOnlyMode-GJ6PQCPU.js.map → webOnlyMode-FRQBIAXG.js.map} +0 -0
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
TextInput,
|
|
6
6
|
getInkInstanceForStdout,
|
|
7
7
|
performConnectionTest
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LUZMHHQF.js";
|
|
9
9
|
import {
|
|
10
10
|
getWindowedList
|
|
11
11
|
} from "./chunk-YK3ZQM3C.js";
|
|
12
12
|
import {
|
|
13
13
|
useExitOnCtrlCD
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AZHJLRRP.js";
|
|
15
15
|
import {
|
|
16
16
|
Doctor,
|
|
17
17
|
KEYPRESS_PRIORITY
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PTIAF6KF.js";
|
|
19
19
|
import {
|
|
20
20
|
wrapLines
|
|
21
21
|
} from "./chunk-7FPYAZAS.js";
|
|
@@ -32,11 +32,11 @@ import {
|
|
|
32
32
|
useKeypress,
|
|
33
33
|
withEphemeralAlternateScreen,
|
|
34
34
|
writeToStdout
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-XVNEJVZC.js";
|
|
36
36
|
import {
|
|
37
37
|
formatValidationResult,
|
|
38
38
|
validatePluginOrMarketplacePath
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-ZXOTOID7.js";
|
|
40
40
|
import {
|
|
41
41
|
addMarketplace,
|
|
42
42
|
disableSkillPlugin,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
refreshMarketplaceAsync,
|
|
51
51
|
removeMarketplace,
|
|
52
52
|
uninstallSkillPlugin
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-5HZWM4JB.js";
|
|
54
54
|
import {
|
|
55
55
|
DEFAULT_OUTPUT_STYLE,
|
|
56
56
|
getAvailableOutputStyles,
|
|
@@ -62,24 +62,24 @@ import {
|
|
|
62
62
|
listAllKodeAgentSessions,
|
|
63
63
|
listKodeAgentSessions,
|
|
64
64
|
resolveResumeSessionIdentifier
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-AX3VXMUS.js";
|
|
66
66
|
import {
|
|
67
67
|
getCustomCommandDirectories,
|
|
68
68
|
hasCustomCommands,
|
|
69
69
|
loadCustomCommands,
|
|
70
70
|
refreshCustomCommandWatcher,
|
|
71
71
|
reloadCustomCommandsForSession
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-N4772IDQ.js";
|
|
73
73
|
import {
|
|
74
74
|
Divider,
|
|
75
75
|
ScreenFrame
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-5LBRVQT5.js";
|
|
77
77
|
import {
|
|
78
78
|
useScreenLayout
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-7SRIFZDJ.js";
|
|
80
80
|
import {
|
|
81
81
|
useTerminalSize
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-5RCVEFJS.js";
|
|
83
83
|
import {
|
|
84
84
|
buildLspServerProcessEnv,
|
|
85
85
|
getCachedLspRuntimeStatus,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
listBackgroundAgentTaskSnapshots,
|
|
89
89
|
listResolvedLspServers,
|
|
90
90
|
resolveExecutableFromEnv
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-BNSPVA24.js";
|
|
92
92
|
import {
|
|
93
93
|
addNotification,
|
|
94
94
|
clearNotifications,
|
|
@@ -99,16 +99,16 @@ import {
|
|
|
99
99
|
resetFileFreshnessSession,
|
|
100
100
|
subscribeNotifications,
|
|
101
101
|
triggerModelConfigChange
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-L5ZJIOEF.js";
|
|
103
103
|
import {
|
|
104
104
|
clearAgentCache,
|
|
105
105
|
getActiveAgents,
|
|
106
106
|
getAllAgents
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-437YGKVA.js";
|
|
108
108
|
import {
|
|
109
109
|
loadKodeAgentSessionMessages,
|
|
110
110
|
loadKodeAgentSessionMessagesForResume
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-PVMCLI36.js";
|
|
112
112
|
import {
|
|
113
113
|
appendSessionCustomTitleRecord,
|
|
114
114
|
appendSessionJsonlFromMessage,
|
|
@@ -118,40 +118,37 @@ import {
|
|
|
118
118
|
getSessionLogFilePath,
|
|
119
119
|
getSessionStoreRoots,
|
|
120
120
|
sanitizeProjectNameForSessionStore
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-KRBZO255.js";
|
|
122
122
|
import {
|
|
123
123
|
applyToolPermissionContextUpdateForConversationKey,
|
|
124
124
|
getBunShellSandboxPlan,
|
|
125
125
|
setPermissionMode
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-N5AH66UG.js";
|
|
127
127
|
import {
|
|
128
128
|
clearContextCache,
|
|
129
129
|
getBranch,
|
|
130
130
|
getCodeStyle,
|
|
131
131
|
getContext,
|
|
132
132
|
getSystemPrompt
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-KHMXPPO7.js";
|
|
134
134
|
import {
|
|
135
135
|
getTodos,
|
|
136
136
|
resetReminderSession
|
|
137
|
-
} from "./chunk-
|
|
138
|
-
import {
|
|
139
|
-
getSessionState
|
|
140
|
-
} from "./chunk-ZCLTZIVP.js";
|
|
137
|
+
} from "./chunk-JXYXMP2Q.js";
|
|
141
138
|
import {
|
|
142
139
|
setSessionId
|
|
143
140
|
} from "./chunk-UINOTNT3.js";
|
|
144
141
|
import {
|
|
145
142
|
queryLLM
|
|
146
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-2B2TR2S3.js";
|
|
147
144
|
import {
|
|
148
145
|
loadToolPermissionContextFromDisk,
|
|
149
146
|
persistToolPermissionUpdateToDisk
|
|
150
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-LBHVWSUP.js";
|
|
151
148
|
import {
|
|
152
149
|
applyToolPermissionContextUpdate,
|
|
153
150
|
isPersistableToolPermissionDestination
|
|
154
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-E4C4N7OV.js";
|
|
155
152
|
import {
|
|
156
153
|
setKodeAgentSessionForkInfo
|
|
157
154
|
} from "./chunk-RPKUSL6P.js";
|
|
@@ -162,7 +159,7 @@ import {
|
|
|
162
159
|
getMcpListChangedVersion,
|
|
163
160
|
getMcprcServerStatus,
|
|
164
161
|
listMCPServers
|
|
165
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-6C6VNA2D.js";
|
|
166
163
|
import {
|
|
167
164
|
API_ERROR_MESSAGE_PREFIX,
|
|
168
165
|
createUserMessage,
|
|
@@ -174,7 +171,7 @@ import {
|
|
|
174
171
|
normalizeMessages,
|
|
175
172
|
normalizeMessagesForAPI,
|
|
176
173
|
reorderMessages
|
|
177
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-L2LWCVUF.js";
|
|
178
175
|
import {
|
|
179
176
|
getTheme
|
|
180
177
|
} from "./chunk-HDVL5VTM.js";
|
|
@@ -185,20 +182,20 @@ import {
|
|
|
185
182
|
getDisableAllHooksState,
|
|
186
183
|
listHookConfigurations,
|
|
187
184
|
setDisableAllHooks
|
|
188
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-5LL33G6X.js";
|
|
189
186
|
import {
|
|
190
187
|
getSessionPlugins
|
|
191
188
|
} from "./chunk-M7P3QNRU.js";
|
|
192
189
|
import {
|
|
193
190
|
getModelManager,
|
|
194
191
|
reloadModelManager
|
|
195
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-FKWFR23G.js";
|
|
196
193
|
import {
|
|
197
194
|
debug
|
|
198
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-YQ3YJSMI.js";
|
|
199
196
|
import {
|
|
200
197
|
ensureRipgrepReady
|
|
201
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-4BBWDSDC.js";
|
|
202
199
|
import {
|
|
203
200
|
ASCII_LOGO,
|
|
204
201
|
CACHE_PATHS,
|
|
@@ -213,7 +210,7 @@ import {
|
|
|
213
210
|
formatDate,
|
|
214
211
|
getPlanConversationKey,
|
|
215
212
|
logError
|
|
216
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-SOBWNYOW.js";
|
|
217
214
|
import {
|
|
218
215
|
getCwd,
|
|
219
216
|
getOriginalCwd,
|
|
@@ -221,7 +218,7 @@ import {
|
|
|
221
218
|
} from "./chunk-5ARRC2T2.js";
|
|
222
219
|
import {
|
|
223
220
|
MACRO
|
|
224
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-6CAQXUDY.js";
|
|
225
222
|
import {
|
|
226
223
|
getKodeAgentSessionId
|
|
227
224
|
} from "./chunk-SWQV4KSY.js";
|
|
@@ -3729,7 +3726,7 @@ async function createAndStoreApiKey(accessToken) {
|
|
|
3729
3726
|
}
|
|
3730
3727
|
saveGlobalConfig(config2);
|
|
3731
3728
|
try {
|
|
3732
|
-
const { resetAnthropicClient } = await import("./llm-
|
|
3729
|
+
const { resetAnthropicClient } = await import("./llm-PONI6QWH.js");
|
|
3733
3730
|
resetAnthropicClient();
|
|
3734
3731
|
} catch {
|
|
3735
3732
|
}
|
|
@@ -3748,7 +3745,7 @@ import { Box as Box9, Text as Text10 } from "ink";
|
|
|
3748
3745
|
// apps/cli/src/ui/components/Logo.tsx
|
|
3749
3746
|
import { Box as Box8, Text as Text9 } from "ink";
|
|
3750
3747
|
import * as React15 from "react";
|
|
3751
|
-
var MIN_LOGO_WIDTH =
|
|
3748
|
+
var MIN_LOGO_WIDTH = 70;
|
|
3752
3749
|
function Logo({
|
|
3753
3750
|
mcpClients,
|
|
3754
3751
|
updateBannerVersion,
|
|
@@ -3900,75 +3897,28 @@ import { Box as Box10, Text as Text11 } from "ink";
|
|
|
3900
3897
|
import * as React17 from "react";
|
|
3901
3898
|
import { useEffect as useEffect2, useRef as useRef4, useState as useState6 } from "react";
|
|
3902
3899
|
import { sample } from "lodash-es";
|
|
3903
|
-
var
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
"
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
"Considering",
|
|
3919
|
-
"Cooking",
|
|
3920
|
-
"Crafting",
|
|
3921
|
-
"Creating",
|
|
3922
|
-
"Crunching",
|
|
3923
|
-
"Deliberating",
|
|
3924
|
-
"Determining",
|
|
3925
|
-
"Doing",
|
|
3926
|
-
"Effecting",
|
|
3927
|
-
"Finagling",
|
|
3928
|
-
"Forging",
|
|
3929
|
-
"Forming",
|
|
3930
|
-
"Generating",
|
|
3931
|
-
"Hatching",
|
|
3932
|
-
"Herding",
|
|
3933
|
-
"Honking",
|
|
3934
|
-
"Hustling",
|
|
3935
|
-
"Ideating",
|
|
3936
|
-
"Inferring",
|
|
3937
|
-
"Manifesting",
|
|
3938
|
-
"Marinating",
|
|
3939
|
-
"Moseying",
|
|
3940
|
-
"Mulling",
|
|
3941
|
-
"Mustering",
|
|
3942
|
-
"Musing",
|
|
3943
|
-
"Noodling",
|
|
3944
|
-
"Percolating",
|
|
3945
|
-
"Pondering",
|
|
3946
|
-
"Processing",
|
|
3947
|
-
"Puttering",
|
|
3948
|
-
"Reticulating",
|
|
3949
|
-
"Ruminating",
|
|
3950
|
-
"Schlepping",
|
|
3951
|
-
"Shucking",
|
|
3952
|
-
"Simmering",
|
|
3953
|
-
"Smooshing",
|
|
3954
|
-
"Spinning",
|
|
3955
|
-
"Stewing",
|
|
3956
|
-
"Synthesizing",
|
|
3957
|
-
"Thinking",
|
|
3958
|
-
"Transmuting",
|
|
3959
|
-
"Vibing",
|
|
3960
|
-
"Working"
|
|
3961
|
-
];
|
|
3962
|
-
function Spinner() {
|
|
3963
|
-
const frames = [...CHARACTERS, ...[...CHARACTERS].reverse()];
|
|
3900
|
+
var SPINNER_FRAMES = ["\u280B", "\u2819", "\u2839", "\u2838", "\u283C", "\u2834", "\u2826", "\u2827", "\u2807", "\u280F"];
|
|
3901
|
+
function SimpleSpinner() {
|
|
3902
|
+
const frames = SPINNER_FRAMES;
|
|
3903
|
+
const [frame, setFrame] = useState6(0);
|
|
3904
|
+
useEffect2(() => {
|
|
3905
|
+
const timer = setInterval(() => {
|
|
3906
|
+
setFrame((f) => (f + 1) % frames.length);
|
|
3907
|
+
}, 80);
|
|
3908
|
+
return () => clearInterval(timer);
|
|
3909
|
+
}, [frames.length]);
|
|
3910
|
+
return /* @__PURE__ */ React17.createElement(Box10, { flexWrap: "nowrap", height: 1, width: 2 }, /* @__PURE__ */ React17.createElement(Text11, { color: getTheme().kode }, frames[frame]));
|
|
3911
|
+
}
|
|
3912
|
+
function BashSpinner() {
|
|
3913
|
+
const frames = SPINNER_FRAMES;
|
|
3914
|
+
const theme2 = getTheme();
|
|
3964
3915
|
const [frame, setFrame] = useState6(0);
|
|
3965
3916
|
const [elapsedTime, setElapsedTime] = useState6(0);
|
|
3966
|
-
const message = useRef4(sample(MESSAGES));
|
|
3967
3917
|
const startTime = useRef4(Date.now());
|
|
3968
3918
|
useEffect2(() => {
|
|
3969
3919
|
const timer = setInterval(() => {
|
|
3970
3920
|
setFrame((f) => (f + 1) % frames.length);
|
|
3971
|
-
},
|
|
3921
|
+
}, 80);
|
|
3972
3922
|
return () => clearInterval(timer);
|
|
3973
3923
|
}, [frames.length]);
|
|
3974
3924
|
useEffect2(() => {
|
|
@@ -3977,18 +3927,7 @@ function Spinner() {
|
|
|
3977
3927
|
}, 1e3);
|
|
3978
3928
|
return () => clearInterval(timer);
|
|
3979
3929
|
}, []);
|
|
3980
|
-
return /* @__PURE__ */ React17.createElement(Box10, { flexDirection: "row", marginTop: 1 }, /* @__PURE__ */ React17.createElement(
|
|
3981
|
-
}
|
|
3982
|
-
function SimpleSpinner() {
|
|
3983
|
-
const frames = [...CHARACTERS, ...[...CHARACTERS].reverse()];
|
|
3984
|
-
const [frame, setFrame] = useState6(0);
|
|
3985
|
-
useEffect2(() => {
|
|
3986
|
-
const timer = setInterval(() => {
|
|
3987
|
-
setFrame((f) => (f + 1) % frames.length);
|
|
3988
|
-
}, 120);
|
|
3989
|
-
return () => clearInterval(timer);
|
|
3990
|
-
}, [frames.length]);
|
|
3991
|
-
return /* @__PURE__ */ React17.createElement(Box10, { flexWrap: "nowrap", height: 1, width: 2 }, /* @__PURE__ */ React17.createElement(Text11, { color: getTheme().kode }, frames[frame]));
|
|
3930
|
+
return /* @__PURE__ */ React17.createElement(Box10, { flexDirection: "row", marginTop: 1 }, /* @__PURE__ */ React17.createElement(Text11, { color: theme2.kode, bold: true }, frames[frame], " Running"), /* @__PURE__ */ React17.createElement(Text11, { color: theme2.secondaryText }, " ", ":: ", elapsedTime, "s (", /* @__PURE__ */ React17.createElement(Text11, { bold: true }, "esc"), ")"));
|
|
3992
3931
|
}
|
|
3993
3932
|
|
|
3994
3933
|
// apps/cli/src/ui/components/oauthTypes.ts
|
|
@@ -4483,7 +4422,7 @@ async function refreshPluginRuntimeFromInstalls() {
|
|
|
4483
4422
|
const existingRoots = getSessionPlugins().map((p) => p.rootDir);
|
|
4484
4423
|
const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
|
|
4485
4424
|
if (dirs.length === 0) return [];
|
|
4486
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
4425
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-2FKZLVA5.js");
|
|
4487
4426
|
const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
|
|
4488
4427
|
return errors;
|
|
4489
4428
|
}
|
|
@@ -5490,7 +5429,7 @@ async function call(onDone, context) {
|
|
|
5490
5429
|
ModelConfig,
|
|
5491
5430
|
{
|
|
5492
5431
|
onClose: () => {
|
|
5493
|
-
import("./model-
|
|
5432
|
+
import("./model-4EIFU5QN.js").then(({ reloadModelManager: reloadModelManager2 }) => {
|
|
5494
5433
|
reloadModelManager2();
|
|
5495
5434
|
triggerModelConfigChange();
|
|
5496
5435
|
onDone();
|
|
@@ -7229,7 +7168,7 @@ async function refreshPluginRuntimeFromInstalls2() {
|
|
|
7229
7168
|
const existingRoots = getSessionPlugins().map((p) => p.rootDir);
|
|
7230
7169
|
const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
|
|
7231
7170
|
if (dirs.length === 0) return [];
|
|
7232
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
7171
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-2FKZLVA5.js");
|
|
7233
7172
|
const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
|
|
7234
7173
|
return errors;
|
|
7235
7174
|
}
|
|
@@ -8077,7 +8016,7 @@ var refreshCommands = {
|
|
|
8077
8016
|
async call(_, context) {
|
|
8078
8017
|
try {
|
|
8079
8018
|
await reloadCustomCommandsForSession();
|
|
8080
|
-
const { getCommands: getCommands2 } = await import("./registry-
|
|
8019
|
+
const { getCommands: getCommands2 } = await import("./registry-3UVW32YF.js");
|
|
8081
8020
|
const commands = await getCommands2();
|
|
8082
8021
|
let projectCommands = 0;
|
|
8083
8022
|
let userCommands = 0;
|
|
@@ -11442,7 +11381,7 @@ Key principles for your system prompts:
|
|
|
11442
11381
|
Remember: The agents you create should be autonomous experts capable of handling their designated tasks with minimal additional guidance. Your system prompts are their complete operational manual.
|
|
11443
11382
|
`;
|
|
11444
11383
|
async function generateAgentWithModel(prompt, options) {
|
|
11445
|
-
const { queryModel } = await import("./llm-
|
|
11384
|
+
const { queryModel } = await import("./llm-PONI6QWH.js");
|
|
11446
11385
|
const existing = (options?.existingIdentifiers ?? []).filter(Boolean);
|
|
11447
11386
|
const existingClause = existing.length > 0 ? `
|
|
11448
11387
|
|
|
@@ -13590,7 +13529,7 @@ export {
|
|
|
13590
13529
|
getReplStaticPrefixLength,
|
|
13591
13530
|
Logo,
|
|
13592
13531
|
sendNotification,
|
|
13593
|
-
|
|
13532
|
+
BashSpinner,
|
|
13594
13533
|
ModelConfig,
|
|
13595
13534
|
OpenFileScreen,
|
|
13596
13535
|
TranscriptScreen,
|