@rdmind/rdmind 0.0.28-alpha.16 → 0.0.28-alpha.18

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 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.16";
147565
+ const version2 = "0.0.28-alpha.18";
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.16";
222540
+ CLI_VERSION = "0.0.28-alpha.18";
222541
222541
  }
222542
222542
  });
222543
222543
 
@@ -288200,7 +288200,12 @@ 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",
288206
+ "Scaffold a new OpenSpec change and validate strictly.": "Scaffold a new OpenSpec change and validate strictly.",
288207
+ "Implement an approved OpenSpec change and keep tasks in sync.": "Implement an approved OpenSpec change and keep tasks in sync.",
288208
+ "Archive a deployed OpenSpec change and update specs.": "Archive a deployed OpenSpec change and update specs."
288204
288209
  };
288205
288210
  }
288206
288211
  });
@@ -289053,7 +289058,12 @@ var init_zh = __esm({
289053
289058
  "Enhancing... Enhancing... Still loading.": "\u6B63\u5728\u589E\u5F3A...\u6B63\u5728\u589E\u5F3A...\u4ECD\u5728\u52A0\u8F7D\u3002",
289054
289059
  "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
289060
  "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..."
289061
+ "Constructing additional pylons...": "\u6B63\u5728\u5EFA\u9020\u989D\u5916\u7684\u80FD\u91CF\u5854...",
289062
+ "Initialize OpenSpec in a project with RDMind integration": "\u5728\u9879\u76EE\u4E2D\u521D\u59CB\u5316 OpenSpec\uFF08\u96C6\u6210 RDMind\uFF09",
289063
+ "Initialize OpenSpec in the current directory": "\u5728\u5F53\u524D\u76EE\u5F55\u521D\u59CB\u5316 OpenSpec",
289064
+ "Scaffold a new OpenSpec change and validate strictly.": "\u642D\u5EFA\u65B0\u7684 OpenSpec \u53D8\u66F4\u5E76\u4E25\u683C\u9A8C\u8BC1\u3002",
289065
+ "Implement an approved OpenSpec change and keep tasks in sync.": "\u5B9E\u65BD\u5DF2\u6279\u51C6\u7684 OpenSpec \u53D8\u66F4\u5E76\u4FDD\u6301\u4EFB\u52A1\u540C\u6B65\u3002",
289066
+ "Archive a deployed OpenSpec change and update specs.": "\u5F52\u6863\u5DF2\u90E8\u7F72\u7684 OpenSpec \u53D8\u66F4\u5E76\u66F4\u65B0\u89C4\u8303\u3002"
289057
289067
  };
289058
289068
  }
289059
289069
  });
@@ -316748,7 +316758,7 @@ __name(getPackageJson, "getPackageJson");
316748
316758
  // packages/cli/src/utils/version.ts
316749
316759
  async function getCliVersion() {
316750
316760
  const pkgJson = await getPackageJson();
316751
- return "0.0.28-alpha.16";
316761
+ return "0.0.28-alpha.18";
316752
316762
  }
316753
316763
  __name(getCliVersion, "getCliVersion");
316754
316764
 
