jsharness 1.12.3 → 1.12.4

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.
Files changed (2) hide show
  1. package/lib/index.mjs +4 -3
  2. package/package.json +1 -1
package/lib/index.mjs CHANGED
@@ -3,6 +3,7 @@
3
3
  *
4
4
  * 多适配器架构:检测 AI 工具 → 转换规则格式 → 注入到对应位置
5
5
  *
6
+ * v1.12.4: 修复 Qoder commands 输出路径从扁平结构改为 commands/js/ 二级目录,与 codebuddy/cursor/trae 保持一致
6
7
  * v1.12.3: 新增 test-case-designer Skill(功能点/周期计划/专项计划三种测试用例模板);修改 DDB-02 规则细化测试执行方案与测试用例设计边界;tester Agent 增加设计阶段测试用例编写职责
7
8
  * v1.12.1: 操作手册新增 8 张 Mermaid 可视化图表(三层约束架构图、jsspec三步流程图、标准流程总览图、Agent协作时序图、门禁检查流程图、init注入流程图、Agent调度架构图、交付物流转图)
8
9
  * v1.12.0: 新增 jsspec Skills(explore/propose/deliver/skill-creator)+ design-context-reader;需求分析三步流程;Agents 改为摘要+指引模式;设计文档按需求名称分目录
@@ -66,7 +67,7 @@ export const SUPPORTED_TOOLS = [
66
67
  {
67
68
  id: 'qoder',
68
69
  name: 'Qoder (阿里云)',
69
- description: '.qoder/rules/*.md + .qoder/skills/*/SKILL.md + .qoder/commands/*.md + .qoder/agents/*.md',
70
+ description: '.qoder/rules/*.md + .qoder/skills/*/SKILL.md + .qoder/commands/js/*.md + .qoder/agents/*.md',
70
71
  priority: 95,
71
72
  ruleFormat: 'markdown',
72
73
  skillFormat: 'markdown',
@@ -513,7 +514,7 @@ const COMMAND_TRANSFORMERS = {
513
514
  const existingFrontmatter = parseFrontmatter(raw);
514
515
  const description = existingFrontmatter.description || extractDescription(raw) || cmdName;
515
516
  let content = `---\nname: ${cmdName}\ndescription: ${description}\ntrigger_type: manual\n---\n\n${extractBody(raw)}`;
516
- outputs.push({ relativePath: `.qoder/commands/${cmdName}.md`, content, source: file.path });
517
+ outputs.push({ relativePath: `.qoder/commands/js/${cmdName}.md`, content, source: file.path });
517
518
  }
518
519
  return { format: 'directory', files: outputs };
519
520
  },
@@ -1904,7 +1905,7 @@ export function showStatus(projectDir) {
1904
1905
  { name: 'CodeBuddy', rules: '.codebuddy/rules/', skills: '.codebuddy/skills/', commands: '.codebuddy/commands/js/', agents: '.codebuddy/agents/' },
1905
1906
  { name: 'Cursor', rules: '.cursor/rules/', skills: '.cursor/skills/', commands: '.cursor/commands/js/', agents: '.cursor/agents/' },
1906
1907
  { name: 'Copilot', rules: '.github/copilot-instructions.md', skills: null, commands: null, agents: '.github/agents/' },
1907
- { name: 'Qoder', rules: '.qoder/rules/', skills: '.qoder/skills/', commands: '.qoder/commands/', agents: '.qoder/agents/' },
1908
+ { name: 'Qoder', rules: '.qoder/rules/', skills: '.qoder/skills/', commands: '.qoder/commands/js/', agents: '.qoder/agents/' },
1908
1909
  { name: 'Codex CLI', rules: 'AGENTS.md', skills: null, commands: null, agents: null },
1909
1910
  { name: 'Claude Code', rules: '.claude/rules/', skills: '.claude/skills/', commands: null, agents: '.claude/agents/' },
1910
1911
  { name: 'Trae', rules: '.trae/rules/', skills: '.trae/skills/', commands: '.trae/commands/js/', agents: '.trae/agents/' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsharness",
3
- "version": "1.12.3",
3
+ "version": "1.12.4",
4
4
  "description": "Harness Engineering - AI 编程行为工程化管控系统。将 rules/skills/commands/agents 四桶一键注入到 CodeBuddy、Cursor、Copilot、Claude Code 等 AI 工具中。",
5
5
  "main": "lib/index.mjs",
6
6
  "bin": {