chore(deps-dev): wrangler 4.147 (undici advisories via miniflare) (#107)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
poli0981andClaude Opus 5.5 authored and GitHub committed 2026-10-03 19:38:56 +07:00
1 parent 605d14f022
commit 169f77f806
4 files changed
+533 -73

No files matched your search

+42 -42
View File
@@ -56,7 +56,7 @@
"typescript-eslint": "^8.70.0",
"vite": "^8.3.0",
"vitest": "^5.0.1",
"wrangler": "^4.134.0"
"wrangler": "^4.147.0"
},
"engines": {
"node": ">=22.22"
@@ -337,9 +337,9 @@
}
},
"node_modules/@cloudflare/unenv-preset": {
"version": "2.16.1",
"resolved": "https://registry.npmjs.org/@cloudflare/unenv-preset/-/unenv-preset-2.16.1.tgz",
"integrity": "sha512-ECxObrMfyTl5bhQf/lZCXwo5G6xX9IAUo+nDMKK4SZ8m4Jvvxp52vilxyySSWh2YTZz8+HQ07qGH/2rEom1vDw==",
"version": "2.16.2",
"resolved": "https://registry.npmjs.org/@cloudflare/unenv-preset/-/unenv-preset-2.16.2.tgz",
"integrity": "sha512-JBP1+Z7ZSNG/d4mRP+y8VC5dka3tZVMLEZRvS+rzQ4DGV1EoxRFQckcJTTkXbHSQiTj0DtNI01Zwb/V2fX0mvQ==",
"dev": true,
"license": "MIT OR Apache-2.0",
"peerDependencies": {
@@ -353,9 +353,9 @@
}
},
"node_modules/@cloudflare/workerd-darwin-64": {
"version": "1.20260917.1",
"resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-64/-/workerd-darwin-64-1.20260917.1.tgz",
"integrity": "sha512-ufFpLi2+WIuifZOiW38N8hzcX1tqfCqxYWgRC3tgT78TzjxUiBPcSkNdwv8dxeQ9xApwQh3BnQiFhfzq67umew==",
"version": "1.20261001.1",
"resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-64/-/workerd-darwin-64-1.20261001.1.tgz",
"integrity": "sha512-4cgSgDf28JSw/P5Dj5GCS59hzVqS5XnmGAWNkvYHLI6ODU9idGaMMNEuhJXDkEG/lsABmlVlnCgsdh2VbKWepw==",
"cpu": [
"x64"
],
@@ -370,9 +370,9 @@
}
},
"node_modules/@cloudflare/workerd-darwin-arm64": {
"version": "1.20260917.1",
"resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-arm64/-/workerd-darwin-arm64-1.20260917.1.tgz",
"integrity": "sha512-rbdal3kspPfG5O55I9IVHdBv2SH6UJMh66JkmdLIXuN2oS6WYctP226hKQJIme8mLW7XebRjL+ZnVbVES2SrkQ==",
"version": "1.20261001.1",
"resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-arm64/-/workerd-darwin-arm64-1.20261001.1.tgz",
"integrity": "sha512-8ulAWruEVouNmEIsQsy9WSSCS9zkLu93W2MTwp5esiFyoPp05BNSVFIFsYSPi1pkFmBBd7fsnwMpbLkaJLaVPQ==",
"cpu": [
"arm64"
],
@@ -387,9 +387,9 @@
}
},
"node_modules/@cloudflare/workerd-linux-64": {
"version": "1.20260917.1",
"resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-64/-/workerd-linux-64-1.20260917.1.tgz",
"integrity": "sha512-t981nh4Ol5mjzkH6x7x7Oev/UVmF5n3zjm07btl58BxJ1IgUSUPW0XJz07DR7rWss/EmGey7UlRMUM0qRcWkvg==",
"version": "1.20261001.1",
"resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-64/-/workerd-linux-64-1.20261001.1.tgz",
"integrity": "sha512-kZbTZJGrhsMOdqZ2BIybjaBRLZjYsRLWj7mcNw/6Y3hodOhp5MrNzcz4iWGwNVWwyIV+7Pl+/LX5VcgnRqdHOg==",
"cpu": [
"x64"
],
@@ -404,9 +404,9 @@
}
},
"node_modules/@cloudflare/workerd-linux-arm64": {
"version": "1.20260917.1",
"resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-arm64/-/workerd-linux-arm64-1.20260917.1.tgz",
"integrity": "sha512-3nW87yjIxhchhI7ZqbeQsy0Rfzw+7aZVADN/iDF0v1JOH3IxGsExEGGWYB+nQQQG4rUvnBlRTFT4WG21mVB02Q==",
"version": "1.20261001.1",
"resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-arm64/-/workerd-linux-arm64-1.20261001.1.tgz",
"integrity": "sha512-oOk3Zj6k/8oP0FJgZBWDn7+BqbsqIMEMaV95pulHPVbwVu4wYoLfQq2hp0vkbCNsCFLqZb7cqixXdrwD54ZIow==",
"cpu": [
"arm64"
],
@@ -421,9 +421,9 @@
}
},
"node_modules/@cloudflare/workerd-windows-64": {
"version": "1.20260917.1",
"resolved": "https://registry.npmjs.org/@cloudflare/workerd-windows-64/-/workerd-windows-64-1.20260917.1.tgz",
"integrity": "sha512-S3j07o3yMK0gzyEX+oM4/QmdtGdLxTK0mNYkQMZRjO98PjWr55TPiEkwfwcnfUNxnl6bI53MlHp1x5ZWOBg/JA==",
"version": "1.20261001.1",
"resolved": "https://registry.npmjs.org/@cloudflare/workerd-windows-64/-/workerd-windows-64-1.20261001.1.tgz",
"integrity": "sha512-uRxm5W4VyBkoSaoP1BfOuH0873tE+vxsknF4sab6/5YIRvIAufChq3QDp+zlAn67PuGPGcn7W8QraA0t4ucmOQ==",
"cpu": [
"x64"
],
@@ -6707,16 +6707,16 @@
}
},
"node_modules/miniflare": {
"version": "5.20260917.0-alpha",
"resolved": "https://registry.npmjs.org/miniflare/-/miniflare-5.20260917.0-alpha.tgz",
"integrity": "sha512-NpZyBR+h/nonVA/YO/+1/UJpIl8lTwCgpFPVp/KVzAhb8JuCRImPDfyrft040659Zna1RS3Lt2pzTs5Vwy5QSA==",
"version": "5.20261001.0-alpha",
"resolved": "https://registry.npmjs.org/miniflare/-/miniflare-5.20261001.0-alpha.tgz",
"integrity": "sha512-GaimS5mSIOMyvd16ga+e1/QkI8cmp3z35QPHFex0DktqNQf2RVZQwMPQXdyoUreUiFP/0Gpe2MoQInTyMAD5xA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@cspotcode/source-map-support": "0.8.1",
"sharp": "0.35.4",
"undici": "7.29.0",
"workerd": "1.20260917.1",
"undici": "7.29.1",
"workerd": "1.20261001.1",
"ws": "8.21.0",
"youch": "4.1.0-beta.10"
},
@@ -7710,9 +7710,9 @@
}
},
"node_modules/undici": {
"version": "7.29.0",
"resolved": "https://registry.npmjs.org/undici/-/undici-7.29.0.tgz",
"integrity": "sha512-IDxfleLmmbSskfWSUATiN1nfn2rDuvnMOqb5CWR92iIfojA0Ud+ulOAAEQ57LPr9rWmsreUyf5lwyao+7GNNVw==",
"version": "7.29.1",
"resolved": "https://registry.npmjs.org/undici/-/undici-7.29.1.tgz",
"integrity": "sha512-RYONW2MeafgYlkVOKYKkA/Ag7BmXqgIWCa8t1m0JcxrQg9pI9lEqRhAOruOBCbAohOa/gkCF+iPi9hrgvTzu6Q==",
"dev": true,
"license": "MIT",
"engines": {
@@ -8066,9 +8066,9 @@
}
},
"node_modules/workerd": {
"version": "1.20260917.1",
"resolved": "https://registry.npmjs.org/workerd/-/workerd-1.20260917.1.tgz",
"integrity": "sha512-k072RxsZfRz2cnyAq1Titt+0VpNfnFizSXUkT3r15CDJECBfBXj6JeKK0Bk5CrBLAHGP+dvOHjI//TP7GHXDEw==",
"version": "1.20261001.1",
"resolved": "https://registry.npmjs.org/workerd/-/workerd-1.20261001.1.tgz",
"integrity": "sha512-d/SIYHFO0PT/wiFZg8in4NpRIxYuFwslX1HdylOtWkBIIUmSpkGFhK820cV84XACFylwJ48xuRoWW/8DWDPsPQ==",
"dev": true,
"hasInstallScript": true,
"license": "Apache-2.0",
@@ -8079,28 +8079,28 @@
"node": ">=16"
},
"optionalDependencies": {
"@cloudflare/workerd-darwin-64": "1.20260917.1",
"@cloudflare/workerd-darwin-arm64": "1.20260917.1",
"@cloudflare/workerd-linux-64": "1.20260917.1",
"@cloudflare/workerd-linux-arm64": "1.20260917.1",
"@cloudflare/workerd-windows-64": "1.20260917.1"
"@cloudflare/workerd-darwin-64": "1.20261001.1",
"@cloudflare/workerd-darwin-arm64": "1.20261001.1",
"@cloudflare/workerd-linux-64": "1.20261001.1",
"@cloudflare/workerd-linux-arm64": "1.20261001.1",
"@cloudflare/workerd-windows-64": "1.20261001.1"
}
},
"node_modules/wrangler": {
"version": "4.134.0",
"resolved": "https://registry.npmjs.org/wrangler/-/wrangler-4.134.0.tgz",
"integrity": "sha512-65JbYVGSt0XpPH8O/y6pNuS0t+AvvwVv+VRPbqYsNI5NMF9oFiJxVoS5GYU47ooamF9ucSXWvGyQ6QnAtXLgRA==",
"version": "4.147.0",
"resolved": "https://registry.npmjs.org/wrangler/-/wrangler-4.147.0.tgz",
"integrity": "sha512-pQYRoiq8PTAxphaG69z8+GC1DkSGd19EDZehQ8zxjo/Ko3mRB6Qs1mTrd8ZuKAarLklIjTqr1lUdCK9r4q2hUg==",
"dev": true,
"license": "MIT OR Apache-2.0",
"dependencies": {
"@cloudflare/kv-asset-handler": "0.5.0",
"@cloudflare/unenv-preset": "2.16.1",
"@cloudflare/unenv-preset": "2.16.2",
"blake3-wasm": "2.1.5",
"esbuild": "0.28.1",
"miniflare": "5.20260917.0-alpha",
"miniflare": "5.20261001.0-alpha",
"path-to-regexp": "6.3.0",
"unenv": "2.0.0-rc.24",
"workerd": "1.20260917.1"
"workerd": "1.20261001.1"
},
"bin": {
"cf-wrangler": "bin/cf-wrangler.js",
@@ -8114,7 +8114,7 @@
"fsevents": "2.3.3"
},
"peerDependencies": {
"@cloudflare/workers-types": "^5.20260917.1"
"@cloudflare/workers-types": "^5.20261001.1"
},
"peerDependenciesMeta": {
"@cloudflare/workers-types": {
+1 -1
View File
@@ -68,6 +68,6 @@
"typescript-eslint": "^8.70.0",
"vite": "^8.3.0",
"vitest": "^5.0.1",
"wrangler": "^4.134.0"
"wrangler": "^4.147.0"
}
}
+1 -1
View File
@@ -161,7 +161,7 @@ export const THIRD_PARTY: ThirdParty[] = [
// Hosting / tooling (Cloudflare)
{ name: 'jose', version: '6.2', license: 'MIT', url: 'https://github.com/panva/jose', category: 'dev' },
{ name: 'Wrangler', version: '4.134', license: 'MIT OR Apache-2.0', url: 'https://developers.cloudflare.com/workers/wrangler/', category: 'dev' },
{ name: 'Wrangler', version: '4.147', license: 'MIT OR Apache-2.0', url: 'https://developers.cloudflare.com/workers/wrangler/', category: 'dev' },
{ name: 'Vitest', version: '5.0', license: 'MIT', url: 'https://vitest.dev', category: 'dev' },
// Desktop / mobile (Tauri)
+489 -29
View File
@@ -1,6 +1,6 @@
/* eslint-disable */
// Generated by Wrangler by running `wrangler types --env-file=types.env --strict-vars=false` (hash: 46b8bf594a62e9471799a0f004146e00)
// Runtime types generated with workerd@1.20260917.1 2026-09-15
// Runtime types generated with workerd@1.20261001.1 2026-09-15
interface __BaseEnv_Env {
THUMBS: R2Bucket;
DB: D1Database;
@@ -486,7 +486,7 @@ type ExportedHandlerFetchHandler<Env = unknown, CfHostMetadata = unknown, Props
type ExportedHandlerConnectHandler<Env = unknown, Props = unknown> = (socket: Socket, env: Env, ctx: ExecutionContext<Props>) => void | Promise<void>;
type ExportedHandlerTailHandler<Env = unknown, Props = unknown> = (events: TraceItem[], env: Env, ctx: ExecutionContext<Props>) => void | Promise<void>;
type ExportedHandlerTraceHandler<Env = unknown, Props = unknown> = (traces: TraceItem[], env: Env, ctx: ExecutionContext<Props>) => void | Promise<void>;
type ExportedHandlerTailStreamHandler<Env = unknown, Props = unknown> = (event: TailStream.TailEvent<TailStream.Onset>, env: Env, ctx: ExecutionContext<Props>) => TailStream.TailEventHandlerType | Promise<TailStream.TailEventHandlerType>;
type ExportedHandlerTailStreamHandler<Env = unknown, Props = unknown> = (event: TailStream.TailEvent<TailStream.Onset>, env: Env, ctx: ExecutionContext<Props>) => TailStream.TailEventHandlerType | undefined | Promise<TailStream.TailEventHandlerType | undefined>;
type ExportedHandlerScheduledHandler<Env = unknown, Props = unknown> = (controller: ScheduledController, env: Env, ctx: ExecutionContext<Props>) => void | Promise<void>;
type ExportedHandlerQueueHandler<Env = unknown, Message = unknown, Props = unknown> = (batch: MessageBatch<Message>, env: Env, ctx: ExecutionContext<Props>) => void | Promise<void>;
type ExportedHandlerTestHandler<Env = unknown, Props = unknown> = (controller: TestController, env: Env, ctx: ExecutionContext<Props>) => void | Promise<void>;
@@ -1243,6 +1243,8 @@ interface JsonWebKey {
qi?: string;
oth?: RsaOtherPrimesInfo[];
k?: string;
pub?: string;
priv?: string;
}
interface RsaOtherPrimesInfo {
r?: string;
@@ -1289,6 +1291,7 @@ interface SubtleCryptoSignAlgorithm {
hash?: (string | SubtleCryptoHashAlgorithm);
dataLength?: number;
saltLength?: number;
context?: ArrayBuffer | ArrayBufferView;
}
interface CryptoKeyKeyAlgorithm {
name: string;
@@ -1468,7 +1471,7 @@ interface MessageEventInit {
data?: any;
origin?: string;
lastEventId?: string;
source?: MessagePort;
source?: (MessagePort | null);
ports?: MessagePort[];
}
/**
@@ -3467,7 +3470,7 @@ interface Container {
setInactivityTimeout(durationMs: number | bigint): Promise<void>;
interceptOutboundHttp(addr: string, binding: Fetcher): Promise<void>;
interceptAllOutboundHttp(binding: Fetcher): Promise<void>;
snapshotContainer(options: ContainerSnapshotOptions): Promise<ContainerSnapshot>;
snapshotContainer(options?: ContainerSnapshotOptions): Promise<ContainerSnapshot>;
interceptOutboundHttps(addr: string, binding: Fetcher): Promise<void>;
exec(cmd: string[], options?: ContainerExecOptions): Promise<ExecProcess>;
inspect(): Promise<ContainerInfo | null>;
@@ -3569,7 +3572,7 @@ declare class MessageChannel {
interface MessagePortPostMessageOptions {
transfer?: any[];
}
type LoopbackForExport<T extends (new (...args: any[]) => Rpc.EntrypointBranded) | ExportedHandler<any, any, any> | undefined = undefined> = T extends new (...args: any[]) => Rpc.WorkerEntrypointBranded ? LoopbackServiceStub<InstanceType<T>> : T extends new (...args: any[]) => Rpc.DurableObjectBranded ? LoopbackDurableObjectClass<InstanceType<T>> : T extends ExportedHandler<any, any, any> ? LoopbackServiceStub<undefined> : undefined;
type LoopbackForExport<T extends (new (...args: any[]) => Rpc.EntrypointBranded) | ExportedHandler<any, any, any> | undefined = undefined> = T extends new (...args: any[]) => Rpc.WorkerEntrypointBranded ? LoopbackServiceStub<InstanceType<T>> : T extends new (...args: any[]) => Rpc.DurableObjectBranded ? LoopbackDurableObjectClass<InstanceType<T>> : T extends new (...args: any[]) => CloudflareWorkersModule.WorkflowEntrypoint<any, infer Params> ? Workflow<Params> : T extends ExportedHandler<any, any, any> ? LoopbackServiceStub<undefined> : undefined;
type LoopbackServiceStub<T extends Rpc.WorkerEntrypointBranded | undefined = undefined> = Fetcher<T> & (T extends CloudflareWorkersModule.WorkerEntrypoint<any, infer Props> ? (opts: {
props?: Props;
}) => Fetcher<T> : (opts: {
@@ -3683,8 +3686,15 @@ declare abstract class Span {
message: string;
stack?: string;
}): void;
updateName(name: string): this;
setStatus(status: TracingSpanStatus): this;
end(): void;
}
type TracingSpanStatusCode = "unset" | "ok" | "error";
interface TracingSpanStatus {
code: TracingSpanStatusCode;
message?: string;
}
/**
* Represents the identity of a user authenticated via Cloudflare Access.
* This matches the result of calling /cdn-cgi/access/get-identity.
@@ -5197,8 +5207,13 @@ type WebSearchOptions = {
search_context_size?: "low" | "medium" | "high";
user_location?: WebSearchUserLocation;
};
// Source of truth for per-model reasoning types: each model's `reasoning_effort` metadata
// in Workers AI ConfigAPI (supported efforts, aliases, defaults, and whether reasoning can
// be turned off). The Workers AI SDK type generator (cloudflare/ai/sdk,
// apps/worker-constellation-entry/scripts/build-types) turns it into the per-model
// `inputs` types below; the developer docs model schemas come from the same metadata.
type ChatTemplateKwargs = {
/** Whether to enable reasoning, enabled by default. */
/** Whether to enable reasoning. Support and defaults depend on the model. */
enable_thinking?: boolean;
/** If false, preserves reasoning context between turns. */
clear_thinking?: boolean;
@@ -5219,6 +5234,7 @@ type ChatCompletionsCommonOptions = {
parallel_tool_calls?: boolean;
prediction?: PredictionContent;
presence_penalty?: number | null;
/** Reasoning effort. Supported levels depend on the model. */
reasoning_effort?: "low" | "medium" | "high" | null;
chat_template_kwargs?: ChatTemplateKwargs;
response_format?: ResponseFormat;
@@ -9234,11 +9250,59 @@ declare abstract class Base_Ai_Cf_Pipecat_Ai_Smart_Turn_V2 {
postProcessedOutputs: Ai_Cf_Pipecat_Ai_Smart_Turn_V2_Output;
}
declare abstract class Base_Ai_Cf_Openai_Gpt_Oss_120B {
inputs: XOR<ResponsesInput, ChatCompletionsMessagesInput>;
inputs: XOR<Omit<ResponsesInput, "reasoning"> & {
reasoning?: (Omit<Reasoning, "effort"> & {
/**
* Reasoning effort. Supported levels: low, medium, high. Reasoning cannot be disabled.
*
* @default "medium"
*/
effort?: "low" | "medium" | "high" | null;
}) | null;
}, Omit<ChatCompletionsInput, "reasoning_effort" | "chat_template_kwargs"> & {
/**
* Reasoning effort. Supported levels: low, medium, high. Reasoning cannot be disabled.
*
* @default "medium"
*/
reasoning_effort?: "low" | "medium" | "high" | null;
chat_template_kwargs?: Omit<ChatTemplateKwargs, "enable_thinking"> & {
/**
* Reasoning is always enabled for this model and cannot be disabled.
*
* @default true
*/
enable_thinking?: true;
};
}>;
postProcessedOutputs: XOR<ResponsesOutput, ChatCompletionsOutput>;
}
declare abstract class Base_Ai_Cf_Openai_Gpt_Oss_20B {
inputs: XOR<ResponsesInput, ChatCompletionsMessagesInput>;
inputs: XOR<Omit<ResponsesInput, "reasoning"> & {
reasoning?: (Omit<Reasoning, "effort"> & {
/**
* Reasoning effort. Supported levels: low, medium, high. Reasoning cannot be disabled.
*
* @default "medium"
*/
effort?: "low" | "medium" | "high" | null;
}) | null;
}, Omit<ChatCompletionsInput, "reasoning_effort" | "chat_template_kwargs"> & {
/**
* Reasoning effort. Supported levels: low, medium, high. Reasoning cannot be disabled.
*
* @default "medium"
*/
reasoning_effort?: "low" | "medium" | "high" | null;
chat_template_kwargs?: Omit<ChatTemplateKwargs, "enable_thinking"> & {
/**
* Reasoning is always enabled for this model and cannot be disabled.
*
* @default true
*/
enable_thinking?: true;
};
}>;
postProcessedOutputs: XOR<ResponsesOutput, ChatCompletionsOutput>;
}
interface Ai_Cf_Leonardo_Phoenix_1_0_Input {
@@ -10207,7 +10271,16 @@ declare abstract class Base_Ai_Cf_Black_Forest_Labs_Flux_2_Klein_9B {
postProcessedOutputs: Ai_Cf_Black_Forest_Labs_Flux_2_Klein_9B_Output;
}
declare abstract class Base_Ai_Cf_Zai_Org_Glm_4_7_Flash {
inputs: ChatCompletionsInput;
inputs: Omit<ChatCompletionsInput, "reasoning_effort" | "chat_template_kwargs"> & {
chat_template_kwargs?: Omit<ChatTemplateKwargs, "enable_thinking"> & {
/**
* Whether to enable reasoning for this model. This model has no reasoning effort levels.
*
* @default true
*/
enable_thinking?: boolean;
};
};
postProcessedOutputs: ChatCompletionsOutput;
}
declare abstract class Base_Ai_Cf_Moonshotai_Kimi_K2_5 {
@@ -10215,23 +10288,146 @@ declare abstract class Base_Ai_Cf_Moonshotai_Kimi_K2_5 {
postProcessedOutputs: ChatCompletionsOutput;
}
declare abstract class Base_Ai_Cf_Moonshotai_Kimi_K2_6 {
inputs: ChatCompletionsInput;
inputs: Omit<ChatCompletionsInput, "reasoning_effort" | "chat_template_kwargs"> & {
/**
* Reasoning effort. Supported levels: high, none. Compatibility aliases (accepted by the API, not by these types): low maps to high; medium maps to high; max maps to high.
*
* @default "high"
*/
reasoning_effort?: "high" | "none" | null;
chat_template_kwargs?: Omit<ChatTemplateKwargs, "enable_thinking"> & {
/**
* Whether to enable reasoning for this model.
*
* @default true
*/
enable_thinking?: boolean;
};
};
postProcessedOutputs: ChatCompletionsOutput;
}
type Ai_Cf_Nvidia_Nemotron_3_120B_A12B_Input = Omit<ChatCompletionsInput, "model" | "max_tokens" | "metadata" | "modalities" | "chat_template_kwargs" | "store" | "reasoning_effort"> & {
/**
* ID of the model to use (for example, '@cf/nvidia/nemotron-3-120b-a12b').
*/
model?: ChatCompletionsInput["model"];
/**
* The maximum number of tokens to generate.
*/
max_tokens?: ChatCompletionsInput["max_tokens"];
/**
* Set of key-value pairs that can be attached to the object.
*/
metadata?: ChatCompletionsInput["metadata"];
/**
* Output types requested from the model.
*/
modalities?: ChatCompletionsInput["modalities"];
/**
* Nemotron chat-template controls for normal reasoning, low-effort reasoning, and non-reasoning responses.
*/
chat_template_kwargs?: {
/**
* Whether to enable reasoning. Reasoning is enabled by default.
*/
enable_thinking?: boolean;
/**
* When reasoning is enabled, use Nemotron's low-effort reasoning mode, which uses significantly fewer reasoning tokens.
*/
low_effort?: boolean;
/**
* For coding agent use, Nvidia suggests setting force_nonempty_content=true
*/
force_nonempty_content?: boolean;
};
/**
* Whether to store the output for model distillation or evaluation.
*
* @default false
*/
store?: ChatCompletionsInput["store"];
};
declare abstract class Base_Ai_Cf_Nvidia_Nemotron_3_120B_A12B {
inputs: ChatCompletionsInput;
inputs: Ai_Cf_Nvidia_Nemotron_3_120B_A12B_Input;
postProcessedOutputs: ChatCompletionsOutput;
}
declare abstract class Base_Ai_Cf_Google_Gemma_4_26B_A4B_IT {
inputs: ChatCompletionsInput;
type Ai_Cf_Google_Gemma_4_26B_A4B_It_Input = Omit<ChatCompletionsInput, "reasoning_effort" | "chat_template_kwargs"> & {
chat_template_kwargs?: Omit<ChatTemplateKwargs, "enable_thinking"> & {
/**
* Whether to enable reasoning for this model. This model has no reasoning effort levels.
*
* @default true
*/
enable_thinking?: boolean;
};
} & {
/**
* @default false
*/
skip_special_tokens?: boolean;
};
declare abstract class Base_Ai_Cf_Google_Gemma_4_26B_A4B_It {
inputs: Ai_Cf_Google_Gemma_4_26B_A4B_It_Input;
postProcessedOutputs: ChatCompletionsOutput;
}
/** @deprecated Use Base_Ai_Cf_Google_Gemma_4_26B_A4B_It. */
declare abstract class Base_Ai_Cf_Google_Gemma_4_26B_A4B_IT extends Base_Ai_Cf_Google_Gemma_4_26B_A4B_It {
}
type Ai_Cf_Nvidia_Nemotron_Speech_Streaming_En_0_6B_Input = {
/**
* readable stream with audio data and content-type specified for that data
*/
audio: {
body: object;
contentType: string;
};
} | {
/**
* base64 encoded audio data
*/
audio: string;
encoding?: "wav" | "flac" | "ogg" | "linear16";
sample_rate?: number;
channels?: number;
};
interface Ai_Cf_Nvidia_Nemotron_Speech_Streaming_En_0_6B_Output {
text?: string;
duration?: number;
}
declare abstract class Base_Ai_Cf_Nvidia_Nemotron_Speech_Streaming_En_0_6B {
inputs: Ai_Cf_Nvidia_Nemotron_Speech_Streaming_En_0_6B_Input;
postProcessedOutputs: Ai_Cf_Nvidia_Nemotron_Speech_Streaming_En_0_6B_Output;
}
declare abstract class Base_Ai_Cf_Moonshotai_Kimi_K2_7_Code {
inputs: ChatCompletionsInput;
inputs: Omit<ChatCompletionsInput, "reasoning_effort" | "chat_template_kwargs"> & {
chat_template_kwargs?: Omit<ChatTemplateKwargs, "enable_thinking"> & {
/**
* Reasoning is always enabled for this model and cannot be disabled. This model has no reasoning effort levels.
*
* @default true
*/
enable_thinking?: true;
};
};
postProcessedOutputs: ChatCompletionsOutput;
}
declare abstract class Base_Ai_Cf_Zai_Org_Glm_5_2 {
inputs: ChatCompletionsInput;
inputs: Omit<ChatCompletionsInput, "reasoning_effort" | "chat_template_kwargs"> & {
/**
* Reasoning effort. Supported levels: max, high, none. Compatibility aliases (accepted by the API, not by these types): low maps to high; medium maps to high; xhigh maps to max; minimal maps to none.
*
* @default "max"
*/
reasoning_effort?: "max" | "high" | "none" | null;
chat_template_kwargs?: Omit<ChatTemplateKwargs, "enable_thinking"> & {
/**
* Whether to enable reasoning for this model.
*
* @default true
*/
enable_thinking?: boolean;
};
};
postProcessedOutputs: ChatCompletionsOutput;
}
interface Ai_Cf_Moondream_Moondream3_1_9B_A2B_Input {
@@ -10368,26 +10564,104 @@ declare abstract class Base_Ai_Cf_Moondream_Moondream3_1_9B_A2B {
postProcessedOutputs: Ai_Cf_Moondream_Moondream3_1_9B_A2B_Output;
}
declare abstract class Base_Ai_Cf_Deepseek_Ai_Deepseek_V4_Flash_0731 {
inputs: ChatCompletionsInput;
inputs: Omit<ChatCompletionsInput, "reasoning_effort" | "chat_template_kwargs"> & {
/**
* Reasoning effort. Supported levels: max, high, low, none. Compatibility aliases (accepted by the API, not by these types): minimal maps to low; medium maps to high; xhigh maps to high.
*
* @default "high"
*/
reasoning_effort?: "max" | "high" | "low" | "none" | null;
chat_template_kwargs?: Omit<ChatTemplateKwargs, "enable_thinking"> & {
/**
* Whether to enable reasoning for this model.
*
* @default true
*/
enable_thinking?: boolean;
};
};
postProcessedOutputs: ChatCompletionsOutput;
}
declare abstract class Base_Ai_Cf_Deepseek_Ai_Deepseek_V4_Pro_0813 {
inputs: ChatCompletionsInput;
inputs: Omit<ChatCompletionsInput, "reasoning_effort" | "chat_template_kwargs"> & {
/**
* Reasoning effort. Supported levels: max, high, low, none. Compatibility aliases (accepted by the API, not by these types): minimal maps to low; medium maps to high; xhigh maps to high.
*
* @default "high"
*/
reasoning_effort?: "max" | "high" | "low" | "none" | null;
chat_template_kwargs?: Omit<ChatTemplateKwargs, "enable_thinking"> & {
/**
* Whether to enable reasoning for this model.
*
* @default true
*/
enable_thinking?: boolean;
};
};
postProcessedOutputs: ChatCompletionsOutput;
}
declare abstract class Base_Ai_Cf_Qwen_Qwen3_8_27B {
inputs: ChatCompletionsInput;
inputs: Omit<ChatCompletionsInput, "reasoning_effort" | "chat_template_kwargs"> & {
/**
* Reasoning effort. Supported levels: low, medium, xhigh.
*
* @default "xhigh"
*/
reasoning_effort?: "low" | "medium" | "xhigh" | null;
chat_template_kwargs?: Omit<ChatTemplateKwargs, "enable_thinking"> & {
/**
* Whether to enable reasoning for this model.
*
* @default true
*/
enable_thinking?: boolean;
};
};
postProcessedOutputs: ChatCompletionsOutput;
}
declare abstract class Base_Ai_Cf_Zai_Org_Glm_5_3 {
inputs: Omit<ChatCompletionsInput, "reasoning_effort" | "chat_template_kwargs"> & {
/**
* Reasoning effort. Supported levels: max, high, low. Reasoning cannot be disabled. Compatibility aliases (accepted by the API, not by these types): none maps to max; minimal maps to max; medium maps to max; xhigh maps to max.
*
* @default "max"
*/
reasoning_effort?: "max" | "high" | "low" | null;
chat_template_kwargs?: Omit<ChatTemplateKwargs, "enable_thinking"> & {
/**
* Reasoning is always enabled for this model and cannot be disabled.
*
* @default true
*/
enable_thinking?: true;
};
};
postProcessedOutputs: ChatCompletionsOutput;
}
declare abstract class Base_Ai_Cf_Zai_Org_Glm_5_3_Flash {
inputs: ChatCompletionsInput;
inputs: Omit<ChatCompletionsInput, "reasoning_effort" | "chat_template_kwargs"> & {
/**
* Reasoning effort. Supported levels: max, high, low. Reasoning cannot be disabled. Compatibility aliases (accepted by the API, not by these types): none maps to max; minimal maps to max; medium maps to max; xhigh maps to max.
*
* @default "max"
*/
reasoning_effort?: "max" | "high" | "low" | null;
chat_template_kwargs?: Omit<ChatTemplateKwargs, "enable_thinking"> & {
/**
* Reasoning is always enabled for this model and cannot be disabled.
*
* @default true
*/
enable_thinking?: true;
};
};
postProcessedOutputs: ChatCompletionsOutput;
}
interface AiModels {
"@cf/huggingface/distilbert-sst-2-int8": BaseAiTextClassification;
"@cf/stabilityai/stable-diffusion-xl-base-1.0": BaseAiTextToImage;
"@cf/runwayml/stable-diffusion-v1-5-inpainting": BaseAiTextToImage;
"@cf/runwayml/stable-diffusion-v1-5-img2img": BaseAiTextToImage;
"@cf/lykon/dreamshaper-8-lcm": BaseAiTextToImage;
"@cf/bytedance/stable-diffusion-xl-lightning": BaseAiTextToImage;
"@cf/myshell-ai/melotts": BaseAiTextToSpeech;
@@ -10474,13 +10748,15 @@ interface AiModels {
"@cf/moonshotai/kimi-k2.5": Base_Ai_Cf_Moonshotai_Kimi_K2_5;
"@cf/moonshotai/kimi-k2.6": Base_Ai_Cf_Moonshotai_Kimi_K2_6;
"@cf/nvidia/nemotron-3-120b-a12b": Base_Ai_Cf_Nvidia_Nemotron_3_120B_A12B;
"@cf/google/gemma-4-26b-a4b-it": Base_Ai_Cf_Google_Gemma_4_26B_A4B_IT;
"@cf/google/gemma-4-26b-a4b-it": Base_Ai_Cf_Google_Gemma_4_26B_A4B_It;
"@cf/nvidia/nemotron-speech-streaming-en-0.6b": Base_Ai_Cf_Nvidia_Nemotron_Speech_Streaming_En_0_6B;
"@cf/moonshotai/kimi-k2.7-code": Base_Ai_Cf_Moonshotai_Kimi_K2_7_Code;
"@cf/zai-org/glm-5.2": Base_Ai_Cf_Zai_Org_Glm_5_2;
"@cf/moondream/moondream3.1-9B-A2B": Base_Ai_Cf_Moondream_Moondream3_1_9B_A2B;
"@cf/deepseek-ai/deepseek-v4-flash-0731": Base_Ai_Cf_Deepseek_Ai_Deepseek_V4_Flash_0731;
"@cf/deepseek-ai/deepseek-v4-pro-0813": Base_Ai_Cf_Deepseek_Ai_Deepseek_V4_Pro_0813;
"@cf/qwen/qwen3.8-27b": Base_Ai_Cf_Qwen_Qwen3_8_27B;
"@cf/zai-org/glm-5.3": Base_Ai_Cf_Zai_Org_Glm_5_3;
"@cf/zai-org/glm-5.3-flash": Base_Ai_Cf_Zai_Org_Glm_5_3_Flash;
}
type AiOptions = {
@@ -10544,9 +10820,22 @@ type AiModelListType = Record<string, any>;
type AiAsyncBatchResponse = {
request_id: string;
};
type AiWebSearchRequest = {
/** AI Gateway configuration used for this request. */
gatewayId: string;
/** Search query. */
query: string;
/** Maximum number of results. Defaults to 10 and is capped at 20. */
limit?: number;
/** Optional BYOK web-search provider configured on the gateway. */
provider?: string;
/** Optional BYOK key alias. Defaults to `default`. */
byokAlias?: string;
};
declare abstract class Ai<AiModelList extends AiModelListType = AiModels> {
aiGatewayLogId: string | null;
gateway(gatewayId: string): AiGateway;
websearch(request: AiWebSearchRequest): Promise<Response>;
/**
* @deprecated Use the standalone `ai_search_namespaces` or `ai_search` Workers bindings instead.
* See https://developers.cloudflare.com/ai-search/usage/workers-binding/
@@ -10690,6 +10979,29 @@ declare abstract class AiGateway {
}): Promise<Response>;
getUrl(provider?: AIGatewayProviders | string): Promise<string>; // eslint-disable-line
}
/** A parameter accepted by an Analytics SQL query. */
type AnalyticsSQLParameter = string | number | boolean | null;
/** An Analytics SQL query and its optional positional or named parameters. */
interface AnalyticsSQLQuery {
query: string;
params?: readonly AnalyticsSQLParameter[] | Readonly<Record<string, AnalyticsSQLParameter>>;
}
/** Execution statistics returned by Analytics SQL. */
interface AnalyticsSQLStatistics {
elapsed_ms: number;
rows_read: number;
bytes_read: number;
}
/** The rows and execution statistics returned by an Analytics SQL query. */
interface AnalyticsSQLResult<T extends Record<string, unknown> = Record<string, unknown>> {
data: T[];
rows: number;
statistics: AnalyticsSQLStatistics;
}
/** An Analytics SQL binding. */
interface AnalyticsSQLBinding {
query<T extends Record<string, unknown> = Record<string, unknown>>(request: AnalyticsSQLQuery): Promise<AnalyticsSQLResult<T>>;
}
// Copyright (c) 2022-2025 Cloudflare, Inc.
// Licensed under the Apache 2.0 license found in the LICENSE file or at:
// https://opensource.org/licenses/Apache-2.0
@@ -10736,8 +11048,6 @@ interface ArtifactsCreateRepoResult {
remote: string;
/** Plaintext access token (only returned at creation time). */
token: string;
/** ISO 8601 token expiry timestamp. */
tokenExpiresAt: string;
}
/** Paginated list of repositories. */
interface ArtifactsRepoListResult {
@@ -10780,11 +11090,62 @@ interface ArtifactsTokenListResult {
total: number;
}
/**
* Handle for a single repository. Returned by Artifacts.get().
* Classification of a Git tree entry derived from its mode.
*
* Methods may throw `ArtifactsError` with code `INTERNAL_ERROR` if an unexpected service error occurs.
* `tree` is a directory, `blob` is a regular file, `symlink` is a symbolic link,
* `gitlink` is a submodule reference, and `exec` is an executable file.
*/
interface ArtifactsRepo extends ArtifactsRepoInfo {
type ArtifactsTreeEntryType = 'tree' | 'blob' | 'symlink' | 'gitlink' | 'exec';
/** An immediate child of a Git tree returned by {@link ArtifactsRepo.readTree}. */
interface ArtifactsTreeEntry {
/** Name relative to the tree being read. */
name: string;
/** Canonical Git mode, such as `100644` for a file or `40000` for a tree. */
mode: string;
/** Lowercase, 40-character SHA-1 object ID. */
hash: string;
/** Classification derived from `mode`. */
type: ArtifactsTreeEntryType;
}
/** Decoded metadata returned by {@link ArtifactsRepo.readCommit} and {@link ArtifactsRepo.log}. */
interface ArtifactsCommitMetadata {
/** Lowercase, 40-character SHA-1 commit ID. */
hash: string;
/** Lowercase, 40-character SHA-1 ID of the commit's root tree. */
treeHash: string;
/** Commit message with one trailing newline removed, if present. */
message: string;
/** Author identity from the commit. */
author: {
/** Author name. */
name: string;
/** Author email address. */
email: string;
};
/** Committer identity from the commit. */
committer: {
/** Committer name. */
name: string;
/** Committer email address. */
email: string;
};
/** Parent commit IDs in Git order; empty for a root commit. */
parents: string[];
/** Author timestamp in Unix seconds. */
authoredAt: number;
/** Committer timestamp in Unix seconds. */
committedAt: number;
}
/**
* Repository capability returned by {@link Artifacts.get}.
*
* Metadata is available through {@link info}, not as properties on the capability.
* Methods may throw `ArtifactsError` with code `INTERNAL_ERROR` if an unexpected service error occurs.
*
* The capability is an RPC stub. Dispose of it when finished, for example with
* `using repo = await env.ARTIFACTS.get(name);`, to release it before the request ends.
*/
interface ArtifactsRepo extends Disposable {
/**
* Create an access token for this repo.
* @param scope Token scope: "write" (default) or "read".
@@ -10801,6 +11162,69 @@ interface ArtifactsRepo extends ArtifactsRepoInfo {
* @throws {ArtifactsError} with code `INVALID_INPUT` if tokenOrId is empty.
*/
revokeToken(tokenOrId: string): Promise<boolean>;
/**
* Retrieve current repository metadata. Each call performs a fresh lookup.
* @returns Current public repository metadata.
* @throws {ArtifactsError} `NOT_FOUND` if the repository was deleted, or `INTERNAL_ERROR` on
* an unexpected lookup failure.
*/
info(): Promise<ArtifactsRepoInfo>;
/**
* Read the raw bytes of a Git blob by object ID.
* @param hash Lowercase, 40-character SHA-1 object ID.
* @returns An untyped {@link Blob}, or `null` if the object is missing or is not a Git blob.
* @throws {ArtifactsError} `INVALID_INPUT` for a malformed hash, `MEMORY_LIMIT` if the object
* cannot be buffered safely, or `INTERNAL_ERROR` on an unexpected read failure.
* @see {@link ArtifactsRepo.readFile} to resolve a file by ref and path.
*/
readBlob(hash: string): Promise<Blob | null>;
/**
* Read the immediate children of a Git tree by object ID.
* @param hash Lowercase, 40-character SHA-1 tree ID.
* @returns Tree entries, or `null` if the object is missing.
* @throws {ArtifactsError} `INVALID_INPUT` for a malformed hash, or `INTERNAL_ERROR` if the
* object is not a valid tree or the read fails unexpectedly.
* @see {@link ArtifactsTreeEntry}
*/
readTree(hash: string): Promise<ArtifactsTreeEntry[] | null>;
/**
* Decode a Git commit by object ID.
* @param hash Lowercase, 40-character SHA-1 commit ID.
* @returns Commit metadata, or `null` if the object is missing.
* @throws {ArtifactsError} `INVALID_INPUT` for a malformed hash, or `INTERNAL_ERROR` if the
* object is not a valid commit or the read fails unexpectedly.
* @see {@link ArtifactsCommitMetadata}
*/
readCommit(hash: string): Promise<ArtifactsCommitMetadata | null>;
/**
* Resolve a file from a branch, tag, or commit ID and return its bytes with a browser-safe
* content type in {@link Blob.type}.
* @param args File lookup options.
* @param args.ref Branch, tag, or commit ID to resolve.
* @param args.path Non-empty repository-relative path.
* @returns A MIME-typed {@link Blob}, or `null` if the ref or path cannot resolve to a file.
* @throws {ArtifactsError} `INVALID_INPUT` if either argument is empty, `MEMORY_LIMIT` if the
* file cannot be buffered safely, or `INTERNAL_ERROR` on an unexpected read failure.
*/
readFile(args: {
ref: string;
path: string;
}): Promise<Blob | null>;
/**
* List commits along the first-parent chain, newest first.
* @param opts History options. All fields are optional.
* @param opts.ref Branch, tag, or commit ID; defaults to `HEAD`.
* @param opts.limit Maximum results; defaults to `50` and is capped at `1000`.
* @param opts.offset Number of matching commits to skip; defaults to `0`.
* @returns Commit metadata, or an empty array if the ref cannot be resolved.
* @throws {ArtifactsError} `INTERNAL_ERROR` on an unexpected traversal failure.
* @see {@link ArtifactsCommitMetadata}
*/
log(opts?: {
ref?: string;
limit?: number;
offset?: number;
}): Promise<ArtifactsCommitMetadata[]>;
// ── Fork ──
/**
* Fork this repo to a new repo.
@@ -10822,7 +11246,7 @@ interface ArtifactsRepo extends ArtifactsRepoInfo {
*
* Each code maps to a numeric code available on `ArtifactsError.numericCode`.
*/
type ArtifactsErrorCode = 'ALREADY_EXISTS' | 'NOT_FOUND' | 'IMPORT_IN_PROGRESS' | 'FORK_IN_PROGRESS' | 'INVALID_INPUT' | 'INVALID_REPO_NAME' | 'INVALID_TTL' | 'INVALID_URL' | 'REMOTE_AUTH_REQUIRED' | 'UPSTREAM_UNAVAILABLE' | 'MEMORY_LIMIT' | 'INTERNAL_ERROR';
type ArtifactsErrorCode = 'ALREADY_EXISTS' | 'NOT_FOUND' | 'CREATE_IN_PROGRESS' | 'IMPORT_IN_PROGRESS' | 'FORK_IN_PROGRESS' | 'INVALID_INPUT' | 'INVALID_REPO_NAME' | 'INVALID_TTL' | 'INVALID_URL' | 'REMOTE_AUTH_REQUIRED' | 'UPSTREAM_UNAVAILABLE' | 'MEMORY_LIMIT' | 'INTERNAL_ERROR';
/**
* Error thrown by Artifacts binding operations.
*
@@ -10862,6 +11286,7 @@ interface Artifacts {
* @param name Repository name.
* @returns Repo handle.
* @throws {ArtifactsError} with code `NOT_FOUND` if the repo does not exist.
* @throws {ArtifactsError} with code `CREATE_IN_PROGRESS` if the repo is still being created.
* @throws {ArtifactsError} with code `IMPORT_IN_PROGRESS` if the repo is still importing.
* @throws {ArtifactsError} with code `FORK_IN_PROGRESS` if the repo is still forking.
*/
@@ -12824,6 +13249,23 @@ declare abstract class D1PreparedStatement {
// ignored when `Disposable` is included in the standard lib.
interface Disposable {
}
declare module 'cloudflare:durable-objects' {
/**
* Marks a Durable Object method as safe to run more than once. The runtime may then retry calls
* to it after a disconnect that might have happened after the method started. It does not
* enable retries or change how many are made.
*
* Each attempt creates its own return value, so if the method returns an `RpcTarget`, its
* `[Symbol.dispose]()` may run once per attempt.
*
* Only public instance methods can be decorated. When composing decorators, apply `@retryable`
* outermost (first in source order) so it marks the method that is finally installed.
* Otherwise `@retryable` has no effect, and constructing the object logs a warning.
* Requires standard (not `experimentalDecorators`) decorators and a bundler that transforms
* them, such as Wrangler.
*/
export function retryable<This, Args extends unknown[], Return>(value: (this: This, ...args: Args) => Return, context: ClassMethodDecoratorContext<This, (this: This, ...args: Args) => Return>): (this: This, ...args: Args) => Return;
}
/**
* The returned data after sending an email
*/
@@ -13929,7 +14371,7 @@ declare namespace CloudflareWorkersModule {
queue?(batch: MessageBatch): void | Promise<void>;
scheduled?(controller: ScheduledController): void | Promise<void>;
tail?(events: TraceItem[]): void | Promise<void>;
tailStream?(event: TailStream.TailEvent<TailStream.Onset>): TailStream.TailEventHandlerType | Promise<TailStream.TailEventHandlerType>;
tailStream?(event: TailStream.TailEvent<TailStream.Onset>): TailStream.TailEventHandlerType | undefined | Promise<TailStream.TailEventHandlerType | undefined>;
test?(controller: TestController): void | Promise<void>;
trace?(traces: TraceItem[]): void | Promise<void>;
}
@@ -14979,6 +15421,12 @@ declare namespace TailStream {
readonly cpuTime: number;
readonly wallTime: number;
}
type SpanStatusCode = "unset" | "ok" | "error";
interface SpanStatus {
readonly code: SpanStatusCode;
/** A developer-facing error message, present only when code is "error". */
readonly message?: string;
}
interface SpanOpen {
readonly type: "spanOpen";
readonly name: string;
@@ -14990,6 +15438,17 @@ declare namespace TailStream {
readonly type: "spanClose";
readonly outcome: EventOutcome;
}
type SpanUpdateInfo = {
readonly type: "name";
readonly name: string;
} | {
readonly type: "status";
readonly status: SpanStatus;
};
interface SpanUpdate {
readonly type: "spanUpdate";
readonly info: SpanUpdateInfo;
}
interface DiagnosticChannelEvent {
readonly type: "diagnosticChannel";
readonly channel: string;
@@ -15043,7 +15502,7 @@ declare namespace TailStream {
readonly type: "attributes";
readonly info: Attribute[];
}
type EventType = Onset | Outcome | SpanOpen | SpanClose | DiagnosticChannelEvent | Exception | Log | StreamDiagnostic | Return | Attributes;
type EventType = Onset | Outcome | SpanOpen | SpanClose | SpanUpdate | DiagnosticChannelEvent | Exception | Log | StreamDiagnostic | Return | Attributes;
// Context in which this trace event lives.
interface SpanContext {
// Single id for the entire top-level invocation
@@ -15078,6 +15537,7 @@ declare namespace TailStream {
outcome?: TailEventHandler<Outcome>;
spanOpen?: TailEventHandler<SpanOpen>;
spanClose?: TailEventHandler<SpanClose>;
spanUpdate?: TailEventHandler<SpanUpdate>;
diagnosticChannel?: TailEventHandler<DiagnosticChannelEvent>;
exception?: TailEventHandler<Exception>;
log?: TailEventHandler<Log>;