@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.
Files changed (2) hide show
  1. package/cli.js +34 -34
  2. 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.1";
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 = "34a4d574";
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.1";
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: "\u542F\u7528\u9065\u6D4B\uFF1F\u63A7\u5236\u662F\u5426\u53D1\u9001\u9065\u6D4B\u6570\u636E"
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: "\u8BBE\u7F6E\u9065\u6D4B\u76EE\u6807"
342483
+ description: "Set the telemetry target (local or gcp). Overrides settings files."
342484
342484
  }).option("telemetry-otlp-endpoint", {
342485
342485
  type: "string",
342486
- description: "\u8BBE\u7F6E\u9065\u6D4B\u7684 OTLP \u7AEF\u70B9"
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: "\u8BBE\u7F6E\u9065\u6D4B\u7684 OTLP \u534F\u8BAE"
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: "\u542F\u7528\u6216\u7981\u7528\u9065\u6D4B\u4E2D\u7528\u6237\u63D0\u793A\u8BCD\u7684\u65E5\u5FD7\u8BB0\u5F55"
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: "\u5C06\u6240\u6709\u9065\u6D4B\u8F93\u51FA\u91CD\u5B9A\u5411\u5230\u6307\u5B9A\u6587\u4EF6"
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: `\u6A21\u578B`
342534
+ description: `Model`
342535
342535
  }).option("prompt", {
342536
342536
  alias: "p",
342537
342537
  type: "string",
342538
- description: "\u63D0\u793A\u8BCD"
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: "\u6839\u636E\u63D0\u4F9B\u7684\u63D0\u793A\u8BCD\u6267\u884C\u5E76\u7EE7\u7EED\u4EA4\u4E92\u6A21\u5F0F"
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: "\u5728\u6C99\u76D2\u4E2D\u8FD0\u884C\uFF1F"
342546
+ description: "Run in sandbox?"
342547
342547
  }).option("sandbox-image", {
342548
342548
  type: "string",
342549
- description: "\u6C99\u76D2\u955C\u50CF"
342549
+ description: "Sandbox image URI."
342550
342550
  }).option("all-files", {
342551
342551
  alias: ["a"],
342552
342552
  type: "boolean",
342553
- description: "\u4E0A\u4E0B\u6587\u4E2D\u5305\u542B\u6240\u6709\u6587\u4EF6\uFF1F",
342553
+ description: "Include ALL files in context?",
342554
342554
  default: false
342555
342555
  }).option("show-memory-usage", {
342556
342556
  type: "boolean",
342557
- description: "\u72B6\u6001\u680F\u663E\u793A\u4F7F\u7528\u60C5\u51B5\uFF1F",
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: "\u9ED8\u8BA4\u63A5\u53D7\u6240\u6709\u64CD\u4F5C\uFF08YOLO \u6A21\u5F0F\uFF09\uFF1F",
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: "\u8BBE\u7F6E\u5BA1\u6279\u6A21\u5F0F\uFF1Aplan\uFF08\u53EA\u505A\u89C4\u5212\uFF09\u3001default\uFF08\u63D0\u793A\u786E\u8BA4\uFF09\u3001auto_edit\uFF08\u63A5\u53D7\u7F16\u8F91\uFF09\u3001yolo\uFF08\u63A5\u53D7\u6240\u6709\u5DE5\u5177\uFF09"
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: "\u542F\u7528\u68C0\u67E5\u70B9\u529F\u80FD",
342571
+ description: "Enables checkpointing of file edits",
342572
342572
  default: false
342573
342573
  }).option("experimental-acp", {
342574
342574
  type: "boolean",
342575
- description: "\u5728 ACP \u6A21\u5F0F\u4E0B\u542F\u52A8\u4EE3\u7406"
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: "\u5141\u8BB8\u7684 MCP \u670D\u52A1\u540D\u79F0",
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: "\u65E0\u9700\u786E\u8BA4\u5373\u53EF\u8FD0\u884C\u7684\u5DE5\u5177",
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: "\u8981\u4F7F\u7528\u7684\u6269\u5C55\u5217\u8868\u3002\u672A\u63D0\u4F9B\u5219\u4F7F\u7528\u6240\u6709\u6269\u5C55",
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: "\u5217\u51FA\u6240\u6709\u53EF\u7528\u6269\u5C55\u5E76\u9000\u51FA"
342608
+ description: "List all available extensions and exit."
342609
342609
  }).option("include-directories", {
342610
342610
  type: "array",
342611
342611
  string: true,
342612
- description: "\u5DE5\u4F5C\u533A\u4E2D\u7684\u989D\u5916\u76EE\u5F55\uFF08\u9017\u53F7\u5206\u9694\u6216\u591A\u4E2A --include-directories\uFF09",
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: "\u542F\u7528 OpenAI API \u8C03\u7528\u65E5\u5FD7\u8BB0\u5F55"
342619
+ description: "Enable logging of OpenAI API calls for debugging and analysis"
342620
342620
  }).option("openai-api-key", {
342621
342621
  type: "string",
342622
- description: "\u7528\u4E8E\u8EAB\u4EFD\u9A8C\u8BC1\u7684 OpenAI API \u5BC6\u94A5"
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 \u5BC6\u94A5"
342628
+ description: "Tavily API key for web search functionality"
342629
342629
  }).option("screen-reader", {
342630
342630
  type: "boolean",
342631
- description: "\u542F\u7528 screen-reader"
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: "\u68C0\u6D4B\u5230\u8F93\u5165\u4E2D\u5305\u542B\u56FE\u50CF\u65F6\u7684\u9ED8\u8BA4\u884C\u4E3A\u3002\u53EF\u9009\u503C\uFF1Aonce\uFF08\u5207\u6362\u4E00\u6B21\uFF09\u3001session\uFF08\u6574\u4E2A\u4F1A\u8BDD\u671F\u95F4\u5207\u6362\uFF09\u3001persist\uFF08\u7EE7\u7EED\u4F7F\u7528\u5F53\u524D\u6A21\u578B\uFF09\u3002\u4F1A\u8986\u76D6\u8BBE\u7F6E\u6587\u4EF6\u7684\u914D\u7F6E",
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 "\u4E0D\u80FD\u540C\u65F6\u4F7F\u7528\u4F4D\u7F6E\u53C2\u6570\u63D0\u793A\u8BCD\u548C --prompt (-p) \u6807\u5FD7";
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 "\u4E0D\u80FD\u540C\u65F6\u4F7F\u7528 --prompt (-p) \u548C --prompt-interactive (-i)";
342668
+ return "Cannot use both --prompt (-p) and --prompt-interactive (-i) together";
342669
342669
  }
342670
342670
  if (argv["yolo"] && argv["approvalMode"]) {
342671
- return "\u4E0D\u80FD\u540C\u65F6\u4F7F\u7528 --yolo (-y) \u548C --approval-mode\u3002\u8BF7\u4F7F\u7528 --approval-mode=yolo \u66FF\u4EE3";
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.1",
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.1"
22
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.0.21-alpha.2"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public"