Feature Request: AI Assistant Integration
Background
With the rise of AI assistants (Clawdbot, ChatGPT, etc.), more developers are integrating AI into GitHub workflows for automated code review, documentation generation, and error analysis. The current feishu-action supports basic message types but lacks specialized support for AI assistant message formats.
Problem
When AI assistants generate complex reports, code suggestions, or task summaries:
- Code blocks cannot be highlighted
- Structured data (JSON, tables) display poorly
- Multi-step task progress is unclear
- Complex AI-generated formats are not well presented
Proposed Solution
Add a new ai_assistant message type optimized for AI assistant messages.
Example usage:
- name: AI Assistant Message
uses: Open-Source-Bazaar/feishu-action@v1
with:
url: ${{ secrets.FEISHU_BOT_WEBHOOK_URL }}
msg_type: ai_assistant
content: |
title: "Code Review Report"
assistant: "Clawdbot"
status: "completed"
sections:
- type: "summary"
text: "Reviewed 5 files, found 3 suggestions"
- type: "code"
language: "typescript"
code: "const result = calculate();"
- type: "metrics"
items:
- "Code quality: 85/100"
- "Potential bugs: 2"
Key Features
- Code highlighting - Automatic language detection
- Structured data - Support for tables, cards, metrics
- Task status tracking - Show AI task progress
- Interactive elements - Buttons for quick actions
- AI identity - Display assistant name and avatar
Use Cases
- AI code review in CI/CD
- Automated documentation notifications
- AI test reports
- Smart error analysis
- AI task status updates
Value Proposition
- Better developer experience - Clearer AI messages
- Enhanced workflow automation - Better AI integration
- Project differentiation - First feishu action with AI support
- Growing demand - As AI assistants become more common
Technical Implementation
- Extend based on Feishu card message format
- Support Markdown and code blocks
- Compatible with existing architecture
- Provide TypeScript type definitions
Labels: enhancement, feature-request, ai-integration
Priority: High
Estimated effort: Medium (2-3 weeks)
Related issues: #8, #9, #10
Feature Request: AI Assistant Integration
Background
With the rise of AI assistants (Clawdbot, ChatGPT, etc.), more developers are integrating AI into GitHub workflows for automated code review, documentation generation, and error analysis. The current feishu-action supports basic message types but lacks specialized support for AI assistant message formats.
Problem
When AI assistants generate complex reports, code suggestions, or task summaries:
Proposed Solution
Add a new
ai_assistantmessage type optimized for AI assistant messages.Example usage:
Key Features
Use Cases
Value Proposition
Technical Implementation
Labels: enhancement, feature-request, ai-integration
Priority: High
Estimated effort: Medium (2-3 weeks)
Related issues: #8, #9, #10