refactor: move inbound config

This commit is contained in:
Peter Steinberger
2025-12-24 00:22:52 +00:00
parent 5e07400cd1
commit 93af424ce5
34 changed files with 283 additions and 243 deletions

View File

@@ -187,10 +187,10 @@ vi.mock("../config/config.js", () => {
model: "claude-opus-4-5",
workspace: path.join(os.tmpdir(), "clawd-gateway-test"),
},
inbound: {
routing: {
allowFrom: testAllowFrom,
session: { mainKey: "main", store: testSessionStorePath },
},
session: { mainKey: "main", store: testSessionStorePath },
gateway: (() => {
const gateway: Record<string, unknown> = {};
if (testGatewayBind) gateway.bind = testGatewayBind;