feat(workspace): lay the phase 5c foundation
Phase 5c (owner review 2, R8) is built by six packages in parallel. This commit settles everything they share, so each one touches its own files: - job kinds WorkspaceRender (21), WorkspaceSend (22) and WorkspaceMove (23) with their wire names, default priorities, notices and parameter records; their handlers are registered as skeletons that throw until their package lands - WorkspaceJobOptions and a new CreateHandlers overload; the earlier ones stay and default the options - originals in the media index (an index of phase 5b reads as proxies only), their file names, and the exports/renders.json ledger of local renders, written atomically - the optional project and version of an uploaded render - the workspace settings (size limit, default media, version on render, clean-up age, project to open) and when each project was opened, which Reset and Import keep and Export leaves out - WorkspaceHost split into partial files, with stubs for usage, trash and the folder move, removal hooks for unsent renders and last originals, and a guard that holds work while the workspace moves - every new string of the phase in English and Italian, with tooltips Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
102f28b5df
commit
2e1c67f531
43 files changed
+1725
-128
No files matched your search
@@ -46,6 +46,10 @@ public sealed record CardImportReport(Guid ImportId, string Card, string State,
|
||||
/// and files the render under the sequence's exports. A completion that cannot file it for now answers 503
|
||||
/// <c>sequence_busy</c>, <c>archive_offline</c> or <c>folder_moved</c> (another index moved the sequence's folder; the
|
||||
/// server's next scan finds it) and keeps the upload, to be completed again.
|
||||
/// A render a workspace made on a client (phase 5c) names the project and version it was rendered from
|
||||
/// (<see cref="ProjectId"/>, <see cref="ProjectVersionId"/>): the server records them with the render once it checked that
|
||||
/// the project is the sequence's and the version the project's (422 <c>project_mismatch</c> otherwise). Both are optional
|
||||
/// and appended: a request of an earlier client has neither, and an earlier server ignores them.
|
||||
/// </summary>
|
||||
public sealed record RenderUploadRequest(
|
||||
Guid RenderId,
|
||||
@@ -58,4 +62,6 @@ public sealed record RenderUploadRequest(
|
||||
int Height,
|
||||
double Fps,
|
||||
double DurationSeconds,
|
||||
string? ProducedBy);
|
||||
string? ProducedBy,
|
||||
Guid? ProjectId = null,
|
||||
Guid? ProjectVersionId = null);
|
||||
Reference in new issue
Block a user