Skip to content

Add Launcher resource for parameterized commands - #25

Draft
abeckDev with Copilot wants to merge 2 commits into
mainfrom
copilot/add-launcher-resource-type
Draft

Add Launcher resource for parameterized commands#25
abeckDev with Copilot wants to merge 2 commits into
mainfrom
copilot/add-launcher-resource-type

Conversation

Copilot AI commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Adds a Launcher resource that accepts user input in the menu-bar popup and runs a configured command template with safe {input} substitution.

  • Resource model

    • Adds launcher type and optional inputPlaceholder.
    • Preserves compatibility with existing configuration files.
  • Execution

    • Adds runLauncher(_:input:).
    • Trims/rejects empty input, requires {input}, and shell-escapes all substitutions.
  • UI and settings

    • Adds link indicator, compact text field, Go button, and Enter-key execution.
    • Adds Launcher to the resource editor with action-script and input-placeholder fields.
  • Documentation

    • Documents Launcher behavior, schema fields, exit-code handling, and an MSX lookup example.
{
  "name": "MSX Lookup",
  "type": "launcher",
  "actionScript": "open \"https://example.com/search?q={input}\"",
  "inputPlaceholder": "Paste record ID"
}

Co-authored-by: abeckDev <8720854+abeckDev@users.noreply.github.com>
Copilot AI changed the title [WIP] Add new resource type: Launcher for URL and command execution Add Launcher resource for parameterized commands Aug 4, 2026
Copilot AI requested a review from abeckDev August 4, 2026 14:01
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.

New resource type: Launcher — text input + Go button to open URLs or run parameterized commands

2 participants