ultraworkers-claw-code/rust/crates/runtime/src
Yeachan-Heo fdd06e814b feat(rust): surface workspace skill discovery in /skills
The TypeScript CLI exposes a skills browser backed by workspace/user skill
discovery, while the Rust port only had partial local loading and an
inconsistent slash-command view. This change adds a shared runtime skill
discovery path, teaches the Skill tool to resolve workspace `.codex/.claw`
skills plus legacy `/commands`, and makes `/skills` report the checked local
skill directories in the current workspace context.

Constraint: Keep scope limited to local/workspace skill discovery without inventing bundled or remote registries yet
Rejected: Add a bundled skill registry surface now | too broad for this parity increment
Rejected: Leave tool resolution and /skills discovery separate | misleading output and weaker parity with TS
Confidence: high
Scope-risk: moderate
Reversibility: clean
Directive: Extend the shared runtime skill discovery path before adding new skill sources so the tool surface and /skills stay aligned
Tested: cargo fmt --all; cargo test -p runtime skills:: -- --nocapture; cargo test -p commands skills -- --nocapture; cargo test -p tools skill_ -- --nocapture; cargo test -p claw-cli skills -- --nocapture; cargo test -p claw-cli init_help_mentions_direct_subcommand -- --nocapture
Not-tested: Full workspace-wide cargo test sweep
2026-04-01 23:34:38 +00:00
..
bash.rs feat: runtime engine with session management, tools, MCP, and compaction 2026-04-01 20:36:06 +09:00
bootstrap.rs feat: runtime engine with session management, tools, MCP, and compaction 2026-04-01 20:36:06 +09:00
compact.rs feat: runtime engine with session management, tools, MCP, and compaction 2026-04-01 20:36:06 +09:00
config.rs feat: runtime engine with session management, tools, MCP, and compaction 2026-04-01 20:36:06 +09:00
conversation.rs feat: runtime engine with session management, tools, MCP, and compaction 2026-04-01 20:36:06 +09:00
file_ops.rs feat: runtime engine with session management, tools, MCP, and compaction 2026-04-01 20:36:06 +09:00
hooks.rs feat: runtime engine with session management, tools, MCP, and compaction 2026-04-01 20:36:06 +09:00
json.rs feat: runtime engine with session management, tools, MCP, and compaction 2026-04-01 20:36:06 +09:00
lib.rs feat(rust): surface workspace skill discovery in /skills 2026-04-01 23:34:38 +00:00
mcp_client.rs fix: minor compatibility adjustments for server crate integration 2026-04-01 21:26:06 +09:00
mcp_stdio.rs fix: minor compatibility adjustments for server crate integration 2026-04-01 21:26:06 +09:00
mcp.rs feat: runtime engine with session management, tools, MCP, and compaction 2026-04-01 20:36:06 +09:00
oauth.rs feat: runtime engine with session management, tools, MCP, and compaction 2026-04-01 20:36:06 +09:00
permissions.rs feat: runtime engine with session management, tools, MCP, and compaction 2026-04-01 20:36:06 +09:00
prompt.rs feat: LSP client integration with diagnostics, definitions, and references 2026-04-01 21:34:58 +09:00
remote.rs feat: runtime engine with session management, tools, MCP, and compaction 2026-04-01 20:36:06 +09:00
sandbox.rs feat: runtime engine with session management, tools, MCP, and compaction 2026-04-01 20:36:06 +09:00
session.rs fix: minor compatibility adjustments for server crate integration 2026-04-01 21:26:06 +09:00
skills.rs feat(rust): surface workspace skill discovery in /skills 2026-04-01 23:34:38 +00:00
sse.rs feat: runtime engine with session management, tools, MCP, and compaction 2026-04-01 20:36:06 +09:00
usage.rs fix: minor compatibility adjustments for server crate integration 2026-04-01 21:26:06 +09:00