agentic-qe 1.6.0 → 1.6.1
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 +2239 -2157
- package/README.md +12 -6
- 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 +479 -461
- package/dist/cli/commands/init.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,120 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: flow-nexus-challenges
|
|
3
|
-
description: Coding challenges, achievements, and leaderboards
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Flow Nexus Challenges
|
|
7
|
-
|
|
8
|
-
Complete coding challenges to earn rUv credits and climb the leaderboard.
|
|
9
|
-
|
|
10
|
-
## List Challenges
|
|
11
|
-
```javascript
|
|
12
|
-
mcp__flow-nexus__challenges_list({
|
|
13
|
-
difficulty: "intermediate", // beginner, advanced, expert
|
|
14
|
-
category: "algorithms",
|
|
15
|
-
status: "active",
|
|
16
|
-
limit: 20
|
|
17
|
-
})
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Get Challenge Details
|
|
21
|
-
```javascript
|
|
22
|
-
mcp__flow-nexus__challenge_get({
|
|
23
|
-
challenge_id: "two-sum-problem"
|
|
24
|
-
})
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Submit Solution
|
|
28
|
-
```javascript
|
|
29
|
-
mcp__flow-nexus__challenge_submit({
|
|
30
|
-
challenge_id: "challenge_id",
|
|
31
|
-
user_id: "your_id",
|
|
32
|
-
solution_code: `
|
|
33
|
-
function solution(nums, target) {
|
|
34
|
-
const map = new Map();
|
|
35
|
-
for (let i = 0; i < nums.length; i++) {
|
|
36
|
-
const complement = target - nums[i];
|
|
37
|
-
if (map.has(complement)) {
|
|
38
|
-
return [map.get(complement), i];
|
|
39
|
-
}
|
|
40
|
-
map.set(nums[i], i);
|
|
41
|
-
}
|
|
42
|
-
return [];
|
|
43
|
-
}
|
|
44
|
-
`,
|
|
45
|
-
language: "javascript",
|
|
46
|
-
execution_time: 45 // milliseconds
|
|
47
|
-
})
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
## Complete Challenge
|
|
51
|
-
```javascript
|
|
52
|
-
mcp__flow-nexus__app_store_complete_challenge({
|
|
53
|
-
challenge_id: "challenge_id",
|
|
54
|
-
user_id: "your_id",
|
|
55
|
-
submission_data: {
|
|
56
|
-
passed_tests: 10,
|
|
57
|
-
total_tests: 10,
|
|
58
|
-
execution_time: 45
|
|
59
|
-
}
|
|
60
|
-
})
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
## Leaderboards
|
|
64
|
-
```javascript
|
|
65
|
-
// Global leaderboard
|
|
66
|
-
mcp__flow-nexus__leaderboard_get({
|
|
67
|
-
type: "global", // weekly, monthly, challenge
|
|
68
|
-
limit: 10
|
|
69
|
-
})
|
|
70
|
-
|
|
71
|
-
// Challenge-specific leaderboard
|
|
72
|
-
mcp__flow-nexus__leaderboard_get({
|
|
73
|
-
type: "challenge",
|
|
74
|
-
challenge_id: "specific_challenge",
|
|
75
|
-
limit: 25
|
|
76
|
-
})
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
## Achievements
|
|
80
|
-
```javascript
|
|
81
|
-
mcp__flow-nexus__achievements_list({
|
|
82
|
-
user_id: "your_id",
|
|
83
|
-
category: "speed_demon" // Categories vary
|
|
84
|
-
})
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
## rUv Credits
|
|
88
|
-
```javascript
|
|
89
|
-
// Check balance
|
|
90
|
-
mcp__flow-nexus__ruv_balance({ user_id: "your_id" })
|
|
91
|
-
|
|
92
|
-
// View history
|
|
93
|
-
mcp__flow-nexus__ruv_history({
|
|
94
|
-
user_id: "your_id",
|
|
95
|
-
limit: 20
|
|
96
|
-
})
|
|
97
|
-
|
|
98
|
-
// Earn credits (automatic on completion)
|
|
99
|
-
mcp__flow-nexus__app_store_earn_ruv({
|
|
100
|
-
user_id: "your_id",
|
|
101
|
-
amount: 100,
|
|
102
|
-
reason: "Completed expert challenge",
|
|
103
|
-
source: "challenge"
|
|
104
|
-
})
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
## Challenge Categories
|
|
108
|
-
- **algorithms**: Classic algorithm problems
|
|
109
|
-
- **data-structures**: DS implementation challenges
|
|
110
|
-
- **system-design**: Architecture challenges
|
|
111
|
-
- **optimization**: Performance challenges
|
|
112
|
-
- **security**: Security-focused problems
|
|
113
|
-
- **ml-basics**: Machine learning fundamentals
|
|
114
|
-
|
|
115
|
-
## Tips
|
|
116
|
-
1. Start with beginner challenges
|
|
117
|
-
2. Review other solutions after completing
|
|
118
|
-
3. Optimize for both correctness and speed
|
|
119
|
-
4. Complete daily challenges for bonus credits
|
|
120
|
-
5. Unlock achievements for extra rewards
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: flow-nexus-auth
|
|
3
|
-
description: Flow Nexus authentication and user management
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Flow Nexus Authentication
|
|
7
|
-
|
|
8
|
-
Quick commands for Flow Nexus login and registration.
|
|
9
|
-
|
|
10
|
-
## Register New Account
|
|
11
|
-
```javascript
|
|
12
|
-
mcp__flow-nexus__user_register({
|
|
13
|
-
email: "user@example.com",
|
|
14
|
-
password: "secure_password",
|
|
15
|
-
full_name: "Your Name" // optional
|
|
16
|
-
})
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Login
|
|
20
|
-
```javascript
|
|
21
|
-
mcp__flow-nexus__user_login({
|
|
22
|
-
email: "user@example.com",
|
|
23
|
-
password: "your_password"
|
|
24
|
-
})
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Check Auth Status
|
|
28
|
-
```javascript
|
|
29
|
-
mcp__flow-nexus__auth_status({ detailed: true })
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
## Logout
|
|
33
|
-
```javascript
|
|
34
|
-
mcp__flow-nexus__user_logout()
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## Password Reset
|
|
38
|
-
```javascript
|
|
39
|
-
// Request reset
|
|
40
|
-
mcp__flow-nexus__user_reset_password({ email: "user@example.com" })
|
|
41
|
-
|
|
42
|
-
// Update with token
|
|
43
|
-
mcp__flow-nexus__user_update_password({
|
|
44
|
-
token: "reset_token",
|
|
45
|
-
new_password: "new_secure_password"
|
|
46
|
-
})
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
## Profile Management
|
|
50
|
-
```javascript
|
|
51
|
-
// Get profile
|
|
52
|
-
mcp__flow-nexus__user_profile({ user_id: "your_id" })
|
|
53
|
-
|
|
54
|
-
// Update profile
|
|
55
|
-
mcp__flow-nexus__user_update_profile({
|
|
56
|
-
user_id: "your_id",
|
|
57
|
-
updates: { full_name: "New Name" }
|
|
58
|
-
})
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
## Quick Start
|
|
62
|
-
1. Register with your email
|
|
63
|
-
2. Check your email for verification
|
|
64
|
-
3. Login to access all features
|
|
65
|
-
4. Configure auto-refill for uninterrupted service
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: flow-nexus-neural
|
|
3
|
-
description: Train and deploy neural networks in distributed sandboxes
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Flow Nexus Neural Networks
|
|
7
|
-
|
|
8
|
-
Train custom neural networks with distributed computing.
|
|
9
|
-
|
|
10
|
-
## Train Model
|
|
11
|
-
```javascript
|
|
12
|
-
mcp__flow-nexus__neural_train({
|
|
13
|
-
config: {
|
|
14
|
-
architecture: {
|
|
15
|
-
type: "feedforward", // lstm, gan, autoencoder, transformer
|
|
16
|
-
layers: [
|
|
17
|
-
{ type: "dense", units: 128, activation: "relu" },
|
|
18
|
-
{ type: "dropout", rate: 0.2 },
|
|
19
|
-
{ type: "dense", units: 10, activation: "softmax" }
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
training: {
|
|
23
|
-
epochs: 100,
|
|
24
|
-
batch_size: 32,
|
|
25
|
-
learning_rate: 0.001,
|
|
26
|
-
optimizer: "adam"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
tier: "small" // nano, mini, small, medium, large
|
|
30
|
-
})
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
## Run Inference
|
|
34
|
-
```javascript
|
|
35
|
-
mcp__flow-nexus__neural_predict({
|
|
36
|
-
model_id: "model_id",
|
|
37
|
-
input: [[0.5, 0.3, 0.2], [0.1, 0.8, 0.1]],
|
|
38
|
-
user_id: "your_id"
|
|
39
|
-
})
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
## Use Templates
|
|
43
|
-
```javascript
|
|
44
|
-
// List templates
|
|
45
|
-
mcp__flow-nexus__neural_list_templates({
|
|
46
|
-
category: "classification", // regression, nlp, vision, anomaly
|
|
47
|
-
tier: "free",
|
|
48
|
-
limit: 20
|
|
49
|
-
})
|
|
50
|
-
|
|
51
|
-
// Deploy template
|
|
52
|
-
mcp__flow-nexus__neural_deploy_template({
|
|
53
|
-
template_id: "sentiment-analysis",
|
|
54
|
-
custom_config: {
|
|
55
|
-
training: { epochs: 50 }
|
|
56
|
-
}
|
|
57
|
-
})
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
## Distributed Training
|
|
61
|
-
```javascript
|
|
62
|
-
// Initialize cluster
|
|
63
|
-
mcp__flow-nexus__neural_cluster_init({
|
|
64
|
-
name: "training-cluster",
|
|
65
|
-
architecture: "transformer",
|
|
66
|
-
topology: "mesh",
|
|
67
|
-
consensus: "proof-of-learning",
|
|
68
|
-
wasmOptimization: true
|
|
69
|
-
})
|
|
70
|
-
|
|
71
|
-
// Deploy nodes
|
|
72
|
-
mcp__flow-nexus__neural_node_deploy({
|
|
73
|
-
cluster_id: "cluster_id",
|
|
74
|
-
node_type: "worker", // parameter_server, aggregator
|
|
75
|
-
model: "large",
|
|
76
|
-
capabilities: ["training", "inference"]
|
|
77
|
-
})
|
|
78
|
-
|
|
79
|
-
// Start training
|
|
80
|
-
mcp__flow-nexus__neural_train_distributed({
|
|
81
|
-
cluster_id: "cluster_id",
|
|
82
|
-
dataset: "mnist",
|
|
83
|
-
epochs: 100,
|
|
84
|
-
federated: true // Enable federated learning
|
|
85
|
-
})
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
## Model Management
|
|
89
|
-
```javascript
|
|
90
|
-
// List your models
|
|
91
|
-
mcp__flow-nexus__neural_list_models({
|
|
92
|
-
user_id: "your_id",
|
|
93
|
-
include_public: true
|
|
94
|
-
})
|
|
95
|
-
|
|
96
|
-
// Benchmark performance
|
|
97
|
-
mcp__flow-nexus__neural_performance_benchmark({
|
|
98
|
-
model_id: "model_id",
|
|
99
|
-
benchmark_type: "comprehensive"
|
|
100
|
-
})
|
|
101
|
-
|
|
102
|
-
// Publish as template
|
|
103
|
-
mcp__flow-nexus__neural_publish_template({
|
|
104
|
-
model_id: "model_id",
|
|
105
|
-
name: "My Custom Model",
|
|
106
|
-
description: "Highly accurate classifier",
|
|
107
|
-
category: "classification",
|
|
108
|
-
price: 0 // Free template
|
|
109
|
-
})
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
## Common Patterns
|
|
113
|
-
|
|
114
|
-
### Image Classification
|
|
115
|
-
```javascript
|
|
116
|
-
mcp__flow-nexus__neural_train({
|
|
117
|
-
config: {
|
|
118
|
-
architecture: { type: "cnn" },
|
|
119
|
-
training: { epochs: 50, batch_size: 64 }
|
|
120
|
-
},
|
|
121
|
-
tier: "medium"
|
|
122
|
-
})
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
### Time Series Prediction
|
|
126
|
-
```javascript
|
|
127
|
-
mcp__flow-nexus__neural_train({
|
|
128
|
-
config: {
|
|
129
|
-
architecture: { type: "lstm" },
|
|
130
|
-
training: { epochs: 100, learning_rate: 0.01 }
|
|
131
|
-
},
|
|
132
|
-
tier: "small"
|
|
133
|
-
})
|
|
134
|
-
```
|
|
@@ -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
|
-
```
|