Repository navigation
feat(kindle): the Kindle runs one Dropcap extension from this repo - #8
Merged
Merged
Conversation
dropcap.sh delivers books, runs the app's commands, reports the device and uploads its log, with optional Tailscale SSH and Wi-Fi tools, under one boot job. kindle/kd and the kindle-device skill let agents check, reach and deploy to the Kindle.
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.
The Kindle side lived in a separate, unversioned repo as two KUAL extensions (
tailscale,wifi), plus a hand-installed upstart job. Its delivery loop could die silently, and the agents had no repeatable way to deploy it or read its logs.This moves it into
kindle/:kindle/dropcapis a single KUAL extension.dropcap.shsits overlib/{mailbox,tailscale,wifi,boot}.sh.dropcap.sh superviseevery 60s and restarts the delivery loop or tailscaled if either dies.kindle/kdhandlesstatus,logs,rescan,sshanddeployfrom the laptop. Thekindle-deviceskill anddocs/internals/kindle.mddocument it.ps. The token was rotated.Fixed along the way:
kill -0 ""succeeds.flockhas no-w.timeoutcan't run a shell function, so the auth-key login never ran.Tests run the scripts under busybox sh with sqlite3, as on the device, so CI now installs both. Worker changes are comment renames only.
Verified on the real Kindle:
kd deploychecksums match.