Skip to content

Introduce LazyCodex#4471

Merged
code-yeongyu merged 155 commits into
devfrom
omodex
May 30, 2026
Merged

Introduce LazyCodex#4471
code-yeongyu merged 155 commits into
devfrom
omodex

Conversation

@code-yeongyu

@code-yeongyu code-yeongyu commented May 25, 2026

Copy link
Copy Markdown
Owner

Introduces LazyCodex, the Codex harness path for OmO: https://lazycodex.ai

lazycodex

Vendored codex-plugins as packages/omo-codex/.

New CLI flag --codex and shortcut lazycodex (npm-publishable, routed via OMO_INVOCATION_NAME).

Parallel PostHog event omo_codex_daily_active with full opt-out (OMO_CODEX_DISABLE_POSTHOG, OMO_CODEX_SEND_ANONYMOUS_TELEMETRY, plus inherited OMO_DISABLE_POSTHOG / OMO_SEND_ANONYMOUS_TELEMETRY).

Backward compat: bunx oh-my-opencode install and bunx oh-my-openagent install still work; --codex is purely additive.

Test coverage: 489 tests pass in changed dirs (src/cli/ + packages/omo-codex/src/).

typecheck clean.

Manual QA: verified idempotent install against /tmp CODEX_HOME, all 4 expected sections in resulting config.toml.

MUST use merge commit.


Summary by cubic

Ships the Codex Light edition (“LazyCodex”) so OmO runs inside Codex CLI with a one‑command install. Adds the @oh-my-opencode/omo-codex marketplace bundle, lazycodex/omo Node bins, a Content‑Length framed JSON‑RPC MCP stdio server with idle exit and rotating tmp logs, and platform‑prefixed session IDs.

  • New Features

    • Codex Light for Codex CLI: install via bunx omo install --platform=codex or lazycodex; vendored marketplace sisyphuslabs/omo in @oh-my-opencode/omo-codex with rules, comment-checker, lsp, ultrawork, ulw-loop, start-work-continuation, and telemetry; idempotent; --platform <opencode|codex|both>.
    • Bins/wrapper: unified bins oh-my-opencode, oh-my-openagent, omo, lazycodex; wrapper maps lazycodex to the oh-my-openagent platform family so npx lazycodex runs without Bun; tests added.
    • MCP/LSP: ast-grep-mcp renamed to omo-ast-grep; new Content‑Length framed JSON‑RPC stdio server with line‑mode fallback, idle timeout, and rotating lifecycle logs; Codex LSP consumes packages/lsp-tools-mcp; Windows shims; tests cover framing, idle exit, and package smoke.
    • State/telemetry: exported normalizeSessionId() from @oh-my-opencode/boulder-state and applied across read/write/session/task (defaults to opencode:; uses codex: when running under Codex); Codex adapter emits omo_codex_daily_active on install and Codex SessionStart, with OMO_CODEX_DISABLE_POSTHOG/OMO_CODEX_SEND_ANONYMOUS_TELEMETRY opt‑outs.
    • Schema: renamed skill key to remove-ai-slops and normalized init-deep placement.
  • CI/Docs/Publishing

    • CI on Ubuntu/macOS/Windows; Node 24; Bun 1.3.12.
    • publish.yml adds sync_lazycodex_marketplace and a soft first‑publish path for the lazycodex npm name (trusted‑publisher preflight, token check); quoting fixes for $GITHUB_OUTPUT.
    • Docs: “Ultimate vs Light” install guide with TL;DR; bin list including lazycodex/omo; docs/reference/lazycodex-npm-reservation.md; privacy policy documents omo_codex_daily_active.

Written for commit 11949ab. Summary will update on new commits.

Review in cubic

@code-yeongyu code-yeongyu added the ROADMAP Pull requests related to the multi-harness agent OS roadmap and package layering refactor label May 25, 2026
@gitguardian

gitguardian Bot commented May 25, 2026

Copy link
Copy Markdown

⚠️ GitGuardian has uncovered 2 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
30196031 Triggered Generic High Entropy Secret 08e0a98 packages/omo-codex/plugin/components/telemetry/src/product-identity.ts View secret
30196031 Triggered Generic High Entropy Secret 3ab50de packages/omo-codex/src/telemetry/product-identity.ts View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@code-yeongyu code-yeongyu changed the title feat(omo-codex): import Codex harness adapter with --codex installer + lazycodex shortcut Introduce LazyCodex May 26, 2026
@code-yeongyu code-yeongyu force-pushed the omodex branch 4 times, most recently from c68dc5a to 5030a11 Compare May 29, 2026 02:19
@code-yeongyu code-yeongyu force-pushed the omodex branch 3 times, most recently from 7dbd07b to ccaa5b1 Compare May 30, 2026 05:50
Resolve LazyCodex/Codex integration conflicts and keep Codex install compatibility checks building bundled MCP runtimes before installer tests.
@code-yeongyu code-yeongyu merged commit ab02443 into dev May 30, 2026
17 checks passed
@code-yeongyu code-yeongyu deleted the omodex branch May 30, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ROADMAP Pull requests related to the multi-harness agent OS roadmap and package layering refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant