Add environment configuration and local development documentation

- Parameterize CORS_ORIGINS in docker-compose.swarm.yml
- Add .env.example with configuration options
- Create comprehensive LOCAL_DEVELOPMENT.md guide
- Update README.md with environment variable documentation
- Provide alternatives for local development without production domain

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
anthonyrawlins
2025-07-10 18:20:52 +10:00
parent daf0766e29
commit f3cbb5c6f7
50 changed files with 6339 additions and 528 deletions

View File

@@ -17,6 +17,17 @@ export interface Agent {
status: 'available' | 'busy' | 'offline';
current_tasks: number;
max_concurrent: number;
agent_type?: 'ollama' | 'cli';
cli_config?: {
host?: string;
node_version?: string;
model?: string;
specialization?: string;
max_concurrent?: number;
command_timeout?: number;
ssh_timeout?: number;
agent_type?: string;
};
}
export interface Task {
id: string;
@@ -58,6 +69,30 @@ export declare class HiveClient {
registerAgent(agentData: Partial<Agent>): Promise<{
agent_id: string;
}>;
getCliAgents(): Promise<Agent[]>;
registerCliAgent(agentData: {
id: string;
host: string;
node_version: string;
model?: string;
specialization?: string;
max_concurrent?: number;
agent_type?: string;
command_timeout?: number;
ssh_timeout?: number;
}): Promise<{
agent_id: string;
endpoint: string;
health_check?: any;
}>;
registerPredefinedCliAgents(): Promise<{
results: any[];
}>;
healthCheckCliAgent(agentId: string): Promise<any>;
getCliAgentStatistics(): Promise<any>;
unregisterCliAgent(agentId: string): Promise<{
success: boolean;
}>;
createTask(taskData: {
type: string;
priority: number;