From 02c047f3d1c748dc6d4dfd9dafd19b7e9036ecc6 Mon Sep 17 00:00:00 2001 From: rUv Date: Sat, 6 Sep 2025 20:37:20 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Checkpoint:=20Edit=20/workspaces?= =?UTF-8?q?/claude-code-flow/.claude/commands/flow-nexus/user-tools.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/checkpoints/1757191032.json | 1 + .claude/checkpoints/1757191034.json | 1 + .claude/commands/flow-nexus/user-tools.md | 152 ++++++++++++++++++++++ 3 files changed, 154 insertions(+) create mode 100644 .claude/checkpoints/1757191032.json create mode 100644 .claude/checkpoints/1757191034.json create mode 100644 .claude/commands/flow-nexus/user-tools.md diff --git a/.claude/checkpoints/1757191032.json b/.claude/checkpoints/1757191032.json new file mode 100644 index 0000000000..8093680d90 --- /dev/null +++ b/.claude/checkpoints/1757191032.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250906-203712", "file": "/workspaces/claude-code-flow/.claude/commands/flow-nexus/payments.md", "timestamp": "2025-09-06T20:37:12Z", "type": "pre-edit", "original_branch": "alpha101"} diff --git a/.claude/checkpoints/1757191034.json b/.claude/checkpoints/1757191034.json new file mode 100644 index 0000000000..1e7cc8d765 --- /dev/null +++ b/.claude/checkpoints/1757191034.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250906-203714", "file": "/workspaces/claude-code-flow/.claude/commands/flow-nexus/payments.md", "timestamp": "2025-09-06T20:37:14Z", "type": "post-edit", "branch": "alpha101", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 582 +++++++++---------------------- .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1757191027.json | 1 + .claude/checkpoints/1757191029.json | 1 + .claude/commands/flow-nexus/payments.md | 116 ++++++ claude-flow-wiki | 0 7 files changed, 293 insertions(+), 415 deletions(-) "} diff --git a/.claude/commands/flow-nexus/user-tools.md b/.claude/commands/flow-nexus/user-tools.md new file mode 100644 index 0000000000..f6efe7abea --- /dev/null +++ b/.claude/commands/flow-nexus/user-tools.md @@ -0,0 +1,152 @@ +--- +name: flow-nexus-user-tools +description: User management, storage, and system utilities +--- + +# Flow Nexus User Tools + +Utilities for user management, storage, and system operations. + +## Profile Management +```javascript +// Get profile +mcp__flow-nexus__user_profile({ + user_id: "your_id" +}) + +// Update profile +mcp__flow-nexus__user_update_profile({ + user_id: "your_id", + updates: { + full_name: "New Name", + bio: "Developer interested in AI", + github_username: "username" + } +}) + +// Get statistics +mcp__flow-nexus__user_stats({ + user_id: "your_id" +}) +``` + +## Storage Management +```javascript +// Upload file +mcp__flow-nexus__storage_upload({ + bucket: "my-bucket", + path: "data/file.json", + content: JSON.stringify(data), + content_type: "application/json" +}) + +// List files +mcp__flow-nexus__storage_list({ + bucket: "my-bucket", + path: "data/", + limit: 100 +}) + +// Get public URL +mcp__flow-nexus__storage_get_url({ + bucket: "my-bucket", + path: "data/file.json", + expires_in: 3600 // seconds +}) + +// Delete file +mcp__flow-nexus__storage_delete({ + bucket: "my-bucket", + path: "data/file.json" +}) +``` + +## Real-time Subscriptions +```javascript +// Subscribe to database changes +mcp__flow-nexus__realtime_subscribe({ + table: "tasks", + event: "INSERT", // UPDATE, DELETE, * + filter: "status=eq.pending" +}) + +// List subscriptions +mcp__flow-nexus__realtime_list() + +// Unsubscribe +mcp__flow-nexus__realtime_unsubscribe({ + subscription_id: "sub_id" +}) +``` + +## Execution Monitoring +```javascript +// Monitor execution stream +mcp__flow-nexus__execution_stream_subscribe({ + stream_type: "claude-flow-swarm", + deployment_id: "deployment_id" +}) + +// Get stream status +mcp__flow-nexus__execution_stream_status({ + stream_id: "stream_id" +}) + +// List generated files +mcp__flow-nexus__execution_files_list({ + stream_id: "stream_id", + created_by: "claude-flow", + file_type: "javascript" +}) + +// Get file content +mcp__flow-nexus__execution_file_get({ + file_id: "file_id" +}) +``` + +## System Health +```javascript +// Check system health +mcp__flow-nexus__system_health() + +// View audit logs +mcp__flow-nexus__audit_log({ + user_id: "your_id", + limit: 100 +}) +``` + +## Queen Seraphina Chat +```javascript +// Seek guidance from Queen Seraphina +mcp__flow-nexus__seraphina_chat({ + message: "How should I architect my distributed system?", + enable_tools: true, // Allow her to create swarms/deploy code + conversation_history: [ + { role: "user", content: "Previous message" }, + { role: "assistant", content: "Previous response" } + ] +}) +``` + +## Email Verification +```javascript +mcp__flow-nexus__user_verify_email({ + token: "verification_token_from_email" +}) +``` + +## Storage Buckets +- **public**: Publicly accessible files +- **private**: User-only access +- **shared**: Team collaboration +- **temp**: Auto-deleted after 24h + +## Best Practices +1. Use appropriate storage buckets +2. Set expiration on temporary URLs +3. Monitor real-time subscriptions +4. Clean up unused subscriptions +5. Regular audit log reviews +6. Enable 2FA for security (coming soon) \ No newline at end of file