refactor: align package folder names with npm package names #21

Closed
opened 2026-06-02 15:39:53 +00:00 by xingyue · 0 comments
Owner

Problem

Phase 1 renamed npm packages from @uncaged/* to @united-workforce/*, but the folder names under packages/ still carry the old workflow- prefix.

Current state

Folder Package name
cli-workflow @united-workforce/cli
workflow-agent-builtin @united-workforce/agent-builtin
workflow-agent-claude-code @united-workforce/agent-claude-code
workflow-agent-hermes @united-workforce/agent-hermes
workflow-dashboard @united-workforce/dashboard
workflow-protocol @united-workforce/protocol
workflow-util-agent @united-workforce/util-agent
workflow-util @united-workforce/util

Target

Rename folders to match the scope-stripped package name:
cli, agent-builtin, agent-claude-code, agent-hermes, dashboard, protocol, util-agent, util

Affected files

  • package.json workspace globs
  • tsconfig.json references (all packages)
  • biome.json if it references paths
  • CLAUDE.md monorepo structure section
  • Import paths in source (relative ../workflow-*/../*/)
  • CI config if any
  • scripts/ if any reference package dirs
  • Hermes skills that reference folder paths
## Problem Phase 1 renamed npm packages from `@uncaged/*` to `@united-workforce/*`, but the folder names under `packages/` still carry the old `workflow-` prefix. ## Current state | Folder | Package name | |--------|-------------| | `cli-workflow` | `@united-workforce/cli` | | `workflow-agent-builtin` | `@united-workforce/agent-builtin` | | `workflow-agent-claude-code` | `@united-workforce/agent-claude-code` | | `workflow-agent-hermes` | `@united-workforce/agent-hermes` | | `workflow-dashboard` | `@united-workforce/dashboard` | | `workflow-protocol` | `@united-workforce/protocol` | | `workflow-util-agent` | `@united-workforce/util-agent` | | `workflow-util` | `@united-workforce/util` | ## Target Rename folders to match the scope-stripped package name: `cli`, `agent-builtin`, `agent-claude-code`, `agent-hermes`, `dashboard`, `protocol`, `util-agent`, `util` ## Affected files - `package.json` workspace globs - `tsconfig.json` references (all packages) - `biome.json` if it references paths - `CLAUDE.md` monorepo structure section - Import paths in source (relative `../workflow-*/` → `../*/`) - CI config if any - `scripts/` if any reference package dirs - Hermes skills that reference folder paths
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shazhou/united-workforce#21