pybao-cli 1.4.75 → 1.4.76
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-RWPGSUIX.js +46 -0
- package/dist/{acp-CKWP6TI6.js → acp-4XHRYO56.js} +29 -29
- package/dist/{agentsValidate-RNXD7SX5.js → agentsValidate-OKBEIM2L.js} +7 -7
- package/dist/{ask-JOPIZEIQ.js → ask-MLXVCAJZ.js} +28 -28
- package/dist/{autoUpdater-ADHYVMDE.js → autoUpdater-WIPHLYW6.js} +3 -3
- package/dist/{chunk-5ZUBA5OB.js → chunk-5ZXZCAYK.js} +3 -3
- package/dist/{chunk-VOQ25CPT.js → chunk-ACRKOUSO.js} +1 -1
- package/dist/{chunk-OUHCXLE4.js → chunk-ADFUXIHF.js} +1 -1
- package/dist/{chunk-NNAFJTAW.js → chunk-ARR7EPRS.js} +16 -16
- package/dist/{chunk-6CJ7GRNS.js → chunk-B3Z5ZCJQ.js} +2 -2
- package/dist/{chunk-LFRMAKMQ.js → chunk-BJVBFT4L.js} +2 -2
- package/dist/{chunk-O4SUW3MQ.js → chunk-BRTUHZJP.js} +4 -4
- package/dist/{chunk-AEZA2KJ2.js → chunk-CP4HRUTW.js} +3 -3
- package/dist/{chunk-KLCYKWDN.js → chunk-DGDPNCRD.js} +2 -2
- package/dist/{chunk-4ZD4K3RE.js → chunk-EJYHTI3D.js} +3 -3
- package/dist/{chunk-Q23OQIDJ.js → chunk-FTZAV7B5.js} +1 -1
- package/dist/{chunk-QHEOVLOL.js → chunk-GW7IMYAW.js} +35 -35
- package/dist/{chunk-2BPIYW4I.js → chunk-HUXXS3KC.js} +1 -1
- package/dist/{chunk-QKBVUIUY.js → chunk-JPQT7MD2.js} +2 -2
- package/dist/{chunk-H2PHJYYL.js → chunk-LATG3Z2L.js} +4 -4
- package/dist/{chunk-YALFCUFN.js → chunk-LNTTGDLL.js} +3 -3
- package/dist/{chunk-XWYKEIMN.js → chunk-NDZ624LO.js} +3 -3
- package/dist/{chunk-7K445HEA.js → chunk-NHBVGW37.js} +2 -2
- package/dist/{chunk-IIRNFUBW.js → chunk-O3XLJKJM.js} +1 -1
- package/dist/{chunk-XF4NWFCW.js → chunk-OML4DI2L.js} +1 -1
- package/dist/{chunk-IJCOH5OJ.js → chunk-PCMHIRMR.js} +4 -4
- package/dist/{chunk-4KXN6N36.js → chunk-PQSDS4SJ.js} +2 -2
- package/dist/{chunk-IZ76XXZE.js → chunk-PW3WI3WG.js} +1 -1
- package/dist/{chunk-GT2DN7MB.js → chunk-Q7HIATXU.js} +2 -2
- package/dist/{chunk-CKAU7SBA.js → chunk-STRMTXEO.js} +4 -4
- package/dist/{chunk-RL6A7TRP.js → chunk-T7MKXF5R.js} +1 -1
- package/dist/{chunk-OUNDEAMU.js → chunk-W3EG25C2.js} +3 -3
- package/dist/{chunk-4FW4LGG2.js → chunk-X3XICKVZ.js} +1 -1
- package/dist/{chunk-4FW4LGG2.js.map → chunk-X3XICKVZ.js.map} +1 -1
- package/dist/{chunk-4OFESUAN.js → chunk-XLT64RVU.js} +3 -3
- package/dist/{chunk-C2G4NZFV.js → chunk-Z5DXHNIL.js} +1 -1
- package/dist/{cli-GBED5ZPE.js → cli-AXTSYKWT.js} +87 -87
- package/dist/commands-7HCZZAA5.js +50 -0
- package/dist/{config-2O6CZHLT.js → config-4E2E75IG.js} +4 -4
- package/dist/{context-SCZPZIKB.js → context-XWJSQOGN.js} +6 -6
- package/dist/{customCommands-U7UOVVAL.js → customCommands-7CVNIGB7.js} +4 -4
- package/dist/{env-362H3NMD.js → env-3LVA2WS3.js} +2 -2
- package/dist/{file-GRG5QXWB.js → file-4EZK7WE2.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-BZW2ZKUD.js → llm-T5WUFZWL.js} +29 -29
- package/dist/{llmLazy-VSHVRC6V.js → llmLazy-XI646FSV.js} +1 -1
- package/dist/{loader-27TWKHWB.js → loader-VRW3M3YU.js} +4 -4
- package/dist/{lsp-CYLPG6UO.js → lsp-UHLFPGB6.js} +6 -6
- package/dist/{lspAnchor-NEKFA6BW.js → lspAnchor-4ADQNOAW.js} +6 -6
- package/dist/{mcp-P3IH733Q.js → mcp-Q52D347V.js} +7 -7
- package/dist/{mentionProcessor-3BHLM5XS.js → mentionProcessor-FLBA5OGP.js} +5 -5
- package/dist/{messages-H46GHIJO.js → messages-ZGY4CSSV.js} +1 -1
- package/dist/{model-ZBA2N2GW.js → model-Q3R4RIKZ.js} +5 -5
- package/dist/{openai-3QRKRD2J.js → openai-3YLV2GRL.js} +5 -5
- package/dist/{outputStyles-T5ZZVKBR.js → outputStyles-IHBZ4QPT.js} +4 -4
- package/dist/{pluginRuntime-NEU7TAXX.js → pluginRuntime-2CK3Q5DN.js} +6 -6
- package/dist/{pluginValidation-VSITCT2M.js → pluginValidation-42EAWBNZ.js} +6 -6
- package/dist/prompts-EDV34OWB.js +52 -0
- package/dist/{pybAgentSessionLoad-KJIDDZSN.js → pybAgentSessionLoad-4RRVWF6C.js} +4 -4
- package/dist/{pybAgentSessionResume-TS72P4TZ.js → pybAgentSessionResume-UFEKI4AN.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-RCZZ7QPC.js → pybAgentStreamJsonSession-226XTDBY.js} +1 -1
- package/dist/{pybHooks-VTWSSX4U.js → pybHooks-AFJ4D6YK.js} +4 -4
- package/dist/query-BS6U3KIA.js +54 -0
- package/dist/{registry-6QMNML4G.js → registry-S5FD4IVI.js} +5 -5
- package/dist/{ripgrep-WXPRGJP7.js → ripgrep-XW7RSZPZ.js} +3 -3
- package/dist/{skillMarketplace-PSLUJ2KQ.js → skillMarketplace-GMJGRPJ4.js} +3 -3
- package/dist/{state-K63F5ZV2.js → state-YISEDJES.js} +2 -2
- package/dist/{theme-OMOK7MZU.js → theme-IDJITFFJ.js} +5 -5
- package/dist/{toolPermissionSettings-SMUQQWLR.js → toolPermissionSettings-37NOKAVN.js} +6 -6
- package/dist/tools-AEWPJXRE.js +51 -0
- package/dist/{userInput-SHYDKDEB.js → userInput-5STLCZUN.js} +30 -30
- package/package.json +1 -1
- package/dist/REPL-PSN4KRWT.js +0 -46
- package/dist/commands-CVVC5L3I.js +0 -50
- package/dist/prompts-E34UWOYM.js +0 -52
- package/dist/query-37TKUCPD.js +0 -54
- package/dist/tools-BJE4OGQ3.js +0 -51
- /package/dist/{REPL-PSN4KRWT.js.map → REPL-RWPGSUIX.js.map} +0 -0
- /package/dist/{acp-CKWP6TI6.js.map → acp-4XHRYO56.js.map} +0 -0
- /package/dist/{agentsValidate-RNXD7SX5.js.map → agentsValidate-OKBEIM2L.js.map} +0 -0
- /package/dist/{ask-JOPIZEIQ.js.map → ask-MLXVCAJZ.js.map} +0 -0
- /package/dist/{autoUpdater-ADHYVMDE.js.map → autoUpdater-WIPHLYW6.js.map} +0 -0
- /package/dist/{chunk-5ZUBA5OB.js.map → chunk-5ZXZCAYK.js.map} +0 -0
- /package/dist/{chunk-VOQ25CPT.js.map → chunk-ACRKOUSO.js.map} +0 -0
- /package/dist/{chunk-OUHCXLE4.js.map → chunk-ADFUXIHF.js.map} +0 -0
- /package/dist/{chunk-NNAFJTAW.js.map → chunk-ARR7EPRS.js.map} +0 -0
- /package/dist/{chunk-6CJ7GRNS.js.map → chunk-B3Z5ZCJQ.js.map} +0 -0
- /package/dist/{chunk-LFRMAKMQ.js.map → chunk-BJVBFT4L.js.map} +0 -0
- /package/dist/{chunk-O4SUW3MQ.js.map → chunk-BRTUHZJP.js.map} +0 -0
- /package/dist/{chunk-AEZA2KJ2.js.map → chunk-CP4HRUTW.js.map} +0 -0
- /package/dist/{chunk-KLCYKWDN.js.map → chunk-DGDPNCRD.js.map} +0 -0
- /package/dist/{chunk-4ZD4K3RE.js.map → chunk-EJYHTI3D.js.map} +0 -0
- /package/dist/{chunk-Q23OQIDJ.js.map → chunk-FTZAV7B5.js.map} +0 -0
- /package/dist/{chunk-QHEOVLOL.js.map → chunk-GW7IMYAW.js.map} +0 -0
- /package/dist/{chunk-2BPIYW4I.js.map → chunk-HUXXS3KC.js.map} +0 -0
- /package/dist/{chunk-QKBVUIUY.js.map → chunk-JPQT7MD2.js.map} +0 -0
- /package/dist/{chunk-H2PHJYYL.js.map → chunk-LATG3Z2L.js.map} +0 -0
- /package/dist/{chunk-YALFCUFN.js.map → chunk-LNTTGDLL.js.map} +0 -0
- /package/dist/{chunk-XWYKEIMN.js.map → chunk-NDZ624LO.js.map} +0 -0
- /package/dist/{chunk-7K445HEA.js.map → chunk-NHBVGW37.js.map} +0 -0
- /package/dist/{chunk-IIRNFUBW.js.map → chunk-O3XLJKJM.js.map} +0 -0
- /package/dist/{chunk-XF4NWFCW.js.map → chunk-OML4DI2L.js.map} +0 -0
- /package/dist/{chunk-IJCOH5OJ.js.map → chunk-PCMHIRMR.js.map} +0 -0
- /package/dist/{chunk-4KXN6N36.js.map → chunk-PQSDS4SJ.js.map} +0 -0
- /package/dist/{chunk-IZ76XXZE.js.map → chunk-PW3WI3WG.js.map} +0 -0
- /package/dist/{chunk-GT2DN7MB.js.map → chunk-Q7HIATXU.js.map} +0 -0
- /package/dist/{chunk-CKAU7SBA.js.map → chunk-STRMTXEO.js.map} +0 -0
- /package/dist/{chunk-RL6A7TRP.js.map → chunk-T7MKXF5R.js.map} +0 -0
- /package/dist/{chunk-OUNDEAMU.js.map → chunk-W3EG25C2.js.map} +0 -0
- /package/dist/{chunk-4OFESUAN.js.map → chunk-XLT64RVU.js.map} +0 -0
- /package/dist/{chunk-C2G4NZFV.js.map → chunk-Z5DXHNIL.js.map} +0 -0
- /package/dist/{cli-GBED5ZPE.js.map → cli-AXTSYKWT.js.map} +0 -0
- /package/dist/{commands-CVVC5L3I.js.map → commands-7HCZZAA5.js.map} +0 -0
- /package/dist/{config-2O6CZHLT.js.map → config-4E2E75IG.js.map} +0 -0
- /package/dist/{context-SCZPZIKB.js.map → context-XWJSQOGN.js.map} +0 -0
- /package/dist/{customCommands-U7UOVVAL.js.map → customCommands-7CVNIGB7.js.map} +0 -0
- /package/dist/{env-362H3NMD.js.map → env-3LVA2WS3.js.map} +0 -0
- /package/dist/{file-GRG5QXWB.js.map → file-4EZK7WE2.js.map} +0 -0
- /package/dist/{llm-BZW2ZKUD.js.map → llm-T5WUFZWL.js.map} +0 -0
- /package/dist/{llmLazy-VSHVRC6V.js.map → llmLazy-XI646FSV.js.map} +0 -0
- /package/dist/{loader-27TWKHWB.js.map → loader-VRW3M3YU.js.map} +0 -0
- /package/dist/{lsp-CYLPG6UO.js.map → lsp-UHLFPGB6.js.map} +0 -0
- /package/dist/{lspAnchor-NEKFA6BW.js.map → lspAnchor-4ADQNOAW.js.map} +0 -0
- /package/dist/{mcp-P3IH733Q.js.map → mcp-Q52D347V.js.map} +0 -0
- /package/dist/{mentionProcessor-3BHLM5XS.js.map → mentionProcessor-FLBA5OGP.js.map} +0 -0
- /package/dist/{messages-H46GHIJO.js.map → messages-ZGY4CSSV.js.map} +0 -0
- /package/dist/{model-ZBA2N2GW.js.map → model-Q3R4RIKZ.js.map} +0 -0
- /package/dist/{openai-3QRKRD2J.js.map → openai-3YLV2GRL.js.map} +0 -0
- /package/dist/{outputStyles-T5ZZVKBR.js.map → outputStyles-IHBZ4QPT.js.map} +0 -0
- /package/dist/{pluginRuntime-NEU7TAXX.js.map → pluginRuntime-2CK3Q5DN.js.map} +0 -0
- /package/dist/{pluginValidation-VSITCT2M.js.map → pluginValidation-42EAWBNZ.js.map} +0 -0
- /package/dist/{prompts-E34UWOYM.js.map → prompts-EDV34OWB.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-KJIDDZSN.js.map → pybAgentSessionLoad-4RRVWF6C.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-TS72P4TZ.js.map → pybAgentSessionResume-UFEKI4AN.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-RCZZ7QPC.js.map → pybAgentStreamJsonSession-226XTDBY.js.map} +0 -0
- /package/dist/{pybHooks-VTWSSX4U.js.map → pybHooks-AFJ4D6YK.js.map} +0 -0
- /package/dist/{query-37TKUCPD.js.map → query-BS6U3KIA.js.map} +0 -0
- /package/dist/{registry-6QMNML4G.js.map → registry-S5FD4IVI.js.map} +0 -0
- /package/dist/{ripgrep-WXPRGJP7.js.map → ripgrep-XW7RSZPZ.js.map} +0 -0
- /package/dist/{skillMarketplace-PSLUJ2KQ.js.map → skillMarketplace-GMJGRPJ4.js.map} +0 -0
- /package/dist/{state-K63F5ZV2.js.map → state-YISEDJES.js.map} +0 -0
- /package/dist/{theme-OMOK7MZU.js.map → theme-IDJITFFJ.js.map} +0 -0
- /package/dist/{toolPermissionSettings-SMUQQWLR.js.map → toolPermissionSettings-37NOKAVN.js.map} +0 -0
- /package/dist/{tools-BJE4OGQ3.js.map → tools-AEWPJXRE.js.map} +0 -0
- /package/dist/{userInput-SHYDKDEB.js.map → userInput-5STLCZUN.js.map} +0 -0
|
@@ -3,18 +3,18 @@ const require = __pybCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
formatValidationResult,
|
|
5
5
|
validatePluginOrMarketplacePath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CP4HRUTW.js";
|
|
7
7
|
import {
|
|
8
8
|
loadPybAgentSessionMessages
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-T7MKXF5R.js";
|
|
10
10
|
import {
|
|
11
11
|
listPybAgentSessions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PW3WI3WG.js";
|
|
13
13
|
import {
|
|
14
14
|
appendSessionCustomTitleRecord,
|
|
15
15
|
appendSessionJsonlFromMessage,
|
|
16
16
|
appendSessionTagRecord
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BJVBFT4L.js";
|
|
18
18
|
import {
|
|
19
19
|
drainHookSystemPromptAdditions,
|
|
20
20
|
getHookTranscriptPath,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
runStopHooks,
|
|
27
27
|
runUserPromptSubmitHooks,
|
|
28
28
|
updateHookTranscriptForMessages
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-W3EG25C2.js";
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_OUTPUT_STYLE,
|
|
32
32
|
getAvailableOutputStyles,
|
|
@@ -35,17 +35,17 @@ import {
|
|
|
35
35
|
getOutputStyleSystemPromptAdditions,
|
|
36
36
|
resolveOutputStyleName,
|
|
37
37
|
setCurrentOutputStyle
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-Q7HIATXU.js";
|
|
39
39
|
import {
|
|
40
40
|
fetchCustomModels,
|
|
41
41
|
getModelFeatures,
|
|
42
42
|
getSessionState
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-DGDPNCRD.js";
|
|
44
44
|
import {
|
|
45
45
|
queryLLM,
|
|
46
46
|
queryQuick,
|
|
47
47
|
verifyApiKey
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-BRTUHZJP.js";
|
|
49
49
|
import {
|
|
50
50
|
DEFAULT_TIMEOUT_MS,
|
|
51
51
|
FallbackToolUseRejectedMessage,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
listMCPServers,
|
|
60
60
|
loadMergedSettings,
|
|
61
61
|
normalizeSandboxRuntimeConfigFromSettings
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-PCMHIRMR.js";
|
|
63
63
|
import {
|
|
64
64
|
addMarketplace,
|
|
65
65
|
disableSkillPlugin,
|
|
@@ -72,11 +72,11 @@ import {
|
|
|
72
72
|
refreshMarketplaceAsync,
|
|
73
73
|
removeMarketplace,
|
|
74
74
|
uninstallSkillPlugin
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-O3XLJKJM.js";
|
|
76
76
|
import {
|
|
77
77
|
loadToolPermissionContextFromDisk,
|
|
78
78
|
persistToolPermissionUpdateToDisk
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-5ZXZCAYK.js";
|
|
80
80
|
import {
|
|
81
81
|
applyToolPermissionContextUpdate,
|
|
82
82
|
applyToolPermissionContextUpdates,
|
|
@@ -87,13 +87,13 @@ import {
|
|
|
87
87
|
generateSystemReminders,
|
|
88
88
|
resetReminderSession,
|
|
89
89
|
systemReminderService
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-NHBVGW37.js";
|
|
91
91
|
import {
|
|
92
92
|
clearAgentCache,
|
|
93
93
|
getActiveAgents,
|
|
94
94
|
getAgentByType,
|
|
95
95
|
getAllAgents
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-B3Z5ZCJQ.js";
|
|
97
97
|
import {
|
|
98
98
|
API_ERROR_MESSAGE_PREFIX,
|
|
99
99
|
CANCEL_MESSAGE,
|
|
@@ -124,7 +124,7 @@ import {
|
|
|
124
124
|
processUserInput,
|
|
125
125
|
reorderMessages,
|
|
126
126
|
stripSystemMessages
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-ACRKOUSO.js";
|
|
128
128
|
import {
|
|
129
129
|
getRequestStatus,
|
|
130
130
|
setRequestStatus,
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
normalizeFilePath,
|
|
155
155
|
readTextContent,
|
|
156
156
|
writeTextContent
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-JPQT7MD2.js";
|
|
158
158
|
import {
|
|
159
159
|
parseBlockEdits
|
|
160
160
|
} from "./chunk-QWIBSCDN.js";
|
|
@@ -164,18 +164,18 @@ import {
|
|
|
164
164
|
ParserRegistry,
|
|
165
165
|
initParser,
|
|
166
166
|
loadLanguage
|
|
167
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-LATG3Z2L.js";
|
|
168
168
|
import {
|
|
169
169
|
getSettingsFileCandidates,
|
|
170
170
|
loadSettingsWithLegacyFallback,
|
|
171
171
|
readSettingsFile
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-OML4DI2L.js";
|
|
173
173
|
import {
|
|
174
174
|
getCustomCommandDirectories,
|
|
175
175
|
hasCustomCommands,
|
|
176
176
|
loadCustomCommands,
|
|
177
177
|
reloadCustomCommands
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-PQSDS4SJ.js";
|
|
179
179
|
import {
|
|
180
180
|
getSessionPlugins
|
|
181
181
|
} from "./chunk-BJSWTHRM.js";
|
|
@@ -183,7 +183,7 @@ import {
|
|
|
183
183
|
ModelManager,
|
|
184
184
|
getModelManager,
|
|
185
185
|
isDefaultSlowAndCapableModel
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-EJYHTI3D.js";
|
|
187
187
|
import {
|
|
188
188
|
getCodeStyle,
|
|
189
189
|
getContext,
|
|
@@ -191,13 +191,13 @@ import {
|
|
|
191
191
|
getIsGit,
|
|
192
192
|
getProjectDocs,
|
|
193
193
|
getProjectStructureStatisticsBlock
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-STRMTXEO.js";
|
|
195
195
|
import {
|
|
196
196
|
ripGrep
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-Z5DXHNIL.js";
|
|
198
198
|
import {
|
|
199
199
|
getTheme
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-FTZAV7B5.js";
|
|
201
201
|
import {
|
|
202
202
|
DEFAULT_GLOBAL_CONFIG,
|
|
203
203
|
enableConfigs,
|
|
@@ -210,7 +210,7 @@ import {
|
|
|
210
210
|
saveGlobalConfig,
|
|
211
211
|
setAllPointersToModel,
|
|
212
212
|
setModelPointer
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-LNTTGDLL.js";
|
|
214
214
|
import {
|
|
215
215
|
AbortError
|
|
216
216
|
} from "./chunk-RQVLBMP7.js";
|
|
@@ -219,7 +219,7 @@ import {
|
|
|
219
219
|
getCurrentRequest,
|
|
220
220
|
logUserFriendly,
|
|
221
221
|
markPhase
|
|
222
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-ADFUXIHF.js";
|
|
223
223
|
import {
|
|
224
224
|
ASCII_LOGO,
|
|
225
225
|
BunShell,
|
|
@@ -260,10 +260,10 @@ import {
|
|
|
260
260
|
setCwd,
|
|
261
261
|
shouldApplyToolOutputTruncation,
|
|
262
262
|
truncateToolOutput
|
|
263
|
-
} from "./chunk-
|
|
263
|
+
} from "./chunk-HUXXS3KC.js";
|
|
264
264
|
import {
|
|
265
265
|
MACRO
|
|
266
|
-
} from "./chunk-
|
|
266
|
+
} from "./chunk-X3XICKVZ.js";
|
|
267
267
|
import {
|
|
268
268
|
__export
|
|
269
269
|
} from "./chunk-I3J4JYES.js";
|
|
@@ -444,7 +444,7 @@ var getCommandSubcommandPrefix = memoize(
|
|
|
444
444
|
var getCommandPrefix = memoize(
|
|
445
445
|
async (command4, abortSignal) => {
|
|
446
446
|
const { systemPrompt, userPrompt } = buildBashCommandPrefixDetectionPrompt(command4);
|
|
447
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-
|
|
447
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-T5WUFZWL.js");
|
|
448
448
|
const response = await queryQuick2({
|
|
449
449
|
systemPrompt,
|
|
450
450
|
userPrompt,
|
|
@@ -4246,7 +4246,7 @@ function formatParseError(error) {
|
|
|
4246
4246
|
return error instanceof Error ? error.message : String(error);
|
|
4247
4247
|
}
|
|
4248
4248
|
async function defaultGateQuery(args) {
|
|
4249
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-
|
|
4249
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-T5WUFZWL.js");
|
|
4250
4250
|
const queryLLMFn = args.queryLLMOverride ?? queryLLM2;
|
|
4251
4251
|
const messages = [
|
|
4252
4252
|
{
|
|
@@ -6643,7 +6643,7 @@ var FileEditTool = {
|
|
|
6643
6643
|
const originalFileContent = currentFileContent;
|
|
6644
6644
|
let totalPatch = [];
|
|
6645
6645
|
const { SmartEdit } = await import("./smart-edit-AWHJDSU6.js");
|
|
6646
|
-
const { findLspAnchor } = await import("./lspAnchor-
|
|
6646
|
+
const { findLspAnchor } = await import("./lspAnchor-4ADQNOAW.js");
|
|
6647
6647
|
for (const op of editOperations) {
|
|
6648
6648
|
const normalizedSearch = normalizeLineEndings(op.search);
|
|
6649
6649
|
const normalizedReplace = normalizeLineEndings(op.replace);
|
|
@@ -11338,7 +11338,7 @@ async function createAndStoreApiKey(accessToken) {
|
|
|
11338
11338
|
}
|
|
11339
11339
|
saveGlobalConfig(config2);
|
|
11340
11340
|
try {
|
|
11341
|
-
const { resetAnthropicClient } = await import("./llm-
|
|
11341
|
+
const { resetAnthropicClient } = await import("./llm-T5WUFZWL.js");
|
|
11342
11342
|
resetAnthropicClient();
|
|
11343
11343
|
} catch {
|
|
11344
11344
|
}
|
|
@@ -15705,7 +15705,7 @@ async function refreshPluginRuntimeFromInstalls() {
|
|
|
15705
15705
|
const existingRoots = getSessionPlugins().map((p) => p.rootDir);
|
|
15706
15706
|
const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
|
|
15707
15707
|
if (dirs.length === 0) return [];
|
|
15708
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
15708
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-2CK3Q5DN.js");
|
|
15709
15709
|
const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
|
|
15710
15710
|
return errors;
|
|
15711
15711
|
}
|
|
@@ -16374,7 +16374,7 @@ async function call(onDone, context) {
|
|
|
16374
16374
|
ModelConfig,
|
|
16375
16375
|
{
|
|
16376
16376
|
onClose: () => {
|
|
16377
|
-
import("./model-
|
|
16377
|
+
import("./model-Q3R4RIKZ.js").then(({ reloadModelManager: reloadModelManager2 }) => {
|
|
16378
16378
|
reloadModelManager2();
|
|
16379
16379
|
triggerModelConfigChange();
|
|
16380
16380
|
onDone();
|
|
@@ -25241,7 +25241,7 @@ function useStatusLine() {
|
|
|
25241
25241
|
// src/ui/components/PromptInput.tsx
|
|
25242
25242
|
async function interpretHashCommand(input) {
|
|
25243
25243
|
try {
|
|
25244
|
-
const { queryQuick: queryQuick2 } = await import("./llm-
|
|
25244
|
+
const { queryQuick: queryQuick2 } = await import("./llm-T5WUFZWL.js");
|
|
25245
25245
|
const systemPrompt = [
|
|
25246
25246
|
"You're helping the user structure notes that will be added to their PYB.md file.",
|
|
25247
25247
|
"Format the user's input into a well-structured note that will be useful for later reference.",
|
|
@@ -25554,7 +25554,7 @@ function PromptInput({
|
|
|
25554
25554
|
if (messages2.length) {
|
|
25555
25555
|
if (mode === "bash") {
|
|
25556
25556
|
onQuery(messages2, newAbortController).then(async () => {
|
|
25557
|
-
const { getCwd: getCwd2 } = await import("./state-
|
|
25557
|
+
const { getCwd: getCwd2 } = await import("./state-YISEDJES.js");
|
|
25558
25558
|
setCurrentPwd(getCwd2());
|
|
25559
25559
|
});
|
|
25560
25560
|
} else {
|
|
@@ -28733,7 +28733,7 @@ import { homedir as homedir8 } from "os";
|
|
|
28733
28733
|
// src/commands/agents/generation.ts
|
|
28734
28734
|
import { randomUUID as randomUUID6 } from "crypto";
|
|
28735
28735
|
async function generateAgentWithClaude(prompt) {
|
|
28736
|
-
const { queryModel } = await import("./llm-
|
|
28736
|
+
const { queryModel } = await import("./llm-T5WUFZWL.js");
|
|
28737
28737
|
const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
|
|
28738
28738
|
|
|
28739
28739
|
Return your response as a JSON object with exactly these fields:
|
|
@@ -2,7 +2,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
MACRO
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-X3XICKVZ.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/state/index.ts
|
|
8
8
|
import { cwd } from "process";
|
|
@@ -2,11 +2,11 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
listAllContentFiles
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-Z5DXHNIL.js";
|
|
6
6
|
import {
|
|
7
7
|
getCwd,
|
|
8
8
|
logError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HUXXS3KC.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/fs/file.ts
|
|
12
12
|
import {
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
LspServerRegistry,
|
|
5
5
|
findNearestRoot,
|
|
6
6
|
getInstallNotices
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NDZ624LO.js";
|
|
8
8
|
import {
|
|
9
9
|
levenshtein
|
|
10
10
|
} from "./chunk-UZ34JEUK.js";
|
|
11
11
|
import {
|
|
12
12
|
debug
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ADFUXIHF.js";
|
|
14
14
|
import {
|
|
15
15
|
getCwd,
|
|
16
16
|
getSessionRoot
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HUXXS3KC.js";
|
|
18
18
|
|
|
19
19
|
// src/lsp/index.ts
|
|
20
20
|
import { extname as extname2 } from "path";
|
|
@@ -565,7 +565,7 @@ var LspClientManager = class _LspClientManager {
|
|
|
565
565
|
const safeCwd = /[^\x00-\x7F]/.test(resolvedRoot) ? process.cwd() : resolvedRoot;
|
|
566
566
|
let initOpts = serverInfo.initializationOptions;
|
|
567
567
|
if (serverInfo.id === "pyright" || serverInfo.id === "ty") {
|
|
568
|
-
const { detectPythonVenv } = await import("./registry-
|
|
568
|
+
const { detectPythonVenv } = await import("./registry-S5FD4IVI.js");
|
|
569
569
|
const pythonPath = detectPythonVenv(resolvedRoot);
|
|
570
570
|
if (pythonPath) {
|
|
571
571
|
initOpts = { ...initOpts ?? {}, pythonPath };
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
} from "./chunk-RQVLBMP7.js";
|
|
6
6
|
import {
|
|
7
7
|
debug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ADFUXIHF.js";
|
|
9
9
|
import {
|
|
10
10
|
getCwd,
|
|
11
11
|
getGlobalConfigFilePath,
|
|
12
12
|
getLegacyGlobalConfigFilePath,
|
|
13
13
|
logError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HUXXS3KC.js";
|
|
15
15
|
|
|
16
16
|
// src/core/config/schema.ts
|
|
17
17
|
function isAutoUpdaterStatus(value) {
|
|
@@ -688,7 +688,7 @@ function setModelPointer(pointer, modelName) {
|
|
|
688
688
|
}
|
|
689
689
|
};
|
|
690
690
|
saveGlobalConfig(updatedConfig);
|
|
691
|
-
import("./model-
|
|
691
|
+
import("./model-Q3R4RIKZ.js").then(({ reloadModelManager }) => {
|
|
692
692
|
reloadModelManager();
|
|
693
693
|
});
|
|
694
694
|
}
|
|
@@ -2,15 +2,15 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
loadSettingsWithLegacyFallback
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OML4DI2L.js";
|
|
6
6
|
import {
|
|
7
7
|
debug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ADFUXIHF.js";
|
|
9
9
|
import {
|
|
10
10
|
env,
|
|
11
11
|
getSessionRoot,
|
|
12
12
|
resolveXdgDataPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HUXXS3KC.js";
|
|
14
14
|
import {
|
|
15
15
|
__require
|
|
16
16
|
} from "./chunk-I3J4JYES.js";
|
|
@@ -2,10 +2,10 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
debug
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ADFUXIHF.js";
|
|
6
6
|
import {
|
|
7
7
|
logError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HUXXS3KC.js";
|
|
9
9
|
|
|
10
10
|
// src/services/system/systemReminder.ts
|
|
11
11
|
var SystemReminderService = class {
|
|
@@ -3,13 +3,13 @@ const require = __pybCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
getSettingsFileCandidates,
|
|
5
5
|
loadSettingsWithLegacyFallback
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OML4DI2L.js";
|
|
7
7
|
import {
|
|
8
8
|
getSessionPlugins
|
|
9
9
|
} from "./chunk-BJSWTHRM.js";
|
|
10
10
|
import {
|
|
11
11
|
getTheme
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FTZAV7B5.js";
|
|
13
13
|
import {
|
|
14
14
|
addMcprcServerForTesting,
|
|
15
15
|
getCurrentProjectConfig,
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
safeParseJSON,
|
|
20
20
|
saveCurrentProjectConfig,
|
|
21
21
|
saveGlobalConfig
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LNTTGDLL.js";
|
|
23
23
|
import {
|
|
24
24
|
PRODUCT_COMMAND,
|
|
25
25
|
PRODUCT_NAME,
|
|
26
26
|
getCwd,
|
|
27
27
|
logMCPError
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-HUXXS3KC.js";
|
|
29
29
|
|
|
30
30
|
// src/services/mcp/client.ts
|
|
31
31
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "fs";
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
} from "./chunk-BJSWTHRM.js";
|
|
6
6
|
import {
|
|
7
7
|
debug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ADFUXIHF.js";
|
|
9
9
|
import {
|
|
10
10
|
getCwd,
|
|
11
11
|
logError,
|
|
12
12
|
resolveXdgDataPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HUXXS3KC.js";
|
|
14
14
|
|
|
15
15
|
// src/services/plugins/customCommands.ts
|
|
16
16
|
import { existsSync, readFileSync, readdirSync, statSync } from "fs";
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
getSettingsFileCandidates,
|
|
8
8
|
loadSettingsWithLegacyFallback,
|
|
9
9
|
saveSettingsToPrimaryAndSyncLegacy
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OML4DI2L.js";
|
|
11
11
|
import {
|
|
12
12
|
getSessionPlugins
|
|
13
13
|
} from "./chunk-BJSWTHRM.js";
|
|
14
14
|
import {
|
|
15
15
|
getCwd,
|
|
16
16
|
getXdgConfigDir
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HUXXS3KC.js";
|
|
18
18
|
|
|
19
19
|
// src/services/ui/outputStyles.ts
|
|
20
20
|
import figures from "figures";
|
|
@@ -2,13 +2,13 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
ripGrepWithStatus
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-Z5DXHNIL.js";
|
|
6
6
|
import {
|
|
7
7
|
getCurrentProjectConfig,
|
|
8
8
|
getGlobalConfig,
|
|
9
9
|
getOrCreateUserID,
|
|
10
10
|
saveCurrentProjectConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LNTTGDLL.js";
|
|
12
12
|
import {
|
|
13
13
|
SESSION_ID,
|
|
14
14
|
env,
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
getCwd,
|
|
17
17
|
isContextScanDisabled,
|
|
18
18
|
logError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HUXXS3KC.js";
|
|
20
20
|
import {
|
|
21
21
|
MACRO
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-X3XICKVZ.js";
|
|
23
23
|
import {
|
|
24
24
|
__require
|
|
25
25
|
} from "./chunk-I3J4JYES.js";
|
|
@@ -2,7 +2,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
getSessionProjectDir
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BJVBFT4L.js";
|
|
6
6
|
import {
|
|
7
7
|
isUuid
|
|
8
8
|
} from "./chunk-5P7HBXTD.js";
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
} from "./chunk-B6IMQJZM.js";
|
|
6
6
|
import {
|
|
7
7
|
loadSettingsWithLegacyFallback
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OML4DI2L.js";
|
|
9
9
|
import {
|
|
10
10
|
getSessionPlugins
|
|
11
11
|
} from "./chunk-BJSWTHRM.js";
|
|
12
12
|
import {
|
|
13
13
|
getCwd,
|
|
14
14
|
logError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HUXXS3KC.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/session/pybHooks.ts
|
|
18
18
|
import { spawn } from "child_process";
|
|
@@ -496,7 +496,7 @@ async function runPromptHook(args) {
|
|
|
496
496
|
fallbackTimeoutMs: args.fallbackTimeoutMs
|
|
497
497
|
});
|
|
498
498
|
try {
|
|
499
|
-
const { queryQuick } = await import("./llmLazy-
|
|
499
|
+
const { queryQuick } = await import("./llmLazy-XI646FSV.js");
|
|
500
500
|
const systemPrompt = [
|
|
501
501
|
"You are executing a Pyb prompt hook.",
|
|
502
502
|
"Return a single JSON object only (no markdown, no prose).",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../package.json", "../src/constants/macros.ts"],
|
|
4
|
-
"sourcesContent": ["{\n \"name\": \"pybao-cli\",\n \"version\": \"1.4.
|
|
4
|
+
"sourcesContent": ["{\n \"name\": \"pybao-cli\",\n \"version\": \"1.4.76\",\n \"bin\": {\n \"pyb\": \"cli.js\",\n \"pyb-acp\": \"cli-acp.js\"\n },\n \"engines\": {\n \"node\": \">=20.18.1\"\n },\n \"main\": \"cli.js\",\n \"author\": \"PYB-XC\",\n \"license\": \"MIT\",\n \"description\": \"PYB-CLI - Minimal AI Agent with multi-model support and CLI interface\",\n \"keywords\": [\n \"ai\",\n \"agent\",\n \"minimal\",\n \"claude\"\n ],\n \"homepage\": \"https://github.com/pyb-xc/pyb-ts\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/pyb-xc/pyb-ts.git\"\n },\n \"bugs\": {\n \"url\": \"https://github.com/pyb-xc/pyb-ts/issues\"\n },\n \"files\": [\n \"cli.js\",\n \"cli-acp.js\",\n \"yoga.wasm\",\n \"dist/**/*\",\n \"scripts/binary-utils.cjs\",\n \"scripts/cli-wrapper.cjs\",\n \"scripts/cli-acp-wrapper.cjs\",\n \"scripts/postinstall.js\",\n \".npmrc\",\n \"resources/**/*\"\n ],\n \"scripts\": {\n \"dev\": \"bun run ./src/entrypoints/cli.tsx --verbose\",\n \"build:npm\": \"bun scripts/build.mjs\",\n \"build\": \"npm run build:npm\",\n \"build:binary\": \"node scripts/build-binary.mjs\",\n \"build:native-lock\": \"node scripts/build-native-lock.mjs\",\n \"clean\": \"node scripts/clean.mjs\",\n \"prepublishOnly\": \"npm run build:npm && node scripts/prepublish-check.js\",\n \"postinstall\": \"node scripts/postinstall.js || true\",\n \"format\": \"prettier --write \\\"src/**/*.{ts,tsx,js,jsx,json}\\\" \\\"tests/**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"format:check\": \"prettier --check \\\"src/**/*.{ts,tsx,js,jsx,json}\\\" \\\"tests/**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"lint\": \"eslint . --ext .ts,.tsx,.js --max-warnings 0\",\n \"lint:fix\": \"eslint . --ext .ts,.tsx,.js --fix\",\n \"test\": \"bun test\",\n \"test:unit\": \"bun test --preload ./tests/setup/native-lock-test-setup.ts tests/unit\",\n \"test:integration\": \"bun test tests/integration\",\n \"test:e2e\": \"bun test tests/e2e\",\n \"typecheck\": \"tsc --noEmit\",\n \"prepare\": \"bun run scripts/install-hooks.mjs\",\n \"sync:native-lock\": \"node scripts/sync-native-lock-versions.mjs\",\n \"publish:native-lock\": \"node scripts/publish-native-lock.mjs\",\n \"verify:native-lock\": \"node scripts/verify-native-lock.mjs\",\n \"publish:dev\": \"bun run scripts/publish-dev.js\",\n \"publish:release\": \"bun run scripts/publish-release.js\",\n \"bench:startup\": \"bun run scripts/bench-startup.mjs\",\n \"parity:reference\": \"bun run scripts/reference-parity-check.mjs\"\n },\n \"dependencies\": {\n \"@anthropic-ai/bedrock-sdk\": \"^0.12.6\",\n \"@anthropic-ai/sdk\": \"^0.39.0\",\n \"@anthropic-ai/vertex-sdk\": \"^0.7.0\",\n \"@astrojs/language-server\": \"2.16.2\",\n \"@aws-sdk/client-bedrock-runtime\": \"3.797.0\",\n \"@commander-js/extra-typings\": \"^13.1.0\",\n \"@inkjs/ui\": \"^2.0.0\",\n \"@modelcontextprotocol/sdk\": \"^1.15.1\",\n \"@prisma/language-server\": \"31.3.4\",\n \"@types/lodash-es\": \"^4.17.12\",\n \"@types/react\": \"^19.1.8\",\n \"@vscode/ripgrep\": \"^1.17.0\",\n \"@vue/language-server\": \"3.2.2\",\n \"ajv\": \"^8.17.1\",\n \"ansi-escapes\": \"^7.0.0\",\n \"bash-language-server\": \"5.6.0\",\n \"chalk\": \"^5.4.1\",\n \"cli-highlight\": \"^2.1.11\",\n \"cli-table3\": \"^0.6.5\",\n \"commander\": \"^13.1.0\",\n \"debug\": \"^4.4.1\",\n \"diff\": \"^7.0.0\",\n \"dockerfile-language-server-nodejs\": \"0.15.0\",\n \"dotenv\": \"^16.6.1\",\n \"env-paths\": \"^3.0.0\",\n \"fflate\": \"^0.8.2\",\n \"figures\": \"^6.1.0\",\n \"glob\": \"^11.0.3\",\n \"graphql-language-service-cli\": \"3.5.0\",\n \"gray-matter\": \"^4.0.3\",\n \"highlight.js\": \"^11.11.1\",\n \"ignore\": \"^7.0.5\",\n \"ink\": \"5.2.1\",\n \"ink-link\": \"^4.1.0\",\n \"ink-select-input\": \"^6.2.0\",\n \"ink-text-input\": \"^6.0.0\",\n \"intelephense\": \"1.16.3\",\n \"js-yaml\": \"^4.1.1\",\n \"lodash-es\": \"^4.17.21\",\n \"lru-cache\": \"^11.1.0\",\n \"marked\": \"^15.0.12\",\n \"minimatch\": \"^10.1.1\",\n \"nanoid\": \"^5.1.5\",\n \"node-html-parser\": \"^7.0.1\",\n \"openai\": \"4.104.0\",\n \"pyright\": \"1.1.408\",\n \"react\": \"18.3.1\",\n \"semver\": \"^7.7.2\",\n \"shell-quote\": \"1.8.3\",\n \"spawn-rx\": \"^5.1.2\",\n \"string-width\": \"^7.2.0\",\n \"strip-ansi\": \"^7.1.0\",\n \"svelte-language-server\": \"0.17.23\",\n \"tsx\": \"^4.20.3\",\n \"typescript-language-server\": \"5.1.3\",\n \"undici\": \"^7.11.0\",\n \"vscode-jsonrpc\": \"8.2.1\",\n \"vscode-langservers-extracted\": \"4.10.0\",\n \"web-tree-sitter\": \"0.25.10\",\n \"which\": \"^6.0.0\",\n \"wrap-ansi\": \"^9.0.0\",\n \"yaml-language-server\": \"1.19.2\",\n \"zod\": \"^3.25.76\",\n \"zod-to-json-schema\": \"^3.24.6\"\n },\n \"devDependencies\": {\n \"@types/bun\": \"latest\",\n \"@types/jest\": \"^30.0.0\",\n \"@types/node\": \"^24.1.0\",\n \"@types/which\": \"^3.0.4\",\n \"@typescript-eslint/eslint-plugin\": \"^8.50.1\",\n \"@typescript-eslint/parser\": \"^8.50.1\",\n \"abort-controller\": \"3.0.0\",\n \"bun-types\": \"latest\",\n \"cheerio\": \"1.1.2\",\n \"esbuild\": \"^0.25.9\",\n \"eslint\": \"8.57.0\",\n \"eslint-plugin-react-hooks\": \"^7.0.1\",\n \"ink-testing-library\": \"4.0.0\",\n \"node-fetch\": \"3.3.2\",\n \"prettier\": \"^3.6.2\",\n \"react-devtools-core\": \"^7.0.1\",\n \"tree-sitter-bash\": \"0.25.1\",\n \"tree-sitter-c-sharp\": \"0.23.1\",\n \"tree-sitter-clojure\": \"0.4.0\",\n \"tree-sitter-cpp\": \"0.23.4\",\n \"tree-sitter-go\": \"0.25.0\",\n \"tree-sitter-haskell\": \"0.23.1\",\n \"tree-sitter-java\": \"0.23.5\",\n \"tree-sitter-julia\": \"0.23.1\",\n \"tree-sitter-nix\": \"0.0.2\",\n \"tree-sitter-ocaml\": \"0.24.2\",\n \"tree-sitter-python\": \"0.25.0\",\n \"tree-sitter-rust\": \"0.24.0\",\n \"tree-sitter-scala\": \"0.24.0\",\n \"tree-sitter-swift\": \"0.7.1\",\n \"tree-sitter-typescript\": \"0.23.2\",\n \"turndown\": \"7.2.2\",\n \"typescript\": \"^5.9.2\"\n },\n \"overrides\": {\n \"@aws-sdk/client-bedrock-runtime\": \"3.797.0\",\n \"@smithy/smithy-client\": \"2.5.1\",\n \"parse5-htmlparser2-tree-adapter\": \"6.0.1\"\n },\n \"optionalDependencies\": {\n \"@puyib-cli/lock-win32-x64-msvc\": \"1.4.55\",\n \"@puyib-cli/lock-win32-arm64-msvc\": \"1.4.56\",\n \"@puyib-cli/lock-linux-x64-gnu\": \"1.4.56\",\n \"@puyib-cli/lock-linux-x64-musl\": \"1.4.56\",\n \"@puyib-cli/lock-linux-arm64-gnu\": \"1.4.56\",\n \"@puyib-cli/lock-linux-armv7-gnueabihf\": \"1.4.56\",\n \"@puyib-cli/lock-darwin-x64\": \"1.4.56\",\n \"@puyib-cli/lock-darwin-arm64\": \"1.4.56\"\n },\n \"pybNativeLockPlatforms\": [\n \"win32-x64-msvc\",\n \"win32-arm64-msvc\",\n \"linux-x64-gnu\",\n \"linux-x64-musl\",\n \"linux-arm64-gnu\",\n \"linux-armv7-gnueabihf\",\n \"darwin-x64\",\n \"darwin-arm64\"\n ]\n}\n", "import pkg from '../../package.json'\n\nexport const MACRO = {\n VERSION: pkg.version,\n README_URL: 'https://github.com/pyb-xc/pyb-ts#readme',\n PACKAGE_URL: 'pybao-cli',\n ISSUES_EXPLAINER:\n 'report the issue at https://github.com/pyb-xc/pyb-ts/issues',\n}\n"],
|
|
5
5
|
"mappings": "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",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
PRODUCT_NAME,
|
|
5
5
|
execFileNoThrow,
|
|
6
6
|
logError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HUXXS3KC.js";
|
|
8
8
|
import {
|
|
9
9
|
MACRO
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-X3XICKVZ.js";
|
|
11
11
|
|
|
12
12
|
// src/utils/session/autoUpdater.ts
|
|
13
13
|
async function getSemver() {
|
|
@@ -82,7 +82,7 @@ async function checkAndNotifyUpdate() {
|
|
|
82
82
|
const [
|
|
83
83
|
{ isAutoUpdaterDisabled, getGlobalConfig, saveGlobalConfig },
|
|
84
84
|
{ env }
|
|
85
|
-
] = await Promise.all([import("./config-
|
|
85
|
+
] = await Promise.all([import("./config-4E2E75IG.js"), import("./env-3LVA2WS3.js")]);
|
|
86
86
|
if (await isAutoUpdaterDisabled()) return;
|
|
87
87
|
if (await env.getIsDocker()) return;
|
|
88
88
|
if (!await env.hasInternetAccess()) return;
|