pybao-cli 1.5.20 → 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-WMIRTK3I.js → acp-VH2FWCMR.js} +31 -31
- package/dist/{agentsValidate-O4DYQO4K.js → agentsValidate-4E7AHAMS.js} +7 -7
- package/dist/{ask-FNYXC23S.js → ask-R3YZ5B44.js} +30 -30
- package/dist/{autoUpdater-UAHVINOC.js → autoUpdater-DCNAXD4F.js} +3 -3
- package/dist/{chunk-H45QLYMG.js → chunk-25GZITCX.js} +3 -3
- package/dist/{chunk-WLIESCRK.js → chunk-2OOER4FR.js} +3 -3
- package/dist/{chunk-E2LBOB4R.js → chunk-3UWTN6DM.js} +3 -3
- package/dist/{chunk-A4AWWFYW.js → chunk-4ZGZTWMR.js} +4 -4
- package/dist/{chunk-F4KWCJAX.js → chunk-56IL2VXC.js} +1 -1
- package/dist/{chunk-GOHXFHVI.js → chunk-5VO2CFAL.js} +2 -2
- package/dist/{chunk-ELKRQYYK.js → chunk-6UNYL6XK.js} +37 -37
- package/dist/{chunk-AK7XHIID.js → chunk-BED7SG2Q.js} +1 -1
- package/dist/{chunk-SY7DYGAR.js → chunk-BRSPPFSY.js} +1 -1
- package/dist/{chunk-JCTHI4MR.js → chunk-CPYDPN2J.js} +15 -15
- package/dist/{chunk-VT6JHE4S.js → chunk-CSONCQLF.js} +2 -2
- package/dist/{chunk-Y34ND33L.js → chunk-EP62LHB7.js} +1 -1
- package/dist/{chunk-7UP6NWVM.js → chunk-GIXE5FJ2.js} +1 -1
- package/dist/{chunk-TBUMU46D.js → chunk-H2ZE5QDY.js} +4 -4
- package/dist/{chunk-6UVGEBSY.js → chunk-HA7FKBZI.js} +2 -2
- package/dist/{chunk-AS4U4SC3.js → chunk-KMCUZUZG.js} +3 -3
- package/dist/{chunk-HE4S5PUW.js → chunk-LRL3MYKR.js} +3 -3
- package/dist/{chunk-BRFEEC46.js → chunk-MMMMRMOG.js} +3 -3
- package/dist/{chunk-MGTGPUCQ.js → chunk-N3T2WAYN.js} +1 -1
- package/dist/{chunk-JMCR7DHS.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-XBVJ6VJC.js → chunk-QE7PZPHW.js} +1 -1
- package/dist/{chunk-7WWACILO.js → chunk-RQ5X6LFM.js} +4 -4
- package/dist/{chunk-G62GRHO2.js → chunk-SE7UGQCE.js} +2 -2
- package/dist/{chunk-RHGVMRIK.js → chunk-TBEA6BY3.js} +1 -1
- package/dist/{chunk-4PTMNUJ7.js → chunk-TSAURYF2.js} +1 -1
- package/dist/{chunk-HS5564SH.js → chunk-TXZ5UTGP.js} +1 -1
- package/dist/{chunk-HS5564SH.js.map → chunk-TXZ5UTGP.js.map} +1 -1
- package/dist/{chunk-PUYI73S6.js → chunk-VP5A6FKG.js} +1 -1
- package/dist/{chunk-QCKSO3K4.js → chunk-VY5KEHU5.js} +3 -3
- package/dist/{chunk-SCHDJYA5.js → chunk-X5LLT4P2.js} +1 -1
- package/dist/{chunk-5EOLXQ5X.js → chunk-XRLMQN3Q.js} +4 -4
- package/dist/{chunk-B7EOAI4B.js → chunk-YQ2RQUQF.js} +1 -1
- package/dist/{chunk-NLNHRR75.js → chunk-ZQR3MM2D.js} +2 -2
- package/dist/{cli-JEMZH7PG.js → cli-RBMZQ5KF.js} +92 -92
- package/dist/commands-WPHK776A.js +54 -0
- package/dist/{config-KF4BS4L2.js → config-7TO5SQU5.js} +4 -4
- package/dist/{context-KOWFMZKU.js → context-LRA2DKJT.js} +6 -6
- package/dist/{conversationPersistence-CFUNW6II.js → conversationPersistence-Z4QSI5NB.js} +3 -3
- package/dist/{conversationTracker-KFWWMKIF.js → conversationTracker-B3DMEHMA.js} +4 -4
- package/dist/{customCommands-PJ7VJJRG.js → customCommands-6JZ2VUO2.js} +4 -4
- package/dist/{env-HFSAEM5N.js → env-37ALKFXU.js} +2 -2
- package/dist/{file-NWHI2SOO.js → file-7EOMBX72.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-TJXM6EK2.js → llm-3KQG5NEP.js} +31 -31
- package/dist/{llmLazy-7RDGUMQA.js → llmLazy-ENEH3KAB.js} +1 -1
- package/dist/{loader-WUAJ62KH.js → loader-D6V3WFL6.js} +4 -4
- package/dist/{lsp-EVMC5RMG.js → lsp-CTPOMI7O.js} +6 -6
- package/dist/{lspAnchor-NB4YQXLY.js → lspAnchor-PPPTHRQH.js} +6 -6
- package/dist/{mcp-I2ZFZNKJ.js → mcp-6M34WBA5.js} +7 -7
- package/dist/{mentionProcessor-CFCSSQL5.js → mentionProcessor-TS4SITI3.js} +5 -5
- package/dist/{messages-JGSITM6C.js → messages-BINU6SYX.js} +1 -1
- package/dist/{model-GESRW4FF.js → model-6IW224UU.js} +5 -5
- package/dist/{openai-GGKFI4LL.js → openai-O6CGVMYK.js} +5 -5
- package/dist/{outputStyles-HKMT3YMR.js → outputStyles-7PPMLSV6.js} +4 -4
- package/dist/{pluginRuntime-7BGZC2WJ.js → pluginRuntime-RU5STQ6F.js} +6 -6
- package/dist/{pluginValidation-DN3CGG4X.js → pluginValidation-JTJTB3TB.js} +6 -6
- package/dist/prompts-CAPCICF3.js +56 -0
- package/dist/{pybAgentSessionLoad-YFLOMYRN.js → pybAgentSessionLoad-ZXQAHTQS.js} +4 -4
- package/dist/{pybAgentSessionResume-HJNYUCIQ.js → pybAgentSessionResume-R73KFN3V.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-5CSX7QFY.js → pybAgentStreamJsonSession-N4SMTC64.js} +1 -1
- package/dist/{pybHooks-C3MJ77HU.js → pybHooks-NGJ5OFAI.js} +4 -4
- package/dist/query-CYTIVMQ6.js +54 -0
- package/dist/{registry-WLA7F5U6.js → registry-FKY6JQ3L.js} +5 -5
- package/dist/{ripgrep-IQBALUNI.js → ripgrep-O7MOW25M.js} +3 -3
- package/dist/{skillMarketplace-GOUCF2GU.js → skillMarketplace-VK3AYR6Q.js} +3 -3
- package/dist/{state-62SEG3OP.js → state-T57IG35V.js} +2 -2
- package/dist/{theme-SL3PQSQX.js → theme-ZEFQIPVH.js} +5 -5
- package/dist/{toolPermissionSettings-YZMFWNE3.js → toolPermissionSettings-ERNXVP7A.js} +6 -6
- package/dist/tools-2XLLIKZM.js +55 -0
- package/dist/{userInput-HFZCMP7M.js → userInput-JBAUBHGI.js} +33 -33
- package/package.json +1 -1
- package/dist/REPL-P2Q4U2MA.js +0 -50
- package/dist/commands-VCBENWHK.js +0 -54
- package/dist/prompts-PRYIR4LM.js +0 -56
- package/dist/query-4RHWMO2D.js +0 -54
- package/dist/tools-2NZAKPCP.js +0 -55
- /package/dist/{REPL-P2Q4U2MA.js.map → REPL-64WF5V7K.js.map} +0 -0
- /package/dist/{acp-WMIRTK3I.js.map → acp-VH2FWCMR.js.map} +0 -0
- /package/dist/{agentsValidate-O4DYQO4K.js.map → agentsValidate-4E7AHAMS.js.map} +0 -0
- /package/dist/{ask-FNYXC23S.js.map → ask-R3YZ5B44.js.map} +0 -0
- /package/dist/{autoUpdater-UAHVINOC.js.map → autoUpdater-DCNAXD4F.js.map} +0 -0
- /package/dist/{chunk-H45QLYMG.js.map → chunk-25GZITCX.js.map} +0 -0
- /package/dist/{chunk-WLIESCRK.js.map → chunk-2OOER4FR.js.map} +0 -0
- /package/dist/{chunk-E2LBOB4R.js.map → chunk-3UWTN6DM.js.map} +0 -0
- /package/dist/{chunk-A4AWWFYW.js.map → chunk-4ZGZTWMR.js.map} +0 -0
- /package/dist/{chunk-F4KWCJAX.js.map → chunk-56IL2VXC.js.map} +0 -0
- /package/dist/{chunk-GOHXFHVI.js.map → chunk-5VO2CFAL.js.map} +0 -0
- /package/dist/{chunk-ELKRQYYK.js.map → chunk-6UNYL6XK.js.map} +0 -0
- /package/dist/{chunk-AK7XHIID.js.map → chunk-BED7SG2Q.js.map} +0 -0
- /package/dist/{chunk-SY7DYGAR.js.map → chunk-BRSPPFSY.js.map} +0 -0
- /package/dist/{chunk-JCTHI4MR.js.map → chunk-CPYDPN2J.js.map} +0 -0
- /package/dist/{chunk-VT6JHE4S.js.map → chunk-CSONCQLF.js.map} +0 -0
- /package/dist/{chunk-Y34ND33L.js.map → chunk-EP62LHB7.js.map} +0 -0
- /package/dist/{chunk-7UP6NWVM.js.map → chunk-GIXE5FJ2.js.map} +0 -0
- /package/dist/{chunk-TBUMU46D.js.map → chunk-H2ZE5QDY.js.map} +0 -0
- /package/dist/{chunk-6UVGEBSY.js.map → chunk-HA7FKBZI.js.map} +0 -0
- /package/dist/{chunk-AS4U4SC3.js.map → chunk-KMCUZUZG.js.map} +0 -0
- /package/dist/{chunk-HE4S5PUW.js.map → chunk-LRL3MYKR.js.map} +0 -0
- /package/dist/{chunk-BRFEEC46.js.map → chunk-MMMMRMOG.js.map} +0 -0
- /package/dist/{chunk-MGTGPUCQ.js.map → chunk-N3T2WAYN.js.map} +0 -0
- /package/dist/{chunk-JMCR7DHS.js.map → chunk-NRQHLVJJ.js.map} +0 -0
- /package/dist/{chunk-XBVJ6VJC.js.map → chunk-QE7PZPHW.js.map} +0 -0
- /package/dist/{chunk-7WWACILO.js.map → chunk-RQ5X6LFM.js.map} +0 -0
- /package/dist/{chunk-G62GRHO2.js.map → chunk-SE7UGQCE.js.map} +0 -0
- /package/dist/{chunk-RHGVMRIK.js.map → chunk-TBEA6BY3.js.map} +0 -0
- /package/dist/{chunk-4PTMNUJ7.js.map → chunk-TSAURYF2.js.map} +0 -0
- /package/dist/{chunk-PUYI73S6.js.map → chunk-VP5A6FKG.js.map} +0 -0
- /package/dist/{chunk-QCKSO3K4.js.map → chunk-VY5KEHU5.js.map} +0 -0
- /package/dist/{chunk-SCHDJYA5.js.map → chunk-X5LLT4P2.js.map} +0 -0
- /package/dist/{chunk-5EOLXQ5X.js.map → chunk-XRLMQN3Q.js.map} +0 -0
- /package/dist/{chunk-B7EOAI4B.js.map → chunk-YQ2RQUQF.js.map} +0 -0
- /package/dist/{chunk-NLNHRR75.js.map → chunk-ZQR3MM2D.js.map} +0 -0
- /package/dist/{cli-JEMZH7PG.js.map → cli-RBMZQ5KF.js.map} +0 -0
- /package/dist/{commands-VCBENWHK.js.map → commands-WPHK776A.js.map} +0 -0
- /package/dist/{config-KF4BS4L2.js.map → config-7TO5SQU5.js.map} +0 -0
- /package/dist/{context-KOWFMZKU.js.map → context-LRA2DKJT.js.map} +0 -0
- /package/dist/{conversationPersistence-CFUNW6II.js.map → conversationPersistence-Z4QSI5NB.js.map} +0 -0
- /package/dist/{conversationTracker-KFWWMKIF.js.map → conversationTracker-B3DMEHMA.js.map} +0 -0
- /package/dist/{customCommands-PJ7VJJRG.js.map → customCommands-6JZ2VUO2.js.map} +0 -0
- /package/dist/{env-HFSAEM5N.js.map → env-37ALKFXU.js.map} +0 -0
- /package/dist/{file-NWHI2SOO.js.map → file-7EOMBX72.js.map} +0 -0
- /package/dist/{llm-TJXM6EK2.js.map → llm-3KQG5NEP.js.map} +0 -0
- /package/dist/{llmLazy-7RDGUMQA.js.map → llmLazy-ENEH3KAB.js.map} +0 -0
- /package/dist/{loader-WUAJ62KH.js.map → loader-D6V3WFL6.js.map} +0 -0
- /package/dist/{lsp-EVMC5RMG.js.map → lsp-CTPOMI7O.js.map} +0 -0
- /package/dist/{lspAnchor-NB4YQXLY.js.map → lspAnchor-PPPTHRQH.js.map} +0 -0
- /package/dist/{mcp-I2ZFZNKJ.js.map → mcp-6M34WBA5.js.map} +0 -0
- /package/dist/{mentionProcessor-CFCSSQL5.js.map → mentionProcessor-TS4SITI3.js.map} +0 -0
- /package/dist/{messages-JGSITM6C.js.map → messages-BINU6SYX.js.map} +0 -0
- /package/dist/{model-GESRW4FF.js.map → model-6IW224UU.js.map} +0 -0
- /package/dist/{openai-GGKFI4LL.js.map → openai-O6CGVMYK.js.map} +0 -0
- /package/dist/{outputStyles-HKMT3YMR.js.map → outputStyles-7PPMLSV6.js.map} +0 -0
- /package/dist/{pluginRuntime-7BGZC2WJ.js.map → pluginRuntime-RU5STQ6F.js.map} +0 -0
- /package/dist/{pluginValidation-DN3CGG4X.js.map → pluginValidation-JTJTB3TB.js.map} +0 -0
- /package/dist/{prompts-PRYIR4LM.js.map → prompts-CAPCICF3.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-YFLOMYRN.js.map → pybAgentSessionLoad-ZXQAHTQS.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-HJNYUCIQ.js.map → pybAgentSessionResume-R73KFN3V.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-5CSX7QFY.js.map → pybAgentStreamJsonSession-N4SMTC64.js.map} +0 -0
- /package/dist/{pybHooks-C3MJ77HU.js.map → pybHooks-NGJ5OFAI.js.map} +0 -0
- /package/dist/{query-4RHWMO2D.js.map → query-CYTIVMQ6.js.map} +0 -0
- /package/dist/{registry-WLA7F5U6.js.map → registry-FKY6JQ3L.js.map} +0 -0
- /package/dist/{ripgrep-IQBALUNI.js.map → ripgrep-O7MOW25M.js.map} +0 -0
- /package/dist/{skillMarketplace-GOUCF2GU.js.map → skillMarketplace-VK3AYR6Q.js.map} +0 -0
- /package/dist/{state-62SEG3OP.js.map → state-T57IG35V.js.map} +0 -0
- /package/dist/{theme-SL3PQSQX.js.map → theme-ZEFQIPVH.js.map} +0 -0
- /package/dist/{toolPermissionSettings-YZMFWNE3.js.map → toolPermissionSettings-ERNXVP7A.js.map} +0 -0
- /package/dist/{tools-2NZAKPCP.js.map → tools-2XLLIKZM.js.map} +0 -0
- /package/dist/{userInput-HFZCMP7M.js.map → userInput-JBAUBHGI.js.map} +0 -0
|
@@ -2,18 +2,18 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
loadPybAgentSessionMessages
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-N3T2WAYN.js";
|
|
6
6
|
import {
|
|
7
7
|
listPybAgentSessions
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BRSPPFSY.js";
|
|
9
9
|
import {
|
|
10
10
|
appendSessionCustomTitleRecord,
|
|
11
11
|
appendSessionTagRecord
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TSAURYF2.js";
|
|
13
13
|
import {
|
|
14
14
|
formatValidationResult,
|
|
15
15
|
validatePluginOrMarketplacePath
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LRL3MYKR.js";
|
|
17
17
|
import {
|
|
18
18
|
ConversationTracker,
|
|
19
19
|
appendFinishState,
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
getConversationTrackerForContext,
|
|
22
22
|
isFinishComplete,
|
|
23
23
|
mapFinishReason
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-GIXE5FJ2.js";
|
|
25
25
|
import {
|
|
26
26
|
FileSystemConversationPersistence
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-EP62LHB7.js";
|
|
28
28
|
import {
|
|
29
29
|
beginReplSessionScope
|
|
30
30
|
} from "./chunk-F4AXICO7.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
runStopHooks,
|
|
40
40
|
runUserPromptSubmitHooks,
|
|
41
41
|
updateHookTranscriptForMessages
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-2OOER4FR.js";
|
|
43
43
|
import {
|
|
44
44
|
DEFAULT_OUTPUT_STYLE,
|
|
45
45
|
getAvailableOutputStyles,
|
|
@@ -48,11 +48,11 @@ import {
|
|
|
48
48
|
getOutputStyleSystemPromptAdditions,
|
|
49
49
|
resolveOutputStyleName,
|
|
50
50
|
setCurrentOutputStyle
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-SE7UGQCE.js";
|
|
52
52
|
import {
|
|
53
53
|
fetchCustomModels,
|
|
54
54
|
getModelFeatures
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-CSONCQLF.js";
|
|
56
56
|
import {
|
|
57
57
|
getSessionState
|
|
58
58
|
} from "./chunk-XKYHFZEC.js";
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
queryLLM,
|
|
61
61
|
queryQuick,
|
|
62
62
|
verifyApiKey
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-4ZGZTWMR.js";
|
|
64
64
|
import {
|
|
65
65
|
DEFAULT_TIMEOUT_MS,
|
|
66
66
|
FallbackToolUseRejectedMessage,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
listMCPServers,
|
|
75
75
|
loadMergedSettings,
|
|
76
76
|
normalizeSandboxRuntimeConfigFromSettings
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-H2ZE5QDY.js";
|
|
78
78
|
import {
|
|
79
79
|
addMarketplace,
|
|
80
80
|
disableSkillPlugin,
|
|
@@ -87,11 +87,11 @@ import {
|
|
|
87
87
|
refreshMarketplaceAsync,
|
|
88
88
|
removeMarketplace,
|
|
89
89
|
uninstallSkillPlugin
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-QE7PZPHW.js";
|
|
91
91
|
import {
|
|
92
92
|
loadToolPermissionContextFromDisk,
|
|
93
93
|
persistToolPermissionUpdateToDisk
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-KMCUZUZG.js";
|
|
95
95
|
import {
|
|
96
96
|
applyToolPermissionContextUpdate,
|
|
97
97
|
applyToolPermissionContextUpdates,
|
|
@@ -102,13 +102,13 @@ import {
|
|
|
102
102
|
generateSystemReminders,
|
|
103
103
|
resetReminderSession,
|
|
104
104
|
systemReminderService
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-ZQR3MM2D.js";
|
|
106
106
|
import {
|
|
107
107
|
clearAgentCache,
|
|
108
108
|
getActiveAgents,
|
|
109
109
|
getAgentByType,
|
|
110
110
|
getAllAgents
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-NRQHLVJJ.js";
|
|
112
112
|
import {
|
|
113
113
|
API_ERROR_MESSAGE_PREFIX,
|
|
114
114
|
CANCEL_MESSAGE,
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
reorderMessages,
|
|
146
146
|
resetAutoCompactTelemetry,
|
|
147
147
|
stripSystemMessages
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-YQ2RQUQF.js";
|
|
149
149
|
import {
|
|
150
150
|
getRequestStatus,
|
|
151
151
|
setRequestStatus,
|
|
@@ -175,7 +175,7 @@ import {
|
|
|
175
175
|
normalizeFilePath,
|
|
176
176
|
readTextContent,
|
|
177
177
|
writeTextContent
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-HA7FKBZI.js";
|
|
179
179
|
import {
|
|
180
180
|
parseBlockEdits
|
|
181
181
|
} from "./chunk-QWIBSCDN.js";
|
|
@@ -185,18 +185,18 @@ import {
|
|
|
185
185
|
ParserRegistry,
|
|
186
186
|
initParser,
|
|
187
187
|
loadLanguage
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-XRLMQN3Q.js";
|
|
189
189
|
import {
|
|
190
190
|
getSettingsFileCandidates,
|
|
191
191
|
loadSettingsWithLegacyFallback,
|
|
192
192
|
readSettingsFile
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-X5LLT4P2.js";
|
|
194
194
|
import {
|
|
195
195
|
getCustomCommandDirectories,
|
|
196
196
|
hasCustomCommands,
|
|
197
197
|
loadCustomCommands,
|
|
198
198
|
reloadCustomCommands
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-5VO2CFAL.js";
|
|
200
200
|
import {
|
|
201
201
|
getSessionPlugins
|
|
202
202
|
} from "./chunk-BJSWTHRM.js";
|
|
@@ -205,7 +205,7 @@ import {
|
|
|
205
205
|
buildModelProfileKey,
|
|
206
206
|
getModelManager,
|
|
207
207
|
isDefaultSlowAndCapableModel
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-25GZITCX.js";
|
|
209
209
|
import {
|
|
210
210
|
getCodeStyle,
|
|
211
211
|
getContext,
|
|
@@ -213,16 +213,16 @@ import {
|
|
|
213
213
|
getIsGit,
|
|
214
214
|
getProjectDocs,
|
|
215
215
|
getProjectStructureStatisticsBlock
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-RQ5X6LFM.js";
|
|
217
217
|
import {
|
|
218
218
|
getRipgrepPath,
|
|
219
219
|
getRipgrepPolicyMode,
|
|
220
220
|
resolveRipgrepPolicy,
|
|
221
221
|
ripGrep
|
|
222
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-BED7SG2Q.js";
|
|
223
223
|
import {
|
|
224
224
|
getTheme
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-56IL2VXC.js";
|
|
226
226
|
import {
|
|
227
227
|
DEFAULT_GLOBAL_CONFIG,
|
|
228
228
|
enableConfigs,
|
|
@@ -235,7 +235,7 @@ import {
|
|
|
235
235
|
saveGlobalConfig,
|
|
236
236
|
setAllPointersToModel,
|
|
237
237
|
setModelPointer
|
|
238
|
-
} from "./chunk-
|
|
238
|
+
} from "./chunk-3UWTN6DM.js";
|
|
239
239
|
import {
|
|
240
240
|
AbortError
|
|
241
241
|
} from "./chunk-RQVLBMP7.js";
|
|
@@ -244,7 +244,7 @@ import {
|
|
|
244
244
|
getCurrentRequest,
|
|
245
245
|
logUserFriendly,
|
|
246
246
|
markPhase
|
|
247
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-TBEA6BY3.js";
|
|
248
248
|
import {
|
|
249
249
|
ASCII_LOGO,
|
|
250
250
|
BunShell,
|
|
@@ -285,10 +285,10 @@ import {
|
|
|
285
285
|
setCwd,
|
|
286
286
|
shouldApplyToolOutputTruncation,
|
|
287
287
|
truncateToolOutput
|
|
288
|
-
} from "./chunk-
|
|
288
|
+
} from "./chunk-VP5A6FKG.js";
|
|
289
289
|
import {
|
|
290
290
|
MACRO
|
|
291
|
-
} from "./chunk-
|
|
291
|
+
} from "./chunk-TXZ5UTGP.js";
|
|
292
292
|
import {
|
|
293
293
|
__export
|
|
294
294
|
} from "./chunk-I3J4JYES.js";
|
|
@@ -469,7 +469,7 @@ var getCommandSubcommandPrefix = memoize(
|
|
|
469
469
|
var getCommandPrefix = memoize(
|
|
470
470
|
async (command4, abortSignal) => {
|
|
471
471
|
const { systemPrompt, userPrompt } = buildBashCommandPrefixDetectionPrompt(command4);
|
|
472
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-
|
|
472
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-3KQG5NEP.js");
|
|
473
473
|
const response = await queryQuick2({
|
|
474
474
|
systemPrompt,
|
|
475
475
|
userPrompt,
|
|
@@ -4271,7 +4271,7 @@ function formatParseError(error) {
|
|
|
4271
4271
|
return error instanceof Error ? error.message : String(error);
|
|
4272
4272
|
}
|
|
4273
4273
|
async function defaultGateQuery(args) {
|
|
4274
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-
|
|
4274
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-3KQG5NEP.js");
|
|
4275
4275
|
const queryLLMFn = args.queryLLMOverride ?? queryLLM2;
|
|
4276
4276
|
const messages = [
|
|
4277
4277
|
{
|
|
@@ -6664,7 +6664,7 @@ var FileEditTool = {
|
|
|
6664
6664
|
const originalFileContent = currentFileContent;
|
|
6665
6665
|
let totalPatch = [];
|
|
6666
6666
|
const { SmartEdit } = await import("./smart-edit-AWHJDSU6.js");
|
|
6667
|
-
const { findLspAnchor } = await import("./lspAnchor-
|
|
6667
|
+
const { findLspAnchor } = await import("./lspAnchor-PPPTHRQH.js");
|
|
6668
6668
|
for (const op of editOperations) {
|
|
6669
6669
|
const normalizedSearch = normalizeLineEndings(op.search);
|
|
6670
6670
|
const normalizedReplace = normalizeLineEndings(op.replace);
|
|
@@ -12149,7 +12149,7 @@ async function createAndStoreApiKey(accessToken) {
|
|
|
12149
12149
|
}
|
|
12150
12150
|
saveGlobalConfig(config2);
|
|
12151
12151
|
try {
|
|
12152
|
-
const { resetAnthropicClient } = await import("./llm-
|
|
12152
|
+
const { resetAnthropicClient } = await import("./llm-3KQG5NEP.js");
|
|
12153
12153
|
resetAnthropicClient();
|
|
12154
12154
|
} catch {
|
|
12155
12155
|
}
|
|
@@ -16573,7 +16573,7 @@ async function refreshPluginRuntimeFromInstalls() {
|
|
|
16573
16573
|
const existingRoots = getSessionPlugins().map((p) => p.rootDir);
|
|
16574
16574
|
const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
|
|
16575
16575
|
if (dirs.length === 0) return [];
|
|
16576
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
16576
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-RU5STQ6F.js");
|
|
16577
16577
|
const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
|
|
16578
16578
|
return errors;
|
|
16579
16579
|
}
|
|
@@ -17248,7 +17248,7 @@ async function call(onDone, context) {
|
|
|
17248
17248
|
ModelConfig,
|
|
17249
17249
|
{
|
|
17250
17250
|
onClose: () => {
|
|
17251
|
-
import("./model-
|
|
17251
|
+
import("./model-6IW224UU.js").then(({ reloadModelManager: reloadModelManager2 }) => {
|
|
17252
17252
|
reloadModelManager2();
|
|
17253
17253
|
triggerModelConfigChange();
|
|
17254
17254
|
onDone();
|
|
@@ -25751,7 +25751,7 @@ function useStatusLine() {
|
|
|
25751
25751
|
// src/ui/components/PromptInput.tsx
|
|
25752
25752
|
async function interpretHashCommand(input) {
|
|
25753
25753
|
try {
|
|
25754
|
-
const { queryQuick: queryQuick2 } = await import("./llm-
|
|
25754
|
+
const { queryQuick: queryQuick2 } = await import("./llm-3KQG5NEP.js");
|
|
25755
25755
|
const systemPrompt = [
|
|
25756
25756
|
"You're helping the user structure notes that will be added to their PYB.md file.",
|
|
25757
25757
|
"Format the user's input into a well-structured note that will be useful for later reference.",
|
|
@@ -26064,7 +26064,7 @@ function PromptInput({
|
|
|
26064
26064
|
if (messages2.length) {
|
|
26065
26065
|
if (mode === "bash") {
|
|
26066
26066
|
onQuery(messages2, newAbortController).then(async () => {
|
|
26067
|
-
const { getCwd: getCwd2 } = await import("./state-
|
|
26067
|
+
const { getCwd: getCwd2 } = await import("./state-T57IG35V.js");
|
|
26068
26068
|
setCurrentPwd(getCwd2());
|
|
26069
26069
|
});
|
|
26070
26070
|
} else {
|
|
@@ -33896,7 +33896,7 @@ import { homedir as homedir8 } from "os";
|
|
|
33896
33896
|
// src/commands/agents/generation.ts
|
|
33897
33897
|
import { randomUUID as randomUUID6 } from "crypto";
|
|
33898
33898
|
async function generateAgentWithClaude(prompt) {
|
|
33899
|
-
const { queryModel } = await import("./llm-
|
|
33899
|
+
const { queryModel } = await import("./llm-3KQG5NEP.js");
|
|
33900
33900
|
const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
|
|
33901
33901
|
|
|
33902
33902
|
Return your response as a JSON object with exactly these fields:
|
|
@@ -41,57 +41,57 @@ import {
|
|
|
41
41
|
runWithTaskListEnv,
|
|
42
42
|
runWithTaskListId,
|
|
43
43
|
updateTask
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-6UNYL6XK.js";
|
|
45
45
|
import {
|
|
46
46
|
getCurrentSessionId
|
|
47
47
|
} from "./chunk-XKYHFZEC.js";
|
|
48
48
|
import {
|
|
49
49
|
queryLLM
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-4ZGZTWMR.js";
|
|
51
51
|
import {
|
|
52
52
|
FallbackToolUseRejectedMessage,
|
|
53
53
|
MCPTool,
|
|
54
54
|
getClients,
|
|
55
55
|
getMCPTools
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-H2ZE5QDY.js";
|
|
57
57
|
import {
|
|
58
58
|
emitReminderEvent
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-ZQR3MM2D.js";
|
|
60
60
|
import {
|
|
61
61
|
getActiveAgents,
|
|
62
62
|
getAgentByType,
|
|
63
63
|
getAvailableAgentTypes
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-NRQHLVJJ.js";
|
|
65
65
|
import {
|
|
66
66
|
INTERRUPT_MESSAGE,
|
|
67
67
|
createAssistantMessage,
|
|
68
68
|
createUserMessageFromBlocks,
|
|
69
69
|
createUserMessageFromText,
|
|
70
70
|
getLastAssistantMessageId
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-YQ2RQUQF.js";
|
|
72
72
|
import {
|
|
73
73
|
formatDuration,
|
|
74
74
|
formatNumber
|
|
75
75
|
} from "./chunk-OUXHGDLH.js";
|
|
76
76
|
import {
|
|
77
77
|
getAbsolutePath
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-HA7FKBZI.js";
|
|
79
79
|
import {
|
|
80
80
|
LspFacade,
|
|
81
81
|
formatDiagnosticsPretty
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-XRLMQN3Q.js";
|
|
83
83
|
import {
|
|
84
84
|
getModelManager
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-25GZITCX.js";
|
|
86
86
|
import {
|
|
87
87
|
getContext
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-RQ5X6LFM.js";
|
|
89
89
|
import {
|
|
90
90
|
getTheme
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-56IL2VXC.js";
|
|
92
92
|
import {
|
|
93
93
|
debug
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-TBEA6BY3.js";
|
|
95
95
|
import {
|
|
96
96
|
BunShell,
|
|
97
97
|
MEMORY_DIR,
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
overwriteLog,
|
|
104
104
|
readTaskOutput,
|
|
105
105
|
resolveXdgDataPath
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-VP5A6FKG.js";
|
|
107
107
|
|
|
108
108
|
// src/tools/index.ts
|
|
109
109
|
import { memoize as memoize2 } from "lodash-es";
|
|
@@ -784,7 +784,7 @@ async function analyzeOutputWithLsp(output, exitCode) {
|
|
|
784
784
|
if (exitCode !== 0 || errorCount > 0 || warningCount > 0) {
|
|
785
785
|
try {
|
|
786
786
|
const { isAbsolute: isAbsolute2, resolve: resolve3 } = await import("path");
|
|
787
|
-
const { getSessionRoot: getSessionRoot2 } = await import("./state-
|
|
787
|
+
const { getSessionRoot: getSessionRoot2 } = await import("./state-T57IG35V.js");
|
|
788
788
|
const lines = output.split("\n");
|
|
789
789
|
const uniqueFiles = /* @__PURE__ */ new Set();
|
|
790
790
|
const lspSuggestions = [];
|
|
@@ -1154,7 +1154,7 @@ var DeleteTool = {
|
|
|
1154
1154
|
}
|
|
1155
1155
|
if (!force) {
|
|
1156
1156
|
try {
|
|
1157
|
-
const { LspFacade: LspFacade2 } = await import("./lsp-
|
|
1157
|
+
const { LspFacade: LspFacade2 } = await import("./lsp-CTPOMI7O.js");
|
|
1158
1158
|
const referenceDetail = await LspFacade2.checkFileReferences(fullPath);
|
|
1159
1159
|
if (referenceDetail) {
|
|
1160
1160
|
failedItems.push(
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
} from "./chunk-XKYHFZEC.js";
|
|
7
7
|
import {
|
|
8
8
|
getGlobalConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3UWTN6DM.js";
|
|
10
10
|
import {
|
|
11
11
|
debug,
|
|
12
12
|
getCurrentRequest,
|
|
13
13
|
logAPIError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TBEA6BY3.js";
|
|
15
15
|
|
|
16
16
|
// src/services/ai/openai.ts
|
|
17
17
|
import { ProxyAgent, fetch } from "undici";
|
|
@@ -2,7 +2,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
logError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VP5A6FKG.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/session/conversationPersistence.ts
|
|
8
8
|
import {
|
|
@@ -2,7 +2,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
PERSISTENCE_VERSION
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EP62LHB7.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/session/conversationMessageState.ts
|
|
8
8
|
function mapFinishReason(rawReason) {
|
|
@@ -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-X5LLT4P2.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-56IL2VXC.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-3UWTN6DM.js";
|
|
23
23
|
import {
|
|
24
24
|
PRODUCT_COMMAND,
|
|
25
25
|
PRODUCT_NAME,
|
|
26
26
|
getCwd,
|
|
27
27
|
logMCPError
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-VP5A6FKG.js";
|
|
29
29
|
|
|
30
30
|
// src/services/mcp/client.ts
|
|
31
31
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "fs";
|
|
@@ -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-BED7SG2Q.js";
|
|
6
6
|
import {
|
|
7
7
|
getCwd,
|
|
8
8
|
logError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VP5A6FKG.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/fs/file.ts
|
|
12
12
|
import {
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
getSettingsFileCandidates,
|
|
9
9
|
loadSettingsWithLegacyFallback,
|
|
10
10
|
saveSettingsToPrimaryAndSyncLegacy
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-X5LLT4P2.js";
|
|
12
12
|
import {
|
|
13
13
|
getCurrentProjectConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3UWTN6DM.js";
|
|
15
15
|
import {
|
|
16
16
|
getCwd,
|
|
17
17
|
logError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VP5A6FKG.js";
|
|
19
19
|
|
|
20
20
|
// src/utils/permissions/toolPermissionSettings.ts
|
|
21
21
|
function uniqueStrings(value) {
|
|
@@ -2,13 +2,13 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
MarketplaceManifestSchema
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QE7PZPHW.js";
|
|
6
6
|
import {
|
|
7
7
|
parseFrontmatter
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5VO2CFAL.js";
|
|
9
9
|
import {
|
|
10
10
|
getCwd
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VP5A6FKG.js";
|
|
12
12
|
|
|
13
13
|
// src/services/plugins/pluginValidation.ts
|
|
14
14
|
import { existsSync, lstatSync, readFileSync } from "node:fs";
|
|
@@ -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-X5LLT4P2.js";
|
|
6
6
|
import {
|
|
7
7
|
debug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TBEA6BY3.js";
|
|
9
9
|
import {
|
|
10
10
|
env,
|
|
11
11
|
getSessionRoot,
|
|
12
12
|
resolveXdgDataPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VP5A6FKG.js";
|
|
14
14
|
import {
|
|
15
15
|
__require
|
|
16
16
|
} 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-TSAURYF2.js";
|
|
6
6
|
import {
|
|
7
7
|
isUuid
|
|
8
8
|
} from "./chunk-5P7HBXTD.js";
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
} from "./chunk-BJSWTHRM.js";
|
|
9
9
|
import {
|
|
10
10
|
debug
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TBEA6BY3.js";
|
|
12
12
|
import {
|
|
13
13
|
getCwd,
|
|
14
14
|
getXdgConfigDir,
|
|
15
15
|
logError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VP5A6FKG.js";
|
|
17
17
|
|
|
18
18
|
// src/utils/agent/loader.ts
|
|
19
19
|
import {
|
|
@@ -2,7 +2,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
|
|
4
4
|
// src/utils/text/generators.ts
|
|
5
|
-
var NO_VALUE = Symbol("NO_VALUE");
|
|
5
|
+
var NO_VALUE = /* @__PURE__ */ Symbol("NO_VALUE");
|
|
6
6
|
async function lastX(as) {
|
|
7
7
|
let lastValue = NO_VALUE;
|
|
8
8
|
for await (const a of as) {
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/utils/text/generators.ts"],
|
|
4
4
|
"sourcesContent": ["const NO_VALUE = Symbol('NO_VALUE')\n\nexport async function lastX<A>(as: AsyncGenerator<A>): Promise<A> {\n let lastValue: A | typeof NO_VALUE = NO_VALUE\n for await (const a of as) {\n lastValue = a\n }\n if (lastValue === NO_VALUE) {\n throw new Error('No items in generator')\n }\n return lastValue\n}\n\ntype QueuedGenerator<A> = {\n done: boolean | void\n value: A | void\n generator: AsyncGenerator<A, void>\n promise: Promise<QueuedGenerator<A>>\n}\n\nexport async function* all<A>(\n generators: AsyncGenerator<A, void>[],\n concurrencyCap = Infinity,\n): AsyncGenerator<A, void> {\n const next = (generator: AsyncGenerator<A, void>) => {\n const promise: Promise<QueuedGenerator<A>> = generator\n .next()\n .then(({ done, value }) => ({\n done,\n value,\n generator,\n promise,\n }))\n return promise\n }\n const waiting = [...generators]\n const promises = new Set<Promise<QueuedGenerator<A>>>()\n\n while (promises.size < concurrencyCap && waiting.length > 0) {\n const gen = waiting.shift()!\n promises.add(next(gen))\n }\n\n while (promises.size > 0) {\n const { done, value, generator, promise } = await Promise.race(promises)\n promises.delete(promise)\n\n if (!done) {\n promises.add(next(generator))\n if (value !== undefined) {\n yield value as A\n }\n } else if (waiting.length > 0) {\n const nextGen = waiting.shift()!\n promises.add(next(nextGen))\n }\n }\n}\n"],
|
|
5
|
-
"mappings": ";;;;AAAA,IAAM,WAAW,
|
|
5
|
+
"mappings": ";;;;AAAA,IAAM,WAAW,uBAAO,UAAU;AAElC,eAAsB,MAAS,IAAmC;AAChE,MAAI,YAAiC;AACrC,mBAAiB,KAAK,IAAI;AACxB,gBAAY;AAAA,EACd;AACA,MAAI,cAAc,UAAU;AAC1B,UAAM,IAAI,MAAM,uBAAuB;AAAA,EACzC;AACA,SAAO;AACT;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -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-BED7SG2Q.js";
|
|
6
6
|
import {
|
|
7
7
|
getCurrentProjectConfig,
|
|
8
8
|
getGlobalConfig,
|
|
9
9
|
getOrCreateUserID,
|
|
10
10
|
saveCurrentProjectConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3UWTN6DM.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-VP5A6FKG.js";
|
|
20
20
|
import {
|
|
21
21
|
MACRO
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-TXZ5UTGP.js";
|
|
23
23
|
import {
|
|
24
24
|
__require
|
|
25
25
|
} from "./chunk-I3J4JYES.js";
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
getSettingsFileCandidates,
|
|
8
8
|
loadSettingsWithLegacyFallback,
|
|
9
9
|
saveSettingsToPrimaryAndSyncLegacy
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-X5LLT4P2.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-VP5A6FKG.js";
|
|
18
18
|
|
|
19
19
|
// src/services/ui/outputStyles.ts
|
|
20
20
|
import figures from "figures";
|