feat: implement AI schedule app with multi-device sync

- Qt 6 desktop client with day/month/year views, AI scheduling, and TOML settings\n- Go sync server with SQLite change stream, WebSocket notifications, and Docker deployment\n- Client outbox/LWW sync, offline retry, and dual-client integration tests\n- Linux fcitx5 setup, validation reports, and Windows MinGW preset
This commit is contained in:
Misaki
2026-10-26 13:58:45 +08:00
commit 5be7f7f04b
151 changed files with 38485 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
docker build -f deploy/Dockerfile -t schedule-sync:verify .
docker run -d --rm --name schedule-sync-verify -p 127.0.0.1:18787:8787 -e SYNC_TOKEN_PEPPER=verify-pepper schedule-sync:verify
GET /healthz -> {"status":"ok"}
POST /v1/devices/register -> {"device_id":"docker-verify","token":"<redacted>","latest_seq":0}
POST /v1/changes/push -> {"accepted":1,"last_seq":1}
GET /v1/changes/pull?since_seq=0 -> {"changes":[{"seq":1,"device_id":"docker-verify","entity_type":"task","entity_id":"docker-task","op":"upsert","version":1,"updated_at":"2026-10-26T10:00:00.000Z","payload":{"id":"docker-task","title":"Docker 验证","status":"active","priority":1,"created_at":"2026-10-26T09:00:00.000Z","updated_at":"2026-10-26T10:00:00.000Z","version":1,"device_id":"docker-verify"},"created_at":"2026-10-26T05:44:40.625023002Z"}],"latest_seq":1,"has_more":false}