dejavu-cli 0.5.0

Stop showing coding agents the same command output twice.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env node
"use strict";

// postinstall: fetch the platform binary eagerly so the first real run is
// instant. Best-effort — if it fails (offline, no matching asset yet), the
// launcher self-heals on first run, so we never fail `npm install`.

const { ensureBinary } = require("./lib/download");

ensureBinary()
  .then((p) => process.stderr.write("[dejavu] ready: " + p + "\n"))
  .catch((err) => {
    process.stderr.write("[dejavu] could not download the binary now: " + err.message + "\n");
    process.stderr.write("[dejavu] it will be fetched automatically on first run.\n");
    process.exit(0);
  });