@melaya/runner 1.0.28 → 1.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pythonEnv.js +13 -0
- package/package.json +1 -1
package/dist/pythonEnv.js
CHANGED
|
@@ -56,6 +56,19 @@ const PIP_DEPS = [
|
|
|
56
56
|
"aiohttp",
|
|
57
57
|
"requests",
|
|
58
58
|
"python-dotenv",
|
|
59
|
+
// Tool-side optional deps that get imported via agentscope.rag /
|
|
60
|
+
// shared.tools.knowledge (PDF/DOCX/PPTX/XLSX readers, Qdrant local
|
|
61
|
+
// store, image reader). Most are slim wheels so the cost is low and
|
|
62
|
+
// it lets every shared.tools module import cleanly. Without these,
|
|
63
|
+
// `import shared.runtime.registry` fails on a chained ImportError
|
|
64
|
+
// four levels deep and surfaces only as 'No module named
|
|
65
|
+
// shared.registry'.
|
|
66
|
+
"qdrant-client",
|
|
67
|
+
"pypdf",
|
|
68
|
+
"pillow",
|
|
69
|
+
"openpyxl",
|
|
70
|
+
"python-docx",
|
|
71
|
+
"python-pptx",
|
|
59
72
|
];
|
|
60
73
|
export function venvPython() {
|
|
61
74
|
return platform() === "win32"
|