Files
heretek-openclaw-cli/cli/openclaw.config.js
T
John Doe a2cba717c6 P6: Complete 8 initiatives - Agent files, deployment options, CLI, dashboards, plugins
P6-7: Agent File Completion (34 files - 11 agents × 3 files + guides)
  - Added BOOTSTRAP.md, IDENTITY.md, TOOLS.md for all 11 agents
  - Created AGENT_CREATION_GUIDE.md

P6-2: Per-Agent Model Configuration (9 files)
  - Agent model router and config library
  - YAML configs for arbiter, coder agents
  - Configuration documentation

P6-3: Health Check Dashboard (20+ files)
  - Complete frontend React application
  - API endpoints, WebSocket server
  - Collectors for agents, resources, services
  - Alert management and configuration

P6-4: LiteLLM Observability Integration (10 files)
  - LiteLLM metrics collector and API
  - Frontend components for model/budget tracking
  - Integration documentation

P6-1: Non-Docker Deployment (16 files)
  - Bare metal and VM deployment docs
  - Systemd service files
  - Installation scripts for Ubuntu/RHEL
  - Migration guide and troubleshooting

P6-6: Cloud-Native Deployments (45+ files)
  - AWS, Azure, GCP Terraform configurations
  - Kubernetes base deployments with Kustomize overlays
  - Cloud deployment documentation

P6-5: Unified Deployment CLI (28 files)
  - Complete CLI with 12 commands
  - Deployers for Docker, Kubernetes, cloud, baremetal
  - Health checker, backup manager, config manager

P6-8: Plugin Installation Guide (15 files)
  - Plugin development and installation guides
  - Plugin CLI documentation and registry
  - Templates for basic, skill, and tool plugins
2026-03-31 20:33:43 -04:00

150 lines
2.7 KiB
JavaScript

/**
* OpenClaw CLI Configuration
*
* This file contains configuration options for the OpenClaw CLI tool.
*/
export default {
/**
* CLI settings
*/
cli: {
name: 'openclaw',
version: '1.0.0',
description: 'Heretek OpenClaw - Unified Deployment CLI',
},
/**
* Default paths
*/
paths: {
// OpenClaw installation directory
openclawDir: '~/.openclaw',
// Workspace directory for agents
workspaceDir: '~/.openclaw/workspace',
// Agents directory
agentsDir: '~/.openclaw/agents',
// Backups directory
backupsDir: '~/.openclaw/backups',
// Logs directory
logsDir: '~/.openclaw/logs',
// Cache directory
cacheDir: '~/.openclaw/cache',
},
/**
* Default deployment settings
*/
deployment: {
// Default deployment type
defaultType: 'docker',
// Docker settings
docker: {
composeFile: 'docker-compose.yml',
projectName: 'openclaw',
},
// Kubernetes settings
kubernetes: {
namespace: 'openclaw',
releaseName: 'openclaw',
chartDir: './charts/openclaw',
},
// Cloud settings
cloud: {
terraformDir: './terraform',
autoApprove: false,
},
},
/**
* Health check settings
*/
health: {
// Default timeout for health checks (ms)
timeout: 5000,
// Watch interval (seconds)
watchInterval: 30,
// Service endpoints
endpoints: {
gateway: 'http://localhost:18789',
litellm: 'http://localhost:4000',
postgres: 'localhost:5432',
redis: 'localhost:6379',
ollama: 'http://localhost:11434',
langfuse: 'http://localhost:3000',
},
},
/**
* Backup settings
*/
backup: {
// Default backup directory
directory: '~/.openclaw/backups',
// Retention period (days)
retentionDays: 30,
// Compression enabled
compress: true,
// Backup schedule
schedule: {
full: '0 2 * * 0', // Sunday at 2 AM
incremental: '0 2 * * 1-6', // Mon-Sat at 2 AM
},
},
/**
* Logging settings
*/
logging: {
// Default log level
level: 'info',
// Show timestamps
timestamps: true,
// Color output
colors: true,
},
/**
* Update settings
*/
update: {
// Check for updates on startup
checkOnStartup: false,
// Auto-update (not recommended for production)
autoUpdate: false,
// Update channel
channel: 'stable',
},
/**
* Feature flags
*/
features: {
// Enable interactive prompts
interactive: true,
// Enable telemetry (future)
telemetry: false,
// Enable experimental features
experimental: false,
},
};