@rayu-dev/rayu-cli 1.6.23 → 2.0.0
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/README.md +6 -4
- package/dist/rayu.js +25309 -43508
- package/package.json +20 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rayu-dev/rayu-cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Rayu-CLI — a multi-provider AI coding CLI",
|
|
5
5
|
"//": "There are deliberately NO runtime `dependencies`. scripts/build.ts bundles every import into the single published file dist/rayu.js, so nothing has to be resolvable from node_modules at runtime — the only unbundled specifiers are the optional native/OTEL modules in that script's EXTERNAL list, each guarded by a try/catch. Declaring them as dependencies anyway made `npm install -g` resolve, download and compile ~80 packages (including sharp's platform prebuilds) that the CLI never loads, which is what made a global install fail differently on every machine. Add build-time packages to devDependencies. If you ever add a module that must be require()d from node_modules at runtime, it belongs in dependencies AND in the installer's expectations (rayu-web/public/install.sh extracts only dist/rayu.js).",
|
|
6
6
|
"type": "module",
|
|
@@ -18,7 +18,9 @@
|
|
|
18
18
|
"postinstall": "node scripts/postinstall.cjs",
|
|
19
19
|
"dev": "bun run src/entrypoints/cli.tsx",
|
|
20
20
|
"dev:local": "RAYU_API_URL=http://localhost:4000/api RAYU_WEB_URL=http://localhost:3000 RAYU_GATEWAY_URL=http://localhost:8080 bun run src/entrypoints/cli.tsx",
|
|
21
|
-
"build": "bun run
|
|
21
|
+
"build": "bun run build:cli",
|
|
22
|
+
"build:cli": "bun run scripts/build.ts",
|
|
23
|
+
"build:vscode": "bun run scripts/build-vscode.ts",
|
|
22
24
|
"start:local": "RAYU_API_URL=http://localhost:4000/api RAYU_WEB_URL=http://localhost:3000 RAYU_GATEWAY_URL=http://localhost:8080 node dist/rayu.js",
|
|
23
25
|
"build:binaries": "bun run scripts/build-binaries.ts",
|
|
24
26
|
"build-native": "bun run scripts/build-native.ts",
|
|
@@ -28,7 +30,11 @@
|
|
|
28
30
|
"check:installer": "sh scripts/check-installer-sync.sh",
|
|
29
31
|
"typecheck:ci": "bun run scripts/typecheck-baseline.ts",
|
|
30
32
|
"typecheck:update": "bun run scripts/typecheck-baseline.ts --update",
|
|
31
|
-
"
|
|
33
|
+
"boundary": "bun run scripts/analyze-boundary.ts",
|
|
34
|
+
"boundary:update": "bun run scripts/analyze-boundary.ts --update",
|
|
35
|
+
"codemod:features": "bun run scripts/codemod-features.ts",
|
|
36
|
+
"test": "bun test",
|
|
37
|
+
"test:vscode-ui": "bun build scripts/test-vscode-ui.ts --outfile dist/test-vscode-ui.mjs --target node --external playwright-core --external @vscode/test-electron && node dist/test-vscode-ui.mjs"
|
|
32
38
|
},
|
|
33
39
|
"engines": {
|
|
34
40
|
"node": ">=18.0.0"
|
|
@@ -56,12 +62,14 @@
|
|
|
56
62
|
"@opentelemetry/sdk-metrics": "^2.7.1",
|
|
57
63
|
"@opentelemetry/sdk-trace-base": "^2.7.1",
|
|
58
64
|
"@opentelemetry/semantic-conventions": "^1.41.1",
|
|
59
|
-
"@rayu-dev/agent-protocol": "file:../packages/agent-protocol",
|
|
60
|
-
"@rayu-dev/web-bridge-client": "file:../packages/web-bridge-client",
|
|
61
65
|
"@types/bun": "^1.3.14",
|
|
62
66
|
"@types/lodash-es": "^4.17.12",
|
|
63
67
|
"@types/node": "^20.19.0",
|
|
64
68
|
"@types/react": "^18.3.0",
|
|
69
|
+
"@types/react-dom": "18.3.7",
|
|
70
|
+
"@types/vscode": "1.85.0",
|
|
71
|
+
"@vscode/test-electron": "^3.1.0",
|
|
72
|
+
"@vscode/vsce": "3.2.1",
|
|
65
73
|
"ajv": "^8.20.0",
|
|
66
74
|
"asciichart": "^1.5.25",
|
|
67
75
|
"auto-bind": "^5.0.1",
|
|
@@ -95,14 +103,17 @@
|
|
|
95
103
|
"openai": "^6.39.1",
|
|
96
104
|
"p-map": "^7.0.4",
|
|
97
105
|
"picomatch": "^4.0.4",
|
|
106
|
+
"playwright-core": "^1.63.0",
|
|
98
107
|
"proper-lockfile": "^4.1.2",
|
|
99
108
|
"qrcode": "^1.5.4",
|
|
100
109
|
"react": "^19.2.6",
|
|
110
|
+
"react-dom": "19.2.6",
|
|
101
111
|
"react-reconciler": "^0.33.0",
|
|
102
112
|
"semver": "^7.8.1",
|
|
103
113
|
"sharp": "0.35.3",
|
|
104
114
|
"shell-quote": "^1.8.4",
|
|
105
115
|
"signal-exit": "^4.1.0",
|
|
116
|
+
"socket.io-client": "4.8.3",
|
|
106
117
|
"stack-utils": "^2.0.6",
|
|
107
118
|
"strip-ansi": "^7.2.0",
|
|
108
119
|
"supports-hyperlinks": "^4.4.0",
|
|
@@ -120,5 +131,9 @@
|
|
|
120
131
|
"xss": "^1.0.15",
|
|
121
132
|
"yaml": "^2.9.0",
|
|
122
133
|
"zod": "^4.4.3"
|
|
134
|
+
},
|
|
135
|
+
"//exports": "`.` is the CLI binary and the only published entry. The Rayucode VS Code extension does NOT import this package: `bun run build:vscode` compiles the extension host, the webview and the engine child DIRECTLY from rayu/src into a .vsix (scripts/build-vscode.ts), so there is no library surface to publish and no second copy of the engine to keep in step. The retired `./lib` export pointed at dist/rayu-lib.js, which no longer exists.",
|
|
136
|
+
"exports": {
|
|
137
|
+
".": "./dist/rayu.js"
|
|
123
138
|
}
|
|
124
139
|
}
|