omo-suites 1.14.0 → 1.16.0

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/CHANGELOG.md CHANGED
@@ -1,333 +1,28 @@
1
- # Changelog
2
-
3
- All notable changes to OMO Suites will be documented in this file.
4
-
5
- Format based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
6
- This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
-
8
- ## [1.14.0] - 2026-03-26
9
-
10
- ### Added
11
- - **Auto system** — automatic background checks run on every `omocs` command (non-blocking)
12
- - **Auto-Doctor** — workspace health check on first run per day (missing config, AGENTS.md, .gitignore)
13
- - **Auto-Index** — rebuild workspace index when file structure changes (new/renamed files detected)
14
- - **Auto-Compact** — periodic cleanup of stale memory, stats, and orphaned indexes (every 7 days)
15
- - **Auto-Template Suggest** — detect empty projects and suggest matching saved templates
16
- - `omocs auto run` — manually trigger all auto checks
17
- - `omocs auto status` — view auto check state and timings
18
- - `omocs auto reset` — force re-run all checks
19
- - `omocs auto suppress <warning>` — hide specific warnings
20
- - Auto checks are silent unless there are warnings or fixes to report
21
-
22
- ## [1.13.0] - 2026-03-26
23
-
24
- ### Added
25
- - `omocs session list|search|show|diff` — browse, search, and inspect OpenCode sessions
26
- - `omocs worktree create|list|remove|prune` — git worktree management for task isolation
27
- - `omocs squad launch|status|kill|clean` — launch and manage parallel OpenCode agents via tmux
28
- - `omocs template save|load|list|delete|export` — save, load, and share config templates
29
- - `omocs fallback show|add|remove` — view and edit model fallback chains
30
- - `omocs watch start|generate` — auto-regenerate AGENTS.md on project structure changes
31
- - `omocs marketplace search|install|uninstall|installed|publish` — community plugin registry
32
- - All 7 commands close feature gaps identified in competitor analysis (Claude Squad, ccmanager, agent-session-manager, nca)
33
-
34
- ## [1.12.0] - 2026-03-26
35
-
36
- ### Added
37
- - `omocs compact config` — scan and clean stale config entries (duplicate plugins, empty MCP servers, stale provider keys)
38
- - `omocs compact memory` — trim old workspace memory notes with archiving (--keep, --older-than)
39
- - `omocs compact index` — clean up orphaned workspace indexes for non-existent workspaces
40
- - `omocs compact stats` — trim old stats data with archiving (--keep-days)
41
- - `omocs compact all` — run all compact operations with combined summary
42
- - All compact subcommands default to dry-run; use `--fix` to apply changes
43
- - Automatic backup before any destructive operation
44
-
45
- ## [1.11.0] - 2026-03-25
46
-
47
- ### Added
48
- - `omocs memory list|add|search|remove` — Workspace Memory Notes
49
- - Workspace-scoped persistent notes stored in `~/.omocs/memory/`
50
- - Supports fuzzy search and global notes via `--global`
51
- - `omocs completion <shell>` — Shell Completions
52
- - Generates completion scripts for bash, zsh, and fish
53
- - Includes subcommands and flags
54
- - Enhanced `omocs doctor`
55
- - Added checks for Provider endpoint ping, Config file validity, oh-my-opencode installation, Skills directory, and Disk space
56
- - `omocs index build|show|clean` — Workspace Index
57
- - Scans workspace to build a cacheable JSON index
58
- - Detects tech stack, entry points, and key files
59
- - Respects `.gitignore` and skips noisy directories
60
-
61
- ## [1.10.0] - 2026-03-25
62
-
63
- ### Added
64
- - `omocs init-deep [path]` — Auto-generate hierarchical AGENTS.md files per significant folder
65
- - Scans project structure recursively, infers folder purpose, tech stack, naming conventions
66
- - Generates root AGENTS.md with project overview + per-folder AGENTS.md for significant dirs
67
- - Supports `--depth <n>` (default: 3) and `--dry-run` to preview
68
- - Skips node_modules, .git, dist, build, .next, __pycache__, etc.
69
- - `omocs plan` — Prometheus-style interview planner for structured planning before coding
70
- - Interactive mode asks 5 structured questions (goal, files, constraints, no-change, definition of done)
71
- - Generates structured plan markdown: `.opencode/plans/plan-YYYY-MM-DD-HHmm.md`
72
- - Supports `--output <path>` and `--non-interactive` for template generation
73
- - `omocs cost [profile]` — Profile cost calculator with model pricing estimates
74
- - Shows per-agent cost breakdown (per invocation, per hour, per day)
75
- - Supports `--compare <profile>` for side-by-side profile cost comparison
76
- - Supports `--hours <n>` for custom workday projection (default: 8)
77
- - Includes pricing for Claude Opus 4.6, Sonnet 4.6, GPT-5.3/5.4, Gemini 3.1 Pro, Kimi K2.5, DeepSeek
78
- - `omocs stats --dashboard` — Agent analytics dashboard with TUI bar charts
79
- - Bar chart visualization for agent usage, token consumption, response times
80
- - Aggregated stats stored in `~/.omocs/stats.json`
81
- - Supports `--last <n>` to limit agents shown and `--sync` to import session data
82
- - Enhanced existing stats command with daily token usage bar charts
83
- - `omocs check` — Comment quality checker for AI-generated code patterns
84
- - Detects: obvious/redundant comments, vague TODOs, AI attribution, unexplained eslint-disable, @ts-ignore, commented-out code
85
- - Reports findings with file:line references grouped by severity (high/medium/low)
86
- - Supports `--fix` to auto-remove fixable AI slop comments
87
- - Supports `--path <dir>` and `--severity <level>` filters
88
- - Plugin tools: `omocs_init_deep` and `omocs_check` registered as OpenCode plugin tools
89
- - System prompt injection updated with init-deep and check tool references
90
-
91
- ## [1.9.2] - 2026-03-25
92
-
93
- ### Added
94
- - `omocs export [filename]` — export all config to single JSON file
95
- - `omocs import <filename>` — import config with confirmation (supports --force)
96
- - `omocs diff <profile1> <profile2>` — side-by-side profile comparison with color-coded output
97
- - `omocs benchmark [prompt]` — compare response time across models (supports --models, --timeout)
98
- - `omocs mcp status` — MCP server health check with green/red status indicators
99
- - `omocs init --quick` — quick setup with auto-detection from env vars
100
- - Missing 67th task category: risk-management → agency-project-shepherd
101
-
102
- ### Fixed
103
- - LSP glob detection bug — CSS, HTML, JSON, YAML, SQL, Markdown LSPs now detectable
104
- - Async/sync mismatch in config.ts
105
- - Stale PLUGIN_VERSION fallback
106
- - README updated to 28 agents, 67 task categories
107
-
108
- ### Changed
109
- - API key encryption using AES-256-GCM (keys encrypted before storing in config)
110
- - Deduplicated `findPackageJson()` into single utility
111
- - Atomic config writes (write to temp file, rename — prevents corruption)
112
- - Improved error messages with contextual help suggestions
113
- - Moved `better-sqlite3` to optionalDependencies
114
- - CLI startup optimization (skip update check for --help/--version)
115
-
116
- ## [1.9.1] - 2026-03-25
117
-
118
- ### Added
119
- - 13 new Agency agents (from github.com/msitarzewski/agency-agents): security-engineer, devops-automator, mobile-app-builder, ai-engineer, rapid-prototyper, accessibility-auditor, performance-benchmarker, api-tester, brand-guardian, content-creator, growth-hacker, ux-researcher, project-shepherd
120
- - Agent system prompt markdown files for all 13 new agents
121
- - Total agents expanded from 15 → 28, task categories from 32 → 67
122
-
123
- ### Changed
124
- - Plugin agent list header updated to reflect 28 agents, 67 task categories
125
- - `omocs_categories` tool description updated to 67 categories
126
-
127
- ## [1.9.0] - 2026-03-07
128
-
129
- ### Added
130
- - **`omocs status` command** — shows current provider info, API key (masked), default model, and config path
131
- - 1mr.tech token balance fetching in `omocs status` (tokens remaining, tokens used, key status)
132
- - **1mr.tech provider support in `omocs init`** (Step 5) — prompt for API key, validate via `GET /v1/usage`, select model
133
- - Auto-generates `opencode.json` and `oh-my-opencode.json` with 1mr.tech config
134
- - Graceful fallback when 1mr.tech API is unreachable (skip validation with warning)
135
-
136
- ### Changed
137
- - **Launchboard rewritten to pull from OpenCode API** — removed SQLite/Drizzle dependency entirely, backend now proxies to OpenCode API (default `localhost:1337`)
138
- - New Launchboard routes: `/api/sessions`, `/api/board` (aggregated kanban)
139
- - Launchboard kanban board shows todo status columns: Pending → In Progress → Completed → Cancelled
140
- - Todo cards show content, priority badge, parent session; sidebar lists sessions with todo counts
141
- - Auto-refresh every 30 seconds; graceful "No OpenCode detected" screen when API unreachable
142
- - `OPENCODE_API_URL` env var for Launchboard configuration
143
- - **Launchboard auto-update system** — git + npm dual-mode auto-update with 5-minute cache, `/api/update` endpoint for status/trigger
144
-
145
- ### Removed
146
- - Launchboard local database (`db/`, `drizzle.config`, `setup.sh`)
147
- - Launchboard MCP server, stats/rules pages, drag-and-drop (now read-only board)
148
- - Launchboard `columns`, `labels`, `tasks`, `workspaces`, `stats`, `rules` routes
149
-
150
- ## [1.8.0] - 2026-03-07
151
-
152
- ### Added
153
- - Auto-update check when OpenCode starts (plugin load) — checks npm, auto-installs if newer version available
154
- - Shares same 5-min cache as CLI auto-update to avoid duplicate checks
155
-
156
- ## [1.7.9] - 2026-03-07
157
-
158
- ### Fixed
159
- - CLI doctor now checks opencode.json (was .opencode.json) and oh-my-opencode.json
160
- - Both CLI and TUI doctor views are now consistent
161
-
162
- ## [1.7.8] - 2026-03-07
163
-
164
- ### Fixed
165
- - Auto-update re-exec fails on Windows when node path contains spaces (e.g. C:\Program Files\...)
166
- - Properly quote process.argv[0] and args with spaces
167
-
168
- ## [1.7.7] - 2026-03-07
169
-
170
- ### Fixed
171
- - Launchboard start now works on Windows — replaced `bash setup.sh` with cross-platform TypeScript logic
172
- - Deps install, DB setup, and process management all work without bash
173
-
174
- ## [1.7.6] - 2026-03-07
175
-
176
- ### Fixed
177
- - Config detection now checks `opencode.json`, `.opencode/opencode.json`, and `~/.config/opencode/opencode.json` (was only checking `.opencode.json`)
178
- - Doctor now also checks for `oh-my-opencode.json`
179
-
180
- ## [1.7.5] - 2026-03-07
1
+ ---
2
+ # OMO Suites Changelog
181
3
 
4
+ ## [1.16.0] - 2026-03-31
182
5
  ### Added
183
- - `omo` command alias both `omo` and `omocs` now work
184
-
185
- ## [1.7.4] - 2026-03-07
186
-
187
- ### Fixed
188
- - Sidebar width increased from 14 to 18 chars — Launchboard text no longer breaks box drawing
189
-
190
- ## [1.7.3] - 2026-03-07
191
-
192
- ### Fixed
193
- - TUI dashboard now shows correct version (was hardcoded 1.2.0/1.1.0)
194
- - Version resolution walks up directories to find package.json in all install contexts
195
-
196
- ## [1.7.2] - 2026-03-07
197
-
198
- ### Fixed
199
- - **Launchboard auto-downloads from GitHub when not bundled** — npm installs no longer skip Launchboard with "not found"
200
- - When `packages/launchboard/` is missing (npm install), auto-clones from GitHub to `~/.omocs/launchboard/`
201
- - Persistent location (`~/.omocs/launchboard/`) survives npm updates — only downloads once
202
- - Both `omocs init` (Step 4) and `omocs launchboard setup/start` now use shared resolver
203
- - Cross-platform support: works on Windows, macOS, and Linux
204
- - Clear error message when git is not installed
205
-
206
- ## [1.7.1] - 2026-03-07
207
-
208
- ### Fixed
209
- - Show version in CLI banner ("OMO Suites v1.7.1 — CLI toolkit for OpenCode power users")
210
- - Fixed typo: OMOC → OMO in banner tagline
211
-
212
- ## [1.7.0] - 2026-03-07
213
-
214
- ### Changed
215
- - **Rewrote `omocs init` Step 6 to use oh-my-opencode subscription-based flow** — replaces manual API key entry
216
- - Provider authentication now asks about subscriptions (Claude Pro/Max, ChatGPT Plus, Gemini, GitHub Copilot, OpenCode Zen, Z.ai Coding Plan)
217
- - Runs `oh-my-opencode install --no-tui` with appropriate flags based on user answers
218
- - For Gemini: auto-registers `opencode-antigravity-auth@latest` plugin in opencode.json
219
- - Claude flag supports `--claude=yes|no|max20` based on max20 mode selection
220
-
221
- ### Removed
222
- - **Master Password step** — no longer needed since API keys aren't stored locally
223
- - **Manual API key collection** — replaced by subscription-based oh-my-opencode installer
224
- - `PROVIDERS` array and `AUTH_PLUGINS` array from init command
225
- - `encrypt()` / `hashPassword()` imports from init command
226
- - `accounts` and `masterPasswordHash` from saved config
6
+ - Shell Completion: updated `omocs completion` with all 34 CLI commands for bash, zsh, and fish.
7
+ - CI/CD: GitHub Actions workflows for continuous integration (`ci.yml`) and automated npm releases (`release.yml`).
8
+ - API Documentation: comprehensive command reference at `docs/API.md` covering all commands, config schema, plugin API, and environment variables.
227
9
 
