pybao-cli 1.4.79 → 1.4.81
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-WXPYXBW2.js +46 -0
- package/dist/{acp-LFAZWNAU.js → acp-YXMNP56B.js} +29 -29
- package/dist/{agentsValidate-VAKP37AV.js → agentsValidate-LQFWOCPZ.js} +7 -9
- package/dist/agentsValidate-LQFWOCPZ.js.map +7 -0
- package/dist/{ask-DVWLMETD.js → ask-CUR6IJ2W.js} +28 -28
- package/dist/{autoUpdater-ZONSGWDV.js → autoUpdater-DEH233RT.js} +3 -3
- package/dist/{chunk-XCLIPMK2.js → chunk-2NFKKANF.js} +2 -2
- package/dist/{chunk-QCQKQYHB.js → chunk-37ZXN5M4.js} +1 -1
- package/dist/{chunk-UVWCNMNT.js → chunk-4NNDWUSZ.js} +2 -2
- package/dist/{chunk-YAB2P7Z6.js → chunk-4SWM6FWR.js} +2 -2
- package/dist/{chunk-O5YYU7UE.js → chunk-4VUECEM6.js} +2 -2
- package/dist/{chunk-RP7S6VRQ.js → chunk-5KAIY3II.js} +3 -3
- package/dist/{chunk-PGJGFV3X.js → chunk-6XINCIUI.js} +1 -1
- package/dist/{chunk-HMBKKXU6.js → chunk-7ANXEZRS.js} +3 -3
- package/dist/{chunk-3W3REVMM.js → chunk-AB3F7T5N.js} +3 -3
- package/dist/{chunk-APJZFS3A.js → chunk-B3NR3UMC.js} +4 -4
- package/dist/{chunk-MQRP4UNR.js → chunk-BJMVIICS.js} +4 -4
- package/dist/{chunk-PKYY4R5O.js → chunk-BX6HNPWQ.js} +3 -3
- package/dist/{chunk-6MCCU5HD.js → chunk-CCF52HVZ.js} +1 -1
- package/dist/{chunk-6MCCU5HD.js.map → chunk-CCF52HVZ.js.map} +1 -1
- package/dist/{chunk-T37A6AUP.js → chunk-CLGB56HY.js} +4 -4
- package/dist/{chunk-T37A6AUP.js.map → chunk-CLGB56HY.js.map} +2 -2
- package/dist/{chunk-O22YUF2L.js → chunk-EYY3QDKX.js} +2 -2
- package/dist/{chunk-YBEEF7QI.js → chunk-FDGIVQNE.js} +1 -1
- package/dist/{chunk-MWRFRW2T.js → chunk-GMKASRN7.js} +1 -1
- package/dist/{chunk-VBMEUTXH.js → chunk-GS4PRJHV.js} +4 -4
- package/dist/{chunk-IPP5A2AQ.js → chunk-H44O47XJ.js} +1 -1
- package/dist/{chunk-OAE4H4IJ.js → chunk-HIZXCXUG.js} +4 -4
- package/dist/{chunk-2MX4EYNA.js → chunk-HNHWG52B.js} +1 -1
- package/dist/{chunk-3VR4CRJ4.js → chunk-JVF6KNE3.js} +1 -1
- package/dist/{chunk-IOBCYL3L.js → chunk-KH3U5BR5.js} +3 -3
- package/dist/{chunk-H4KSNG7W.js → chunk-MKNRYFQR.js} +2 -2
- package/dist/{chunk-WTVPYBKC.js → chunk-PRRYL2E2.js} +16 -22
- package/dist/chunk-PRRYL2E2.js.map +7 -0
- package/dist/{chunk-S54ET2XN.js → chunk-TVUG5GLX.js} +665 -1333
- package/dist/{chunk-S54ET2XN.js.map → chunk-TVUG5GLX.js.map} +4 -4
- package/dist/{chunk-3LSW3TMW.js → chunk-UUS77RPP.js} +5 -25
- package/dist/chunk-UUS77RPP.js.map +7 -0
- package/dist/{chunk-CFH53NUP.js → chunk-VW3NZKCP.js} +1 -1
- package/dist/{chunk-X3JZNSZK.js → chunk-Z73SPR4B.js} +3 -3
- package/dist/{chunk-OI65UMMM.js → chunk-ZE75JZFY.js} +3 -3
- package/dist/{cli-7KBVIN3R.js → cli-VNT2RTPP.js} +87 -87
- package/dist/commands-LAZD5O4M.js +50 -0
- package/dist/{config-UMAGXL7E.js → config-VK55G2IB.js} +4 -4
- package/dist/{context-UFPZGQRP.js → context-QHTEENJ6.js} +6 -6
- package/dist/{customCommands-3ZSM7UHN.js → customCommands-HRHE7ZIM.js} +4 -4
- package/dist/{env-FUWEP475.js → env-GGYUE5V7.js} +2 -2
- package/dist/{file-DOL32HV4.js → file-KHYC624L.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-47NQPJBY.js → llm-A3S75CLF.js} +29 -29
- package/dist/{llmLazy-KN2P4WFX.js → llmLazy-USVVGSVL.js} +1 -1
- package/dist/{loader-3Q4S43I6.js → loader-JPKYTFFC.js} +4 -4
- package/dist/{lsp-NFGTJCU5.js → lsp-B7QJVI2U.js} +6 -6
- package/dist/{lspAnchor-F47HITWT.js → lspAnchor-JJJ2WKI7.js} +6 -6
- package/dist/{mcp-5NCHVDZ6.js → mcp-YOR7UMEZ.js} +7 -7
- package/dist/{mentionProcessor-ANECUK7D.js → mentionProcessor-5CYA4NR4.js} +5 -5
- package/dist/{messages-5L3AW7OV.js → messages-ICKAWGUW.js} +1 -1
- package/dist/{model-GFRJS7ZB.js → model-P33QONA2.js} +5 -5
- package/dist/{openai-2TQXBY5Z.js → openai-POLCH476.js} +5 -5
- package/dist/{outputStyles-GNA2ZNUQ.js → outputStyles-EZGCOEE2.js} +4 -4
- package/dist/{pluginRuntime-GX2IALNV.js → pluginRuntime-KJ3YFO2O.js} +6 -6
- package/dist/{pluginValidation-MIJ2CBAD.js → pluginValidation-MR5GV7PL.js} +6 -6
- package/dist/prompts-P4JU57HZ.js +52 -0
- package/dist/{pybAgentSessionLoad-REO2PT44.js → pybAgentSessionLoad-TRSWA62U.js} +4 -4
- package/dist/{pybAgentSessionResume-PDCQVVYN.js → pybAgentSessionResume-3IRNTCVI.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-TIT6LIJI.js → pybAgentStreamJsonSession-5IBYEXS5.js} +1 -1
- package/dist/{pybHooks-IMBRLFTP.js → pybHooks-HFAKEYDS.js} +4 -4
- package/dist/query-NHQFKSCC.js +54 -0
- package/dist/{registry-GTSSEC4J.js → registry-LOKL3JBE.js} +5 -5
- package/dist/{ripgrep-4EY5IP33.js → ripgrep-X4LOQHA7.js} +3 -3
- package/dist/{skillMarketplace-PM7FTQJ2.js → skillMarketplace-UITGQNZD.js} +3 -3
- package/dist/{state-3QNGKL6Z.js → state-I7LIGIFJ.js} +2 -2
- package/dist/{theme-LTCVN7SH.js → theme-RVIXXPSQ.js} +5 -5
- package/dist/{toolPermissionSettings-WMLU2QLS.js → toolPermissionSettings-TALALPH3.js} +6 -6
- package/dist/tools-HVGZBEHZ.js +51 -0
- package/dist/{userInput-VTW67UPI.js → userInput-WFPUGJ4L.js} +30 -30
- package/package.json +1 -1
- package/dist/REPL-FITDCCKL.js +0 -46
- package/dist/agentsValidate-VAKP37AV.js.map +0 -7
- package/dist/chunk-3LSW3TMW.js.map +0 -7
- package/dist/chunk-WTVPYBKC.js.map +0 -7
- package/dist/commands-7H5ABX36.js +0 -50
- package/dist/prompts-S7DXNYXT.js +0 -52
- package/dist/query-2F5RTZ3R.js +0 -54
- package/dist/tools-D5VDYMRE.js +0 -51
- /package/dist/{REPL-FITDCCKL.js.map → REPL-WXPYXBW2.js.map} +0 -0
- /package/dist/{acp-LFAZWNAU.js.map → acp-YXMNP56B.js.map} +0 -0
- /package/dist/{ask-DVWLMETD.js.map → ask-CUR6IJ2W.js.map} +0 -0
- /package/dist/{autoUpdater-ZONSGWDV.js.map → autoUpdater-DEH233RT.js.map} +0 -0
- /package/dist/{chunk-XCLIPMK2.js.map → chunk-2NFKKANF.js.map} +0 -0
- /package/dist/{chunk-QCQKQYHB.js.map → chunk-37ZXN5M4.js.map} +0 -0
- /package/dist/{chunk-UVWCNMNT.js.map → chunk-4NNDWUSZ.js.map} +0 -0
- /package/dist/{chunk-YAB2P7Z6.js.map → chunk-4SWM6FWR.js.map} +0 -0
- /package/dist/{chunk-O5YYU7UE.js.map → chunk-4VUECEM6.js.map} +0 -0
- /package/dist/{chunk-RP7S6VRQ.js.map → chunk-5KAIY3II.js.map} +0 -0
- /package/dist/{chunk-PGJGFV3X.js.map → chunk-6XINCIUI.js.map} +0 -0
- /package/dist/{chunk-HMBKKXU6.js.map → chunk-7ANXEZRS.js.map} +0 -0
- /package/dist/{chunk-3W3REVMM.js.map → chunk-AB3F7T5N.js.map} +0 -0
- /package/dist/{chunk-APJZFS3A.js.map → chunk-B3NR3UMC.js.map} +0 -0
- /package/dist/{chunk-MQRP4UNR.js.map → chunk-BJMVIICS.js.map} +0 -0
- /package/dist/{chunk-PKYY4R5O.js.map → chunk-BX6HNPWQ.js.map} +0 -0
- /package/dist/{chunk-O22YUF2L.js.map → chunk-EYY3QDKX.js.map} +0 -0
- /package/dist/{chunk-YBEEF7QI.js.map → chunk-FDGIVQNE.js.map} +0 -0
- /package/dist/{chunk-MWRFRW2T.js.map → chunk-GMKASRN7.js.map} +0 -0
- /package/dist/{chunk-VBMEUTXH.js.map → chunk-GS4PRJHV.js.map} +0 -0
- /package/dist/{chunk-IPP5A2AQ.js.map → chunk-H44O47XJ.js.map} +0 -0
- /package/dist/{chunk-OAE4H4IJ.js.map → chunk-HIZXCXUG.js.map} +0 -0
- /package/dist/{chunk-2MX4EYNA.js.map → chunk-HNHWG52B.js.map} +0 -0
- /package/dist/{chunk-3VR4CRJ4.js.map → chunk-JVF6KNE3.js.map} +0 -0
- /package/dist/{chunk-IOBCYL3L.js.map → chunk-KH3U5BR5.js.map} +0 -0
- /package/dist/{chunk-H4KSNG7W.js.map → chunk-MKNRYFQR.js.map} +0 -0
- /package/dist/{chunk-CFH53NUP.js.map → chunk-VW3NZKCP.js.map} +0 -0
- /package/dist/{chunk-X3JZNSZK.js.map → chunk-Z73SPR4B.js.map} +0 -0
- /package/dist/{chunk-OI65UMMM.js.map → chunk-ZE75JZFY.js.map} +0 -0
- /package/dist/{cli-7KBVIN3R.js.map → cli-VNT2RTPP.js.map} +0 -0
- /package/dist/{commands-7H5ABX36.js.map → commands-LAZD5O4M.js.map} +0 -0
- /package/dist/{config-UMAGXL7E.js.map → config-VK55G2IB.js.map} +0 -0
- /package/dist/{context-UFPZGQRP.js.map → context-QHTEENJ6.js.map} +0 -0
- /package/dist/{customCommands-3ZSM7UHN.js.map → customCommands-HRHE7ZIM.js.map} +0 -0
- /package/dist/{env-FUWEP475.js.map → env-GGYUE5V7.js.map} +0 -0
- /package/dist/{file-DOL32HV4.js.map → file-KHYC624L.js.map} +0 -0
- /package/dist/{llm-47NQPJBY.js.map → llm-A3S75CLF.js.map} +0 -0
- /package/dist/{llmLazy-KN2P4WFX.js.map → llmLazy-USVVGSVL.js.map} +0 -0
- /package/dist/{loader-3Q4S43I6.js.map → loader-JPKYTFFC.js.map} +0 -0
- /package/dist/{lsp-NFGTJCU5.js.map → lsp-B7QJVI2U.js.map} +0 -0
- /package/dist/{lspAnchor-F47HITWT.js.map → lspAnchor-JJJ2WKI7.js.map} +0 -0
- /package/dist/{mcp-5NCHVDZ6.js.map → mcp-YOR7UMEZ.js.map} +0 -0
- /package/dist/{mentionProcessor-ANECUK7D.js.map → mentionProcessor-5CYA4NR4.js.map} +0 -0
- /package/dist/{messages-5L3AW7OV.js.map → messages-ICKAWGUW.js.map} +0 -0
- /package/dist/{model-GFRJS7ZB.js.map → model-P33QONA2.js.map} +0 -0
- /package/dist/{openai-2TQXBY5Z.js.map → openai-POLCH476.js.map} +0 -0
- /package/dist/{outputStyles-GNA2ZNUQ.js.map → outputStyles-EZGCOEE2.js.map} +0 -0
- /package/dist/{pluginRuntime-GX2IALNV.js.map → pluginRuntime-KJ3YFO2O.js.map} +0 -0
- /package/dist/{pluginValidation-MIJ2CBAD.js.map → pluginValidation-MR5GV7PL.js.map} +0 -0
- /package/dist/{prompts-S7DXNYXT.js.map → prompts-P4JU57HZ.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-REO2PT44.js.map → pybAgentSessionLoad-TRSWA62U.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-PDCQVVYN.js.map → pybAgentSessionResume-3IRNTCVI.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-TIT6LIJI.js.map → pybAgentStreamJsonSession-5IBYEXS5.js.map} +0 -0
- /package/dist/{pybHooks-IMBRLFTP.js.map → pybHooks-HFAKEYDS.js.map} +0 -0
- /package/dist/{query-2F5RTZ3R.js.map → query-NHQFKSCC.js.map} +0 -0
- /package/dist/{registry-GTSSEC4J.js.map → registry-LOKL3JBE.js.map} +0 -0
- /package/dist/{ripgrep-4EY5IP33.js.map → ripgrep-X4LOQHA7.js.map} +0 -0
- /package/dist/{skillMarketplace-PM7FTQJ2.js.map → skillMarketplace-UITGQNZD.js.map} +0 -0
- /package/dist/{state-3QNGKL6Z.js.map → state-I7LIGIFJ.js.map} +0 -0
- /package/dist/{theme-LTCVN7SH.js.map → theme-RVIXXPSQ.js.map} +0 -0
- /package/dist/{toolPermissionSettings-WMLU2QLS.js.map → toolPermissionSettings-TALALPH3.js.map} +0 -0
- /package/dist/{tools-D5VDYMRE.js.map → tools-HVGZBEHZ.js.map} +0 -0
- /package/dist/{userInput-VTW67UPI.js.map → userInput-WFPUGJ4L.js.map} +0 -0
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
getAllTools,
|
|
10
10
|
toTaskDetail,
|
|
11
11
|
toTaskListItem
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PRRYL2E2.js";
|
|
13
13
|
import {
|
|
14
14
|
PybAgentStructuredStdio
|
|
15
15
|
} from "./chunk-5AGDLQAW.js";
|
|
16
16
|
import {
|
|
17
17
|
assertMinVersion
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AB3F7T5N.js";
|
|
19
19
|
import {
|
|
20
20
|
getToolDescription
|
|
21
21
|
} from "./chunk-XI4LTVYT.js";
|
|
@@ -39,18 +39,18 @@ import {
|
|
|
39
39
|
review_default,
|
|
40
40
|
useExitOnCtrlCD,
|
|
41
41
|
useTerminalSize
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-TVUG5GLX.js";
|
|
43
|
+
import "./chunk-7ANXEZRS.js";
|
|
44
|
+
import "./chunk-FDGIVQNE.js";
|
|
45
|
+
import "./chunk-VW3NZKCP.js";
|
|
46
|
+
import "./chunk-4NNDWUSZ.js";
|
|
47
47
|
import "./chunk-5P7HBXTD.js";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-KH3U5BR5.js";
|
|
49
49
|
import {
|
|
50
50
|
clearOutputStyleCache
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-4VUECEM6.js";
|
|
52
|
+
import "./chunk-MKNRYFQR.js";
|
|
53
|
+
import "./chunk-BJMVIICS.js";
|
|
54
54
|
import {
|
|
55
55
|
addMcpServer,
|
|
56
56
|
ensureConfigScope,
|
|
@@ -65,43 +65,43 @@ import {
|
|
|
65
65
|
parseEnvVars,
|
|
66
66
|
parseMcpHeaders,
|
|
67
67
|
removeMcpServer
|
|
68
|
-
} from "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
68
|
+
} from "./chunk-HIZXCXUG.js";
|
|
69
|
+
import "./chunk-HNHWG52B.js";
|
|
70
|
+
import "./chunk-BX6HNPWQ.js";
|
|
71
71
|
import "./chunk-UNNVICVU.js";
|
|
72
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-2NFKKANF.js";
|
|
73
73
|
import {
|
|
74
74
|
clearAgentCache,
|
|
75
75
|
setFlagAgentsFromCliJson
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-CLGB56HY.js";
|
|
77
77
|
import {
|
|
78
78
|
setEnabledSettingSourcesFromCli
|
|
79
79
|
} from "./chunk-A3BVXXA3.js";
|
|
80
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-H44O47XJ.js";
|
|
81
81
|
import "./chunk-3DFBSQIT.js";
|
|
82
82
|
import "./chunk-B6IMQJZM.js";
|
|
83
83
|
import "./chunk-OUXHGDLH.js";
|
|
84
|
-
import "./chunk-
|
|
84
|
+
import "./chunk-EYY3QDKX.js";
|
|
85
85
|
import "./chunk-QWIBSCDN.js";
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
88
|
-
import "./chunk-
|
|
86
|
+
import "./chunk-GS4PRJHV.js";
|
|
87
|
+
import "./chunk-5KAIY3II.js";
|
|
88
|
+
import "./chunk-JVF6KNE3.js";
|
|
89
89
|
import "./chunk-UZ34JEUK.js";
|
|
90
|
-
import "./chunk-
|
|
90
|
+
import "./chunk-4SWM6FWR.js";
|
|
91
91
|
import "./chunk-BJSWTHRM.js";
|
|
92
92
|
import {
|
|
93
93
|
getModelManager,
|
|
94
94
|
isDefaultSlowAndCapableModel
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-Z73SPR4B.js";
|
|
96
96
|
import {
|
|
97
97
|
getContext,
|
|
98
98
|
removeContext,
|
|
99
99
|
setContext
|
|
100
|
-
} from "./chunk-
|
|
101
|
-
import "./chunk-
|
|
100
|
+
} from "./chunk-B3NR3UMC.js";
|
|
101
|
+
import "./chunk-37ZXN5M4.js";
|
|
102
102
|
import {
|
|
103
103
|
getTheme
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-GMKASRN7.js";
|
|
105
105
|
import {
|
|
106
106
|
checkHasTrustDialogAccepted,
|
|
107
107
|
deleteConfigForCLI,
|
|
@@ -115,14 +115,14 @@ import {
|
|
|
115
115
|
saveGlobalConfig,
|
|
116
116
|
setConfigForCLI,
|
|
117
117
|
validateAndRepairAllGPT5Profiles
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-ZE75JZFY.js";
|
|
119
119
|
import {
|
|
120
120
|
ConfigParseError
|
|
121
121
|
} from "./chunk-RQVLBMP7.js";
|
|
122
122
|
import {
|
|
123
123
|
debug,
|
|
124
124
|
initDebugLogger
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-6XINCIUI.js";
|
|
126
126
|
import {
|
|
127
127
|
BunShell,
|
|
128
128
|
CACHE_PATHS,
|
|
@@ -138,10 +138,10 @@ import {
|
|
|
138
138
|
parseLogFilename,
|
|
139
139
|
setCwd,
|
|
140
140
|
setOriginalCwd
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-UUS77RPP.js";
|
|
142
142
|
import {
|
|
143
143
|
MACRO
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-CCF52HVZ.js";
|
|
145
145
|
import "./chunk-I3J4JYES.js";
|
|
146
146
|
|
|
147
147
|
// src/entrypoints/cli/runCli.tsx
|
|
@@ -301,7 +301,7 @@ function createPrintModeControlRequestHandler(args) {
|
|
|
301
301
|
|
|
302
302
|
// src/entrypoints/cli/stdio/streamJsonSession.ts
|
|
303
303
|
async function runPrintModeStreamJsonSession(args) {
|
|
304
|
-
const { runPybAgentStreamJsonSession } = await import("./pybAgentStreamJsonSession-
|
|
304
|
+
const { runPybAgentStreamJsonSession } = await import("./pybAgentStreamJsonSession-5IBYEXS5.js");
|
|
305
305
|
await runPybAgentStreamJsonSession(args);
|
|
306
306
|
}
|
|
307
307
|
|
|
@@ -455,18 +455,18 @@ async function runPrintMode({
|
|
|
455
455
|
`);
|
|
456
456
|
process.exit(0);
|
|
457
457
|
}
|
|
458
|
-
const { createUserMessage } = await import("./messages-
|
|
459
|
-
const { getSystemPrompt } = await import("./prompts-
|
|
460
|
-
const { getContext: getContext2 } = await import("./context-
|
|
458
|
+
const { createUserMessage } = await import("./messages-ICKAWGUW.js");
|
|
459
|
+
const { getSystemPrompt } = await import("./prompts-P4JU57HZ.js");
|
|
460
|
+
const { getContext: getContext2 } = await import("./context-QHTEENJ6.js");
|
|
461
461
|
const { getTotalCost } = await import("./costTracker-DJVFVAVZ.js");
|
|
462
|
-
const { query } = await import("./query-
|
|
462
|
+
const { query } = await import("./query-NHQFKSCC.js");
|
|
463
463
|
const { getPybAgentSessionId } = await import("./pybAgentSessionId-EPCAMQ25.js");
|
|
464
464
|
const { pybMessageToSdkMessage, makeSdkInitMessage, makeSdkResultMessage } = await import("./pybAgentStreamJson-EQPO52B6.js");
|
|
465
465
|
const { PybAgentStructuredStdio: PybAgentStructuredStdio2 } = await import("./pybAgentStructuredStdio-ROCSOGNT.js");
|
|
466
466
|
const {
|
|
467
467
|
loadToolPermissionContextFromDisk,
|
|
468
468
|
persistToolPermissionUpdateToDisk
|
|
469
|
-
} = await import("./toolPermissionSettings-
|
|
469
|
+
} = await import("./toolPermissionSettings-TALALPH3.js");
|
|
470
470
|
const { applyToolPermissionContextUpdates } = await import("./toolPermissionContext-BSFV23IL.js");
|
|
471
471
|
const sessionIdForSdk = getPybAgentSessionId();
|
|
472
472
|
const startedAt = Date.now();
|
|
@@ -846,9 +846,9 @@ async function setup(cwd2, safeMode) {
|
|
|
846
846
|
grantReadPermissionForOriginalDir();
|
|
847
847
|
let agentLoader;
|
|
848
848
|
try {
|
|
849
|
-
agentLoader = await import("./loader-
|
|
849
|
+
agentLoader = await import("./loader-JPKYTFFC.js");
|
|
850
850
|
} catch {
|
|
851
|
-
agentLoader = await import("./loader-
|
|
851
|
+
agentLoader = await import("./loader-JPKYTFFC.js");
|
|
852
852
|
}
|
|
853
853
|
const { startAgentWatcher } = agentLoader;
|
|
854
854
|
await startAgentWatcher(() => {
|
|
@@ -2068,12 +2068,12 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2068
2068
|
assertMinVersion();
|
|
2069
2069
|
{
|
|
2070
2070
|
const requested = Array.isArray(pluginDir) && pluginDir.length > 0 ? pluginDir : [];
|
|
2071
|
-
const { listEnabledInstalledPluginPackRoots } = await import("./skillMarketplace-
|
|
2071
|
+
const { listEnabledInstalledPluginPackRoots } = await import("./skillMarketplace-UITGQNZD.js");
|
|
2072
2072
|
const installed = listEnabledInstalledPluginPackRoots();
|
|
2073
2073
|
const all = [...installed, ...requested].filter(Boolean);
|
|
2074
2074
|
const deduped = Array.from(new Set(all));
|
|
2075
2075
|
if (deduped.length > 0) {
|
|
2076
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
2076
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-KJ3YFO2O.js");
|
|
2077
2077
|
const { errors } = await configureSessionPlugins({
|
|
2078
2078
|
pluginDirs: deduped
|
|
2079
2079
|
});
|
|
@@ -2083,9 +2083,9 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2083
2083
|
}
|
|
2084
2084
|
}
|
|
2085
2085
|
const [{ ask }, { getTools }, { getCommands }] = await Promise.all([
|
|
2086
|
-
import("./ask-
|
|
2087
|
-
import("./tools-
|
|
2088
|
-
import("./commands-
|
|
2086
|
+
import("./ask-CUR6IJ2W.js"),
|
|
2087
|
+
import("./tools-HVGZBEHZ.js"),
|
|
2088
|
+
import("./commands-LAZD5O4M.js")
|
|
2089
2089
|
]);
|
|
2090
2090
|
const commands = await getCommands();
|
|
2091
2091
|
const mcpClientsPromise = Array.isArray(mcpConfig) && mcpConfig.length > 0 || strictMcpConfig === true ? getClientsForCliMcpConfig({
|
|
@@ -2104,8 +2104,8 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2104
2104
|
const {
|
|
2105
2105
|
loadPybAgentSessionMessages,
|
|
2106
2106
|
findMostRecentPybAgentSessionId
|
|
2107
|
-
} = await import("./pybAgentSessionLoad-
|
|
2108
|
-
const { listPybAgentSessions, resolvePybResumeSessionIdentifier } = await import("./pybAgentSessionResume-
|
|
2107
|
+
} = await import("./pybAgentSessionLoad-TRSWA62U.js");
|
|
2108
|
+
const { listPybAgentSessions, resolvePybResumeSessionIdentifier } = await import("./pybAgentSessionResume-3IRNTCVI.js");
|
|
2109
2109
|
const { isUuid } = await import("./uuid-CVHEFGW4.js");
|
|
2110
2110
|
const { setPybAgentSessionId, getPybAgentSessionId } = await import("./pybAgentSessionId-EPCAMQ25.js");
|
|
2111
2111
|
const { randomUUID } = await import("crypto");
|
|
@@ -2230,7 +2230,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2230
2230
|
{ getLatestVersion, getUpdateCommandSuggestions },
|
|
2231
2231
|
semverMod
|
|
2232
2232
|
] = await Promise.all([
|
|
2233
|
-
import("./autoUpdater-
|
|
2233
|
+
import("./autoUpdater-DEH233RT.js"),
|
|
2234
2234
|
import("semver")
|
|
2235
2235
|
]);
|
|
2236
2236
|
const semver = semverMod?.default ?? semverMod;
|
|
@@ -2291,7 +2291,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2291
2291
|
const isDefaultModel = await isDefaultSlowAndCapableModel();
|
|
2292
2292
|
{
|
|
2293
2293
|
const { render: render3 } = await import("ink");
|
|
2294
|
-
const { REPL } = await import("./REPL-
|
|
2294
|
+
const { REPL } = await import("./REPL-WXPYXBW2.js");
|
|
2295
2295
|
render3(
|
|
2296
2296
|
/* @__PURE__ */ React10.createElement(
|
|
2297
2297
|
REPL,
|
|
@@ -2459,7 +2459,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2459
2459
|
{ replace: !!replace }
|
|
2460
2460
|
);
|
|
2461
2461
|
saveGlobalConfig(nextConfig);
|
|
2462
|
-
await import("./model-
|
|
2462
|
+
await import("./model-P33QONA2.js").then(({ reloadModelManager }) => {
|
|
2463
2463
|
reloadModelManager();
|
|
2464
2464
|
});
|
|
2465
2465
|
if (warnings.length > 0) {
|
|
@@ -2478,7 +2478,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2478
2478
|
const workingDir = typeof options?.cwd === "string" ? options.cwd : typeof programCwd === "string" ? programCwd : cwd();
|
|
2479
2479
|
const asJson = options?.json === true;
|
|
2480
2480
|
await setup(workingDir, false);
|
|
2481
|
-
const { reloadModelManager, getModelManager: getModelManager2 } = await import("./model-
|
|
2481
|
+
const { reloadModelManager, getModelManager: getModelManager2 } = await import("./model-P33QONA2.js");
|
|
2482
2482
|
reloadModelManager();
|
|
2483
2483
|
const manager = getModelManager2();
|
|
2484
2484
|
const config2 = getGlobalConfig();
|
|
@@ -2552,7 +2552,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2552
2552
|
try {
|
|
2553
2553
|
const workingDir = typeof options?.cwd === "string" ? options.cwd : cwd();
|
|
2554
2554
|
await setup(workingDir, false);
|
|
2555
|
-
const { validateAgentTemplates } = await import("./agentsValidate-
|
|
2555
|
+
const { validateAgentTemplates } = await import("./agentsValidate-LQFWOCPZ.js");
|
|
2556
2556
|
const report = await validateAgentTemplates({
|
|
2557
2557
|
cwd: workingDir,
|
|
2558
2558
|
paths: Array.isArray(paths) ? paths : [],
|
|
@@ -2596,7 +2596,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2596
2596
|
const registerMarketplaceCommands = (marketplaceCmd2) => {
|
|
2597
2597
|
marketplaceCmd2.command("add <source>").description("Add a marketplace from a URL, path, or GitHub repo").action(async (source) => {
|
|
2598
2598
|
try {
|
|
2599
|
-
const { addMarketplace } = await import("./skillMarketplace-
|
|
2599
|
+
const { addMarketplace } = await import("./skillMarketplace-UITGQNZD.js");
|
|
2600
2600
|
console.log("Adding marketplace...");
|
|
2601
2601
|
const { name } = await addMarketplace(source);
|
|
2602
2602
|
console.log(`Successfully added marketplace: ${name}`);
|
|
@@ -2608,7 +2608,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2608
2608
|
});
|
|
2609
2609
|
marketplaceCmd2.command("list").description("List all configured marketplaces").option("--json", "Output as JSON").action(async (options) => {
|
|
2610
2610
|
try {
|
|
2611
|
-
const { listMarketplaces } = await import("./skillMarketplace-
|
|
2611
|
+
const { listMarketplaces } = await import("./skillMarketplace-UITGQNZD.js");
|
|
2612
2612
|
const marketplaces = listMarketplaces();
|
|
2613
2613
|
if (options.json) {
|
|
2614
2614
|
console.log(JSON.stringify(marketplaces, null, 2));
|
|
@@ -2647,7 +2647,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2647
2647
|
});
|
|
2648
2648
|
marketplaceCmd2.command("remove <name>").alias("rm").description("Remove a configured marketplace").action(async (name) => {
|
|
2649
2649
|
try {
|
|
2650
|
-
const { removeMarketplace } = await import("./skillMarketplace-
|
|
2650
|
+
const { removeMarketplace } = await import("./skillMarketplace-UITGQNZD.js");
|
|
2651
2651
|
removeMarketplace(name);
|
|
2652
2652
|
console.log(`Successfully removed marketplace: ${name}`);
|
|
2653
2653
|
process.exit(0);
|
|
@@ -2664,7 +2664,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2664
2664
|
listMarketplaces,
|
|
2665
2665
|
refreshAllMarketplacesAsync,
|
|
2666
2666
|
refreshMarketplaceAsync
|
|
2667
|
-
} = await import("./skillMarketplace-
|
|
2667
|
+
} = await import("./skillMarketplace-UITGQNZD.js");
|
|
2668
2668
|
const trimmed = typeof name === "string" ? name.trim() : "";
|
|
2669
2669
|
if (trimmed) {
|
|
2670
2670
|
console.log(`Updating marketplace: ${trimmed}...`);
|
|
@@ -2715,9 +2715,9 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2715
2715
|
);
|
|
2716
2716
|
process.exit(1);
|
|
2717
2717
|
}
|
|
2718
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2718
|
+
const { setCwd: setCwd2 } = await import("./state-I7LIGIFJ.js");
|
|
2719
2719
|
await setCwd2(options.cwd ?? cwd());
|
|
2720
|
-
const { installSkillPlugin } = await import("./skillMarketplace-
|
|
2720
|
+
const { installSkillPlugin } = await import("./skillMarketplace-UITGQNZD.js");
|
|
2721
2721
|
const result = installSkillPlugin(plugin, {
|
|
2722
2722
|
scope,
|
|
2723
2723
|
force: options.force === true
|
|
@@ -2744,9 +2744,9 @@ ${skillList}`);
|
|
|
2744
2744
|
);
|
|
2745
2745
|
process.exit(1);
|
|
2746
2746
|
}
|
|
2747
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2747
|
+
const { setCwd: setCwd2 } = await import("./state-I7LIGIFJ.js");
|
|
2748
2748
|
await setCwd2(options.cwd ?? cwd());
|
|
2749
|
-
const { uninstallSkillPlugin } = await import("./skillMarketplace-
|
|
2749
|
+
const { uninstallSkillPlugin } = await import("./skillMarketplace-UITGQNZD.js");
|
|
2750
2750
|
const result = uninstallSkillPlugin(plugin, { scope });
|
|
2751
2751
|
const skillList = result.removedSkills.length > 0 ? `Skills: ${result.removedSkills.join(", ")}` : "Skills: (none)";
|
|
2752
2752
|
console.log(`Uninstalled ${result.pluginSpec}
|
|
@@ -2770,9 +2770,9 @@ ${skillList}`);
|
|
|
2770
2770
|
);
|
|
2771
2771
|
process.exit(1);
|
|
2772
2772
|
}
|
|
2773
|
-
const { setCwd: setCwd2, getCwd: getCwd2 } = await import("./state-
|
|
2773
|
+
const { setCwd: setCwd2, getCwd: getCwd2 } = await import("./state-I7LIGIFJ.js");
|
|
2774
2774
|
await setCwd2(options.cwd ?? cwd());
|
|
2775
|
-
const { listInstalledSkillPlugins } = await import("./skillMarketplace-
|
|
2775
|
+
const { listInstalledSkillPlugins } = await import("./skillMarketplace-UITGQNZD.js");
|
|
2776
2776
|
const all = listInstalledSkillPlugins();
|
|
2777
2777
|
const filtered = Object.fromEntries(
|
|
2778
2778
|
Object.entries(all).filter(([, record]) => {
|
|
@@ -2816,9 +2816,9 @@ ${skillList}`);
|
|
|
2816
2816
|
);
|
|
2817
2817
|
process.exit(1);
|
|
2818
2818
|
}
|
|
2819
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2819
|
+
const { setCwd: setCwd2 } = await import("./state-I7LIGIFJ.js");
|
|
2820
2820
|
await setCwd2(options.cwd ?? cwd());
|
|
2821
|
-
const { enableSkillPlugin } = await import("./skillMarketplace-
|
|
2821
|
+
const { enableSkillPlugin } = await import("./skillMarketplace-UITGQNZD.js");
|
|
2822
2822
|
const result = enableSkillPlugin(plugin, { scope });
|
|
2823
2823
|
console.log(`Enabled ${result.pluginSpec}`);
|
|
2824
2824
|
process.exit(0);
|
|
@@ -2840,9 +2840,9 @@ ${skillList}`);
|
|
|
2840
2840
|
);
|
|
2841
2841
|
process.exit(1);
|
|
2842
2842
|
}
|
|
2843
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2843
|
+
const { setCwd: setCwd2 } = await import("./state-I7LIGIFJ.js");
|
|
2844
2844
|
await setCwd2(options.cwd ?? cwd());
|
|
2845
|
-
const { disableSkillPlugin } = await import("./skillMarketplace-
|
|
2845
|
+
const { disableSkillPlugin } = await import("./skillMarketplace-UITGQNZD.js");
|
|
2846
2846
|
const result = disableSkillPlugin(plugin, { scope });
|
|
2847
2847
|
console.log(`Disabled ${result.pluginSpec}`);
|
|
2848
2848
|
process.exit(0);
|
|
@@ -2853,9 +2853,9 @@ ${skillList}`);
|
|
|
2853
2853
|
});
|
|
2854
2854
|
pluginCmd.command("validate <path>").description("Validate a plugin or marketplace manifest").option("--cwd <cwd>", "The current working directory", String, cwd()).action(async (path, options) => {
|
|
2855
2855
|
try {
|
|
2856
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2856
|
+
const { setCwd: setCwd2 } = await import("./state-I7LIGIFJ.js");
|
|
2857
2857
|
await setCwd2(options.cwd ?? cwd());
|
|
2858
|
-
const { formatValidationResult, validatePluginOrMarketplacePath } = await import("./pluginValidation-
|
|
2858
|
+
const { formatValidationResult, validatePluginOrMarketplacePath } = await import("./pluginValidation-MR5GV7PL.js");
|
|
2859
2859
|
const result = validatePluginOrMarketplacePath(path);
|
|
2860
2860
|
console.log(
|
|
2861
2861
|
`Validating ${result.fileType} manifest: ${result.filePath}
|
|
@@ -2877,9 +2877,9 @@ ${skillList}`);
|
|
|
2877
2877
|
registerMarketplaceCommands(marketplaceCmd);
|
|
2878
2878
|
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 (.pyb/...)", () => true).option("--force", "Overwrite existing installed files", () => true).action(async (plugin, options) => {
|
|
2879
2879
|
try {
|
|
2880
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2880
|
+
const { setCwd: setCwd2 } = await import("./state-I7LIGIFJ.js");
|
|
2881
2881
|
await setCwd2(options.cwd ?? cwd());
|
|
2882
|
-
const { installSkillPlugin } = await import("./skillMarketplace-
|
|
2882
|
+
const { installSkillPlugin } = await import("./skillMarketplace-UITGQNZD.js");
|
|
2883
2883
|
const result = installSkillPlugin(plugin, {
|
|
2884
2884
|
project: options.project === true,
|
|
2885
2885
|
force: options.force === true
|
|
@@ -2895,9 +2895,9 @@ ${skillList}`);
|
|
|
2895
2895
|
});
|
|
2896
2896
|
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 (.pyb/...)", () => true).action(async (plugin, options) => {
|
|
2897
2897
|
try {
|
|
2898
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2898
|
+
const { setCwd: setCwd2 } = await import("./state-I7LIGIFJ.js");
|
|
2899
2899
|
await setCwd2(options.cwd ?? cwd());
|
|
2900
|
-
const { uninstallSkillPlugin } = await import("./skillMarketplace-
|
|
2900
|
+
const { uninstallSkillPlugin } = await import("./skillMarketplace-UITGQNZD.js");
|
|
2901
2901
|
const result = uninstallSkillPlugin(plugin, {
|
|
2902
2902
|
project: options.project === true
|
|
2903
2903
|
});
|
|
@@ -2912,7 +2912,7 @@ ${skillList}`);
|
|
|
2912
2912
|
});
|
|
2913
2913
|
skillsCmd.command("list-installed").description("List installed skill plugins").action(async () => {
|
|
2914
2914
|
try {
|
|
2915
|
-
const { listInstalledSkillPlugins } = await import("./skillMarketplace-
|
|
2915
|
+
const { listInstalledSkillPlugins } = await import("./skillMarketplace-UITGQNZD.js");
|
|
2916
2916
|
console.log(JSON.stringify(listInstalledSkillPlugins(), null, 2));
|
|
2917
2917
|
process.exit(0);
|
|
2918
2918
|
} catch (error) {
|
|
@@ -3558,7 +3558,7 @@ ${skillList}`);
|
|
|
3558
3558
|
const ink = await import("ink");
|
|
3559
3559
|
const reactModule = await import("react");
|
|
3560
3560
|
const inkjsui = await import("@inkjs/ui");
|
|
3561
|
-
const utilsTheme = await import("./theme-
|
|
3561
|
+
const utilsTheme = await import("./theme-RVIXXPSQ.js");
|
|
3562
3562
|
const { render: render3 } = ink;
|
|
3563
3563
|
const React11 = reactModule;
|
|
3564
3564
|
const { MultiSelect: MultiSelect2 } = inkjsui;
|
|
@@ -3701,8 +3701,8 @@ ${skillList}`);
|
|
|
3701
3701
|
const commandOptions = getCommandOptions(options);
|
|
3702
3702
|
const workingDir = resolveWorkingDir(commandOptions, program);
|
|
3703
3703
|
await setup(workingDir, false);
|
|
3704
|
-
const { getAbsolutePath } = await import("./file-
|
|
3705
|
-
const { LspFacade } = await import("./lsp-
|
|
3704
|
+
const { getAbsolutePath } = await import("./file-KHYC624L.js");
|
|
3705
|
+
const { LspFacade } = await import("./lsp-B7QJVI2U.js");
|
|
3706
3706
|
const { existsSync: existsSync2 } = await import("fs");
|
|
3707
3707
|
const absPath = getAbsolutePath(file) ?? file;
|
|
3708
3708
|
if (!existsSync2(absPath)) {
|
|
@@ -3733,7 +3733,7 @@ ${skillList}`);
|
|
|
3733
3733
|
try {
|
|
3734
3734
|
const workingDir = resolveWorkingDir(options, program);
|
|
3735
3735
|
await setup(workingDir, false);
|
|
3736
|
-
const { LspFacade } = await import("./lsp-
|
|
3736
|
+
const { LspFacade } = await import("./lsp-B7QJVI2U.js");
|
|
3737
3737
|
const result = await LspFacade.run({
|
|
3738
3738
|
operation: "workspaceSymbol",
|
|
3739
3739
|
filePath: query,
|
|
@@ -3750,8 +3750,8 @@ ${skillList}`);
|
|
|
3750
3750
|
try {
|
|
3751
3751
|
const workingDir = resolveWorkingDir(options, program);
|
|
3752
3752
|
await setup(workingDir, false);
|
|
3753
|
-
const { getAbsolutePath } = await import("./file-
|
|
3754
|
-
const { LspFacade } = await import("./lsp-
|
|
3753
|
+
const { getAbsolutePath } = await import("./file-KHYC624L.js");
|
|
3754
|
+
const { LspFacade } = await import("./lsp-B7QJVI2U.js");
|
|
3755
3755
|
const { existsSync: existsSync2 } = await import("fs");
|
|
3756
3756
|
const absPath = getAbsolutePath(file) ?? file;
|
|
3757
3757
|
if (!existsSync2(absPath)) {
|
|
@@ -3774,7 +3774,7 @@ ${skillList}`);
|
|
|
3774
3774
|
try {
|
|
3775
3775
|
const workingDir = resolveWorkingDir(options, program);
|
|
3776
3776
|
await setup(workingDir, false);
|
|
3777
|
-
const { LspFacade } = await import("./lsp-
|
|
3777
|
+
const { LspFacade } = await import("./lsp-B7QJVI2U.js");
|
|
3778
3778
|
const status = LspFacade.status();
|
|
3779
3779
|
console.log(JSON.stringify(status, null, 2));
|
|
3780
3780
|
process.exit(0);
|
|
@@ -3788,7 +3788,7 @@ ${skillList}`);
|
|
|
3788
3788
|
const commandOptions = getCommandOptions(options);
|
|
3789
3789
|
const workingDir = resolveWorkingDir(commandOptions, program);
|
|
3790
3790
|
await setup(workingDir, false);
|
|
3791
|
-
const { LspFacade } = await import("./lsp-
|
|
3791
|
+
const { LspFacade } = await import("./lsp-B7QJVI2U.js");
|
|
3792
3792
|
const host = typeof commandOptions?.host === "string" && commandOptions.host.length > 0 ? commandOptions.host : "127.0.0.1";
|
|
3793
3793
|
const port = typeof commandOptions?.port === "number" && !Number.isNaN(commandOptions.port) ? commandOptions.port : 7337;
|
|
3794
3794
|
const server = LspFacade.serveStatus({ host, port });
|
|
@@ -3814,7 +3814,7 @@ ${skillList}`);
|
|
|
3814
3814
|
program.command("update").description("Show manual upgrade commands (no auto-install)").action(async () => {
|
|
3815
3815
|
console.log(`Current version: ${MACRO.VERSION}`);
|
|
3816
3816
|
console.log("Checking for updates...");
|
|
3817
|
-
const { getLatestVersion, getUpdateCommandSuggestions } = await import("./autoUpdater-
|
|
3817
|
+
const { getLatestVersion, getUpdateCommandSuggestions } = await import("./autoUpdater-DEH233RT.js");
|
|
3818
3818
|
const latestVersion = await getLatestVersion();
|
|
3819
3819
|
if (!latestVersion) {
|
|
3820
3820
|
console.error("Failed to check for updates");
|
|
@@ -3869,8 +3869,8 @@ ${skillList}`);
|
|
|
3869
3869
|
await setup(cwd2, safe);
|
|
3870
3870
|
assertMinVersion();
|
|
3871
3871
|
const [{ getTools }, { getCommands }] = await Promise.all([
|
|
3872
|
-
import("./tools-
|
|
3873
|
-
import("./commands-
|
|
3872
|
+
import("./tools-HVGZBEHZ.js"),
|
|
3873
|
+
import("./commands-LAZD5O4M.js")
|
|
3874
3874
|
]);
|
|
3875
3875
|
const [allTools, commands, mcpClients] = await Promise.all([
|
|
3876
3876
|
getTools(
|
|
@@ -3881,8 +3881,8 @@ ${skillList}`);
|
|
|
3881
3881
|
]);
|
|
3882
3882
|
const tools = disableSlashCommands === true ? allTools.filter((t) => t.name !== "SlashCommand") : allTools;
|
|
3883
3883
|
if (identifier !== void 0) {
|
|
3884
|
-
const { loadPybAgentSessionMessages } = await import("./pybAgentSessionLoad-
|
|
3885
|
-
const { listPybAgentSessions, resolvePybResumeSessionIdentifier } = await import("./pybAgentSessionResume-
|
|
3884
|
+
const { loadPybAgentSessionMessages } = await import("./pybAgentSessionLoad-TRSWA62U.js");
|
|
3885
|
+
const { listPybAgentSessions, resolvePybResumeSessionIdentifier } = await import("./pybAgentSessionResume-3IRNTCVI.js");
|
|
3886
3886
|
const { setPybAgentSessionId } = await import("./pybAgentSessionId-EPCAMQ25.js");
|
|
3887
3887
|
const rawIdentifier = String(identifier).trim();
|
|
3888
3888
|
const isLegacyNumber = /^-?\\d+$/.test(rawIdentifier);
|
|
@@ -3952,7 +3952,7 @@ ${skillList}`);
|
|
|
3952
3952
|
const isDefaultModel = await isDefaultSlowAndCapableModel();
|
|
3953
3953
|
{
|
|
3954
3954
|
const { render: render3 } = await import("ink");
|
|
3955
|
-
const { REPL } = await import("./REPL-
|
|
3955
|
+
const { REPL } = await import("./REPL-WXPYXBW2.js");
|
|
3956
3956
|
render3(
|
|
3957
3957
|
/* @__PURE__ */ React10.createElement(
|
|
3958
3958
|
REPL,
|
|
@@ -3979,7 +3979,7 @@ ${skillList}`);
|
|
|
3979
3979
|
process.exit(1);
|
|
3980
3980
|
}
|
|
3981
3981
|
} else {
|
|
3982
|
-
const { listPybAgentSessions } = await import("./pybAgentSessionResume-
|
|
3982
|
+
const { listPybAgentSessions } = await import("./pybAgentSessionResume-3IRNTCVI.js");
|
|
3983
3983
|
const sessions = listPybAgentSessions({ cwd: cwd2 });
|
|
3984
3984
|
if (sessions.length === 0) {
|
|
3985
3985
|
console.error("No conversation found to resume");
|
|
@@ -4084,7 +4084,7 @@ async function gracefulExit(code = 0) {
|
|
|
4084
4084
|
}
|
|
4085
4085
|
isGracefulExitInProgress = true;
|
|
4086
4086
|
try {
|
|
4087
|
-
const { runSessionEndHooks } = await import("./pybHooks-
|
|
4087
|
+
const { runSessionEndHooks } = await import("./pybHooks-HFAKEYDS.js");
|
|
4088
4088
|
const { getPybAgentSessionId } = await import("./pybAgentSessionId-EPCAMQ25.js");
|
|
4089
4089
|
const { tmpdir } = await import("os");
|
|
4090
4090
|
const { join: join2 } = await import("path");
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { createRequire as __pybCreateRequire } from "node:module";
|
|
2
|
+
const require = __pybCreateRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
getCommand,
|
|
5
|
+
getCommands,
|
|
6
|
+
hasCommand
|
|
7
|
+
} from "./chunk-TVUG5GLX.js";
|
|
8
|
+
import "./chunk-7ANXEZRS.js";
|
|
9
|
+
import "./chunk-FDGIVQNE.js";
|
|
10
|
+
import "./chunk-VW3NZKCP.js";
|
|
11
|
+
import "./chunk-4NNDWUSZ.js";
|
|
12
|
+
import "./chunk-5P7HBXTD.js";
|
|
13
|
+
import "./chunk-KH3U5BR5.js";
|
|
14
|
+
import "./chunk-4VUECEM6.js";
|
|
15
|
+
import "./chunk-MKNRYFQR.js";
|
|
16
|
+
import "./chunk-BJMVIICS.js";
|
|
17
|
+
import "./chunk-HIZXCXUG.js";
|
|
18
|
+
import "./chunk-HNHWG52B.js";
|
|
19
|
+
import "./chunk-BX6HNPWQ.js";
|
|
20
|
+
import "./chunk-UNNVICVU.js";
|
|
21
|
+
import "./chunk-2NFKKANF.js";
|
|
22
|
+
import "./chunk-CLGB56HY.js";
|
|
23
|
+
import "./chunk-A3BVXXA3.js";
|
|
24
|
+
import "./chunk-H44O47XJ.js";
|
|
25
|
+
import "./chunk-3DFBSQIT.js";
|
|
26
|
+
import "./chunk-B6IMQJZM.js";
|
|
27
|
+
import "./chunk-OUXHGDLH.js";
|
|
28
|
+
import "./chunk-EYY3QDKX.js";
|
|
29
|
+
import "./chunk-QWIBSCDN.js";
|
|
30
|
+
import "./chunk-GS4PRJHV.js";
|
|
31
|
+
import "./chunk-5KAIY3II.js";
|
|
32
|
+
import "./chunk-JVF6KNE3.js";
|
|
33
|
+
import "./chunk-UZ34JEUK.js";
|
|
34
|
+
import "./chunk-4SWM6FWR.js";
|
|
35
|
+
import "./chunk-BJSWTHRM.js";
|
|
36
|
+
import "./chunk-Z73SPR4B.js";
|
|
37
|
+
import "./chunk-B3NR3UMC.js";
|
|
38
|
+
import "./chunk-37ZXN5M4.js";
|
|
39
|
+
import "./chunk-GMKASRN7.js";
|
|
40
|
+
import "./chunk-ZE75JZFY.js";
|
|
41
|
+
import "./chunk-RQVLBMP7.js";
|
|
42
|
+
import "./chunk-6XINCIUI.js";
|
|
43
|
+
import "./chunk-UUS77RPP.js";
|
|
44
|
+
import "./chunk-CCF52HVZ.js";
|
|
45
|
+
import "./chunk-I3J4JYES.js";
|
|
46
|
+
export {
|
|
47
|
+
getCommand,
|
|
48
|
+
getCommands,
|
|
49
|
+
hasCommand
|
|
50
|
+
};
|
|
@@ -36,11 +36,11 @@ import {
|
|
|
36
36
|
setModelPointer,
|
|
37
37
|
validateAndRepairAllGPT5Profiles,
|
|
38
38
|
validateAndRepairGPT5Profile
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-ZE75JZFY.js";
|
|
40
40
|
import "./chunk-RQVLBMP7.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-6XINCIUI.js";
|
|
42
|
+
import "./chunk-UUS77RPP.js";
|
|
43
|
+
import "./chunk-CCF52HVZ.js";
|
|
44
44
|
import "./chunk-I3J4JYES.js";
|
|
45
45
|
export {
|
|
46
46
|
DEFAULT_GLOBAL_CONFIG,
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
removeContext,
|
|
14
14
|
resetWorkingDirectoryStatsCacheForTests,
|
|
15
15
|
setContext
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-B3NR3UMC.js";
|
|
17
|
+
import "./chunk-37ZXN5M4.js";
|
|
18
|
+
import "./chunk-ZE75JZFY.js";
|
|
19
19
|
import "./chunk-RQVLBMP7.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-6XINCIUI.js";
|
|
21
|
+
import "./chunk-UUS77RPP.js";
|
|
22
|
+
import "./chunk-CCF52HVZ.js";
|
|
23
23
|
import "./chunk-I3J4JYES.js";
|
|
24
24
|
export {
|
|
25
25
|
getContext,
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
parseFrontmatter,
|
|
9
9
|
reloadCustomCommands,
|
|
10
10
|
resolveFileReferences
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4SWM6FWR.js";
|
|
12
12
|
import "./chunk-BJSWTHRM.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-6XINCIUI.js";
|
|
14
|
+
import "./chunk-UUS77RPP.js";
|
|
15
|
+
import "./chunk-CCF52HVZ.js";
|
|
16
16
|
import "./chunk-I3J4JYES.js";
|
|
17
17
|
export {
|
|
18
18
|
executeBashCommands,
|
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
isContextScanDisabled,
|
|
16
16
|
resolveXdgCachePath,
|
|
17
17
|
resolveXdgDataPath
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-UUS77RPP.js";
|
|
19
|
+
import "./chunk-CCF52HVZ.js";
|
|
20
20
|
import "./chunk-I3J4JYES.js";
|
|
21
21
|
export {
|
|
22
22
|
GLOBAL_CONFIG_FILE,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
readFileSafe,
|
|
19
19
|
readTextContent,
|
|
20
20
|
writeTextContent
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-EYY3QDKX.js";
|
|
22
|
+
import "./chunk-37ZXN5M4.js";
|
|
23
|
+
import "./chunk-UUS77RPP.js";
|
|
24
|
+
import "./chunk-CCF52HVZ.js";
|
|
25
25
|
import "./chunk-I3J4JYES.js";
|
|
26
26
|
export {
|
|
27
27
|
addLineNumbers,
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
MACRO
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CCF52HVZ.js";
|
|
6
6
|
import "./chunk-I3J4JYES.js";
|
|
7
7
|
|
|
8
8
|
// src/entrypoints/index.ts
|
|
@@ -28,7 +28,7 @@ Common options:
|
|
|
28
28
|
process.exit(0);
|
|
29
29
|
}
|
|
30
30
|
if (hasFlag("--acp")) {
|
|
31
|
-
await import("./acp-
|
|
31
|
+
await import("./acp-YXMNP56B.js");
|
|
32
32
|
} else {
|
|
33
|
-
await import("./cli-
|
|
33
|
+
await import("./cli-VNT2RTPP.js");
|
|
34
34
|
}
|