mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 13:40:44 +00:00
fix(memory-lancedb): declare apache-arrow peer
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user