oh-my-openagent 5.0.0-beta.90 → 5.0.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/README.ja.md +3 -3
- package/README.ko.md +3 -3
- package/README.md +7 -7
- package/README.ru.md +3 -3
- package/README.zh-cn.md +3 -3
- package/dist/cli/index.js +89 -79
- package/dist/cli/install-native/plan.d.ts +4 -2
- package/dist/cli-node/index.js +89 -79
- package/dist/index.js +22 -19
- package/dist/skills/browser/runtime/omowright/manifest.json +1 -1
- package/dist/tui.js +22 -19
- package/package.json +14 -14
- package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/package.json +1 -1
- package/packages/omo-codex/plugin/components/comment-checker/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/comment-checker/package.json +1 -1
- package/packages/omo-codex/plugin/components/git-bash/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/git-bash/package.json +1 -1
- package/packages/omo-codex/plugin/components/lazycodex-executor-verify/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/lazycodex-executor-verify/package.json +1 -1
- package/packages/omo-codex/plugin/components/lsp/dist/.omo-runtime-manifest.json +2 -2
- package/packages/omo-codex/plugin/components/lsp/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
- package/packages/omo-codex/plugin/components/rules/hooks/hooks.json +4 -4
- package/packages/omo-codex/plugin/components/rules/package.json +1 -1
- package/packages/omo-codex/plugin/components/teammode/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/teammode/package.json +1 -1
- package/packages/omo-codex/plugin/components/telemetry/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/telemetry/package.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/package.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-execute-continuation/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-execute-continuation/package.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +5 -5
- package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-git-bash-mcp-reminder.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-lsp-diagnostics-cache.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-project-rule-cache.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-comments.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-lsp-diagnostics.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-thread-title-hygiene.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-matching-project-rules.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-recording-spawn-admission.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-guarding-ulw-loop-spawns.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-recommending-git-bash-mcp.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-checking-auto-update.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-checking-bootstrap-provisioning.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-loading-project-rules.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-recording-session-telemetry.json +1 -1
- package/packages/omo-codex/plugin/hooks/stop-checking-ulw-execute-continuation.json +1 -1
- package/packages/omo-codex/plugin/hooks/stop-checking-ulw-loop-resume.json +1 -1
- package/packages/omo-codex/plugin/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ultrawork-trigger.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ulw-loop-steering.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-loading-project-rules.json +1 -1
- package/packages/omo-codex/plugin/package-lock.json +12 -12
- package/packages/omo-codex/plugin/package.json +1 -1
- package/packages/omo-codex/plugin/skills/browser/runtime/omowright/manifest.json +1 -1
- package/packages/omo-codex/scripts/install-dist/install-local.mjs +2 -2
- package/packages/shared-skills/skills/browser/runtime/omowright/manifest.json +1 -1
- package/postinstall.mjs +10 -3
package/README.ja.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> [!NOTE]
|
|
2
2
|
> **OmO ベータ: OmO ❤️ Pi**
|
|
3
|
-
> `bun add -g omo-ai
|
|
3
|
+
> `bun add -g omo-ai` でインストールしてください。メモリシステム、CodeMode、Anthropic サブスクリプションにすべて対応しています。
|
|
4
4
|
> [](https://github.com/jc01rho/omo-herdr-dag)
|
|
5
5
|
> *プロンプトに "mass ulw" と入れるだけ。あなたはもうグラフエンジニアリングのマスター。マルチモデルの ultracode を、より良いメモリシステムとともに。(右側のパネルは [omo-herdr-dag](https://github.com/jc01rho/omo-herdr-dag) です)*
|
|
6
6
|
|
|
@@ -123,11 +123,11 @@ curl -fsSL https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/refs/h
|
|
|
123
123
|
|
|
124
124
|
**注記**: 公開されている npm パッケージと CLI バイナリ名は引き続き `oh-my-opencode` です (移行期間中は `oh-my-openagent` としても同時に公開されています)。`opencode.json` 内では、互換性レイヤーがプラグインエントリ `oh-my-openagent` を優先するようになりました。従来の `oh-my-opencode` エントリも警告付きで引き続き読み込まれます。ランタイム設定は `~/.omo/omo.jsonc` と、上位ディレクトリへたどるプロジェクトの `.omo/omo.jsonc` です。従来の `oh-my-openagent.json[c]` / `oh-my-opencode.json[c]` はマイグレーションエンジンが一度だけ取り込み、以降は読み込まれません。
|
|
125
125
|
|
|
126
|
-
推奨される `bunx`/`npx` コマンドは `oh-my-openagent install` (もしくは元の `oh-my-opencode install`) です。インストール後の短いコマンドは `omo-agent-toolkit` です。今回のメジャーリリースで `omo` bin はこれらのパッケージから削除され、その名前は `bun add -g omo-ai
|
|
126
|
+
推奨される `bunx`/`npx` コマンドは `oh-my-openagent install` (もしくは元の `oh-my-opencode install`) です。インストール後の短いコマンドは `omo-agent-toolkit` です。今回のメジャーリリースで `omo` bin はこれらのパッケージから削除され、その名前は `bun add -g omo-ai` でインストールする OmO Native のものになりました。`bunx omo` や `npx omo` は**使わないでください**。npm 上の `omo` は別の作者による無関係なパッケージで、これらのコマンドはそちらに解決されます。OmO Native のパッケージ名は `omo-ai` です。`lazycodex-ai` は単一目的の Node/npm インストーラーパッケージで、`npx lazycodex-ai install` は Codex Light インストーラーに直接つながります。Codex マーケットプレイス名ではありません (マーケットプレイスのリポジトリは `code-yeongyu/lazycodex`)。Codex 側ではマーケットプレイス `sisyphuslabs` とプラグイン `omo` として見え、`omo@sisyphuslabs` として有効化されます。
|
|
127
127
|
|
|
128
128
|
匿名のテレメトリは、アクティブなインストール数(DAU/WAU/MAU)の集計のためにデフォルトで有効になっています。マシン1台につきUTC日あたり最大1回イベントが送信され、ハッシュ化されたインストール識別子を使用し、生のホスト名は使用せず、PostHog person profile も作成されません。無効化するには `OMO_SEND_ANONYMOUS_TELEMETRY=0` または `OMO_DISABLE_POSTHOG=1` を設定してください。[プライバシーポリシー](docs/legal/privacy-policy.md)と[利用規約](docs/legal/terms-of-service.md)をご覧ください。
|
|
129
129
|
|
|
130
|
-
**Ultimate / Light / OmO Native:** oh-my-openagent は同じ製品の 3 つのエディションとして提供されます。すでに使っているホストに読み込まれるプラグイン 2 つと、スタンドアロンのエディション 1 つです。**Ultimate エディション**(`bunx oh-my-openagent install` または `--platform=opencode`、デフォルト)は OpenCode 上のフル機能で、11 エージェント、54+ フック、Team Mode、4 つの組み込み MCP (websearch、context7、grep_app、lsp)、スラッシュコマンド、IntentGate モードを提供します。**Light エディション**(`npx lazycodex-ai install`)は OpenAI Codex CLI のプラグインシステムへ綺麗に移植できるコアコンポーネント(`rules`、`comment-checker`、`git-bash`、`lsp`、`ultrawork`、`ulw-loop`、`ulw-execute-continuation`、`telemetry`)に加え、`teammode` と補助コンポーネント(`bootstrap`、`lcx` など)を提供し、Codex エージェントの TOML を `~/.codex/agents/` にインストールします。両方を同時にインストールするには `--platform=both`。**OmO Native
|
|
130
|
+
**Ultimate / Light / OmO Native:** oh-my-openagent は同じ製品の 3 つのエディションとして提供されます。すでに使っているホストに読み込まれるプラグイン 2 つと、スタンドアロンのエディション 1 つです。**Ultimate エディション**(`bunx oh-my-openagent install` または `--platform=opencode`、デフォルト)は OpenCode 上のフル機能で、11 エージェント、54+ フック、Team Mode、4 つの組み込み MCP (websearch、context7、grep_app、lsp)、スラッシュコマンド、IntentGate モードを提供します。**Light エディション**(`npx lazycodex-ai install`)は OpenAI Codex CLI のプラグインシステムへ綺麗に移植できるコアコンポーネント(`rules`、`comment-checker`、`git-bash`、`lsp`、`ultrawork`、`ulw-loop`、`ulw-execute-continuation`、`telemetry`)に加え、`teammode` と補助コンポーネント(`bootstrap`、`lcx` など)を提供し、Codex エージェントの TOML を `~/.codex/agents/` にインストールします。両方を同時にインストールするには `--platform=both`。**OmO Native**(スタンドアロン)は OMO 拡張を内蔵した `omo` コマンドです。OpenCode や Codex に読み込むのではなく、`bun add -g omo-ai` でインストールして `omo` を実行します。OpenCode エディションからの移行は [Migrating from OpenCode](docs/guide/migrating-from-opencode.md) を参照してください。Codex 専用テレメトリは `OMO_CODEX_DISABLE_POSTHOG=1` または `OMO_CODEX_SEND_ANONYMOUS_TELEMETRY=0` で無効化できます。
|
|
131
131
|
|
|
132
132
|
---
|
|
133
133
|
|
package/README.ko.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> [!NOTE]
|
|
2
2
|
> **OmO 베타: OmO ❤️ Pi**
|
|
3
|
-
> `bun add -g omo-ai
|
|
3
|
+
> `bun add -g omo-ai`로 설치하세요. 메모리 시스템, CodeMode, Anthropic 구독까지 전부 지원됩니다.
|
|
4
4
|
> [](https://github.com/jc01rho/omo-herdr-dag)
|
|
5
5
|
> *프롬프트에 "mass ulw" 한 줄이면 끝. 당신도 그래프 엔지니어링의 마스터가 됩니다. 멀티 모델 ultracode, 더 나은 메모리 시스템과 함께. (우측의 패널은 [omo-herdr-dag](https://github.com/jc01rho/omo-herdr-dag) 입니다)*
|
|
6
6
|
|
|
@@ -124,11 +124,11 @@ curl -fsSL https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/refs/h
|
|
|
124
124
|
|
|
125
125
|
**참고**: 배포된 npm 패키지와 CLI 바이너리 이름은 여전히 `oh-my-opencode`입니다(전환 기간 동안 `oh-my-openagent`로도 함께 배포됩니다). `opencode.json` 안에서는 호환성 레이어가 이제 `oh-my-openagent` 플러그인 엔트리를 우선합니다. 기존 `oh-my-opencode` 엔트리도 경고와 함께 여전히 로드됩니다. 런타임 설정은 `~/.omo/omo.jsonc`와 워킹 디렉터리에서 위로 탐색하는 프로젝트 `.omo/omo.jsonc`입니다. 기존 `oh-my-openagent.json[c]` / `oh-my-opencode.json[c]` 파일은 마이그레이션 엔진이 한 번만 가져오고, 그 후에는 읽지 않습니다.
|
|
126
126
|
|
|
127
|
-
권장 `bunx`/`npx` 명령은 `oh-my-openagent install`(또는 원래의 `oh-my-opencode install`)입니다. 설치 후 짧은 명령은 `omo-agent-toolkit`입니다. 이번 메이저 릴리스에서 `omo` bin은 이 패키지들에서 제거되었고, 그 이름은 이제 `bun add -g omo-ai
|
|
127
|
+
권장 `bunx`/`npx` 명령은 `oh-my-openagent install`(또는 원래의 `oh-my-opencode install`)입니다. 설치 후 짧은 명령은 `omo-agent-toolkit`입니다. 이번 메이저 릴리스에서 `omo` bin은 이 패키지들에서 제거되었고, 그 이름은 이제 `bun add -g omo-ai`로 설치하는 OmO Native의 것입니다. `bunx omo`나 `npx omo`는 **쓰지 마세요**. npm의 `omo`는 다른 저자의 무관한 패키지이며, 그 명령들은 거기로 연결됩니다. OmO Native의 패키지 이름은 `omo-ai`입니다. `lazycodex-ai`는 단일 목적의 Node/npm 설치 패키지로, `npx lazycodex-ai install`은 곧바로 Codex Light 설치기로 이어집니다. Codex 마켓플레이스 이름은 아닙니다(마켓플레이스 저장소는 `code-yeongyu/lazycodex`). Codex에서는 마켓플레이스 `sisyphuslabs`와 플러그인 `omo`로 보이며, `omo@sisyphuslabs`로 활성화됩니다.
|
|
128
128
|
|
|
129
129
|
익명 텔레메트리는 활성 설치 수(DAU/WAU/MAU) 집계를 위해 기본적으로 활성화되어 있습니다. 머신당 UTC 하루에 최대 1회만 이벤트가 전송되며, 해시된 설치 식별자를 사용하고 원시 호스트명은 절대 사용하지 않으며 PostHog person profile은 생성되지 않습니다. `OMO_SEND_ANONYMOUS_TELEMETRY=0` 또는 `OMO_DISABLE_POSTHOG=1`로 비활성화할 수 있습니다. [개인정보처리방침](docs/legal/privacy-policy.md)과 [서비스 이용약관](docs/legal/terms-of-service.md)을 참조하세요.
|
|
130
130
|
|
|
131
|
-
**Ultimate / Light / OmO Native:** oh-my-openagent는 같은 제품의 세 에디션으로 출시됩니다. 이미 쓰는 호스트에 올라가는 플러그인 둘, 그리고 독립 실행형 하나입니다. **Ultimate 에디션**(`bunx oh-my-openagent install` 또는 `--platform=opencode`, 기본값)은 OpenCode 위에서 풀 기능 — 11 agent, 54+ hook, Team Mode, 4개의 빌트인 MCP(websearch, context7, grep_app, lsp), 슬래시 명령, IntentGate 모드 — 을 제공합니다. **Light 에디션**(`npx lazycodex-ai install`)은 OpenAI Codex CLI의 플러그인 시스템에 깔끔히 포팅되는 핵심 컴포넌트(`rules`, `comment-checker`, `git-bash`, `lsp`, `ultrawork`, `ulw-loop`, `ulw-execute-continuation`, `telemetry`)에 더해 `teammode`와 지원 컴포넌트(`bootstrap`, `lcx` 등)를 제공하고, Codex 에이전트 TOML을 `~/.codex/agents/`에 설치합니다. 둘 다 설치하려면 `--platform=both`. **OmO Native**(독립
|
|
131
|
+
**Ultimate / Light / OmO Native:** oh-my-openagent는 같은 제품의 세 에디션으로 출시됩니다. 이미 쓰는 호스트에 올라가는 플러그인 둘, 그리고 독립 실행형 하나입니다. **Ultimate 에디션**(`bunx oh-my-openagent install` 또는 `--platform=opencode`, 기본값)은 OpenCode 위에서 풀 기능 — 11 agent, 54+ hook, Team Mode, 4개의 빌트인 MCP(websearch, context7, grep_app, lsp), 슬래시 명령, IntentGate 모드 — 을 제공합니다. **Light 에디션**(`npx lazycodex-ai install`)은 OpenAI Codex CLI의 플러그인 시스템에 깔끔히 포팅되는 핵심 컴포넌트(`rules`, `comment-checker`, `git-bash`, `lsp`, `ultrawork`, `ulw-loop`, `ulw-execute-continuation`, `telemetry`)에 더해 `teammode`와 지원 컴포넌트(`bootstrap`, `lcx` 등)를 제공하고, Codex 에이전트 TOML을 `~/.codex/agents/`에 설치합니다. 둘 다 설치하려면 `--platform=both`. **OmO Native**(독립 실행형)는 OMO 확장이 내장된 `omo` 명령입니다. OpenCode나 Codex에 올라가지 않고 `bun add -g omo-ai`로 설치한 뒤 `omo`를 실행합니다. OpenCode 에디션에서 옮겨오는 방법은 [Migrating from OpenCode](docs/guide/migrating-from-opencode.md)를 참고하세요. Codex 전용 텔레메트리는 `OMO_CODEX_DISABLE_POSTHOG=1` 또는 `OMO_CODEX_SEND_ANONYMOUS_TELEMETRY=0`으로 비활성화할 수 있습니다.
|
|
132
132
|
|
|
133
133
|
---
|
|
134
134
|
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> [!NOTE]
|
|
2
|
-
> **OmO
|
|
3
|
-
>
|
|
2
|
+
> **OmO 5.0: OmO ❤️ Pi**
|
|
3
|
+
> Install it with `bun add -g omo-ai`. Memory system, CodeMode, Anthropic subscriptions, all covered.
|
|
4
4
|
> [](https://github.com/jc01rho/omo-herdr-dag)
|
|
5
5
|
> *Just type "mass ulw" with your prompt - now you are the master of graph engineering. Multi-model ultracode, together with a better memory system. (The right panel is [omo-herdr-dag](https://github.com/jc01rho/omo-herdr-dag).)*
|
|
6
6
|
|
|
@@ -104,7 +104,7 @@ oh-my-openagent ships in three editions of the same product: two plugins that lo
|
|
|
104
104
|
|
|
105
105
|
**Light Edition (omo for Codex CLI)** carries the portable components that fit Codex's plugin system: `rules`, `comment-checker`, `git-bash`, `lsp`, `ultrawork`, `ulw-loop`, `ulw-execute-continuation`, and `telemetry` at the core, plus `teammode` and supporting components (`bootstrap`, `lcx`, and more), plugin-scoped MCPs for `grep_app`, `context7`, `git_bash`, and `lsp`, and the shared `ast-grep` skill. It installs Codex agent TOMLs into `~/.codex/agents/`. There are no OpenCode `team_*` tools; Codex CLI's own spawn/collaboration surface does that work.
|
|
106
106
|
|
|
107
|
-
**OmO Native (standalone
|
|
107
|
+
**OmO Native (standalone)** is the `omo` command with the OMO extension built in. It installs from `omo-ai` and loads into neither OpenCode nor Codex. Already on the OpenCode edition? See [Migrating from OpenCode](docs/guide/migrating-from-opencode.md).
|
|
108
108
|
|
|
109
109
|
Pick the edition(s) you want.
|
|
110
110
|
|
|
@@ -115,13 +115,13 @@ Pick the edition(s) you want.
|
|
|
115
115
|
| **Ultimate** (OpenCode) | `bunx oh-my-openagent install` (TUI walks you through it) | Plugin registered in `opencode.json` + agent/model config + provider auth prompts |
|
|
116
116
|
| **Light** (Codex CLI) | `npx lazycodex-ai install` | `~/.codex/plugins/cache/sisyphuslabs/omo/` + local Codex marketplace cache + `~/.codex/config.toml` marketplace/plugin/agent blocks + optional autonomous permissions + component CLIs in `~/.local/bin` |
|
|
117
117
|
| **Both** | `bunx oh-my-openagent install --platform=both` | Both of the above |
|
|
118
|
-
| **OmO Native**
|
|
118
|
+
| **OmO Native** | `bun add -g omo-ai`, then `omo` | The `omo` command: pinned senpi engine with the OMO extension built in. See the [install guide](docs/guide/installation.md#omo-native-omo-via-omo-ai). |
|
|
119
119
|
|
|
120
120
|
`lazycodex-ai` defaults to the Codex Light installer and runs through Node/npm. `--platform` on the shared `omo-agent-toolkit` CLI still defaults to `opencode` (Ultimate).
|
|
121
121
|
|
|
122
122
|
### Which edition should I pick?
|
|
123
123
|
|
|
124
|
-
Already on OpenCode, or want the most-tested path? **Ultimate**. Already on Codex CLI? **Light**. Want one command without installing a host first? **OmO Native**, which ships a pinned senpi engine with OMO built in; bun is the recommended runtime for it
|
|
124
|
+
Already on OpenCode, or want the most-tested path? **Ultimate**. Already on Codex CLI? **Light**. Want one command without installing a host first? **OmO Native**, which ships a pinned senpi engine with OMO built in; bun is the recommended runtime for it. Do not install plain `omo` from npm; that is an unrelated package by a different author.
|
|
125
125
|
|
|
126
126
|
### For Humans
|
|
127
127
|
|
|
@@ -158,7 +158,7 @@ The guide covers: platform selection, the subscription interview, provider authe
|
|
|
158
158
|
|
|
159
159
|
The published npm package and CLI binary are still named `oh-my-opencode` (dual-published as `oh-my-openagent` during the rename transition). Inside `opencode.json`, the compatibility layer prefers the plugin entry `oh-my-openagent`, while legacy `oh-my-opencode` entries still load with a warning. Runtime config is `~/.omo/omo.jsonc` plus walked project `.omo/omo.jsonc`. Legacy `oh-my-openagent.json[c]` / `oh-my-opencode.json[c]` files are imported once by the migration engine and are not read afterward.
|
|
160
160
|
|
|
161
|
-
The recommended `bunx`/`npx` invocation is `oh-my-openagent install` (or the original `oh-my-opencode install`). Once installed, the short command is `omo-agent-toolkit`. The `omo` bin was removed from these packages in this major release; the name now belongs to OmO Native, installed with `bun add -g omo-ai
|
|
161
|
+
The recommended `bunx`/`npx` invocation is `oh-my-openagent install` (or the original `oh-my-opencode install`). Once installed, the short command is `omo-agent-toolkit`. The `omo` bin was removed from these packages in this major release; the name now belongs to OmO Native, installed with `bun add -g omo-ai` (bun is the recommended runtime). Do **not** use `bunx omo` or `npx omo`: `omo` on npm is a different, unrelated package by a different author, and those commands resolve to it. OmO Native's package name is `omo-ai`. `lazycodex-ai` is a single-purpose Node/npm installer package: `npx lazycodex-ai install` routes directly to the Codex Light installer. It is not the Codex marketplace name (the marketplace repository is `code-yeongyu/lazycodex`). Codex sees marketplace `sisyphuslabs` and plugin `omo`, enabled as `omo@sisyphuslabs`.
|
|
162
162
|
|
|
163
163
|
### Telemetry
|
|
164
164
|
|
|
@@ -266,7 +266,7 @@ When the main agent delegates to a subagent, it doesn't pick a model. It picks a
|
|
|
266
266
|
| `quick` | Single-file changes, typos |
|
|
267
267
|
| `ultrabrain` | Hard logic, architecture decisions |
|
|
268
268
|
|
|
269
|
-
The agent says what kind of work it needs; the harness picks the right model. `ultrabrain` routes to GPT-6 Astra max (falling back to GPT-5.6 Sol), `deep-high` to GPT-6 Astra xhigh, and `deep-low` to GPT-6 Sol Fast medium (then GPT-6 Sol where the Fast tier is not served). You touch nothing.
|
|
269
|
+
The agent says what kind of work it needs; the harness picks the right model. `ultrabrain` routes to GPT-6 Astra max (falling back to GPT-5.6 Sol), `deep-high` to GPT-6 Astra xhigh, and `deep-low` to GPT-5.6 Sol Fast medium (then GPT-5.6 Sol where the Fast tier is not served). You touch nothing.
|
|
270
270
|
|
|
271
271
|
### Claude Code Compatibility
|
|
272
272
|
|
package/README.ru.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> [!NOTE]
|
|
2
2
|
> **OmO Бета: OmO ❤️ Pi**
|
|
3
|
-
>
|
|
3
|
+
> Установите `bun add -g omo-ai`: система памяти, CodeMode, подписки Anthropic. Всё включено.
|
|
4
4
|
> [](https://github.com/jc01rho/omo-herdr-dag)
|
|
5
5
|
> *Просто добавьте "mass ulw" в свой промпт - и вы мастер графовой инженерии. Мультимодельный ultracode с улучшенной системой памяти. (Правая панель - [omo-herdr-dag](https://github.com/jc01rho/omo-herdr-dag))*
|
|
6
6
|
|
|
@@ -122,11 +122,11 @@ curl -fsSL https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/refs/h
|
|
|
122
122
|
|
|
123
123
|
**Примечание**: Опубликованное имя npm-пакета и CLI-бинарника по-прежнему `oh-my-opencode` (в переходный период пакет также дублируется под именем `oh-my-openagent`). Внутри `opencode.json` слой совместимости теперь предпочитает точку входа плагина `oh-my-openagent`, в то время как устаревшие записи `oh-my-opencode` всё ещё загружаются с предупреждением. Рабочая конфигурация — это `~/.omo/omo.jsonc` плюс проектные `.omo/omo.jsonc`, найденные при подъёме по дереву каталогов. Устаревшие файлы `oh-my-openagent.json[c]` / `oh-my-opencode.json[c]` импортируются движком миграции один раз и после этого не читаются.
|
|
124
124
|
|
|
125
|
-
Рекомендуемый вызов через `bunx`/`npx` — `oh-my-openagent install` (или исходный `oh-my-opencode install`). После установки короткая команда — `omo-agent-toolkit`. Бинарник `omo` удалён из этих пакетов в текущем мажорном релизе; теперь это имя принадлежит редакции OmO Native, которая ставится через `bun add -g omo-ai
|
|
125
|
+
Рекомендуемый вызов через `bunx`/`npx` — `oh-my-openagent install` (или исходный `oh-my-opencode install`). После установки короткая команда — `omo-agent-toolkit`. Бинарник `omo` удалён из этих пакетов в текущем мажорном релизе; теперь это имя принадлежит редакции OmO Native, которая ставится через `bun add -g omo-ai`. **Не** используйте `bunx omo` или `npx omo`: `omo` в npm — это другой, не связанный с нами пакет другого автора, и эти команды попадут именно в него. Пакет редакции OmO Native называется `omo-ai`. `lazycodex-ai` — это узкоспециализированный Node/npm-пакет установщика: `npx lazycodex-ai install` напрямую запускает установщик Codex Light. Это не имя Codex marketplace (репозиторий marketplace — `code-yeongyu/lazycodex`). Codex видит marketplace `sisyphuslabs` и плагин `omo`, включённый как `omo@sisyphuslabs`.
|
|
126
126
|
|
|
127
127
|
Анонимная телеметрия включена по умолчанию для подсчёта активных установок (DAU/WAU/MAU). Не более одного события на машину за UTC-сутки, использует хешированный идентификатор установки, никогда не использует исходное имя хоста, и не создаёт PostHog person profile. Можно отключить через `OMO_SEND_ANONYMOUS_TELEMETRY=0` или `OMO_DISABLE_POSTHOG=1`. См. [Политику конфиденциальности](docs/legal/privacy-policy.md) и [Условия обслуживания](docs/legal/terms-of-service.md).
|
|
128
128
|
|
|
129
|
-
**Ultimate, Light и OmO Native:** oh-my-openagent поставляется в трёх редакциях одного продукта: два плагина, которые загружаются в уже используемый вами хост, плюс одна standalone-редакция. **Ultimate** (`bunx oh-my-openagent install` или `--platform=opencode`, по умолчанию) — полнофункциональная редакция поверх OpenCode: 11 агентов, 54+ хука, Team Mode, 4 встроенных MCP (websearch, context7, grep_app, lsp), все слэш-команды, режимы IntentGate. **Light** (`npx lazycodex-ai install`) — портируемые компоненты omo для системы плагинов OpenAI Codex CLI: ядро (`rules`, `comment-checker`, `git-bash`, `lsp`, `ultrawork`, `ulw-loop`, `ulw-execute-continuation`, `telemetry`), а также `teammode` и вспомогательные компоненты (`bootstrap`, `lcx` и другие); TOML-файлы Codex-агентов устанавливаются в `~/.codex/agents/`. Чтобы установить обе плагинные редакции одной командой, используйте `--platform=both`. **OmO Native (standalone
|
|
129
|
+
**Ultimate, Light и OmO Native:** oh-my-openagent поставляется в трёх редакциях одного продукта: два плагина, которые загружаются в уже используемый вами хост, плюс одна standalone-редакция. **Ultimate** (`bunx oh-my-openagent install` или `--platform=opencode`, по умолчанию) — полнофункциональная редакция поверх OpenCode: 11 агентов, 54+ хука, Team Mode, 4 встроенных MCP (websearch, context7, grep_app, lsp), все слэш-команды, режимы IntentGate. **Light** (`npx lazycodex-ai install`) — портируемые компоненты omo для системы плагинов OpenAI Codex CLI: ядро (`rules`, `comment-checker`, `git-bash`, `lsp`, `ultrawork`, `ulw-loop`, `ulw-execute-continuation`, `telemetry`), а также `teammode` и вспомогательные компоненты (`bootstrap`, `lcx` и другие); TOML-файлы Codex-агентов устанавливаются в `~/.codex/agents/`. Чтобы установить обе плагинные редакции одной командой, используйте `--platform=both`. **OmO Native (standalone)** — команда `omo` со встроенным расширением OMO: `bun add -g omo-ai`, затем `omo`. Она ставится из `omo-ai` и не загружается в OpenCode или Codex. Переход с редакции для OpenCode описан в [Migrating from OpenCode](docs/guide/migrating-from-opencode.md). Телеметрию только для Codex можно отключить через `OMO_CODEX_DISABLE_POSTHOG=1` или `OMO_CODEX_SEND_ANONYMOUS_TELEMETRY=0`.
|
|
130
130
|
|
|
131
131
|
------
|
|
132
132
|
|
package/README.zh-cn.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
> [!NOTE]
|
|
2
2
|
> **OmO 测试版: OmO ❤️ Pi**
|
|
3
|
-
> 使用 `bun add -g omo-ai
|
|
3
|
+
> 使用 `bun add -g omo-ai` 安装。记忆系统、CodeMode、Anthropic 订阅,全部支持。
|
|
4
4
|
> [](https://github.com/jc01rho/omo-herdr-dag)
|
|
5
5
|
> *只需在提示词中输入 "mass ulw" - 你就是图工程的大师。多模型 ultracode,搭配更出色的记忆系统。(右侧面板是 [omo-herdr-dag](https://github.com/jc01rho/omo-herdr-dag))*
|
|
6
6
|
|
|
@@ -123,11 +123,11 @@ curl -fsSL https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/refs/h
|
|
|
123
123
|
|
|
124
124
|
**注意**:已发布的 npm 包名和 CLI 二进制名仍然是 `oh-my-opencode`(过渡期间同时以 `oh-my-openagent` 的名字双重发布)。在 `opencode.json` 中,兼容性层现在优先使用插件入口 `oh-my-openagent`,而旧的 `oh-my-opencode` 条目仍会以警告的形式加载。运行时配置是 `~/.omo/omo.jsonc`,加上向上逐级查找的项目 `.omo/omo.jsonc`。旧版 `oh-my-openagent.json[c]` / `oh-my-opencode.json[c]` 文件只会被迁移引擎导入一次,之后不再被读取。
|
|
125
125
|
|
|
126
|
-
推荐的 `bunx`/`npx` 调用方式是 `oh-my-openagent install`(或原来的 `oh-my-opencode install`)。安装完成后,短命令是 `omo-agent-toolkit`。这些包在本次大版本中移除了 `omo` bin,这个名字现在归 OmO Native 所有,通过 `bun add -g omo-ai
|
|
126
|
+
推荐的 `bunx`/`npx` 调用方式是 `oh-my-openagent install`(或原来的 `oh-my-opencode install`)。安装完成后,短命令是 `omo-agent-toolkit`。这些包在本次大版本中移除了 `omo` bin,这个名字现在归 OmO Native 所有,通过 `bun add -g omo-ai` 安装。**不要**使用 `bunx omo` 或 `npx omo`:npm 上的 `omo` 是另一位作者的无关包,这两条命令会解析到它。OmO Native 的包名是 `omo-ai`。`lazycodex-ai` 是一个单一用途的 Node/npm 安装器包:`npx lazycodex-ai install` 会直接进入 Codex Light 安装器。它不是 Codex marketplace 的名字(marketplace 仓库是 `code-yeongyu/lazycodex`)。Codex 看到的是 marketplace `sisyphuslabs` 和插件 `omo`,以 `omo@sisyphuslabs` 启用。
|
|
127
127
|
|
|
128
128
|
匿名遥测默认开启,用于统计活跃安装数(DAU/WAU/MAU)。每台机器每个 UTC 日最多发送一次事件,使用哈希化的安装标识符,绝不会使用原始主机名,且不会创建 PostHog person profile。可通过 `OMO_SEND_ANONYMOUS_TELEMETRY=0` 或 `OMO_DISABLE_POSTHOG=1` 禁用。详见 [隐私政策](docs/legal/privacy-policy.md) 和 [服务条款](docs/legal/terms-of-service.md)。
|
|
129
129
|
|
|
130
|
-
**Ultimate、Light 与 OmO Native:** oh-my-openagent 以同一产品的三个版本发布:两个插件加载到你已经在用的宿主里,另有一个独立版本。**Ultimate 版本**(`bunx oh-my-openagent install` 或 `--platform=opencode`,默认值)在 OpenCode 上提供完整功能 —— 11 个智能体、54+ 个生命周期钩子、Team Mode、4 个内置 MCP(websearch、context7、grep_app、lsp)、所有斜杠命令、IntentGate 模式。**Light 版本**(`npx lazycodex-ai install`)提供能够干净地移植到 OpenAI Codex CLI 插件系统的 核心组件(`rules`、`comment-checker`、`git-bash`、`lsp`、`ultrawork`、`ulw-loop`、`ulw-execute-continuation`、`telemetry`),外加 `teammode` 和配套组件(`bootstrap`、`lcx` 等),并会把 Codex 智能体 TOML 安装到 `~/.codex/agents/`。要同时安装这两个插件版本,使用 `--platform=both`。**OmO Native
|
|
130
|
+
**Ultimate、Light 与 OmO Native:** oh-my-openagent 以同一产品的三个版本发布:两个插件加载到你已经在用的宿主里,另有一个独立版本。**Ultimate 版本**(`bunx oh-my-openagent install` 或 `--platform=opencode`,默认值)在 OpenCode 上提供完整功能 —— 11 个智能体、54+ 个生命周期钩子、Team Mode、4 个内置 MCP(websearch、context7、grep_app、lsp)、所有斜杠命令、IntentGate 模式。**Light 版本**(`npx lazycodex-ai install`)提供能够干净地移植到 OpenAI Codex CLI 插件系统的 核心组件(`rules`、`comment-checker`、`git-bash`、`lsp`、`ultrawork`、`ulw-loop`、`ulw-execute-continuation`、`telemetry`),外加 `teammode` 和配套组件(`bootstrap`、`lcx` 等),并会把 Codex 智能体 TOML 安装到 `~/.codex/agents/`。要同时安装这两个插件版本,使用 `--platform=both`。**OmO Native(独立)** 是内建 OMO 扩展的 `omo` 命令:`bun add -g omo-ai`,然后运行 `omo`。它从 `omo-ai` 安装,不加载进 OpenCode 或 Codex。从 OpenCode 版本迁移请参阅 [Migrating from OpenCode](docs/guide/migrating-from-opencode.md)。Codex 专用遥测可通过 `OMO_CODEX_DISABLE_POSTHOG=1` 或 `OMO_CODEX_SEND_ANONYMOUS_TELEMETRY=0` 禁用。
|
|
131
131
|
|
|
132
132
|
---
|
|
133
133
|
|
package/dist/cli/index.js
CHANGED
|
@@ -64,7 +64,7 @@ var package_default;
|
|
|
64
64
|
var init_package = __esm(() => {
|
|
65
65
|
package_default = {
|
|
66
66
|
name: "oh-my-opencode",
|
|
67
|
-
version: "5.0.0
|
|
67
|
+
version: "5.0.0",
|
|
68
68
|
description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
69
69
|
main: "./dist/index.js",
|
|
70
70
|
types: "dist/index.d.ts",
|
|
@@ -247,7 +247,7 @@ var init_package = __esm(() => {
|
|
|
247
247
|
zod: "^4.6.5"
|
|
248
248
|
},
|
|
249
249
|
devDependencies: {
|
|
250
|
-
"@code-yeongyu/senpi": "2026.9.
|
|
250
|
+
"@code-yeongyu/senpi": "2026.9.26",
|
|
251
251
|
"@oh-my-opencode/agents-md-core": "workspace:*",
|
|
252
252
|
"@oh-my-opencode/ast-grep-mcp": "workspace:*",
|
|
253
253
|
"@oh-my-opencode/boulder-state": "workspace:*",
|
|
@@ -288,18 +288,18 @@ var init_package = __esm(() => {
|
|
|
288
288
|
typescript: "^7.0.2"
|
|
289
289
|
},
|
|
290
290
|
optionalDependencies: {
|
|
291
|
-
"oh-my-opencode-darwin-arm64": "5.0.0
|
|
292
|
-
"oh-my-opencode-darwin-x64": "5.0.0
|
|
293
|
-
"oh-my-opencode-darwin-x64-baseline": "5.0.0
|
|
294
|
-
"oh-my-opencode-linux-arm64": "5.0.0
|
|
295
|
-
"oh-my-opencode-linux-arm64-musl": "5.0.0
|
|
296
|
-
"oh-my-opencode-linux-x64": "5.0.0
|
|
297
|
-
"oh-my-opencode-linux-x64-baseline": "5.0.0
|
|
298
|
-
"oh-my-opencode-linux-x64-musl": "5.0.0
|
|
299
|
-
"oh-my-opencode-linux-x64-musl-baseline": "5.0.0
|
|
300
|
-
"oh-my-opencode-windows-arm64": "5.0.0
|
|
301
|
-
"oh-my-opencode-windows-x64": "5.0.0
|
|
302
|
-
"oh-my-opencode-windows-x64-baseline": "5.0.0
|
|
291
|
+
"oh-my-opencode-darwin-arm64": "5.0.0",
|
|
292
|
+
"oh-my-opencode-darwin-x64": "5.0.0",
|
|
293
|
+
"oh-my-opencode-darwin-x64-baseline": "5.0.0",
|
|
294
|
+
"oh-my-opencode-linux-arm64": "5.0.0",
|
|
295
|
+
"oh-my-opencode-linux-arm64-musl": "5.0.0",
|
|
296
|
+
"oh-my-opencode-linux-x64": "5.0.0",
|
|
297
|
+
"oh-my-opencode-linux-x64-baseline": "5.0.0",
|
|
298
|
+
"oh-my-opencode-linux-x64-musl": "5.0.0",
|
|
299
|
+
"oh-my-opencode-linux-x64-musl-baseline": "5.0.0",
|
|
300
|
+
"oh-my-opencode-windows-arm64": "5.0.0",
|
|
301
|
+
"oh-my-opencode-windows-x64": "5.0.0",
|
|
302
|
+
"oh-my-opencode-windows-x64-baseline": "5.0.0"
|
|
303
303
|
},
|
|
304
304
|
overrides: {
|
|
305
305
|
"@earendil-works/pi-agent-core": "0.84.2",
|
|
@@ -7382,10 +7382,10 @@ var init_category_model_requirements = __esm(() => {
|
|
|
7382
7382
|
},
|
|
7383
7383
|
"deep-low": {
|
|
7384
7384
|
fallbackChain: [
|
|
7385
|
-
{ providers: ["openai", "chatgpt-subscription"], model: "gpt-6-sol-fast", variant: "medium" },
|
|
7385
|
+
{ providers: ["openai", "chatgpt-subscription"], model: "gpt-5.6-sol-fast", variant: "medium" },
|
|
7386
7386
|
{
|
|
7387
7387
|
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
7388
|
-
model: "gpt-6-sol",
|
|
7388
|
+
model: "gpt-5.6-sol",
|
|
7389
7389
|
variant: "medium"
|
|
7390
7390
|
}
|
|
7391
7391
|
]
|
|
@@ -9419,7 +9419,7 @@ You are working on tasks that don't fit specific categories but require substant
|
|
|
9419
9419
|
</Category_Context>`, UNSPECIFIED_HIGH_CATEGORY_CALLER_GUIDANCE = `<Selection_Gate>Use only when no specialist category fits and substantial effort spans systems/modules with broad impact. Use unspecified-low for contained moderate work.</Selection_Gate>`, DEEP_LOW_CATEGORY_CALLER_GUIDANCE = `<Selection_Gate>Route here when one subsystem plus its callers holds the mechanism and the evidence, once read, leaves one right answer. Wide but mechanical work belongs here or in a quick batch. When unsure, choose deep-low: a misrouted child returns \`ESCALATE: deep-high\` after one cheap attempt; re-spawn the same brief as deep-high with its findings.</Selection_Gate>`, DEEP_HIGH_CATEGORY_CALLER_GUIDANCE = `<Selection_Gate>Route here only when you can name the decision evidence cannot settle: a trade-off with no single right answer, a contract change crossing a package or process boundary, a mechanism with no in-repo pattern to copy, or correctness argued from invariants rather than observed in a test. Wide scope with easy decisions is deep-low or unspecified-high; reasoning as the deliverable is ultrabrain.</Selection_Gate>`, DEEP_LOW_GATE_MODELS, DEEP_HIGH_GATE_MODEL = "gpt-6-astra", OPENAI_CATEGORIES;
|
|
9420
9420
|
var init_openai_categories = __esm(() => {
|
|
9421
9421
|
init_types();
|
|
9422
|
-
DEEP_LOW_GATE_MODELS = ["gpt-6-sol-fast", "gpt-6-sol"];
|
|
9422
|
+
DEEP_LOW_GATE_MODELS = ["gpt-5.6-sol-fast", "gpt-5.6-sol"];
|
|
9423
9423
|
OPENAI_CATEGORIES = [
|
|
9424
9424
|
{
|
|
9425
9425
|
name: "ultrabrain",
|
|
@@ -9430,7 +9430,7 @@ var init_openai_categories = __esm(() => {
|
|
|
9430
9430
|
},
|
|
9431
9431
|
{
|
|
9432
9432
|
name: "deep-low",
|
|
9433
|
-
config: { model: "openai/gpt-6-sol-fast", variant: "medium" },
|
|
9433
|
+
config: { model: "openai/gpt-5.6-sol-fast", variant: "medium" },
|
|
9434
9434
|
description: "Default deep lane: one goal, one deliverable, decisions the child can settle from what it reads. **3D graphics, computer/browser use, CAPTCHA, multimodal, backend, logic, and algorithm work is routed here.** Multiple goals fan out as parallel calls.",
|
|
9435
9435
|
callerGuidance: DEEP_LOW_CATEGORY_CALLER_GUIDANCE,
|
|
9436
9436
|
promptAppend: DEEP_LOW_CATEGORY_PROMPT_APPEND,
|
|
@@ -79042,6 +79042,40 @@ var init_config_manager = __esm(() => {
|
|
|
79042
79042
|
init_backup_config();
|
|
79043
79043
|
});
|
|
79044
79044
|
|
|
79045
|
+
// packages/omo-opencode/src/hooks/auto-update-checker/checker/bundled-version.ts
|
|
79046
|
+
function getBundledVersion() {
|
|
79047
|
+
return package_default.version;
|
|
79048
|
+
}
|
|
79049
|
+
var init_bundled_version = __esm(() => {
|
|
79050
|
+
init_package();
|
|
79051
|
+
});
|
|
79052
|
+
|
|
79053
|
+
// packages/omo-opencode/src/hooks/auto-update-checker/version-channel.ts
|
|
79054
|
+
function isPrereleaseVersion(version) {
|
|
79055
|
+
return version.includes("-");
|
|
79056
|
+
}
|
|
79057
|
+
function isDistTag(version) {
|
|
79058
|
+
const startsWithDigit = /^\d/.test(version);
|
|
79059
|
+
return !startsWithDigit;
|
|
79060
|
+
}
|
|
79061
|
+
function extractChannel(version) {
|
|
79062
|
+
if (!version)
|
|
79063
|
+
return "latest";
|
|
79064
|
+
if (isDistTag(version)) {
|
|
79065
|
+
return version;
|
|
79066
|
+
}
|
|
79067
|
+
if (isPrereleaseVersion(version)) {
|
|
79068
|
+
const prereleasePart = version.split("-")[1];
|
|
79069
|
+
if (prereleasePart) {
|
|
79070
|
+
const channelMatch = prereleasePart.match(/^(alpha|beta|rc|canary|next)/);
|
|
79071
|
+
if (channelMatch) {
|
|
79072
|
+
return channelMatch[1];
|
|
79073
|
+
}
|
|
79074
|
+
}
|
|
79075
|
+
}
|
|
79076
|
+
return "latest";
|
|
79077
|
+
}
|
|
79078
|
+
|
|
79045
79079
|
// packages/telemetry-core/src/day-claim.ts
|
|
79046
79080
|
import { closeSync as closeSync3, mkdirSync as mkdirSync9, openSync as openSync3, readdirSync as readdirSync8, rmSync as rmSync3 } from "fs";
|
|
79047
79081
|
import { join as join52 } from "path";
|
|
@@ -88920,7 +88954,7 @@ var package_default2;
|
|
|
88920
88954
|
var init_package2 = __esm(() => {
|
|
88921
88955
|
package_default2 = {
|
|
88922
88956
|
name: "@oh-my-opencode/omo-codex",
|
|
88923
|
-
version: "5.0.0
|
|
88957
|
+
version: "5.0.0",
|
|
88924
88958
|
type: "module",
|
|
88925
88959
|
private: true,
|
|
88926
88960
|
description: "Codex harness adapter for oh-my-openagent. Vendored Codex plugin namespace (omo) + TypeScript installer + telemetry.",
|
|
@@ -89110,40 +89144,6 @@ var init_telemetry2 = __esm(() => {
|
|
|
89110
89144
|
init_posthog();
|
|
89111
89145
|
});
|
|
89112
89146
|
|
|
89113
|
-
// packages/omo-opencode/src/hooks/auto-update-checker/checker/bundled-version.ts
|
|
89114
|
-
function getBundledVersion() {
|
|
89115
|
-
return package_default.version;
|
|
89116
|
-
}
|
|
89117
|
-
var init_bundled_version = __esm(() => {
|
|
89118
|
-
init_package();
|
|
89119
|
-
});
|
|
89120
|
-
|
|
89121
|
-
// packages/omo-opencode/src/hooks/auto-update-checker/version-channel.ts
|
|
89122
|
-
function isPrereleaseVersion(version) {
|
|
89123
|
-
return version.includes("-");
|
|
89124
|
-
}
|
|
89125
|
-
function isDistTag(version) {
|
|
89126
|
-
const startsWithDigit = /^\d/.test(version);
|
|
89127
|
-
return !startsWithDigit;
|
|
89128
|
-
}
|
|
89129
|
-
function extractChannel(version) {
|
|
89130
|
-
if (!version)
|
|
89131
|
-
return "latest";
|
|
89132
|
-
if (isDistTag(version)) {
|
|
89133
|
-
return version;
|
|
89134
|
-
}
|
|
89135
|
-
if (isPrereleaseVersion(version)) {
|
|
89136
|
-
const prereleasePart = version.split("-")[1];
|
|
89137
|
-
if (prereleasePart) {
|
|
89138
|
-
const channelMatch = prereleasePart.match(/^(alpha|beta|rc|canary|next)/);
|
|
89139
|
-
if (channelMatch) {
|
|
89140
|
-
return channelMatch[1];
|
|
89141
|
-
}
|
|
89142
|
-
}
|
|
89143
|
-
}
|
|
89144
|
-
return "latest";
|
|
89145
|
-
}
|
|
89146
|
-
|
|
89147
89147
|
// node_modules/.bun/sisteransi@1.0.5/node_modules/sisteransi/src/index.js
|
|
89148
89148
|
var require_src = __commonJS(function(exports, module) {
|
|
89149
89149
|
var ESC = "\x1B";
|
|
@@ -92213,6 +92213,33 @@ import { createInterface as createInterface2 } from "readline/promises";
|
|
|
92213
92213
|
|
|
92214
92214
|
// packages/omo-opencode/src/cli/install-validators.ts
|
|
92215
92215
|
var import_picocolors = __toESM(require_picocolors(), 1);
|
|
92216
|
+
|
|
92217
|
+
// packages/omo-opencode/src/cli/install-native/plan.ts
|
|
92218
|
+
init_shared();
|
|
92219
|
+
init_bundled_version();
|
|
92220
|
+
function nativePackageSpec(pluginVersion = getBundledVersion()) {
|
|
92221
|
+
return isPrereleaseVersion(pluginVersion) ? "omo-ai@beta" : "omo-ai";
|
|
92222
|
+
}
|
|
92223
|
+
var NATIVE_PACKAGE_SPEC = nativePackageSpec();
|
|
92224
|
+
var NATIVE_SETUP_COMMAND = "omo setup";
|
|
92225
|
+
var NATIVE_RECOMMENDED_RUNTIME_NOTE = "bun is the recommended runtime for OmO Native; npm works, but bun is what OmO Native is tested on.";
|
|
92226
|
+
var PLANS = {
|
|
92227
|
+
bun: { packageManager: "bun", command: "bun", args: ["add", "-g", NATIVE_PACKAGE_SPEC] },
|
|
92228
|
+
npm: { packageManager: "npm", command: "npm", args: ["i", "-g", NATIVE_PACKAGE_SPEC] }
|
|
92229
|
+
};
|
|
92230
|
+
function resolveNativeInstallPlan(bunAvailable) {
|
|
92231
|
+
return bunAvailable ? PLANS.bun : PLANS.npm;
|
|
92232
|
+
}
|
|
92233
|
+
function formatNativeInstallCommand(plan) {
|
|
92234
|
+
return [plan.command, ...plan.args].join(" ");
|
|
92235
|
+
}
|
|
92236
|
+
function formatNativeInstallEntryCommand(plan, pluginVersion = getBundledVersion()) {
|
|
92237
|
+
const runner = plan.packageManager === "bun" ? "bunx" : "npx";
|
|
92238
|
+
const tag = isPrereleaseVersion(pluginVersion) ? "@beta" : "";
|
|
92239
|
+
return `${runner} ${PUBLISHED_PACKAGE_NAME}${tag} install --platform=native`;
|
|
92240
|
+
}
|
|
92241
|
+
|
|
92242
|
+
// packages/omo-opencode/src/cli/install-validators.ts
|
|
92216
92243
|
var SYMBOLS = {
|
|
92217
92244
|
check: import_picocolors.default.green("[OK]"),
|
|
92218
92245
|
cross: import_picocolors.default.red("[X]"),
|
|
@@ -92238,7 +92265,7 @@ function formatConfigSummary(config) {
|
|
|
92238
92265
|
lines.push(` ${SYMBOLS.info} Codex autonomous mode: ${config.codexAutonomous ? "enabled" : "disabled"}`);
|
|
92239
92266
|
}
|
|
92240
92267
|
if (config.hasNative) {
|
|
92241
|
-
lines.push(` ${SYMBOLS.info} OmO Native: installing from
|
|
92268
|
+
lines.push(` ${SYMBOLS.info} OmO Native: installing from ${NATIVE_PACKAGE_SPEC}`);
|
|
92242
92269
|
}
|
|
92243
92270
|
if (config.hasNativeDev) {
|
|
92244
92271
|
lines.push(` ${SYMBOLS.info} OmO Native development adapter: enabled`);
|
|
@@ -97851,7 +97878,12 @@ function localLauncherPath(homeDir = homedir10()) {
|
|
|
97851
97878
|
function localLauncherCmdPath(homeDir = homedir10()) {
|
|
97852
97879
|
return join60(homeDir, ".local", "bin", "omo.cmd");
|
|
97853
97880
|
}
|
|
97881
|
+
function releaseChannel(version) {
|
|
97882
|
+
return version !== undefined && version.includes("-") ? "beta" : "latest";
|
|
97883
|
+
}
|
|
97854
97884
|
function renderLocalLauncher(options) {
|
|
97885
|
+
const channel = releaseChannel(options.version);
|
|
97886
|
+
const updateCommand = channel === "beta" ? "bun add -g omo-ai@beta" : "bun add -g omo-ai";
|
|
97855
97887
|
const brand = {
|
|
97856
97888
|
name: "OmO",
|
|
97857
97889
|
command: "omo",
|
|
@@ -97866,8 +97898,8 @@ function renderLocalLauncher(options) {
|
|
|
97866
97898
|
},
|
|
97867
97899
|
update: {
|
|
97868
97900
|
packageName: "omo-ai",
|
|
97869
|
-
distTag:
|
|
97870
|
-
command:
|
|
97901
|
+
distTag: channel,
|
|
97902
|
+
command: updateCommand,
|
|
97871
97903
|
changelogUrl: "https://github.com/code-yeongyu/oh-my-openagent/releases"
|
|
97872
97904
|
}
|
|
97873
97905
|
};
|
|
@@ -97897,7 +97929,7 @@ const selfUpdate = process.argv[2] === "update"
|
|
|
97897
97929
|
&& process.argv.slice(3).every((arg) => arg.startsWith("-") || ["self", "senpi", "omo"].includes(arg))
|
|
97898
97930
|
&& !process.argv.slice(3).some((arg) => arg === "--extensions" || arg === "--models")
|
|
97899
97931
|
if (selfUpdate) {
|
|
97900
|
-
console.log(
|
|
97932
|
+
console.log(${JSON.stringify(`omo is updated via bun: ${updateCommand}`)})
|
|
97901
97933
|
process.exit(0)
|
|
97902
97934
|
}
|
|
97903
97935
|
// windowsHide-exempt: this is the interactive foreground CLI, spawned with inherited stdio.
|
|
@@ -98262,28 +98294,6 @@ function fileExistsSync(path) {
|
|
|
98262
98294
|
async function runNativeDevInstaller(options) {
|
|
98263
98295
|
return runSenpiInstaller(options);
|
|
98264
98296
|
}
|
|
98265
|
-
|
|
98266
|
-
// packages/omo-opencode/src/cli/install-native/plan.ts
|
|
98267
|
-
init_shared();
|
|
98268
|
-
init_bundled_version();
|
|
98269
|
-
var NATIVE_PACKAGE_SPEC = "omo-ai@beta";
|
|
98270
|
-
var NATIVE_SETUP_COMMAND = "omo setup";
|
|
98271
|
-
var NATIVE_RECOMMENDED_RUNTIME_NOTE = "bun is the recommended runtime for OmO Native; npm works, but bun is what the beta channel is tested on.";
|
|
98272
|
-
var PLANS = {
|
|
98273
|
-
bun: { packageManager: "bun", command: "bun", args: ["add", "-g", NATIVE_PACKAGE_SPEC] },
|
|
98274
|
-
npm: { packageManager: "npm", command: "npm", args: ["i", "-g", NATIVE_PACKAGE_SPEC] }
|
|
98275
|
-
};
|
|
98276
|
-
function resolveNativeInstallPlan(bunAvailable) {
|
|
98277
|
-
return bunAvailable ? PLANS.bun : PLANS.npm;
|
|
98278
|
-
}
|
|
98279
|
-
function formatNativeInstallCommand(plan) {
|
|
98280
|
-
return [plan.command, ...plan.args].join(" ");
|
|
98281
|
-
}
|
|
98282
|
-
function formatNativeInstallEntryCommand(plan, pluginVersion = getBundledVersion()) {
|
|
98283
|
-
const runner = plan.packageManager === "bun" ? "bunx" : "npx";
|
|
98284
|
-
const tag = isPrereleaseVersion(pluginVersion) ? "@beta" : "";
|
|
98285
|
-
return `${runner} ${PUBLISHED_PACKAGE_NAME}${tag} install --platform=native`;
|
|
98286
|
-
}
|
|
98287
98297
|
// packages/omo-opencode/src/cli/install-native/legacy-omo-bin.ts
|
|
98288
98298
|
import { lstatSync as lstatSync4, readFileSync as readFileSync15, realpathSync as realpathSync8 } from "fs";
|
|
98289
98299
|
import { dirname as dirname26, isAbsolute as isAbsolute12, join as join64, posix as posix9, win32 as win325 } from "path";
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/** The omo-ai spec on this plugin's channel: `omo-ai@beta` for a prerelease build, bare `omo-ai` for a stable one. */
|
|
2
|
+
export declare function nativePackageSpec(pluginVersion?: string): string;
|
|
3
|
+
export declare const NATIVE_PACKAGE_SPEC: string;
|
|
2
4
|
export declare const NATIVE_SETUP_COMMAND = "omo setup";
|
|
3
|
-
export declare const NATIVE_RECOMMENDED_RUNTIME_NOTE = "bun is the recommended runtime for OmO Native; npm works, but bun is what
|
|
5
|
+
export declare const NATIVE_RECOMMENDED_RUNTIME_NOTE = "bun is the recommended runtime for OmO Native; npm works, but bun is what OmO Native is tested on.";
|
|
4
6
|
export type NativePackageManager = "bun" | "npm";
|
|
5
7
|
export interface NativeInstallPlan {
|
|
6
8
|
readonly packageManager: NativePackageManager;
|