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>
13 lines
507 B
JavaScript
13 lines
507 B
JavaScript
/**
|
|
* Per-tool DNS hosts — written to hosts file as 127.0.0.1 when MITM DNS is enabled.
|
|
* Kept in sync with MITM routing; shared by Node (dnsConfig) and dashboard UI.
|
|
*/
|
|
const TOOL_HOSTS = {
|
|
antigravity: ["daily-cloudcode-pa.googleapis.com", "cloudcode-pa.googleapis.com"],
|
|
copilot: ["api.individual.githubcopilot.com"],
|
|
kiro: ["runtime.us-east-1.kiro.dev", "q.us-east-1.amazonaws.com", "codewhisperer.us-east-1.amazonaws.com"],
|
|
cursor: ["api2.cursor.sh"],
|
|
};
|
|
|
|
module.exports = { TOOL_HOSTS };
|