refactor: rename to openclaw
This commit is contained in:
1 parent
4583f88626
commit
9a7160786a
2357 files changed
+16688
-16788
No files matched your search
@@ -8,7 +8,7 @@ import { getChannelPluginCatalogEntry, listChannelPluginCatalogEntries } from ".
|
||||
describe("channel plugin catalog", () => {
|
||||
it("includes Microsoft Teams", () => {
|
||||
const entry = getChannelPluginCatalogEntry("msteams");
|
||||
expect(entry?.install.npmSpec).toBe("@moltbot/msteams");
|
||||
expect(entry?.install.npmSpec).toBe("@openclaw/msteams");
|
||||
expect(entry?.meta.aliases).toContain("teams");
|
||||
});
|
||||
|
||||
@@ -18,15 +18,15 @@ describe("channel plugin catalog", () => {
|
||||
});
|
||||
|
||||
it("includes external catalog entries", () => {
|
||||
const dir = fs.mkdtempSync(path.join(os.tmpdir(), "moltbot-catalog-"));
|
||||
const dir = fs.mkdtempSync(path.join(os.tmpdir(), "openclaw-catalog-"));
|
||||
const catalogPath = path.join(dir, "catalog.json");
|
||||
fs.writeFileSync(
|
||||
catalogPath,
|
||||
JSON.stringify({
|
||||
entries: [
|
||||
{
|
||||
name: "@moltbot/demo-channel",
|
||||
moltbot: {
|
||||
name: "@openclaw/demo-channel",
|
||||
openclaw: {
|
||||
channel: {
|
||||
id: "demo-channel",
|
||||
label: "Demo Channel",
|
||||
@@ -36,7 +36,7 @@ describe("channel plugin catalog", () => {
|
||||
order: 999,
|
||||
},
|
||||
install: {
|
||||
npmSpec: "@moltbot/demo-channel",
|
||||
npmSpec: "@openclaw/demo-channel",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user