@openrouter/sdk 1.2.88 → 1.2.90

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.
@@ -50,8 +50,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
50
50
  export declare const SDK_METADATA: {
51
51
  readonly language: "typescript";
52
52
  readonly openapiDocVersion: "1.0.0";
53
- readonly sdkVersion: "1.2.88";
53
+ readonly sdkVersion: "1.2.90";
54
54
  readonly genVersion: "2.914.0";
55
- readonly userAgent: "speakeasy-sdk/typescript 1.2.88 2.914.0 1.0.0 @openrouter/sdk";
55
+ readonly userAgent: "speakeasy-sdk/typescript 1.2.90 2.914.0 1.0.0 @openrouter/sdk";
56
56
  };
57
57
  //# sourceMappingURL=config.d.ts.map
package/esm/lib/config.js CHANGED
@@ -29,8 +29,8 @@ export function serverURLFromOptions(options) {
29
29
  export const SDK_METADATA = {
30
30
  language: "typescript",
31
31
  openapiDocVersion: "1.0.0",
32
- sdkVersion: "1.2.88",
32
+ sdkVersion: "1.2.90",
33
33
  genVersion: "2.914.0",
34
- userAgent: "speakeasy-sdk/typescript 1.2.88 2.914.0 1.0.0 @openrouter/sdk",
34
+ userAgent: "speakeasy-sdk/typescript 1.2.90 2.914.0 1.0.0 @openrouter/sdk",
35
35
  };
36
36
  //# sourceMappingURL=config.js.map
@@ -0,0 +1,13 @@
1
+ import * as z from "zod/v4";
2
+ import { AnthropicOutputEffort } from "./anthropicoutputeffort.js";
3
+ export type AnthropicMessageOutputConfig = {
4
+ effort?: AnthropicOutputEffort | null | undefined;
5
+ };
6
+ /** @internal */
7
+ export type AnthropicMessageOutputConfig$Outbound = {
8
+ effort?: string | null | undefined;
9
+ };
10
+ /** @internal */
11
+ export declare const AnthropicMessageOutputConfig$outboundSchema: z.ZodType<AnthropicMessageOutputConfig$Outbound, AnthropicMessageOutputConfig>;
12
+ export declare function anthropicMessageOutputConfigToJSON(anthropicMessageOutputConfig: AnthropicMessageOutputConfig): string;
13
+ //# sourceMappingURL=anthropicmessageoutputconfig.d.ts.map
@@ -0,0 +1,14 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: d93c84d5c1f9
4
+ */
5
+ import * as z from "zod/v4";
6
+ import { AnthropicOutputEffort$outboundSchema, } from "./anthropicoutputeffort.js";
7
+ /** @internal */
8
+ export const AnthropicMessageOutputConfig$outboundSchema = z.object({
9
+ effort: z.nullable(AnthropicOutputEffort$outboundSchema).optional(),
10
+ });
11
+ export function anthropicMessageOutputConfigToJSON(anthropicMessageOutputConfig) {
12
+ return JSON.stringify(AnthropicMessageOutputConfig$outboundSchema.parse(anthropicMessageOutputConfig));
13
+ }
14
+ //# sourceMappingURL=anthropicmessageoutputconfig.js.map
@@ -0,0 +1,13 @@
1
+ import * as z from "zod/v4";
2
+ import { OpenEnum } from "../types/enums.js";
3
+ export declare const AnthropicOutputEffort: {
4
+ readonly Low: "low";
5
+ readonly Medium: "medium";
6
+ readonly High: "high";
7
+ readonly Xhigh: "xhigh";
8
+ readonly Max: "max";
9
+ };
10
+ export type AnthropicOutputEffort = OpenEnum<typeof AnthropicOutputEffort>;
11
+ /** @internal */
12
+ export declare const AnthropicOutputEffort$outboundSchema: z.ZodType<string, AnthropicOutputEffort>;
13
+ //# sourceMappingURL=anthropicoutputeffort.d.ts.map
@@ -0,0 +1,15 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 148cf525912e
4
+ */
5
+ import * as openEnums from "../types/enums.js";
6
+ export const AnthropicOutputEffort = {
7
+ Low: "low",
8
+ Medium: "medium",
9
+ High: "high",
10
+ Xhigh: "xhigh",
11
+ Max: "max",
12
+ };
13
+ /** @internal */
14
+ export const AnthropicOutputEffort$outboundSchema = openEnums.outboundSchema(AnthropicOutputEffort);
15
+ //# sourceMappingURL=anthropicoutputeffort.js.map
@@ -0,0 +1,9 @@
1
+ import * as z from "zod/v4";
2
+ import { OpenEnum } from "../types/enums.js";
3
+ export declare const AnthropicSystemClearAt: {
4
+ readonly NextUserMessage: "next_user_message";
5
+ };
6
+ export type AnthropicSystemClearAt = OpenEnum<typeof AnthropicSystemClearAt>;
7
+ /** @internal */
8
+ export declare const AnthropicSystemClearAt$outboundSchema: z.ZodType<string, AnthropicSystemClearAt>;
9
+ //# sourceMappingURL=anthropicsystemclearat.d.ts.map
@@ -0,0 +1,11 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 68161235f0d9
4
+ */
5
+ import * as openEnums from "../types/enums.js";
6
+ export const AnthropicSystemClearAt = {
7
+ NextUserMessage: "next_user_message",
8
+ };
9
+ /** @internal */
10
+ export const AnthropicSystemClearAt$outboundSchema = openEnums.outboundSchema(AnthropicSystemClearAt);
11
+ //# sourceMappingURL=anthropicsystemclearat.js.map
@@ -0,0 +1,19 @@
1
+ import * as z from "zod/v4";
2
+ import { ClosedEnum } from "../types/enums.js";
3
+ export declare const PrefixMismatchBehavior: {
4
+ readonly DropBlock: "drop_block";
5
+ };
6
+ export type PrefixMismatchBehavior = ClosedEnum<typeof PrefixMismatchBehavior>;
7
+ export type AnthropicThinkingBlockBinding = {
8
+ prefixMismatchBehavior: PrefixMismatchBehavior;
9
+ };
10
+ /** @internal */
11
+ export declare const PrefixMismatchBehavior$outboundSchema: z.ZodEnum<typeof PrefixMismatchBehavior>;
12
+ /** @internal */
13
+ export type AnthropicThinkingBlockBinding$Outbound = {
14
+ prefix_mismatch_behavior: string;
15
+ };
16
+ /** @internal */
17
+ export declare const AnthropicThinkingBlockBinding$outboundSchema: z.ZodType<AnthropicThinkingBlockBinding$Outbound, AnthropicThinkingBlockBinding>;
18
+ export declare function anthropicThinkingBlockBindingToJSON(anthropicThinkingBlockBinding: AnthropicThinkingBlockBinding): string;
19
+ //# sourceMappingURL=anthropicthinkingblockbinding.d.ts.map
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: b71a9eb413ec
4
+ */
5
+ import * as z from "zod/v4";
6
+ import { remap as remap$ } from "../lib/primitives.js";
7
+ export const PrefixMismatchBehavior = {
8
+ DropBlock: "drop_block",
9
+ };
10
+ /** @internal */
11
+ export const PrefixMismatchBehavior$outboundSchema = z.enum(PrefixMismatchBehavior);
12
+ /** @internal */
13
+ export const AnthropicThinkingBlockBinding$outboundSchema = z.object({
14
+ prefixMismatchBehavior: PrefixMismatchBehavior$outboundSchema,
15
+ }).transform((v) => {
16
+ return remap$(v, {
17
+ prefixMismatchBehavior: "prefix_mismatch_behavior",
18
+ });
19
+ });
20
+ export function anthropicThinkingBlockBindingToJSON(anthropicThinkingBlockBinding) {
21
+ return JSON.stringify(AnthropicThinkingBlockBinding$outboundSchema.parse(anthropicThinkingBlockBinding));
22
+ }
23
+ //# sourceMappingURL=anthropicthinkingblockbinding.js.map
@@ -3,6 +3,7 @@ import { OpenEnum } from "../types/enums.js";
3
3
  export declare const AnthropicThinkingDisplay: {
4
4
  readonly Summarized: "summarized";
5
5
  readonly Omitted: "omitted";
6
+ readonly Updates: "updates";
6
7
  };
7
8
  export type AnthropicThinkingDisplay = OpenEnum<typeof AnthropicThinkingDisplay>;
8
9
  /** @internal */
@@ -6,6 +6,7 @@ import * as openEnums from "../types/enums.js";
6
6
  export const AnthropicThinkingDisplay = {
7
7
  Summarized: "summarized",
8
8
  Omitted: "omitted",
9
+ Updates: "updates",
9
10
  };
10
11
  /** @internal */
11
12
  export const AnthropicThinkingDisplay$outboundSchema = openEnums.outboundSchema(AnthropicThinkingDisplay);
@@ -102,6 +102,7 @@ export declare const BYOKProviderSlug: {
102
102
  readonly Together: "together";
103
103
  readonly Upstage: "upstage";
104
104
  readonly Venice: "venice";
105
+ readonly Voyageai: "voyageai";
105
106
  readonly Wafer: "wafer";
106
107
  readonly Wandb: "wandb";
107
108
  readonly WandbLegacy: "wandb-legacy";
@@ -105,6 +105,7 @@ export const BYOKProviderSlug = {
105
105
  Together: "together",
106
106
  Upstage: "upstage",
107
107
  Venice: "venice",
108
+ Voyageai: "voyageai",
108
109
  Wafer: "wafer",
109
110
  Wandb: "wandb",
110
111
  WandbLegacy: "wandb-legacy",
@@ -30,11 +30,15 @@ export * from "./anthropicimagemimetype.js";
30
30
  export * from "./anthropicinputtokensclearatleast.js";
31
31
  export * from "./anthropicinputtokenstrigger.js";
32
32
  export * from "./anthropiciterationcachecreation.js";
33
+ export * from "./anthropicmessageoutputconfig.js";
33
34
  export * from "./anthropicmessageusageiteration.js";
35
+ export * from "./anthropicoutputeffort.js";
34
36
  export * from "./anthropicplaintextsource.js";
35
37
  export * from "./anthropicsearchresultblockparam.js";
36
38
  export * from "./anthropicspeed.js";
39
+ export * from "./anthropicsystemclearat.js";
37
40
  export * from "./anthropictextblockparam.js";
41
+ export * from "./anthropicthinkingblockbinding.js";
38
42
  export * from "./anthropicthinkingdisplay.js";
39
43
  export * from "./anthropicthinkingturns.js";
40
44
  export * from "./anthropictoolsearchtoolbm25.js";
@@ -34,11 +34,15 @@ export * from "./anthropicimagemimetype.js";
34
34
  export * from "./anthropicinputtokensclearatleast.js";
35
35
  export * from "./anthropicinputtokenstrigger.js";
36
36
  export * from "./anthropiciterationcachecreation.js";
37
+ export * from "./anthropicmessageoutputconfig.js";
37
38
  export * from "./anthropicmessageusageiteration.js";
39
+ export * from "./anthropicoutputeffort.js";
38
40
  export * from "./anthropicplaintextsource.js";
39
41
  export * from "./anthropicsearchresultblockparam.js";
40
42
  export * from "./anthropicspeed.js";
43
+ export * from "./anthropicsystemclearat.js";
41
44
  export * from "./anthropictextblockparam.js";
45
+ export * from "./anthropicthinkingblockbinding.js";
42
46
  export * from "./anthropicthinkingdisplay.js";
43
47
  export * from "./anthropicthinkingturns.js";
44
48
  export * from "./anthropictoolsearchtoolbm25.js";
@@ -3,7 +3,9 @@ import { ClosedEnum, OpenEnum } from "../types/enums.js";
3
3
  import { AnthropicCacheControlDirective, AnthropicCacheControlDirective$Outbound } from "./anthropiccachecontroldirective.js";
4
4
  import { AnthropicDocumentBlockParam, AnthropicDocumentBlockParam$Outbound } from "./anthropicdocumentblockparam.js";
5
5
  import { AnthropicImageBlockParam, AnthropicImageBlockParam$Outbound } from "./anthropicimageblockparam.js";
6
+ import { AnthropicMessageOutputConfig, AnthropicMessageOutputConfig$Outbound } from "./anthropicmessageoutputconfig.js";
6
7
  import { AnthropicSearchResultBlockParam, AnthropicSearchResultBlockParam$Outbound } from "./anthropicsearchresultblockparam.js";
8
+ import { AnthropicSystemClearAt } from "./anthropicsystemclearat.js";
7
9
  import { AnthropicTextBlockParam, AnthropicTextBlockParam$Outbound } from "./anthropictextblockparam.js";
8
10
  import { AnthropicWebSearchResultBlockParam, AnthropicWebSearchResultBlockParam$Outbound } from "./anthropicwebsearchresultblockparam.js";
9
11
  import { MessagesAdvisorToolResultBlock, MessagesAdvisorToolResultBlock$Outbound } from "./messagesadvisortoolresultblock.js";
@@ -103,7 +105,9 @@ export type MessagesMessageParamRole = OpenEnum<typeof MessagesMessageParamRole>
103
105
  * Anthropic message with OpenRouter extensions
104
106
  */
105
107
  export type MessagesMessageParam = {
108
+ clearAt?: AnthropicSystemClearAt | null | undefined;
106
109
  content: string | Array<AnthropicTextBlockParam | AnthropicImageBlockParam | AnthropicDocumentBlockParam | ContentToolUse | ContentToolResult | ContentThinking | ContentRedactedThinking | ContentServerToolUse | ContentWebSearchToolResult | AnthropicSearchResultBlockParam | ContentCompaction | MessagesAdvisorToolResultBlock | MessagesToolAdditionBlock | MessagesToolRemovalBlock | MessagesShellToolResultBlock | MessagesBashToolResultBlock>;
110
+ outputConfig?: AnthropicMessageOutputConfig | null | undefined;
107
111
  role: MessagesMessageParamRole;
108
112
  };
109
113
  /** @internal */
@@ -225,7 +229,9 @@ export declare function messagesMessageParamContentUnion5ToJSON(messagesMessageP
225
229
  export declare const MessagesMessageParamRole$outboundSchema: z.ZodType<string, MessagesMessageParamRole>;
226
230
  /** @internal */
227
231
  export type MessagesMessageParam$Outbound = {
232
+ clear_at?: string | null | undefined;
228
233
  content: string | Array<AnthropicTextBlockParam$Outbound | AnthropicImageBlockParam$Outbound | AnthropicDocumentBlockParam$Outbound | ContentToolUse$Outbound | ContentToolResult$Outbound | ContentThinking$Outbound | ContentRedactedThinking$Outbound | ContentServerToolUse$Outbound | ContentWebSearchToolResult$Outbound | AnthropicSearchResultBlockParam$Outbound | ContentCompaction$Outbound | MessagesAdvisorToolResultBlock$Outbound | MessagesToolAdditionBlock$Outbound | MessagesToolRemovalBlock$Outbound | MessagesShellToolResultBlock$Outbound | MessagesBashToolResultBlock$Outbound>;
234
+ output_config?: AnthropicMessageOutputConfig$Outbound | null | undefined;
229
235
  role: string;
230
236
  };
231
237
  /** @internal */
@@ -8,7 +8,9 @@ import * as openEnums from "../types/enums.js";
8
8
  import { AnthropicCacheControlDirective$outboundSchema, } from "./anthropiccachecontroldirective.js";
9
9
  import { AnthropicDocumentBlockParam$outboundSchema, } from "./anthropicdocumentblockparam.js";
10
10
  import { AnthropicImageBlockParam$outboundSchema, } from "./anthropicimageblockparam.js";
11
+ import { AnthropicMessageOutputConfig$outboundSchema, } from "./anthropicmessageoutputconfig.js";
11
12
  import { AnthropicSearchResultBlockParam$outboundSchema, } from "./anthropicsearchresultblockparam.js";
13
+ import { AnthropicSystemClearAt$outboundSchema, } from "./anthropicsystemclearat.js";
12
14
  import { AnthropicTextBlockParam$outboundSchema, } from "./anthropictextblockparam.js";
13
15
  import { AnthropicWebSearchResultBlockParam$outboundSchema, } from "./anthropicwebsearchresultblockparam.js";
14
16
  import { MessagesAdvisorToolResultBlock$outboundSchema, } from "./messagesadvisortoolresultblock.js";
@@ -250,6 +252,7 @@ export function messagesMessageParamContentUnion5ToJSON(messagesMessageParamCont
250
252
  export const MessagesMessageParamRole$outboundSchema = openEnums.outboundSchema(MessagesMessageParamRole);
251
253
  /** @internal */
252
254
  export const MessagesMessageParam$outboundSchema = z.object({
255
+ clearAt: z.nullable(AnthropicSystemClearAt$outboundSchema).optional(),
253
256
  content: z.union([
254
257
  z.string(),
255
258
  z.array(z.union([
@@ -271,7 +274,14 @@ export const MessagesMessageParam$outboundSchema = z.object({
271
274
  MessagesBashToolResultBlock$outboundSchema,
272
275
  ])),
273
276
  ]),
277
+ outputConfig: z.nullable(AnthropicMessageOutputConfig$outboundSchema)
278
+ .optional(),
274
279
  role: MessagesMessageParamRole$outboundSchema,
280
+ }).transform((v) => {
281
+ return remap$(v, {
282
+ clearAt: "clear_at",
283
+ outputConfig: "output_config",
284
+ });
275
285
  });
276
286
  export function messagesMessageParamToJSON(messagesMessageParam) {
277
287
  return JSON.stringify(MessagesMessageParam$outboundSchema.parse(messagesMessageParam));
@@ -5,6 +5,7 @@ import { AnthropicCacheControlDirective, AnthropicCacheControlDirective$Outbound
5
5
  import { AnthropicInputTokensClearAtLeast, AnthropicInputTokensClearAtLeast$Outbound } from "./anthropicinputtokensclearatleast.js";
6
6
  import { AnthropicInputTokensTrigger, AnthropicInputTokensTrigger$Outbound } from "./anthropicinputtokenstrigger.js";
7
7
  import { AnthropicTextBlockParam, AnthropicTextBlockParam$Outbound } from "./anthropictextblockparam.js";
8
+ import { AnthropicThinkingBlockBinding, AnthropicThinkingBlockBinding$Outbound } from "./anthropicthinkingblockbinding.js";
8
9
  import { AnthropicThinkingDisplay } from "./anthropicthinkingdisplay.js";
9
10
  import { AnthropicThinkingTurns, AnthropicThinkingTurns$Outbound } from "./anthropicthinkingturns.js";
10
11
  import { AnthropicToolSearchToolBm25, AnthropicToolSearchToolBm25$Outbound } from "./anthropictoolsearchtoolbm25.js";
@@ -97,6 +98,7 @@ export declare const Speed: {
97
98
  export type Speed = OpenEnum<typeof Speed>;
98
99
  export type System = string | Array<AnthropicTextBlockParam>;
99
100
  export type ThinkingAdaptive = {
101
+ blockBinding?: AnthropicThinkingBlockBinding | null | undefined;
100
102
  display?: AnthropicThinkingDisplay | null | undefined;
101
103
  type: "adaptive";
102
104
  };
@@ -104,6 +106,7 @@ export type ThinkingDisabled = {
104
106
  type: "disabled";
105
107
  };
106
108
  export type ThinkingEnabled = {
109
+ blockBinding?: AnthropicThinkingBlockBinding | null | undefined;
107
110
  budgetTokens: number;
108
111
  display?: AnthropicThinkingDisplay | null | undefined;
109
112
  type: "enabled";
@@ -407,6 +410,7 @@ export declare const System$outboundSchema: z.ZodType<System$Outbound, System>;
407
410
  export declare function systemToJSON(system: System): string;
408
411
  /** @internal */
409
412
  export type ThinkingAdaptive$Outbound = {
413
+ block_binding?: AnthropicThinkingBlockBinding$Outbound | null | undefined;
410
414
  display?: string | null | undefined;
411
415
  type: "adaptive";
412
416
  };
@@ -422,6 +426,7 @@ export declare const ThinkingDisabled$outboundSchema: z.ZodType<ThinkingDisabled
422
426
  export declare function thinkingDisabledToJSON(thinkingDisabled: ThinkingDisabled): string;
423
427
  /** @internal */
424
428
  export type ThinkingEnabled$Outbound = {
429
+ block_binding?: AnthropicThinkingBlockBinding$Outbound | null | undefined;
425
430
  budget_tokens: number;
426
431
  display?: string | null | undefined;
427
432
  type: "enabled";
@@ -10,6 +10,7 @@ import { AnthropicCacheControlDirective$outboundSchema, } from "./anthropiccache
10
10
  import { AnthropicInputTokensClearAtLeast$outboundSchema, } from "./anthropicinputtokensclearatleast.js";
11
11
  import { AnthropicInputTokensTrigger$outboundSchema, } from "./anthropicinputtokenstrigger.js";
12
12
  import { AnthropicTextBlockParam$outboundSchema, } from "./anthropictextblockparam.js";
13
+ import { AnthropicThinkingBlockBinding$outboundSchema, } from "./anthropicthinkingblockbinding.js";
13
14
  import { AnthropicThinkingDisplay$outboundSchema, } from "./anthropicthinkingdisplay.js";
14
15
  import { AnthropicThinkingTurns$outboundSchema, } from "./anthropicthinkingturns.js";
15
16
  import { AnthropicToolSearchToolBm25$outboundSchema, } from "./anthropictoolsearchtoolbm25.js";
@@ -243,8 +244,14 @@ export function systemToJSON(system) {
243
244
  }
244
245
  /** @internal */
245
246
  export const ThinkingAdaptive$outboundSchema = z.object({
247
+ blockBinding: z.nullable(AnthropicThinkingBlockBinding$outboundSchema)
248
+ .optional(),
246
249
  display: z.nullable(AnthropicThinkingDisplay$outboundSchema).optional(),
247
250
  type: z.literal("adaptive"),
251
+ }).transform((v) => {
252
+ return remap$(v, {
253
+ blockBinding: "block_binding",
254
+ });
248
255
  });
249
256
  export function thinkingAdaptiveToJSON(thinkingAdaptive) {
250
257
  return JSON.stringify(ThinkingAdaptive$outboundSchema.parse(thinkingAdaptive));
@@ -258,11 +265,14 @@ export function thinkingDisabledToJSON(thinkingDisabled) {
258
265
  }
259
266
  /** @internal */
260
267
  export const ThinkingEnabled$outboundSchema = z.object({
268
+ blockBinding: z.nullable(AnthropicThinkingBlockBinding$outboundSchema)
269
+ .optional(),
261
270
  budgetTokens: z.int(),
262
271
  display: z.nullable(AnthropicThinkingDisplay$outboundSchema).optional(),
263
272
  type: z.literal("enabled"),
264
273
  }).transform((v) => {
265
274
  return remap$(v, {
275
+ blockBinding: "block_binding",
266
276
  budgetTokens: "budget_tokens",
267
277
  });
268
278
  });
@@ -126,6 +126,7 @@ export declare const Provider: {
126
126
  readonly Together: "together";
127
127
  readonly Upstage: "upstage";
128
128
  readonly Venice: "venice";
129
+ readonly Voyageai: "voyageai";
129
130
  readonly Wafer: "wafer";
130
131
  readonly Wandb: "wandb";
131
132
  readonly WandbLegacy: "wandb-legacy";
@@ -109,6 +109,7 @@ export const Provider = {
109
109
  Together: "together",
110
110
  Upstage: "upstage",
111
111
  Venice: "venice",
112
+ Voyageai: "voyageai",
112
113
  Wafer: "wafer",
113
114
  Wandb: "wandb",
114
115
  WandbLegacy: "wandb-legacy",
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@openrouter/sdk",
5
- "version": "1.2.88",
5
+ "version": "1.2.90",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openrouter/sdk",
3
- "version": "1.2.88",
3
+ "version": "1.2.90",
4
4
  "author": "OpenRouter",
5
5
  "description": "The OpenRouter TypeScript SDK is a type-safe toolkit for building AI applications with access to 400+ language models through a unified API.",
6
6
  "keywords": [
@@ -73,15 +73,15 @@
73
73
  "lint": "eslint --cache --max-warnings=0 src",
74
74
  "build": "tsc",
75
75
  "prepublishOnly": "npm run build",
76
- "prepare": "npm run build",
77
- "test:e2e": "vitest --run --project e2e",
76
+ "compile": "tsc",
77
+ "postinstall": "node scripts/check-types.js || true",
78
+ "test": "vitest --run --project unit",
78
79
  "test:transit": "exit 0",
79
80
  "test:watch": "vitest --watch --project unit",
80
- "typecheck:transit": "exit 0",
81
- "test": "vitest --run --project unit",
81
+ "prepare": "npm run build",
82
+ "test:e2e": "vitest --run --project e2e",
82
83
  "typecheck": "tsc --noEmit",
83
- "compile": "tsc",
84
- "postinstall": "node scripts/check-types.js || true"
84
+ "typecheck:transit": "exit 0"
85
85
  },
86
86
  "peerDependencies": {},
87
87
  "devDependencies": {