omnius 1.0.869 → 1.0.870

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/README.md +48 -840
  2. package/dist/index.js +2 -2
  3. package/dist/tui/native/worker.js +11 -0
  4. package/docs/DISCOVERY.json +778 -109
  5. package/docs/DISCOVERY.md +19 -1
  6. package/docs/design/single-final-response-TODO.md +93 -0
  7. package/docs/reference/rest-api.md +17 -5
  8. package/docs/work-orders/evidence/final-reply-browser-20261016.json +1225 -0
  9. package/docs/work-orders/evidence/final-reply-dark-1440-accepted-final.png +0 -0
  10. package/docs/work-orders/evidence/final-reply-light-320-accepted-final.png +0 -0
  11. package/docs/work-orders/evidence/instrument-completion-live-20261016/completion-failed-partial.png +0 -0
  12. package/docs/work-orders/evidence/instrument-completion-live-20261016/completion-final-100x30.png +0 -0
  13. package/docs/work-orders/evidence/instrument-completion-live-20261016/completion-final-120x36.png +0 -0
  14. package/docs/work-orders/evidence/instrument-completion-live-20261016/completion-final-160x48.png +0 -0
  15. package/docs/work-orders/evidence/instrument-completion-live-20261016/completion-final-60x20.png +0 -0
  16. package/docs/work-orders/evidence/instrument-completion-live-20261016/completion-final-80x24.png +0 -0
  17. package/docs/work-orders/evidence/instrument-completion-live-20261016/completion-final-clean.png +0 -0
  18. package/docs/work-orders/evidence/instrument-completion-live-20261016/completion-live-clean.png +0 -0
  19. package/docs/work-orders/evidence/instrument-completion-live-20261016/completion-paused-partial.png +0 -0
  20. package/docs/work-orders/evidence/instrument-completion-live-20261016/completion-restored-clean.png +0 -0
  21. package/docs/work-orders/evidence/instrument-completion-live-20261016/completion-technical-expanded.png +0 -0
  22. package/docs/work-orders/evidence/instrument-completion-live-20261016/report.json +743 -0
  23. package/docs/work-orders/evidence/native-completion-presentation-verification-20261016.json +65 -0
  24. package/docs/work-orders/evidence/tui-response-ownership-verification-20261016.json +79 -0
  25. package/npm-shrinkwrap.json +2 -2
  26. package/package.json +2 -2
package/docs/DISCOVERY.md CHANGED
@@ -436,6 +436,7 @@ Daemon equivalents are `GET /v1/discovery/bootstrap`, `GET /v1/discovery?q=<inte
436
436
  | `guide.design-media-unification-design` | Unified media: project artifacts, shared models, deliberate presentation | Status: implementation contract, 2026-10-16. Follows the delivered dashboard reconstruction (6cfaebbd). Track verification in media-unification-TODO.md. |
437
437
  | `guide.design-media-unification-todo-uppercase` | Next phase: media storage and generation interface unification | Requested 2026-10-16. Active after dashboard reconstruction delivery 6cfaebbd. Contract: media unification design. The preceding dashboard receipt does not count as verification of this phase. |
438
438
  | `guide.design-session-presentation-todo-uppercase` | Session media, code and working-state presentation | Requested 2026-10-16 after media generation/store unification. |
439
+ | `guide.design-single-final-response-todo-uppercase` | One final response per run | Requested after the retained generation panel, completion tool arguments, and final receipt displayed the same answer three times, with the final copy losing Markdown structure. |
439
440
  | `guide.design-update-operation-cancellation` | Owned update cancellation and restart | The native update dialog stays present while an operation is running. Escape, Ctrl+C and outside clicks do not dismiss it. Its top-right Cancel control sends an explicit request; it shows cancellation pending until the owned work settles. An error remains in the same dialog with a Close action. Ordinary menu dismissal and native frame animation remain unchan |
440
441
  | `guide.design-update-session-restoration-todo-uppercase` | Queued next: update lifecycle and exact session restoration | Requested 2026-10-16. Implemented after media unification; source-only delivery, with no real installer or running daemon changes during verification. |
441
442
  | `guide.discovery-agent-map` | Agent Map | Bundled Omnius documentation artifact: docs/discovery/agent-map.json. |
@@ -494,7 +495,7 @@ Daemon equivalents are `GET /v1/discovery/bootstrap`, `GET /v1/discovery?q=<inte
494
495
  | `guide.proposals-opencode-modules-runner` | Runner | Bundled Omnius documentation artifact: docs/proposals/opencode-modules/runner.ts. |
