From b199df73bb6d8cba98ea022526d7030daef54d80 Mon Sep 17 00:00:00 2001 From: matamune Date: Wed, 20 May 2026 16:56:21 +0000 Subject: [PATCH] release: align package metadata --- .forgejo/workflows/ci.yml | 2 +- CONTRIBUTING.md | 41 ++++++++++++++++++----- apps/discord-bridge/package.json | 4 +-- apps/workspace-voice-gateway/package.json | 4 +-- bun.lock | 26 +++++--------- packages/flow-backend-convex/package.json | 4 +-- packages/flow-runtime/package.json | 4 +-- 7 files changed, 50 insertions(+), 35 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index fc74d7a..476bdec 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: uses: actions/checkout@v4 - name: Install Bun - run: npm install -g bun@1.3.13 + run: npm install -g bun@1.3.11 - name: Install dependencies run: bun install --frozen-lockfile diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f6244cb..e13be15 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,18 +1,41 @@ # Contributing -Install dependencies and run the checks before submitting changes: +Install dependencies from the repository root: ```bash bun install -bun run build -bun run test ``` -Keep changes scoped to the bare package set: +Run the checks that match the area you touched. For broad changes, use: -- `apps/web` -- `packages/codex-client` -- `packages/ui` +```bash +bun run check:types +bun run test +bun run release:check +``` -Avoid reintroducing service, workspace backend, job, or host setup code on this -branch. +This is a Bun monorepo. Keep changes scoped to the smallest package, app, flow, +or docs surface that solves the problem: + +- `packages/codex-client` owns the public `@peezy.tech/codex-flows` package, + app-server clients, generated protocol types, workspace helpers, and bundled + bins. +- `packages/flow-runtime` and `packages/flow-backend-convex` are compatibility + and backend-library packages while the single-package platform migration + continues. +- `apps/discord-bridge` and `apps/workspace-voice-gateway` are gateway packages + that depend on `@peezy.tech/codex-flows`. +- `apps/workspace-backend`, `apps/web`, `apps/cli`, and `apps/flow-runner` are + workspace-local apps that are also bundled into the core package where + appropriate. +- `flows` contains bundled flow packages used to maintain Codex bindings and + Peezy fork releases. +- `docs/pages` is the canonical user documentation. + +Generated app-server protocol files live under +`packages/codex-client/src/app-server/generated`. Do not hand-edit generated +types unless you are deliberately repairing a generated update and will +regenerate or document the follow-up. + +Release and remote policy lives in `RELEASE.md`: jojo.build is canonical, +Codeberg is a mirror, and GitHub is used for npm trusted publishing. diff --git a/apps/discord-bridge/package.json b/apps/discord-bridge/package.json index 58363b8..d632703 100644 --- a/apps/discord-bridge/package.json +++ b/apps/discord-bridge/package.json @@ -1,6 +1,6 @@ { "name": "@peezy.tech/codex-discord-bridge", - "version": "0.1.0", + "version": "0.1.1", "description": "Long-lived Discord sidecar for bridging Discord threads to Codex app-server threads.", "type": "module", "license": "Apache-2.0", @@ -38,7 +38,7 @@ "test": "bun test test/*.test.ts" }, "dependencies": { - "@peezy.tech/codex-flows": "^0.3.4", + "@peezy.tech/codex-flows": "^0.132.0", "discord.js": "^14.22.1" }, "devDependencies": { diff --git a/apps/workspace-voice-gateway/package.json b/apps/workspace-voice-gateway/package.json index 4ebfd1d..a8d9b2f 100644 --- a/apps/workspace-voice-gateway/package.json +++ b/apps/workspace-voice-gateway/package.json @@ -1,6 +1,6 @@ { "name": "@peezy.tech/codex-workspace-voice-gateway", - "version": "0.1.0", + "version": "0.1.1", "description": "Broadcast-only Discord voice gateway for Codex workspace backend updates.", "type": "module", "license": "Apache-2.0", @@ -38,7 +38,7 @@ }, "dependencies": { "@discordjs/voice": "^0.19.2", - "@peezy.tech/codex-flows": "^0.3.4", + "@peezy.tech/codex-flows": "^0.132.0", "discord.js": "^14.22.1", "opusscript": "^0.1.1" }, diff --git a/bun.lock b/bun.lock index 56703ba..50fc55d 100644 --- a/bun.lock +++ b/bun.lock @@ -22,12 +22,12 @@ }, "apps/discord-bridge": { "name": "@peezy.tech/codex-discord-bridge", - "version": "0.1.0", + "version": "0.1.1", "bin": { "codex-discord-bridge": "./dist/index.js", }, "dependencies": { - "@peezy.tech/codex-flows": "^0.3.4", + "@peezy.tech/codex-flows": "^0.132.0", "discord.js": "^14.22.1", }, "devDependencies": { @@ -88,13 +88,13 @@ }, "apps/workspace-voice-gateway": { "name": "@peezy.tech/codex-workspace-voice-gateway", - "version": "0.1.0", + "version": "0.1.1", "bin": { "codex-workspace-voice-gateway": "./dist/index.js", }, "dependencies": { "@discordjs/voice": "^0.19.2", - "@peezy.tech/codex-flows": "^0.3.4", + "@peezy.tech/codex-flows": "^0.132.0", "discord.js": "^14.22.1", "opusscript": "^0.1.1", }, @@ -116,7 +116,7 @@ }, "packages/codex-client": { "name": "@peezy.tech/codex-flows", - "version": "0.4.0", + "version": "0.132.0", "bin": { "codex-flows": "./dist/cli/index.js", "codex-app": "./dist/bin/codex-app.js", @@ -138,9 +138,9 @@ }, "packages/flow-backend-convex": { "name": "@peezy.tech/flow-backend-convex", - "version": "0.4.0", + "version": "0.4.1", "dependencies": { - "@peezy.tech/codex-flows": "^0.3.4", + "@peezy.tech/codex-flows": "^0.132.0", "convex": "^1.38.0", }, "devDependencies": { @@ -151,9 +151,9 @@ }, "packages/flow-runtime": { "name": "@peezy.tech/flow-runtime", - "version": "0.4.0", + "version": "0.4.1", "dependencies": { - "@peezy.tech/codex-flows": "^0.3.1", + "@peezy.tech/codex-flows": "^0.132.0", }, "devDependencies": { "@types/bun": "catalog:", @@ -1763,14 +1763,6 @@ "@mswjs/interceptors/@open-draft/deferred-promise": ["@open-draft/deferred-promise@2.2.0", "", {}, "sha512-CecwLWx3rhxVQF6V4bAgPS5t+So2sTbPgAzafKkVizyi7tlwpcFpdFqq+wqF2OwNBmqFuu6tOyouTuxgpMfzmA=="], - "@peezy.tech/codex-discord-bridge/@peezy.tech/codex-flows": ["@peezy.tech/codex-flows@0.3.6", "", { "bin": { "codex-flows": "dist/cli/index.js", "codex-app": "dist/bin/codex-app.js", "codex-flow-runner": "dist/bin/codex-flow-runner.js", "codex-workspace-backend-local": "dist/bin/codex-workspace-backend-local.js" } }, "sha512-Iz9xGr4NP9eB9uMohvWAeiiKDkorJ9pwp3fwIshoDDFg9h5ggf+qxyWDS5Azb6hemdwafdzPWMLUbB5qg4cFOQ=="], - - "@peezy.tech/codex-workspace-voice-gateway/@peezy.tech/codex-flows": ["@peezy.tech/codex-flows@0.3.6", "", { "bin": { "codex-flows": "dist/cli/index.js", "codex-app": "dist/bin/codex-app.js", "codex-flow-runner": "dist/bin/codex-flow-runner.js", "codex-workspace-backend-local": "dist/bin/codex-workspace-backend-local.js" } }, "sha512-Iz9xGr4NP9eB9uMohvWAeiiKDkorJ9pwp3fwIshoDDFg9h5ggf+qxyWDS5Azb6hemdwafdzPWMLUbB5qg4cFOQ=="], - - "@peezy.tech/flow-backend-convex/@peezy.tech/codex-flows": ["@peezy.tech/codex-flows@0.3.6", "", { "bin": { "codex-flows": "dist/cli/index.js", "codex-app": "dist/bin/codex-app.js", "codex-flow-runner": "dist/bin/codex-flow-runner.js", "codex-workspace-backend-local": "dist/bin/codex-workspace-backend-local.js" } }, "sha512-Iz9xGr4NP9eB9uMohvWAeiiKDkorJ9pwp3fwIshoDDFg9h5ggf+qxyWDS5Azb6hemdwafdzPWMLUbB5qg4cFOQ=="], - - "@peezy.tech/flow-runtime/@peezy.tech/codex-flows": ["@peezy.tech/codex-flows@0.3.6", "", { "bin": { "codex-flows": "dist/cli/index.js", "codex-app": "dist/bin/codex-app.js", "codex-flow-runner": "dist/bin/codex-flow-runner.js", "codex-workspace-backend-local": "dist/bin/codex-workspace-backend-local.js" } }, "sha512-Iz9xGr4NP9eB9uMohvWAeiiKDkorJ9pwp3fwIshoDDFg9h5ggf+qxyWDS5Azb6hemdwafdzPWMLUbB5qg4cFOQ=="], - "@rollup/pluginutils/estree-walker": ["estree-walker@2.0.2", "", {}, "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="], "@tailwindcss/oxide-wasm32-wasi/@emnapi/core": ["@emnapi/core@1.10.0", "", { "dependencies": { "@emnapi/wasi-threads": "1.2.1", "tslib": "^2.4.0" }, "bundled": true }, "sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw=="], diff --git a/packages/flow-backend-convex/package.json b/packages/flow-backend-convex/package.json index 37a2021..f2a57ea 100644 --- a/packages/flow-backend-convex/package.json +++ b/packages/flow-backend-convex/package.json @@ -1,6 +1,6 @@ { "name": "@peezy.tech/flow-backend-convex", - "version": "0.4.0", + "version": "0.4.1", "description": "Reusable Convex component for durable codex-flow event, run, lease, and result state.", "type": "module", "license": "Apache-2.0", @@ -52,7 +52,7 @@ "test": "bun test test/*.test.ts" }, "dependencies": { - "@peezy.tech/codex-flows": "^0.3.4", + "@peezy.tech/codex-flows": "^0.132.0", "convex": "^1.38.0" }, "devDependencies": { diff --git a/packages/flow-runtime/package.json b/packages/flow-runtime/package.json index bec80cb..3ad1411 100644 --- a/packages/flow-runtime/package.json +++ b/packages/flow-runtime/package.json @@ -1,6 +1,6 @@ { "name": "@peezy.tech/flow-runtime", - "version": "0.4.0", + "version": "0.4.1", "description": "Generic flow package loader and runner primitives.", "type": "module", "license": "Apache-2.0", @@ -56,7 +56,7 @@ "test": "bun test test/*.test.ts" }, "dependencies": { - "@peezy.tech/codex-flows": "^0.3.1" + "@peezy.tech/codex-flows": "^0.132.0" }, "devDependencies": { "@types/bun": "catalog:",