@rdmind/rdmind 0.2.2-alpha.0 → 0.2.2-alpha.2
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 +15 -9
- package/package.json +2 -2
package/cli.js
CHANGED
|
@@ -157359,7 +157359,7 @@ __export(geminiContentGenerator_exports2, {
|
|
|
157359
157359
|
createGeminiContentGenerator: () => createGeminiContentGenerator
|
|
157360
157360
|
});
|
|
157361
157361
|
function createGeminiContentGenerator(config2, gcConfig) {
|
|
157362
|
-
const version2 = "0.2.2-alpha.
|
|
157362
|
+
const version2 = "0.2.2-alpha.2";
|
|
157363
157363
|
const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
|
|
157364
157364
|
const baseHeaders = {
|
|
157365
157365
|
"User-Agent": userAgent2
|
|
@@ -254755,8 +254755,8 @@ var init_git_commit = __esm({
|
|
|
254755
254755
|
"packages/core/src/generated/git-commit.ts"() {
|
|
254756
254756
|
"use strict";
|
|
254757
254757
|
init_esbuild_shims();
|
|
254758
|
-
GIT_COMMIT_INFO = "
|
|
254759
|
-
CLI_VERSION = "0.2.2-alpha.
|
|
254758
|
+
GIT_COMMIT_INFO = "0d9e721ec";
|
|
254759
|
+
CLI_VERSION = "0.2.2-alpha.2";
|
|
254760
254760
|
}
|
|
254761
254761
|
});
|
|
254762
254762
|
|
|
@@ -355436,7 +355436,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
355436
355436
|
// packages/cli/src/utils/version.ts
|
|
355437
355437
|
async function getCliVersion() {
|
|
355438
355438
|
const pkgJson = await getPackageJson();
|
|
355439
|
-
return "0.2.2-alpha.
|
|
355439
|
+
return "0.2.2-alpha.2";
|
|
355440
355440
|
}
|
|
355441
355441
|
__name(getCliVersion, "getCliVersion");
|
|
355442
355442
|
|
|
@@ -363251,7 +363251,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
|
|
|
363251
363251
|
|
|
363252
363252
|
// packages/cli/src/generated/git-commit.ts
|
|
363253
363253
|
init_esbuild_shims();
|
|
363254
|
-
var GIT_COMMIT_INFO2 = "
|
|
363254
|
+
var GIT_COMMIT_INFO2 = "0d9e721ec";
|
|
363255
363255
|
|
|
363256
363256
|
// packages/cli/src/utils/systemInfo.ts
|
|
363257
363257
|
async function getNpmVersion() {
|
|
@@ -371081,7 +371081,7 @@ var MarkdownCommandDefSchema2 = external_exports.object({
|
|
|
371081
371081
|
name: external_exports.string(),
|
|
371082
371082
|
id: external_exports.string().optional(),
|
|
371083
371083
|
category: external_exports.string().optional(),
|
|
371084
|
-
description: external_exports.string()
|
|
371084
|
+
description: external_exports.string().optional()
|
|
371085
371085
|
});
|
|
371086
371086
|
var MarkdownCommandLoader = class {
|
|
371087
371087
|
static {
|
|
@@ -371097,6 +371097,8 @@ var MarkdownCommandLoader = class {
|
|
|
371097
371097
|
}
|
|
371098
371098
|
/**
|
|
371099
371099
|
* Loads all markdown commands from OpenSpec directories.
|
|
371100
|
+
* Only loads commands that are specifically marked as OpenSpec commands
|
|
371101
|
+
* (either by category: OpenSpec in frontmatter or filename starting with 'openspec-').
|
|
371100
371102
|
*/
|
|
371101
371103
|
async loadCommands(signal) {
|
|
371102
371104
|
if (this.folderTrustEnabled && !this.folderTrust) {
|
|
@@ -371112,7 +371114,7 @@ var MarkdownCommandLoader = class {
|
|
|
371112
371114
|
const commandDirs = this.getOpenSpecCommandDirectories();
|
|
371113
371115
|
for (const dirPath of commandDirs) {
|
|
371114
371116
|
try {
|
|
371115
|
-
const files = await glob("
|
|
371117
|
+
const files = await glob("**/openspec-*.md", {
|
|
371116
371118
|
...globOptions,
|
|
371117
371119
|
cwd: dirPath
|
|
371118
371120
|
});
|
|
@@ -371175,8 +371177,12 @@ var MarkdownCommandLoader = class {
|
|
|
371175
371177
|
return null;
|
|
371176
371178
|
}
|
|
371177
371179
|
const validDef = validationResult.data;
|
|
371180
|
+
const isOpenSpecCommand = validDef.category === "OpenSpec" || typeof validDef.id === "string" && validDef.id.startsWith("openspec-") || path105.basename(filePath, ".md").startsWith("openspec-");
|
|
371181
|
+
if (!isOpenSpecCommand) {
|
|
371182
|
+
return null;
|
|
371183
|
+
}
|
|
371178
371184
|
const commandName = validDef.name.startsWith("/") ? validDef.name.substring(1) : validDef.name;
|
|
371179
|
-
let description = validDef.description;
|
|
371185
|
+
let description = validDef.description || "";
|
|
371180
371186
|
if (commandName === "openspec-proposal") {
|
|
371181
371187
|
description = t4("Scaffold a new OpenSpec change and validate strictly.");
|
|
371182
371188
|
} else if (commandName === "openspec-apply") {
|
|
@@ -421430,7 +421436,7 @@ var GeminiAgent = class {
|
|
|
421430
421436
|
name: APPROVAL_MODE_INFO[mode].name,
|
|
421431
421437
|
description: APPROVAL_MODE_INFO[mode].description
|
|
421432
421438
|
}));
|
|
421433
|
-
const version2 = "0.2.2-alpha.
|
|
421439
|
+
const version2 = "0.2.2-alpha.2";
|
|
421434
421440
|
return {
|
|
421435
421441
|
protocolVersion: PROTOCOL_VERSION,
|
|
421436
421442
|
agentInfo: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rdmind/rdmind",
|
|
3
|
-
"version": "0.2.2-alpha.
|
|
3
|
+
"version": "0.2.2-alpha.2",
|
|
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.2.2-alpha.
|
|
23
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.2.2-alpha.2"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|