@oh-my-pi/pi-catalog 18.9.0 → 18.9.1
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 +6 -0
- package/dist/types/types.d.ts +10 -0
- package/package.json +4 -4
- package/src/compat/axes.ts +1 -1
- package/src/compat/resolve.ts +3 -0
- package/src/models.json +1 -1
- package/src/types.ts +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [18.9.1] - 2026-10-11
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Added the `supports-thinking-binding-controls` axis to Bedrock Converse models (on by default) so a rule or `models.yml` override can turn off Claude thinking-binding controls on hosts that reject them ([#15316](https://github.com/can1357/oh-my-pi/pull/15316) by [@harshaygadekar](https://github.com/harshaygadekar))
|
|
10
|
+
|
|
5
11
|
## [18.9.0] - 2026-10-11
|
|
6
12
|
|
|
7
13
|
### Fixed
|
package/dist/types/types.d.ts
CHANGED
|
@@ -711,6 +711,14 @@ export interface BedrockCompat {
|
|
|
711
711
|
* choices to `auto` when this is false. Default: true.
|
|
712
712
|
*/
|
|
713
713
|
supportsForcedToolChoice?: boolean;
|
|
714
|
+
/**
|
|
715
|
+
* Whether the endpoint accepts thinking-binding controls (`thinking.block_binding`,
|
|
716
|
+
* the `thinking-binding-controls-2026-08-01` beta and the `/input_transformations`
|
|
717
|
+
* response path) on prefix-bound models. Only consulted when
|
|
718
|
+
* `thinking.prefixBinding` is set; `false` omits the controls while keeping the
|
|
719
|
+
* local prefix-binding safeguards. Default: true.
|
|
720
|
+
*/
|
|
721
|
+
supportsThinkingBindingControls?: boolean;
|
|
714
722
|
}
|
|
715
723
|
/** Fully-resolved Bedrock Converse prompt-cache capabilities, materialized once by `buildModel`. */
|
|
716
724
|
export interface ResolvedBedrockCompat {
|
|
@@ -725,6 +733,8 @@ export interface ResolvedBedrockCompat {
|
|
|
725
733
|
/** See {@link BedrockCompat.supportsSamplingParams}. */
|
|
726
734
|
supportsSamplingParams?: boolean;
|
|
727
735
|
supportsForcedToolChoice: boolean;
|
|
736
|
+
/** See {@link BedrockCompat.supportsThinkingBindingControls}. */
|
|
737
|
+
supportsThinkingBindingControls: boolean;
|
|
728
738
|
/**
|
|
729
739
|
* Stream-watchdog idle-timeout fallback in ms for hosts with no keepalive
|
|
730
740
|
* events; 0 disables the idle watchdog. Undefined defers to
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oh-my-pi/pi-catalog",
|
|
3
|
-
"version": "18.9.
|
|
3
|
+
"version": "18.9.1",
|
|
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.9.
|
|
97
|
-
"@oh-my-pi/pi-utils": "18.9.
|
|
96
|
+
"@oh-my-pi/omptype": "18.9.1",
|
|
97
|
+
"@oh-my-pi/pi-utils": "18.9.1"
|
|
98
98
|
},
|
|
99
99
|
"devDependencies": {
|
|
100
100
|
"@bgotink/kdl": "0.4.0",
|
|
101
|
-
"@oh-my-pi/pi-ai": "18.9.
|
|
101
|
+
"@oh-my-pi/pi-ai": "18.9.1",
|
|
102
102
|
"@types/bun": "^1.3.14"
|
|
103
103
|
},
|
|
104
104
|
"engines": {
|
package/src/compat/axes.ts
CHANGED
|
@@ -260,7 +260,7 @@ export const AXES: Readonly<Record<string, AxisDef>> = {
|
|
|
260
260
|
"supports-per-message-effort": wire("supportsPerMessageEffort", ["anthropic"]),
|
|
261
261
|
"supports-server-compaction": wire("supportsServerCompaction", ["anthropic"]),
|
|
262
262
|
"supports-between-tools-thinking": wire("supportsBetweenToolsThinking", ["anthropic"]),
|
|
263
|
-
"supports-thinking-binding-controls": wire("supportsThinkingBindingControls", ["anthropic"]),
|
|
263
|
+
"supports-thinking-binding-controls": wire("supportsThinkingBindingControls", ["anthropic", "bedrock"]),
|
|
264
264
|
"supports-turn-scoped-system": wire("supportsTurnScopedSystem", ["anthropic"]),
|
|
265
265
|
|
|
266
266
|
// ── wire: bedrock-converse-stream ──
|
package/src/compat/resolve.ts
CHANGED
|
@@ -942,6 +942,9 @@ function resolveBedrockPolicy(spec: ModelSpec<"bedrock-converse-stream">, axes:
|
|
|
942
942
|
promptCacheMinimumTokens: 0,
|
|
943
943
|
promptCacheMaximumCheckpoints: 0,
|
|
944
944
|
supportsForcedToolChoice: true,
|
|
945
|
+
// Opt-out: every prefix-bound Claude line on Converse takes the controls,
|
|
946
|
+
// including custom Bedrock-wire providers; KDL or models.yml sets `false`.
|
|
947
|
+
supportsThinkingBindingControls: true,
|
|
945
948
|
};
|
|
946
949
|
// Reasoning capability is a mechanism gate; adaptive-lineage duration is rule-owned.
|
|
947
950
|
compat.streamIdleTimeoutMs = compatReasoning(spec, axes) ? BEDROCK_REASONING_STREAM_IDLE_TIMEOUT_MS : undefined;
|