@nemphi/sdk 0.2.5089 → 0.2.5092
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/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6391,6 +6391,12 @@ export interface ChatApprovalOutcome {
|
|
|
6391
6391
|
}
|
|
6392
6392
|
export interface OverviewChatResponse {
|
|
6393
6393
|
reply: string;
|
|
6394
|
+
/**
|
|
6395
|
+
* The answer's json-render spec (ui-spec.ts), when the model drew one:
|
|
6396
|
+
* rendered under the reply in place of `message`, which then leads with
|
|
6397
|
+
* its Block Kit reading for a client that does not draw specs.
|
|
6398
|
+
*/
|
|
6399
|
+
ui?: UISpec;
|
|
6394
6400
|
/**
|
|
6395
6401
|
* The answer as Block Kit blocks, when the model laid one out (a table,
|
|
6396
6402
|
* a plan, buttons to click): rendered under the reply. See block-kit.ts.
|
|
@@ -6454,6 +6460,8 @@ export interface ConversationTurn {
|
|
|
6454
6460
|
content: string;
|
|
6455
6461
|
/** Where the user was when they sent this turn (a page or dashboard marker). */
|
|
6456
6462
|
context?: string;
|
|
6463
|
+
/** The json-render spec of an assistant turn. */
|
|
6464
|
+
ui?: UISpec;
|
|
6457
6465
|
/** Block Kit blocks of an assistant turn. */
|
|
6458
6466
|
message?: MessageBlock[];
|
|
6459
6467
|
blocks?: CanvasBlock[];
|