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.
This commit is contained in:
Evan Whittaker
2026-10-20 02:40:13 -05:00
parent 99e30d6d0f
commit d2129a886f
423 changed files with 31666 additions and 1669 deletions

View File

@@ -0,0 +1,22 @@
// @ts-check
// Fields share the page's text size, which is under the 16px at which iOS zooms into a focused
// field. maximum-scale stops that zoom on iOS, where pinching still zooms anyway; Android honors it
// as written and would stop pinching too, and it doesn't zoom on focus, so only iOS gets it.
/**
* Whether this is an iPhone or iPad. An iPad asks for desktop pages, so it says it's a Mac, and
* only the touch screen gives it away.
* @param {{ userAgent: string, platform: string, maxTouchPoints: number }} device
*/
export function isAppleTouch(device) {
if (/iPhone|iPad|iPod/.test(device.userAgent)) return true;
return device.platform === "MacIntel" && device.maxTouchPoints > 1;
}
/** Keeps iOS from zooming into a focused field. @param {Document} page @param {Navigator} device */
export function holdFieldZoom(page = document, device = navigator) {
if (!isAppleTouch(device)) return;
const viewport = /** @type {HTMLMetaElement | null} */ (page.querySelector('meta[name="viewport"]'));
if (!viewport || viewport.content.includes("maximum-scale")) return;
viewport.content += ", maximum-scale=1";
}