Add push_page.py to import the status page without the UI.

It uploads the page file over Companion's own API (tRPC over WebSocket, the
same calls the web UI makes) and imports it into page 19, refusing unless that
page is empty or already the status page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-08 09:30:56 -04:00
co-authored by Claude Opus 5.5
parent c0c83459e5
commit 161596cefb
2 changed files with 185 additions and 1 deletions
+9 -1
View File
@@ -117,12 +117,20 @@ Then run the installer there. It backs up the old config and restarts the watchd
ssh checklist-ingest 'zsh ~/status-panel-install/install.sh'
```
If you add or move tiles, also rebuild the page and import it into page 19 again:
If you add or move tiles, rebuild the page:
```bash
python3 make_page.py
```
Then import it into page 19, either by hand (Import/Export → Import) or with:
```bash
python3 push_page.py
```
`push_page.py` does the same import over Companion's own API. It refuses to overwrite page 19 unless that page is empty or already the status page.
Other commands:
```bash