@rdmind/rdmind 0.0.17-alpha.1 → 0.0.18-alpha.0

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 +7 -8
  2. package/package.json +2 -2
package/cli.js CHANGED
@@ -180180,7 +180180,7 @@ var init_xiaohongshuqs = __esm({
180180
180180
  if (!baseUrl) {
180181
180181
  return false;
180182
180182
  }
180183
- return baseUrl === "https://maas.devops.xiaohongshu.com/snsexperienceai-q3coder480ba35b-inst/v1" || baseUrl.includes("maas.devops.xiaohongshu.com");
180183
+ return baseUrl === "https://maas.devops.xiaohongshu.com/snsexperienceai-q3coder480ba35b-inst/v1";
180184
180184
  }
180185
180185
  buildHeaders() {
180186
180186
  const version2 = this.cliConfig.getCliVersion() || "unknown";
@@ -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.1";
183750
+ const version2 = "0.0.18-alpha.0";
183751
183751
  const userAgent2 = `QwenCode/${version2} (${process.platform}; ${process.arch})`;
183752
183752
  const baseHeaders = {
183753
183753
  "User-Agent": userAgent2
@@ -245142,16 +245142,15 @@ ${content}`;
245142
245142
  } catch (_e) {
245143
245143
  processedContent = content;
245144
245144
  }
245145
- const fallbackPrompt = `\u7528\u6237\u8BF7\u6C42\u5982\u4E0B\uFF1A"${this.params.prompt}"\u3002
245145
+ const fallbackPrompt = `${this.params.prompt}
245146
245146
 
245147
- \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
245148
245148
 
245149
- \u6587\u6863\u5185\u5BB9\uFF1A
245150
245149
  ---
245151
245150
  ${processedContent}
245152
245151
  ---
245153
245152
 
245154
- \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`;
245155
245154
  const result = await geminiClient.generateContent(
245156
245155
  [{ role: "user", parts: [{ text: fallbackPrompt }] }],
245157
245156
  {},
@@ -319932,7 +319931,7 @@ init_esbuild_shims();
319932
319931
 
319933
319932
  // packages/cli/src/generated/git-commit.ts
319934
319933
  init_esbuild_shims();
319935
- var GIT_COMMIT_INFO2 = "29d86f14";
319934
+ var GIT_COMMIT_INFO2 = "6e2a664f";
319936
319935
 
319937
319936
  // packages/cli/src/ui/components/AboutBox.tsx
319938
319937
  var import_jsx_runtime43 = __toESM(require_jsx_runtime(), 1);
@@ -342034,7 +342033,7 @@ __name(getPackageJson, "getPackageJson");
342034
342033
  // packages/cli/src/utils/version.ts
342035
342034
  async function getCliVersion() {
342036
342035
  const pkgJson = await getPackageJson();
342037
- return "0.0.17-alpha.1";
342036
+ return "0.0.18-alpha.0";
342038
342037
  }
342039
342038
  __name(getCliVersion, "getCliVersion");
342040
342039
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rdmind/rdmind",
3
- "version": "0.0.17-alpha.1",
3
+ "version": "0.0.18-alpha.0",
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.1"
21
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.0.18-alpha.0"
22
22
  },
23
23
  "publishConfig": {
24
24
  "access": "public"