Get app source
get_appRead an app's UI source in windowed chunks to prevent truncated reads, with offset/length controls and hash/version for safe edits. Optionally retrieve the app manifest.
Instructions
Read an app's ui source as a WINDOW — offset/length select it, next_offset continues, total is the full length. Windows exist because some hosts silently drop the MIDDLE of an oversized result: a big app read whole can arrive mutilated with no sign, and an edit saved from it destroys the source. Carries version — the expected_version for edit_app / save_app — and hash, the expect_hash for a range edit of exactly this window. node jumps the window to the element marked data-oma-node="". slot:"manifest" returns the declaration object instead (no window mechanics).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| node | No | read the element marked data-oma-node="<node>" — the window (and its hash) covers exactly that element (ui slot only) | |
| slot | No | default ui; manifest returns {manifest: object|null} whole | |
| length | No | max characters for this window (default fits the result budget; ui slot only) | |
| offset | No | character offset to read from (default 0; ui slot only) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eot | No | ||
| hash | No | ||
| name | Yes | ||
| text | No | ||
| total | No | ||
| offset | No | ||
| version | Yes | ||
| manifest | No | ||
| returned | No | ||
| next_offset | No |