Skip to content

painterflow/anyblob

v1.3.0

Read and manage permitted Anytype content through BlobUI.

Anyblob

Anyblob 1.3.0 gives Codex access to Anytype content through BlobUI. The repository marketplace supplies the plugin, and Codex starts blob-ui mcp from PATH. On Windows, both the installer and the developer build provide the Settings executable as the blob-ui MCP entrypoint. It uses the running app's local bridge. Settings registers its launcher directory on the user PATH when it starts. Restart Codex after Settings adds the entry. No separate Headless CLI install is needed on Windows. On Linux, install BlobUI Headless. It connects to Anytype CLI and starts anytype serve in the background when the API is unavailable at a loopback address.

Setup

  1. On Windows, install or update the regular BlobUI Settings app from GitHub Releases. The installer adds the app's blob-ui mcp entrypoint to your user PATH. Restart Codex after installation or update. On Linux, install the BlobUI Headless release and place blob-ui on PATH.
  2. On Windows, open BlobUI Settings, configure the Anytype API v2 connection, enable Anyblob, and set global permissions for each space. Configure mention filters there if you want to limit suggestions. Keep BlobUI Settings running while Codex uses Anyblob. The helper forwards requests to the Settings app over its local bridge.
  3. On Linux, install the Anytype CLI, log in or create a bot account, and give it access to the desired spaces. Create an API v2 key and run blob-ui api login. BlobUI starts anytype serve in the background when its API is unavailable at a loopback address. To connect to an API on another host, set it with blob-ui api --host-ip 192.168.1.20 --host-port 31012, then run blob-ui api login. Use blob-ui api login -f if a key is already saved. BlobUI connects to non-loopback addresses without starting anytype serve. Configure permissions and mention filters with the blob-ui commands below. The headless profile defaults to $XDG_CONFIG_HOME/blobui-headless or $HOME/.config/blobui-headless. If that directory is not writable, BlobUI uses $XDG_DATA_HOME/blobui-headless or $HOME/.local/share/blobui-headless. Set BLOBUI_HEADLESS_HOME to choose an explicit profile directory.
  4. Add the repository marketplace with codex plugin marketplace add PainterFlow/Anytype-BlobUI@feat/remote-support. The bare repository shorthand checks GitHub's default branch, which does not yet contain .agents/plugins/marketplace.json. In the Plugins Directory, select BlobUI and install Anyblob. Start a new chat and ask Anyblob to list spaces. Once the marketplace manifest reaches the default branch, you can omit @feat/remote-support.

Updates

Update the repository marketplace with codex plugin marketplace upgrade blobui, then refresh Anyblob in the Plugins Directory. The plugin and headless executable have separate release versions. Use blob-ui update to check for and install a newer headless executable.

Permissions and CLI

BlobUI saves one global permission for each space. Read permits reads, Read-Write adds edits, messages and reactions, and Create-Delete adds creation and deletion. The Anytype API key must also allow the requested action. File access and approval are separate settings. Object mentions provide suggestions and do not grant read access.

On Linux, run blob-ui spaces ls to list Anytype spaces and their IDs. Run blob-ui perms ls to inspect saved permissions. Set a permission with blob-ui perms <space-id> --permission read|read-write|create-delete --approval always|auto|never --file-uploads true|false. On Windows, edit the same per-space settings under Integrations > Anyblob > Permissions.

On Linux, use blob-ui object-mention ls to review mention filters. Add or remove object types with blob-ui object-mention add <object-type-id> and blob-ui object-mention remove <object-type-id>. Add or remove spaces with blob-ui object-mention spaces add <space-id> and blob-ui object-mention spaces remove <space-id>. Use blob-ui object-mention spaces ls to list spaces and blob-ui object-mention --filter-done true|false to filter completed task mentions. On Windows, manage these filters in BlobUI Settings.

Troubleshooting

If Codex has no Anyblob tools or object mentions, confirm that Anyblob is installed and enabled in the Plugins Directory. On Windows, install the regular Settings app, restart Codex, and keep Settings open with Anyblob enabled. The app supplies the blob-ui mcp entrypoint; do not install BlobUI Headless for the desktop app. On Linux, install BlobUI Headless, check blob-ui api status and blob-ui perms ls, and set BLOBUI_HEADLESS_HOME only if you want a custom profile directory. BlobUI starts anytype serve when a content request finds the API unavailable. Start a new chat after changing the plugin or its executable. Subagents can use the MCP tools connected to their parent chat. Check the saved permission for the requested space when access is denied. Retry timed-out reads after fixing the cause. Inspect the saved outcome of a write before attempting it again.

