pybao-cli 1.4.99 → 1.5.0
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-XTWJQCGP.js +49 -0
- package/dist/{acp-IIKBAJCJ.js → acp-SAL4EP5J.js} +30 -30
- package/dist/{agentsValidate-6CEARR6Z.js → agentsValidate-C6YKUGF7.js} +7 -7
- package/dist/{ask-7NE7NVRN.js → ask-HGYWJZS2.js} +29 -29
- package/dist/{autoUpdater-LFOXQ3CV.js → autoUpdater-KPHKCCCG.js} +3 -3
- package/dist/{chunk-7SPP4L5F.js → chunk-2ASJ2ZXT.js} +2 -2
- package/dist/{chunk-2CLRREZ5.js → chunk-3AOEQNVF.js} +3 -3
- package/dist/{chunk-Q56IGZX5.js → chunk-3GHP4ZYL.js} +3 -3
- package/dist/{chunk-A2IPV5PR.js → chunk-3LJHZG66.js} +2 -2
- package/dist/{chunk-3BPXWAOJ.js → chunk-3LNF2KW3.js} +1 -1
- package/dist/chunk-3LNF2KW3.js.map +7 -0
- package/dist/{chunk-VKXOAPOS.js → chunk-4VJCTBGJ.js} +1 -1
- package/dist/{chunk-7SDAA35I.js → chunk-6SKPT5PO.js} +1 -1
- package/dist/{chunk-TYOT7UVX.js → chunk-7WOVOXMQ.js} +1 -1
- package/dist/{chunk-2IO7WUI7.js → chunk-C35G3PBK.js} +4 -4
- package/dist/{chunk-YH7ZOG3I.js → chunk-FYBZ3YQE.js} +4 -4
- package/dist/{chunk-DKQIGPXB.js → chunk-GIADXQL5.js} +1 -1
- package/dist/{chunk-GIH6DDF7.js → chunk-I6OHRNKP.js} +1 -1
- package/dist/{chunk-5TCQKGL7.js → chunk-IPFCYGNA.js} +3 -3
- package/dist/{chunk-GNDMDOGM.js → chunk-JE5NAHTD.js} +2 -2
- package/dist/{chunk-KZ7I6E5P.js → chunk-KCFPJKWW.js} +36 -36
- package/dist/{chunk-MMZ2MWHJ.js → chunk-KGDEFE3J.js} +1 -1
- package/dist/{chunk-ZXO6OMWV.js → chunk-LFL6UX3A.js} +4 -4
- package/dist/{chunk-NXLRKKFH.js → chunk-LOJMWCX3.js} +1 -1
- package/dist/{chunk-7KDTFITN.js → chunk-NOBHSMZC.js} +3 -3
- package/dist/{chunk-D3SG4DHV.js → chunk-OLROXGX5.js} +3 -3
- package/dist/{chunk-JEGVTLOH.js → chunk-QHIPHNA3.js} +1 -1
- package/dist/{chunk-TG2B47KG.js → chunk-RQD4IK2S.js} +2 -2
- package/dist/{chunk-BBHKGKLF.js → chunk-SWAY3K6C.js} +17 -17
- package/dist/{chunk-BBHKGKLF.js.map → chunk-SWAY3K6C.js.map} +1 -1
- package/dist/{chunk-WAQ72XDO.js → chunk-TIVWTFPO.js} +3 -3
- package/dist/{chunk-6E6QBP52.js → chunk-VQDEUTRM.js} +1 -1
- package/dist/{chunk-7QIWZIVM.js → chunk-WAHZEY6D.js} +1 -1
- package/dist/{chunk-PDQTREWL.js → chunk-WKC5WKYW.js} +2 -2
- package/dist/{chunk-4MZJNA2D.js → chunk-XAAHVHOO.js} +2 -2
- package/dist/{chunk-ZXADEAK4.js → chunk-XDZGNZH4.js} +4 -4
- package/dist/{chunk-KK5DOHDD.js → chunk-Y36VNIZL.js} +2 -2
- package/dist/{chunk-6KPO3O64.js → chunk-ZM3QKHBL.js} +3 -3
- package/dist/{cli-B42Z5OSM.js → cli-GHECZSHS.js} +89 -89
- package/dist/commands-GBM4GBRX.js +53 -0
- package/dist/{config-ZC4PZWOC.js → config-CTLYJJBD.js} +4 -4
- package/dist/{context-MF3EKP4O.js → context-E2QU37Y5.js} +6 -6
- package/dist/{conversationTracker-BM6KB27G.js → conversationTracker-U4OXNLGV.js} +3 -3
- package/dist/{customCommands-63F72N5R.js → customCommands-RQRKKSHO.js} +4 -4
- package/dist/{env-PGV75SHC.js → env-L2BPT5X6.js} +2 -2
- package/dist/{file-7NLJWX5W.js → file-D2K7KAMP.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-RCPJRG2F.js → llm-BNSWKO5H.js} +30 -30
- package/dist/{llmLazy-C5G2MM53.js → llmLazy-4Q7PQTA7.js} +1 -1
- package/dist/{loader-MPCV37S5.js → loader-YFCZ4BDY.js} +4 -4
- package/dist/{lsp-7FPYFR6T.js → lsp-C22XTWJ2.js} +6 -6
- package/dist/{lspAnchor-C676SQ6E.js → lspAnchor-Q5HVYXDG.js} +6 -6
- package/dist/{mcp-VKKPULAR.js → mcp-G6F3HTBX.js} +7 -7
- package/dist/{mentionProcessor-LJHHC5H4.js → mentionProcessor-QFOV4EID.js} +5 -5
- package/dist/{messages-QSUEHIGU.js → messages-MJADVQLI.js} +1 -1
- package/dist/{model-AJTLB6V4.js → model-EAGYR44H.js} +5 -5
- package/dist/{openai-XIRY5EVT.js → openai-QDVCKCWO.js} +5 -5
- package/dist/{outputStyles-OTRZEQSD.js → outputStyles-6VDI5PML.js} +4 -4
- package/dist/{pluginRuntime-NQ6GKMG6.js → pluginRuntime-LDS7EVLY.js} +6 -6
- package/dist/{pluginValidation-AJUPAPU2.js → pluginValidation-QLMPU2AY.js} +6 -6
- package/dist/prompts-S5K332CK.js +55 -0
- package/dist/{pybAgentSessionLoad-MOZRT43D.js → pybAgentSessionLoad-VIRMSYB6.js} +4 -4
- package/dist/{pybAgentSessionResume-S67UFBZF.js → pybAgentSessionResume-N5ZNISL4.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-UEEVKNIR.js → pybAgentStreamJsonSession-PC7IBPVT.js} +1 -1
- package/dist/{pybHooks-UQQ6VWTB.js → pybHooks-77BWG6PM.js} +4 -4
- package/dist/query-3C42H2KQ.js +57 -0
- package/dist/{registry-VUAORMT6.js → registry-4R56WZ2F.js} +5 -5
- package/dist/{ripgrep-H5HDDGEE.js → ripgrep-JB5BUTEY.js} +3 -3
- package/dist/{skillMarketplace-AD473TUO.js → skillMarketplace-CLZ4AWZB.js} +3 -3
- package/dist/{state-6FI3TEMZ.js → state-GHWTTEKJ.js} +2 -2
- package/dist/{theme-4KO4JE7Q.js → theme-JO4GZK2B.js} +5 -5
- package/dist/{toolPermissionSettings-5QUOY3OV.js → toolPermissionSettings-4PNGLWZU.js} +6 -6
- package/dist/tools-VIPBGGMM.js +54 -0
- package/dist/{userInput-ZT3LIWGH.js → userInput-FOKPASU4.js} +31 -31
- package/package.json +1 -1
- package/dist/REPL-KURZV7EW.js +0 -49
- package/dist/chunk-3BPXWAOJ.js.map +0 -7
- package/dist/commands-MNUBXNIB.js +0 -53
- package/dist/prompts-SWCPKXLQ.js +0 -55
- package/dist/query-ZKV22Q32.js +0 -57
- package/dist/tools-DOBQ6YMO.js +0 -54
- /package/dist/{REPL-KURZV7EW.js.map → REPL-XTWJQCGP.js.map} +0 -0
- /package/dist/{acp-IIKBAJCJ.js.map → acp-SAL4EP5J.js.map} +0 -0
- /package/dist/{agentsValidate-6CEARR6Z.js.map → agentsValidate-C6YKUGF7.js.map} +0 -0
- /package/dist/{ask-7NE7NVRN.js.map → ask-HGYWJZS2.js.map} +0 -0
- /package/dist/{autoUpdater-LFOXQ3CV.js.map → autoUpdater-KPHKCCCG.js.map} +0 -0
- /package/dist/{chunk-7SPP4L5F.js.map → chunk-2ASJ2ZXT.js.map} +0 -0
- /package/dist/{chunk-2CLRREZ5.js.map → chunk-3AOEQNVF.js.map} +0 -0
- /package/dist/{chunk-Q56IGZX5.js.map → chunk-3GHP4ZYL.js.map} +0 -0
- /package/dist/{chunk-A2IPV5PR.js.map → chunk-3LJHZG66.js.map} +0 -0
- /package/dist/{chunk-VKXOAPOS.js.map → chunk-4VJCTBGJ.js.map} +0 -0
- /package/dist/{chunk-7SDAA35I.js.map → chunk-6SKPT5PO.js.map} +0 -0
- /package/dist/{chunk-TYOT7UVX.js.map → chunk-7WOVOXMQ.js.map} +0 -0
- /package/dist/{chunk-2IO7WUI7.js.map → chunk-C35G3PBK.js.map} +0 -0
- /package/dist/{chunk-YH7ZOG3I.js.map → chunk-FYBZ3YQE.js.map} +0 -0
- /package/dist/{chunk-DKQIGPXB.js.map → chunk-GIADXQL5.js.map} +0 -0
- /package/dist/{chunk-GIH6DDF7.js.map → chunk-I6OHRNKP.js.map} +0 -0
- /package/dist/{chunk-5TCQKGL7.js.map → chunk-IPFCYGNA.js.map} +0 -0
- /package/dist/{chunk-GNDMDOGM.js.map → chunk-JE5NAHTD.js.map} +0 -0
- /package/dist/{chunk-KZ7I6E5P.js.map → chunk-KCFPJKWW.js.map} +0 -0
- /package/dist/{chunk-MMZ2MWHJ.js.map → chunk-KGDEFE3J.js.map} +0 -0
- /package/dist/{chunk-ZXO6OMWV.js.map → chunk-LFL6UX3A.js.map} +0 -0
- /package/dist/{chunk-NXLRKKFH.js.map → chunk-LOJMWCX3.js.map} +0 -0
- /package/dist/{chunk-7KDTFITN.js.map → chunk-NOBHSMZC.js.map} +0 -0
- /package/dist/{chunk-D3SG4DHV.js.map → chunk-OLROXGX5.js.map} +0 -0
- /package/dist/{chunk-JEGVTLOH.js.map → chunk-QHIPHNA3.js.map} +0 -0
- /package/dist/{chunk-TG2B47KG.js.map → chunk-RQD4IK2S.js.map} +0 -0
- /package/dist/{chunk-WAQ72XDO.js.map → chunk-TIVWTFPO.js.map} +0 -0
- /package/dist/{chunk-6E6QBP52.js.map → chunk-VQDEUTRM.js.map} +0 -0
- /package/dist/{chunk-7QIWZIVM.js.map → chunk-WAHZEY6D.js.map} +0 -0
- /package/dist/{chunk-PDQTREWL.js.map → chunk-WKC5WKYW.js.map} +0 -0
- /package/dist/{chunk-4MZJNA2D.js.map → chunk-XAAHVHOO.js.map} +0 -0
- /package/dist/{chunk-ZXADEAK4.js.map → chunk-XDZGNZH4.js.map} +0 -0
- /package/dist/{chunk-KK5DOHDD.js.map → chunk-Y36VNIZL.js.map} +0 -0
- /package/dist/{chunk-6KPO3O64.js.map → chunk-ZM3QKHBL.js.map} +0 -0
- /package/dist/{cli-B42Z5OSM.js.map → cli-GHECZSHS.js.map} +0 -0
- /package/dist/{commands-MNUBXNIB.js.map → commands-GBM4GBRX.js.map} +0 -0
- /package/dist/{config-ZC4PZWOC.js.map → config-CTLYJJBD.js.map} +0 -0
- /package/dist/{context-MF3EKP4O.js.map → context-E2QU37Y5.js.map} +0 -0
- /package/dist/{conversationTracker-BM6KB27G.js.map → conversationTracker-U4OXNLGV.js.map} +0 -0
- /package/dist/{customCommands-63F72N5R.js.map → customCommands-RQRKKSHO.js.map} +0 -0
- /package/dist/{env-PGV75SHC.js.map → env-L2BPT5X6.js.map} +0 -0
- /package/dist/{file-7NLJWX5W.js.map → file-D2K7KAMP.js.map} +0 -0
- /package/dist/{llm-RCPJRG2F.js.map → llm-BNSWKO5H.js.map} +0 -0
- /package/dist/{llmLazy-C5G2MM53.js.map → llmLazy-4Q7PQTA7.js.map} +0 -0
- /package/dist/{loader-MPCV37S5.js.map → loader-YFCZ4BDY.js.map} +0 -0
- /package/dist/{lsp-7FPYFR6T.js.map → lsp-C22XTWJ2.js.map} +0 -0
- /package/dist/{lspAnchor-C676SQ6E.js.map → lspAnchor-Q5HVYXDG.js.map} +0 -0
- /package/dist/{mcp-VKKPULAR.js.map → mcp-G6F3HTBX.js.map} +0 -0
- /package/dist/{mentionProcessor-LJHHC5H4.js.map → mentionProcessor-QFOV4EID.js.map} +0 -0
- /package/dist/{messages-QSUEHIGU.js.map → messages-MJADVQLI.js.map} +0 -0
- /package/dist/{model-AJTLB6V4.js.map → model-EAGYR44H.js.map} +0 -0
- /package/dist/{openai-XIRY5EVT.js.map → openai-QDVCKCWO.js.map} +0 -0
- /package/dist/{outputStyles-OTRZEQSD.js.map → outputStyles-6VDI5PML.js.map} +0 -0
- /package/dist/{pluginRuntime-NQ6GKMG6.js.map → pluginRuntime-LDS7EVLY.js.map} +0 -0
- /package/dist/{pluginValidation-AJUPAPU2.js.map → pluginValidation-QLMPU2AY.js.map} +0 -0
- /package/dist/{prompts-SWCPKXLQ.js.map → prompts-S5K332CK.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-MOZRT43D.js.map → pybAgentSessionLoad-VIRMSYB6.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-S67UFBZF.js.map → pybAgentSessionResume-N5ZNISL4.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-UEEVKNIR.js.map → pybAgentStreamJsonSession-PC7IBPVT.js.map} +0 -0
- /package/dist/{pybHooks-UQQ6VWTB.js.map → pybHooks-77BWG6PM.js.map} +0 -0
- /package/dist/{query-ZKV22Q32.js.map → query-3C42H2KQ.js.map} +0 -0
- /package/dist/{registry-VUAORMT6.js.map → registry-4R56WZ2F.js.map} +0 -0
- /package/dist/{ripgrep-H5HDDGEE.js.map → ripgrep-JB5BUTEY.js.map} +0 -0
- /package/dist/{skillMarketplace-AD473TUO.js.map → skillMarketplace-CLZ4AWZB.js.map} +0 -0
- /package/dist/{state-6FI3TEMZ.js.map → state-GHWTTEKJ.js.map} +0 -0
- /package/dist/{theme-4KO4JE7Q.js.map → theme-JO4GZK2B.js.map} +0 -0
- /package/dist/{toolPermissionSettings-5QUOY3OV.js.map → toolPermissionSettings-4PNGLWZU.js.map} +0 -0
- /package/dist/{tools-DOBQ6YMO.js.map → tools-VIPBGGMM.js.map} +0 -0
- /package/dist/{userInput-ZT3LIWGH.js.map → userInput-FOKPASU4.js.map} +0 -0
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
getAllTools,
|
|
10
10
|
toTaskDetail,
|
|
11
11
|
toTaskListItem
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SWAY3K6C.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-3GHP4ZYL.js";
|
|
19
19
|
import {
|
|
20
20
|
getToolDescription
|
|
21
21
|
} from "./chunk-O6DTZU7F.js";
|
|
@@ -39,23 +39,23 @@ import {
|
|
|
39
39
|
review_default,
|
|
40
40
|
useExitOnCtrlCD,
|
|
41
41
|
useTerminalSize
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-KCFPJKWW.js";
|
|
43
|
+
import "./chunk-LOJMWCX3.js";
|
|
44
|
+
import "./chunk-3AOEQNVF.js";
|
|
45
|
+
import "./chunk-KGDEFE3J.js";
|
|
46
46
|
import {
|
|
47
47
|
beginReplSessionScope
|
|
48
48
|
} from "./chunk-F4AXICO7.js";
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-I6OHRNKP.js";
|
|
50
|
+
import "./chunk-Y36VNIZL.js";
|
|
51
51
|
import "./chunk-5P7HBXTD.js";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-ZM3QKHBL.js";
|
|
53
53
|
import {
|
|
54
54
|
clearOutputStyleCache
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import "./chunk-
|
|
55
|
+
} from "./chunk-XAAHVHOO.js";
|
|
56
|
+
import "./chunk-2ASJ2ZXT.js";
|
|
57
57
|
import "./chunk-XKYHFZEC.js";
|
|
58
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-XDZGNZH4.js";
|
|
59
59
|
import {
|
|
60
60
|
addMcpServer,
|
|
61
61
|
ensureConfigScope,
|
|
@@ -70,43 +70,43 @@ import {
|
|
|
70
70
|
parseEnvVars,
|
|
71
71
|
parseMcpHeaders,
|
|
72
72
|
removeMcpServer
|
|
73
|
-
} from "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
73
|
+
} from "./chunk-FYBZ3YQE.js";
|
|
74
|
+
import "./chunk-QHIPHNA3.js";
|
|
75
|
+
import "./chunk-NOBHSMZC.js";
|
|
76
76
|
import "./chunk-UNNVICVU.js";
|
|
77
|
-
import "./chunk-
|
|
77
|
+
import "./chunk-RQD4IK2S.js";
|
|
78
78
|
import {
|
|
79
79
|
clearAgentCache,
|
|
80
80
|
setFlagAgentsFromCliJson
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-WKC5WKYW.js";
|
|
82
82
|
import {
|
|
83
83
|
setEnabledSettingSourcesFromCli
|
|
84
84
|
} from "./chunk-A3BVXXA3.js";
|
|
85
|
-
import "./chunk-
|
|
85
|
+
import "./chunk-WAHZEY6D.js";
|
|
86
86
|
import "./chunk-3DFBSQIT.js";
|
|
87
87
|
import "./chunk-B6IMQJZM.js";
|
|
88
88
|
import "./chunk-OUXHGDLH.js";
|
|
89
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-3LJHZG66.js";
|
|
90
90
|
import "./chunk-QWIBSCDN.js";
|
|
91
|
-
import "./chunk-
|
|
92
|
-
import "./chunk-
|
|
93
|
-
import "./chunk-
|
|
91
|
+
import "./chunk-LFL6UX3A.js";
|
|
92
|
+
import "./chunk-OLROXGX5.js";
|
|
93
|
+
import "./chunk-6SKPT5PO.js";
|
|
94
94
|
import "./chunk-UZ34JEUK.js";
|
|
95
|
-
import "./chunk-
|
|
95
|
+
import "./chunk-JE5NAHTD.js";
|
|
96
96
|
import "./chunk-BJSWTHRM.js";
|
|
97
97
|
import {
|
|
98
98
|
getModelManager,
|
|
99
99
|
isDefaultSlowAndCapableModel
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-IPFCYGNA.js";
|
|
101
101
|
import {
|
|
102
102
|
getContext,
|
|
103
103
|
removeContext,
|
|
104
104
|
setContext
|
|
105
|
-
} from "./chunk-
|
|
106
|
-
import "./chunk-
|
|
105
|
+
} from "./chunk-C35G3PBK.js";
|
|
106
|
+
import "./chunk-7WOVOXMQ.js";
|
|
107
107
|
import {
|
|
108
108
|
getTheme
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-VQDEUTRM.js";
|
|
110
110
|
import {
|
|
111
111
|
checkHasTrustDialogAccepted,
|
|
112
112
|
deleteConfigForCLI,
|
|
@@ -120,14 +120,14 @@ import {
|
|
|
120
120
|
saveGlobalConfig,
|
|
121
121
|
setConfigForCLI,
|
|
122
122
|
validateAndRepairAllGPT5Profiles
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-TIVWTFPO.js";
|
|
124
124
|
import {
|
|
125
125
|
ConfigParseError
|
|
126
126
|
} from "./chunk-RQVLBMP7.js";
|
|
127
127
|
import {
|
|
128
128
|
debug,
|
|
129
129
|
initDebugLogger
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-GIADXQL5.js";
|
|
131
131
|
import {
|
|
132
132
|
BunShell,
|
|
133
133
|
CACHE_PATHS,
|
|
@@ -143,10 +143,10 @@ import {
|
|
|
143
143
|
parseLogFilename,
|
|
144
144
|
setCwd,
|
|
145
145
|
setOriginalCwd
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-4VJCTBGJ.js";
|
|
147
147
|
import {
|
|
148
148
|
MACRO
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-3LNF2KW3.js";
|
|
150
150
|
import "./chunk-I3J4JYES.js";
|
|
151
151
|
|
|
152
152
|
// src/entrypoints/cli/runCli.tsx
|
|
@@ -307,7 +307,7 @@ function createPrintModeControlRequestHandler(args) {
|
|
|
307
307
|
// src/entrypoints/cli/stdio/streamJsonSession.ts
|
|
308
308
|
async function runPrintModeStreamJsonSession(args) {
|
|
309
309
|
const { beginReplSessionScope: beginReplSessionScope2 } = await import("./replSessionBridge-EBXNFUAD.js");
|
|
310
|
-
const { runPybAgentStreamJsonSession } = await import("./pybAgentStreamJsonSession-
|
|
310
|
+
const { runPybAgentStreamJsonSession } = await import("./pybAgentStreamJsonSession-PC7IBPVT.js");
|
|
311
311
|
const restoreSessionScope = beginReplSessionScope2(args.sessionId);
|
|
312
312
|
try {
|
|
313
313
|
await runPybAgentStreamJsonSession(args);
|
|
@@ -466,19 +466,19 @@ async function runPrintMode({
|
|
|
466
466
|
`);
|
|
467
467
|
process.exit(0);
|
|
468
468
|
}
|
|
469
|
-
const { createUserMessage } = await import("./messages-
|
|
470
|
-
const { ConversationTracker } = await import("./conversationTracker-
|
|
471
|
-
const { getSystemPrompt } = await import("./prompts-
|
|
472
|
-
const { getContext: getContext2 } = await import("./context-
|
|
469
|
+
const { createUserMessage } = await import("./messages-MJADVQLI.js");
|
|
470
|
+
const { ConversationTracker } = await import("./conversationTracker-U4OXNLGV.js");
|
|
471
|
+
const { getSystemPrompt } = await import("./prompts-S5K332CK.js");
|
|
472
|
+
const { getContext: getContext2 } = await import("./context-E2QU37Y5.js");
|
|
473
473
|
const { getTotalCost } = await import("./costTracker-DJVFVAVZ.js");
|
|
474
|
-
const { query } = await import("./query-
|
|
474
|
+
const { query } = await import("./query-3C42H2KQ.js");
|
|
475
475
|
const { getPybAgentSessionId } = await import("./pybAgentSessionId-EPCAMQ25.js");
|
|
476
476
|
const { pybMessageToSdkMessage, makeSdkInitMessage, makeSdkResultMessage } = await import("./pybAgentStreamJson-EQPO52B6.js");
|
|
477
477
|
const { PybAgentStructuredStdio: PybAgentStructuredStdio2 } = await import("./pybAgentStructuredStdio-ROCSOGNT.js");
|
|
478
478
|
const {
|
|
479
479
|
loadToolPermissionContextFromDisk,
|
|
480
480
|
persistToolPermissionUpdateToDisk
|
|
481
|
-
} = await import("./toolPermissionSettings-
|
|
481
|
+
} = await import("./toolPermissionSettings-4PNGLWZU.js");
|
|
482
482
|
const { applyToolPermissionContextUpdates } = await import("./toolPermissionContext-BSFV23IL.js");
|
|
483
483
|
const sessionIdForSdk = getPybAgentSessionId();
|
|
484
484
|
const restoreSessionScope = beginReplSessionScope(sessionIdForSdk);
|
|
@@ -868,9 +868,9 @@ async function setup(cwd2, safeMode) {
|
|
|
868
868
|
grantReadPermissionForOriginalDir();
|
|
869
869
|
let agentLoader;
|
|
870
870
|
try {
|
|
871
|
-
agentLoader = await import("./loader-
|
|
871
|
+
agentLoader = await import("./loader-YFCZ4BDY.js");
|
|
872
872
|
} catch {
|
|
873
|
-
agentLoader = await import("./loader-
|
|
873
|
+
agentLoader = await import("./loader-YFCZ4BDY.js");
|
|
874
874
|
}
|
|
875
875
|
const { startAgentWatcher } = agentLoader;
|
|
876
876
|
await startAgentWatcher(() => {
|
|
@@ -2090,12 +2090,12 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2090
2090
|
assertMinVersion();
|
|
2091
2091
|
{
|
|
2092
2092
|
const requested = Array.isArray(pluginDir) && pluginDir.length > 0 ? pluginDir : [];
|
|
2093
|
-
const { listEnabledInstalledPluginPackRoots } = await import("./skillMarketplace-
|
|
2093
|
+
const { listEnabledInstalledPluginPackRoots } = await import("./skillMarketplace-CLZ4AWZB.js");
|
|
2094
2094
|
const installed = listEnabledInstalledPluginPackRoots();
|
|
2095
2095
|
const all = [...installed, ...requested].filter(Boolean);
|
|
2096
2096
|
const deduped = Array.from(new Set(all));
|
|
2097
2097
|
if (deduped.length > 0) {
|
|
2098
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
2098
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-LDS7EVLY.js");
|
|
2099
2099
|
const { errors } = await configureSessionPlugins({
|
|
2100
2100
|
pluginDirs: deduped
|
|
2101
2101
|
});
|
|
@@ -2105,9 +2105,9 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2105
2105
|
}
|
|
2106
2106
|
}
|
|
2107
2107
|
const [{ ask }, { getTools }, { getCommands }] = await Promise.all([
|
|
2108
|
-
import("./ask-
|
|
2109
|
-
import("./tools-
|
|
2110
|
-
import("./commands-
|
|
2108
|
+
import("./ask-HGYWJZS2.js"),
|
|
2109
|
+
import("./tools-VIPBGGMM.js"),
|
|
2110
|
+
import("./commands-GBM4GBRX.js")
|
|
2111
2111
|
]);
|
|
2112
2112
|
const commands = await getCommands();
|
|
2113
2113
|
const mcpClientsPromise = Array.isArray(mcpConfig) && mcpConfig.length > 0 || strictMcpConfig === true ? getClientsForCliMcpConfig({
|
|
@@ -2126,8 +2126,8 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2126
2126
|
const {
|
|
2127
2127
|
loadPybAgentSessionMessages,
|
|
2128
2128
|
findMostRecentPybAgentSessionId
|
|
2129
|
-
} = await import("./pybAgentSessionLoad-
|
|
2130
|
-
const { listPybAgentSessions, resolvePybResumeSessionIdentifier } = await import("./pybAgentSessionResume-
|
|
2129
|
+
} = await import("./pybAgentSessionLoad-VIRMSYB6.js");
|
|
2130
|
+
const { listPybAgentSessions, resolvePybResumeSessionIdentifier } = await import("./pybAgentSessionResume-N5ZNISL4.js");
|
|
2131
2131
|
const { isUuid } = await import("./uuid-CVHEFGW4.js");
|
|
2132
2132
|
const { setPybAgentSessionId, getPybAgentSessionId } = await import("./pybAgentSessionId-EPCAMQ25.js");
|
|
2133
2133
|
const { randomUUID } = await import("crypto");
|
|
@@ -2252,7 +2252,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2252
2252
|
{ getLatestVersion, getUpdateCommandSuggestions },
|
|
2253
2253
|
semverMod
|
|
2254
2254
|
] = await Promise.all([
|
|
2255
|
-
import("./autoUpdater-
|
|
2255
|
+
import("./autoUpdater-KPHKCCCG.js"),
|
|
2256
2256
|
import("semver")
|
|
2257
2257
|
]);
|
|
2258
2258
|
const semver = semverMod?.default ?? semverMod;
|
|
@@ -2313,7 +2313,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2313
2313
|
const isDefaultModel = await isDefaultSlowAndCapableModel();
|
|
2314
2314
|
{
|
|
2315
2315
|
const { render: render3 } = await import("ink");
|
|
2316
|
-
const { REPL } = await import("./REPL-
|
|
2316
|
+
const { REPL } = await import("./REPL-XTWJQCGP.js");
|
|
2317
2317
|
render3(
|
|
2318
2318
|
/* @__PURE__ */ React10.createElement(
|
|
2319
2319
|
REPL,
|
|
@@ -2481,7 +2481,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2481
2481
|
{ replace: !!replace }
|
|
2482
2482
|
);
|
|
2483
2483
|
saveGlobalConfig(nextConfig);
|
|
2484
|
-
await import("./model-
|
|
2484
|
+
await import("./model-EAGYR44H.js").then(({ reloadModelManager }) => {
|
|
2485
2485
|
reloadModelManager();
|
|
2486
2486
|
});
|
|
2487
2487
|
if (warnings.length > 0) {
|
|
@@ -2500,7 +2500,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2500
2500
|
const workingDir = typeof options?.cwd === "string" ? options.cwd : typeof programCwd === "string" ? programCwd : cwd();
|
|
2501
2501
|
const asJson = options?.json === true;
|
|
2502
2502
|
await setup(workingDir, false);
|
|
2503
|
-
const { reloadModelManager, getModelManager: getModelManager2 } = await import("./model-
|
|
2503
|
+
const { reloadModelManager, getModelManager: getModelManager2 } = await import("./model-EAGYR44H.js");
|
|
2504
2504
|
reloadModelManager();
|
|
2505
2505
|
const manager = getModelManager2();
|
|
2506
2506
|
const config2 = getGlobalConfig();
|
|
@@ -2574,7 +2574,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2574
2574
|
try {
|
|
2575
2575
|
const workingDir = typeof options?.cwd === "string" ? options.cwd : cwd();
|
|
2576
2576
|
await setup(workingDir, false);
|
|
2577
|
-
const { validateAgentTemplates } = await import("./agentsValidate-
|
|
2577
|
+
const { validateAgentTemplates } = await import("./agentsValidate-C6YKUGF7.js");
|
|
2578
2578
|
const report = await validateAgentTemplates({
|
|
2579
2579
|
cwd: workingDir,
|
|
2580
2580
|
paths: Array.isArray(paths) ? paths : [],
|
|
@@ -2618,7 +2618,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2618
2618
|
const registerMarketplaceCommands = (marketplaceCmd2) => {
|
|
2619
2619
|
marketplaceCmd2.command("add <source>").description("Add a marketplace from a URL, path, or GitHub repo").action(async (source) => {
|
|
2620
2620
|
try {
|
|
2621
|
-
const { addMarketplace } = await import("./skillMarketplace-
|
|
2621
|
+
const { addMarketplace } = await import("./skillMarketplace-CLZ4AWZB.js");
|
|
2622
2622
|
console.log("Adding marketplace...");
|
|
2623
2623
|
const { name } = await addMarketplace(source);
|
|
2624
2624
|
console.log(`Successfully added marketplace: ${name}`);
|
|
@@ -2630,7 +2630,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2630
2630
|
});
|
|
2631
2631
|
marketplaceCmd2.command("list").description("List all configured marketplaces").option("--json", "Output as JSON").action(async (options) => {
|
|
2632
2632
|
try {
|
|
2633
|
-
const { listMarketplaces } = await import("./skillMarketplace-
|
|
2633
|
+
const { listMarketplaces } = await import("./skillMarketplace-CLZ4AWZB.js");
|
|
2634
2634
|
const marketplaces = listMarketplaces();
|
|
2635
2635
|
if (options.json) {
|
|
2636
2636
|
console.log(JSON.stringify(marketplaces, null, 2));
|
|
@@ -2669,7 +2669,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2669
2669
|
});
|
|
2670
2670
|
marketplaceCmd2.command("remove <name>").alias("rm").description("Remove a configured marketplace").action(async (name) => {
|
|
2671
2671
|
try {
|
|
2672
|
-
const { removeMarketplace } = await import("./skillMarketplace-
|
|
2672
|
+
const { removeMarketplace } = await import("./skillMarketplace-CLZ4AWZB.js");
|
|
2673
2673
|
removeMarketplace(name);
|
|
2674
2674
|
console.log(`Successfully removed marketplace: ${name}`);
|
|
2675
2675
|
process.exit(0);
|
|
@@ -2686,7 +2686,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2686
2686
|
listMarketplaces,
|
|
2687
2687
|
refreshAllMarketplacesAsync,
|
|
2688
2688
|
refreshMarketplaceAsync
|
|
2689
|
-
} = await import("./skillMarketplace-
|
|
2689
|
+
} = await import("./skillMarketplace-CLZ4AWZB.js");
|
|
2690
2690
|
const trimmed = typeof name === "string" ? name.trim() : "";
|
|
2691
2691
|
if (trimmed) {
|
|
2692
2692
|
console.log(`Updating marketplace: ${trimmed}...`);
|
|
@@ -2737,9 +2737,9 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2737
2737
|
);
|
|
2738
2738
|
process.exit(1);
|
|
2739
2739
|
}
|
|
2740
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2740
|
+
const { setCwd: setCwd2 } = await import("./state-GHWTTEKJ.js");
|
|
2741
2741
|
await setCwd2(options.cwd ?? cwd());
|
|
2742
|
-
const { installSkillPlugin } = await import("./skillMarketplace-
|
|
2742
|
+
const { installSkillPlugin } = await import("./skillMarketplace-CLZ4AWZB.js");
|
|
2743
2743
|
const result = installSkillPlugin(plugin, {
|
|
2744
2744
|
scope,
|
|
2745
2745
|
force: options.force === true
|
|
@@ -2766,9 +2766,9 @@ ${skillList}`);
|
|
|
2766
2766
|
);
|
|
2767
2767
|
process.exit(1);
|
|
2768
2768
|
}
|
|
2769
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2769
|
+
const { setCwd: setCwd2 } = await import("./state-GHWTTEKJ.js");
|
|
2770
2770
|
await setCwd2(options.cwd ?? cwd());
|
|
2771
|
-
const { uninstallSkillPlugin } = await import("./skillMarketplace-
|
|
2771
|
+
const { uninstallSkillPlugin } = await import("./skillMarketplace-CLZ4AWZB.js");
|
|
2772
2772
|
const result = uninstallSkillPlugin(plugin, { scope });
|
|
2773
2773
|
const skillList = result.removedSkills.length > 0 ? `Skills: ${result.removedSkills.join(", ")}` : "Skills: (none)";
|
|
2774
2774
|
console.log(`Uninstalled ${result.pluginSpec}
|
|
@@ -2792,9 +2792,9 @@ ${skillList}`);
|
|
|
2792
2792
|
);
|
|
2793
2793
|
process.exit(1);
|
|
2794
2794
|
}
|
|
2795
|
-
const { setCwd: setCwd2, getCwd: getCwd2 } = await import("./state-
|
|
2795
|
+
const { setCwd: setCwd2, getCwd: getCwd2 } = await import("./state-GHWTTEKJ.js");
|
|
2796
2796
|
await setCwd2(options.cwd ?? cwd());
|
|
2797
|
-
const { listInstalledSkillPlugins } = await import("./skillMarketplace-
|
|
2797
|
+
const { listInstalledSkillPlugins } = await import("./skillMarketplace-CLZ4AWZB.js");
|
|
2798
2798
|
const all = listInstalledSkillPlugins();
|
|
2799
2799
|
const filtered = Object.fromEntries(
|
|
2800
2800
|
Object.entries(all).filter(([, record]) => {
|
|
@@ -2838,9 +2838,9 @@ ${skillList}`);
|
|
|
2838
2838
|
);
|
|
2839
2839
|
process.exit(1);
|
|
2840
2840
|
}
|
|
2841
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2841
|
+
const { setCwd: setCwd2 } = await import("./state-GHWTTEKJ.js");
|
|
2842
2842
|
await setCwd2(options.cwd ?? cwd());
|
|
2843
|
-
const { enableSkillPlugin } = await import("./skillMarketplace-
|
|
2843
|
+
const { enableSkillPlugin } = await import("./skillMarketplace-CLZ4AWZB.js");
|
|
2844
2844
|
const result = enableSkillPlugin(plugin, { scope });
|
|
2845
2845
|
console.log(`Enabled ${result.pluginSpec}`);
|
|
2846
2846
|
process.exit(0);
|
|
@@ -2862,9 +2862,9 @@ ${skillList}`);
|
|
|
2862
2862
|
);
|
|
2863
2863
|
process.exit(1);
|
|
2864
2864
|
}
|
|
2865
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2865
|
+
const { setCwd: setCwd2 } = await import("./state-GHWTTEKJ.js");
|
|
2866
2866
|
await setCwd2(options.cwd ?? cwd());
|
|
2867
|
-
const { disableSkillPlugin } = await import("./skillMarketplace-
|
|
2867
|
+
const { disableSkillPlugin } = await import("./skillMarketplace-CLZ4AWZB.js");
|
|
2868
2868
|
const result = disableSkillPlugin(plugin, { scope });
|
|
2869
2869
|
console.log(`Disabled ${result.pluginSpec}`);
|
|
2870
2870
|
process.exit(0);
|
|
@@ -2875,9 +2875,9 @@ ${skillList}`);
|
|
|
2875
2875
|
});
|
|
2876
2876
|
pluginCmd.command("validate <path>").description("Validate a plugin or marketplace manifest").option("--cwd <cwd>", "The current working directory", String, cwd()).action(async (path, options) => {
|
|
2877
2877
|
try {
|
|
2878
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2878
|
+
const { setCwd: setCwd2 } = await import("./state-GHWTTEKJ.js");
|
|
2879
2879
|
await setCwd2(options.cwd ?? cwd());
|
|
2880
|
-
const { formatValidationResult, validatePluginOrMarketplacePath } = await import("./pluginValidation-
|
|
2880
|
+
const { formatValidationResult, validatePluginOrMarketplacePath } = await import("./pluginValidation-QLMPU2AY.js");
|
|
2881
2881
|
const result = validatePluginOrMarketplacePath(path);
|
|
2882
2882
|
console.log(
|
|
2883
2883
|
`Validating ${result.fileType} manifest: ${result.filePath}
|
|
@@ -2899,9 +2899,9 @@ ${skillList}`);
|
|
|
2899
2899
|
registerMarketplaceCommands(marketplaceCmd);
|
|
2900
2900
|
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) => {
|
|
2901
2901
|
try {
|
|
2902
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2902
|
+
const { setCwd: setCwd2 } = await import("./state-GHWTTEKJ.js");
|
|
2903
2903
|
await setCwd2(options.cwd ?? cwd());
|
|
2904
|
-
const { installSkillPlugin } = await import("./skillMarketplace-
|
|
2904
|
+
const { installSkillPlugin } = await import("./skillMarketplace-CLZ4AWZB.js");
|
|
2905
2905
|
const result = installSkillPlugin(plugin, {
|
|
2906
2906
|
project: options.project === true,
|
|
2907
2907
|
force: options.force === true
|
|
@@ -2917,9 +2917,9 @@ ${skillList}`);
|
|
|
2917
2917
|
});
|
|
2918
2918
|
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) => {
|
|
2919
2919
|
try {
|
|
2920
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2920
|
+
const { setCwd: setCwd2 } = await import("./state-GHWTTEKJ.js");
|
|
2921
2921
|
await setCwd2(options.cwd ?? cwd());
|
|
2922
|
-
const { uninstallSkillPlugin } = await import("./skillMarketplace-
|
|
2922
|
+
const { uninstallSkillPlugin } = await import("./skillMarketplace-CLZ4AWZB.js");
|
|
2923
2923
|
const result = uninstallSkillPlugin(plugin, {
|
|
2924
2924
|
project: options.project === true
|
|
2925
2925
|
});
|
|
@@ -2934,7 +2934,7 @@ ${skillList}`);
|
|
|
2934
2934
|
});
|
|
2935
2935
|
skillsCmd.command("list-installed").description("List installed skill plugins").action(async () => {
|
|
2936
2936
|
try {
|
|
2937
|
-
const { listInstalledSkillPlugins } = await import("./skillMarketplace-
|
|
2937
|
+
const { listInstalledSkillPlugins } = await import("./skillMarketplace-CLZ4AWZB.js");
|
|
2938
2938
|
console.log(JSON.stringify(listInstalledSkillPlugins(), null, 2));
|
|
2939
2939
|
process.exit(0);
|
|
2940
2940
|
} catch (error) {
|
|
@@ -3580,7 +3580,7 @@ ${skillList}`);
|
|
|
3580
3580
|
const ink = await import("ink");
|
|
3581
3581
|
const reactModule = await import("react");
|
|
3582
3582
|
const inkjsui = await import("@inkjs/ui");
|
|
3583
|
-
const utilsTheme = await import("./theme-
|
|
3583
|
+
const utilsTheme = await import("./theme-JO4GZK2B.js");
|
|
3584
3584
|
const { render: render3 } = ink;
|
|
3585
3585
|
const React11 = reactModule;
|
|
3586
3586
|
const { MultiSelect: MultiSelect2 } = inkjsui;
|
|
@@ -3723,8 +3723,8 @@ ${skillList}`);
|
|
|
3723
3723
|
const commandOptions = getCommandOptions(options);
|
|
3724
3724
|
const workingDir = resolveWorkingDir(commandOptions, program);
|
|
3725
3725
|
await setup(workingDir, false);
|
|
3726
|
-
const { getAbsolutePath } = await import("./file-
|
|
3727
|
-
const { LspFacade } = await import("./lsp-
|
|
3726
|
+
const { getAbsolutePath } = await import("./file-D2K7KAMP.js");
|
|
3727
|
+
const { LspFacade } = await import("./lsp-C22XTWJ2.js");
|
|
3728
3728
|
const { existsSync: existsSync2 } = await import("fs");
|
|
3729
3729
|
const absPath = getAbsolutePath(file) ?? file;
|
|
3730
3730
|
if (!existsSync2(absPath)) {
|
|
@@ -3755,7 +3755,7 @@ ${skillList}`);
|
|
|
3755
3755
|
try {
|
|
3756
3756
|
const workingDir = resolveWorkingDir(options, program);
|
|
3757
3757
|
await setup(workingDir, false);
|
|
3758
|
-
const { LspFacade } = await import("./lsp-
|
|
3758
|
+
const { LspFacade } = await import("./lsp-C22XTWJ2.js");
|
|
3759
3759
|
const result = await LspFacade.run({
|
|
3760
3760
|
operation: "workspaceSymbol",
|
|
3761
3761
|
filePath: query,
|
|
@@ -3772,8 +3772,8 @@ ${skillList}`);
|
|
|
3772
3772
|
try {
|
|
3773
3773
|
const workingDir = resolveWorkingDir(options, program);
|
|
3774
3774
|
await setup(workingDir, false);
|
|
3775
|
-
const { getAbsolutePath } = await import("./file-
|
|
3776
|
-
const { LspFacade } = await import("./lsp-
|
|
3775
|
+
const { getAbsolutePath } = await import("./file-D2K7KAMP.js");
|
|
3776
|
+
const { LspFacade } = await import("./lsp-C22XTWJ2.js");
|
|
3777
3777
|
const { existsSync: existsSync2 } = await import("fs");
|
|
3778
3778
|
const absPath = getAbsolutePath(file) ?? file;
|
|
3779
3779
|
if (!existsSync2(absPath)) {
|
|
@@ -3796,7 +3796,7 @@ ${skillList}`);
|
|
|
3796
3796
|
try {
|
|
3797
3797
|
const workingDir = resolveWorkingDir(options, program);
|
|
3798
3798
|
await setup(workingDir, false);
|
|
3799
|
-
const { LspFacade } = await import("./lsp-
|
|
3799
|
+
const { LspFacade } = await import("./lsp-C22XTWJ2.js");
|
|
3800
3800
|
const status = LspFacade.status();
|
|
3801
3801
|
console.log(JSON.stringify(status, null, 2));
|
|
3802
3802
|
process.exit(0);
|
|
@@ -3810,7 +3810,7 @@ ${skillList}`);
|
|
|
3810
3810
|
const commandOptions = getCommandOptions(options);
|
|
3811
3811
|
const workingDir = resolveWorkingDir(commandOptions, program);
|
|
3812
3812
|
await setup(workingDir, false);
|
|
3813
|
-
const { LspFacade } = await import("./lsp-
|
|
3813
|
+
const { LspFacade } = await import("./lsp-C22XTWJ2.js");
|
|
3814
3814
|
const host = typeof commandOptions?.host === "string" && commandOptions.host.length > 0 ? commandOptions.host : "127.0.0.1";
|
|
3815
3815
|
const port = typeof commandOptions?.port === "number" && !Number.isNaN(commandOptions.port) ? commandOptions.port : 7337;
|
|
3816
3816
|
const server = LspFacade.serveStatus({ host, port });
|
|
@@ -3836,7 +3836,7 @@ ${skillList}`);
|
|
|
3836
3836
|
program.command("update").description("Show manual upgrade commands (no auto-install)").action(async () => {
|
|
3837
3837
|
console.log(`Current version: ${MACRO.VERSION}`);
|
|
3838
3838
|
console.log("Checking for updates...");
|
|
3839
|
-
const { getLatestVersion, getUpdateCommandSuggestions } = await import("./autoUpdater-
|
|
3839
|
+
const { getLatestVersion, getUpdateCommandSuggestions } = await import("./autoUpdater-KPHKCCCG.js");
|
|
3840
3840
|
const latestVersion = await getLatestVersion();
|
|
3841
3841
|
if (!latestVersion) {
|
|
3842
3842
|
console.error("Failed to check for updates");
|
|
@@ -3891,8 +3891,8 @@ ${skillList}`);
|
|
|
3891
3891
|
await setup(cwd2, safe);
|
|
3892
3892
|
assertMinVersion();
|
|
3893
3893
|
const [{ getTools }, { getCommands }] = await Promise.all([
|
|
3894
|
-
import("./tools-
|
|
3895
|
-
import("./commands-
|
|
3894
|
+
import("./tools-VIPBGGMM.js"),
|
|
3895
|
+
import("./commands-GBM4GBRX.js")
|
|
3896
3896
|
]);
|
|
3897
3897
|
const [allTools, commands, mcpClients] = await Promise.all([
|
|
3898
3898
|
getTools(
|
|
@@ -3903,8 +3903,8 @@ ${skillList}`);
|
|
|
3903
3903
|
]);
|
|
3904
3904
|
const tools = disableSlashCommands === true ? allTools.filter((t) => t.name !== "SlashCommand") : allTools;
|
|
3905
3905
|
if (identifier !== void 0) {
|
|
3906
|
-
const { loadPybAgentSessionMessages } = await import("./pybAgentSessionLoad-
|
|
3907
|
-
const { listPybAgentSessions, resolvePybResumeSessionIdentifier } = await import("./pybAgentSessionResume-
|
|
3906
|
+
const { loadPybAgentSessionMessages } = await import("./pybAgentSessionLoad-VIRMSYB6.js");
|
|
3907
|
+
const { listPybAgentSessions, resolvePybResumeSessionIdentifier } = await import("./pybAgentSessionResume-N5ZNISL4.js");
|
|
3908
3908
|
const { setPybAgentSessionId } = await import("./pybAgentSessionId-EPCAMQ25.js");
|
|
3909
3909
|
const rawIdentifier = String(identifier).trim();
|
|
3910
3910
|
const isLegacyNumber = /^-?\\d+$/.test(rawIdentifier);
|
|
@@ -3974,7 +3974,7 @@ ${skillList}`);
|
|
|
3974
3974
|
const isDefaultModel = await isDefaultSlowAndCapableModel();
|
|
3975
3975
|
{
|
|
3976
3976
|
const { render: render3 } = await import("ink");
|
|
3977
|
-
const { REPL } = await import("./REPL-
|
|
3977
|
+
const { REPL } = await import("./REPL-XTWJQCGP.js");
|
|
3978
3978
|
render3(
|
|
3979
3979
|
/* @__PURE__ */ React10.createElement(
|
|
3980
3980
|
REPL,
|
|
@@ -4001,7 +4001,7 @@ ${skillList}`);
|
|
|
4001
4001
|
process.exit(1);
|
|
4002
4002
|
}
|
|
4003
4003
|
} else {
|
|
4004
|
-
const { listPybAgentSessions } = await import("./pybAgentSessionResume-
|
|
4004
|
+
const { listPybAgentSessions } = await import("./pybAgentSessionResume-N5ZNISL4.js");
|
|
4005
4005
|
const sessions = listPybAgentSessions({ cwd: cwd2 });
|
|
4006
4006
|
if (sessions.length === 0) {
|
|
4007
4007
|
console.error("No conversation found to resume");
|
|
@@ -4106,7 +4106,7 @@ async function gracefulExit(code = 0) {
|
|
|
4106
4106
|
}
|
|
4107
4107
|
isGracefulExitInProgress = true;
|
|
4108
4108
|
try {
|
|
4109
|
-
const { runSessionEndHooks } = await import("./pybHooks-
|
|
4109
|
+
const { runSessionEndHooks } = await import("./pybHooks-77BWG6PM.js");
|
|
4110
4110
|
const { getPybAgentSessionId } = await import("./pybAgentSessionId-EPCAMQ25.js");
|
|
4111
4111
|
const { tmpdir } = await import("os");
|
|
4112
4112
|
const { join: join2 } = await import("path");
|
|
@@ -0,0 +1,53 @@
|
|
|
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-KCFPJKWW.js";
|
|
8
|
+
import "./chunk-LOJMWCX3.js";
|
|
9
|
+
import "./chunk-3AOEQNVF.js";
|
|
10
|
+
import "./chunk-KGDEFE3J.js";
|
|
11
|
+
import "./chunk-F4AXICO7.js";
|
|
12
|
+
import "./chunk-I6OHRNKP.js";
|
|
13
|
+
import "./chunk-Y36VNIZL.js";
|
|
14
|
+
import "./chunk-5P7HBXTD.js";
|
|
15
|
+
import "./chunk-ZM3QKHBL.js";
|
|
16
|
+
import "./chunk-XAAHVHOO.js";
|
|
17
|
+
import "./chunk-2ASJ2ZXT.js";
|
|
18
|
+
import "./chunk-XKYHFZEC.js";
|
|
19
|
+
import "./chunk-XDZGNZH4.js";
|
|
20
|
+
import "./chunk-FYBZ3YQE.js";
|
|
21
|
+
import "./chunk-QHIPHNA3.js";
|
|
22
|
+
import "./chunk-NOBHSMZC.js";
|
|
23
|
+
import "./chunk-UNNVICVU.js";
|
|
24
|
+
import "./chunk-RQD4IK2S.js";
|
|
25
|
+
import "./chunk-WKC5WKYW.js";
|
|
26
|
+
import "./chunk-A3BVXXA3.js";
|
|
27
|
+
import "./chunk-WAHZEY6D.js";
|
|
28
|
+
import "./chunk-3DFBSQIT.js";
|
|
29
|
+
import "./chunk-B6IMQJZM.js";
|
|
30
|
+
import "./chunk-OUXHGDLH.js";
|
|
31
|
+
import "./chunk-3LJHZG66.js";
|
|
32
|
+
import "./chunk-QWIBSCDN.js";
|
|
33
|
+
import "./chunk-LFL6UX3A.js";
|
|
34
|
+
import "./chunk-OLROXGX5.js";
|
|
35
|
+
import "./chunk-6SKPT5PO.js";
|
|
36
|
+
import "./chunk-UZ34JEUK.js";
|
|
37
|
+
import "./chunk-JE5NAHTD.js";
|
|
38
|
+
import "./chunk-BJSWTHRM.js";
|
|
39
|
+
import "./chunk-IPFCYGNA.js";
|
|
40
|
+
import "./chunk-C35G3PBK.js";
|
|
41
|
+
import "./chunk-7WOVOXMQ.js";
|
|
42
|
+
import "./chunk-VQDEUTRM.js";
|
|
43
|
+
import "./chunk-TIVWTFPO.js";
|
|
44
|
+
import "./chunk-RQVLBMP7.js";
|
|
45
|
+
import "./chunk-GIADXQL5.js";
|
|
46
|
+
import "./chunk-4VJCTBGJ.js";
|
|
47
|
+
import "./chunk-3LNF2KW3.js";
|
|
48
|
+
import "./chunk-I3J4JYES.js";
|
|
49
|
+
export {
|
|
50
|
+
getCommand,
|
|
51
|
+
getCommands,
|
|
52
|
+
hasCommand
|
|
53
|
+
};
|
|
@@ -36,11 +36,11 @@ import {
|
|
|
36
36
|
setModelPointer,
|
|
37
37
|
validateAndRepairAllGPT5Profiles,
|
|
38
38
|
validateAndRepairGPT5Profile
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-TIVWTFPO.js";
|
|
40
40
|
import "./chunk-RQVLBMP7.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-GIADXQL5.js";
|
|
42
|
+
import "./chunk-4VJCTBGJ.js";
|
|
43
|
+
import "./chunk-3LNF2KW3.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-C35G3PBK.js";
|
|
17
|
+
import "./chunk-7WOVOXMQ.js";
|
|
18
|
+
import "./chunk-TIVWTFPO.js";
|
|
19
19
|
import "./chunk-RQVLBMP7.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-GIADXQL5.js";
|
|
21
|
+
import "./chunk-4VJCTBGJ.js";
|
|
22
|
+
import "./chunk-3LNF2KW3.js";
|
|
23
23
|
import "./chunk-I3J4JYES.js";
|
|
24
24
|
export {
|
|
25
25
|
getContext,
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
conversationTracker,
|
|
6
6
|
getConversationTrackerForContext,
|
|
7
7
|
resetConversationTrackerForTests
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-KGDEFE3J.js";
|
|
9
|
+
import "./chunk-4VJCTBGJ.js";
|
|
10
|
+
import "./chunk-3LNF2KW3.js";
|
|
11
11
|
import "./chunk-I3J4JYES.js";
|
|
12
12
|
export {
|
|
13
13
|
ConversationTracker,
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
parseFrontmatter,
|
|
9
9
|
reloadCustomCommands,
|
|
10
10
|
resolveFileReferences
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JE5NAHTD.js";
|
|
12
12
|
import "./chunk-BJSWTHRM.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-GIADXQL5.js";
|
|
14
|
+
import "./chunk-4VJCTBGJ.js";
|
|
15
|
+
import "./chunk-3LNF2KW3.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-4VJCTBGJ.js";
|
|
19
|
+
import "./chunk-3LNF2KW3.js";
|
|
20
20
|
import "./chunk-I3J4JYES.js";
|
|
21
21
|
export {
|
|
22
22
|
GLOBAL_CONFIG_FILE,
|