@@ -327246,7 +327256,7 @@ var OpenSpecInitCommand = class {
327246
327256
  const openspecDir = "openspec";
327247
327257
  await this.createDirectoryStructure(resolvedPath, openspecDir);
327248
327258
  await this.generateTemplateFiles(resolvedPath, openspecDir);
327249
- await this.configureQwenIntegration(
327259
+ await this.configureRDMindIntegration(
327250
327260
  resolvedPath,
327251
327261
  openspecDir,
327252
327262
  options2.tools
@@ -327271,7 +327281,7 @@ Try: "Create an OpenSpec proposal for adding user authentication"`;
327271
327281
  type: "submit_prompt",
327272
327282
  content: [
327273
327283
  {
327274
- text: `OpenSpec has been initialized with Qwen Code support. You can now use the OpenSpec workflow for structured development.
327284
+ text: `OpenSpec has been initialized with RDMind support. You can now use the OpenSpec workflow for structured development.
327275
327285
 
327276
327286
  To get started:
327277
327287
  1. Create a change proposal: "/openspec-proposal Add user authentication feature"
@@ -327385,13 +327395,13 @@ For more information, visit: https://github.com/Fission-AI/OpenSpec
327385
327395
  `;
327386
327396
  await fs86.writeFile(path96.join(openspecPath, "AGENTS.md"), agentsTemplate);
327387
327397
  }
327388
- static async configureQwenIntegration(projectPath, openspecDir, tools) {
327398
+ static async configureRDMindIntegration(projectPath, openspecDir, tools) {
327389
327399
  const rdmindConfigurator = new RDMindConfigurator();
327390
327400
  await rdmindConfigurator.configure(projectPath, openspecDir);
327391
327401
  const rdmindSlashConfigurator = new RDMindSlashCommandConfigurator();
327392
327402
  await rdmindSlashConfigurator.generateAll(projectPath, openspecDir);
327393
- if (tools && tools !== "qwen") {
327394
- const toolList = tools.split(",").map((t3) => t3.trim()).filter((t3) => t3 !== "qwen");
327403
+ if (tools && tools !== "rdmind") {
327404
+ const toolList = tools.split(",").map((t3) => t3.trim()).filter((t3) => t3 !== "rdmind");
327395
327405
  console.log(
327396
327406
  `Note: Additional tools requested (${toolList.join(", ")}) but not yet implemented`
327397
327407
  );
@@ -327572,12 +327582,16 @@ ${techs.hasDocs ? "\u251C\u2500\u2500 docs/ # \u9879\u76EE\u6587\u6863"
327572
327582
  // packages/cli/src/ui/commands/openspecCommand.ts
327573
327583
  var openspecCommand = {
327574
327584
  name: "openspec",
327575
- description: "Initialize OpenSpec in a project with RDMind integration",
327585
+ get description() {
327586
+ return t2("Initialize OpenSpec in a project with RDMind integration");
327587
+ },
327576
327588
  kind: "built-in" /* BUILT_IN */,
327577
327589
  subCommands: [
327578
327590
  {
327579
327591
  name: "init",
327580
- description: "Initialize OpenSpec in the current directory",
327592
+ get description() {
327593
+ return t2("Initialize OpenSpec in the current directory");
327594
+ },
327581
327595
  kind: "built-in" /* BUILT_IN */,
327582
327596
  action: /* @__PURE__ */ __name(async (context2, args) => await OpenSpecInitCommand.execute(context2, args), "action")
327583
327597
  }
@@ -327590,7 +327604,7 @@ var openspecCommand = {
327590
327604
  messageType: "info",
327591
327605
  content: `OpenSpec Commands:
327592
327606
 
327593
- /openspec init [path] [--tools qwen] - Initialize OpenSpec in a project
327607
+ /openspec init [path] [--tools rdmind] - Initialize OpenSpec in a project
327594
327608
 
327595
327609
  OpenSpec enables structured, spec-driven development with:
327596
327610
  - Change proposals and implementation tracking
@@ -327600,7 +327614,7 @@ OpenSpec enables structured, spec-driven development with:
327600
327614
  Usage Examples:
327601
327615
  - /openspec init # Initialize in current directory
327602
327616
  - /openspec init ./my-project # Initialize in specific directory
327603
- - /openspec init --tools qwen # Initialize with RDMind support
327617
+ - /openspec init --tools rdmind # Initialize with RDMind support
327604
327618
 
327605
327619
  For more help, see: https://github.com/Fission-AI/OpenSpec`
327606
327620
  };
@@ -329681,9 +329695,17 @@ var MarkdownCommandLoader = class {
329681
329695
  }
329682
329696
  const validDef = validationResult.data;
329683
329697
  const commandName = validDef.name.startsWith("/") ? validDef.name.substring(1) : validDef.name;
329698
+ let description = validDef.description;
329699
+ if (commandName === "openspec-proposal") {
329700
+ description = t2("Scaffold a new OpenSpec change and validate strictly.");
329701
+ } else if (commandName === "openspec-apply") {
329702
+ description = t2("Implement an approved OpenSpec change and keep tasks in sync.");
329703
+ } else if (commandName === "openspec-archive") {
329704
+ description = t2("Archive a deployed OpenSpec change and update specs.");
329705
+ }
329684
329706
  return {
329685
329707
  name: commandName,
329686
- description: validDef.description,
329708
+ description,
329687
329709
  kind: "file" /* FILE */,
329688
329710
  action: /* @__PURE__ */ __name(async (context2, args) => {
329689
329711
  const prompt = content.trim() + (args ? `
package/locales/en.js CHANGED
@@ -1150,4 +1150,14 @@ 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',
1157
+ 'Scaffold a new OpenSpec change and validate strictly.':
1158
+ 'Scaffold a new OpenSpec change and validate strictly.',
1159
+ 'Implement an approved OpenSpec change and keep tasks in sync.':
1160
+ 'Implement an approved OpenSpec change and keep tasks in sync.',
1161
+ 'Archive a deployed OpenSpec change and update specs.':
1162
+ 'Archive a deployed OpenSpec change and update specs.',
1153
1163
  };
package/locales/zh.js CHANGED
@@ -1072,4 +1072,14 @@ 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',
1079
+ 'Scaffold a new OpenSpec change and validate strictly.':
1080
+ '搭建新的 OpenSpec 变更并严格验证。',
1081
+ 'Implement an approved OpenSpec change and keep tasks in sync.':
1082
+ '实施已批准的 OpenSpec 变更并保持任务同步。',
1083
+ 'Archive a deployed OpenSpec change and update specs.':
1084
+ '归档已部署的 OpenSpec 变更并更新规范。',
1075
1085
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rdmind/rdmind",
3
- "version": "0.0.28-alpha.16",
3
+ "version": "0.0.28-alpha.18",
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.16"
23
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.0.28-alpha.18"
24
24
  },
25
25
  "publishConfig": {
26
26
  "access": "public"