omnigateway 0.15.1 → 0.15.3
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 +13 -0
- package/bin/omni.js +126 -126
- package/gateway.js +166 -166
- package/package.json +1 -1
- package/public/assets/{Chip-C3dIFd8s.js → Chip-B2iXmJJC.js} +1 -1
- package/public/assets/CopyValue-CWSTp4v8.js +27 -0
- package/public/assets/{Field-EvdVyEqx.js → Field-CUEEy19T.js} +5 -28
- package/public/assets/{Rack-DMrfn4-H.js → Rack-1lijWt5h.js} +32 -32
- package/public/assets/RequestTable-uRTmuPwB.js +93 -0
- package/public/assets/Select-C0c13SKD.js +141 -0
- package/public/assets/{SummaryDeck-DHsYYpYO.js → SummaryDeck-DnQnRmQ8.js} +1 -1
- package/public/assets/Toggle-BvVa_jla.js +39 -0
- package/public/assets/{TokenBreakdown-Bf0zsKcd.js → TokenBreakdown-B8cSaOOr.js} +2 -2
- package/public/assets/_app.accounts-DmJhe6QV.js +70 -0
- package/public/assets/_app.console-DQlcBpSu.js +24 -0
- package/public/assets/{_app.database-BCwEMrEA.js → _app.database-DoDu8HOG.js} +1 -1
- package/public/assets/{_app.index-DW6wain4.js → _app.index-BEeD4XSS.js} +2 -2
- package/public/assets/_app.keys-MXvgkBUB.js +120 -0
- package/public/assets/{_app.logs-CRC5qDK3.js → _app.logs-CjUjeVHg.js} +3 -3
- package/public/assets/_app.models-mNIL-1oS.js +148 -0
- package/public/assets/{_app.plugins._pluginId-CD9KXknf.js → _app.plugins._pluginId-CsJXQg6X.js} +1 -1
- package/public/assets/_app.settings-CYMwWA8D.js +88 -0
- package/public/assets/{_app.usage-BR6a92zI.js → _app.usage-Dd33vB8x.js} +3 -3
- package/public/assets/chevron-right-ocqzquMZ.js +1 -0
- package/public/assets/client-KUNw8ZtZ.js +48 -0
- package/public/assets/{index-6rZSWe9j.js → index-B9izdV6t.js} +3 -3
- package/public/assets/{login-NuwPF5SS.js → login-DrbTJF6e.js} +1 -1
- package/public/assets/plus-D_lvSfDL.js +1 -0
- package/public/assets/{rotate-ccw-Dionx_MW.js → rotate-ccw-CwTftDdz.js} +1 -1
- package/public/assets/{trash-Bsi60qJc.js → trash-CmuxOGpN.js} +1 -1
- package/public/index.html +2 -2
- package/public/assets/CopyValue-DG88CWpN.js +0 -27
- package/public/assets/RequestTable-CtuuMOT2.js +0 -93
- package/public/assets/Toggle-BTie3NY8.js +0 -39
- package/public/assets/_app.accounts-xCJhRd32.js +0 -70
- package/public/assets/_app.console-DS37cfIu.js +0 -24
- package/public/assets/_app.keys-CCU2NB3-.js +0 -120
- package/public/assets/_app.models-B4brzRdK.js +0 -148
- package/public/assets/_app.settings-NJSb_L2B.js +0 -88
- package/public/assets/chevron-down-3tlYNJqZ.js +0 -1
- package/public/assets/chevron-right-kvaJRnfj.js +0 -1
- package/public/assets/client-B9t0CsmA.js +0 -46
- package/public/assets/dist-B8iuo_hI.js +0 -1
- package/public/assets/plus-CVqm87L-.js +0 -1
package/README.md
CHANGED
|
@@ -449,6 +449,19 @@ Worth knowing before you deploy it:
|
|
|
449
449
|
Anthropic thinking fields (including beta controls) pass through only to
|
|
450
450
|
Anthropic; supply any required beta header yourself. Hidden adaptive display
|
|
451
451
|
omits generated Responses reasoning summaries, without inventing a default.
|
|
452
|
+
- **Claude Code auto mode supports Anthropic server-side classifier results.**
|
|
453
|
+
On Anthropic targets, the gateway forwards `safeguards`, protocol headers, and
|
|
454
|
+
original `safeguard_results` in both streaming and buffered replies. Safeguard
|
|
455
|
+
requests retain the client's system blocks and tool names/IDs rather than the
|
|
456
|
+
ordinary OAuth system/tool transformations. Eligibility and no-charge checks
|
|
457
|
+
still depend on Anthropic's rollout for the upstream credential/model; routing
|
|
458
|
+
to another provider does not supply them. This is not a byte-transparent proxy:
|
|
459
|
+
gateway policies and other request normalization still apply.
|
|
460
|
+
After deploying this version, start a **new Claude Code session** and check
|
|
461
|
+
`/status` → **Auto mode server: Enabled**. If the upstream is not eligible,
|
|
462
|
+
`CLAUDE_CODE_AUTO_MODE_SERVER=0` before starting Claude Code uses its separate
|
|
463
|
+
classifier calls instead; these remain billed as token usage. See
|
|
464
|
+
[Anthropic's notice guide](https://code.claude.com/docs/en/auto-mode-classifier-billing).
|
|
452
465
|
- **An OpenAI OAuth (ChatGPT) target presents itself as Codex, and answers like
|
|
453
466
|
it.** Requests on that leg match Codex 0.163.0's TUI field by field, which
|
|
454
467
|
changes model behaviour for every client routed there, Claude Code included:
|