@ycodium-ai/plugin-api 0.2.5192 → 0.2.5220

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -653,7 +653,15 @@ No thread, timeout, interruption or restart cancels the call. Guard callbacks st
653
653
 
654
654
  <!-- plugin-api-versions:start (generated by scripts/gen-plugin-api-version.ts from packages/plugin-api/version-history.json; edit that file) -->
655
655
 
656
- The current API is **153**. This Ycodium loads plugins declaring 146 through 153.
656
+ The current API is **155**. This Ycodium loads plugins declaring 146 through 155.
657
+
658
+ API 155 lets `ctx.threads.artifacts.deliver` take an optional `workItemId`; its result gains `deliveryId`, and each file gains `homeSync`. Delivering the same content again now makes a new attachment, so `alreadyDelivered` is true only on a replay of the same request. Items of `ctx.threads.artifacts.list` may carry `homeSync`.
659
+
660
+ API 155 adds `ctx.projects.artifacts.list({ projectId, cursor?, limit? })`: the project's delivered files, newest first, with deliverer, source machine and thread, work item, and whether the bytes are still on this machine. Needs `communication.read`.
661
+
662
+ API 155 adds the work history verb `delivered` with a `delivery` change (`postId`, `files`): a delivery filed under a work item. It is not a comment and no longer appears among the item's posts.
663
+
664
+ API 154 adds the optional executor card capability `recoversMcpByRelaunch`: declare it when the CLI does not reconnect after a failed first MCP handshake but resumes from its cursor in a new process. The host then replaces a session that never reached the home machine's MCP once its seat is admitted. Absent means no automatic replacement.
657
665
 
658
666
  API 153 lets `onAttachmentDocumentOpen` take the attachment's `sizeBytes`; the host downloads attachments over its preview threshold instead of opening a viewer.
659
667