@axionorbital/tamarind 0.1.0 → 0.2.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/package.json +6 -6
- package/postinstall.mjs +3 -1
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axionorbital/tamarind",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Tamarind — verification-first coding agent for the terminal.",
|
|
5
5
|
"bin": {
|
|
6
|
-
"tamarind": "
|
|
6
|
+
"tamarind": "bin/tamarind"
|
|
7
7
|
},
|
|
8
8
|
"scripts": {
|
|
9
9
|
"postinstall": "node ./postinstall.mjs"
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"x64"
|
|
24
24
|
],
|
|
25
25
|
"optionalDependencies": {
|
|
26
|
-
"@axionorbital/tamarind-darwin-arm64": "0.
|
|
27
|
-
"@axionorbital/tamarind-linux-arm64": "0.
|
|
28
|
-
"@axionorbital/tamarind-linux-x64": "0.
|
|
29
|
-
"@axionorbital/tamarind-darwin-x64": "0.
|
|
26
|
+
"@axionorbital/tamarind-darwin-arm64": "0.2.0",
|
|
27
|
+
"@axionorbital/tamarind-linux-arm64": "0.2.0",
|
|
28
|
+
"@axionorbital/tamarind-linux-x64": "0.2.0",
|
|
29
|
+
"@axionorbital/tamarind-darwin-x64": "0.2.0"
|
|
30
30
|
},
|
|
31
31
|
"license": "UNLICENSED",
|
|
32
32
|
"private": false,
|
package/postinstall.mjs
CHANGED
|
@@ -22,8 +22,10 @@ const archMap = { x64: "x64", arm64: "arm64", arm: "arm" }
|
|
|
22
22
|
const platform = platformMap[os.platform()] ?? os.platform()
|
|
23
23
|
const arch = archMap[os.arch()] ?? os.arch()
|
|
24
24
|
const base = `${SCOPE}-${platform}-${arch}`
|
|
25
|
+
// What to copy FROM the platform package (build.ts names the binary `tamarind`).
|
|
25
26
|
const sourceBinary = platform === "windows" ? "tamarind.exe" : "tamarind"
|
|
26
|
-
|
|
27
|
+
// Target matching the resolver's bin field, so the `tamarind` command links.
|
|
28
|
+
const targetBinary = path.join(__dirname, "bin", "tamarind")
|
|
27
29
|
|
|
28
30
|
function supportsAvx2() {
|
|
29
31
|
if (arch !== "x64") return false
|