plexus.cli.shared.task_output_storage module
- plexus.cli.shared.task_output_storage.compact_task_output_for_storage(output_payload: Any, *, output_attachment_path: str, status: str = 'ok', error_message: str | None = None) → str
- plexus.cli.shared.task_output_storage.persist_task_output_artifact(*, task_id: str, output_payload: Any, format_type: str, existing_attached_files: List[str] | None = None, status: str = 'ok', error_message: str | None = None, bucket_name: str | None = None, uploader: Callable[[...], str] | None = None) → Tuple[str, List[str], str]
Persist full task output as a task attachment and return a compact inline envelope.
This is the only supported task-output storage path. The full payload never belongs inline in DynamoDB.
- plexus.cli.shared.task_output_storage.resolve_task_output_attachment_bucket_name(explicit_bucket_name: str | None = None) → str | None
- plexus.cli.shared.task_output_storage.upload_task_attachment_bytes(*, bucket_name: str, key: str, body: bytes, content_type: str) → str
Upload task output bytes to the task attachments bucket and return the key.