Content tools

Anyblob content tools use the Anytype API v2. Each takes a space_id and a schema for its arguments. The server only sends requests to supported API routes.

  • Use read_document for editable AnyBlock JSON, full IDs and etag. Existing read_object continues returning properties and Markdown.
  • Use list_schemas, get_schema and get_op_schema to inspect the connected server's document and operation schemas.
  • Use create_object, patch_object and delete_object for objects. patch_object requires etag and a body containing ops. Supported ops cover properties, type changes, blocks, text, table cells, views and collection membership. Markdown reads cannot be written back as document replacements.
  • Use the list/create/update/delete property and type tools for definitions. list_property_options discovers options. Creation supports options; create_missing_options requires a space-wide Create-Delete grant. Unsupported option mutations remain server limitations.
  • Use create_query and create_collection, their get_objects and get_views tools, and patch_object for edits and views. Queries, collections and templates use delete_object where the server permits archiving. Templates have list_templates and create_template tools.
  • Chat tools include list_chats, create_chat, get_chat_messages, add_chat_message, edit_chat_message, delete_chat_message, toggle_chat_reaction, read_chat and create_discussion. Replies use body.reply_to; attachments use body.attachments. Reading does not mark activity read. Reactions are toggles, so inspect the returned added value.
  • Widget tools list, create, update and delete widgets. They require space-wide permission. No account or space-administration tools are exposed.

Read permits reads across the space. Read-Write adds edits, messages and reactions. Create-Delete adds creation and deletion, including view creation and deletion. In a Create-Delete space, list_creation_targets lists its queries and collections, including empty ones. create_object can name one of those destinations and supply an idempotency_key. Query creation requires template: "none", a matching source type OR an explicitly supplied source property, AND proof that the payload satisfies at least one current view. Property presence includes empty, false, zero and null values. Collections add only the confirmed new object using the current ETag. File switches are independent additional requirements.

API schema discovery requires Read permission for the full space. A query or collection does not add a separate access grant.

Always Ask displays a bounded readable description of the prepared request in a native MCP form. Only Accept with the required confirmation checked allows execution once. Unsupported clients deny approval-required operations and must update Codex or use a compatible client. Update both BlobUI and Anyblob together for bridge version 2. BlobUI never opens a Settings approval dialog. Approve for me requires separate approval for creation, deletion, and file uploads, including archived objects and files and creation or deletion of views. Never Ask still requires approval for irreversible actions. Chat-message deletion may permanently erase attachment content. Objects, types and properties use the server's archive operations. Creator and system-object restrictions remain authoritative.

Mutations use a server dry run where supported before committing. dry_run=true requests validation only. Document edits require etag; conflicts never overwrite newer edits. Mutation results report outcome as confirmed, rejected, validated or unknown and preserve receipts and warnings. Reuse idempotency_key only for an identical request. Never automatically retry an unknown outcome. A membership-changing edit returns its receipt without an implicit object reread.

Uploads

upload_file accepts exactly one of local_path and url, plus optional name. Local paths must name a regular absolute local file no larger than 25 MiB. Network paths, device paths, alternate data streams and reparse points are refused. BlobUI checks permission before reading bytes, creates an immutable staging snapshot beside its executable, shows the filename, size and SHA-256 in approval, streams multipart bytes, and removes the snapshot afterward. Development and validation staging stays inside the workspace. URL uploads let Anytype fetch an HTTP or HTTPS URL; the server's fetch and size restrictions apply.

Upload receipts return the file ID and metadata. Attach that ID with a separate object or message operation. An attachment failure does not silently delete an uploaded file. Downloads are not added by this release.

Live validation is restricted to the uniquely resolved Codex Test space and disposable recorded fixtures. Upload files must be named codex-test-{num}, stay below 50,000 bytes, and normally contain 1 KiB. The persistent runner ledger reserves at most 10 total upload attempts, including preflights, retries and uncertain outcomes. Never restart or automate Anytype for validation.

