Repository navigation
Local API and recent files shared across machines - #3
Merged
Merged
Conversation
…p; Loro's licences by name Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RC1oqfy9kZznj94RjMojyz
…-out, quota, reset-doc Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RC1oqfy9kZznj94RjMojyz
…count Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RC1oqfy9kZznj94RjMojyz
…e live service Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RC1oqfy9kZznj94RjMojyz
…hat list, keeps the link Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RC1oqfy9kZznj94RjMojyz
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RC1oqfy9kZznj94RjMojyz
…te at the cap Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RC1oqfy9kZznj94RjMojyz
…ment Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RC1oqfy9kZznj94RjMojyz
…folder too Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RC1oqfy9kZznj94RjMojyz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What you get
127.0.0.1(random port, token in an owner-onlylocal-api.json). Apps and the launcher sign in, sign out and read status through it, even whilerunis signed out. They never talk to the server themselves./api/v1/live). It works offline and catches up when the server is back.craft-cloud-agent recents <app>shows a list on the command line.craft-cloud-app, the small crate apps and the launcher link: no async, no TLS, no Loro.connectandstatusgive up after about 2 s, and a recents watch reconnects on its own.Server
quota_exceeded, and the machines keep their recents locally.craft-cloud-server live reset-doc <user> <app>empties one log. Every machine then sends up what the log lacks. File sync isn't affected.New crates and licences
Loro (the CRDT behind recents) and its dependencies. Four crates are allowed by name:
xxhash-rust(BSL-1.0), andim,bitmapsandsized-chunks(MPL-2.0, used unmodified). Every other licence rule is unchanged.Runs for the first time in CI
live_spaceswithON CONFLICT.%LOCALAPPDATA%is refused, so the token isn't left readable by others.Testing
cargo xtask cipasses locally (fmt, licences, clippy, all tests).reset-doc, a crash mid-push, an unreadable document file and a Loro panic. An acked add is never lost.🤖 Generated with Claude Code
https://claude.ai/code/session_01RC1oqfy9kZznj94RjMojyz