aidevops 2.54.5 → 2.54.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.
package/README.md CHANGED
@@ -57,7 +57,7 @@ The result: AI agents that work *with* your development process, not around it.
57
57
  [![GitHub commits since latest release](https://img.shields.io/github/commits-since/marcusquinn/aidevops/latest)](https://github.com/marcusquinn/aidevops/commits/main)
58
58
 
59
59
  <!-- Repository Stats -->
60
- [![Version](https://img.shields.io/badge/Version-2.54.5-blue)](https://github.com/marcusquinn/aidevops/releases)
60
+ [![Version](https://img.shields.io/badge/Version-2.54.6-blue)](https://github.com/marcusquinn/aidevops/releases)
61
61
  [![GitHub repo size](https://img.shields.io/github/repo-size/marcusquinn/aidevops?style=flat&color=blue)](https://github.com/marcusquinn/aidevops)
62
62
  [![Lines of code](https://img.shields.io/badge/Lines%20of%20Code-18%2C000%2B-brightgreen)](https://github.com/marcusquinn/aidevops)
63
63
  [![GitHub language count](https://img.shields.io/github/languages/count/marcusquinn/aidevops)](https://github.com/marcusquinn/aidevops)
package/VERSION CHANGED
@@ -1 +1 @@
1
- 2.54.5
1
+ 2.54.6
package/aidevops.sh CHANGED
@@ -3,7 +3,7 @@
3
3
  # AI DevOps Framework CLI
4
4
  # Usage: aidevops <command> [options]
5
5
  #
6
- # Version: 2.54.5
6
+ # Version: 2.54.6
7
7
 
8
8
  set -euo pipefail
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "2.54.5",
3
+ "version": "2.54.6",
4
4
  "description": "AI DevOps Framework - AI-assisted development workflows, code quality, and deployment automation",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -4,7 +4,8 @@
4
4
  * The npm package contains only the CLI wrapper. The full agent files
5
5
  * are deployed from ~/Git/aidevops via `aidevops update`.
6
6
  *
7
- * Note: Uses stderr so output is visible (npm suppresses stdout for lifecycle scripts)
7
+ * Note: Writes directly to /dev/tty to bypass npm's output suppression.
8
+ * Falls back to stderr if tty is not available (e.g., CI environments).
8
9
  */
9
10
 
10
11
  const fs = require('fs');
@@ -14,8 +15,22 @@ const path = require('path');
14
15
  const agentsDir = path.join(os.homedir(), '.aidevops', 'agents');
15
16
  const versionFile = path.join(agentsDir, 'VERSION');
16
17
 
17
- // Use stderr so npm doesn't suppress the output
18
- const log = (msg = '') => process.stderr.write(msg + '\n');
18
+ // Try to open tty synchronously to bypass npm's output suppression
19
+ let ttyFd = null;
20
+ try {
21
+ ttyFd = fs.openSync('/dev/tty', 'w');
22
+ } catch {
23
+ // tty not available (CI, non-interactive, Windows)
24
+ }
25
+
26
+ const log = (msg = '') => {
27
+ const line = msg + '\n';
28
+ if (ttyFd !== null) {
29
+ fs.writeSync(ttyFd, line);
30
+ } else {
31
+ process.stderr.write(line);
32
+ }
33
+ };
19
34
 
20
35
  // Check current installed version
21
36
  let installedVersion = 'not installed';
@@ -54,3 +69,8 @@ if (installedVersion === 'not installed') {
54
69
  log(' aidevops help # Show all commands');
55
70
  }
56
71
  log('');
72
+
73
+ // Clean up
74
+ if (ttyFd !== null) {
75
+ fs.closeSync(ttyFd);
76
+ }
package/setup.sh CHANGED
@@ -3,7 +3,7 @@
3
3
  # AI Assistant Server Access Framework Setup Script
4
4
  # Helps developers set up the framework for their infrastructure
5
5
  #
6
- # Version: 2.54.5
6
+ # Version: 2.54.6
7
7
  #
8
8
  # Quick Install (one-liner):
9
9
  # bash <(curl -fsSL https://aidevops.dev/install)