vibe-action 0.2.2

Command router — execute shell commands and LLM prompts via simple YAML actions.
version: 0.0.1

name: fetch
about: Fetch a web page or PDF and describe its content
notify: true

# IDE plugin integration: maps argument names to IDE contexts
api:
  # Target for the final result (replace | clipboard | dialog)
  output: dialog
  # Source for the {query} tag
  input: query|prompt

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]
      {query|load|text}

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