From 52405cfaf9056a204990286309127d0ce7c6ea15 Mon Sep 17 00:00:00 2001 From: Junebugg1214 <82672745+Junebugg1214@users.noreply.github.com> Date: Fri, 20 Mar 2026 21:55:50 -0400 Subject: [PATCH] Fix CI regressions after main sync --- extensions/line/runtime-api.ts | 2 ++ extensions/line/src/setup-surface.ts | 5 ++--- .../telegram/src/bot.create-telegram-bot.test-harness.ts | 4 ++-- .../extension-relative-outside-package-inventory.json | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/extensions/line/runtime-api.ts b/extensions/line/runtime-api.ts index 11eebb248ba..7b0e6ee9029 100644 --- a/extensions/line/runtime-api.ts +++ b/extensions/line/runtime-api.ts @@ -3,6 +3,8 @@ export * from "../../src/plugin-sdk/line.js"; export { + formatDocsLink, + resolveExactLineGroupConfigKey, setSetupChannelEnabled, splitSetupEntries, type ChannelSetupDmPolicy, diff --git a/extensions/line/src/setup-surface.ts b/extensions/line/src/setup-surface.ts index 4028d703393..6f46cc92217 100644 --- a/extensions/line/src/setup-surface.ts +++ b/extensions/line/src/setup-surface.ts @@ -1,14 +1,13 @@ import { createAllowFromSection, createTopLevelChannelDmPolicy } from "openclaw/plugin-sdk/setup"; import { DEFAULT_ACCOUNT_ID, + formatDocsLink, resolveLineAccount, setSetupChannelEnabled, splitSetupEntries, type ChannelSetupDmPolicy, type ChannelSetupWizard, -} from "openclaw/plugin-sdk/line-core"; -import { createAllowFromSection, createTopLevelChannelDmPolicy } from "openclaw/plugin-sdk/setup"; -import { formatDocsLink } from "openclaw/plugin-sdk/setup-tools"; +} from "../runtime-api.js"; import { isLineConfigured, listLineAccountIds, diff --git a/extensions/telegram/src/bot.create-telegram-bot.test-harness.ts b/extensions/telegram/src/bot.create-telegram-bot.test-harness.ts index 8f5584982f1..0422b7faaad 100644 --- a/extensions/telegram/src/bot.create-telegram-bot.test-harness.ts +++ b/extensions/telegram/src/bot.create-telegram-bot.test-harness.ts @@ -308,7 +308,7 @@ vi.doMock("openclaw/plugin-sdk/command-auth", async (importOriginal) => { const actual = await importOriginal(); return { ...actual, - listSkillCommandsForAgents: skillCommandListHoisted.listSkillCommandsForAgents, + listSkillCommandsForAgents: skillCommandsHoisted.listSkillCommandsForAgents, buildModelsProviderData, }; }); @@ -316,7 +316,7 @@ vi.doMock("openclaw/plugin-sdk/command-auth.js", async (importOriginal) => { const actual = await importOriginal(); return { ...actual, - listSkillCommandsForAgents: skillCommandListHoisted.listSkillCommandsForAgents, + listSkillCommandsForAgents: skillCommandsHoisted.listSkillCommandsForAgents, buildModelsProviderData, }; }); diff --git a/test/fixtures/extension-relative-outside-package-inventory.json b/test/fixtures/extension-relative-outside-package-inventory.json index 7768054d4cc..f66194d60e4 100644 --- a/test/fixtures/extension-relative-outside-package-inventory.json +++ b/test/fixtures/extension-relative-outside-package-inventory.json @@ -89,7 +89,7 @@ }, { "file": "extensions/line/runtime-api.ts", - "line": 13, + "line": 12, "kind": "export", "specifier": "../../src/plugin-sdk/line-core.js", "resolvedPath": "src/plugin-sdk/line-core.js",