Skip to content

v0.0.95

Choose a tag to compare

@github-actions github-actions released this 22 Nov 15:33
ab6d497

A plugin's connector can now write the links it needs and find its own items on a type the owner mapped one of its kinds onto, and every page of links is now full.

Breaking: A connector that answers a mapping preview must send result as { "type": <the kind's target type>, "properties": {…} }, with optional title and source_item. Marfa now refuses any other form and names the path it refused, such as result.type.

Server

  • Added: A plugin's connector section can list the link (edge) types its connector writes in edge_types: the plugin's own, or ones Marfa ships such as attached-to. The key its host mints may write exactly those. A key minted before gets them the next time its host mints it. Docs
  • Added: A connector's key reads its own items, and only its own, on a type the owner mapped one of its enabled kinds onto, through the requests it reconciles with: GET /items, GET /events, POST /items/tombstones, an item's read, links, history, extensions and table rows. Search, summaries, export, views, folders and MCP's read tools still answer as the key's type map says. Docs
  • Changed: A text setting of a plugin holds up to 65,536 characters. Docs
  • Fixed: A key that may read only some links no longer gets short or empty pages of links with a cursor to follow: every page but the last holds limit links. Links whose type was since deleted still appear on its pages.

CLI

  • Added: marfa plugins check refuses a connector's edge_types entry that is unknown, repeated, under a reserved name or ends on a system type, naming the entry. Docs

TypeScript SDK

  • Added: @withmarfa/client types a connector's edge_types and a mapping preview's result.

Full changelog: v0.0.94...v0.0.95