Commit Graph

745 Commits

Author SHA1 Message Date
Luis Pater
6e7a1b294a fix(api): decode gzip request bodies and honor Content-Encoding on Claude routes
- Add gzip/x-gzip support to the shared request body decoder with the configured decoded-size cap, and drop Content-Encoding after a successful decode so nothing downstream decodes or forwards it again.
- Switch ClaudeMessages and ClaudeCountTokens to handlers.ReadRequestBody, and mirror the change in the plugin auth pre-decode path (gzip support, plus /v1/messages and /v1/messages/count_tokens in handlerDecodesBody) and the request-log capture decoder.

Closes: #7711
2026-11-20 10:49:38 +08:00
Luis Pater
5f7c055366 fix(codex): synthesize baseline model from visible API-supported template and deflake wstunnel auth test
- Select the highest-priority visible API-supported model with a priority service tier when synthesizing the `gpt-5.5` baseline entry in `fetch_codex_models`, decoupling `minimal_client_version` and regenerating `codex_client_models.json`.
- Normalize non-template fallback `minimal_client_version` and `input_modalities` in the Codex client catalog builder and check for the `priority` service tier explicitly in `TestModelsWithClientVersionReturnsCodexCatalog`.
- Wait for pre-connected test servers to become visible via `waitServersVisible` before asserting the `server_list` snapshot in `TestHubAuth_MethodAndCredentials`.

Closes: #7697
2026-11-20 00:27:57 +08:00
Luis Pater
bd2e0a98a6 feat(plugin): add explicit Kind field to ResponseInterceptRequest
- Add Kind as the leading field on pluginapi.ResponseInterceptRequest with model_list, execution, and count_tokens constants, and document fallback and open-map metadata rules.
- Populate Kind across all five response interceptor construction sites (auth-manager execute/count, plugin-executor execute/count, and WriteModelListResponse) and verify leading-byte RPC serialization and /v1/models/{id} detail routing.

Closes: #7655
2026-11-19 00:26:16 +08:00
Luis Pater
d0ee9ca7e1 feat(claude): make OAuth org:create_api_key scope configurable
- Add oauth.providers.claude.oauth-include-create-api-key (defaulting to true) and keep it scoped to OAuth across v8 config validation, layout migration, comment-preserving YAML saves, and management API updates.
- Wire the resolved authorization scope through ClaudeAuth into GenerateAuthURL for both CLI and management login paths while keeping token refresh scopes unchanged.
- Add regression tests covering default and disabled OAuth scopes, v8 config round-trips, and management OAuth authorization URL generation.

Closes: #7651
2026-11-18 21:36:42 +08:00
Luis Pater
61a4c5d02c fix(config): emit v8 migration warnings only when persisted
- Add silent layout normalization and archived-comment filtering helpers so read-only v8 projections do not log unrecognized-section warnings.
- Defer v8 migration warnings in ConfigV8, WriteConfig, and SaveConfigPreserveComments until the migrated YAML is written to disk and matches actually archived sections.
- Add regression tests covering repeated v8 GET requests, failed writes, I/O errors, whole-document PUT variants, and whitespace/quoting edge cases.

Closes: #7650
2026-11-18 21:01:08 +08:00
sususu98
687caf786b feat(plugin): add optional executor usage attribution 2026-11-17 17:56:16 +08:00
hkfires
1c0ec3cec1 fix(logging): separate local errors from upstream responses
Store bounded local read, dial, and stream errors as diagnostics
instead of rendering them inside API RESPONSE sections, and render
them in the downstream RESPONSE section after status selection.
Prevent handler-synthesized payloads from appending to executor
capture or fabricating upstream responses for failed attempts.
2026-11-17 15:13:51 +08:00
Luis Pater
508f8708d0 chore: replace standard JSON package with moego JSON throughout the project 2026-11-16 09:58:12 +08:00
Luis Pater
95ebe39c1d fix(management): preserve plugin credential identities in v8 upload and delete
- Reconcile v8 credential uploads through SynthesizeAuthFile without redundant local store rewrites, preserving plugin-assigned IDs, FileName values, multi-record expansions, and symlinked destinations while retiring stale records from overwritten files.
- Pass synthesis fallback AuthDir out-of-band during plugin parsing so omitted IDs resolve relative to AuthDir without mutating AuthParseRequest.Host or overriding explicit path-based IDs.
- Remove all in-memory auth records backed by a deleted file in v8 credential deletion and snapshot handler config under lock for race-free synthesis.

