prepare skill management backend#154
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
octopal skill disable <skill-id>andoctopal skill enable <skill-id>.set_skill_enabledmanagement tool so Octo can toggle skills without deleting bundles.Dashboard API
GET /api/dashboard/skillsPOST /api/dashboard/skills/installPOST /api/dashboard/skills/{skill_id}/enablePOST /api/dashboard/skills/{skill_id}/disableDELETE /api/dashboard/skills/{skill_id}The skills list returns UI-ready fields such as
name,description,enabled,ready,status,origin,source,trust,runtime,requirements, and row-levelactions.Why
The desktop skills page needs a backend contract that does not expose raw registry/install-manifest details to the renderer. Operators also need a reversible way to keep a skill bundle on disk while removing it from active skill use. Disabled skills are still listed, but they no longer expose dynamic
skill_<id>tools anduse_skill/run_skill_scriptreject them as disabled.Validation
uv run pytest tests/test_dashboard_v2_api.py tests/test_skill_management.py tests/test_cli_skill_install.py -quv run pytest tests/test_skill_management.py tests/test_cli_skill_install.py tests/test_tool_inventory.py tests/test_router_tool_budget.py -quv run ruff check src/octopal/gateway/dashboard.py tests/test_dashboard_v2_api.py src/octopal/tools/skills/management.py src/octopal/cli/main.py tests/test_skill_management.py tests/test_cli_skill_install.pyuv run octopal skill --helpgit diff --check