228
10
  ### Fixed
229
- - Steps renumbered: 9 steps total (was 10). Step 5 = Provider Authentication, Step 6 = Profile, Step 7 = Detection, Step 8 = MCP, Step 9 = Save
230
-
231
- ## [1.6.0] - 2026-03-07
232
-
233
- ### Added
234
- - **Auth plugin support in `omocs init`** — authenticate via OAuth/CLI login instead of pasting API keys
235
- - Auth plugins offered first (recommended), manual API keys offered second
236
- - Supported auth plugins: Antigravity (Google DeepMind), OpenAI Codex
237
- - Auth plugins auto-installed via `npm install -g` with spinner and error handling
238
- - Auth plugins auto-registered in `opencode.json` plugin array
239
- - Summary box shows both auth plugins and manual API keys configured
240
-
241
- ## [1.5.4] - 2026-03-07
11
+ - Test Fixes: resolved `vi.mock` hoisting issues in `auto.test.ts`, `store.test.ts`, and `telemetry.test.ts` using `vi.hoisted()`.
12
+ - Test Fix: corrected password mismatch in `crypto.test.ts` encrypt/decrypt test.
13
+ - All 221 tests now pass (16 test files, 0 failures).
242
14
 
15
+ ## [1.15.0] - 2026-03-28
243
16
  ### Added
