@oh-my-pi/pi-catalog 18.10.0 → 18.10.2

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,12 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [18.10.2] - 2026-10-12
6
+
7
+ ### Added
8
+
9
+ - Added the `honors-claude-code-beta-kill-switch` axis (`compat.honorsClaudeCodeBetaKillSwitch`), on for the `anthropic` provider, so a rule or `models.yml` override decides which providers honor `CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS` ([#15458](https://github.com/can1357/oh-my-pi/pull/15458) by [@H4vC](https://github.com/H4vC))
10
+
5
11
  ## [18.10.0] - 2026-10-12
6
12
 
7
13
  ### Changed
@@ -79,9 +79,9 @@ uutils coreutils (https://github.com/uutils/coreutils), MIT
79
79
  --------------------------------------------------------------------------------
80
80
  Covers: base32, base64, basename, cat, cksum (shared checksum machinery),
81
81
  b2sum, md5sum, sha1sum, sha224sum, sha256sum, sha384sum, sha512sum, comm, cp,
82
- cut, date, dirname, head, hostname, ln, ls, mkdir, mktemp, mv, nproc, paste,
83
- printenv, readlink, realpath, rm, seq, sort, stat, tac, tail, tee, touch, tr,
84
- truncate, uname, uniq, wc, whoami, yes.
82
+ cut, date, dirname, head, hostname, ln, ls, mkdir, mktemp, mv, nl, nproc,
83
+ paste, printenv, readlink, realpath, rm, seq, sort, stat, tac, tail, tee,
84
+ touch, tr, truncate, uname, uniq, wc, whoami, yes.
85
85
 
86
86
  Copyright (c) uutils developers
87
87
 
@@ -492,6 +492,14 @@ export interface AnthropicCompat {
492
492
  * contract instead. Default: false.
493
493
  */
494
494
  firstPartyProvider?: boolean;
495
+ /**
496
+ * Whether the provider honors Claude Code's `CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS`
497
+ * kill switch, which withholds pre-release fields (`context_management`, beta
498
+ * tool fields, task budgets, structured-output format, `thinking.block_binding`,
499
+ * server compaction) with their betas. Rule-owned on the
500
+ * provider whose `ANTHROPIC_*` env routing Claude Code shares. Default: false.
501
+ */
502
+ honorsClaudeCodeBetaKillSwitch?: boolean;
495
503
  /**
496
504
  * Whether requests may carry `output_config.effort` (and its effort beta
497
505
  * header). Vertex AI rejects the field/header. Default: true.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oh-my-pi/pi-catalog",
3
- "version": "18.10.0",
3
+ "version": "18.10.2",
4
4
  "description": "Model catalog for omp: bundled model database, provider discovery descriptors, model identity, classification, and equivalence",
5
5
  "keywords": [
6
6
  "ai",
@@ -93,12 +93,12 @@
93
93
  "gen:proto": "bun scripts/generate-protocols.ts"
94
94
  },
95
95
  "dependencies": {
96
- "@oh-my-pi/omptype": "18.10.0",
97
- "@oh-my-pi/pi-utils": "18.10.0"
96
+ "@oh-my-pi/omptype": "18.10.2",
97
+ "@oh-my-pi/pi-utils": "18.10.2"
98
98
  },
99
99
  "devDependencies": {
100
100
  "@bgotink/kdl": "0.4.0",
101
- "@oh-my-pi/pi-ai": "18.10.0",
101
+ "@oh-my-pi/pi-ai": "18.10.2",
102
102
  "@types/bun": "^1.3.14"
103
103
  },
104
104
  "engines": {
@@ -242,6 +242,7 @@ export const AXES: Readonly<Record<string, AxisDef>> = {
242
242
  "escape-builtin-tool-names": wire("escapeBuiltinToolNames", ["anthropic"]),
243
243
  "fast-mode": wire("fastMode", ["anthropic"]),
244
244
  "first-party-provider": wire("firstPartyProvider", ["anthropic"]),
245
+ "honors-claude-code-beta-kill-switch": wire("honorsClaudeCodeBetaKillSwitch", ["anthropic"]),
245
246
  "inject-claude-code-instruction": wire("injectClaudeCodeInstruction", ["anthropic"]),
246
247
  "max-image-dimension": wire("maxImageDimension", ["anthropic"]),
247
248
  "max-image-payload-bytes": wire("maxImagePayloadBytes", ["anthropic"]),
@@ -892,6 +892,7 @@ function resolveAnthropicPolicy(
892
892
  supportsContextManagement: true,
893
893
  supportsServerCompaction: false,
894
894
  firstPartyProvider: false,
895
+ honorsClaudeCodeBetaKillSwitch: false,
895
896
  supportsOutputEffort: true,
896
897
  disableStrictTools: rejectsStrictTools,
897
898
  // Present as a key so models.yml `compat` can set it; unset unless detected.
@@ -74,6 +74,10 @@ provider "anthropic" {
74
74
  // combines this fact with a per-request effective-URL check, so it never
75
75
  // authorizes a block on its own.
76
76
  first-party-provider #true
77
+ // Shares Claude Code's `ANTHROPIC_*` env routing, so it also honors Claude
78
+ // Code's `CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS` kill switch for gateways
79
+ // that reject experimental beta fields.
80
+ honors-claude-code-beta-kill-switch #true
77
81
  // Messages requests cap at 32 MB. Reserve 8 MB for text, tools, and JSON
78
82
  // framing when retaining inline base64 images in a long conversation.
79
83
  // Applied only on the official endpoint; a custom baseUrl has its own limit.