mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-10-07 16:08:23 +08:00
fix: include tools/ in npm package files (#904)
The tools/ directory containing canvas_ui_tool.py was missing from the package.json 'files' list, so it was not shipped in the published npm tarball. Users running the released 'agent-canvas' CLI would get: KeyError: "ToolDefinition 'canvas_ui' is not registered" Failed to import module 'canvas_ui_tool': No module named 'canvas_ui_tool' because the agent-server couldn't find the Python module that dev-safe.mjs exposes via OH_EXTRA_PYTHON_PATH. Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
committed by
GitHub
co-authored by
openhands
parent
231367a62b
commit
c76d855149
+2
-1
@@ -174,7 +174,8 @@
|
||||
"bin",
|
||||
"build",
|
||||
"config",
|
||||
"scripts"
|
||||
"scripts",
|
||||
"tools"
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
|
||||
Reference in New Issue
Block a user