@ego-z/contracts 0.15.16 → 0.15.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ego-z/contracts",
3
- "version": "0.15.16",
3
+ "version": "0.15.17",
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
@@ -115,13 +115,15 @@ export interface AskRequestBody {
115
115
  *
116
116
  * ── `"auto"`: let EgoZ choose ────────────────────────────────────────
117
117
  *
118
- * EgoZ decides how much reasoning the turn gets. Today the turn runs on the
119
- * project's configured model; choosing among other models the owner has
120
- * approved (always on the owner's keys) is planned, not yet live.
118
+ * EgoZ judges how demanding the turn is and answers accordingly: with more
119
+ * or less reasoning and, when the owner has picked them, on a lighter or a
120
+ * stronger model from this project's menu — always one the owner approved,
121
+ * on the owner's keys.
121
122
  * The choice belongs to the conversation, not to each message on its own:
122
- * switching models mid-conversation changes the agent's tone and defeats
123
- * prompt caching. A `completion` has no conversation to belong to, so each
124
- * one is routed by itself.
123
+ * a conversation can move up (a hard question after a "hi" gets more care)
124
+ * but never back down, because switching back and forth would change the
125
+ * agent's tone and defeat prompt caching. A `completion` has no
126
+ * conversation to belong to, so each one is routed by itself.
125
127
  *
126
128
  * Accepted only when the owner offers Auto AND model switching is on —
127
129
  * exactly when `GET /egoz/models` reports `auto.available: true`.
package/src/model.d.ts CHANGED
@@ -84,9 +84,9 @@ export interface SwitchableModelsResponseData {
84
84
  models: SwitchableModelWire[];
85
85
  /**
86
86
  * Whether this project lets callers pick Auto, where EgoZ decides, per
87
- * conversation, how much reasoning a turn gets (on the project's
88
- * configured model today; choosing among the owner's approved models is
89
- * planned).
87
+ * conversation, how demanding a turn is: how much reasoning it gets and,
88
+ * when the owner picked them, whether it runs on a lighter or a stronger
89
+ * model from this project's menu.
90
90
  *
91
91
  * `available` is true when a caller may send `model: "auto"` — the owner
92
92
  * offers Auto AND `switchable` is true. List Auto in a picker only then.