refactor: rename clawdbot to moltbot with legacy compat

This commit is contained in:
Peter Steinberger
2026-01-27 12:19:58 +00:00
parent 83460df96f
commit 6d16a658e5
1839 changed files with 11250 additions and 11199 deletions

View File

@@ -54,11 +54,11 @@ function connectReq(
);
}
test("accepts clawdbot-ios as a valid gateway client id", async () => {
test("accepts moltbot-ios as a valid gateway client id", async () => {
const ws = new WebSocket(`ws://127.0.0.1:${port}`);
await new Promise<void>((resolve) => ws.once("open", resolve));
const res = await connectReq(ws, { clientId: "clawdbot-ios", platform: "ios" });
const res = await connectReq(ws, { clientId: "moltbot-ios", platform: "ios" });
// We don't care if auth fails here; we only care that schema validation accepts the client id.
// A schema rejection would close the socket before sending a response.
if (!res.ok) {
@@ -73,11 +73,11 @@ test("accepts clawdbot-ios as a valid gateway client id", async () => {
ws.close();
});
test("accepts clawdbot-android as a valid gateway client id", async () => {
test("accepts moltbot-android as a valid gateway client id", async () => {
const ws = new WebSocket(`ws://127.0.0.1:${port}`);
await new Promise<void>((resolve) => ws.once("open", resolve));
const res = await connectReq(ws, { clientId: "clawdbot-android", platform: "android" });
const res = await connectReq(ws, { clientId: "moltbot-android", platform: "android" });
// We don't care if auth fails here; we only care that schema validation accepts the client id.
// A schema rejection would close the socket before sending a response.
if (!res.ok) {