rauta-ai 0.5.0 → 0.5.102

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.
Files changed (2) hide show
  1. package/bin/rauta-ai.js +14 -4
  2. package/package.json +1 -1
package/bin/rauta-ai.js CHANGED
@@ -266,10 +266,20 @@ async function fetchArtifact(url) {
266
266
  * Look for `<artifact>.sha256` beside the binary. Returns the hex digest, or
267
267
  * null when none is published.
268
268
  *
269
- * Degrading to null rather than failing is deliberate and temporary: no
270
- * `.sha256` file is published today (scripts/build-cli.sh does not emit one),
271
- * so hard-failing here would break every install the moment this ships. Once
272
- * the build publishes checksums, absence becomes worth escalating.
269
+ * scripts/build-cli.sh now emits one beside every artifact it publishes,
270
+ * including the back-compat version directories, so on a current deploy this
271
+ * returns a digest and the caller verifies for real.
272
+ *
273
+ * Degrading to null rather than failing is still deliberate, for one release
274
+ * more. A shim published BEFORE the build emitted checksums is pinned to its
275
+ * own /cli/<version>/ directory, and hard-failing here would break those
276
+ * installs on the one path they cannot update from. Once no live shim predates
277
+ * the change, absence becomes worth escalating to a refusal.
278
+ *
279
+ * That escalation matters more than it sounds: an unverified download is how a
280
+ * 2048-byte file full of 'B' came to be installed as the binary on the
281
+ * maintainer's own machine (found 2026-08-12), where it had been silently
282
+ * failing every session-start hook with nothing anywhere reporting it.
273
283
  */
274
284
  async function publishedChecksum(url) {
275
285
  let res;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rauta-ai",
3
- "version": "0.5.0",
3
+ "version": "0.5.102",
4
4
  "description": "CLI for Rauta (rauta.ai) \u2014 GPU infrastructure, compared in public. Canonical install: `npx rauta-ai`. Interim package name while unscoped `rauta` awaits npm similarity clearance. Sign up, connect provider keys (BYOK), buy prepaid credits, provision GPUs, and track AI spend from your terminal.",
5
5
  "bin": {
6
6
  "rauta-ai": "bin/rauta-ai.js",