495
496
  | `guide.reference-auth-map` | Authentication And Authorization Map | Omnius has two separate credential boundaries: |
496
497
  | `guide.reference-configuration` | Configuration Reference | Configuration is layered from environment, global user settings, project settings, and active TUI state. |
497
- | `guide.reference-rest-api` | REST API Reference | This is the maintained human inventory for the supported Omnius daemon API. The machine contract is generated by packages/cli/src/api/openapi.ts and served at /openapi.json; every operation in that contract must appear here, and the generated REST block in the root README must match this file byte-for-byte after heading normalization. Browser HTML routes and |
498
+ | `guide.reference-rest-api` | REST API Reference | This is the maintained human inventory for the supported Omnius daemon API. The machine contract is generated by packages/cli/src/api/openapi.ts and served at /openapi.json; every operation in that contract must appear here. The root README links to this inventory and stays focused on the system overview. Browser HTML routes and implementation-only compatibi |
498
499
  | `guide.reference-slash-commands` | Slash Commands | This file is generated from packages/cli/src/tui/command-registry.ts. |
499
500
  | `guide.research-aiwg-long-horizon-feature-workflow` | AIWG research teams and long-horizon feature delivery | Date: 2026-09-05. Status: design research for consolidation; no runtime implementation in this note. |
500
501
  | `guide.research-archived-context-window-attention-model` | Context Window Attention Model | Bundled Omnius documentation artifact: docs/research/_archived/context_window_attention_model.py. |
@@ -559,6 +560,9 @@ Daemon equivalents are `GET /v1/discovery/bootstrap`, `GET /v1/discovery?q=<inte
559
560
  | `guide.work-orders-evidence-fallback-model-benchmarks-20261012` | Fallback Model Benchmarks 20261012 | Bundled Omnius documentation artifact: docs/work-orders/evidence/fallback-model-benchmarks-20261012.json. |
560
561
  | `guide.work-orders-evidence-fallback-quality-installed-20261012` | Fallback Quality Installed 20261012 | Bundled Omnius documentation artifact: docs/work-orders/evidence/fallback-quality-installed-20261012.json. |
561
562
  | `guide.work-orders-evidence-fallback-reply-contracts-installed-20261012` | Fallback Reply Contracts Installed 20261012 | Bundled Omnius documentation artifact: docs/work-orders/evidence/fallback-reply-contracts-installed-20261012.json. |
563
+ | `guide.work-orders-evidence-final-reply-browser-20261016` | Final Reply Browser 20261016 | Bundled Omnius documentation artifact: docs/work-orders/evidence/final-reply-browser-20261016.json. |
564
+ | `guide.work-orders-evidence-final-reply-dark-1440-accepted-final` | Final Reply Dark 1440 Accepted Final | Bundled Omnius documentation artifact: docs/work-orders/evidence/final-reply-dark-1440-accepted-final.png. |
565
+ | `guide.work-orders-evidence-final-reply-light-320-accepted-final` | Final Reply Light 320 Accepted Final | Bundled Omnius documentation artifact: docs/work-orders/evidence/final-reply-light-320-accepted-final.png. |
562
566
  | `guide.work-orders-evidence-genuine-opencode-access-repair-20261014` | Genuine Opencode Access Repair 20261014 | Bundled Omnius documentation artifact: docs/work-orders/evidence/genuine-opencode-access-repair-20261014.json. |
563
567
  | `guide.work-orders-evidence-inference-device-policy-readonly-20261016` | Inference Device Policy Readonly 20261016 | Bundled Omnius documentation artifact: docs/work-orders/evidence/inference-device-policy-readonly-20261016.json. |
564
568
  | `guide.work-orders-evidence-installed-fallback-verification-20261012` | Installed Fallback Verification 20261012 | Bundled Omnius documentation artifact: docs/work-orders/evidence/installed-fallback-verification-20261012.json. |
@@ -569,6 +573,18 @@ Daemon equivalents are `GET /v1/discovery/bootstrap`, `GET /v1/discovery?q=<inte
569
573
  | `guide.work-orders-evidence-instrument-80x24` | Instrument 80x24 | Bundled Omnius documentation artifact: docs/work-orders/evidence/instrument-80x24.png. |
