@webpresso/agent-kit@0.8.0
Minor Changes
-
ba66596: Eliminate the dangling-symlink class in
.agents/skills/and hardenak setup
against partial / non-local installs.Fix:
ak setupno longer emits broken symlinks under
.agents/skills/<slug>/<file>when the skill's source path is missing.
The legacysyncPerSkillConsumerwriter had an asymmetric fallback (listing
fell back to.agent/skills/, but symlink targets pointed at the missing
node_modules/.../skills/), so it would print✅while leaving every
symlink dangling. The replacementsyncSkillFanoutresolves source from
.agent/skills/<slug>/only, walks recursively to support nested asset
files (e.g.tanstack-query/references/,systematic-debugging/CREATION-LOG.md),
and reusesisSymlinkPointingTofor idempotency.Fix:
ak setupandak syncnow exit 1 with an actionable message
when@webpresso/agent-kitis missing from the consumer'snode_modules/
(e.g. after a failedpnpm installor a yanked dependency).ak init: @webpresso/agent-kit not installed in node_modules. Run `pnpm install` first.Previously,
loadContent's technical "catalogDir does not exist" error
surfaced through to the user without rewrite.Breaking:
.agents/skills/is now exclusively managed by agent-kit.
Top-level directories that don't correspond to a skill in.agent/skills/
are removed recursively on nextak setup. Each removal logs to stderr
(Removed unexpected directory: .agents/skills/<slug>) so the action is
never silent. The legacy writer was conservative — it only removed empty
stale directories — but the contract was always "agent-kit owns this
path" (see the# managed by @webpresso/agent-kit (skill-sync)block in
your.gitignore). If you have hand-curated content under
.agents/skills/<slug>/, move it to a slug name not in.agent/skills/
or relocate it outside the directory.Breaking:
ak setupnow expects@webpresso/agent-kitto be
installed in the consumer'snode_modules/. Running via a global
install (e.g. a manual symlink in/opt/homebrew/bin/akor
pnpm install -g @webpresso/agent-kit) is no longer supported in
silence: setup prints a stderr warning when the running CLI does not
live under<repoRoot>/node_modules/. The warning is non-blocking, but
the global-install path produced non-reproducible setups (symlinks
resolving to whatever version was globally installed; lockfile irrelevant)
and is being deprecated. Pin@webpresso/agent-kitas a local dep and
run viapnpm exec ak setup.Internal: Dropped
sourceRootDirandsourcePrefixfrom
PerSkillConsumerConfig. The legacysyncPerSkillConsumer/
syncPerSkillConsumersexports are renamed tosyncSkillFanout/
syncSkillFanoutsand now return{ wrote: number }instead of a bare
number.isSymlinkPointingTois now exported from
@webpresso/agent-kit/symlinker/unified-syncfor reuse across writers.
Patch Changes
- 6fbe0dd: Migrate deprecated Codex
[features].codex_hooksconfig entries to[features].hooksafterak setupruns the OMX preset, so older oh-my-codex releases do not keep triggering Codex deprecation warnings.