vibe-action 0.1.5

Command router — execute shell commands and LLM prompts via simple YAML actions.
name: synonyms
about: Find programming/technical synonyms for a word

args:
  - name: query
    short: 'q'
    input: string
    default: '{system_clipboard}'
    help: Word or concept to find technical synonyms for

# IDE plugin integration: maps argument names to IDE contexts
api:
  # Target for the final result (replace | clipboard | dialog)
  output: dialog
  # Maps argument for JSON output (selection | clipboard)
  args:
    query: selection

actions:
  # LLM generates 5 technical alternatives
  - tag: tag_synonyms_list
    run: small
    expect: list
    action: |
      [Task]
      Give me 5 professional programming terms or alternatives for the concept below.
      Each option must be a single word.
      Write each option strictly on a new line without numbering.

      [Concept]
      {query}

  # Join alternatives into a single string
  - tag: tag_synonyms
    run: value
    expect: string
    action: '{tag_synonyms_list|lower|join}'