aidevops 3.34.30 → 3.34.31

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
@@ -25,7 +25,7 @@ token efficiency, and quality control built in.**
25
25
  [![Maintainability](https://qlty.sh/gh/marcusquinn/projects/aidevops/maintainability.svg)](https://qlty.sh/gh/marcusquinn/projects/aidevops)
26
26
  [![Codacy Badge](https://app.codacy.com/project/badge/Grade/2b1adbd66c454dae92234341e801b984)](https://app.codacy.com/gh/marcusquinn/aidevops/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
27
27
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
28
- [![Version](https://img.shields.io/badge/Version-3.34.30-blue.svg)](https://github.com/marcusquinn/aidevops/releases)
28
+ [![Version](https://img.shields.io/badge/Version-3.34.31-blue.svg)](https://github.com/marcusquinn/aidevops/releases)
29
29
  [![npm version](https://img.shields.io/npm/v/aidevops)](https://www.npmjs.com/package/aidevops)
30
30
  [![Homebrew](https://img.shields.io/badge/homebrew-marcusquinn%2Ftap-orange)](https://github.com/marcusquinn/homebrew-tap)
31
31
 
@@ -440,6 +440,13 @@ Setup deploys the framework under `~/.aidevops/agents/`, installs the CLI,
440
440
  configures detected supported runtimes, and offers optional tools. Existing
441
441
  personal settings and custom agents are preserved.
442
442
 
443
+ Setup/update also manages a persistent OpenCode owner on macOS and on Linux/WSL2
444
+ with a systemd user manager. `aidevops opencode managed --dir PATH` attaches a TUI
445
+ to its shared history. Existing databases, routing choices, and disabled services
446
+ are preserved; Desktop's first server/project selection remains manual. See the
447
+ [managed-service guide](.agents/reference/opencode-service.md) for platform
448
+ verification limits, opt-out, and rollback.
449
+
443
450
  ## Quick Start
444
451
 
445
452
  1. Install aidevops using one of the methods above.
package/VERSION CHANGED
@@ -1 +1 @@
1
- 3.34.30
1
+ 3.34.31
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.34.30
8
+ # Version: 3.34.31
9
9
 
10
10
  set -euo pipefail
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "3.34.30",
3
+ "version": "3.34.31",
4
4
  "description": "AI DevOps Framework - AI-assisted development workflows, code quality, and deployment automation",
5
5
  "type": "module",
6
6
  "packageManager": "bun@1.3.11",
package/setup.sh CHANGED
@@ -17,7 +17,7 @@ fi
17
17
  # AI Assistant Server Access Framework Setup Script
18
18
  # Helps developers set up the framework for their infrastructure
19
19
  #
20
- # Version: 3.34.30
20
+ # Version: 3.34.31
21
21
  #
22
22
  # Quick Install:
23
23
  # npm install -g aidevops && aidevops update (recommended)
@@ -39,6 +39,7 @@ SETUP_EXPLICIT_NON_INTERACTIVE="${AIDEVOPS_NON_INTERACTIVE:-false}"
39
39
  UPDATE_TOOLS_MODE=false
40
40
  SETUP_STAGE=""
41
41
  SETUP_STAGE_OPENCODE="setup_opencode_cli"
42
+ SETUP_STAGE_OPENCODE_SERVICE="setup_opencode_service"
42
43
  SETUP_STAGE_AGENTS="deploy_aidevops_agents"
43
44
  SETUP_STAGE_HOOKS="setup_safety_hooks"
44
45
  SETUP_STAGE_TABBY="setup_tabby"
@@ -1435,6 +1436,7 @@ _setup_run_ai_session_incremental() {
1435
1436
  if [[ "$_SETUP_AI_SESSION_NEEDS_AGENTS" -eq 1 ]]; then
1436
1437
  _time_step "$SETUP_STAGE_AGENTS" deploy_aidevops_agents || return $?
1437
1438
  _time_step "$SETUP_STAGE_OPENCODE_PLUGINS" setup_opencode_runtime_plugins || return $?
1439
+ _time_step "$SETUP_STAGE_OPENCODE_SERVICE" setup_opencode_service
1438
1440
  _time_step "$SETUP_STAGE_HOTFIX_CONFIG" _deploy_hotfix_config || return $?
1439
1441
  _time_step "$SETUP_STAGE_RUNTIME_CONFIG" _setup_reconcile_runtime_config || return $?
1440
1442
  fi
@@ -1477,11 +1479,13 @@ _setup_run_scoped_stage() {
1477
1479
  case "$stage" in
1478
1480
  "$SETUP_STAGE_OPENCODE")
1479
1481
  _time_step "$SETUP_STAGE_OPENCODE" setup_opencode_runtimes
1482
+ _time_step "$SETUP_STAGE_OPENCODE_SERVICE" setup_opencode_service
1480
1483
  _time_step "setup_opencode_desktop_launcher" setup_opencode_desktop_launcher
1481
1484
  ;;
1482
1485
  "$SETUP_STAGE_AGENTS")
1483
1486
  _time_step "$SETUP_STAGE_AGENTS" deploy_aidevops_agents
1484
1487
  _time_step "$SETUP_STAGE_OPENCODE_PLUGINS" setup_opencode_runtime_plugins
1488
+ _time_step "$SETUP_STAGE_OPENCODE_SERVICE" setup_opencode_service
1485
1489
  _time_step "$SETUP_STAGE_HOTFIX_CONFIG" _deploy_hotfix_config
1486
1490
  ;;
1487
1491
  "$SETUP_STAGE_RUNTIME_CONFIG")
@@ -1583,6 +1587,7 @@ _setup_run_non_interactive() {
1583
1587
  _time_step "validate_opencode_config" validate_opencode_config
1584
1588
  _time_step "$SETUP_STAGE_AGENTS" deploy_aidevops_agents
1585
1589
  _time_step "$SETUP_STAGE_OPENCODE_PLUGINS" setup_opencode_runtime_plugins
1590
+ _time_step "$SETUP_STAGE_OPENCODE_SERVICE" setup_opencode_service
1586
1591
  _time_step "reconcile_buzz_desktop_compatibility" reconcile_buzz_desktop_compatibility
1587
1592
  _time_step "_setup_install_pulse_plist_early" _setup_install_pulse_plist_early
1588
1593
  _time_step "$SETUP_STAGE_HOTFIX_CONFIG" _deploy_hotfix_config
@@ -1685,6 +1690,7 @@ _setup_run_interactive_runtime_tools() {
1685
1690
  confirm_step "Setup OpenCode V1 and isolated V2 preview CLIs" && setup_opencode_runtimes
1686
1691
  confirm_step "Install OpenCode AIDevOps Desktop app wrapper" && setup_opencode_desktop_launcher
1687
1692
  confirm_step "Setup OpenCode plugins" && setup_opencode_runtime_plugins
1693
+ confirm_step "Setup persistent OpenCode owner (preserve existing histories)" && setup_opencode_service
1688
1694
  confirm_step "Setup Codex CLI (OpenAI AI coding tool)" && setup_codex_cli
1689
1695
  confirm_step "Setup Droid CLI (Factory.AI coding tool)" && setup_droid_cli
1690
1696
  return 0