aidevops 3.32.162 → 3.32.164

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
@@ -60,7 +60,7 @@ The result: an AI operations platform that manages projects across every busines
60
60
  [![Copyright](https://img.shields.io/badge/Copyright-Marcus%20Quinn%202025--2026-blue.svg)](https://github.com/marcusquinn)
61
61
 
62
62
  <!-- Release & Version Info -->
63
- [![Version](https://img.shields.io/badge/Version-3.32.162-blue.svg)](https://github.com/marcusquinn/aidevops/releases)
63
+ [![Version](https://img.shields.io/badge/Version-3.32.164-blue.svg)](https://github.com/marcusquinn/aidevops/releases)
64
64
  [![npm version](https://img.shields.io/npm/v/aidevops)](https://www.npmjs.com/package/aidevops)
65
65
  [![Homebrew](https://img.shields.io/badge/homebrew-marcusquinn%2Ftap-orange)](https://github.com/marcusquinn/homebrew-tap)
66
66
  [![GitHub repository](https://img.shields.io/badge/github-repository-181717.svg?logo=github)](https://github.com/marcusquinn/aidevops)
@@ -988,7 +988,8 @@ Run multiple AI sessions concurrently with isolated contexts. Named **runners**
988
988
 
989
989
  | Feature | Description |
990
990
  |---------|-------------|
991
- | **Headless dispatch** | `opencode run` for one-shot tasks, `opencode serve` + `--attach` for warm server |
991
+ | **Headless dispatch** | `headless-runtime-helper.sh run` provides canonical model routing, retries, and session isolation |
992
+ | **Durable one-shot scheduling** | `aidevops schedule once` queues private, restart-safe delayed work without fake recurring jobs or sleeper processes |
992
993
  | **Runners** | Named agent instances with per-runner AGENTS.md, config, and run logs (`runner-helper.sh`) |
993
994
  | **Self-hosted runner runbooks** | GitHub runner storage, lifecycle, Docker foreground mode, timer freshness, and cleanup-race guidance (`.agents/reference/github-self-hosted-runners.md`) |
994
995
  | **Session management** | Resume sessions with `-s <id>` or `-c`, fork with SDK |
@@ -1003,6 +1004,11 @@ runner-helper.sh create code-reviewer --description "Reviews code for security a
1003
1004
  # Dispatch a task (one-shot)
1004
1005
  runner-helper.sh run code-reviewer "Review src/auth/ for vulnerabilities"
1005
1006
 
1007
+ # Queue one delayed execution and inspect its lifecycle
1008
+ aidevops schedule once --after 2h --name "Review authentication" \
1009
+ --dir ~/Git/example --prompt-file ~/.config/aidevops/prompts/auth-review.md
1010
+ aidevops schedule status
1011
+
1006
1012
  # Dispatch against warm server (faster, no MCP cold boot)
1007
1013
  opencode serve --port 4096 &
1008
1014
  runner-helper.sh run code-reviewer "Review src/auth/" --attach http://localhost:4096
package/VERSION CHANGED
@@ -1 +1 @@
1
- 3.32.162
1
+ 3.32.164
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.162
8
+ # Version: 3.32.164
9
9
 
10
10
  set -euo pipefail
11
11
 
@@ -959,6 +959,7 @@ _help_commands() {
959
959
  echo " update Update aidevops to the latest version (alias: upgrade)"
960
960
  echo " upgrade Alias for update"
961
961
  echo " pulse <cmd> Session-based pulse control (start/stop/status)"
962
+ echo " schedule <cmd> Durable one-shot jobs (once/status/cancel)"
962
963
  echo " launch-worker Manually launch headless workers for GitHub issues"
963
964
  echo " worktree <cmd> Manage safe linked worktrees (add/list/remove/status/switch/clean) (alias: wt)"
964
965
  echo " auto-update <cmd> Manage automatic update polling (enable/disable/status)"
@@ -1662,6 +1663,7 @@ main() {
1662
1663
  sources | agent-sources) _dispatch_helper "agent-sources-helper.sh" "agent-sources-helper.sh" "$@" ;;
1663
1664
  plugin | plugins) cmd_plugin "$@" ;;
1664
1665
  pulse) _dispatch_helper "pulse-session-helper.sh" "pulse-session-helper.sh" "$@" ;;
1666
+ schedule) _dispatch_helper "deferred-job-helper.sh" "deferred-job-helper.sh" "$@" ;;
1665
1667
  launch-worker | launch_worker) cmd_launch_worker "$@" ;;
1666
1668
  check-workflows | workflows) _dispatch_helper "check-workflows-helper.sh" "check-workflows-helper.sh" "$@" ;;
1667
1669
  sync-workflows) _dispatch_helper "sync-workflows-helper.sh" "sync-workflows-helper.sh" "$@" ;;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "3.32.162",
3
+ "version": "3.32.164",
4
4
  "description": "AI DevOps Framework - AI-assisted development workflows, code quality, and deployment automation",
5
5
  "type": "module",
6
6
  "workspaces": [
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.32.162
20
+ # Version: 3.32.164
21
21
  #
22
22
  # Quick Install:
23
23
  # npm install -g aidevops && aidevops update (recommended)
@@ -1904,13 +1904,16 @@ _setup_restart_pulse_if_running() {
1904
1904
  activated_root="$current_root"
1905
1905
  fi
1906
1906
  if [[ -z "$activated_root" ]]; then
1907
- print_warning "Pulse restart skipped because the activated runtime bundle could not be resolved"
1908
- return 0
1907
+ print_error "Pulse reconciliation failed because the activated runtime bundle could not be resolved"
1908
+ return 1
1909
1909
  fi
1910
- _restart_pulse_if_running \
1910
+ if ! _restart_pulse_if_running \
1911
1911
  "$activated_root" \
1912
1912
  "$managed_enabled" \
1913
- "${HOME}/.aidevops/agents" || print_warning "Pulse reconciliation failed (non-fatal)"
1913
+ "${HOME}/.aidevops/agents"; then
1914
+ print_error "Pulse reconciliation failed; setup cannot verify the activated runtime bundle"
1915
+ return 1
1916
+ fi
1914
1917
  return 0
1915
1918
  }
1916
1919