@upstash/workflow 0.2.3 → 0.2.5-agents

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/solidjs.mjs CHANGED
@@ -1,6 +1,8 @@
1
1
  import {
2
+ SDK_TELEMETRY,
2
3
  serveBase
3
- } from "./chunk-QBJ3LQIO.mjs";
4
+ } from "./chunk-RFX5YRRT.mjs";
5
+ import "./chunk-PU5J4TNC.mjs";
4
6
 
5
7
  // platforms/solidjs.ts
6
8
  var serve = (routeFunction, options) => {
@@ -11,7 +13,15 @@ var serve = (routeFunction, options) => {
11
13
  status: 405
12
14
  });
13
15
  }
14
- const { handler: serveHandler } = serveBase(routeFunction, options);
16
+ const { handler: serveHandler } = serveBase(
17
+ routeFunction,
18
+ {
19
+ sdk: SDK_TELEMETRY,
20
+ framework: "solidjs",
21
+ runtime: process.versions.bun ? `bun@${process.versions.bun}/node@${process.version}` : `node@${process.version}`
22
+ },
23
+ options
24
+ );
15
25
  return await serveHandler(event.request);
16
26
  };
17
27
  return { POST: handler };
package/svelte.d.mts CHANGED
@@ -1,6 +1,9 @@
1
1
  import { RequestHandler } from '@sveltejs/kit';
2
- import { R as RouteFunction, j as PublicServeOptions } from './types-R9q4MUwl.mjs';
2
+ import { R as RouteFunction, j as PublicServeOptions } from './types-BEyIoCRe.mjs';
3
3
  import '@upstash/qstash';
4
+ import 'ai';
5
+ import '@ai-sdk/openai';
6
+ import 'langchain/tools';
4
7
 
5
8
  /**
6
9
  * Serve method to serve a Upstash Workflow in a Nextjs project
package/svelte.d.ts CHANGED
@@ -1,6 +1,9 @@
1
1
  import { RequestHandler } from '@sveltejs/kit';
2
- import { R as RouteFunction, j as PublicServeOptions } from './types-R9q4MUwl.js';
2
+ import { R as RouteFunction, j as PublicServeOptions } from './types-BEyIoCRe.js';
3
3
  import '@upstash/qstash';
4
+ import 'ai';
5
+ import '@ai-sdk/openai';
6
+ import 'langchain/tools';
4
7
 
5
8
  /**
6
9
  * Serve method to serve a Upstash Workflow in a Nextjs project