@melaya/runner 1.0.63 → 1.0.64

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 +12 -0
  2. package/package.json +41 -41
package/dist/pythonEnv.js CHANGED
@@ -143,6 +143,18 @@ const PIP_DEPS = [
143
143
  // pipeline Python — see getCertBundlePath() + spawn env merging in
144
144
  // connection.ts.
145
145
  "certifi",
146
+ // ── Trading-crew WSS realtime layer (P0 of the WSS realtime plan) ──
147
+ // websockets — hard module-level import in
148
+ // shared/runtime/ws_ingress_watcher.py, which shared/tools/melaya_ws.py
149
+ // pulls in via shared.runtime.registry. Without it EVERY crew run dies
150
+ // at `from shared.runtime.registry import build_toolkit` with
151
+ // ModuleNotFoundError: websockets (crew exit 1 before the first cycle).
152
+ "websockets",
153
+ // httpx — direct module-level import in shared/runtime/crew_managed_risk.py
154
+ // and shared/runtime/private_ticket.py. It already arrives transitively
155
+ // via the anthropic/openai wheels; pinned explicitly so a future dep
156
+ // shuffle in those SDKs can't silently break the crew risk watcher.
157
+ "httpx",
146
158
  ];
147
159
  export function venvPython() {
148
160
  return platform() === "win32"
package/package.json CHANGED
@@ -1,41 +1,41 @@
1
- {
2
- "name": "@melaya/runner",
3
- "version": "1.0.63",
4
- "description": "Run Melaya AI pipelines locally with your own LM Studio or Ollama models",
5
- "license": "UNLICENSED",
6
- "private": false,
7
- "type": "module",
8
- "bin": {
9
- "melaya-runner": "dist/cli.js"
10
- },
11
- "main": "dist/index.js",
12
- "files": [
13
- "dist/**/*.js",
14
- "dist/**/*.d.ts",
15
- "dist/**/*.py",
16
- "localRagIngest.py",
17
- "nltk_data/**",
18
- "README.md"
19
- ],
20
- "scripts": {
21
- "build": "tsc && node -e \"require('fs').copyFileSync('localRagIngest.py','dist/localRagIngest.py')\"",
22
- "prepublishOnly": "npm run build"
23
- },
24
- "dependencies": {
25
- "socket.io-client": "^4.8.0",
26
- "commander": "^12.0.0",
27
- "chalk": "^5.3.0",
28
- "ora": "^8.0.0",
29
- "playwright": "^1.47.0"
30
- },
31
- "devDependencies": {
32
- "typescript": "^5.5.0",
33
- "@types/node": "^20.0.0"
34
- },
35
- "engines": {
36
- "node": ">=18"
37
- },
38
- "publishConfig": {
39
- "access": "public"
40
- }
41
- }
1
+ {
2
+ "name": "@melaya/runner",
3
+ "version": "1.0.64",
4
+ "description": "Run Melaya AI pipelines locally with your own LM Studio or Ollama models",
5
+ "license": "UNLICENSED",
6
+ "private": false,
7
+ "type": "module",
8
+ "bin": {
9
+ "melaya-runner": "dist/cli.js"
10
+ },
11
+ "main": "dist/index.js",
12
+ "files": [
13
+ "dist/**/*.js",
14
+ "dist/**/*.d.ts",
15
+ "dist/**/*.py",
16
+ "localRagIngest.py",
17
+ "nltk_data/**",
18
+ "README.md"
19
+ ],
20
+ "scripts": {
21
+ "build": "tsc && node -e \"require('fs').copyFileSync('localRagIngest.py','dist/localRagIngest.py')\"",
22
+ "prepublishOnly": "npm run build"
23
+ },
24
+ "dependencies": {
25
+ "socket.io-client": "^4.8.0",
26
+ "commander": "^12.0.0",
27
+ "chalk": "^5.3.0",
28
+ "ora": "^8.0.0",
29
+ "playwright": "^1.47.0"
30
+ },
31
+ "devDependencies": {
32
+ "typescript": "^5.5.0",
33
+ "@types/node": "^20.0.0"
34
+ },
35
+ "engines": {
36
+ "node": ">=18"
37
+ },
38
+ "publishConfig": {
39
+ "access": "public"
40
+ }
41
+ }