@zubriq/code 0.19.8-1 → 0.19.8-2
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/chunks/{MaxSizedBox-OWTCJQNO.js → MaxSizedBox-DTQF2MAY.js} +5 -5
- package/dist/chunks/{StandaloneSessionPicker-6NGEQFBH.js → StandaloneSessionPicker-XYO5V6IL.js} +15 -15
- package/dist/chunks/{acpAgent-XPRWSNOW.js → acpAgent-STMSDYGP.js} +30 -30
- package/dist/chunks/{agent-TB6S4VXU.js → agent-C6YBZNSA.js} +2 -2
- package/dist/chunks/{agent-headless-R3XYK5TT.js → agent-headless-65TQRHOY.js} +2 -2
- package/dist/chunks/{bridge-HVRG6SMU.js → bridge-GHGQNQRB.js} +5 -5
- package/dist/chunks/{chunk-6RSBRKF5.js → chunk-23TH7TAA.js} +2 -2
- package/dist/chunks/{chunk-HTC4R67V.js → chunk-3CRBBLJZ.js} +9 -9
- package/dist/chunks/{chunk-XZULYFIX.js → chunk-3SBUWSLI.js} +2 -2
- package/dist/chunks/{chunk-YNWQ3PUQ.js → chunk-3Y2SRVRF.js} +3 -3
- package/dist/chunks/{chunk-ZM5BPDXV.js → chunk-46IFEQDM.js} +1 -1
- package/dist/chunks/{chunk-45YCXM2H.js → chunk-4KMU5RWV.js} +4 -4
- package/dist/chunks/{chunk-5EB2HK3X.js → chunk-5XZ6FOTY.js} +1 -1
- package/dist/chunks/{chunk-DHKDK57Q.js → chunk-65A6UQDZ.js} +13 -13
- package/dist/chunks/{chunk-NBKE6QRZ.js → chunk-6N76CE6T.js} +2 -2
- package/dist/chunks/{chunk-J6OET6C3.js → chunk-6UBX2BIL.js} +4 -4
- package/dist/chunks/{chunk-ABANKQYY.js → chunk-7SZJYZPR.js} +4 -4
- package/dist/chunks/{chunk-QG4ZO2EB.js → chunk-A6XKBVOM.js} +7 -7
- package/dist/chunks/{chunk-PWR5MVM3.js → chunk-AGTU5PQ6.js} +4 -4
- package/dist/chunks/{chunk-536GZ6UF.js → chunk-AKSRZ5BA.js} +1 -1
- package/dist/chunks/{chunk-IO76BGJ3.js → chunk-AXYGF5SX.js} +4 -4
- package/dist/chunks/{chunk-ENKWIF75.js → chunk-COPJASIO.js} +1 -1
- package/dist/chunks/{chunk-4UC3U66K.js → chunk-DH7XPKJV.js} +5 -5
- package/dist/chunks/{chunk-PDITONOB.js → chunk-FACTYQFS.js} +26 -26
- package/dist/chunks/{chunk-QG5KDB6X.js → chunk-FT5ASRN5.js} +5 -5
- package/dist/chunks/{chunk-H3D6XAOL.js → chunk-GKUVMLJH.js} +3 -3
- package/dist/chunks/{chunk-UE5TCZE6.js → chunk-GSNACUDM.js} +2 -2
- package/dist/chunks/{chunk-LGXBB2R2.js → chunk-GXQXFHYV.js} +1 -1
- package/dist/chunks/{chunk-KLLLWQM2.js → chunk-HXVVCTID.js} +1 -1
- package/dist/chunks/{chunk-IQX5S2RS.js → chunk-J6GMF2DO.js} +1 -1
- package/dist/chunks/{chunk-ZWSTIPSW.js → chunk-LLVYPOQV.js} +2 -2
- package/dist/chunks/{chunk-YRM6BC6H.js → chunk-O3DVJ2JO.js} +3 -3
- package/dist/chunks/{chunk-XKYOIERV.js → chunk-OMO3UY57.js} +40 -47
- package/dist/chunks/{chunk-JSEOX4CM.js → chunk-P42OA4GP.js} +3 -3
- package/dist/chunks/{chunk-MJQFA66Z.js → chunk-PADAEB6D.js} +4 -4
- package/dist/chunks/{chunk-7AQTBTVY.js → chunk-PMMJS5AM.js} +1 -1
- package/dist/chunks/{chunk-RTW5ZXHO.js → chunk-PY6PG4BL.js} +1 -1
- package/dist/chunks/{chunk-SM624MOZ.js → chunk-PYWGOON5.js} +1 -1
- package/dist/chunks/{chunk-OCBJKHF2.js → chunk-QUR23Z2Q.js} +2 -2
- package/dist/chunks/{chunk-G23FFNLT.js → chunk-RTCBBRJK.js} +3 -3
- package/dist/chunks/{chunk-5YLZHETW.js → chunk-SVK2TREP.js} +1 -1
- package/dist/chunks/{chunk-4LETJLG2.js → chunk-SWHGVEH5.js} +1 -1
- package/dist/chunks/{chunk-BA4HLTG2.js → chunk-TJS7CXNX.js} +3 -3
- package/dist/chunks/{chunk-PA7QS4X5.js → chunk-TYOF23VK.js} +1 -1
- package/dist/chunks/{chunk-ML2ZWH2K.js → chunk-UMU5USBC.js} +3 -3
- package/dist/chunks/{chunk-4FQL7KUS.js → chunk-VEDR5V7H.js} +2 -2
- package/dist/chunks/{chunk-REPRY4F7.js → chunk-VKWGD42I.js} +7 -7
- package/dist/chunks/{chunk-APYUOROB.js → chunk-VQZSRYKB.js} +12 -12
- package/dist/chunks/{chunk-NHFBLJOI.js → chunk-Z33V6JSK.js} +1 -1
- package/dist/chunks/{chunk-N4HTVZDZ.js → chunk-Z3VQSA4A.js} +1 -1
- package/dist/chunks/{chunk-YOGGIAGF.js → chunk-ZCMLUE4O.js} +1 -1
- package/dist/chunks/{computer-use-A72BECH4.js → computer-use-BH6F7LI7.js} +2 -2
- package/dist/chunks/{contextCommand-RREXA4B7.js → contextCommand-URWDQXBJ.js} +4 -4
- package/dist/chunks/{daemon-status-provider-Y6AFXTET.js → daemon-status-provider-CLNN2UY2.js} +8 -8
- package/dist/chunks/{earlyInputCapture-OAHBOGOO.js → earlyInputCapture-SFINSVH2.js} +2 -2
- package/dist/chunks/{edit-SFYW3FOV.js → edit-5OJRPFGZ.js} +2 -2
- package/dist/chunks/{enter-worktree-LUPPQ2NH.js → enter-worktree-HK54JBSR.js} +2 -2
- package/dist/chunks/{enterPlanMode-44GEN5U6.js → enterPlanMode-5GXOH5PQ.js} +2 -2
- package/dist/chunks/{errors-H3Q3W3DL.js → errors-73SZF7O7.js} +4 -4
- package/dist/chunks/{exit-worktree-34CVVWT4.js → exit-worktree-CBX23VFX.js} +2 -2
- package/dist/chunks/{exitPlanMode-5G5BHNUP.js → exitPlanMode-HADS7AAV.js} +2 -2
- package/dist/chunks/{fast-path-7PKGFBRM.js → fast-path-3QQW3W6W.js} +2 -2
- package/dist/chunks/{gemini-2II6JH4H.js → gemini-Q4KKJMFH.js} +28 -28
- package/dist/chunks/{geminiContentGenerator-SWEJVOC4.js → geminiContentGenerator-SBKWTYFU.js} +1 -1
- package/dist/chunks/{glob-5DFC7DXW.js → glob-ORVXVDJJ.js} +2 -2
- package/dist/chunks/{grep-QYVXGRRJ.js → grep-TMSN6VOF.js} +2 -2
- package/dist/chunks/{initializer-XX3UGUHE.js → initializer-NFO725XQ.js} +6 -6
- package/dist/chunks/{list-AX5FWBVC.js → list-NP6QTWKD.js} +8 -8
- package/dist/chunks/{loadedSettingsAdapter-ISOM6GJ7.js → loadedSettingsAdapter-5PXZC4ZO.js} +6 -6
- package/dist/chunks/{mcp-74F6725E.js → mcp-D3C75I47.js} +6 -6
- package/dist/chunks/{monitor-W4WRSC2C.js → monitor-YZFSN33Z.js} +2 -2
- package/dist/chunks/{nonInteractiveCli-4QMV6C4J.js → nonInteractiveCli-U7ZDVLQD.js} +27 -27
- package/dist/chunks/{notebook-edit-XBZEIP42.js → notebook-edit-LVCCTW65.js} +2 -2
- package/dist/chunks/{openaiContentGenerator-RTUJDESE.js → openaiContentGenerator-G4JHCIGX.js} +2 -2
- package/dist/chunks/{pidfile-YWSGNTPK.js → pidfile-O37JZBNN.js} +2 -2
- package/dist/chunks/{qwenContentGenerator-4ZFYAZLY.js → qwenContentGenerator-SPHKYVJF.js} +3 -3
- package/dist/chunks/{read-file-D7DKDIAC.js → read-file-MBGSR77H.js} +1 -1
- package/dist/chunks/{ripGrep-KG7JYNER.js → ripGrep-WMM4G6QB.js} +2 -2
- package/dist/chunks/{run-qwen-serve-XGJSNF6S.js → run-qwen-serve-3BOGJBTS.js} +13 -13
- package/dist/chunks/{scheduler-MOLWOE4G.js → scheduler-KWPXUSJ4.js} +2 -2
- package/dist/chunks/{serve-4ZNVPYND.js → serve-6JXYVZRD.js} +6 -6
- package/dist/chunks/{server-ACWDFHIF.js → server-KOSHCREY.js} +21 -21
- package/dist/chunks/{session-VYO2GRO2.js → session-5RI6JYZ6.js} +28 -28
- package/dist/chunks/{settings-4J2O3K22.js → settings-URS74H6Z.js} +5 -5
- package/dist/chunks/{shell-RKERJYXR.js → shell-6VOD5NUH.js} +2 -2
- package/dist/chunks/{skill-JYACZJ5V.js → skill-MKIISOW7.js} +1 -1
- package/dist/chunks/{spawnChannel-BA3U3RGX.js → spawnChannel-GM7HIIDH.js} +4 -4
- package/dist/chunks/{src-3P337V4P.js → src-X2S7YA5D.js} +2 -2
- package/dist/chunks/{startInteractiveUI-SUSZ6FWB.js → startInteractiveUI-REEHDN4Z.js} +34 -34
- package/dist/chunks/{team-create-YVWGRZEA.js → team-create-MQVOXIHZ.js} +2 -2
- package/dist/chunks/{team-plan-approval-VRF54TTI.js → team-plan-approval-H74NA3K2.js} +2 -2
- package/dist/chunks/{theme-manager-JW2KOACL.js → theme-manager-YMC4EJQO.js} +2 -2
- package/dist/chunks/{tool-search-KUSMAZBN.js → tool-search-VUJGWH7W.js} +1 -1
- package/dist/chunks/{trustedFolders-ERGSUCDK.js → trustedFolders-UMMVN4P2.js} +3 -3
- package/dist/chunks/{validateNonInterActiveAuth-DDI62H5X.js → validateNonInterActiveAuth-ORA3KCZO.js} +24 -24
- package/dist/chunks/{version-VB3AHVUF.js → version-II46VXNW.js} +1 -1
- package/dist/chunks/{workflow-WINKRCI4.js → workflow-KYFPOWKK.js} +3 -3
- package/dist/chunks/{workspace-providers-status-ZVZPXKSO.js → workspace-providers-status-QDQEYCHT.js} +8 -8
- package/dist/chunks/{workspace-service-GAS2LV2P.js → workspace-service-YBVUOSP7.js} +10 -10
- package/dist/chunks/{workspace-skills-status-4WGKYJVA.js → workspace-skills-status-3ASS4VEE.js} +7 -7
- package/dist/chunks/{write-file-UTLKVZNN.js → write-file-7ZHZO4K5.js} +2 -2
- package/dist/cli.js +11 -11
- package/dist/package.json +2 -2
- package/package.json +1 -1
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import {
|
|
4
4
|
isValidSessionId,
|
|
5
5
|
validateAuthMethod
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VQZSRYKB.js";
|
|
7
7
|
import {
|
|
8
8
|
contextCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TJS7CXNX.js";
|
|
10
10
|
import {
|
|
11
11
|
VSCODE_SHIFT_ENTER_SEQUENCE,
|
|
12
12
|
calculateCost,
|
|
@@ -18,13 +18,13 @@ import {
|
|
|
18
18
|
levelLabel,
|
|
19
19
|
useKeypress,
|
|
20
20
|
writeOsc52
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-DH7XPKJV.js";
|
|
22
22
|
import {
|
|
23
23
|
isTerminalGoalStatusKind
|
|
24
24
|
} from "./chunk-KSPVDFE4.js";
|
|
25
25
|
import {
|
|
26
26
|
Text
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-GSNACUDM.js";
|
|
28
28
|
import {
|
|
29
29
|
require_react
|
|
30
30
|
} from "./chunk-KYMBIKIW.js";
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
} from "./chunk-JZSY4WP3.js";
|
|
37
37
|
import {
|
|
38
38
|
getErrorMessage as getErrorMessage2
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-23TH7TAA.js";
|
|
40
40
|
import {
|
|
41
41
|
GITHUB_WORKFLOW_PATHS,
|
|
42
42
|
INSIGHT_CSS,
|
|
@@ -49,19 +49,19 @@ import {
|
|
|
49
49
|
toJson,
|
|
50
50
|
toJsonl,
|
|
51
51
|
toMarkdown
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-6N76CE6T.js";
|
|
53
53
|
import {
|
|
54
54
|
require_undici
|
|
55
55
|
} from "./chunk-54YZOP7P.js";
|
|
56
56
|
import {
|
|
57
57
|
stripUnsafeCharacters,
|
|
58
58
|
toCodePoints
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-AKSRZ5BA.js";
|
|
60
60
|
import {
|
|
61
61
|
getExtendedSystemInfo,
|
|
62
62
|
getGitVersion,
|
|
63
63
|
getNpmVersion
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-GKUVMLJH.js";
|
|
65
65
|
import {
|
|
66
66
|
formatDuration,
|
|
67
67
|
formatMemoryUsage,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
import {
|
|
71
71
|
isInlineModelOverrideAllowed,
|
|
72
72
|
parseAcpModelOption
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-VEDR5V7H.js";
|
|
74
74
|
import {
|
|
75
75
|
formatUnsupportedVoiceModelMessage,
|
|
76
76
|
getVoiceSettingsScope,
|
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
isVoiceEnabled,
|
|
79
79
|
readVoiceMode,
|
|
80
80
|
readVoiceModel
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-SWHGVEH5.js";
|
|
82
82
|
import {
|
|
83
83
|
OUTPUT_LANGUAGE_AUTO,
|
|
84
84
|
getAllSettingKeys,
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
resolveOutputLanguage,
|
|
91
91
|
validateSettingValue,
|
|
92
92
|
writeOutputLanguageAndRegisterPath
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-7SZJYZPR.js";
|
|
94
94
|
import {
|
|
95
95
|
SUPPORTED_LANGUAGES,
|
|
96
96
|
getCurrentLanguage,
|
|
@@ -98,11 +98,11 @@ import {
|
|
|
98
98
|
resolveSupportedLanguage,
|
|
99
99
|
setLanguageAsync,
|
|
100
100
|
t
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-COPJASIO.js";
|
|
102
102
|
import {
|
|
103
103
|
isFolderTrustEnabled,
|
|
104
104
|
loadTrustedFolders
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-Z3VQSA4A.js";
|
|
106
106
|
import {
|
|
107
107
|
require_strip_json_comments
|
|
108
108
|
} from "./chunk-QYUE6W3T.js";
|
|
@@ -176,7 +176,7 @@ import {
|
|
|
176
176
|
stripStartupContext,
|
|
177
177
|
tryGenerateSessionTitle,
|
|
178
178
|
unregisterGoalHook
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-FACTYQFS.js";
|
|
180
180
|
import {
|
|
181
181
|
external_exports
|
|
182
182
|
} from "./chunk-K5PGHDBN.js";
|
|
@@ -207,7 +207,7 @@ import {
|
|
|
207
207
|
recordSkillInvocation,
|
|
208
208
|
resolveOpenAILogDir,
|
|
209
209
|
uiTelemetryService
|
|
210
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-O3DVJ2JO.js";
|
|
211
211
|
import {
|
|
212
212
|
getAutoMemoryRoot
|
|
213
213
|
} from "./chunk-4KJ2BPIT.js";
|
|
@@ -234,7 +234,7 @@ import {
|
|
|
234
234
|
isCpuProfileRecording,
|
|
235
235
|
startCpuProfile,
|
|
236
236
|
stopCpuProfile
|
|
237
|
-
} from "./chunk-
|
|
237
|
+
} from "./chunk-GXQXFHYV.js";
|
|
238
238
|
import {
|
|
239
239
|
init_esbuild_shims
|
|
240
240
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -4598,8 +4598,8 @@ __name(verifySignature, "verifySignature");
|
|
|
4598
4598
|
|
|
4599
4599
|
// packages/cli/src/utils/standalone-update.ts
|
|
4600
4600
|
var debugLogger6 = createDebugLogger("STANDALONE_UPDATE");
|
|
4601
|
-
var OSS_BASE = "https://
|
|
4602
|
-
var GITHUB_BASE = "https://
|
|
4601
|
+
var OSS_BASE = "https://get.zubriq.by/releases";
|
|
4602
|
+
var GITHUB_BASE = "https://s3.artcloud.by/zubriq-get/releases";
|
|
4603
4603
|
var FETCH_TIMEOUT_MS = 3e4;
|
|
4604
4604
|
var ARCHIVE_TIMEOUT_MS = 3e5;
|
|
4605
4605
|
var VALID_TARGETS = /* @__PURE__ */ new Set([
|
|
@@ -4625,7 +4625,7 @@ function validateTarget(target) {
|
|
|
4625
4625
|
__name(validateTarget, "validateTarget");
|
|
4626
4626
|
function archiveFilename(target) {
|
|
4627
4627
|
const ext = target.startsWith("win") ? "zip" : "tar.gz";
|
|
4628
|
-
return `
|
|
4628
|
+
return `zubriq-code-${target}.${ext}`;
|
|
4629
4629
|
}
|
|
4630
4630
|
__name(archiveFilename, "archiveFilename");
|
|
4631
4631
|
function escapePS(s) {
|
|
@@ -5016,19 +5016,19 @@ function ensureBinWrapper(standaloneDir, target) {
|
|
|
5016
5016
|
"standaloneDir contains characters unsafe for cmd.exe wrapper"
|
|
5017
5017
|
);
|
|
5018
5018
|
}
|
|
5019
|
-
const wrapperPath = path5.join(binDir, "
|
|
5019
|
+
const wrapperPath = path5.join(binDir, "zq.cmd");
|
|
5020
5020
|
if (!fs5.existsSync(wrapperPath)) {
|
|
5021
5021
|
const content = `@echo off\r
|
|
5022
|
-
call "${standaloneDir}\\bin\\
|
|
5022
|
+
call "${standaloneDir}\\bin\\zq.cmd" %*\r
|
|
5023
5023
|
`;
|
|
5024
5024
|
fs5.writeFileSync(wrapperPath, content);
|
|
5025
5025
|
}
|
|
5026
5026
|
} else {
|
|
5027
5027
|
assertSafeForShellEmbed(standaloneDir, "standaloneDir");
|
|
5028
|
-
const wrapperPath = path5.join(binDir, "
|
|
5028
|
+
const wrapperPath = path5.join(binDir, "zq");
|
|
5029
5029
|
if (!fs5.existsSync(wrapperPath)) {
|
|
5030
5030
|
const content = `#!/bin/sh
|
|
5031
|
-
exec "${standaloneDir}/bin/
|
|
5031
|
+
exec "${standaloneDir}/bin/zq" "$@"
|
|
5032
5032
|
`;
|
|
5033
5033
|
fs5.writeFileSync(wrapperPath, content, { mode: 493 });
|
|
5034
5034
|
}
|
|
@@ -5140,10 +5140,10 @@ async function performStandaloneUpdate(standaloneDir, newVersion) {
|
|
|
5140
5140
|
await verifyChecksum(archiveHash, filename, versionPath);
|
|
5141
5141
|
debugLogger6.info("Extracting archive...");
|
|
5142
5142
|
await extractArchive(archivePath, extractDir, target);
|
|
5143
|
-
const newInstallDir = path5.join(extractDir, "
|
|
5143
|
+
const newInstallDir = path5.join(extractDir, "zubriq-code");
|
|
5144
5144
|
if (!fs5.existsSync(path5.join(newInstallDir, "manifest.json"))) {
|
|
5145
5145
|
throw new Error(
|
|
5146
|
-
"Extracted archive does not contain expected
|
|
5146
|
+
"Extracted archive does not contain expected zubriq-code directory"
|
|
5147
5147
|
);
|
|
5148
5148
|
}
|
|
5149
5149
|
debugLogger6.info("Running smoke test...");
|
|
@@ -5270,10 +5270,9 @@ __name(rollbackStandaloneUpdate, "rollbackStandaloneUpdate");
|
|
|
5270
5270
|
init_esbuild_shims();
|
|
5271
5271
|
import * as fs6 from "node:fs";
|
|
5272
5272
|
import * as path6 from "node:path";
|
|
5273
|
-
import * as childProcess from "node:child_process";
|
|
5274
5273
|
var debugLogger7 = createDebugLogger("INSTALLATION_INFO");
|
|
5275
|
-
var STANDALONE_UNIX_INSTALLER = "https://
|
|
5276
|
-
var STANDALONE_WINDOWS_INSTALLER = "https://
|
|
5274
|
+
var STANDALONE_UNIX_INSTALLER = "https://code.zubriq.by/install.sh";
|
|
5275
|
+
var STANDALONE_WINDOWS_INSTALLER = "https://code.zubriq.by/install.ps1";
|
|
5277
5276
|
function getInstallationInfo(projectRoot, isAutoUpdateEnabled) {
|
|
5278
5277
|
const cliPath = process.argv[1];
|
|
5279
5278
|
if (!cliPath) {
|
|
@@ -5312,21 +5311,15 @@ function getInstallationInfo(projectRoot, isAutoUpdateEnabled) {
|
|
|
5312
5311
|
if (standaloneInfo) {
|
|
5313
5312
|
return standaloneInfo;
|
|
5314
5313
|
}
|
|
5315
|
-
if (process.platform === "darwin") {
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
packageManager: "homebrew" /* HOMEBREW */,
|
|
5322
|
-
isGlobal: true,
|
|
5323
|
-
updateMessage: 'Installed via Homebrew. Please update with "brew upgrade".'
|
|
5324
|
-
};
|
|
5325
|
-
} catch (_error) {
|
|
5326
|
-
}
|
|
5314
|
+
if (process.platform === "darwin" && realPath.includes("/Cellar/zq/")) {
|
|
5315
|
+
return {
|
|
5316
|
+
packageManager: "homebrew" /* HOMEBREW */,
|
|
5317
|
+
isGlobal: true,
|
|
5318
|
+
updateMessage: 'Installed via Homebrew. Please update with "brew upgrade zq".'
|
|
5319
|
+
};
|
|
5327
5320
|
}
|
|
5328
5321
|
if (realPath.includes("/.pnpm/global")) {
|
|
5329
|
-
const updateCommand2 = "pnpm add -g @
|
|
5322
|
+
const updateCommand2 = "pnpm add -g @zubriq/code@latest";
|
|
5330
5323
|
return {
|
|
5331
5324
|
packageManager: "pnpm" /* PNPM */,
|
|
5332
5325
|
isGlobal: true,
|
|
@@ -5335,7 +5328,7 @@ function getInstallationInfo(projectRoot, isAutoUpdateEnabled) {
|
|
|
5335
5328
|
};
|
|
5336
5329
|
}
|
|
5337
5330
|
if (realPath.includes("/.yarn/global")) {
|
|
5338
|
-
const updateCommand2 = "yarn global add @
|
|
5331
|
+
const updateCommand2 = "yarn global add @zubriq/code@latest";
|
|
5339
5332
|
return {
|
|
5340
5333
|
packageManager: "yarn" /* YARN */,
|
|
5341
5334
|
isGlobal: true,
|
|
@@ -5351,7 +5344,7 @@ function getInstallationInfo(projectRoot, isAutoUpdateEnabled) {
|
|
|
5351
5344
|
};
|
|
5352
5345
|
}
|
|
5353
5346
|
if (realPath.includes("/.bun/bin")) {
|
|
5354
|
-
const updateCommand2 = "bun add -g @
|
|
5347
|
+
const updateCommand2 = "bun add -g @zubriq/code@latest";
|
|
5355
5348
|
return {
|
|
5356
5349
|
packageManager: "bun" /* BUN */,
|
|
5357
5350
|
isGlobal: true,
|
|
@@ -5385,10 +5378,10 @@ function getInstallationInfo(projectRoot, isAutoUpdateEnabled) {
|
|
|
5385
5378
|
return {
|
|
5386
5379
|
packageManager: "npm" /* NPM */,
|
|
5387
5380
|
isGlobal: true,
|
|
5388
|
-
updateMessage: "Update requires sudo. Please run: sudo npm install -g @
|
|
5381
|
+
updateMessage: "Update requires sudo. Please run: sudo npm install -g @zubriq/code@latest"
|
|
5389
5382
|
};
|
|
5390
5383
|
}
|
|
5391
|
-
const updateCommand = "npm install -g @
|
|
5384
|
+
const updateCommand = "npm install -g @zubriq/code@latest";
|
|
5392
5385
|
return {
|
|
5393
5386
|
packageManager: "npm" /* NPM */,
|
|
5394
5387
|
isGlobal: true,
|
|
@@ -5445,10 +5438,10 @@ function isStandaloneInstallDir(installDir) {
|
|
|
5445
5438
|
return false;
|
|
5446
5439
|
}
|
|
5447
5440
|
const manifest = JSON.parse(fs6.readFileSync(manifestPath, "utf8"));
|
|
5448
|
-
if (manifest.name !== "@
|
|
5441
|
+
if (manifest.name !== "@zubriq/code" || typeof manifest.target !== "string" || !isStandaloneTargetForCurrentPlatform(manifest.target)) {
|
|
5449
5442
|
return false;
|
|
5450
5443
|
}
|
|
5451
|
-
const qwenBin = process.platform === "win32" ? path6.join(installDir, "bin", "
|
|
5444
|
+
const qwenBin = process.platform === "win32" ? path6.join(installDir, "bin", "zq.cmd") : path6.join(installDir, "bin", "zq");
|
|
5452
5445
|
const nodeBin = process.platform === "win32" ? path6.join(installDir, "node", "node.exe") : path6.join(installDir, "node", "bin", "node");
|
|
5453
5446
|
return fs6.existsSync(qwenBin) && fs6.existsSync(nodeBin) && isStandaloneRuntimeFile(qwenBin) && isStandaloneRuntimeFile(nodeBin);
|
|
5454
5447
|
} catch (err) {
|
|
@@ -8,16 +8,16 @@ import {
|
|
|
8
8
|
initializeI18n,
|
|
9
9
|
resolveLanguageSetting,
|
|
10
10
|
t
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-COPJASIO.js";
|
|
12
12
|
import {
|
|
13
13
|
IdeClient
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FACTYQFS.js";
|
|
15
15
|
import {
|
|
16
16
|
AuthEvent,
|
|
17
17
|
IdeConnectionEvent,
|
|
18
18
|
logAuth,
|
|
19
19
|
logIdeConnection
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-O3DVJ2JO.js";
|
|
21
21
|
import {
|
|
22
22
|
getErrorMessage
|
|
23
23
|
} from "./chunk-22MNNNXE.js";
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
} from "./chunk-VRDMOSQS.js";
|
|
46
46
|
import {
|
|
47
47
|
defaultSpawnChannelFactory
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-PMMJS5AM.js";
|
|
49
49
|
import {
|
|
50
50
|
BridgeChannelClosedError,
|
|
51
51
|
BridgeTimeoutError,
|
|
@@ -54,15 +54,15 @@ import {
|
|
|
54
54
|
STATUS_SCHEMA_VERSION,
|
|
55
55
|
createIdleWorkspaceExtensionsStatus,
|
|
56
56
|
createIdleWorkspaceHooksStatus
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-Z33V6JSK.js";
|
|
58
58
|
import {
|
|
59
59
|
ShellExecutionService,
|
|
60
60
|
TrustGateError
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-FACTYQFS.js";
|
|
62
62
|
import {
|
|
63
63
|
DAEMON_TRACEPARENT_META_KEY,
|
|
64
64
|
DAEMON_TRACESTATE_META_KEY
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-O3DVJ2JO.js";
|
|
66
66
|
import {
|
|
67
67
|
init_esbuild_shims
|
|
68
68
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
functionResponsePartsToString
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OMO3UY57.js";
|
|
6
6
|
import {
|
|
7
7
|
parseAndFormatApiError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FACTYQFS.js";
|
|
9
9
|
import {
|
|
10
10
|
init_esbuild_shims
|
|
11
11
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-MX2YXRER.js";
|
|
9
9
|
import {
|
|
10
10
|
loadSettings
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7SZJYZPR.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_RING_SIZE
|
|
14
14
|
} from "./chunk-G7ZG7CA6.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
MCP_BUDGET_WARN_FRACTION,
|
|
20
20
|
parsePositiveIntegerEnv
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FACTYQFS.js";
|
|
22
22
|
import {
|
|
23
23
|
openBrowserSecurely,
|
|
24
24
|
shouldLaunchBrowser
|
|
@@ -287,7 +287,7 @@ var serveCommand = {
|
|
|
287
287
|
process.exit(1);
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
|
-
const { runQwenServe } = await import("./run-qwen-serve-
|
|
290
|
+
const { runQwenServe } = await import("./run-qwen-serve-3BOGJBTS.js");
|
|
291
291
|
try {
|
|
292
292
|
const handle = await runQwenServe({
|
|
293
293
|
port: argv.port,
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
t
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-COPJASIO.js";
|
|
6
6
|
import {
|
|
7
7
|
computeThresholds,
|
|
8
8
|
getCoreSystemPrompt
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FACTYQFS.js";
|
|
10
10
|
import {
|
|
11
11
|
buildSkillLlmContent
|
|
12
12
|
} from "./chunk-NQKLOAVJ.js";
|
|
13
13
|
import {
|
|
14
14
|
DiscoveredMCPTool,
|
|
15
15
|
uiTelemetryService
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-O3DVJ2JO.js";
|
|
17
17
|
import {
|
|
18
18
|
ToolNames
|
|
19
19
|
} from "./chunk-X3YGAX7V.js";
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
import {
|
|
4
4
|
getGitVersion,
|
|
5
5
|
getNpmVersion
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GKUVMLJH.js";
|
|
7
7
|
import {
|
|
8
8
|
STATUS_SCHEMA_VERSION,
|
|
9
9
|
mapDomainErrorToErrorKind
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Z33V6JSK.js";
|
|
11
11
|
import {
|
|
12
12
|
canUseRipgrep
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FACTYQFS.js";
|
|
14
14
|
import {
|
|
15
15
|
detectRuntime,
|
|
16
16
|
redactProxyCredentials
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
resolveModelConfig,
|
|
5
5
|
resolveProviderProtocol,
|
|
6
6
|
stripRuntimeSnapshotPrefix
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FACTYQFS.js";
|
|
8
8
|
import {
|
|
9
9
|
external_exports
|
|
10
10
|
} from "./chunk-K5PGHDBN.js";
|
|
11
11
|
import {
|
|
12
12
|
AuthType,
|
|
13
13
|
MODEL_GENERATION_CONFIG_FIELDS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-O3DVJ2JO.js";
|
|
15
15
|
import {
|
|
16
16
|
REASONING_EFFORT_TIERS,
|
|
17
17
|
normalizeReasoningEffort
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
handleAtCommand,
|
|
5
5
|
resolveAtCommandQuery,
|
|
6
6
|
sanitizeDisplayText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AGTU5PQ6.js";
|
|
8
8
|
import {
|
|
9
9
|
isAtCommand,
|
|
10
10
|
isBtwCommand,
|
|
11
11
|
isSlashCommand,
|
|
12
12
|
normalizePartList,
|
|
13
13
|
recordGoalStatusItem
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OMO3UY57.js";
|
|
15
15
|
import {
|
|
16
16
|
SHELL_COMMAND_NAME,
|
|
17
17
|
fitPendingSlice,
|
|
18
18
|
useSessionStats
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-4KMU5RWV.js";
|
|
20
20
|
import {
|
|
21
21
|
require_react
|
|
22
22
|
} from "./chunk-KYMBIKIW.js";
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
} from "./chunk-KHDZHZMH.js";
|
|
29
29
|
import {
|
|
30
30
|
isInlineModelOverrideAllowed
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-VEDR5V7H.js";
|
|
32
32
|
import {
|
|
33
33
|
t
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-COPJASIO.js";
|
|
35
35
|
import {
|
|
36
36
|
AutonomousLoopTickResolver,
|
|
37
37
|
CoreToolScheduler,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
setActiveGoal,
|
|
54
54
|
shouldRunVisionBridge,
|
|
55
55
|
splitImageParts
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-FACTYQFS.js";
|
|
57
57
|
import {
|
|
58
58
|
ApiCancelEvent,
|
|
59
59
|
ConversationFinishedEvent,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
logConversationFinishedEvent,
|
|
64
64
|
logUserPrompt,
|
|
65
65
|
logUserRetry
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-O3DVJ2JO.js";
|
|
67
67
|
import {
|
|
68
68
|
isAnyAutoMemPath
|
|
69
69
|
} from "./chunk-4KJ2BPIT.js";
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
requestConsentNonInteractive,
|
|
8
8
|
requestConsentOrFail,
|
|
9
9
|
resolveExtensionCommandScope
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FT5ASRN5.js";
|
|
11
11
|
import {
|
|
12
12
|
getErrorMessage as getErrorMessage2
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-23TH7TAA.js";
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_BASE_URL,
|
|
16
16
|
buildHeaders,
|
|
@@ -24,12 +24,12 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
escapeAnsiCtrlCodes,
|
|
26
26
|
stringWidth
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-AKSRZ5BA.js";
|
|
28
28
|
import {
|
|
29
29
|
collectProviderModelsForProtocol,
|
|
30
30
|
getAuthTypeFromEnv,
|
|
31
31
|
resolveCliGenerationConfig
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-VEDR5V7H.js";
|
|
33
33
|
import {
|
|
34
34
|
resolvePath as resolvePath2
|
|
35
35
|
} from "./chunk-E7KNELIZ.js";
|
|
@@ -41,12 +41,12 @@ import {
|
|
|
41
41
|
} from "./chunk-RNBYOUGV.js";
|
|
42
42
|
import {
|
|
43
43
|
serveCommand
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-RTCBBRJK.js";
|
|
45
45
|
import {
|
|
46
46
|
assembleMcpServers,
|
|
47
47
|
getPendingGatedMcpServers,
|
|
48
48
|
mcpCommand
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-6UBX2BIL.js";
|
|
50
50
|
import {
|
|
51
51
|
AcpBridge,
|
|
52
52
|
ChannelLoopScheduler,
|
|
@@ -78,12 +78,12 @@ import {
|
|
|
78
78
|
import {
|
|
79
79
|
loadEnvironment,
|
|
80
80
|
loadSettings
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-7SZJYZPR.js";
|
|
82
82
|
import {
|
|
83
83
|
detectSystemLanguage,
|
|
84
84
|
getCurrentLanguage,
|
|
85
85
|
t
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-COPJASIO.js";
|
|
87
87
|
import {
|
|
88
88
|
canonicalizeWorkspace
|
|
89
89
|
} from "./chunk-ER3BKOLB.js";
|
|
@@ -94,10 +94,10 @@ import {
|
|
|
94
94
|
import {
|
|
95
95
|
getCliVersion,
|
|
96
96
|
getPackageJson
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-TYOF23VK.js";
|
|
98
98
|
import {
|
|
99
99
|
isWorkspaceTrusted
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-Z3VQSA4A.js";
|
|
101
101
|
import {
|
|
102
102
|
writeStderrLine,
|
|
103
103
|
writeStdoutLine
|
|
@@ -129,7 +129,7 @@ import {
|
|
|
129
129
|
redactUrlCredentials,
|
|
130
130
|
resolveBundleDir,
|
|
131
131
|
updateSetting
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-FACTYQFS.js";
|
|
133
133
|
import {
|
|
134
134
|
nextFireTime,
|
|
135
135
|
parseCron
|
|
@@ -138,7 +138,7 @@ import {
|
|
|
138
138
|
getAllGeminiMdFilenames,
|
|
139
139
|
resolveTelemetrySettings,
|
|
140
140
|
setGeminiMdFilename
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-O3DVJ2JO.js";
|
|
142
142
|
import {
|
|
143
143
|
DEFAULT_QWEN_EMBEDDING_MODEL
|
|
144
144
|
} from "./chunk-OFEVLU4C.js";
|
|
@@ -60,7 +60,7 @@ async function runExitCleanup(options = {}) {
|
|
|
60
60
|
}
|
|
61
61
|
__name(runExitCleanup, "runExitCleanup");
|
|
62
62
|
async function cleanupCheckpoints() {
|
|
63
|
-
const { Storage } = await import("./src-
|
|
63
|
+
const { Storage } = await import("./src-X2S7YA5D.js");
|
|
64
64
|
const storage = new Storage(process.cwd());
|
|
65
65
|
const tempDir = storage.getProjectTempDir();
|
|
66
66
|
const checkpointsDir = join(tempDir, "checkpoints");
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
Client,
|
|
5
5
|
So,
|
|
6
6
|
StdioClientTransport
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FACTYQFS.js";
|
|
8
8
|
import "./chunk-5P5XGNYH.js";
|
|
9
9
|
import "./chunk-SKAZWEV5.js";
|
|
10
10
|
import "./chunk-K5PGHDBN.js";
|
|
@@ -27,7 +27,7 @@ import "./chunk-TLWA7TPR.js";
|
|
|
27
27
|
import "./chunk-QYNNN7BK.js";
|
|
28
28
|
import {
|
|
29
29
|
safeJsonStringify
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-O3DVJ2JO.js";
|
|
31
31
|
import "./chunk-E6US47KI.js";
|
|
32
32
|
import "./chunk-UWCTAVOD.js";
|
|
33
33
|
import "./chunk-OFEVLU4C.js";
|