@decocms/bindings 1.1.3 → 1.2.0

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,13 +1,13 @@
1
1
  {
2
2
  "name": "@decocms/bindings",
3
- "version": "1.1.3",
3
+ "version": "1.2.0",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "check": "tsc --noEmit",
7
7
  "test": "bun test"
8
8
  },
9
9
  "dependencies": {
10
- "@modelcontextprotocol/sdk": "1.25.2",
10
+ "@modelcontextprotocol/sdk": "1.25.3",
11
11
  "@tanstack/react-router": "1.139.7",
12
12
  "react": "^19.2.0",
13
13
  "zod": "^4.0.0",
@@ -21,6 +21,7 @@
21
21
  ".": "./src/index.ts",
22
22
  "./collections": "./src/well-known/collections.ts",
23
23
  "./llm": "./src/well-known/language-model.ts",
24
+ "./object-storage": "./src/well-known/object-storage.ts",
24
25
  "./connection": "./src/core/connection.ts",
25
26
  "./client": "./src/core/client/index.ts",
26
27
  "./mcp": "./src/well-known/mcp.ts",
@@ -95,3 +95,11 @@ export {
95
95
  type RouteIds,
96
96
  type RouteById,
97
97
  } from "./plugin-router";
98
+
99
+ // Re-export plugin context provider and hook (React components)
100
+ export {
101
+ PluginContextProvider,
102
+ usePluginContext,
103
+ type PluginContextProviderProps,
104
+ type UsePluginContextOptions,
105
+ } from "./plugin-context-provider";
package/src/index.ts CHANGED
@@ -17,7 +17,7 @@ export {
17
17
  type ConnectionForBinding,
18
18
  } from "./core/binder";
19
19
 
20
- // Re-export plugin context types and provider
20
+ // Re-export plugin context types (not the React provider - use @decocms/bindings/plugins for that)
21
21
  export {
22
22
  type PluginContext,
23
23
  type PluginContextPartial,
@@ -27,13 +27,6 @@ export {
27
27
  type TypedToolCaller,
28
28
  } from "./core/plugin-context";
29
29
 
30
- export {
31
- PluginContextProvider,
32
- usePluginContext,
33
- type PluginContextProviderProps,
34
- type UsePluginContextOptions,
35
- } from "./core/plugin-context-provider";
36
-
37
30
  // Re-export registry binding types
38
31
  export {
39
32
  MCPRegistryServerSchema,