- Fixed module path from github.com/deepblackcloud/bzzz to github.com/anthonyrawlins/bzzz - Added dynamic Ollama model detection via /api/tags endpoint - Implemented intelligent model selection through N8N webhook integration - Added BZZZ_MODEL_SELECTION_WEBHOOK environment variable support - Fixed GitHub assignee issue by using valid username instead of peer ID - Added comprehensive model fallback mechanisms - Updated all import statements across the codebase - Removed duplicate systemd service file - Added sandbox execution environment and type definitions 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
36 lines
826 B
Go
36 lines
826 B
Go
package types
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/anthonyrawlins/bzzz/pkg/hive"
|
|
)
|
|
|
|
// EnhancedTask extends a basic Task with project-specific context.
|
|
// It's the primary data structure passed between the github, executor,
|
|
// and reasoning components.
|
|
type EnhancedTask struct {
|
|
// Core task details, originally from the GitHub issue.
|
|
ID int64
|
|
Number int
|
|
Title string
|
|
Description string
|
|
State string
|
|
Labels []string
|
|
Assignee string
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
|
|
// Bzzz-specific fields parsed from the issue body or labels.
|
|
TaskType string
|
|
Priority int
|
|
Requirements []string
|
|
Deliverables []string
|
|
Context map[string]interface{}
|
|
|
|
// Hive-integration fields providing repository context.
|
|
ProjectID int
|
|
GitURL string
|
|
Repository hive.Repository
|
|
}
|