@rdmind/rdmind 0.0.21-alpha.1 → 0.0.21-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 +34 -34
- package/package.json +2 -2
package/cli.js
CHANGED
|
@@ -183747,7 +183747,7 @@ function createContentGeneratorConfig(config, authType, generationConfig) {
|
|
|
183747
183747
|
};
|
|
183748
183748
|
}
|
|
183749
183749
|
async function createContentGenerator(config, gcConfig, sessionId2) {
|
|
183750
|
-
const version2 = "0.0.21-alpha.
|
|
183750
|
+
const version2 = "0.0.21-alpha.2";
|
|
183751
183751
|
const userAgent2 = `QwenCode/${version2} (${process.platform}; ${process.arch})`;
|
|
183752
183752
|
const baseHeaders = {
|
|
183753
183753
|
"User-Agent": userAgent2
|
|
@@ -319912,7 +319912,7 @@ init_esbuild_shims();
|
|
|
319912
319912
|
|
|
319913
319913
|
// packages/cli/src/generated/git-commit.ts
|
|
319914
319914
|
init_esbuild_shims();
|
|
319915
|
-
var GIT_COMMIT_INFO2 = "
|
|
319915
|
+
var GIT_COMMIT_INFO2 = "9f074b0b";
|
|
319916
319916
|
|
|
319917
319917
|
// packages/cli/src/ui/components/AboutBox.tsx
|
|
319918
319918
|
var import_jsx_runtime43 = __toESM(require_jsx_runtime(), 1);
|
|
@@ -342023,7 +342023,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
342023
342023
|
// packages/cli/src/utils/version.ts
|
|
342024
342024
|
async function getCliVersion() {
|
|
342025
342025
|
const pkgJson = await getPackageJson();
|
|
342026
|
-
return "0.0.21-alpha.
|
|
342026
|
+
return "0.0.21-alpha.2";
|
|
342027
342027
|
}
|
|
342028
342028
|
__name(getCliVersion, "getCliVersion");
|
|
342029
342029
|
|
|
@@ -342476,24 +342476,24 @@ async function parseArguments(settings) {
|
|
|
342476
342476
|
"\u4F7F\u7528\u65B9\u6CD5: rdmind [options] [command]\n\nRDMind - \u542F\u52A8\u4EA4\u4E92\u5F0F CLI\uFF0C\u4F7F\u7528 -p/--prompt \u8FDB\u5165\u975E\u4EA4\u4E92\u6A21\u5F0F"
|
|
342477
342477
|
).option("telemetry", {
|
|
342478
342478
|
type: "boolean",
|
|
342479
|
-
description: "
|
|
342479
|
+
description: "Enable telemetry? This flag specifically controls if telemetry is sent. Other --telemetry-* flags set specific values but do not enable telemetry on their own."
|
|
342480
342480
|
}).option("telemetry-target", {
|
|
342481
342481
|
type: "string",
|
|
342482
342482
|
choices: ["local", "gcp"],
|
|
342483
|
-
description: "
|
|
342483
|
+
description: "Set the telemetry target (local or gcp). Overrides settings files."
|
|
342484
342484
|
}).option("telemetry-otlp-endpoint", {
|
|
342485
342485
|
type: "string",
|
|
342486
|
-
description: "
|
|
342486
|
+
description: "Set the OTLP endpoint for telemetry. Overrides environment variables and settings files."
|
|
342487
342487
|
}).option("telemetry-otlp-protocol", {
|
|
342488
342488
|
type: "string",
|
|
342489
342489
|
choices: ["grpc", "http"],
|
|
342490
|
-
description: "
|
|
342490
|
+
description: "Set the OTLP protocol for telemetry (grpc or http). Overrides settings files."
|
|
342491
342491
|
}).option("telemetry-log-prompts", {
|
|
342492
342492
|
type: "boolean",
|
|
342493
|
-
description: "
|
|
342493
|
+
description: "Enable or disable logging of user prompts for telemetry. Overrides settings files."
|
|
342494
342494
|
}).option("telemetry-outfile", {
|
|
342495
342495
|
type: "string",
|
|
342496
|
-
description: "
|
|
342496
|
+
description: "Redirect all telemetry output to the specified file."
|
|
342497
342497
|
}).deprecateOption(
|
|
342498
342498
|
"telemetry",
|
|
342499
342499
|
'Use the "telemetry.enabled" setting in settings.json instead. This flag will be removed in a future version.'
|
|
@@ -342531,52 +342531,52 @@ async function parseArguments(settings) {
|
|
|
342531
342531
|
}).option("model", {
|
|
342532
342532
|
alias: "m",
|
|
342533
342533
|
type: "string",
|
|
342534
|
-
description:
|
|
342534
|
+
description: `Model`
|
|
342535
342535
|
}).option("prompt", {
|
|
342536
342536
|
alias: "p",
|
|
342537
342537
|
type: "string",
|
|
342538
|
-
description: "
|
|
342538
|
+
description: "Prompt. Appended to input on stdin (if any)."
|
|
342539
342539
|
}).option("prompt-interactive", {
|
|
342540
342540
|
alias: "i",
|
|
342541
342541
|
type: "string",
|
|
342542
|
-
description: "
|
|
342542
|
+
description: "Execute the provided prompt and continue in interactive mode"
|
|
342543
342543
|
}).option("sandbox", {
|
|
342544
342544
|
alias: "s",
|
|
342545
342545
|
type: "boolean",
|
|
342546
|
-
description: "
|
|
342546
|
+
description: "Run in sandbox?"
|
|
342547
342547
|
}).option("sandbox-image", {
|
|
342548
342548
|
type: "string",
|
|
342549
|
-
description: "
|
|
342549
|
+
description: "Sandbox image URI."
|
|
342550
342550
|
}).option("all-files", {
|
|
342551
342551
|
alias: ["a"],
|
|
342552
342552
|
type: "boolean",
|
|
342553
|
-
description: "
|
|
342553
|
+
description: "Include ALL files in context?",
|
|
342554
342554
|
default: false
|
|
342555
342555
|
}).option("show-memory-usage", {
|
|
342556
342556
|
type: "boolean",
|
|
342557
|
-
description: "
|
|
342557
|
+
description: "Show memory usage in status bar",
|
|
342558
342558
|
default: false
|
|
342559
342559
|
}).option("yolo", {
|
|
342560
342560
|
alias: "y",
|
|
342561
342561
|
type: "boolean",
|
|
342562
|
-
description: "
|
|
342562
|
+
description: "Automatically accept all actions (aka YOLO mode, see https://www.youtube.com/watch?v=xvFZjo5PgG0 for more details)?",
|
|
342563
342563
|
default: false
|
|
342564
342564
|
}).option("approval-mode", {
|
|
342565
342565
|
type: "string",
|
|
342566
342566
|
choices: ["plan", "default", "auto-edit", "yolo"],
|
|
342567
|
-
description: "
|
|
342567
|
+
description: "Set the approval mode: plan (plan only), default (prompt for approval), auto-edit (auto-approve edit tools), yolo (auto-approve all tools)"
|
|
342568
342568
|
}).option("checkpointing", {
|
|
342569
342569
|
alias: "c",
|
|
342570
342570
|
type: "boolean",
|
|
342571
|
-
description: "
|
|
342571
|
+
description: "Enables checkpointing of file edits",
|
|
342572
342572
|
default: false
|
|
342573
342573
|
}).option("experimental-acp", {
|
|
342574
342574
|
type: "boolean",
|
|
342575
|
-
description: "
|
|
342575
|
+
description: "Starts the agent in ACP mode"
|
|
342576
342576
|
}).option("allowed-mcp-server-names", {
|
|
342577
342577
|
type: "array",
|
|
342578
342578
|
string: true,
|
|
342579
|
-
description: "
|
|
342579
|
+
description: "Allowed MCP server names",
|
|
342580
342580
|
coerce: /* @__PURE__ */ __name((mcpServerNames) => (
|
|
342581
342581
|
// Handle comma-separated values
|
|
342582
342582
|
mcpServerNames.flatMap(
|
|
@@ -342586,7 +342586,7 @@ async function parseArguments(settings) {
|
|
|
342586
342586
|
}).option("allowed-tools", {
|
|
342587
342587
|
type: "array",
|
|
342588
342588
|
string: true,
|
|
342589
|
-
description: "
|
|
342589
|
+
description: "Tools that are allowed to run without confirmation",
|
|
342590
342590
|
coerce: /* @__PURE__ */ __name((tools) => (
|
|
342591
342591
|
// Handle comma-separated values
|
|
342592
342592
|
tools.flatMap((tool) => tool.split(",").map((t2) => t2.trim()))
|
|
@@ -342595,7 +342595,7 @@ async function parseArguments(settings) {
|
|
|
342595
342595
|
alias: "e",
|
|
342596
342596
|
type: "array",
|
|
342597
342597
|
string: true,
|
|
342598
|
-
description: "
|
|
342598
|
+
description: "A list of extensions to use. If not provided, all extensions are used.",
|
|
342599
342599
|
coerce: /* @__PURE__ */ __name((extensions) => (
|
|
342600
342600
|
// Handle comma-separated values
|
|
342601
342601
|
extensions.flatMap(
|
|
@@ -342605,34 +342605,34 @@ async function parseArguments(settings) {
|
|
|
342605
342605
|
}).option("list-extensions", {
|
|
342606
342606
|
alias: "l",
|
|
342607
342607
|
type: "boolean",
|
|
342608
|
-
description: "
|
|
342608
|
+
description: "List all available extensions and exit."
|
|
342609
342609
|
}).option("include-directories", {
|
|
342610
342610
|
type: "array",
|
|
342611
342611
|
string: true,
|
|
342612
|
-
description: "
|
|
342612
|
+
description: "Additional directories to include in the workspace (comma-separated or multiple --include-directories)",
|
|
342613
342613
|
coerce: /* @__PURE__ */ __name((dirs) => (
|
|
342614
342614
|
// Handle comma-separated values
|
|
342615
342615
|
dirs.flatMap((dir) => dir.split(",").map((d) => d.trim()))
|
|
342616
342616
|
), "coerce")
|
|
342617
342617
|
}).option("openai-logging", {
|
|
342618
342618
|
type: "boolean",
|
|
342619
|
-
description: "
|
|
342619
|
+
description: "Enable logging of OpenAI API calls for debugging and analysis"
|
|
342620
342620
|
}).option("openai-api-key", {
|
|
342621
342621
|
type: "string",
|
|
342622
|
-
description: "
|
|
342622
|
+
description: "OpenAI API key to use for authentication"
|
|
342623
342623
|
}).option("openai-base-url", {
|
|
342624
342624
|
type: "string",
|
|
342625
|
-
description: "OpenAI base URL"
|
|
342625
|
+
description: "OpenAI base URL (for custom endpoints)"
|
|
342626
342626
|
}).option("tavily-api-key", {
|
|
342627
342627
|
type: "string",
|
|
342628
|
-
description: "Tavily API
|
|
342628
|
+
description: "Tavily API key for web search functionality"
|
|
342629
342629
|
}).option("screen-reader", {
|
|
342630
342630
|
type: "boolean",
|
|
342631
|
-
description: "
|
|
342631
|
+
description: "Enable screen reader mode for accessibility."
|
|
342632
342632
|
}).option("vlm-switch-mode", {
|
|
342633
342633
|
type: "string",
|
|
342634
342634
|
choices: ["once", "session", "persist"],
|
|
342635
|
-
description: "
|
|
342635
|
+
description: "Default behavior when images are detected in input. Values: once (one-time switch), session (switch for entire session), persist (continue with current model). Overrides settings files.",
|
|
342636
342636
|
default: process.env["VLM_SWITCH_MODE"]
|
|
342637
342637
|
}).option("output-format", {
|
|
342638
342638
|
alias: "o",
|
|
@@ -342662,13 +342662,13 @@ async function parseArguments(settings) {
|
|
|
342662
342662
|
const query = argv["query"];
|
|
342663
342663
|
const hasPositionalQuery = Array.isArray(query) ? query.length > 0 : !!query;
|
|
342664
342664
|
if (argv["prompt"] && hasPositionalQuery) {
|
|
342665
|
-
return "
|
|
342665
|
+
return "Cannot use both a positional prompt and the --prompt (-p) flag together";
|
|
342666
342666
|
}
|
|
342667
342667
|
if (argv["prompt"] && argv["promptInteractive"]) {
|
|
342668
|
-
return "
|
|
342668
|
+
return "Cannot use both --prompt (-p) and --prompt-interactive (-i) together";
|
|
342669
342669
|
}
|
|
342670
342670
|
if (argv["yolo"] && argv["approvalMode"]) {
|
|
342671
|
-
return "
|
|
342671
|
+
return "Cannot use both --yolo (-y) and --approval-mode together. Use --approval-mode=yolo instead.";
|
|
342672
342672
|
}
|
|
342673
342673
|
return true;
|
|
342674
342674
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rdmind/rdmind",
|
|
3
|
-
"version": "0.0.21-alpha.
|
|
3
|
+
"version": "0.0.21-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
|
"LICENSE"
|
|
20
20
|
],
|
|
21
21
|
"config": {
|
|
22
|
-
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.0.21-alpha.
|
|
22
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.0.21-alpha.2"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|