@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/agents.d.mts +5 -0
- package/agents.d.ts +5 -0
- package/agents.js +245 -0
- package/agents.mjs +12 -0
- package/astro.d.mts +4 -1
- package/astro.d.ts +4 -1
- package/astro.js +362 -78
- package/astro.mjs +8 -1
- package/chunk-PU5J4TNC.mjs +251 -0
- package/{chunk-QBJ3LQIO.mjs → chunk-RFX5YRRT.mjs} +148 -103
- package/cloudflare.d.mts +4 -1
- package/cloudflare.d.ts +4 -1
- package/cloudflare.js +368 -82
- package/cloudflare.mjs +14 -5
- package/express.d.mts +4 -1
- package/express.d.ts +4 -1
- package/express.js +363 -79
- package/express.mjs +12 -4
- package/h3.d.mts +4 -1
- package/h3.d.ts +4 -1
- package/h3.js +366 -79
- package/h3.mjs +12 -2
- package/hono.d.mts +4 -1
- package/hono.d.ts +4 -1
- package/hono.js +370 -84
- package/hono.mjs +16 -7
- package/index.d.mts +5 -2
- package/index.d.ts +5 -2
- package/index.js +376 -83
- package/index.mjs +11 -4
- package/nextjs.d.mts +4 -1
- package/nextjs.d.ts +4 -1
- package/nextjs.js +371 -79
- package/nextjs.mjs +17 -2
- package/package.json +1 -1
- package/solidjs.d.mts +4 -1
- package/solidjs.d.ts +4 -1
- package/solidjs.js +366 -79
- package/solidjs.mjs +12 -2
- package/svelte.d.mts +4 -1
- package/svelte.d.ts +4 -1
- package/svelte.js +368 -82
- package/svelte.mjs +14 -5
- package/{types-R9q4MUwl.d.mts → types-BEyIoCRe.d.mts} +164 -4
- package/{types-R9q4MUwl.d.ts → types-BEyIoCRe.d.ts} +164 -4
package/express.mjs
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SDK_TELEMETRY,
|
|
3
|
+
serveBase
|
|
4
|
+
} from "./chunk-RFX5YRRT.mjs";
|
|
1
5
|
import {
|
|
2
6
|
__commonJS,
|
|
3
7
|
__require,
|
|
4
|
-
__toESM
|
|
5
|
-
|
|
6
|
-
} from "./chunk-QBJ3LQIO.mjs";
|
|
8
|
+
__toESM
|
|
9
|
+
} from "./chunk-PU5J4TNC.mjs";
|
|
7
10
|
|
|
8
11
|
// node_modules/depd/index.js
|
|
9
12
|
var require_depd = __commonJS({
|
|
@@ -23690,7 +23693,12 @@ function serve(routeFunction, options) {
|
|
|
23690
23693
|
body: requestBody
|
|
23691
23694
|
});
|
|
23692
23695
|
const { handler: serveHandler } = serveBase(
|
|
23693
|
-
|
|
23696
|
+
routeFunction,
|
|
23697
|
+
{
|
|
23698
|
+
sdk: SDK_TELEMETRY,
|
|
23699
|
+
framework: "express",
|
|
23700
|
+
runtime: process.versions.bun ? `bun@${process.versions.bun}/node@${process.version}` : `node@${process.version}`
|
|
23701
|
+
},
|
|
23694
23702
|
{
|
|
23695
23703
|
...options,
|
|
23696
23704
|
useJSONContent: true
|
package/h3.d.mts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as h3 from 'h3';
|
|
2
|
-
import { R as RouteFunction, j as PublicServeOptions } from './types-
|
|
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
|
declare const serve: <TInitialPayload = unknown>(routeFunction: RouteFunction<TInitialPayload>, options?: PublicServeOptions<TInitialPayload>) => {
|
|
6
9
|
handler: h3.EventHandler<h3.EventHandlerRequest, Promise<Response | {
|
package/h3.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as h3 from 'h3';
|
|
2
|
-
import { R as RouteFunction, j as PublicServeOptions } from './types-
|
|
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
|
declare const serve: <TInitialPayload = unknown>(routeFunction: RouteFunction<TInitialPayload>, options?: PublicServeOptions<TInitialPayload>) => {
|
|
6
9
|
handler: h3.EventHandler<h3.EventHandlerRequest, Promise<Response | {
|