Roadmap 0.11, Command line
OPT.2 The option letters file follows the account (a kept file in the account settings document)
Owner 2026-11-19: sync the letters file to the account; more things are to be carried in an account settings file. The account already has one settings document: the supercadcraft-prefs document behind /api/v1/prefs (Prefs, SuperCad Studio syncs it). It gains a section kind for a person's own files, keep:<storage key>, one file per section, so files never overwrite each other and an app that syncs only its file never touches the rest. The list is KEEP_KEYS in Prefs.php and super-prefs.js (first entry cadcraft.optionkeys; another file is one line in each). Standalone CadCraft gets a small client, account-keep.js (DOM-free): on Save, Import and at start (with the tab key the shell already holds) the newer copy wins; the copy it replaces is kept once on the account (previous) and beside the file here. Settings > CadCraft > Option letters says where the file stands. SuperCad Studio carries the section in its normal sync and names it in its restart note. Tests: bin/test-cadcraft.mjs --no-readers 2517/0 (17 new), bin/test-super-prefs.php 41/0, tools/cadcraft-test/browser-optionkeys.mjs 28/0 (two browsers on one account through the real endpoint, in /lab). bin/test-super-core.mjs has the same 10 failures with and without this change. Not done: Prefs.php is live code and now accepts the new section (nothing sends it outside /lab); not tried in the Studio desktop app (device sign-in) or inside SuperCad Studio by hand; the aliases file and other files are not added to the list; no page to look at or restore the kept previous copy.
Community comments
No comments yet
Add detail as we go: how you would use it, files or steps that show the problem, what other programs do. The team reads every comment.
Sign in or create a free account to add a comment.