pybao-cli 1.4.87 → 1.4.89
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-VRZRANK3.js +49 -0
- package/dist/{acp-EPMYLWYS.js → acp-SMGE3N7N.js} +30 -30
- package/dist/{agentsValidate-BR5ILRIF.js → agentsValidate-FJNQTZ6L.js} +7 -7
- package/dist/{ask-WYF2I52E.js → ask-2XWNVTSB.js} +29 -29
- package/dist/{autoUpdater-YI4LRWHE.js → autoUpdater-7PB65YC7.js} +3 -3
- package/dist/{chunk-W5T2EMXZ.js → chunk-3JTP3A2Y.js} +1 -1
- package/dist/{chunk-2FRALZLB.js → chunk-3WX6M33B.js} +1 -1
- package/dist/{chunk-CHZWE2GX.js → chunk-4CTXCXJV.js} +2 -2
- package/dist/{chunk-GAJY2O7L.js → chunk-5DBEI4U3.js} +2 -2
- package/dist/{chunk-M4BJXPOT.js → chunk-5DKBPIUY.js} +2 -2
- package/dist/{chunk-QJZPWPWV.js → chunk-5N4LX65G.js} +3 -3
- package/dist/{chunk-IFXTFBIG.js → chunk-67D6QME2.js} +1 -1
- package/dist/{chunk-IFXTFBIG.js.map → chunk-67D6QME2.js.map} +1 -1
- package/dist/{chunk-Y4LJKT4E.js → chunk-A5255NE3.js} +1 -1
- package/dist/{chunk-WZNSDCPB.js → chunk-CSP6P6NO.js} +2 -2
- package/dist/{chunk-3QBDV77K.js → chunk-DRHWOS44.js} +1 -1
- package/dist/{chunk-4J7OCHGE.js → chunk-FYLGTG5A.js} +4 -4
- package/dist/{chunk-MX4QA7FT.js → chunk-HVJRX43N.js} +48 -59
- package/dist/{chunk-MX4QA7FT.js.map → chunk-HVJRX43N.js.map} +2 -2
- package/dist/{chunk-YRGTLXHU.js → chunk-I72YSEMN.js} +4 -4
- package/dist/{chunk-QQFIPQ76.js → chunk-IUXFIASK.js} +3 -3
- package/dist/{chunk-36EAJNBS.js → chunk-JDMIFTZT.js} +1 -1
- package/dist/{chunk-MXQ65O7M.js → chunk-JJSCNIBA.js} +1 -1
- package/dist/{chunk-57M7VOVY.js → chunk-JQBOODVQ.js} +3 -3
- package/dist/{chunk-TB3ZV5SP.js → chunk-JW3MBSMJ.js} +27 -22
- package/dist/{chunk-TB3ZV5SP.js.map → chunk-JW3MBSMJ.js.map} +2 -2
- package/dist/{chunk-S52TK4GY.js → chunk-KHSTNHZE.js} +4 -4
- package/dist/{chunk-5SAYYPEA.js → chunk-LV4FISWZ.js} +3 -3
- package/dist/{chunk-RYEKTEXT.js → chunk-NZPUVS6K.js} +1 -1
- package/dist/{chunk-CRVBBTL7.js → chunk-R2BVICE2.js} +1 -1
- package/dist/{chunk-6J5LJ5YA.js → chunk-RLD57RVF.js} +1 -1
- package/dist/{chunk-PJCN2YUU.js → chunk-THQLFNKQ.js} +3 -3
- package/dist/{chunk-WS3ZXWWH.js → chunk-UAMS53ZK.js} +2 -2
- package/dist/{chunk-IT234CFF.js → chunk-UIGWD3MR.js} +1 -1
- package/dist/{chunk-6YXOEWR2.js → chunk-UNDLA4M4.js} +3 -3
- package/dist/{chunk-ICV7AFSR.js → chunk-XAABWNGX.js} +4 -4
- package/dist/{chunk-VV25PU6H.js → chunk-YAC4ZESX.js} +2 -2
- package/dist/{chunk-F6FUMSOC.js → chunk-YNDZ73R7.js} +2 -2
- package/dist/{chunk-SOWMVTRY.js → chunk-YVW2YZZ3.js} +3 -3
- package/dist/{cli-FCJA5DGG.js → cli-PTMHC2XV.js} +89 -89
- package/dist/commands-52E2E77C.js +53 -0
- package/dist/{config-SA7NSVAH.js → config-MCXPTUSG.js} +4 -4
- package/dist/{context-JIVLDQUD.js → context-ZJZSHKCR.js} +6 -6
- package/dist/{conversationTracker-6QM7A4BK.js → conversationTracker-A33U2LAZ.js} +3 -3
- package/dist/{customCommands-A46XZIEO.js → customCommands-M7HD5SVI.js} +4 -4
- package/dist/{env-FSG3VV6X.js → env-XWJBXPMS.js} +2 -2
- package/dist/{file-EYKZT7DW.js → file-HSVA6LNE.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-6FRSELJZ.js → llm-UGJYESRH.js} +30 -30
- package/dist/{llmLazy-HA32OY5H.js → llmLazy-QEOEBBKC.js} +1 -1
- package/dist/{loader-3Z77TSAI.js → loader-R2QFYVHX.js} +4 -4
- package/dist/{lsp-MKSIBTE5.js → lsp-YN2SPF7O.js} +6 -6
- package/dist/{lspAnchor-AG42ZLIP.js → lspAnchor-J4GMFONT.js} +6 -6
- package/dist/{mcp-AXJYZHRB.js → mcp-O625QZ5R.js} +7 -7
- package/dist/{mentionProcessor-IGNVZ7YV.js → mentionProcessor-UPKZXHO4.js} +5 -5
- package/dist/{messages-PUXMC35J.js → messages-3EGLQBFT.js} +1 -1
- package/dist/{model-SEPMUK6E.js → model-7P6UKMPN.js} +5 -5
- package/dist/{openai-I2DMGSQY.js → openai-J43QDBDS.js} +5 -5
- package/dist/{outputStyles-OUAVKGXS.js → outputStyles-HANCH32Z.js} +4 -4
- package/dist/{pluginRuntime-SHUQLJUJ.js → pluginRuntime-GQDZD5BX.js} +6 -6
- package/dist/{pluginValidation-TX7DJCQ3.js → pluginValidation-NMBEAEQW.js} +6 -6
- package/dist/prompts-OFPZUEBC.js +55 -0
- package/dist/{pybAgentSessionLoad-KU4QWLFF.js → pybAgentSessionLoad-F67ZDP5H.js} +4 -4
- package/dist/{pybAgentSessionResume-ZVMDRGGA.js → pybAgentSessionResume-UC66IPGZ.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-3KIXMIWS.js → pybAgentStreamJsonSession-IO42JQAR.js} +1 -1
- package/dist/{pybHooks-3MLQL77T.js → pybHooks-RTLJ2AV5.js} +4 -4
- package/dist/query-KHETENT7.js +57 -0
- package/dist/{registry-7YUOFK3K.js → registry-4NUGUWGX.js} +5 -5
- package/dist/{ripgrep-YV5BN7GK.js → ripgrep-GXECIJXM.js} +3 -3
- package/dist/{skillMarketplace-ONII7HOL.js → skillMarketplace-VM4XNPW4.js} +3 -3
- package/dist/{state-TJOB7BLH.js → state-QPNSGH4C.js} +2 -2
- package/dist/{theme-EIFVQAKD.js → theme-ME74IEH2.js} +5 -5
- package/dist/{toolPermissionSettings-OPZTEYIC.js → toolPermissionSettings-4DJ7GGUG.js} +6 -6
- package/dist/tools-7V7X7CNV.js +54 -0
- package/dist/{userInput-OA5GHNUF.js → userInput-BEZBVV52.js} +31 -31
- package/package.json +1 -1
- package/dist/REPL-6ZKN7FIZ.js +0 -49
- package/dist/commands-ZABUTTGO.js +0 -53
- package/dist/prompts-EYQN7L33.js +0 -55
- package/dist/query-RM2XSCT3.js +0 -57
- package/dist/tools-2AGCZVZG.js +0 -54
- /package/dist/{REPL-6ZKN7FIZ.js.map → REPL-VRZRANK3.js.map} +0 -0
- /package/dist/{acp-EPMYLWYS.js.map → acp-SMGE3N7N.js.map} +0 -0
- /package/dist/{agentsValidate-BR5ILRIF.js.map → agentsValidate-FJNQTZ6L.js.map} +0 -0
- /package/dist/{ask-WYF2I52E.js.map → ask-2XWNVTSB.js.map} +0 -0
- /package/dist/{autoUpdater-YI4LRWHE.js.map → autoUpdater-7PB65YC7.js.map} +0 -0
- /package/dist/{chunk-W5T2EMXZ.js.map → chunk-3JTP3A2Y.js.map} +0 -0
- /package/dist/{chunk-2FRALZLB.js.map → chunk-3WX6M33B.js.map} +0 -0
- /package/dist/{chunk-CHZWE2GX.js.map → chunk-4CTXCXJV.js.map} +0 -0
- /package/dist/{chunk-GAJY2O7L.js.map → chunk-5DBEI4U3.js.map} +0 -0
- /package/dist/{chunk-M4BJXPOT.js.map → chunk-5DKBPIUY.js.map} +0 -0
- /package/dist/{chunk-QJZPWPWV.js.map → chunk-5N4LX65G.js.map} +0 -0
- /package/dist/{chunk-Y4LJKT4E.js.map → chunk-A5255NE3.js.map} +0 -0
- /package/dist/{chunk-WZNSDCPB.js.map → chunk-CSP6P6NO.js.map} +0 -0
- /package/dist/{chunk-3QBDV77K.js.map → chunk-DRHWOS44.js.map} +0 -0
- /package/dist/{chunk-4J7OCHGE.js.map → chunk-FYLGTG5A.js.map} +0 -0
- /package/dist/{chunk-YRGTLXHU.js.map → chunk-I72YSEMN.js.map} +0 -0
- /package/dist/{chunk-QQFIPQ76.js.map → chunk-IUXFIASK.js.map} +0 -0
- /package/dist/{chunk-36EAJNBS.js.map → chunk-JDMIFTZT.js.map} +0 -0
- /package/dist/{chunk-MXQ65O7M.js.map → chunk-JJSCNIBA.js.map} +0 -0
- /package/dist/{chunk-57M7VOVY.js.map → chunk-JQBOODVQ.js.map} +0 -0
- /package/dist/{chunk-S52TK4GY.js.map → chunk-KHSTNHZE.js.map} +0 -0
- /package/dist/{chunk-5SAYYPEA.js.map → chunk-LV4FISWZ.js.map} +0 -0
- /package/dist/{chunk-RYEKTEXT.js.map → chunk-NZPUVS6K.js.map} +0 -0
- /package/dist/{chunk-CRVBBTL7.js.map → chunk-R2BVICE2.js.map} +0 -0
- /package/dist/{chunk-6J5LJ5YA.js.map → chunk-RLD57RVF.js.map} +0 -0
- /package/dist/{chunk-PJCN2YUU.js.map → chunk-THQLFNKQ.js.map} +0 -0
- /package/dist/{chunk-WS3ZXWWH.js.map → chunk-UAMS53ZK.js.map} +0 -0
- /package/dist/{chunk-IT234CFF.js.map → chunk-UIGWD3MR.js.map} +0 -0
- /package/dist/{chunk-6YXOEWR2.js.map → chunk-UNDLA4M4.js.map} +0 -0
- /package/dist/{chunk-ICV7AFSR.js.map → chunk-XAABWNGX.js.map} +0 -0
- /package/dist/{chunk-VV25PU6H.js.map → chunk-YAC4ZESX.js.map} +0 -0
- /package/dist/{chunk-F6FUMSOC.js.map → chunk-YNDZ73R7.js.map} +0 -0
- /package/dist/{chunk-SOWMVTRY.js.map → chunk-YVW2YZZ3.js.map} +0 -0
- /package/dist/{cli-FCJA5DGG.js.map → cli-PTMHC2XV.js.map} +0 -0
- /package/dist/{commands-ZABUTTGO.js.map → commands-52E2E77C.js.map} +0 -0
- /package/dist/{config-SA7NSVAH.js.map → config-MCXPTUSG.js.map} +0 -0
- /package/dist/{context-JIVLDQUD.js.map → context-ZJZSHKCR.js.map} +0 -0
- /package/dist/{conversationTracker-6QM7A4BK.js.map → conversationTracker-A33U2LAZ.js.map} +0 -0
- /package/dist/{customCommands-A46XZIEO.js.map → customCommands-M7HD5SVI.js.map} +0 -0
- /package/dist/{env-FSG3VV6X.js.map → env-XWJBXPMS.js.map} +0 -0
- /package/dist/{file-EYKZT7DW.js.map → file-HSVA6LNE.js.map} +0 -0
- /package/dist/{llm-6FRSELJZ.js.map → llm-UGJYESRH.js.map} +0 -0
- /package/dist/{llmLazy-HA32OY5H.js.map → llmLazy-QEOEBBKC.js.map} +0 -0
- /package/dist/{loader-3Z77TSAI.js.map → loader-R2QFYVHX.js.map} +0 -0
- /package/dist/{lsp-MKSIBTE5.js.map → lsp-YN2SPF7O.js.map} +0 -0
- /package/dist/{lspAnchor-AG42ZLIP.js.map → lspAnchor-J4GMFONT.js.map} +0 -0
- /package/dist/{mcp-AXJYZHRB.js.map → mcp-O625QZ5R.js.map} +0 -0
- /package/dist/{mentionProcessor-IGNVZ7YV.js.map → mentionProcessor-UPKZXHO4.js.map} +0 -0
- /package/dist/{messages-PUXMC35J.js.map → messages-3EGLQBFT.js.map} +0 -0
- /package/dist/{model-SEPMUK6E.js.map → model-7P6UKMPN.js.map} +0 -0
- /package/dist/{openai-I2DMGSQY.js.map → openai-J43QDBDS.js.map} +0 -0
- /package/dist/{outputStyles-OUAVKGXS.js.map → outputStyles-HANCH32Z.js.map} +0 -0
- /package/dist/{pluginRuntime-SHUQLJUJ.js.map → pluginRuntime-GQDZD5BX.js.map} +0 -0
- /package/dist/{pluginValidation-TX7DJCQ3.js.map → pluginValidation-NMBEAEQW.js.map} +0 -0
- /package/dist/{prompts-EYQN7L33.js.map → prompts-OFPZUEBC.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-KU4QWLFF.js.map → pybAgentSessionLoad-F67ZDP5H.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-ZVMDRGGA.js.map → pybAgentSessionResume-UC66IPGZ.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-3KIXMIWS.js.map → pybAgentStreamJsonSession-IO42JQAR.js.map} +0 -0
- /package/dist/{pybHooks-3MLQL77T.js.map → pybHooks-RTLJ2AV5.js.map} +0 -0
- /package/dist/{query-RM2XSCT3.js.map → query-KHETENT7.js.map} +0 -0
- /package/dist/{registry-7YUOFK3K.js.map → registry-4NUGUWGX.js.map} +0 -0
- /package/dist/{ripgrep-YV5BN7GK.js.map → ripgrep-GXECIJXM.js.map} +0 -0
- /package/dist/{skillMarketplace-ONII7HOL.js.map → skillMarketplace-VM4XNPW4.js.map} +0 -0
- /package/dist/{state-TJOB7BLH.js.map → state-QPNSGH4C.js.map} +0 -0
- /package/dist/{theme-EIFVQAKD.js.map → theme-ME74IEH2.js.map} +0 -0
- /package/dist/{toolPermissionSettings-OPZTEYIC.js.map → toolPermissionSettings-4DJ7GGUG.js.map} +0 -0
- /package/dist/{tools-2AGCZVZG.js.map → tools-7V7X7CNV.js.map} +0 -0
- /package/dist/{userInput-OA5GHNUF.js.map → userInput-BEZBVV52.js.map} +0 -0
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
LspServerRegistry,
|
|
5
5
|
findNearestRoot,
|
|
6
6
|
getInstallNotices
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IUXFIASK.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-UIGWD3MR.js";
|
|
14
14
|
import {
|
|
15
15
|
getCwd,
|
|
16
16
|
getSessionRoot
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DRHWOS44.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-4NUGUWGX.js");
|
|
569
569
|
const pythonPath = detectPythonVenv(resolvedRoot);
|
|
570
570
|
if (pythonPath) {
|
|
571
571
|
initOpts = { ...initOpts ?? {}, pythonPath };
|
|
@@ -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-RLD57RVF.js";
|
|
6
6
|
import {
|
|
7
7
|
debug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UIGWD3MR.js";
|
|
9
9
|
import {
|
|
10
10
|
env,
|
|
11
11
|
getSessionRoot,
|
|
12
12
|
resolveXdgDataPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DRHWOS44.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
|
logError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DRHWOS44.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/session/conversationMessageState.ts
|
|
8
8
|
function mapFinishReason(rawReason) {
|
|
@@ -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-4CTXCXJV.js";
|
|
6
6
|
import {
|
|
7
7
|
isUuid
|
|
8
8
|
} from "./chunk-5P7HBXTD.js";
|
|
@@ -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-NZPUVS6K.js";
|
|
6
6
|
import {
|
|
7
7
|
parseFrontmatter
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YNDZ73R7.js";
|
|
9
9
|
import {
|
|
10
10
|
getCwd
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DRHWOS44.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-HVJRX43N.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-XAABWNGX.js";
|
|
44
44
|
import {
|
|
45
45
|
FallbackToolUseRejectedMessage,
|
|
46
46
|
MCPTool,
|
|
47
47
|
getClients,
|
|
48
48
|
getMCPTools
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-KHSTNHZE.js";
|
|
50
50
|
import {
|
|
51
51
|
emitReminderEvent
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-YAC4ZESX.js";
|
|
53
53
|
import {
|
|
54
54
|
getActiveAgents,
|
|
55
55
|
getAgentByType,
|
|
56
56
|
getAvailableAgentTypes
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-5DBEI4U3.js";
|
|
58
58
|
import {
|
|
59
59
|
INTERRUPT_MESSAGE,
|
|
60
60
|
createAssistantMessage,
|
|
61
61
|
createUserMessage,
|
|
62
62
|
getLastAssistantMessageId
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-A5255NE3.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-UAMS53ZK.js";
|
|
71
71
|
import {
|
|
72
72
|
LspFacade,
|
|
73
73
|
formatDiagnosticsPretty
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-I72YSEMN.js";
|
|
75
75
|
import {
|
|
76
76
|
getModelManager
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-UNDLA4M4.js";
|
|
78
78
|
import {
|
|
79
79
|
getContext
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-FYLGTG5A.js";
|
|
81
81
|
import {
|
|
82
82
|
filesToTree,
|
|
83
83
|
ripGrepWithStatus
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-3WX6M33B.js";
|
|
85
85
|
import {
|
|
86
86
|
getTheme
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-R2BVICE2.js";
|
|
88
88
|
import {
|
|
89
89
|
debug
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-UIGWD3MR.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-DRHWOS44.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-QPNSGH4C.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-YN2SPF7O.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.
|