244
- - Auto-update on every CLI run checks npm for new version, updates automatically
245
- - 5-minute cooldown between checks to avoid spamming npm registry
246
- - Disable with `OMOCS_NO_UPDATE=1` env var
247
-
248
- ## [1.5.3] - 2026-03-07
249
-
250
- ### Fixed
251
- - `omocs doctor` now detects installed tools on Windows (was using `which` instead of `where`)
252
-
253
- ## [1.5.2] - 2026-03-07
254
-
255
- ### Fixed
256
- - **Node.js compatibility** — replaced all Bun-specific APIs (`Bun.file()`, `Bun.write()`, `Bun.spawn()`) with Node.js `fs` and `child_process` equivalents
257
- - `Bun is not defined` errors when running via `npm i -g` on systems without Bun
258
- - `bun:sqlite` replaced with `better-sqlite3` for cross-runtime SQLite support
259
- - All 10 source files updated: config.ts, store.ts, opencode.ts, profile.ts, stats.ts, agents.ts, detect.ts, shell.ts, tui/views/stats.ts, tui/commands.ts
260
-
261
- ## [1.5.1] - 2026-03-07
262
-
263
- ### Fixed
264
- - Repository URL in package.json (corrected to `omo-suites-installer`)
265
-
266
- ## [1.5.0] - 2026-03-07
267
-
268
- ### Added
269
- - `omocs init` auto-installs oh-my-opencode
270
- - `omocs init` registers OMO Suites + oh-my-opencode as OpenCode plugins
271
- - `omocs init` optionally sets up Launchboard (Kanban board)
272
- - One command setup: OpenCode → oh-my-opencode → OMO Suites → Launchboard
273
- - Helper functions: `findOpencodeConfig()`, `checkOhMyOpenCode()` in opencode.ts
274
- - **Published to npm as `omo-suites`** — install via `npm install -g omo-suites`
275
- - Node.js compatibility — CLI compiled to JS, works without Bun
276
- - `build:all` and `prepublishOnly` scripts for npm publishing
277
- - `engines` field requiring Node.js >= 18
278
-
279
- ## [1.4.0] - 2026-03-07
280
-
281
- ### Added
282
- - Launchboard included as monorepo package (`packages/launchboard/`)
283
- - CLI commands: `omocs launchboard setup|start|status`
284
- - CLI alias: `omocs lb` (shorthand)
285
- - TUI dashboard: Launchboard view with status and quick actions
286
- - Workspace support via `"workspaces": ["packages/*"]`
287
- - One install gets everything: OMO Suites + Launchboard
288
-
289
- ## [1.3.0] - 2026-03-07
290
-
291
- ### Added
292
- - Launchboard integration — 4 new plugin tools (omocs_task_list, omocs_task_create, omocs_task_update, omocs_task_move)
293
- - Launchboard data helpers (`src/data/launchboard.ts`)
294
- - System prompt injection updated to advertise Launchboard tools
295
-
296
- ## [1.2.0] - 2026-03-06
297
-
298
- ### Added
299
- - Versioning system — single source of truth from `package.json`
300
- - Dynamic version display in CLI (`--version`), TUI header, and plugin load log
301
- - `CHANGELOG.md` with full release history
302
-
303
- ## [1.1.0] - 2026-03-06
304
-
305
- ### Added
306
- - Interactive TUI Dashboard with split-pane layout (`omocs` with no args)
307
- - 16 slash commands (`/help`, `/profile`, `/agent`, `/mcp`, `/lsp`, `/stats`, etc.)
308
- - OpenCode plugin via `@opencode-ai/plugin` API (12 tools)
309
- - 13 profiles with 4 scope types (all, lead, mixed, economy)
310
- - 15 agents synced to oh-my-opencode v3.8.4
311
- - 32 task category routing with `getAgentForCategory()`
312
- - System prompt injection via `experimental.chat.system.transform`
313
- - Agent-friendly installation guide (`docs/installation.md`)
314
- - Docs split: `docs/profiles.md`, `docs/agents.md`, `docs/mcp.md`, `docs/lsp.md`, `docs/plugin.md`, `docs/cli.md`
315
-
316
- ### Changed
317
- - README simplified to landing page
318
- - Agent renames: Explorer→explore, FrontendSpecialist→frontend-ui-ux-engineer, DevOpsEngineer→devrel
319
- - Models updated to Opus 4.6, Sonnet 4.6, GPT-5.3 Codex, Gemini 3.1 Pro High
320
-
321
- ### Removed
322
- - OCS comparison table from README
323
-
324
- ## [1.0.0] - 2026-03-05
17
+ - Diagnostics: `omocs doctor` and `omocs self-test` for system health checks and core integration validation.
18
+ - Configuration Management: strict config validation (`omocs config validate`), plus `import`/`export` for profiles.
19
+ - Setup & Initialization: new setup wizard and bootstrap generator for templates (`omocs template`).
20
+ - Robust Operations: global `--debug` and `--verbose` flags across all commands, structured logging with auto-rotation, and retry wrappers with timeouts for network calls.
21
+ - Self-Update Mechanism: safe self-update flow with backup and rollback if verification fails.
22
+ - Plugin Architecture: plugin isolation layer.
23
+ - Telemetry: opt-in telemetry system.
24
+ - Testing & Release: Vitest foundation for unit and smoke testing, plus automated docs/release prep.
325
25
 
