@yanlinglabs/winter-provider-catalog 0.0.23 → 0.0.24

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/dist/types.d.ts CHANGED
@@ -72,6 +72,29 @@ export interface ReasoningCapabilities {
72
72
  completionEvent?: CapabilityEvidence<string>;
73
73
  /** What missing reasoning state costs mid-tool-loop (DeepSeek with tools: a 400). */
74
74
  toolLoopRequirement?: CapabilityEvidence<"hard-error" | "silent-degradation" | "not-required">;
75
+ /**
76
+ * WHERE the model takes its effort on the wire, when that is a documented request field of its own
77
+ * rather than the adapter's default mapping (2026-09-25). `output_config.effort`: Anthropic's
78
+ * top-level effort parameter, which the model steers adaptive thinking with — Claude 4.7 and later
79
+ * reject a manual `thinking.budget_tokens` outright, so an Anthropic-dialect adapter maps effort
80
+ * HERE for such a row. ABSENT keeps the adapter's own mapping (the budget ladder on the Anthropic
81
+ * dialect). A closed vocabulary (`CATALOG_VOCABULARIES.effortRequestFields`).
82
+ */
83
+ effortRequest?: CapabilityEvidence<{
84
+ field: "output_config.effort";
85
+ }>;
86
+ /**
87
+ * The vendor BINDS a replayed thinking block to the conversation prefix it was produced under
88
+ * (2026-09-25; Claude Opus 5.5 and Fable 5.1). A block replayed after the `system` prompt, the `tools`
89
+ * array or an earlier message changed is rejected with a 400 unless the request opts into the named
90
+ * beta and asks for the block to be dropped (`thinking.block_binding.prefix_mismatch_behavior:
91
+ * "drop_block"`). An engine whose tool list legitimately grows mid-session (MCP servers connecting,
92
+ * deferred tools loading) must send both on such a row. `beta` is the header value, a closed
93
+ * vocabulary (`CATALOG_VOCABULARIES.blockBindingBetas`).
94
+ */
95
+ blockBinding?: CapabilityEvidence<{
96
+ beta: "thinking-binding-controls-2026-08-01";
97
+ }>;
75
98
  }
76
99
  /** List prices, USD per million tokens. R6-H: the ONLY price source Winter has — an unpriced model reports `0` / `costBasis: "unknown"`, never an invented number. */
77
100
  export interface ModelPricing {
@@ -62,6 +62,8 @@ export declare const CATALOG_VOCABULARIES: {
62
62
  readonly readableStates: readonly ["none", "summary", "full-exposed"];
63
63
  readonly replayScopes: readonly ["current-tool-loop", "current-turn", "selected-turns", "all-turns"];
64
64
  readonly toolLoopRequirements: readonly ["hard-error", "silent-degradation", "not-required"];
65
+ readonly effortRequestFields: readonly ["output_config.effort"];
66
+ readonly blockBindingBetas: readonly ["thinking-binding-controls-2026-08-01"];
65
67
  };
66
68
  /**
67
69
  * Recursively scans any JSON value for credential material. Exported because Lane X's generator