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:
@@ -113,6 +113,15 @@ class Changelog(unittest.TestCase):
|
||||
self.assertFalse(vc.changelog_has("### [0.2.0]\n", "0.2.0"))
|
||||
|
||||
|
||||
class TagListing(unittest.TestCase):
|
||||
def test_reads_tag_names_from_ls_remote(self):
|
||||
listing = "3f5a\trefs/tags/v0.1.2\n6a20\trefs/tags/v0.1.1\n"
|
||||
self.assertEqual(vc.tags_in_listing(listing), ["v0.1.2", "v0.1.1"])
|
||||
|
||||
def test_ignores_what_is_not_a_tag(self):
|
||||
self.assertEqual(vc.tags_in_listing("9e30\trefs/heads/main\n\n"), [])
|
||||
|
||||
|
||||
class AgainstARepository(unittest.TestCase):
|
||||
"""The git wiring: a real repository, a base branch, and a change on top of it."""
|
||||
|
||||
@@ -168,6 +177,24 @@ class AgainstARepository(unittest.TestCase):
|
||||
self.commit("change")
|
||||
self.assertEqual(vc.problems("main"), [])
|
||||
|
||||
def test_a_release_tagged_only_on_the_public_remote_counts(self):
|
||||
# The break this catches: reading local tags only, so a development checkout keeps
|
||||
# adding to a version the public repository already released
|
||||
public = tempfile.TemporaryDirectory()
|
||||
self.addCleanup(public.cleanup)
|
||||
self.run_git("clone", "-q", "--bare", str(self.root), public.name)
|
||||
subprocess.run(["git", "tag", "v0.1.0", "main"], cwd=public.name, check=True)
|
||||
self.run_git("remote", "add", "public", public.name)
|
||||
self.write("crates/a/src/lib.rs", "pub fn new() {}\n")
|
||||
self.commit("change")
|
||||
self.assertIn("leaves the version at 0.1.0", " ".join(vc.problems("main")))
|
||||
|
||||
def test_an_unreachable_public_remote_falls_back_to_local_tags(self):
|
||||
self.run_git("remote", "add", "public", str(self.root / "missing"))
|
||||
self.write("crates/a/src/lib.rs", "pub fn new() {}\n")
|
||||
self.commit("change")
|
||||
self.assertEqual(vc.problems("main"), [])
|
||||
|
||||
|
||||
class ShippedProblem(unittest.TestCase):
|
||||
"""The bump a shipped change owes, given which versions have been released."""
|
||||
|
||||
Reference in New Issue
Block a user