@vellumai/plugin-api 0.11.11-staging.2 → 0.11.11-staging.3
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/index.d.ts +11 -0
- package/index.js +1 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -5731,6 +5731,17 @@ export declare function parseMessageMetadata(metadataJson: string | null): Promi
|
|
|
5731
5731
|
*/
|
|
5732
5732
|
declare function parseMessageMetadata_2(metadataJson: string | null): MessageMetadata_2 | undefined;
|
|
5733
5733
|
|
|
5734
|
+
/**
|
|
5735
|
+
* Read the `surfaceId` out of a `ui_show` tool result, or `undefined` when the
|
|
5736
|
+
* content is not a surface envelope.
|
|
5737
|
+
*
|
|
5738
|
+
* Trailing prose after the JSON object is tolerated: guidance belongs in a
|
|
5739
|
+
* `note` field, but a caller that appends it instead must not silently cost
|
|
5740
|
+
* the reader its `surfaceId`: losing the id makes a live progress surface
|
|
5741
|
+
* invisible to the completion nudge, and the user watches it spin forever.
|
|
5742
|
+
*/
|
|
5743
|
+
export declare function parseSurfaceShowResultId(content: string): string | undefined;
|
|
5744
|
+
|
|
5734
5745
|
/**
|
|
5735
5746
|
* Plugin-facing facade over the host's system-card writer: a daemon-authored
|
|
5736
5747
|
* transcript notice, persisted as an assistant row stamped
|
package/index.js
CHANGED
|
@@ -42,6 +42,7 @@ export const listInstalledSkills = api.listInstalledSkills;
|
|
|
42
42
|
export const mediaBlockAttachmentId = api.mediaBlockAttachmentId;
|
|
43
43
|
export const openTranscriptionSession = api.openTranscriptionSession;
|
|
44
44
|
export const parseMessageMetadata = api.parseMessageMetadata;
|
|
45
|
+
export const parseSurfaceShowResultId = api.parseSurfaceShowResultId;
|
|
45
46
|
export const persistSystemCard = api.persistSystemCard;
|
|
46
47
|
export const publishEvent = api.publishEvent;
|
|
47
48
|
export const quarantineRefusedExchanges = api.quarantineRefusedExchanges;
|