Artifacts Class Model

Artifacts Class Model An architecture diagram generated by Archify. WebArtifactsAPI · _web/artifacts.py · web implementation WebArtifactsAPI _web/artifacts.py Artifact Generation · ArtifactGenerationService · web implementation Artifact Generation ArtifactGenerationService Row Adapters · _web/rows/artifacts · web implementation Row Adapters _web/rows/artifacts ArtifactStatus · PENDING · PROCESSING · Architecture component · int + Enum ArtifactStatus PENDING · PROCESSING int + Enum NotebookLMClient · composition root · Architecture component NotebookLMClient composition root ArtifactsAPI · abstract base · Architecture component · 11 generate_* flows ArtifactsAPI abstract base 11 generate_* flows Artifact Polling · ArtifactPollingService · Architecture component Artifact Polling ArtifactPollingService RpcCaller · Protocol · Architecture component · structural RpcCaller Protocol structural Artifact · _types/artifacts.py · Architecture component · dataclass · raw int codes Artifact _types/artifacts.py dataclass · raw int codes AndroidArtifactsAPI · _android/artifacts.py · android implementation AndroidArtifactsAPI _android/artifacts.py Proto Codec · _android/codecs · android implementation Proto Codec _android/codecs AndroidSession · lazy gRPC channel · android implementation AndroidSession lazy gRPC channel ArtifactTypeCode · AUDIO · VIDEO · QUIZ · Architecture component · int + Enum ArtifactTypeCode AUDIO · VIDEO · QUIZ int + Enum constructs subclass subclass injected status poll create hook decode maps to typed result status type typed proto unary call web implementation android implementation Legend Backend Database

Inheritance

  • • ArtifactsAPI is an ABC; ten Studio creators converge on _send_create_artifact
  • • generate_mind_map is the eleventh public generator and uses a separate backend hook
  • • Both subclasses return the same Artifact dataclass

Injected collaborators

  • • Multi-capability features take collaborators by keyword-only argument
  • • RpcCaller is a structural Protocol, satisfied by RpcExecutor
  • • Polling receives the shared CallSupervisor, not a runtime facade

Typed results

  • • Artifact stores raw integer codes; kind projects to ArtifactType and status maps through ArtifactStatus
  • • ArtifactTypeCode spans AUDIO through FILE, ten codes in total
  • • SUGGESTED rows are filtered out of LIST_ARTIFACTS results