pybao-cli 1.5.50 → 1.5.52
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-CDBGUX7H.js +53 -0
- package/dist/{acp-VXAHCMQ4.js → acp-KC4VUW7Q.js} +47 -47
- package/dist/{agentsValidate-PFVCK6ZC.js → agentsValidate-YGJMW4T4.js} +9 -9
- package/dist/{ask-7RQ2G5S3.js → ask-YHWMV475.js} +46 -46
- package/dist/{autoUpdater-TDN3ABMG.js → autoUpdater-76RMCNA7.js} +4 -4
- package/dist/{blockParser-QPLEX5NJ.js → blockParser-RZPICWAA.js} +2 -2
- package/dist/{chunk-L4CGYTJQ.js → chunk-2EQA5NLL.js} +1 -1
- package/dist/{chunk-FNDIHEBT.js → chunk-33EYH7S3.js} +5 -5
- package/dist/{chunk-IXFDCJ25.js → chunk-3I35GELX.js} +5 -5
- package/dist/{chunk-CHH6TEXB.js → chunk-4MAX5UNY.js} +1 -1
- package/dist/{chunk-ZDDVFBS4.js → chunk-4UQCXDKA.js} +4 -4
- package/dist/{chunk-DBMDQEQO.js → chunk-6QSG5OON.js} +5 -5
- package/dist/{chunk-VAZ4VRTA.js → chunk-AZF3LTDE.js} +3 -3
- package/dist/{chunk-XHAEEYYH.js → chunk-CBDJJ2WQ.js} +2 -2
- package/dist/{chunk-YFVKGHW2.js → chunk-DPE2QUR4.js} +4 -4
- package/dist/{chunk-CNBKKQSV.js → chunk-DYLRL3GG.js} +1 -1
- package/dist/{chunk-F4AXICO7.js → chunk-EXNV3ROJ.js} +1 -1
- package/dist/{chunk-NBDDIZNJ.js → chunk-FNMZKMUC.js} +2 -2
- package/dist/{chunk-ZKW5V7MR.js → chunk-HSOB4XJ2.js} +1 -1
- package/dist/{chunk-7MR3XX5X.js → chunk-I42N2MZA.js} +3 -3
- package/dist/{chunk-KKNO6B2K.js → chunk-JGECWVPT.js} +1873 -766
- package/dist/{chunk-UJRT7VK2.js → chunk-KPZ4UMNV.js} +1 -1
- package/dist/{chunk-CNW45NOZ.js → chunk-KQBUAEA5.js} +4 -4
- package/dist/{chunk-NQGIALRP.js → chunk-L2JZIHLB.js} +6 -6
- package/dist/{chunk-5ITEAEJC.js → chunk-NQJAXQZX.js} +3 -3
- package/dist/{chunk-A45A3UUU.js → chunk-O6CVVWZV.js} +1 -1
- package/dist/{chunk-Y7I4XTJJ.js → chunk-OEHXDSEI.js} +4 -4
- package/dist/{chunk-NRORTICH.js → chunk-PA5FTBIQ.js} +2 -2
- package/dist/{chunk-NSFU6Y4R.js → chunk-QEPBMPEE.js} +1 -1
- package/dist/{chunk-5AGDLQAW.js → chunk-QQ27ECXF.js} +1 -1
- package/dist/{chunk-J6HKEIL2.js → chunk-QYVB7FJ4.js} +1 -1
- package/dist/{chunk-K3QEELFX.js → chunk-R64GVTIZ.js} +3 -3
- package/dist/{chunk-LE5VGGP6.js → chunk-RETS7G2B.js} +6 -6
- package/dist/{chunk-EY3ZOE75.js → chunk-SZS6SEDB.js} +1 -1
- package/dist/{chunk-PXRUNRK7.js → chunk-UCNZU6OO.js} +2 -2
- package/dist/{chunk-BQCQ3DEN.js → chunk-UG7ZFONK.js} +4 -4
- package/dist/{chunk-C7BUAPKP.js → chunk-VFFYWI27.js} +4 -4
- package/dist/{chunk-OMELVAJD.js → chunk-YQ6JLMLS.js} +1 -1
- package/dist/{chunk-3IPEAISZ.js → chunk-ZFLQSIXD.js} +3 -3
- package/dist/{chunk-5P4A6TN2.js → chunk-ZWTGVUTI.js} +3 -3
- package/dist/{cli-PMOATR2H.js → cli-JMJIGYNF.js} +120 -120
- package/dist/commands-N4RLEJU6.js +57 -0
- package/dist/{config-PQYZDDGW.js → config-6AW7SYEB.js} +6 -6
- package/dist/{context-BWXP2WB4.js → context-VGBWHZ57.js} +9 -9
- package/dist/{conversationPersistence-CS2SQ6Z6.js → conversationPersistence-AAJPHPUT.js} +4 -4
- package/dist/{conversationTracker-3OLKEYWM.js → conversationTracker-MVX6VQG2.js} +5 -5
- package/dist/{costTracker-DJVFVAVZ.js → costTracker-KBXHS4NS.js} +2 -2
- package/dist/{customCommands-VPTXXYYR.js → customCommands-PJI43HDH.js} +6 -6
- package/dist/{env-G5ZYCG5S.js → env-JEHV2OD5.js} +3 -3
- package/dist/{file-2I2KXCVN.js → file-G3IOPSJE.js} +5 -5
- package/dist/index.js +4 -4
- package/dist/{llm-KXF74SNS.js → llm-CVILTZMI.js} +50 -50
- package/dist/{llmLazy-L3IJUBN2.js → llmLazy-TS22QBZC.js} +2 -2
- package/dist/{loader-CJOJNOV7.js → loader-DA33SOZU.js} +7 -7
- package/dist/{lsp-OKPL75YW.js → lsp-M5NJ7YC7.js} +9 -9
- package/dist/{lspAnchor-7Z5YNXX3.js → lspAnchor-LUE27QI2.js} +10 -10
- package/dist/{mcp-C65V4JYM.js → mcp-3R7KNW6M.js} +10 -10
- package/dist/{mentionProcessor-EDZBHP7Y.js → mentionProcessor-KM7DJSIF.js} +8 -8
- package/dist/{messages-YBAYUMKL.js → messages-EUS4CRVP.js} +3 -3
- package/dist/{model-7WMFC6F7.js → model-3GE72U3P.js} +7 -7
- package/dist/{openai-YWEX6G4I.js → openai-3TL5XAIV.js} +8 -8
- package/dist/{outputStyles-N6S27KGD.js → outputStyles-7FC4BJZX.js} +7 -7
- package/dist/{pluginRuntime-3XWIAPQ7.js → pluginRuntime-IWKORZEI.js} +8 -8
- package/dist/{pluginValidation-2JLTTMJL.js → pluginValidation-DC2PWTS3.js} +8 -8
- package/dist/prompts-X5RHKH65.js +59 -0
- package/dist/{pybAgentSessionId-EPCAMQ25.js → pybAgentSessionId-3LL4RMFU.js} +2 -2
- package/dist/{pybAgentSessionLoad-XJ6XWCK5.js → pybAgentSessionLoad-DCESKISD.js} +6 -6
- package/dist/{pybAgentSessionResume-SMNXFGFB.js → pybAgentSessionResume-CIJIMHTT.js} +8 -8
- package/dist/{pybAgentStreamJson-EQPO52B6.js → pybAgentStreamJson-K7E4VEFE.js} +2 -2
- package/dist/{pybAgentStreamJsonSession-33YU7WNJ.js → pybAgentStreamJsonSession-SZMCWTVW.js} +4 -4
- package/dist/{pybAgentStructuredStdio-ROCSOGNT.js → pybAgentStructuredStdio-T6JJLJVC.js} +3 -3
- package/dist/{pybHooks-6JRPW3VW.js → pybHooks-CYAJNZ6G.js} +7 -7
- package/dist/query-7PFFQCW2.js +57 -0
- package/dist/{registry-67P26WKJ.js → registry-HF5Y4WZS.js} +6 -6
- package/dist/{replSessionBridge-EBXNFUAD.js → replSessionBridge-4XEXXNRH.js} +3 -3
- package/dist/{responsesStreaming-NPGJLPV3.js → responsesStreaming-RZW2QVJU.js} +3 -3
- package/dist/{ripgrep-DPLWHL7O.js → ripgrep-W5ULQHU4.js} +4 -4
- package/dist/{skillMarketplace-MGU4KRUF.js → skillMarketplace-WKOGEWIO.js} +4 -4
- package/dist/{smart-edit-AWHJDSU6.js → smart-edit-EQBEMPKQ.js} +2 -2
- package/dist/{state-NZVNNCHH.js → state-GWKESQ7O.js} +3 -3
- package/dist/theme-VRKM2HNU.js +14 -0
- package/dist/{toolPermissionContext-BSFV23IL.js → toolPermissionContext-TAUII5GX.js} +2 -2
- package/dist/{toolPermissionSettings-NEXN25B3.js → toolPermissionSettings-Z2I77LVO.js} +9 -9
- package/dist/tools-VM7IZKXZ.js +57 -0
- package/dist/{userInput-PHXM4ITY.js → userInput-Q2HIIFPM.js} +49 -49
- package/dist/{uuid-CVHEFGW4.js → uuid-EJN2AIBK.js} +2 -2
- package/package.json +3 -3
- package/dist/REPL-5XUDCAF4.js +0 -53
- package/dist/REPL-5XUDCAF4.js.map +0 -7
- package/dist/acp-VXAHCMQ4.js.map +0 -7
- package/dist/agentsValidate-PFVCK6ZC.js.map +0 -7
- package/dist/ask-7RQ2G5S3.js.map +0 -7
- package/dist/autoUpdater-TDN3ABMG.js.map +0 -7
- package/dist/blockParser-QPLEX5NJ.js.map +0 -7
- package/dist/chunk-2RXKUCFS.js.map +0 -7
- package/dist/chunk-3DFBSQIT.js.map +0 -7
- package/dist/chunk-3IPEAISZ.js.map +0 -7
- package/dist/chunk-5AGDLQAW.js.map +0 -7
- package/dist/chunk-5ITEAEJC.js.map +0 -7
- package/dist/chunk-5JHD6MUL.js.map +0 -7
- package/dist/chunk-5P4A6TN2.js.map +0 -7
- package/dist/chunk-5P7HBXTD.js.map +0 -7
- package/dist/chunk-7MR3XX5X.js.map +0 -7
- package/dist/chunk-A3BVXXA3.js.map +0 -7
- package/dist/chunk-A45A3UUU.js.map +0 -7
- package/dist/chunk-B6IMQJZM.js.map +0 -7
- package/dist/chunk-BJSWTHRM.js.map +0 -7
- package/dist/chunk-BKCAVW2G.js.map +0 -7
- package/dist/chunk-BQCQ3DEN.js.map +0 -7
- package/dist/chunk-C7BUAPKP.js.map +0 -7
- package/dist/chunk-CHH6TEXB.js.map +0 -7
- package/dist/chunk-CNBKKQSV.js.map +0 -7
- package/dist/chunk-CNW45NOZ.js.map +0 -7
- package/dist/chunk-CZZKRPE2.js.map +0 -7
- package/dist/chunk-DBMDQEQO.js.map +0 -7
- package/dist/chunk-EY3ZOE75.js.map +0 -7
- package/dist/chunk-F4AXICO7.js.map +0 -7
- package/dist/chunk-FNDIHEBT.js.map +0 -7
- package/dist/chunk-I3J4JYES.js.map +0 -7
- package/dist/chunk-IXFDCJ25.js.map +0 -7
- package/dist/chunk-J6HKEIL2.js.map +0 -7
- package/dist/chunk-K3QEELFX.js.map +0 -7
- package/dist/chunk-KFEHHKZ2.js.map +0 -7
- package/dist/chunk-KKNO6B2K.js.map +0 -7
- package/dist/chunk-L4CGYTJQ.js.map +0 -7
- package/dist/chunk-LE5VGGP6.js.map +0 -7
- package/dist/chunk-MWPFU2KU.js.map +0 -7
- package/dist/chunk-NBDDIZNJ.js.map +0 -7
- package/dist/chunk-NQGIALRP.js.map +0 -7
- package/dist/chunk-NRORTICH.js.map +0 -7
- package/dist/chunk-NSFU6Y4R.js.map +0 -7
- package/dist/chunk-OMELVAJD.js.map +0 -7
- package/dist/chunk-OUXHGDLH.js.map +0 -7
- package/dist/chunk-PXRUNRK7.js.map +0 -7
- package/dist/chunk-QWIBSCDN.js.map +0 -7
- package/dist/chunk-RQVLBMP7.js.map +0 -7
- package/dist/chunk-TFHFYID3.js.map +0 -7
- package/dist/chunk-UJRT7VK2.js.map +0 -7
- package/dist/chunk-UNNVICVU.js.map +0 -7
- package/dist/chunk-UZ34JEUK.js.map +0 -7
- package/dist/chunk-VAZ4VRTA.js.map +0 -7
- package/dist/chunk-XHAEEYYH.js.map +0 -7
- package/dist/chunk-XKYHFZEC.js.map +0 -7
- package/dist/chunk-Y7I4XTJJ.js.map +0 -7
- package/dist/chunk-YFVKGHW2.js.map +0 -7
- package/dist/chunk-ZDDVFBS4.js.map +0 -7
- package/dist/chunk-ZKW5V7MR.js.map +0 -7
- package/dist/cli-PMOATR2H.js.map +0 -7
- package/dist/commands-HA2TW7NU.js +0 -57
- package/dist/commands-HA2TW7NU.js.map +0 -7
- package/dist/config-PQYZDDGW.js.map +0 -7
- package/dist/context-BWXP2WB4.js.map +0 -7
- package/dist/conversationPersistence-CS2SQ6Z6.js.map +0 -7
- package/dist/conversationTracker-3OLKEYWM.js.map +0 -7
- package/dist/costTracker-DJVFVAVZ.js.map +0 -7
- package/dist/customCommands-VPTXXYYR.js.map +0 -7
- package/dist/env-G5ZYCG5S.js.map +0 -7
- package/dist/file-2I2KXCVN.js.map +0 -7
- package/dist/index.js.map +0 -7
- package/dist/llm-KXF74SNS.js.map +0 -7
- package/dist/llmLazy-L3IJUBN2.js.map +0 -7
- package/dist/loader-CJOJNOV7.js.map +0 -7
- package/dist/lsp-OKPL75YW.js.map +0 -7
- package/dist/lspAnchor-7Z5YNXX3.js.map +0 -7
- package/dist/mcp-C65V4JYM.js.map +0 -7
- package/dist/mentionProcessor-EDZBHP7Y.js.map +0 -7
- package/dist/messages-YBAYUMKL.js.map +0 -7
- package/dist/model-7WMFC6F7.js.map +0 -7
- package/dist/openai-YWEX6G4I.js.map +0 -7
- package/dist/outputStyles-N6S27KGD.js.map +0 -7
- package/dist/pluginRuntime-3XWIAPQ7.js.map +0 -7
- package/dist/pluginValidation-2JLTTMJL.js.map +0 -7
- package/dist/prompts-HCGQPTDJ.js +0 -59
- package/dist/prompts-HCGQPTDJ.js.map +0 -7
- package/dist/pybAgentSessionId-EPCAMQ25.js.map +0 -7
- package/dist/pybAgentSessionLoad-XJ6XWCK5.js.map +0 -7
- package/dist/pybAgentSessionResume-SMNXFGFB.js.map +0 -7
- package/dist/pybAgentStreamJson-EQPO52B6.js.map +0 -7
- package/dist/pybAgentStreamJsonSession-33YU7WNJ.js.map +0 -7
- package/dist/pybAgentStructuredStdio-ROCSOGNT.js.map +0 -7
- package/dist/pybHooks-6JRPW3VW.js.map +0 -7
- package/dist/query-GGJC3XT2.js +0 -57
- package/dist/query-GGJC3XT2.js.map +0 -7
- package/dist/registry-67P26WKJ.js.map +0 -7
- package/dist/replSessionBridge-EBXNFUAD.js.map +0 -7
- package/dist/responsesStreaming-NPGJLPV3.js.map +0 -7
- package/dist/ripgrep-DPLWHL7O.js.map +0 -7
- package/dist/skillMarketplace-MGU4KRUF.js.map +0 -7
- package/dist/smart-edit-AWHJDSU6.js.map +0 -7
- package/dist/state-NZVNNCHH.js.map +0 -7
- package/dist/theme-XV4CTBG6.js +0 -14
- package/dist/theme-XV4CTBG6.js.map +0 -7
- package/dist/toolPermissionContext-BSFV23IL.js.map +0 -7
- package/dist/toolPermissionSettings-NEXN25B3.js.map +0 -7
- package/dist/tools-R7EDLOFS.js +0 -57
- package/dist/tools-R7EDLOFS.js.map +0 -7
- package/dist/userInput-PHXM4ITY.js.map +0 -7
- package/dist/uuid-CVHEFGW4.js.map +0 -7
- /package/dist/{chunk-UZ34JEUK.js → chunk-7HEKZ73X.js} +0 -0
- /package/dist/{chunk-5JHD6MUL.js → chunk-ADD7XJ5F.js} +0 -0
- /package/dist/{chunk-B6IMQJZM.js → chunk-DRSLDSBY.js} +0 -0
- /package/dist/{chunk-KFEHHKZ2.js → chunk-F3JSDBR6.js} +0 -0
- /package/dist/{chunk-QWIBSCDN.js → chunk-GEEDQS2I.js} +0 -0
- /package/dist/{chunk-2RXKUCFS.js → chunk-ISMRCABJ.js} +0 -0
- /package/dist/{chunk-MWPFU2KU.js → chunk-JVKJ7J5H.js} +0 -0
- /package/dist/{chunk-BJSWTHRM.js → chunk-KNUG3M6O.js} +0 -0
- /package/dist/{chunk-UNNVICVU.js → chunk-LG65MFKB.js} +0 -0
- /package/dist/{chunk-CZZKRPE2.js → chunk-MGN3VYPN.js} +0 -0
- /package/dist/{chunk-A3BVXXA3.js → chunk-OQEZC7X2.js} +0 -0
- /package/dist/{chunk-I3J4JYES.js → chunk-OYT6EI36.js} +0 -0
- /package/dist/{chunk-RQVLBMP7.js → chunk-PDH2QHLY.js} +0 -0
- /package/dist/{chunk-5P7HBXTD.js → chunk-QAMAR4LW.js} +0 -0
- /package/dist/{chunk-TFHFYID3.js → chunk-TNCBVAVV.js} +0 -0
- /package/dist/{chunk-XKYHFZEC.js → chunk-U6BMHOQT.js} +0 -0
- /package/dist/{chunk-OUXHGDLH.js → chunk-VEHLCRJN.js} +0 -0
- /package/dist/{chunk-3DFBSQIT.js → chunk-XZG5WCDK.js} +0 -0
- /package/dist/{chunk-BKCAVW2G.js → chunk-ZY2PESP4.js} +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
|
MACRO
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NQJAXQZX.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/state/index.ts
|
|
8
8
|
import { cwd } from "process";
|
|
@@ -2,16 +2,16 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
ConfigParseError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PDH2QHLY.js";
|
|
6
6
|
import {
|
|
7
7
|
debug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-O6CVVWZV.js";
|
|
9
9
|
import {
|
|
10
10
|
getCwd,
|
|
11
11
|
getGlobalConfigFilePath,
|
|
12
12
|
getLegacyGlobalConfigFilePath,
|
|
13
13
|
logError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KPZ4UMNV.js";
|
|
15
15
|
|
|
16
16
|
// src/core/config/schema.ts
|
|
17
17
|
function isAutoUpdaterStatus(value) {
|
|
@@ -688,7 +688,7 @@ function setModelPointer(pointer, modelName) {
|
|
|
688
688
|
}
|
|
689
689
|
};
|
|
690
690
|
saveGlobalConfig(updatedConfig);
|
|
691
|
-
import("./model-
|
|
691
|
+
import("./model-3GE72U3P.js").then(({ reloadModelManager }) => {
|
|
692
692
|
reloadModelManager();
|
|
693
693
|
});
|
|
694
694
|
}
|
|
@@ -2,22 +2,22 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
emitTelemetryEvent
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TNCBVAVV.js";
|
|
6
6
|
import {
|
|
7
7
|
LspServerRegistry,
|
|
8
8
|
findNearestRoot,
|
|
9
9
|
getInstallNotices
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VFFYWI27.js";
|
|
11
11
|
import {
|
|
12
12
|
levenshtein
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7HEKZ73X.js";
|
|
14
14
|
import {
|
|
15
15
|
debug
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-O6CVVWZV.js";
|
|
17
17
|
import {
|
|
18
18
|
getCwd,
|
|
19
19
|
getSessionRoot
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KPZ4UMNV.js";
|
|
21
21
|
|
|
22
22
|
// src/lsp/index.ts
|
|
23
23
|
import { extname as extname3 } from "path";
|
|
@@ -568,7 +568,7 @@ var LspClientManager = class _LspClientManager {
|
|
|
568
568
|
const safeCwd = /[^\x00-\x7F]/.test(resolvedRoot) ? process.cwd() : resolvedRoot;
|
|
569
569
|
let initOpts = serverInfo.initializationOptions;
|
|
570
570
|
if (serverInfo.id === "pyright" || serverInfo.id === "ty") {
|
|
571
|
-
const { detectPythonVenv } = await import("./registry-
|
|
571
|
+
const { detectPythonVenv } = await import("./registry-HF5Y4WZS.js");
|
|
572
572
|
const pythonPath = detectPythonVenv(resolvedRoot);
|
|
573
573
|
if (pythonPath) {
|
|
574
574
|
initOpts = { ...initOpts ?? {}, pythonPath };
|
|
@@ -4,7 +4,7 @@ const require = __pybCreateRequire(import.meta.url);
|
|
|
4
4
|
// package.json
|
|
5
5
|
var package_default = {
|
|
6
6
|
name: "pybao-cli",
|
|
7
|
-
version: "1.5.
|
|
7
|
+
version: "1.5.52",
|
|
8
8
|
bin: {
|
|
9
9
|
pyb: "cli.js",
|
|
10
10
|
"pyb-acp": "cli-acp.js"
|
|
@@ -54,7 +54,7 @@ var package_default = {
|
|
|
54
54
|
],
|
|
55
55
|
scripts: {
|
|
56
56
|
dev: "bun run ./src/entrypoints/cli.tsx --verbose",
|
|
57
|
-
"dev:server":
|
|
57
|
+
"dev:server": `bun --eval "import { startServer } from './src/server/index.ts'; await startServer({ port: 4096 }); await new Promise(() => {});"`,
|
|
58
58
|
"build:npm": "bun scripts/build.mjs",
|
|
59
59
|
build: "npm run build:npm",
|
|
60
60
|
"build:sdk": "npm --prefix ./packages/sdk run build",
|
|
@@ -84,7 +84,7 @@ var package_default = {
|
|
|
84
84
|
"test:unit": "bun test --preload ./tests/setup/native-lock-test-setup.ts tests/unit",
|
|
85
85
|
"test:integration": "bun test tests/integration",
|
|
86
86
|
"test:e2e": "bun test tests/e2e",
|
|
87
|
-
"test:server": "bun test tests/unit/sdk-batch-a-closure.test.ts tests/unit/sdk-batch-b-queryrunner.test.ts tests/unit/sdk-batch-c-sse.test.ts tests/unit/sdk-batch-d-openapi.test.ts tests/unit/sdk-batch-e-capability.test.ts tests/unit/sdk-batch-f-release.test.ts tests/unit/sdk-batch-g-generation.test.ts tests/unit/sdk-batch-h-facade.test.ts tests/unit/sdk-batch-i-lifecycle.test.ts tests/unit/sdk-batch-j-sse-first-class.test.ts tests/unit/sdk-batch-k-release-gate.test.ts tests/unit/sdk-batch-l-mapping-baseline.test.ts tests/unit/sdk-batch-m-docs-deprecate.test.ts tests/unit/sdk-batch-n-window-block.test.ts tests/unit/sdk-batch-o-major-cutover.test.ts tests/unit/sdk-batch-p-governance-closeout.test.ts tests/unit/sdk-batch-q1-runtime-guard.test.ts tests/unit/sdk-batch-q2-contract-capability.test.ts tests/unit/sdk-batch-q3-legacy-semantics.test.ts",
|
|
87
|
+
"test:server": "bun test tests/unit/sdk-batch-a-closure.test.ts tests/unit/sdk-batch-b-queryrunner.test.ts tests/unit/sdk-batch-c-sse.test.ts tests/unit/sdk-batch-d-openapi.test.ts tests/unit/sdk-batch-e-capability.test.ts tests/unit/sdk-batch-f-release.test.ts tests/unit/sdk-batch-g-generation.test.ts tests/unit/sdk-batch-h-facade.test.ts tests/unit/sdk-batch-i-lifecycle.test.ts tests/unit/sdk-batch-j-sse-first-class.test.ts tests/unit/sdk-batch-k-release-gate.test.ts tests/unit/sdk-batch-l-mapping-baseline.test.ts tests/unit/sdk-batch-m-docs-deprecate.test.ts tests/unit/sdk-batch-n-window-block.test.ts tests/unit/sdk-batch-o-major-cutover.test.ts tests/unit/sdk-batch-p-governance-closeout.test.ts tests/unit/sdk-batch-q1-runtime-guard.test.ts tests/unit/sdk-batch-q2-contract-capability.test.ts tests/unit/sdk-batch-q3-legacy-semantics.test.ts tests/unit/sdk-batch-r-model-platform-a0.test.ts tests/unit/sdk-batch-r-model-platform-a-read-routes.test.ts tests/unit/sdk-batch-r-model-platform-b-facade.test.ts tests/unit/sdk-batch-r-model-platform-c-auth-write.test.ts tests/unit/sdk-batch-r-model-platform-d-default-model-write.test.ts tests/unit/sdk-batch-r-model-platform-e-openwork-compat.test.ts tests/unit/sdk-batch-r-model-platform-f-rollout-governance.test.ts tests/unit/sdk-batch-r-model-platform-mp0-contract-freeze.test.ts tests/unit/sdk-batch-r-model-platform-mp1-source-resolver.test.ts tests/unit/sdk-batch-r-model-platform-mp2-provider-catalog.test.ts tests/unit/sdk-batch-r-model-platform-mp3-auth-kernel.test.ts tests/unit/sdk-batch-r-model-platform-mp4-model-catalog-policy.test.ts tests/unit/sdk-batch-r-model-platform-mp5-facade-drift-guard.test.ts tests/unit/sdk-batch-r-model-platform-mp6-openwork-v2.test.ts tests/unit/sdk-batch-r-model-platform-mp7-rollout-window-closeout.test.ts tests/unit/sdk-batch-r-model-platform-mp8-debt-audit-closeout.test.ts",
|
|
88
88
|
"gate:runtime-assets": "bun run scripts/runtime-assets-gate-check.mjs",
|
|
89
89
|
"preflight:runtime-assets": "node scripts/runtime-assets-preflight.mjs",
|
|
90
90
|
"verify:runtime-assets": "node scripts/runtime-assets-verify.mjs",
|
|
@@ -3,19 +3,19 @@ const require = __pybCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
createDefaultToolPermissionContext,
|
|
5
5
|
isPersistableToolPermissionDestination
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LG65MFKB.js";
|
|
7
7
|
import {
|
|
8
8
|
getSettingsFileCandidates,
|
|
9
9
|
loadSettingsWithLegacyFallback,
|
|
10
10
|
saveSettingsToPrimaryAndSyncLegacy
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DYLRL3GG.js";
|
|
12
12
|
import {
|
|
13
13
|
getCurrentProjectConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KQBUAEA5.js";
|
|
15
15
|
import {
|
|
16
16
|
getCwd,
|
|
17
17
|
logError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KPZ4UMNV.js";
|
|
19
19
|
|
|
20
20
|
// src/utils/permissions/toolPermissionSettings.ts
|
|
21
21
|
function uniqueStrings(value) {
|
|
@@ -2,10 +2,10 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
debug
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-O6CVVWZV.js";
|
|
6
6
|
import {
|
|
7
7
|
logError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KPZ4UMNV.js";
|
|
9
9
|
|
|
10
10
|
// src/services/system/systemReminder.ts
|
|
11
11
|
var SystemReminderService = class {
|
|
@@ -2,7 +2,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
createSessionSqlStore
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CBDJJ2WQ.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/protocol/pybAgentSessionLoad.ts
|
|
8
8
|
function loadPybAgentSessionLogData(args) {
|
|
@@ -2,7 +2,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
AbortError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PDH2QHLY.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/protocol/pybAgentStructuredStdio.ts
|
|
8
8
|
import { createInterface } from "node:readline";
|
|
@@ -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-KPZ4UMNV.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/session/conversationPersistence.ts
|
|
8
8
|
import {
|
|
@@ -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-4MAX5UNY.js";
|
|
6
6
|
import {
|
|
7
7
|
parseFrontmatter
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-I42N2MZA.js";
|
|
9
9
|
import {
|
|
10
10
|
getCwd
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KPZ4UMNV.js";
|
|
12
12
|
|
|
13
13
|
// src/services/plugins/pluginValidation.ts
|
|
14
14
|
import { existsSync, lstatSync, readFileSync } from "node:fs";
|
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
getDirsFromGitRootToCwd,
|
|
6
6
|
getProjectInstructionFiles,
|
|
7
7
|
readAndConcatProjectInstructionFiles
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-F3JSDBR6.js";
|
|
9
9
|
import {
|
|
10
10
|
ripGrepWithStatus
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HSOB4XJ2.js";
|
|
12
12
|
import {
|
|
13
13
|
getCurrentProjectConfig,
|
|
14
14
|
getGlobalConfig,
|
|
15
15
|
getOrCreateUserID,
|
|
16
16
|
saveCurrentProjectConfig
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KQBUAEA5.js";
|
|
18
18
|
import {
|
|
19
19
|
SESSION_ID,
|
|
20
20
|
env,
|
|
@@ -22,13 +22,13 @@ import {
|
|
|
22
22
|
getCwd,
|
|
23
23
|
isContextScanDisabled,
|
|
24
24
|
logError
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-KPZ4UMNV.js";
|
|
26
26
|
import {
|
|
27
27
|
MACRO
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-NQJAXQZX.js";
|
|
29
29
|
import {
|
|
30
30
|
__require
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-OYT6EI36.js";
|
|
32
32
|
|
|
33
33
|
// src/utils/config/style.ts
|
|
34
34
|
import { readFileSync } from "fs";
|
|
@@ -3,7 +3,7 @@ const require = __pybCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
emitTelemetryEvent,
|
|
5
5
|
registerTelemetryListener
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TNCBVAVV.js";
|
|
7
7
|
|
|
8
8
|
// src/utils/messages/core.ts
|
|
9
9
|
import { createHash, randomUUID } from "crypto";
|
|
@@ -966,7 +966,7 @@ function getLastAssistantMessageId(messages) {
|
|
|
966
966
|
|
|
967
967
|
// src/utils/messages/index.ts
|
|
968
968
|
async function processUserInput(input, mode, setToolJSX, context, pastedImages) {
|
|
969
|
-
const impl = await import("./userInput-
|
|
969
|
+
const impl = await import("./userInput-Q2HIIFPM.js");
|
|
970
970
|
return impl.processUserInput(input, mode, setToolJSX, context, pastedImages);
|
|
971
971
|
}
|
|
972
972
|
|
|
@@ -2,19 +2,19 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
isSettingSourceEnabled
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OQEZC7X2.js";
|
|
6
6
|
import {
|
|
7
7
|
getSettingsFileCandidates,
|
|
8
8
|
loadSettingsWithLegacyFallback,
|
|
9
9
|
saveSettingsToPrimaryAndSyncLegacy
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DYLRL3GG.js";
|
|
11
11
|
import {
|
|
12
12
|
getSessionPlugins
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KNUG3M6O.js";
|
|
14
14
|
import {
|
|
15
15
|
getCwd,
|
|
16
16
|
getXdgConfigDir
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KPZ4UMNV.js";
|
|
18
18
|
|
|
19
19
|
// src/services/ui/outputStyles.ts
|
|
20
20
|
import figures from "figures";
|
|
@@ -2,18 +2,18 @@ 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-DYLRL3GG.js";
|
|
6
6
|
import {
|
|
7
7
|
debug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-O6CVVWZV.js";
|
|
9
9
|
import {
|
|
10
10
|
env,
|
|
11
11
|
getSessionRoot,
|
|
12
12
|
resolveXdgDataPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KPZ4UMNV.js";
|
|
14
14
|
import {
|
|
15
15
|
__require
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OYT6EI36.js";
|
|
17
17
|
|
|
18
18
|
// src/tools/search/LspTool/registry.ts
|
|
19
19
|
import { join as join2, dirname, basename } from "path";
|
|
@@ -2,7 +2,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
setRequestStatus
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XZG5WCDK.js";
|
|
6
6
|
|
|
7
7
|
// src/services/ai/adapters/responsesStreaming.ts
|
|
8
8
|
async function processResponsesStream(stream, startTime, fallbackResponseId) {
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
PRODUCT_NAME,
|
|
5
5
|
execFileNoThrow,
|
|
6
6
|
logError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KPZ4UMNV.js";
|
|
8
8
|
import {
|
|
9
9
|
MACRO
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NQJAXQZX.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-6AW7SYEB.js"), import("./env-JEHV2OD5.js")]);
|
|
86
86
|
if (await isAutoUpdaterDisabled()) return;
|
|
87
87
|
if (await env.getIsDocker()) return;
|
|
88
88
|
if (!await env.hasInternetAccess()) return;
|
|
@@ -3,15 +3,15 @@ const require = __pybCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
getSessionState,
|
|
5
5
|
setSessionState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-U6BMHOQT.js";
|
|
7
7
|
import {
|
|
8
8
|
getGlobalConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KQBUAEA5.js";
|
|
10
10
|
import {
|
|
11
11
|
debug,
|
|
12
12
|
getCurrentRequest,
|
|
13
13
|
logAPIError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-O6CVVWZV.js";
|
|
15
15
|
|
|
16
16
|
// src/services/ai/openai.ts
|
|
17
17
|
import { ProxyAgent, fetch } from "undici";
|