freecode-sh 0.1.0-alpha.41 → 0.1.0-alpha.42
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 +1 -1
- package/install.sh +7 -2
- package/package.json +2 -2
package/README.md
CHANGED
package/install.sh
CHANGED
|
@@ -599,12 +599,17 @@ rollback_activation() {
|
|
|
599
599
|
}
|
|
600
600
|
|
|
601
601
|
printf 'Verifying Free Code %s...\n' "$VERSION"
|
|
602
|
-
|
|
602
|
+
# Runtime diagnostics (such as Bun's AVX warning under Rosetta) go to stderr;
|
|
603
|
+
# only stdout carries the version, and it must match exactly.
|
|
604
|
+
VERSION_STDERR="$TEMP_DIR/version.stderr"
|
|
605
|
+
VERSION_OUTPUT=$("$BIN_DIR/freecode" --version 2>"$VERSION_STDERR") || {
|
|
606
|
+
cat "$VERSION_STDERR" >&2
|
|
603
607
|
rollback_activation
|
|
604
608
|
fail "freecode --version failed; restored the previous install"
|
|
605
609
|
}
|
|
610
|
+
cat "$VERSION_STDERR" >&2
|
|
606
611
|
printf '%s\n' "$VERSION_OUTPUT"
|
|
607
|
-
[ "$
|
|
612
|
+
[ "$VERSION_OUTPUT" = "freecode-sh $VERSION" ] || {
|
|
608
613
|
rollback_activation
|
|
609
614
|
fail "freecode --version reported the wrong release; restored the previous install"
|
|
610
615
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "freecode-sh",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.42",
|
|
4
4
|
"description": "A free coding agent for your terminal.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "freecode",
|
|
@@ -47,6 +47,6 @@
|
|
|
47
47
|
},
|
|
48
48
|
"freecodeRelease": {
|
|
49
49
|
"channel": "alpha",
|
|
50
|
-
"nativeVersion": "0.1.0-alpha.
|
|
50
|
+
"nativeVersion": "0.1.0-alpha.42"
|
|
51
51
|
}
|
|
52
52
|
}
|