initial work #1

Merged
sophie merged 4 commits from scaffold-helper into main 2026-10-14 00:00:27 +11:00
Owner
No description provided.
Swift 6 package with a thin simpleplayer-helper executable and a HelperCore
library. HelperConfig reads SERVER_URL, POLL_INTERVAL_SECONDS, FFPROBE (resolved
through PATH) and LOG_LEVEL, reporting every problem at once.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
HelperAPI wraps the three /api/helper/v1 endpoints with URLSession and typed
throws: HTTP 404/409/422 map to notFound/conflict/unprocessable, unreachable
servers, 5xx, 408 and 429 to transient, anything else to unexpected. Codable
types mirror the contract; timestamps decode with or without fractional
seconds, and a probe submission sends absent fields as explicit nulls.

Tests run the client against a URLProtocol stub with its own host per test.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Swift 6.4 on trixie builds a static-stdlib binary; the runtime is
debian:trixie-slim with ffmpeg (for ffprobe) and libcurl (for
FoundationNetworking), running as UID 10001. A test target runs swift test.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
sophie merged commit 5742ad7466 into main 2026-10-14 00:00:27 +11:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sophie/simpleplayer-helper!1
No description provided.