@shareai-lab/kode 2.1.10 → 2.1.12
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-XELFCSOT.js → Doctor-UTJUNV3M.js} +9 -9
- package/dist/chunks/{LogList-3NTFJCO2.js → LogList-CAO6MIDJ.js} +7 -7
- package/dist/chunks/{REPL-IX3IFPIG.js → REPL-SRMLNUNG.js} +36 -36
- package/dist/chunks/{ResumeConversation-FVOIVVGE.js → ResumeConversation-5EYFE4H6.js} +38 -38
- package/dist/chunks/{agentLoader-6NDWVGB7.js → agentLoader-GRFWSMV2.js} +5 -5
- package/dist/chunks/{agentsValidate-3Q5O2KRJ.js → agentsValidate-IF3Q3VLR.js} +6 -6
- package/dist/chunks/{ask-U3DRLYA5.js → ask-NPC6SEGF.js} +16 -16
- package/dist/chunks/{autoUpdater-7VYMYA45.js → autoUpdater-M5SIW7ML.js} +4 -4
- package/dist/chunks/{chunk-A5V3GAYJ.js → chunk-2KYNZVYI.js} +2 -2
- package/dist/chunks/{chunk-ZLJJV562.js → chunk-4BRDUQSZ.js} +1 -1
- package/dist/chunks/{chunk-RK42LXVF.js → chunk-4EJDFWCI.js} +31 -31
- package/dist/chunks/{chunk-YMZMQ5HW.js → chunk-4ZYIY7L3.js} +1 -1
- package/dist/chunks/{chunk-QDEOTS5R.js → chunk-5C34UZ3O.js} +13 -13
- package/dist/chunks/chunk-5C34UZ3O.js.map +7 -0
- package/dist/chunks/{chunk-DW7WPTXF.js → chunk-5DGWKMOP.js} +2 -2
- package/dist/chunks/{chunk-QINB6PNL.js → chunk-6CFEV36C.js} +4 -4
- package/dist/chunks/{chunk-2GIXG2PW.js → chunk-7BWVLYQK.js} +3 -3
- package/dist/chunks/{chunk-67DE2WHP.js → chunk-7BYD6UMZ.js} +1 -1
- package/dist/chunks/{chunk-OKUTFUIT.js → chunk-7Y35Q4J6.js} +1 -1
- package/dist/chunks/{chunk-3NQ3RYIL.js → chunk-AF5FWWON.js} +4 -4
- package/dist/chunks/{chunk-6M3AFBK2.js → chunk-AT6COIQU.js} +1 -1
- package/dist/chunks/{chunk-DQFXPZUD.js → chunk-B5VSBSF7.js} +30 -30
- package/dist/chunks/{chunk-DQFXPZUD.js.map → chunk-B5VSBSF7.js.map} +2 -2
- package/dist/chunks/{chunk-YGUN6S7T.js → chunk-B7CNBBIL.js} +2 -2
- package/dist/chunks/{chunk-FC76LCMW.js → chunk-CNB4BTZH.js} +10 -10
- package/dist/chunks/{chunk-SBX77F6X.js → chunk-D2NMSBDP.js} +1 -1
- package/dist/chunks/{chunk-NYGDXJ46.js → chunk-E3RRQRIO.js} +4 -4
- package/dist/chunks/{chunk-43TU2H57.js → chunk-EQZFQOR7.js} +4 -3
- package/dist/chunks/chunk-EQZFQOR7.js.map +7 -0
- package/dist/chunks/{chunk-USGXOXJW.js → chunk-GGCSITGB.js} +2 -2
- package/dist/chunks/{chunk-6L3OLZ5I.js → chunk-GGDPVLLE.js} +3 -3
- package/dist/chunks/{chunk-UJYM3ZE2.js → chunk-HABZW45B.js} +1 -1
- package/dist/chunks/{chunk-VEN2ZG4I.js → chunk-IFCUTYNL.js} +5 -5
- package/dist/chunks/{chunk-4TSHO5ZW.js → chunk-IJZGXESD.js} +2 -2
- package/dist/chunks/{chunk-OSAK22DU.js → chunk-J3R2CXOL.js} +2 -2
- package/dist/chunks/{chunk-452OIBRO.js → chunk-J6HEHAJK.js} +1 -1
- package/dist/chunks/{chunk-RYKGTDT2.js → chunk-JP34R5TN.js} +3 -3
- package/dist/chunks/{chunk-KHTZNF45.js → chunk-JZASASUW.js} +1 -1
- package/dist/chunks/{chunk-6UOJ5ZP4.js → chunk-K5X5ZH6S.js} +1 -1
- package/dist/chunks/{chunk-57YIA3MS.js → chunk-M6K47N44.js} +8 -8
- package/dist/chunks/{chunk-CUO52YIF.js → chunk-NBUFUMCY.js} +2 -2
- package/dist/chunks/{chunk-HTVISK6B.js → chunk-PSZPJXAZ.js} +26 -28
- package/dist/chunks/chunk-PSZPJXAZ.js.map +7 -0
- package/dist/chunks/{chunk-5Q25BISS.js → chunk-QHFVTQTJ.js} +1 -1
- package/dist/chunks/{chunk-IQ32DUMR.js → chunk-QPKTLTQI.js} +1 -1
- package/dist/chunks/{chunk-GGZGXCOQ.js → chunk-SEHZ6CXK.js} +3 -3
- package/dist/chunks/{chunk-PDW7EGFG.js → chunk-TGYR4IBE.js} +2 -2
- package/dist/chunks/{chunk-NRGEIWNE.js → chunk-U6RPMFMW.js} +2 -2
- package/dist/chunks/{chunk-2BJ5A5KW.js → chunk-V5LS4WQ2.js} +1 -1
- package/dist/chunks/{chunk-4S27TXKV.js → chunk-XU3JD6EI.js} +5 -5
- package/dist/chunks/{chunk-GUN4HJHH.js → chunk-ZOLN5YMS.js} +4 -4
- package/dist/chunks/{chunk-KWBK4CET.js → chunk-ZPW2XM2C.js} +7 -7
- package/dist/chunks/{client-F6XWSJCH.js → client-OI7WP2WD.js} +5 -5
- package/dist/chunks/{customCommands-IKGXEHG3.js → customCommands-FC5MN3RF.js} +5 -5
- package/dist/chunks/{engine-X4P7KZ6B.js → engine-IPTVOBJG.js} +15 -15
- package/dist/chunks/{env-AII53SJK.js → env-U3P2JBIX.js} +3 -3
- package/dist/chunks/{kodeAgentSessionLoad-CR5FNAA6.js → kodeAgentSessionLoad-6YOXIXEK.js} +3 -3
- package/dist/chunks/{kodeAgentSessionResume-IMPILS2R.js → kodeAgentSessionResume-D3RLU3UW.js} +3 -3
- package/dist/chunks/{kodeHooks-E3HHH7GA.js → kodeHooks-4JYG4G5P.js} +4 -4
- package/dist/chunks/{llm-B73NJ55X.js → llm-7IAXAPGJ.js} +13 -13
- package/dist/chunks/{llmLazy-LUVJECH5.js → llmLazy-3NRENKYU.js} +1 -1
- package/dist/chunks/{mcpCli-FCBRMDSH.js → mcpCli-YTD4LMHI.js} +5 -5
- package/dist/chunks/{mentionProcessor-NLXSLNLI.js → mentionProcessor-DLA4M35M.js} +6 -6
- package/dist/chunks/{model-WWW5SROR.js → model-2A3EVYK4.js} +5 -5
- package/dist/chunks/{openai-5OUY3SXG.js → openai-VWKDNTC4.js} +5 -5
- package/dist/chunks/{permissions-CGZ3RRJT.js → permissions-LGMUKLID.js} +6 -6
- package/dist/chunks/{pluginRuntime-SCPTZM6F.js → pluginRuntime-RYFDHMVD.js} +3 -3
- package/dist/chunks/{pluginValidation-VNCCNUMA.js → pluginValidation-VBUTEACA.js} +7 -7
- package/dist/chunks/{registry-2UNFDLQM.js → registry-W5BED55O.js} +29 -29
- package/dist/chunks/{ripgrep-NWIVPJJ7.js → ripgrep-3F7VAKCB.js} +4 -4
- package/dist/chunks/{runNonTextPrintMode-TW7JEOIL.js → runNonTextPrintMode-EFJVB3QP.js} +9 -9
- package/dist/chunks/{server-QIVWLY63.js → server-AQYRBBDC.js} +25 -25
- package/dist/chunks/{server-7Z4J7HNO.js → server-DXXYOE4J.js} +27 -27
- package/dist/chunks/{skillMarketplace-C6YLA4HR.js → skillMarketplace-TEC7KBZM.js} +4 -4
- package/dist/chunks/{src-GCXFXXZH.js → src-EDQUDXM6.js} +24 -24
- package/dist/chunks/{src-LCYS363P.js → src-K4JCKY4R.js} +70 -70
- package/dist/chunks/{src-FLB236NV.js → src-UIU5LLYS.js} +27 -27
- package/dist/chunks/{thinking-HSV5XRET.js → thinking-E4Y7GXRR.js} +6 -6
- package/dist/chunks/{toolPermissionSettings-YW5IDAWZ.js → toolPermissionSettings-TX3WXTTX.js} +4 -4
- package/dist/chunks/{webOnlyMode-3IKZX4VY.js → webOnlyMode-QDIFYGU5.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 +19 -20
- package/dist/sdk/tools.cjs.map +2 -2
- package/dist/sdk/tools.js +19 -20
- package/dist/sdk/tools.js.map +2 -2
- package/dist/vendor/seccomp/arm64/apply-seccomp +1 -0
- package/dist/vendor/seccomp/arm64/unix-block.bpf +1 -0
- package/dist/vendor/seccomp/x64/apply-seccomp +1 -0
- package/dist/vendor/seccomp/x64/unix-block.bpf +1 -0
- package/package.json +13 -13
- package/dist/chunks/chunk-43TU2H57.js.map +0 -7
- package/dist/chunks/chunk-HTVISK6B.js.map +0 -7
- package/dist/chunks/chunk-QDEOTS5R.js.map +0 -7
- /package/dist/chunks/{Doctor-XELFCSOT.js.map → Doctor-UTJUNV3M.js.map} +0 -0
- /package/dist/chunks/{LogList-3NTFJCO2.js.map → LogList-CAO6MIDJ.js.map} +0 -0
- /package/dist/chunks/{REPL-IX3IFPIG.js.map → REPL-SRMLNUNG.js.map} +0 -0
- /package/dist/chunks/{ResumeConversation-FVOIVVGE.js.map → ResumeConversation-5EYFE4H6.js.map} +0 -0
- /package/dist/chunks/{agentLoader-6NDWVGB7.js.map → agentLoader-GRFWSMV2.js.map} +0 -0
- /package/dist/chunks/{agentsValidate-3Q5O2KRJ.js.map → agentsValidate-IF3Q3VLR.js.map} +0 -0
- /package/dist/chunks/{ask-U3DRLYA5.js.map → ask-NPC6SEGF.js.map} +0 -0
- /package/dist/chunks/{autoUpdater-7VYMYA45.js.map → autoUpdater-M5SIW7ML.js.map} +0 -0
- /package/dist/chunks/{chunk-A5V3GAYJ.js.map → chunk-2KYNZVYI.js.map} +0 -0
- /package/dist/chunks/{chunk-ZLJJV562.js.map → chunk-4BRDUQSZ.js.map} +0 -0
- /package/dist/chunks/{chunk-RK42LXVF.js.map → chunk-4EJDFWCI.js.map} +0 -0
- /package/dist/chunks/{chunk-YMZMQ5HW.js.map → chunk-4ZYIY7L3.js.map} +0 -0
- /package/dist/chunks/{chunk-DW7WPTXF.js.map → chunk-5DGWKMOP.js.map} +0 -0
- /package/dist/chunks/{chunk-QINB6PNL.js.map → chunk-6CFEV36C.js.map} +0 -0
- /package/dist/chunks/{chunk-2GIXG2PW.js.map → chunk-7BWVLYQK.js.map} +0 -0
- /package/dist/chunks/{chunk-67DE2WHP.js.map → chunk-7BYD6UMZ.js.map} +0 -0
- /package/dist/chunks/{chunk-OKUTFUIT.js.map → chunk-7Y35Q4J6.js.map} +0 -0
- /package/dist/chunks/{chunk-3NQ3RYIL.js.map → chunk-AF5FWWON.js.map} +0 -0
- /package/dist/chunks/{chunk-6M3AFBK2.js.map → chunk-AT6COIQU.js.map} +0 -0
- /package/dist/chunks/{chunk-YGUN6S7T.js.map → chunk-B7CNBBIL.js.map} +0 -0
- /package/dist/chunks/{chunk-FC76LCMW.js.map → chunk-CNB4BTZH.js.map} +0 -0
- /package/dist/chunks/{chunk-SBX77F6X.js.map → chunk-D2NMSBDP.js.map} +0 -0
- /package/dist/chunks/{chunk-NYGDXJ46.js.map → chunk-E3RRQRIO.js.map} +0 -0
- /package/dist/chunks/{chunk-USGXOXJW.js.map → chunk-GGCSITGB.js.map} +0 -0
- /package/dist/chunks/{chunk-6L3OLZ5I.js.map → chunk-GGDPVLLE.js.map} +0 -0
- /package/dist/chunks/{chunk-UJYM3ZE2.js.map → chunk-HABZW45B.js.map} +0 -0
- /package/dist/chunks/{chunk-VEN2ZG4I.js.map → chunk-IFCUTYNL.js.map} +0 -0
- /package/dist/chunks/{chunk-4TSHO5ZW.js.map → chunk-IJZGXESD.js.map} +0 -0
- /package/dist/chunks/{chunk-OSAK22DU.js.map → chunk-J3R2CXOL.js.map} +0 -0
- /package/dist/chunks/{chunk-452OIBRO.js.map → chunk-J6HEHAJK.js.map} +0 -0
- /package/dist/chunks/{chunk-RYKGTDT2.js.map → chunk-JP34R5TN.js.map} +0 -0
- /package/dist/chunks/{chunk-KHTZNF45.js.map → chunk-JZASASUW.js.map} +0 -0
- /package/dist/chunks/{chunk-6UOJ5ZP4.js.map → chunk-K5X5ZH6S.js.map} +0 -0
- /package/dist/chunks/{chunk-57YIA3MS.js.map → chunk-M6K47N44.js.map} +0 -0
- /package/dist/chunks/{chunk-CUO52YIF.js.map → chunk-NBUFUMCY.js.map} +0 -0
- /package/dist/chunks/{chunk-5Q25BISS.js.map → chunk-QHFVTQTJ.js.map} +0 -0
- /package/dist/chunks/{chunk-IQ32DUMR.js.map → chunk-QPKTLTQI.js.map} +0 -0
- /package/dist/chunks/{chunk-GGZGXCOQ.js.map → chunk-SEHZ6CXK.js.map} +0 -0
- /package/dist/chunks/{chunk-PDW7EGFG.js.map → chunk-TGYR4IBE.js.map} +0 -0
- /package/dist/chunks/{chunk-NRGEIWNE.js.map → chunk-U6RPMFMW.js.map} +0 -0
- /package/dist/chunks/{chunk-2BJ5A5KW.js.map → chunk-V5LS4WQ2.js.map} +0 -0
- /package/dist/chunks/{chunk-4S27TXKV.js.map → chunk-XU3JD6EI.js.map} +0 -0
- /package/dist/chunks/{chunk-GUN4HJHH.js.map → chunk-ZOLN5YMS.js.map} +0 -0
- /package/dist/chunks/{chunk-KWBK4CET.js.map → chunk-ZPW2XM2C.js.map} +0 -0
- /package/dist/chunks/{client-F6XWSJCH.js.map → client-OI7WP2WD.js.map} +0 -0
- /package/dist/chunks/{customCommands-IKGXEHG3.js.map → customCommands-FC5MN3RF.js.map} +0 -0
- /package/dist/chunks/{engine-X4P7KZ6B.js.map → engine-IPTVOBJG.js.map} +0 -0
- /package/dist/chunks/{env-AII53SJK.js.map → env-U3P2JBIX.js.map} +0 -0
- /package/dist/chunks/{kodeAgentSessionLoad-CR5FNAA6.js.map → kodeAgentSessionLoad-6YOXIXEK.js.map} +0 -0
- /package/dist/chunks/{kodeAgentSessionResume-IMPILS2R.js.map → kodeAgentSessionResume-D3RLU3UW.js.map} +0 -0
- /package/dist/chunks/{kodeHooks-E3HHH7GA.js.map → kodeHooks-4JYG4G5P.js.map} +0 -0
- /package/dist/chunks/{llm-B73NJ55X.js.map → llm-7IAXAPGJ.js.map} +0 -0
- /package/dist/chunks/{llmLazy-LUVJECH5.js.map → llmLazy-3NRENKYU.js.map} +0 -0
- /package/dist/chunks/{mcpCli-FCBRMDSH.js.map → mcpCli-YTD4LMHI.js.map} +0 -0
- /package/dist/chunks/{mentionProcessor-NLXSLNLI.js.map → mentionProcessor-DLA4M35M.js.map} +0 -0
- /package/dist/chunks/{model-WWW5SROR.js.map → model-2A3EVYK4.js.map} +0 -0
- /package/dist/chunks/{openai-5OUY3SXG.js.map → openai-VWKDNTC4.js.map} +0 -0
- /package/dist/chunks/{permissions-CGZ3RRJT.js.map → permissions-LGMUKLID.js.map} +0 -0
- /package/dist/chunks/{pluginRuntime-SCPTZM6F.js.map → pluginRuntime-RYFDHMVD.js.map} +0 -0
- /package/dist/chunks/{pluginValidation-VNCCNUMA.js.map → pluginValidation-VBUTEACA.js.map} +0 -0
- /package/dist/chunks/{registry-2UNFDLQM.js.map → registry-W5BED55O.js.map} +0 -0
- /package/dist/chunks/{ripgrep-NWIVPJJ7.js.map → ripgrep-3F7VAKCB.js.map} +0 -0
- /package/dist/chunks/{runNonTextPrintMode-TW7JEOIL.js.map → runNonTextPrintMode-EFJVB3QP.js.map} +0 -0
- /package/dist/chunks/{server-7Z4J7HNO.js.map → server-AQYRBBDC.js.map} +0 -0
- /package/dist/chunks/{server-QIVWLY63.js.map → server-DXXYOE4J.js.map} +0 -0
- /package/dist/chunks/{skillMarketplace-C6YLA4HR.js.map → skillMarketplace-TEC7KBZM.js.map} +0 -0
- /package/dist/chunks/{src-GCXFXXZH.js.map → src-EDQUDXM6.js.map} +0 -0
- /package/dist/chunks/{src-LCYS363P.js.map → src-K4JCKY4R.js.map} +0 -0
- /package/dist/chunks/{src-FLB236NV.js.map → src-UIU5LLYS.js.map} +0 -0
- /package/dist/chunks/{thinking-HSV5XRET.js.map → thinking-E4Y7GXRR.js.map} +0 -0
- /package/dist/chunks/{toolPermissionSettings-YW5IDAWZ.js.map → toolPermissionSettings-TX3WXTTX.js.map} +0 -0
- /package/dist/chunks/{webOnlyMode-3IKZX4VY.js.map → webOnlyMode-QDIFYGU5.js.map} +0 -0
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
TextInput,
|
|
6
6
|
getInkInstanceForStdout,
|
|
7
7
|
performConnectionTest
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-M6K47N44.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-J6HEHAJK.js";
|
|
15
15
|
import {
|
|
16
16
|
Doctor,
|
|
17
17
|
KEYPRESS_PRIORITY
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-J3R2CXOL.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-EQZFQOR7.js";
|
|
36
36
|
import {
|
|
37
37
|
formatValidationResult,
|
|
38
38
|
validatePluginOrMarketplacePath
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-IJZGXESD.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-4BRDUQSZ.js";
|
|
54
54
|
import {
|
|
55
55
|
DEFAULT_OUTPUT_STYLE,
|
|
56
56
|
getAvailableOutputStyles,
|
|
@@ -62,14 +62,14 @@ import {
|
|
|
62
62
|
listAllKodeAgentSessions,
|
|
63
63
|
listKodeAgentSessions,
|
|
64
64
|
resolveResumeSessionIdentifier
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-4ZYIY7L3.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-7BWVLYQK.js";
|
|
73
73
|
import {
|
|
74
74
|
Divider,
|
|
75
75
|
ScreenFrame
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
listBackgroundAgentTaskSnapshots,
|
|
89
89
|
listResolvedLspServers,
|
|
90
90
|
resolveExecutableFromEnv
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-6CFEV36C.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-E3RRQRIO.js";
|
|
103
103
|
import {
|
|
104
104
|
clearAgentCache,
|
|
105
105
|
getActiveAgents,
|
|
106
106
|
getAllAgents
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-GGCSITGB.js";
|
|
108
108
|
import {
|
|
109
109
|
loadKodeAgentSessionMessages,
|
|
110
110
|
loadKodeAgentSessionMessagesForResume
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-JZASASUW.js";
|
|
112
112
|
import {
|
|
113
113
|
appendSessionCustomTitleRecord,
|
|
114
114
|
appendSessionJsonlFromMessage,
|
|
@@ -118,33 +118,33 @@ import {
|
|
|
118
118
|
getSessionLogFilePath,
|
|
119
119
|
getSessionStoreRoots,
|
|
120
120
|
sanitizeProjectNameForSessionStore
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-AT6COIQU.js";
|
|
122
122
|
import {
|
|
123
123
|
applyToolPermissionContextUpdateForConversationKey,
|
|
124
124
|
getBunShellSandboxPlan,
|
|
125
125
|
setPermissionMode
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-AF5FWWON.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-GGDPVLLE.js";
|
|
134
134
|
import {
|
|
135
135
|
getTodos,
|
|
136
136
|
resetReminderSession
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-NBUFUMCY.js";
|
|
138
138
|
import {
|
|
139
139
|
setSessionId
|
|
140
140
|
} from "./chunk-UINOTNT3.js";
|
|
141
141
|
import {
|
|
142
142
|
queryLLM
|
|
143
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-ZOLN5YMS.js";
|
|
144
144
|
import {
|
|
145
145
|
loadToolPermissionContextFromDisk,
|
|
146
146
|
persistToolPermissionUpdateToDisk
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-D2NMSBDP.js";
|
|
148
148
|
import {
|
|
149
149
|
applyToolPermissionContextUpdate,
|
|
150
150
|
isPersistableToolPermissionDestination
|
|
@@ -159,7 +159,7 @@ import {
|
|
|
159
159
|
getMcpListChangedVersion,
|
|
160
160
|
getMcprcServerStatus,
|
|
161
161
|
listMCPServers
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-B7CNBBIL.js";
|
|
163
163
|
import {
|
|
164
164
|
API_ERROR_MESSAGE_PREFIX,
|
|
165
165
|
createUserMessage,
|
|
@@ -182,20 +182,20 @@ import {
|
|
|
182
182
|
getDisableAllHooksState,
|
|
183
183
|
listHookConfigurations,
|
|
184
184
|
setDisableAllHooks
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-TGYR4IBE.js";
|
|
186
186
|
import {
|
|
187
187
|
getSessionPlugins
|
|
188
188
|
} from "./chunk-M7P3QNRU.js";
|
|
189
189
|
import {
|
|
190
190
|
getModelManager,
|
|
191
191
|
reloadModelManager
|
|
192
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-2KYNZVYI.js";
|
|
193
193
|
import {
|
|
194
194
|
debug
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-QPKTLTQI.js";
|
|
196
196
|
import {
|
|
197
197
|
ensureRipgrepReady
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-V5LS4WQ2.js";
|
|
199
199
|
import {
|
|
200
200
|
ASCII_LOGO,
|
|
201
201
|
CACHE_PATHS,
|
|
@@ -210,7 +210,7 @@ import {
|
|
|
210
210
|
formatDate,
|
|
211
211
|
getPlanConversationKey,
|
|
212
212
|
logError
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-K5X5ZH6S.js";
|
|
214
214
|
import {
|
|
215
215
|
getCwd,
|
|
216
216
|
getOriginalCwd,
|
|
@@ -218,7 +218,7 @@ import {
|
|
|
218
218
|
} from "./chunk-5ARRC2T2.js";
|
|
219
219
|
import {
|
|
220
220
|
MACRO
|
|
221
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-7BYD6UMZ.js";
|
|
222
222
|
import {
|
|
223
223
|
getKodeAgentSessionId
|
|
224
224
|
} from "./chunk-SWQV4KSY.js";
|
|
@@ -3733,7 +3733,7 @@ async function createAndStoreApiKey(accessToken) {
|
|
|
3733
3733
|
}
|
|
3734
3734
|
saveGlobalConfig(config2);
|
|
3735
3735
|
try {
|
|
3736
|
-
const { resetAnthropicClient } = await import("./llm-
|
|
3736
|
+
const { resetAnthropicClient } = await import("./llm-7IAXAPGJ.js");
|
|
3737
3737
|
resetAnthropicClient();
|
|
3738
3738
|
} catch {
|
|
3739
3739
|
}
|
|
@@ -4429,7 +4429,7 @@ async function refreshPluginRuntimeFromInstalls() {
|
|
|
4429
4429
|
const existingRoots = getSessionPlugins().map((p) => p.rootDir);
|
|
4430
4430
|
const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
|
|
4431
4431
|
if (dirs.length === 0) return [];
|
|
4432
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
4432
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-RYFDHMVD.js");
|
|
4433
4433
|
const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
|
|
4434
4434
|
return errors;
|
|
4435
4435
|
}
|
|
@@ -5436,7 +5436,7 @@ async function call(onDone, context) {
|
|
|
5436
5436
|
ModelConfig,
|
|
5437
5437
|
{
|
|
5438
5438
|
onClose: () => {
|
|
5439
|
-
import("./model-
|
|
5439
|
+
import("./model-2A3EVYK4.js").then(({ reloadModelManager: reloadModelManager2 }) => {
|
|
5440
5440
|
reloadModelManager2();
|
|
5441
5441
|
triggerModelConfigChange();
|
|
5442
5442
|
onDone();
|
|
@@ -7175,7 +7175,7 @@ async function refreshPluginRuntimeFromInstalls2() {
|
|
|
7175
7175
|
const existingRoots = getSessionPlugins().map((p) => p.rootDir);
|
|
7176
7176
|
const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
|
|
7177
7177
|
if (dirs.length === 0) return [];
|
|
7178
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
7178
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-RYFDHMVD.js");
|
|
7179
7179
|
const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
|
|
7180
7180
|
return errors;
|
|
7181
7181
|
}
|
|
@@ -8023,7 +8023,7 @@ var refreshCommands = {
|
|
|
8023
8023
|
async call(_, context) {
|
|
8024
8024
|
try {
|
|
8025
8025
|
await reloadCustomCommandsForSession();
|
|
8026
|
-
const { getCommands: getCommands2 } = await import("./registry-
|
|
8026
|
+
const { getCommands: getCommands2 } = await import("./registry-W5BED55O.js");
|
|
8027
8027
|
const commands = await getCommands2();
|
|
8028
8028
|
let projectCommands = 0;
|
|
8029
8029
|
let userCommands = 0;
|
|
@@ -11388,7 +11388,7 @@ Key principles for your system prompts:
|
|
|
11388
11388
|
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.
|
|
11389
11389
|
`;
|
|
11390
11390
|
async function generateAgentWithModel(prompt, options) {
|
|
11391
|
-
const { queryModel } = await import("./llm-
|
|
11391
|
+
const { queryModel } = await import("./llm-7IAXAPGJ.js");
|
|
11392
11392
|
const existing = (options?.existingIdentifiers ?? []).filter(Boolean);
|
|
11393
11393
|
const existingClause = existing.length > 0 ? `
|
|
11394
11394
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getSessionStoreProjectNameCandidatesForRead,
|
|
3
3
|
getSessionStoreRoots
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AT6COIQU.js";
|
|
5
5
|
|
|
6
6
|
// packages/protocol/src/utils/kodeAgentSessionResume.ts
|
|
7
7
|
import { existsSync, readdirSync, readFileSync, statSync } from "node:fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// package.json
|
|
2
2
|
var package_default = {
|
|
3
3
|
name: "@shareai-lab/kode",
|
|
4
|
-
version: "2.1.
|
|
4
|
+
version: "2.1.12",
|
|
5
5
|
workspaces: [
|
|
6
6
|
"apps/*",
|
|
7
7
|
"packages/*"
|
|
@@ -156,18 +156,18 @@ var package_default = {
|
|
|
156
156
|
"zod-to-json-schema": "^3.24.6"
|
|
157
157
|
},
|
|
158
158
|
optionalDependencies: {
|
|
159
|
-
"@shareai-lab/kode-bin-darwin-arm64": "2.1.
|
|
160
|
-
"@shareai-lab/kode-bin-darwin-x64": "2.1.
|
|
161
|
-
"@shareai-lab/kode-bin-linux-arm64": "2.1.
|
|
162
|
-
"@shareai-lab/kode-bin-linux-x64": "2.1.
|
|
163
|
-
"@shareai-lab/kode-bin-win32-arm64": "2.1.
|
|
164
|
-
"@shareai-lab/kode-bin-win32-x64": "2.1.
|
|
165
|
-
"@shareai-lab/kode-ripgrep-darwin-arm64": "2.1.
|
|
166
|
-
"@shareai-lab/kode-ripgrep-darwin-x64": "2.1.
|
|
167
|
-
"@shareai-lab/kode-ripgrep-linux-arm64": "2.1.
|
|
168
|
-
"@shareai-lab/kode-ripgrep-linux-x64": "2.1.
|
|
169
|
-
"@shareai-lab/kode-ripgrep-win32-arm64": "2.1.
|
|
170
|
-
"@shareai-lab/kode-ripgrep-win32-x64": "2.1.
|
|
159
|
+
"@shareai-lab/kode-bin-darwin-arm64": "2.1.12",
|
|
160
|
+
"@shareai-lab/kode-bin-darwin-x64": "2.1.12",
|
|
161
|
+
"@shareai-lab/kode-bin-linux-arm64": "2.1.12",
|
|
162
|
+
"@shareai-lab/kode-bin-linux-x64": "2.1.12",
|
|
163
|
+
"@shareai-lab/kode-bin-win32-arm64": "2.1.12",
|
|
164
|
+
"@shareai-lab/kode-bin-win32-x64": "2.1.12",
|
|
165
|
+
"@shareai-lab/kode-ripgrep-darwin-arm64": "2.1.12",
|
|
166
|
+
"@shareai-lab/kode-ripgrep-darwin-x64": "2.1.12",
|
|
167
|
+
"@shareai-lab/kode-ripgrep-linux-arm64": "2.1.12",
|
|
168
|
+
"@shareai-lab/kode-ripgrep-linux-x64": "2.1.12",
|
|
169
|
+
"@shareai-lab/kode-ripgrep-win32-arm64": "2.1.12",
|
|
170
|
+
"@shareai-lab/kode-ripgrep-win32-x64": "2.1.12"
|
|
171
171
|
},
|
|
172
172
|
devDependencies: {
|
|
173
173
|
"@codemirror/lang-css": "^6.3.1",
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../package.json"],
|
|
4
|
+
"sourcesContent": ["{\n \"name\": \"@shareai-lab/kode\",\n \"version\": \"2.1.12\",\n \"workspaces\": [\n \"apps/*\",\n \"packages/*\"\n ],\n \"bin\": {\n \"kode\": \"cli.js\",\n \"kwa\": \"cli.js\",\n \"kd\": \"cli.js\",\n \"mcp-cli\": \"mcp-cli.js\",\n \"kode-acp\": \"cli-acp.js\"\n },\n \"engines\": {\n \"node\": \">=20.18.1\"\n },\n \"main\": \"cli.js\",\n \"exports\": {\n \".\": {\n \"require\": \"./cli.js\",\n \"default\": \"./cli.js\"\n },\n \"./protocol\": {\n \"import\": \"./dist/sdk/protocol.js\",\n \"require\": \"./dist/sdk/protocol.cjs\"\n },\n \"./client\": {\n \"import\": \"./dist/sdk/client.js\",\n \"require\": \"./dist/sdk/client.cjs\"\n },\n \"./daemon-client\": {\n \"import\": \"./dist/sdk/daemon-client.js\",\n \"require\": \"./dist/sdk/daemon-client.cjs\"\n },\n \"./core\": {\n \"import\": \"./dist/sdk/core.js\",\n \"require\": \"./dist/sdk/core.cjs\"\n },\n \"./tools\": {\n \"import\": \"./dist/sdk/tools.js\",\n \"require\": \"./dist/sdk/tools.cjs\"\n },\n \"./runtime\": {\n \"import\": \"./dist/sdk/runtime.js\",\n \"require\": \"./dist/sdk/runtime.cjs\"\n },\n \"./runtime-node\": {\n \"import\": \"./dist/sdk/runtime-node.js\",\n \"require\": \"./dist/sdk/runtime-node.cjs\"\n }\n },\n \"author\": \"ShareAI-lab <ai-lab@foxmail.com>\",\n \"license\": \"Apache-2.0\",\n \"description\": \"AI-powered terminal assistant that understands your codebase, edits files, runs commands, and automates development workflows.\",\n \"homepage\": \"https://github.com/shareAI-lab/kode\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/shareAI-lab/kode.git\"\n },\n \"bugs\": {\n \"url\": \"https://github.com/shareAI-lab/kode/issues\"\n },\n \"files\": [\n \"cli.js\",\n \"cli-acp.js\",\n \"mcp-cli.js\",\n \"yoga.wasm\",\n \"dist/**/*\",\n \"!dist/bin/**\",\n \"!dist/binary/**\",\n \"packages/builtin-skills/THIRD_PARTY_NOTICES.md\",\n \"packages/builtin-skills/skills/**/*\",\n \"packages/builtin-skills/third_party/shareai-skills/LICENSE\",\n \"scripts/cli-wrapper.cjs\",\n \"scripts/cli-acp-wrapper.cjs\"\n ],\n \"scripts\": {\n \"dev\": \"bun run ./apps/cli/src/dispatch.ts --verbose\",\n \"dev:cli\": \"bun run ./apps/cli/src/dispatch.ts --verbose\",\n \"dev:server\": \"bun run --filter @kode/server dev\",\n \"dev:web\": \"bun run --filter @kode/web dev\",\n \"dev:bun\": \"bun run ./apps/cli/src/dispatch.ts --verbose\",\n \"build:cli\": \"node scripts/build-cli.mjs\",\n \"build:server\": \"node scripts/build-server.mjs\",\n \"build:web\": \"node scripts/build-web.mjs\",\n \"build\": \"bun run scripts/build.mjs\",\n \"build:binary\": \"bun run scripts/build-binary.mjs\",\n \"clean\": \"bun run scripts/clean.mjs\",\n \"prepublishOnly\": \"bun run scripts/build.mjs && bun run scripts/prepublish-check.js\",\n \"format\": \"prettier --write \\\"apps/**/*.{ts,tsx,js,jsx,json,md,css,html}\\\" \\\"packages/**/*.{ts,tsx,js,jsx,json,md}\\\" \\\"scripts/**/*.{ts,tsx,js,jsx,mjs,cjs,json}\\\" \\\"docs/**/*.{md,json}\\\"\",\n \"format:check\": \"prettier --check \\\"apps/**/*.{ts,tsx,js,jsx,json,md,css,html}\\\" \\\"packages/**/*.{ts,tsx,js,jsx,json,md}\\\" \\\"scripts/**/*.{ts,tsx,js,jsx,mjs,cjs,json}\\\" \\\"docs/**/*.{md,json}\\\"\",\n \"lint\": \"eslint . --ext .ts,.tsx,.js --max-warnings 0\",\n \"lint:fix\": \"eslint . --ext .ts,.tsx,.js --fix\",\n \"test\": \"bun test\",\n \"typecheck\": \"tsc --noEmit\",\n \"check\": \"bun run format:check && bun run typecheck && bun test && bun run build\",\n \"prepare\": \"node scripts/install-hooks.mjs\",\n \"publish:dev\": \"bun run scripts/publish-dev.js\",\n \"publish:release\": \"bun run scripts/publish-release.js\",\n \"bench:startup\": \"bun run scripts/bench-startup.mjs\"\n },\n \"dependencies\": {\n \"@anthropic-ai/bedrock-sdk\": \"^0.12.6\",\n \"@anthropic-ai/sdk\": \"^0.39.0\",\n \"@anthropic-ai/vertex-sdk\": \"^0.7.0\",\n \"@aws-sdk/client-bedrock-runtime\": \"3.797.0\",\n \"@commander-js/extra-typings\": \"^13.1.0\",\n \"@inkjs/ui\": \"^2.0.0\",\n \"@modelcontextprotocol/sdk\": \"^1.15.1\",\n \"@types/lodash-es\": \"^4.17.12\",\n \"@types/react\": \"19.2.9\",\n \"ajv\": \"^8.17.1\",\n \"ansi-escapes\": \"^7.0.0\",\n \"chalk\": \"^5.4.1\",\n \"cli-highlight\": \"^2.1.11\",\n \"cli-table3\": \"^0.6.5\",\n \"commander\": \"^13.1.0\",\n \"debug\": \"^4.4.1\",\n \"diff\": \"^7.0.0\",\n \"dotenv\": \"^16.6.1\",\n \"env-paths\": \"^3.0.0\",\n \"fflate\": \"^0.8.2\",\n \"figures\": \"^6.1.0\",\n \"glob\": \"^11.0.3\",\n \"gray-matter\": \"^4.0.3\",\n \"highlight.js\": \"^11.11.1\",\n \"ignore\": \"^7.0.5\",\n \"ink\": \"6.6.0\",\n \"ink-link\": \"^4.1.0\",\n \"ink-select-input\": \"^6.2.0\",\n \"ink-text-input\": \"^6.0.0\",\n \"js-yaml\": \"^4.1.1\",\n \"lodash-es\": \"^4.17.21\",\n \"lru-cache\": \"^11.1.0\",\n \"marked\": \"^15.0.12\",\n \"minimatch\": \"^10.0.3\",\n \"nanoid\": \"^5.1.5\",\n \"node-fetch\": \"^3.3.2\",\n \"node-html-parser\": \"^7.0.1\",\n \"openai\": \"^4.104.0\",\n \"react\": \"19.2.3\",\n \"semver\": \"^7.7.2\",\n \"shell-quote\": \"^1.8.3\",\n \"spawn-rx\": \"^5.1.2\",\n \"string-width\": \"^7.2.0\",\n \"strip-ansi\": \"^7.1.0\",\n \"tsx\": \"^4.20.3\",\n \"turndown\": \"^7.2.0\",\n \"undici\": \"^7.11.0\",\n \"which\": \"^5.0.0\",\n \"wrap-ansi\": \"^9.0.0\",\n \"ws\": \"^8.18.3\",\n \"zod\": \"^3.25.76\",\n \"zod-to-json-schema\": \"^3.24.6\"\n },\n \"optionalDependencies\": {\n \"@shareai-lab/kode-bin-darwin-arm64\": \"2.1.12\",\n \"@shareai-lab/kode-bin-darwin-x64\": \"2.1.12\",\n \"@shareai-lab/kode-bin-linux-arm64\": \"2.1.12\",\n \"@shareai-lab/kode-bin-linux-x64\": \"2.1.12\",\n \"@shareai-lab/kode-bin-win32-arm64\": \"2.1.12\",\n \"@shareai-lab/kode-bin-win32-x64\": \"2.1.12\",\n \"@shareai-lab/kode-ripgrep-darwin-arm64\": \"2.1.12\",\n \"@shareai-lab/kode-ripgrep-darwin-x64\": \"2.1.12\",\n \"@shareai-lab/kode-ripgrep-linux-arm64\": \"2.1.12\",\n \"@shareai-lab/kode-ripgrep-linux-x64\": \"2.1.12\",\n \"@shareai-lab/kode-ripgrep-win32-arm64\": \"2.1.12\",\n \"@shareai-lab/kode-ripgrep-win32-x64\": \"2.1.12\"\n },\n \"devDependencies\": {\n \"@codemirror/lang-css\": \"^6.3.1\",\n \"@codemirror/lang-html\": \"^6.4.10\",\n \"@codemirror/lang-javascript\": \"^6.2.4\",\n \"@codemirror/lang-json\": \"^6.0.2\",\n \"@codemirror/lang-markdown\": \"^6.3.4\",\n \"@codemirror/lang-python\": \"^6.2.1\",\n \"@codemirror/theme-one-dark\": \"^6.1.2\",\n \"@radix-ui/react-accordion\": \"^1.2.12\",\n \"@radix-ui/react-checkbox\": \"^1.3.3\",\n \"@radix-ui/react-collapsible\": \"^1.1.12\",\n \"@radix-ui/react-dialog\": \"^1.1.15\",\n \"@radix-ui/react-dropdown-menu\": \"^2.1.16\",\n \"@radix-ui/react-radio-group\": \"^1.3.8\",\n \"@radix-ui/react-scroll-area\": \"^1.2.10\",\n \"@radix-ui/react-separator\": \"^1.1.8\",\n \"@radix-ui/react-slot\": \"^1.2.4\",\n \"@radix-ui/react-tabs\": \"^1.1.13\",\n \"@radix-ui/react-tooltip\": \"^1.2.8\",\n \"@tailwindcss/postcss\": \"^4.1.18\",\n \"@tailwindcss/typography\": \"^0.5.19\",\n \"@types/bun\": \"latest\",\n \"@types/jest\": \"^30.0.0\",\n \"@types/node\": \"^24.1.0\",\n \"@types/which\": \"^3.0.4\",\n \"@uiw/react-codemirror\": \"^4.24.2\",\n \"@vitejs/plugin-react\": \"^4.7.0\",\n \"@xterm/addon-fit\": \"^0.10.0\",\n \"@xterm/xterm\": \"^5.5.0\",\n \"autoprefixer\": \"^10.4.21\",\n \"bun-types\": \"latest\",\n \"class-variance-authority\": \"^0.7.1\",\n \"clsx\": \"^2.1.1\",\n \"esbuild\": \"^0.25.9\",\n \"lucide-react\": \"^0.542.0\",\n \"next-themes\": \"^0.4.6\",\n \"postcss\": \"^8.5.6\",\n \"prettier\": \"^3.6.2\",\n \"react-devtools-core\": \"^7.0.1\",\n \"react-dom\": \"19.2.3\",\n \"react-markdown\": \"^10.1.0\",\n \"react-resizable-panels\": \"^3.0.5\",\n \"remark-gfm\": \"^4.0.1\",\n \"tailwind-merge\": \"^3.3.1\",\n \"tailwindcss\": \"^4.1.12\",\n \"tailwindcss-animate\": \"^1.0.7\",\n \"typescript\": \"^5.9.2\",\n \"vite\": \"^7.3.0\"\n },\n \"overrides\": {\n \"@aws-sdk/client-bedrock-runtime\": \"3.797.0\",\n \"@smithy/smithy-client\": \"2.5.1\"\n }\n}\n"],
|
|
5
|
+
"mappings": ";AAAA;AAAA,EACE,MAAQ;AAAA,EACR,SAAW;AAAA,EACX,YAAc;AAAA,IACZ;AAAA,IACA;AAAA,EACF;AAAA,EACA,KAAO;AAAA,IACL,MAAQ;AAAA,IACR,KAAO;AAAA,IACP,IAAM;AAAA,IACN,WAAW;AAAA,IACX,YAAY;AAAA,EACd;AAAA,EACA,SAAW;AAAA,IACT,MAAQ;AAAA,EACV;AAAA,EACA,MAAQ;AAAA,EACR,SAAW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|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CNB4BTZH.js";
|
|
5
5
|
import {
|
|
6
6
|
getContext,
|
|
7
7
|
getSystemPrompt
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GGDPVLLE.js";
|
|
9
9
|
|
|
10
10
|
// packages/core/src/engine/systemPrompt.ts
|
|
11
11
|
async function buildSystemPromptForSession(args) {
|
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
recordFileEdit,
|
|
12
12
|
recordFileRead,
|
|
13
13
|
writeTextContent
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-E3RRQRIO.js";
|
|
15
15
|
import {
|
|
16
16
|
hasReadPermission,
|
|
17
17
|
hasWritePermission
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AF5FWWON.js";
|
|
19
19
|
import {
|
|
20
20
|
emitReminderEvent
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-NBUFUMCY.js";
|
|
22
22
|
import {
|
|
23
23
|
createAssistantMessage
|
|
24
24
|
} from "./chunk-L2LWCVUF.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
import {
|
|
35
35
|
getKodeBaseDir,
|
|
36
36
|
logError
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-K5X5ZH6S.js";
|
|
38
38
|
import {
|
|
39
39
|
getCwd
|
|
40
40
|
} from "./chunk-5ARRC2T2.js";
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
} from "./chunk-M7P3QNRU.js";
|
|
7
7
|
import {
|
|
8
8
|
debug
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QPKTLTQI.js";
|
|
10
10
|
import {
|
|
11
11
|
getKodeBaseDir,
|
|
12
12
|
logError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-K5X5ZH6S.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-W5BED55O.js");
|
|
979
979
|
getCommands.cache.clear?.();
|
|
980
980
|
} catch (error) {
|
|
981
981
|
logError(error);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadToolPermissionContextFromDisk,
|
|
3
3
|
persistToolPermissionUpdateToDisk
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-D2NMSBDP.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-QPKTLTQI.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-K5X5ZH6S.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-7IAXAPGJ.js");
|
|
3619
3619
|
const response = await queryQuick({
|
|
3620
3620
|
systemPrompt,
|
|
3621
3621
|
userPrompt,
|