claude-mpm 4.0.20__py3-none-any.whl → 4.0.22__py3-none-any.whl

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.
Files changed (36) hide show
  1. claude_mpm/BUILD_NUMBER +1 -1
  2. claude_mpm/VERSION +1 -1
  3. claude_mpm/agents/INSTRUCTIONS.md +74 -0
  4. claude_mpm/agents/WORKFLOW.md +308 -4
  5. claude_mpm/agents/agents_metadata.py +52 -0
  6. claude_mpm/agents/base_agent_loader.py +75 -19
  7. claude_mpm/agents/templates/__init__.py +4 -0
  8. claude_mpm/agents/templates/api_qa.json +206 -0
  9. claude_mpm/agents/templates/research.json +24 -16
  10. claude_mpm/agents/templates/ticketing.json +18 -5
  11. claude_mpm/agents/templates/vercel_ops_agent.json +281 -0
  12. claude_mpm/agents/templates/vercel_ops_instructions.md +582 -0
  13. claude_mpm/cli/commands/mcp_command_router.py +87 -1
  14. claude_mpm/cli/commands/mcp_install_commands.py +207 -26
  15. claude_mpm/cli/parsers/mcp_parser.py +23 -0
  16. claude_mpm/constants.py +1 -0
  17. claude_mpm/core/base_service.py +7 -1
  18. claude_mpm/core/config.py +64 -39
  19. claude_mpm/core/framework_loader.py +68 -28
  20. claude_mpm/core/interactive_session.py +28 -17
  21. claude_mpm/scripts/socketio_daemon.py +67 -7
  22. claude_mpm/scripts/socketio_daemon_hardened.py +897 -0
  23. claude_mpm/services/agents/deployment/agent_deployment.py +65 -3
  24. claude_mpm/services/agents/deployment/async_agent_deployment.py +65 -1
  25. claude_mpm/services/agents/memory/agent_memory_manager.py +42 -203
  26. claude_mpm/services/memory_hook_service.py +62 -4
  27. claude_mpm/services/runner_configuration_service.py +5 -9
  28. claude_mpm/services/socketio/server/broadcaster.py +32 -1
  29. claude_mpm/services/socketio/server/core.py +4 -0
  30. claude_mpm/services/socketio/server/main.py +23 -4
  31. {claude_mpm-4.0.20.dist-info → claude_mpm-4.0.22.dist-info}/METADATA +1 -1
  32. {claude_mpm-4.0.20.dist-info → claude_mpm-4.0.22.dist-info}/RECORD +36 -32
  33. {claude_mpm-4.0.20.dist-info → claude_mpm-4.0.22.dist-info}/WHEEL +0 -0
  34. {claude_mpm-4.0.20.dist-info → claude_mpm-4.0.22.dist-info}/entry_points.txt +0 -0
  35. {claude_mpm-4.0.20.dist-info → claude_mpm-4.0.22.dist-info}/licenses/LICENSE +0 -0
  36. {claude_mpm-4.0.20.dist-info → claude_mpm-4.0.22.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,281 @@
1
+ {
2
+ "schema_version": "1.2.0",
3
+ "agent_id": "vercel-ops-agent",
4
+ "agent_version": "1.0.0",
5
+ "agent_type": "ops",
6
+ "metadata": {
7
+ "name": "Vercel Ops Agent",
8
+ "description": "Specialized agent for Vercel platform deployment, environment management, and optimization",
9
+ "category": "operations",
10
+ "tags": [
11
+ "vercel",
12
+ "deployment",
13
+ "edge-functions",
14
+ "serverless",
15
+ "infrastructure",
16
+ "rolling-releases",
17
+ "preview-deployments",
18
+ "environment-management",
19
+ "performance-optimization",
20
+ "domain-configuration"
21
+ ],
22
+ "author": "Claude MPM Team",
23
+ "created_at": "2025-08-19T00:00:00.000000Z",
24
+ "updated_at": "2025-08-19T00:00:00.000000Z",
25
+ "color": "black"
26
+ },
27
+ "capabilities": {
28
+ "model": "sonnet",
29
+ "tools": [
30
+ "Read",
31
+ "Write",
32
+ "Edit",
33
+ "Bash",
34
+ "Grep",
35
+ "Glob",
36
+ "LS",
37
+ "TodoWrite",
38
+ "WebSearch",
39
+ "WebFetch"
40
+ ],
41
+ "resource_tier": "standard",
42
+ "max_tokens": 8192,
43
+ "temperature": 0.1,
44
+ "timeout": 600,
45
+ "memory_limit": 3072,
46
+ "cpu_limit": 50,
47
+ "network_access": true,
48
+ "file_access": {
49
+ "read_paths": [
50
+ "./"
51
+ ],
52
+ "write_paths": [
53
+ "./"
54
+ ]
55
+ }
56
+ },
57
+ "instructions": "file:vercel_ops_instructions.md",
58
+ "knowledge": {
59
+ "domain_expertise": [
60
+ "Vercel platform deployment and configuration",
61
+ "Edge function optimization and deployment",
62
+ "Serverless architecture patterns",
63
+ "Preview and production environment management",
64
+ "Rolling release strategies (2025 feature)",
65
+ "v0 Platform API integration",
66
+ "Build Output API optimization",
67
+ "Multi-region deployment strategies",
68
+ "Domain and SSL certificate management",
69
+ "Vercel Speed Insights and analytics",
70
+ "GitHub Actions integration for CI/CD",
71
+ "Environment variable management across environments",
72
+ "Branch-based deployment rules",
73
+ "Instant rollback procedures",
74
+ "Edge middleware configuration"
75
+ ],
76
+ "best_practices": [
77
+ "Use preview deployments for all feature branches",
78
+ "Configure environment variables per deployment context",
79
+ "Implement rolling releases for gradual rollouts",
80
+ "Optimize builds with Build Output API",
81
+ "Set up domain aliases for staging environments",
82
+ "Configure edge functions for optimal performance",
83
+ "Use Vercel Speed Insights for performance monitoring",
84
+ "Implement branch protection rules for production",
85
+ "Configure custom build commands in vercel.json",
86
+ "Set up automatic HTTPS and SSL certificates",
87
+ "Use environment-specific redirects and rewrites",
88
+ "Implement serverless function size optimization",
89
+ "Configure CORS and security headers properly",
90
+ "Use Vercel CLI for local development parity",
91
+ "Set up GitHub integration for automatic deployments"
92
+ ],
93
+ "constraints": [
94
+ "Maximum serverless function size: 50MB (compressed)",
95
+ "Maximum edge function size: 1MB",
96
+ "Environment variable limit: 64KB total",
97
+ "Build time limit: 45 minutes",
98
+ "Function execution timeout: 10 seconds (Hobby), 60 seconds (Pro)",
99
+ "Maximum file count: 10,000 files",
100
+ "Maximum deployment size: 100MB",
101
+ "Concurrent builds limit varies by plan",
102
+ "Custom domains require Pro plan for wildcard certificates",
103
+ "Analytics retention varies by plan tier"
104
+ ],
105
+ "examples": [
106
+ {
107
+ "scenario": "Deploy Next.js application with preview URLs",
108
+ "command": "vercel --prod",
109
+ "description": "Deploy to production with automatic preview URL generation"
110
+ },
111
+ {
112
+ "scenario": "Configure environment variables",
113
+ "command": "vercel env add API_KEY production",
114
+ "description": "Add environment variable to production environment"
115
+ },
116
+ {
117
+ "scenario": "Rollback deployment",
118
+ "command": "vercel rollback",
119
+ "description": "Instantly rollback to previous deployment"
120
+ },
121
+ {
122
+ "scenario": "Set up custom domain",
123
+ "command": "vercel domains add example.com",
124
+ "description": "Configure custom domain with automatic SSL"
125
+ }
126
+ ]
127
+ },
128
+ "interactions": {
129
+ "input_format": {
130
+ "required_fields": [
131
+ "task"
132
+ ],
133
+ "optional_fields": [
134
+ "environment",
135
+ "project",
136
+ "domain",
137
+ "branch",
138
+ "rollback_target"
139
+ ]
140
+ },
141
+ "output_format": {
142
+ "structure": "markdown",
143
+ "includes": [
144
+ "deployment_summary",
145
+ "environment_config",
146
+ "preview_urls",
147
+ "performance_metrics",
148
+ "recommendations"
149
+ ]
150
+ },
151
+ "handoff_agents": [
152
+ "engineer",
153
+ "qa",
154
+ "security",
155
+ "documentation"
156
+ ],
157
+ "triggers": [
158
+ "deployment_ready",
159
+ "feature_complete",
160
+ "rollback_required",
161
+ "environment_setup",
162
+ "domain_configuration"
163
+ ]
164
+ },
165
+ "testing": {
166
+ "test_cases": [
167
+ {
168
+ "name": "Basic deployment",
169
+ "input": "Deploy application to Vercel preview environment",
170
+ "expected_behavior": "Creates preview deployment with unique URL",
171
+ "validation_criteria": [
172
+ "deployment_successful",
173
+ "preview_url_generated",
174
+ "environment_variables_set",
175
+ "build_logs_available"
176
+ ]
177
+ },
178
+ {
179
+ "name": "Production deployment",
180
+ "input": "Deploy to production with rolling release",
181
+ "expected_behavior": "Gradual rollout to production with monitoring",
182
+ "validation_criteria": [
183
+ "rolling_release_configured",
184
+ "traffic_split_active",
185
+ "monitoring_enabled",
186
+ "rollback_ready"
187
+ ]
188
+ },
189
+ {
190
+ "name": "Environment configuration",
191
+ "input": "Configure staging environment with custom domain",
192
+ "expected_behavior": "Staging environment with SSL and custom domain",
193
+ "validation_criteria": [
194
+ "domain_configured",
195
+ "ssl_active",
196
+ "environment_isolated",
197
+ "redirects_working"
198
+ ]
199
+ }
200
+ ],
201
+ "performance_benchmarks": {
202
+ "response_time": 300,
203
+ "deployment_time": 180,
204
+ "token_usage": 8192,
205
+ "success_rate": 0.98
206
+ }
207
+ },
208
+ "dependencies": {
209
+ "npm": [
210
+ "vercel@latest"
211
+ ],
212
+ "system": [
213
+ "node>=18.0.0",
214
+ "npm>=9.0.0",
215
+ "git"
216
+ ],
217
+ "optional": false
218
+ },
219
+ "vercel_specific": {
220
+ "supported_frameworks": [
221
+ "Next.js",
222
+ "React",
223
+ "Vue",
224
+ "Svelte",
225
+ "Angular",
226
+ "Nuxt",
227
+ "Gatsby",
228
+ "Remix",
229
+ "Astro",
230
+ "SolidStart",
231
+ "Qwik"
232
+ ],
233
+ "configuration_files": [
234
+ "vercel.json",
235
+ ".vercelignore",
236
+ "next.config.js",
237
+ "package.json"
238
+ ],
239
+ "cli_commands": {
240
+ "deployment": [
241
+ "vercel",
242
+ "vercel --prod",
243
+ "vercel --prebuilt",
244
+ "vercel --force"
245
+ ],
246
+ "environment": [
247
+ "vercel env ls",
248
+ "vercel env add",
249
+ "vercel env rm",
250
+ "vercel env pull"
251
+ ],
252
+ "domains": [
253
+ "vercel domains ls",
254
+ "vercel domains add",
255
+ "vercel domains rm",
256
+ "vercel domains inspect"
257
+ ],
258
+ "projects": [
259
+ "vercel project ls",
260
+ "vercel project add",
261
+ "vercel project rm"
262
+ ],
263
+ "rollback": [
264
+ "vercel rollback",
265
+ "vercel rollback [deployment-url]"
266
+ ],
267
+ "logs": [
268
+ "vercel logs",
269
+ "vercel logs --follow",
270
+ "vercel logs [deployment-url]"
271
+ ]
272
+ },
273
+ "api_endpoints": {
274
+ "deployments": "https://api.vercel.com/v13/deployments",
275
+ "projects": "https://api.vercel.com/v9/projects",
276
+ "domains": "https://api.vercel.com/v5/domains",
277
+ "environment": "https://api.vercel.com/v10/projects/{projectId}/env",
278
+ "teams": "https://api.vercel.com/v2/teams"
279
+ }
280
+ }
281
+ }