Codex-native local/SSH toybox, automation, delegation, and proxy tooling
Find a file
matamune 127735f90e
All checks were successful
trusted-ci / check (pull_request_target) Successful in 2m23s
pr-policy / check (pull_request_target) Successful in 5s
Simplify maintainer CI approval note
2026-05-20 22:47:42 +00:00
.codex/skills/jojo-development-flow Rename development flow skill for jojo 2026-05-12 21:50:51 +00:00
.forgejo/workflows Migrate to Node pnpm and VitePlus 2026-05-20 22:47:42 +00:00
.github/workflows Migrate to Node pnpm and VitePlus 2026-05-20 22:47:42 +00:00
apps Expose event emitter and narrow source aliases 2026-05-20 22:47:42 +00:00
docs Align package versions with Codex release line 2026-05-20 22:47:42 +00:00
flows Migrate to Node pnpm and VitePlus 2026-05-20 22:47:42 +00:00
packages Expose event emitter and narrow source aliases 2026-05-20 22:47:42 +00:00
scripts Migrate to Node pnpm and VitePlus 2026-05-20 22:47:42 +00:00
.gitignore Fix codex-flows fork release overlay 2026-05-18 19:35:10 +00:00
.node-version Migrate to Node pnpm and VitePlus 2026-05-20 22:47:42 +00:00
CODE_OF_CONDUCT.md Initial codex-flows monorepo 2026-05-12 15:15:09 +00:00
CONTRIBUTING.md Simplify maintainer CI approval note 2026-05-20 22:47:42 +00:00
LICENSE Initial codex-flows monorepo 2026-05-12 15:15:09 +00:00
mprocs.voice.yaml Migrate to Node pnpm and VitePlus 2026-05-20 22:47:42 +00:00
mprocs.yaml Migrate to Node pnpm and VitePlus 2026-05-20 22:47:42 +00:00
package.json Align package versions with Codex release line 2026-05-20 22:47:42 +00:00
pnpm-lock.yaml Migrate to Node pnpm and VitePlus 2026-05-20 22:47:42 +00:00
pnpm-workspace.yaml Migrate to Node pnpm and VitePlus 2026-05-20 22:47:42 +00:00
README.md Migrate to Node pnpm and VitePlus 2026-05-20 22:47:42 +00:00
RELEASE.md Align package versions with Codex release line 2026-05-20 22:47:42 +00:00
SECURITY.md Add direct Codex thread transplant 2026-05-18 14:59:38 +00:00
vite.config.ts Expose event emitter and narrow source aliases 2026-05-20 22:47:42 +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 Node 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:

vp install

Run checks:

vp run check:types
vp run test
vp run docs:build

Run the local backend and web app:

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

Run the local voice broadcast stack:

vp run voice:up

Inspect the CLI:

tsx 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.