@superatomai/sdk-node 0.0.64-dsp → 0.0.65-dsp

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.js CHANGED
@@ -24153,7 +24153,13 @@ function normEvent(ev, done) {
24153
24153
  case "error":
24154
24154
  return { kind: "error", id: it.id, text: it.message ?? "", done };
24155
24155
  default:
24156
- return null;
24156
+ return {
24157
+ kind: "tool",
24158
+ id: it.id,
24159
+ tool: { name: String(it.type ?? "unknown"), args: it },
24160
+ status,
24161
+ done
24162
+ };
24157
24163
  }
24158
24164
  }
24159
24165
  function markerFor(event) {
package/dist/index.mjs CHANGED
@@ -24047,7 +24047,13 @@ function normEvent(ev, done) {
24047
24047
  case "error":
24048
24048
  return { kind: "error", id: it.id, text: it.message ?? "", done };
24049
24049
  default:
24050
- return null;
24050
+ return {
24051
+ kind: "tool",
24052
+ id: it.id,
24053
+ tool: { name: String(it.type ?? "unknown"), args: it },
24054
+ status,
24055
+ done
24056
+ };
24051
24057
  }
24052
24058
  }
24053
24059
  function markerFor(event) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superatomai/sdk-node",
3
- "version": "0.0.64-dsp",
3
+ "version": "0.0.65-dsp",
4
4
  "description": "Node.js TypeScript SDK for Superatom",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",