@foldrun/core 24.3.0 → 24.3.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.
@@ -118,6 +118,15 @@ export const FIELDS = {
118
118
  // A failure.
119
119
  errorClass: "class", errorName: "errorName", code: "code", syscall: "word", cause: "cause",
120
120
  at: "frame", frames: "frames", retrying: "bool", ok: "bool",
121
+ // The model gateway (gateway-door.ts, 19 Nov 2026): what kind of client
122
+ // called and the SHAPE of what it sent — never its words. These were
123
+ // dropped (`gateway.not_claude_code` read `"dropped":5`): `client` held a
124
+ // whole product token ("Claude/1.3.0"), and `/` does not fit an id, so the
125
+ // product and its version are two ids. Counts are counts of the request's
126
+ // parts (messages, tools), not of anything in them. `streaming` is the
127
+ // request's stream flag; `stream` stays the word it was (stdout/stderr).
128
+ client: "id", clientVersion: "id", answered: "bool", maxTokens: "num", messages: "num",
129
+ tools: "num", streaming: "bool", json: "bool",
121
130
  };
122
131
  /** Is this value one this kind of field may carry? */
123
132
  function fits(kind, v) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foldrun/core",
3
- "version": "24.3.0",
3
+ "version": "24.3.1",
4
4
  "description": "Agents are just folders. The format, the runner, the checks.",
5
5
  "license": "FSL-1.1-ALv2",
6
6
  "type": "module",
package/src/ops-log.ts CHANGED
@@ -127,6 +127,15 @@ export const FIELDS: Record<string, Kind> = {
127
127
  // A failure.
128
128
  errorClass: "class", errorName: "errorName", code: "code", syscall: "word", cause: "cause",
129
129
  at: "frame", frames: "frames", retrying: "bool", ok: "bool",
130
+ // The model gateway (gateway-door.ts, 19 Nov 2026): what kind of client
131
+ // called and the SHAPE of what it sent — never its words. These were
132
+ // dropped (`gateway.not_claude_code` read `"dropped":5`): `client` held a
133
+ // whole product token ("Claude/1.3.0"), and `/` does not fit an id, so the
134
+ // product and its version are two ids. Counts are counts of the request's
135
+ // parts (messages, tools), not of anything in them. `streaming` is the
136
+ // request's stream flag; `stream` stays the word it was (stdout/stderr).
137
+ client: "id", clientVersion: "id", answered: "bool", maxTokens: "num", messages: "num",
138
+ tools: "num", streaming: "bool", json: "bool",
130
139
  };
131
140
 
132
141
  export type OpsValue = string | number | boolean | null | undefined | readonly string[];