Skip to content

refactor: embed skills/agents via include_dir, remove setup binary#43

Open
chinkan wants to merge 2 commits into
mainfrom
claude/embed-skills-remove-setup-binary
Open

refactor: embed skills/agents via include_dir, remove setup binary#43
chinkan wants to merge 2 commits into
mainfrom
claude/embed-skills-remove-setup-binary

Conversation

@chinkan

@chinkan chinkan commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Changes:

  • Embed skills and agents at compile time via include_dir crate (no more CWD-relative path issues for systemd service)
  • Remove two-layer SkillRegistry (instance + bundled with SkillSource) — simplified to single-layer
  • Remove src/bin/setup.rs and setup.sh — use rustfox --setup instead
  • Fix web wizard JS to only emit [skills]/[agents] sections when user provides non-empty values
  • Fix /update-skills to backup modified files before overwriting (creates .bak)
  • Remove bundled_directory from SkillsConfig/AgentsConfig — paths resolve under home by Config::resolve

chinkan added 2 commits June 13, 2026 01:37
- Remove two-layer SkillRegistry (instance + bundled with SkillSource)
- Embed skills/ and agents/ at compile time via include_dir crate
- Simplify SkillRegistry to single-layer skills map
- Remove src/bin/setup.rs and setup.sh (use rustfox --setup instead)
- Fix web wizard JS to only emit [skills]/[agents] when user provides values
- Fix /update-skills to backup modified files before overwriting
- Remove bundled_directory from SkillsConfig/AgentsConfig
- Fix all reload handlers to use full registry replacement
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