@jojonax/codex-copilot 1.3.5 → 1.3.6

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/bin/cli.js +9 -2
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -98,8 +98,15 @@ async function main() {
98
98
  case 'update':
99
99
  log.info('Updating to latest version...');
100
100
  try {
101
- execSync('npm install -g @jojonax/codex-copilot@latest --force', { stdio: 'inherit' });
102
- log.info('✅ Update complete!');
101
+ execSync('npm install -g @jojonax/codex-copilot@latest --force', {
102
+ encoding: 'utf-8',
103
+ stdio: ['pipe', 'pipe', 'pipe'],
104
+ });
105
+ const newVersion = execSync('npm view @jojonax/codex-copilot version', {
106
+ encoding: 'utf-8',
107
+ stdio: ['pipe', 'pipe', 'pipe'],
108
+ }).trim();
109
+ log.info(`✅ Updated to v${newVersion}`);
103
110
  } catch {
104
111
  log.error('Update failed. Try manually: npm install -g @jojonax/codex-copilot@latest --force');
105
112
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jojonax/codex-copilot",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
4
4
  "description": "PRD-driven automated development orchestrator for CodeX / Cursor",
5
5
  "bin": {
6
6
  "codex-copilot": "./bin/cli.js"