@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.
- package/cli.js +8 -8
- 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
|
|
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
|
-
|
|
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 =
|
|
245145
|
+
const fallbackPrompt = `${this.params.prompt}
|
|
245145
245146
|
|
|
245146
|
-
\
|
|
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\
|
|
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 = "
|
|
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
|
|
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
|
|
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
|
|
21
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.0.17"
|
|
22
22
|
},
|
|
23
23
|
"publishConfig": {
|
|
24
24
|
"access": "public"
|