pybao-cli 1.5.19 → 1.5.21
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-64WF5V7K.js +50 -0
- package/dist/{acp-VADDAIVV.js → acp-VH2FWCMR.js} +31 -31
- package/dist/{agentsValidate-VDPY7LYN.js → agentsValidate-4E7AHAMS.js} +7 -7
- package/dist/{ask-4ZMUM73X.js → ask-R3YZ5B44.js} +30 -30
- package/dist/{autoUpdater-RIDDLHLH.js → autoUpdater-DCNAXD4F.js} +3 -3
- package/dist/{chunk-CGFEVSPI.js → chunk-25GZITCX.js} +3 -3
- package/dist/{chunk-2FDZ2PEI.js → chunk-2OOER4FR.js} +3 -3
- package/dist/{chunk-7SWRPT6M.js → chunk-3UWTN6DM.js} +3 -3
- package/dist/{chunk-VB3UZHV6.js → chunk-4ZGZTWMR.js} +4 -4
- package/dist/{chunk-YKSGF3T7.js → chunk-56IL2VXC.js} +1 -1
- package/dist/{chunk-TNOZ27TG.js → chunk-5VO2CFAL.js} +2 -2
- package/dist/{chunk-ZWB3VSTH.js → chunk-6UNYL6XK.js} +245 -50
- package/dist/{chunk-ZWB3VSTH.js.map → chunk-6UNYL6XK.js.map} +3 -3
- package/dist/{chunk-277JOCVZ.js → chunk-BED7SG2Q.js} +1 -1
- package/dist/{chunk-7I4S6UH7.js → chunk-BRSPPFSY.js} +1 -1
- package/dist/{chunk-L6J4MPRE.js → chunk-CPYDPN2J.js} +725 -73
- package/dist/{chunk-L6J4MPRE.js.map → chunk-CPYDPN2J.js.map} +2 -2
- package/dist/{chunk-PHBWXWFD.js → chunk-CSONCQLF.js} +2 -2
- package/dist/{chunk-KP7PMNEW.js → chunk-EP62LHB7.js} +1 -1
- package/dist/{chunk-M6CFQRHR.js → chunk-GIXE5FJ2.js} +1 -1
- package/dist/{chunk-KX7DKI3A.js → chunk-H2ZE5QDY.js} +4 -4
- package/dist/{chunk-M3AEV7WD.js → chunk-HA7FKBZI.js} +2 -2
- package/dist/{chunk-RUMV5QOU.js → chunk-KMCUZUZG.js} +3 -3
- package/dist/{chunk-JKTDFI2S.js → chunk-LRL3MYKR.js} +3 -3
- package/dist/{chunk-3JRH6I43.js → chunk-MMMMRMOG.js} +3 -3
- package/dist/{chunk-PXAQPDGS.js → chunk-N3T2WAYN.js} +1 -1
- package/dist/{chunk-IYGHQUN2.js → chunk-NRQHLVJJ.js} +2 -2
- package/dist/{chunk-CZZKRPE2.js → chunk-P5NTGZ5H.js} +1 -1
- package/dist/{chunk-CZZKRPE2.js.map → chunk-P5NTGZ5H.js.map} +1 -1
- package/dist/{chunk-7AJ4EUUJ.js → chunk-QE7PZPHW.js} +1 -1
- package/dist/{chunk-FYOORPZ4.js → chunk-RQ5X6LFM.js} +4 -4
- package/dist/{chunk-JR5WF5M6.js → chunk-SE7UGQCE.js} +2 -2
- package/dist/{chunk-LXJUYOGP.js → chunk-TBEA6BY3.js} +1 -1
- package/dist/{chunk-MRG76U66.js → chunk-TSAURYF2.js} +1 -1
- package/dist/{chunk-CEHSLEJ3.js → chunk-TXZ5UTGP.js} +1 -1
- package/dist/{chunk-CEHSLEJ3.js.map → chunk-TXZ5UTGP.js.map} +1 -1
- package/dist/{chunk-VSKWAGTO.js → chunk-VP5A6FKG.js} +1 -1
- package/dist/{chunk-PJ2XKKDM.js → chunk-VY5KEHU5.js} +3 -3
- package/dist/{chunk-JTRFDGES.js → chunk-X5LLT4P2.js} +1 -1
- package/dist/{chunk-KRBHZ2NW.js → chunk-XRLMQN3Q.js} +4 -4
- package/dist/{chunk-BPY6R2EU.js → chunk-YQ2RQUQF.js} +1 -1
- package/dist/{chunk-OMCKTGQ5.js → chunk-ZQR3MM2D.js} +17 -2
- package/dist/{chunk-OMCKTGQ5.js.map → chunk-ZQR3MM2D.js.map} +2 -2
- package/dist/{cli-AK6CYCFX.js → cli-RBMZQ5KF.js} +103 -92
- package/dist/cli-RBMZQ5KF.js.map +7 -0
- package/dist/commands-WPHK776A.js +54 -0
- package/dist/{config-FLSTRDUK.js → config-7TO5SQU5.js} +4 -4
- package/dist/{context-JQKLNDEK.js → context-LRA2DKJT.js} +6 -6
- package/dist/{conversationPersistence-RVLIJAVU.js → conversationPersistence-Z4QSI5NB.js} +3 -3
- package/dist/{conversationTracker-5HLVM6IU.js → conversationTracker-B3DMEHMA.js} +4 -4
- package/dist/{customCommands-J2RH24UE.js → customCommands-6JZ2VUO2.js} +4 -4
- package/dist/{env-PWLMV4WE.js → env-37ALKFXU.js} +2 -2
- package/dist/{file-LY2Z6EYX.js → file-7EOMBX72.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-RRAVQWE3.js → llm-3KQG5NEP.js} +31 -31
- package/dist/{llmLazy-LRW757BZ.js → llmLazy-ENEH3KAB.js} +1 -1
- package/dist/{loader-2LT2GMMI.js → loader-D6V3WFL6.js} +4 -4
- package/dist/{lsp-XVTWUOP7.js → lsp-CTPOMI7O.js} +6 -6
- package/dist/{lspAnchor-WIAD4UCJ.js → lspAnchor-PPPTHRQH.js} +6 -6
- package/dist/{mcp-NNXV4YW5.js → mcp-6M34WBA5.js} +7 -7
- package/dist/{mentionProcessor-YXD3BYZG.js → mentionProcessor-TS4SITI3.js} +5 -5
- package/dist/{messages-JJ6XSPH4.js → messages-BINU6SYX.js} +1 -1
- package/dist/{model-SHEZI5VH.js → model-6IW224UU.js} +5 -5
- package/dist/{openai-MAEDGVOM.js → openai-O6CGVMYK.js} +5 -5
- package/dist/{outputStyles-Y5T4PH3H.js → outputStyles-7PPMLSV6.js} +4 -4
- package/dist/{pluginRuntime-EA5NXHW2.js → pluginRuntime-RU5STQ6F.js} +6 -6
- package/dist/{pluginValidation-AA3RZDZQ.js → pluginValidation-JTJTB3TB.js} +6 -6
- package/dist/prompts-CAPCICF3.js +56 -0
- package/dist/{pybAgentSessionLoad-DKPYB2WI.js → pybAgentSessionLoad-ZXQAHTQS.js} +4 -4
- package/dist/{pybAgentSessionResume-QBNQXHZX.js → pybAgentSessionResume-R73KFN3V.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-5PBYWXYX.js → pybAgentStreamJsonSession-N4SMTC64.js} +1 -1
- package/dist/{pybHooks-66OQ6DF7.js → pybHooks-NGJ5OFAI.js} +4 -4
- package/dist/query-CYTIVMQ6.js +54 -0
- package/dist/{registry-3YQQGXL6.js → registry-FKY6JQ3L.js} +5 -5
- package/dist/{ripgrep-ZHLMP6TJ.js → ripgrep-O7MOW25M.js} +3 -3
- package/dist/{skillMarketplace-TXDXKVDH.js → skillMarketplace-VK3AYR6Q.js} +3 -3
- package/dist/{state-YDKD6B6T.js → state-T57IG35V.js} +2 -2
- package/dist/{theme-WSG2IX32.js → theme-ZEFQIPVH.js} +5 -5
- package/dist/{toolPermissionSettings-26CM7QG5.js → toolPermissionSettings-ERNXVP7A.js} +6 -6
- package/dist/tools-2XLLIKZM.js +55 -0
- package/dist/{userInput-BFWEIUZE.js → userInput-JBAUBHGI.js} +33 -33
- package/package.json +1 -1
- package/dist/REPL-GNHAV3LL.js +0 -50
- package/dist/cli-AK6CYCFX.js.map +0 -7
- package/dist/commands-5WWNVLIZ.js +0 -54
- package/dist/prompts-PMRRQP3L.js +0 -56
- package/dist/query-RHLO6AS2.js +0 -54
- package/dist/tools-4HKXD3DV.js +0 -55
- /package/dist/{REPL-GNHAV3LL.js.map → REPL-64WF5V7K.js.map} +0 -0
- /package/dist/{acp-VADDAIVV.js.map → acp-VH2FWCMR.js.map} +0 -0
- /package/dist/{agentsValidate-VDPY7LYN.js.map → agentsValidate-4E7AHAMS.js.map} +0 -0
- /package/dist/{ask-4ZMUM73X.js.map → ask-R3YZ5B44.js.map} +0 -0
- /package/dist/{autoUpdater-RIDDLHLH.js.map → autoUpdater-DCNAXD4F.js.map} +0 -0
- /package/dist/{chunk-CGFEVSPI.js.map → chunk-25GZITCX.js.map} +0 -0
- /package/dist/{chunk-2FDZ2PEI.js.map → chunk-2OOER4FR.js.map} +0 -0
- /package/dist/{chunk-7SWRPT6M.js.map → chunk-3UWTN6DM.js.map} +0 -0
- /package/dist/{chunk-VB3UZHV6.js.map → chunk-4ZGZTWMR.js.map} +0 -0
- /package/dist/{chunk-YKSGF3T7.js.map → chunk-56IL2VXC.js.map} +0 -0
- /package/dist/{chunk-TNOZ27TG.js.map → chunk-5VO2CFAL.js.map} +0 -0
- /package/dist/{chunk-277JOCVZ.js.map → chunk-BED7SG2Q.js.map} +0 -0
- /package/dist/{chunk-7I4S6UH7.js.map → chunk-BRSPPFSY.js.map} +0 -0
- /package/dist/{chunk-PHBWXWFD.js.map → chunk-CSONCQLF.js.map} +0 -0
- /package/dist/{chunk-KP7PMNEW.js.map → chunk-EP62LHB7.js.map} +0 -0
- /package/dist/{chunk-M6CFQRHR.js.map → chunk-GIXE5FJ2.js.map} +0 -0
- /package/dist/{chunk-KX7DKI3A.js.map → chunk-H2ZE5QDY.js.map} +0 -0
- /package/dist/{chunk-M3AEV7WD.js.map → chunk-HA7FKBZI.js.map} +0 -0
- /package/dist/{chunk-RUMV5QOU.js.map → chunk-KMCUZUZG.js.map} +0 -0
- /package/dist/{chunk-JKTDFI2S.js.map → chunk-LRL3MYKR.js.map} +0 -0
- /package/dist/{chunk-3JRH6I43.js.map → chunk-MMMMRMOG.js.map} +0 -0
- /package/dist/{chunk-PXAQPDGS.js.map → chunk-N3T2WAYN.js.map} +0 -0
- /package/dist/{chunk-IYGHQUN2.js.map → chunk-NRQHLVJJ.js.map} +0 -0
- /package/dist/{chunk-7AJ4EUUJ.js.map → chunk-QE7PZPHW.js.map} +0 -0
- /package/dist/{chunk-FYOORPZ4.js.map → chunk-RQ5X6LFM.js.map} +0 -0
- /package/dist/{chunk-JR5WF5M6.js.map → chunk-SE7UGQCE.js.map} +0 -0
- /package/dist/{chunk-LXJUYOGP.js.map → chunk-TBEA6BY3.js.map} +0 -0
- /package/dist/{chunk-MRG76U66.js.map → chunk-TSAURYF2.js.map} +0 -0
- /package/dist/{chunk-VSKWAGTO.js.map → chunk-VP5A6FKG.js.map} +0 -0
- /package/dist/{chunk-PJ2XKKDM.js.map → chunk-VY5KEHU5.js.map} +0 -0
- /package/dist/{chunk-JTRFDGES.js.map → chunk-X5LLT4P2.js.map} +0 -0
- /package/dist/{chunk-KRBHZ2NW.js.map → chunk-XRLMQN3Q.js.map} +0 -0
- /package/dist/{chunk-BPY6R2EU.js.map → chunk-YQ2RQUQF.js.map} +0 -0
- /package/dist/{commands-5WWNVLIZ.js.map → commands-WPHK776A.js.map} +0 -0
- /package/dist/{config-FLSTRDUK.js.map → config-7TO5SQU5.js.map} +0 -0
- /package/dist/{context-JQKLNDEK.js.map → context-LRA2DKJT.js.map} +0 -0
- /package/dist/{conversationPersistence-RVLIJAVU.js.map → conversationPersistence-Z4QSI5NB.js.map} +0 -0
- /package/dist/{conversationTracker-5HLVM6IU.js.map → conversationTracker-B3DMEHMA.js.map} +0 -0
- /package/dist/{customCommands-J2RH24UE.js.map → customCommands-6JZ2VUO2.js.map} +0 -0
- /package/dist/{env-PWLMV4WE.js.map → env-37ALKFXU.js.map} +0 -0
- /package/dist/{file-LY2Z6EYX.js.map → file-7EOMBX72.js.map} +0 -0
- /package/dist/{llm-RRAVQWE3.js.map → llm-3KQG5NEP.js.map} +0 -0
- /package/dist/{llmLazy-LRW757BZ.js.map → llmLazy-ENEH3KAB.js.map} +0 -0
- /package/dist/{loader-2LT2GMMI.js.map → loader-D6V3WFL6.js.map} +0 -0
- /package/dist/{lsp-XVTWUOP7.js.map → lsp-CTPOMI7O.js.map} +0 -0
- /package/dist/{lspAnchor-WIAD4UCJ.js.map → lspAnchor-PPPTHRQH.js.map} +0 -0
- /package/dist/{mcp-NNXV4YW5.js.map → mcp-6M34WBA5.js.map} +0 -0
- /package/dist/{mentionProcessor-YXD3BYZG.js.map → mentionProcessor-TS4SITI3.js.map} +0 -0
- /package/dist/{messages-JJ6XSPH4.js.map → messages-BINU6SYX.js.map} +0 -0
- /package/dist/{model-SHEZI5VH.js.map → model-6IW224UU.js.map} +0 -0
- /package/dist/{openai-MAEDGVOM.js.map → openai-O6CGVMYK.js.map} +0 -0
- /package/dist/{outputStyles-Y5T4PH3H.js.map → outputStyles-7PPMLSV6.js.map} +0 -0
- /package/dist/{pluginRuntime-EA5NXHW2.js.map → pluginRuntime-RU5STQ6F.js.map} +0 -0
- /package/dist/{pluginValidation-AA3RZDZQ.js.map → pluginValidation-JTJTB3TB.js.map} +0 -0
- /package/dist/{prompts-PMRRQP3L.js.map → prompts-CAPCICF3.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-DKPYB2WI.js.map → pybAgentSessionLoad-ZXQAHTQS.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-QBNQXHZX.js.map → pybAgentSessionResume-R73KFN3V.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-5PBYWXYX.js.map → pybAgentStreamJsonSession-N4SMTC64.js.map} +0 -0
- /package/dist/{pybHooks-66OQ6DF7.js.map → pybHooks-NGJ5OFAI.js.map} +0 -0
- /package/dist/{query-RHLO6AS2.js.map → query-CYTIVMQ6.js.map} +0 -0
- /package/dist/{registry-3YQQGXL6.js.map → registry-FKY6JQ3L.js.map} +0 -0
- /package/dist/{ripgrep-ZHLMP6TJ.js.map → ripgrep-O7MOW25M.js.map} +0 -0
- /package/dist/{skillMarketplace-TXDXKVDH.js.map → skillMarketplace-VK3AYR6Q.js.map} +0 -0
- /package/dist/{state-YDKD6B6T.js.map → state-T57IG35V.js.map} +0 -0
- /package/dist/{theme-WSG2IX32.js.map → theme-ZEFQIPVH.js.map} +0 -0
- /package/dist/{toolPermissionSettings-26CM7QG5.js.map → toolPermissionSettings-ERNXVP7A.js.map} +0 -0
- /package/dist/{tools-4HKXD3DV.js.map → tools-2XLLIKZM.js.map} +0 -0
- /package/dist/{userInput-BFWEIUZE.js.map → userInput-JBAUBHGI.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
3
3
|
const require = __pybCreateRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
assertMinVersion
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VY5KEHU5.js";
|
|
7
7
|
import {
|
|
8
8
|
ensurePackagedRuntimeEnv,
|
|
9
9
|
ensureYogaWasmPath
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
getAllTools,
|
|
13
13
|
toTaskDetail,
|
|
14
14
|
toTaskListItem
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CPYDPN2J.js";
|
|
16
16
|
import {
|
|
17
17
|
PybAgentStructuredStdio
|
|
18
18
|
} from "./chunk-5AGDLQAW.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-BKCAVW2G.js";
|
|
22
22
|
import {
|
|
23
23
|
lastX
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-P5NTGZ5H.js";
|
|
25
25
|
import {
|
|
26
26
|
Doctor,
|
|
27
27
|
Onboarding,
|
|
@@ -32,6 +32,7 @@ import {
|
|
|
32
32
|
clearTerminal,
|
|
33
33
|
createConversationTrackerPersistenceTelemetryEmitter,
|
|
34
34
|
getTask,
|
|
35
|
+
getTaskActiveUnlockGateStatus,
|
|
35
36
|
getTaskListPaths,
|
|
36
37
|
grantReadPermissionForOriginalDir,
|
|
37
38
|
hasPermissionsToUseTool,
|
|
@@ -40,24 +41,24 @@ import {
|
|
|
40
41
|
review_default,
|
|
41
42
|
useExitOnCtrlCD,
|
|
42
43
|
useTerminalSize
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
44
|
+
} from "./chunk-6UNYL6XK.js";
|
|
45
|
+
import "./chunk-N3T2WAYN.js";
|
|
46
|
+
import "./chunk-BRSPPFSY.js";
|
|
47
|
+
import "./chunk-TSAURYF2.js";
|
|
48
|
+
import "./chunk-LRL3MYKR.js";
|
|
49
|
+
import "./chunk-GIXE5FJ2.js";
|
|
50
|
+
import "./chunk-EP62LHB7.js";
|
|
50
51
|
import {
|
|
51
52
|
beginReplSessionScope
|
|
52
53
|
} from "./chunk-F4AXICO7.js";
|
|
53
54
|
import "./chunk-5P7HBXTD.js";
|
|
54
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-2OOER4FR.js";
|
|
55
56
|
import {
|
|
56
57
|
clearOutputStyleCache
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import "./chunk-
|
|
58
|
+
} from "./chunk-SE7UGQCE.js";
|
|
59
|
+
import "./chunk-CSONCQLF.js";
|
|
59
60
|
import "./chunk-XKYHFZEC.js";
|
|
60
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-4ZGZTWMR.js";
|
|
61
62
|
import {
|
|
62
63
|
addMcpServer,
|
|
63
64
|
ensureConfigScope,
|
|
@@ -72,43 +73,43 @@ import {
|
|
|
72
73
|
parseEnvVars,
|
|
73
74
|
parseMcpHeaders,
|
|
74
75
|
removeMcpServer
|
|
75
|
-
} from "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
76
|
+
} from "./chunk-H2ZE5QDY.js";
|
|
77
|
+
import "./chunk-QE7PZPHW.js";
|
|
78
|
+
import "./chunk-KMCUZUZG.js";
|
|
78
79
|
import "./chunk-UNNVICVU.js";
|
|
79
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-ZQR3MM2D.js";
|
|
80
81
|
import {
|
|
81
82
|
clearAgentCache,
|
|
82
83
|
setFlagAgentsFromCliJson
|
|
83
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-NRQHLVJJ.js";
|
|
84
85
|
import {
|
|
85
86
|
setEnabledSettingSourcesFromCli
|
|
86
87
|
} from "./chunk-A3BVXXA3.js";
|
|
87
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-YQ2RQUQF.js";
|
|
88
89
|
import "./chunk-3DFBSQIT.js";
|
|
89
90
|
import "./chunk-B6IMQJZM.js";
|
|
90
91
|
import "./chunk-OUXHGDLH.js";
|
|
91
|
-
import "./chunk-
|
|
92
|
+
import "./chunk-HA7FKBZI.js";
|
|
92
93
|
import "./chunk-QWIBSCDN.js";
|
|
93
|
-
import "./chunk-
|
|
94
|
-
import "./chunk-
|
|
95
|
-
import "./chunk-
|
|
94
|
+
import "./chunk-XRLMQN3Q.js";
|
|
95
|
+
import "./chunk-MMMMRMOG.js";
|
|
96
|
+
import "./chunk-X5LLT4P2.js";
|
|
96
97
|
import "./chunk-UZ34JEUK.js";
|
|
97
|
-
import "./chunk-
|
|
98
|
+
import "./chunk-5VO2CFAL.js";
|
|
98
99
|
import "./chunk-BJSWTHRM.js";
|
|
99
100
|
import {
|
|
100
101
|
getModelManager,
|
|
101
102
|
isDefaultSlowAndCapableModel
|
|
102
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-25GZITCX.js";
|
|
103
104
|
import {
|
|
104
105
|
getContext,
|
|
105
106
|
removeContext,
|
|
106
107
|
setContext
|
|
107
|
-
} from "./chunk-
|
|
108
|
-
import "./chunk-
|
|
108
|
+
} from "./chunk-RQ5X6LFM.js";
|
|
109
|
+
import "./chunk-BED7SG2Q.js";
|
|
109
110
|
import {
|
|
110
111
|
getTheme
|
|
111
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-56IL2VXC.js";
|
|
112
113
|
import {
|
|
113
114
|
checkHasTrustDialogAccepted,
|
|
114
115
|
deleteConfigForCLI,
|
|
@@ -122,14 +123,14 @@ import {
|
|
|
122
123
|
saveGlobalConfig,
|
|
123
124
|
setConfigForCLI,
|
|
124
125
|
validateAndRepairAllGPT5Profiles
|
|
125
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-3UWTN6DM.js";
|
|
126
127
|
import {
|
|
127
128
|
ConfigParseError
|
|
128
129
|
} from "./chunk-RQVLBMP7.js";
|
|
129
130
|
import {
|
|
130
131
|
debug,
|
|
131
132
|
initDebugLogger
|
|
132
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-TBEA6BY3.js";
|
|
133
134
|
import {
|
|
134
135
|
BunShell,
|
|
135
136
|
CACHE_PATHS,
|
|
@@ -146,10 +147,10 @@ import {
|
|
|
146
147
|
resolveXdgDataPath,
|
|
147
148
|
setCwd,
|
|
148
149
|
setOriginalCwd
|
|
149
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-VP5A6FKG.js";
|
|
150
151
|
import {
|
|
151
152
|
MACRO
|
|
152
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-TXZ5UTGP.js";
|
|
153
154
|
import "./chunk-I3J4JYES.js";
|
|
154
155
|
|
|
155
156
|
// src/entrypoints/cli/runCli.tsx
|
|
@@ -313,7 +314,7 @@ function createPrintModeControlRequestHandler(args) {
|
|
|
313
314
|
// src/entrypoints/cli/stdio/streamJsonSession.ts
|
|
314
315
|
async function runPrintModeStreamJsonSession(args) {
|
|
315
316
|
const { beginReplSessionScope: beginReplSessionScope2 } = await import("./replSessionBridge-EBXNFUAD.js");
|
|
316
|
-
const { runPybAgentStreamJsonSession } = await import("./pybAgentStreamJsonSession-
|
|
317
|
+
const { runPybAgentStreamJsonSession } = await import("./pybAgentStreamJsonSession-N4SMTC64.js");
|
|
317
318
|
const restoreSessionScope = beginReplSessionScope2(args.sessionId);
|
|
318
319
|
try {
|
|
319
320
|
await runPybAgentStreamJsonSession(args);
|
|
@@ -481,20 +482,20 @@ async function runPrintMode({
|
|
|
481
482
|
const {
|
|
482
483
|
createUserMessageFromText,
|
|
483
484
|
createUserMessageFromBlocks
|
|
484
|
-
} = await import("./messages-
|
|
485
|
-
const { ConversationTracker } = await import("./conversationTracker-
|
|
486
|
-
const { FileSystemConversationPersistence } = await import("./conversationPersistence-
|
|
487
|
-
const { getSystemPrompt } = await import("./prompts-
|
|
488
|
-
const { getContext: getContext2 } = await import("./context-
|
|
485
|
+
} = await import("./messages-BINU6SYX.js");
|
|
486
|
+
const { ConversationTracker } = await import("./conversationTracker-B3DMEHMA.js");
|
|
487
|
+
const { FileSystemConversationPersistence } = await import("./conversationPersistence-Z4QSI5NB.js");
|
|
488
|
+
const { getSystemPrompt } = await import("./prompts-CAPCICF3.js");
|
|
489
|
+
const { getContext: getContext2 } = await import("./context-LRA2DKJT.js");
|
|
489
490
|
const { getTotalCost } = await import("./costTracker-DJVFVAVZ.js");
|
|
490
|
-
const { query } = await import("./query-
|
|
491
|
+
const { query } = await import("./query-CYTIVMQ6.js");
|
|
491
492
|
const { getPybAgentSessionId } = await import("./pybAgentSessionId-EPCAMQ25.js");
|
|
492
493
|
const { pybMessageToSdkMessage, makeSdkInitMessage, makeSdkResultMessage } = await import("./pybAgentStreamJson-EQPO52B6.js");
|
|
493
494
|
const { PybAgentStructuredStdio: PybAgentStructuredStdio2 } = await import("./pybAgentStructuredStdio-ROCSOGNT.js");
|
|
494
495
|
const {
|
|
495
496
|
loadToolPermissionContextFromDisk,
|
|
496
497
|
persistToolPermissionUpdateToDisk
|
|
497
|
-
} = await import("./toolPermissionSettings-
|
|
498
|
+
} = await import("./toolPermissionSettings-ERNXVP7A.js");
|
|
498
499
|
const { applyToolPermissionContextUpdates } = await import("./toolPermissionContext-BSFV23IL.js");
|
|
499
500
|
const sessionIdForSdk = getPybAgentSessionId();
|
|
500
501
|
const trackerPersistenceMode = "required";
|
|
@@ -893,9 +894,9 @@ async function setup(cwd2, safeMode) {
|
|
|
893
894
|
grantReadPermissionForOriginalDir();
|
|
894
895
|
let agentLoader;
|
|
895
896
|
try {
|
|
896
|
-
agentLoader = await import("./loader-
|
|
897
|
+
agentLoader = await import("./loader-D6V3WFL6.js");
|
|
897
898
|
} catch {
|
|
898
|
-
agentLoader = await import("./loader-
|
|
899
|
+
agentLoader = await import("./loader-D6V3WFL6.js");
|
|
899
900
|
}
|
|
900
901
|
const { startAgentWatcher } = agentLoader;
|
|
901
902
|
await startAgentWatcher(() => {
|
|
@@ -2115,12 +2116,12 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2115
2116
|
assertMinVersion();
|
|
2116
2117
|
{
|
|
2117
2118
|
const requested = Array.isArray(pluginDir) && pluginDir.length > 0 ? pluginDir : [];
|
|
2118
|
-
const { listEnabledInstalledPluginPackRoots } = await import("./skillMarketplace-
|
|
2119
|
+
const { listEnabledInstalledPluginPackRoots } = await import("./skillMarketplace-VK3AYR6Q.js");
|
|
2119
2120
|
const installed = listEnabledInstalledPluginPackRoots();
|
|
2120
2121
|
const all = [...installed, ...requested].filter(Boolean);
|
|
2121
2122
|
const deduped = Array.from(new Set(all));
|
|
2122
2123
|
if (deduped.length > 0) {
|
|
2123
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
2124
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-RU5STQ6F.js");
|
|
2124
2125
|
const { errors } = await configureSessionPlugins({
|
|
2125
2126
|
pluginDirs: deduped
|
|
2126
2127
|
});
|
|
@@ -2130,9 +2131,9 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2130
2131
|
}
|
|
2131
2132
|
}
|
|
2132
2133
|
const [{ ask }, { getTools }, { getCommands }] = await Promise.all([
|
|
2133
|
-
import("./ask-
|
|
2134
|
-
import("./tools-
|
|
2135
|
-
import("./commands-
|
|
2134
|
+
import("./ask-R3YZ5B44.js"),
|
|
2135
|
+
import("./tools-2XLLIKZM.js"),
|
|
2136
|
+
import("./commands-WPHK776A.js")
|
|
2136
2137
|
]);
|
|
2137
2138
|
const commands = await getCommands();
|
|
2138
2139
|
const mcpClientsPromise = Array.isArray(mcpConfig) && mcpConfig.length > 0 || strictMcpConfig === true ? getClientsForCliMcpConfig({
|
|
@@ -2151,8 +2152,8 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2151
2152
|
const {
|
|
2152
2153
|
loadPybAgentSessionMessages,
|
|
2153
2154
|
findMostRecentPybAgentSessionId
|
|
2154
|
-
} = await import("./pybAgentSessionLoad-
|
|
2155
|
-
const { listPybAgentSessions, resolvePybResumeSessionIdentifier } = await import("./pybAgentSessionResume-
|
|
2155
|
+
} = await import("./pybAgentSessionLoad-ZXQAHTQS.js");
|
|
2156
|
+
const { listPybAgentSessions, resolvePybResumeSessionIdentifier } = await import("./pybAgentSessionResume-R73KFN3V.js");
|
|
2156
2157
|
const { isUuid } = await import("./uuid-CVHEFGW4.js");
|
|
2157
2158
|
const { setPybAgentSessionId, getPybAgentSessionId } = await import("./pybAgentSessionId-EPCAMQ25.js");
|
|
2158
2159
|
const { randomUUID } = await import("crypto");
|
|
@@ -2277,7 +2278,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2277
2278
|
{ getLatestVersion, getUpdateCommandSuggestions },
|
|
2278
2279
|
semverMod
|
|
2279
2280
|
] = await Promise.all([
|
|
2280
|
-
import("./autoUpdater-
|
|
2281
|
+
import("./autoUpdater-DCNAXD4F.js"),
|
|
2281
2282
|
import("semver")
|
|
2282
2283
|
]);
|
|
2283
2284
|
const semver = semverMod?.default ?? semverMod;
|
|
@@ -2338,7 +2339,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2338
2339
|
const isDefaultModel = await isDefaultSlowAndCapableModel();
|
|
2339
2340
|
{
|
|
2340
2341
|
const { render: render3 } = await import("ink");
|
|
2341
|
-
const { REPL } = await import("./REPL-
|
|
2342
|
+
const { REPL } = await import("./REPL-64WF5V7K.js");
|
|
2342
2343
|
render3(
|
|
2343
2344
|
/* @__PURE__ */ React10.createElement(
|
|
2344
2345
|
REPL,
|
|
@@ -2398,6 +2399,16 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2398
2399
|
process.exit(0);
|
|
2399
2400
|
});
|
|
2400
2401
|
const task = program.command("task").description("Task maintenance utilities");
|
|
2402
|
+
task.command("active-unlock-status").description("Show active unlock gate status, thresholds, and rollback instructions").action(async () => {
|
|
2403
|
+
try {
|
|
2404
|
+
const status = getTaskActiveUnlockGateStatus();
|
|
2405
|
+
console.log(JSON.stringify(status, null, 2));
|
|
2406
|
+
process.exit(0);
|
|
2407
|
+
} catch (error) {
|
|
2408
|
+
console.error(error.message);
|
|
2409
|
+
process.exit(1);
|
|
2410
|
+
}
|
|
2411
|
+
});
|
|
2401
2412
|
task.command("rebuild-blocks").description("Rebuild persisted blocks from blockedBy").option("--list-id <listId>", "Task list id").option("--cwd <cwd>", "The current working directory", String, cwd()).action(async (options) => {
|
|
2402
2413
|
try {
|
|
2403
2414
|
const commandOptions = getCommandOptions(options);
|
|
@@ -2506,7 +2517,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2506
2517
|
{ replace: !!replace }
|
|
2507
2518
|
);
|
|
2508
2519
|
saveGlobalConfig(nextConfig);
|
|
2509
|
-
await import("./model-
|
|
2520
|
+
await import("./model-6IW224UU.js").then(({ reloadModelManager }) => {
|
|
2510
2521
|
reloadModelManager();
|
|
2511
2522
|
});
|
|
2512
2523
|
if (warnings.length > 0) {
|
|
@@ -2525,7 +2536,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2525
2536
|
const workingDir = typeof options?.cwd === "string" ? options.cwd : typeof programCwd === "string" ? programCwd : cwd();
|
|
2526
2537
|
const asJson = options?.json === true;
|
|
2527
2538
|
await setup(workingDir, false);
|
|
2528
|
-
const { reloadModelManager, getModelManager: getModelManager2 } = await import("./model-
|
|
2539
|
+
const { reloadModelManager, getModelManager: getModelManager2 } = await import("./model-6IW224UU.js");
|
|
2529
2540
|
reloadModelManager();
|
|
2530
2541
|
const manager = getModelManager2();
|
|
2531
2542
|
const config2 = getGlobalConfig();
|
|
@@ -2599,7 +2610,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2599
2610
|
try {
|
|
2600
2611
|
const workingDir = typeof options?.cwd === "string" ? options.cwd : cwd();
|
|
2601
2612
|
await setup(workingDir, false);
|
|
2602
|
-
const { validateAgentTemplates } = await import("./agentsValidate-
|
|
2613
|
+
const { validateAgentTemplates } = await import("./agentsValidate-4E7AHAMS.js");
|
|
2603
2614
|
const report = await validateAgentTemplates({
|
|
2604
2615
|
cwd: workingDir,
|
|
2605
2616
|
paths: Array.isArray(paths) ? paths : [],
|
|
@@ -2643,7 +2654,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2643
2654
|
const registerMarketplaceCommands = (marketplaceCmd2) => {
|
|
2644
2655
|
marketplaceCmd2.command("add <source>").description("Add a marketplace from a URL, path, or GitHub repo").action(async (source) => {
|
|
2645
2656
|
try {
|
|
2646
|
-
const { addMarketplace } = await import("./skillMarketplace-
|
|
2657
|
+
const { addMarketplace } = await import("./skillMarketplace-VK3AYR6Q.js");
|
|
2647
2658
|
console.log("Adding marketplace...");
|
|
2648
2659
|
const { name } = await addMarketplace(source);
|
|
2649
2660
|
console.log(`Successfully added marketplace: ${name}`);
|
|
@@ -2655,7 +2666,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2655
2666
|
});
|
|
2656
2667
|
marketplaceCmd2.command("list").description("List all configured marketplaces").option("--json", "Output as JSON").action(async (options) => {
|
|
2657
2668
|
try {
|
|
2658
|
-
const { listMarketplaces } = await import("./skillMarketplace-
|
|
2669
|
+
const { listMarketplaces } = await import("./skillMarketplace-VK3AYR6Q.js");
|
|
2659
2670
|
const marketplaces = listMarketplaces();
|
|
2660
2671
|
if (options.json) {
|
|
2661
2672
|
console.log(JSON.stringify(marketplaces, null, 2));
|
|
@@ -2694,7 +2705,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2694
2705
|
});
|
|
2695
2706
|
marketplaceCmd2.command("remove <name>").alias("rm").description("Remove a configured marketplace").action(async (name) => {
|
|
2696
2707
|
try {
|
|
2697
|
-
const { removeMarketplace } = await import("./skillMarketplace-
|
|
2708
|
+
const { removeMarketplace } = await import("./skillMarketplace-VK3AYR6Q.js");
|
|
2698
2709
|
removeMarketplace(name);
|
|
2699
2710
|
console.log(`Successfully removed marketplace: ${name}`);
|
|
2700
2711
|
process.exit(0);
|
|
@@ -2711,7 +2722,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2711
2722
|
listMarketplaces,
|
|
2712
2723
|
refreshAllMarketplacesAsync,
|
|
2713
2724
|
refreshMarketplaceAsync
|
|
2714
|
-
} = await import("./skillMarketplace-
|
|
2725
|
+
} = await import("./skillMarketplace-VK3AYR6Q.js");
|
|
2715
2726
|
const trimmed = typeof name === "string" ? name.trim() : "";
|
|
2716
2727
|
if (trimmed) {
|
|
2717
2728
|
console.log(`Updating marketplace: ${trimmed}...`);
|
|
@@ -2762,9 +2773,9 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2762
2773
|
);
|
|
2763
2774
|
process.exit(1);
|
|
2764
2775
|
}
|
|
2765
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2776
|
+
const { setCwd: setCwd2 } = await import("./state-T57IG35V.js");
|
|
2766
2777
|
await setCwd2(options.cwd ?? cwd());
|
|
2767
|
-
const { installSkillPlugin } = await import("./skillMarketplace-
|
|
2778
|
+
const { installSkillPlugin } = await import("./skillMarketplace-VK3AYR6Q.js");
|
|
2768
2779
|
const result = installSkillPlugin(plugin, {
|
|
2769
2780
|
scope,
|
|
2770
2781
|
force: options.force === true
|
|
@@ -2791,9 +2802,9 @@ ${skillList}`);
|
|
|
2791
2802
|
);
|
|
2792
2803
|
process.exit(1);
|
|
2793
2804
|
}
|
|
2794
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2805
|
+
const { setCwd: setCwd2 } = await import("./state-T57IG35V.js");
|
|
2795
2806
|
await setCwd2(options.cwd ?? cwd());
|
|
2796
|
-
const { uninstallSkillPlugin } = await import("./skillMarketplace-
|
|
2807
|
+
const { uninstallSkillPlugin } = await import("./skillMarketplace-VK3AYR6Q.js");
|
|
2797
2808
|
const result = uninstallSkillPlugin(plugin, { scope });
|
|
2798
2809
|
const skillList = result.removedSkills.length > 0 ? `Skills: ${result.removedSkills.join(", ")}` : "Skills: (none)";
|
|
2799
2810
|
console.log(`Uninstalled ${result.pluginSpec}
|
|
@@ -2817,9 +2828,9 @@ ${skillList}`);
|
|
|
2817
2828
|
);
|
|
2818
2829
|
process.exit(1);
|
|
2819
2830
|
}
|
|
2820
|
-
const { setCwd: setCwd2, getCwd: getCwd2 } = await import("./state-
|
|
2831
|
+
const { setCwd: setCwd2, getCwd: getCwd2 } = await import("./state-T57IG35V.js");
|
|
2821
2832
|
await setCwd2(options.cwd ?? cwd());
|
|
2822
|
-
const { listInstalledSkillPlugins } = await import("./skillMarketplace-
|
|
2833
|
+
const { listInstalledSkillPlugins } = await import("./skillMarketplace-VK3AYR6Q.js");
|
|
2823
2834
|
const all = listInstalledSkillPlugins();
|
|
2824
2835
|
const filtered = Object.fromEntries(
|
|
2825
2836
|
Object.entries(all).filter(([, record]) => {
|
|
@@ -2863,9 +2874,9 @@ ${skillList}`);
|
|
|
2863
2874
|
);
|
|
2864
2875
|
process.exit(1);
|
|
2865
2876
|
}
|
|
2866
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2877
|
+
const { setCwd: setCwd2 } = await import("./state-T57IG35V.js");
|
|
2867
2878
|
await setCwd2(options.cwd ?? cwd());
|
|
2868
|
-
const { enableSkillPlugin } = await import("./skillMarketplace-
|
|
2879
|
+
const { enableSkillPlugin } = await import("./skillMarketplace-VK3AYR6Q.js");
|
|
2869
2880
|
const result = enableSkillPlugin(plugin, { scope });
|
|
2870
2881
|
console.log(`Enabled ${result.pluginSpec}`);
|
|
2871
2882
|
process.exit(0);
|
|
@@ -2887,9 +2898,9 @@ ${skillList}`);
|
|
|
2887
2898
|
);
|
|
2888
2899
|
process.exit(1);
|
|
2889
2900
|
}
|
|
2890
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2901
|
+
const { setCwd: setCwd2 } = await import("./state-T57IG35V.js");
|
|
2891
2902
|
await setCwd2(options.cwd ?? cwd());
|
|
2892
|
-
const { disableSkillPlugin } = await import("./skillMarketplace-
|
|
2903
|
+
const { disableSkillPlugin } = await import("./skillMarketplace-VK3AYR6Q.js");
|
|
2893
2904
|
const result = disableSkillPlugin(plugin, { scope });
|
|
2894
2905
|
console.log(`Disabled ${result.pluginSpec}`);
|
|
2895
2906
|
process.exit(0);
|
|
@@ -2900,9 +2911,9 @@ ${skillList}`);
|
|
|
2900
2911
|
});
|
|
2901
2912
|
pluginCmd.command("validate <path>").description("Validate a plugin or marketplace manifest").option("--cwd <cwd>", "The current working directory", String, cwd()).action(async (path, options) => {
|
|
2902
2913
|
try {
|
|
2903
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2914
|
+
const { setCwd: setCwd2 } = await import("./state-T57IG35V.js");
|
|
2904
2915
|
await setCwd2(options.cwd ?? cwd());
|
|
2905
|
-
const { formatValidationResult, validatePluginOrMarketplacePath } = await import("./pluginValidation-
|
|
2916
|
+
const { formatValidationResult, validatePluginOrMarketplacePath } = await import("./pluginValidation-JTJTB3TB.js");
|
|
2906
2917
|
const result = validatePluginOrMarketplacePath(path);
|
|
2907
2918
|
console.log(
|
|
2908
2919
|
`Validating ${result.fileType} manifest: ${result.filePath}
|
|
@@ -2924,9 +2935,9 @@ ${skillList}`);
|
|
|
2924
2935
|
registerMarketplaceCommands(marketplaceCmd);
|
|
2925
2936
|
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) => {
|
|
2926
2937
|
try {
|
|
2927
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2938
|
+
const { setCwd: setCwd2 } = await import("./state-T57IG35V.js");
|
|
2928
2939
|
await setCwd2(options.cwd ?? cwd());
|
|
2929
|
-
const { installSkillPlugin } = await import("./skillMarketplace-
|
|
2940
|
+
const { installSkillPlugin } = await import("./skillMarketplace-VK3AYR6Q.js");
|
|
2930
2941
|
const result = installSkillPlugin(plugin, {
|
|
2931
2942
|
project: options.project === true,
|
|
2932
2943
|
force: options.force === true
|
|
@@ -2942,9 +2953,9 @@ ${skillList}`);
|
|
|
2942
2953
|
});
|
|
2943
2954
|
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) => {
|
|
2944
2955
|
try {
|
|
2945
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2956
|
+
const { setCwd: setCwd2 } = await import("./state-T57IG35V.js");
|
|
2946
2957
|
await setCwd2(options.cwd ?? cwd());
|
|
2947
|
-
const { uninstallSkillPlugin } = await import("./skillMarketplace-
|
|
2958
|
+
const { uninstallSkillPlugin } = await import("./skillMarketplace-VK3AYR6Q.js");
|
|
2948
2959
|
const result = uninstallSkillPlugin(plugin, {
|
|
2949
2960
|
project: options.project === true
|
|
2950
2961
|
});
|
|
@@ -2959,7 +2970,7 @@ ${skillList}`);
|
|
|
2959
2970
|
});
|
|
2960
2971
|
skillsCmd.command("list-installed").description("List installed skill plugins").action(async () => {
|
|
2961
2972
|
try {
|
|
2962
|
-
const { listInstalledSkillPlugins } = await import("./skillMarketplace-
|
|
2973
|
+
const { listInstalledSkillPlugins } = await import("./skillMarketplace-VK3AYR6Q.js");
|
|
2963
2974
|
console.log(JSON.stringify(listInstalledSkillPlugins(), null, 2));
|
|
2964
2975
|
process.exit(0);
|
|
2965
2976
|
} catch (error) {
|
|
@@ -3605,7 +3616,7 @@ ${skillList}`);
|
|
|
3605
3616
|
const ink = await import("ink");
|
|
3606
3617
|
const reactModule = await import("react");
|
|
3607
3618
|
const inkjsui = await import("@inkjs/ui");
|
|
3608
|
-
const utilsTheme = await import("./theme-
|
|
3619
|
+
const utilsTheme = await import("./theme-ZEFQIPVH.js");
|
|
3609
3620
|
const { render: render3 } = ink;
|
|
3610
3621
|
const React11 = reactModule;
|
|
3611
3622
|
const { MultiSelect: MultiSelect2 } = inkjsui;
|
|
@@ -3748,8 +3759,8 @@ ${skillList}`);
|
|
|
3748
3759
|
const commandOptions = getCommandOptions(options);
|
|
3749
3760
|
const workingDir = resolveWorkingDir(commandOptions, program);
|
|
3750
3761
|
await setup(workingDir, false);
|
|
3751
|
-
const { getAbsolutePath } = await import("./file-
|
|
3752
|
-
const { LspFacade } = await import("./lsp-
|
|
3762
|
+
const { getAbsolutePath } = await import("./file-7EOMBX72.js");
|
|
3763
|
+
const { LspFacade } = await import("./lsp-CTPOMI7O.js");
|
|
3753
3764
|
const { existsSync: existsSync2 } = await import("fs");
|
|
3754
3765
|
const absPath = getAbsolutePath(file) ?? file;
|
|
3755
3766
|
if (!existsSync2(absPath)) {
|
|
@@ -3780,7 +3791,7 @@ ${skillList}`);
|
|
|
3780
3791
|
try {
|
|
3781
3792
|
const workingDir = resolveWorkingDir(options, program);
|
|
3782
3793
|
await setup(workingDir, false);
|
|
3783
|
-
const { LspFacade } = await import("./lsp-
|
|
3794
|
+
const { LspFacade } = await import("./lsp-CTPOMI7O.js");
|
|
3784
3795
|
const result = await LspFacade.run({
|
|
3785
3796
|
operation: "workspaceSymbol",
|
|
3786
3797
|
filePath: query,
|
|
@@ -3797,8 +3808,8 @@ ${skillList}`);
|
|
|
3797
3808
|
try {
|
|
3798
3809
|
const workingDir = resolveWorkingDir(options, program);
|
|
3799
3810
|
await setup(workingDir, false);
|
|
3800
|
-
const { getAbsolutePath } = await import("./file-
|
|
3801
|
-
const { LspFacade } = await import("./lsp-
|
|
3811
|
+
const { getAbsolutePath } = await import("./file-7EOMBX72.js");
|
|
3812
|
+
const { LspFacade } = await import("./lsp-CTPOMI7O.js");
|
|
3802
3813
|
const { existsSync: existsSync2 } = await import("fs");
|
|
3803
3814
|
const absPath = getAbsolutePath(file) ?? file;
|
|
3804
3815
|
if (!existsSync2(absPath)) {
|
|
@@ -3821,7 +3832,7 @@ ${skillList}`);
|
|
|
3821
3832
|
try {
|
|
3822
3833
|
const workingDir = resolveWorkingDir(options, program);
|
|
3823
3834
|
await setup(workingDir, false);
|
|
3824
|
-
const { LspFacade } = await import("./lsp-
|
|
3835
|
+
const { LspFacade } = await import("./lsp-CTPOMI7O.js");
|
|
3825
3836
|
const status = LspFacade.status();
|
|
3826
3837
|
console.log(JSON.stringify(status, null, 2));
|
|
3827
3838
|
process.exit(0);
|
|
@@ -3835,7 +3846,7 @@ ${skillList}`);
|
|
|
3835
3846
|
const commandOptions = getCommandOptions(options);
|
|
3836
3847
|
const workingDir = resolveWorkingDir(commandOptions, program);
|
|
3837
3848
|
await setup(workingDir, false);
|
|
3838
|
-
const { LspFacade } = await import("./lsp-
|
|
3849
|
+
const { LspFacade } = await import("./lsp-CTPOMI7O.js");
|
|
3839
3850
|
const host = typeof commandOptions?.host === "string" && commandOptions.host.length > 0 ? commandOptions.host : "127.0.0.1";
|
|
3840
3851
|
const port = typeof commandOptions?.port === "number" && !Number.isNaN(commandOptions.port) ? commandOptions.port : 7337;
|
|
3841
3852
|
const server = LspFacade.serveStatus({ host, port });
|
|
@@ -3861,7 +3872,7 @@ ${skillList}`);
|
|
|
3861
3872
|
program.command("update").description("Show manual upgrade commands (no auto-install)").action(async () => {
|
|
3862
3873
|
console.log(`Current version: ${MACRO.VERSION}`);
|
|
3863
3874
|
console.log("Checking for updates...");
|
|
3864
|
-
const { getLatestVersion, getUpdateCommandSuggestions } = await import("./autoUpdater-
|
|
3875
|
+
const { getLatestVersion, getUpdateCommandSuggestions } = await import("./autoUpdater-DCNAXD4F.js");
|
|
3865
3876
|
const latestVersion = await getLatestVersion();
|
|
3866
3877
|
if (!latestVersion) {
|
|
3867
3878
|
console.error("Failed to check for updates");
|
|
@@ -3916,8 +3927,8 @@ ${skillList}`);
|
|
|
3916
3927
|
await setup(cwd2, safe);
|
|
3917
3928
|
assertMinVersion();
|
|
3918
3929
|
const [{ getTools }, { getCommands }] = await Promise.all([
|
|
3919
|
-
import("./tools-
|
|
3920
|
-
import("./commands-
|
|
3930
|
+
import("./tools-2XLLIKZM.js"),
|
|
3931
|
+
import("./commands-WPHK776A.js")
|
|
3921
3932
|
]);
|
|
3922
3933
|
const [allTools, commands, mcpClients] = await Promise.all([
|
|
3923
3934
|
getTools(
|
|
@@ -3928,8 +3939,8 @@ ${skillList}`);
|
|
|
3928
3939
|
]);
|
|
3929
3940
|
const tools = disableSlashCommands === true ? allTools.filter((t) => t.name !== "SlashCommand") : allTools;
|
|
3930
3941
|
if (identifier !== void 0) {
|
|
3931
|
-
const { loadPybAgentSessionMessages } = await import("./pybAgentSessionLoad-
|
|
3932
|
-
const { listPybAgentSessions, resolvePybResumeSessionIdentifier } = await import("./pybAgentSessionResume-
|
|
3942
|
+
const { loadPybAgentSessionMessages } = await import("./pybAgentSessionLoad-ZXQAHTQS.js");
|
|
3943
|
+
const { listPybAgentSessions, resolvePybResumeSessionIdentifier } = await import("./pybAgentSessionResume-R73KFN3V.js");
|
|
3933
3944
|
const { setPybAgentSessionId } = await import("./pybAgentSessionId-EPCAMQ25.js");
|
|
3934
3945
|
const rawIdentifier = String(identifier).trim();
|
|
3935
3946
|
const isLegacyNumber = /^-?\\d+$/.test(rawIdentifier);
|
|
@@ -3999,7 +4010,7 @@ ${skillList}`);
|
|
|
3999
4010
|
const isDefaultModel = await isDefaultSlowAndCapableModel();
|
|
4000
4011
|
{
|
|
4001
4012
|
const { render: render3 } = await import("ink");
|
|
4002
|
-
const { REPL } = await import("./REPL-
|
|
4013
|
+
const { REPL } = await import("./REPL-64WF5V7K.js");
|
|
4003
4014
|
render3(
|
|
4004
4015
|
/* @__PURE__ */ React10.createElement(
|
|
4005
4016
|
REPL,
|
|
@@ -4026,7 +4037,7 @@ ${skillList}`);
|
|
|
4026
4037
|
process.exit(1);
|
|
4027
4038
|
}
|
|
4028
4039
|
} else {
|
|
4029
|
-
const { listPybAgentSessions } = await import("./pybAgentSessionResume-
|
|
4040
|
+
const { listPybAgentSessions } = await import("./pybAgentSessionResume-R73KFN3V.js");
|
|
4030
4041
|
const sessions = listPybAgentSessions({ cwd: cwd2 });
|
|
4031
4042
|
if (sessions.length === 0) {
|
|
4032
4043
|
console.error("No conversation found to resume");
|
|
@@ -4131,7 +4142,7 @@ async function gracefulExit(code = 0) {
|
|
|
4131
4142
|
}
|
|
4132
4143
|
isGracefulExitInProgress = true;
|
|
4133
4144
|
try {
|
|
4134
|
-
const { runSessionEndHooks } = await import("./pybHooks-
|
|
4145
|
+
const { runSessionEndHooks } = await import("./pybHooks-NGJ5OFAI.js");
|
|
4135
4146
|
const { getPybAgentSessionId } = await import("./pybAgentSessionId-EPCAMQ25.js");
|
|
4136
4147
|
const { tmpdir } = await import("os");
|
|
4137
4148
|
const { join: join3 } = await import("path");
|