pybao-cli 1.4.88 → 1.4.90
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-TTO2IQRM.js +49 -0
- package/dist/{acp-BEENZ4OG.js → acp-OT35RUBF.js} +30 -30
- package/dist/{agentsValidate-6TS3RP7C.js → agentsValidate-45DVX5U4.js} +7 -7
- package/dist/{ask-XWXGR2SJ.js → ask-4KFH62YK.js} +29 -29
- package/dist/{autoUpdater-QQFPDEHF.js → autoUpdater-UMYLWERI.js} +3 -3
- package/dist/{chunk-2R3GZBQB.js → chunk-2AW4LYQG.js} +2 -2
- package/dist/{chunk-IIAJFPXS.js → chunk-333OCTHA.js} +1 -1
- package/dist/{chunk-FPY7JUJY.js → chunk-37FH2OKV.js} +2 -2
- package/dist/{chunk-HFKLDRL6.js → chunk-4QNL7XTJ.js} +1 -1
- package/dist/{chunk-QYZL3BWL.js → chunk-6D7II3Y7.js} +1 -1
- package/dist/{chunk-5UF2H2E2.js → chunk-7VZHDZE5.js} +2 -2
- package/dist/{chunk-MR6ZKCPK.js → chunk-AYOLPZXM.js} +3 -3
- package/dist/{chunk-BQRQDLGU.js → chunk-B6UIIGWC.js} +1 -1
- package/dist/{chunk-VX76OKFG.js → chunk-BDD6DCE3.js} +53 -48
- package/dist/chunk-BDD6DCE3.js.map +7 -0
- package/dist/{chunk-ZWWHZISF.js → chunk-BKIC5CTA.js} +1 -1
- package/dist/{chunk-JPJAU5JW.js → chunk-BRG4PLXO.js} +4 -4
- package/dist/{chunk-SY4QMAAQ.js → chunk-CN7BN3MI.js} +4 -4
- package/dist/{chunk-3YEHOKKN.js → chunk-DKKJOMW4.js} +3 -3
- package/dist/{chunk-6SQZWXWO.js → chunk-FVIMNFRJ.js} +2 -2
- package/dist/{chunk-VDXEXIFH.js → chunk-GS2UUQSM.js} +2 -2
- package/dist/{chunk-WCDTF6NW.js → chunk-JZSJZNF3.js} +1 -1
- package/dist/{chunk-MQ3V6HZB.js → chunk-M2TGF2NN.js} +1 -1
- package/dist/{chunk-RGMF3LVN.js → chunk-MGYBZYKE.js} +1 -1
- package/dist/{chunk-I3Z4C5AC.js → chunk-MUMDKRMD.js} +48 -60
- package/dist/{chunk-I3Z4C5AC.js.map → chunk-MUMDKRMD.js.map} +2 -2
- package/dist/{chunk-M5HIDIWE.js → chunk-N2ASK2N3.js} +3 -3
- package/dist/{chunk-QGEZGMIE.js → chunk-NUCV5TTH.js} +4 -4
- package/dist/{chunk-X3I3243U.js → chunk-OMAOY7BP.js} +1 -1
- package/dist/{chunk-PITHFG75.js → chunk-OWNQL64Y.js} +3 -3
- package/dist/{chunk-UYI7DYIU.js → chunk-QX2EKLW2.js} +4 -4
- package/dist/{chunk-JHHE7BO3.js → chunk-S4KI74NJ.js} +1 -1
- package/dist/{chunk-C3T4PAJS.js → chunk-SCH7PGLK.js} +2 -2
- package/dist/{chunk-QW3B6I6E.js → chunk-TPXITLXC.js} +2 -2
- package/dist/{chunk-SKT3BY7F.js → chunk-XFRSL2X3.js} +3 -3
- package/dist/{chunk-ZGBDUNHT.js → chunk-YJ6HAEUA.js} +3 -3
- package/dist/{chunk-E4GAAM6W.js → chunk-YKGX2GNI.js} +1 -1
- package/dist/{chunk-E4GAAM6W.js.map → chunk-YKGX2GNI.js.map} +1 -1
- package/dist/{chunk-WJTA42UY.js → chunk-YSQK4H7K.js} +3 -3
- package/dist/{cli-2YSTIJL2.js → cli-TON2PHPZ.js} +89 -89
- package/dist/commands-EARF4IZ3.js +53 -0
- package/dist/{config-HGMVFQML.js → config-Z5VIUCJV.js} +4 -4
- package/dist/{context-G5BOQT22.js → context-OQKLSFJP.js} +6 -6
- package/dist/{conversationTracker-RHL6XD4T.js → conversationTracker-3DAPGH3B.js} +3 -3
- package/dist/{customCommands-HXXCOFR5.js → customCommands-2B32MGXH.js} +4 -4
- package/dist/{env-SZ3365S5.js → env-73GWTJCR.js} +2 -2
- package/dist/{file-RPHZQ3RA.js → file-QGLKWZVX.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-XU4EMDUR.js → llm-BGYGBU42.js} +30 -30
- package/dist/{llmLazy-HZSBL4PC.js → llmLazy-A3WRE6HY.js} +1 -1
- package/dist/{loader-T2INBRIA.js → loader-AVV75CR4.js} +4 -4
- package/dist/{lsp-QI3ZLTQV.js → lsp-EE4NHEND.js} +6 -6
- package/dist/{lspAnchor-6RF6HKGR.js → lspAnchor-YXNI5XB5.js} +6 -6
- package/dist/{mcp-WTUBCOJV.js → mcp-ERB4CBJE.js} +7 -7
- package/dist/{mentionProcessor-IIP6VLNA.js → mentionProcessor-O6LC3KFZ.js} +5 -5
- package/dist/{messages-F6CRVIM2.js → messages-6BD4P62E.js} +1 -1
- package/dist/{model-RWJEGEXK.js → model-UZ4JPL2J.js} +5 -5
- package/dist/{openai-5757TKOL.js → openai-FUAXVIE6.js} +5 -5
- package/dist/{outputStyles-K47WSCZW.js → outputStyles-IYL6USFV.js} +4 -4
- package/dist/{pluginRuntime-G6NDYAL4.js → pluginRuntime-S7MIUVFI.js} +6 -6
- package/dist/{pluginValidation-IYL2M6HJ.js → pluginValidation-WW63ZQCD.js} +6 -6
- package/dist/prompts-XLAXFM44.js +55 -0
- package/dist/{pybAgentSessionLoad-5P3463AO.js → pybAgentSessionLoad-EIOGO7DG.js} +4 -4
- package/dist/{pybAgentSessionResume-TB52PBOM.js → pybAgentSessionResume-6ASW4NCR.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-M6ARM5CR.js → pybAgentStreamJsonSession-ZSWOYF5Q.js} +1 -1
- package/dist/{pybHooks-UOKJXRAF.js → pybHooks-GXA3SJ2B.js} +4 -4
- package/dist/query-PWOWOTYL.js +57 -0
- package/dist/{registry-2FKPKBYH.js → registry-3AN23EAG.js} +5 -5
- package/dist/{ripgrep-UPERJ7LV.js → ripgrep-TIZ5CY7K.js} +3 -3
- package/dist/{skillMarketplace-GXL44WSR.js → skillMarketplace-MUNBX3IX.js} +3 -3
- package/dist/{state-USMPO4SG.js → state-MEP4G6PS.js} +2 -2
- package/dist/{theme-232GXJQZ.js → theme-BKBJMOYO.js} +5 -5
- package/dist/{toolPermissionSettings-DNL2KY42.js → toolPermissionSettings-U7VWUKZC.js} +6 -6
- package/dist/tools-SJSHHHWY.js +54 -0
- package/dist/{userInput-JKGT4IS5.js → userInput-D2TIJDJT.js} +31 -31
- package/package.json +1 -1
- package/dist/REPL-4FCYT7Z5.js +0 -49
- package/dist/chunk-VX76OKFG.js.map +0 -7
- package/dist/commands-6JZO4O4Y.js +0 -53
- package/dist/prompts-RK4IWH2Q.js +0 -55
- package/dist/query-LQLRUDFT.js +0 -57
- package/dist/tools-LGNPDPHO.js +0 -54
- /package/dist/{REPL-4FCYT7Z5.js.map → REPL-TTO2IQRM.js.map} +0 -0
- /package/dist/{acp-BEENZ4OG.js.map → acp-OT35RUBF.js.map} +0 -0
- /package/dist/{agentsValidate-6TS3RP7C.js.map → agentsValidate-45DVX5U4.js.map} +0 -0
- /package/dist/{ask-XWXGR2SJ.js.map → ask-4KFH62YK.js.map} +0 -0
- /package/dist/{autoUpdater-QQFPDEHF.js.map → autoUpdater-UMYLWERI.js.map} +0 -0
- /package/dist/{chunk-2R3GZBQB.js.map → chunk-2AW4LYQG.js.map} +0 -0
- /package/dist/{chunk-IIAJFPXS.js.map → chunk-333OCTHA.js.map} +0 -0
- /package/dist/{chunk-FPY7JUJY.js.map → chunk-37FH2OKV.js.map} +0 -0
- /package/dist/{chunk-HFKLDRL6.js.map → chunk-4QNL7XTJ.js.map} +0 -0
- /package/dist/{chunk-QYZL3BWL.js.map → chunk-6D7II3Y7.js.map} +0 -0
- /package/dist/{chunk-5UF2H2E2.js.map → chunk-7VZHDZE5.js.map} +0 -0
- /package/dist/{chunk-MR6ZKCPK.js.map → chunk-AYOLPZXM.js.map} +0 -0
- /package/dist/{chunk-BQRQDLGU.js.map → chunk-B6UIIGWC.js.map} +0 -0
- /package/dist/{chunk-ZWWHZISF.js.map → chunk-BKIC5CTA.js.map} +0 -0
- /package/dist/{chunk-JPJAU5JW.js.map → chunk-BRG4PLXO.js.map} +0 -0
- /package/dist/{chunk-SY4QMAAQ.js.map → chunk-CN7BN3MI.js.map} +0 -0
- /package/dist/{chunk-3YEHOKKN.js.map → chunk-DKKJOMW4.js.map} +0 -0
- /package/dist/{chunk-6SQZWXWO.js.map → chunk-FVIMNFRJ.js.map} +0 -0
- /package/dist/{chunk-VDXEXIFH.js.map → chunk-GS2UUQSM.js.map} +0 -0
- /package/dist/{chunk-WCDTF6NW.js.map → chunk-JZSJZNF3.js.map} +0 -0
- /package/dist/{chunk-MQ3V6HZB.js.map → chunk-M2TGF2NN.js.map} +0 -0
- /package/dist/{chunk-RGMF3LVN.js.map → chunk-MGYBZYKE.js.map} +0 -0
- /package/dist/{chunk-M5HIDIWE.js.map → chunk-N2ASK2N3.js.map} +0 -0
- /package/dist/{chunk-QGEZGMIE.js.map → chunk-NUCV5TTH.js.map} +0 -0
- /package/dist/{chunk-X3I3243U.js.map → chunk-OMAOY7BP.js.map} +0 -0
- /package/dist/{chunk-PITHFG75.js.map → chunk-OWNQL64Y.js.map} +0 -0
- /package/dist/{chunk-UYI7DYIU.js.map → chunk-QX2EKLW2.js.map} +0 -0
- /package/dist/{chunk-JHHE7BO3.js.map → chunk-S4KI74NJ.js.map} +0 -0
- /package/dist/{chunk-C3T4PAJS.js.map → chunk-SCH7PGLK.js.map} +0 -0
- /package/dist/{chunk-QW3B6I6E.js.map → chunk-TPXITLXC.js.map} +0 -0
- /package/dist/{chunk-SKT3BY7F.js.map → chunk-XFRSL2X3.js.map} +0 -0
- /package/dist/{chunk-ZGBDUNHT.js.map → chunk-YJ6HAEUA.js.map} +0 -0
- /package/dist/{chunk-WJTA42UY.js.map → chunk-YSQK4H7K.js.map} +0 -0
- /package/dist/{cli-2YSTIJL2.js.map → cli-TON2PHPZ.js.map} +0 -0
- /package/dist/{commands-6JZO4O4Y.js.map → commands-EARF4IZ3.js.map} +0 -0
- /package/dist/{config-HGMVFQML.js.map → config-Z5VIUCJV.js.map} +0 -0
- /package/dist/{context-G5BOQT22.js.map → context-OQKLSFJP.js.map} +0 -0
- /package/dist/{conversationTracker-RHL6XD4T.js.map → conversationTracker-3DAPGH3B.js.map} +0 -0
- /package/dist/{customCommands-HXXCOFR5.js.map → customCommands-2B32MGXH.js.map} +0 -0
- /package/dist/{env-SZ3365S5.js.map → env-73GWTJCR.js.map} +0 -0
- /package/dist/{file-RPHZQ3RA.js.map → file-QGLKWZVX.js.map} +0 -0
- /package/dist/{llm-XU4EMDUR.js.map → llm-BGYGBU42.js.map} +0 -0
- /package/dist/{llmLazy-HZSBL4PC.js.map → llmLazy-A3WRE6HY.js.map} +0 -0
- /package/dist/{loader-T2INBRIA.js.map → loader-AVV75CR4.js.map} +0 -0
- /package/dist/{lsp-QI3ZLTQV.js.map → lsp-EE4NHEND.js.map} +0 -0
- /package/dist/{lspAnchor-6RF6HKGR.js.map → lspAnchor-YXNI5XB5.js.map} +0 -0
- /package/dist/{mcp-WTUBCOJV.js.map → mcp-ERB4CBJE.js.map} +0 -0
- /package/dist/{mentionProcessor-IIP6VLNA.js.map → mentionProcessor-O6LC3KFZ.js.map} +0 -0
- /package/dist/{messages-F6CRVIM2.js.map → messages-6BD4P62E.js.map} +0 -0
- /package/dist/{model-RWJEGEXK.js.map → model-UZ4JPL2J.js.map} +0 -0
- /package/dist/{openai-5757TKOL.js.map → openai-FUAXVIE6.js.map} +0 -0
- /package/dist/{outputStyles-K47WSCZW.js.map → outputStyles-IYL6USFV.js.map} +0 -0
- /package/dist/{pluginRuntime-G6NDYAL4.js.map → pluginRuntime-S7MIUVFI.js.map} +0 -0
- /package/dist/{pluginValidation-IYL2M6HJ.js.map → pluginValidation-WW63ZQCD.js.map} +0 -0
- /package/dist/{prompts-RK4IWH2Q.js.map → prompts-XLAXFM44.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-5P3463AO.js.map → pybAgentSessionLoad-EIOGO7DG.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-TB52PBOM.js.map → pybAgentSessionResume-6ASW4NCR.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-M6ARM5CR.js.map → pybAgentStreamJsonSession-ZSWOYF5Q.js.map} +0 -0
- /package/dist/{pybHooks-UOKJXRAF.js.map → pybHooks-GXA3SJ2B.js.map} +0 -0
- /package/dist/{query-LQLRUDFT.js.map → query-PWOWOTYL.js.map} +0 -0
- /package/dist/{registry-2FKPKBYH.js.map → registry-3AN23EAG.js.map} +0 -0
- /package/dist/{ripgrep-UPERJ7LV.js.map → ripgrep-TIZ5CY7K.js.map} +0 -0
- /package/dist/{skillMarketplace-GXL44WSR.js.map → skillMarketplace-MUNBX3IX.js.map} +0 -0
- /package/dist/{state-USMPO4SG.js.map → state-MEP4G6PS.js.map} +0 -0
- /package/dist/{theme-232GXJQZ.js.map → theme-BKBJMOYO.js.map} +0 -0
- /package/dist/{toolPermissionSettings-DNL2KY42.js.map → toolPermissionSettings-U7VWUKZC.js.map} +0 -0
- /package/dist/{tools-LGNPDPHO.js.map → tools-SJSHHHWY.js.map} +0 -0
- /package/dist/{userInput-JKGT4IS5.js.map → userInput-D2TIJDJT.js.map} +0 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { createRequire as __pybCreateRequire } from "node:module";
|
|
2
|
+
const require = __pybCreateRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
REPL
|
|
5
|
+
} from "./chunk-MUMDKRMD.js";
|
|
6
|
+
import "./chunk-4QNL7XTJ.js";
|
|
7
|
+
import "./chunk-AYOLPZXM.js";
|
|
8
|
+
import "./chunk-BKIC5CTA.js";
|
|
9
|
+
import "./chunk-F4AXICO7.js";
|
|
10
|
+
import "./chunk-OMAOY7BP.js";
|
|
11
|
+
import "./chunk-SCH7PGLK.js";
|
|
12
|
+
import "./chunk-5P7HBXTD.js";
|
|
13
|
+
import "./chunk-YJ6HAEUA.js";
|
|
14
|
+
import "./chunk-7VZHDZE5.js";
|
|
15
|
+
import "./chunk-GS2UUQSM.js";
|
|
16
|
+
import "./chunk-XKYHFZEC.js";
|
|
17
|
+
import "./chunk-BRG4PLXO.js";
|
|
18
|
+
import "./chunk-CN7BN3MI.js";
|
|
19
|
+
import "./chunk-M2TGF2NN.js";
|
|
20
|
+
import "./chunk-N2ASK2N3.js";
|
|
21
|
+
import "./chunk-UNNVICVU.js";
|
|
22
|
+
import "./chunk-TPXITLXC.js";
|
|
23
|
+
import "./chunk-FVIMNFRJ.js";
|
|
24
|
+
import "./chunk-A3BVXXA3.js";
|
|
25
|
+
import "./chunk-S4KI74NJ.js";
|
|
26
|
+
import "./chunk-3DFBSQIT.js";
|
|
27
|
+
import "./chunk-B6IMQJZM.js";
|
|
28
|
+
import "./chunk-OUXHGDLH.js";
|
|
29
|
+
import "./chunk-37FH2OKV.js";
|
|
30
|
+
import "./chunk-QWIBSCDN.js";
|
|
31
|
+
import "./chunk-NUCV5TTH.js";
|
|
32
|
+
import "./chunk-DKKJOMW4.js";
|
|
33
|
+
import "./chunk-6D7II3Y7.js";
|
|
34
|
+
import "./chunk-UZ34JEUK.js";
|
|
35
|
+
import "./chunk-2AW4LYQG.js";
|
|
36
|
+
import "./chunk-BJSWTHRM.js";
|
|
37
|
+
import "./chunk-XFRSL2X3.js";
|
|
38
|
+
import "./chunk-QX2EKLW2.js";
|
|
39
|
+
import "./chunk-MGYBZYKE.js";
|
|
40
|
+
import "./chunk-333OCTHA.js";
|
|
41
|
+
import "./chunk-YSQK4H7K.js";
|
|
42
|
+
import "./chunk-RQVLBMP7.js";
|
|
43
|
+
import "./chunk-B6UIIGWC.js";
|
|
44
|
+
import "./chunk-JZSJZNF3.js";
|
|
45
|
+
import "./chunk-YKGX2GNI.js";
|
|
46
|
+
import "./chunk-I3J4JYES.js";
|
|
47
|
+
export {
|
|
48
|
+
REPL
|
|
49
|
+
};
|
|
@@ -6,75 +6,75 @@ import {
|
|
|
6
6
|
} from "./chunk-MWPFU2KU.js";
|
|
7
7
|
import {
|
|
8
8
|
getTools
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BDD6DCE3.js";
|
|
10
10
|
import {
|
|
11
11
|
getCommands,
|
|
12
12
|
getSystemPrompt,
|
|
13
13
|
grantReadPermissionForOriginalDir,
|
|
14
14
|
hasPermissionsToUseTool,
|
|
15
15
|
query
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-MUMDKRMD.js";
|
|
17
|
+
import "./chunk-4QNL7XTJ.js";
|
|
18
|
+
import "./chunk-AYOLPZXM.js";
|
|
19
19
|
import {
|
|
20
20
|
ConversationTracker,
|
|
21
21
|
FileSystemConversationPersistence
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-BKIC5CTA.js";
|
|
23
23
|
import "./chunk-F4AXICO7.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-OMAOY7BP.js";
|
|
25
|
+
import "./chunk-SCH7PGLK.js";
|
|
26
26
|
import "./chunk-5P7HBXTD.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-YJ6HAEUA.js";
|
|
28
|
+
import "./chunk-7VZHDZE5.js";
|
|
29
|
+
import "./chunk-GS2UUQSM.js";
|
|
30
30
|
import {
|
|
31
31
|
ensureSessionState,
|
|
32
32
|
getCurrentSessionId,
|
|
33
33
|
setCurrentSessionId
|
|
34
34
|
} from "./chunk-XKYHFZEC.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-BRG4PLXO.js";
|
|
36
36
|
import {
|
|
37
37
|
getClients
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-CN7BN3MI.js";
|
|
39
|
+
import "./chunk-M2TGF2NN.js";
|
|
40
40
|
import {
|
|
41
41
|
loadToolPermissionContextFromDisk,
|
|
42
42
|
persistToolPermissionUpdateToDisk
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-N2ASK2N3.js";
|
|
44
44
|
import {
|
|
45
45
|
applyToolPermissionContextUpdates
|
|
46
46
|
} from "./chunk-UNNVICVU.js";
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-TPXITLXC.js";
|
|
48
|
+
import "./chunk-FVIMNFRJ.js";
|
|
49
49
|
import "./chunk-A3BVXXA3.js";
|
|
50
50
|
import {
|
|
51
51
|
createAssistantMessage,
|
|
52
52
|
createUserTurnMessage
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-S4KI74NJ.js";
|
|
54
54
|
import "./chunk-3DFBSQIT.js";
|
|
55
55
|
import "./chunk-B6IMQJZM.js";
|
|
56
56
|
import "./chunk-OUXHGDLH.js";
|
|
57
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-37FH2OKV.js";
|
|
58
58
|
import "./chunk-QWIBSCDN.js";
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-NUCV5TTH.js";
|
|
60
|
+
import "./chunk-DKKJOMW4.js";
|
|
61
|
+
import "./chunk-6D7II3Y7.js";
|
|
62
62
|
import "./chunk-UZ34JEUK.js";
|
|
63
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-2AW4LYQG.js";
|
|
64
64
|
import "./chunk-BJSWTHRM.js";
|
|
65
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-XFRSL2X3.js";
|
|
66
66
|
import {
|
|
67
67
|
getContext
|
|
68
|
-
} from "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
68
|
+
} from "./chunk-QX2EKLW2.js";
|
|
69
|
+
import "./chunk-MGYBZYKE.js";
|
|
70
|
+
import "./chunk-333OCTHA.js";
|
|
71
71
|
import {
|
|
72
72
|
enableConfigs
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-YSQK4H7K.js";
|
|
74
74
|
import "./chunk-RQVLBMP7.js";
|
|
75
75
|
import {
|
|
76
76
|
initDebugLogger
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-B6UIIGWC.js";
|
|
78
78
|
import {
|
|
79
79
|
PRODUCT_COMMAND,
|
|
80
80
|
initSentry,
|
|
@@ -82,10 +82,10 @@ import {
|
|
|
82
82
|
resolveXdgDataPath,
|
|
83
83
|
setCwd,
|
|
84
84
|
setOriginalCwd
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-JZSJZNF3.js";
|
|
86
86
|
import {
|
|
87
87
|
MACRO
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-YKGX2GNI.js";
|
|
89
89
|
import "./chunk-I3J4JYES.js";
|
|
90
90
|
|
|
91
91
|
// src/acp/jsonrpc.ts
|
|
@@ -2,14 +2,14 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
getModelManager
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-XFRSL2X3.js";
|
|
6
|
+
import "./chunk-YSQK4H7K.js";
|
|
7
7
|
import "./chunk-RQVLBMP7.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-B6UIIGWC.js";
|
|
9
9
|
import {
|
|
10
10
|
getXdgConfigDir
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-JZSJZNF3.js";
|
|
12
|
+
import "./chunk-YKGX2GNI.js";
|
|
13
13
|
import "./chunk-I3J4JYES.js";
|
|
14
14
|
|
|
15
15
|
// src/entrypoints/cli/agentsValidate.ts
|
|
@@ -344,8 +344,8 @@ async function validateAgentTemplates(args) {
|
|
|
344
344
|
let knownToolNames;
|
|
345
345
|
if (args.checkTools) {
|
|
346
346
|
try {
|
|
347
|
-
const { getTools } = await import("./tools-
|
|
348
|
-
const { getCurrentProjectConfig } = await import("./config-
|
|
347
|
+
const { getTools } = await import("./tools-SJSHHHWY.js");
|
|
348
|
+
const { getCurrentProjectConfig } = await import("./config-Z5VIUCJV.js");
|
|
349
349
|
const allTools = await getTools(getCurrentProjectConfig().enableArchitectTool);
|
|
350
350
|
knownToolNames = new Set(allTools.map((t) => t.name));
|
|
351
351
|
} catch {
|
|
@@ -3,63 +3,63 @@ const require = __pybCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
getSystemPrompt,
|
|
5
5
|
query
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-MUMDKRMD.js";
|
|
7
|
+
import "./chunk-4QNL7XTJ.js";
|
|
8
|
+
import "./chunk-AYOLPZXM.js";
|
|
9
9
|
import {
|
|
10
10
|
ConversationTracker
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BKIC5CTA.js";
|
|
12
12
|
import {
|
|
13
13
|
beginReplSessionScope
|
|
14
14
|
} from "./chunk-F4AXICO7.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-OMAOY7BP.js";
|
|
16
|
+
import "./chunk-SCH7PGLK.js";
|
|
17
17
|
import "./chunk-5P7HBXTD.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-YJ6HAEUA.js";
|
|
19
|
+
import "./chunk-7VZHDZE5.js";
|
|
20
|
+
import "./chunk-GS2UUQSM.js";
|
|
21
21
|
import "./chunk-XKYHFZEC.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-BRG4PLXO.js";
|
|
23
|
+
import "./chunk-CN7BN3MI.js";
|
|
24
|
+
import "./chunk-M2TGF2NN.js";
|
|
25
|
+
import "./chunk-N2ASK2N3.js";
|
|
26
26
|
import "./chunk-UNNVICVU.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-TPXITLXC.js";
|
|
28
|
+
import "./chunk-FVIMNFRJ.js";
|
|
29
29
|
import "./chunk-A3BVXXA3.js";
|
|
30
30
|
import {
|
|
31
31
|
createUserTurnMessage
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-S4KI74NJ.js";
|
|
33
33
|
import "./chunk-3DFBSQIT.js";
|
|
34
34
|
import "./chunk-B6IMQJZM.js";
|
|
35
35
|
import {
|
|
36
36
|
getTotalCost
|
|
37
37
|
} from "./chunk-OUXHGDLH.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-37FH2OKV.js";
|
|
39
39
|
import "./chunk-QWIBSCDN.js";
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-NUCV5TTH.js";
|
|
41
|
+
import "./chunk-DKKJOMW4.js";
|
|
42
|
+
import "./chunk-6D7II3Y7.js";
|
|
43
43
|
import "./chunk-UZ34JEUK.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-2AW4LYQG.js";
|
|
45
45
|
import "./chunk-BJSWTHRM.js";
|
|
46
46
|
import {
|
|
47
47
|
getModelManager
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-XFRSL2X3.js";
|
|
49
49
|
import {
|
|
50
50
|
getContext
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-QX2EKLW2.js";
|
|
52
|
+
import "./chunk-MGYBZYKE.js";
|
|
53
|
+
import "./chunk-333OCTHA.js";
|
|
54
|
+
import "./chunk-YSQK4H7K.js";
|
|
55
55
|
import "./chunk-RQVLBMP7.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-B6UIIGWC.js";
|
|
57
57
|
import {
|
|
58
58
|
getMessagesPath,
|
|
59
59
|
overwriteLog,
|
|
60
60
|
setCwd
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import "./chunk-
|
|
61
|
+
} from "./chunk-JZSJZNF3.js";
|
|
62
|
+
import "./chunk-YKGX2GNI.js";
|
|
63
63
|
import "./chunk-I3J4JYES.js";
|
|
64
64
|
|
|
65
65
|
// src/app/ask.ts
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
checkAndNotifyUpdate,
|
|
6
6
|
getLatestVersion,
|
|
7
7
|
getUpdateCommandSuggestions
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-OWNQL64Y.js";
|
|
9
|
+
import "./chunk-JZSJZNF3.js";
|
|
10
|
+
import "./chunk-YKGX2GNI.js";
|
|
11
11
|
import "./chunk-I3J4JYES.js";
|
|
12
12
|
export {
|
|
13
13
|
assertMinVersion,
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
} from "./chunk-BJSWTHRM.js";
|
|
6
6
|
import {
|
|
7
7
|
debug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-B6UIIGWC.js";
|
|
9
9
|
import {
|
|
10
10
|
getCwd,
|
|
11
11
|
logError,
|
|
12
12
|
resolveXdgDataPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-JZSJZNF3.js";
|
|
14
14
|
|
|
15
15
|
// src/services/plugins/customCommands.ts
|
|
16
16
|
import { existsSync, readFileSync, readdirSync, statSync } 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-MGYBZYKE.js";
|
|
6
6
|
import {
|
|
7
7
|
getCwd,
|
|
8
8
|
logError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JZSJZNF3.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/fs/file.ts
|
|
12
12
|
import {
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
getSettingsFileCandidates,
|
|
8
8
|
loadSettingsWithLegacyFallback,
|
|
9
9
|
saveSettingsToPrimaryAndSyncLegacy
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6D7II3Y7.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-JZSJZNF3.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
|
MarketplaceManifestSchema
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-M2TGF2NN.js";
|
|
6
6
|
import {
|
|
7
7
|
parseFrontmatter
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2AW4LYQG.js";
|
|
9
9
|
import {
|
|
10
10
|
getCwd
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JZSJZNF3.js";
|
|
12
12
|
|
|
13
13
|
// src/services/plugins/pluginValidation.ts
|
|
14
14
|
import { existsSync, lstatSync, readFileSync } from "node:fs";
|
|
@@ -34,60 +34,60 @@ import {
|
|
|
34
34
|
runWithTaskListEnv,
|
|
35
35
|
runWithTaskListId,
|
|
36
36
|
updateTask
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-MUMDKRMD.js";
|
|
38
38
|
import {
|
|
39
39
|
getCurrentSessionId
|
|
40
40
|
} from "./chunk-XKYHFZEC.js";
|
|
41
41
|
import {
|
|
42
42
|
queryLLM
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-BRG4PLXO.js";
|
|
44
44
|
import {
|
|
45
45
|
FallbackToolUseRejectedMessage,
|
|
46
46
|
MCPTool,
|
|
47
47
|
getClients,
|
|
48
48
|
getMCPTools
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-CN7BN3MI.js";
|
|
50
50
|
import {
|
|
51
51
|
emitReminderEvent
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-TPXITLXC.js";
|
|
53
53
|
import {
|
|
54
54
|
getActiveAgents,
|
|
55
55
|
getAgentByType,
|
|
56
56
|
getAvailableAgentTypes
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-FVIMNFRJ.js";
|
|
58
58
|
import {
|
|
59
59
|
INTERRUPT_MESSAGE,
|
|
60
60
|
createAssistantMessage,
|
|
61
61
|
createUserMessage,
|
|
62
62
|
getLastAssistantMessageId
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-S4KI74NJ.js";
|
|
64
64
|
import {
|
|
65
65
|
formatDuration,
|
|
66
66
|
formatNumber
|
|
67
67
|
} from "./chunk-OUXHGDLH.js";
|
|
68
68
|
import {
|
|
69
69
|
getAbsolutePath
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-37FH2OKV.js";
|
|
71
71
|
import {
|
|
72
72
|
LspFacade,
|
|
73
73
|
formatDiagnosticsPretty
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-NUCV5TTH.js";
|
|
75
75
|
import {
|
|
76
76
|
getModelManager
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-XFRSL2X3.js";
|
|
78
78
|
import {
|
|
79
79
|
getContext
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-QX2EKLW2.js";
|
|
81
81
|
import {
|
|
82
82
|
filesToTree,
|
|
83
83
|
ripGrepWithStatus
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-MGYBZYKE.js";
|
|
85
85
|
import {
|
|
86
86
|
getTheme
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-333OCTHA.js";
|
|
88
88
|
import {
|
|
89
89
|
debug
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-B6UIIGWC.js";
|
|
91
91
|
import {
|
|
92
92
|
BunShell,
|
|
93
93
|
getCwd,
|
|
@@ -98,7 +98,7 @@ import {
|
|
|
98
98
|
overwriteLog,
|
|
99
99
|
readTaskOutput,
|
|
100
100
|
resolveXdgDataPath
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-JZSJZNF3.js";
|
|
102
102
|
|
|
103
103
|
// src/tools/index.ts
|
|
104
104
|
import { memoize as memoize2 } from "lodash-es";
|
|
@@ -777,7 +777,7 @@ async function analyzeOutputWithLsp(output, exitCode) {
|
|
|
777
777
|
if (exitCode !== 0 || errorCount > 0 || warningCount > 0) {
|
|
778
778
|
try {
|
|
779
779
|
const { isAbsolute: isAbsolute3, resolve: resolve4 } = await import("path");
|
|
780
|
-
const { getSessionRoot: getSessionRoot2 } = await import("./state-
|
|
780
|
+
const { getSessionRoot: getSessionRoot2 } = await import("./state-MEP4G6PS.js");
|
|
781
781
|
const lines = output.split("\n");
|
|
782
782
|
const uniqueFiles = /* @__PURE__ */ new Set();
|
|
783
783
|
const lspSuggestions = [];
|
|
@@ -1150,7 +1150,7 @@ var DeleteTool = {
|
|
|
1150
1150
|
}
|
|
1151
1151
|
if (!force) {
|
|
1152
1152
|
try {
|
|
1153
|
-
const { LspFacade: LspFacade2 } = await import("./lsp-
|
|
1153
|
+
const { LspFacade: LspFacade2 } = await import("./lsp-EE4NHEND.js");
|
|
1154
1154
|
const referenceDetail = await LspFacade2.checkFileReferences(fullPath);
|
|
1155
1155
|
if (referenceDetail) {
|
|
1156
1156
|
failedItems.push(
|
|
@@ -3109,14 +3109,18 @@ Use this tool proactively in these scenarios:
|
|
|
3109
3109
|
|
|
3110
3110
|
## When NOT to Use This Tool
|
|
3111
3111
|
|
|
3112
|
-
Skip using this tool when:
|
|
3112
|
+
Skip using this tool only when:
|
|
3113
3113
|
|
|
3114
|
-
1.
|
|
3115
|
-
2.
|
|
3116
|
-
3. The
|
|
3117
|
-
4.
|
|
3114
|
+
1. The request is truly trivial and one-step
|
|
3115
|
+
2. It can be completed safely in less than 2 trivial steps with no follow-up work
|
|
3116
|
+
3. The interaction is purely conversational/informational
|
|
3117
|
+
4. You are only updating status or details of an existing task (use TaskUpdate)
|
|
3118
3118
|
|
|
3119
|
-
|
|
3119
|
+
## Trigger Timing
|
|
3120
|
+
- Use TaskCreate when starting implementation work.
|
|
3121
|
+
- Use TaskCreate when the user adds new requirements.
|
|
3122
|
+
- Use TaskCreate when scope changes during execution.
|
|
3123
|
+
- Use TaskCreate when a milestone is completed and the next concrete work unit begins.
|
|
3120
3124
|
|
|
3121
3125
|
## Input Notes
|
|
3122
3126
|
- subject is required.
|
|
@@ -3129,6 +3133,7 @@ NOTE that you should not use this tool if you are only updating status or detail
|
|
|
3129
3133
|
- Task ordering relies on task id; do not use priority fields.
|
|
3130
3134
|
- Use metadata.planFinalized="true" in TaskUpdate when dependencies are ready to be validated globally.
|
|
3131
3135
|
- Do not mention tool names or tool usage in user-facing messages.
|
|
3136
|
+
- When uncertain whether to track, prefer tracking.
|
|
3132
3137
|
|
|
3133
3138
|
## Field Guidance
|
|
3134
3139
|
- subject: concise task name that reads like a goal.
|
|
@@ -3889,12 +3894,12 @@ import React9 from "react";
|
|
|
3889
3894
|
import { Text as Text9 } from "ink";
|
|
3890
3895
|
|
|
3891
3896
|
// src/tools/system/ThinkTool/prompt.ts
|
|
3892
|
-
var DESCRIPTION10 = "A structured thinking tool for
|
|
3893
|
-
var PROMPT10 = `## Think
|
|
3897
|
+
var DESCRIPTION10 = "A reliable structured Ultra thinking tool for problem-solving through sequential reasoning, revision, and branching analysis. Supports step-by-step decomposition of complex problems with revision and alternative path exploration.";
|
|
3898
|
+
var PROMPT10 = `## Ultra-Think - Structured Sequential Thinking
|
|
3894
3899
|
|
|
3895
|
-
Use
|
|
3900
|
+
Use Ultra-Think for **structured, step-by-step reasoning** on problems. This tool helps you think systematically by breaking down complex problems into manageable steps, with support for revision and alternative path exploration.
|
|
3896
3901
|
|
|
3897
|
-
### \u{1F3AF} When to Use Sequential Thinking
|
|
3902
|
+
### \u{1F3AF} When to Use Sequential Ultra-Thinking
|
|
3898
3903
|
|
|
3899
3904
|
**Ideal scenarios:**
|
|
3900
3905
|
- **Complex problem decomposition** - Breaking a large problem into logical steps
|
|
@@ -3922,7 +3927,7 @@ Use the Think tool for **structured, step-by-step reasoning** on complex problem
|
|
|
3922
3927
|
**Advanced fields:**
|
|
3923
3928
|
- \`parentThought\` (integer): The existing thought number you are revising or branching from
|
|
3924
3929
|
|
|
3925
|
-
### \u{1F504} Sequential Thinking Workflow
|
|
3930
|
+
### \u{1F504} Sequential Ultra-Thinking Workflow
|
|
3926
3931
|
|
|
3927
3932
|
#### 1. Starting a Thinking Sequence
|
|
3928
3933
|
|
|
@@ -4089,21 +4094,21 @@ Use the Think tool for **structured, step-by-step reasoning** on complex problem
|
|
|
4089
4094
|
|
|
4090
4095
|
### \u{1F527} Integration with Other Tools
|
|
4091
4096
|
|
|
4092
|
-
**Think \u2192 Plan workflow:**
|
|
4093
|
-
1. Use Think to analyze the problem and identify key factors
|
|
4094
|
-
2. Use Think to generate and compare multiple approaches
|
|
4095
|
-
3. Use Think to finalize the recommended solution
|
|
4097
|
+
**Ultra-Think \u2192 Plan workflow:**
|
|
4098
|
+
1. Use Ultra-Think to analyze the problem and identify key factors
|
|
4099
|
+
2. Use Ultra-Think to generate and compare multiple approaches
|
|
4100
|
+
3. Use Ultra-Think to finalize the recommended solution
|
|
4096
4101
|
4. Use Task/Write tools to implement the chosen approach
|
|
4097
4102
|
|
|
4098
|
-
**Think \u2192 Debug workflow:**
|
|
4099
|
-
1. Use Think to list hypotheses about the bug cause
|
|
4100
|
-
2. Use Think to design experiments to test each hypothesis
|
|
4103
|
+
**Ultra-Think \u2192 Debug workflow:**
|
|
4104
|
+
1. Use Ultra-Think to list hypotheses about the bug cause
|
|
4105
|
+
2. Use Ultra-Think to design experiments to test each hypothesis
|
|
4101
4106
|
3. Use Bash/Read tools to run experiments
|
|
4102
|
-
4. Use Think to analyze results and narrow down the cause
|
|
4107
|
+
4. Use Ultra-Think to analyze results and narrow down the cause
|
|
4103
4108
|
|
|
4104
|
-
**Think \u2192 Edit workflow:**
|
|
4105
|
-
1. Use Think to understand the code structure and plan the edit
|
|
4106
|
-
2. Use Think to identify potential side effects and risks
|
|
4109
|
+
**Ultra-Think \u2192 Edit workflow:**
|
|
4110
|
+
1. Use Ultra-Think to understand the code structure and plan the edit
|
|
4111
|
+
2. Use Ultra-Think to identify potential side effects and risks
|
|
4107
4112
|
3. Use Read tools to verify your understanding
|
|
4108
4113
|
4. Use Edit tools to implement the changes
|
|
4109
4114
|
|
|
@@ -4147,17 +4152,17 @@ var validateParentThought = (parentThought, sessionThoughts) => {
|
|
|
4147
4152
|
}
|
|
4148
4153
|
};
|
|
4149
4154
|
var computeRevisionNumber = (parentThought, sessionThoughts) => sessionThoughts.filter((entry) => entry.parentThought === parentThought).length + 1;
|
|
4150
|
-
var
|
|
4155
|
+
var formatUltraThinkToolUseMessage = (input) => {
|
|
4151
4156
|
const header = typeof input.thoughtNumber === "number" && typeof input.totalThoughts === "number" ? `#${input.thoughtNumber}/${input.totalThoughts}` : typeof input.thoughtNumber === "number" ? `#${input.thoughtNumber}` : "";
|
|
4152
4157
|
const body = typeof input.parentThought === "number" ? `revise #${input.parentThought}: ${input.thought}` : input.thought;
|
|
4153
4158
|
return header ? `${header} ${body}` : body;
|
|
4154
4159
|
};
|
|
4155
|
-
var
|
|
4156
|
-
name: "
|
|
4157
|
-
userFacingName: () => "Think",
|
|
4160
|
+
var UltraThinkTool = {
|
|
4161
|
+
name: "Ultra-ThinkTool",
|
|
4162
|
+
userFacingName: () => "Ultra-Think",
|
|
4158
4163
|
description: async () => DESCRIPTION10,
|
|
4159
4164
|
inputSchema: thinkToolSchema,
|
|
4160
|
-
isEnabled: async () => isEnabledFlag(process.env.PYB_THINK_TOOL),
|
|
4165
|
+
isEnabled: async () => isEnabledFlag(process.env.PYB_ULTRA_THINK_TOOL ?? process.env.PYB_THINK_TOOL),
|
|
4161
4166
|
isReadOnly: () => true,
|
|
4162
4167
|
isConcurrencySafe: () => false,
|
|
4163
4168
|
needsPermissions: () => false,
|
|
@@ -4191,7 +4196,7 @@ var ThinkTool = {
|
|
|
4191
4196
|
sessionThoughts.push(entry);
|
|
4192
4197
|
yield {
|
|
4193
4198
|
type: "result",
|
|
4194
|
-
resultForAssistant: `
|
|
4199
|
+
resultForAssistant: `Ultra-Think step #${entry.currentThought} logged.`,
|
|
4195
4200
|
data: {
|
|
4196
4201
|
thought: entry.thought,
|
|
4197
4202
|
thoughtNumber: entry.thoughtNumber,
|
|
@@ -4205,12 +4210,12 @@ var ThinkTool = {
|
|
|
4205
4210
|
};
|
|
4206
4211
|
},
|
|
4207
4212
|
renderToolUseMessage(input) {
|
|
4208
|
-
return
|
|
4213
|
+
return formatUltraThinkToolUseMessage(input);
|
|
4209
4214
|
},
|
|
4210
4215
|
renderToolUseRejectedMessage() {
|
|
4211
|
-
return /* @__PURE__ */ React9.createElement(MessageResponse, { children: /* @__PURE__ */ React9.createElement(Text9, { color: getTheme().error }, "
|
|
4216
|
+
return /* @__PURE__ */ React9.createElement(MessageResponse, { children: /* @__PURE__ */ React9.createElement(Text9, { color: getTheme().error }, "Ultra-Think cancelled") });
|
|
4212
4217
|
},
|
|
4213
|
-
renderResultForAssistant: () => "Your
|
|
4218
|
+
renderResultForAssistant: () => "Your Ultra-Think step has been logged."
|
|
4214
4219
|
};
|
|
4215
4220
|
|
|
4216
4221
|
// src/tools/index.ts
|
|
@@ -4235,7 +4240,7 @@ var getAllTools = () => [
|
|
|
4235
4240
|
TaskListTool,
|
|
4236
4241
|
WebFetchTool,
|
|
4237
4242
|
WebSearchTool,
|
|
4238
|
-
|
|
4243
|
+
UltraThinkTool,
|
|
4239
4244
|
AskUserQuestionTool,
|
|
4240
4245
|
SlashCommandTool,
|
|
4241
4246
|
SkillTool,
|