@decocms/bindings 1.0.1-alpha.16 → 1.0.1-alpha.17

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@decocms/bindings",
3
- "version": "1.0.1-alpha.16",
3
+ "version": "1.0.1-alpha.17",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "test": "vitest run",
@@ -30,4 +30,4 @@
30
30
  "publishConfig": {
31
31
  "access": "public"
32
32
  }
33
- }
33
+ }
@@ -103,6 +103,13 @@ export const bindingClient = <TDefinition extends readonly ToolBinder[]>(
103
103
  forClient: (client: ServerClient): MCPClientFetchStub<TDefinition> => {
104
104
  return createMCPFetchStub<TDefinition>({
105
105
  client,
106
+ streamable: binder.reduce(
107
+ (acc, tool) => {
108
+ acc[tool.name] = tool.streamable === true;
109
+ return acc;
110
+ },
111
+ {} as Record<string, boolean>,
112
+ ),
106
113
  });
107
114
  },
108
115
  forConnection: (