Closes: #7557
2026-11-15 15:47:48 +08:00
Luis Pater
905e70c48b feat(executor): add Go RE2 sensitive-patterns-replace support for Antigravity, Devin, and Claude
- Add sensitive-patterns-replace configuration rules with load-time RE2 validation, comment-preserving YAML persistence, config diffing, and bounded matcher caching across Antigravity, Devin, and Claude cloak paths.
- Apply ordered non-cascading regex replacements against original text boundaries while preserving Devin original-line drop ownership and existing sensitive-words-replace semantics.

Closes: #7540
2026-11-14 16:33:48 +08:00
Luis Pater
3b480776f8 fix(management): honor target account proxy during SIWC bind
- Resolve and validate the target Codex credential proxy_url in StartSIWCBind and construct the OAuth client via codex.NewCodexAuthWithProxyURL so account proxy takes precedence over global proxy without falling back on failure.
- Update siwcOAuthFactory to pass the resolved account proxy URL and add regression tests covering account proxy precedence, global proxy inheritance, direct bypass, unreachable proxy failure, and credential field preservation.

Closes: #7531
2026-11-14 13:41:52 +08:00
Luis Pater
5a351d9570 feat(antigravity): deactivate credentials on TOS_VIOLATION and add optional pool-wide protective pause
- Detect the 403 PERMISSION_DENIED ErrorInfo reason=TOS_VIOLATION signature and mark the credential StatusDisabled + Disabled so it is excluded from rotation and persisted across restarts, while OAuth refresh stays intact; carry appeal_url/appeal_url_link_text through Error.Metadata to auth.Metadata and the management API.
- Add an optional pool-wide protective pause (antigravity.tos-pause-window, default 6h) armed only by TOS results, never by transient 429s, covering all Antigravity request paths including SSE mid-stream error frames and CountTokens.
- Distinguish terminal TOS results from stale/superseded results using a new Result.RefreshToken account hint so a same-account OAuth refresh applies the suspension while a genuine credential replacement discards it safely.

Closes: #7515
2026-11-14 04:49:56 +08:00
Luis Pater
7904efd799 feat(management): expose registered plugin runtime priority on v8 plugin listing
- Add Priority *int to pluginListEntry, populated from the host RegisteredPlugins snapshot so clients can verify effective ordering, including zero and negative values.
- Gate exposure to the maintained v8 route while leaving the deprecated v0 response shape unchanged, and add RegisterPluginWithPriorityForTest to cover non-default priorities in tests.

Closes: #7522
2026-11-14 03:36:51 +08:00
Luis Pater
51b98e746a perf(management): cache verified management secret hashes for one hour
- Cache verified management secret HMAC-SHA256 digests bound to the active bcrypt hash for a one-hour TTL while coalescing concurrent cold-cache verifications.
- Invalidate cached verification entries on management secret changes in SetConfig and ConfigV8 while preserving failure counting, IP ban checks, and non-caching of invalid keys.
- Add deterministic unit tests, a ConfigV8 HTTP integration test, and a benchmark covering TTL expiration, rotation, concurrency coalescing, and ban preservation.

Closes: #7519
Co-authored-by: Dylan <1990016@gmail.com>
Co-authored-by: lzt404 <2596933790@qq.com>
2026-11-14 01:17:59 +08:00
Luis Pater
5b63e29acf fix(pluginhost): keep OAuth plugin models credential-bound and catalog-safe
- Default credential-bound plugin executors to OAuth model scope and skip static ModelRegistry clients unless ExecutorModelScopeStatic is explicitly set.
- Keep StaticModels catalog collection enabled for OAuth-scoped plugins without leaking static models into ModelRegistry or credential fallback appends.
- Decouple OAuth executor provider binding from catalog provider names and add regression coverage for exclusions, aliases, disabled state, and management catalog definitions.

