@vellumai/plugin-api 0.11.2-dev.202608051547.1e84946 → 0.11.2-dev.202608051637.aae860e

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 (3) hide show
  1. package/index.d.ts +8 -0
  2. package/index.js +1 -0
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -4277,6 +4277,14 @@ export declare function getConversation(id: string): Promise<ConversationRow | n
4277
4277
  */
4278
4278
  export declare function getConversationDirPath(id: string, createdAtMs: number): Promise<string>;
4279
4279
 
4280
+ /**
4281
+ * The persisted `processing_started_at` stamp for a conversation, or null
4282
+ * when the conversation is idle (or the row does not exist). Lets background
4283
+ * consumers age-gate the processing flag: a stamp far in the past is a
4284
+ * stranded flag (a swallowed turn-end clear), not a live turn.
4285
+ */
4286
+ export declare function getConversationProcessingStartedAt(id: string): Promise<number | null>;
4287
+
4280
4288
  /** Fetch one document from the calling plugin's index, or null. */
4281
4289
  export declare function getDocument(documentId: string): Promise<IndexedDocument | null>;
4282
4290
 
package/index.js CHANGED
@@ -21,6 +21,7 @@ export const getAssistantName = api.getAssistantName;
21
21
  export const getConfiguredProvider = api.getConfiguredProvider;
22
22
  export const getConversation = api.getConversation;
23
23
  export const getConversationDirPath = api.getConversationDirPath;
24
+ export const getConversationProcessingStartedAt = api.getConversationProcessingStartedAt;
24
25
  export const getDocument = api.getDocument;
25
26
  export const getMessages = api.getMessages;
26
27
  export const getModelProfiles = api.getModelProfiles;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.11.2-dev.202608051547.1e84946",
3
+ "version": "0.11.2-dev.202608051637.aae860e",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",