diff --git a/extensions/qa-lab/src/runtime-api.ts b/extensions/qa-lab/src/runtime-api.ts index de44ddf1bdf..c564b775753 100644 --- a/extensions/qa-lab/src/runtime-api.ts +++ b/extensions/qa-lab/src/runtime-api.ts @@ -20,7 +20,7 @@ export { searchQaBusMessages, sendQaBusMessage, setQaChannelRuntime, -} from "@openclaw/qa-channel/api.js"; +} from "../../qa-channel/api.js"; export type { QaBusAttachment, QaBusConversation, diff --git a/scripts/prepare-extension-package-boundary-artifacts.mjs b/scripts/prepare-extension-package-boundary-artifacts.mjs index 0e2b991a617..e4fc4bbfa2e 100644 --- a/scripts/prepare-extension-package-boundary-artifacts.mjs +++ b/scripts/prepare-extension-package-boundary-artifacts.mjs @@ -12,6 +12,7 @@ const PLUGIN_SDK_TYPE_INPUTS = [ "tsconfig.json", "src/plugin-sdk", "src/auto-reply", + "packages/memory-host-sdk/src", "src/video-generation/dashscope-compatible.ts", "src/video-generation/types.ts", "src/types", diff --git a/src/plugin-sdk/memory-core-host-engine-embeddings.ts b/src/plugin-sdk/memory-core-host-engine-embeddings.ts index eb3a89ea54c..43956f0a6b5 100644 --- a/src/plugin-sdk/memory-core-host-engine-embeddings.ts +++ b/src/plugin-sdk/memory-core-host-engine-embeddings.ts @@ -1,4 +1,4 @@ -export * from "../memory-host-sdk/engine-embeddings.js"; +export * from "../../packages/memory-host-sdk/src/engine-embeddings.js"; export { clearMemoryEmbeddingProviders, registerMemoryEmbeddingProvider, diff --git a/src/plugin-sdk/memory-core-host-engine-foundation.ts b/src/plugin-sdk/memory-core-host-engine-foundation.ts index c71fb39406c..84cd0cbdc5e 100644 --- a/src/plugin-sdk/memory-core-host-engine-foundation.ts +++ b/src/plugin-sdk/memory-core-host-engine-foundation.ts @@ -1 +1 @@ -export * from "../memory-host-sdk/engine-foundation.js"; +export * from "../../packages/memory-host-sdk/src/engine-foundation.js"; diff --git a/src/plugin-sdk/memory-core-host-engine-qmd.ts b/src/plugin-sdk/memory-core-host-engine-qmd.ts index 7356e906e68..21a0be44873 100644 --- a/src/plugin-sdk/memory-core-host-engine-qmd.ts +++ b/src/plugin-sdk/memory-core-host-engine-qmd.ts @@ -1 +1 @@ -export * from "../memory-host-sdk/engine-qmd.js"; +export * from "../../packages/memory-host-sdk/src/engine-qmd.js"; diff --git a/src/plugin-sdk/memory-core-host-engine-storage.ts b/src/plugin-sdk/memory-core-host-engine-storage.ts index 3d0836052f7..ee3f3a4e410 100644 --- a/src/plugin-sdk/memory-core-host-engine-storage.ts +++ b/src/plugin-sdk/memory-core-host-engine-storage.ts @@ -1 +1 @@ -export * from "../memory-host-sdk/engine-storage.js"; +export * from "../../packages/memory-host-sdk/src/engine-storage.js"; diff --git a/src/plugin-sdk/memory-core-host-multimodal.ts b/src/plugin-sdk/memory-core-host-multimodal.ts index 448c4ae530e..36b50cbbf4b 100644 --- a/src/plugin-sdk/memory-core-host-multimodal.ts +++ b/src/plugin-sdk/memory-core-host-multimodal.ts @@ -1 +1 @@ -export * from "../memory-host-sdk/multimodal.js"; +export * from "../../packages/memory-host-sdk/src/multimodal.js"; diff --git a/src/plugin-sdk/memory-core-host-query.ts b/src/plugin-sdk/memory-core-host-query.ts index 48fd920ea32..2a2ef6bbed4 100644 --- a/src/plugin-sdk/memory-core-host-query.ts +++ b/src/plugin-sdk/memory-core-host-query.ts @@ -1 +1 @@ -export * from "../memory-host-sdk/query.js"; +export * from "../../packages/memory-host-sdk/src/query.js"; diff --git a/src/plugin-sdk/memory-core-host-runtime-cli.ts b/src/plugin-sdk/memory-core-host-runtime-cli.ts index d0267ce2676..69ea0ceaad6 100644 --- a/src/plugin-sdk/memory-core-host-runtime-cli.ts +++ b/src/plugin-sdk/memory-core-host-runtime-cli.ts @@ -1 +1 @@ -export * from "../memory-host-sdk/runtime-cli.js"; +export * from "../../packages/memory-host-sdk/src/runtime-cli.js"; diff --git a/src/plugin-sdk/memory-core-host-runtime-core.ts b/src/plugin-sdk/memory-core-host-runtime-core.ts index 908e5827241..9b1eabe3392 100644 --- a/src/plugin-sdk/memory-core-host-runtime-core.ts +++ b/src/plugin-sdk/memory-core-host-runtime-core.ts @@ -1,4 +1,4 @@ -export * from "../memory-host-sdk/runtime-core.js"; +export * from "../../packages/memory-host-sdk/src/runtime-core.js"; export type { MemoryCorpusGetResult, MemoryCorpusSearchResult, diff --git a/src/plugin-sdk/memory-core-host-runtime-files.ts b/src/plugin-sdk/memory-core-host-runtime-files.ts index 78929e9cb5d..f4daa70a22d 100644 --- a/src/plugin-sdk/memory-core-host-runtime-files.ts +++ b/src/plugin-sdk/memory-core-host-runtime-files.ts @@ -1 +1 @@ -export * from "../memory-host-sdk/runtime-files.js"; +export * from "../../packages/memory-host-sdk/src/runtime-files.js"; diff --git a/src/plugin-sdk/memory-core-host-secret.ts b/src/plugin-sdk/memory-core-host-secret.ts index 8d5257e823f..f293730b357 100644 --- a/src/plugin-sdk/memory-core-host-secret.ts +++ b/src/plugin-sdk/memory-core-host-secret.ts @@ -1 +1 @@ -export * from "../memory-host-sdk/secret.js"; +export * from "../../packages/memory-host-sdk/src/secret.js"; diff --git a/src/plugin-sdk/memory-core-host-status.ts b/src/plugin-sdk/memory-core-host-status.ts index a7196314403..474420fa67d 100644 --- a/src/plugin-sdk/memory-core-host-status.ts +++ b/src/plugin-sdk/memory-core-host-status.ts @@ -1,2 +1,2 @@ -export * from "../memory-host-sdk/status.js"; +export * from "../../packages/memory-host-sdk/src/status.js"; export * from "../memory-host-sdk/dreaming.js"; diff --git a/tsconfig.oxlint.extensions.json b/tsconfig.oxlint.extensions.json index 61db61cdde0..516ff9e6592 100644 --- a/tsconfig.oxlint.extensions.json +++ b/tsconfig.oxlint.extensions.json @@ -1,5 +1,5 @@ { "extends": "./tsconfig.json", - "include": ["src/**/*", "ui/src/**/*", "packages/**/*.d.ts", "extensions/**/*"], + "include": ["src/**/*", "ui/src/**/*", "packages/**/*.ts", "extensions/**/*"], "exclude": ["node_modules", "dist", "dist-runtime"] }