Skip to content

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

Closed
chinkan wants to merge 3 commits into
mainfrom
claude/embed-skills-remove-setup-binary
Closed

refactor: embed skills/agents via include_dir, remove setup binary#43
chinkan wants to merge 3 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 3 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
- Extract format_listed_section() shared preamble helper used by both
  build_context() (skills) and the new Available Agents section builder.
- Rename build_subagent_context -> build_subagent_lines for accuracy.
- Extract format_available_agents_section() pure function with 5 unit tests.
- Remove redundant early return in build_agents_context().
- Update invoke_agent tool description to reference unified section.
- Fix stale invoke_subagent references in news-fetcher/problem-solver skills.
@chinkan

chinkan commented Jun 15, 2026

Copy link
Copy Markdown
Owner Author

Merged into #42 — all changes have been incorporated into the send-file-from-sandbox branch.

@chinkan

chinkan commented Jun 15, 2026

Copy link
Copy Markdown
Owner Author

Superseded by #42

@chinkan chinkan closed this Jun 15, 2026
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