@xpert-ai/chatkit-types 0.11.1 → 0.11.2
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 +18 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -780,6 +780,8 @@ export declare type ChatKitOptions = {
|
|
|
780
780
|
selection?: ProjectSelection;
|
|
781
781
|
/** Offer automatic creation on first send when the Assistant supports it. */
|
|
782
782
|
autoNewEnabled?: boolean;
|
|
783
|
+
/** Describe applications that create only after a setup App is confirmed. */
|
|
784
|
+
autoNewMode?: 'on-send' | 'after-confirmation';
|
|
783
785
|
/** Hide the no-Project choice for Assistants requiring a Project workspace. */
|
|
784
786
|
allowNone?: boolean;
|
|
785
787
|
/**
|
|
@@ -2527,6 +2529,22 @@ export declare type SurfaceColors = {
|
|
|
2527
2529
|
foreground: string;
|
|
2528
2530
|
};
|
|
2529
2531
|
|
|
2532
|
+
/** Business outcome reported by a server tool, independent of model/runtime completion. */
|
|
2533
|
+
export declare type TAgentExecutionOutcome = {
|
|
2534
|
+
status: 'accepted' | 'already_completed' | 'not_claimed' | 'blocked' | 'failed' | 'incomplete';
|
|
2535
|
+
subjectId: string;
|
|
2536
|
+
accepted: boolean;
|
|
2537
|
+
message?: string;
|
|
2538
|
+
versionId?: string;
|
|
2539
|
+
};
|
|
2540
|
+
|
|
2541
|
+
/** Only tool artifacts from this exact invocation may supply its business result. */
|
|
2542
|
+
export declare type TAgentExecutionOutcomeArtifact = {
|
|
2543
|
+
type: 'agent_execution_outcome';
|
|
2544
|
+
executionId: string;
|
|
2545
|
+
outcome: TAgentExecutionOutcome;
|
|
2546
|
+
};
|
|
2547
|
+
|
|
2530
2548
|
/**
|
|
2531
2549
|
* Data type for chat event message
|
|
2532
2550
|
*/
|