@rdmind/rdmind 0.2.4-alpha.0 → 0.2.4-alpha.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/cli.js +32 -24
- package/locales/en.js +2 -2
- package/package.json +2 -2
package/cli.js
CHANGED
|
@@ -158918,7 +158918,7 @@ __export(geminiContentGenerator_exports2, {
|
|
|
158918
158918
|
createGeminiContentGenerator: () => createGeminiContentGenerator
|
|
158919
158919
|
});
|
|
158920
158920
|
function createGeminiContentGenerator(config2, gcConfig) {
|
|
158921
|
-
const version2 = "0.2.4-alpha.
|
|
158921
|
+
const version2 = "0.2.4-alpha.2";
|
|
158922
158922
|
const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
|
|
158923
158923
|
const baseHeaders = {
|
|
158924
158924
|
"User-Agent": userAgent2
|
|
@@ -308179,7 +308179,7 @@ var init_en3 = __esm({
|
|
|
308179
308179
|
"This extension will install the following skills:": "This extension will install the following skills:",
|
|
308180
308180
|
"This extension will install the following subagents:": "This extension will install the following subagents:",
|
|
308181
308181
|
'Installation cancelled for "{{name}}".': 'Installation cancelled for "{{name}}".',
|
|
308182
|
-
"You are installing an extension from {{originSource}}. Some features may not work perfectly with
|
|
308182
|
+
"You are installing an extension from {{originSource}}. Some features may not work perfectly with RDMind.": "You are installing an extension from {{originSource}}. Some features may not work perfectly with RDMind.",
|
|
308183
308183
|
"--ref and --auto-update are not applicable for marketplace extensions.": "--ref and --auto-update are not applicable for marketplace extensions.",
|
|
308184
308184
|
'Extension "{{name}}" installed successfully and enabled.': 'Extension "{{name}}" installed successfully and enabled.',
|
|
308185
308185
|
"Installs an extension from a git repository URL, local path, or claude marketplace (marketplace-url:plugin-name).": "Installs an extension from a git repository URL, local path, or claude marketplace (marketplace-url:plugin-name).",
|
|
@@ -352809,7 +352809,7 @@ function extensionConsentString(extensionConfig, commands = [], skills = [], sub
|
|
|
352809
352809
|
if (originSource !== "QwenCode") {
|
|
352810
352810
|
output.push(
|
|
352811
352811
|
t4(
|
|
352812
|
-
"You are installing an extension from {{originSource}}. Some features may not work perfectly with
|
|
352812
|
+
"You are installing an extension from {{originSource}}. Some features may not work perfectly with RDMind.",
|
|
352813
352813
|
{ originSource }
|
|
352814
352814
|
)
|
|
352815
352815
|
);
|
|
@@ -359100,7 +359100,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
359100
359100
|
// packages/cli/src/utils/version.ts
|
|
359101
359101
|
async function getCliVersion() {
|
|
359102
359102
|
const pkgJson = await getPackageJson();
|
|
359103
|
-
return "0.2.4-alpha.
|
|
359103
|
+
return "0.2.4-alpha.2";
|
|
359104
359104
|
}
|
|
359105
359105
|
__name(getCliVersion, "getCliVersion");
|
|
359106
359106
|
|
|
@@ -366813,7 +366813,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
|
|
|
366813
366813
|
|
|
366814
366814
|
// packages/cli/src/generated/git-commit.ts
|
|
366815
366815
|
init_esbuild_shims();
|
|
366816
|
-
var GIT_COMMIT_INFO = "
|
|
366816
|
+
var GIT_COMMIT_INFO = "a63b89ea8";
|
|
366817
366817
|
|
|
366818
366818
|
// packages/cli/src/utils/systemInfo.ts
|
|
366819
366819
|
async function getNpmVersion() {
|
|
@@ -369526,10 +369526,10 @@ var HTML_TEMPLATE = `<!doctype html>
|
|
|
369526
369526
|
window['react/jsx-runtime'] = jsxRuntime;
|
|
369527
369527
|
window['react/jsx-dev-runtime'] = jsxRuntime;
|
|
369528
369528
|
</script>
|
|
369529
|
-
<script src="https://unpkg.com/@rdmind/webui@
|
|
369529
|
+
<script src="https://unpkg.com/@rdmind/webui@latest/dist/index.umd.js"></script>
|
|
369530
369530
|
<link
|
|
369531
369531
|
rel="stylesheet"
|
|
369532
|
-
href="https://unpkg.com/@rdmind/webui@
|
|
369532
|
+
href="https://unpkg.com/@rdmind/webui@latest/dist/styles.css"
|
|
369533
369533
|
/>
|
|
369534
369534
|
<title>RDMind Chat Export</title>
|
|
369535
369535
|
<style>
|
|
@@ -377036,7 +377036,9 @@ async function runNonInteractive(config2, settings, input, prompt_id, options2 =
|
|
|
377036
377036
|
finalRequestInfo,
|
|
377037
377037
|
abortController.signal,
|
|
377038
377038
|
taskToolProgressHandler || toolCallUpdateCallback ? {
|
|
377039
|
-
...taskToolProgressHandler && {
|
|
377039
|
+
...taskToolProgressHandler && {
|
|
377040
|
+
outputUpdateHandler: taskToolProgressHandler
|
|
377041
|
+
},
|
|
377040
377042
|
...toolCallUpdateCallback && {
|
|
377041
377043
|
onToolCallsUpdate: toolCallUpdateCallback
|
|
377042
377044
|
}
|
|
@@ -421761,7 +421763,7 @@ async function start_sandbox(config2, nodeArgs = [], cliConfig, cliArgs = []) {
|
|
|
421761
421763
|
detached: true
|
|
421762
421764
|
});
|
|
421763
421765
|
const stopProxy = /* @__PURE__ */ __name(() => {
|
|
421764
|
-
|
|
421766
|
+
writeStderrLine("stopping proxy ...");
|
|
421765
421767
|
if (proxyProcess2?.pid) {
|
|
421766
421768
|
process.kill(-proxyProcess2.pid, "SIGTERM");
|
|
421767
421769
|
}
|
|
@@ -421780,7 +421782,7 @@ async function start_sandbox(config2, nodeArgs = [], cliConfig, cliArgs = []) {
|
|
|
421780
421782
|
`Proxy command '${proxyCommand2}' exited with code ${code2}, signal ${signal}`
|
|
421781
421783
|
);
|
|
421782
421784
|
});
|
|
421783
|
-
|
|
421785
|
+
writeStderrLine("waiting for proxy to start ...");
|
|
421784
421786
|
await execAsync3(
|
|
421785
421787
|
`until timeout 0.25 curl -s http://localhost:8877; do sleep 0.25; done`
|
|
421786
421788
|
);
|
|
@@ -421948,7 +421950,7 @@ async function start_sandbox(config2, nodeArgs = [], cliConfig, cliArgs = []) {
|
|
|
421948
421950
|
containerName = `gemini-cli-integration-test-${randomBytes6(4).toString(
|
|
421949
421951
|
"hex"
|
|
421950
421952
|
)}`;
|
|
421951
|
-
|
|
421953
|
+
writeStderrLine(`ContainerName: ${containerName}`);
|
|
421952
421954
|
} else {
|
|
421953
421955
|
let index = 0;
|
|
421954
421956
|
const containerNameCheck = execSync7(
|
|
@@ -421958,7 +421960,7 @@ async function start_sandbox(config2, nodeArgs = [], cliConfig, cliArgs = []) {
|
|
|
421958
421960
|
index++;
|
|
421959
421961
|
}
|
|
421960
421962
|
containerName = `${imageName}-${index}`;
|
|
421961
|
-
|
|
421963
|
+
writeStderrLine(`ContainerName (regular): ${containerName}`);
|
|
421962
421964
|
}
|
|
421963
421965
|
args.push("--name", containerName, "--hostname", containerName);
|
|
421964
421966
|
if (process.env["GEMINI_CLI_TEST_VAR"]) {
|
|
@@ -422110,7 +422112,7 @@ async function start_sandbox(config2, nodeArgs = [], cliConfig, cliArgs = []) {
|
|
|
422110
422112
|
detached: true
|
|
422111
422113
|
});
|
|
422112
422114
|
const stopProxy = /* @__PURE__ */ __name(() => {
|
|
422113
|
-
|
|
422115
|
+
writeStderrLine("stopping proxy container ...");
|
|
422114
422116
|
execSync7(`${config2.command} rm -f ${SANDBOX_PROXY_NAME}`);
|
|
422115
422117
|
}, "stopProxy");
|
|
422116
422118
|
process.on("exit", stopProxy);
|
|
@@ -422127,7 +422129,7 @@ async function start_sandbox(config2, nodeArgs = [], cliConfig, cliArgs = []) {
|
|
|
422127
422129
|
`Proxy container command '${proxyContainerCommand}' exited with code ${code2}, signal ${signal}`
|
|
422128
422130
|
);
|
|
422129
422131
|
});
|
|
422130
|
-
|
|
422132
|
+
writeStderrLine("waiting for proxy to start ...");
|
|
422131
422133
|
await execAsync3(
|
|
422132
422134
|
`until timeout 0.25 curl -s http://localhost:8877; do sleep 0.25; done`
|
|
422133
422135
|
);
|
|
@@ -422181,13 +422183,13 @@ async function imageExists(sandbox, image2) {
|
|
|
422181
422183
|
}
|
|
422182
422184
|
__name(imageExists, "imageExists");
|
|
422183
422185
|
async function pullImage(sandbox, image2) {
|
|
422184
|
-
|
|
422186
|
+
writeStderrLine(`Attempting to pull image ${image2} using ${sandbox}...`);
|
|
422185
422187
|
return new Promise((resolve31) => {
|
|
422186
422188
|
const args = ["pull", image2];
|
|
422187
422189
|
const pullProcess = spawn12(sandbox, args, { stdio: "pipe" });
|
|
422188
422190
|
let stderrData = "";
|
|
422189
422191
|
const onStdoutData = /* @__PURE__ */ __name((data) => {
|
|
422190
|
-
|
|
422192
|
+
writeStderrLine(data.toString().trim());
|
|
422191
422193
|
}, "onStdoutData");
|
|
422192
422194
|
const onStderrData = /* @__PURE__ */ __name((data) => {
|
|
422193
422195
|
stderrData += data.toString();
|
|
@@ -422202,7 +422204,7 @@ async function pullImage(sandbox, image2) {
|
|
|
422202
422204
|
}, "onError");
|
|
422203
422205
|
const onClose = /* @__PURE__ */ __name((code2) => {
|
|
422204
422206
|
if (code2 === 0) {
|
|
422205
|
-
|
|
422207
|
+
writeStderrLine(`Successfully pulled image ${image2}.`);
|
|
422206
422208
|
cleanup();
|
|
422207
422209
|
resolve31(true);
|
|
422208
422210
|
} else {
|
|
@@ -422240,18 +422242,18 @@ async function pullImage(sandbox, image2) {
|
|
|
422240
422242
|
}
|
|
422241
422243
|
__name(pullImage, "pullImage");
|
|
422242
422244
|
async function ensureSandboxImageIsPresent(sandbox, image2) {
|
|
422243
|
-
|
|
422245
|
+
writeStderrLine(`Checking for sandbox image: ${image2}`);
|
|
422244
422246
|
if (await imageExists(sandbox, image2)) {
|
|
422245
|
-
|
|
422247
|
+
writeStderrLine(`Sandbox image ${image2} found locally.`);
|
|
422246
422248
|
return true;
|
|
422247
422249
|
}
|
|
422248
|
-
|
|
422250
|
+
writeStderrLine(`Sandbox image ${image2} not found locally.`);
|
|
422249
422251
|
if (image2 === LOCAL_DEV_SANDBOX_IMAGE_NAME) {
|
|
422250
422252
|
return false;
|
|
422251
422253
|
}
|
|
422252
422254
|
if (await pullImage(sandbox, image2)) {
|
|
422253
422255
|
if (await imageExists(sandbox, image2)) {
|
|
422254
|
-
|
|
422256
|
+
writeStderrLine(`Sandbox image ${image2} is now available after pulling.`);
|
|
422255
422257
|
return true;
|
|
422256
422258
|
} else {
|
|
422257
422259
|
writeStderrLine(
|
|
@@ -423016,6 +423018,13 @@ function buildAuthMethods() {
|
|
|
423016
423018
|
description: "OAuth authentication for Qwen models with free daily requests",
|
|
423017
423019
|
type: "terminal",
|
|
423018
423020
|
args: ["--auth-type=qwen-oauth"]
|
|
423021
|
+
},
|
|
423022
|
+
{
|
|
423023
|
+
id: "xhs-sso" /* XHS_SSO */,
|
|
423024
|
+
name: "XHS SSO",
|
|
423025
|
+
description: "Authentication via Xiaohongshu SSO",
|
|
423026
|
+
type: "terminal",
|
|
423027
|
+
args: ["--auth-type=xhs-sso"]
|
|
423019
423028
|
}
|
|
423020
423029
|
];
|
|
423021
423030
|
}
|
|
@@ -424476,7 +424485,7 @@ var GeminiAgent = class {
|
|
|
424476
424485
|
name: APPROVAL_MODE_INFO[mode].name,
|
|
424477
424486
|
description: APPROVAL_MODE_INFO[mode].description
|
|
424478
424487
|
}));
|
|
424479
|
-
const version2 = "0.2.4-alpha.
|
|
424488
|
+
const version2 = "0.2.4-alpha.2";
|
|
424480
424489
|
return {
|
|
424481
424490
|
protocolVersion: PROTOCOL_VERSION,
|
|
424482
424491
|
agentInfo: {
|
|
@@ -424719,13 +424728,12 @@ var GeminiAgent = class {
|
|
|
424719
424728
|
buildAvailableModels(config2) {
|
|
424720
424729
|
const rawCurrentModelId = (config2.getModel() || this.config.getModel() || "").trim();
|
|
424721
424730
|
const currentAuthType = config2.getAuthType();
|
|
424722
|
-
const
|
|
424731
|
+
const availableModels = currentAuthType ? config2.getAllConfiguredModels([currentAuthType]) : config2.getAllConfiguredModels();
|
|
424723
424732
|
const activeRuntimeSnapshot = config2.getActiveRuntimeModelSnapshot?.();
|
|
424724
424733
|
const currentModelId = activeRuntimeSnapshot ? formatAcpModelId(
|
|
424725
424734
|
activeRuntimeSnapshot.id,
|
|
424726
424735
|
activeRuntimeSnapshot.authType
|
|
424727
424736
|
) : this.formatCurrentModelId(rawCurrentModelId, currentAuthType);
|
|
424728
|
-
const availableModels = allConfiguredModels;
|
|
424729
424737
|
const mappedAvailableModels = availableModels.map((model) => {
|
|
424730
424738
|
const effectiveModelId = model.isRuntimeModel && model.runtimeSnapshotId ? model.runtimeSnapshotId : model.id;
|
|
424731
424739
|
return {
|
package/locales/en.js
CHANGED
|
@@ -446,8 +446,8 @@ export default {
|
|
|
446
446
|
'This extension will install the following subagents:',
|
|
447
447
|
'Installation cancelled for "{{name}}".':
|
|
448
448
|
'Installation cancelled for "{{name}}".',
|
|
449
|
-
'You are installing an extension from {{originSource}}. Some features may not work perfectly with
|
|
450
|
-
'You are installing an extension from {{originSource}}. Some features may not work perfectly with
|
|
449
|
+
'You are installing an extension from {{originSource}}. Some features may not work perfectly with RDMind.':
|
|
450
|
+
'You are installing an extension from {{originSource}}. Some features may not work perfectly with RDMind.',
|
|
451
451
|
'--ref and --auto-update are not applicable for marketplace extensions.':
|
|
452
452
|
'--ref and --auto-update are not applicable for marketplace extensions.',
|
|
453
453
|
'Extension "{{name}}" installed successfully and enabled.':
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rdmind/rdmind",
|
|
3
|
-
"version": "0.2.4-alpha.
|
|
3
|
+
"version": "0.2.4-alpha.2",
|
|
4
4
|
"description": "RDMind - AI-powered coding assistant",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "cli.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"locales"
|
|
20
20
|
],
|
|
21
21
|
"config": {
|
|
22
|
-
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.2.4-alpha.
|
|
22
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.2.4-alpha.2"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|