@offlocal/mcp 0.3.2 → 0.3.3

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/dist/detect.js CHANGED
@@ -116,6 +116,21 @@ export async function detectRequirements(sourceDir) {
116
116
  if (has("redis") || has("ioredis")) {
117
117
  reqs.push({ capability: "redis", reason: "Redis client detected" });
118
118
  }
119
+ const wantsObjectStorage = has("@aws-sdk/client-s3") ||
120
+ has("@aws-sdk/lib-storage") ||
121
+ has("aws-sdk") ||
122
+ has("@google-cloud/storage") ||
123
+ has("@azure/storage-blob") ||
124
+ has("minio") ||
125
+ has("multer-s3") ||
126
+ has("cloudinary") ||
127
+ /\b(s3_bucket|bucket_name|storage_bucket|r2_bucket|spaces_bucket|cloudinary_url)\b/.test(envText);
128
+ if (wantsObjectStorage) {
129
+ reqs.push({
130
+ capability: "object_storage",
131
+ reason: "object-storage client or bucket config detected",
132
+ });
133
+ }
119
134
  return reqs;
120
135
  }
121
136
  const WEB_FRAMEWORKS = new Set([
@@ -11,6 +11,7 @@ const CAP_LABEL = {
11
11
  postgres: "Postgres database",
12
12
  mysql: "MySQL database",
13
13
  redis: "Redis",
14
+ object_storage: "Object storage",
14
15
  };
15
16
  const ROLE_LABEL = {
16
17
  web: "Web app",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@offlocal/mcp",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "MCP server for Offlocal - lets your AI coding agent deploy apps via offlocal_deploy, offlocal_status, offlocal_logs, offlocal_ping.",
5
5
  "keywords": [
6
6
  "mcp",