aidevops 3.32.32 → 3.32.34
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 +2 -1
- package/VERSION +1 -1
- package/aidevops.sh +7 -3
- package/bin/aidevops +3 -1
- package/package.json +1 -1
- package/setup.sh +7 -2
package/README.md
CHANGED
|
@@ -60,7 +60,7 @@ The result: an AI operations platform that manages projects across every busines
|
|
|
60
60
|
[](https://github.com/marcusquinn)
|
|
61
61
|
|
|
62
62
|
<!-- Release & Version Info -->
|
|
63
|
-
[](https://github.com/marcusquinn/aidevops/releases)
|
|
64
64
|
[](https://www.npmjs.com/package/aidevops)
|
|
65
65
|
[](https://github.com/marcusquinn/homebrew-tap)
|
|
66
66
|
[](https://github.com/marcusquinn/aidevops)
|
|
@@ -102,6 +102,7 @@ the required notices and preferred credit text.
|
|
|
102
102
|
- `aidevops init` - Initialize in any project
|
|
103
103
|
- `aidevops update` - Update framework
|
|
104
104
|
- `aidevops auto-update` - Automatic update polling (enable/disable/status)
|
|
105
|
+
- `aidevops gpt56-context [enable|disable|status]` - Keep GPT-5.6 at a 300K advertised context window in OpenCode (enabled by default), so 80% auto-compaction runs near 240K before long-context pricing; disable to use native provider limits
|
|
105
106
|
- `aidevops secret` - Manage secrets (gopass encrypted, AI-safe)
|
|
106
107
|
- `aidevops security` - Full security assessment (posture, secrets, supply chain)
|
|
107
108
|
- `aidevops lint audit` - Audit native lint/format/typecheck commands and repo-verify hooks
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.32.
|
|
1
|
+
3.32.34
|
package/aidevops.sh
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
# AI DevOps Framework CLI
|
|
6
6
|
# Usage: aidevops <command> [options]
|
|
7
7
|
#
|
|
8
|
-
# Version: 3.32.
|
|
8
|
+
# Version: 3.32.34
|
|
9
9
|
|
|
10
10
|
set -euo pipefail
|
|
11
11
|
|
|
@@ -44,7 +44,7 @@ INSTALL_DIR="$_AIDEVOPS_REAL_HOME/Git/aidevops"
|
|
|
44
44
|
_AIDEVOPS_SOURCE_PATH="${BASH_SOURCE[0]}"
|
|
45
45
|
_AIDEVOPS_SOURCE_DIR="${_AIDEVOPS_SOURCE_PATH%/*}"
|
|
46
46
|
[[ "$_AIDEVOPS_SOURCE_DIR" == "$_AIDEVOPS_SOURCE_PATH" ]] && _AIDEVOPS_SOURCE_DIR="."
|
|
47
|
-
_AIDEVOPS_SOURCE_DIR="$(cd "$_AIDEVOPS_SOURCE_DIR" 2>/dev/null && pwd)" || _AIDEVOPS_SOURCE_DIR=""
|
|
47
|
+
_AIDEVOPS_SOURCE_DIR="$(cd "$_AIDEVOPS_SOURCE_DIR" 2>/dev/null && pwd -P)" || _AIDEVOPS_SOURCE_DIR=""
|
|
48
48
|
if [[ -n "$_AIDEVOPS_SOURCE_DIR" && -L "$_AIDEVOPS_SOURCE_PATH" ]]; then
|
|
49
49
|
_AIDEVOPS_LINK_TARGET="$(readlink "$_AIDEVOPS_SOURCE_PATH" 2>/dev/null || true)"
|
|
50
50
|
if [[ -n "$_AIDEVOPS_LINK_TARGET" ]]; then
|
|
@@ -68,7 +68,8 @@ elif [[ -n "$_AIDEVOPS_SOURCE_DIR" && -f "$_AIDEVOPS_SOURCE_DIR/scripts/aidevops
|
|
|
68
68
|
_AIDEVOPS_CLI_MODULES_SUBDIR="scripts/aidevops-cli"
|
|
69
69
|
fi
|
|
70
70
|
unset _AIDEVOPS_SOURCE_PATH _AIDEVOPS_SOURCE_DIR _AIDEVOPS_LINK_TARGET _AIDEVOPS_LINK_DIR
|
|
71
|
-
AGENTS_DIR="$_AIDEVOPS_REAL_HOME/.aidevops/agents"
|
|
71
|
+
AGENTS_DIR="${AIDEVOPS_AGENTS_DIR:-$_AIDEVOPS_REAL_HOME/.aidevops/agents}"
|
|
72
|
+
export AIDEVOPS_AGENTS_DIR="$AGENTS_DIR"
|
|
72
73
|
CONFIG_DIR="$_AIDEVOPS_REAL_HOME/.config/aidevops"
|
|
73
74
|
REPOS_FILE="$CONFIG_DIR/repos.json"
|
|
74
75
|
# shellcheck disable=SC2034 # Used in fresh install fallback
|
|
@@ -878,6 +879,7 @@ _help_commands() {
|
|
|
878
879
|
echo " design <cmd> DESIGN.md detection, scaffolding, and brand guideline exports"
|
|
879
880
|
echo " cleanup <cmd> Cleanup helpers (remote branch audit/delete)"
|
|
880
881
|
echo " model-accounts-pool OAuth account pool (list/check/diagnose/add/rotate/reset-cooldowns)"
|
|
882
|
+
echo " gpt56-context <cmd> Manage the 300K GPT-5.6 OpenCode context cap (enable/disable/status)"
|
|
881
883
|
echo " client-format Client request format alignment (extract/check/canary/monitor)"
|
|
882
884
|
echo " opencode-db <cmd> OpenCode SQLite maintenance/session lookup (check/report/sessions/maintain/window/status/install)"
|
|
883
885
|
echo " opencode [args] Launch OpenCode with aidevops per-session DB isolation"
|
|
@@ -1123,6 +1125,7 @@ cmd_help() {
|
|
|
1123
1125
|
echo " aidevops doctor # Find duplicate/conflicting installs"
|
|
1124
1126
|
echo " aidevops doctor --fix # Interactively remove duplicates"
|
|
1125
1127
|
echo " aidevops update # Update framework + check projects"
|
|
1128
|
+
echo " aidevops gpt56-context # Manage the 300K GPT-5.6 OpenCode context cap"
|
|
1126
1129
|
echo " aidevops repos # List registered projects"
|
|
1127
1130
|
echo " aidevops launch-worker 22259 marcusquinn/aidevops --dry-run"
|
|
1128
1131
|
echo " aidevops repos add # Register current project"
|
|
@@ -1647,6 +1650,7 @@ main() {
|
|
|
1647
1650
|
detect | scan) cmd_detect ;;
|
|
1648
1651
|
ip-check | ip_check) _dispatch_helper "ip-reputation-helper.sh" "ip-reputation-helper.sh" "$@" ;;
|
|
1649
1652
|
model-accounts-pool | map) _dispatch_helper "oauth-pool-helper.sh" "oauth-pool-helper.sh" "$@" ;;
|
|
1653
|
+
gpt56-context | gpt56_context) _dispatch_helper "gpt56-context-helper.sh" "gpt56-context-helper.sh" "$@" ;;
|
|
1650
1654
|
cleanup)
|
|
1651
1655
|
local _cleanup_sub="${1:-help}"
|
|
1652
1656
|
case "$_cleanup_sub" in
|
package/bin/aidevops
CHANGED
|
@@ -35,7 +35,9 @@ DEPLOYED_CLI="${REAL_HOME:+$REAL_HOME/.aidevops/agents/aidevops.sh}"
|
|
|
35
35
|
# 1. Prefer the setup-deployed copy. It is released atomically with its modules,
|
|
36
36
|
# so a stale or dirty canonical checkout cannot split the CLI version from them.
|
|
37
37
|
if [[ -f "$DEPLOYED_CLI" ]]; then
|
|
38
|
-
|
|
38
|
+
DEPLOYED_ROOT="$(cd "$(dirname "$DEPLOYED_CLI")" && pwd -P)"
|
|
39
|
+
export AIDEVOPS_AGENTS_DIR="$DEPLOYED_ROOT"
|
|
40
|
+
exec bash "$DEPLOYED_ROOT/aidevops.sh" "$@"
|
|
39
41
|
fi
|
|
40
42
|
|
|
41
43
|
# 2. Use the git repo for bootstrap and local development.
|
package/package.json
CHANGED
package/setup.sh
CHANGED
|
@@ -9,10 +9,15 @@ IFS=$'\n\t'
|
|
|
9
9
|
trap 'rc=$?; echo "[ERROR] ${BASH_SOURCE[0]}:${LINENO} exit $rc" >&2' ERR
|
|
10
10
|
shopt -s inherit_errexit 2>/dev/null || true
|
|
11
11
|
|
|
12
|
+
if [[ -z "${HOME:-}" ]]; then
|
|
13
|
+
printf '%s\n' '[ERROR] HOME environment variable is unset or empty. setup.sh requires a valid HOME directory.' >&2
|
|
14
|
+
exit 1
|
|
15
|
+
fi
|
|
16
|
+
|
|
12
17
|
# AI Assistant Server Access Framework Setup Script
|
|
13
18
|
# Helps developers set up the framework for their infrastructure
|
|
14
19
|
#
|
|
15
|
-
# Version: 3.32.
|
|
20
|
+
# Version: 3.32.34
|
|
16
21
|
#
|
|
17
22
|
# Quick Install:
|
|
18
23
|
# npm install -g aidevops && aidevops update (recommended)
|
|
@@ -68,7 +73,7 @@ REPO_URL="https://github.com/marcusquinn/aidevops.git"
|
|
|
68
73
|
# INSTALL_DIR: resolve from the directory where setup.sh is executed (supports worktrees)
|
|
69
74
|
# For bootstrap (curl install), this will be /dev/fd/NN and trigger re-exec after clone
|
|
70
75
|
INSTALL_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
71
|
-
AGENTS_DIR="${AIDEVOPS_AGENTS_DIR:-$
|
|
76
|
+
AGENTS_DIR="${AIDEVOPS_AGENTS_DIR:-$HOME/.aidevops/agents}"
|
|
72
77
|
export REPO_URL INSTALL_DIR AGENTS_DIR
|
|
73
78
|
|
|
74
79
|
# Source modular setup functions (t316.2)
|