Skip to content

New#2

Open
Ironboxplus wants to merge 1184 commits intomainfrom
new
Open

New#2
Ironboxplus wants to merge 1184 commits intomainfrom
new

Conversation

@Ironboxplus
Copy link
Copy Markdown
Owner

No description provided.

@Ironboxplus Ironboxplus force-pushed the new branch 6 times, most recently from dae9fcf to c55780c Compare January 24, 2026 06:39
@Ironboxplus Ironboxplus force-pushed the new branch 3 times, most recently from 1c05e6a to 08e2429 Compare February 10, 2026 14:46
@Ironboxplus Ironboxplus force-pushed the new branch 4 times, most recently from 82e53c6 to 982b813 Compare February 20, 2026 14:38
@Ironboxplus Ironboxplus force-pushed the new branch 2 times, most recently from f53e4cc to ab55e95 Compare March 6, 2026 06:46
@Ironboxplus Ironboxplus force-pushed the new branch 4 times, most recently from 2293a13 to 06dff20 Compare March 14, 2026 05:27
@Ironboxplus Ironboxplus force-pushed the new branch 2 times, most recently from ed8b239 to 4888395 Compare March 23, 2026 14:29
luispater and others added 9 commits March 25, 2026 09:38
…uddy-support

feat(auth): add CodeBuddy-CN browser OAuth authentication support
…gpt54-responses

Fix GitHub Copilot gpt-5.4 endpoint routing
…port

build: add freebsd support for releases
…system-top-level

fix: preserve OpenAI system messages as Claude top-level system
…-security

fix(security): harden management panel asset updater
cyk added 29 commits April 8, 2026 21:51
…ndling, and amp proxy nil check

- Kiro: remove sequence numbers from token filenames for deterministic naming
- Antigravity: use pointer for BudgetTokens to distinguish 0 from unset
- Amp: add nil check for resp.Request in error logging to prevent panics
…ol_choice translation

- Move functionCallingConfig VALIDATED mode inside Claude-specific block
  so non-Claude models use default AUTO behavior, fixing MODEL_NO_TOOLS_USED
- Add tool_choice → toolConfig.functionCallingConfig.mode mapping in
  antigravity OpenAI request translator (none→NONE, required→ANY, auto→AUTO)
- Fix conductor_overrides_test.go for shouldRetryAfterError signature change
…5 bypass

- Propagate base transport's DialContext to uTLSDialer so SOCKS5 proxy
  is not bypassed when DialTLSContext is preferred for HTTPS
- Apply uTLS fingerprinting in newProxyAwareHTTPClient for all executor
  API requests (45+ call sites), with and without proxy
- Fix AMP reverse proxy dead code: remove proxy.Transport != nil guard
  that prevented uTLS from ever being applied
…p, and apply sanitization for all models

- Add adaptive thinking type support in V2 and optimized Claude request translators
  (maps to thinkingLevel: "high" + includeThoughts: true)
- Add ThinkingLevel field to ThinkingConfig struct
- Expand schema cleanup keywords: $id, patternProperties, enumTitles, prefill
  in both cleanSchemaInPlace and gemini_schema_optimized
- Apply parametersJsonSchema→parameters rename and schema cleaning for ALL models
  (not just Claude), matching origin behavior
- Handle both camelCase and snake_case function_declarations keys
…n unreachable proxies

Previously, buildProxyTransport created a DialContext callback that called
dialer.Dial(network, addr), silently discarding the context. On an unreachable
SOCKS5 proxy each connection attempt blocked for the full OS TCP timeout (~30s).
With multiple account rotations this accumulated to 2m14s–2m27s before the
request ultimately returned a 500 error.

Fix: type-assert the SOCKS5 dialer to proxy.ContextDialer and use DialContext
directly so context cancellation and deadlines are respected. Falls back to the
old Dial wrapper for dialers that don't implement ContextDialer.
- amp/proxy_test.go: update TestReverseProxy_ErrorHandler_ContextCanceled to
  use 3-arg createReverseProxy signature (added sdkConfig param in our branch)
- kiro/aws.go: restore sequence suffix for non-email token filenames to match
  new test expectations from origin/main's IDC fingerprint redesign
- antigravity/claude: port tool_result image handling to V2 implementation
  - FunctionResponse struct: add Parts field, fix InlineData json tag mime_type->mimeType
  - processToolResultContentV2: extract base64 images from content array into
    FunctionResponse.Parts as inlineData (matching legacy impl behavior from
    origin/main commit 4e26182)
Move Codex default reasoning injection into the shared thinking layer so known models use capability-aware defaults while user-defined models continue to pass through unchanged. Preserve Antigravity function-specific tool_choice metadata and update executor tests to match byte-oriented response helpers after the rebase.

Constraint: Known Codex models must default by capability while user-defined models remain passthrough
Constraint: Antigravity function tool_choice must preserve allowedFunctionNames semantics
Rejected: Keep translator-level Codex default injection | duplicated logic and broke end-to-end/default behavior
Rejected: Ignore byte-slice test mismatches after rebase | blocked package compilation and production-readiness checks
Directive: Do not reintroduce translator-level Codex defaults without updating ApplyThinking and the thinking conversion matrix together
Confidence: medium
Scope-risk: moderate
Not-tested: Live production traffic and upstream provider behavior beyond local test/build coverage
CachedTokens were excluded from both InputTokens display and TotalTokens
calculations, causing misleading usage statistics (e.g. Input=622,
Cached=64512, Total=662 instead of Input=65134, Total=65174).

- normaliseDetail/normaliseTokenStats: add CachedTokens to InputTokens
- publishWithOutcome: include CachedTokens in TotalTokens fallback
- ParseClaudeUsage/ParseClaudeStreamUsage: include CachedTokens in TotalTokens
- parseGeminiFamilyUsageDetail: include CachedTokens in TotalTokens fallback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.