chore: merge origin/main into main

This commit is contained in:
Peter Steinberger
2026-02-22 13:42:52 +00:00
304 changed files with 17041 additions and 5502 deletions

View File

@@ -363,6 +363,16 @@ describe("legacy config detection", () => {
expectedValue: "work",
});
});
it("accepts bindings[].comment on load", () => {
expectValidConfigValue({
config: {
bindings: [{ agentId: "main", comment: "primary route", match: { channel: "telegram" } }],
},
readValue: (config) =>
(config as { bindings?: Array<{ comment?: string }> }).bindings?.[0]?.comment,
expectedValue: "primary route",
});
});
it("rejects session.sendPolicy.rules[].match.provider on load", async () => {
await withTempHome(async (home) => {
const configPath = path.join(home, ".openclaw", "openclaw.json");