@ego-z/contracts 0.15.30 → 0.15.31

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/ask.d.ts +7 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ego-z/contracts",
3
- "version": "0.15.30",
3
+ "version": "0.15.31",
4
4
  "description": "Wire-format type contracts shared between EgoZ backend, SDK, MCP and console. Type-only — no runtime artifacts.",
5
5
  "types": "./src/index.d.ts",
6
6
  "exports": {
package/src/ask.d.ts CHANGED
@@ -733,6 +733,13 @@ export interface AskContextUsage {
733
733
  byPart: AskContextParts;
734
734
  /** Earlier messages left out to fit the budget. `0` when all of them fit. */
735
735
  historyDropped: number;
736
+ /**
737
+ * The factor EgoZ multiplied its raw estimate by: the provider's count
738
+ * over EgoZ's raw estimate on the conversation's previous turn on the
739
+ * same model, so `estimated` here is already corrected. `1` when there
740
+ * was none. Absent from turns made before it existed.
741
+ */
742
+ correction?: number;
736
743
  /**
737
744
  * `true` when the provider refused a prompt as too long and EgoZ sent a
738
745
  * smaller one. It retries once; a second refusal ends the turn with