Developers can rerun the explicit live suite with scripts/tests/Test-Anyblob-Live.ps1 -TestExecutable pointing to the compiled Settings test executable. It copies only the connection and encrypted key into a workspace fixture, removes the encrypted copy on exit, and preserves the upload ledger across runs. A read-only Anytype key cannot validate mutations, even when BlobUI grants full access.

Query and collection creation returns separate creation and placement outcomes. A failed placement retains the object and does not change the saved space permission. Repeating an identical collection request after a confirmed placement refusal resumes placement from the operation journal without creating another object. A changed payload with the same key is refused. Uncertain creation or placement outcomes are never retried automatically, including after a restart. The saved space permission, approval and file settings still apply during recovery. Keep the operation journal when updating or moving the installation.

Anyblob 0.2.11 supports guided query creation. A create_object result with outcome needs_input means no object was created. Read requirements.source and requirements.views, choose or ask the user for the necessary property values using the existing select options, then resubmit create_object with the same destination and idempotency_key. Do not silently replace supplied values or invent options. The source and at least one supported view must both match before creation. Unsupported queries are identified separately in discovery and creation responses. Follow-ups never grant access to objects outside normal membership. Collection behavior is unchanged.

Anyblob 0.2.12 resolves query creation types by either live API key or object ID, then sends the canonical type key to v2 without changing property values. Query source properties can be mapped through the internal_key and property fields of live type definitions; creation does not depend on export legends omitted by v2. Positive in filters are supported for single-select properties and native Object type. Type filters use body.type and resolved type identities. Ordinary object-reference filters and unsupported date conditions remain unknown. The query still requires source membership and at least one matching view.

Bundled skills

Anyblob includes eleven skills for search and answers, capture and organization, page maintenance, project planning, progress reviews, meeting notes, types and templates, queries and views, and organization audits. Codex can select matching skills automatically or you can invoke one explicitly, such as $maintain-pages. Each uses the connected tools and saved permissions. Use $configure-kanban-calculations for category calculations and $configure-calendar-colors for type defaults or view color rules. Both discover permitted targets, inspect saved configuration, preview results, publish, and verify the result.

Discovery follows the OpenAI skill packaging format. Shared rules ship in references/workflow-rules.md. Upgrade the repository marketplace and refresh the installed plugin to receive the skills.

BlobUI calculations and calendar colors

Anyblob 0.2.24 supports multi-select Kanban calculations and calendar property colors across its twelve BlobUI tools. Every request requires an explicit space_id. View targets contain full spaceId, objectId, blockId, and viewId values returned by discovery. Calendar requests also require type_key; omit target for the type default.

Publish through set_kanban_calculation or set_calendar_color_rule. Remove through remove_kanban_calculation or remove_calendar_color_rule. Refresh saved results through refresh_kanban_calculation or refresh_calendar_colors. These operations require the revision from the last read and support dry_run. A conflict requires a new read and preview. Never automatically retry an unknown mutation outcome.

Configuration changes need Read-Write access. Type defaults need a whole-space Read-Write grant. View rules need readable result objects from the space. Incomplete membership or objects that cannot be read cause an error instead of a partial result. API failures and publication failures retain previous configuration and results. Reads, previews, and dry runs do not migrate files or publish CSS.

Publication updates the selected saved rule and snapshot transactionally. Unrelated settings and rules remain intact. Results include publication status, warnings, revision, and whether a manual reload is needed. Cached timestamps describe saved publication, not a new live calculation. Press Ctrl+R in Anytype after a successful publication. Anyblob never reloads Anytype. Open Settings drafts detect conflicting configuration edits and require reloading Settings before saving.

Board layout, collapsed categories, formula placement, and the Calendar Colors switch remain Settings controls.

Select categories use exact, case-sensitive option names scoped to a space and stable property key. Names retain their whitespace. Duplicate names exclude the entire property from Kanban results and calendar property colors, with an error naming the space, property and duplicate. Saved formulas and rules remain intact. Unrelated properties continue to publish.

Multi-select calculations use the complete sorted, deduplicated combination, stored as a serialized name array. Checkbox categories use true and false. Missing options, incomplete membership and conflicting metadata block publication.

Version 3 results match every saved card object ID inside the column body, scoped to the host object, block and active view. Empty or unmatched columns show the formula evaluated on an empty card list. A populated column without any matching rendered card also shows that fallback for as long as no anchor is rendered.

Card moves, option renames and membership changes require refresh. Legacy version 1 and 2 results remain readable.