mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 20:00:47 +00:00
fix(mitm): update Kiro API endpoint to runtime.us-east-1.kiro.dev
Kiro IDE changed its API endpoint from q.us-east-1.amazonaws.com to runtime.us-east-1.kiro.dev. Old domains kept as fallback. - mitm/config.js: add new hosts to TARGET_HOSTS + getToolForHost() - cliTools.js: update mitmDomain to new endpoint - mitmToolHosts.js: prepend new domain (keep legacy for compat) - dataDir.js: on Windows ignore Unix-style DATA_DIR paths Co-authored-by: joutvhu <joutvhu@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
committed by
decolua
co-authored by
Cursor
parent
289214a2ea
commit
dd5c575c65
@@ -49,7 +49,7 @@ export const MITM_TOOLS = {
|
||||
color: "#FF6B00",
|
||||
description: "Kiro IDE with MITM",
|
||||
configType: "mitm",
|
||||
mitmDomain: "q.us-east-1.amazonaws.com",
|
||||
mitmDomain: "runtime.us-east-1.kiro.dev",
|
||||
defaultModels: [
|
||||
// Kiro's agent/"vibe" mode sends modelId "auto" for the main turn and "simple-task"
|
||||
// for background sub-tasks (verified via MITM request dump of generateAssistantResponse).
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
const TOOL_HOSTS = {
|
||||
antigravity: ["daily-cloudcode-pa.googleapis.com", "cloudcode-pa.googleapis.com"],
|
||||
copilot: ["api.individual.githubcopilot.com"],
|
||||
kiro: ["q.us-east-1.amazonaws.com", "codewhisperer.us-east-1.amazonaws.com"],
|
||||
kiro: ["runtime.us-east-1.kiro.dev", "q.us-east-1.amazonaws.com", "codewhisperer.us-east-1.amazonaws.com"],
|
||||
cursor: ["api2.cursor.sh"],
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user