docs(assets): drop Asset Identity RFC reference from docstring

This commit is contained in:
Matt Miller 2026-05-20 10:59:20 -07:00
parent f91e3416b6
commit 1bdd0d3ff2

View File

@ -6,11 +6,10 @@ import os
def enrich_output_with_assets(output_ui: dict) -> dict: def enrich_output_with_assets(output_ui: dict) -> dict:
"""Inject asset id into file-type output entries when --enable-assets is set. """Inject asset id into file-type output entries when --enable-assets is set.
Only ``id`` is added per the Asset Identity RFC the WebSocket payload Only ``id`` is added the WebSocket payload carries just enough for the
carries just enough for the client to fetch the full asset via client to fetch the full asset via GET /api/assets/{id}. hash, name,
GET /api/assets/{id}. hash, name, preview_url, and size are intentionally preview_url, and size are intentionally omitted: hash is already encoded
omitted: hash is already encoded in the filename; the rest require an in the filename; the rest require an explicit API call.
explicit API call.
Returns a new dict; entries without a resolvable on-disk file path are left Returns a new dict; entries without a resolvable on-disk file path are left
unchanged. Errors are caught per-entry so a failure never blocks the WS unchanged. Errors are caught per-entry so a failure never blocks the WS