Closes: #7512
Co-authored-by: Dylan <1990016@gmail.com>
Co-authored-by: lzt404 <2596933790@qq.com>
2026-11-13 23:09:47 +08:00
Luis Pater
7fd90c7aa1 feat(meta): relay Muse Code client endpoints under /muse-code
- Implement core Muse Code relay handler, origin resolution, header/query sanitization, credential selection/preparation, 401 refresh, and bounded failover in internal/client/musecode.
- Register thin /muse-code routes, safe-mode proxy guarding, and request-ID logging prefixes in internal/api and internal/logging.
- Isolate model-less credential-scoped cooldowns, preserve execution sequence ordering, and honor request-scoped error rules across sdk/cliproxy/auth.

Closes: #7508
2026-11-13 22:30:37 +08:00
Luis Pater
6acfb76b54 feat(sdk): keep caller-provided interceptor host and executor wrappers across config apply
- Add Builder.WithPluginInterceptorHost so embedders can install a custom PluginInterceptorHost that survives startup and reload; the server wraps it to keep plugin model routing, executor dispatch, lifecycle, and websocket observers delegated to the internal plugin host.
- Add Hooks.OnConfigApplied invoked after each successful config apply so embedders can reinstall executor wrappers and other caller-owned runtime state.
- Cover the delegated interceptor host with nil-safety, skip-forwarding, capability-detection, and real execute-chain regression tests.

Closes: #7499
Co-authored-by: Dylan <1990016@gmail.com>
Co-authored-by: lzt404 <2596933790@qq.com>
2026-11-13 07:53:46 +08:00
Luis Pater
b285660f84 feat(api): expose standalone in-flight request count on management API
- Add a lightweight per-request in-flight tracker on the auth manager that covers selection, upstream calls, retry waits, and the full stream lifetime; it stays disabled in Home mode where the execution registry is authoritative.
- Register GET /v8/management/observability/requests/in-flight returning counts only (in_flight, oldest_started_at, by_provider) with no request bodies or credential identifiers.

