@rebon/cli 1.10.1 → 1.10.3
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/bin/rebon.js +12 -1
- package/package.json +6 -6
package/bin/rebon.js
CHANGED
|
@@ -76,7 +76,18 @@ const args = isJavaScript
|
|
|
76
76
|
const child = spawn(command, args, {
|
|
77
77
|
stdio: "inherit",
|
|
78
78
|
windowsHide: false,
|
|
79
|
-
env: {
|
|
79
|
+
env: {
|
|
80
|
+
...process.env,
|
|
81
|
+
REBON_CODE_MODE_NODE: process.execPath,
|
|
82
|
+
// Replace inherited hints: a nested launcher must describe its own install.
|
|
83
|
+
// Rust validates these paths and package manifests before using them.
|
|
84
|
+
REBON_NPM_INSTALL: JSON.stringify({
|
|
85
|
+
wrapper: path.resolve(__dirname, ".."),
|
|
86
|
+
platform: path.dirname(packageJsonPath),
|
|
87
|
+
executable: binTarget,
|
|
88
|
+
node: process.execPath,
|
|
89
|
+
}),
|
|
90
|
+
},
|
|
80
91
|
});
|
|
81
92
|
|
|
82
93
|
child.on("error", (error) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebon/cli",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.3",
|
|
4
4
|
"description": "Agent cli for coding and more.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"NOTICE"
|
|
22
22
|
],
|
|
23
23
|
"optionalDependencies": {
|
|
24
|
-
"@rebon/cli-win32-x64": "1.10.
|
|
25
|
-
"@rebon/cli-darwin-x64": "1.10.
|
|
26
|
-
"@rebon/cli-darwin-arm64": "1.10.
|
|
27
|
-
"@rebon/cli-linux-x64": "1.10.
|
|
28
|
-
"@rebon/cli-linux-arm64": "1.10.
|
|
24
|
+
"@rebon/cli-win32-x64": "1.10.3",
|
|
25
|
+
"@rebon/cli-darwin-x64": "1.10.3",
|
|
26
|
+
"@rebon/cli-darwin-arm64": "1.10.3",
|
|
27
|
+
"@rebon/cli-linux-x64": "1.10.3",
|
|
28
|
+
"@rebon/cli-linux-arm64": "1.10.3"
|
|
29
29
|
}
|
|
30
30
|
}
|