pybao-cli 1.3.52 → 1.3.53
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-AOYXV2QT.js +42 -0
- package/dist/{acp-2OTYSBBZ.js → acp-KMLX4RCH.js} +26 -26
- package/dist/{agentsValidate-674LM3SD.js → agentsValidate-JW4NJJOL.js} +7 -7
- package/dist/{ask-YXBBQGUE.js → ask-ZS2HCODW.js} +25 -25
- package/dist/{autoUpdater-J7VXOOPN.js → autoUpdater-7PESHUJF.js} +3 -3
- package/dist/{chunk-UH2HA3JE.js → chunk-26LSZPXL.js} +1 -1
- package/dist/{chunk-HZY4TS6I.js → chunk-3JHOXTOX.js} +3 -3
- package/dist/{chunk-KCGULRGJ.js → chunk-3XZO3NS7.js} +1 -1
- package/dist/{chunk-MWPM3ESW.js → chunk-5EKD3BUK.js} +3 -3
- package/dist/{chunk-KIQ5WDBQ.js → chunk-7FU2TGU2.js} +2 -2
- package/dist/{chunk-H6TRG6XP.js → chunk-A33L7KEM.js} +1 -1
- package/dist/{chunk-7ZR4BQXJ.js → chunk-D6F6RBQJ.js} +1 -1
- package/dist/{chunk-7ZR4BQXJ.js.map → chunk-D6F6RBQJ.js.map} +1 -1
- package/dist/{chunk-74D2ZU54.js → chunk-ENZZKPCQ.js} +42 -32
- package/dist/{chunk-74D2ZU54.js.map → chunk-ENZZKPCQ.js.map} +2 -2
- package/dist/{chunk-BEXQOYPD.js → chunk-FD5HDJ24.js} +1 -1
- package/dist/{chunk-GQVZF5YT.js → chunk-HK6SSQIE.js} +2 -2
- package/dist/{chunk-VEKNSDD5.js → chunk-IXT26FIB.js} +3 -3
- package/dist/{chunk-WIPSF6IY.js → chunk-JBVSSHZY.js} +1 -1
- package/dist/{chunk-FEPW6LM2.js → chunk-JBYJPD7P.js} +2 -2
- package/dist/{chunk-VNKJNO7F.js → chunk-MK6BXWKK.js} +1 -1
- package/dist/{chunk-2T5RFGJ2.js → chunk-NOIRQEJ3.js} +2 -2
- package/dist/{chunk-D2ACSVOB.js → chunk-NQQJIA2I.js} +4 -4
- package/dist/{chunk-ZFTWJ7YB.js → chunk-O4YZ73O6.js} +1 -1
- package/dist/{chunk-2DTFPGL3.js → chunk-PVZHSSW7.js} +3 -3
- package/dist/{chunk-L5IDOJJJ.js → chunk-QR2Q7NX2.js} +3 -3
- package/dist/{chunk-E7MXJ3E4.js → chunk-SRWQRQQF.js} +2 -2
- package/dist/{chunk-WADIOYER.js → chunk-SWGOA3ZU.js} +4 -4
- package/dist/{chunk-LR5UHV7J.js → chunk-T7WK2ZZD.js} +13 -12
- package/dist/chunk-T7WK2ZZD.js.map +7 -0
- package/dist/{chunk-45CWC3JW.js → chunk-THZWGN3O.js} +1 -1
- package/dist/{chunk-VNN3AASK.js → chunk-TKSCGDHA.js} +2 -2
- package/dist/{chunk-J3G6PUC4.js → chunk-V4TDNUXR.js} +1 -1
- package/dist/{chunk-ATJCQ3LJ.js → chunk-WWRVGT5K.js} +3 -3
- package/dist/{chunk-5ZEYM76M.js → chunk-ZT65PBML.js} +3 -3
- package/dist/{cli-YFEQ4IR3.js → cli-E7U23XAN.js} +77 -77
- package/dist/commands-44BXNDIT.js +46 -0
- package/dist/{config-7BPAGJNA.js → config-27WH5BYJ.js} +4 -4
- package/dist/{context-53ZMKBDQ.js → context-IEFQHM3Y.js} +5 -5
- package/dist/{customCommands-NYBEDT2N.js → customCommands-YOBKTPJB.js} +4 -4
- package/dist/{env-XXLFUQZ6.js → env-VYAWPXD3.js} +2 -2
- package/dist/index.js +3 -3
- package/dist/{llm-CKECJ2WO.js → llm-S2P47KY7.js} +26 -26
- package/dist/{llmLazy-4INKR64U.js → llmLazy-GRVIV6L4.js} +1 -1
- package/dist/{loader-RQOEGPQK.js → loader-YVVIREGX.js} +4 -4
- package/dist/{mcp-GBJKTMWB.js → mcp-AZIHTI3I.js} +7 -7
- package/dist/{mentionProcessor-3AQ4KZ3G.js → mentionProcessor-T3O4A3AM.js} +5 -5
- package/dist/{messages-XX77D3M7.js → messages-7G7UKVOY.js} +1 -1
- package/dist/{model-SDRZBVMG.js → model-QWNZWP6A.js} +5 -5
- package/dist/{openai-BVRQWJJP.js → openai-OBQMB2YQ.js} +5 -5
- package/dist/{outputStyles-EGFV466C.js → outputStyles-V3UYMYZB.js} +4 -4
- package/dist/{pluginRuntime-CQZJOVSM.js → pluginRuntime-DYHBA6GR.js} +6 -6
- package/dist/{pluginValidation-3WNRJQ5V.js → pluginValidation-PXSMUO5I.js} +6 -6
- package/dist/prompts-YNT3WCUA.js +48 -0
- package/dist/{pybAgentSessionLoad-V3VW4RHA.js → pybAgentSessionLoad-XTLPNOEM.js} +4 -4
- package/dist/{pybAgentSessionResume-IZ3K2PUS.js → pybAgentSessionResume-SJC3FGLN.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-MHANTHJW.js → pybAgentStreamJsonSession-4SZI7VBY.js} +1 -1
- package/dist/{pybHooks-TPWYDEWJ.js → pybHooks-7MY76I6S.js} +4 -4
- package/dist/query-T55KNABL.js +50 -0
- package/dist/{ripgrep-YSUMONVZ.js → ripgrep-TNYTXHLN.js} +3 -3
- package/dist/{skillMarketplace-RJJKOZMF.js → skillMarketplace-FSMOJ4QQ.js} +3 -3
- package/dist/{state-Z6HXOQM7.js → state-IKVQFUZP.js} +2 -2
- package/dist/{theme-JPEBHNFS.js → theme-LG6M7ZNK.js} +5 -5
- package/dist/{toolPermissionSettings-QXKPU5MT.js → toolPermissionSettings-CNRBSNKT.js} +6 -6
- package/dist/tools-AQXIL367.js +47 -0
- package/dist/{userInput-WJKAJ6K2.js → userInput-ZHIIJQ3F.js} +27 -27
- package/package.json +1 -1
- package/dist/REPL-P567LKWL.js +0 -42
- package/dist/chunk-LR5UHV7J.js.map +0 -7
- package/dist/commands-6VC24OZG.js +0 -46
- package/dist/prompts-7U77OFMD.js +0 -48
- package/dist/query-C4CJGUGT.js +0 -50
- package/dist/tools-RBYPUHBD.js +0 -47
- /package/dist/{REPL-P567LKWL.js.map → REPL-AOYXV2QT.js.map} +0 -0
- /package/dist/{acp-2OTYSBBZ.js.map → acp-KMLX4RCH.js.map} +0 -0
- /package/dist/{agentsValidate-674LM3SD.js.map → agentsValidate-JW4NJJOL.js.map} +0 -0
- /package/dist/{ask-YXBBQGUE.js.map → ask-ZS2HCODW.js.map} +0 -0
- /package/dist/{autoUpdater-J7VXOOPN.js.map → autoUpdater-7PESHUJF.js.map} +0 -0
- /package/dist/{chunk-UH2HA3JE.js.map → chunk-26LSZPXL.js.map} +0 -0
- /package/dist/{chunk-HZY4TS6I.js.map → chunk-3JHOXTOX.js.map} +0 -0
- /package/dist/{chunk-KCGULRGJ.js.map → chunk-3XZO3NS7.js.map} +0 -0
- /package/dist/{chunk-MWPM3ESW.js.map → chunk-5EKD3BUK.js.map} +0 -0
- /package/dist/{chunk-KIQ5WDBQ.js.map → chunk-7FU2TGU2.js.map} +0 -0
- /package/dist/{chunk-H6TRG6XP.js.map → chunk-A33L7KEM.js.map} +0 -0
- /package/dist/{chunk-BEXQOYPD.js.map → chunk-FD5HDJ24.js.map} +0 -0
- /package/dist/{chunk-GQVZF5YT.js.map → chunk-HK6SSQIE.js.map} +0 -0
- /package/dist/{chunk-VEKNSDD5.js.map → chunk-IXT26FIB.js.map} +0 -0
- /package/dist/{chunk-WIPSF6IY.js.map → chunk-JBVSSHZY.js.map} +0 -0
- /package/dist/{chunk-FEPW6LM2.js.map → chunk-JBYJPD7P.js.map} +0 -0
- /package/dist/{chunk-VNKJNO7F.js.map → chunk-MK6BXWKK.js.map} +0 -0
- /package/dist/{chunk-2T5RFGJ2.js.map → chunk-NOIRQEJ3.js.map} +0 -0
- /package/dist/{chunk-D2ACSVOB.js.map → chunk-NQQJIA2I.js.map} +0 -0
- /package/dist/{chunk-ZFTWJ7YB.js.map → chunk-O4YZ73O6.js.map} +0 -0
- /package/dist/{chunk-2DTFPGL3.js.map → chunk-PVZHSSW7.js.map} +0 -0
- /package/dist/{chunk-L5IDOJJJ.js.map → chunk-QR2Q7NX2.js.map} +0 -0
- /package/dist/{chunk-E7MXJ3E4.js.map → chunk-SRWQRQQF.js.map} +0 -0
- /package/dist/{chunk-WADIOYER.js.map → chunk-SWGOA3ZU.js.map} +0 -0
- /package/dist/{chunk-45CWC3JW.js.map → chunk-THZWGN3O.js.map} +0 -0
- /package/dist/{chunk-VNN3AASK.js.map → chunk-TKSCGDHA.js.map} +0 -0
- /package/dist/{chunk-J3G6PUC4.js.map → chunk-V4TDNUXR.js.map} +0 -0
- /package/dist/{chunk-ATJCQ3LJ.js.map → chunk-WWRVGT5K.js.map} +0 -0
- /package/dist/{chunk-5ZEYM76M.js.map → chunk-ZT65PBML.js.map} +0 -0
- /package/dist/{cli-YFEQ4IR3.js.map → cli-E7U23XAN.js.map} +0 -0
- /package/dist/{commands-6VC24OZG.js.map → commands-44BXNDIT.js.map} +0 -0
- /package/dist/{config-7BPAGJNA.js.map → config-27WH5BYJ.js.map} +0 -0
- /package/dist/{context-53ZMKBDQ.js.map → context-IEFQHM3Y.js.map} +0 -0
- /package/dist/{customCommands-NYBEDT2N.js.map → customCommands-YOBKTPJB.js.map} +0 -0
- /package/dist/{env-XXLFUQZ6.js.map → env-VYAWPXD3.js.map} +0 -0
- /package/dist/{llm-CKECJ2WO.js.map → llm-S2P47KY7.js.map} +0 -0
- /package/dist/{llmLazy-4INKR64U.js.map → llmLazy-GRVIV6L4.js.map} +0 -0
- /package/dist/{loader-RQOEGPQK.js.map → loader-YVVIREGX.js.map} +0 -0
- /package/dist/{mcp-GBJKTMWB.js.map → mcp-AZIHTI3I.js.map} +0 -0
- /package/dist/{mentionProcessor-3AQ4KZ3G.js.map → mentionProcessor-T3O4A3AM.js.map} +0 -0
- /package/dist/{messages-XX77D3M7.js.map → messages-7G7UKVOY.js.map} +0 -0
- /package/dist/{model-SDRZBVMG.js.map → model-QWNZWP6A.js.map} +0 -0
- /package/dist/{openai-BVRQWJJP.js.map → openai-OBQMB2YQ.js.map} +0 -0
- /package/dist/{outputStyles-EGFV466C.js.map → outputStyles-V3UYMYZB.js.map} +0 -0
- /package/dist/{pluginRuntime-CQZJOVSM.js.map → pluginRuntime-DYHBA6GR.js.map} +0 -0
- /package/dist/{pluginValidation-3WNRJQ5V.js.map → pluginValidation-PXSMUO5I.js.map} +0 -0
- /package/dist/{prompts-7U77OFMD.js.map → prompts-YNT3WCUA.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-V3VW4RHA.js.map → pybAgentSessionLoad-XTLPNOEM.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-IZ3K2PUS.js.map → pybAgentSessionResume-SJC3FGLN.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-MHANTHJW.js.map → pybAgentStreamJsonSession-4SZI7VBY.js.map} +0 -0
- /package/dist/{pybHooks-TPWYDEWJ.js.map → pybHooks-7MY76I6S.js.map} +0 -0
- /package/dist/{query-C4CJGUGT.js.map → query-T55KNABL.js.map} +0 -0
- /package/dist/{ripgrep-YSUMONVZ.js.map → ripgrep-TNYTXHLN.js.map} +0 -0
- /package/dist/{skillMarketplace-RJJKOZMF.js.map → skillMarketplace-FSMOJ4QQ.js.map} +0 -0
- /package/dist/{state-Z6HXOQM7.js.map → state-IKVQFUZP.js.map} +0 -0
- /package/dist/{theme-JPEBHNFS.js.map → theme-LG6M7ZNK.js.map} +0 -0
- /package/dist/{toolPermissionSettings-QXKPU5MT.js.map → toolPermissionSettings-CNRBSNKT.js.map} +0 -0
- /package/dist/{tools-RBYPUHBD.js.map → tools-AQXIL367.js.map} +0 -0
- /package/dist/{userInput-WJKAJ6K2.js.map → userInput-ZHIIJQ3F.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
|
SESSION_ID
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-26LSZPXL.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/log/debugLogger.ts
|
|
8
8
|
import { existsSync, mkdirSync, appendFileSync } from "fs";
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
} from "./chunk-ERMQRV55.js";
|
|
7
7
|
import {
|
|
8
8
|
getGlobalConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PVZHSSW7.js";
|
|
10
10
|
import {
|
|
11
11
|
debug,
|
|
12
12
|
getCurrentRequest,
|
|
13
13
|
logAPIError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-THZWGN3O.js";
|
|
15
15
|
|
|
16
16
|
// src/services/ai/openai.ts
|
|
17
17
|
import { ProxyAgent, fetch } from "undici";
|
|
@@ -3,13 +3,13 @@ const require = __pybCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
getGlobalConfig,
|
|
5
5
|
saveGlobalConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PVZHSSW7.js";
|
|
7
7
|
import {
|
|
8
8
|
debug
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-THZWGN3O.js";
|
|
10
10
|
import {
|
|
11
11
|
logError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-26LSZPXL.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/model/index.ts
|
|
15
15
|
import { memoize } from "lodash-es";
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
getSettingsFileCandidates,
|
|
5
5
|
loadSettingsWithLegacyFallback,
|
|
6
6
|
saveSettingsToPrimaryAndSyncLegacy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-V4TDNUXR.js";
|
|
8
8
|
import {
|
|
9
9
|
createDefaultToolPermissionContext,
|
|
10
10
|
isPersistableToolPermissionDestination
|
|
11
11
|
} from "./chunk-UNNVICVU.js";
|
|
12
12
|
import {
|
|
13
13
|
getCurrentProjectConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PVZHSSW7.js";
|
|
15
15
|
import {
|
|
16
16
|
getCwd,
|
|
17
17
|
logError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-26LSZPXL.js";
|
|
19
19
|
|
|
20
20
|
// src/utils/permissions/toolPermissionSettings.ts
|
|
21
21
|
function uniqueStrings(value) {
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
} from "./chunk-MWPFU2KU.js";
|
|
8
8
|
import {
|
|
9
9
|
getAllTools
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-T7WK2ZZD.js";
|
|
11
11
|
import {
|
|
12
12
|
PybAgentStructuredStdio
|
|
13
13
|
} from "./chunk-5AGDLQAW.js";
|
|
14
14
|
import {
|
|
15
15
|
assertMinVersion
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QR2Q7NX2.js";
|
|
17
17
|
import {
|
|
18
18
|
getToolDescription
|
|
19
19
|
} from "./chunk-XI4LTVYT.js";
|
|
@@ -32,8 +32,8 @@ import {
|
|
|
32
32
|
review_default,
|
|
33
33
|
useExitOnCtrlCD,
|
|
34
34
|
useTerminalSize
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-ENZZKPCQ.js";
|
|
36
|
+
import "./chunk-JBVSSHZY.js";
|
|
37
37
|
import {
|
|
38
38
|
addMcpServer,
|
|
39
39
|
ensureConfigScope,
|
|
@@ -48,48 +48,48 @@ import {
|
|
|
48
48
|
parseEnvVars,
|
|
49
49
|
parseMcpHeaders,
|
|
50
50
|
removeMcpServer
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-NQQJIA2I.js";
|
|
52
|
+
import "./chunk-IXT26FIB.js";
|
|
53
|
+
import "./chunk-A33L7KEM.js";
|
|
54
|
+
import "./chunk-FD5HDJ24.js";
|
|
55
|
+
import "./chunk-7FU2TGU2.js";
|
|
56
56
|
import "./chunk-5P7HBXTD.js";
|
|
57
57
|
import "./chunk-3DFBSQIT.js";
|
|
58
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-5EKD3BUK.js";
|
|
59
59
|
import "./chunk-B6IMQJZM.js";
|
|
60
60
|
import {
|
|
61
61
|
clearOutputStyleCache
|
|
62
|
-
} from "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
62
|
+
} from "./chunk-JBYJPD7P.js";
|
|
63
|
+
import "./chunk-TKSCGDHA.js";
|
|
64
|
+
import "./chunk-SWGOA3ZU.js";
|
|
65
|
+
import "./chunk-3XZO3NS7.js";
|
|
66
|
+
import "./chunk-SRWQRQQF.js";
|
|
67
|
+
import "./chunk-ZT65PBML.js";
|
|
68
|
+
import "./chunk-V4TDNUXR.js";
|
|
69
69
|
import "./chunk-UNNVICVU.js";
|
|
70
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-HK6SSQIE.js";
|
|
71
71
|
import "./chunk-ERMQRV55.js";
|
|
72
72
|
import {
|
|
73
73
|
clearAgentCache,
|
|
74
74
|
setFlagAgentsFromCliJson
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-NOIRQEJ3.js";
|
|
76
76
|
import {
|
|
77
77
|
setEnabledSettingSourcesFromCli
|
|
78
78
|
} from "./chunk-A3BVXXA3.js";
|
|
79
79
|
import "./chunk-BJSWTHRM.js";
|
|
80
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-O4YZ73O6.js";
|
|
81
81
|
import {
|
|
82
82
|
getModelManager,
|
|
83
83
|
isDefaultSlowAndCapableModel
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-WWRVGT5K.js";
|
|
85
85
|
import {
|
|
86
86
|
getContext,
|
|
87
87
|
removeContext,
|
|
88
88
|
setContext
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-3JHOXTOX.js";
|
|
90
90
|
import {
|
|
91
91
|
getTheme
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-MK6BXWKK.js";
|
|
93
93
|
import {
|
|
94
94
|
checkHasTrustDialogAccepted,
|
|
95
95
|
deleteConfigForCLI,
|
|
@@ -103,14 +103,14 @@ import {
|
|
|
103
103
|
saveGlobalConfig,
|
|
104
104
|
setConfigForCLI,
|
|
105
105
|
validateAndRepairAllGPT5Profiles
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-PVZHSSW7.js";
|
|
107
107
|
import {
|
|
108
108
|
ConfigParseError
|
|
109
109
|
} from "./chunk-RQVLBMP7.js";
|
|
110
110
|
import {
|
|
111
111
|
debug,
|
|
112
112
|
initDebugLogger
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-THZWGN3O.js";
|
|
114
114
|
import {
|
|
115
115
|
BunShell,
|
|
116
116
|
CACHE_PATHS,
|
|
@@ -126,10 +126,10 @@ import {
|
|
|
126
126
|
parseLogFilename,
|
|
127
127
|
setCwd,
|
|
128
128
|
setOriginalCwd
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-26LSZPXL.js";
|
|
130
130
|
import {
|
|
131
131
|
MACRO
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-D6F6RBQJ.js";
|
|
133
133
|
import "./chunk-OUXHGDLH.js";
|
|
134
134
|
import "./chunk-I3J4JYES.js";
|
|
135
135
|
|
|
@@ -290,7 +290,7 @@ function createPrintModeControlRequestHandler(args) {
|
|
|
290
290
|
|
|
291
291
|
// src/entrypoints/cli/stdio/streamJsonSession.ts
|
|
292
292
|
async function runPrintModeStreamJsonSession(args) {
|
|
293
|
-
const { runPybAgentStreamJsonSession } = await import("./pybAgentStreamJsonSession-
|
|
293
|
+
const { runPybAgentStreamJsonSession } = await import("./pybAgentStreamJsonSession-4SZI7VBY.js");
|
|
294
294
|
await runPybAgentStreamJsonSession(args);
|
|
295
295
|
}
|
|
296
296
|
|
|
@@ -444,18 +444,18 @@ async function runPrintMode({
|
|
|
444
444
|
`);
|
|
445
445
|
process.exit(0);
|
|
446
446
|
}
|
|
447
|
-
const { createUserMessage } = await import("./messages-
|
|
448
|
-
const { getSystemPrompt } = await import("./prompts-
|
|
449
|
-
const { getContext: getContext2 } = await import("./context-
|
|
447
|
+
const { createUserMessage } = await import("./messages-7G7UKVOY.js");
|
|
448
|
+
const { getSystemPrompt } = await import("./prompts-YNT3WCUA.js");
|
|
449
|
+
const { getContext: getContext2 } = await import("./context-IEFQHM3Y.js");
|
|
450
450
|
const { getTotalCost } = await import("./costTracker-DJVFVAVZ.js");
|
|
451
|
-
const { query } = await import("./query-
|
|
451
|
+
const { query } = await import("./query-T55KNABL.js");
|
|
452
452
|
const { getPybAgentSessionId } = await import("./pybAgentSessionId-EPCAMQ25.js");
|
|
453
453
|
const { pybMessageToSdkMessage, makeSdkInitMessage, makeSdkResultMessage } = await import("./pybAgentStreamJson-EQPO52B6.js");
|
|
454
454
|
const { PybAgentStructuredStdio: PybAgentStructuredStdio2 } = await import("./pybAgentStructuredStdio-ROCSOGNT.js");
|
|
455
455
|
const {
|
|
456
456
|
loadToolPermissionContextFromDisk,
|
|
457
457
|
persistToolPermissionUpdateToDisk
|
|
458
|
-
} = await import("./toolPermissionSettings-
|
|
458
|
+
} = await import("./toolPermissionSettings-CNRBSNKT.js");
|
|
459
459
|
const { applyToolPermissionContextUpdates } = await import("./toolPermissionContext-BSFV23IL.js");
|
|
460
460
|
const sessionIdForSdk = getPybAgentSessionId();
|
|
461
461
|
const startedAt = Date.now();
|
|
@@ -835,9 +835,9 @@ async function setup(cwd2, safeMode) {
|
|
|
835
835
|
grantReadPermissionForOriginalDir();
|
|
836
836
|
let agentLoader;
|
|
837
837
|
try {
|
|
838
|
-
agentLoader = await import("./loader-
|
|
838
|
+
agentLoader = await import("./loader-YVVIREGX.js");
|
|
839
839
|
} catch {
|
|
840
|
-
agentLoader = await import("./loader-
|
|
840
|
+
agentLoader = await import("./loader-YVVIREGX.js");
|
|
841
841
|
}
|
|
842
842
|
const { startAgentWatcher } = agentLoader;
|
|
843
843
|
await startAgentWatcher(() => {
|
|
@@ -2015,12 +2015,12 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2015
2015
|
assertMinVersion();
|
|
2016
2016
|
{
|
|
2017
2017
|
const requested = Array.isArray(pluginDir) && pluginDir.length > 0 ? pluginDir : [];
|
|
2018
|
-
const { listEnabledInstalledPluginPackRoots } = await import("./skillMarketplace-
|
|
2018
|
+
const { listEnabledInstalledPluginPackRoots } = await import("./skillMarketplace-FSMOJ4QQ.js");
|
|
2019
2019
|
const installed = listEnabledInstalledPluginPackRoots();
|
|
2020
2020
|
const all = [...installed, ...requested].filter(Boolean);
|
|
2021
2021
|
const deduped = Array.from(new Set(all));
|
|
2022
2022
|
if (deduped.length > 0) {
|
|
2023
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
2023
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-DYHBA6GR.js");
|
|
2024
2024
|
const { errors } = await configureSessionPlugins({
|
|
2025
2025
|
pluginDirs: deduped
|
|
2026
2026
|
});
|
|
@@ -2030,9 +2030,9 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2030
2030
|
}
|
|
2031
2031
|
}
|
|
2032
2032
|
const [{ ask }, { getTools }, { getCommands }] = await Promise.all([
|
|
2033
|
-
import("./ask-
|
|
2034
|
-
import("./tools-
|
|
2035
|
-
import("./commands-
|
|
2033
|
+
import("./ask-ZS2HCODW.js"),
|
|
2034
|
+
import("./tools-AQXIL367.js"),
|
|
2035
|
+
import("./commands-44BXNDIT.js")
|
|
2036
2036
|
]);
|
|
2037
2037
|
const commands = await getCommands();
|
|
2038
2038
|
const mcpClientsPromise = Array.isArray(mcpConfig) && mcpConfig.length > 0 || strictMcpConfig === true ? getClientsForCliMcpConfig({
|
|
@@ -2051,8 +2051,8 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2051
2051
|
const {
|
|
2052
2052
|
loadPybAgentSessionMessages,
|
|
2053
2053
|
findMostRecentPybAgentSessionId
|
|
2054
|
-
} = await import("./pybAgentSessionLoad-
|
|
2055
|
-
const { listPybAgentSessions, resolvePybResumeSessionIdentifier } = await import("./pybAgentSessionResume-
|
|
2054
|
+
} = await import("./pybAgentSessionLoad-XTLPNOEM.js");
|
|
2055
|
+
const { listPybAgentSessions, resolvePybResumeSessionIdentifier } = await import("./pybAgentSessionResume-SJC3FGLN.js");
|
|
2056
2056
|
const { isUuid } = await import("./uuid-CVHEFGW4.js");
|
|
2057
2057
|
const { setPybAgentSessionId, getPybAgentSessionId } = await import("./pybAgentSessionId-EPCAMQ25.js");
|
|
2058
2058
|
const { randomUUID } = await import("crypto");
|
|
@@ -2177,7 +2177,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2177
2177
|
{ getLatestVersion, getUpdateCommandSuggestions },
|
|
2178
2178
|
semverMod
|
|
2179
2179
|
] = await Promise.all([
|
|
2180
|
-
import("./autoUpdater-
|
|
2180
|
+
import("./autoUpdater-7PESHUJF.js"),
|
|
2181
2181
|
import("semver")
|
|
2182
2182
|
]);
|
|
2183
2183
|
const semver = semverMod?.default ?? semverMod;
|
|
@@ -2238,7 +2238,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2238
2238
|
const isDefaultModel = await isDefaultSlowAndCapableModel();
|
|
2239
2239
|
{
|
|
2240
2240
|
const { render: render3 } = await import("ink");
|
|
2241
|
-
const { REPL } = await import("./REPL-
|
|
2241
|
+
const { REPL } = await import("./REPL-AOYXV2QT.js");
|
|
2242
2242
|
render3(
|
|
2243
2243
|
/* @__PURE__ */ React10.createElement(
|
|
2244
2244
|
REPL,
|
|
@@ -2326,7 +2326,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2326
2326
|
{ replace: !!replace }
|
|
2327
2327
|
);
|
|
2328
2328
|
saveGlobalConfig(nextConfig);
|
|
2329
|
-
await import("./model-
|
|
2329
|
+
await import("./model-QWNZWP6A.js").then(({ reloadModelManager }) => {
|
|
2330
2330
|
reloadModelManager();
|
|
2331
2331
|
});
|
|
2332
2332
|
if (warnings.length > 0) {
|
|
@@ -2344,7 +2344,7 @@ async function parseArgs(stdinContent, renderContext) {
|
|
|
2344
2344
|
const workingDir = typeof options?.cwd === "string" ? options.cwd : cwd();
|
|
2345
2345
|
const asJson = options?.json === true;
|
|
2346
2346
|
await setup(workingDir, false);
|
|
2347
|
-
const { reloadModelManager, getModelManager: getModelManager2 } = await import("./model-
|
|
2347
|
+
const { reloadModelManager, getModelManager: getModelManager2 } = await import("./model-QWNZWP6A.js");
|
|
2348
2348
|
reloadModelManager();
|
|
2349
2349
|
const manager = getModelManager2();
|
|
2350
2350
|
const config2 = getGlobalConfig();
|
|
@@ -2418,7 +2418,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2418
2418
|
try {
|
|
2419
2419
|
const workingDir = typeof options?.cwd === "string" ? options.cwd : cwd();
|
|
2420
2420
|
await setup(workingDir, false);
|
|
2421
|
-
const { validateAgentTemplates } = await import("./agentsValidate-
|
|
2421
|
+
const { validateAgentTemplates } = await import("./agentsValidate-JW4NJJOL.js");
|
|
2422
2422
|
const report = await validateAgentTemplates({
|
|
2423
2423
|
cwd: workingDir,
|
|
2424
2424
|
paths: Array.isArray(paths) ? paths : [],
|
|
@@ -2462,7 +2462,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2462
2462
|
const registerMarketplaceCommands = (marketplaceCmd2) => {
|
|
2463
2463
|
marketplaceCmd2.command("add <source>").description("Add a marketplace from a URL, path, or GitHub repo").action(async (source) => {
|
|
2464
2464
|
try {
|
|
2465
|
-
const { addMarketplace } = await import("./skillMarketplace-
|
|
2465
|
+
const { addMarketplace } = await import("./skillMarketplace-FSMOJ4QQ.js");
|
|
2466
2466
|
console.log("Adding marketplace...");
|
|
2467
2467
|
const { name } = await addMarketplace(source);
|
|
2468
2468
|
console.log(`Successfully added marketplace: ${name}`);
|
|
@@ -2474,7 +2474,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2474
2474
|
});
|
|
2475
2475
|
marketplaceCmd2.command("list").description("List all configured marketplaces").option("--json", "Output as JSON").action(async (options) => {
|
|
2476
2476
|
try {
|
|
2477
|
-
const { listMarketplaces } = await import("./skillMarketplace-
|
|
2477
|
+
const { listMarketplaces } = await import("./skillMarketplace-FSMOJ4QQ.js");
|
|
2478
2478
|
const marketplaces = listMarketplaces();
|
|
2479
2479
|
if (options.json) {
|
|
2480
2480
|
console.log(JSON.stringify(marketplaces, null, 2));
|
|
@@ -2513,7 +2513,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2513
2513
|
});
|
|
2514
2514
|
marketplaceCmd2.command("remove <name>").alias("rm").description("Remove a configured marketplace").action(async (name) => {
|
|
2515
2515
|
try {
|
|
2516
|
-
const { removeMarketplace } = await import("./skillMarketplace-
|
|
2516
|
+
const { removeMarketplace } = await import("./skillMarketplace-FSMOJ4QQ.js");
|
|
2517
2517
|
removeMarketplace(name);
|
|
2518
2518
|
console.log(`Successfully removed marketplace: ${name}`);
|
|
2519
2519
|
process.exit(0);
|
|
@@ -2530,7 +2530,7 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2530
2530
|
listMarketplaces,
|
|
2531
2531
|
refreshAllMarketplacesAsync,
|
|
2532
2532
|
refreshMarketplaceAsync
|
|
2533
|
-
} = await import("./skillMarketplace-
|
|
2533
|
+
} = await import("./skillMarketplace-FSMOJ4QQ.js");
|
|
2534
2534
|
const trimmed = typeof name === "string" ? name.trim() : "";
|
|
2535
2535
|
if (trimmed) {
|
|
2536
2536
|
console.log(`Updating marketplace: ${trimmed}...`);
|
|
@@ -2581,9 +2581,9 @@ Model profiles (${active.length}/${profiles.length} active):
|
|
|
2581
2581
|
);
|
|
2582
2582
|
process.exit(1);
|
|
2583
2583
|
}
|
|
2584
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2584
|
+
const { setCwd: setCwd2 } = await import("./state-IKVQFUZP.js");
|
|
2585
2585
|
await setCwd2(options.cwd ?? cwd());
|
|
2586
|
-
const { installSkillPlugin } = await import("./skillMarketplace-
|
|
2586
|
+
const { installSkillPlugin } = await import("./skillMarketplace-FSMOJ4QQ.js");
|
|
2587
2587
|
const result = installSkillPlugin(plugin, {
|
|
2588
2588
|
scope,
|
|
2589
2589
|
force: options.force === true
|
|
@@ -2610,9 +2610,9 @@ ${skillList}`);
|
|
|
2610
2610
|
);
|
|
2611
2611
|
process.exit(1);
|
|
2612
2612
|
}
|
|
2613
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2613
|
+
const { setCwd: setCwd2 } = await import("./state-IKVQFUZP.js");
|
|
2614
2614
|
await setCwd2(options.cwd ?? cwd());
|
|
2615
|
-
const { uninstallSkillPlugin } = await import("./skillMarketplace-
|
|
2615
|
+
const { uninstallSkillPlugin } = await import("./skillMarketplace-FSMOJ4QQ.js");
|
|
2616
2616
|
const result = uninstallSkillPlugin(plugin, { scope });
|
|
2617
2617
|
const skillList = result.removedSkills.length > 0 ? `Skills: ${result.removedSkills.join(", ")}` : "Skills: (none)";
|
|
2618
2618
|
console.log(`Uninstalled ${result.pluginSpec}
|
|
@@ -2636,9 +2636,9 @@ ${skillList}`);
|
|
|
2636
2636
|
);
|
|
2637
2637
|
process.exit(1);
|
|
2638
2638
|
}
|
|
2639
|
-
const { setCwd: setCwd2, getCwd: getCwd2 } = await import("./state-
|
|
2639
|
+
const { setCwd: setCwd2, getCwd: getCwd2 } = await import("./state-IKVQFUZP.js");
|
|
2640
2640
|
await setCwd2(options.cwd ?? cwd());
|
|
2641
|
-
const { listInstalledSkillPlugins } = await import("./skillMarketplace-
|
|
2641
|
+
const { listInstalledSkillPlugins } = await import("./skillMarketplace-FSMOJ4QQ.js");
|
|
2642
2642
|
const all = listInstalledSkillPlugins();
|
|
2643
2643
|
const filtered = Object.fromEntries(
|
|
2644
2644
|
Object.entries(all).filter(([, record]) => {
|
|
@@ -2682,9 +2682,9 @@ ${skillList}`);
|
|
|
2682
2682
|
);
|
|
2683
2683
|
process.exit(1);
|
|
2684
2684
|
}
|
|
2685
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2685
|
+
const { setCwd: setCwd2 } = await import("./state-IKVQFUZP.js");
|
|
2686
2686
|
await setCwd2(options.cwd ?? cwd());
|
|
2687
|
-
const { enableSkillPlugin } = await import("./skillMarketplace-
|
|
2687
|
+
const { enableSkillPlugin } = await import("./skillMarketplace-FSMOJ4QQ.js");
|
|
2688
2688
|
const result = enableSkillPlugin(plugin, { scope });
|
|
2689
2689
|
console.log(`Enabled ${result.pluginSpec}`);
|
|
2690
2690
|
process.exit(0);
|
|
@@ -2706,9 +2706,9 @@ ${skillList}`);
|
|
|
2706
2706
|
);
|
|
2707
2707
|
process.exit(1);
|
|
2708
2708
|
}
|
|
2709
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2709
|
+
const { setCwd: setCwd2 } = await import("./state-IKVQFUZP.js");
|
|
2710
2710
|
await setCwd2(options.cwd ?? cwd());
|
|
2711
|
-
const { disableSkillPlugin } = await import("./skillMarketplace-
|
|
2711
|
+
const { disableSkillPlugin } = await import("./skillMarketplace-FSMOJ4QQ.js");
|
|
2712
2712
|
const result = disableSkillPlugin(plugin, { scope });
|
|
2713
2713
|
console.log(`Disabled ${result.pluginSpec}`);
|
|
2714
2714
|
process.exit(0);
|
|
@@ -2719,9 +2719,9 @@ ${skillList}`);
|
|
|
2719
2719
|
});
|
|
2720
2720
|
pluginCmd.command("validate <path>").description("Validate a plugin or marketplace manifest").option("--cwd <cwd>", "The current working directory", String, cwd()).action(async (path, options) => {
|
|
2721
2721
|
try {
|
|
2722
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2722
|
+
const { setCwd: setCwd2 } = await import("./state-IKVQFUZP.js");
|
|
2723
2723
|
await setCwd2(options.cwd ?? cwd());
|
|
2724
|
-
const { formatValidationResult, validatePluginOrMarketplacePath } = await import("./pluginValidation-
|
|
2724
|
+
const { formatValidationResult, validatePluginOrMarketplacePath } = await import("./pluginValidation-PXSMUO5I.js");
|
|
2725
2725
|
const result = validatePluginOrMarketplacePath(path);
|
|
2726
2726
|
console.log(
|
|
2727
2727
|
`Validating ${result.fileType} manifest: ${result.filePath}
|
|
@@ -2743,9 +2743,9 @@ ${skillList}`);
|
|
|
2743
2743
|
registerMarketplaceCommands(marketplaceCmd);
|
|
2744
2744
|
skillsCmd.command("install <plugin>").description("Install a skill plugin pack (<plugin>@<marketplace>)").option("--cwd <cwd>", "The current working directory", String, cwd()).option("--project", "Install into this project (.pyb/...)", () => true).option("--force", "Overwrite existing installed files", () => true).action(async (plugin, options) => {
|
|
2745
2745
|
try {
|
|
2746
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2746
|
+
const { setCwd: setCwd2 } = await import("./state-IKVQFUZP.js");
|
|
2747
2747
|
await setCwd2(options.cwd ?? cwd());
|
|
2748
|
-
const { installSkillPlugin } = await import("./skillMarketplace-
|
|
2748
|
+
const { installSkillPlugin } = await import("./skillMarketplace-FSMOJ4QQ.js");
|
|
2749
2749
|
const result = installSkillPlugin(plugin, {
|
|
2750
2750
|
project: options.project === true,
|
|
2751
2751
|
force: options.force === true
|
|
@@ -2761,9 +2761,9 @@ ${skillList}`);
|
|
|
2761
2761
|
});
|
|
2762
2762
|
skillsCmd.command("uninstall <plugin>").description("Uninstall a skill plugin pack (<plugin>@<marketplace>)").option("--cwd <cwd>", "The current working directory", String, cwd()).option("--project", "Uninstall from this project (.pyb/...)", () => true).action(async (plugin, options) => {
|
|
2763
2763
|
try {
|
|
2764
|
-
const { setCwd: setCwd2 } = await import("./state-
|
|
2764
|
+
const { setCwd: setCwd2 } = await import("./state-IKVQFUZP.js");
|
|
2765
2765
|
await setCwd2(options.cwd ?? cwd());
|
|
2766
|
-
const { uninstallSkillPlugin } = await import("./skillMarketplace-
|
|
2766
|
+
const { uninstallSkillPlugin } = await import("./skillMarketplace-FSMOJ4QQ.js");
|
|
2767
2767
|
const result = uninstallSkillPlugin(plugin, {
|
|
2768
2768
|
project: options.project === true
|
|
2769
2769
|
});
|
|
@@ -2778,7 +2778,7 @@ ${skillList}`);
|
|
|
2778
2778
|
});
|
|
2779
2779
|
skillsCmd.command("list-installed").description("List installed skill plugins").action(async () => {
|
|
2780
2780
|
try {
|
|
2781
|
-
const { listInstalledSkillPlugins } = await import("./skillMarketplace-
|
|
2781
|
+
const { listInstalledSkillPlugins } = await import("./skillMarketplace-FSMOJ4QQ.js");
|
|
2782
2782
|
console.log(JSON.stringify(listInstalledSkillPlugins(), null, 2));
|
|
2783
2783
|
process.exit(0);
|
|
2784
2784
|
} catch (error) {
|
|
@@ -3424,7 +3424,7 @@ ${skillList}`);
|
|
|
3424
3424
|
const ink = await import("ink");
|
|
3425
3425
|
const reactModule = await import("react");
|
|
3426
3426
|
const inkjsui = await import("@inkjs/ui");
|
|
3427
|
-
const utilsTheme = await import("./theme-
|
|
3427
|
+
const utilsTheme = await import("./theme-LG6M7ZNK.js");
|
|
3428
3428
|
const { render: render3 } = ink;
|
|
3429
3429
|
const React11 = reactModule;
|
|
3430
3430
|
const { MultiSelect: MultiSelect2 } = inkjsui;
|
|
@@ -3574,7 +3574,7 @@ ${skillList}`);
|
|
|
3574
3574
|
program.command("update").description("Show manual upgrade commands (no auto-install)").action(async () => {
|
|
3575
3575
|
console.log(`Current version: ${MACRO.VERSION}`);
|
|
3576
3576
|
console.log("Checking for updates...");
|
|
3577
|
-
const { getLatestVersion, getUpdateCommandSuggestions } = await import("./autoUpdater-
|
|
3577
|
+
const { getLatestVersion, getUpdateCommandSuggestions } = await import("./autoUpdater-7PESHUJF.js");
|
|
3578
3578
|
const latestVersion = await getLatestVersion();
|
|
3579
3579
|
if (!latestVersion) {
|
|
3580
3580
|
console.error("Failed to check for updates");
|
|
@@ -3629,8 +3629,8 @@ ${skillList}`);
|
|
|
3629
3629
|
await setup(cwd2, safe);
|
|
3630
3630
|
assertMinVersion();
|
|
3631
3631
|
const [{ getTools }, { getCommands }] = await Promise.all([
|
|
3632
|
-
import("./tools-
|
|
3633
|
-
import("./commands-
|
|
3632
|
+
import("./tools-AQXIL367.js"),
|
|
3633
|
+
import("./commands-44BXNDIT.js")
|
|
3634
3634
|
]);
|
|
3635
3635
|
const [allTools, commands, mcpClients] = await Promise.all([
|
|
3636
3636
|
getTools(
|
|
@@ -3641,8 +3641,8 @@ ${skillList}`);
|
|
|
3641
3641
|
]);
|
|
3642
3642
|
const tools = disableSlashCommands === true ? allTools.filter((t) => t.name !== "SlashCommand") : allTools;
|
|
3643
3643
|
if (identifier !== void 0) {
|
|
3644
|
-
const { loadPybAgentSessionMessages } = await import("./pybAgentSessionLoad-
|
|
3645
|
-
const { listPybAgentSessions, resolvePybResumeSessionIdentifier } = await import("./pybAgentSessionResume-
|
|
3644
|
+
const { loadPybAgentSessionMessages } = await import("./pybAgentSessionLoad-XTLPNOEM.js");
|
|
3645
|
+
const { listPybAgentSessions, resolvePybResumeSessionIdentifier } = await import("./pybAgentSessionResume-SJC3FGLN.js");
|
|
3646
3646
|
const { setPybAgentSessionId } = await import("./pybAgentSessionId-EPCAMQ25.js");
|
|
3647
3647
|
const rawIdentifier = String(identifier).trim();
|
|
3648
3648
|
const isLegacyNumber = /^-?\\d+$/.test(rawIdentifier);
|
|
@@ -3712,7 +3712,7 @@ ${skillList}`);
|
|
|
3712
3712
|
const isDefaultModel = await isDefaultSlowAndCapableModel();
|
|
3713
3713
|
{
|
|
3714
3714
|
const { render: render3 } = await import("ink");
|
|
3715
|
-
const { REPL } = await import("./REPL-
|
|
3715
|
+
const { REPL } = await import("./REPL-AOYXV2QT.js");
|
|
3716
3716
|
render3(
|
|
3717
3717
|
/* @__PURE__ */ React10.createElement(
|
|
3718
3718
|
REPL,
|
|
@@ -3739,7 +3739,7 @@ ${skillList}`);
|
|
|
3739
3739
|
process.exit(1);
|
|
3740
3740
|
}
|
|
3741
3741
|
} else {
|
|
3742
|
-
const { listPybAgentSessions } = await import("./pybAgentSessionResume-
|
|
3742
|
+
const { listPybAgentSessions } = await import("./pybAgentSessionResume-SJC3FGLN.js");
|
|
3743
3743
|
const sessions = listPybAgentSessions({ cwd: cwd2 });
|
|
3744
3744
|
if (sessions.length === 0) {
|
|
3745
3745
|
console.error("No conversation found to resume");
|
|
@@ -3844,7 +3844,7 @@ async function gracefulExit(code = 0) {
|
|
|
3844
3844
|
}
|
|
3845
3845
|
isGracefulExitInProgress = true;
|
|
3846
3846
|
try {
|
|
3847
|
-
const { runSessionEndHooks } = await import("./pybHooks-
|
|
3847
|
+
const { runSessionEndHooks } = await import("./pybHooks-7MY76I6S.js");
|
|
3848
3848
|
const { getPybAgentSessionId } = await import("./pybAgentSessionId-EPCAMQ25.js");
|
|
3849
3849
|
const { tmpdir } = await import("os");
|
|
3850
3850
|
const { join: join2 } = await import("path");
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { createRequire as __pybCreateRequire } from "node:module";
|
|
2
|
+
const require = __pybCreateRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
getCommand,
|
|
5
|
+
getCommands,
|
|
6
|
+
hasCommand
|
|
7
|
+
} from "./chunk-ENZZKPCQ.js";
|
|
8
|
+
import "./chunk-JBVSSHZY.js";
|
|
9
|
+
import "./chunk-NQQJIA2I.js";
|
|
10
|
+
import "./chunk-IXT26FIB.js";
|
|
11
|
+
import "./chunk-A33L7KEM.js";
|
|
12
|
+
import "./chunk-FD5HDJ24.js";
|
|
13
|
+
import "./chunk-7FU2TGU2.js";
|
|
14
|
+
import "./chunk-5P7HBXTD.js";
|
|
15
|
+
import "./chunk-3DFBSQIT.js";
|
|
16
|
+
import "./chunk-5EKD3BUK.js";
|
|
17
|
+
import "./chunk-B6IMQJZM.js";
|
|
18
|
+
import "./chunk-JBYJPD7P.js";
|
|
19
|
+
import "./chunk-TKSCGDHA.js";
|
|
20
|
+
import "./chunk-SWGOA3ZU.js";
|
|
21
|
+
import "./chunk-3XZO3NS7.js";
|
|
22
|
+
import "./chunk-SRWQRQQF.js";
|
|
23
|
+
import "./chunk-ZT65PBML.js";
|
|
24
|
+
import "./chunk-V4TDNUXR.js";
|
|
25
|
+
import "./chunk-UNNVICVU.js";
|
|
26
|
+
import "./chunk-HK6SSQIE.js";
|
|
27
|
+
import "./chunk-ERMQRV55.js";
|
|
28
|
+
import "./chunk-NOIRQEJ3.js";
|
|
29
|
+
import "./chunk-A3BVXXA3.js";
|
|
30
|
+
import "./chunk-BJSWTHRM.js";
|
|
31
|
+
import "./chunk-O4YZ73O6.js";
|
|
32
|
+
import "./chunk-WWRVGT5K.js";
|
|
33
|
+
import "./chunk-3JHOXTOX.js";
|
|
34
|
+
import "./chunk-MK6BXWKK.js";
|
|
35
|
+
import "./chunk-PVZHSSW7.js";
|
|
36
|
+
import "./chunk-RQVLBMP7.js";
|
|
37
|
+
import "./chunk-THZWGN3O.js";
|
|
38
|
+
import "./chunk-26LSZPXL.js";
|
|
39
|
+
import "./chunk-D6F6RBQJ.js";
|
|
40
|
+
import "./chunk-OUXHGDLH.js";
|
|
41
|
+
import "./chunk-I3J4JYES.js";
|
|
42
|
+
export {
|
|
43
|
+
getCommand,
|
|
44
|
+
getCommands,
|
|
45
|
+
hasCommand
|
|
46
|
+
};
|
|
@@ -36,11 +36,11 @@ import {
|
|
|
36
36
|
setModelPointer,
|
|
37
37
|
validateAndRepairAllGPT5Profiles,
|
|
38
38
|
validateAndRepairGPT5Profile
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-PVZHSSW7.js";
|
|
40
40
|
import "./chunk-RQVLBMP7.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-THZWGN3O.js";
|
|
42
|
+
import "./chunk-26LSZPXL.js";
|
|
43
|
+
import "./chunk-D6F6RBQJ.js";
|
|
44
44
|
import "./chunk-I3J4JYES.js";
|
|
45
45
|
export {
|
|
46
46
|
DEFAULT_GLOBAL_CONFIG,
|
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
getReadme,
|
|
11
11
|
removeContext,
|
|
12
12
|
setContext
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-3JHOXTOX.js";
|
|
14
|
+
import "./chunk-PVZHSSW7.js";
|
|
15
15
|
import "./chunk-RQVLBMP7.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-THZWGN3O.js";
|
|
17
|
+
import "./chunk-26LSZPXL.js";
|
|
18
|
+
import "./chunk-D6F6RBQJ.js";
|
|
19
19
|
import "./chunk-I3J4JYES.js";
|
|
20
20
|
export {
|
|
21
21
|
getContext,
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
parseFrontmatter,
|
|
9
9
|
reloadCustomCommands,
|
|
10
10
|
resolveFileReferences
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SRWQRQQF.js";
|
|
12
12
|
import "./chunk-BJSWTHRM.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-THZWGN3O.js";
|
|
14
|
+
import "./chunk-26LSZPXL.js";
|
|
15
|
+
import "./chunk-D6F6RBQJ.js";
|
|
16
16
|
import "./chunk-I3J4JYES.js";
|
|
17
17
|
export {
|
|
18
18
|
executeBashCommands,
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
getGlobalConfigFilePath,
|
|
9
9
|
getMemoryDir,
|
|
10
10
|
getPybBaseDir
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-26LSZPXL.js";
|
|
12
|
+
import "./chunk-D6F6RBQJ.js";
|
|
13
13
|
import "./chunk-I3J4JYES.js";
|
|
14
14
|
export {
|
|
15
15
|
GLOBAL_CONFIG_FILE,
|
package/dist/index.js
CHANGED
|
@@ -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-D6F6RBQJ.js";
|
|
6
6
|
import "./chunk-I3J4JYES.js";
|
|
7
7
|
|
|
8
8
|
// src/entrypoints/index.ts
|
|
@@ -28,7 +28,7 @@ Common options:
|
|
|
28
28
|
process.exit(0);
|
|
29
29
|
}
|
|
30
30
|
if (hasFlag("--acp")) {
|
|
31
|
-
await import("./acp-
|
|
31
|
+
await import("./acp-KMLX4RCH.js");
|
|
32
32
|
} else {
|
|
33
|
-
await import("./cli-
|
|
33
|
+
await import("./cli-E7U23XAN.js");
|
|
34
34
|
}
|