Closes: #7476
Co-authored-by: Dylan <1990016@gmail.com>
Co-authored-by: lzt404 <2596933790@qq.com>
2026-11-13 03:06:02 +08:00
Luis Pater
73b86c7fb9 feat(api): add opt-in server.shutdown-timeout for graceful request draining
- Add server.shutdown-timeout config (default 0 = immediate close, preserving #6094 behavior); positive values drain in-flight HTTP requests via http.Server.Shutdown bounded by the configured seconds, then force-close the rest.
- Bound the drain by the configured timeout even when the caller's context is more generous, while a tighter parent deadline still wins; hijacked WebSocket connections remain managed by their own handlers.
- Cover drain completion, budget-expiry fallback, tighter parent ctx, zero default, and v8/legacy config parsing in tests.

Closes: #7475
Co-authored-by: Dylan <1990016@gmail.com>
Co-authored-by: lzt404 <2596933790@qq.com>
2026-11-13 02:18:18 +08:00
Luis Pater
8e8e823102 test(api): verify WebSocket reauthorization with request logging enabled
- Run the reauthorization regression test with request logging both enabled and disabled.
- Drain WebSocket handlers and verify logging leaves no temporary files and records the revoked credential.
2026-11-12 23:58:23 +08:00
Luis Pater
05fd8197f1 feat(tunnel): add server type metadata to WebSocket discovery
- Require and validate a free-form type for server peers, accepting it from the query string or `X-Tunnel-Type` header.
- Include server types in server lists and online/offline events.
- Update tunnel documentation and integration coverage.
2026-11-12 10:18:22 +08:00
Luis Pater
4787c7a3c4 feat(tunnel): add multi-tenant WebSocket data exchange tunnel (/v1/tunnel)
- Introduce internal/wstunnel implementing a multi-tenant, many-to-many
  opaque WebSocket data exchange hub over GET /v1/tunnel.
- Enforce strict access.api-keys authentication across all five standard
  credential sources, rejecting unconfigured keys with 401, isolating
  tenants per API key, and revoking removed keys on hot reload with
  WebSocket close code 1008.
- Enforce per-tenant cross-role device UUID uniqueness (409 Conflict on
  duplicates, generation-bound handshake reservations) while allowing
  duplicate human-readable device names.
- Multiplex discovery and data exchange over a single WebSocket per
  device: UTF-8 JSON TextMessage control frames (*ojson.Doc single-exit
  serialization for server_list, server_online, server_offline,
  list_servers, and error) and BinaryMessage frames carrying a 4-byte
  header, source/destination UUIDs, and up to 64 MiB opaque payloads
  with anti-spoofing and cross-role routing checks.
- Guard upgraded transports against post-upgrade socket deadlines
  (including wrapped non-ALPN TLS connections and RFC 6455 protocol
  error paths), enforce per-peer and per-tenant outbound byte budgets
  retained across in-flight writes, and bound non-blocking close
  reclamation.
- Mount /v1/tunnel on internal/api.Server (405 Allow: GET for non-GET
  methods while preserving CORS OPTIONS) and add English and Chinese
  integration guides under docs/websocket-tunnel.md and
  docs/websocket-tunnel_CN.md.
2026-11-12 00:03:24 +08:00
Luis Pater
9a7e1e6b41 feat(executor): add sensitive-words-replace and harden Antigravity obfuscation
- Add sensitive-words-replace map support across Antigravity, Claude cloak, and Devin configurations, runtime cloning, comment-preserving YAML persistence, v8 management endpoints, and config diffing.
- Apply single-pass longest-match-first literal replacements alongside sensitive-word obfuscation across Antigravity, Claude, and Devin executors without cascading re-scans.
- Switch Antigravity system-instruction sensitive-word obfuscation from U+200B to per-subword U+034F (CGJ) while preserving non-matching instructions, tool definitions, and conversation messages.

Closes: #7428
Co-authored-by: Dylan <1990016@gmail.com>
Co-authored-by: lzt404 <2596933790@qq.com>
2026-11-11 08:58:13 +08:00
Luis Pater
ece3f52a41 fix(logging): preserve bounded upstream responses in error logs
- Capture bounded per-attempt upstream status, masked headers, response chunks, and transport or stream errors when request-log is false.
- Bind synchronized deferred capture to the HTTP request context and preserve partial HTTP bodies and WebSocket dial or reconnect failures.
- Mask Cookie headers alongside Set-Cookie so forced error logs do not expose session credentials.

Closes: #7420
Co-authored-by: Dylan <1990016@gmail.com>
Co-authored-by: lzt404 <2596933790@qq.com>
2026-11-11 03:31:39 +08:00
Luis Pater
4b3f2c7ec7 fix(logging): skip request error dumps for unrouted 404 responses
- Exclude unrouted 404 responses without upstream activity or API error evidence from per-request and forced error log dumps so high-frequency probes cannot evict diagnostic dumps from the error-logs-max-files ring.
- Avoid initializing or retaining streaming log writers and temporary part files when Gin matches no route for a 404 response while preserving routed 404 and panic error dumps.

Closes: #7363
Co-authored-by: Dylan <1990016@gmail.com>
2026-11-10 00:21:22 +08:00
Luis Pater
f69db99d5e feat(plugin-store): support opt-in release cache refresh on store listing
- Accept refresh=true or refresh=1 on the plugin store listing endpoint to bypass the 1-hour latest-release cache TTL for installed plugins.
- Track last check timestamps on release cache entries with a 10-second per-key refresh floor while preserving GitHub rate-limit cooldowns and in-flight coalescing.
- Add unit tests and update v8 management API documentation for the refresh query parameter.

Closes: #7333
2026-11-08 04:42:54 +08:00
Dylan
ea0b471291 fix(claude): align OAuth authorization state and scopes
Use a Claude-specific 256-bit base64url state for CLI and management logins. Include the native Console scope only during authorization while preserving existing token refresh scopes. Cover callback state preservation and case-sensitive session checks. Refs #7316.
2026-11-07 12:05:08 +08:00
Luis Pater
482efbf5a7 feat(auth): enhance OAuth provider handling with explicit hints and metadata preservation 2026-11-07 04:38:59 +08:00
JUNZE
0559fa3cfd feat(management): expose oauth_provider in credential list
Report the OAuth login entry a credential was signed in through, resolved
from Attributes then Metadata via oauth_provider and portal and normalized
the way sign-in and re-login already resolve it. A console can then group
credentials of a multi-entry plugin by entry instead of by provider.

The field is v8-only, so the deprecated /v0/management/auth-files response
keeps its frozen shape, and it is omitted when a credential carries no
entry, leaving built-in providers, single-entry plugins and files written
before #7126 unchanged. type and provider stay as they are because routing
and quota lookup key on them.

Fixes #7307
2026-11-07 01:54:58 +08:00
sususu98
6897eebd50 Merge pull request #7242 from sususu98/fix/cyber-block-request-fault-and-error-log
fix(clienterror,logging): classify mid-stream cyber blocks as 400 and persist error logs
2026-11-05 09:53:35 +08:00
sususu98
be69162478 fix(executor,logging): preserve Antigravity usage evidence, sparse Claude refusal identity, and Home stream error logs 2026-11-05 09:51:14 +08:00
赵铕杭
7a7d37ecb5 feat(codex): add support for gpt-image-2.6 models 2026-11-05 08:59:25 +08:00
sususu98
69a032dea3 perf,fix(logging,websocket): avoid 200 OK body buffering and synchronize ws disconnect error logging 2026-11-04 18:48:02 +08:00
sususu98
0a94b2aefb fix(logging,executor): preserve Claude Fast classified error status and cap deferred body buffering 2026-11-04 18:26:51 +08:00
sususu98
c3938b72bd fix(logging,clienterror): classify mid-stream cyber blocks as 400 and persist error logs
- Unify Gemini filter blocks and Claude policy/cyber stop_details refusals under internal/clienterror as HTTP 400 request faults so single-prompt triggers do not cool down credentials.
- Detect Gemini mid-stream filter blocks across Antigravity, Gemini, and Gemini Vertex executors and Claude cyber policy refusals in Claude streaming diagnostics.
- Record LoggingAPIResponseError across streaming/WebSocket terminal error paths even when request-log is disabled.
- Override streaming response log status with actionable API_RESPONSE_ERROR status and prefix error-*.log files in both request-log modes.
2026-11-04 18:14:30 +08:00
Luis Pater
d38997717d fix(management): honor targeted OAuth re-login across all built-in providers
- Bind oauthRecoveryTarget, return target_auth_id, validate account/organization/domain identity, update the target credential in place, and report post-login verification outcomes across Antigravity, Kimi, Kimi-AI, Claude, xAI, Meta, and Devin OAuth sessions.
- Support auth_index-only target lookup, preserve target filenames during targeted saves without triggering legacy filename migration, and extend AuthGrantFingerprint with api_key and session_token fallbacks.
- Add regression tests covering targeted re-login, identity/organization/domain mismatch rejection, xAI partial identity preservation, and post-login inference verification across built-in providers.

Closes: #7204
2026-11-03 10:15:13 +08:00
Luis Pater
6e6afab99a refactor: migrate gjson, sjson, and base64 to MoeForge/moego
- Replace tidwall/gjson and tidwall/sjson with github.com/MoeForge/moego/ojson
  and encoding/base64 with github.com/MoeForge/moego/base64 across the main
  module and examples
- Introduce cross-method *ojson.Doc request rewriting pipelines across
  thinking, signature, client/codex, runtime/executor/helps, pluginhost, and
  all provider executors with FinalizePayloadDoc as the final semantic barrier
- Convert all consecutive JSON mutations (>= 2 Set/SetRaw/Delete operations)
  to batch edits on ojson.Doc
- Upgrade read-only byte paths to ojson.GetBytesNoCopy,
  ojson.GetManyBytesNoCopy, and util.ParseGJSONBytesNoCopy with explicit
  strings.Clone ownership protection across streaming and persistent state
- Use base64.StdEncoding.ValidateString for zero-allocation signature checks
  and base64.EncodeDataURL for single-allocation data URL construction
2026-11-03 03:05:04 +08:00
sususu98
f31d60aadb Merge pull request #7166 from sususu98/fix/request-logging-finalize-on-panic-7161
fix(api/middleware): finalize request logging on handler panic
2026-11-02 17:53:08 +08:00
sususu98
ef04e83ae9 Merge pull request #7165 from sususu98/fix/credential-dedup-connection-pool-7163
fix(config): include connection-pool settings in credential deduplication keys
2026-11-02 17:53:01 +08:00
Luis Pater
53ff2f9e74 feat(pluginhost): expose per-entry name and logo for multi-entry OAuth plugins
- Add AuthProviderEntry and AuthProviderEntries in sdk/pluginapi, forward entries over auth.identifier RPC, and send multi_auth_providers in lifecycle requests.
- Normalize per-entry OAuth display metadata with plugin metadata fallbacks in RegisteredPluginInfo while preserving legacy fields when entries are omitted.
- Expose HTML-sanitized oauth_provider_entries in management plugin list responses alongside oauth_provider and oauth_providers.

Closes: #7170
2026-11-01 22:46:17 +08:00
Luis Pater
ce39bc620f feat(pluginstore): support plugin locales normalization and management passthrough
Closes: #7110
2026-11-01 22:16:29 +08:00
sususu
a5795047bf fix(api/middleware): finalize request logging on handler panic
Defer wrapper.Finalize(c) in RequestLoggingMiddleware, stamp a 500 status when
a handler panics before writing a response, and mark the wrapper finalized so
outer recovery middleware does not reopen a second streaming log writer. Also
pass the chunk channel and stream writer by value to processStreamingChunks to
avoid racing with Finalize clearing wrapper fields.

Fixes #7161
2026-11-01 22:06:36 +08:00
sususu
8643ea56d5 fix(config): include connection-pool settings in credential deduplication keys
Include normalized per-credential connection-pool settings in Gemini/Interactions
and Vertex-compatible API key deduplication keys so entries that differ only in
connection-pool configuration are not silently dropped during sanitization.

Fixes #7163
2026-11-01 22:04:06 +08:00
Luis Pater
d65840fb5c fix(xai): append identity hash to credential filenames to prevent collisions
- Hash the original email or subject into the xAI credential filename so distinct accounts that sanitize identically no longer overwrite each other.
- Migrate pre-hash and identity-subset predecessors on re-login, keeping the richest known filename and preserved settings without claiming foreign files.

Closes: #7145
2026-11-01 15:28:05 +08:00
Luis Pater
a96e640d88 fix(auth): keep sign-in-required Codex credentials quarantined across manual refresh
- Fail forced refreshes when rejected refresh tokens remain unchanged without disk rotation and preserve rejected access token markers across no-op refreshes.
- Require a valid active access token when sign-in is required before restoring active routing status during refresh and lifecycle updates.
- Return the redacted credential entry view from the v8 management credential refresh endpoint.

Closes: #7135
2026-11-01 14:27:47 +08:00
Luis Pater
a8dbebabdf feat(pluginhost): allow plugins to register multiple OAuth login entries
- Add Capabilities.AuthProviders and MultiAuthProvider (Identifiers() []string) in sdk/pluginapi, bump sdk/pluginabi.SchemaVersion to 10, and forward AuthProviders in sdk/pluginhost
- Extend internal/pluginhost to register, expose, and route multiple OAuth login identifiers per plugin across StartLogin, PollLogin, RefreshAuth, ParseAuths, and ExchangeCallback, while preserving per-credential oauth_provider/portal attribution for shared credential providers
- Expose oauth_providers alongside primary oauth_provider in RegisteredPluginInfo and GET /v0/management/plugins, and support target-credential re-login (StartOAuthV8) across sibling portals

Closes: #7126
2026-10-31 20:20:16 +08:00
Luis Pater
514d09f746 feat(codex): guide recovery when automatic credential renewal becomes impossible
- Classify terminal Codex refresh grant failures (`refresh_token_reused`, `refresh_token_expired`, `refresh_token_invalidated`, `token_revoked`, `invalid_client`, `invalid_grant`, and HTTP 401) as non-retryable, track rejected outer and SIWC refresh tokens independently, and defer retry checks until `access_token` expiry while keeping valid access tokens available for inference.
- Expose structured renewal states, recovery stages, sanitized refresh diagnostics, targeted account-matching OAuth re-authentication (`POST /v8/management/oauth/auth-url`), and pinned inference verification (`POST /v8/management/credentials/verify`) across Management API v8 and the TUI.
- Add unit and workflow regression tests covering terminal vs. transient refresh handling, per-partition SIWC/outer isolation, incomplete stream rejection, quota cooldown preservation, and secret redaction.

Closes: #5783
2026-10-30 07:06:33 +08:00
hkfires
a6b4477b4f fix(home): restrict websocket access in home mode
Skip registering the AI Studio websocket gateway in Home
mode since it is not supported there, and force websocket
authentication in the Home runtime config.
2026-10-29 15:48:45 +08:00
Luis Pater
a3e76891b1 refactor(api): reuse response compression encoders and add tests 2026-10-28 10:31:07 +08:00
Luis Pater
f6ee1e64d8 Merge pull request #7022: reuse response compression encoders 2026-10-28 10:21:43 +08:00