aidevops 3.13.72 → 3.13.74

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
@@ -5,7 +5,7 @@
5
5
 
6
6
  **[aidevops.sh](https://aidevops.sh)** — An [OpenCode](https://opencode.ai/) plugin and AI operations platform for launching and managing development, business, marketing, and creative projects. 13 specialist AI agents handle the automatable work across every domain so your time is preserved for real-world discovery and decisions that AI cannot yet reach.
7
7
 
8
- > **Recommended setup:** [OpenCode](https://opencode.ai/) + [Claude](https://claude.ai/) models (Anthropic). All features, agents, and workflows are designed and tested for OpenCode first. Claude models (haiku, sonnet, opus) deliver the best results across all agent tiers.
8
+ > **Recommended setup:** [OpenCode](https://opencode.ai/) + OpenAI models. GPT-5.5 is the preferred high-capability model for complex agent work; GPT-5.4 mini is the preferred fast, lower-cost model for triage and routine implementation. Claude models (Anthropic) remain fully supported, and other model providers are evaluated from time to time as their quality, latency, and cost profiles change.
9
9
 
10
10
  *"Scope a mission to redesign the landing pages — break it into milestones, dispatch workers in parallel, validate each milestone, and track budget across the whole project"*
11
11
 
@@ -20,7 +20,7 @@ Founded by [Marcus Quinn](https://github.com/marcusquinn) on 9th November 2025 t
20
20
  - **Autonomous orchestration** - An AI supervisor runs every 2 minutes, dispatching parallel workers, merging PRs, detecting stuck processes, and advancing multi-day missions — no human babysitting required
21
21
  - **Multi-domain agents** - 13 specialist agents (code, automation, SEO, marketing, content, legal, sales, research, video, business, accounts, social media, health) with 900+ subagents loaded on demand
22
22
  - **Multi-model safety** - High-stakes operations (force push, production deploy, data migration) are verified by a second cross-provider model before execution — different providers have different failure modes, so correlated hallucinations are rare
23
- - **Resource efficiency** - Cost-aware model routing (local haiku flash sonnet pro → opus), project-type bundles that auto-configure quality gates and model tiers, budget tracking with burn-rate analysis
23
+ - **Resource efficiency** - Cost-aware model routing across OpenAI, Anthropic, Gemini, Cursor, and local models; project-type bundles auto-configure quality gates and model tiers, with budget tracking and burn-rate analysis
24
24
  - **Self-healing** - When something breaks, diagnose the root cause, create tasks, and fix it. Every error is a live test case for a permanent solution
25
25
  - **Self-improving** - When patterns of failure or inefficiency emerge, improve the framework itself. Session mining extracts learnings from past sessions automatically
26
26
  - **Gap awareness** - Every session is an opportunity to identify what's missing — gaps in automation, documentation, coverage, or processes — and create tasks to fill them
@@ -95,6 +95,7 @@ The result: an AI operations platform that manages projects across every busines
95
95
 
96
96
  - **Purpose**: AI-assisted DevOps automation framework
97
97
  - **Install**: `npm install -g aidevops && aidevops update`
98
+ - **Recommended runtime/models**: OpenCode + OpenAI GPT-5.5 / GPT-5.4 mini
98
99
  - **Entry**: `aidevops` CLI, `~/.aidevops/agents/AGENTS.md`
99
100
  - **Stack**: Bash scripts, TypeScript (Bun), MCP servers
100
101
 
@@ -111,8 +112,8 @@ The result: an AI operations platform that manages projects across every busines
111
112
 
112
113
  - 13 primary agents (Build+, Automate, SEO, Marketing, etc.) with specialist @subagents on demand
113
114
  - 900+ subagent markdown files organized by domain
114
- - 390+ helper scripts in `.agents/scripts/`
115
- - 69 slash commands for common workflows
115
+ - 1,200+ helper scripts in `.agents/scripts/`
116
+ - 90+ slash commands and workflow guides for common operations
116
117
 
117
118
  <!-- AI-CONTEXT-END -->
118
119
 
@@ -192,9 +193,9 @@ git clone https://github.com/marcusquinn/aidevops.git ~/Git/aidevops
192
193
  - Offer to install Oh My Zsh (optional, opt-in) for enhanced shell experience
193
194
  - Guide you through recommended tools (Tabby, Zed, Git CLIs)
194
195
  - Ensure all PATH and alias changes work in both bash, zsh, and fish
195
- - Add a `claude` alias that runs `claude --dangerously-skip-permissions` (skips per-tool permission prompts). Re-running setup updates the alias automatically. To grant permissions per-session instead, press **Shift-Tab** inside Claude Code to cycle through permission modes (default → skip permissions → auto-approve).
196
+ - When Claude Code is installed, add a `claude` alias that runs `claude --dangerously-skip-permissions` (skips per-tool permission prompts). Re-running setup updates the alias automatically. To grant permissions per-session instead, press **Shift-Tab** inside Claude Code to cycle through permission modes (default → skip permissions → auto-approve).
196
197
 
197
- **New users: Start [OpenCode](https://opencode.ai/) and type `/onboarding`** to configure your services interactively. OpenCode is the recommended tool for aidevops - all features, agents, and workflows are designed and tested for it first. The onboarding wizard will:
198
+ **New users: Start [OpenCode](https://opencode.ai/) and type `/onboarding`** to configure your services interactively. OpenCode is the recommended tool for aidevops; pair it with OpenAI GPT-5.5 and GPT-5.4 mini for the best current results across agent tiers. The onboarding wizard will:
198
199
  - Explain what **[aidevops](https://aidevops.sh)** can do
199
200
  - Ask about your work to give personalized recommendations
200
201
  - Show which services are configured vs need setup
@@ -314,7 +315,25 @@ See `.agents/tools/task-management/beads.md` for complete documentation and inst
314
315
 
315
316
  **Your AI assistant now has agentic access to 30+ service integrations.**
316
317
 
317
- ### OpenCode Anthropic OAuth (Built-in)
318
+ ### OpenAI Models in OpenCode (Recommended)
319
+
320
+ OpenCode with OpenAI is the current recommended aidevops setup. Use GPT-5.5 for complex reasoning, architecture, security-sensitive review, and hard agent tiers; use GPT-5.4 mini for fast triage, routine implementation, retries, and lower-cost worker throughput.
321
+
322
+ **Authenticate via the pool:**
323
+
324
+ ```bash
325
+ aidevops model-accounts-pool add openai
326
+ # Restart OpenCode after adding
327
+ ```
328
+
329
+ **Why this is the default:**
330
+
331
+ - **Best current cross-tier results** — strongest observed balance across interactive Build+, workers, review, and dispatch tiers
332
+ - **Good cost/latency split** — GPT-5.5 for depth, GPT-5.4 mini for high-volume routine work
333
+ - **Provider isolation** — OpenAI accounts rotate independently from Anthropic, Google, Cursor, and local providers
334
+ - **Fallback-friendly** — Claude, Gemini, Cursor, and local models remain available when a task or rate-limit profile calls for them
335
+
336
+ ### OpenCode Anthropic OAuth (Supported)
318
337
 
319
338
  OpenCode includes Anthropic OAuth authentication natively — no API key needed. OAuth is covered by your Claude Pro/Max subscription at zero additional cost.
320
339
 
@@ -334,7 +353,8 @@ Open OpenCode → `Ctrl+A` → Select **Anthropic** → **Login with Claude.ai**
334
353
 
335
354
  **Benefits:**
336
355
 
337
- - **Zero cost** for Claude Pro/Max subscribers (covered by subscription)
356
+ - **Still fully supported** for users who prefer Claude models or already have Claude Pro/Max
357
+ - **Zero marginal cost** for Claude Pro/Max subscribers (covered by subscription)
338
358
  - **Automatic token refresh** — no manual re-authentication needed
339
359
  - **Multiple accounts** — add more accounts to the pool for automatic rotation when one hits rate limits
340
360
  - **Beta features enabled** — extended thinking modes and latest features
@@ -406,8 +426,8 @@ Enable AI-powered issue resolution directly from GitHub. Comment `/oc fix this`
406
426
  # 1. Install the OpenCode GitHub App
407
427
  # Visit: https://github.com/apps/opencode-agent
408
428
 
409
- # 2. Add API key secret
410
- # Repository → Settings → Secrets → ANTHROPIC_API_KEY
429
+ # 2. Add API key secret for your chosen provider
430
+ # Repository → Settings → Secrets → OPENAI_API_KEY or ANTHROPIC_API_KEY
411
431
 
412
432
  # 3. Create required labels
413
433
  gh label create "ai-approved" --color "0E8A16" --description "Issue approved for AI agent"
@@ -427,13 +447,14 @@ The secure workflow is included at `.github/workflows/opencode-agent.yml`.
427
447
 
428
448
  See `.agents/tools/git/opencode-github-security.md` for the full security documentation.
429
449
 
430
- **Supported AI tool:** [OpenCode](https://opencode.ai/) is the recommended and tested AI coding tool for aidevops. All features, agents, and workflows are designed and tested for OpenCode first. We recommend [Claude](https://claude.ai/) models (Anthropic) for the best results across all agent tiers -- haiku for triage, sonnet for implementation, opus for complex reasoning.
450
+ **Supported AI tool:** [OpenCode](https://opencode.ai/) is the recommended and tested AI coding tool for aidevops. All features, agents, and workflows are designed and tested for OpenCode first. We recommend OpenAI models for the best current results across all agent tiers: GPT-5.4 mini for fast triage/routine work and GPT-5.5 for complex implementation, review, and reasoning. [Claude](https://claude.ai/) models (Anthropic) remain fully supported, and other providers are tested as their capabilities change.
431
451
 
432
452
  **Recommended stack:**
433
453
 
434
454
  - **[OpenCode](https://opencode.ai/)** - The recommended AI coding agent. Powerful agentic TUI/CLI with native MCP support, Tab-based agent switching, LSP integration, plugin ecosystem, and excellent DX. All aidevops features are designed and tested for OpenCode first.
435
455
  - **[OpenCode Zen](https://opencode.ai/)** - Free tier of OpenCode with included models. Start working with AI straight away at no cost -- no API keys or subscriptions required.
436
- - **[Claude](https://claude.ai/)** (Anthropic) - Our most-used and tested model provider. Claude haiku, sonnet, and opus deliver the best results across all aidevops agent tiers and workflows. Recommended for users who want the highest quality output.
456
+ - **OpenAI GPT-5.5 / GPT-5.4 mini** - Recommended model pair for aidevops today. Use GPT-5.5 for complex reasoning and high-impact agent tiers; use GPT-5.4 mini for triage, routine implementation, and cost-efficient parallel workers.
457
+ - **[Claude](https://claude.ai/)** (Anthropic) - Fully supported alternative provider. Claude models remain useful for fallback, cross-provider verification, and users with Claude Pro/Max OAuth access.
437
458
  - **[Tabby](https://tabby.sh/)** - Recommended terminal. Colour-coded Profiles per project/repo, **auto-syncs tab title with git repo/branch.**
438
459
  - **[Zed](https://zed.dev/)** - Recommended editor. High-performance with AI integration (use with the OpenCode Agent Extension).
439
460
 
@@ -452,19 +473,21 @@ aidevops model-accounts-pool check # live token validity test per account
452
473
 
453
474
  | Symptom | Command |
454
475
  |---------|---------|
455
- | Account shows `rate-limited` | `aidevops model-accounts-pool rotate anthropic` |
476
+ | OpenAI account shows `rate-limited` | `aidevops model-accounts-pool rotate openai` |
477
+ | Anthropic account shows `rate-limited` | `aidevops model-accounts-pool rotate anthropic` |
456
478
  | All accounts in cooldown | `aidevops model-accounts-pool reset-cooldowns` |
457
- | Account shows `auth-error` | `aidevops model-accounts-pool add anthropic` (re-auth) |
458
- | Pool is empty (no accounts) | `aidevops model-accounts-pool add anthropic` |
459
- | Recently re-authed, still broken | `aidevops model-accounts-pool assign-pending anthropic` |
479
+ | OpenAI account shows `auth-error` | `aidevops model-accounts-pool add openai` (re-auth) |
480
+ | Anthropic account shows `auth-error` | `aidevops model-accounts-pool add anthropic` (re-auth) |
481
+ | Pool is empty (no accounts) | `aidevops model-accounts-pool add openai` |
482
+ | Recently re-authenticated, still broken | `aidevops model-accounts-pool assign-pending openai` |
460
483
  | Google Gemini CLI rate-limited | `aidevops model-accounts-pool rotate google` |
461
484
  | Google token expired | `aidevops model-accounts-pool add google` (re-auth) |
462
485
 
463
486
  **Step 3 — If still broken, re-add the account**
464
487
 
465
488
  ```bash
466
- aidevops model-accounts-pool add anthropic # Claude Pro/Max — opens browser OAuth
467
489
  aidevops model-accounts-pool add openai # ChatGPT Plus/Pro
490
+ aidevops model-accounts-pool add anthropic # Claude Pro/Max — opens browser OAuth
468
491
  aidevops model-accounts-pool add cursor # Cursor Pro (reads from local IDE)
469
492
  aidevops model-accounts-pool add google # Google AI Pro/Ultra/Workspace — browser OAuth
470
493
  aidevops model-accounts-pool import claude-cli # Import from existing Claude CLI auth
@@ -488,7 +511,7 @@ aidevops model-accounts-pool remove <p> <email># Remove an account
488
511
 
489
512
  **If you prefer guided help:** Open OpenCode with a free model (OpenCode Zen includes free models that don't require any API key or subscription) and run the auth troubleshooting agent by typing:
490
513
 
491
- ```
514
+ ```text
492
515
  @auth-troubleshooting
493
516
  ```
494
517
 
@@ -657,7 +680,7 @@ aidevops implements proven agent design patterns identified by [Lance Martin (La
657
680
 
658
681
  | Pattern | Description | aidevops Implementation |
659
682
  |---------|-------------|------------------------|
660
- | **Give Agents a Computer** | Filesystem + shell for persistent context | `~/.aidevops/.agent-workspace/`, 390+ helper scripts |
683
+ | **Give Agents a Computer** | Filesystem + shell for persistent context | `~/.aidevops/.agent-workspace/`, 1,200+ helper scripts |
661
684
  | **Multi-Layer Action Space** | Few tools, push actions to computer | Per-agent MCP filtering (~12-20 tools each) |
662
685
  | **Knowledge Graph Routing** | Indexed, cross-referenced agents instead of isolated skills | `subagent-index.toon` maps 900+ agents by domain, purpose, and dependency — agents discover related context through the graph, not just their own file |
663
686
  | **Progressive Disclosure** | Load context on-demand | Subagent routing with content summaries, YAML frontmatter, read-on-demand |
@@ -670,7 +693,7 @@ aidevops implements proven agent design patterns identified by [Lance Martin (La
670
693
  | **Evolve Context** | Learn from sessions | `/remember`, `/recall` with SQLite FTS5 + opt-in semantic search |
671
694
  | **Pattern Tracking** | Learn what works/fails | `/patterns` command, `memory-helper.sh` |
672
695
  | **Token-Efficient Serialisation** | Minimise context overhead for structured data | [TOON format](https://github.com/marcusquinn/aidevops/blob/main/.agents/toon-format.md) — 20-60% token reduction vs JSON/YAML for agent indexes, registries, and data exchange |
673
- | **Cost-Aware Routing** | Match model to task complexity | `model-routing.md` with 7-tier guidance, `/route` command |
696
+ | **Cost-Aware Routing** | Match model to task complexity | `model-routing.md` with provider-aware tier guidance, `/route` command |
674
697
  | **Model Comparison** | Compare models side-by-side | `/compare-models` (live data), `/compare-models-free` (offline) |
675
698
  | **Response Scoring** | Evaluate actual model outputs | `/score-responses` with structured criteria |
676
699
 
@@ -691,7 +714,7 @@ Supervisor (pulse loop)
691
714
  │ ├── task_assignment → worker inbox
692
715
  │ ├── status_report → coordinator outbox
693
716
  │ └── broadcast → all agents
694
- └── Model Routing (tier-based: haiku/sonnet/opus/flash/pro)
717
+ └── Model Routing (tier-based: GPT-5.4 mini / GPT-5.5 / provider fallbacks)
695
718
  ```
696
719
 
697
720
  **Key components:**
@@ -701,7 +724,7 @@ Supervisor (pulse loop)
701
724
  | Mailbox | `mail-helper.sh` | SQLite-backed inter-agent messaging (send, check, broadcast, archive) |
702
725
  | Supervisor | `supervisor-helper.sh` | Autonomous multi-task orchestration with SQLite state machine, batches, retry cycles, cron scheduling, auto-pickup from TODO.md |
703
726
  | Registry | `mail-helper.sh register` | Agent registration with role, branch, worktree, heartbeat |
704
- | Model routing | `model-routing.md`, `/route` | Cost-aware 7-tier routing guidance (local/haiku/flash/sonnet/pro/opus/grok) |
727
+ | Model routing | `model-routing.md`, `/route` | Cost-aware routing across OpenAI, Anthropic, Gemini, Cursor, Grok, and local providers |
705
728
  | Budget tracking | `budget-tracker-helper.sh` | Append-only cost log for model routing decisions |
706
729
  | Observability | `observability.mjs` plugin | LLM request capture for cost tracking and performance analysis |
707
730
 
@@ -810,7 +833,7 @@ High-stakes operations are verified by a second AI model from a different provid
810
833
  4. On disagreement, the operation is blocked (critical) or warned (high)
811
834
  5. All verification decisions are logged for audit
812
835
 
813
- **Why cross-provider?** Same-provider models share training data and failure modes. A Claude hallucination is unlikely to be reproduced by Gemini or GPT, and vice versa. The verification uses the cheapest model tier (haiku-equivalent) cost is minimal per check.
836
+ **Why cross-provider?** Same-provider models share training data and failure modes. A GPT hallucination is unlikely to be reproduced by Claude or Gemini, and vice versa. The verifier uses the cheapest suitable model tier, so cost is minimal per check.
814
837
 
815
838
  **Configuration:** Per-repo via `.agents/reference/high-stakes-operations.md`. Opt-out with `VERIFY_ENABLED=false` (not recommended).
816
839
 
@@ -824,12 +847,12 @@ Bundles are project-type presets that auto-configure model tiers, quality gates,
824
847
 
825
848
  | Bundle | Auto-detected by | Model default | Quality gates | Agent routing |
826
849
  |--------|-----------------|---------------|---------------|---------------|
827
- | `web-app` | `package.json` + framework markers | sonnet | Full (lint, test, build, a11y) | Build+ default |
828
- | `library` | `package.json` with `main`/`exports` | sonnet | Full + API docs check | Build+ default |
829
- | `cli-tool` | `bin` field in package.json | sonnet | ShellCheck, test | Build+ default |
830
- | `content-site` | CMS markers, `wp-config.php` | haiku | Lighthouse, SEO | Marketing for content tasks |
831
- | `infrastructure` | `Dockerfile`, `terraform/`, `ansible/` | sonnet | ShellCheck, security scan | Build+ default |
832
- | `agent` | `AGENTS.md`, `.agents/` | opus | Agent review, prompt quality | Build+ default |
850
+ | `web-app` | `package.json` + framework markers | standard | Full (lint, test, build, a11y) | Build+ default |
851
+ | `library` | `package.json` with `main`/`exports` | standard | Full + API docs check | Build+ default |
852
+ | `cli-tool` | `bin` field in package.json | standard | ShellCheck, test | Build+ default |
853
+ | `content-site` | CMS markers, `wp-config.php` | fast | Lighthouse, SEO | Marketing for content tasks |
854
+ | `infrastructure` | `Dockerfile`, `terraform/`, `ansible/` | standard | ShellCheck, security scan | Build+ default |
855
+ | `agent` | `AGENTS.md`, `.agents/` | thinking | Agent review, prompt quality | Build+ default |
833
856
 
834
857
  **Resolution priority:** Explicit `bundle` field in `repos.json` > `.aidevops.json` project config > auto-detection from marker files.
835
858
 
@@ -1747,7 +1770,7 @@ aidevops is registered as a **Claude Code plugin marketplace**. Install with two
1747
1770
  /plugin install aidevops@aidevops
1748
1771
  ```
1749
1772
 
1750
- This installs the complete framework: 13 primary agents, 900+ subagents, and 390+ helper scripts.
1773
+ This installs the complete framework: 13 primary agents, 900+ subagents, and 1,200+ helper scripts.
1751
1774
 
1752
1775
  ### Importing External Skills
1753
1776
 
@@ -2572,7 +2595,7 @@ aidevops/
2572
2595
  ├── .agents/ # Agents and documentation
2573
2596
  │ ├── AGENTS.md # User guide (deployed to ~/.aidevops/agents/)
2574
2597
  │ ├── *.md # 13 primary agents
2575
- │ ├── scripts/ # 390+ helper scripts
2598
+ │ ├── scripts/ # 1,200+ helper scripts
2576
2599
  │ ├── tools/ # Cross-domain utilities (video, browser, git, etc.)
2577
2600
  │ ├── services/ # External service integrations
2578
2601
  │ └── workflows/ # Development process guides
@@ -2695,7 +2718,7 @@ See `.agents/tools/credentials/multi-tenant.md` for complete documentation.
2695
2718
 
2696
2719
  - Autonomous supervisor — pulse runs every 2 minutes, merging PRs, dispatching workers, killing stuck processes, advancing missions
2697
2720
  - Operational intelligence — struggle-ratio detection, orphaned PR recovery, circuit breaker, dynamic concurrency
2698
- - Cost-aware routing — 7-tier model selection (local haiku flash sonnet pro → opus → grok) with budget tracking
2721
+ - Cost-aware routing — provider-aware model selection across OpenAI, Anthropic, Gemini, Cursor, Grok, and local models with budget tracking
2699
2722
  - Progressive context — 900+ subagents loaded on demand, project bundles auto-configuring quality gates and model tiers
2700
2723
  - Self-improving — session mining extracts learnings, quality findings auto-create tasks, patterns feed back into agent prompts
2701
2724
 
package/VERSION CHANGED
@@ -1 +1 @@
1
- 3.13.72
1
+ 3.13.74
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.13.72
8
+ # Version: 3.13.74
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.13.72",
3
+ "version": "3.13.74",
4
4
  "description": "AI DevOps Framework - AI-assisted development workflows, code quality, and deployment automation",
5
5
  "type": "module",
6
6
  "bin": {
@@ -256,7 +256,8 @@ deploy_agents_to_runtimes() {
256
256
  # cannot be passed directly to the `timeout` binary. Instead we run it in a
257
257
  # background subshell and poll for completion with a configurable wall-clock
258
258
  # deadline. When the deadline expires the subshell is killed with SIGTERM then
259
- # SIGKILL and setup continues without this non-critical step.
259
+ # SIGKILL and this non-critical step is treated as a warning so setup can
260
+ # continue after core deployment has already succeeded.
260
261
  #
261
262
  # Configurable via AIDEVOPS_DEPLOY_RUNTIMES_TIMEOUT (default 120s).
262
263
  _deploy_agents_to_runtimes_bounded() {
@@ -275,7 +276,7 @@ _deploy_agents_to_runtimes_bounded() {
275
276
  kill -KILL "$_pid" 2>/dev/null || true
276
277
  wait "$_pid" 2>/dev/null || true
277
278
  print_warning "Runtime agent deployment exceeded ${timeout_s}s — skipping (non-critical)"
278
- return 1
279
+ return 0
279
280
  fi
280
281
  sleep 1
281
282
  done
package/setup.sh CHANGED
@@ -12,7 +12,7 @@ shopt -s inherit_errexit 2>/dev/null || true
12
12
  # AI Assistant Server Access Framework Setup Script
13
13
  # Helps developers set up the framework for their infrastructure
14
14
  #
15
- # Version: 3.13.72
15
+ # Version: 3.13.74
16
16
  #
17
17
  # Quick Install:
18
18
  # npm install -g aidevops && aidevops update (recommended)