@oh-my-pi/pi-catalog 17.2.2 → 17.2.3

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ### Fixed
6
+
7
+ - Fixed `gen:models` Codex discovery to union models across every stored OAuth account and fail closed on partial resolution, matching runtime discovery ([#6265](https://github.com/can1357/oh-my-pi/issues/6265)); restored the bundled `gpt-5.4`, `gpt-5.6-sol`, and `gpt-5.3-codex-spark` entries a single-account regen had dropped.
8
+
9
+ ## [17.2.3] - 2026-08-01
10
+
11
+ ### Added
12
+
13
+ - Added support for the ai& provider (`aiand`), an OpenAI-compatible inference API with dynamic model discovery (context windows, capabilities, reasoning efforts, and USD pricing from `/v1/models`) and API-key authentication via the `AIAND_API_KEY` environment variable.
14
+
5
15
  ## [17.2.2] - 2026-07-31
6
16
 
7
17
  ### Added
@@ -7,6 +7,15 @@
7
7
  */
8
8
  import type { ModelManagerConfig, ProviderCatalogEntry, ProviderDescriptor } from "./descriptor-types.js";
9
9
  export declare const CATALOG_PROVIDERS: readonly [{
10
+ readonly id: "aiand";
11
+ readonly defaultModel: "moonshotai/kimi-k2.7-code";
12
+ readonly envVars: readonly ["AIAND_API_KEY"];
13
+ readonly createModelManagerOptions: (config: ModelManagerConfig) => import("../index.js").ModelManagerOptions<"openai-completions", unknown>;
14
+ readonly dynamicModelsAuthoritative: true;
15
+ readonly catalogDiscovery: {
16
+ readonly label: "ai&";
17
+ };
18
+ }, {
10
19
  readonly id: "aimlapi";
11
20
  readonly defaultModel: "gpt-5.5-2026-04-23";
12
21
  readonly envVars: readonly ["AIMLAPI_API_KEY"];
@@ -443,6 +443,23 @@ export interface SakanaModelManagerConfig {
443
443
  fetch?: FetchImpl;
444
444
  }
445
445
  export declare function sakanaModelManagerOptions(config?: SakanaModelManagerConfig): ModelManagerOptions<"openai-responses">;
446
+ /**
447
+ * Documented ai& catalog (docs.aiand.com/models/catalog, 2026-08) bundled so
448
+ * the provider is usable when generation and first boot have no live key.
449
+ * The org-scoped `/v1/models` response is authoritative once discovery runs.
450
+ */
451
+ export declare const AIAND_STATIC_MODELS: readonly ModelSpec<"openai-completions">[];
452
+ export interface AiandModelManagerConfig {
453
+ apiKey?: string;
454
+ baseUrl?: string;
455
+ fetch?: FetchImpl;
456
+ }
457
+ /**
458
+ * ai& (aiand.com) model manager: OpenAI-compatible chat completions with an
459
+ * org-scoped `/v1/models` catalog carrying context, capability, effort, and
460
+ * pricing metadata, so discovery is authoritative over the bundled seed.
461
+ */
462
+ export declare function aiandModelManagerOptions(config?: AiandModelManagerConfig): ModelManagerOptions<"openai-completions">;
446
463
  export interface QwenPortalModelManagerConfig {
447
464
  apiKey?: string;
448
465
  baseUrl?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@oh-my-pi/pi-catalog",
4
- "version": "17.2.2",
4
+ "version": "17.2.3",
5
5
  "description": "Model catalog for omp: bundled model database, provider discovery descriptors, model identity, classification, and equivalence",
6
6
  "homepage": "https://omp.sh",
7
7
  "author": "Can Boluk",
@@ -35,12 +35,12 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@bufbuild/protobuf": "^2.12.1",
38
- "@oh-my-pi/pi-utils": "17.2.2",
38
+ "@oh-my-pi/pi-utils": "17.2.3",
39
39
  "arktype": "2.2.3",
40
40
  "zod": "^4"
41
41
  },
42
42
  "devDependencies": {
43
- "@oh-my-pi/pi-ai": "17.2.2",
43
+ "@oh-my-pi/pi-ai": "17.2.3",
44
44
  "@types/bun": "^1.3.14"
45
45
  },
46
46
  "engines": {