570
574
  | `guide.work-orders-evidence-instrument-clean-transcript-120x36` | Instrument Clean Transcript 120x36 | Bundled Omnius documentation artifact: docs/work-orders/evidence/instrument-clean-transcript-120x36.png. |
571
575
  | `guide.work-orders-evidence-instrument-collapse-120x36` | Instrument Collapse 120x36 | Bundled Omnius documentation artifact: docs/work-orders/evidence/instrument-collapse-120x36.png. |
576
+ | `guide.work-orders-evidence-instrument-completion-live-20261016-completion-failed-partial` | Completion Failed Partial | Bundled Omnius documentation artifact: docs/work-orders/evidence/instrument-completion-live-20261016/completion-failed-partial.png. |
577
+ | `guide.work-orders-evidence-instrument-completion-live-20261016-completion-final-100x30` | Completion Final 100x30 | Bundled Omnius documentation artifact: docs/work-orders/evidence/instrument-completion-live-20261016/completion-final-100x30.png. |
578
+ | `guide.work-orders-evidence-instrument-completion-live-20261016-completion-final-120x36` | Completion Final 120x36 | Bundled Omnius documentation artifact: docs/work-orders/evidence/instrument-completion-live-20261016/completion-final-120x36.png. |
579
+ | `guide.work-orders-evidence-instrument-completion-live-20261016-completion-final-160x48` | Completion Final 160x48 | Bundled Omnius documentation artifact: docs/work-orders/evidence/instrument-completion-live-20261016/completion-final-160x48.png. |
580
+ | `guide.work-orders-evidence-instrument-completion-live-20261016-completion-final-60x20` | Completion Final 60x20 | Bundled Omnius documentation artifact: docs/work-orders/evidence/instrument-completion-live-20261016/completion-final-60x20.png. |
581
+ | `guide.work-orders-evidence-instrument-completion-live-20261016-completion-final-80x24` | Completion Final 80x24 | Bundled Omnius documentation artifact: docs/work-orders/evidence/instrument-completion-live-20261016/completion-final-80x24.png. |
582
+ | `guide.work-orders-evidence-instrument-completion-live-20261016-completion-final-clean` | Completion Final Clean | Bundled Omnius documentation artifact: docs/work-orders/evidence/instrument-completion-live-20261016/completion-final-clean.png. |
583
+ | `guide.work-orders-evidence-instrument-completion-live-20261016-completion-live-clean` | Completion Live Clean | Bundled Omnius documentation artifact: docs/work-orders/evidence/instrument-completion-live-20261016/completion-live-clean.png. |
584
+ | `guide.work-orders-evidence-instrument-completion-live-20261016-completion-paused-partial` | Completion Paused Partial | Bundled Omnius documentation artifact: docs/work-orders/evidence/instrument-completion-live-20261016/completion-paused-partial.png. |
585
+ | `guide.work-orders-evidence-instrument-completion-live-20261016-completion-restored-clean` | Completion Restored Clean | Bundled Omnius documentation artifact: docs/work-orders/evidence/instrument-completion-live-20261016/completion-restored-clean.png. |
586
+ | `guide.work-orders-evidence-instrument-completion-live-20261016-completion-technical-expanded` | Completion Technical Expanded | Bundled Omnius documentation artifact: docs/work-orders/evidence/instrument-completion-live-20261016/completion-technical-expanded.png. |
587
+ | `guide.work-orders-evidence-instrument-completion-live-20261016-report` | Report | Bundled Omnius documentation artifact: docs/work-orders/evidence/instrument-completion-live-20261016/report.json. |
572
588
  | `guide.work-orders-evidence-instrument-devices-expanded-120x36` | Instrument Devices Expanded 120x36 | Bundled Omnius documentation artifact: docs/work-orders/evidence/instrument-devices-expanded-120x36.png. |
573
589
  | `guide.work-orders-evidence-instrument-divider-collapsed-160x48` | Instrument Divider Collapsed 160x48 | Bundled Omnius documentation artifact: docs/work-orders/evidence/instrument-divider-collapsed-160x48.png. |
574
590
  | `guide.work-orders-evidence-instrument-divider-resized-160x48` | Instrument Divider Resized 160x48 | Bundled Omnius documentation artifact: docs/work-orders/evidence/instrument-divider-resized-160x48.png. |
