refactor(open-sse): registry consolidation + DRY media/oauth/adhoc cleanup

- Single-source registry: oauth clientId/tokenUrl, usage URLs, image/embed
  configs, search defaultModel, codex fixedPort, google token url derive.
- Remove 29 unused OmniRoute providers (registry 100→71); media intact.
- De-adhoc: codex literals → registry format/oauth flags; reasoningInject,
  image/embed openrouter headers + xai bodyFields config-driven.
- Add REGISTRY_TEMPLATE.js + expand PROVIDER_DEFAULTS/schema JSDoc.
- Baselines updated; PROVIDERS 62 + alias 90 byte-for-byte, golden snapshots.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
decolua
2026-06-14 13:15:48 +07:00
parent 9105dd0e25
commit bb9e9aa91f
166 changed files with 3089 additions and 3067 deletions

View File

@@ -1,6 +1,20 @@
export default {
"id": "kiro",
"alias": "kr",
display: {
"name": "Kiro AI",
"icon": "psychology_alt",
"color": "#FF6B35",
"website": "https://kiro.dev",
"notice": {
"signupUrl": "https://kiro.dev"
},
"deprecated": true,
"deprecationNotice": "RISK_NOTICE"
},
category: "free",
uiAlias: "kr",
"transport": {
"baseUrl": "https://runtime.us-east-1.kiro.dev/generateAssistantResponse",
"baseUrls": [
@@ -20,7 +34,29 @@ export default {
"X-Amz-User-Agent": "aws-sdk-js/3.0.0 kiro-ide/1.0.0"
},
"tokenUrl": "https://prod.us-east-1.auth.desktop.kiro.dev/refreshToken",
"authUrl": "https://prod.us-east-1.auth.desktop.kiro.dev"
"authUrl": "https://prod.us-east-1.auth.desktop.kiro.dev",
usage: {
cwHost: "https://codewhisperer.us-east-1.amazonaws.com",
qHost: "https://q.us-east-1.amazonaws.com",
limitsPath: "/getUsageLimits"
}
},
"oauth": {
"ssoOidcEndpoint": "https://oidc.us-east-1.amazonaws.com",
"registerClientUrl": "https://oidc.us-east-1.amazonaws.com/client/register",
"deviceAuthUrl": "https://oidc.us-east-1.amazonaws.com/device_authorization",
"tokenUrl": "https://oidc.us-east-1.amazonaws.com/token",
"startUrl": "https://view.awsapps.com/start",
"clientName": "kiro-oauth-client",
"clientType": "public",
"scopes": ["codewhisperer:completions", "codewhisperer:analysis", "codewhisperer:conversations"],
"grantTypes": ["urn:ietf:params:oauth:grant-type:device_code", "refresh_token"],
"issuerUrl": "https://identitycenter.amazonaws.com/ssoins-722374e8c3c8e6c6",
"socialAuthEndpoint": "https://prod.us-east-1.auth.desktop.kiro.dev",
"socialLoginUrl": "https://prod.us-east-1.auth.desktop.kiro.dev/login",
"socialTokenUrl": "https://prod.us-east-1.auth.desktop.kiro.dev/oauth/token",
"socialRefreshUrl": "https://prod.us-east-1.auth.desktop.kiro.dev/refreshToken",
"authMethods": ["builder-id", "idc", "google", "github", "import"]
},
"models": [
{
@@ -79,5 +115,6 @@ export default {
"id": "claude-haiku-4.5-thinking-agentic",
"name": "Claude Haiku 4.5 (Thinking + Agentic)"
}
]
],
features: {"usage":true},
};