@axionorbital/tamarind 1.7.1 → 1.7.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/tamarind +8 -1
- package/package.json +9 -6
package/bin/tamarind
CHANGED
|
@@ -107,7 +107,14 @@ if (!binary) {
|
|
|
107
107
|
process.exit(1)
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
|
|
110
|
+
// The computer-use browser tool imports playwright-core (external, not bundled).
|
|
111
|
+
// Anchor its on-disk resolution at THIS resolver package dir — npm installed
|
|
112
|
+
// playwright-core into our node_modules (a real dep), and engine.ts loadPlaywright
|
|
113
|
+
// does createRequire(TAMARIND_PLAYWRIGHT_DIR).require("playwright-core"), walking up
|
|
114
|
+
// for node_modules. Robust to npm hoisting; leaves an existing value untouched.
|
|
115
|
+
const childEnv = { ...process.env }
|
|
116
|
+
if (!childEnv.TAMARIND_PLAYWRIGHT_DIR) childEnv.TAMARIND_PLAYWRIGHT_DIR = __dirname
|
|
117
|
+
const result = spawnSync(binary, process.argv.slice(2), { stdio: "inherit", windowsHide: false, env: childEnv })
|
|
111
118
|
if (result.error) {
|
|
112
119
|
process.stderr.write(`tamarind: failed to launch (${result.error.message})\n`)
|
|
113
120
|
process.exit(1)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axionorbital/tamarind",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
4
4
|
"description": "Tamarind — verification-first coding agent for the terminal.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"tamarind": "bin/tamarind"
|
|
@@ -23,12 +23,15 @@
|
|
|
23
23
|
"arm64",
|
|
24
24
|
"x64"
|
|
25
25
|
],
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"playwright-core": "1.59.1"
|
|
28
|
+
},
|
|
26
29
|
"optionalDependencies": {
|
|
27
|
-
"@axionorbital/tamarind-darwin-arm64": "1.7.
|
|
28
|
-
"@axionorbital/tamarind-windows-x64": "1.7.
|
|
29
|
-
"@axionorbital/tamarind-linux-arm64": "1.7.
|
|
30
|
-
"@axionorbital/tamarind-linux-x64": "1.7.
|
|
31
|
-
"@axionorbital/tamarind-darwin-x64": "1.7.
|
|
30
|
+
"@axionorbital/tamarind-darwin-arm64": "1.7.3",
|
|
31
|
+
"@axionorbital/tamarind-windows-x64": "1.7.3",
|
|
32
|
+
"@axionorbital/tamarind-linux-arm64": "1.7.3",
|
|
33
|
+
"@axionorbital/tamarind-linux-x64": "1.7.3",
|
|
34
|
+
"@axionorbital/tamarind-darwin-x64": "1.7.3"
|
|
32
35
|
},
|
|
33
36
|
"license": "UNLICENSED",
|
|
34
37
|
"private": false,
|