Skip to content

Extension system: Add template type diversity (scripts support) #1847

Description

@mbachorik

Summary

Extend extensions to support multiple template types beyond commands, specifically adding scripts support.

Context

Presets support 3 template types (presets.py:122-127):

  • template (e.g., spec-template)
  • command (for agent overrides)
  • script (shell scripts with .sh or .ps1)

Extensions only support command type currently.

Requirements

  • Extend ExtensionManifest to accept provides.scripts array
  • Add script file validation (path safety, format)
  • Implement script registration/installation in ExtensionManager
  • Update resolver to handle script lookups

Related

  • Part of extension system parity with preset system

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions