@decocms/runtime 1.0.0-alpha.11 → 1.0.0-alpha.12

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/package.json CHANGED
@@ -1,19 +1,15 @@
1
1
  {
2
2
  "name": "@decocms/runtime",
3
- "version": "1.0.0-alpha.11",
3
+ "version": "1.0.0-alpha.12",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@cloudflare/workers-types": "^4.20250617.0",
7
7
  "@deco/mcp": "npm:@jsr/deco__mcp@0.5.5",
8
- "@decocms/bindings": "*",
9
- "@mastra/core": "^0.20.2",
8
+ "@decocms/bindings": "1.0.1-alpha.11",
10
9
  "@modelcontextprotocol/sdk": "1.20.2",
11
10
  "@ai-sdk/provider": "^2.0.0",
12
- "bidc": "0.0.3",
13
- "drizzle-orm": "^0.44.5",
14
11
  "hono": "^4.10.7",
15
12
  "jose": "^6.0.11",
16
- "mime-db": "1.52.0",
17
13
  "zod": "^3.25.76",
18
14
  "zod-from-json-schema": "^0.0.5",
19
15
  "zod-to-json-schema": "3.25.0"
package/src/mcp.ts CHANGED
@@ -2,7 +2,6 @@
2
2
  import type { ToolBinder } from "@decocms/bindings";
3
3
  export {
4
4
  createMCPFetchStub,
5
- isStreamableToolBinder,
6
5
  MCPClient,
7
6
  type CreateStubAPIOptions,
8
7
  type MCPClientFetchStub,
package/src/well-known.ts DELETED
@@ -1,20 +0,0 @@
1
- const Hosts = {
2
- API: "api.decocms.com",
3
- WEB_APP: "admin.decocms.com",
4
- APPS: "deco.page",
5
- LOCALHOST: "localhost:3000",
6
- API_LEGACY: "api.deco.chat",
7
- WEB_APP_LEGACY: "deco.chat",
8
- } as const;
9
-
10
- export const WELL_KNOWN_API_HOSTNAMES = [
11
- Hosts.API,
12
- Hosts.API_LEGACY,
13
- Hosts.LOCALHOST.split(":")[0],
14
- ] as const;
15
-
16
- export const WELL_KNOWN_ORIGINS = [
17
- `http://${Hosts.LOCALHOST}`,
18
- `https://${Hosts.WEB_APP}`,
19
- `https://${Hosts.WEB_APP_LEGACY}`,
20
- ] as const;