@gong-ym/ai-spec-auto 0.2.7 → 0.2.9

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.
@@ -1,11 +1,8 @@
1
1
  #!/usr/bin/env node
2
- // Direct execution wrapper for ES module CLI
3
- import { spawn } from 'child_process';
4
- import path from 'path';
5
- import { fileURLToPath } from 'url';
2
+ // CommonJS wrapper for ES module CLI
3
+ const { spawn } = require('child_process');
4
+ const path = require('path');
6
5
 
7
- const __filename = fileURLToPath(import.meta.url);
8
- const __dirname = path.dirname(__filename);
9
6
  const cliPath = path.join(__dirname, 'cli.js');
10
7
 
11
8
  const child = spawn('node', [cliPath, ...process.argv.slice(2)], {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gong-ym/ai-spec-auto",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "type": "module",
5
5
  "description": "AI Coding 团队规范驱动开发 CLI — 一键安装规范、技能与工具配置",
6
6
  "homepage": "https://github.com/Colouful/engineered-spec#readme",