From 3401873051afce5c435aa2177bd5aea14f6b1675 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=A9=98?= Date: Thu, 4 Jun 2026 13:05:26 +0000 Subject: [PATCH] =?UTF-8?q?chore:=20rebranding=20cleanup=20=E2=80=94=20res?= =?UTF-8?q?et=20versions=20to=200.1.0,=20bun=E2=86=92pnpm=20in=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - All 9 packages reset to version 0.1.0 - CLAUDE.md: bun→pnpm, fixed→independent versioning, proman commands - docs/architecture.md: bun→pnpm in toolchain table - docs/sync-readme.md: bun→pnpm in conventions --- CLAUDE.md | 31 +++++++++++++++-------------- docs/architecture.md | 2 +- docs/sync-readme.md | 6 +++--- packages/agent-builtin/package.json | 2 +- packages/agent-hermes/package.json | 2 +- packages/agent-mock/package.json | 2 +- packages/cli/package.json | 2 +- packages/dashboard/package.json | 2 +- packages/protocol/package.json | 2 +- packages/util-agent/package.json | 2 +- packages/util/package.json | 2 +- 11 files changed, 28 insertions(+), 27 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index bc3c9ca..de5de11 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -222,41 +222,42 @@ Test files (`__tests__/**`) are exempt. | Tool | Purpose | |------|---------| -| **bun** | Package manager + runtime | +| **pnpm** | Package manager | | **TypeScript** | Type checking (strict mode) | | **Biome** | Lint + format (replaces ESLint + Prettier) | -| **vitest** | Test runner (`cli` uses vitest; other packages use `bun test`) | +| **vitest** | Test runner (all packages) | ### Development Workflow ```bash # ── Setup ── -bun install # install all workspace dependencies +pnpm install # install all workspace dependencies # ── Daily development ── -bun run build # tsc --build (all packages, dependency order) -bun run check # tsc --build + biome check + lint-log-tags -bun run format # biome format --write -bun test # run tests across all packages +pnpm run build # build all packages (dependency order) +pnpm run check # biome check + lint-log-tags +pnpm run typecheck # tsc --build +pnpm run test # run tests across all packages # ── Before committing ── -bun run check # must pass — typecheck + lint + log tag validation -bun test # must pass — all package tests +pnpm run check # must pass — lint + log tag validation +pnpm run typecheck # must pass — type checking +pnpm run test # must pass — all package tests ``` ### Publishing -All public `@united-workforce/*` packages are published to **npmjs.org** with **fixed mode** (all packages share the same version number). +All public `@united-workforce/*` packages are published to **npmjs.org** with **independent versioning**. ```bash # 1. Add a changeset describing the change -bun changeset +npx changeset -# 2. Bump all package versions + generate CHANGELOGs -bun version +# 2. Bump versions + generate CHANGELOGs +proman bump -# 3. Build, test, and publish (runs scripts/publish-all.mjs) -bun release +# 3. Build, test, and publish +proman publish # Or publish manually with a tag: node scripts/publish-all.mjs --tag alpha diff --git a/docs/architecture.md b/docs/architecture.md index 9ca9da0..1c0d220 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -470,7 +470,7 @@ Use the `ocas` CLI for direct CAS operations (`~/.ocas/` store, shared with `uwf | Tool | Purpose | |------|---------| -| **bun** | Package manager + runtime | +| **pnpm** | Package manager | | **TypeScript** | Type checking (strict mode) | | **Biome** | Lint + format | | **vitest** | Test runner | diff --git a/docs/sync-readme.md b/docs/sync-readme.md index e70b6d9..3e0358e 100644 --- a/docs/sync-readme.md +++ b/docs/sync-readme.md @@ -17,7 +17,7 @@ The root README should have these sections in order: 4. **Packages** — table with ALL packages from packages/ directory, columns: Package, Description, Type (cli/lib/agent/app) 5. **Quick Start** — install, build, register workflow, start thread, run step 6. **CLI Reference** — brief command list, detailed usage in cli README -7. **Development** — bun install / build / check / test +7. **Development** — pnpm install / build / check / test ## Per-Package README Structure @@ -26,7 +26,7 @@ Each package README should have: 1. **Title** — package name 2. **One-line description** — matching package.json 3. **Overview** — what it does, where it sits in the architecture, dependencies -4. **Installation** — bun add (for libs) or "included as binary" (for cli/agents) +4. **Installation** — pnpm add (for libs) or "included as binary" (for cli/agents) 5. **API** (lib packages) — all exports from src/index.ts with type signatures, grouped by category, minimal usage examples 6. **CLI Usage** (cli/agent packages) — command reference with examples 7. **Internal Structure** — brief src/ file organization @@ -56,7 +56,7 @@ For each package read: - All relative links work - Package names match package.json - No references to removed/renamed packages -- bun run build still passes +- pnpm run build still passes ## Guidelines diff --git a/packages/agent-builtin/package.json b/packages/agent-builtin/package.json index a6b93c1..b6275be 100644 --- a/packages/agent-builtin/package.json +++ b/packages/agent-builtin/package.json @@ -1,6 +1,6 @@ { "name": "@united-workforce/agent-builtin", - "version": "0.5.0", + "version": "0.1.0", "files": [ "src", "dist", diff --git a/packages/agent-hermes/package.json b/packages/agent-hermes/package.json index b27f390..fb823c6 100644 --- a/packages/agent-hermes/package.json +++ b/packages/agent-hermes/package.json @@ -1,6 +1,6 @@ { "name": "@united-workforce/agent-hermes", - "version": "0.5.0", + "version": "0.1.0", "files": [ "src", "dist", diff --git a/packages/agent-mock/package.json b/packages/agent-mock/package.json index 62fe149..13f0397 100644 --- a/packages/agent-mock/package.json +++ b/packages/agent-mock/package.json @@ -1,6 +1,6 @@ { "name": "@united-workforce/agent-mock", - "version": "0.5.0", + "version": "0.1.0", "files": [ "src", "dist", diff --git a/packages/cli/package.json b/packages/cli/package.json index 62cd5cf..c8bec01 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@united-workforce/cli", - "version": "0.5.0", + "version": "0.1.0", "files": [ "src", "dist", diff --git a/packages/dashboard/package.json b/packages/dashboard/package.json index eb8e8cd..0881b84 100644 --- a/packages/dashboard/package.json +++ b/packages/dashboard/package.json @@ -1,6 +1,6 @@ { "name": "@united-workforce/dashboard", - "version": "0.5.0-alpha.4", + "version": "0.1.0", "private": true, "type": "module", "scripts": { diff --git a/packages/protocol/package.json b/packages/protocol/package.json index 4c61b86..2d82bd8 100644 --- a/packages/protocol/package.json +++ b/packages/protocol/package.json @@ -1,6 +1,6 @@ { "name": "@united-workforce/protocol", - "version": "0.5.0", + "version": "0.1.0", "files": [ "src", "dist", diff --git a/packages/util-agent/package.json b/packages/util-agent/package.json index 5480b19..e4b0e5a 100644 --- a/packages/util-agent/package.json +++ b/packages/util-agent/package.json @@ -1,6 +1,6 @@ { "name": "@united-workforce/util-agent", - "version": "0.5.0", + "version": "0.1.0", "files": [ "src", "dist", diff --git a/packages/util/package.json b/packages/util/package.json index 82aa860..a7f3400 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -1,6 +1,6 @@ { "name": "@united-workforce/util", - "version": "0.5.0", + "version": "0.1.0", "files": [ "src", "dist", -- 2.43.0