aidevops 2.54.2 → 2.54.4

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.2-blue)](https://github.com/marcusquinn/aidevops/releases)
60
+ [![Version](https://img.shields.io/badge/Version-2.54.4-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.2
1
+ 2.54.4
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.2
6
+ # Version: 2.54.4
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.2",
3
+ "version": "2.54.4",
4
4
  "description": "AI DevOps Framework - AI-assisted development workflows, code quality, and deployment automation",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -37,12 +37,8 @@
37
37
  "author": "Marcus Quinn <marcus@aidevops.sh>",
38
38
  "license": "MIT",
39
39
  "dependencies": {
40
- "dspyground": "^0.3.10",
41
40
  "elysia": "^1.1.0"
42
41
  },
43
- "overrides": {
44
- "next": "^16.1.1"
45
- },
46
42
  "devDependencies": {
47
43
  "@secretlint/secretlint-rule-preset-recommend": "^11.2.5",
48
44
  "@types/bun": "latest",
@@ -1,59 +1,51 @@
1
1
  /**
2
2
  * npm postinstall script for aidevops
3
- * Runs setup.sh to deploy agents after npm install -g
3
+ *
4
+ * The npm package contains only the CLI wrapper. The full agent files
5
+ * are deployed from ~/Git/aidevops via `aidevops update`.
4
6
  */
5
7
 
6
- const { execSync } = require('child_process');
7
- const path = require('path');
8
8
  const fs = require('fs');
9
9
  const os = require('os');
10
+ const path = require('path');
10
11
 
11
- const packageDir = path.resolve(__dirname, '..');
12
- const setupScript = path.join(packageDir, 'setup.sh');
13
12
  const agentsDir = path.join(os.homedir(), '.aidevops', 'agents');
13
+ const versionFile = path.join(agentsDir, 'VERSION');
14
14
 
15
- // Check if this is a global install
16
- const isGlobalInstall = process.env.npm_config_global === 'true';
17
-
18
- // Skip if not global install (local dev doesn't need postinstall)
19
- if (!isGlobalInstall && fs.existsSync(agentsDir)) {
20
- console.log('aidevops: Local install detected, skipping setup (agents already deployed)');
21
- process.exit(0);
15
+ // Check current installed version
16
+ let installedVersion = 'not installed';
17
+ if (fs.existsSync(versionFile)) {
18
+ installedVersion = fs.readFileSync(versionFile, 'utf8').trim();
22
19
  }
23
20
 
24
- // Check if setup.sh exists
25
- if (!fs.existsSync(setupScript)) {
26
- console.log('aidevops: setup.sh not found, skipping postinstall');
27
- process.exit(0);
28
- }
21
+ // Get package version
22
+ const packageJson = require('../package.json');
23
+ const packageVersion = packageJson.version;
29
24
 
30
- console.log('aidevops: Running setup to deploy agents...');
25
+ console.log('');
26
+ console.log('aidevops CLI installed successfully!');
27
+ console.log('');
28
+ console.log(` CLI version: ${packageVersion}`);
29
+ console.log(` Agents version: ${installedVersion}`);
31
30
  console.log('');
32
31
 
33
- try {
34
- // Run setup.sh non-interactively
35
- execSync(`bash "${setupScript}"`, {
36
- stdio: 'inherit',
37
- cwd: packageDir,
38
- env: {
39
- ...process.env,
40
- // Skip interactive prompts
41
- AIDEVOPS_NONINTERACTIVE: '1'
42
- }
43
- });
44
-
32
+ if (installedVersion === 'not installed') {
33
+ console.log('To complete installation, run:');
45
34
  console.log('');
46
- console.log('aidevops installed successfully!');
35
+ console.log(' aidevops update');
36
+ console.log('');
37
+ console.log('This will clone the repository and deploy agents to ~/.aidevops/agents/');
38
+ } else if (installedVersion !== packageVersion) {
39
+ console.log('To update agents to match CLI version, run:');
40
+ console.log('');
41
+ console.log(' aidevops update');
42
+ console.log('');
43
+ } else {
44
+ console.log('CLI and agents are in sync. Ready to use!');
47
45
  console.log('');
48
46
  console.log('Quick start:');
49
47
  console.log(' aidevops status # Check installation');
50
48
  console.log(' aidevops init # Initialize in a project');
51
49
  console.log(' aidevops help # Show all commands');
52
- console.log('');
53
- } catch (error) {
54
- console.error('aidevops: Setup encountered issues (non-critical)');
55
- console.error(`Run manually: bash "${setupScript}"`);
56
- console.error('Or reinstall with: bash <(curl -fsSL https://aidevops.sh)');
57
- // Don't fail the install
58
- process.exit(0);
59
50
  }
51
+ console.log('');
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.2
6
+ # Version: 2.54.4
7
7
  #
8
8
  # Quick Install (one-liner):
9
9
  # bash <(curl -fsSL https://aidevops.dev/install)