@codeworksh/aikit 0.5.1-dev.20260613074656 → 0.6.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 (3) hide show
  1. package/cli.mjs +1 -1
  2. package/index.d.mts +13 -13
  3. package/package.json +2 -2
package/cli.mjs CHANGED
@@ -6,7 +6,7 @@ import yargs from "yargs";
6
6
  import { hideBin } from "yargs/helpers";
7
7
  import { mapValues, pickBy, pipe } from "remeda";
8
8
  //#region package.json
9
- var version = "0.5.0";
9
+ var version = "0.6.0";
10
10
  //#endregion
11
11
  //#region src/cli/modelgen.ts
12
12
  const DEFAULT_PROVIDER_BASE_URLS = {
package/index.d.mts CHANGED
@@ -5437,11 +5437,10 @@ declare namespace Model {
5437
5437
  function getBuiltInModels(): Promise<BuiltInModels>;
5438
5438
  const registry: {
5439
5439
  (): Promise<Map<string, Map<string, {
5440
- headers?: Record<string, string> | undefined;
5441
5440
  api?: {
5442
5441
  id?: string | undefined;
5443
5442
  url?: string | undefined;
5444
- method?: "languageModel" | "chat" | "completion" | "completionModel" | "messages" | "responses" | undefined;
5443
+ method?: "messages" | "languageModel" | "chat" | "completion" | "completionModel" | "responses" | undefined;
5445
5444
  } | undefined;
5446
5445
  options?: Record<string, unknown> | undefined;
5447
5446
  thinkingLevelMap?: {
@@ -5452,6 +5451,7 @@ declare namespace Model {
5452
5451
  high?: string | null | undefined;
5453
5452
  xhigh?: string | null | undefined;
5454
5453
  } | undefined;
5454
+ headers?: Record<string, string> | undefined;
5455
5455
  npm?: string | undefined;
5456
5456
  providerOptionsKey?: string | undefined;
5457
5457
  providerOptions?: Record<string, unknown> | undefined;
@@ -5466,28 +5466,28 @@ declare namespace Model {
5466
5466
  openaiCompatible?: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-compatible" | "openai-codex" | "openrouter" | "xai" | undefined;
5467
5467
  openaiCodex?: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-compatible" | "openai-codex" | "openrouter" | "xai" | undefined;
5468
5468
  } | undefined;
5469
- maxTokens: number;
5470
- id: string;
5471
5469
  name: string;
5470
+ input: ("text" | "image")[];
5471
+ cost: {
5472
+ input: number;
5473
+ output: number;
5474
+ cacheRead: number;
5475
+ cacheWrite: number;
5476
+ };
5477
+ protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-compatible" | "openai-codex" | "openrouter" | "xai";
5478
+ id: string;
5472
5479
  provider: {
5473
5480
  key?: string | undefined;
5474
5481
  options?: Record<string, any> | undefined;
5475
- id: string;
5476
5482
  name: string;
5483
+ id: string;
5477
5484
  source: "env" | "config" | "custom" | "api" | "unknown";
5478
5485
  env: string[];
5479
5486
  };
5480
5487
  baseUrl: string;
5481
5488
  reasoning: boolean;
5482
- input: ("text" | "image")[];
5483
- cost: {
5484
- input: number;
5485
- output: number;
5486
- cacheRead: number;
5487
- cacheWrite: number;
5488
- };
5489
5489
  contextWindow: number;
5490
- protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-compatible" | "openai-codex" | "openrouter" | "xai";
5490
+ maxTokens: number;
5491
5491
  }>>>;
5492
5492
  reset(): void;
5493
5493
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@codeworksh/aikit",
3
- "version": "0.5.1-dev.20260613074656",
4
- "description": "Toolkit for building AI agents and agent harness.",
3
+ "version": "0.6.0",
4
+ "description": "TypeScript SDK that provides a unified API for working with multiple LLM providers, automatic model discovery, and more.",
5
5
  "keywords": [
6
6
  "agent",
7
7
  "ai",