Repository navigation
Merge upstream OpenCodex v2.100.10 - #20
Merged
Merged
Conversation
…, sub2api, magpie) (lidge-jun#9106) Research 001-008, gap matrix 009 (60 gaps: 34 adopted, 9 deferred, 16 rejected, 1 already present), phase docs 010-090, offline index.html, and check.mjs/check-selftest.mjs gates. Docs only.
…9064) * test(stop): isolate independent standalone ownership cases * test(link): expire the relay auth clock after the silent peer receives the probe * test(link): abort a missing relay probe well inside the test timeout --------- Co-authored-by: luvs01 <[email protected]> Co-authored-by: JUN <[email protected]>
…#9101) (lidge-jun#9105) Co-authored-by: JUN <[email protected]>
…ailure (lidge-jun#9088) core-combo.ts sat at 1,971 lines against the 2,000-line file-size threshold. The four helpers that read pool-account evidence after a failed combo send (cooledPoolAccountLabel, cooledGenericOAuthAccountLabel, creditRefusedAnthropicAccountLabel and isAnthropicPoolLocalRefusal) move verbatim next to the failure consumer that already classifies the same responses. The two tests that imported helpers from core-combo.ts now import them from their new module. No behavior changes. Co-authored-by: lidge-jun <[email protected]>
…un#8973) The file ended with a doc comment describing "Force Codex's models_cache stale from the on-disk catalog", with no function after it. That behavior lives in invalidateCodexModelsCache (retained-sync.ts); only the stub was left behind. Comment-only change, no runtime effect. Co-authored-by: Claude Sonnet 5.5 <[email protected]> Co-authored-by: JUN <[email protected]> Co-authored-by: lidge-jun <[email protected]>
…idge-jun#9104) * fix(catalog): name a configured Ultrafast tier like the native one A routed model with an explicit ultrafast mapping advertised its tier as "Ultra Fast". Codex CLI builds a slash command from the name (/ultra fast, split on the space, so neither spelling runs) and T3 Code matches the label "Ultrafast" for its speed indicators. The configured tier now takes its name from NATIVE_ULTRAFAST_SERVICE_TIER. Fixes lidge-jun#9100 * docs(catalog): name the routed speed choice Ultrafast in the Codex Desktop guide The configured tier now publishes the native Ultrafast name; the English, Korean and Spanish guides still told users to pick Ultra Fast / Ultra rápido. --------- Co-authored-by: JUN <[email protected]>
Adds the `aimlapi` canonical key preset for AI/ML API, carried from lidge-jun#8919 and lidge-jun#7904. Discovery strips the preset's registry static headers whenever discovery targets a different origin. Built-in preset counts in the docs are updated to 113 total and 91 key-based. The owner granted a policy exception for the canonical-preset evidence on 2026-11-25. Co-authored-by: Hugo <[email protected]> Co-authored-by: Stan <[email protected]> Co-authored-by: Vito Bush <[email protected]>
…te (lidge-jun#9058) * fix(windows): check the idle task state within the stop deadline A slow final Task Scheduler state read could outlast stop-before and report the task idle. Check the deadline after sampling the state. Cover the cutoff with a simulated getter and a zero-stop assertion. * test(windows): group the idle-state deadline with the other timeout cases --------- Co-authored-by: luvs01 <[email protected]> Co-authored-by: JUN <[email protected]>
…e-jun#9095) * fix(link): give the post-restart relay check room for SSH setup (lidge-jun#8947) The health and catalog probes after a Child restart shared a flat 15s deadline. On Windows each probe is a fresh SSH + PowerShell start, so a slow health check left the catalog probe a few seconds and enrollment failed with child_relay_timeout. The relay deadline now adds the measured SSH setup cost for both probes, capped at 60s like other link commands. * test(link): run the relay timing case on Windows too, document the relay budget --------- Co-authored-by: JUN <[email protected]>
…our window (lidge-jun#9097) * fix(codex): retire a carried monthly window when Plus reports its 5-hour window * fix(codex): require an allowed verdict for the 5-hour monthly proof --------- Co-authored-by: JUN <[email protected]> Co-authored-by: lidge-jun <[email protected]>
…party preview (lidge-jun#9108) * feat(connections): read-only client connection view and Claude first-party preview Adds GET /api/connections, a read-only projection of where Codex, Claude Code (per registered home) and Claude Desktop route, who owns their files, why that differs from the switch, and which keys switching back would change. Adds GET /api/claude-code/first-party/preview, a dry run of the CLI first-party switch that the dashboard shows before the PUT. New config leaf claudeCode.extraConfigDirs. Catch-up 010 (G-001, G-002). * fix(connections): mask identity-bearing config keys; refuse a symlinked profile in the restore preview * fix(connections): show restore-preview keys through an allowlist * fix(connections): mask arbitrary path segments, bound status reads, document the Connections view in Spanish and the CLI parity map * test(layout): register the client-connection tests in their own explicit shard * fix(gui): check the preview response status before reading it; group masked restore rows; drop unused exports
Co-authored-by: luvs01 <[email protected]> Co-authored-by: JUN <[email protected]>
lidge-jun#9079) * fix(providers): send x-opencode-session in opencode-go completion test * Fix OpenCode Go Responses diagnostic session header --------- Co-authored-by: JUN <[email protected]> Co-authored-by: lidge-jun <[email protected]>
…dge-jun#8960) (lidge-jun#9062) * fix(service): stop an update wedging on its own teardown receipts (lidge-jun#8960) A Windows `ocx update` claims its handover receipt before the checked stop's Part A admission. When admission refused `unverified-budget` (nothing changed), the receipt stayed on disk. The next stop inherited it and budgeted another 3 s probe on a ~53.5 s baseline against a 60 s deadline, so each refused retry needed more time than the last and the update wedged permanently. - A held snapshotless Part A that changed nothing removes the receipt this run claimed (`windowsPartAHeldUnchanged`): it describes a stop that never happened. - Admission budgets one probe per distinct exact endpoint among inherited receipts (`inheritedTeardownProbeCount`), and the recovery pass asks each endpoint once (`abandonedTeardownProbeOncePerEndpoint`). Invalid, unscannable and guessed-endpoint receipts block without probing, so they cost nothing. Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(service): an inherited receipt survives an unchanged refused handover --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: JUN <[email protected]>
…e-jun#9043) * fix(service): explain a missing Windows scheduled task on start * fix(service): test the Scheduler start path that gives install advice Move the try/catch around the Scheduler start into startWindowsSchedulerService so the advice-or-rethrow decision is exercised directly: one start attempt, advice only for a confirmed missing registration, the original error otherwise. Supersedes lidge-jun#9085, which reported the same missing-task start failure (lidge-jun#9038). Co-authored-by: EnesKartal <[email protected]> * fix(service): keep the start call literal for the environment-guard order check --------- Co-authored-by: Ingwannu <[email protected]> Co-authored-by: JUN <[email protected]> Co-authored-by: EnesKartal <[email protected]>
…ss NO_PROXY (lidge-jun#9112) * fix(egress): keep an explicit provider proxy authoritative over process NO_PROXY * fix(egress): match NO_PROXY as broadly as Bun and guard the ChatHub socket dial * fix(egress): port Bun NO_PROXY matching for the explicit-proxy guard * docs(structure): name the Bun matcher without a foreign path * fix(egress): follow explicit-proxy redirects in-house and recheck every hop * fix(egress): mirror Bun redirect header stripping and redirected flag in the explicit-proxy follower * fix(egress): refuse explicit-proxy redirects while NO_PROXY is set instead of following them * fix(egress): refuse an exempted provider proxy route before dispatch side effects * fix(egress): decide the NO_PROXY exemption on the rewritten destination * test(egress): the TLS profile transport never receives an exempted route
…xture (lidge-jun#9070) Co-authored-by: luvs01 <[email protected]> Co-authored-by: JUN <[email protected]>
…ions (lidge-jun#9065) Co-authored-by: luvs01 <[email protected]> Co-authored-by: JUN <[email protected]>
…#9067) Co-authored-by: luvs01 <[email protected]> Co-authored-by: JUN <[email protected]>
…ge-jun#9072) Co-authored-by: luvs01 <[email protected]> Co-authored-by: JUN <[email protected]>
…idge-jun#9077) * fix(gui): report consumed quota share in the per-account quota table The Providers Accounts table rendered 'N% left' from PoolCell.remaining (100 - usedPercent) and filled each bar to the remaining share, while Accounts & limits, ProviderCapacityQuota/QuotaBars and QuotaSummaryBar all report the consumed share. The same reading therefore appeared as '87% left' on one surface and '13% used' on another, with the bars filling in opposite directions, and the shared warn/exhaustion thresholds (isQuotaWarn, isQuotaExhausted) are expressed on the consumed share. Carry PoolCell.used (the wire value) instead of its inverse, render the existing quota.usedPercent string, and state the two threshold rewrites in the new direction: remaining <= 20 becomes used >= 80 and remaining <= 0 becomes used >= 100. Both are exactly equivalent across 0-100%. Remove the now-unused acctTable.left copy row and update the two documents that described this table as remaining per pool. * fix(gui): take the quota table's warn tone from the shared helper The cell hardcoded `used >= 80`, which is the value `ProviderCapacityQuota` passes to `QuotaBars`, but nothing tied the two together: changing the provider threshold would have left this table disagreeing with the cards it is being aligned to. `QUOTA_WARN_THRESHOLD` now names that value once. Also corrects the body's equivalence claim: the thresholds agree over the 101 integer percentages, not 1001, and not on fractional input (79.5 rounds to 21 remaining under the old rule and 80 used under the new one). Two new tests hold the direction: the warn boundary at the threshold, and parity with quotaBarTone for the same reading. * test(gui): drop the parity example that compared the helper with itself Both sides of that assertion called `quotaBarTone(x, QUOTA_WARN_THRESHOLD)`, so it could not fail for any implementation that imported the helper — it certified nothing beyond the import. The boundary example stays and was verified red under a strict `used > 80`. Body corrected in the same push: the fractional equivalence note now covers the exhausted guard too (99.5 shifts like 79.5 does), and the test plan lists the commands that actually ran on this head. * test(gui): assert consumed quota in the account table, and say used in the docs The table now carries used share, so the root expectations still read the inverted remaining values. The dashboard guide and the Spanish account reference also still described the table as percentage left. --------- Co-authored-by: JUN <[email protected]>
* feat(messaging): list local Claude Code sessions * fix(messaging): preserve Claude agent-view opt-out during discovery * fix(messaging): honor Claude's boolean Agent View opt-out --------- Co-authored-by: HojoonKim <[email protected]> Co-authored-by: JUN <[email protected]>
…jun#9050) * fix(codex): learn exact refusals for registered native models * fix(codex): invalidate stale rosters only after accepted model refusals * fix(codex): fence roster flights across account invalidation * fix(codex): retire invalidated entitlement snapshots --------- Co-authored-by: biubiu <[email protected]> Co-authored-by: JUN <[email protected]>
…tener (lidge-jun#9071) * fix(opencode): write the loopback placeholder key for the keyless listener OpenCode refuses an empty apiKey before it sends a request. When the managed integration pointed OpenCode at the Home's unauthenticated loopback listener, the generator still wrote {env:OPENCODEX_OPENCODE_API_KEY}, so with the variable unset (as the guide allows for that listener) every request failed with "Missing auth credential: apiKey" even though the listener reads no key. exportContextOf is the only caller that selects the listener URL, so it now marks the context keylessInference and opencodeProviderBlocks writes the non-secret opencodex-loopback placeholder in both provider generations. The dedicated auth-header branch is unchanged. Nothing is inferred from a loopback URL: an SSH forward can be loopback and still authenticated, so ocx export, the launcher, and a loopback bind without the listener keep the reference. Existing managed blocks classify as stale and refresh to the placeholder. Closes lidge-jun#9069 Co-Authored-By: Claude <[email protected]> * fix(opencode): give the dashboard client config the same keyless key /api/client-config resolves its base URL through the serving config, so with the unauthenticated loopback listener enabled it already dials that listener, and it still wrote the env reference. Mark that context keylessInference as well, so the dashboard's OpenCode config matches what the managed integration writes. The CLI-built ocx export --client opencode does not select the listener and keeps the reference. Refs lidge-jun#9069 Co-Authored-By: Claude <[email protected]> * docs(opencode): separate loopback admission from OpenCode's key check The guide said the {env:...} reference can stay unset on a loopback listener, then that OpenCode refuses an unset key. Both were about different checks. State that a loopback bind checks no admission key but OpenCode still needs a nonempty apiKey, that the managed integration and the dashboard config write the placeholder for the keyless listener, and what to export on the other paths. The Spanish guide carried the same claim and gets the same correction. Refs lidge-jun#9069 Co-Authored-By: Claude <[email protected]> * docs(opencode): stop telling translated readers the loopback key can stay unset OpenCode refuses an unset apiKey reference before it sends the request, so the fr, ja, ko, ru, tr, zh-cn and zh-tw guides now match the corrected English text: the managed integration writes the opencodex-loopback placeholder, and other paths need any nonempty value on loopback. * docs(opencode): explain the loopback placeholder in the zh-tw guide The Traditional Chinese guide had no paragraph on the keyless listener, so add the managed-integration placeholder and the ocx export distinction. * docs(opencode): keep the any-value hint to keyless loopback binds The translated guides said any nonempty value works "on loopback" and dropped the English caveat that a loopback URL alone does not prove no key is checked. Restore that caveat in fr, ja, ko, ru, tr and zh-cn, and name the SSH-forward case in every locale: a forward to an authenticated listener looks like loopback and still needs the real admission key. Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(opencode): require the key export only where the destination checks it A 0.0.0.0 bind with the unauthenticated loopback listener enabled gets the loopback placeholder from the managed integration, so the hostname rule alone contradicted the preceding paragraph. Applied to the translations too. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude <[email protected]> Co-authored-by: JUN <[email protected]>
…n#9044) * docs: explain native compaction replay across model changes * docs: name the other cleanup triggers for native compaction replay A remembered opaque-blob rejection or stripped reasoning ciphertext replaces opaque compaction items even when the serving identity matches, so destination capability alone does not decide forwarding (core-replay.ts, passthrough.ts). * docs: list the request-wide cleanups that replace native compaction items Only the whole-request strip flags replace opaque compaction items; a provider-specific reasoning removal does not. Name the actual triggers: remembered rejection and its recovery retry, account change, and compaction or hard-lock fallback outside the credential domain. * docs: narrow the account-change trigger to its continuation-state cleanup An account change replaces compaction items only when the scrub removed continuation state or a turn-state header (account-change-state.ts). * docs(es): carry the native compaction replay paragraph into the Spanish server reference The English paragraph now names modelSwitch, and the Spanish localization guard requires the same inline identifiers. * docs(es): say the rejection record takes precedence over both switches --------- Co-authored-by: Ingwannu <[email protected]> Co-authored-by: JUN <[email protected]>
…9073) * docs(update): describe preview version names and ordering The update check accepts X.Y.Z-preview.<date>.<attempt> since lidge-jun#8977, but the public update reference did not say what a preview version looks like or how previews and stable releases are compared. Add one paragraph to the ocx update reference in every language that has the page. Co-Authored-By: Claude Fable 5.2 <[email protected]> * docs(update): scope preview ordering to update checks; explain ocx update --tag The ordering and offer rules come from isNewer, which update checks, notifications and the dashboard use. ocx update itself installs whatever the selected tag points to when it differs from the installed version (src/update/index.ts), so say so in all nine locales. --------- Co-authored-by: seongwoong <[email protected]> Co-authored-by: Claude Fable 5.2 <[email protected]> Co-authored-by: JUN <[email protected]>
…dows (lidge-jun#8998) (lidge-jun#9022) * fix(link): serve ocx link status over the local control socket on Windows (lidge-jun#8998) lidge-jun#8370 gave a hub whose public listener is not loopback a private AF_UNIX socket for ocx link status, but only on macOS and Linux. A Windows hub answered the CLI with 403 on every TCP listener. Windows has AF_UNIX sockets; what it lacks is a readable socket identity (lstat refuses the file with EACCES) and a mode-based private directory. - windowsTrustedPath proves the whole path: canonical spelling, every component a real directory with no reparse point, the run directory private-runtime-directory, the config home write-private and every ancestor trusted-ancestry. The runtime checks the path above the run directory before creating it, hardens it, and serves nothing unless the check passes; the CLI checks the same before sending the token. - A Windows socket entry is one readdir lists and lstat refuses with EACCES; a readable file at the public path is left alone. - Without inode identity, release unlinks only inside the claim mutex while the lease still names this runtime's token; orphan cleanup matches the exact .c<port>.<8 hex> name, never the lease; a failed publication removes its private name before giving the lease up, or keeps the lease and retries when it cannot. structure/remote-link.md describes the Windows rules. * docs(devlog): record the lidge-jun#8998 branch base after lidge-jun#9018 * fix(link): keep a lease that could not be deleted for the next stop or start removeOwnedLease treated every unlink error as "already gone". When Windows removed the socket names but the lease unlink failed, the release reported success, stop() dropped pendingRelease, and a later start() in the same process read its own record as a live owner and served no socket. Only ENOENT now counts as removed; any other failure makes the release fail and keeps it for retry. A publish rollback whose lease unlink fails retains just the record. The Windows test holds the lease open without FILE_SHARE_DELETE from another process, expects stop() to throw LocalControlReleaseError, then expects start() to finish the retained release and serve again. * test(link): pass the held lease path to the PowerShell holder as a literal * fix(link): refuse a Windows run directory that already existed without private permissions Hardening such a directory would make whatever it already held look trusted to the client, which checks only the directory's current permissions. The runtime now leaves it loose and serves no socket, so the client keeps refusing it as well. No released runtime creates this directory, so only a directory made outside opencodex is affected; removing it re-enables the socket. * test(link): start predecessor fixtures from a private run directory * test(link): cover run-directory creation under the config home and a directory loosened later; document the Windows trust boundary
…un#9061) Co-authored-by: luvs01 <[email protected]> Co-authored-by: JUN <[email protected]> Co-authored-by: lidge-jun <[email protected]>
…9068) * perf(m365): reuse parsed tool ranges in completed answers * fix(m365): check the untrimmed prefix before accepting a tool result * fix(m365): retain notes and line breaks between inline tool calls --------- Co-authored-by: luvs01 <[email protected]> Co-authored-by: JUN <[email protected]>
…un#9089) Quota-only Combo failover advances only on confirmed quota or billing exhaustion and keeps paid targets behind consent; a same-model guard keeps a model-locked fallback on the same model. Maintainer fix: a confirmed billing exhaustion answered with 400/422 advances the chain after every hard stop. Co-authored-by: JUN <[email protected]>
…#9107) * feat(providers): persist API-key cooldowns across restarts (G-013) * fix(providers): keep cooldown rows per generation, persist clear markers, inline keys only * fix(providers): order cooldown clears with counters, bind persistence to the server lifecycle * fix(providers): drop local holds on a peer clear, track the restored home, coalesce pending holds * fix(providers): the final server release drops its in-memory holds * fix(providers): a flush adopting its own rebased clear keeps the holds recorded after it * test(providers): the cooldown file is private like config.json * docs(es): API-key cooldowns of inline keys survive a restart * fix(providers): keep cooldown clear counters for provider names that match Object.prototype members Provider names such as valueOf are valid, and a plain object lookup returned the inherited member instead of the provider's counter, so the hold was dropped on flush. The counter tables are null-prototype. * fix(providers): persist spent-quota evidence with a cooldown so a quota-only Combo still leaves a spent pool after restart Rows carry an optional quotaSpentUntil (bounded by the expiry). Coalesced pending holds, peer merges and restore keep the later spent-quota evidence alongside the later expiry. * docs(structure): name the persisted spent-quota evidence in the API-key cooldown file --------- Co-authored-by: r2b <r2b@local>
…jun#9090) Manage quota-only Combo failover from the management API and the CLI (set, partial update and preview), with the Combo guides describing the quota-only consent refusal. Co-authored-by: JUN <[email protected]>
…n#9041) * Read numeric Task Scheduler state for unrecognized Windows locales * Verify scheduler wrapper identity when CIM owner enrichment times out * fix(service): keep this PR to the numeric Task Scheduler state read Revert the snapshot-owner fallback in windows-process-evidence.ts and windows-process-native.ts to dev: lidge-jun#9027 carries the native ownership proof for a missing CIM owner sample, and two fallbacks for the same evidence would disagree. Document the Schedule.Service TASK_STATE fallback for unrecognized locales. * test(service): bound the numeric Scheduler state read by the time the CSV query left --------- Co-authored-by: JUN <[email protected]>
…of (lidge-jun#8933) * fix(link): restore stop cleanup with bounded native Windows proof Restore the guarded file-route drain and exact stop ownership boundaries from lidge-jun#8803 after its Windows timeout revert. Replace repeated CIM owner probes with same-handle native creation/SID evidence, preserve Windows argv semantics, retain apply exclusion during recycle, and retry only closed, unpublished rollback listeners within a shared remaining budget. Native Windows acceptance remains pending; no CI policy or budget changes. * ci: refresh measured test durations Apply the identical generated timing table from lidge-jun#8940 (d190515). Completed primary-file samples update scheduling weights only; test coverage, five-shard execution, time limits, and workflow policy remain unchanged. * ci: record reviewed timing table in release evidence Preserve the 26 historical evidence snapshots and append the current CI fingerprint set with the independently reviewed timing table blob. Keep every workflow, job requirement, shard count, and timeout unchanged. Validation: 69 release evidence/history/dispatch/resume/docs tests pass; release-evidence policy-check passes. * test: keep stop-owner registration independent of the service-stop follow-up * test(link): report recovery phases when the Windows watchdog expires * fix(link): defer periodic sync for a fenced listener generation * test(link): bind the scheduler to the generation stamped at publication * test(link): isolate stop fixtures from other services and client profiles * test(link): keep unreadable process identities unverified The recovery fixture now sends a missing creation-time sample through the same ownership decision used by normal samples. A missing identity must keep recovery fenced. A matching or mismatching observed identity retains its old result. Windows x64 with Bun 1.4.4: five isolated decisions checked before and after, and typecheck passed. The parent-unverified integration fixture reached its unchanged 15-second parent deadline during file-route setup, before the observer ran. Its Windows integration result remains open. --------- Co-authored-by: luvs01 <[email protected]> Co-authored-by: JUN <[email protected]>
Adds Spanish (Español) to the browser and Desktop dashboards, including the classic edition, adds a Spanish README, and polishes the Spanish documentation reported in lidge-jun#8378. Closes lidge-jun#8378.
…ions (lidge-jun#9063) * fix(adapters): share schema normalization budgets across tool definitions * fix(lib): size JSON data iteratively so deep tool schemas do not overflow the stack Reserving an inlined schema reference walks the copy with jsonUtf8Bytes, which recursed per nesting level. A local $ref to a schema nested 50,000 levels deep threw RangeError where dev normalized it. The walk now uses an explicit stack in the same visit order; byte counts and errors are unchanged. * fix(lib): keep one frame per open container when sizing JSON The explicit-stack walk queued every element of a container before charging any of them, so a wide value was read in full even after the budget was spent. Each open array or object now keeps its own cursor, the walk stops at the first element past the limit, and tests/lib/json-byte-size.test.ts pins byte parity with JSON.stringify, deep nesting, early stop on a wide array, and TypeErrors. * test(layout): register json-byte-size.test.ts in the adapters shard layout.json sits one line under the 2,000-line oversize threshold; the entry belongs in an explicit shard instead. --------- Co-authored-by: luvs01 <[email protected]> Co-authored-by: JUN <[email protected]>
…#8996) * perf(windows): opt in to batching private ACL restrictions * test: isolate the ACL experiment from the developer environment * test(windows): verify the opt-in ACL on native files and directories * test(windows): register native ACL coverage and sync repository gates --------- Co-authored-by: luvs01 <[email protected]> Co-authored-by: JUN <[email protected]>
… prices (lidge-jun#9036) Refresh the Neuralwatt offline roster from its live /v1/models catalog and skip non-chat decision models during discovery. Replay prior reasoning on Chat Completions for the documented reasoning models, including DeepSeek V4.1 Flash and its nw-flash alias. Keep the Kimi K3.1 Pro sampling rules and the legacy kimi-k2.7-code rules, and keep qwen3.6-35b on its thinking_budget path. Refresh only an untouched earlier seed roster. Neuralwatt bills by GPU energy, but its catalog publishes per-token list prices. Record them as verified-derived expected prices so usage rows show the list-price equivalent instead of no cost. Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: lidge-jun <[email protected]>
) * fix(egress): keep an explicit provider proxy authoritative over process NO_PROXY * fix(egress): match NO_PROXY as broadly as Bun and guard the ChatHub socket dial * fix(egress): port Bun NO_PROXY matching for the explicit-proxy guard * docs(structure): name the Bun matcher without a foreign path * fix(egress): follow explicit-proxy redirects in-house and recheck every hop * fix(egress): mirror Bun redirect header stripping and redirected flag in the explicit-proxy follower * fix(egress): refuse explicit-proxy redirects while NO_PROXY is set instead of following them * fix(egress): refuse an exempted provider proxy route before dispatch side effects * fix(egress): decide the NO_PROXY exemption on the rewritten destination * test(egress): the TLS profile transport never receives an exempted route * feat(egress): per-account routes for Codex pool accounts (G-012) * fix(egress): carry the pool account route on compact, usage, discovery, reset-credit and refresh calls Native compact now reads the send-time pool account's route. Token refresh, usage probes (initial and 401 replay), model discovery and reset-credit inspect/consume send through codexAccountFetch, which resolves the account route over the openai provider's against the server's bound live config, or refuses in a CLI process whose config load fell back to defaults. An account that names no proxy keeps the provider's, as documented. * fix(egress): route pool warmups and login checks, refuse removed accounts, scope the live binding Warmups (token guardian, quota auto-refresh, deferred validation) and the login usage read and warmup send through the account's route. The route is resolved at each send: a removed account (row gone, credential tombstoned) is refused, and a stored credential with no row takes the openai provider's route. The server binds its config for its background lifecycle with the config path and load status, refuses when it started on an unreadable config, and detaches on final release or a failed start. * fix(egress): refuse unlisted pool credentials, keep the newest lifecycle owner's routes A stored pool credential whose row the config does not list is refused (removed, even when credential cleanup failed, or orphaned); only a new login takes the openai provider's route without a row, and a direct caller's own bearer keeps the process-wide route. Each background lifecycle owner carries its config, so a release or a failed acquisition restores the surviving owner's routes. * fix(egress): refuse stored pool credentials without routing config; restore each owner's own binding With no binding for the current home and no config.json, a stored pool credential is refused (only a new login proceeds), since its former route cannot be known. Each background-lifecycle owner keeps the binding captured at acquisition (config, config home, load state) and a release or failed acquisition restores exactly that binding. Test fixtures that store credentials without a config keep the earlier behaviour through a preload seam that only works while the test home guard is armed; the account-egress suites clear it. * test(egress): give legacy pool fixtures matching rows instead of a suite-wide seam Removes the test seam. Suites that store Codex pool credentials without a config bind, for their test home, a routing config whose pool rows are exactly the stored live accounts (plus credentials a test passes without storing), with no route: the state a running server has for unrouted pool accounts, so a tombstoned account loses its row as on deletion. tests/helpers/codex-pool-routing.ts holds the helper. * test(egress): scope fixture pool rows per binding; a removed account is refused at the routing boundary The registered-id set resets on every bind, and the quota-prime removal case binds its own live config and asserts the removed account's credential is refused with no send. * docs(config): pool background calls now follow providers.openai.proxy, and a per-account egress overrides it * test(egress): bind matching pool rows in the entitlement suites that pass credentials directly * docs(config): keep the pool egress paragraph on one line so the reference stays under the file-size limit --------- Co-authored-by: r2b <r2b@local>
…or (lidge-jun#9091) Add fallback presets and a route preview to the Combo editor. The editor reconciles remote changes by target identity, blocks saving while a conflict is unresolved, refreshes while open, and never submits metering or consent more permissive than the stored state. Co-authored-by: JUN <[email protected]>
…server's home (lidge-jun#9125) * fix(providers): rebind API-key cooldown persistence to the surviving server's home With two servers for different config homes, the newer one's lease installed its home's cooldown store and dropped the older home's holds; when it stopped, the surviving server kept the newer home's store. Each lease now records its config dir, and a release or failed acquisition reinstalls the surviving owner's store, which restores that home's persisted holds. * fix(providers): a rebind keeps a busy home's pending cooldowns and registers writes under the store's home When the departing home's lock stays busy through the bounded detach flush, the detached store keeps retrying instead of dropping its pending holds. Each write registers the cooldown file under the store's own config dir, which can differ from the current one during a cross-home rebind. * fix(providers): reattach a detached cooldown store when its home returns; detached writes leave the current home's holds alone A detached store still retrying is kept per config dir; reinstalling that dir reuses it and restores its pending holds with the file's rows. While detached it keeps filtering by the disk's clear counters but never resets the process-wide holds, which then belong to another home. * fix(providers): a rebind honours unwritten clears and restores pending holds when the file cannot be read Disk rows are filtered by the store's effective counters, so a provider or global clear not yet written still hides the rows it cleared. The disk read is separate from restoring the resumed store's pending holds, which keep its last-known counters until the next flush re-filters them. * fix(providers): a pending clear hides every disk row it covers on rebind A peer can reach the same clear counter independently, so while a provider or global clear of this store is unwritten, load leaves out every disk row of that provider (or every row); only the store's own pending holds recorded after the clear are restored.
* feat(devin): add SWE-2.1 to the Devin provider Cognition released SWE-2.1 on 2026-11-24. The live catalog already surfaces it, but the degraded-mode seed, ladders, prices and the SWE effort fallback only knew SWE-2. - Seed swe-2-1 in the static roster and provider models, with the measured 262,144 context window and its Low..Max ladder. - Generalize the SWE-2-only effort table to per-family lanes so that, without a catalog, SWE-2.1 never sends a nonexistent swe-2-1-none or turns an ultra request down to Medium. SWE-2 keeps its mapping. - Register SWE-2.1 list rates (2 / 10 / 0.20) and Ultrafast (5 / 25 / 0.50) for devin and devin-cli; the free and discount windows stay out. - Document the family default and the degraded rounding (en, es). * fix(devin): keep SWE-2.1 Ultrafast and the family default valid without catalog metadata Review follow-up. Without a catalog, swe-2-1-lightning became swe-2-1-lightning-medium and family+fast became swe-2-1-fast, neither a Cognition uid; fast now keeps the lane and selects its -lightning row. A catalog without family metadata sent bare swe-2-1, the Low row; it now sends the Medium family default. Every named Ultrafast lane id gets the Ultrafast list price. * docs(devin): describe SWE Ultrafast selection without a catalog * fix(devin): price every SWE-2.1 lane id and keep the Medium default on partial catalogs Review r2 follow-up. Explicit standard lane ids (swe-2-1-low..max) had no price row; every SWE-2.1 id a caller can name now prices at its list rate. A metadata-free catalog without the swe-2-1-medium row still sent the bare Low row; the family default is now named regardless, so a missing Medium row fails with its own error instead of quietly running Low. * fix(devin): limit the bare-row default swap to SWE-2.1 PR CI caught tests/adapters/adapter-inner-send-budget-wiring.test.ts: a metadata-free catalog listing a bare swe-2 row was rewritten to swe-2-high, which that catalog does not list, so the preflight refused before sending. Only SWE-2.1's bare row is a measured non-default lane (Low); every other bare row a catalog lists is sent as named, as before.
…t everywhere else (lidge-jun#9131) * feat(adapters): carry video input where a wire publishes it, refuse it everywhere else A video part used to become a text marker on the translated Chat, Anthropic and Cursor wires (and an unfetchable remote URL a "[video: url]" marker on Gemini), and the request still went upstream and came back as an ordinary answer about a clip the model never saw. Grok chat models were the reported case; xAI documents text and image input only for grok-4.6/4.7. - input media guard: new "video" kind. Gemini carries inline bytes and YouTube / Files API URIs; the translated Chat builder emits the Chat video_url part (OpenRouter, Qwen DashScope, Kimi) only in user messages for a model whose modelCapabilities / modelInputModalities / inputModalities declare video. Everything else gets the existing unsupported_input_modality 400 before send. - inline video over 50 MiB decoded is refused on every wire. - input admission charges video at its own rate instead of the image formula. - Moonshot preset declares video for kimi-k3 and kimi-k3.1-pro (Kimi vision guide). - docs (en/es) and structure docs updated. * fix(video-input): refuse Chat video outside user content, cap before Chat conversion, typed refusal code Review round 1 (Terra): - the typed Chat scan now recognizes video_url, so a Chat video in an assistant, system or tool position is refused by both Chat conversions instead of dropped - both Chat conversions refuse an over-cap inline clip before they build or serialize anything (chatBodyHasOversizedInlineVideo) - a non-base64 data: URL is measured one byte per character, so it cannot slip under the 50 MiB cap with the base64 3/4 formula - builder-path video refusals throw UnsupportedInputModalityError and answer 400 unsupported_input_modality (the runTurn code; a combo hop code) - docs scope the cap to translated routes; passthrough/native Chat forward the original body * fix(video-input): let combos hop on video refusal; UTF-8 cap; typed Chat refusal code Review round 2 (Terra): - the builder video refusal is no longer marked non-replayable, so a combo reaches its unsupported_input_modality hop decision (new combo e2e test: no send to the blind member, the video-capable member receives video_url) - a plain data: payload is measured in UTF-8 bytes (Buffer.byteLength over the URL, no payload copy), so non-ASCII text cannot undercount - Chat-conversion video refusals are ChatUnsupportedInputModalityError and the Chat handler answers 400 unsupported_input_modality on both lanes - the Cursor/Kiro usage estimate no longer serializes an over-cap clip first * fix(video-input): terminal ;base64 only; return the early Cursor/Kiro refusal Review round 3 (Terra): - a data: payload is base64 only when ;base64 is the terminal header parameter (RFC 2397); ";base64;foo", "; base64 ," and similar are measured as UTF-8, the upper bound, so they cannot slip under the 50 MiB cap - the Chat routing catch returns ChatUnsupportedInputModalityError as 400 unsupported_input_modality, so the early Cursor/Kiro refusal ends the request before the protocol representability check * fix(video-input): share one inline video data-URL parser between guard and Gemini Review round 4 (Terra): the guard admitted any data: URL for Gemini while the builder parsed only the plain lowercase ;base64 form, so a valid data:video/mp4;codecs=avc1;BASE64,... failed as an "unfetchable remote video" generic error. parseInlineVideoDataUrl (header parameters, any-case terminal ;base64, media type without parameters) is now used by both; a plain data: URL is refused by the guard with the typed unsupported_input_modality refusal. * fix(video-input): Gemini inline video must be plain standard base64 Review round 5 (Terra): a percent-escaped payload (data:video/mp4;base64,QQ%3D%3D) passed the parser and reached Gemini's inline_data.data verbatim. The shared parser now requires plain standard base64 (no escapes, whitespace or URL-safe alphabet); anything else gets the typed unsupported_input_modality refusal. * fix(video-input): require consistent base64 length and padding for Gemini inline video Review round 6 (Terra): the alphabet check admitted impossible encodings such as "A", "AA=" and "AAA==". The shared parser now applies the inline-document rule: padding completes a four-character quantum and an unpadded encoding cannot leave a single sextet; anything else gets the typed refusal. * refactor(video-input): one strict media data-URL decoder for every consumer Coordinator decision after review rounds 4-6, which each found admission sizing, the guard/parser and the Gemini builder reading a video data: URL differently. - src/lib/media-data-url.ts parseMediaDataUrl accepts exactly data:<type>/<subtype>[;attr=value]...;base64,<payload> with canonical standard base64 (length % 4 == 0, at most two trailing '=', zero unused bits); the size cap is decided from the payload length before any scan; one allocation-free pass validates; decodeMediaDataUrl does the strict decode/re-encode/compare - admission (decodedBytes), the input guard, both Chat conversions and the Chat handler (chatBodyVideoRefusal), and the Gemini inline_data and translated-Chat video_url builders all use it; builders send its mime and canonical base64 - unpadded, plain, escaped, whitespace, URL-safe, non-canonical-bit and non-terminal ;base64 forms are now refused everywhere with the typed refusal - tests: table-driven decoder test with cap-1/cap/cap+1 and a seeded property test against the decode/re-encode oracle; a seeded consumer-agreement test proving guards, Chat conversion, admission and both builders match the decoder * fix(video-input): charge refused data URLs their size bound in admission Review round 8 (Terra): the strict decoder refused e.g. a valid but unpadded base64 clip without a size, so admission charged zero tokens, yet native Responses passthrough (no input guard) still forwards that body. Every refused data: URL with a payload now carries a conservative decodedBytes upper bound (floor(3n/4) for a base64 header, UTF-8 length otherwise), and admission charges it. Tests: decoder bounds per refused form; a large unpadded clip is charged and refused by context admission on a passthrough provider and refused before send on a translated route.
…/v1/videos (lidge-jun#9128) * feat(videos): OpenAI Videos wire for images.videoProvider and public /v1/videos (lidge-jun#9110) Adds a per-provider videoApi selector ("xai" default, "openai"). The openai wire submits POST {baseUrl}/videos, polls GET /videos/{id} and downloads GET /videos/{id}/content with the same row key through the provider outbound policy. Public POST /v1/videos, GET /v1/videos/{id} and /content resolve <provider>/<model> or images.videoProvider, require videoApi openai, and return HMAC-sealed, principal-bound job handles. * test(videos): drive /v1/videos through the real server with a local fake upstream * fix(videos): address review: key before paid create, secret-bound handles, allowlisted job objects Load and validate the handle key (no-follow fd, mode/owner checks, atomic hard-link publish) before the paid create; bound provider/model so every issued handle opens; refuse an unknown provider prefix instead of routing to images.videoProvider; bind handles to a digest of the exact presented admission secret; rebuild public job objects from closed-shape fields only. * fix(videos): encrypt job handles and relay status/error codes from closed lists An upstream that echoes a credential as its job id, status or error code can no longer reflect it: handles are AES-256-GCM (principal as associated data, random nonce) and status/error.code are allowlisted by value. * fix(videos): open only canonical handle encodings; tamper test edits decoded bytes * fix(videos): keep the route matcher in src/lib so src/link stays off src/server * fix(videos): address CodeRabbit: carry videoApi on same-destination saves, bind create to the turn lease, keep the listener timeout until the body is read Document the loopback admission and cover it with a test; list videoApi among carried compatibility settings in every locale. * fix(videos): whole-body deadline for the create upload; carried-setting counts The listener idle timeout bounds only silence, so a trickling upload could hold the turn and body slots. The create body read now has a 60 s whole-body deadline that cancels the reader and answers 408 before any send. Carried-setting counts say fifteen in every locale, with an English count gate. * test(videos): prove the trickle deadline releases a held body reservation; multipart trickle case * docs(video): scope the download rule to the xAI wire in translated guides The fr, ja, ko, ru, tr, zh-cn and zh-tw video-bridge guides still said a finished video is only ever downloaded from a data: or public https: URL, which now contradicts the English guide: the OpenAI Videos wire downloads from the provider's own /content route. Scope the sentence to the xAI wire and point to the English OpenAI Videos API section.
…lidge-jun#9139) * feat(audio): follow Codex GPT-Live defaults and gpt-transcribe fields External GPT-Live now defaults to gpt-live-1.1-codex, as openai/codex does since b05266d61b, and resolves the gpt-live-1 and gpt-live-1.1 aliases on call-create sessions and Frameless standalone sockets; the resolved name is the model a key scope judges and the binding records. A session the proxy writes itself gets its voice after the upstream resolves: marin for an OpenAI API key, cove for a ChatGPT account. Client sessions keep their own fields. File transcription accepts gpt-transcribe on the OpenAI API-key relay with repeated keywords[] and languages[] (the singular language is refused for that model and the list fields for every other), and returns the detected languages codes. An extensionless upload is named and typed from its audio signature, since Bun's multipart parser drops the part Content-Type. * docs(audio): scalar-only duplicate rule; test scoped create and rejoin model
…aths (lidge-jun#9141) * fix(audio): judge unnamed external live requests like the native path The native voice path refuses a model-scoped key when a request names no model. The external path judged the same requests against the default live model. Both now treat a call-create session without a model, /v1/realtime/calls without a session and a Realtime standalone socket without a model query as unnamed destinations. * fix(audio): treat a blank live session model as unnamed; cover unnamed binds and rejoins
…s, advertised WS limit) (lidge-jun#9140) * fix(responses): forward Codex stream-exclusion headers to the canonical backend Codex sends x-codex-exclude (tools, usage.attribution) and x-codex-exclude-stream-fields (delta.sequence_number, reasoning.added.encrypted_content) on every Responses request and WebSocket handshake (openai/codex 8ecb4c9d0f, ae6c0c8ac1, a4ee1058d9, 98f8a3311b). OpenCodex dropped both because they were missing from FORWARD_HEADERS. As a result, the ChatGPT backend echoed the full tool catalog in every lifecycle snapshot. Both headers are now forwarded to the canonical destination only. * fix(responses): honor the upstream advertised WebSocket message limit before sending Codex reads x-codex-websocket-max-message-bytes from the Responses WebSocket handshake and sends a request strictly larger than it over HTTP, before uploading anything (openai/codex ed7ca22bb6; codex-rs/codex-api/src/endpoint/ responses_websocket.rs:371-375 and :908-912 @5505daf388). OpenCodex's upstream dial used only its static 16 MiB ceiling. The session now records the advertised ceiling. A larger create frame, incremental recovery frame or native steering frame never leaves: the opening frame falls back to SSE once, and under native control it is refused rather than degraded. Zero is a valid advertisement; malformed or repeated values are ignored. * fix(responses): typed refusal for oversized native frames and usize-compatible limit parse Review follow-up: an oversized steering or injection frame is now a NativeSteeringError, so the channel rolls it back and accepts a corrected frame instead of treating it as an unknown delivery. The advertised limit now uses Rust usize syntax: an optional plus sign and leading zeros are accepted, and a value beyond safe integers limits nothing. The docs now describe the delta-recovery, native-control and static-ceiling paths accurately. * test(responses): drive the real injection channel through an advertised limit Review follow-up: an injection channel attached through the exchange rolls an oversized result back and accepts the corrected result on the same socket. The corrected frame's receipt is awaited through a deterministic server-side signal. * fix(responses): refuse an oversized queued injection before queuing it Review follow-up (CodeRabbit): an injection submitted while another awaits acknowledgement is prepared later in a microtask. A size refusal raised there failed the whole channel. At attach, the exchange now hands the socket's advertised limit to the control. NativeInjectionChannel checks it in assertOutboundFrame, so the oversized result is refused synchronously in inject() and the channel stays open. * fix(responses): set the native transport limit only after a successful attach Review follow-up: a refused second attach to a live channel no longer changes that channel's advertised message limit.
…idge-jun#9047) * feat(sponsors): add RunAPI Standard sponsor preset * docs: sync RunAPI preset counts and Spanish guide * feat(sponsors): fill the RunAPI listing from RunAPI's public materials RunAPI has not sent its logo pack, blurb or test key yet, so the listing uses what RunAPI publishes itself (read 2026-11-26, no login): - logo: https://runapi.co/logo.png (the only brand asset on the site; one dark tile that reads on both themes), shipped in the npm files list - blurb in all nine READMEs, from RunAPI's own inquiry email and site copy: 200+ models, Chat Completions / Responses / Anthropic Messages / Gemini formats (https://runapi.co/api/pricing supported_endpoint), smart routing with failover, pay-as-you-go - provider guide (en, es): live discovery, and runapi.host as the mirror RunAPI announced for networks that cannot reach runapi.co - preset comment records the public contract and the agreement date * docs(sponsors): describe RunAPI formats as varying by model Review follow-up: 200+ is the overall catalog (208 public), while Chat Completions covers 200, Responses 53, Anthropic Messages 37 and Gemini 25, so the README rows and the preset note now say the formats vary by model.
…ot, GLM-5.4, qwen4-max, DeepSeek, OpenRouter, Cursor) (lidge-jun#9143) * test(registry): every seeded preset defaults to a model it seeds * fix(google): default to gemini-3.6-flash, seed Gemini 4 Neon/Hydrogen/Carbon, price Argon/Carbon at list rate Google no longer offers gemini-3.5-flash or gemini-3.7-flash in AI Studio and routes their endpoints to gemini-3.6-flash / gemini-3.8-flash (ai.google.dev deprecations, 2026-11-26). The default follows the named replacement and both ids leave the picker while their metadata stays for saved selections. Gemini 4 Neon, Hydrogen and Carbon are GA on the models page. Argon and Carbon use the published $4/$20/$0.20 list rate; the introductory rate through 2026-11-30 is a time-boxed promo (DEVIN_SWE2_NOTE policy). * fix(github-copilot): default to gpt-5.3-codex and drop retired ids from the cold-start seed GitHub lists gpt-4.1, claude-sonnet-4, gemini-2.5-pro, gpt-5-mini, gpt-5.4, gpt-5.4-mini, gpt-5.5 and gpt-5.6-terra as retired, and gpt-4o / gpt-4.1-mini are not on the supported list (docs.github.com supported-models, 2026-11-26). GPT-5.3-Codex is the long-term support fallback GitHub names. Live discovery and wire defaults are unchanged. * feat(zai): add GLM-5.4 to the Z.ai and BigModel Coding Plan presets GLM-5.4 is live on every GLM Coding Plan tier (docs.z.ai/devpack/latest-model.md, docs.bigmodel.cn/cn/coding-plan/latest-model.md, 2026-11-26). docs.z.ai/guides/llm/glm-5.4.md: 1M context, 128K output, video/image/text/file input, and the GLM-5.3 low/high/max effort fold with default max. It joins the 5.x family constants as a native VLM (never through the vision sidecar) on zai, zhipu-bigmodel-coding and zhipu-bigmodel-responses; defaults stay glm-5.3 and pay-as-you-go BigModel is unchanged until the Model API ships. * feat(alibaba-token-plan): add qwen4-max to the Beijing Token Plan qwen4-max is on the Token Plan Personal Edition supported list (help.aliyun.com token-plan-personal-quick-start, 2026-11-26). Its model page documents 1,000,000 context, 131,072 output, text/image/video input and direct reasoning_effort low/high/xhigh with default high. It joins the Beijing seed only: the window, output ceiling and modality live in Beijing-only maps so the International row (whose modality map spreads the Beijing one) publishes nothing for it. A saved row holding the exact pre-Qwen4 Beijing seed is refreshed by STALE_MODEL_ROSTERS; operator-edited lists are left alone. * fix(deepseek): drop discontinued deepseek-chat/deepseek-reasoner from the seed DeepSeek discontinued both names on 2026-07-24 and its API reference model enum is now deepseek-flash | deepseek-v4-pro (api-docs.deepseek.com/api/create-chat-completion, 2026-11-26), so the seed now leads with the deepseek-flash default. deepseek-v4-flash and the vision preview stay as documented accepted names. Saved configs are not rewritten: their noVisionModels handling is unchanged, and the stale-roster target follows the registry seed as its invariant requires. * fix(openrouter): stop seeding the openai/gpt-5.6 alias OpenRouter does not list OpenAI documents bare gpt-5.6 as an alias of GPT-5.6 Sol, but OpenRouter public /api/v1/models (472 rows, 2026-11-26) lists only the gpt-5.6-sol/terra/luna slugs. The tier slugs stay seeded; saved configs are not rewritten. * feat(cursor): add gemini-4-neon to the cold-start fallback seed Cursor models page lists Gemini 4 Neon with model ID gemini-4-neon (cursor.com/docs/models/gemini-4-neon, 2026-11-26). It is a preemptive fallback row like Hydrogen and Carbon: exposed before live discovery confirms the account, with Google low..xhigh ladder (Cursor publishes no effort section, so no default is claimed) and Cursor 1M maximum context. * docs(providers): note the Moonshot K2 retirement source and the frozen Vertex default Moonshot K2: the Kimi API pricing page still states the end-of-December 2026 retirement plan on 2026-11-26; seeds keep the ids until a date is published. google-vertex keeps gemini-3-pro as default until Vertex AI lifecycle evidence exists; the Gemini API deprecation schedule covers AI Studio only. * fix(rosters): refresh saved static seeds for Gemini and GLM-5.4 without orphaning dropped ids Terra r3: the DeepSeek roster target dropped deepseek-chat/reasoner from historical saved rows (a saved default could be orphaned), static BigModel/Z.ai rows never received GLM-5.4, and BigModel rows lacked the GLM-5.4 output cap/default. STALE_MODEL_ROSTERS gains an optional retain list (ids the seed dropped that a refreshed row keeps); DeepSeek and the Gemini API row use it. zai, zhipu-bigmodel-coding and zhipu-bigmodel-responses refresh their exact previous seed on official destinations, filling window, 131072 output and max default for GLM-5.4. Both BigModel rows now declare that cap and default. * docs(google): saved Gemini lists keep the redirected Flash ids
…dge-jun#9142) * fix(audio): judge unnamed external live requests like the native path The native voice path refuses a model-scoped key when a request names no model. The external path judged the same requests against the default live model. Both now treat a call-create session without a model, /v1/realtime/calls without a session and a Realtime standalone socket without a model query as unnamed destinations. * fix(audio): treat a blank live session model as unnamed; cover unnamed binds and rejoins * feat(audio): relay public GPT-Live sessions for API-key providers POST /v1/live/sessions, WS /v1/live/sessions and WS /v1/live/sessions/{id}/attach for external audio keys on an OpenAI API-key provider. SIP transport is refused, a ChatGPT account is never substituted, and session ids are replaced by aliases bound to the creating key. * docs(audio): document GPT-Live sessions; register their tests * fix(audio): keep GPT-Live session aliases, sockets and answers on their own contract A session attach opens only a session alias and other routes refuse one; session sockets connect to the selected API-key provider's base instead of the sideband override; a session answer must carry a WebRTC transport with an SDP answer before it is bound.
…s programs (lidge-jun#9144) * feat(codex): opt the legacy opencodex provider table into Cyber access programs Codex defaults capabilities.cyber_access_programs to off for any provider id other than openai (openai/codex 708e3e2c70; codex-rs/model-provider-info/src/lib.rs:706-710, capabilities.rs:17 and core/src/cyber_access_program.rs:57,74 @5505daf388). Behind the non-loopback [model_providers.opencodex] table, Codex therefore stopped sending Cyber access-program selections. The table now writes capabilities = { cyber_access_programs = true } inline. A table written before this line is still recognized. ocxProviderTableIdentity treats exactly that capability as absent for retention and for the journal's comparison with the recorded injected table. Comparisons with the user's original value stay exact. The ocx codex credential gate compares with the writer's current block, so it trusts only the new shape until ocx start rewrites the table. * fix(codex): show the provider table's capabilities line in the restore preview Review follow-up: the shared lightweight TOML scanner did not recognize the single-line inline table, so the preview never listed it. It now reads a single-line inline table without nesting as one value. The test drives codexConfigKeyChanges with the writer's own output in both directions and checks that unrelated keys stay masked. * fix(codex): keep quoted inline-table keys visible in the restore preview Review follow-up (CodeRabbit): the inline-table value now admits quoted keys and strings, including strings that contain '#'. * docs(codex): one-time ocx start note when ocx codex stops supplying credentials after upgrade * docs(codex): name ocx sync (or ocx stop then ocx start) as the post-upgrade recovery Review follow-up (CodeRabbit): a bare ocx start beside a running proxy exits before it writes the Codex config, so it cannot rewrite the table. * docs(codex): the post-upgrade table rewrite needs the Codex integration on Review follow-up: while the durable Codex integration setting is off, startup and sync skip Codex config, so neither rewrites the table.
Adopt the stable upstream release while preserving custom client routing, authenticated entitlements, and WebSocket continuation and diagnostics. Keep upstream account egress and quota-only Combo admission alongside the fork's route ownership and send-budget behavior. Reconcile locale and test inventories, preserve release-evidence history, and keep the Responses and test files within their existing line budgets. Signed-off-by: Bernardo Donadio <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
✅ Deterministic PR hygiene checks passed. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 87d7681461
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Reconcile concurrent saved edits without moving draft target insertions or replacements when the saved target order stays the same. Cover replacement and middle insertion through the editor merge. Signed-off-by: Bernardo Donadio <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
customwith both parents in the history and synchronize the package and desktop version sources.Start review with the Responses WebSocket send boundary, account-scoped egress, and the collapsed Combo admission path. The security review covered account routing and credential destinations, provider-table ownership and restore, and release-evidence policy fingerprints. The upstream owner decision for RunAPI records the sponsor preset exception and the pending authenticated-discovery evidence.
Verification
The upstream Combo editor change includes this fixture capture.
Checklist