Skip to content

feat(repo): introduce workspace packages and Forge State Hub - #5

Merged
kaihocd merged 10 commits into
mainfrom
dev-github-actions
Aug 14, 2026
Merged

feat(repo): introduce workspace packages and Forge State Hub#5
kaihocd merged 10 commits into
mainfrom
dev-github-actions

Conversation

@kaihocd

@kaihocd kaihocd commented Aug 14, 2026

Copy link
Copy Markdown
Owner

No description provided.

kaihocd added 10 commits August 14, 2026 00:43
Add state, starship and zsh to the allowed scope list so subsequent
feature commits can use them.
Extract expandHome and manifest sync-entry loading into a reusable
workspace package so configuration packages and root scripts can share
the same implementation.
Add a Unix-socket state hub with get/set/watch operations and a
forge-state CLI. Runtime packages can now read shared state (e.g.
swatch.theme) from a single source instead of invoking each other.
Replace the private ~/.local/state/swatch/current.json store with the
shared State Hub. swatch.theme holds the validated Theme object and
swatch.selection keeps the Theme ID for recovery. Remove the WezTerm
adapter from Swatch; consumers now read swatch.theme directly.
Move Starship, WezTerm and Zsh from configs/ into workspace packages
that own their sync plans. Update forge.config.yaml to register
packages by name and type rather than standalone manifests. Root sync
now delegates to enabled package sync scripts and reuses the shared
manifest loader from @forge/shared.
Reflect the migration from configs/ to workspace packages, the new
Forge State Hub, and the removal of Swatch's WezTerm adapter.
Build-first workspace packages (@forge/shared and @forge/state) export
from dist/, so check and test need the built artifacts. Run pnpm build
after install and before pnpm check.
@kaihocd kaihocd changed the title Dev GitHub actions feat(repo): introduce workspace packages and Forge State Hub Aug 14, 2026
@kaihocd
kaihocd merged commit 594d4e3 into main Aug 14, 2026
4 of 5 checks passed
@kaihocd
kaihocd deleted the dev-github-actions branch August 14, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant