@rdmind/rdmind 0.0.17-alpha.0 → 0.0.17

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 +8 -8
  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.17-alpha.0";
183750
+ const version2 = "0.0.17";
183751
183751
  const userAgent2 = `QwenCode/${version2} (${process.platform}; ${process.arch})`;
183752
183752
  const baseHeaders = {
183753
183753
  "User-Agent": userAgent2
@@ -245099,7 +245099,8 @@ var init_redoc_fetch = __esm({
245099
245099
  return `Fetching Redoc document from ${this.params.url} and processing with prompt: "${displayPrompt}"`;
245100
245100
  }
245101
245101
  async shouldConfirmExecute() {
245102
- if (this.config.getApprovalMode() === "auto-edit" /* AUTO_EDIT */) {
245102
+ const approvalMode = this.config.getApprovalMode();
245103
+ if (approvalMode === "auto-edit" /* AUTO_EDIT */ || approvalMode === "plan" /* PLAN */) {
245103
245104
  return false;
245104
245105
  }
245105
245106
  const confirmationDetails = {
@@ -245141,16 +245142,15 @@ ${content}`;
245141
245142
  } catch (_e) {
245142
245143
  processedContent = content;
245143
245144
  }
245144
- const fallbackPrompt = `\u7528\u6237\u8BF7\u6C42\u5982\u4E0B\uFF1A"${this.params.prompt}"\u3002
245145
+ const fallbackPrompt = `${this.params.prompt}
245145
245146
 
245146
- \u6211\u5DF2\u7ECF\u4ECE ${this.params.url} \u83B7\u53D6\u4E86\u5C0F\u7EA2\u4E66 Redoc \u6587\u6863\u5185\u5BB9\u3002\u8FD9\u662F\u4E00\u4E2A\u7ED3\u6784\u5316\u7684\u6587\u6863\uFF0C\u5305\u542B\u4E86\u5B8C\u6574\u7684\u5185\u5BB9\u4FE1\u606F\u3002\u8BF7\u4ED4\u7EC6\u5206\u6790\u6587\u6863\u5185\u5BB9\u5E76\u56DE\u7B54\u7528\u6237\u7684\u8BF7\u6C42\u3002
245147
+ \u4EE5\u4E0B\u662F\u4ECE ${this.params.url} \u83B7\u53D6\u7684\u5C0F\u7EA2\u4E66 Redoc \u6587\u6863\u5185\u5BB9\uFF1A
245147
245148
 
245148
- \u6587\u6863\u5185\u5BB9\uFF1A
245149
245149
  ---
245150
245150
  ${processedContent}
245151
245151
  ---
245152
245152
 
245153
- \u8BF7\u6839\u636E\u6587\u6863\u5185\u5BB9\u63D0\u4F9B\u51C6\u786E\u3001\u8BE6\u7EC6\u7684\u56DE\u7B54\u3002\u5982\u679C\u6587\u6863\u662F JSON \u683C\u5F0F\u7684\u7ED3\u6784\u5316\u5185\u5BB9\uFF0C\u8BF7\u4ECE\u4E2D\u63D0\u53D6\u5173\u952E\u4FE1\u606F\u8FDB\u884C\u5206\u6790\u548C\u603B\u7ED3\u3002`;
245153
+ \u8BF7\u6839\u636E\u4E0A\u8FF0\u6587\u6863\u5185\u5BB9\uFF0C\u5B8C\u6210\u7528\u6237\u7684\u8BF7\u6C42\u3002`;
245154
245154
  const result = await geminiClient.generateContent(
245155
245155
  [{ role: "user", parts: [{ text: fallbackPrompt }] }],
245156
245156
  {},
@@ -319931,7 +319931,7 @@ init_esbuild_shims();
319931
319931
 
319932
319932
  // packages/cli/src/generated/git-commit.ts
319933
319933
  init_esbuild_shims();
319934
- var GIT_COMMIT_INFO2 = "29d86f14";
319934
+ var GIT_COMMIT_INFO2 = "6e2a664f";
319935
319935
 
319936
319936
  // packages/cli/src/ui/components/AboutBox.tsx
319937
319937
  var import_jsx_runtime43 = __toESM(require_jsx_runtime(), 1);
@@ -342033,7 +342033,7 @@ __name(getPackageJson, "getPackageJson");
342033
342033
  // packages/cli/src/utils/version.ts
342034
342034
  async function getCliVersion() {
342035
342035
  const pkgJson = await getPackageJson();
342036
- return "0.0.17-alpha.0";
342036
+ return "0.0.17";
342037
342037
  }
342038
342038
  __name(getCliVersion, "getCliVersion");
342039
342039
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rdmind/rdmind",
3
- "version": "0.0.17-alpha.0",
3
+ "version": "0.0.17",
4
4
  "description": "RDMind - AI-powered coding assistant",
5
5
  "type": "module",
6
6
  "main": "cli.js",
@@ -18,7 +18,7 @@
18
18
  "LICENSE"
19
19
  ],
20
20
  "config": {
21
- "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.0.17-alpha.0"
21
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.0.17"
22
22
  },
23
23
  "publishConfig": {
24
24
  "access": "public"