Skip to content

Commit 772be81

Browse files
committed
update deps and types
1 parent 8196309 commit 772be81

File tree

4 files changed

+40
-28
lines changed

4 files changed

+40
-28
lines changed

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"@tailwindcss/vite": "^4.1.6",
2828
"@types/node": "^22.15.17",
2929
"@types/react": "^19.1.4",
30-
"@types/react-dom": "^19.1.4",
30+
"@types/react-dom": "^19.1.5",
3131
"@vitejs/plugin-react": "^4.4.1",
3232
"prettier": "^3.5.3",
3333
"tailwindcss": "^4.1.6",
@@ -46,7 +46,7 @@
4646
"@radix-ui/react-slot": "^1.2.2",
4747
"@radix-ui/react-switch": "^1.2.4",
4848
"@types/marked": "^6.0.0",
49-
"agents": "^0.0.85",
49+
"agents": "^0.0.86",
5050
"ai": "^4.3.15",
5151
"class-variance-authority": "^0.7.1",
5252
"clsx": "^2.1.1",

worker-configuration.d.ts

Lines changed: 29 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable */
22
// Generated by Wrangler by running `wrangler types` (hash: 3ccdf084f5f0ee5a0721055a8d3236be)
3-
// Runtime types generated with workerd@1.20250428.0 2025-02-04 nodejs_compat,nodejs_compat_populate_process_env
3+
// Runtime types generated with workerd@1.20250507.0 2025-05-07 nodejs_compat,nodejs_compat_populate_process_env
44
declare namespace Cloudflare {
55
interface Env {
66
OPENAI_API_KEY: string;
@@ -95,7 +95,7 @@ interface Console {
9595
clear(): void;
9696
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */
9797
count(label?: string): void;
98-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */
98+
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) */
9999
countReset(label?: string): void;
100100
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */
101101
debug(...data: any[]): void;
@@ -107,9 +107,9 @@ interface Console {
107107
error(...data: any[]): void;
108108
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */
109109
group(...data: any[]): void;
110-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */
110+
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) */
111111
groupCollapsed(...data: any[]): void;
112-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */
112+
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) */
113113
groupEnd(): void;
114114
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */
115115
info(...data: any[]): void;
@@ -119,9 +119,9 @@ interface Console {
119119
table(tabularData?: any, properties?: string[]): void;
120120
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */
121121
time(label?: string): void;
122-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */
122+
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) */
123123
timeEnd(label?: string): void;
124-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */
124+
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */
125125
timeLog(label?: string, ...data: any[]): void;
126126
timeStamp(label?: string): void;
127127
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */
@@ -296,25 +296,25 @@ declare function dispatchEvent(event: WorkerGlobalScopeEventMap[keyof WorkerGlob
296296
declare function btoa(data: string): string;
297297
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */
298298
declare function atob(data: string): string;
299-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/setTimeout) */
299+
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setTimeout) */
300300
declare function setTimeout(callback: (...args: any[]) => void, msDelay?: number): number;
301-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/setTimeout) */
301+
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setTimeout) */
302302
declare function setTimeout<Args extends any[]>(callback: (...args: Args) => void, msDelay?: number, ...args: Args): number;
303-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearTimeout) */
303+
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearTimeout) */
304304
declare function clearTimeout(timeoutId: number | null): void;
305-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/setInterval) */
305+
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setInterval) */
306306
declare function setInterval(callback: (...args: any[]) => void, msDelay?: number): number;
307-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/setInterval) */
307+
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setInterval) */
308308
declare function setInterval<Args extends any[]>(callback: (...args: Args) => void, msDelay?: number, ...args: Args): number;
309-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
309+
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearInterval) */
310310
declare function clearInterval(timeoutId: number | null): void;
311-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */
311+
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/queueMicrotask) */
312312
declare function queueMicrotask(task: Function): void;
313-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/structuredClone) */
313+
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/structuredClone) */
314314
declare function structuredClone<T>(value: T, options?: StructuredSerializeOptions): T;
315-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/reportError) */
315+
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/reportError) */
316316
declare function reportError(error: any): void;
317-
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/fetch) */
317+
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */
318318
declare function fetch(input: RequestInfo | URL, init?: RequestInit<RequestInitCfProperties>): Promise<Response>;
319319
declare const self: ServiceWorkerGlobalScope;
320320
/**
@@ -793,6 +793,7 @@ declare class Blob {
793793
slice(start?: number, end?: number, type?: string): Blob;
794794
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/arrayBuffer) */
795795
arrayBuffer(): Promise<ArrayBuffer>;
796+
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/bytes) */
796797
bytes(): Promise<Uint8Array>;
797798
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text) */
798799
text(): Promise<string>;
@@ -1087,10 +1088,15 @@ interface TextEncoderEncodeIntoResult {
10871088
*/
10881089
declare class ErrorEvent extends Event {
10891090
constructor(type: string, init?: ErrorEventErrorEventInit);
1091+
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) */
10901092
get filename(): string;
1093+
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) */
10911094
get message(): string;
1095+
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) */
10921096
get lineno(): number;
1097+
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) */
10931098
get colno(): number;
1099+
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) */
10941100
get error(): any;
10951101
}
10961102
interface ErrorEventErrorEventInit {
@@ -1264,6 +1270,7 @@ declare abstract class Body {
12641270
get bodyUsed(): boolean;
12651271
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/arrayBuffer) */
12661272
arrayBuffer(): Promise<ArrayBuffer>;
1273+
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bytes) */
12671274
bytes(): Promise<Uint8Array>;
12681275
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/text) */
12691276
text(): Promise<string>;
@@ -1375,7 +1382,11 @@ interface Request<CfHostMetadata = unknown, Cf = CfProperties<CfHostMetadata>> e
13751382
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/integrity)
13761383
*/
13771384
integrity: string;
1378-
/* Returns a boolean indicating whether or not request can outlive the global in which it was created. */
1385+
/**
1386+
* Returns a boolean indicating whether or not request can outlive the global in which it was created.
1387+
*
1388+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive)
1389+
*/
13791390
keepalive: boolean;
13801391
/**
13811392
* Returns the cache mode associated with request, which is a string indicating how the request will interact with the browser's cache when fetching.
@@ -2212,6 +2223,7 @@ declare class URLPattern {
22122223
get pathname(): string;
22132224
get search(): string;
22142225
get hash(): string;
2226+
get hasRegExpGroups(): boolean;
22152227
test(input?: (string | URLPatternInit), baseURL?: string): boolean;
22162228
exec(input?: (string | URLPatternInit), baseURL?: string): URLPatternResult | null;
22172229
}

wrangler.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "my-chat-agent",
33
"main": "src/server.ts",
4-
"compatibility_date": "2025-02-04",
4+
"compatibility_date": "2025-05-07",
55
"compatibility_flags": [
66
"nodejs_compat",
77
"nodejs_compat_populate_process_env",

0 commit comments

Comments
 (0)