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

@@ -17,22 +17,7 @@ impl Engine {
crate::provider::ModelInfo,
crate::provider::CompletionRequest,
) {
// The `## Heading` shape is named because it is what the reply is parsed by: a model told
// only to be "structured" may answer in JSON, and every section of it is then dropped as
// preamble — which a 27B local model did, three times, for a summary that then replaced the
// transcript with nothing. The last sentence is there because a smaller model will otherwise
// file *these rules* under `Constraints & Preferences` as though they were the session's.
let system_prompt =
"You are a session compactor. Summarize the conversation segment below \
so the work can continue from the summary alone. Write about the \
session's own goal, constraints, progress (done, in progress, \
blocked), decisions, next steps, and anything that would be expensive \
to rediscover. Answer in Markdown using exactly these headings, one \
`## ` heading per section with prose under it and nothing before the \
first: `## Goal`, `## Constraints & Preferences`, `## Progress`, \
`## Key Decisions`, `## Next Steps`, `## Critical Context`, \
`## Files` (every file read or modified). These formatting rules are \
not part of the session: never describe them in the summary.";
let system_prompt = crate::compaction::SUMMARIZER_PROMPT;
// The user's steer goes *before* the transcript, where an instruction still reads as one:
// after fifty thousand characters of conversation it reads as more conversation.