aidevops 2.54.4 → 2.54.5
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 +27 -22
- 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.5
|
package/aidevops.sh
CHANGED
package/package.json
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
*
|
|
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
|
+
*
|
|
7
|
+
* Note: Uses stderr so output is visible (npm suppresses stdout for lifecycle scripts)
|
|
6
8
|
*/
|
|
7
9
|
|
|
8
10
|
const fs = require('fs');
|
|
@@ -12,6 +14,9 @@ const path = require('path');
|
|
|
12
14
|
const agentsDir = path.join(os.homedir(), '.aidevops', 'agents');
|
|
13
15
|
const versionFile = path.join(agentsDir, 'VERSION');
|
|
14
16
|
|
|
17
|
+
// Use stderr so npm doesn't suppress the output
|
|
18
|
+
const log = (msg = '') => process.stderr.write(msg + '\n');
|
|
19
|
+
|
|
15
20
|
// Check current installed version
|
|
16
21
|
let installedVersion = 'not installed';
|
|
17
22
|
if (fs.existsSync(versionFile)) {
|
|
@@ -22,30 +27,30 @@ if (fs.existsSync(versionFile)) {
|
|
|
22
27
|
const packageJson = require('../package.json');
|
|
23
28
|
const packageVersion = packageJson.version;
|
|
24
29
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
log('');
|
|
31
|
+
log('aidevops CLI installed successfully!');
|
|
32
|
+
log('');
|
|
33
|
+
log(` CLI version: ${packageVersion}`);
|
|
34
|
+
log(` Agents version: ${installedVersion}`);
|
|
35
|
+
log('');
|
|
31
36
|
|
|
32
37
|
if (installedVersion === 'not installed') {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
+
log('To complete installation, run:');
|
|
39
|
+
log('');
|
|
40
|
+
log(' aidevops update');
|
|
41
|
+
log('');
|
|
42
|
+
log('This will clone the repository and deploy agents to ~/.aidevops/agents/');
|
|
38
43
|
} else if (installedVersion !== packageVersion) {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
44
|
+
log('To update agents to match CLI version, run:');
|
|
45
|
+
log('');
|
|
46
|
+
log(' aidevops update');
|
|
47
|
+
log('');
|
|
43
48
|
} else {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
49
|
+
log('CLI and agents are in sync. Ready to use!');
|
|
50
|
+
log('');
|
|
51
|
+
log('Quick start:');
|
|
52
|
+
log(' aidevops status # Check installation');
|
|
53
|
+
log(' aidevops init # Initialize in a project');
|
|
54
|
+
log(' aidevops help # Show all commands');
|
|
50
55
|
}
|
|
51
|
-
|
|
56
|
+
log('');
|
package/setup.sh
CHANGED