From 98408ef03d3a9bd14ecd357eb404c343ab6d207e Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 7 Jan 2026 14:01:02 +0000 Subject: [PATCH] feat: Add default configuration file for XcluadeAgent - Create config/config.yaml with default settings - Configure server to run on port 5000 - Set up database, security, and logging configurations - Add placeholder configurations for GitHub, AI, and notifications --- config/config.yaml | 66 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 config/config.yaml diff --git a/config/config.yaml b/config/config.yaml new file mode 100644 index 0000000..4dc77a3 --- /dev/null +++ b/config/config.yaml @@ -0,0 +1,66 @@ +# XcluadeAgent Configuration +# This is a minimal configuration to get started + +# Server Configuration +Server: + Port: 5000 + Host: "0.0.0.0" + ExternalUrl: "http://localhost:5000" + +# Data Path +DataPath: "data" + +# Database Configuration +Database: + ConnectionString: "Data Source=data/xcluadeagent.db" + +# GitHub Configuration +GitHub: + AccessToken: "" # Optional: Add your GitHub token for API access + WebhookSecret: "" # Optional: Set if you want to use GitHub webhooks + +# Security Configuration +Security: + JwtSecret: "" # Leave empty to auto-generate (will be persisted) + AllowedOrigins: + - "http://localhost:5000" + - "http://localhost:3000" + +# AI Configuration (Optional) +Ai: + Enabled: false # Set to true when you have an AI service configured + Mode: "suggest" # off | alert | suggest | review | sandbox | auto + Primary: + Type: "ollama" # ollama | claude | openai + Endpoint: "http://localhost:11434" + Model: "qwen2.5-coder:7b" + +# Notifications Configuration (Optional) +Notifications: + Discord: + Enabled: false + WebhookUrl: "" + Telegram: + Enabled: false + BotToken: "" + ChatId: "" + Line: + Enabled: false + ChannelAccessToken: "" + Email: + Enabled: false + SmtpServer: "" + SmtpPort: 587 + From: "" + Username: "" + Password: "" + +# Logging Configuration +Logging: + Path: "data/logs" + RetentionDays: 30 + MinimumLevel: + Default: "Information" + Override: + Microsoft: "Warning" + System: "Warning"