Overview

Office Docs is the Allternit document editor surface. It wraps @allternit/office-docs-app inside the platform shell (surfaces/ai.allternit.com) and gives agents and users a native .docx editing experience. Documents are persisted as artifacts with a binary docx section and an extracted plaintext section for search and cowork.

Base URL / usage

Local dev server for the standalone surface:
Inside the platform shell:
Open a document from the shell with view type docs:

Endpoints / commands

Shell view commands

Artifact API used

Document artifact sections

A persisted document artifact contains at least these sections: Legacy docs-editor/<block> text sections are upgraded on load by generating a .docx from their blocks.

JSON request / response examples

Load a document artifact

Response:

Persist a document update

Response:

Update plaintext index

Error codes