omo-suites 1.15.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 +22 -2
- package/README.md +3 -0
- package/dist/cli/omocs.js +227 -7
- package/docs/API.md +336 -0
- package/docs/release/1.15.0.md +32 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,28 @@
|
|
|
1
1
|
---
|
|
2
2
|
# OMO Suites Changelog
|
|
3
3
|
|
|
4
|
+
## [1.16.0] - 2026-03-31
|
|
5
|
+
### Added
|
|
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.
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
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).
|
|
14
|
+
|
|
15
|
+
## [1.15.0] - 2026-03-28
|
|
16
|
+
### Added
|
|
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.
|
|
25
|
+
|
|
4
26
|
## Unreleased
|
|
5
27
|
### Added
|
|
6
|
-
- Setup Vitest foundation for unit and smoke testing
|
|
7
28
|
- Structured logging option via `src/utils/logger/index.ts` with auto rotation (`OMOCS_NO_LOGS` to disable)
|
|
8
|
-
# omocs bootstrap
|
package/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
[](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>
|
package/dist/cli/omocs.js
CHANGED
|
@@ -39343,7 +39343,7 @@ _omocs_completions() {
|
|
|
39343
39343
|
prev="\${COMP_WORDS[COMP_CWORD-1]}"
|
|
39344
39344
|
|
|
39345
39345
|
# Top-level commands
|
|
39346
|
-
commands="init init-deep doctor account profile agent lsp mcp stats status launchboard export import diff benchmark plan cost check memory completion index help"
|
|
39346
|
+
commands="init init-deep doctor account profile agent lsp mcp stats status launchboard export import diff benchmark plan cost check memory completion index compact session worktree template bootstrap fallback watch marketplace squad auto config self-test help"
|
|
39347
39347
|
|
|
39348
39348
|
case "\${prev}" in
|
|
39349
39349
|
omocs|omo)
|
|
@@ -39390,6 +39390,46 @@ _omocs_completions() {
|
|
|
39390
39390
|
COMPREPLY=( $(compgen -W "setup start status" -- "\${cur}") )
|
|
39391
39391
|
return 0
|
|
39392
39392
|
;;
|
|
39393
|
+
compact)
|
|
39394
|
+
COMPREPLY=( $(compgen -W "config memory index stats all" -- "\${cur}") )
|
|
39395
|
+
return 0
|
|
39396
|
+
;;
|
|
39397
|
+
session)
|
|
39398
|
+
COMPREPLY=( $(compgen -W "list search show diff" -- "\${cur}") )
|
|
39399
|
+
return 0
|
|
39400
|
+
;;
|
|
39401
|
+
worktree)
|
|
39402
|
+
COMPREPLY=( $(compgen -W "list create remove prune" -- "\${cur}") )
|
|
39403
|
+
return 0
|
|
39404
|
+
;;
|
|
39405
|
+
template)
|
|
39406
|
+
COMPREPLY=( $(compgen -W "save list load delete export" -- "\${cur}") )
|
|
39407
|
+
return 0
|
|
39408
|
+
;;
|
|
39409
|
+
fallback)
|
|
39410
|
+
COMPREPLY=( $(compgen -W "show add remove" -- "\${cur}") )
|
|
39411
|
+
return 0
|
|
39412
|
+
;;
|
|
39413
|
+
watch)
|
|
39414
|
+
COMPREPLY=( $(compgen -W "start generate" -- "\${cur}") )
|
|
39415
|
+
return 0
|
|
39416
|
+
;;
|
|
39417
|
+
marketplace)
|
|
39418
|
+
COMPREPLY=( $(compgen -W "search install uninstall installed publish" -- "\${cur}") )
|
|
39419
|
+
return 0
|
|
39420
|
+
;;
|
|
39421
|
+
squad)
|
|
39422
|
+
COMPREPLY=( $(compgen -W "launch status kill clean" -- "\${cur}") )
|
|
39423
|
+
return 0
|
|
39424
|
+
;;
|
|
39425
|
+
auto)
|
|
39426
|
+
COMPREPLY=( $(compgen -W "run reset suppress status" -- "\${cur}") )
|
|
39427
|
+
return 0
|
|
39428
|
+
;;
|
|
39429
|
+
config)
|
|
39430
|
+
COMPREPLY=( $(compgen -W "validate telemetry" -- "\${cur}") )
|
|
39431
|
+
return 0
|
|
39432
|
+
;;
|
|
39393
39433
|
esac
|
|
39394
39434
|
|
|
39395
39435
|
COMPREPLY=( $(compgen -W "\${commands}" -- "\${cur}") )
|
|
@@ -39407,7 +39447,10 @@ function generateZshCompletion() {
|
|
|
39407
39447
|
# Or: omocs completion zsh >> ~/.zshrc
|
|
39408
39448
|
|
|
39409
39449
|
_omocs() {
|
|
39410
|
-
local -a commands
|
|
39450
|
+
local -a commands
|
|
39451
|
+
local -a memory_cmds index_cmds completion_cmds profile_cmds agent_cmds account_cmds
|
|
39452
|
+
local -a lsp_cmds mcp_cmds lb_cmds compact_cmds session_cmds worktree_cmds
|
|
39453
|
+
local -a template_cmds fallback_cmds watch_cmds marketplace_cmds squad_cmds auto_cmds config_cmds
|
|
39411
39454
|
|
|
39412
39455
|
commands=(
|
|
39413
39456
|
'init:Initialize OMO Suites configuration'
|
|
@@ -39431,6 +39474,18 @@ _omocs() {
|
|
|
39431
39474
|
'memory:Workspace memory notes'
|
|
39432
39475
|
'completion:Generate shell completions'
|
|
39433
39476
|
'index:Workspace index builder'
|
|
39477
|
+
'compact:Clean up config, memory, indexes, and stats data'
|
|
39478
|
+
'session:Browse, search, and manage OpenCode sessions'
|
|
39479
|
+
'worktree:Git worktree management for task isolation'
|
|
39480
|
+
'template:Save, load, and share config templates'
|
|
39481
|
+
'bootstrap:Scaffold a new OMO Suites workspace'
|
|
39482
|
+
'fallback:View and edit model fallback chains'
|
|
39483
|
+
'watch:Watch project structure and auto-regenerate AGENTS.md'
|
|
39484
|
+
'marketplace:Browse, install, and manage community plugins'
|
|
39485
|
+
'squad:Launch and manage parallel OpenCode agent instances'
|
|
39486
|
+
'auto:Manage automatic background checks'
|
|
39487
|
+
'config:Manage OMOCS configuration'
|
|
39488
|
+
'self-test:Run a light smoke test to check core integration'
|
|
39434
39489
|
'help:Display help'
|
|
39435
39490
|
)
|
|
39436
39491
|
|
|
@@ -39493,6 +39548,74 @@ _omocs() {
|
|
|
39493
39548
|
'status:Check Launchboard status'
|
|
39494
39549
|
)
|
|
39495
39550
|
|
|
39551
|
+
compact_cmds=(
|
|
39552
|
+
'config:Scan and clean stale config entries'
|
|
39553
|
+
'memory:Trim old workspace memory notes'
|
|
39554
|
+
'index:Clean up orphaned workspace indexes'
|
|
39555
|
+
'stats:Trim old stats data'
|
|
39556
|
+
'all:Run all compact operations'
|
|
39557
|
+
)
|
|
39558
|
+
|
|
39559
|
+
session_cmds=(
|
|
39560
|
+
'list:List all OpenCode sessions'
|
|
39561
|
+
'search:Search session content across all sessions'
|
|
39562
|
+
'show:Show messages from a session'
|
|
39563
|
+
'diff:Show git diff for a session workspace'
|
|
39564
|
+
)
|
|
39565
|
+
|
|
39566
|
+
worktree_cmds=(
|
|
39567
|
+
'list:List all git worktrees'
|
|
39568
|
+
'create:Create a new worktree for isolated task work'
|
|
39569
|
+
'remove:Remove a worktree'
|
|
39570
|
+
'prune:Clean up stale worktree references'
|
|
39571
|
+
)
|
|
39572
|
+
|
|
39573
|
+
template_cmds=(
|
|
39574
|
+
'save:Save current workspace config as a named template'
|
|
39575
|
+
'list:List saved templates'
|
|
39576
|
+
'load:Load a template into current workspace'
|
|
39577
|
+
'delete:Delete a saved template'
|
|
39578
|
+
'export:Export a template as a shareable JSON file'
|
|
39579
|
+
)
|
|
39580
|
+
|
|
39581
|
+
fallback_cmds=(
|
|
39582
|
+
'show:Display current model fallback configuration'
|
|
39583
|
+
'add:Add a fallback to a model'
|
|
39584
|
+
'remove:Remove a fallback from a model'
|
|
39585
|
+
)
|
|
39586
|
+
|
|
39587
|
+
watch_cmds=(
|
|
39588
|
+
'start:Start watching for file structure changes'
|
|
39589
|
+
'generate:Generate AGENTS.md once (no watching)'
|
|
39590
|
+
)
|
|
39591
|
+
|
|
39592
|
+
marketplace_cmds=(
|
|
39593
|
+
'search:Search the plugin registry'
|
|
39594
|
+
'install:Install a plugin from the registry'
|
|
39595
|
+
'uninstall:Remove an installed plugin'
|
|
39596
|
+
'installed:List installed plugins'
|
|
39597
|
+
'publish:Package a plugin for sharing'
|
|
39598
|
+
)
|
|
39599
|
+
|
|
39600
|
+
squad_cmds=(
|
|
39601
|
+
'launch:Launch a new OpenCode instance with a task'
|
|
39602
|
+
'status:Show all running agents'
|
|
39603
|
+
'kill:Kill a running agent'
|
|
39604
|
+
'clean:Remove all completed/dead agents from the list'
|
|
39605
|
+
)
|
|
39606
|
+
|
|
39607
|
+
auto_cmds=(
|
|
39608
|
+
'run:Run all auto checks now'
|
|
39609
|
+
'reset:Reset auto state (force re-run all checks)'
|
|
39610
|
+
'suppress:Suppress a specific auto warning'
|
|
39611
|
+
'status:Show auto check state'
|
|
39612
|
+
)
|
|
39613
|
+
|
|
39614
|
+
config_cmds=(
|
|
39615
|
+
'validate:Validate the syntax and structure of the config file'
|
|
39616
|
+
'telemetry:Manage telemetry settings'
|
|
39617
|
+
)
|
|
39618
|
+
|
|
39496
39619
|
if (( CURRENT == 2 )); then
|
|
39497
39620
|
_describe 'command' commands
|
|
39498
39621
|
elif (( CURRENT == 3 )); then
|
|
@@ -39506,6 +39629,16 @@ _omocs() {
|
|
|
39506
39629
|
lsp) _describe 'subcommand' lsp_cmds ;;
|
|
39507
39630
|
mcp) _describe 'subcommand' mcp_cmds ;;
|
|
39508
39631
|
launchboard|lb) _describe 'subcommand' lb_cmds ;;
|
|
39632
|
+
compact) _describe 'subcommand' compact_cmds ;;
|
|
39633
|
+
session) _describe 'subcommand' session_cmds ;;
|
|
39634
|
+
worktree) _describe 'subcommand' worktree_cmds ;;
|
|
39635
|
+
template) _describe 'subcommand' template_cmds ;;
|
|
39636
|
+
fallback) _describe 'subcommand' fallback_cmds ;;
|
|
39637
|
+
watch) _describe 'subcommand' watch_cmds ;;
|
|
39638
|
+
marketplace) _describe 'subcommand' marketplace_cmds ;;
|
|
39639
|
+
squad) _describe 'subcommand' squad_cmds ;;
|
|
39640
|
+
auto) _describe 'subcommand' auto_cmds ;;
|
|
39641
|
+
config) _describe 'subcommand' config_cmds ;;
|
|
39509
39642
|
esac
|
|
39510
39643
|
fi
|
|
39511
39644
|
}
|
|
@@ -39524,7 +39657,7 @@ complete -c omocs -f
|
|
|
39524
39657
|
complete -c omo -f
|
|
39525
39658
|
|
|
39526
39659
|
# Top-level commands
|
|
39527
|
-
set -l commands init init-deep doctor account profile agent lsp mcp stats status launchboard export import diff benchmark plan cost check memory completion index help
|
|
39660
|
+
set -l commands init init-deep doctor account profile agent lsp mcp stats status launchboard export import diff benchmark plan cost check memory completion index compact session worktree template bootstrap fallback watch marketplace squad auto config self-test help
|
|
39528
39661
|
|
|
39529
39662
|
complete -c omocs -n "not __fish_seen_subcommand_from $commands" -a init -d "Initialize OMO Suites configuration"
|
|
39530
39663
|
complete -c omocs -n "not __fish_seen_subcommand_from $commands" -a init-deep -d "Auto-generate hierarchical AGENTS.md"
|
|
@@ -39547,6 +39680,18 @@ complete -c omocs -n "not __fish_seen_subcommand_from $commands" -a check -d "Co
|
|
|
39547
39680
|
complete -c omocs -n "not __fish_seen_subcommand_from $commands" -a memory -d "Workspace memory notes"
|
|
39548
39681
|
complete -c omocs -n "not __fish_seen_subcommand_from $commands" -a completion -d "Shell completions"
|
|
39549
39682
|
complete -c omocs -n "not __fish_seen_subcommand_from $commands" -a index -d "Workspace index builder"
|
|
39683
|
+
complete -c omocs -n "not __fish_seen_subcommand_from $commands" -a compact -d "Clean up config, memory, indexes, stats"
|
|
39684
|
+
complete -c omocs -n "not __fish_seen_subcommand_from $commands" -a session -d "Browse and manage OpenCode sessions"
|
|
39685
|
+
complete -c omocs -n "not __fish_seen_subcommand_from $commands" -a worktree -d "Git worktree management"
|
|
39686
|
+
complete -c omocs -n "not __fish_seen_subcommand_from $commands" -a template -d "Save, load, share config templates"
|
|
39687
|
+
complete -c omocs -n "not __fish_seen_subcommand_from $commands" -a bootstrap -d "Scaffold a new workspace"
|
|
39688
|
+
complete -c omocs -n "not __fish_seen_subcommand_from $commands" -a fallback -d "View and edit model fallback chains"
|
|
39689
|
+
complete -c omocs -n "not __fish_seen_subcommand_from $commands" -a watch -d "Watch and auto-regenerate AGENTS.md"
|
|
39690
|
+
complete -c omocs -n "not __fish_seen_subcommand_from $commands" -a marketplace -d "Browse and manage community plugins"
|
|
39691
|
+
complete -c omocs -n "not __fish_seen_subcommand_from $commands" -a squad -d "Launch parallel OpenCode agents"
|
|
39692
|
+
complete -c omocs -n "not __fish_seen_subcommand_from $commands" -a auto -d "Manage automatic background checks"
|
|
39693
|
+
complete -c omocs -n "not __fish_seen_subcommand_from $commands" -a config -d "Manage OMOCS configuration"
|
|
39694
|
+
complete -c omocs -n "not __fish_seen_subcommand_from $commands" -a self-test -d "Run smoke test for core integration"
|
|
39550
39695
|
|
|
39551
39696
|
# Memory subcommands
|
|
39552
39697
|
complete -c omocs -n "__fish_seen_subcommand_from memory" -a list -d "Show all notes"
|
|
@@ -39581,20 +39726,95 @@ complete -c omocs -n "__fish_seen_subcommand_from account" -a remove -d "Remove
|
|
|
39581
39726
|
complete -c omocs -n "__fish_seen_subcommand_from account" -a rotate -d "Rotate keys"
|
|
39582
39727
|
|
|
39583
39728
|
# LSP subcommands
|
|
39584
|
-
complete -c omocs -n "__fish_seen_subcommand_from lsp" -a
|
|
39729
|
+
complete -c omocs -n "__fish_seen_subcommand_from lsp" -a list -d "List LSP servers"
|
|
39730
|
+
complete -c omocs -n "__fish_seen_subcommand_from lsp" -a detect -d "Auto-detect LSP servers"
|
|
39731
|
+
complete -c omocs -n "__fish_seen_subcommand_from lsp" -a install -d "Install LSP server"
|
|
39732
|
+
complete -c omocs -n "__fish_seen_subcommand_from lsp" -a remove -d "Remove LSP server"
|
|
39733
|
+
complete -c omocs -n "__fish_seen_subcommand_from lsp" -a status -d "Check LSP status"
|
|
39585
39734
|
|
|
39586
39735
|
# MCP subcommands
|
|
39587
|
-
complete -c omocs -n "__fish_seen_subcommand_from mcp" -a
|
|
39736
|
+
complete -c omocs -n "__fish_seen_subcommand_from mcp" -a list -d "List MCP servers"
|
|
39737
|
+
complete -c omocs -n "__fish_seen_subcommand_from mcp" -a install -d "Install MCP server"
|
|
39738
|
+
complete -c omocs -n "__fish_seen_subcommand_from mcp" -a remove -d "Remove MCP server"
|
|
39739
|
+
complete -c omocs -n "__fish_seen_subcommand_from mcp" -a status -d "Check MCP health"
|
|
39588
39740
|
|
|
39589
39741
|
# Launchboard subcommands
|
|
39590
|
-
complete -c omocs -n "__fish_seen_subcommand_from launchboard" -a
|
|
39742
|
+
complete -c omocs -n "__fish_seen_subcommand_from launchboard" -a setup -d "Set up Launchboard"
|
|
39743
|
+
complete -c omocs -n "__fish_seen_subcommand_from launchboard" -a start -d "Start Launchboard"
|
|
39744
|
+
complete -c omocs -n "__fish_seen_subcommand_from launchboard" -a status -d "Check Launchboard status"
|
|
39745
|
+
|
|
39746
|
+
# Compact subcommands
|
|
39747
|
+
complete -c omocs -n "__fish_seen_subcommand_from compact" -a config -d "Clean stale config entries"
|
|
39748
|
+
complete -c omocs -n "__fish_seen_subcommand_from compact" -a memory -d "Trim old memory notes"
|
|
39749
|
+
complete -c omocs -n "__fish_seen_subcommand_from compact" -a index -d "Clean orphaned indexes"
|
|
39750
|
+
complete -c omocs -n "__fish_seen_subcommand_from compact" -a stats -d "Trim old stats data"
|
|
39751
|
+
complete -c omocs -n "__fish_seen_subcommand_from compact" -a all -d "Run all compact operations"
|
|
39752
|
+
|
|
39753
|
+
# Session subcommands
|
|
39754
|
+
complete -c omocs -n "__fish_seen_subcommand_from session" -a list -d "List all sessions"
|
|
39755
|
+
complete -c omocs -n "__fish_seen_subcommand_from session" -a search -d "Search session content"
|
|
39756
|
+
complete -c omocs -n "__fish_seen_subcommand_from session" -a show -d "Show session messages"
|
|
39757
|
+
complete -c omocs -n "__fish_seen_subcommand_from session" -a diff -d "Show session git diff"
|
|
39758
|
+
|
|
39759
|
+
# Worktree subcommands
|
|
39760
|
+
complete -c omocs -n "__fish_seen_subcommand_from worktree" -a list -d "List worktrees"
|
|
39761
|
+
complete -c omocs -n "__fish_seen_subcommand_from worktree" -a create -d "Create a worktree"
|
|
39762
|
+
complete -c omocs -n "__fish_seen_subcommand_from worktree" -a remove -d "Remove a worktree"
|
|
39763
|
+
complete -c omocs -n "__fish_seen_subcommand_from worktree" -a prune -d "Clean up stale worktrees"
|
|
39764
|
+
|
|
39765
|
+
# Template subcommands
|
|
39766
|
+
complete -c omocs -n "__fish_seen_subcommand_from template" -a save -d "Save config as template"
|
|
39767
|
+
complete -c omocs -n "__fish_seen_subcommand_from template" -a list -d "List saved templates"
|
|
39768
|
+
complete -c omocs -n "__fish_seen_subcommand_from template" -a load -d "Load a template"
|
|
39769
|
+
complete -c omocs -n "__fish_seen_subcommand_from template" -a delete -d "Delete a template"
|
|
39770
|
+
complete -c omocs -n "__fish_seen_subcommand_from template" -a export -d "Export template as JSON"
|
|
39771
|
+
|
|
39772
|
+
# Fallback subcommands
|
|
39773
|
+
complete -c omocs -n "__fish_seen_subcommand_from fallback" -a show -d "Show fallback config"
|
|
39774
|
+
complete -c omocs -n "__fish_seen_subcommand_from fallback" -a add -d "Add a fallback"
|
|
39775
|
+
complete -c omocs -n "__fish_seen_subcommand_from fallback" -a remove -d "Remove a fallback"
|
|
39776
|
+
|
|
39777
|
+
# Watch subcommands
|
|
39778
|
+
complete -c omocs -n "__fish_seen_subcommand_from watch" -a start -d "Start watching"
|
|
39779
|
+
complete -c omocs -n "__fish_seen_subcommand_from watch" -a generate -d "Generate AGENTS.md once"
|
|
39780
|
+
|
|
39781
|
+
# Marketplace subcommands
|
|
39782
|
+
complete -c omocs -n "__fish_seen_subcommand_from marketplace" -a search -d "Search plugins"
|
|
39783
|
+
complete -c omocs -n "__fish_seen_subcommand_from marketplace" -a install -d "Install a plugin"
|
|
39784
|
+
complete -c omocs -n "__fish_seen_subcommand_from marketplace" -a uninstall -d "Remove a plugin"
|
|
39785
|
+
complete -c omocs -n "__fish_seen_subcommand_from marketplace" -a installed -d "List installed plugins"
|
|
39786
|
+
complete -c omocs -n "__fish_seen_subcommand_from marketplace" -a publish -d "Package a plugin"
|
|
39787
|
+
|
|
39788
|
+
# Squad subcommands
|
|
39789
|
+
complete -c omocs -n "__fish_seen_subcommand_from squad" -a launch -d "Launch agent with task"
|
|
39790
|
+
complete -c omocs -n "__fish_seen_subcommand_from squad" -a status -d "Show running agents"
|
|
39791
|
+
complete -c omocs -n "__fish_seen_subcommand_from squad" -a kill -d "Kill an agent"
|
|
39792
|
+
complete -c omocs -n "__fish_seen_subcommand_from squad" -a clean -d "Remove completed agents"
|
|
39793
|
+
|
|
39794
|
+
# Auto subcommands
|
|
39795
|
+
complete -c omocs -n "__fish_seen_subcommand_from auto" -a run -d "Run all auto checks"
|
|
39796
|
+
complete -c omocs -n "__fish_seen_subcommand_from auto" -a reset -d "Reset auto state"
|
|
39797
|
+
complete -c omocs -n "__fish_seen_subcommand_from auto" -a suppress -d "Suppress a warning"
|
|
39798
|
+
complete -c omocs -n "__fish_seen_subcommand_from auto" -a status -d "Show auto check state"
|
|
39799
|
+
|
|
39800
|
+
# Config subcommands
|
|
39801
|
+
complete -c omocs -n "__fish_seen_subcommand_from config" -a validate -d "Validate config file"
|
|
39802
|
+
complete -c omocs -n "__fish_seen_subcommand_from config" -a telemetry -d "Manage telemetry"
|
|
39591
39803
|
|
|
39592
39804
|
# Also register for 'omo' alias
|
|
39593
39805
|
complete -c omo -w omocs
|
|
39594
39806
|
`;
|
|
39595
39807
|
}
|
|
39596
39808
|
function registerCompletionCommand(program2) {
|
|
39597
|
-
program2.command("completion <shell>").description("Generate shell completion scripts (bash, zsh, fish)").
|
|
39809
|
+
program2.command("completion <shell>").description("Generate shell completion scripts (bash, zsh, fish)").addHelpText("after", `
|
|
39810
|
+
Installation:
|
|
39811
|
+
${source_default.cyan("omocs completion bash")} >> ~/.bashrc # Bash
|
|
39812
|
+
${source_default.cyan("omocs completion bash")} >> ~/.bash_profile # Bash (macOS)
|
|
39813
|
+
${source_default.cyan('eval "$(omocs completion bash)"')} # Bash (current session)
|
|
39814
|
+
${source_default.cyan("omocs completion zsh")} >> ~/.zshrc # Zsh
|
|
39815
|
+
${source_default.cyan('eval "$(omocs completion zsh)"')} # Zsh (current session)
|
|
39816
|
+
${source_default.cyan("omocs completion fish")} > ~/.config/fish/completions/omocs.fish # Fish
|
|
39817
|
+
`).action((shell) => {
|
|
39598
39818
|
try {
|
|
39599
39819
|
const validShells = ["bash", "zsh", "fish"];
|
|
39600
39820
|
const shellLower = shell.toLowerCase();
|
package/docs/API.md
ADDED
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
# OMO Suites — API & Command Reference
|
|
2
|
+
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npm install -g omo-suites
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
After installation, two CLI commands are available: `omocs` and `omo` (alias).
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## CLI Commands
|
|
14
|
+
|
|
15
|
+
### `omocs init`
|
|
16
|
+
Interactive setup wizard for OpenCode projects. Creates `opencode.json`, `AGENTS.md`, and configures LLM providers.
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
omocs init # Interactive setup
|
|
20
|
+
omocs init --deep # Deep initialization with advanced options
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### `omocs doctor`
|
|
24
|
+
System health check. Validates configuration, checks dependencies, and detects common issues.
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
omocs doctor # Run all health checks
|
|
28
|
+
omocs doctor --fix # Auto-fix detected issues
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### `omocs self-test`
|
|
32
|
+
Core integration validation. Tests LLM connectivity, MCP servers, and plugin functionality.
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
omocs self-test
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### `omocs config`
|
|
39
|
+
Configuration management with schema validation.
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
omocs config validate # Validate current config against schema
|
|
43
|
+
omocs config show # Display current configuration
|
|
44
|
+
omocs config set <key> <value> # Set a config value
|
|
45
|
+
omocs config get <key> # Get a config value
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### `omocs profile`
|
|
49
|
+
Manage configuration profiles for different contexts (work, personal, projects).
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
omocs profile list # List all profiles
|
|
53
|
+
omocs profile use <name> # Switch to a profile
|
|
54
|
+
omocs profile create <name> # Create new profile
|
|
55
|
+
omocs profile delete <name> # Delete a profile
|
|
56
|
+
omocs profile export <name> <path> # Export profile to file
|
|
57
|
+
omocs profile import <path> # Import profile from file
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### `omocs agent`
|
|
61
|
+
Manage AI agent configurations and routing.
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
omocs agent list # List configured agents
|
|
65
|
+
omocs agent add <name> # Add new agent
|
|
66
|
+
omocs agent remove <name> # Remove agent
|
|
67
|
+
omocs agent show <name> # Show agent details
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### `omocs mcp`
|
|
71
|
+
Manage MCP (Model Context Protocol) server configurations.
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
omocs mcp list # List configured MCP servers
|
|
75
|
+
omocs mcp add <name> # Add MCP server
|
|
76
|
+
omocs mcp remove <name> # Remove MCP server
|
|
77
|
+
omocs mcp status # Check MCP server connectivity
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### `omocs lsp`
|
|
81
|
+
Manage LSP (Language Server Protocol) configurations.
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
omocs lsp list # List configured LSP servers
|
|
85
|
+
omocs lsp add <name> # Add LSP server
|
|
86
|
+
omocs lsp remove <name> # Remove LSP server
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### `omocs compact`
|
|
90
|
+
Compact and optimize project data.
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
omocs compact config # Compact configuration
|
|
94
|
+
omocs compact memory # Compact memory/context
|
|
95
|
+
omocs compact index # Compact search index
|
|
96
|
+
omocs compact stats # Show compaction stats
|
|
97
|
+
omocs compact all # Compact everything
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### `omocs session`
|
|
101
|
+
Manage OpenCode sessions.
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
omocs session list # List sessions
|
|
105
|
+
omocs session show <id> # Show session details
|
|
106
|
+
omocs session clean # Clean old sessions
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### `omocs worktree`
|
|
110
|
+
Manage git worktrees for parallel development.
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
omocs worktree list # List worktrees
|
|
114
|
+
omocs worktree create <branch> # Create worktree
|
|
115
|
+
omocs worktree remove <branch> # Remove worktree
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
### `omocs template`
|
|
119
|
+
Bootstrap project templates.
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
omocs template list # List available templates
|
|
123
|
+
omocs template create <name> # Create from template
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
### `omocs squad`
|
|
127
|
+
Multi-agent squad management.
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
omocs squad launch # Launch agent squad
|
|
131
|
+
omocs squad status # Check squad status
|
|
132
|
+
omocs squad kill # Kill running squad
|
|
133
|
+
omocs squad clean # Clean squad artifacts
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### `omocs auto`
|
|
137
|
+
Auto-check runner (used by OpenCode plugin on startup).
|
|
138
|
+
|
|
139
|
+
```bash
|
|
140
|
+
omocs auto # Run auto checks
|
|
141
|
+
omocs auto --skip-compact # Skip compaction checks
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
### `omocs watch`
|
|
145
|
+
File watcher for auto-indexing and live updates.
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
omocs watch # Start watching project
|
|
149
|
+
omocs watch --dir <path> # Watch specific directory
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### `omocs stats`
|
|
153
|
+
Project and usage statistics.
|
|
154
|
+
|
|
155
|
+
```bash
|
|
156
|
+
omocs stats # Show project stats
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
### `omocs cost`
|
|
160
|
+
LLM usage cost tracking.
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
omocs cost # Show cost summary
|
|
164
|
+
omocs cost --detailed # Detailed breakdown
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
### `omocs benchmark`
|
|
168
|
+
Run LLM benchmarks.
|
|
169
|
+
|
|
170
|
+
```bash
|
|
171
|
+
omocs benchmark # Run default benchmark
|
|
172
|
+
omocs benchmark --model <name> # Benchmark specific model
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
### `omocs plan`
|
|
176
|
+
Generate implementation plans.
|
|
177
|
+
|
|
178
|
+
```bash
|
|
179
|
+
omocs plan <description> # Generate plan from description
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
### `omocs diff`
|
|
183
|
+
Smart diff viewer with AI analysis.
|
|
184
|
+
|
|
185
|
+
```bash
|
|
186
|
+
omocs diff # Show staged changes
|
|
187
|
+
omocs diff --ai # AI-powered diff analysis
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
### `omocs memory`
|
|
191
|
+
Manage project memory/context.
|
|
192
|
+
|
|
193
|
+
```bash
|
|
194
|
+
omocs memory show # Show current memory
|
|
195
|
+
omocs memory clear # Clear memory
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
### `omocs account`
|
|
199
|
+
Manage OMO Suites account.
|
|
200
|
+
|
|
201
|
+
```bash
|
|
202
|
+
omocs account # Show account info
|
|
203
|
+
omocs account login # Login
|
|
204
|
+
omocs account logout # Logout
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
### `omocs marketplace`
|
|
208
|
+
Browse and install community extensions.
|
|
209
|
+
|
|
210
|
+
```bash
|
|
211
|
+
omocs marketplace list # List available extensions
|
|
212
|
+
omocs marketplace install <name> # Install extension
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
### `omocs launchboard`
|
|
216
|
+
Interactive TUI dashboard.
|
|
217
|
+
|
|
218
|
+
```bash
|
|
219
|
+
omocs launchboard # Open dashboard
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
### `omocs fallback`
|
|
223
|
+
Configure LLM fallback chains.
|
|
224
|
+
|
|
225
|
+
```bash
|
|
226
|
+
omocs fallback list # List fallback chains
|
|
227
|
+
omocs fallback set <primary> <fallback> # Set fallback
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
### `omocs completion`
|
|
231
|
+
Shell completion scripts for bash, zsh, and fish.
|
|
232
|
+
|
|
233
|
+
```bash
|
|
234
|
+
omocs completion bash # Output bash completions
|
|
235
|
+
omocs completion zsh # Output zsh completions
|
|
236
|
+
omocs completion fish # Output fish completions
|
|
237
|
+
|
|
238
|
+
# Installation:
|
|
239
|
+
omocs completion bash >> ~/.bashrc
|
|
240
|
+
omocs completion zsh >> ~/.zshrc
|
|
241
|
+
omocs completion fish > ~/.config/fish/completions/omocs.fish
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
### `omocs status`
|
|
245
|
+
Quick status overview.
|
|
246
|
+
|
|
247
|
+
```bash
|
|
248
|
+
omocs status # Show status
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
### `omocs check`
|
|
252
|
+
Run project checks.
|
|
253
|
+
|
|
254
|
+
```bash
|
|
255
|
+
omocs check # Run all checks
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
---
|
|
259
|
+
|
|
260
|
+
## Global Flags
|
|
261
|
+
|
|
262
|
+
All commands support these flags:
|
|
263
|
+
|
|
264
|
+
| Flag | Description |
|
|
265
|
+
|------|-------------|
|
|
266
|
+
| `--debug` | Enable debug output |
|
|
267
|
+
| `--verbose` | Enable verbose logging |
|
|
268
|
+
| `--help` | Show command help |
|
|
269
|
+
| `--version` | Show version |
|
|
270
|
+
|
|
271
|
+
---
|
|
272
|
+
|
|
273
|
+
## Configuration Schema
|
|
274
|
+
|
|
275
|
+
OMO Suites uses `opencode.json` in the project root:
|
|
276
|
+
|
|
277
|
+
```json
|
|
278
|
+
{
|
|
279
|
+
"provider": "anthropic",
|
|
280
|
+
"model": "claude-sonnet-4-20250514",
|
|
281
|
+
"apiKey": "sk-...",
|
|
282
|
+
"mcpServers": {
|
|
283
|
+
"server-name": {
|
|
284
|
+
"command": "npx",
|
|
285
|
+
"args": ["-y", "mcp-server"],
|
|
286
|
+
"env": {}
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
"agents": {
|
|
290
|
+
"default": {
|
|
291
|
+
"model": "claude-sonnet-4-20250514",
|
|
292
|
+
"systemPrompt": "..."
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
Global config lives at `~/.omocs/config.json`.
|
|
299
|
+
|
|
300
|
+
---
|
|
301
|
+
|
|
302
|
+
## Plugin API (OpenCode Integration)
|
|
303
|
+
|
|
304
|
+
OMO Suites can be loaded as an OpenCode plugin:
|
|
305
|
+
|
|
306
|
+
```json
|
|
307
|
+
// opencode.json
|
|
308
|
+
{
|
|
309
|
+
"plugins": ["omo-suites"]
|
|
310
|
+
}
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
The plugin provides:
|
|
314
|
+
- **Auto-checks** on startup (doctor, compact, index)
|
|
315
|
+
- **Agent routing** for multi-model orchestration
|
|
316
|
+
- **MCP/LSP management** with health monitoring
|
|
317
|
+
- **Session management** with context compaction
|
|
318
|
+
- **Telemetry** (opt-in) for usage analytics
|
|
319
|
+
|
|
320
|
+
### Plugin Entry Point
|
|
321
|
+
|
|
322
|
+
```typescript
|
|
323
|
+
import plugin from 'omo-suites';
|
|
324
|
+
// Plugin exports conform to OpenCode's plugin interface
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
---
|
|
328
|
+
|
|
329
|
+
## Environment Variables
|
|
330
|
+
|
|
331
|
+
| Variable | Description |
|
|
332
|
+
|----------|-------------|
|
|
333
|
+
| `OMOCS_NO_LOGS` | Disable structured logging |
|
|
334
|
+
| `OMOCS_DEBUG` | Enable debug mode |
|
|
335
|
+
| `OMOCS_HOME` | Override config directory (default: `~/.omocs`) |
|
|
336
|
+
| `OPENCODE_CONFIG` | Override opencode.json path |
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# OMO Suites 1.15.0 Post-Release Verification\n\n- **Date:** 2026-03-28\n- **Package:** `omo-suites@1.15.0`\n- **Status:** ✅ Verified\n\n## Verification Results\n\n- **npm metadata:**
|
|
2
|
+
omo-suites@1.15.0 | MIT | deps: 8 | versions: 26
|
|
3
|
+
OMO Suites — OpenCode plugin + CLI toolkit. Multi-model orchestration, profiles, agent routing, MCP/LSP management.
|
|
4
|
+
https://github.com/TheFahmi/omo-suites-installer#readme
|
|
5
|
+
|
|
6
|
+
keywords: opencode, cli, developer-tools, ai, coding-assistant, plugin, profiles, mcp, lsp, agent-routing, omo-suites
|
|
7
|
+
|
|
8
|
+
bin: omocs, omo
|
|
9
|
+
|
|
10
|
+
dist
|
|
11
|
+
.tarball: https://registry.npmjs.org/omo-suites/-/omo-suites-1.15.0.tgz
|
|
12
|
+
.shasum: f529997a80f5fe55ee0c847d997d118316e1264e
|
|
13
|
+
.integrity: sha512-wiRHIOglRhTMI0asWm9HijS1xbrPTCGGqpVA+kyBMZcxn2yyYlhjTGK+KOcA+j67jQGmNPUswKiLcOpcpd34CQ==
|
|
14
|
+
.unpackedSize: 2.4 MB
|
|
15
|
+
|
|
16
|
+
dependencies:
|
|
17
|
+
@opencode-ai/plugin: ^1.2.20
|
|
18
|
+
boxen: ^8.0.0
|
|
19
|
+
chalk: ^5.4.0
|
|
20
|
+
cli-table3: ^0.6.0
|
|
21
|
+
commander: ^13.0.0
|
|
22
|
+
inquirer: ^12.0.0
|
|
23
|
+
ora: ^8.0.0
|
|
24
|
+
zod: ^4.3.6
|
|
25
|
+
|
|
26
|
+
maintainers:
|
|
27
|
+
- thefahmi <hello.fahmihassan@gmail.com>
|
|
28
|
+
|
|
29
|
+
dist-tags:
|
|
30
|
+
latest: 1.15.0
|
|
31
|
+
|
|
32
|
+
published 2 minutes ago by thefahmi <hello.fahmihassan@gmail.com> returned successfully. The dist-tag points to .\n- **npx invocation:** 1.5.0 correctly output .\n- **Quirks/Notes:** \n - A warning was shown about Node.js v18.20.8 not being officially supported by npm v11.9.0.\n - The package installed and executed cleanly without other issues.\n - `prebuild-install@7.1.3` was flagged as deprecated during installation.\n\n## Confidence Assessment\nHigh confidence. The package is published, available, and executable via npx.
|
package/package.json
CHANGED