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:
25
mcp-server/dist/hive-client.js
vendored
25
mcp-server/dist/hive-client.js
vendored
@@ -42,6 +42,31 @@ export class HiveClient {
|
||||
const response = await this.api.post('/api/agents', agentData);
|
||||
return response.data;
|
||||
}
|
||||
// CLI Agent Management
|
||||
async getCliAgents() {
|
||||
const response = await this.api.get('/api/cli-agents/');
|
||||
return response.data || [];
|
||||
}
|
||||
async registerCliAgent(agentData) {
|
||||
const response = await this.api.post('/api/cli-agents/register', agentData);
|
||||
return response.data;
|
||||
}
|
||||
async registerPredefinedCliAgents() {
|
||||
const response = await this.api.post('/api/cli-agents/register-predefined');
|
||||
return response.data;
|
||||
}
|
||||
async healthCheckCliAgent(agentId) {
|
||||
const response = await this.api.post(`/api/cli-agents/${agentId}/health-check`);
|
||||
return response.data;
|
||||
}
|
||||
async getCliAgentStatistics() {
|
||||
const response = await this.api.get('/api/cli-agents/statistics/all');
|
||||
return response.data;
|
||||
}
|
||||
async unregisterCliAgent(agentId) {
|
||||
const response = await this.api.delete(`/api/cli-agents/${agentId}`);
|
||||
return response.data;
|
||||
}
|
||||
// Task Management
|
||||
async createTask(taskData) {
|
||||
const response = await this.api.post('/api/tasks', taskData);
|
||||
|
||||
Reference in New Issue
Block a user