feat(onboarding)!: default tools profile to messaging

This commit is contained in:
Peter Steinberger
2026-03-02 18:12:03 +00:00
parent 9b8e642475
commit 16df7ef4a9
4 changed files with 22 additions and 0 deletions

View File

@@ -141,9 +141,11 @@ describe("onboard (non-interactive): gateway and remote auth", () => {
const cfg = await readJsonFile<{
gateway?: { auth?: { mode?: string; token?: string } };
agents?: { defaults?: { workspace?: string } };
tools?: { profile?: string };
}>(configPath);
expect(cfg?.agents?.defaults?.workspace).toBe(workspace);
expect(cfg?.tools?.profile).toBe("messaging");
expect(cfg?.gateway?.auth?.mode).toBe("token");
expect(cfg?.gateway?.auth?.token).toBe(token);
});