vibe-action 0.1.5

Command router — execute shell commands and LLM prompts via simple YAML actions.
name: fetch
about: Fetch a web page or PDF and describe its content
notify: true

args:
  - name: source
    short: s
    input: string
    default: '{system_clipboard}'
    help: Path or URL of the page to fetch

# 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:
    source: selection

actions:
  - tag: tag_description
    run: small
    expect: string
    action: |
      [Task]
      Write a summary strictly in {system_language} language based on the document content below.

      [Requirements]
      1. Length: 2-5 sentences maximum.
      2. Focus: Explain the purpose, type, and core content.
      3. Details: Extract essential tools, key features, and specifics mentioned in the text.
      4. Language: {system_language}

      [Content]
      {source|load|text}

  # Copy result to clipboard and output
  - tag: tag_clipboard
    run: value
    expect: string
    action: '{tag_description|clipboard}'