Codex-native local/SSH toybox, automation, delegation, and proxy tooling
Find a file
2026-05-20 02:35:42 +00:00
.codex/skills/jojo-development-flow Rename development flow skill for jojo 2026-05-12 21:50:51 +00:00
.forgejo/workflows Package gateways around codex-flows core 2026-05-17 14:13:50 +00:00
.github/workflows Allow package-specific publish workflow runs 2026-05-18 00:01:57 +00:00
apps Package gateways around codex-flows core 2026-05-17 14:13:50 +00:00
docs Run Codex fork release flow with Bun 2026-05-20 00:49:53 +00:00
flows Start follow-up turns for release flow interventions 2026-05-20 02:35:42 +00:00
packages Run Codex fork release flow with Bun 2026-05-20 00:49:53 +00:00
scripts Remove thread bundle transplant support 2026-05-18 18:01:32 +00:00
.gitignore Fix codex-flows fork release overlay 2026-05-18 19:35:10 +00:00
bun.lock Remove thread bundle transplant support 2026-05-18 18:01:32 +00:00
bunfig.toml Initial codex-flows monorepo 2026-05-12 15:15:09 +00:00
CODE_OF_CONDUCT.md Initial codex-flows monorepo 2026-05-12 15:15:09 +00:00
CONTRIBUTING.md Merge gateway primitives into workspace backend 2026-05-16 04:40:28 +00:00
LICENSE Initial codex-flows monorepo 2026-05-12 15:15:09 +00:00
mprocs.voice.yaml Add workspace voice gateway 2026-05-17 13:13:16 +00:00
mprocs.yaml Release codex-flows 0.3.5 2026-05-17 23:58:27 +00:00
package.json Package gateways around codex-flows core 2026-05-17 14:13:50 +00:00
README.md Add direct Codex thread transplant 2026-05-18 14:59:38 +00:00
RELEASE.md Package gateways around codex-flows core 2026-05-17 14:13:50 +00:00
SECURITY.md Add direct Codex thread transplant 2026-05-18 14:59:38 +00:00

codex-flows

Codex app-server clients, flow automation, workspace backend tools, and repo-native workspace operations.

This repository is a monorepo. The npm package users should install is @peezy.tech/codex-flows, which publishes app-server client APIs, flow runtime helpers, workspace backend helpers, the codex-flows CLI, and runnable local backend bins. Gateway packages such as Discord integrations consume this package instead of being bundled into it. The full user documentation lives in the Tome docs site under docs/pages.

Start Here

Repo Map

  • packages/codex-client: @peezy.tech/codex-flows, the app-server client, transports, workspace backend helpers, CLI, auth helpers, workbench reducers, and generated app-server protocol types.
  • packages/flow-runtime: generic FlowEvent runtime, manifest loading, local execution, backend clients, and Bun or gated Code Mode step runners.
  • packages/flow-backend-convex: reusable Convex component for generic flow events, runs, attempts, leases, output, and result payloads.
  • apps/workspace-backend: local workspace backend process with browser/control WebSocket and optional flow HTTP routes.
  • apps/discord-bridge: Discord sidecar for Codex app-server threads, workspace delegation, workbench views, and flow inspection.
  • apps/workspace-voice-gateway: broadcast-only Discord voice sidecar for selected workspace backend updates via the TTS worker.
  • apps/flow-runner: CLI for listing and running local flow packages.
  • apps/web: browser UI that talks to the local workspace backend.
  • docs: Tome documentation source.
  • flows: bundled flow packages.

Common Commands

Install dependencies:

bun install

Run checks:

bun run check:types
bun run test
bun run docs:build

Run the local backend and web app:

bun run workspace:backend --local-app-server
bun run dev

Run the local voice broadcast stack:

bun run voice:up

Inspect the CLI:

bun packages/codex-client/src/cli/index.ts --help
codex-flows fetch
codex-flows workspace doctor
codex-flows memories transplant global-to-workspace
codex-flows threads transplant <thread-id> --from-codex-home ~/.codex --to-codex-home ./.codex
codex-flows pack inspect owner/repo

Documentation Model

The root README is intentionally short. Canonical documentation belongs in the docs site:

  • Tutorials teach a first successful workflow.
  • Guides cover operational tasks such as workspace autonomy, memory transplant, thread transplant, pack repo install, local backend operation, Discord bridge operation, and release flow operation.
  • Reference pages define CLI commands, package exports, backend APIs, FlowEvent, FLOW_RESULT, and flow.toml.
  • Concepts explain boundaries between app-server clients, flow automation, workspace backends, and product-owned domain completion.

Package READMEs stay npm-focused: install, exports, minimal examples, and links back to the docs site.

Published Packages

The canonical user-facing package is:

  • @peezy.tech/codex-flows

Gateway packages are published separately and depend on the core package:

  • @peezy.tech/codex-discord-bridge
  • @peezy.tech/codex-workspace-voice-gateway

The release train still contains compatibility/library packages while the single-package platform consolidation continues:

  • @peezy.tech/flow-runtime
  • @peezy.tech/flow-backend-convex

Release procedure and remote policy are in RELEASE.md. In short: jojo.build is the canonical development remote, Codeberg is a push mirror, and GitHub is used for the npm publishing workflow.