@@ -646,6 +662,7 @@ Daemon equivalents are `GET /v1/discovery/bootstrap`, `GET /v1/discovery?q=<inte
646
662
  | `guide.work-orders-evidence-kilo-production-compatibility-20261012` | Kilo Production Compatibility 20261012 | Bundled Omnius documentation artifact: docs/work-orders/evidence/kilo-production-compatibility-20261012.json. |
647
663
  | `guide.work-orders-evidence-local-admission-provider-regression-20261014` | Local Admission Provider Regression 20261014 | Bundled Omnius documentation artifact: docs/work-orders/evidence/local-admission-provider-regression-20261014.json. |
648
664
  | `guide.work-orders-evidence-local-recovery-production-routes-20261014` | Local Recovery Production Routes 20261014 | Bundled Omnius documentation artifact: docs/work-orders/evidence/local-recovery-production-routes-20261014.json. |
665
+ | `guide.work-orders-evidence-native-completion-presentation-verification-20261016` | Native Completion Presentation Verification 20261016 | Bundled Omnius documentation artifact: docs/work-orders/evidence/native-completion-presentation-verification-20261016.json. |
649
666
  | `guide.work-orders-evidence-native-conversation-prompt-audit-20261012` | Native Conversation Prompt Audit 20261012 | Bundled Omnius documentation artifact: docs/work-orders/evidence/native-conversation-prompt-audit-20261012.json. |
650
667
  | `guide.work-orders-evidence-native-goal-contract-probe-20261012` | Native Goal Contract Probe 20261012 | Bundled Omnius documentation artifact: docs/work-orders/evidence/native-goal-contract-probe-20261012.json. |
651
668
  | `guide.work-orders-evidence-native-interface-state-verification-20261016` | Native Interface State Verification 20261016 | Bundled Omnius documentation artifact: docs/work-orders/evidence/native-interface-state-verification-20261016.json. |
@@ -720,6 +737,7 @@ Daemon equivalents are `GET /v1/discovery/bootstrap`, `GET /v1/discovery?q=<inte
720
737
  | `guide.work-orders-evidence-tray-projects-long-menu` | Tray Projects Long Menu | Bundled Omnius documentation artifact: docs/work-orders/evidence/tray-projects-long-menu.png. |
721
738
  | `guide.work-orders-evidence-tray-projects-menu` | Tray Projects Menu | Bundled Omnius documentation artifact: docs/work-orders/evidence/tray-projects-menu.png. |
722
739
  | `guide.work-orders-evidence-tui-local-admission-live-20261014` | Tui Local Admission Live 20261014 | Bundled Omnius documentation artifact: docs/work-orders/evidence/tui-local-admission-live-20261014.json. |
740
+ | `guide.work-orders-evidence-tui-response-ownership-verification-20261016` | Tui Response Ownership Verification 20261016 | Bundled Omnius documentation artifact: docs/work-orders/evidence/tui-response-ownership-verification-20261016.json. |
723
741
  | `guide.work-orders-evidence-update-operation-cancellation-20261016` | Update Operation Cancellation 20261016 | Bundled Omnius documentation artifact: docs/work-orders/evidence/update-operation-cancellation-20261016.json. |
724
742
  | `guide.work-orders-evidence-web-instrument-dark-desktop-20261016` | Web Instrument Dark Desktop 20261016 | Bundled Omnius documentation artifact: docs/work-orders/evidence/web-instrument-dark-desktop-20261016.png. |
725
743
  | `guide.work-orders-evidence-web-instrument-dark-phone-20261016` | Web Instrument Dark Phone 20261016 | Bundled Omnius documentation artifact: docs/work-orders/evidence/web-instrument-dark-phone-20261016.png. |
@@ -0,0 +1,93 @@
1
+ # One final response per run
2
+
3
+ Requested after the retained generation panel, completion tool arguments, and
4
+ final receipt displayed the same answer three times, with the final copy losing
5
+ Markdown structure.
6
+
7
+ ## Presentation contract
8
+
9
+ - Preserve the accepted assistant reply, including paragraphs, lists, indentation,
10
+ code fences, tables and exact JSON values. Storage summaries remain separate.
11
+ - Show one expanded final answer per run/agent. Do not promote proposed
12
+ `task_complete` arguments before acceptance.
13
+ - Keep generation handling, retries, raw contracts and operational receipts in
14
+ compact disclosures. Successful settlement must not leave a second expanded
15
+ answer; explicit inspection can still reveal retained diagnostics.
16
+ - Preserve real partial output and truthful failed/interrupted states. Do not
17
+ infer acceptance from a tool name, tool-call arguments, or matching prose.
18
+ - Use stable document ownership rather than deleting nearby matching text.
19
+ - Carry the same accepted reply through JSON mode, browser delivery, persistence
20
+ and TUI resume. Avoid duplicate native media previews and playback.
21
+
22
+ ## Work
23
+
24
+ - [x] Parallel review of native generation/completion, main/child event paths,
25
+ CLI/browser transport, formatting sanitizers, and restoration.
26
+ - [x] Format-preserving user-reply sanitizer and accepted-reply JSON selection.
27
+ - [x] Main/child response ownership and removal of redundant lifecycle output.
28
+ - [x] Settled inference disclosures and a minimal rich final document.
29
+ - [x] Canonical resume excludes successful completion-control copies while
30
+ retaining rejected completion evidence.
31
+ - [x] Browser waits for accepted output rather than promoting tool arguments.
32
+ - [x] Guard duplicate media rendering/playback owned by native modules.
33
+ - [x] Meaningful regressions, mandatory transport suites, private typecheck and
34
+ actual terminal fixture verification.
35
+ - [x] Scoped commits and push to `origin/main`; record receipts and limits.
36
+
37
+ ## Boundaries
38
+
39
+ Keep unrelated dirty work and publishing outputs intact. No model inference,
40
+ model loading, installed-client replacement or production-daemon changes are
41
+ needed to verify this presentation repair. Test fixtures must identify mocked
42
+ inference separately from actual terminal/browser rendering.
43
+
44
+ ## Verified changes
45
+
46
+ - `66e68437`: canonical session restore keeps one rich assistant reply and omits
47
+ successful completion-control copies; rejected or unknown outcomes remain
48
+ collapsed evidence. Old imported copies are retired by exact block identity.
49
+ Nine session restore tests passed.
50
+ - `c6de96d6`: format-preserving accepted-reply selection across CLI, API,
51
+ persisted browser sessions and live browser delivery. Removed speculative
52
+ completion-call promotion and automatic post-answer follow-up inference.
53
+ Verification: 85 tests/6 suites including mandatory transport checks, 54
54
+ actual Chromium fixture checks, and CLI no-emit passed.
55
+ [Browser receipt](../work-orders/evidence/final-reply-browser-20261016.json).
56
+ - `ab17b145`: active technical chatter collapses; settled generation becomes a
57
+ compact disclosure; final output is a rich document with a small receipt.
58
+ Fixed blank finalized native Markdown, preserved failed/interrupted partials,
59
+ and migrated old saved generation panels. Verification: 60 tests/9 suites,
60
+ 12 actual VTE checks across five sizes, and CLI no-emit passed.
61
+ [Native receipt](../work-orders/evidence/native-completion-presentation-verification-20261016.json).
62
+ - `4a3f1153`: README reduced from 893 to 101 lines of structural overview.
63
+ Removed free-provider/fallback copy, release detail and repeated inventory;
64
+ the sync script now retains a short link to the canonical API reference.
65
+ REST inventory, README sync, manifest, example checks and two endpoint tests
66
+ passed. Full `docs:check` reports stale generated slash-command documentation;
67
+ a separate discovery check also reports stale `docs/DISCOVERY.*`. Those
68
+ unrelated generated files were not overwritten or staged.
69
+
70
+ Test counts overlap and are not a unique repository-wide total. Live UI checks
71
+ use controlled events and owned fixture files; they do not perform inference.
72
+
73
+ - `717e54c9`: main and child response ownership preserves the accepted document,
74
+ fences late events after interruption/reused child views, removes text-match
75
+ deletion, and avoids duplicate native media preview/playback. Session-context
76
+ persistence retains the complete formatted reply instead of flattening/capping
77
+ it at 1,200 characters. Focused lifecycle verification: 97 tests/10 files and
78
+ CLI no-emit passed. Root integration rerun: 20 tests/4 files and a separate
79
+ CLI no-emit passed.
80
+ [Lifecycle receipt](../work-orders/evidence/tui-response-ownership-verification-20261016.json).
81
+
82
+ ## Delivery limits
83
+
84
+ Completed source commits are pushed to `origin/main`; installed clients,
85
+ services, shared build outputs and publishing artifacts are unchanged.
86
+ Externally launched subprocesses still expose their raw process logs. They are
87
+ not treated as structured accepted-response receipts; the current Omnius child
88
+ prints one corrected final, but arbitrary older/external programs are not
89
+ rewritten or deduplicated heuristically.
90
+
91
+ The root integration rerun reported a scratch-directory teardown warning from
92
+ an asynchronous identity save; all assertions passed. It did not perform model
93
+ inference. Full documentation drift checks remain limited as recorded above.
@@ -2,9 +2,9 @@
2
2
 
