pybao-cli 1.4.64 → 1.4.69
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-ZAJ6IKK3.js +46 -0
- package/dist/{acp-NNC74LVQ.js → acp-6LRBVMXY.js} +29 -29
- package/dist/{agentsValidate-N2PRTFSW.js → agentsValidate-4LAOGQEK.js} +7 -7
- package/dist/{ask-OMCYF7SB.js → ask-VO34LVHJ.js} +28 -28
- package/dist/{autoUpdater-KTJOOCBF.js → autoUpdater-WCDZ3LKI.js} +3 -3
- package/dist/{chunk-6N2MGB6O.js → chunk-4EUFV7IZ.js} +3 -3
- package/dist/{chunk-OF4XXXQ3.js → chunk-5SEYGIMS.js} +3 -10
- package/dist/{chunk-OF4XXXQ3.js.map → chunk-5SEYGIMS.js.map} +2 -2
- package/dist/{chunk-IFDY7DTL.js → chunk-64FPFNEO.js} +1 -1
- package/dist/{chunk-POWN423Y.js → chunk-7EX3H2LR.js} +3 -3
- package/dist/{chunk-WKFRDCMK.js → chunk-ATTYOEZT.js} +1 -1
- package/dist/{chunk-HJ5SZ4TA.js → chunk-BBN46KXV.js} +1 -1
- package/dist/{chunk-WVYOCUBS.js → chunk-BQOYEEGF.js} +3 -3
- package/dist/{chunk-35JFWNXQ.js → chunk-CH7AQMFI.js} +1 -1
- package/dist/{chunk-LHNIA7TU.js → chunk-DVWYKOS2.js} +4 -4
- package/dist/{chunk-RBHDCD2Z.js → chunk-FQLUVB5C.js} +1 -1
- package/dist/{chunk-KZTHNPPI.js → chunk-GAOK4KW3.js} +3 -3
- package/dist/{chunk-VBLYYT4L.js → chunk-H5KMZAUF.js} +3 -3
- package/dist/{chunk-XJ7FTO4Q.js → chunk-HHQKHMVN.js} +2 -2
- package/dist/{chunk-2CELXL5Z.js → chunk-I2RN6BKG.js} +18 -18
- package/dist/{chunk-2CELXL5Z.js.map → chunk-I2RN6BKG.js.map} +1 -1
- package/dist/{chunk-VDHPWKZV.js → chunk-I5KCNNUI.js} +4 -4
- package/dist/{chunk-GN3ZKIK6.js → chunk-IYTU4OJV.js} +1 -1
- package/dist/{chunk-OZ6NCAGV.js → chunk-JCUPO5SD.js} +2 -2
- package/dist/{chunk-7RRCPMNG.js → chunk-JQEGLFMO.js} +381 -751
- package/dist/chunk-JQEGLFMO.js.map +7 -0
- package/dist/{chunk-OXHRDN5X.js → chunk-L5BXFKV7.js} +2 -2
- package/dist/{chunk-MLDL3JF6.js → chunk-MQOUWZJB.js} +1 -1
- package/dist/{chunk-37BP5U6M.js → chunk-Q4VBSC45.js} +1 -1
- package/dist/{chunk-CPIJT73E.js → chunk-Q7QN2OT2.js} +4 -4
- package/dist/{chunk-DSIEFOTV.js → chunk-T36V23CZ.js} +2 -2
- package/dist/{chunk-CFPCW6W7.js → chunk-T7U272IW.js} +4 -4
- package/dist/{chunk-UHGE2VNM.js → chunk-TCCVAS7Q.js} +2 -2
- package/dist/{chunk-WEUXBNQB.js → chunk-ULUZRDEZ.js} +1 -1
- package/dist/{chunk-WEUXBNQB.js.map → chunk-ULUZRDEZ.js.map} +1 -1
- package/dist/{chunk-EXRF6SQY.js → chunk-UP22WCEV.js} +1 -1
- package/dist/{chunk-6WB73VIP.js → chunk-VGI3MJCN.js} +3 -3
- package/dist/{chunk-V4VOZJWR.js → chunk-XWTPHVQ2.js} +3 -5
- package/dist/chunk-XWTPHVQ2.js.map +7 -0
- package/dist/{chunk-OHJ6K3RB.js → chunk-ZOGQ47JZ.js} +2 -2
- package/dist/{cli-KSOAUNRJ.js → cli-K22UG63I.js} +87 -87
- package/dist/commands-XREIQOVF.js +50 -0
- package/dist/{config-VMBOUVXO.js → config-4TLLBLHZ.js} +4 -4
- package/dist/{context-2ZGOMAC7.js → context-UCX6EHV2.js} +6 -6
- package/dist/{customCommands-JSUSLJNY.js → customCommands-XBYBBLIT.js} +4 -4
- package/dist/{env-J2YKO3AW.js → env-NIRNUQBK.js} +2 -2
- package/dist/{file-AEJWH3BT.js → file-KZUCZWBZ.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-5RBAGTX5.js → llm-IBAT6C77.js} +29 -29
- package/dist/{llmLazy-GBSYY2PZ.js → llmLazy-W2AONXJN.js} +1 -1
- package/dist/{loader-FJGRWSZ4.js → loader-GQ2AYDKZ.js} +4 -4
- package/dist/{lsp-PVK7EZJT.js → lsp-TDZOFAGX.js} +6 -6
- package/dist/{lspAnchor-JS73KKBP.js → lspAnchor-Y5ODO3C4.js} +6 -6
- package/dist/{mcp-YXM66Q2G.js → mcp-S4YW6CXE.js} +7 -7
- package/dist/{mentionProcessor-GOHXPZVX.js → mentionProcessor-KH6NLD6M.js} +5 -5
- package/dist/{messages-4AVBQONO.js → messages-GRLBINLQ.js} +1 -1
- package/dist/{model-ZVCXE44R.js → model-XO4IA6K3.js} +5 -5
- package/dist/{openai-XSMFEM5F.js → openai-O4WR7IE3.js} +5 -5
- package/dist/{outputStyles-KMLQ5API.js → outputStyles-SFBNSHR5.js} +4 -4
- package/dist/{pluginRuntime-7URRA2OK.js → pluginRuntime-YHLTGW2O.js} +6 -6
- package/dist/{pluginValidation-TZLMGK5Q.js → pluginValidation-ITG2YAD3.js} +6 -6
- package/dist/prompts-NCYQ3YKX.js +52 -0
- package/dist/{pybAgentSessionLoad-HMCWFUZR.js → pybAgentSessionLoad-VD6RSWTX.js} +4 -4
- package/dist/{pybAgentSessionResume-JT6W67ZR.js → pybAgentSessionResume-RSYK7EJ4.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-QFCZBOS4.js → pybAgentStreamJsonSession-K3DQZO55.js} +1 -1
- package/dist/{pybHooks-LF6OM4KC.js → pybHooks-PS4QDUIJ.js} +4 -4
- package/dist/query-DVJYTX6S.js +54 -0
- package/dist/{registry-OZAIBL65.js → registry-C5YC57SE.js} +5 -5
- package/dist/{ripgrep-ZECM5W56.js → ripgrep-J52ZKVWV.js} +3 -3
- package/dist/{skillMarketplace-CO2USHBI.js → skillMarketplace-7F2RUTO4.js} +3 -3
- package/dist/{state-QBXHDWLK.js → state-YUFV22R5.js} +2 -2
- package/dist/{theme-2BHFZVXU.js → theme-HYXO3DVU.js} +5 -5
- package/dist/{toolPermissionSettings-VTA3XZ3G.js → toolPermissionSettings-TRPVISAS.js} +6 -6
- package/dist/tools-72E2HB4H.js +51 -0
- package/dist/{userInput-24DBRUI7.js → userInput-TMER67YX.js} +30 -30
- package/package.json +1 -1
- package/dist/REPL-ADU4IURM.js +0 -46
- package/dist/chunk-7RRCPMNG.js.map +0 -7
- package/dist/chunk-V4VOZJWR.js.map +0 -7
- package/dist/commands-WM7IIR65.js +0 -50
- package/dist/prompts-KLR3QT24.js +0 -52
- package/dist/query-DD7PQZQM.js +0 -54
- package/dist/tools-WCNFHQ6U.js +0 -51
- /package/dist/{REPL-ADU4IURM.js.map → REPL-ZAJ6IKK3.js.map} +0 -0
- /package/dist/{acp-NNC74LVQ.js.map → acp-6LRBVMXY.js.map} +0 -0
- /package/dist/{agentsValidate-N2PRTFSW.js.map → agentsValidate-4LAOGQEK.js.map} +0 -0
- /package/dist/{ask-OMCYF7SB.js.map → ask-VO34LVHJ.js.map} +0 -0
- /package/dist/{autoUpdater-KTJOOCBF.js.map → autoUpdater-WCDZ3LKI.js.map} +0 -0
- /package/dist/{chunk-6N2MGB6O.js.map → chunk-4EUFV7IZ.js.map} +0 -0
- /package/dist/{chunk-IFDY7DTL.js.map → chunk-64FPFNEO.js.map} +0 -0
- /package/dist/{chunk-POWN423Y.js.map → chunk-7EX3H2LR.js.map} +0 -0
- /package/dist/{chunk-WKFRDCMK.js.map → chunk-ATTYOEZT.js.map} +0 -0
- /package/dist/{chunk-HJ5SZ4TA.js.map → chunk-BBN46KXV.js.map} +0 -0
- /package/dist/{chunk-WVYOCUBS.js.map → chunk-BQOYEEGF.js.map} +0 -0
- /package/dist/{chunk-35JFWNXQ.js.map → chunk-CH7AQMFI.js.map} +0 -0
- /package/dist/{chunk-LHNIA7TU.js.map → chunk-DVWYKOS2.js.map} +0 -0
- /package/dist/{chunk-RBHDCD2Z.js.map → chunk-FQLUVB5C.js.map} +0 -0
- /package/dist/{chunk-KZTHNPPI.js.map → chunk-GAOK4KW3.js.map} +0 -0
- /package/dist/{chunk-VBLYYT4L.js.map → chunk-H5KMZAUF.js.map} +0 -0
- /package/dist/{chunk-XJ7FTO4Q.js.map → chunk-HHQKHMVN.js.map} +0 -0
- /package/dist/{chunk-VDHPWKZV.js.map → chunk-I5KCNNUI.js.map} +0 -0
- /package/dist/{chunk-GN3ZKIK6.js.map → chunk-IYTU4OJV.js.map} +0 -0
- /package/dist/{chunk-OZ6NCAGV.js.map → chunk-JCUPO5SD.js.map} +0 -0
- /package/dist/{chunk-OXHRDN5X.js.map → chunk-L5BXFKV7.js.map} +0 -0
- /package/dist/{chunk-MLDL3JF6.js.map → chunk-MQOUWZJB.js.map} +0 -0
- /package/dist/{chunk-37BP5U6M.js.map → chunk-Q4VBSC45.js.map} +0 -0
- /package/dist/{chunk-CPIJT73E.js.map → chunk-Q7QN2OT2.js.map} +0 -0
- /package/dist/{chunk-DSIEFOTV.js.map → chunk-T36V23CZ.js.map} +0 -0
- /package/dist/{chunk-CFPCW6W7.js.map → chunk-T7U272IW.js.map} +0 -0
- /package/dist/{chunk-UHGE2VNM.js.map → chunk-TCCVAS7Q.js.map} +0 -0
- /package/dist/{chunk-EXRF6SQY.js.map → chunk-UP22WCEV.js.map} +0 -0
- /package/dist/{chunk-6WB73VIP.js.map → chunk-VGI3MJCN.js.map} +0 -0
- /package/dist/{chunk-OHJ6K3RB.js.map → chunk-ZOGQ47JZ.js.map} +0 -0
- /package/dist/{cli-KSOAUNRJ.js.map → cli-K22UG63I.js.map} +0 -0
- /package/dist/{commands-WM7IIR65.js.map → commands-XREIQOVF.js.map} +0 -0
- /package/dist/{config-VMBOUVXO.js.map → config-4TLLBLHZ.js.map} +0 -0
- /package/dist/{context-2ZGOMAC7.js.map → context-UCX6EHV2.js.map} +0 -0
- /package/dist/{customCommands-JSUSLJNY.js.map → customCommands-XBYBBLIT.js.map} +0 -0
- /package/dist/{env-J2YKO3AW.js.map → env-NIRNUQBK.js.map} +0 -0
- /package/dist/{file-AEJWH3BT.js.map → file-KZUCZWBZ.js.map} +0 -0
- /package/dist/{llm-5RBAGTX5.js.map → llm-IBAT6C77.js.map} +0 -0
- /package/dist/{llmLazy-GBSYY2PZ.js.map → llmLazy-W2AONXJN.js.map} +0 -0
- /package/dist/{loader-FJGRWSZ4.js.map → loader-GQ2AYDKZ.js.map} +0 -0
- /package/dist/{lsp-PVK7EZJT.js.map → lsp-TDZOFAGX.js.map} +0 -0
- /package/dist/{lspAnchor-JS73KKBP.js.map → lspAnchor-Y5ODO3C4.js.map} +0 -0
- /package/dist/{mcp-YXM66Q2G.js.map → mcp-S4YW6CXE.js.map} +0 -0
- /package/dist/{mentionProcessor-GOHXPZVX.js.map → mentionProcessor-KH6NLD6M.js.map} +0 -0
- /package/dist/{messages-4AVBQONO.js.map → messages-GRLBINLQ.js.map} +0 -0
- /package/dist/{model-ZVCXE44R.js.map → model-XO4IA6K3.js.map} +0 -0
- /package/dist/{openai-XSMFEM5F.js.map → openai-O4WR7IE3.js.map} +0 -0
- /package/dist/{outputStyles-KMLQ5API.js.map → outputStyles-SFBNSHR5.js.map} +0 -0
- /package/dist/{pluginRuntime-7URRA2OK.js.map → pluginRuntime-YHLTGW2O.js.map} +0 -0
- /package/dist/{pluginValidation-TZLMGK5Q.js.map → pluginValidation-ITG2YAD3.js.map} +0 -0
- /package/dist/{prompts-KLR3QT24.js.map → prompts-NCYQ3YKX.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-HMCWFUZR.js.map → pybAgentSessionLoad-VD6RSWTX.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-JT6W67ZR.js.map → pybAgentSessionResume-RSYK7EJ4.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-QFCZBOS4.js.map → pybAgentStreamJsonSession-K3DQZO55.js.map} +0 -0
- /package/dist/{pybHooks-LF6OM4KC.js.map → pybHooks-PS4QDUIJ.js.map} +0 -0
- /package/dist/{query-DD7PQZQM.js.map → query-DVJYTX6S.js.map} +0 -0
- /package/dist/{registry-OZAIBL65.js.map → registry-C5YC57SE.js.map} +0 -0
- /package/dist/{ripgrep-ZECM5W56.js.map → ripgrep-J52ZKVWV.js.map} +0 -0
- /package/dist/{skillMarketplace-CO2USHBI.js.map → skillMarketplace-7F2RUTO4.js.map} +0 -0
- /package/dist/{state-QBXHDWLK.js.map → state-YUFV22R5.js.map} +0 -0
- /package/dist/{theme-2BHFZVXU.js.map → theme-HYXO3DVU.js.map} +0 -0
- /package/dist/{toolPermissionSettings-VTA3XZ3G.js.map → toolPermissionSettings-TRPVISAS.js.map} +0 -0
- /package/dist/{tools-WCNFHQ6U.js.map → tools-72E2HB4H.js.map} +0 -0
- /package/dist/{userInput-24DBRUI7.js.map → userInput-TMER67YX.js.map} +0 -0
|
@@ -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-JCUPO5SD.js";
|
|
6
6
|
import {
|
|
7
7
|
isUuid
|
|
8
8
|
} from "./chunk-5P7HBXTD.js";
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
getSettingsFileCandidates,
|
|
9
9
|
loadSettingsWithLegacyFallback,
|
|
10
10
|
saveSettingsToPrimaryAndSyncLegacy
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CH7AQMFI.js";
|
|
12
12
|
import {
|
|
13
13
|
getCurrentProjectConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XWTPHVQ2.js";
|
|
15
15
|
import {
|
|
16
16
|
getCwd,
|
|
17
17
|
logError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-BBN46KXV.js";
|
|
19
19
|
|
|
20
20
|
// src/utils/permissions/toolPermissionSettings.ts
|
|
21
21
|
function uniqueStrings(value) {
|
|
@@ -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-ULUZRDEZ.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/state/index.ts
|
|
8
8
|
import { cwd } from "process";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
PRODUCT_NAME,
|
|
5
5
|
execFileNoThrow,
|
|
6
6
|
logError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BBN46KXV.js";
|
|
8
8
|
import {
|
|
9
9
|
MACRO
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ULUZRDEZ.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-4TLLBLHZ.js"), import("./env-NIRNUQBK.js")]);
|
|
86
86
|
if (await isAutoUpdaterDisabled()) return;
|
|
87
87
|
if (await env.getIsDocker()) return;
|
|
88
88
|
if (!await env.hasInternetAccess()) return;
|
|
@@ -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-IYTU4OJV.js";
|
|
6
6
|
import {
|
|
7
7
|
getCurrentProjectConfig,
|
|
8
8
|
getGlobalConfig,
|
|
9
9
|
getOrCreateUserID,
|
|
10
10
|
saveCurrentProjectConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XWTPHVQ2.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-BBN46KXV.js";
|
|
20
20
|
import {
|
|
21
21
|
MACRO
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ULUZRDEZ.js";
|
|
23
23
|
import {
|
|
24
24
|
__require
|
|
25
25
|
} from "./chunk-I3J4JYES.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-Q4VBSC45.js";
|
|
6
6
|
import {
|
|
7
7
|
parseFrontmatter
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-L5BXFKV7.js";
|
|
9
9
|
import {
|
|
10
10
|
getCwd
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BBN46KXV.js";
|
|
12
12
|
|
|
13
13
|
// src/services/plugins/pluginValidation.ts
|
|
14
14
|
import { existsSync, lstatSync, readFileSync } from "node:fs";
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
} from "./chunk-B6IMQJZM.js";
|
|
6
6
|
import {
|
|
7
7
|
loadSettingsWithLegacyFallback
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CH7AQMFI.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-BBN46KXV.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-W2AONXJN.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).",
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
} from "./chunk-BJSWTHRM.js";
|
|
9
9
|
import {
|
|
10
10
|
debug
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ATTYOEZT.js";
|
|
12
12
|
import {
|
|
13
13
|
getCwd,
|
|
14
14
|
getXdgConfigDir,
|
|
15
15
|
logError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BBN46KXV.js";
|
|
17
17
|
|
|
18
18
|
// src/utils/agent/loader.ts
|
|
19
19
|
import {
|
|
@@ -35,57 +35,57 @@ import {
|
|
|
35
35
|
runWithTaskListEnv,
|
|
36
36
|
runWithTaskListId,
|
|
37
37
|
updateTask
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-JQEGLFMO.js";
|
|
39
39
|
import {
|
|
40
40
|
queryLLM
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-Q7QN2OT2.js";
|
|
42
42
|
import {
|
|
43
43
|
FallbackToolUseRejectedMessage,
|
|
44
44
|
MCPTool,
|
|
45
45
|
getClients,
|
|
46
46
|
getMCPTools
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-T7U272IW.js";
|
|
48
48
|
import {
|
|
49
49
|
emitReminderEvent
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-T36V23CZ.js";
|
|
51
51
|
import {
|
|
52
52
|
getActiveAgents,
|
|
53
53
|
getAgentByType,
|
|
54
54
|
getAvailableAgentTypes
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-HHQKHMVN.js";
|
|
56
56
|
import {
|
|
57
57
|
INTERRUPT_MESSAGE,
|
|
58
58
|
createAssistantMessage,
|
|
59
59
|
createUserMessage,
|
|
60
60
|
getLastAssistantMessageId
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-UP22WCEV.js";
|
|
62
62
|
import {
|
|
63
63
|
formatDuration,
|
|
64
64
|
formatNumber
|
|
65
65
|
} from "./chunk-OUXHGDLH.js";
|
|
66
66
|
import {
|
|
67
67
|
getAbsolutePath
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-ZOGQ47JZ.js";
|
|
69
69
|
import {
|
|
70
70
|
LspFacade,
|
|
71
71
|
formatDiagnosticsPretty
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-I5KCNNUI.js";
|
|
73
73
|
import {
|
|
74
74
|
getModelManager
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-4EUFV7IZ.js";
|
|
76
76
|
import {
|
|
77
77
|
getContext
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-DVWYKOS2.js";
|
|
79
79
|
import {
|
|
80
80
|
filesToTree,
|
|
81
81
|
ripGrepWithStatus
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-IYTU4OJV.js";
|
|
83
83
|
import {
|
|
84
84
|
getTheme
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-MQOUWZJB.js";
|
|
86
86
|
import {
|
|
87
87
|
debug
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-ATTYOEZT.js";
|
|
89
89
|
import {
|
|
90
90
|
BunShell,
|
|
91
91
|
getCwd,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
overwriteLog,
|
|
97
97
|
readTaskOutput,
|
|
98
98
|
resolveXdgDataPath
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-BBN46KXV.js";
|
|
100
100
|
|
|
101
101
|
// src/tools/index.ts
|
|
102
102
|
import { memoize as memoize2 } from "lodash-es";
|
|
@@ -775,7 +775,7 @@ async function analyzeOutputWithLsp(output, exitCode) {
|
|
|
775
775
|
if (exitCode !== 0 || errorCount > 0 || warningCount > 0) {
|
|
776
776
|
try {
|
|
777
777
|
const { isAbsolute: isAbsolute3, resolve: resolve4 } = await import("path");
|
|
778
|
-
const { getSessionRoot: getSessionRoot2 } = await import("./state-
|
|
778
|
+
const { getSessionRoot: getSessionRoot2 } = await import("./state-YUFV22R5.js");
|
|
779
779
|
const lines = output.split("\n");
|
|
780
780
|
const uniqueFiles = /* @__PURE__ */ new Set();
|
|
781
781
|
const lspSuggestions = [];
|
|
@@ -1148,7 +1148,7 @@ var DeleteTool = {
|
|
|
1148
1148
|
}
|
|
1149
1149
|
if (!force) {
|
|
1150
1150
|
try {
|
|
1151
|
-
const { LspFacade: LspFacade2 } = await import("./lsp-
|
|
1151
|
+
const { LspFacade: LspFacade2 } = await import("./lsp-TDZOFAGX.js");
|
|
1152
1152
|
const referenceDetail = await LspFacade2.checkFileReferences(fullPath);
|
|
1153
1153
|
if (referenceDetail) {
|
|
1154
1154
|
failedItems.push(
|
|
@@ -3088,7 +3088,7 @@ var PROMPT6 = `Use this tool to create a new task in the current task list. It i
|
|
|
3088
3088
|
|
|
3089
3089
|
Use this tool proactively in these scenarios:
|
|
3090
3090
|
|
|
3091
|
-
1. **Complex multi-step tasks** - When a task requires
|
|
3091
|
+
1. **Complex multi-step tasks** - When a task requires 2 or more distinct steps or actions
|
|
3092
3092
|
2. **Non-trivial and complex tasks** - Tasks that require careful planning or multiple operations
|
|
3093
3093
|
3. **User explicitly requests task list** - When the user directly asks you to use the task list
|
|
3094
3094
|
4. **User provides multiple tasks** - When users provide a list of things to be done (numbered or comma-separated)
|
|
@@ -3100,7 +3100,7 @@ Skip using this tool when:
|
|
|
3100
3100
|
|
|
3101
3101
|
1. There is only a single, straightforward task
|
|
3102
3102
|
2. The task is trivial and tracking it provides no organizational benefit
|
|
3103
|
-
3. The task can be completed in less than
|
|
3103
|
+
3. The task can be completed in less than 3 trivial steps
|
|
3104
3104
|
4. The task is purely conversational or informational
|
|
3105
3105
|
|
|
3106
3106
|
NOTE that you should not use this tool if you are only updating status or details of an existing task.
|