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. The full user documentation lives in the Tome docs site under
docs/pages.
- New users: read
docs/pages/index.md. - CLI reference:
docs/pages/reference/cli.md. - Workspace autonomy:
docs/pages/guides/workspace-autonomy.md. - Memory transplant:
docs/pages/guides/memory-transplant.md. - Thread transplant:
docs/pages/guides/thread-transplant.md. - Codex plugin:
docs/pages/guides/install-codex-plugin.md. - Optional pack copies:
docs/pages/guides/install-pack-repos.md. - Single-package platform:
docs/pages/concepts/single-package-platform.md. - Maintainers and release operators:
RELEASE.md.
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: genericFlowEventruntime, manifest loading, local execution, backend clients, and Node 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 control WebSocket and optional flow HTTP routes.apps/flow-runner: CLI for listing and running local flow packages.docs: Tome documentation source.flows: bundled flow packages.
Install dependencies:
vp installRun checks:
vp run check:types
vp run test
vp run docs:buildRun the local backend:
vp run workspace:backend --local-app-serverInspect 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 ./.codexInstall the Codex plugin from GitHub. It loads the Codex-facing skills and the plugin-bundled lifecycle hooks:
codex plugin marketplace add peezy-tech/codex-flows --ref main
codex plugin add codex-flows@codex-flowsThe 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, plugin install, optional pack copies, local backend operation, and release flow operation.
- Reference pages define CLI commands, package exports, backend APIs,
FlowEvent,FLOW_RESULT, andflow.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.
The canonical user-facing package is:
@peezy.tech/codex-flows
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.