Files
luxe/crates/luxe-remote/app-tests/vendor.test.mjs
Evan Whittaker d2129a886f Luxe 0.1.3: your sessions on your phone, joinable sessions, and nested AGENTS.md
- luxe remote puts the sessions on your computer in reach of your own phone or tablet over
  Tailscale: write, steer, answer prompts, send photos, browse files, diffs and GitHub, with a
  paired device and your own Tailscale login.
- luxe join lets another program on the same machine join a running session over the RPC protocol.
- An AGENTS.md in a subfolder reaches the model the first time it works there.
- Long sessions stay fast: no stall before each model call, lighter memory, cheaper drawing.
- A session is open in one Luxe at a time, web_search shares results across its phrasings, and a
  grep glob starting with ! excludes.

The CHANGELOG has the full list.
2026-10-20 02:40:13 -05:00

18 lines
829 B
JavaScript

// The libraries installed here only lend their type declarations to the check of the vendored
// files the phone runs, so the two have to be the same versions.
import assert from "node:assert/strict";
import { readFileSync } from "node:fs";
import { test } from "node:test";
const read = (path) => JSON.parse(readFileSync(new URL(path, import.meta.url), "utf8"));
// The break this catches: `scripts/remote-vendor.sh` moving Preact on while package.json stays
// behind (or a bump here alone), so the app is checked against an API it doesn't run
test("the type packages are the vendored versions", () => {
const installed = read("package.json").devDependencies;
for (const { package: name, version } of read("../app/vendor/manifest.json")) {
assert.equal(installed[name], version, `${name} in package.json`);
}
});