3
3
  This is the maintained human inventory for the supported Omnius daemon API. The
4
4
  machine contract is generated by `packages/cli/src/api/openapi.ts` and served at
5
- `/openapi.json`; every operation in that contract must appear here, and the
6
- generated REST block in the root README must match this file byte-for-byte after
7
- heading normalization. Browser HTML routes and implementation-only compatibility
5
+ `/openapi.json`; every operation in that contract must appear here. The root
6
+ README links to this inventory and stays focused on the system overview.
7
+ Browser HTML routes and implementation-only compatibility
8
8
  bridges are documented separately and are not part of the stable REST contract.
9
9
 
10
10
  Run the drift check before publishing docs:
@@ -385,12 +385,20 @@ the unified Omnius ASR cache and are not shipped in the npm package.
385
385
 
386
386
  ## Generative Media
387
387
 
388
- All generation is backed by the unified `~/.omnius` model store and shared venvs (single source of truth — no per-project duplication). Generated files are consolidated into the global gallery at `~/.omnius/media/{images,videos,audio,music}`.
388
+ Model weights and runtimes use the shared `~/.omnius` store. Generated media
389
+ belongs to the invocation project and is available to its terminal and browser
390
+ sessions. Older global-gallery files remain accessible under the explicit
391
+ legacy scope.
389
392
 
390
393
  | Method | Path | Purpose |
391
394
  | --- | --- | --- |
392
395
  | `GET` | `/v1/media/models` | List available image/video/audio/music models |
393
396
  | `GET` | `/v1/media/store` | Unified store disk usage + reclaimable legacy caches |
397
+ | `GET` | `/v1/media/weights` | Inspect an exact model's cached weights, dependencies, paths, and supported actions |
398
+ | `DELETE` | `/v1/media/weights` | Delete an exact cached dependency with sharing and active-use checks |
399
+ | `POST` | `/v1/media/weights/download` | Start or reattach a weight download without loading a model |
400
+ | `GET` | `/v1/media/weights/jobs/{id}` | Read durable weight-download state and byte progress |
401
+ | `POST` | `/v1/media/weights/jobs/{id}/cancel` | Request cancellation of a daemon-owned weight download |
394
402
  | `POST` | `/v1/media/migrate` | Dedup + migrate legacy per-group caches into the unified store |
395
403
  | `POST` | `/v1/media/relocate` | Relocate the whole media store (weights/venvs/gallery) to a chosen folder |
396
404
  | `GET` | `/v1/media/relocate/status` | Status + progress of the media-store relocation job |
@@ -399,8 +407,12 @@ All generation is backed by the unified `~/.omnius` model store and shared venvs
399
407
  | `POST` | `/v1/media/video` | Generate a video |
400
408
  | `POST` | `/v1/media/audio` | Generate a sound effect |
401
409
  | `POST` | `/v1/media/music` | Generate music |
402
- | `GET` | `/v1/media/gallery` | List previously generated media (global, newest first) |
410
+ | `GET` | `/v1/media/generations/status` | Inspect generation state for the selected project |
411
+ | `POST` | `/v1/media/generations/cancel` | Cancel an owned generation operation |
412
+ | `GET` | `/v1/media/gallery` | List media for the selected project or explicit legacy scope |
413
+ | `HEAD` | `/v1/media/file` | Validate an exact media artifact and its current revision |
403
414
  | `GET` | `/v1/media/file` | Stream one generated media file |
415
+ | `DELETE` | `/v1/media/file` | Delete an exact scoped artifact with optional revision matching |
404
416
 
405
417
  Managed TTS `pull` installs the model's runtime prerequisites and weights. It
406
418
  does not start inference. Managed TTS `deploy` also verifies the selected CUDA