@rdmind/rdmind 0.0.28-alpha.16 → 0.0.28-alpha.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 +22 -14
- package/locales/en.js +4 -0
- package/locales/zh.js +4 -0
- package/package.json +2 -2
package/cli.js
CHANGED
|
@@ -147562,7 +147562,7 @@ function createContentGeneratorConfig(config, authType, generationConfig) {
|
|
|
147562
147562
|
};
|
|
147563
147563
|
}
|
|
147564
147564
|
async function createContentGenerator(config, gcConfig, sessionId2, isInitialAuth) {
|
|
147565
|
-
const version2 = "0.0.28-alpha.
|
|
147565
|
+
const version2 = "0.0.28-alpha.17";
|
|
147566
147566
|
const userAgent2 = `QwenCode/${version2} (${process.platform}; ${process.arch})`;
|
|
147567
147567
|
const baseHeaders = {
|
|
147568
147568
|
"User-Agent": userAgent2
|
|
@@ -222537,7 +222537,7 @@ var init_git_commit = __esm({
|
|
|
222537
222537
|
"use strict";
|
|
222538
222538
|
init_esbuild_shims();
|
|
222539
222539
|
GIT_COMMIT_INFO = "b4320675";
|
|
222540
|
-
CLI_VERSION = "0.0.28-alpha.
|
|
222540
|
+
CLI_VERSION = "0.0.28-alpha.17";
|
|
222541
222541
|
}
|
|
222542
222542
|
});
|
|
222543
222543
|
|
|
@@ -288200,7 +288200,9 @@ var init_en2 = __esm({
|
|
|
288200
288200
|
"Enhancing... Enhancing... Still loading.": "Enhancing... Enhancing... Still loading.",
|
|
288201
288201
|
"It's not a bug, it's a feature... of this loading screen.": "It's not a bug, it's a feature... of this loading screen.",
|
|
288202
288202
|
"Have you tried turning it off and on again? (The loading screen, not me.)": "Have you tried turning it off and on again? (The loading screen, not me.)",
|
|
288203
|
-
"Constructing additional pylons...": "Constructing additional pylons..."
|
|
288203
|
+
"Constructing additional pylons...": "Constructing additional pylons...",
|
|
288204
|
+
"Initialize OpenSpec in a project with RDMind integration": "Initialize OpenSpec in a project with RDMind integration",
|
|
288205
|
+
"Initialize OpenSpec in the current directory": "Initialize OpenSpec in the current directory"
|
|
288204
288206
|
};
|
|
288205
288207
|
}
|
|
288206
288208
|
});
|
|
@@ -289053,7 +289055,9 @@ var init_zh = __esm({
|
|
|
289053
289055
|
"Enhancing... Enhancing... Still loading.": "\u6B63\u5728\u589E\u5F3A...\u6B63\u5728\u589E\u5F3A...\u4ECD\u5728\u52A0\u8F7D\u3002",
|
|
289054
289056
|
"It's not a bug, it's a feature... of this loading screen.": "\u8FD9\u4E0D\u662F\u4E00\u4E2A\u9519\u8BEF\uFF0C\u8FD9\u662F\u4E00\u4E2A\u529F\u80FD...\u8FD9\u4E2A\u52A0\u8F7D\u5C4F\u5E55\u7684\u529F\u80FD\u3002",
|
|
289055
289057
|
"Have you tried turning it off and on again? (The loading screen, not me.)": "\u4F60\u8BD5\u8FC7\u628A\u5B83\u5173\u6389\u518D\u6253\u5F00\u5417\uFF1F\uFF08\u52A0\u8F7D\u5C4F\u5E55\uFF0C\u4E0D\u662F\u6211\u3002\uFF09",
|
|
289056
|
-
"Constructing additional pylons...": "\u6B63\u5728\u5EFA\u9020\u989D\u5916\u7684\u80FD\u91CF\u5854..."
|
|
289058
|
+
"Constructing additional pylons...": "\u6B63\u5728\u5EFA\u9020\u989D\u5916\u7684\u80FD\u91CF\u5854...",
|
|
289059
|
+
"Initialize OpenSpec in a project with RDMind integration": "\u5728\u9879\u76EE\u4E2D\u521D\u59CB\u5316 OpenSpec\uFF08\u96C6\u6210 RDMind\uFF09",
|
|
289060
|
+
"Initialize OpenSpec in the current directory": "\u5728\u5F53\u524D\u76EE\u5F55\u521D\u59CB\u5316 OpenSpec"
|
|
289057
289061
|
};
|
|
289058
289062
|
}
|
|
289059
289063
|
});
|
|
@@ -316748,7 +316752,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
316748
316752
|
// packages/cli/src/utils/version.ts
|
|
316749
316753
|
async function getCliVersion() {
|
|
316750
316754
|
const pkgJson = await getPackageJson();
|
|
316751
|
-
return "0.0.28-alpha.
|
|
316755
|
+
return "0.0.28-alpha.17";
|
|
316752
316756
|
}
|
|
316753
316757
|
__name(getCliVersion, "getCliVersion");
|
|
316754
316758
|
|
|
@@ -327246,7 +327250,7 @@ var OpenSpecInitCommand = class {
|
|
|
327246
327250
|
const openspecDir = "openspec";
|
|
327247
327251
|
await this.createDirectoryStructure(resolvedPath, openspecDir);
|
|
327248
327252
|
await this.generateTemplateFiles(resolvedPath, openspecDir);
|
|
327249
|
-
await this.
|
|
327253
|
+
await this.configureRDMindIntegration(
|
|
327250
327254
|
resolvedPath,
|
|
327251
327255
|
openspecDir,
|
|
327252
327256
|
options2.tools
|
|
@@ -327271,7 +327275,7 @@ Try: "Create an OpenSpec proposal for adding user authentication"`;
|
|
|
327271
327275
|
type: "submit_prompt",
|
|
327272
327276
|
content: [
|
|
327273
327277
|
{
|
|
327274
|
-
text: `OpenSpec has been initialized with
|
|
327278
|
+
text: `OpenSpec has been initialized with RDMind support. You can now use the OpenSpec workflow for structured development.
|
|
327275
327279
|
|
|
327276
327280
|
To get started:
|
|
327277
327281
|
1. Create a change proposal: "/openspec-proposal Add user authentication feature"
|
|
@@ -327385,13 +327389,13 @@ For more information, visit: https://github.com/Fission-AI/OpenSpec
|
|
|
327385
327389
|
`;
|
|
327386
327390
|
await fs86.writeFile(path96.join(openspecPath, "AGENTS.md"), agentsTemplate);
|
|
327387
327391
|
}
|
|
327388
|
-
static async
|
|
327392
|
+
static async configureRDMindIntegration(projectPath, openspecDir, tools) {
|
|
327389
327393
|
const rdmindConfigurator = new RDMindConfigurator();
|
|
327390
327394
|
await rdmindConfigurator.configure(projectPath, openspecDir);
|
|
327391
327395
|
const rdmindSlashConfigurator = new RDMindSlashCommandConfigurator();
|
|
327392
327396
|
await rdmindSlashConfigurator.generateAll(projectPath, openspecDir);
|
|
327393
|
-
if (tools && tools !== "
|
|
327394
|
-
const toolList = tools.split(",").map((t3) => t3.trim()).filter((t3) => t3 !== "
|
|
327397
|
+
if (tools && tools !== "rdmind") {
|
|
327398
|
+
const toolList = tools.split(",").map((t3) => t3.trim()).filter((t3) => t3 !== "rdmind");
|
|
327395
327399
|
console.log(
|
|
327396
327400
|
`Note: Additional tools requested (${toolList.join(", ")}) but not yet implemented`
|
|
327397
327401
|
);
|
|
@@ -327572,12 +327576,16 @@ ${techs.hasDocs ? "\u251C\u2500\u2500 docs/ # \u9879\u76EE\u6587\u6863"
|
|
|
327572
327576
|
// packages/cli/src/ui/commands/openspecCommand.ts
|
|
327573
327577
|
var openspecCommand = {
|
|
327574
327578
|
name: "openspec",
|
|
327575
|
-
description
|
|
327579
|
+
get description() {
|
|
327580
|
+
return t2("Initialize OpenSpec in a project with RDMind integration");
|
|
327581
|
+
},
|
|
327576
327582
|
kind: "built-in" /* BUILT_IN */,
|
|
327577
327583
|
subCommands: [
|
|
327578
327584
|
{
|
|
327579
327585
|
name: "init",
|
|
327580
|
-
description
|
|
327586
|
+
get description() {
|
|
327587
|
+
return t2("Initialize OpenSpec in the current directory");
|
|
327588
|
+
},
|
|
327581
327589
|
kind: "built-in" /* BUILT_IN */,
|
|
327582
327590
|
action: /* @__PURE__ */ __name(async (context2, args) => await OpenSpecInitCommand.execute(context2, args), "action")
|
|
327583
327591
|
}
|
|
@@ -327590,7 +327598,7 @@ var openspecCommand = {
|
|
|
327590
327598
|
messageType: "info",
|
|
327591
327599
|
content: `OpenSpec Commands:
|
|
327592
327600
|
|
|
327593
|
-
/openspec init [path] [--tools
|
|
327601
|
+
/openspec init [path] [--tools rdmind] - Initialize OpenSpec in a project
|
|
327594
327602
|
|
|
327595
327603
|
OpenSpec enables structured, spec-driven development with:
|
|
327596
327604
|
- Change proposals and implementation tracking
|
|
@@ -327600,7 +327608,7 @@ OpenSpec enables structured, spec-driven development with:
|
|
|
327600
327608
|
Usage Examples:
|
|
327601
327609
|
- /openspec init # Initialize in current directory
|
|
327602
327610
|
- /openspec init ./my-project # Initialize in specific directory
|
|
327603
|
-
- /openspec init --tools
|
|
327611
|
+
- /openspec init --tools rdmind # Initialize with RDMind support
|
|
327604
327612
|
|
|
327605
327613
|
For more help, see: https://github.com/Fission-AI/OpenSpec`
|
|
327606
327614
|
};
|
package/locales/en.js
CHANGED
|
@@ -1150,4 +1150,8 @@ export default {
|
|
|
1150
1150
|
'Have you tried turning it off and on again? (The loading screen, not me.)':
|
|
1151
1151
|
'Have you tried turning it off and on again? (The loading screen, not me.)',
|
|
1152
1152
|
'Constructing additional pylons...': 'Constructing additional pylons...',
|
|
1153
|
+
'Initialize OpenSpec in a project with RDMind integration':
|
|
1154
|
+
'Initialize OpenSpec in a project with RDMind integration',
|
|
1155
|
+
'Initialize OpenSpec in the current directory':
|
|
1156
|
+
'Initialize OpenSpec in the current directory',
|
|
1153
1157
|
};
|
package/locales/zh.js
CHANGED
|
@@ -1072,4 +1072,8 @@ export default {
|
|
|
1072
1072
|
'Have you tried turning it off and on again? (The loading screen, not me.)':
|
|
1073
1073
|
'你试过把它关掉再打开吗?(加载屏幕,不是我。)',
|
|
1074
1074
|
'Constructing additional pylons...': '正在建造额外的能量塔...',
|
|
1075
|
+
'Initialize OpenSpec in a project with RDMind integration':
|
|
1076
|
+
'在项目中初始化 OpenSpec(集成 RDMind)',
|
|
1077
|
+
'Initialize OpenSpec in the current directory':
|
|
1078
|
+
'在当前目录初始化 OpenSpec',
|
|
1075
1079
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rdmind/rdmind",
|
|
3
|
-
"version": "0.0.28-alpha.
|
|
3
|
+
"version": "0.0.28-alpha.17",
|
|
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.0.28-alpha.
|
|
23
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.0.28-alpha.17"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|