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 +1 -1
- package/VERSION +1 -1
- package/aidevops.sh +1 -1
- package/package.json +1 -1
- package/scripts/npm-postinstall.cjs +23 -3
- package/setup.sh +1 -1
package/README.md
CHANGED
|
@@ -57,7 +57,7 @@ The result: AI agents that work *with* your development process, not around it.
|
|
|
57
57
|
[](https://github.com/marcusquinn/aidevops/commits/main)
|
|
58
58
|
|
|
59
59
|
<!-- Repository Stats -->
|
|
60
|
-
[](https://github.com/marcusquinn/aidevops/releases)
|
|
61
61
|
[](https://github.com/marcusquinn/aidevops)
|
|
62
62
|
[](https://github.com/marcusquinn/aidevops)
|
|
63
63
|
[](https://github.com/marcusquinn/aidevops)
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.54.
|
|
1
|
+
2.54.6
|
package/aidevops.sh
CHANGED
package/package.json
CHANGED
|
@@ -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:
|
|
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
|
-
//
|
|
18
|
-
|
|
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