@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
countTokens,
|
|
3
3
|
query
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CNB4BTZH.js";
|
|
5
5
|
import {
|
|
6
6
|
FileReadTool,
|
|
7
7
|
FileWriteTool,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
toProjectRelativeIfPossible,
|
|
19
19
|
upsertBackgroundAgentTask,
|
|
20
20
|
waitForBackgroundAgentTask
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-6CFEV36C.js";
|
|
22
22
|
import {
|
|
23
23
|
addLineNumbers,
|
|
24
24
|
detectFileEncoding,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
recordFileEdit,
|
|
31
31
|
startWatchingTodoFile,
|
|
32
32
|
writeTextContent
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-E3RRQRIO.js";
|
|
34
34
|
import {
|
|
35
35
|
getCachedStringWidth
|
|
36
36
|
} from "./chunk-UKNILZCN.js";
|
|
@@ -38,10 +38,10 @@ import {
|
|
|
38
38
|
getActiveAgents,
|
|
39
39
|
getAgentByType,
|
|
40
40
|
getAvailableAgentTypes
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-GGCSITGB.js";
|
|
42
42
|
import {
|
|
43
43
|
loadKodeAgentSidechainMessagesForResume
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-JZASASUW.js";
|
|
45
45
|
import {
|
|
46
46
|
applyToolPermissionContextUpdateForConversationKey,
|
|
47
47
|
getBunShellSandboxPlan,
|
|
@@ -55,21 +55,21 @@ import {
|
|
|
55
55
|
splitBashCommandIntoSubcommands,
|
|
56
56
|
splitCommand,
|
|
57
57
|
xi
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-AF5FWWON.js";
|
|
59
59
|
import {
|
|
60
60
|
getAnthropicClient,
|
|
61
61
|
resolveToolDescription
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-JP34R5TN.js";
|
|
63
63
|
import {
|
|
64
64
|
getAgentPrompt,
|
|
65
65
|
getContext
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-GGDPVLLE.js";
|
|
67
67
|
import {
|
|
68
68
|
emitReminderEvent,
|
|
69
69
|
generateAgentId,
|
|
70
70
|
getTodos,
|
|
71
71
|
setTodos
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-NBUFUMCY.js";
|
|
73
73
|
import {
|
|
74
74
|
getRequestStatus,
|
|
75
75
|
subscribeRequestStatus
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
import {
|
|
82
82
|
queryLLM,
|
|
83
83
|
queryQuick
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-ZOLN5YMS.js";
|
|
85
85
|
import {
|
|
86
86
|
createDefaultToolPermissionContext
|
|
87
87
|
} from "./chunk-E4C4N7OV.js";
|
|
@@ -89,10 +89,10 @@ import {
|
|
|
89
89
|
getClients,
|
|
90
90
|
getMCPTools,
|
|
91
91
|
getMcpListChangedVersion
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-B7CNBBIL.js";
|
|
93
93
|
import {
|
|
94
94
|
safeParseJSON
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-HABZW45B.js";
|
|
96
96
|
import {
|
|
97
97
|
INTERRUPT_MESSAGE,
|
|
98
98
|
createAssistantMessage,
|
|
@@ -110,23 +110,22 @@ import {
|
|
|
110
110
|
} from "./chunk-GJYXZ5IL.js";
|
|
111
111
|
import {
|
|
112
112
|
getMaxThinkingTokens
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-QHFVTQTJ.js";
|
|
114
114
|
import {
|
|
115
115
|
getModelManager
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-2KYNZVYI.js";
|
|
117
117
|
import {
|
|
118
118
|
debug
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-QPKTLTQI.js";
|
|
120
120
|
import {
|
|
121
121
|
ripGrep
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-V5LS4WQ2.js";
|
|
123
123
|
import {
|
|
124
124
|
CACHE_PATHS,
|
|
125
125
|
PRODUCT_NAME,
|
|
126
126
|
PRODUCT_URL,
|
|
127
127
|
dateToFilename,
|
|
128
128
|
enterPlanMode,
|
|
129
|
-
env,
|
|
130
129
|
exitPlanMode,
|
|
131
130
|
getKodeBaseDir,
|
|
132
131
|
getMessagesPath,
|
|
@@ -136,7 +135,7 @@ import {
|
|
|
136
135
|
logError,
|
|
137
136
|
overwriteLog,
|
|
138
137
|
readPlanFile
|
|
139
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-K5X5ZH6S.js";
|
|
140
139
|
import {
|
|
141
140
|
getCwd,
|
|
142
141
|
getOriginalCwd
|
|
@@ -717,8 +716,7 @@ import React2 from "react";
|
|
|
717
716
|
import { z as z2 } from "zod";
|
|
718
717
|
|
|
719
718
|
// packages/core/src/constants/figures.ts
|
|
720
|
-
var
|
|
721
|
-
var RECORD_CIRCLE = "\u23FA";
|
|
719
|
+
var BULLET = "\u25C6";
|
|
722
720
|
var CHECKMARK = "\u2713";
|
|
723
721
|
var CROSS = "\u2717";
|
|
724
722
|
var DIAMOND_HOLLOW = "\u25C7";
|
|
@@ -802,11 +800,11 @@ var AskUserQuestionTool = {
|
|
|
802
800
|
},
|
|
803
801
|
renderToolUseRejectedMessage() {
|
|
804
802
|
const theme = getTheme();
|
|
805
|
-
return /* @__PURE__ */ React2.createElement(Box2, { flexDirection: "row", marginTop: 1 }, /* @__PURE__ */ React2.createElement(Text2, { color: theme.text },
|
|
803
|
+
return /* @__PURE__ */ React2.createElement(Box2, { flexDirection: "row", marginTop: 1 }, /* @__PURE__ */ React2.createElement(Text2, { color: theme.text }, BULLET, "\xA0"), /* @__PURE__ */ React2.createElement(Text2, null, "User declined to answer questions"));
|
|
806
804
|
},
|
|
807
805
|
renderToolResultMessage(output, _options) {
|
|
808
806
|
const theme = getTheme();
|
|
809
|
-
return /* @__PURE__ */ React2.createElement(Box2, { flexDirection: "column", marginTop: 1 }, /* @__PURE__ */ React2.createElement(Box2, { flexDirection: "row" }, /* @__PURE__ */ React2.createElement(Text2, { color: theme.text },
|
|
807
|
+
return /* @__PURE__ */ React2.createElement(Box2, { flexDirection: "column", marginTop: 1 }, /* @__PURE__ */ React2.createElement(Box2, { flexDirection: "row" }, /* @__PURE__ */ React2.createElement(Text2, { color: theme.text }, BULLET, "\xA0"), /* @__PURE__ */ React2.createElement(Text2, null, "User answered ", PRODUCT_NAME, " Agent's questions:")), /* @__PURE__ */ React2.createElement(Box2, { flexDirection: "column", paddingLeft: 2 }, Object.entries(output.answers).map(([question, answer]) => /* @__PURE__ */ React2.createElement(Box2, { key: question }, /* @__PURE__ */ React2.createElement(Text2, { dimColor: true }, "\xB7 ", question, " \u2192 ", answer)))));
|
|
810
808
|
},
|
|
811
809
|
renderResultForAssistant(output) {
|
|
812
810
|
const formatted = Object.entries(output.answers).map(([question, answer]) => `"${question}"="${answer}"`).join(", ");
|
|
@@ -1954,7 +1952,7 @@ function formatParseError(error) {
|
|
|
1954
1952
|
return error instanceof Error ? error.message : String(error);
|
|
1955
1953
|
}
|
|
1956
1954
|
async function defaultGateQuery(args) {
|
|
1957
|
-
const { API_ERROR_MESSAGE_PREFIX, queryLLM: queryLLM2 } = await import("./llm-
|
|
1955
|
+
const { API_ERROR_MESSAGE_PREFIX, queryLLM: queryLLM2 } = await import("./llm-7IAXAPGJ.js");
|
|
1958
1956
|
const messages = [createUserMessage(args.userInput)];
|
|
1959
1957
|
const assistant = await queryLLM2(
|
|
1960
1958
|
messages,
|
|
@@ -4527,11 +4525,11 @@ var EnterPlanModeTool = {
|
|
|
4527
4525
|
},
|
|
4528
4526
|
renderToolUseRejectedMessage() {
|
|
4529
4527
|
const theme = getTheme();
|
|
4530
|
-
return /* @__PURE__ */ React12.createElement(Box8, { flexDirection: "row", marginTop: 1 }, /* @__PURE__ */ React12.createElement(Text9, { color: theme.text },
|
|
4528
|
+
return /* @__PURE__ */ React12.createElement(Box8, { flexDirection: "row", marginTop: 1 }, /* @__PURE__ */ React12.createElement(Text9, { color: theme.text }, BULLET), /* @__PURE__ */ React12.createElement(Text9, null, " User declined to enter plan mode"));
|
|
4531
4529
|
},
|
|
4532
4530
|
renderToolResultMessage(_output) {
|
|
4533
4531
|
const theme = getTheme();
|
|
4534
|
-
return /* @__PURE__ */ React12.createElement(Box8, { flexDirection: "column", marginTop: 1 }, /* @__PURE__ */ React12.createElement(Box8, { flexDirection: "row" }, /* @__PURE__ */ React12.createElement(Text9, { color: theme.planMode },
|
|
4532
|
+
return /* @__PURE__ */ React12.createElement(Box8, { flexDirection: "column", marginTop: 1 }, /* @__PURE__ */ React12.createElement(Box8, { flexDirection: "row" }, /* @__PURE__ */ React12.createElement(Text9, { color: theme.planMode }, BULLET), /* @__PURE__ */ React12.createElement(Text9, null, " Entered plan mode")), /* @__PURE__ */ React12.createElement(Box8, { paddingLeft: 2 }, /* @__PURE__ */ React12.createElement(Text9, { dimColor: true }, "Kode Agent is now exploring and designing an implementation approach.")));
|
|
4535
4533
|
},
|
|
4536
4534
|
renderResultForAssistant(output) {
|
|
4537
4535
|
return `${output.message}
|
|
@@ -4643,7 +4641,7 @@ var ExitPlanModeTool = {
|
|
|
4643
4641
|
const theme = getTheme();
|
|
4644
4642
|
const planPath = typeof output.filePath === "string" ? output.filePath : null;
|
|
4645
4643
|
const plan = output.plan || "No plan found";
|
|
4646
|
-
return /* @__PURE__ */ React13.createElement(Box9, { flexDirection: "column", marginTop: 1, width: "100%" }, /* @__PURE__ */ React13.createElement(Box9, { flexDirection: "row" }, /* @__PURE__ */ React13.createElement(Text10, { color: theme.planMode },
|
|
4644
|
+
return /* @__PURE__ */ React13.createElement(Box9, { flexDirection: "column", marginTop: 1, width: "100%" }, /* @__PURE__ */ React13.createElement(Box9, { flexDirection: "row" }, /* @__PURE__ */ React13.createElement(Text10, { color: theme.planMode }, BULLET), /* @__PURE__ */ React13.createElement(Text10, null, " User approved the plan")), /* @__PURE__ */ React13.createElement(Box9, { flexDirection: "row" }, /* @__PURE__ */ React13.createElement(Text10, null, "\xA0\xA0\u23BF \xA0"), /* @__PURE__ */ React13.createElement(Box9, { flexDirection: "column" }, planPath ? /* @__PURE__ */ React13.createElement(Text10, { dimColor: true }, "Plan file: ", planPath, " \xB7 /plan to edit") : null, /* @__PURE__ */ React13.createElement(Text10, { dimColor: true }, plan))));
|
|
4647
4645
|
},
|
|
4648
4646
|
renderResultForAssistant(output) {
|
|
4649
4647
|
if (output.isAgent) {
|
|
@@ -8175,7 +8173,7 @@ var SkillTool = {
|
|
|
8175
8173
|
const MAX_AVAILABLE_SKILLS_CHARS = 8e3;
|
|
8176
8174
|
async function loadCommands() {
|
|
8177
8175
|
try {
|
|
8178
|
-
const mod = await import("./customCommands-
|
|
8176
|
+
const mod = await import("./customCommands-FC5MN3RF.js");
|
|
8179
8177
|
if (typeof mod.loadCustomCommands !== "function") return [];
|
|
8180
8178
|
const cmds = await mod.loadCustomCommands();
|
|
8181
8179
|
if (!Array.isArray(cmds)) return [];
|
|
@@ -9526,7 +9524,7 @@ var getReadOnlyTools = memoize2(async () => {
|
|
|
9526
9524
|
|
|
9527
9525
|
export {
|
|
9528
9526
|
applyMarkdown,
|
|
9529
|
-
|
|
9527
|
+
BULLET,
|
|
9530
9528
|
CHECKMARK,
|
|
9531
9529
|
CROSS,
|
|
9532
9530
|
DIAMOND_HOLLOW,
|