@knowsuchagency/fulcrum 2.6.2 → 2.6.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/index.html CHANGED
@@ -5,7 +5,7 @@
5
5
  <link rel="icon" type="image/png" href="/logo.png" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>Fulcrum</title>
8
- <script type="module" crossorigin src="/assets/index-BDlHkiqY.js"></script>
8
+ <script type="module" crossorigin src="/assets/index-DTsEsXCV.js"></script>
9
9
  <link rel="stylesheet" crossorigin href="/assets/index-BHEllC_2.css">
10
10
  </head>
11
11
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowsuchagency/fulcrum",
3
- "version": "2.6.2",
3
+ "version": "2.6.3",
4
4
  "description": "Harness Attention. Orchestrate Agents. Ship.",
5
5
  "license": "PolyForm-Perimeter-1.0.0",
6
6
  "repository": {
package/server/index.js CHANGED
@@ -427869,6 +427869,27 @@ app14.post("/", async (c) => {
427869
427869
  updatedAt: now
427870
427870
  }));
427871
427871
  await db2.insert(appServices).values(serviceRecords);
427872
+ } else {
427873
+ try {
427874
+ const parsed = await parseComposeFile(repo.path, composeFile);
427875
+ if (parsed.services.length > 0) {
427876
+ const serviceRecords = parsed.services.map((s) => ({
427877
+ id: nanoid(),
427878
+ appId,
427879
+ serviceName: s.name,
427880
+ containerPort: s.ports?.[0]?.container ?? null,
427881
+ exposed: false,
427882
+ domain: null,
427883
+ exposureMethod: "dns",
427884
+ status: "stopped",
427885
+ createdAt: now,
427886
+ updatedAt: now
427887
+ }));
427888
+ await db2.insert(appServices).values(serviceRecords);
427889
+ }
427890
+ } catch (err) {
427891
+ log2.deploy.warn("Failed to auto-detect services from compose file", { appId, error: err });
427892
+ }
427872
427893
  }
427873
427894
  const created = await db2.query.apps.findFirst({
427874
427895
  where: eq(apps.id, appId)
@@ -464181,7 +464202,7 @@ mcpRoutes.all("/", async (c) => {
464181
464202
  });
464182
464203
  const server = new McpServer({
464183
464204
  name: "fulcrum",
464184
- version: "2.6.2"
464205
+ version: "2.6.3"
464185
464206
  });
464186
464207
  const client = new FulcrumClient(`http://localhost:${port}`);
464187
464208
  registerTools(server, client);