@dbx-tools/cli-model-proxy 0.3.27 → 0.3.28

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/README.md CHANGED
@@ -135,9 +135,10 @@ Use this when tests or local developer tools need a managed proxy lifecycle.
135
135
  `/serving-endpoints/responses`.
136
136
  - Responses → `/serving-endpoints/responses` (OpenAI-family) or
137
137
  `/serving-endpoints/open-responses` (Claude/Gemini/…). For Open
138
- Responses the proxy strips non-`function` tools and rewrites prior-turn
139
- `output_*` content parts to `input_*` (Claude/Gemini reject
140
- `output_text` in `input`).
138
+ Responses the proxy strips non-`function` tools, rewrites prior-turn
139
+ `output_*` content parts to `input_*`, and drops Claude
140
+ `thinking` / `redacted_thinking` / `reasoning` blocks (replay of those
141
+ signed blobs fails with "Invalid `data` in `redacted_thinking`").
141
142
  5. JSON or SSE response bodies are piped back (with a chat↔Responses
142
143
  translation only when a chat client hit a Responses-only model).
143
144
 
package/package.json CHANGED
@@ -18,16 +18,16 @@
18
18
  "@databricks/sdk-experimental": "^0.17.0",
19
19
  "commander": "^15.0.0",
20
20
  "tsx": "^4.23.0",
21
- "@dbx-tools/model": "0.3.27",
22
- "@dbx-tools/shared-core": "0.3.27",
23
- "@dbx-tools/shared-model": "0.3.27"
21
+ "@dbx-tools/model": "0.3.28",
22
+ "@dbx-tools/shared-core": "0.3.28",
23
+ "@dbx-tools/shared-model": "0.3.28"
24
24
  },
25
25
  "main": "index.ts",
26
26
  "license": "UNLICENSED",
27
27
  "publishConfig": {
28
28
  "access": "public"
29
29
  },
30
- "version": "0.3.27",
30
+ "version": "0.3.28",
31
31
  "types": "index.ts",
32
32
  "type": "module",
33
33
  "exports": {
package/src/server.ts CHANGED
@@ -337,8 +337,9 @@ async function proxyChatViaResponses(
337
337
  * workspace-level). Streaming and non-streaming both pass through as-is.
338
338
  *
339
339
  * Open Responses (Claude/Gemini/…) only accepts `function` tools and
340
- * `input_*` content part types, so Codex's built-in `web_search` /
341
- * `local_shell` / and prior-turn `output_text` parts are rewritten/
340
+ * `input_*` content part types, and rejects replayed Claude thinking
341
+ * blocks so Codex's built-in tools, prior-turn `output_text`, and
342
+ * `redacted_thinking` / `thinking` / `reasoning` parts are rewritten or
342
343
  * stripped there. The OpenAI `/responses` path keeps them - GPT supports
343
344
  * those shapes.
344
345
  */