@melaya/runner 1.0.39 → 1.0.40

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.
Files changed (2) hide show
  1. package/dist/pythonEnv.js +11 -0
  2. package/package.json +1 -1
package/dist/pythonEnv.js CHANGED
@@ -108,6 +108,17 @@ const PIP_DEPS = [
108
108
  // ships Windows wheels, MilvusLite does not — using Qdrant for OS
109
109
  // parity across runners.)
110
110
  "ollama",
111
+ // nltk — used by agentscope.rag readers' default split_by="sentence"
112
+ // chunker. Without it, every reader raises ImportError at chunk time
113
+ // (the lazy import happens INSIDE the chunking call, not at module load,
114
+ // so the error surfaces per-file as "nltk is not installed"). The
115
+ // readers also lazily `nltk.download("punkt", quiet=True)` on first use.
116
+ "nltk",
117
+ // pandas — agentscope.rag.ExcelReader uses pandas.read_excel for sheet
118
+ // iteration. Without it, .xlsx files in a Mode B folder fail with
119
+ // "pandas is not installed". Numpy is already in PIP_DEPS (line 57) so
120
+ // the wheel install is fast.
121
+ "pandas",
111
122
  ];
112
123
  export function venvPython() {
113
124
  return platform() === "win32"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@melaya/runner",
3
- "version": "1.0.39",
3
+ "version": "1.0.40",
4
4
  "description": "Run Melaya AI pipelines locally with your own LM Studio or Ollama models",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,