fix(memory-lancedb): declare apache-arrow peer

This commit is contained in:
Peter Steinberger
2026-05-04 00:29:34 +01:00
parent 7fb2e5506f
commit 7915110259
7 changed files with 20 additions and 1 deletions

View File

@@ -31,6 +31,14 @@ third-party plugins see.
- Do not use relative imports that escape the current extension package root.
- Keep plugin metadata accurate in `openclaw.plugin.json` and the package
`openclaw` block so discovery and setup work without executing plugin code.
- Plugin runtime dependencies belong to the owning plugin package. If a plugin
dependency has a runtime peer, declare/provide it in that plugin's
`package.json`; do not move it to root unless root/package dist owns the
import. Runtime never installs deps; install/update/doctor are repair points.
- Keep plugin dependency assertions in generic contracts
(`package-manifest.contract.test.ts`,
`extension-runtime-dependencies.contract.test.ts`) rather than plugin e2e
tests when they express package ownership.
- Treat files like `src/**`, `onboard.ts`, and other local helpers as private
unless you intentionally promote them through `api.ts` and, if needed, a
matching `src/plugin-sdk/<id>.ts` facade.

View File

@@ -9,6 +9,7 @@
"type": "module",
"dependencies": {
"@lancedb/lancedb": "^0.27.2",
"apache-arrow": "18.1.0",
"openai": "^6.35.0",
"typebox": "1.1.37"
},