fix(cli): update mDNS runtime defaults from opencode.local to kilo.local

Address review feedback from @lambertjosh: the mdns.ts fallback was
updated but the actual CLI defaults in network.ts and config.ts still
advertised opencode.local. Update both so kilo serve --mdns uses the
correct hostname.
This commit is contained in:
kiloconnect[bot]
2026-03-17 16:20:22 +00:00
parent 22175843e2
commit a6e342c737
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -19,8 +19,8 @@ const options = {
},
"mdns-domain": {
type: "string" as const,
describe: "custom domain name for mDNS service (default: opencode.local)",
default: "opencode.local",
describe: "custom domain name for mDNS service (default: kilo.local)", // kilocode_change
default: "kilo.local", // kilocode_change
},
cors: {
type: "string" as const,
+1 -1
View File
@@ -1039,7 +1039,7 @@ export namespace Config {
port: z.number().int().positive().optional().describe("Port to listen on"),
hostname: z.string().optional().describe("Hostname to listen on"),
mdns: z.boolean().optional().describe("Enable mDNS service discovery"),
mdnsDomain: z.string().optional().describe("Custom domain name for mDNS service (default: opencode.local)"),
mdnsDomain: z.string().optional().describe("Custom domain name for mDNS service (default: kilo.local)"), // kilocode_change
cors: z.array(z.string()).optional().describe("Additional domains to allow for CORS"),
})
.strict()