@rdmind/rdmind 0.1.1-alpha.3 → 0.1.1
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 +12 -5
- package/package.json +2 -2
package/cli.js
CHANGED
|
@@ -160720,7 +160720,7 @@ function createContentGeneratorConfig(config2, authType, generationConfig) {
|
|
|
160720
160720
|
};
|
|
160721
160721
|
}
|
|
160722
160722
|
async function createContentGenerator(config2, gcConfig, sessionId2, isInitialAuth) {
|
|
160723
|
-
const version3 = "0.1.1
|
|
160723
|
+
const version3 = "0.1.1";
|
|
160724
160724
|
const userAgent2 = `QwenCode/${version3} (${process.platform}; ${process.arch})`;
|
|
160725
160725
|
const baseHeaders = {
|
|
160726
160726
|
"User-Agent": userAgent2
|
|
@@ -179457,6 +179457,7 @@ var init_subagent = __esm({
|
|
|
179457
179457
|
if (resp.functionCalls) functionCalls.push(...resp.functionCalls);
|
|
179458
179458
|
const content = resp.candidates?.[0]?.content;
|
|
179459
179459
|
const parts = content?.parts || [];
|
|
179460
|
+
const hadFunctionCallsFromHelper = resp.functionCalls && resp.functionCalls.length > 0;
|
|
179460
179461
|
for (const p of parts) {
|
|
179461
179462
|
const txt = p.text;
|
|
179462
179463
|
if (txt) roundText += txt;
|
|
@@ -179467,6 +179468,12 @@ var init_subagent = __esm({
|
|
|
179467
179468
|
text: txt,
|
|
179468
179469
|
timestamp: Date.now()
|
|
179469
179470
|
});
|
|
179471
|
+
if (!hadFunctionCallsFromHelper) {
|
|
179472
|
+
const partWithFunctionCall = p;
|
|
179473
|
+
if (partWithFunctionCall.functionCall) {
|
|
179474
|
+
functionCalls.push(partWithFunctionCall.functionCall);
|
|
179475
|
+
}
|
|
179476
|
+
}
|
|
179470
179477
|
}
|
|
179471
179478
|
if (resp.usageMetadata) lastUsage = resp.usageMetadata;
|
|
179472
179479
|
}
|
|
@@ -235012,8 +235019,8 @@ var init_git_commit = __esm({
|
|
|
235012
235019
|
"packages/core/src/generated/git-commit.ts"() {
|
|
235013
235020
|
"use strict";
|
|
235014
235021
|
init_esbuild_shims();
|
|
235015
|
-
GIT_COMMIT_INFO = "
|
|
235016
|
-
CLI_VERSION = "0.1.1
|
|
235022
|
+
GIT_COMMIT_INFO = "896d0f2";
|
|
235023
|
+
CLI_VERSION = "0.1.1";
|
|
235017
235024
|
}
|
|
235018
235025
|
});
|
|
235019
235026
|
|
|
@@ -345324,7 +345331,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
345324
345331
|
// packages/cli/src/utils/version.ts
|
|
345325
345332
|
async function getCliVersion() {
|
|
345326
345333
|
const pkgJson = await getPackageJson();
|
|
345327
|
-
return "0.1.1
|
|
345334
|
+
return "0.1.1";
|
|
345328
345335
|
}
|
|
345329
345336
|
__name(getCliVersion, "getCliVersion");
|
|
345330
345337
|
|
|
@@ -351610,7 +351617,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
|
|
|
351610
351617
|
|
|
351611
351618
|
// packages/cli/src/generated/git-commit.ts
|
|
351612
351619
|
init_esbuild_shims();
|
|
351613
|
-
var GIT_COMMIT_INFO2 = "
|
|
351620
|
+
var GIT_COMMIT_INFO2 = "896d0f2";
|
|
351614
351621
|
|
|
351615
351622
|
// packages/cli/src/utils/systemInfo.ts
|
|
351616
351623
|
async function getNpmVersion() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rdmind/rdmind",
|
|
3
|
-
"version": "0.1.1
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "RDMind - AI-powered coding assistant",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "cli.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"locales"
|
|
21
21
|
],
|
|
22
22
|
"config": {
|
|
23
|
-
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.1.1
|
|
23
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.1.1"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|