refactor: rename workflow-agent-kit → workflow-util-agent, merge moderator #513

Merged
xiaomo merged 1 commits from refactor/512-rename-packages into main 2026-05-25 11:20:39 +00:00
Owner

What

Rename workflow-agent-kitworkflow-util-agent to match naming convention (workflow-agent-xxx = CLI adapters, workflow-util-xxx = libraries).

Merge workflow-moderator (62 LOC, only used by cli-workflow) into cli-workflow/src/moderator/.

Changes

  • packages/workflow-agent-kit/packages/workflow-util-agent/ (rename + all imports/refs)
  • packages/workflow-moderator/legacy-packages/ + inlined into cli-workflow
  • Dead file build-agent-prompt.ts deleted
  • All docs, tsconfig, package.json updated
  • scripts/publish-all.mjs publish order updated

Verification

  • bun run build
  • bun run test:ci (only pre-existing cli-workflow failures)
  • Zero references to old package names in source

Ref

Fixes #512

## What Rename `workflow-agent-kit` → `workflow-util-agent` to match naming convention (`workflow-agent-xxx` = CLI adapters, `workflow-util-xxx` = libraries). Merge `workflow-moderator` (62 LOC, only used by cli-workflow) into `cli-workflow/src/moderator/`. ## Changes - `packages/workflow-agent-kit/` → `packages/workflow-util-agent/` (rename + all imports/refs) - `packages/workflow-moderator/` → `legacy-packages/` + inlined into `cli-workflow` - Dead file `build-agent-prompt.ts` deleted - All docs, tsconfig, package.json updated - `scripts/publish-all.mjs` publish order updated ## Verification - `bun run build` ✅ - `bun run test:ci` ✅ (only pre-existing cli-workflow failures) - Zero references to old package names in source ## Ref Fixes #512
xiaoju added 1 commit 2026-05-25 10:51:39 +00:00
- Rename packages/workflow-agent-kit → packages/workflow-util-agent
- Update all imports, tsconfig references, docs
- Delete dead file packages/workflow-util-agent/src/build-agent-prompt.ts
- Merge workflow-moderator (62 LOC) into cli-workflow/src/moderator/
- Move workflow-moderator to legacy-packages/
- Add mustache dependency to cli-workflow
- Update publish-all.mjs

Fixes #512
xiaomo approved these changes 2026-05-25 11:20:34 +00:00
xiaomo left a comment
Owner

LGTM 命名规范化 + moderator 内联,干净利落。

LGTM ✅ 命名规范化 + moderator 内联,干净利落。
xiaomo merged commit 2f4473f22c into main 2026-05-25 11:20:39 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#513