booths 0.0.2 → 0.0.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -737,9 +737,9 @@ class w {
737
737
  * @returns The updated response parameters, potentially with tool call outputs added to the input.
738
738
  */
739
739
  async onResponseReceived(t, o, e) {
740
- const n = e.output.filter(
740
+ const n = (e?.output ?? [])?.filter(
741
741
  (l) => l.type === "function_call"
742
- );
742
+ ) ?? [];
743
743
  if (!n.length)
744
744
  return o;
745
745
  const s = [];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "booths",
3
3
  "private": false,
4
- "version": "0.0.2",
4
+ "version": "0.0.3",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",