Conversation
… the U1 declares its lifecycle
Mauker1
reviewed
Sep 12, 2026
|
|
||
| const silentEnroll = {} as EnrollContext | ||
|
|
||
| // The U1's two boot scripts travel in the daemon package and mean nothing on a systemd host, where |
Mauker1
reviewed
Sep 12, 2026
| // internet enrolls exactly like one with a way out. The printer's system Python, Klipper and | ||
| // Moonraker are never touched, so nothing Bespok3d installs can break the printer's own software. | ||
|
|
||
| // The U1's two boot scripts travel in the daemon package and mean nothing here: this host boots with |
There was a problem hiding this comment.
Same thing here, isn't this for the generic linux client?
…ic flag, tests under both ids
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
A new
klipper-linux/adapter for a Klipper printer whose host is a Debian style Linux box with systemd: a Voron 2.4 on MainsailOS, a KIAUH install, a CB1 image. One code base registers two ids,voron-24("Voron 2.4") andklipper-generic. Companion to Bespok3d/Bespok3d-desktop#27, which fixes Bespok3d/Bespok3d-desktop#24 (Unknown adapter: voron-24), and to Bespok3d/daemon#6 (daemon 0.14.1).$HOME/bespok3d. Root only throughsudowith the account password (fed from a 600 file that the same command removes) for enrolment, deactivate, reactivate and remove. MainsailOS ships no passwordless sudo./etc/sudoers.d/bespok3d: start, stop and restart the two Bespok3d units, restart klipper and moonraker, reboot. Full command lines,sudo -neverywhere.EnvironmentFile(klipper.env,moonraker.env) and falls back to the stock home layout; stored asetc/layout.json. Nothing assumes the login ispi.lifecyclesteps for the new contract. The stage script, the tag guard and the workflows now handle a second adapter.Verification
bash klipper-linux/scripts/check.sh13/13: ruff, mypy, pytest, tsc, eslint, vitest, shellcheck, size ratchet, em-dash ban.piaccount whose sudo asks for its password), driven by the app's own enrolment, daemon client and lifecycle code: enrol, capabilities, file privacy, deactivate, reactivate with plugin recovery, a second enrolment, removal that leaves klipper and moonraker untouched. Not yet run on real hardware.