aidevops 2.172.21 → 2.172.23
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 +1 -1
- package/package.json +1 -1
- package/setup-modules/config.sh +1 -13
- package/setup-modules/mcp-setup.sh +3 -3
- package/setup-modules/tool-install.sh +1 -1
- package/setup.sh +1 -1
- package/templates/opencode-config-agents.md +4 -4
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.172.
|
|
1
|
+
2.172.23
|
package/aidevops.sh
CHANGED
package/package.json
CHANGED
package/setup-modules/config.sh
CHANGED
|
@@ -109,26 +109,14 @@ update_opencode_config() {
|
|
|
109
109
|
print_info "Updating OpenCode configuration..."
|
|
110
110
|
|
|
111
111
|
# Generate OpenCode commands (independent of opencode.json — writes to ~/.config/opencode/command/)
|
|
112
|
-
# Run this first so /onboarding and other commands exist even if opencode.json hasn't been created yet
|
|
113
112
|
_run_generator ".agents/scripts/generate-opencode-commands.sh" \
|
|
114
113
|
"Generating OpenCode commands..." \
|
|
115
114
|
"OpenCode commands configured" \
|
|
116
115
|
"OpenCode command generation encountered issues"
|
|
117
116
|
|
|
118
|
-
# Generate OpenCode agent configuration (
|
|
117
|
+
# Generate OpenCode agent configuration (creates opencode.json if missing)
|
|
119
118
|
# - Primary agents: Added to opencode.json (for Tab order & MCP control)
|
|
120
119
|
# - Subagents: Generated as markdown in ~/.config/opencode/agent/
|
|
121
|
-
local opencode_config
|
|
122
|
-
if ! opencode_config=$(find_opencode_config); then
|
|
123
|
-
print_info "OpenCode config (opencode.json) not found — agent configuration skipped (commands still generated)"
|
|
124
|
-
return 0
|
|
125
|
-
fi
|
|
126
|
-
|
|
127
|
-
print_info "Found OpenCode config at: $opencode_config"
|
|
128
|
-
|
|
129
|
-
# Create backup (with rotation)
|
|
130
|
-
create_backup_with_rotation "$opencode_config" "opencode"
|
|
131
|
-
|
|
132
120
|
_run_generator ".agents/scripts/generate-opencode-agents.sh" \
|
|
133
121
|
"Generating OpenCode agent configuration..." \
|
|
134
122
|
"OpenCode agents configured (11 primary in JSON, subagents as markdown)" \
|
|
@@ -528,19 +528,19 @@ setup_seo_mcps() {
|
|
|
528
528
|
# shellcheck source=/dev/null
|
|
529
529
|
source "$HOME/.config/aidevops/credentials.sh"
|
|
530
530
|
|
|
531
|
-
if [[ -n "$DATAFORSEO_USERNAME" ]]; then
|
|
531
|
+
if [[ -n "${DATAFORSEO_USERNAME:-}" ]]; then
|
|
532
532
|
print_success "DataForSEO credentials configured"
|
|
533
533
|
else
|
|
534
534
|
print_info "DataForSEO: set DATAFORSEO_USERNAME and DATAFORSEO_PASSWORD in credentials.sh"
|
|
535
535
|
fi
|
|
536
536
|
|
|
537
|
-
if [[ -n "$SERPER_API_KEY" ]]; then
|
|
537
|
+
if [[ -n "${SERPER_API_KEY:-}" ]]; then
|
|
538
538
|
print_success "Serper API key configured"
|
|
539
539
|
else
|
|
540
540
|
print_info "Serper: set SERPER_API_KEY in credentials.sh"
|
|
541
541
|
fi
|
|
542
542
|
|
|
543
|
-
if [[ -n "$AHREFS_API_KEY" ]]; then
|
|
543
|
+
if [[ -n "${AHREFS_API_KEY:-}" ]]; then
|
|
544
544
|
print_success "Ahrefs API key configured"
|
|
545
545
|
else
|
|
546
546
|
print_info "Ahrefs: set AHREFS_API_KEY in credentials.sh"
|
|
@@ -1030,7 +1030,7 @@ setup_python_env() {
|
|
|
1030
1030
|
if [[ -d "python-env/dspy-env" ]] && [[ ! -f "python-env/dspy-env/bin/activate" ]]; then
|
|
1031
1031
|
rm -rf python-env/dspy-env
|
|
1032
1032
|
fi
|
|
1033
|
-
if
|
|
1033
|
+
if "$python3_bin" -m venv python-env/dspy-env; then
|
|
1034
1034
|
print_success "Python virtual environment created"
|
|
1035
1035
|
else
|
|
1036
1036
|
print_warning "Failed to create Python virtual environment - DSPy setup skipped"
|
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: 2.172.
|
|
13
|
+
# Version: 2.172.23
|
|
14
14
|
#
|
|
15
15
|
# Quick Install:
|
|
16
16
|
# npm install -g aidevops && aidevops update (recommended)
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
## aidevops Framework Status
|
|
4
4
|
|
|
5
5
|
**On conversation start**:
|
|
6
|
-
1. If you have Bash tool: Run `bash ~/.aidevops/agents/scripts/aidevops-update-check.sh --interactive`
|
|
7
|
-
2. If no Bash tool: Read `~/.aidevops/cache/session-greeting.txt` (cached by agents with Bash)
|
|
8
|
-
3.
|
|
6
|
+
1. If you have Bash tool: Run `bash ~/.aidevops/agents/scripts/aidevops-update-check.sh --interactive` — the output is either a status line (format: `aidevops v{version} running in {app} v{app_version} | {repo}`) or `UPDATE_AVAILABLE|current|latest|AppName`. Parse `{version}` from the output accordingly.
|
|
7
|
+
2. If no Bash tool: Read `~/.aidevops/cache/session-greeting.txt` (cached by agents with Bash). If that file does not exist, read `~/.aidevops/agents/VERSION` for the version. If neither exists, use `unknown` as the version.
|
|
8
|
+
3. Greet with: "Hi!\n\nWe're running https://aidevops.sh v{version} in {app} v{app_version}.\n\nWhat would you like to work on?"
|
|
9
9
|
4. Then respond to the user's actual message
|
|
10
10
|
|
|
11
|
-
If update check output starts with `UPDATE_AVAILABLE|` (e.g., `UPDATE_AVAILABLE|current|latest|AppName`), inform user: "Update available (current → latest). Run `aidevops update` in a terminal session to update, or type `!aidevops update` below and hit Enter."
|
|
11
|
+
If you ran the update check script (step 1) and the output starts with `UPDATE_AVAILABLE|` (e.g., `UPDATE_AVAILABLE|current|latest|AppName`), inform user: "Update available (current → latest). Run `aidevops update` in a terminal session to update, or type `!aidevops update` below and hit Enter." This check does not apply when falling back to reading the cache or VERSION file (step 2).
|
|
12
12
|
|
|
13
13
|
## Pre-Edit Git Check
|
|
14
14
|
|