@vellumai/plugin-api 0.12.3 → 0.12.4-staging.1

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.
Files changed (2) hide show
  1. package/index.d.ts +11 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1091,6 +1091,17 @@ declare interface AddMessageOptions {
1091
1091
  * during that sleep.
1092
1092
  */
1093
1093
  insertPrecondition?: () => boolean;
1094
+ /**
1095
+ * The row is the assistant's bookkeeping ABOUT this conversation rather than
1096
+ * activity in it, so it must not bring the conversation back from Done (see
1097
+ * {@link resurfaceArchivedConversation}). The producer declares this, because
1098
+ * only the producer knows which of the two a row is.
1099
+ *
1100
+ * The retrospective skill card is the case: a pass runs once a conversation
1101
+ * has gone idle, which is exactly when the user has just marked it done, so
1102
+ * a card that resurfaced would bounce fresh done chats back into the sidebar.
1103
+ */
1104
+ skipResurface?: boolean;
1094
1105
  }
1095
1106
 
1096
1107
  declare type AddMessageResult = Awaited<ReturnType<addMessage_2>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.12.3",
3
+ "version": "0.12.4-staging.1",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",