Commit History
-
Update codebase
Shinway Deployb33c152
-
fix(config): restore timeout configuration warning
jwadow9c7933c -
chore(config): remove legacy debug settings and startup warnings
jwadow1be86cc -
feat: add truncation recovery system (#34, #42, #56)
jwadowf68d763 -
test(auth): update api_host test for new q.{region}.amazonaws.com endpoint
jwadowdc3f5b6 -
feat(model-resolver): add alias system to resolve Cursor IDE conflict (#59)
jwadow365d4b3
-
feat(errors): add network error classification with user-friendly messages (#53)
jwadow80f33a2 -
fix(routes): use per-request clients for streaming to prevent CLOSE_WAIT leak (#54)
jwadow1c2e998 -
feat(openai): support Cursor flat format, inverted model names, and improve tool_results handling (#49)
jwadow936f798 -
fix(converters): handle Pydantic models in extract_text_content (#46, #50)
jwadow80b100d -
fix(models): add fallback list for DNS failure recovery (#25)
jwadowc33862b
-
feat(proxy): add HTTP/SOCKS5 proxy support for restricted networks
jwadowb1e4872 -
feat: add Enterprise Kiro IDE support with unified AWS SSO OIDC format (#43, #45, #48)
jwadow0639485 -
fix(auth): use correct AWS SSO OIDC CreateToken API format (#43)
jwadow3d86091 -
feat(auth): add support for social login SQLite credentials
jwadow3b4ddd1
-
fix(auth): persist refreshed AWS SSO OIDC tokens back to SQLite (#43)
jwadowfab6f56 -
fix: validate tool names against 64-char Kiro API limit (#41)
jwadowf918f50
-
feat(parsers): add diagnostics for truncated tool call arguments (#34)
jwadow0c1b291 -
fix: add Connection: close header for streaming requests (#38)
jwadow49656fb
-
fix(vision): move images to userInputMessage.images for proper Kiro API handling (#32)
jwadowf4ee183 -
refactor(tests): remove test for logging request body at debug level
jwadow88cfd3e -
feat: add DebugLoggerMiddleware to capture validation errors in debug logs (#31)
jwadow0ac42c5 -
feat: add dynamic model resolution with client format normalization
jwadow6ce52d9
-
test(models): add comprehensive Pydantic model validation tests
jwadow3fa4c6a -
fix(models): add image content block support (#30)
jwadowbda15b0 -
fix(auth): add graceful degradation for SQLite mode (#14)
jwadowc3b4379
-
fix(converters): convert tool content to text when tools not defined (#20)
jwadowf8e830c -
fix(converters): add placeholders for empty content after tool stripping (#20)
jwadowb3cb5d5 -
test(core): add coverage for streaming retry and tool stripping
jwadow6b13314 -
fix(converters): handle orphaned tool_results and strip tool content when no tools defined
jwadow1dca186 -
fix: convert tool_results to Kiro API format (toolUseId)
jwadow947cbff -
refactor: unify first token retry logic in core layer
jwadow186cd6d -
feat(api): Anthropic Messages API support (#15)
jwadow8978b84 -
fix(http): add shared HTTP client with connection pooling (#24)
jwadowbb09c03 -
refactor: rename OpenAI-specific modules with _openai suffix
jwadowd95b61b -
refactor: update kiro_gateway naming to kiro
jwadowf1668d0
-
fix(auth): retry SQLite reload on 400 for container token refresh (#14)
jwadowd1e9214 -
fix(auth): reload SQLite credentials before AWS SSO OIDC token refresh (#22)
kil-penguinUnverified signatureWhen kiro-cli refreshes tokens and updates the SQLite database, kiro-gateway was continuing to use stale credentials from memory, causing 400 errors from AWS SSO OIDC endpoint. This change reloads credentials from SQLite at the beginning of _refresh_token_aws_sso_oidc() to pick up fresh tokens after kiro-cli re-login. Related: #14a15cb82 -
fix(converters): skip thinking tag injection when toolResults present (#23)
kil-penguinUnverified signatureFixes #20 - OpenCode compaction returns 400 Improperly formed request error. Root cause: When the last message contains tool results, Kiro API rejects requests that have both toolResults in userInputMessageContext AND thinking tags in content. The combination causes 400 'Improperly formed request' error. Solution: Check for toolResults before injecting thinking tags. Skip injection when toolResults are present in the current message. Changes: - Reorder build_kiro_payload to build user_input_context before thinking tag injection - Add check to skip thinking tags when toolResults present - Add debug log for skipped injection Tests: - test_skips_thinking_tags_when_tool_results_present - test_injects_thinking_tags_when_no_tool_resultsee8b561
-
feat: add configurable server port/host (#19)
jwadow6b5f876 -
fix(auth): separate SSO region from API region for AWS SSO OIDC (#16)
jwadowd5ad4b1 -
fix(auth): don't send scope in AWS SSO OIDC refresh (#14)
jwadow69795d1
-
feat: implement fake reasoning with extended thinking support (#11)
jwadow9df35c0 -
feat(auth): add AWS SSO OIDC support for kiro-cli credentials (#12)
jwadowb994a02
-
refactor: improve timeout handling and logging in http_client and streaming
jwadowda0a4de -
feat: add configurable streaming read timeout (#9)
Kraters +2: DoggyMan67, factory-droid[bot]Unverified signature* feat: add configurable streaming read timeout Add STREAMING_READ_TIMEOUT config option to prevent premature disconnects during long-running streaming responses (e.g., tool calls, complex reasoning). - Add STREAMING_READ_TIMEOUT env var (default: 300s / 5 minutes) - Use httpx.Timeout with separate connect/read timeouts for streaming - Update tests to verify new timeout configuration Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com> * docs: add CONTRIBUTIONS.md with contributor Kartvya69 --------- Co-authored-by: DoggyMan67 <blakeh@gravityion.com> Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>079364d -
fix: improve streaming error handling and prevent silent failures
jwadow0918457
-
fix: add Cline support - sanitize tool schemas and handle empty descriptions
jwadow2aa4eaf -
feat(debug_logger): implement logs capture and storage
jwadow01fc8f4 -
fix: preserve tool_calls when merging assistant messages; add DEBUG_MODE with errors/all modes
jwadowd30c8bc