26
+ ## Unreleased
326
27
  ### Added
327
- - Initial release
328
- - CLI toolkit with `commander` — profile, agent, MCP, LSP management
329
- - 6 modules: account, profile, agent, LSP, MCP, stats
330
- - Multi-account support
331
- - Config management (read/write `oh-my-opencode.json` + `opencode.json`)
332
- - Doctor diagnostic command
333
- - Bun-first runtime
28
+ - Structured logging option via `src/utils/logger/index.ts` with auto rotation (`OMOCS_NO_LOGS` to disable)
package/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![CI](https://github.com/TheFahmi/omo-suites-installer/actions/workflows/ci.yml/badge.svg)](https://github.com/TheFahmi/omo-suites-installer/actions/workflows/ci.yml)
2
+
1
3
  ```
2
4
  ██████╗ ███╗ ███╗ ██████╗ ███████╗██╗ ██╗██╗████████╗███████╗███████╗
3
5
  ██╔═══██╗████╗ ████║██╔═══██╗ ██╔════╝██║ ██║██║╚══██╔══╝██╔════╝██╔════╝
@@ -8,6 +10,7 @@
8
10
  ```
9
11
 
10
12
  <p align="center">
13
+ <a href="https://github.com/TheFahmi/omo-suites-installer/actions/workflows/ci.yml"><img src="https://github.com/TheFahmi/omo-suites-installer/actions/workflows/ci.yml/badge.svg" alt="CI" /></a>
11
14
  <a href="https://www.npmjs.com/package/omo-suites"><img src="https://img.shields.io/npm/v/omo-suites.svg" alt="NPM Version" /></a>
12
15
  <a href="https://www.npmjs.com/package/omo-suites"><img src="https://img.shields.io/npm/dm/omo-suites.svg" alt="NPM Downloads" /></a>
13
16
  <a href="https://www.npmjs.com/package/omo-suites"><img src="https://img.shields.io/npm/l/omo-suites.svg" alt="License" /></a>