name: "Expansion Status Report"
description: "Template for showing current expansion package status and new releases"
category: "system-status"
version: "1.0.0"
author: "VCSYS Orchestrator"

template: |
  # 📦 VCSYS Expansion Status Report
  **Generated**: {{current_date}}
  **Last Check**: {{last_expansion_check}}
  
  ## 📊 Current Installation Summary
  **Total Blocks Installed**: {{total_blocks}}
  
  ### By Type
  {{#each block_types}}
  - **{{type}}**: {{count}} installed
  {{/each}}
  
  ### Recently Installed
  {{#each recent_installations}}
  - {{name}} ({{version}}) - installed {{install_date}}
  {{/each}}
  
  ## 🆕 New Releases Available
  {{#if new_packages}}
  **Found {{new_packages.length}} new packages since last check:**
  
  {{#each new_packages}}
  ### {{type_icon}} {{name}}
  - **Version**: {{version}}
  - **Released**: {{release_date}}  
  - **Category**: {{type}}
  - **Description**: {{description}}
  {{#if changelog}}
  - **What's New**: {{changelog}}
  {{/if}}
  
  **Install with**: `{{install_command}}`
  
  {{/each}}
  {{else}}
  **✅ You're up to date!** No new expansions available.
  
  Check back later for new agents, templates, and workflow expansions.
  {{/if}}
  
  ## 💡 Installation Examples
  {{#if new_packages}}
  ```bash
  # Install specific packages
  {{#each install_examples}}
  {{command}}  # {{description}}
  {{/each}}
  ```
  
  **Conversational Installation**:
  Just ask the orchestrator: 
  {{#each conversation_examples}}
  - "{{example}}"
  {{/each}}
  {{/if}}
  
  ## 🎯 Recommendations
  {{#each recommendations}}
  - **{{title}}**: {{description}}
  {{/each}}
  
  ---
  *Use `*expansions-check` to refresh this status*
  *Use `*expansions-install` for conversational installation*

variables:
  current_date:
    type: "datetime"
    description: "Current date and time"
    
  last_expansion_check:
    type: "datetime" 
    description: "When expansions were last checked"
    
  total_blocks:
    type: "number"
    description: "Total number of installed blocks"
    
  block_types:
    type: "array"
    description: "Array of block types with counts"
    schema:
      - type: "string"
        count: "number"
        
  recent_installations:
    type: "array"
    description: "Recently installed packages"
    schema:
      - name: "string"
        version: "string"
        install_date: "string"
        
  new_packages:
    type: "array"
    description: "New packages available for installation"
    schema:
      - name: "string"
        version: "string"
        type: "string"
        type_icon: "string"
        release_date: "string"
        description: "string"
        changelog: "string"
        install_command: "string"
        
  install_examples:
    type: "array"
    description: "Example installation commands"
    schema:
      - command: "string"
        description: "string"
        
  conversation_examples:
    type: "array"
    description: "Example conversational installation requests"
    schema:
      - example: "string"
        
  recommendations:
    type: "array"
    description: "Personalized recommendations based on user's setup"
    schema:
      - title: "string"
        description: "string"

usage_examples:
  - context: "User asks about new packages"
    variables:
      current_date: "2025-08-13T10:30:00Z"
      last_expansion_check: "2025-08-10T15:00:00Z"
      total_blocks: 15
      new_packages: 
        - name: "@vcsys/agent-lifestyle-coach"
          version: "1.0.0"
          type: "agent"
          type_icon: "🤖"
          release_date: "2025-08-11"
          description: "Personal development and wellness coaching"
          changelog: "Habit tracking and goal setting capabilities"
          install_command: "npm install -g @vcsys/agent-lifestyle-coach"
      conversation_examples:
        - example: "install the lifestyle coach"
        - example: "get the new coaching agent"