agentic-qe 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/skills/brutal-honesty-review/README.md +218 -0
- package/.claude/skills/brutal-honesty-review/SKILL.md +725 -0
- package/.claude/skills/brutal-honesty-review/resources/assessment-rubrics.md +295 -0
- package/.claude/skills/brutal-honesty-review/resources/review-template.md +102 -0
- package/.claude/skills/brutal-honesty-review/scripts/assess-code.sh +179 -0
- package/.claude/skills/brutal-honesty-review/scripts/assess-tests.sh +223 -0
- package/.claude/skills/cicd-pipeline-qe-orchestrator/README.md +301 -0
- package/.claude/skills/cicd-pipeline-qe-orchestrator/SKILL.md +510 -0
- package/.claude/skills/cicd-pipeline-qe-orchestrator/resources/workflows/microservice-pipeline.md +239 -0
- package/.claude/skills/cicd-pipeline-qe-orchestrator/resources/workflows/mobile-pipeline.md +375 -0
- package/.claude/skills/cicd-pipeline-qe-orchestrator/resources/workflows/monolith-pipeline.md +268 -0
- package/.claude/skills/six-thinking-hats/README.md +190 -0
- package/.claude/skills/six-thinking-hats/SKILL.md +1215 -0
- package/.claude/skills/six-thinking-hats/resources/examples/api-testing-example.md +345 -0
- package/.claude/skills/six-thinking-hats/resources/templates/solo-session-template.md +167 -0
- package/.claude/skills/six-thinking-hats/resources/templates/team-session-template.md +336 -0
- package/CHANGELOG.md +2359 -2157
- package/README.md +41 -7
- package/dist/agents/BaseAgent.d.ts +22 -0
- package/dist/agents/BaseAgent.d.ts.map +1 -1
- package/dist/agents/BaseAgent.js +74 -0
- package/dist/agents/BaseAgent.js.map +1 -1
- package/dist/agents/FleetCommanderAgent.d.ts +16 -0
- package/dist/agents/FleetCommanderAgent.d.ts.map +1 -1
- package/dist/agents/FleetCommanderAgent.js +35 -20
- package/dist/agents/FleetCommanderAgent.js.map +1 -1
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +0 -2
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/lifecycle/AgentLifecycleManager.d.ts +5 -0
- package/dist/agents/lifecycle/AgentLifecycleManager.d.ts.map +1 -1
- package/dist/agents/lifecycle/AgentLifecycleManager.js +10 -0
- package/dist/agents/lifecycle/AgentLifecycleManager.js.map +1 -1
- package/dist/cli/commands/agentdb/learn.d.ts.map +1 -1
- package/dist/cli/commands/agentdb/learn.js +190 -71
- package/dist/cli/commands/agentdb/learn.js.map +1 -1
- package/dist/cli/commands/debug/agent.d.ts.map +1 -1
- package/dist/cli/commands/debug/agent.js +40 -13
- package/dist/cli/commands/debug/agent.js.map +1 -1
- package/dist/cli/commands/debug/diagnostics.js +38 -11
- package/dist/cli/commands/debug/diagnostics.js.map +1 -1
- package/dist/cli/commands/debug/health-check.js +47 -12
- package/dist/cli/commands/debug/health-check.js.map +1 -1
- package/dist/cli/commands/debug/profile.js +7 -7
- package/dist/cli/commands/debug/profile.js.map +1 -1
- package/dist/cli/commands/debug/trace.js +4 -4
- package/dist/cli/commands/debug/trace.js.map +1 -1
- package/dist/cli/commands/debug/troubleshoot.js +41 -27
- package/dist/cli/commands/debug/troubleshoot.js.map +1 -1
- package/dist/cli/commands/init-claude-md-template.d.ts +16 -0
- package/dist/cli/commands/init-claude-md-template.d.ts.map +1 -0
- package/dist/cli/commands/init-claude-md-template.js +69 -0
- package/dist/cli/commands/init-claude-md-template.js.map +1 -0
- package/dist/cli/commands/init.d.ts +1 -1
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +499 -469
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/test/clean.d.ts.map +1 -1
- package/dist/cli/commands/test/clean.js +26 -9
- package/dist/cli/commands/test/clean.js.map +1 -1
- package/dist/cli/commands/test/debug.js +6 -7
- package/dist/cli/commands/test/debug.js.map +1 -1
- package/dist/cli/commands/test/diff.js +4 -37
- package/dist/cli/commands/test/diff.js.map +1 -1
- package/dist/cli/commands/test/profile.js +7 -40
- package/dist/cli/commands/test/profile.js.map +1 -1
- package/dist/cli/commands/test/trace.js +4 -37
- package/dist/cli/commands/test/trace.js.map +1 -1
- package/dist/core/ArtifactWorkflow.d.ts +4 -0
- package/dist/core/ArtifactWorkflow.d.ts.map +1 -1
- package/dist/core/ArtifactWorkflow.js +34 -13
- package/dist/core/ArtifactWorkflow.js.map +1 -1
- package/dist/core/coordination/BlackboardCoordination.d.ts +4 -0
- package/dist/core/coordination/BlackboardCoordination.d.ts.map +1 -1
- package/dist/core/coordination/BlackboardCoordination.js +28 -22
- package/dist/core/coordination/BlackboardCoordination.js.map +1 -1
- package/dist/core/coordination/ConsensusGating.d.ts +4 -0
- package/dist/core/coordination/ConsensusGating.d.ts.map +1 -1
- package/dist/core/coordination/ConsensusGating.js +25 -18
- package/dist/core/coordination/ConsensusGating.js.map +1 -1
- package/dist/core/memory/AgentDBService.d.ts.map +1 -1
- package/dist/core/memory/AgentDBService.js +6 -3
- package/dist/core/memory/AgentDBService.js.map +1 -1
- package/dist/learning/LearningEngine.js +1 -1
- package/dist/learning/LearningEngine.js.map +1 -1
- package/dist/learning/StateExtractor.d.ts +1 -1
- package/dist/learning/StateExtractor.d.ts.map +1 -1
- package/dist/learning/StateExtractor.js +62 -13
- package/dist/learning/StateExtractor.js.map +1 -1
- package/dist/utils/Config.d.ts.map +1 -1
- package/dist/utils/Config.js +14 -5
- package/dist/utils/Config.js.map +1 -1
- package/dist/utils/Database.d.ts.map +1 -1
- package/dist/utils/Database.js +5 -2
- package/dist/utils/Database.js.map +1 -1
- package/dist/utils/Logger.d.ts +1 -1
- package/dist/utils/Logger.d.ts.map +1 -1
- package/dist/utils/Logger.js +4 -4
- package/dist/utils/Logger.js.map +1 -1
- package/dist/utils/SecurityScanner.js +1 -1
- package/dist/utils/SecurityScanner.js.map +1 -1
- package/package.json +2 -2
- package/.claude/agents/.claude-flow/metrics/agent-metrics.json +0 -1
- package/.claude/agents/.claude-flow/metrics/performance.json +0 -87
- package/.claude/agents/.claude-flow/metrics/task-metrics.json +0 -10
- package/.claude/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +0 -54
- package/.claude/commands/analysis/performance-bottlenecks.md +0 -59
- package/.claude/commands/flow-nexus/app-store.md +0 -124
- package/.claude/commands/flow-nexus/challenges.md +0 -120
- package/.claude/commands/flow-nexus/login-registration.md +0 -65
- package/.claude/commands/flow-nexus/neural-network.md +0 -134
- package/.claude/commands/flow-nexus/payments.md +0 -116
- package/.claude/commands/flow-nexus/sandbox.md +0 -83
- package/.claude/commands/flow-nexus/swarm.md +0 -87
- package/.claude/commands/flow-nexus/user-tools.md +0 -152
- package/.claude/commands/flow-nexus/workflow.md +0 -115
- package/.claude/commands/memory/usage.md +0 -46
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: flow-nexus-payments
|
|
3
|
-
description: Credit management, billing, and payment configuration
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Flow Nexus Payments
|
|
7
|
-
|
|
8
|
-
Manage credits, configure billing, and track usage.
|
|
9
|
-
|
|
10
|
-
## Check Balance
|
|
11
|
-
```javascript
|
|
12
|
-
mcp__flow-nexus__check_balance()
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Purchase Credits
|
|
16
|
-
```javascript
|
|
17
|
-
// Create payment link
|
|
18
|
-
mcp__flow-nexus__create_payment_link({
|
|
19
|
-
amount: 50 // USD, minimum $10
|
|
20
|
-
})
|
|
21
|
-
// Returns secure payment URL to complete purchase
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## Auto-Refill Configuration
|
|
25
|
-
```javascript
|
|
26
|
-
// Enable auto-refill
|
|
27
|
-
mcp__flow-nexus__configure_auto_refill({
|
|
28
|
-
enabled: true,
|
|
29
|
-
threshold: 100, // Refill when credits drop below 100
|
|
30
|
-
amount: 50 // Refill with $50 worth of credits
|
|
31
|
-
})
|
|
32
|
-
|
|
33
|
-
// Disable auto-refill
|
|
34
|
-
mcp__flow-nexus__configure_auto_refill({
|
|
35
|
-
enabled: false
|
|
36
|
-
})
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
## Payment History
|
|
40
|
-
```javascript
|
|
41
|
-
mcp__flow-nexus__get_payment_history({
|
|
42
|
-
limit: 50
|
|
43
|
-
})
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
## rUv Credits Management
|
|
47
|
-
```javascript
|
|
48
|
-
// Check balance
|
|
49
|
-
mcp__flow-nexus__ruv_balance({
|
|
50
|
-
user_id: "your_id"
|
|
51
|
-
})
|
|
52
|
-
|
|
53
|
-
// Transaction history
|
|
54
|
-
mcp__flow-nexus__ruv_history({
|
|
55
|
-
user_id: "your_id",
|
|
56
|
-
limit: 100
|
|
57
|
-
})
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
## Upgrade Tier
|
|
61
|
-
```javascript
|
|
62
|
-
mcp__flow-nexus__user_upgrade({
|
|
63
|
-
user_id: "your_id",
|
|
64
|
-
tier: "pro" // pro, enterprise
|
|
65
|
-
})
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
## Usage Statistics
|
|
69
|
-
```javascript
|
|
70
|
-
mcp__flow-nexus__user_stats({
|
|
71
|
-
user_id: "your_id"
|
|
72
|
-
})
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
## Credit Pricing
|
|
76
|
-
- **Swarm Operations**: 1-10 credits/hour
|
|
77
|
-
- **Sandbox Execution**: 0.5-5 credits/hour
|
|
78
|
-
- **Neural Training**: 5-50 credits/job
|
|
79
|
-
- **Workflow Runs**: 0.1-1 credit/execution
|
|
80
|
-
- **Storage**: 0.01 credits/GB/day
|
|
81
|
-
|
|
82
|
-
## Earning Credits
|
|
83
|
-
1. **Complete Challenges**: 10-500 credits per challenge
|
|
84
|
-
2. **Publish Templates**: Earn when others use
|
|
85
|
-
3. **Referrals**: Bonus credits for invites
|
|
86
|
-
4. **Daily Login**: Small daily bonus
|
|
87
|
-
5. **Achievements**: Unlock milestone rewards
|
|
88
|
-
|
|
89
|
-
## Tiers
|
|
90
|
-
### Free Tier
|
|
91
|
-
- 100 free credits monthly
|
|
92
|
-
- Basic sandbox access
|
|
93
|
-
- Limited swarm agents (3 max)
|
|
94
|
-
- Community support
|
|
95
|
-
|
|
96
|
-
### Pro Tier ($29/month)
|
|
97
|
-
- 1000 credits monthly
|
|
98
|
-
- Priority sandbox access
|
|
99
|
-
- Unlimited agents
|
|
100
|
-
- Advanced workflows
|
|
101
|
-
- Email support
|
|
102
|
-
|
|
103
|
-
### Enterprise Tier (Custom)
|
|
104
|
-
- Unlimited credits
|
|
105
|
-
- Dedicated resources
|
|
106
|
-
- Custom models
|
|
107
|
-
- SLA guarantee
|
|
108
|
-
- Priority support
|
|
109
|
-
|
|
110
|
-
## Cost Optimization Tips
|
|
111
|
-
1. Use smaller sandboxes when possible
|
|
112
|
-
2. Optimize neural network training parameters
|
|
113
|
-
3. Batch workflow executions
|
|
114
|
-
4. Clean up unused resources
|
|
115
|
-
5. Monitor usage regularly
|
|
116
|
-
6. Use templates to avoid redundant work
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: flow-nexus-sandbox
|
|
3
|
-
description: E2B sandbox management for isolated code execution
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Flow Nexus Sandboxes
|
|
7
|
-
|
|
8
|
-
Deploy and manage isolated execution environments.
|
|
9
|
-
|
|
10
|
-
## Create Sandbox
|
|
11
|
-
```javascript
|
|
12
|
-
mcp__flow-nexus__sandbox_create({
|
|
13
|
-
template: "node", // node, python, react, nextjs, vanilla, base
|
|
14
|
-
name: "my-sandbox",
|
|
15
|
-
env_vars: {
|
|
16
|
-
API_KEY: "your_api_key",
|
|
17
|
-
NODE_ENV: "development"
|
|
18
|
-
},
|
|
19
|
-
timeout: 3600 // seconds
|
|
20
|
-
})
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## Execute Code
|
|
24
|
-
```javascript
|
|
25
|
-
mcp__flow-nexus__sandbox_execute({
|
|
26
|
-
sandbox_id: "sandbox_id",
|
|
27
|
-
code: `
|
|
28
|
-
console.log('Hello from sandbox!');
|
|
29
|
-
const result = await fetch('https://api.example.com');
|
|
30
|
-
return result.json();
|
|
31
|
-
`,
|
|
32
|
-
language: "javascript",
|
|
33
|
-
capture_output: true
|
|
34
|
-
})
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## Manage Sandboxes
|
|
38
|
-
```javascript
|
|
39
|
-
// List all sandboxes
|
|
40
|
-
mcp__flow-nexus__sandbox_list({ status: "running" })
|
|
41
|
-
|
|
42
|
-
// Get status
|
|
43
|
-
mcp__flow-nexus__sandbox_status({ sandbox_id: "id" })
|
|
44
|
-
|
|
45
|
-
// Upload file
|
|
46
|
-
mcp__flow-nexus__sandbox_upload({
|
|
47
|
-
sandbox_id: "id",
|
|
48
|
-
file_path: "/app/data.json",
|
|
49
|
-
content: JSON.stringify(data)
|
|
50
|
-
})
|
|
51
|
-
|
|
52
|
-
// Stop sandbox
|
|
53
|
-
mcp__flow-nexus__sandbox_stop({ sandbox_id: "id" })
|
|
54
|
-
|
|
55
|
-
// Delete sandbox
|
|
56
|
-
mcp__flow-nexus__sandbox_delete({ sandbox_id: "id" })
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
## Templates
|
|
60
|
-
- **node**: Node.js environment
|
|
61
|
-
- **python**: Python 3.x environment
|
|
62
|
-
- **react**: React development setup
|
|
63
|
-
- **nextjs**: Next.js full-stack
|
|
64
|
-
- **vanilla**: Basic HTML/CSS/JS
|
|
65
|
-
- **base**: Minimal Linux environment
|
|
66
|
-
|
|
67
|
-
## Common Patterns
|
|
68
|
-
```javascript
|
|
69
|
-
// API development sandbox
|
|
70
|
-
mcp__flow-nexus__sandbox_create({
|
|
71
|
-
template: "node",
|
|
72
|
-
name: "api-dev",
|
|
73
|
-
install_packages: ["express", "cors", "dotenv"],
|
|
74
|
-
startup_script: "npm run dev"
|
|
75
|
-
})
|
|
76
|
-
|
|
77
|
-
// ML sandbox
|
|
78
|
-
mcp__flow-nexus__sandbox_create({
|
|
79
|
-
template: "python",
|
|
80
|
-
name: "ml-training",
|
|
81
|
-
install_packages: ["numpy", "pandas", "scikit-learn"]
|
|
82
|
-
})
|
|
83
|
-
```
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: flow-nexus-swarm
|
|
3
|
-
description: AI swarm deployment and coordination in cloud
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Flow Nexus Swarms
|
|
7
|
-
|
|
8
|
-
Deploy and manage AI agent swarms in the cloud.
|
|
9
|
-
|
|
10
|
-
## Initialize Swarm
|
|
11
|
-
```javascript
|
|
12
|
-
mcp__flow-nexus__swarm_init({
|
|
13
|
-
topology: "hierarchical", // mesh, ring, star, hierarchical
|
|
14
|
-
maxAgents: 8,
|
|
15
|
-
strategy: "balanced" // balanced, specialized, adaptive
|
|
16
|
-
})
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Spawn Agents
|
|
20
|
-
```javascript
|
|
21
|
-
mcp__flow-nexus__agent_spawn({
|
|
22
|
-
type: "researcher", // coder, analyst, optimizer, coordinator
|
|
23
|
-
name: "Lead Researcher",
|
|
24
|
-
capabilities: ["web_search", "analysis", "summarization"]
|
|
25
|
-
})
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## Orchestrate Tasks
|
|
29
|
-
```javascript
|
|
30
|
-
mcp__flow-nexus__task_orchestrate({
|
|
31
|
-
task: "Build a REST API with authentication",
|
|
32
|
-
strategy: "parallel", // parallel, sequential, adaptive
|
|
33
|
-
maxAgents: 5,
|
|
34
|
-
priority: "high"
|
|
35
|
-
})
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
## Monitor Swarm
|
|
39
|
-
```javascript
|
|
40
|
-
// Get swarm status
|
|
41
|
-
mcp__flow-nexus__swarm_status()
|
|
42
|
-
|
|
43
|
-
// List active swarms
|
|
44
|
-
mcp__flow-nexus__swarm_list({ status: "active" })
|
|
45
|
-
|
|
46
|
-
// Scale swarm
|
|
47
|
-
mcp__flow-nexus__swarm_scale({ target_agents: 10 })
|
|
48
|
-
|
|
49
|
-
// Destroy swarm
|
|
50
|
-
mcp__flow-nexus__swarm_destroy({ swarm_id: "id" })
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
## Templates
|
|
54
|
-
```javascript
|
|
55
|
-
// Use pre-built swarm template
|
|
56
|
-
mcp__flow-nexus__swarm_create_from_template({
|
|
57
|
-
template_name: "full-stack-dev",
|
|
58
|
-
overrides: {
|
|
59
|
-
maxAgents: 6,
|
|
60
|
-
strategy: "specialized"
|
|
61
|
-
}
|
|
62
|
-
})
|
|
63
|
-
|
|
64
|
-
// List available templates
|
|
65
|
-
mcp__flow-nexus__swarm_templates_list({
|
|
66
|
-
category: "quickstart" // specialized, enterprise, custom
|
|
67
|
-
})
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
## Common Swarm Patterns
|
|
71
|
-
|
|
72
|
-
### Research Swarm
|
|
73
|
-
```javascript
|
|
74
|
-
mcp__flow-nexus__swarm_init({ topology: "mesh", maxAgents: 5 })
|
|
75
|
-
mcp__flow-nexus__agent_spawn({ type: "researcher", name: "Lead" })
|
|
76
|
-
mcp__flow-nexus__agent_spawn({ type: "analyst", name: "Data Analyst" })
|
|
77
|
-
mcp__flow-nexus__task_orchestrate({ task: "Research ML trends" })
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
### Development Swarm
|
|
81
|
-
```javascript
|
|
82
|
-
mcp__flow-nexus__swarm_init({ topology: "hierarchical", maxAgents: 8 })
|
|
83
|
-
mcp__flow-nexus__agent_spawn({ type: "coordinator", name: "PM" })
|
|
84
|
-
mcp__flow-nexus__agent_spawn({ type: "coder", name: "Backend Dev" })
|
|
85
|
-
mcp__flow-nexus__agent_spawn({ type: "coder", name: "Frontend Dev" })
|
|
86
|
-
mcp__flow-nexus__task_orchestrate({ task: "Build e-commerce platform" })
|
|
87
|
-
```
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: flow-nexus-user-tools
|
|
3
|
-
description: User management, storage, and system utilities
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Flow Nexus User Tools
|
|
7
|
-
|
|
8
|
-
Utilities for user management, storage, and system operations.
|
|
9
|
-
|
|
10
|
-
## Profile Management
|
|
11
|
-
```javascript
|
|
12
|
-
// Get profile
|
|
13
|
-
mcp__flow-nexus__user_profile({
|
|
14
|
-
user_id: "your_id"
|
|
15
|
-
})
|
|
16
|
-
|
|
17
|
-
// Update profile
|
|
18
|
-
mcp__flow-nexus__user_update_profile({
|
|
19
|
-
user_id: "your_id",
|
|
20
|
-
updates: {
|
|
21
|
-
full_name: "New Name",
|
|
22
|
-
bio: "Developer interested in AI",
|
|
23
|
-
github_username: "username"
|
|
24
|
-
}
|
|
25
|
-
})
|
|
26
|
-
|
|
27
|
-
// Get statistics
|
|
28
|
-
mcp__flow-nexus__user_stats({
|
|
29
|
-
user_id: "your_id"
|
|
30
|
-
})
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
## Storage Management
|
|
34
|
-
```javascript
|
|
35
|
-
// Upload file
|
|
36
|
-
mcp__flow-nexus__storage_upload({
|
|
37
|
-
bucket: "my-bucket",
|
|
38
|
-
path: "data/file.json",
|
|
39
|
-
content: JSON.stringify(data),
|
|
40
|
-
content_type: "application/json"
|
|
41
|
-
})
|
|
42
|
-
|
|
43
|
-
// List files
|
|
44
|
-
mcp__flow-nexus__storage_list({
|
|
45
|
-
bucket: "my-bucket",
|
|
46
|
-
path: "data/",
|
|
47
|
-
limit: 100
|
|
48
|
-
})
|
|
49
|
-
|
|
50
|
-
// Get public URL
|
|
51
|
-
mcp__flow-nexus__storage_get_url({
|
|
52
|
-
bucket: "my-bucket",
|
|
53
|
-
path: "data/file.json",
|
|
54
|
-
expires_in: 3600 // seconds
|
|
55
|
-
})
|
|
56
|
-
|
|
57
|
-
// Delete file
|
|
58
|
-
mcp__flow-nexus__storage_delete({
|
|
59
|
-
bucket: "my-bucket",
|
|
60
|
-
path: "data/file.json"
|
|
61
|
-
})
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
## Real-time Subscriptions
|
|
65
|
-
```javascript
|
|
66
|
-
// Subscribe to database changes
|
|
67
|
-
mcp__flow-nexus__realtime_subscribe({
|
|
68
|
-
table: "tasks",
|
|
69
|
-
event: "INSERT", // UPDATE, DELETE, *
|
|
70
|
-
filter: "status=eq.pending"
|
|
71
|
-
})
|
|
72
|
-
|
|
73
|
-
// List subscriptions
|
|
74
|
-
mcp__flow-nexus__realtime_list()
|
|
75
|
-
|
|
76
|
-
// Unsubscribe
|
|
77
|
-
mcp__flow-nexus__realtime_unsubscribe({
|
|
78
|
-
subscription_id: "sub_id"
|
|
79
|
-
})
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
## Execution Monitoring
|
|
83
|
-
```javascript
|
|
84
|
-
// Monitor execution stream
|
|
85
|
-
mcp__flow-nexus__execution_stream_subscribe({
|
|
86
|
-
stream_type: "claude-flow-swarm",
|
|
87
|
-
deployment_id: "deployment_id"
|
|
88
|
-
})
|
|
89
|
-
|
|
90
|
-
// Get stream status
|
|
91
|
-
mcp__flow-nexus__execution_stream_status({
|
|
92
|
-
stream_id: "stream_id"
|
|
93
|
-
})
|
|
94
|
-
|
|
95
|
-
// List generated files
|
|
96
|
-
mcp__flow-nexus__execution_files_list({
|
|
97
|
-
stream_id: "stream_id",
|
|
98
|
-
created_by: "claude-flow",
|
|
99
|
-
file_type: "javascript"
|
|
100
|
-
})
|
|
101
|
-
|
|
102
|
-
// Get file content
|
|
103
|
-
mcp__flow-nexus__execution_file_get({
|
|
104
|
-
file_id: "file_id"
|
|
105
|
-
})
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
## System Health
|
|
109
|
-
```javascript
|
|
110
|
-
// Check system health
|
|
111
|
-
mcp__flow-nexus__system_health()
|
|
112
|
-
|
|
113
|
-
// View audit logs
|
|
114
|
-
mcp__flow-nexus__audit_log({
|
|
115
|
-
user_id: "your_id",
|
|
116
|
-
limit: 100
|
|
117
|
-
})
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
## Queen Seraphina Chat
|
|
121
|
-
```javascript
|
|
122
|
-
// Seek guidance from Queen Seraphina
|
|
123
|
-
mcp__flow-nexus__seraphina_chat({
|
|
124
|
-
message: "How should I architect my distributed system?",
|
|
125
|
-
enable_tools: true, // Allow her to create swarms/deploy code
|
|
126
|
-
conversation_history: [
|
|
127
|
-
{ role: "user", content: "Previous message" },
|
|
128
|
-
{ role: "assistant", content: "Previous response" }
|
|
129
|
-
]
|
|
130
|
-
})
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
## Email Verification
|
|
134
|
-
```javascript
|
|
135
|
-
mcp__flow-nexus__user_verify_email({
|
|
136
|
-
token: "verification_token_from_email"
|
|
137
|
-
})
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
## Storage Buckets
|
|
141
|
-
- **public**: Publicly accessible files
|
|
142
|
-
- **private**: User-only access
|
|
143
|
-
- **shared**: Team collaboration
|
|
144
|
-
- **temp**: Auto-deleted after 24h
|
|
145
|
-
|
|
146
|
-
## Best Practices
|
|
147
|
-
1. Use appropriate storage buckets
|
|
148
|
-
2. Set expiration on temporary URLs
|
|
149
|
-
3. Monitor real-time subscriptions
|
|
150
|
-
4. Clean up unused subscriptions
|
|
151
|
-
5. Regular audit log reviews
|
|
152
|
-
6. Enable 2FA for security (coming soon)
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: flow-nexus-workflow
|
|
3
|
-
description: Event-driven workflow automation with message queues
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Flow Nexus Workflows
|
|
7
|
-
|
|
8
|
-
Create and manage automated workflows with event-driven processing.
|
|
9
|
-
|
|
10
|
-
## Create Workflow
|
|
11
|
-
```javascript
|
|
12
|
-
mcp__flow-nexus__workflow_create({
|
|
13
|
-
name: "CI/CD Pipeline",
|
|
14
|
-
description: "Automated testing and deployment",
|
|
15
|
-
steps: [
|
|
16
|
-
{ id: "test", action: "run_tests", agent: "tester" },
|
|
17
|
-
{ id: "build", action: "build_app", agent: "builder" },
|
|
18
|
-
{ id: "deploy", action: "deploy_prod", agent: "deployer" }
|
|
19
|
-
],
|
|
20
|
-
triggers: ["push_to_main", "manual_trigger"]
|
|
21
|
-
})
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## Execute Workflow
|
|
25
|
-
```javascript
|
|
26
|
-
mcp__flow-nexus__workflow_execute({
|
|
27
|
-
workflow_id: "workflow_id",
|
|
28
|
-
input_data: {
|
|
29
|
-
branch: "main",
|
|
30
|
-
commit: "abc123"
|
|
31
|
-
},
|
|
32
|
-
async: true // Execute via message queue
|
|
33
|
-
})
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
## Monitor Workflows
|
|
37
|
-
```javascript
|
|
38
|
-
// Get workflow status
|
|
39
|
-
mcp__flow-nexus__workflow_status({
|
|
40
|
-
workflow_id: "id",
|
|
41
|
-
include_metrics: true
|
|
42
|
-
})
|
|
43
|
-
|
|
44
|
-
// List workflows
|
|
45
|
-
mcp__flow-nexus__workflow_list({
|
|
46
|
-
status: "running",
|
|
47
|
-
limit: 10
|
|
48
|
-
})
|
|
49
|
-
|
|
50
|
-
// Get audit trail
|
|
51
|
-
mcp__flow-nexus__workflow_audit_trail({
|
|
52
|
-
workflow_id: "id",
|
|
53
|
-
limit: 50
|
|
54
|
-
})
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
## Agent Assignment
|
|
58
|
-
```javascript
|
|
59
|
-
mcp__flow-nexus__workflow_agent_assign({
|
|
60
|
-
task_id: "task_id",
|
|
61
|
-
agent_type: "coder",
|
|
62
|
-
use_vector_similarity: true // AI-powered matching
|
|
63
|
-
})
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
## Queue Management
|
|
67
|
-
```javascript
|
|
68
|
-
mcp__flow-nexus__workflow_queue_status({
|
|
69
|
-
include_messages: true
|
|
70
|
-
})
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
## Common Workflow Patterns
|
|
74
|
-
|
|
75
|
-
### CI/CD Pipeline
|
|
76
|
-
```javascript
|
|
77
|
-
mcp__flow-nexus__workflow_create({
|
|
78
|
-
name: "Deploy Pipeline",
|
|
79
|
-
steps: [
|
|
80
|
-
{ action: "lint", parallel: true },
|
|
81
|
-
{ action: "test", parallel: true },
|
|
82
|
-
{ action: "build", depends_on: ["lint", "test"] },
|
|
83
|
-
{ action: "deploy", depends_on: ["build"] }
|
|
84
|
-
],
|
|
85
|
-
triggers: ["github_push"]
|
|
86
|
-
})
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
### Data Processing
|
|
90
|
-
```javascript
|
|
91
|
-
mcp__flow-nexus__workflow_create({
|
|
92
|
-
name: "ETL Pipeline",
|
|
93
|
-
steps: [
|
|
94
|
-
{ action: "extract_data", agent: "data_extractor" },
|
|
95
|
-
{ action: "transform_data", agent: "transformer" },
|
|
96
|
-
{ action: "load_data", agent: "loader" },
|
|
97
|
-
{ action: "validate", agent: "validator" }
|
|
98
|
-
],
|
|
99
|
-
triggers: ["schedule:0 2 * * *"] // Daily at 2 AM
|
|
100
|
-
})
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
### Multi-Stage Review
|
|
104
|
-
```javascript
|
|
105
|
-
mcp__flow-nexus__workflow_create({
|
|
106
|
-
name: "PR Review",
|
|
107
|
-
steps: [
|
|
108
|
-
{ action: "code_analysis", agent: "analyzer" },
|
|
109
|
-
{ action: "security_scan", agent: "security" },
|
|
110
|
-
{ action: "performance_test", agent: "perf_tester" },
|
|
111
|
-
{ action: "approve_merge", agent: "reviewer" }
|
|
112
|
-
],
|
|
113
|
-
metadata: { priority: 10 }
|
|
114
|
-
})
|
|
115
|
-
```
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# Memory Management
|
|
2
|
-
|
|
3
|
-
## 🎯 Key Principle
|
|
4
|
-
**This tool coordinates Claude Code's actions. It does NOT write code or create content.**
|
|
5
|
-
|
|
6
|
-
## MCP Tool Usage in Claude Code
|
|
7
|
-
|
|
8
|
-
**Tool:** `mcp__claude-flow__memory_usage`
|
|
9
|
-
|
|
10
|
-
## Parameters
|
|
11
|
-
```json
|
|
12
|
-
{
|
|
13
|
-
"action": "retrieve",
|
|
14
|
-
"namespace": "default"
|
|
15
|
-
}
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## Description
|
|
19
|
-
Track persistent memory usage across Claude Code sessions
|
|
20
|
-
|
|
21
|
-
## Details
|
|
22
|
-
Memory helps Claude Code:
|
|
23
|
-
- Maintain context between sessions
|
|
24
|
-
- Remember project decisions
|
|
25
|
-
- Track implementation patterns
|
|
26
|
-
- Store coordination strategies that worked well
|
|
27
|
-
|
|
28
|
-
## Example Usage
|
|
29
|
-
|
|
30
|
-
**In Claude Code:**
|
|
31
|
-
1. Store memory: Use tool `mcp__claude-flow__memory_usage` with parameters `{"action": "store", "key": "project_context", "value": "authentication system design"}`
|
|
32
|
-
2. Retrieve memory: Use tool `mcp__claude-flow__memory_usage` with parameters `{"action": "retrieve", "key": "project_context"}`
|
|
33
|
-
3. List memories: Use tool `mcp__claude-flow__memory_usage` with parameters `{"action": "list", "namespace": "default"}`
|
|
34
|
-
4. Search memories: Use tool `mcp__claude-flow__memory_search` with parameters `{"pattern": "auth*"}`
|
|
35
|
-
|
|
36
|
-
## Important Reminders
|
|
37
|
-
- ✅ This tool provides coordination and structure
|
|
38
|
-
- ✅ Claude Code performs all actual implementation
|
|
39
|
-
- ❌ The tool does NOT write code
|
|
40
|
-
- ❌ The tool does NOT access files directly
|
|
41
|
-
- ❌ The tool does NOT execute commands
|
|
42
|
-
|
|
43
|
-
## See Also
|
|
44
|
-
- Main documentation: /CLAUDE.md
|
|
45
|
-
- Other commands in this category
|
|
46
|
-
- Workflow examples in /workflows/
|