pybao-cli 1.4.52 → 1.4.54
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-PLFZAGYW.js +46 -0
- package/dist/{acp-QYEU24FQ.js → acp-EU6HEJLP.js} +29 -29
- package/dist/{agentsValidate-755OIS5R.js → agentsValidate-ULGDCFW4.js} +7 -7
- package/dist/{ask-DZPBLG26.js → ask-EER3Y73H.js} +28 -28
- package/dist/{autoUpdater-TYGW5WLI.js → autoUpdater-TRX4I3EQ.js} +3 -3
- package/dist/{chunk-LHL4VQUV.js → chunk-22STWQHO.js} +1 -1
- package/dist/{chunk-NCHARDNR.js → chunk-3ZLYX3F7.js} +1 -1
- package/dist/{chunk-NCHARDNR.js.map → chunk-3ZLYX3F7.js.map} +1 -1
- package/dist/{chunk-2HMRIM4L.js → chunk-4RZG72X3.js} +48 -141
- package/dist/{chunk-2HMRIM4L.js.map → chunk-4RZG72X3.js.map} +3 -3
- package/dist/{chunk-OMMS565Z.js → chunk-55SQFXYF.js} +2 -2
- package/dist/{chunk-2BHQOW7O.js → chunk-AKQRCFEG.js} +4 -4
- package/dist/{chunk-DWNHYJME.js → chunk-BRUBNQBF.js} +4 -4
- package/dist/{chunk-SEIO7WV7.js → chunk-CTH2TQ44.js} +1 -1
- package/dist/{chunk-RCASKKDU.js → chunk-CY4JVBI6.js} +2 -2
- package/dist/{chunk-VTHHH4MB.js → chunk-DAXRXAKW.js} +4 -4
- package/dist/{chunk-FVNXJG2K.js → chunk-FINGJBE6.js} +2 -2
- package/dist/{chunk-KMM3X3B5.js → chunk-FKYST5A6.js} +5 -32
- package/dist/chunk-FKYST5A6.js.map +7 -0
- package/dist/{chunk-CACSIWAN.js → chunk-FOHI4RYN.js} +1 -1
- package/dist/{chunk-VSGJTKCW.js → chunk-GYUGF7Z4.js} +1 -1
- package/dist/{chunk-EBSC7C7P.js → chunk-JWFB77XG.js} +3 -3
- package/dist/{chunk-LTNUANEK.js → chunk-LM2G4CP4.js} +39 -110
- package/dist/{chunk-LTNUANEK.js.map → chunk-LM2G4CP4.js.map} +2 -2
- package/dist/{chunk-NXAHOIRY.js → chunk-LQXXZ3XN.js} +2 -2
- package/dist/{chunk-WTHNVU5P.js → chunk-OLD4PDC4.js} +3 -3
- package/dist/{chunk-R3QXCIEI.js → chunk-P3NO7ZL3.js} +1 -1
- package/dist/{chunk-H6QOGXMT.js → chunk-PLRBKD4T.js} +3 -3
- package/dist/{chunk-4LMBJZXO.js → chunk-PSKP2HV7.js} +1 -1
- package/dist/{chunk-OBAKKVHK.js → chunk-S2EZMQMN.js} +1 -1
- package/dist/{chunk-CIPSRLKQ.js → chunk-SNGWOLJA.js} +1 -1
- package/dist/{chunk-BRKYVW3X.js → chunk-SQME3XH5.js} +3 -3
- package/dist/{chunk-232RVCMQ.js → chunk-SSD7IA7A.js} +3 -3
- package/dist/{chunk-FTYUYN6L.js → chunk-TTGVASRL.js} +1 -1
- package/dist/{chunk-KFQPMAFO.js → chunk-U6ULRJKF.js} +3 -3
- package/dist/{chunk-GFD2DNDU.js → chunk-WQ66KITR.js} +2 -2
- package/dist/{chunk-XDWCDTQK.js → chunk-X2N6266T.js} +2 -2
- package/dist/{chunk-EF6YCOC4.js → chunk-XN7B2PR5.js} +4 -4
- package/dist/{chunk-OX2MB4Q2.js → chunk-Z4ZFYXDD.js} +3 -3
- package/dist/{cli-WGYHJPFZ.js → cli-KXRL2NZ3.js} +88 -90
- package/dist/cli-KXRL2NZ3.js.map +7 -0
- package/dist/commands-JNH2NX6O.js +50 -0
- package/dist/{config-AGAJCFQD.js → config-MRRYR4L2.js} +4 -4
- package/dist/{context-ZOZD4S7X.js → context-YU2GRA7X.js} +6 -6
- package/dist/{customCommands-4GSMRRC4.js → customCommands-GNASTOCM.js} +4 -4
- package/dist/{env-RPUIAXPD.js → env-2NXVQGKZ.js} +2 -2
- package/dist/{file-HFMWEHAT.js → file-O62EYAT7.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-CP2G3BZQ.js → llm-CC3GQ5ZM.js} +29 -29
- package/dist/{llmLazy-7GLWRPMO.js → llmLazy-P67QDUQB.js} +1 -1
- package/dist/{loader-RJUX5HRI.js → loader-NGJOUZMP.js} +4 -4
- package/dist/{lsp-4PS6EN3E.js → lsp-5ONJTJJN.js} +6 -6
- package/dist/{lspAnchor-QPHIEGKU.js → lspAnchor-64D7S7UX.js} +6 -6
- package/dist/{mcp-Z5GOR6OF.js → mcp-2NFK2CDM.js} +7 -7
- package/dist/{mentionProcessor-ZPSEF4XC.js → mentionProcessor-ALSLW6WX.js} +5 -5
- package/dist/{messages-7PZIS7S6.js → messages-UWBA7Y3N.js} +1 -1
- package/dist/{model-OMBFATWA.js → model-HVOTTR74.js} +5 -5
- package/dist/{openai-ZFDYT7H5.js → openai-XPB53TRX.js} +5 -5
- package/dist/{outputStyles-LK7EH6PS.js → outputStyles-XEUWBMJT.js} +4 -4
- package/dist/{pluginRuntime-PFAQAL5X.js → pluginRuntime-4VPZQSUT.js} +6 -6
- package/dist/{pluginValidation-F6UPGXZP.js → pluginValidation-HSPGXLLH.js} +6 -6
- package/dist/prompts-BQ7XU4JD.js +52 -0
- package/dist/{pybAgentSessionLoad-PQX3FKEC.js → pybAgentSessionLoad-QCS5BPKE.js} +4 -4
- package/dist/{pybAgentSessionResume-FTGMQQ4B.js → pybAgentSessionResume-BHKVFNEB.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-GQZLIIQS.js → pybAgentStreamJsonSession-4FFFA2XQ.js} +1 -1
- package/dist/{pybHooks-7SOKY4A3.js → pybHooks-FFZ274LI.js} +4 -4
- package/dist/query-HMJCI74H.js +54 -0
- package/dist/{registry-HEA2CKWA.js → registry-WLA42WFC.js} +5 -5
- package/dist/{ripgrep-S4IOHQNI.js → ripgrep-Y6PV5BPR.js} +3 -3
- package/dist/{skillMarketplace-GLH5WP4Y.js → skillMarketplace-DHXHFPKE.js} +3 -3
- package/dist/{state-DYO5HDW5.js → state-IXZXJMUN.js} +2 -2
- package/dist/{theme-FMEMGZ2J.js → theme-UCADMAGV.js} +5 -5
- package/dist/{toolPermissionSettings-J2R2EOVJ.js → toolPermissionSettings-4XVH7G4T.js} +6 -6
- package/dist/tools-JUIOFBYE.js +51 -0
- package/dist/{userInput-IZB262ZP.js → userInput-VTCMXSNX.js} +30 -30
- package/package.json +1 -1
- package/dist/REPL-5YY25SRP.js +0 -46
- package/dist/chunk-KMM3X3B5.js.map +0 -7
- package/dist/cli-WGYHJPFZ.js.map +0 -7
- package/dist/commands-6JEO2KAK.js +0 -50
- package/dist/prompts-3I2J4KDX.js +0 -52
- package/dist/query-MZKEYXCU.js +0 -54
- package/dist/tools-OLRB4MMF.js +0 -51
- /package/dist/{REPL-5YY25SRP.js.map → REPL-PLFZAGYW.js.map} +0 -0
- /package/dist/{acp-QYEU24FQ.js.map → acp-EU6HEJLP.js.map} +0 -0
- /package/dist/{agentsValidate-755OIS5R.js.map → agentsValidate-ULGDCFW4.js.map} +0 -0
- /package/dist/{ask-DZPBLG26.js.map → ask-EER3Y73H.js.map} +0 -0
- /package/dist/{autoUpdater-TYGW5WLI.js.map → autoUpdater-TRX4I3EQ.js.map} +0 -0
- /package/dist/{chunk-LHL4VQUV.js.map → chunk-22STWQHO.js.map} +0 -0
- /package/dist/{chunk-OMMS565Z.js.map → chunk-55SQFXYF.js.map} +0 -0
- /package/dist/{chunk-2BHQOW7O.js.map → chunk-AKQRCFEG.js.map} +0 -0
- /package/dist/{chunk-DWNHYJME.js.map → chunk-BRUBNQBF.js.map} +0 -0
- /package/dist/{chunk-SEIO7WV7.js.map → chunk-CTH2TQ44.js.map} +0 -0
- /package/dist/{chunk-RCASKKDU.js.map → chunk-CY4JVBI6.js.map} +0 -0
- /package/dist/{chunk-VTHHH4MB.js.map → chunk-DAXRXAKW.js.map} +0 -0
- /package/dist/{chunk-FVNXJG2K.js.map → chunk-FINGJBE6.js.map} +0 -0
- /package/dist/{chunk-CACSIWAN.js.map → chunk-FOHI4RYN.js.map} +0 -0
- /package/dist/{chunk-VSGJTKCW.js.map → chunk-GYUGF7Z4.js.map} +0 -0
- /package/dist/{chunk-EBSC7C7P.js.map → chunk-JWFB77XG.js.map} +0 -0
- /package/dist/{chunk-NXAHOIRY.js.map → chunk-LQXXZ3XN.js.map} +0 -0
- /package/dist/{chunk-WTHNVU5P.js.map → chunk-OLD4PDC4.js.map} +0 -0
- /package/dist/{chunk-R3QXCIEI.js.map → chunk-P3NO7ZL3.js.map} +0 -0
- /package/dist/{chunk-H6QOGXMT.js.map → chunk-PLRBKD4T.js.map} +0 -0
- /package/dist/{chunk-4LMBJZXO.js.map → chunk-PSKP2HV7.js.map} +0 -0
- /package/dist/{chunk-OBAKKVHK.js.map → chunk-S2EZMQMN.js.map} +0 -0
- /package/dist/{chunk-CIPSRLKQ.js.map → chunk-SNGWOLJA.js.map} +0 -0
- /package/dist/{chunk-BRKYVW3X.js.map → chunk-SQME3XH5.js.map} +0 -0
- /package/dist/{chunk-232RVCMQ.js.map → chunk-SSD7IA7A.js.map} +0 -0
- /package/dist/{chunk-FTYUYN6L.js.map → chunk-TTGVASRL.js.map} +0 -0
- /package/dist/{chunk-KFQPMAFO.js.map → chunk-U6ULRJKF.js.map} +0 -0
- /package/dist/{chunk-GFD2DNDU.js.map → chunk-WQ66KITR.js.map} +0 -0
- /package/dist/{chunk-XDWCDTQK.js.map → chunk-X2N6266T.js.map} +0 -0
- /package/dist/{chunk-EF6YCOC4.js.map → chunk-XN7B2PR5.js.map} +0 -0
- /package/dist/{chunk-OX2MB4Q2.js.map → chunk-Z4ZFYXDD.js.map} +0 -0
- /package/dist/{commands-6JEO2KAK.js.map → commands-JNH2NX6O.js.map} +0 -0
- /package/dist/{config-AGAJCFQD.js.map → config-MRRYR4L2.js.map} +0 -0
- /package/dist/{context-ZOZD4S7X.js.map → context-YU2GRA7X.js.map} +0 -0
- /package/dist/{customCommands-4GSMRRC4.js.map → customCommands-GNASTOCM.js.map} +0 -0
- /package/dist/{env-RPUIAXPD.js.map → env-2NXVQGKZ.js.map} +0 -0
- /package/dist/{file-HFMWEHAT.js.map → file-O62EYAT7.js.map} +0 -0
- /package/dist/{llm-CP2G3BZQ.js.map → llm-CC3GQ5ZM.js.map} +0 -0
- /package/dist/{llmLazy-7GLWRPMO.js.map → llmLazy-P67QDUQB.js.map} +0 -0
- /package/dist/{loader-RJUX5HRI.js.map → loader-NGJOUZMP.js.map} +0 -0
- /package/dist/{lsp-4PS6EN3E.js.map → lsp-5ONJTJJN.js.map} +0 -0
- /package/dist/{lspAnchor-QPHIEGKU.js.map → lspAnchor-64D7S7UX.js.map} +0 -0
- /package/dist/{mcp-Z5GOR6OF.js.map → mcp-2NFK2CDM.js.map} +0 -0
- /package/dist/{mentionProcessor-ZPSEF4XC.js.map → mentionProcessor-ALSLW6WX.js.map} +0 -0
- /package/dist/{messages-7PZIS7S6.js.map → messages-UWBA7Y3N.js.map} +0 -0
- /package/dist/{model-OMBFATWA.js.map → model-HVOTTR74.js.map} +0 -0
- /package/dist/{openai-ZFDYT7H5.js.map → openai-XPB53TRX.js.map} +0 -0
- /package/dist/{outputStyles-LK7EH6PS.js.map → outputStyles-XEUWBMJT.js.map} +0 -0
- /package/dist/{pluginRuntime-PFAQAL5X.js.map → pluginRuntime-4VPZQSUT.js.map} +0 -0
- /package/dist/{pluginValidation-F6UPGXZP.js.map → pluginValidation-HSPGXLLH.js.map} +0 -0
- /package/dist/{prompts-3I2J4KDX.js.map → prompts-BQ7XU4JD.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-PQX3FKEC.js.map → pybAgentSessionLoad-QCS5BPKE.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-FTGMQQ4B.js.map → pybAgentSessionResume-BHKVFNEB.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-GQZLIIQS.js.map → pybAgentStreamJsonSession-4FFFA2XQ.js.map} +0 -0
- /package/dist/{pybHooks-7SOKY4A3.js.map → pybHooks-FFZ274LI.js.map} +0 -0
- /package/dist/{query-MZKEYXCU.js.map → query-HMJCI74H.js.map} +0 -0
- /package/dist/{registry-HEA2CKWA.js.map → registry-WLA42WFC.js.map} +0 -0
- /package/dist/{ripgrep-S4IOHQNI.js.map → ripgrep-Y6PV5BPR.js.map} +0 -0
- /package/dist/{skillMarketplace-GLH5WP4Y.js.map → skillMarketplace-DHXHFPKE.js.map} +0 -0
- /package/dist/{state-DYO5HDW5.js.map → state-IXZXJMUN.js.map} +0 -0
- /package/dist/{theme-FMEMGZ2J.js.map → theme-UCADMAGV.js.map} +0 -0
- /package/dist/{toolPermissionSettings-J2R2EOVJ.js.map → toolPermissionSettings-4XVH7G4T.js.map} +0 -0
- /package/dist/{tools-OLRB4MMF.js.map → tools-JUIOFBYE.js.map} +0 -0
- /package/dist/{userInput-IZB262ZP.js.map → userInput-VTCMXSNX.js.map} +0 -0
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
getAllTools,
|
|
10
10
|
toTaskDetail,
|
|
11
11
|
toTaskListItem
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LM2G4CP4.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-JWFB77XG.js";
|
|
19
19
|
import {
|
|
20
20
|
getToolDescription
|
|
21
21
|
} from "./chunk-XI4LTVYT.js";
|
|
@@ -34,24 +34,23 @@ import {
|
|
|
34
34
|
getTaskListPaths,
|
|
35
35
|
grantReadPermissionForOriginalDir,
|
|
36
36
|
hasPermissionsToUseTool,
|
|
37
|
-
initTaskListLockFile,
|
|
38
37
|
listTasks,
|
|
39
38
|
rebuildTaskBlocks,
|
|
40
39
|
review_default,
|
|
41
40
|
useExitOnCtrlCD,
|
|
42
41
|
useTerminalSize
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-4RZG72X3.js";
|
|
43
|
+
import "./chunk-OLD4PDC4.js";
|
|
44
|
+
import "./chunk-PSKP2HV7.js";
|
|
45
|
+
import "./chunk-S2EZMQMN.js";
|
|
46
|
+
import "./chunk-CY4JVBI6.js";
|
|
48
47
|
import "./chunk-5P7HBXTD.js";
|
|
49
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-Z4ZFYXDD.js";
|
|
50
49
|
import {
|
|
51
50
|
clearOutputStyleCache
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-FINGJBE6.js";
|
|
52
|
+
import "./chunk-55SQFXYF.js";
|
|
53
|
+
import "./chunk-XN7B2PR5.js";
|
|
55
54
|
import {
|
|
56
55
|
addMcpServer,
|
|
57
56
|
ensureConfigScope,
|
|
@@ -66,43 +65,43 @@ import {
|
|
|
66
65
|
parseEnvVars,
|
|
67
66
|
parseMcpHeaders,
|
|
68
67
|
removeMcpServer
|
|
69
|
-
} from "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
68
|
+
} from "./chunk-BRUBNQBF.js";
|
|
69
|
+
import "./chunk-CTH2TQ44.js";
|
|
70
|
+
import "./chunk-SQME3XH5.js";
|
|
72
71
|
import "./chunk-UNNVICVU.js";
|
|
73
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-FKYST5A6.js";
|
|
74
73
|
import {
|
|
75
74
|
clearAgentCache,
|
|
76
75
|
setFlagAgentsFromCliJson
|
|
77
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-X2N6266T.js";
|
|
78
77
|
import {
|
|
79
78
|
setEnabledSettingSourcesFromCli
|
|
80
79
|
} from "./chunk-A3BVXXA3.js";
|
|
81
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-SNGWOLJA.js";
|
|
82
81
|
import "./chunk-3DFBSQIT.js";
|
|
83
82
|
import "./chunk-B6IMQJZM.js";
|
|
84
83
|
import "./chunk-OUXHGDLH.js";
|
|
85
|
-
import "./chunk-
|
|
84
|
+
import "./chunk-WQ66KITR.js";
|
|
86
85
|
import "./chunk-QWIBSCDN.js";
|
|
87
|
-
import "./chunk-
|
|
88
|
-
import "./chunk-
|
|
89
|
-
import "./chunk-
|
|
86
|
+
import "./chunk-AKQRCFEG.js";
|
|
87
|
+
import "./chunk-PLRBKD4T.js";
|
|
88
|
+
import "./chunk-P3NO7ZL3.js";
|
|
90
89
|
import "./chunk-UZ34JEUK.js";
|
|
91
|
-
import "./chunk-
|
|
90
|
+
import "./chunk-LQXXZ3XN.js";
|
|
92
91
|
import "./chunk-BJSWTHRM.js";
|
|
93
92
|
import {
|
|
94
93
|
getModelManager,
|
|
95
94
|
isDefaultSlowAndCapableModel
|
|
96
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-SSD7IA7A.js";
|
|
97
96
|
import {
|
|
98
97
|
getContext,
|
|
99
98
|
removeContext,
|
|
100
99
|
setContext
|
|
101
|
-
} from "./chunk-
|
|
102
|
-
import "./chunk-
|
|
100
|
+
} from "./chunk-DAXRXAKW.js";
|
|
101
|
+
import "./chunk-GYUGF7Z4.js";
|
|
103
102
|
import {
|
|
104
103
|
getTheme
|
|
105
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-TTGVASRL.js";
|
|
106
105
|
import {
|
|
107
106
|
checkHasTrustDialogAccepted,
|
|
108
107
|
deleteConfigForCLI,
|
|
@@ -116,14 +115,14 @@ import {
|
|
|
116
115
|
saveGlobalConfig,
|
|
117
116
|
setConfigForCLI,
|
|
118
117
|
validateAndRepairAllGPT5Profiles
|
|
119
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-U6ULRJKF.js";
|
|
120
119
|
import {
|
|
121
120
|
ConfigParseError
|
|
122
121
|
} from "./chunk-RQVLBMP7.js";
|
|
123
122
|
import {
|
|
124
123
|
debug,
|
|
125
124
|
initDebugLogger
|
|
126
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-FOHI4RYN.js";
|
|
127
126
|
import {
|
|
128
127
|
BunShell,
|
|
129
128
|
CACHE_PATHS,
|
|
@@ -139,10 +138,10 @@ import {
|
|
|
139
138
|
parseLogFilename,
|
|
140
139
|
setCwd,
|
|
141
140
|
setOriginalCwd
|
|
142
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-22STWQHO.js";
|
|
143
142
|
import {
|
|
144
143
|
MACRO
|
|
145
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-3ZLYX3F7.js";
|
|
146
145
|
import "./chunk-I3J4JYES.js";
|
|
147
146
|
|
|
148
147
|
// src/entrypoints/cli/runCli.tsx
|
|
@@ -302,7 +301,7 @@ function createPrintModeControlRequestHandler(args) {
|
|
|
302
301
|
|
|
303
302
|
// src/entrypoints/cli/stdio/streamJsonSession.ts
|
|
304
303
|
async function runPrintModeStreamJsonSession(args) {
|
|
305
|
-
const { runPybAgentStreamJsonSession } = await import("./pybAgentStreamJsonSession-
|
|
304
|
+
const { runPybAgentStreamJsonSession } = await import("./pybAgentStreamJsonSession-4FFFA2XQ.js");
|
|
306
305
|
await runPybAgentStreamJsonSession(args);
|
|
307
306
|
}
|
|
308
307
|
|
|
@@ -456,18 +455,18 @@ async function runPrintMode({
|
|
|
456
455
|
`);
|
|
457
456
|
process.exit(0);
|
|
458
457
|
}
|
|
459
|
-
const { createUserMessage } = await import("./messages-
|
|
460
|
-
const { getSystemPrompt } = await import("./prompts-
|
|
461
|
-
const { getContext: getContext2 } = await import("./context-
|
|
458
|
+
const { createUserMessage } = await import("./messages-UWBA7Y3N.js");
|
|
459
|
+
const { getSystemPrompt } = await import("./prompts-BQ7XU4JD.js");
|
|
460
|
+
const { getContext: getContext2 } = await import("./context-YU2GRA7X.js");
|
|
462
461
|
const { getTotalCost } = await import("./costTracker-DJVFVAVZ.js");
|
|
463
|
-
const { query } = await import("./query-
|
|
462
|
+
const { query } = await import("./query-HMJCI74H.js");
|
|
464
463
|
const { getPybAgentSessionId } = await import("./pybAgentSessionId-EPCAMQ25.js");
|
|
465
464
|
const { pybMessageToSdkMessage, makeSdkInitMessage, makeSdkResultMessage } = await import("./pybAgentStreamJson-EQPO52B6.js");
|
|
466
465
|
const { PybAgentStructuredStdio: PybAgentStructuredStdio2 } = await import("./pybAgentStructuredStdio-ROCSOGNT.js");
|
|
467
466
|
const {
|
|
468
467
|
loadToolPermissionContextFromDisk,
|
|
469
468
|
persistToolPermissionUpdateToDisk
|
|
470
|
-
} = await import("./toolPermissionSettings-
|
|
469
|
+
} = await import("./toolPermissionSettings-4XVH7G4T.js");
|
|
471
470
|
const { applyToolPermissionContextUpdates } = await import("./toolPermissionContext-BSFV23IL.js");
|
|
472
471
|
const sessionIdForSdk = getPybAgentSessionId();
|
|
473
472
|
const startedAt = Date.now();
|
|
@@ -844,13 +843,12 @@ async function setup(cwd2, safeMode) {
|
|
|
844
843
|
setOriginalCwd(cwd2);
|
|
845
844
|
}
|
|
846
845
|
await setCwd(cwd2);
|
|
847
|
-
initTaskListLockFile();
|
|
848
846
|
grantReadPermissionForOriginalDir();
|
|
849
847
|
let agentLoader;
|
|
850
848
|
try {
|
|
851
|
-
agentLoader = await import("./loader-
|
|
849
|
+
agentLoader = await import("./loader-NGJOUZMP.js");
|
|
852
850
|
} catch {
|
|
853
|
-
agentLoader = await import("./loader-
|
|
851
|
+
agentLoader = await import("./loader-NGJOUZMP.js");
|
|
854
852
|
}
|
|
855
853
|
const { startAgentWatcher } = agentLoader;
|
|
856
854
|
await startAgentWatcher(() => {
|
|
@@ -1809,7 +1807,7 @@ function normalizeStatusFilter(status) {
|
|
|
1809
1807
|
}
|
|
1810
1808
|
function filterTasksByStatus(tasks, statuses) {
|
|
1811
1809
|
if (!statuses || statuses.length === 0) {
|
|
1812
|
-
return tasks.filter((item) => item.status !== "
|
|
1810
|
+
return tasks.filter((item) => item.status !== "deleted");
|
|
1813
1811
|
}
|
|
1814
1812
|
const allowed = new Set(statuses);
|
|
1815
1813
|
return tasks.filter((item) => allowed.has(item.status));
|
|
@@ -2070,12 +2068,12 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2070
2068
|
assertMinVersion();
|
|
2071
2069
|
{
|
|
2072
2070
|
const requested = Array.isArray(pluginDir) && pluginDir.length > 0 ? pluginDir : [];
|
|
2073
|
-
const { listEnabledInstalledPluginPackRoots } = await import("./skillMarketplace-
|
|
2071
|
+
const { listEnabledInstalledPluginPackRoots } = await import("./skillMarketplace-DHXHFPKE.js");
|
|
2074
2072
|
const installed = listEnabledInstalledPluginPackRoots();
|
|
2075
2073
|
const all = [...installed, ...requested].filter(Boolean);
|
|
2076
2074
|
const deduped = Array.from(new Set(all));
|
|
2077
2075
|
if (deduped.length > 0) {
|
|
2078
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
2076
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-4VPZQSUT.js");
|
|
2079
2077
|
const { errors } = await configureSessionPlugins({
|
|
2080
2078
|
pluginDirs: deduped
|
|
2081
2079
|
});
|
|
@@ -2085,9 +2083,9 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2085
2083
|
}
|
|
2086
2084
|
}
|
|
2087
2085
|
const [{ ask }, { getTools }, { getCommands }] = await Promise.all([
|
|
2088
|
-
import("./ask-
|
|
2089
|
-
import("./tools-
|
|
2090
|
-
import("./commands-
|
|
2086
|
+
import("./ask-EER3Y73H.js"),
|
|
2087
|
+
import("./tools-JUIOFBYE.js"),
|
|
2088
|
+
import("./commands-JNH2NX6O.js")
|
|
2091
2089
|
]);
|
|
2092
2090
|
const commands = await getCommands();
|
|
2093
2091
|
const mcpClientsPromise = Array.isArray(mcpConfig) && mcpConfig.length > 0 || strictMcpConfig === true ? getClientsForCliMcpConfig({
|
|
@@ -2106,8 +2104,8 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2106
2104
|
const {
|
|
2107
2105
|
loadPybAgentSessionMessages,
|
|
2108
2106
|
findMostRecentPybAgentSessionId
|
|
2109
|
-
} = await import("./pybAgentSessionLoad-
|
|
2110
|
-
const { listPybAgentSessions, resolvePybResumeSessionIdentifier } = await import("./pybAgentSessionResume-
|
|
2107
|
+
} = await import("./pybAgentSessionLoad-QCS5BPKE.js");
|
|
2108
|
+
const { listPybAgentSessions, resolvePybResumeSessionIdentifier } = await import("./pybAgentSessionResume-BHKVFNEB.js");
|
|
2111
2109
|
const { isUuid } = await import("./uuid-CVHEFGW4.js");
|
|
2112
2110
|
const { setPybAgentSessionId, getPybAgentSessionId } = await import("./pybAgentSessionId-EPCAMQ25.js");
|
|
2113
2111
|
const { randomUUID } = await import("crypto");
|
|
@@ -2232,7 +2230,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2232
2230
|
{ getLatestVersion, getUpdateCommandSuggestions },
|
|
2233
2231
|
semverMod
|
|
2234
2232
|
] = await Promise.all([
|
|
2235
|
-
import("./autoUpdater-
|
|
2233
|
+
import("./autoUpdater-TRX4I3EQ.js"),
|
|
2236
2234
|
import("semver")
|
|
2237
2235
|
]);
|
|
2238
2236
|
const semver = semverMod?.default ?? semverMod;
|
|
@@ -2293,7 +2291,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2293
2291
|
const isDefaultModel = await isDefaultSlowAndCapableModel();
|
|
2294
2292
|
{
|
|
2295
2293
|
const { render: render3 } = await import("ink");
|
|
2296
|
-
const { REPL } = await import("./REPL-
|
|
2294
|
+
const { REPL } = await import("./REPL-PLFZAGYW.js");
|
|
2297
2295
|
render3(
|
|
2298
2296
|
/* @__PURE__ */ React10.createElement(
|
|
2299
2297
|
REPL,
|
|
@@ -2461,7 +2459,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2461
2459
|
{ replace: !!replace }
|
|
2462
2460
|
);
|
|
2463
2461
|
saveGlobalConfig(nextConfig);
|
|
2464
|
-
await import("./model-
|
|
2462
|
+
await import("./model-HVOTTR74.js").then(({ reloadModelManager }) => {
|
|
2465
2463
|
reloadModelManager();
|
|
2466
2464
|
});
|
|
2467
2465
|
if (warnings.length > 0) {
|
|
@@ -2480,7 +2478,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2480
2478
|
const workingDir = typeof options?.cwd === "string" ? options.cwd : typeof programCwd === "string" ? programCwd : cwd();
|
|
2481
2479
|
const asJson = options?.json === true;
|
|
2482
2480
|
await setup(workingDir, false);
|
|
2483
|
-
const { reloadModelManager, getModelManager: getModelManager2 } = await import("./model-
|
|
2481
|
+
const { reloadModelManager, getModelManager: getModelManager2 } = await import("./model-HVOTTR74.js");
|
|
2484
2482
|
reloadModelManager();
|
|
2485
2483
|
const manager = getModelManager2();
|
|
2486
2484
|
const config2 = getGlobalConfig();
|
|
@@ -2554,7 +2552,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2554
2552
|
try {
|
|
2555
2553
|
const workingDir = typeof options?.cwd === "string" ? options.cwd : cwd();
|
|
2556
2554
|
await setup(workingDir, false);
|
|
2557
|
-
const { validateAgentTemplates } = await import("./agentsValidate-
|
|
2555
|
+
const { validateAgentTemplates } = await import("./agentsValidate-ULGDCFW4.js");
|
|
2558
2556
|
const report = await validateAgentTemplates({
|
|
2559
2557
|
cwd: workingDir,
|
|
2560
2558
|
paths: Array.isArray(paths) ? paths : [],
|
|
@@ -2598,7 +2596,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2598
2596
|
const registerMarketplaceCommands = (marketplaceCmd2) => {
|
|
2599
2597
|
marketplaceCmd2.command("add <source>").description("Add a marketplace from a URL, path, or GitHub repo").action(async (source) => {
|
|
2600
2598
|
try {
|
|
2601
|
-
const { addMarketplace } = await import("./skillMarketplace-
|
|
2599
|
+
const { addMarketplace } = await import("./skillMarketplace-DHXHFPKE.js");
|
|
2602
2600
|
console.log("Adding marketplace...");
|
|
2603
2601
|
const { name } = await addMarketplace(source);
|
|
2604
2602
|
console.log(`Successfully added marketplace: ${name}`);
|
|
@@ -2610,7 +2608,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2610
2608
|
});
|
|
2611
2609
|
marketplaceCmd2.command("list").description("List all configured marketplaces").option("--json", "Output as JSON").action(async (options) => {
|
|
2612
2610
|
try {
|
|
2613
|
-
const { listMarketplaces } = await import("./skillMarketplace-
|
|
2611
|
+
const { listMarketplaces } = await import("./skillMarketplace-DHXHFPKE.js");
|
|
2614
2612
|
const marketplaces = listMarketplaces();
|
|
2615
2613
|
if (options.json) {
|
|
2616
2614
|
console.log(JSON.stringify(marketplaces, null, 2));
|
|
@@ -2649,7 +2647,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2649
2647
|
});
|
|
2650
2648
|
marketplaceCmd2.command("remove <name>").alias("rm").description("Remove a configured marketplace").action(async (name) => {
|
|
2651
2649
|
try {
|
|
2652
|
-
const { removeMarketplace } = await import("./skillMarketplace-
|
|
2650
|
+
const { removeMarketplace } = await import("./skillMarketplace-DHXHFPKE.js");
|
|
2653
2651
|
removeMarketplace(name);
|
|
2654
2652
|
console.log(`Successfully removed marketplace: ${name}`);
|
|
2655
2653
|
process.exit(0);
|
|
@@ -2666,7 +2664,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2666
2664
|
listMarketplaces,
|
|
2667
2665
|
refreshAllMarketplacesAsync,
|
|
2668
2666
|
refreshMarketplaceAsync
|
|
2669
|
-
} = await import("./skillMarketplace-
|
|
2667
|
+
} = await import("./skillMarketplace-DHXHFPKE.js");
|
|
2670
2668
|
const trimmed = typeof name === "string" ? name.trim() : "";
|
|
2671
2669
|
if (trimmed) {
|
|
2672
2670
|
console.log(`Updating marketplace: ${trimmed}...`);
|
|
@@ -2717,9 +2715,9 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2717
2715
|
);
|
|
2718
2716
|
process.exit(1);
|
|
2719
2717
|
}
|
|
2720
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2718
|
+
const { setCwd: setCwd2 } = await import("./state-IXZXJMUN.js");
|
|
2721
2719
|
await setCwd2(options.cwd ?? cwd());
|
|
2722
|
-
const { installSkillPlugin } = await import("./skillMarketplace-
|
|
2720
|
+
const { installSkillPlugin } = await import("./skillMarketplace-DHXHFPKE.js");
|
|
2723
2721
|
const result = installSkillPlugin(plugin, {
|
|
2724
2722
|
scope,
|
|
2725
2723
|
force: options.force === true
|
|
@@ -2746,9 +2744,9 @@ ${skillList}`);
|
|
|
2746
2744
|
);
|
|
2747
2745
|
process.exit(1);
|
|
2748
2746
|
}
|
|
2749
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2747
|
+
const { setCwd: setCwd2 } = await import("./state-IXZXJMUN.js");
|
|
2750
2748
|
await setCwd2(options.cwd ?? cwd());
|
|
2751
|
-
const { uninstallSkillPlugin } = await import("./skillMarketplace-
|
|
2749
|
+
const { uninstallSkillPlugin } = await import("./skillMarketplace-DHXHFPKE.js");
|
|
2752
2750
|
const result = uninstallSkillPlugin(plugin, { scope });
|
|
2753
2751
|
const skillList = result.removedSkills.length > 0 ? `Skills: ${result.removedSkills.join(", ")}` : "Skills: (none)";
|
|
2754
2752
|
console.log(`Uninstalled ${result.pluginSpec}
|
|
@@ -2772,9 +2770,9 @@ ${skillList}`);
|
|
|
2772
2770
|
);
|
|
2773
2771
|
process.exit(1);
|
|
2774
2772
|
}
|
|
2775
|
-
const { setCwd: setCwd2, getCwd: getCwd2 } = await import("./state-
|
|
2773
|
+
const { setCwd: setCwd2, getCwd: getCwd2 } = await import("./state-IXZXJMUN.js");
|
|
2776
2774
|
await setCwd2(options.cwd ?? cwd());
|
|
2777
|
-
const { listInstalledSkillPlugins } = await import("./skillMarketplace-
|
|
2775
|
+
const { listInstalledSkillPlugins } = await import("./skillMarketplace-DHXHFPKE.js");
|
|
2778
2776
|
const all = listInstalledSkillPlugins();
|
|
2779
2777
|
const filtered = Object.fromEntries(
|
|
2780
2778
|
Object.entries(all).filter(([, record]) => {
|
|
@@ -2818,9 +2816,9 @@ ${skillList}`);
|
|
|
2818
2816
|
);
|
|
2819
2817
|
process.exit(1);
|
|
2820
2818
|
}
|
|
2821
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2819
|
+
const { setCwd: setCwd2 } = await import("./state-IXZXJMUN.js");
|
|
2822
2820
|
await setCwd2(options.cwd ?? cwd());
|
|
2823
|
-
const { enableSkillPlugin } = await import("./skillMarketplace-
|
|
2821
|
+
const { enableSkillPlugin } = await import("./skillMarketplace-DHXHFPKE.js");
|
|
2824
2822
|
const result = enableSkillPlugin(plugin, { scope });
|
|
2825
2823
|
console.log(`Enabled ${result.pluginSpec}`);
|
|
2826
2824
|
process.exit(0);
|
|
@@ -2842,9 +2840,9 @@ ${skillList}`);
|
|
|
2842
2840
|
);
|
|
2843
2841
|
process.exit(1);
|
|
2844
2842
|
}
|
|
2845
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2843
|
+
const { setCwd: setCwd2 } = await import("./state-IXZXJMUN.js");
|
|
2846
2844
|
await setCwd2(options.cwd ?? cwd());
|
|
2847
|
-
const { disableSkillPlugin } = await import("./skillMarketplace-
|
|
2845
|
+
const { disableSkillPlugin } = await import("./skillMarketplace-DHXHFPKE.js");
|
|
2848
2846
|
const result = disableSkillPlugin(plugin, { scope });
|
|
2849
2847
|
console.log(`Disabled ${result.pluginSpec}`);
|
|
2850
2848
|
process.exit(0);
|
|
@@ -2855,9 +2853,9 @@ ${skillList}`);
|
|
|
2855
2853
|
});
|
|
2856
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) => {
|
|
2857
2855
|
try {
|
|
2858
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2856
|
+
const { setCwd: setCwd2 } = await import("./state-IXZXJMUN.js");
|
|
2859
2857
|
await setCwd2(options.cwd ?? cwd());
|
|
2860
|
-
const { formatValidationResult, validatePluginOrMarketplacePath } = await import("./pluginValidation-
|
|
2858
|
+
const { formatValidationResult, validatePluginOrMarketplacePath } = await import("./pluginValidation-HSPGXLLH.js");
|
|
2861
2859
|
const result = validatePluginOrMarketplacePath(path);
|
|
2862
2860
|
console.log(
|
|
2863
2861
|
`Validating ${result.fileType} manifest: ${result.filePath}
|
|
@@ -2879,9 +2877,9 @@ ${skillList}`);
|
|
|
2879
2877
|
registerMarketplaceCommands(marketplaceCmd);
|
|
2880
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) => {
|
|
2881
2879
|
try {
|
|
2882
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2880
|
+
const { setCwd: setCwd2 } = await import("./state-IXZXJMUN.js");
|
|
2883
2881
|
await setCwd2(options.cwd ?? cwd());
|
|
2884
|
-
const { installSkillPlugin } = await import("./skillMarketplace-
|
|
2882
|
+
const { installSkillPlugin } = await import("./skillMarketplace-DHXHFPKE.js");
|
|
2885
2883
|
const result = installSkillPlugin(plugin, {
|
|
2886
2884
|
project: options.project === true,
|
|
2887
2885
|
force: options.force === true
|
|
@@ -2897,9 +2895,9 @@ ${skillList}`);
|
|
|
2897
2895
|
});
|
|
2898
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) => {
|
|
2899
2897
|
try {
|
|
2900
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2898
|
+
const { setCwd: setCwd2 } = await import("./state-IXZXJMUN.js");
|
|
2901
2899
|
await setCwd2(options.cwd ?? cwd());
|
|
2902
|
-
const { uninstallSkillPlugin } = await import("./skillMarketplace-
|
|
2900
|
+
const { uninstallSkillPlugin } = await import("./skillMarketplace-DHXHFPKE.js");
|
|
2903
2901
|
const result = uninstallSkillPlugin(plugin, {
|
|
2904
2902
|
project: options.project === true
|
|
2905
2903
|
});
|
|
@@ -2914,7 +2912,7 @@ ${skillList}`);
|
|
|
2914
2912
|
});
|
|
2915
2913
|
skillsCmd.command("list-installed").description("List installed skill plugins").action(async () => {
|
|
2916
2914
|
try {
|
|
2917
|
-
const { listInstalledSkillPlugins } = await import("./skillMarketplace-
|
|
2915
|
+
const { listInstalledSkillPlugins } = await import("./skillMarketplace-DHXHFPKE.js");
|
|
2918
2916
|
console.log(JSON.stringify(listInstalledSkillPlugins(), null, 2));
|
|
2919
2917
|
process.exit(0);
|
|
2920
2918
|
} catch (error) {
|
|
@@ -3560,7 +3558,7 @@ ${skillList}`);
|
|
|
3560
3558
|
const ink = await import("ink");
|
|
3561
3559
|
const reactModule = await import("react");
|
|
3562
3560
|
const inkjsui = await import("@inkjs/ui");
|
|
3563
|
-
const utilsTheme = await import("./theme-
|
|
3561
|
+
const utilsTheme = await import("./theme-UCADMAGV.js");
|
|
3564
3562
|
const { render: render3 } = ink;
|
|
3565
3563
|
const React11 = reactModule;
|
|
3566
3564
|
const { MultiSelect: MultiSelect2 } = inkjsui;
|
|
@@ -3703,8 +3701,8 @@ ${skillList}`);
|
|
|
3703
3701
|
const commandOptions = getCommandOptions(options);
|
|
3704
3702
|
const workingDir = resolveWorkingDir(commandOptions, program);
|
|
3705
3703
|
await setup(workingDir, false);
|
|
3706
|
-
const { getAbsolutePath } = await import("./file-
|
|
3707
|
-
const { LspFacade } = await import("./lsp-
|
|
3704
|
+
const { getAbsolutePath } = await import("./file-O62EYAT7.js");
|
|
3705
|
+
const { LspFacade } = await import("./lsp-5ONJTJJN.js");
|
|
3708
3706
|
const { existsSync: existsSync2 } = await import("fs");
|
|
3709
3707
|
const absPath = getAbsolutePath(file) ?? file;
|
|
3710
3708
|
if (!existsSync2(absPath)) {
|
|
@@ -3735,7 +3733,7 @@ ${skillList}`);
|
|
|
3735
3733
|
try {
|
|
3736
3734
|
const workingDir = resolveWorkingDir(options, program);
|
|
3737
3735
|
await setup(workingDir, false);
|
|
3738
|
-
const { LspFacade } = await import("./lsp-
|
|
3736
|
+
const { LspFacade } = await import("./lsp-5ONJTJJN.js");
|
|
3739
3737
|
const result = await LspFacade.run({
|
|
3740
3738
|
operation: "workspaceSymbol",
|
|
3741
3739
|
filePath: query,
|
|
@@ -3752,8 +3750,8 @@ ${skillList}`);
|
|
|
3752
3750
|
try {
|
|
3753
3751
|
const workingDir = resolveWorkingDir(options, program);
|
|
3754
3752
|
await setup(workingDir, false);
|
|
3755
|
-
const { getAbsolutePath } = await import("./file-
|
|
3756
|
-
const { LspFacade } = await import("./lsp-
|
|
3753
|
+
const { getAbsolutePath } = await import("./file-O62EYAT7.js");
|
|
3754
|
+
const { LspFacade } = await import("./lsp-5ONJTJJN.js");
|
|
3757
3755
|
const { existsSync: existsSync2 } = await import("fs");
|
|
3758
3756
|
const absPath = getAbsolutePath(file) ?? file;
|
|
3759
3757
|
if (!existsSync2(absPath)) {
|
|
@@ -3776,7 +3774,7 @@ ${skillList}`);
|
|
|
3776
3774
|
try {
|
|
3777
3775
|
const workingDir = resolveWorkingDir(options, program);
|
|
3778
3776
|
await setup(workingDir, false);
|
|
3779
|
-
const { LspFacade } = await import("./lsp-
|
|
3777
|
+
const { LspFacade } = await import("./lsp-5ONJTJJN.js");
|
|
3780
3778
|
const status = LspFacade.status();
|
|
3781
3779
|
console.log(JSON.stringify(status, null, 2));
|
|
3782
3780
|
process.exit(0);
|
|
@@ -3790,7 +3788,7 @@ ${skillList}`);
|
|
|
3790
3788
|
const commandOptions = getCommandOptions(options);
|
|
3791
3789
|
const workingDir = resolveWorkingDir(commandOptions, program);
|
|
3792
3790
|
await setup(workingDir, false);
|
|
3793
|
-
const { LspFacade } = await import("./lsp-
|
|
3791
|
+
const { LspFacade } = await import("./lsp-5ONJTJJN.js");
|
|
3794
3792
|
const host = typeof commandOptions?.host === "string" && commandOptions.host.length > 0 ? commandOptions.host : "127.0.0.1";
|
|
3795
3793
|
const port = typeof commandOptions?.port === "number" && !Number.isNaN(commandOptions.port) ? commandOptions.port : 7337;
|
|
3796
3794
|
const server = LspFacade.serveStatus({ host, port });
|
|
@@ -3816,7 +3814,7 @@ ${skillList}`);
|
|
|
3816
3814
|
program.command("update").description("Show manual upgrade commands (no auto-install)").action(async () => {
|
|
3817
3815
|
console.log(`Current version: ${MACRO.VERSION}`);
|
|
3818
3816
|
console.log("Checking for updates...");
|
|
3819
|
-
const { getLatestVersion, getUpdateCommandSuggestions } = await import("./autoUpdater-
|
|
3817
|
+
const { getLatestVersion, getUpdateCommandSuggestions } = await import("./autoUpdater-TRX4I3EQ.js");
|
|
3820
3818
|
const latestVersion = await getLatestVersion();
|
|
3821
3819
|
if (!latestVersion) {
|
|
3822
3820
|
console.error("Failed to check for updates");
|
|
@@ -3871,8 +3869,8 @@ ${skillList}`);
|
|
|
3871
3869
|
await setup(cwd2, safe);
|
|
3872
3870
|
assertMinVersion();
|
|
3873
3871
|
const [{ getTools }, { getCommands }] = await Promise.all([
|
|
3874
|
-
import("./tools-
|
|
3875
|
-
import("./commands-
|
|
3872
|
+
import("./tools-JUIOFBYE.js"),
|
|
3873
|
+
import("./commands-JNH2NX6O.js")
|
|
3876
3874
|
]);
|
|
3877
3875
|
const [allTools, commands, mcpClients] = await Promise.all([
|
|
3878
3876
|
getTools(
|
|
@@ -3883,8 +3881,8 @@ ${skillList}`);
|
|
|
3883
3881
|
]);
|
|
3884
3882
|
const tools = disableSlashCommands === true ? allTools.filter((t) => t.name !== "SlashCommand") : allTools;
|
|
3885
3883
|
if (identifier !== void 0) {
|
|
3886
|
-
const { loadPybAgentSessionMessages } = await import("./pybAgentSessionLoad-
|
|
3887
|
-
const { listPybAgentSessions, resolvePybResumeSessionIdentifier } = await import("./pybAgentSessionResume-
|
|
3884
|
+
const { loadPybAgentSessionMessages } = await import("./pybAgentSessionLoad-QCS5BPKE.js");
|
|
3885
|
+
const { listPybAgentSessions, resolvePybResumeSessionIdentifier } = await import("./pybAgentSessionResume-BHKVFNEB.js");
|
|
3888
3886
|
const { setPybAgentSessionId } = await import("./pybAgentSessionId-EPCAMQ25.js");
|
|
3889
3887
|
const rawIdentifier = String(identifier).trim();
|
|
3890
3888
|
const isLegacyNumber = /^-?\\d+$/.test(rawIdentifier);
|
|
@@ -3954,7 +3952,7 @@ ${skillList}`);
|
|
|
3954
3952
|
const isDefaultModel = await isDefaultSlowAndCapableModel();
|
|
3955
3953
|
{
|
|
3956
3954
|
const { render: render3 } = await import("ink");
|
|
3957
|
-
const { REPL } = await import("./REPL-
|
|
3955
|
+
const { REPL } = await import("./REPL-PLFZAGYW.js");
|
|
3958
3956
|
render3(
|
|
3959
3957
|
/* @__PURE__ */ React10.createElement(
|
|
3960
3958
|
REPL,
|
|
@@ -3981,7 +3979,7 @@ ${skillList}`);
|
|
|
3981
3979
|
process.exit(1);
|
|
3982
3980
|
}
|
|
3983
3981
|
} else {
|
|
3984
|
-
const { listPybAgentSessions } = await import("./pybAgentSessionResume-
|
|
3982
|
+
const { listPybAgentSessions } = await import("./pybAgentSessionResume-BHKVFNEB.js");
|
|
3985
3983
|
const sessions = listPybAgentSessions({ cwd: cwd2 });
|
|
3986
3984
|
if (sessions.length === 0) {
|
|
3987
3985
|
console.error("No conversation found to resume");
|
|
@@ -4086,7 +4084,7 @@ async function gracefulExit(code = 0) {
|
|
|
4086
4084
|
}
|
|
4087
4085
|
isGracefulExitInProgress = true;
|
|
4088
4086
|
try {
|
|
4089
|
-
const { runSessionEndHooks } = await import("./pybHooks-
|
|
4087
|
+
const { runSessionEndHooks } = await import("./pybHooks-FFZ274LI.js");
|
|
4090
4088
|
const { getPybAgentSessionId } = await import("./pybAgentSessionId-EPCAMQ25.js");
|
|
4091
4089
|
const { tmpdir } = await import("os");
|
|
4092
4090
|
const { join: join2 } = await import("path");
|