aidevops 3.1.287 → 3.1.289
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/VERSION +1 -1
- package/aidevops.sh +3 -1
- package/package.json +1 -1
- package/setup-modules/post-setup.sh +54 -0
- package/setup.sh +4 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.1.
|
|
1
|
+
3.1.289
|
package/aidevops.sh
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# AI DevOps Framework CLI
|
|
4
4
|
# Usage: aidevops <command> [options]
|
|
5
5
|
#
|
|
6
|
-
# Version: 3.1.
|
|
6
|
+
# Version: 3.1.289
|
|
7
7
|
|
|
8
8
|
set -euo pipefail
|
|
9
9
|
|
|
@@ -3102,6 +3102,7 @@ _help_commands() {
|
|
|
3102
3102
|
echo " secret <cmd> Manage secrets (set/list/run/init/import/status)"
|
|
3103
3103
|
echo " config <cmd> Feature toggles (list/get/set/reset/path/help)"
|
|
3104
3104
|
echo " stats <cmd> LLM usage analytics (summary/models/projects/costs/trend)"
|
|
3105
|
+
echo " tabby <cmd> Manage Tabby terminal profiles (sync/status/zshrc/help)"
|
|
3105
3106
|
echo " detect Find and register aidevops projects"
|
|
3106
3107
|
echo " uninstall Remove aidevops from your system"
|
|
3107
3108
|
echo " version Show version information"
|
|
@@ -3389,6 +3390,7 @@ main() {
|
|
|
3389
3390
|
opencode-sandbox | oc-sandbox) _dispatch_helper "opencode-sandbox-helper.sh" "opencode-sandbox-helper.sh" "$@" ;;
|
|
3390
3391
|
secret | secrets) _dispatch_helper "secret-helper.sh" "secret-helper.sh" "$@" ;;
|
|
3391
3392
|
stats | observability) _dispatch_helper "observability-helper.sh" "observability-helper.sh" "$@" ;;
|
|
3393
|
+
tabby) _dispatch_helper "tabby-helper.sh" "tabby-helper.sh" "$@" ;;
|
|
3392
3394
|
config | configure) _dispatch_config "$@" ;;
|
|
3393
3395
|
uninstall | remove) cmd_uninstall ;;
|
|
3394
3396
|
version | v | -v | --version) cmd_version ;;
|
package/package.json
CHANGED
|
@@ -135,6 +135,60 @@ print_final_instructions() {
|
|
|
135
135
|
return 0
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
+
# Setup Tabby terminal profiles from repos.json.
|
|
139
|
+
# Creates a profile per registered repo with colour-matched themes and
|
|
140
|
+
# the TABBY_AUTORUN hook for OpenCode TUI compatibility.
|
|
141
|
+
# Skipped if Tabby is not installed.
|
|
142
|
+
setup_tabby() {
|
|
143
|
+
local tabby_helper="$HOME/.aidevops/agents/scripts/tabby-helper.sh"
|
|
144
|
+
local tabby_config
|
|
145
|
+
|
|
146
|
+
# Platform-aware config path
|
|
147
|
+
if [[ "$(uname -s)" == "Darwin" ]]; then
|
|
148
|
+
tabby_config="$HOME/Library/Application Support/tabby/config.yaml"
|
|
149
|
+
else
|
|
150
|
+
tabby_config="$HOME/.config/tabby-terminal/config.yaml"
|
|
151
|
+
fi
|
|
152
|
+
|
|
153
|
+
# Skip if Tabby not installed
|
|
154
|
+
if [[ ! -f "$tabby_config" ]]; then
|
|
155
|
+
return 0
|
|
156
|
+
fi
|
|
157
|
+
|
|
158
|
+
# Skip if helper not deployed yet
|
|
159
|
+
if [[ ! -x "$tabby_helper" ]]; then
|
|
160
|
+
return 0
|
|
161
|
+
fi
|
|
162
|
+
|
|
163
|
+
print_info "Tabby terminal detected"
|
|
164
|
+
|
|
165
|
+
# Install zshrc hook (idempotent)
|
|
166
|
+
if ! bash "$tabby_helper" zshrc; then
|
|
167
|
+
print_warning "Failed to install Tabby zshrc hook — run manually: aidevops tabby zshrc"
|
|
168
|
+
fi
|
|
169
|
+
|
|
170
|
+
if [[ "$NON_INTERACTIVE" == "true" ]]; then
|
|
171
|
+
# Non-interactive: sync silently, warn on failure
|
|
172
|
+
if ! bash "$tabby_helper" sync; then
|
|
173
|
+
print_warning "Tabby profile sync failed — run manually: aidevops tabby sync"
|
|
174
|
+
fi
|
|
175
|
+
return 0
|
|
176
|
+
fi
|
|
177
|
+
|
|
178
|
+
# Show status and offer to sync
|
|
179
|
+
echo ""
|
|
180
|
+
bash "$tabby_helper" status || true
|
|
181
|
+
echo ""
|
|
182
|
+
read -r -p "Sync Tabby profiles from repos.json? [Y/n]: " sync_tabby
|
|
183
|
+
if [[ "$sync_tabby" =~ ^[Yy]?$ ]]; then
|
|
184
|
+
bash "$tabby_helper" sync
|
|
185
|
+
else
|
|
186
|
+
print_info "Skipped. Run later: aidevops tabby sync"
|
|
187
|
+
fi
|
|
188
|
+
|
|
189
|
+
return 0
|
|
190
|
+
}
|
|
191
|
+
|
|
138
192
|
# Offer to launch onboarding for new users (only if not running inside an AI
|
|
139
193
|
# runtime session and not non-interactive). (t1665.5 — registry-driven)
|
|
140
194
|
# Respects config: aidevops config set ui.onboarding_prompt false
|
package/setup.sh
CHANGED
|
@@ -10,7 +10,7 @@ shopt -s inherit_errexit 2>/dev/null || true
|
|
|
10
10
|
# AI Assistant Server Access Framework Setup Script
|
|
11
11
|
# Helps developers set up the framework for their infrastructure
|
|
12
12
|
#
|
|
13
|
-
# Version: 3.1.
|
|
13
|
+
# Version: 3.1.289
|
|
14
14
|
#
|
|
15
15
|
# Quick Install:
|
|
16
16
|
# npm install -g aidevops && aidevops update (recommended)
|
|
@@ -867,7 +867,9 @@ _setup_post_setup_steps() {
|
|
|
867
867
|
|
|
868
868
|
# Non-interactive mode: deploy + migrations only — skip schedulers,
|
|
869
869
|
# services, and optional post-setup work (CI/agent shells don't need them).
|
|
870
|
+
# Tabby profile sync runs in both modes (has its own non-interactive path).
|
|
870
871
|
if [[ "$NON_INTERACTIVE" == "true" ]]; then
|
|
872
|
+
setup_tabby
|
|
871
873
|
return 0
|
|
872
874
|
fi
|
|
873
875
|
|
|
@@ -883,6 +885,7 @@ _setup_post_setup_steps() {
|
|
|
883
885
|
setup_draft_responses
|
|
884
886
|
setup_profile_readme
|
|
885
887
|
setup_oauth_token_refresh
|
|
888
|
+
setup_tabby
|
|
886
889
|
print_final_instructions
|
|
887
890
|
|
|
888
891
|
# Check for tool updates if --update flag was passed
|