@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/h3.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
  // node_modules/defu/dist/defu.mjs
6
8
  function isPlainObject(value) {
@@ -341,7 +343,15 @@ var serve = (routeFunction, options) => {
341
343
  body: await readRawBody(event),
342
344
  method: "POST"
343
345
  });
344
- const { handler: serveHandler } = serveBase(routeFunction, options);
346
+ const { handler: serveHandler } = serveBase(
347
+ routeFunction,
348
+ {
349
+ sdk: SDK_TELEMETRY,
350
+ framework: "h3",
351
+ runtime: process.versions.bun ? `bun@${process.versions.bun}/node@${process.version}` : `node@${process.version}`
352
+ },
353
+ options
354
+ );
345
355
  return await serveHandler(request);
346
356
  });
347
357
  return { handler };
package/hono.d.mts CHANGED
@@ -1,7 +1,10 @@
1
1
  import { Context } from 'hono';
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 { Variables } from 'hono/types';
4
4
  import '@upstash/qstash';
5
+ import 'ai';
6
+ import '@ai-sdk/openai';
7
+ import 'langchain/tools';
5
8
 
6
9
  type WorkflowBindings = {
7
10
  QSTASH_TOKEN: string;
package/hono.d.ts CHANGED
@@ -1,7 +1,10 @@
1
1
  import { Context } from 'hono';
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 { Variables } from 'hono/types';
4
4
  import '@upstash/qstash';
5
+ import 'ai';
6
+ import '@ai-sdk/openai';
7
+ import 'langchain/tools';
5
8
 
6
9
  type WorkflowBindings = {
7
10
  QSTASH_TOKEN: string;