Skip to content

Refresh global, external, and HTTP skill sources without restart #37426

Description

@kitlangton

Parent

Related to #8751.

What to build

Extend V2 skill-content refresh beyond skill files inside watched git project Locations.

Project .opencode/skills content currently invalidates through the Location filesystem watcher. Global compatibility roots, explicitly configured external directories, non-git Locations, and already cached HTTP catalogs do not have a continuous invalidation path. Replaying an unchanged source registration also does not clear its cached content.

Acceptance criteria

  • Global OpenCode, .claude, and .agents skill edits refresh in loaded Locations.
  • Explicit external skill directories refresh without requiring an unrelated config edit or restart.
  • HTTP catalogs have a defined refresh trigger and observe a changed version while OpenCode remains running.
  • Skill removal clears model-facing guidance and slash visibility on the next safe boundary.
  • Tests document and cover project, global, external, non-git, and HTTP source behavior.

Blocked by

None - can start immediately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.0coreAnything pertaining to core functionality of the application (opencode server stuff)enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions