newcraw 1.0.3 → 1.0.4
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/REPL-DECTPCL5.js +50 -0
- package/dist/{acp-25PIN25O.js → acp-HA476EHW.js} +30 -30
- package/dist/{agentsValidate-BXDD54YP.js → agentsValidate-EDPFUUMG.js} +7 -7
- package/dist/{ask-EL4XAA5P.js → ask-5SP4YYRD.js} +30 -30
- package/dist/{autoUpdater-DKMSJXWW.js → autoUpdater-FFMM2DR7.js} +3 -3
- package/dist/{chunk-ALQSPHXV.js → chunk-2BVCVKKB.js} +1 -1
- package/dist/{chunk-2OVXJBJV.js → chunk-2JCTO2EY.js} +2 -2
- package/dist/{chunk-BTCASL4X.js → chunk-3CKC4ABU.js} +177 -218
- package/dist/chunk-3CKC4ABU.js.map +7 -0
- package/dist/{chunk-RF57YWGW.js → chunk-ARCEUG3V.js} +7 -7
- package/dist/{chunk-7E2L7EH2.js → chunk-BJYXLCRS.js} +4 -4
- package/dist/{chunk-3ZQRACCP.js → chunk-BMKE6FT5.js} +13 -13
- package/dist/{chunk-NW7WSLD5.js → chunk-EHQ2M5B4.js} +1 -1
- package/dist/{chunk-NW7WSLD5.js.map → chunk-EHQ2M5B4.js.map} +1 -1
- package/dist/{chunk-AKNZJBBU.js → chunk-EUBZGAIN.js} +6 -6
- package/dist/{chunk-FSSZHQEJ.js → chunk-FIMCETCB.js} +2 -2
- package/dist/{chunk-QZFKONA3.js → chunk-GVLJUD6R.js} +1 -1
- package/dist/{chunk-APSIF3YK.js → chunk-IVWPPTDM.js} +1 -1
- package/dist/{chunk-ERKWSZ3K.js → chunk-IXFBUXQW.js} +1 -1
- package/dist/{chunk-P52SGBC4.js → chunk-IZZTKEZH.js} +1 -1
- package/dist/{chunk-ADJ4YEII.js → chunk-JI4HCLK7.js} +1 -1
- package/dist/{chunk-PC6QOCGI.js → chunk-KJTPUTU7.js} +2 -2
- package/dist/{chunk-KRN3WHHL.js → chunk-KS646CDL.js} +3 -3
- package/dist/{chunk-3D3C7MRI.js → chunk-MJ3MLGVB.js} +3 -3
- package/dist/{chunk-4A6CDBDH.js → chunk-MJLWBVZP.js} +2 -2
- package/dist/{chunk-Y7MDOB3N.js → chunk-MMF5RMLU.js} +1 -1
- package/dist/{chunk-D2FSAFMO.js → chunk-MUW3J7CP.js} +2 -2
- package/dist/{chunk-NFYAVT54.js → chunk-NFXLN6FJ.js} +1 -1
- package/dist/{chunk-XV7LPJNT.js → chunk-O4EKE3YR.js} +3 -3
- package/dist/{chunk-GV73HKJO.js → chunk-Q2OBTLBI.js} +8 -8
- package/dist/{chunk-6WT3ZRYF.js → chunk-QJ7MQIHN.js} +4 -4
- package/dist/{chunk-GZ4BEVMZ.js → chunk-QT5GS374.js} +1 -1
- package/dist/{chunk-KNSAVNMD.js → chunk-QX5Y5CE5.js} +3 -3
- package/dist/{chunk-ENLHVQCX.js → chunk-U6IF5D3J.js} +3 -3
- package/dist/{chunk-53VETVCP.js → chunk-UPRKGNBR.js} +3 -3
- package/dist/{chunk-UGBECBIR.js → chunk-UUCRNFMH.js} +1 -1
- package/dist/{chunk-7PWVUHQ2.js → chunk-W7Q3VYAB.js} +2 -2
- package/dist/{chunk-RE226X4F.js → chunk-WAXMRSVR.js} +1 -1
- package/dist/{chunk-ZLAB3Z4G.js → chunk-X3NER6FY.js} +3 -3
- package/dist/{chunk-BMJ5XGFR.js → chunk-XYQZLDRB.js} +1 -1
- package/dist/{chunk-VHZRJ7RI.js → chunk-ZM5FMRLS.js} +2 -2
- package/dist/{cli-Z2BNJWHT.js → cli-4KO6TA5J.js} +84 -84
- package/dist/commands-JSY7CGSU.js +54 -0
- package/dist/{config-5RS7HDIK.js → config-DQEFVW3Y.js} +4 -4
- package/dist/{context-XZXRRYKS.js → context-HVQCTO5R.js} +5 -5
- package/dist/{customCommands-6KDAODFQ.js → customCommands-XCINU5TG.js} +4 -4
- package/dist/{env-WIM2DQ4L.js → env-ZOPEXWMF.js} +2 -2
- package/dist/{gateway-DKHC7H3K.js → gateway-SUXSILQL.js} +27 -27
- package/dist/index.js +4 -4
- package/dist/{kodeAgentSessionLoad-4S452GGD.js → kodeAgentSessionLoad-HB3BYVNG.js} +4 -4
- package/dist/{kodeAgentSessionResume-MSMG4QUR.js → kodeAgentSessionResume-IGSZZY3G.js} +4 -4
- package/dist/{kodeAgentStreamJsonSession-CYG6MLKP.js → kodeAgentStreamJsonSession-4L76UC75.js} +1 -1
- package/dist/{kodeHooks-WX3N6CL6.js → kodeHooks-H6DMC3XX.js} +4 -4
- package/dist/{llm-V2W4KJIA.js → llm-OJZ6DZVC.js} +98 -34
- package/dist/{llm-V2W4KJIA.js.map → llm-OJZ6DZVC.js.map} +3 -3
- package/dist/{llmLazy-I7SO67YA.js → llmLazy-TDLZZDPL.js} +1 -1
- package/dist/{loader-YJGRGJNH.js → loader-MOVYZ76M.js} +4 -4
- package/dist/{mcp-WG3RQQCZ.js → mcp-DUYSIR5L.js} +7 -7
- package/dist/{mentionProcessor-PKWDUKTN.js → mentionProcessor-EKVLXJN4.js} +5 -5
- package/dist/{messages-RXHQ6VKL.js → messages-23ICFVMC.js} +1 -1
- package/dist/{model-JNWAZGT7.js → model-FUBCTRTV.js} +5 -5
- package/dist/{openai-6NL5UXO7.js → openai-SMYIAIO4.js} +5 -5
- package/dist/{outputStyles-BVPXT3MW.js → outputStyles-HBOYJFBE.js} +4 -4
- package/dist/{pluginRuntime-XHI3TCRJ.js → pluginRuntime-ATZMDZA7.js} +6 -6
- package/dist/{pluginValidation-WDFL352C.js → pluginValidation-7CGOMT6F.js} +6 -6
- package/dist/prompts-MFESKNYZ.js +58 -0
- package/dist/query-BFEFOX4S.js +58 -0
- package/dist/{ripgrep-BHDXRABJ.js → ripgrep-KNJBCJIQ.js} +3 -3
- package/dist/{sandbox-QOXESHL4.js → sandbox-P3FR4G4D.js} +4 -4
- package/dist/{skillMarketplace-RIAMO2YA.js → skillMarketplace-PCMKVV4O.js} +3 -3
- package/dist/{state-TM2XZQE2.js → state-XBYIQ7R4.js} +2 -2
- package/dist/{theme-BXUQNXSD.js → theme-4ZSXUILR.js} +5 -5
- package/dist/{thinking-BCZ4WDT6.js → thinking-TTNUZUB3.js} +6 -6
- package/dist/{toolPermissionContextState-ILRPUITK.js → toolPermissionContextState-R6ZGMKP6.js} +7 -7
- package/dist/{toolPermissionSettings-LNYZ6XFE.js → toolPermissionSettings-GMEYTJEA.js} +6 -6
- package/dist/tools-7FVKB7BG.js +55 -0
- package/dist/{userInput-I33T2RX2.js → userInput-SZEUY5J6.js} +31 -31
- package/package.json +2 -2
- package/dist/REPL-CTTH53A7.js +0 -50
- package/dist/chunk-BTCASL4X.js.map +0 -7
- package/dist/commands-3Y3OQOXT.js +0 -54
- package/dist/prompts-C4RUFGX2.js +0 -58
- package/dist/query-IA3UKMGR.js +0 -58
- package/dist/tools-HIPUGTF5.js +0 -55
- /package/dist/{REPL-CTTH53A7.js.map → REPL-DECTPCL5.js.map} +0 -0
- /package/dist/{acp-25PIN25O.js.map → acp-HA476EHW.js.map} +0 -0
- /package/dist/{agentsValidate-BXDD54YP.js.map → agentsValidate-EDPFUUMG.js.map} +0 -0
- /package/dist/{ask-EL4XAA5P.js.map → ask-5SP4YYRD.js.map} +0 -0
- /package/dist/{autoUpdater-DKMSJXWW.js.map → autoUpdater-FFMM2DR7.js.map} +0 -0
- /package/dist/{chunk-ALQSPHXV.js.map → chunk-2BVCVKKB.js.map} +0 -0
- /package/dist/{chunk-2OVXJBJV.js.map → chunk-2JCTO2EY.js.map} +0 -0
- /package/dist/{chunk-RF57YWGW.js.map → chunk-ARCEUG3V.js.map} +0 -0
- /package/dist/{chunk-7E2L7EH2.js.map → chunk-BJYXLCRS.js.map} +0 -0
- /package/dist/{chunk-3ZQRACCP.js.map → chunk-BMKE6FT5.js.map} +0 -0
- /package/dist/{chunk-AKNZJBBU.js.map → chunk-EUBZGAIN.js.map} +0 -0
- /package/dist/{chunk-FSSZHQEJ.js.map → chunk-FIMCETCB.js.map} +0 -0
- /package/dist/{chunk-QZFKONA3.js.map → chunk-GVLJUD6R.js.map} +0 -0
- /package/dist/{chunk-APSIF3YK.js.map → chunk-IVWPPTDM.js.map} +0 -0
- /package/dist/{chunk-ERKWSZ3K.js.map → chunk-IXFBUXQW.js.map} +0 -0
- /package/dist/{chunk-P52SGBC4.js.map → chunk-IZZTKEZH.js.map} +0 -0
- /package/dist/{chunk-ADJ4YEII.js.map → chunk-JI4HCLK7.js.map} +0 -0
- /package/dist/{chunk-PC6QOCGI.js.map → chunk-KJTPUTU7.js.map} +0 -0
- /package/dist/{chunk-KRN3WHHL.js.map → chunk-KS646CDL.js.map} +0 -0
- /package/dist/{chunk-3D3C7MRI.js.map → chunk-MJ3MLGVB.js.map} +0 -0
- /package/dist/{chunk-4A6CDBDH.js.map → chunk-MJLWBVZP.js.map} +0 -0
- /package/dist/{chunk-Y7MDOB3N.js.map → chunk-MMF5RMLU.js.map} +0 -0
- /package/dist/{chunk-D2FSAFMO.js.map → chunk-MUW3J7CP.js.map} +0 -0
- /package/dist/{chunk-NFYAVT54.js.map → chunk-NFXLN6FJ.js.map} +0 -0
- /package/dist/{chunk-XV7LPJNT.js.map → chunk-O4EKE3YR.js.map} +0 -0
- /package/dist/{chunk-GV73HKJO.js.map → chunk-Q2OBTLBI.js.map} +0 -0
- /package/dist/{chunk-6WT3ZRYF.js.map → chunk-QJ7MQIHN.js.map} +0 -0
- /package/dist/{chunk-GZ4BEVMZ.js.map → chunk-QT5GS374.js.map} +0 -0
- /package/dist/{chunk-KNSAVNMD.js.map → chunk-QX5Y5CE5.js.map} +0 -0
- /package/dist/{chunk-ENLHVQCX.js.map → chunk-U6IF5D3J.js.map} +0 -0
- /package/dist/{chunk-53VETVCP.js.map → chunk-UPRKGNBR.js.map} +0 -0
- /package/dist/{chunk-UGBECBIR.js.map → chunk-UUCRNFMH.js.map} +0 -0
- /package/dist/{chunk-7PWVUHQ2.js.map → chunk-W7Q3VYAB.js.map} +0 -0
- /package/dist/{chunk-RE226X4F.js.map → chunk-WAXMRSVR.js.map} +0 -0
- /package/dist/{chunk-ZLAB3Z4G.js.map → chunk-X3NER6FY.js.map} +0 -0
- /package/dist/{chunk-BMJ5XGFR.js.map → chunk-XYQZLDRB.js.map} +0 -0
- /package/dist/{chunk-VHZRJ7RI.js.map → chunk-ZM5FMRLS.js.map} +0 -0
- /package/dist/{cli-Z2BNJWHT.js.map → cli-4KO6TA5J.js.map} +0 -0
- /package/dist/{commands-3Y3OQOXT.js.map → commands-JSY7CGSU.js.map} +0 -0
- /package/dist/{config-5RS7HDIK.js.map → config-DQEFVW3Y.js.map} +0 -0
- /package/dist/{context-XZXRRYKS.js.map → context-HVQCTO5R.js.map} +0 -0
- /package/dist/{customCommands-6KDAODFQ.js.map → customCommands-XCINU5TG.js.map} +0 -0
- /package/dist/{env-WIM2DQ4L.js.map → env-ZOPEXWMF.js.map} +0 -0
- /package/dist/{gateway-DKHC7H3K.js.map → gateway-SUXSILQL.js.map} +0 -0
- /package/dist/{kodeAgentSessionLoad-4S452GGD.js.map → kodeAgentSessionLoad-HB3BYVNG.js.map} +0 -0
- /package/dist/{kodeAgentSessionResume-MSMG4QUR.js.map → kodeAgentSessionResume-IGSZZY3G.js.map} +0 -0
- /package/dist/{kodeAgentStreamJsonSession-CYG6MLKP.js.map → kodeAgentStreamJsonSession-4L76UC75.js.map} +0 -0
- /package/dist/{kodeHooks-WX3N6CL6.js.map → kodeHooks-H6DMC3XX.js.map} +0 -0
- /package/dist/{llmLazy-I7SO67YA.js.map → llmLazy-TDLZZDPL.js.map} +0 -0
- /package/dist/{loader-YJGRGJNH.js.map → loader-MOVYZ76M.js.map} +0 -0
- /package/dist/{mcp-WG3RQQCZ.js.map → mcp-DUYSIR5L.js.map} +0 -0
- /package/dist/{mentionProcessor-PKWDUKTN.js.map → mentionProcessor-EKVLXJN4.js.map} +0 -0
- /package/dist/{messages-RXHQ6VKL.js.map → messages-23ICFVMC.js.map} +0 -0
- /package/dist/{model-JNWAZGT7.js.map → model-FUBCTRTV.js.map} +0 -0
- /package/dist/{openai-6NL5UXO7.js.map → openai-SMYIAIO4.js.map} +0 -0
- /package/dist/{outputStyles-BVPXT3MW.js.map → outputStyles-HBOYJFBE.js.map} +0 -0
- /package/dist/{pluginRuntime-XHI3TCRJ.js.map → pluginRuntime-ATZMDZA7.js.map} +0 -0
- /package/dist/{pluginValidation-WDFL352C.js.map → pluginValidation-7CGOMT6F.js.map} +0 -0
- /package/dist/{prompts-C4RUFGX2.js.map → prompts-MFESKNYZ.js.map} +0 -0
- /package/dist/{query-IA3UKMGR.js.map → query-BFEFOX4S.js.map} +0 -0
- /package/dist/{ripgrep-BHDXRABJ.js.map → ripgrep-KNJBCJIQ.js.map} +0 -0
- /package/dist/{sandbox-QOXESHL4.js.map → sandbox-P3FR4G4D.js.map} +0 -0
- /package/dist/{skillMarketplace-RIAMO2YA.js.map → skillMarketplace-PCMKVV4O.js.map} +0 -0
- /package/dist/{state-TM2XZQE2.js.map → state-XBYIQ7R4.js.map} +0 -0
- /package/dist/{theme-BXUQNXSD.js.map → theme-4ZSXUILR.js.map} +0 -0
- /package/dist/{thinking-BCZ4WDT6.js.map → thinking-TTNUZUB3.js.map} +0 -0
- /package/dist/{toolPermissionContextState-ILRPUITK.js.map → toolPermissionContextState-R6ZGMKP6.js.map} +0 -0
- /package/dist/{toolPermissionSettings-LNYZ6XFE.js.map → toolPermissionSettings-GMEYTJEA.js.map} +0 -0
- /package/dist/{tools-HIPUGTF5.js.map → tools-7FVKB7BG.js.map} +0 -0
- /package/dist/{userInput-I33T2RX2.js.map → userInput-SZEUY5J6.js.map} +0 -0
|
@@ -8,17 +8,17 @@ import {
|
|
|
8
8
|
getSettingsFileCandidates,
|
|
9
9
|
loadSettingsWithLegacyFallback,
|
|
10
10
|
saveSettingsToPrimaryAndSyncLegacy
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JI4HCLK7.js";
|
|
12
12
|
import {
|
|
13
13
|
getCurrentProjectConfig,
|
|
14
14
|
init_config
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-U6IF5D3J.js";
|
|
16
16
|
import {
|
|
17
17
|
getCwd,
|
|
18
18
|
init_log,
|
|
19
19
|
init_state,
|
|
20
20
|
logError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-XYQZLDRB.js";
|
|
22
22
|
|
|
23
23
|
// src/utils/permissions/toolPermissionSettings.ts
|
|
24
24
|
init_config();
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
debug,
|
|
11
11
|
init_debugLogger
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QT5GS374.js";
|
|
13
13
|
import {
|
|
14
14
|
getCwd,
|
|
15
15
|
init_log,
|
|
16
16
|
init_state,
|
|
17
17
|
logError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XYQZLDRB.js";
|
|
19
19
|
|
|
20
20
|
// src/utils/agent/loader.ts
|
|
21
21
|
init_state();
|
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
} from "./chunk-A44DGORI.js";
|
|
8
8
|
import {
|
|
9
9
|
getAllTools
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BMKE6FT5.js";
|
|
11
11
|
import {
|
|
12
12
|
showSetupScreens
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EUBZGAIN.js";
|
|
14
14
|
import {
|
|
15
15
|
KodeAgentStructuredStdio
|
|
16
16
|
} from "./chunk-QSRXXZO7.js";
|
|
17
17
|
import {
|
|
18
18
|
assertMinVersion
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-O4EKE3YR.js";
|
|
20
20
|
import {
|
|
21
21
|
getToolDescription
|
|
22
22
|
} from "./chunk-T25Z3JMG.js";
|
|
@@ -30,21 +30,21 @@ import {
|
|
|
30
30
|
hasPermissionsToUseTool,
|
|
31
31
|
review_default,
|
|
32
32
|
useTerminalSize
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-3CKC4ABU.js";
|
|
34
34
|
import {
|
|
35
35
|
Select,
|
|
36
36
|
grantReadPermissionForOriginalDir,
|
|
37
37
|
useExitOnCtrlCD
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-Q2OBTLBI.js";
|
|
39
|
+
import "./chunk-UPRKGNBR.js";
|
|
40
|
+
import "./chunk-NFXLN6FJ.js";
|
|
41
|
+
import "./chunk-IVWPPTDM.js";
|
|
42
|
+
import "./chunk-KJTPUTU7.js";
|
|
43
43
|
import "./chunk-JX5ZQYTQ.js";
|
|
44
44
|
import "./chunk-XJQATPV7.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-MUW3J7CP.js";
|
|
46
|
+
import "./chunk-MMF5RMLU.js";
|
|
47
|
+
import "./chunk-BJYXLCRS.js";
|
|
48
48
|
import {
|
|
49
49
|
addMcpServer,
|
|
50
50
|
ensureConfigScope,
|
|
@@ -59,46 +59,46 @@ import {
|
|
|
59
59
|
parseEnvVars,
|
|
60
60
|
parseMcpHeaders,
|
|
61
61
|
removeMcpServer
|
|
62
|
-
} from "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
62
|
+
} from "./chunk-QJ7MQIHN.js";
|
|
63
|
+
import "./chunk-IZZTKEZH.js";
|
|
64
|
+
import "./chunk-UUCRNFMH.js";
|
|
65
|
+
import "./chunk-X3NER6FY.js";
|
|
66
66
|
import "./chunk-U7S4MEYP.js";
|
|
67
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-FIMCETCB.js";
|
|
68
68
|
import "./chunk-TY3CCSAT.js";
|
|
69
69
|
import {
|
|
70
70
|
clearAgentCache,
|
|
71
71
|
setFlagAgentsFromCliJson
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
72
|
+
} from "./chunk-ZM5FMRLS.js";
|
|
73
|
+
import "./chunk-IXFBUXQW.js";
|
|
74
|
+
import "./chunk-WAXMRSVR.js";
|
|
75
|
+
import "./chunk-MJLWBVZP.js";
|
|
76
|
+
import "./chunk-KS646CDL.js";
|
|
77
77
|
import "./chunk-7ZFLZNOW.js";
|
|
78
78
|
import {
|
|
79
79
|
clearOutputStyleCache
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-W7Q3VYAB.js";
|
|
81
81
|
import {
|
|
82
82
|
setEnabledSettingSourcesFromCli
|
|
83
83
|
} from "./chunk-INJSFEKL.js";
|
|
84
|
-
import "./chunk-
|
|
84
|
+
import "./chunk-JI4HCLK7.js";
|
|
85
85
|
import "./chunk-JLVECHVJ.js";
|
|
86
|
-
import "./chunk-
|
|
86
|
+
import "./chunk-2JCTO2EY.js";
|
|
87
87
|
import "./chunk-2UO3BFZH.js";
|
|
88
88
|
import "./chunk-CHB5K4GI.js";
|
|
89
89
|
import {
|
|
90
90
|
getModelManager,
|
|
91
91
|
init_model,
|
|
92
92
|
isDefaultSlowAndCapableModel
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-QX5Y5CE5.js";
|
|
94
94
|
import {
|
|
95
95
|
getContext,
|
|
96
96
|
removeContext,
|
|
97
97
|
setContext
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-MJ3MLGVB.js";
|
|
99
99
|
import {
|
|
100
100
|
getTheme
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-GVLJUD6R.js";
|
|
102
102
|
import {
|
|
103
103
|
deleteConfigForCLI,
|
|
104
104
|
enableConfigs,
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
saveGlobalConfig,
|
|
113
113
|
setConfigForCLI,
|
|
114
114
|
validateAndRepairAllGPT5Profiles
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-U6IF5D3J.js";
|
|
116
116
|
import {
|
|
117
117
|
ConfigParseError,
|
|
118
118
|
init_errors
|
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
debug,
|
|
122
122
|
initDebugLogger,
|
|
123
123
|
init_debugLogger
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-QT5GS374.js";
|
|
125
125
|
import {
|
|
126
126
|
BunShell,
|
|
127
127
|
CACHE_PATHS,
|
|
@@ -139,7 +139,7 @@ import {
|
|
|
139
139
|
parseLogFilename,
|
|
140
140
|
setCwd,
|
|
141
141
|
setOriginalCwd
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-XYQZLDRB.js";
|
|
143
143
|
import {
|
|
144
144
|
PRODUCT_COMMAND,
|
|
145
145
|
PRODUCT_NAME,
|
|
@@ -148,7 +148,7 @@ import {
|
|
|
148
148
|
import {
|
|
149
149
|
MACRO,
|
|
150
150
|
init_macros
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-EHQ2M5B4.js";
|
|
152
152
|
import "./chunk-ZMO4E7IW.js";
|
|
153
153
|
import "./chunk-HLBLZKZH.js";
|
|
154
154
|
import "./chunk-D4OZACS2.js";
|
|
@@ -317,7 +317,7 @@ function createPrintModeControlRequestHandler(args) {
|
|
|
317
317
|
|
|
318
318
|
// src/entrypoints/cli/stdio/streamJsonSession.ts
|
|
319
319
|
async function runPrintModeStreamJsonSession(args) {
|
|
320
|
-
const { runKodeAgentStreamJsonSession } = await import("./kodeAgentStreamJsonSession-
|
|
320
|
+
const { runKodeAgentStreamJsonSession } = await import("./kodeAgentStreamJsonSession-4L76UC75.js");
|
|
321
321
|
await runKodeAgentStreamJsonSession(args);
|
|
322
322
|
}
|
|
323
323
|
|
|
@@ -469,18 +469,18 @@ async function runPrintMode({
|
|
|
469
469
|
`);
|
|
470
470
|
process.exit(0);
|
|
471
471
|
}
|
|
472
|
-
const { createUserMessage } = await import("./messages-
|
|
473
|
-
const { getSystemPrompt } = await import("./prompts-
|
|
474
|
-
const { getContext: getContext2 } = await import("./context-
|
|
472
|
+
const { createUserMessage } = await import("./messages-23ICFVMC.js");
|
|
473
|
+
const { getSystemPrompt } = await import("./prompts-MFESKNYZ.js");
|
|
474
|
+
const { getContext: getContext2 } = await import("./context-HVQCTO5R.js");
|
|
475
475
|
const { getTotalCost } = await import("./costTracker-VSWW7SRT.js");
|
|
476
|
-
const { query } = await import("./query-
|
|
476
|
+
const { query } = await import("./query-BFEFOX4S.js");
|
|
477
477
|
const { getKodeAgentSessionId } = await import("./kodeAgentSessionId-4SH24DVH.js");
|
|
478
478
|
const { kodeMessageToSdkMessage, makeSdkInitMessage, makeSdkResultMessage, makeSdkReasoningMessage } = await import("./kodeAgentStreamJson-4ZKIWKS3.js");
|
|
479
479
|
const { KodeAgentStructuredStdio: KodeAgentStructuredStdio2 } = await import("./kodeAgentStructuredStdio-5DCUC6V6.js");
|
|
480
480
|
const {
|
|
481
481
|
loadToolPermissionContextFromDisk,
|
|
482
482
|
persistToolPermissionUpdateToDisk
|
|
483
|
-
} = await import("./toolPermissionSettings-
|
|
483
|
+
} = await import("./toolPermissionSettings-GMEYTJEA.js");
|
|
484
484
|
const { applyToolPermissionContextUpdates } = await import("./toolPermissionContext-JCQ5MFUT.js");
|
|
485
485
|
const sessionIdForSdk = getKodeAgentSessionId();
|
|
486
486
|
const startedAt = Date.now();
|
|
@@ -887,9 +887,9 @@ async function setup(cwd2, safeMode) {
|
|
|
887
887
|
grantReadPermissionForOriginalDir();
|
|
888
888
|
let agentLoader;
|
|
889
889
|
try {
|
|
890
|
-
agentLoader = await import("./loader-
|
|
890
|
+
agentLoader = await import("./loader-MOVYZ76M.js");
|
|
891
891
|
} catch {
|
|
892
|
-
agentLoader = await import("./loader-
|
|
892
|
+
agentLoader = await import("./loader-MOVYZ76M.js");
|
|
893
893
|
}
|
|
894
894
|
const { startAgentWatcher } = agentLoader;
|
|
895
895
|
await startAgentWatcher(() => {
|
|
@@ -1526,7 +1526,7 @@ async function runCli() {
|
|
|
1526
1526
|
});
|
|
1527
1527
|
queueMicrotask(async () => {
|
|
1528
1528
|
try {
|
|
1529
|
-
const { tryInitSandboxPool } = await import("./sandbox-
|
|
1529
|
+
const { tryInitSandboxPool } = await import("./sandbox-P3FR4G4D.js");
|
|
1530
1530
|
await tryInitSandboxPool();
|
|
1531
1531
|
} catch {
|
|
1532
1532
|
}
|
|
@@ -1771,12 +1771,12 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
1771
1771
|
assertMinVersion();
|
|
1772
1772
|
{
|
|
1773
1773
|
const requested = Array.isArray(pluginDir) && pluginDir.length > 0 ? pluginDir : [];
|
|
1774
|
-
const { listEnabledInstalledPluginPackRoots } = await import("./skillMarketplace-
|
|
1774
|
+
const { listEnabledInstalledPluginPackRoots } = await import("./skillMarketplace-PCMKVV4O.js");
|
|
1775
1775
|
const installed = listEnabledInstalledPluginPackRoots();
|
|
1776
1776
|
const all = [...installed, ...requested].filter(Boolean);
|
|
1777
1777
|
const deduped = Array.from(new Set(all));
|
|
1778
1778
|
if (deduped.length > 0) {
|
|
1779
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
1779
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-ATZMDZA7.js");
|
|
1780
1780
|
const { errors } = await configureSessionPlugins({
|
|
1781
1781
|
pluginDirs: deduped
|
|
1782
1782
|
});
|
|
@@ -1786,9 +1786,9 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
1786
1786
|
}
|
|
1787
1787
|
}
|
|
1788
1788
|
const [{ ask }, { getTools }, { getCommands }] = await Promise.all([
|
|
1789
|
-
import("./ask-
|
|
1790
|
-
import("./tools-
|
|
1791
|
-
import("./commands-
|
|
1789
|
+
import("./ask-5SP4YYRD.js"),
|
|
1790
|
+
import("./tools-7FVKB7BG.js"),
|
|
1791
|
+
import("./commands-JSY7CGSU.js")
|
|
1792
1792
|
]);
|
|
1793
1793
|
const commands = await getCommands();
|
|
1794
1794
|
const mcpClientsPromise = Array.isArray(mcpConfig) && mcpConfig.length > 0 || strictMcpConfig === true ? getClientsForCliMcpConfig({
|
|
@@ -1807,8 +1807,8 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
1807
1807
|
const {
|
|
1808
1808
|
loadKodeAgentSessionMessages,
|
|
1809
1809
|
findMostRecentKodeAgentSessionId
|
|
1810
|
-
} = await import("./kodeAgentSessionLoad-
|
|
1811
|
-
const { listKodeAgentSessions, resolveResumeSessionIdentifier } = await import("./kodeAgentSessionResume-
|
|
1810
|
+
} = await import("./kodeAgentSessionLoad-HB3BYVNG.js");
|
|
1811
|
+
const { listKodeAgentSessions, resolveResumeSessionIdentifier } = await import("./kodeAgentSessionResume-IGSZZY3G.js");
|
|
1812
1812
|
const { isUuid } = await import("./uuid-RQH3OZ3W.js");
|
|
1813
1813
|
const { setKodeAgentSessionId, getKodeAgentSessionId } = await import("./kodeAgentSessionId-4SH24DVH.js");
|
|
1814
1814
|
const { randomUUID } = await import("crypto");
|
|
@@ -1933,7 +1933,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
1933
1933
|
{ getLatestVersion, getUpdateCommandSuggestions },
|
|
1934
1934
|
semverMod
|
|
1935
1935
|
] = await Promise.all([
|
|
1936
|
-
import("./autoUpdater-
|
|
1936
|
+
import("./autoUpdater-FFMM2DR7.js"),
|
|
1937
1937
|
import("semver")
|
|
1938
1938
|
]);
|
|
1939
1939
|
const semver = semverMod?.default ?? semverMod;
|
|
@@ -1994,7 +1994,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
1994
1994
|
const isDefaultModel = await isDefaultSlowAndCapableModel();
|
|
1995
1995
|
{
|
|
1996
1996
|
const { render: render2 } = await import("ink");
|
|
1997
|
-
const { REPL } = await import("./REPL-
|
|
1997
|
+
const { REPL } = await import("./REPL-DECTPCL5.js");
|
|
1998
1998
|
render2(
|
|
1999
1999
|
/* @__PURE__ */ React4.createElement(
|
|
2000
2000
|
REPL,
|
|
@@ -2081,7 +2081,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2081
2081
|
{ replace: !!replace }
|
|
2082
2082
|
);
|
|
2083
2083
|
saveGlobalConfig(nextConfig);
|
|
2084
|
-
await import("./model-
|
|
2084
|
+
await import("./model-FUBCTRTV.js").then(({ reloadModelManager }) => {
|
|
2085
2085
|
reloadModelManager();
|
|
2086
2086
|
});
|
|
2087
2087
|
if (warnings.length > 0) {
|
|
@@ -2099,7 +2099,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2099
2099
|
const workingDir = typeof options?.cwd === "string" ? options.cwd : cwd();
|
|
2100
2100
|
const asJson = options?.json === true;
|
|
2101
2101
|
await setup(workingDir, false);
|
|
2102
|
-
const { reloadModelManager, getModelManager: getModelManager2 } = await import("./model-
|
|
2102
|
+
const { reloadModelManager, getModelManager: getModelManager2 } = await import("./model-FUBCTRTV.js");
|
|
2103
2103
|
reloadModelManager();
|
|
2104
2104
|
const manager = getModelManager2();
|
|
2105
2105
|
const config2 = getGlobalConfig();
|
|
@@ -2173,7 +2173,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2173
2173
|
try {
|
|
2174
2174
|
const workingDir = typeof options?.cwd === "string" ? options.cwd : cwd();
|
|
2175
2175
|
await setup(workingDir, false);
|
|
2176
|
-
const { validateAgentTemplates } = await import("./agentsValidate-
|
|
2176
|
+
const { validateAgentTemplates } = await import("./agentsValidate-EDPFUUMG.js");
|
|
2177
2177
|
const report = await validateAgentTemplates({
|
|
2178
2178
|
cwd: workingDir,
|
|
2179
2179
|
paths: Array.isArray(paths) ? paths : [],
|
|
@@ -2217,7 +2217,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2217
2217
|
const registerMarketplaceCommands = (marketplaceCmd2) => {
|
|
2218
2218
|
marketplaceCmd2.command("add <source>").description("Add a marketplace from a URL, path, or GitHub repo").action(async (source) => {
|
|
2219
2219
|
try {
|
|
2220
|
-
const { addMarketplace } = await import("./skillMarketplace-
|
|
2220
|
+
const { addMarketplace } = await import("./skillMarketplace-PCMKVV4O.js");
|
|
2221
2221
|
console.log("Adding marketplace...");
|
|
2222
2222
|
const { name } = await addMarketplace(source);
|
|
2223
2223
|
console.log(`Successfully added marketplace: ${name}`);
|
|
@@ -2229,7 +2229,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2229
2229
|
});
|
|
2230
2230
|
marketplaceCmd2.command("list").description("List all configured marketplaces").option("--json", "Output as JSON").action(async (options) => {
|
|
2231
2231
|
try {
|
|
2232
|
-
const { listMarketplaces } = await import("./skillMarketplace-
|
|
2232
|
+
const { listMarketplaces } = await import("./skillMarketplace-PCMKVV4O.js");
|
|
2233
2233
|
const marketplaces = listMarketplaces();
|
|
2234
2234
|
if (options.json) {
|
|
2235
2235
|
console.log(JSON.stringify(marketplaces, null, 2));
|
|
@@ -2268,7 +2268,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2268
2268
|
});
|
|
2269
2269
|
marketplaceCmd2.command("remove <name>").alias("rm").description("Remove a configured marketplace").action(async (name) => {
|
|
2270
2270
|
try {
|
|
2271
|
-
const { removeMarketplace } = await import("./skillMarketplace-
|
|
2271
|
+
const { removeMarketplace } = await import("./skillMarketplace-PCMKVV4O.js");
|
|
2272
2272
|
removeMarketplace(name);
|
|
2273
2273
|
console.log(`Successfully removed marketplace: ${name}`);
|
|
2274
2274
|
process.exit(0);
|
|
@@ -2285,7 +2285,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2285
2285
|
listMarketplaces,
|
|
2286
2286
|
refreshAllMarketplacesAsync,
|
|
2287
2287
|
refreshMarketplaceAsync
|
|
2288
|
-
} = await import("./skillMarketplace-
|
|
2288
|
+
} = await import("./skillMarketplace-PCMKVV4O.js");
|
|
2289
2289
|
const trimmed = typeof name === "string" ? name.trim() : "";
|
|
2290
2290
|
if (trimmed) {
|
|
2291
2291
|
console.log(`Updating marketplace: ${trimmed}...`);
|
|
@@ -2336,9 +2336,9 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2336
2336
|
);
|
|
2337
2337
|
process.exit(1);
|
|
2338
2338
|
}
|
|
2339
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2339
|
+
const { setCwd: setCwd2 } = await import("./state-XBYIQ7R4.js");
|
|
2340
2340
|
await setCwd2(options.cwd ?? cwd());
|
|
2341
|
-
const { installSkillPlugin } = await import("./skillMarketplace-
|
|
2341
|
+
const { installSkillPlugin } = await import("./skillMarketplace-PCMKVV4O.js");
|
|
2342
2342
|
const result = installSkillPlugin(plugin, {
|
|
2343
2343
|
scope,
|
|
2344
2344
|
force: options.force === true
|
|
@@ -2365,9 +2365,9 @@ ${skillList}`);
|
|
|
2365
2365
|
);
|
|
2366
2366
|
process.exit(1);
|
|
2367
2367
|
}
|
|
2368
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2368
|
+
const { setCwd: setCwd2 } = await import("./state-XBYIQ7R4.js");
|
|
2369
2369
|
await setCwd2(options.cwd ?? cwd());
|
|
2370
|
-
const { uninstallSkillPlugin } = await import("./skillMarketplace-
|
|
2370
|
+
const { uninstallSkillPlugin } = await import("./skillMarketplace-PCMKVV4O.js");
|
|
2371
2371
|
const result = uninstallSkillPlugin(plugin, { scope });
|
|
2372
2372
|
const skillList = result.removedSkills.length > 0 ? `Skills: ${result.removedSkills.join(", ")}` : "Skills: (none)";
|
|
2373
2373
|
console.log(`Uninstalled ${result.pluginSpec}
|
|
@@ -2391,9 +2391,9 @@ ${skillList}`);
|
|
|
2391
2391
|
);
|
|
2392
2392
|
process.exit(1);
|
|
2393
2393
|
}
|
|
2394
|
-
const { setCwd: setCwd2, getCwd: getCwd2 } = await import("./state-
|
|
2394
|
+
const { setCwd: setCwd2, getCwd: getCwd2 } = await import("./state-XBYIQ7R4.js");
|
|
2395
2395
|
await setCwd2(options.cwd ?? cwd());
|
|
2396
|
-
const { listInstalledSkillPlugins } = await import("./skillMarketplace-
|
|
2396
|
+
const { listInstalledSkillPlugins } = await import("./skillMarketplace-PCMKVV4O.js");
|
|
2397
2397
|
const all = listInstalledSkillPlugins();
|
|
2398
2398
|
const filtered = Object.fromEntries(
|
|
2399
2399
|
Object.entries(all).filter(([, record]) => {
|
|
@@ -2437,9 +2437,9 @@ ${skillList}`);
|
|
|
2437
2437
|
);
|
|
2438
2438
|
process.exit(1);
|
|
2439
2439
|
}
|
|
2440
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2440
|
+
const { setCwd: setCwd2 } = await import("./state-XBYIQ7R4.js");
|
|
2441
2441
|
await setCwd2(options.cwd ?? cwd());
|
|
2442
|
-
const { enableSkillPlugin } = await import("./skillMarketplace-
|
|
2442
|
+
const { enableSkillPlugin } = await import("./skillMarketplace-PCMKVV4O.js");
|
|
2443
2443
|
const result = enableSkillPlugin(plugin, { scope });
|
|
2444
2444
|
console.log(`Enabled ${result.pluginSpec}`);
|
|
2445
2445
|
process.exit(0);
|
|
@@ -2461,9 +2461,9 @@ ${skillList}`);
|
|
|
2461
2461
|
);
|
|
2462
2462
|
process.exit(1);
|
|
2463
2463
|
}
|
|
2464
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2464
|
+
const { setCwd: setCwd2 } = await import("./state-XBYIQ7R4.js");
|
|
2465
2465
|
await setCwd2(options.cwd ?? cwd());
|
|
2466
|
-
const { disableSkillPlugin } = await import("./skillMarketplace-
|
|
2466
|
+
const { disableSkillPlugin } = await import("./skillMarketplace-PCMKVV4O.js");
|
|
2467
2467
|
const result = disableSkillPlugin(plugin, { scope });
|
|
2468
2468
|
console.log(`Disabled ${result.pluginSpec}`);
|
|
2469
2469
|
process.exit(0);
|
|
@@ -2474,9 +2474,9 @@ ${skillList}`);
|
|
|
2474
2474
|
});
|
|
2475
2475
|
pluginCmd.command("validate <path>").description("Validate a plugin or marketplace manifest").option("--cwd <cwd>", "The current working directory", String, cwd()).action(async (path, options) => {
|
|
2476
2476
|
try {
|
|
2477
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2477
|
+
const { setCwd: setCwd2 } = await import("./state-XBYIQ7R4.js");
|
|
2478
2478
|
await setCwd2(options.cwd ?? cwd());
|
|
2479
|
-
const { formatValidationResult, validatePluginOrMarketplacePath } = await import("./pluginValidation-
|
|
2479
|
+
const { formatValidationResult, validatePluginOrMarketplacePath } = await import("./pluginValidation-7CGOMT6F.js");
|
|
2480
2480
|
const result = validatePluginOrMarketplacePath(path);
|
|
2481
2481
|
console.log(
|
|
2482
2482
|
`Validating ${result.fileType} manifest: ${result.filePath}
|
|
@@ -2498,9 +2498,9 @@ ${skillList}`);
|
|
|
2498
2498
|
registerMarketplaceCommands(marketplaceCmd);
|
|
2499
2499
|
skillsCmd.command("install <plugin>").description("Install a skill plugin pack (<plugin>@<marketplace>)").option("--cwd <cwd>", "The current working directory", String, cwd()).option("--project", "Install into this project (.newcraw/...)", () => true).option("--force", "Overwrite existing installed files", () => true).action(async (plugin, options) => {
|
|
2500
2500
|
try {
|
|
2501
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2501
|
+
const { setCwd: setCwd2 } = await import("./state-XBYIQ7R4.js");
|
|
2502
2502
|
await setCwd2(options.cwd ?? cwd());
|
|
2503
|
-
const { installSkillPlugin } = await import("./skillMarketplace-
|
|
2503
|
+
const { installSkillPlugin } = await import("./skillMarketplace-PCMKVV4O.js");
|
|
2504
2504
|
const result = installSkillPlugin(plugin, {
|
|
2505
2505
|
project: options.project === true,
|
|
2506
2506
|
force: options.force === true
|
|
@@ -2516,9 +2516,9 @@ ${skillList}`);
|
|
|
2516
2516
|
});
|
|
2517
2517
|
skillsCmd.command("uninstall <plugin>").description("Uninstall a skill plugin pack (<plugin>@<marketplace>)").option("--cwd <cwd>", "The current working directory", String, cwd()).option("--project", "Uninstall from this project (.newcraw/...)", () => true).action(async (plugin, options) => {
|
|
2518
2518
|
try {
|
|
2519
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2519
|
+
const { setCwd: setCwd2 } = await import("./state-XBYIQ7R4.js");
|
|
2520
2520
|
await setCwd2(options.cwd ?? cwd());
|
|
2521
|
-
const { uninstallSkillPlugin } = await import("./skillMarketplace-
|
|
2521
|
+
const { uninstallSkillPlugin } = await import("./skillMarketplace-PCMKVV4O.js");
|
|
2522
2522
|
const result = uninstallSkillPlugin(plugin, {
|
|
2523
2523
|
project: options.project === true
|
|
2524
2524
|
});
|
|
@@ -2533,7 +2533,7 @@ ${skillList}`);
|
|
|
2533
2533
|
});
|
|
2534
2534
|
skillsCmd.command("list-installed").description("List installed skill plugins").action(async () => {
|
|
2535
2535
|
try {
|
|
2536
|
-
const { listInstalledSkillPlugins } = await import("./skillMarketplace-
|
|
2536
|
+
const { listInstalledSkillPlugins } = await import("./skillMarketplace-PCMKVV4O.js");
|
|
2537
2537
|
console.log(JSON.stringify(listInstalledSkillPlugins(), null, 2));
|
|
2538
2538
|
process.exit(0);
|
|
2539
2539
|
} catch (error) {
|
|
@@ -3179,7 +3179,7 @@ ${skillList}`);
|
|
|
3179
3179
|
const ink = await import("ink");
|
|
3180
3180
|
const reactModule = await import("react");
|
|
3181
3181
|
const inkjsui = await import("@inkjs/ui");
|
|
3182
|
-
const utilsTheme = await import("./theme-
|
|
3182
|
+
const utilsTheme = await import("./theme-4ZSXUILR.js");
|
|
3183
3183
|
const { render: render2 } = ink;
|
|
3184
3184
|
const React5 = reactModule;
|
|
3185
3185
|
const { MultiSelect } = inkjsui;
|
|
@@ -3329,7 +3329,7 @@ ${skillList}`);
|
|
|
3329
3329
|
program.command("update").description("Show manual upgrade commands (no auto-install)").action(async () => {
|
|
3330
3330
|
console.log(`Current version: ${MACRO.VERSION}`);
|
|
3331
3331
|
console.log("Checking for updates...");
|
|
3332
|
-
const { getLatestVersion, getUpdateCommandSuggestions } = await import("./autoUpdater-
|
|
3332
|
+
const { getLatestVersion, getUpdateCommandSuggestions } = await import("./autoUpdater-FFMM2DR7.js");
|
|
3333
3333
|
const latestVersion = await getLatestVersion();
|
|
3334
3334
|
if (!latestVersion) {
|
|
3335
3335
|
console.error("Failed to check for updates");
|
|
@@ -3384,8 +3384,8 @@ ${skillList}`);
|
|
|
3384
3384
|
await setup(cwd2, safe);
|
|
3385
3385
|
assertMinVersion();
|
|
3386
3386
|
const [{ getTools }, { getCommands }] = await Promise.all([
|
|
3387
|
-
import("./tools-
|
|
3388
|
-
import("./commands-
|
|
3387
|
+
import("./tools-7FVKB7BG.js"),
|
|
3388
|
+
import("./commands-JSY7CGSU.js")
|
|
3389
3389
|
]);
|
|
3390
3390
|
const [allTools, commands, mcpClients] = await Promise.all([
|
|
3391
3391
|
getTools(
|
|
@@ -3396,8 +3396,8 @@ ${skillList}`);
|
|
|
3396
3396
|
]);
|
|
3397
3397
|
const tools = disableSlashCommands === true ? allTools.filter((t) => t.name !== "SlashCommand") : allTools;
|
|
3398
3398
|
if (identifier !== void 0) {
|
|
3399
|
-
const { loadKodeAgentSessionMessages } = await import("./kodeAgentSessionLoad-
|
|
3400
|
-
const { resolveResumeSessionIdentifier } = await import("./kodeAgentSessionResume-
|
|
3399
|
+
const { loadKodeAgentSessionMessages } = await import("./kodeAgentSessionLoad-HB3BYVNG.js");
|
|
3400
|
+
const { resolveResumeSessionIdentifier } = await import("./kodeAgentSessionResume-IGSZZY3G.js");
|
|
3401
3401
|
const { setKodeAgentSessionId } = await import("./kodeAgentSessionId-4SH24DVH.js");
|
|
3402
3402
|
const rawIdentifier = String(identifier).trim();
|
|
3403
3403
|
const isLegacyNumber = /^-?\\d+$/.test(rawIdentifier);
|
|
@@ -3467,7 +3467,7 @@ ${skillList}`);
|
|
|
3467
3467
|
const isDefaultModel = await isDefaultSlowAndCapableModel();
|
|
3468
3468
|
{
|
|
3469
3469
|
const { render: render2 } = await import("ink");
|
|
3470
|
-
const { REPL } = await import("./REPL-
|
|
3470
|
+
const { REPL } = await import("./REPL-DECTPCL5.js");
|
|
3471
3471
|
render2(
|
|
3472
3472
|
/* @__PURE__ */ React4.createElement(
|
|
3473
3473
|
REPL,
|
|
@@ -3494,7 +3494,7 @@ ${skillList}`);
|
|
|
3494
3494
|
process.exit(1);
|
|
3495
3495
|
}
|
|
3496
3496
|
} else {
|
|
3497
|
-
const { listKodeAgentSessions } = await import("./kodeAgentSessionResume-
|
|
3497
|
+
const { listKodeAgentSessions } = await import("./kodeAgentSessionResume-IGSZZY3G.js");
|
|
3498
3498
|
const sessions = listKodeAgentSessions({ cwd: cwd2 });
|
|
3499
3499
|
if (sessions.length === 0) {
|
|
3500
3500
|
console.error("No conversation found to resume");
|
|
@@ -3599,7 +3599,7 @@ async function gracefulExit(code = 0) {
|
|
|
3599
3599
|
}
|
|
3600
3600
|
isGracefulExitInProgress = true;
|
|
3601
3601
|
try {
|
|
3602
|
-
const { runSessionEndHooks } = await import("./kodeHooks-
|
|
3602
|
+
const { runSessionEndHooks } = await import("./kodeHooks-H6DMC3XX.js");
|
|
3603
3603
|
const { getKodeAgentSessionId } = await import("./kodeAgentSessionId-4SH24DVH.js");
|
|
3604
3604
|
const { tmpdir } = await import("os");
|
|
3605
3605
|
const { join: join2 } = await import("path");
|
|
@@ -3638,7 +3638,7 @@ async function gracefulExit(code = 0) {
|
|
|
3638
3638
|
} catch {
|
|
3639
3639
|
}
|
|
3640
3640
|
try {
|
|
3641
|
-
const { shutdownSandboxPool } = await import("./sandbox-
|
|
3641
|
+
const { shutdownSandboxPool } = await import("./sandbox-P3FR4G4D.js");
|
|
3642
3642
|
await shutdownSandboxPool();
|
|
3643
3643
|
} catch {
|
|
3644
3644
|
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { createRequire as __newcrawCreateRequire } from "node:module";
|
|
2
|
+
const require = __newcrawCreateRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
getCommand,
|
|
5
|
+
getCommands,
|
|
6
|
+
hasCommand
|
|
7
|
+
} from "./chunk-3CKC4ABU.js";
|
|
8
|
+
import "./chunk-Q2OBTLBI.js";
|
|
9
|
+
import "./chunk-UPRKGNBR.js";
|
|
10
|
+
import "./chunk-NFXLN6FJ.js";
|
|
11
|
+
import "./chunk-IVWPPTDM.js";
|
|
12
|
+
import "./chunk-KJTPUTU7.js";
|
|
13
|
+
import "./chunk-JX5ZQYTQ.js";
|
|
14
|
+
import "./chunk-XJQATPV7.js";
|
|
15
|
+
import "./chunk-MUW3J7CP.js";
|
|
16
|
+
import "./chunk-MMF5RMLU.js";
|
|
17
|
+
import "./chunk-BJYXLCRS.js";
|
|
18
|
+
import "./chunk-QJ7MQIHN.js";
|
|
19
|
+
import "./chunk-IZZTKEZH.js";
|
|
20
|
+
import "./chunk-UUCRNFMH.js";
|
|
21
|
+
import "./chunk-X3NER6FY.js";
|
|
22
|
+
import "./chunk-U7S4MEYP.js";
|
|
23
|
+
import "./chunk-FIMCETCB.js";
|
|
24
|
+
import "./chunk-TY3CCSAT.js";
|
|
25
|
+
import "./chunk-ZM5FMRLS.js";
|
|
26
|
+
import "./chunk-IXFBUXQW.js";
|
|
27
|
+
import "./chunk-WAXMRSVR.js";
|
|
28
|
+
import "./chunk-MJLWBVZP.js";
|
|
29
|
+
import "./chunk-KS646CDL.js";
|
|
30
|
+
import "./chunk-7ZFLZNOW.js";
|
|
31
|
+
import "./chunk-W7Q3VYAB.js";
|
|
32
|
+
import "./chunk-INJSFEKL.js";
|
|
33
|
+
import "./chunk-JI4HCLK7.js";
|
|
34
|
+
import "./chunk-JLVECHVJ.js";
|
|
35
|
+
import "./chunk-2JCTO2EY.js";
|
|
36
|
+
import "./chunk-2UO3BFZH.js";
|
|
37
|
+
import "./chunk-CHB5K4GI.js";
|
|
38
|
+
import "./chunk-QX5Y5CE5.js";
|
|
39
|
+
import "./chunk-MJ3MLGVB.js";
|
|
40
|
+
import "./chunk-GVLJUD6R.js";
|
|
41
|
+
import "./chunk-U6IF5D3J.js";
|
|
42
|
+
import "./chunk-NT7RDVDA.js";
|
|
43
|
+
import "./chunk-QT5GS374.js";
|
|
44
|
+
import "./chunk-XYQZLDRB.js";
|
|
45
|
+
import "./chunk-UYWZQVH5.js";
|
|
46
|
+
import "./chunk-EHQ2M5B4.js";
|
|
47
|
+
import "./chunk-ZMO4E7IW.js";
|
|
48
|
+
import "./chunk-HLBLZKZH.js";
|
|
49
|
+
import "./chunk-D4OZACS2.js";
|
|
50
|
+
export {
|
|
51
|
+
getCommand,
|
|
52
|
+
getCommands,
|
|
53
|
+
hasCommand
|
|
54
|
+
};
|
|
@@ -37,12 +37,12 @@ import {
|
|
|
37
37
|
setModelPointer,
|
|
38
38
|
validateAndRepairAllGPT5Profiles,
|
|
39
39
|
validateAndRepairGPT5Profile
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-U6IF5D3J.js";
|
|
41
41
|
import "./chunk-NT7RDVDA.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-QT5GS374.js";
|
|
43
|
+
import "./chunk-XYQZLDRB.js";
|
|
44
44
|
import "./chunk-UYWZQVH5.js";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-EHQ2M5B4.js";
|
|
46
46
|
import "./chunk-D4OZACS2.js";
|
|
47
47
|
init_config();
|
|
48
48
|
export {
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
getReadme,
|
|
11
11
|
removeContext,
|
|
12
12
|
setContext
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-MJ3MLGVB.js";
|
|
14
|
+
import "./chunk-U6IF5D3J.js";
|
|
15
15
|
import "./chunk-NT7RDVDA.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-QT5GS374.js";
|
|
17
|
+
import "./chunk-XYQZLDRB.js";
|
|
18
18
|
import "./chunk-UYWZQVH5.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-EHQ2M5B4.js";
|
|
20
20
|
import "./chunk-D4OZACS2.js";
|
|
21
21
|
export {
|
|
22
22
|
getContext,
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
parseFrontmatter,
|
|
9
9
|
reloadCustomCommands,
|
|
10
10
|
resolveFileReferences
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2JCTO2EY.js";
|
|
12
12
|
import "./chunk-2UO3BFZH.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-QT5GS374.js";
|
|
14
|
+
import "./chunk-XYQZLDRB.js";
|
|
15
15
|
import "./chunk-UYWZQVH5.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-EHQ2M5B4.js";
|
|
17
17
|
import "./chunk-D4OZACS2.js";
|
|
18
18
|
export {
|
|
19
19
|
executeBashCommands,
|