@skydiveai/pi-server 0.1.0-beta.6 → 0.1.0

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.
Files changed (2) hide show
  1. package/dist/index.d.mts +16 -16
  2. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -244,17 +244,17 @@ declare const modelSpecSchema: z.ZodDiscriminatedUnion<"api", [z.ZodObject<{
244
244
  high: z.ZodOptional<z.ZodNullable<z.ZodString>>;
245
245
  xhigh: z.ZodOptional<z.ZodNullable<z.ZodString>>;
246
246
  }, "strip", z.ZodTypeAny, {
247
- medium?: string | null | undefined;
248
247
  off?: string | null | undefined;
249
248
  minimal?: string | null | undefined;
250
249
  low?: string | null | undefined;
250
+ medium?: string | null | undefined;
251
251
  high?: string | null | undefined;
252
252
  xhigh?: string | null | undefined;
253
253
  }, {
254
- medium?: string | null | undefined;
255
254
  off?: string | null | undefined;
256
255
  minimal?: string | null | undefined;
257
256
  low?: string | null | undefined;
257
+ medium?: string | null | undefined;
258
258
  high?: string | null | undefined;
259
259
  xhigh?: string | null | undefined;
260
260
  }>>;
@@ -272,7 +272,7 @@ declare const modelSpecSchema: z.ZodDiscriminatedUnion<"api", [z.ZodObject<{
272
272
  api: "openai-completions";
273
273
  id: string;
274
274
  name: string;
275
- provider: "anthropic" | "amazon-bedrock" | "google" | "google-vertex" | "openai" | "azure-openai-responses" | "openai-codex" | "deepseek" | "github-copilot" | "xai" | "groq" | "cerebras" | "openrouter" | "vercel-ai-gateway" | "zai" | "mistral" | "minimax" | "minimax-cn" | "moonshotai" | "moonshotai-cn" | "huggingface" | "fireworks" | "opencode" | "opencode-go" | "kimi-coding" | "cloudflare-workers-ai" | "cloudflare-ai-gateway" | "xiaomi" | "xiaomi-token-plan-cn" | "xiaomi-token-plan-ams" | "xiaomi-token-plan-sgp";
275
+ provider: "amazon-bedrock" | "anthropic" | "google" | "google-vertex" | "openai" | "azure-openai-responses" | "openai-codex" | "deepseek" | "github-copilot" | "xai" | "groq" | "cerebras" | "openrouter" | "vercel-ai-gateway" | "zai" | "mistral" | "minimax" | "minimax-cn" | "moonshotai" | "moonshotai-cn" | "huggingface" | "fireworks" | "opencode" | "opencode-go" | "kimi-coding" | "cloudflare-workers-ai" | "cloudflare-ai-gateway" | "xiaomi" | "xiaomi-token-plan-cn" | "xiaomi-token-plan-ams" | "xiaomi-token-plan-sgp";
276
276
  baseUrl: string;
277
277
  reasoning: boolean;
278
278
  input: ["text" | "image", ...("text" | "image")[]];
@@ -287,10 +287,10 @@ declare const modelSpecSchema: z.ZodDiscriminatedUnion<"api", [z.ZodObject<{
287
287
  cacheControlFormat?: "anthropic" | undefined;
288
288
  } | undefined;
289
289
  thinkingLevelMap?: {
290
- medium?: string | null | undefined;
291
290
  off?: string | null | undefined;
292
291
  minimal?: string | null | undefined;
293
292
  low?: string | null | undefined;
293
+ medium?: string | null | undefined;
294
294
  high?: string | null | undefined;
295
295
  xhigh?: string | null | undefined;
296
296
  } | undefined;
@@ -299,7 +299,7 @@ declare const modelSpecSchema: z.ZodDiscriminatedUnion<"api", [z.ZodObject<{
299
299
  api: "openai-completions";
300
300
  id: string;
301
301
  name: string;
302
- provider: "anthropic" | "amazon-bedrock" | "google" | "google-vertex" | "openai" | "azure-openai-responses" | "openai-codex" | "deepseek" | "github-copilot" | "xai" | "groq" | "cerebras" | "openrouter" | "vercel-ai-gateway" | "zai" | "mistral" | "minimax" | "minimax-cn" | "moonshotai" | "moonshotai-cn" | "huggingface" | "fireworks" | "opencode" | "opencode-go" | "kimi-coding" | "cloudflare-workers-ai" | "cloudflare-ai-gateway" | "xiaomi" | "xiaomi-token-plan-cn" | "xiaomi-token-plan-ams" | "xiaomi-token-plan-sgp";
302
+ provider: "amazon-bedrock" | "anthropic" | "google" | "google-vertex" | "openai" | "azure-openai-responses" | "openai-codex" | "deepseek" | "github-copilot" | "xai" | "groq" | "cerebras" | "openrouter" | "vercel-ai-gateway" | "zai" | "mistral" | "minimax" | "minimax-cn" | "moonshotai" | "moonshotai-cn" | "huggingface" | "fireworks" | "opencode" | "opencode-go" | "kimi-coding" | "cloudflare-workers-ai" | "cloudflare-ai-gateway" | "xiaomi" | "xiaomi-token-plan-cn" | "xiaomi-token-plan-ams" | "xiaomi-token-plan-sgp";
303
303
  baseUrl: string;
304
304
  reasoning: boolean;
305
305
  input: ["text" | "image", ...("text" | "image")[]];
@@ -314,10 +314,10 @@ declare const modelSpecSchema: z.ZodDiscriminatedUnion<"api", [z.ZodObject<{
314
314
  cacheControlFormat?: "anthropic" | undefined;
315
315
  } | undefined;
316
316
  thinkingLevelMap?: {
317
- medium?: string | null | undefined;
318
317
  off?: string | null | undefined;
319
318
  minimal?: string | null | undefined;
320
319
  low?: string | null | undefined;
320
+ medium?: string | null | undefined;
321
321
  high?: string | null | undefined;
322
322
  xhigh?: string | null | undefined;
323
323
  } | undefined;
@@ -347,17 +347,17 @@ declare const modelSpecSchema: z.ZodDiscriminatedUnion<"api", [z.ZodObject<{
347
347
  high: z.ZodOptional<z.ZodNullable<z.ZodString>>;
348
348
  xhigh: z.ZodOptional<z.ZodNullable<z.ZodString>>;
349
349
  }, "strip", z.ZodTypeAny, {
350
- medium?: string | null | undefined;
351
350
  off?: string | null | undefined;
352
351
  minimal?: string | null | undefined;
353
352
  low?: string | null | undefined;
353
+ medium?: string | null | undefined;
354
354
  high?: string | null | undefined;
355
355
  xhigh?: string | null | undefined;
356
356
  }, {
357
- medium?: string | null | undefined;
358
357
  off?: string | null | undefined;
359
358
  minimal?: string | null | undefined;
360
359
  low?: string | null | undefined;
360
+ medium?: string | null | undefined;
361
361
  high?: string | null | undefined;
362
362
  xhigh?: string | null | undefined;
363
363
  }>>;
@@ -375,7 +375,7 @@ declare const modelSpecSchema: z.ZodDiscriminatedUnion<"api", [z.ZodObject<{
375
375
  api: "anthropic-messages";
376
376
  id: string;
377
377
  name: string;
378
- provider: "anthropic" | "amazon-bedrock" | "google" | "google-vertex" | "openai" | "azure-openai-responses" | "openai-codex" | "deepseek" | "github-copilot" | "xai" | "groq" | "cerebras" | "openrouter" | "vercel-ai-gateway" | "zai" | "mistral" | "minimax" | "minimax-cn" | "moonshotai" | "moonshotai-cn" | "huggingface" | "fireworks" | "opencode" | "opencode-go" | "kimi-coding" | "cloudflare-workers-ai" | "cloudflare-ai-gateway" | "xiaomi" | "xiaomi-token-plan-cn" | "xiaomi-token-plan-ams" | "xiaomi-token-plan-sgp";
378
+ provider: "amazon-bedrock" | "anthropic" | "google" | "google-vertex" | "openai" | "azure-openai-responses" | "openai-codex" | "deepseek" | "github-copilot" | "xai" | "groq" | "cerebras" | "openrouter" | "vercel-ai-gateway" | "zai" | "mistral" | "minimax" | "minimax-cn" | "moonshotai" | "moonshotai-cn" | "huggingface" | "fireworks" | "opencode" | "opencode-go" | "kimi-coding" | "cloudflare-workers-ai" | "cloudflare-ai-gateway" | "xiaomi" | "xiaomi-token-plan-cn" | "xiaomi-token-plan-ams" | "xiaomi-token-plan-sgp";
379
379
  baseUrl: string;
380
380
  reasoning: boolean;
381
381
  input: ["text" | "image", ...("text" | "image")[]];
@@ -386,10 +386,10 @@ declare const modelSpecSchema: z.ZodDiscriminatedUnion<"api", [z.ZodObject<{
386
386
  supportsLongCacheRetention?: boolean | undefined;
387
387
  } | undefined;
388
388
  thinkingLevelMap?: {
389
- medium?: string | null | undefined;
390
389
  off?: string | null | undefined;
391
390
  minimal?: string | null | undefined;
392
391
  low?: string | null | undefined;
392
+ medium?: string | null | undefined;
393
393
  high?: string | null | undefined;
394
394
  xhigh?: string | null | undefined;
395
395
  } | undefined;
@@ -398,7 +398,7 @@ declare const modelSpecSchema: z.ZodDiscriminatedUnion<"api", [z.ZodObject<{
398
398
  api: "anthropic-messages";
399
399
  id: string;
400
400
  name: string;
401
- provider: "anthropic" | "amazon-bedrock" | "google" | "google-vertex" | "openai" | "azure-openai-responses" | "openai-codex" | "deepseek" | "github-copilot" | "xai" | "groq" | "cerebras" | "openrouter" | "vercel-ai-gateway" | "zai" | "mistral" | "minimax" | "minimax-cn" | "moonshotai" | "moonshotai-cn" | "huggingface" | "fireworks" | "opencode" | "opencode-go" | "kimi-coding" | "cloudflare-workers-ai" | "cloudflare-ai-gateway" | "xiaomi" | "xiaomi-token-plan-cn" | "xiaomi-token-plan-ams" | "xiaomi-token-plan-sgp";
401
+ provider: "amazon-bedrock" | "anthropic" | "google" | "google-vertex" | "openai" | "azure-openai-responses" | "openai-codex" | "deepseek" | "github-copilot" | "xai" | "groq" | "cerebras" | "openrouter" | "vercel-ai-gateway" | "zai" | "mistral" | "minimax" | "minimax-cn" | "moonshotai" | "moonshotai-cn" | "huggingface" | "fireworks" | "opencode" | "opencode-go" | "kimi-coding" | "cloudflare-workers-ai" | "cloudflare-ai-gateway" | "xiaomi" | "xiaomi-token-plan-cn" | "xiaomi-token-plan-ams" | "xiaomi-token-plan-sgp";
402
402
  baseUrl: string;
403
403
  reasoning: boolean;
404
404
  input: ["text" | "image", ...("text" | "image")[]];
@@ -409,10 +409,10 @@ declare const modelSpecSchema: z.ZodDiscriminatedUnion<"api", [z.ZodObject<{
409
409
  supportsLongCacheRetention?: boolean | undefined;
410
410
  } | undefined;
411
411
  thinkingLevelMap?: {
412
- medium?: string | null | undefined;
413
412
  off?: string | null | undefined;
414
413
  minimal?: string | null | undefined;
415
414
  low?: string | null | undefined;
415
+ medium?: string | null | undefined;
416
416
  high?: string | null | undefined;
417
417
  xhigh?: string | null | undefined;
418
418
  } | undefined;
@@ -445,16 +445,16 @@ declare function buildModelFromSpec(spec: ModelSpec): {
445
445
  contextWindow: number;
446
446
  maxTokens: number;
447
447
  thinkingLevelMap?: {
448
- medium?: string | null | undefined;
449
448
  off?: string | null | undefined;
450
449
  minimal?: string | null | undefined;
451
450
  low?: string | null | undefined;
451
+ medium?: string | null | undefined;
452
452
  high?: string | null | undefined;
453
453
  xhigh?: string | null | undefined;
454
454
  } | undefined;
455
455
  id: string;
456
456
  name: string;
457
- provider: "anthropic" | "amazon-bedrock" | "google" | "google-vertex" | "openai" | "azure-openai-responses" | "openai-codex" | "deepseek" | "github-copilot" | "xai" | "groq" | "cerebras" | "openrouter" | "vercel-ai-gateway" | "zai" | "mistral" | "minimax" | "minimax-cn" | "moonshotai" | "moonshotai-cn" | "huggingface" | "fireworks" | "opencode" | "opencode-go" | "kimi-coding" | "cloudflare-workers-ai" | "cloudflare-ai-gateway" | "xiaomi" | "xiaomi-token-plan-cn" | "xiaomi-token-plan-ams" | "xiaomi-token-plan-sgp";
457
+ provider: "amazon-bedrock" | "anthropic" | "google" | "google-vertex" | "openai" | "azure-openai-responses" | "openai-codex" | "deepseek" | "github-copilot" | "xai" | "groq" | "cerebras" | "openrouter" | "vercel-ai-gateway" | "zai" | "mistral" | "minimax" | "minimax-cn" | "moonshotai" | "moonshotai-cn" | "huggingface" | "fireworks" | "opencode" | "opencode-go" | "kimi-coding" | "cloudflare-workers-ai" | "cloudflare-ai-gateway" | "xiaomi" | "xiaomi-token-plan-cn" | "xiaomi-token-plan-ams" | "xiaomi-token-plan-sgp";
458
458
  baseUrl: string;
459
459
  reasoning: boolean;
460
460
  } | {
@@ -473,16 +473,16 @@ declare function buildModelFromSpec(spec: ModelSpec): {
473
473
  contextWindow: number;
474
474
  maxTokens: number;
475
475
  thinkingLevelMap?: {
476
- medium?: string | null | undefined;
477
476
  off?: string | null | undefined;
478
477
  minimal?: string | null | undefined;
479
478
  low?: string | null | undefined;
479
+ medium?: string | null | undefined;
480
480
  high?: string | null | undefined;
481
481
  xhigh?: string | null | undefined;
482
482
  } | undefined;
483
483
  id: string;
484
484
  name: string;
485
- provider: "anthropic" | "amazon-bedrock" | "google" | "google-vertex" | "openai" | "azure-openai-responses" | "openai-codex" | "deepseek" | "github-copilot" | "xai" | "groq" | "cerebras" | "openrouter" | "vercel-ai-gateway" | "zai" | "mistral" | "minimax" | "minimax-cn" | "moonshotai" | "moonshotai-cn" | "huggingface" | "fireworks" | "opencode" | "opencode-go" | "kimi-coding" | "cloudflare-workers-ai" | "cloudflare-ai-gateway" | "xiaomi" | "xiaomi-token-plan-cn" | "xiaomi-token-plan-ams" | "xiaomi-token-plan-sgp";
485
+ provider: "amazon-bedrock" | "anthropic" | "google" | "google-vertex" | "openai" | "azure-openai-responses" | "openai-codex" | "deepseek" | "github-copilot" | "xai" | "groq" | "cerebras" | "openrouter" | "vercel-ai-gateway" | "zai" | "mistral" | "minimax" | "minimax-cn" | "moonshotai" | "moonshotai-cn" | "huggingface" | "fireworks" | "opencode" | "opencode-go" | "kimi-coding" | "cloudflare-workers-ai" | "cloudflare-ai-gateway" | "xiaomi" | "xiaomi-token-plan-cn" | "xiaomi-token-plan-ams" | "xiaomi-token-plan-sgp";
486
486
  baseUrl: string;
487
487
  reasoning: boolean;
488
488
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skydiveai/pi-server",
3
- "version": "0.1.0-beta.6",
3
+ "version": "0.1.0",
4
4
  "homepage": "https://skydive.com",
5
5
  "license": "MIT",
6
6
  "author": "Create, Inc.",