@noodleseed/assistant 1.1.1 → 1.3.0
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/README.md +218 -19
- package/dist/{appearance-KDbtkt2G.d.cts → appearance-BLO7kFYB.d.cts} +39 -0
- package/dist/{appearance-KDbtkt2G.d.ts → appearance-BLO7kFYB.d.ts} +39 -0
- package/dist/chunk-N6TFOYOX.js +642 -0
- package/dist/chunk-N6TFOYOX.js.map +1 -0
- package/dist/chunk-QMDSNLTA.js +4459 -0
- package/dist/chunk-QMDSNLTA.js.map +1 -0
- package/dist/client-Bm990MFE.d.cts +166 -0
- package/dist/client-Dd7_LZLY.d.ts +166 -0
- package/dist/client.cjs +668 -0
- package/dist/client.cjs.map +1 -0
- package/dist/client.d.cts +2 -0
- package/dist/client.d.ts +2 -0
- package/dist/client.js +9 -0
- package/dist/client.js.map +1 -0
- package/dist/index.cjs +4765 -382
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -12
- package/dist/index.d.ts +14 -12
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +4777 -388
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +3 -2
- package/dist/react.d.ts +3 -2
- package/dist/react.js +11 -4
- package/dist/react.js.map +1 -1
- package/dist/server.cjs +2 -1
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +7 -1
- package/dist/server.d.ts +7 -1
- package/dist/server.js +2 -1
- package/dist/server.js.map +1 -1
- package/package.json +14 -1
- package/dist/chunk-IM7SAHNE.js +0 -706
- package/dist/chunk-IM7SAHNE.js.map +0 -1
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { a as AssistantConfiguration } from './appearance-BLO7kFYB.cjs';
|
|
2
|
+
|
|
3
|
+
type AssistantJsonValue = string | number | boolean | null | readonly AssistantJsonValue[] | {
|
|
4
|
+
readonly [key: string]: AssistantJsonValue;
|
|
5
|
+
};
|
|
6
|
+
/** MCP-Apps-shaped summary deliberately selected by the renderer for the next assistant turn. */
|
|
7
|
+
interface AssistantModelContextUpdate {
|
|
8
|
+
readonly content?: readonly {
|
|
9
|
+
readonly type: 'text';
|
|
10
|
+
readonly text: string;
|
|
11
|
+
}[];
|
|
12
|
+
readonly structuredContent?: Readonly<Record<string, AssistantJsonValue>>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
interface AssistantEvent {
|
|
16
|
+
readonly event: string;
|
|
17
|
+
readonly data: Readonly<Record<string, unknown>>;
|
|
18
|
+
}
|
|
19
|
+
interface AssistantErrorDetail {
|
|
20
|
+
readonly code: string;
|
|
21
|
+
readonly status?: number;
|
|
22
|
+
readonly retryable: boolean;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
interface NamedEvent<Name extends string, Data> {
|
|
26
|
+
readonly event: Name;
|
|
27
|
+
readonly data: Data;
|
|
28
|
+
}
|
|
29
|
+
interface TurnDetail {
|
|
30
|
+
readonly turnId?: string;
|
|
31
|
+
}
|
|
32
|
+
interface AssistantContentDetail extends TurnDetail {
|
|
33
|
+
readonly delta: string;
|
|
34
|
+
}
|
|
35
|
+
interface AssistantToolProposedDetail extends TurnDetail {
|
|
36
|
+
readonly id: string;
|
|
37
|
+
readonly tool: string;
|
|
38
|
+
readonly arguments?: AssistantJsonValue;
|
|
39
|
+
readonly expiresAt?: string;
|
|
40
|
+
/** Optional only for compatibility with assistant services published before named-event pinning. */
|
|
41
|
+
readonly requiresConfirmation?: true;
|
|
42
|
+
}
|
|
43
|
+
interface AssistantInputRequestedDetail extends TurnDetail {
|
|
44
|
+
readonly id: string;
|
|
45
|
+
readonly message: string;
|
|
46
|
+
readonly requestedSchema: Readonly<Record<string, unknown>>;
|
|
47
|
+
readonly expiresAt: string;
|
|
48
|
+
}
|
|
49
|
+
interface AssistantInteractionResolvedDetail extends TurnDetail {
|
|
50
|
+
readonly id: string;
|
|
51
|
+
/** Optional only for compatibility with the original accept-only confirmation endpoint. */
|
|
52
|
+
readonly action?: 'accept' | 'decline' | 'cancel';
|
|
53
|
+
}
|
|
54
|
+
interface AssistantToolCompletedDetail extends TurnDetail {
|
|
55
|
+
readonly id: string;
|
|
56
|
+
readonly tool: string;
|
|
57
|
+
readonly result: AssistantJsonValue;
|
|
58
|
+
readonly replayed?: true;
|
|
59
|
+
}
|
|
60
|
+
interface AssistantViewAvailableDetail extends TurnDetail {
|
|
61
|
+
/** Model tool-call id for an immediate result, or interaction id for a confirmed result. */
|
|
62
|
+
readonly id: string;
|
|
63
|
+
readonly tool: string;
|
|
64
|
+
readonly resourceUri: string;
|
|
65
|
+
readonly title?: string;
|
|
66
|
+
/** Bounded, schema-redacted public tool output; widget-only metadata is never included. */
|
|
67
|
+
readonly result: AssistantJsonValue;
|
|
68
|
+
readonly replayed?: true;
|
|
69
|
+
}
|
|
70
|
+
interface AssistantErrorEventDetail extends TurnDetail {
|
|
71
|
+
readonly code: string;
|
|
72
|
+
readonly status?: number;
|
|
73
|
+
readonly retryable?: boolean;
|
|
74
|
+
}
|
|
75
|
+
type AssistantContentEvent = NamedEvent<'content', AssistantContentDetail>;
|
|
76
|
+
type AssistantToolProposedEvent = NamedEvent<'tool_proposed', AssistantToolProposedDetail>;
|
|
77
|
+
type AssistantInputRequestedEvent = NamedEvent<'input_requested', AssistantInputRequestedDetail>;
|
|
78
|
+
type AssistantInteractionResolvedEvent = NamedEvent<'interaction_resolved', AssistantInteractionResolvedDetail>;
|
|
79
|
+
type AssistantToolCompletedEvent = NamedEvent<'tool_completed', AssistantToolCompletedDetail>;
|
|
80
|
+
type AssistantViewAvailableEvent = NamedEvent<'view_available', AssistantViewAvailableDetail>;
|
|
81
|
+
type AssistantErrorEvent = NamedEvent<'error', AssistantErrorEventDetail>;
|
|
82
|
+
type AssistantDoneEvent = NamedEvent<'done', TurnDetail>;
|
|
83
|
+
interface AssistantLegacyInteractionProposedDetail {
|
|
84
|
+
readonly id: string;
|
|
85
|
+
readonly tool?: string;
|
|
86
|
+
readonly title?: string;
|
|
87
|
+
readonly arguments?: AssistantJsonValue;
|
|
88
|
+
}
|
|
89
|
+
type AssistantContextValue$1 = string | number | boolean | null;
|
|
90
|
+
type AssistantClientLifecycleEvent = NamedEvent<'session_started', {
|
|
91
|
+
readonly expiresAt: string;
|
|
92
|
+
readonly configuration?: AssistantConfiguration;
|
|
93
|
+
}> | NamedEvent<'session_expired', Readonly<Record<string, never>>> | NamedEvent<'session_reset', Readonly<Record<string, never>>> | NamedEvent<'context_changed', {
|
|
94
|
+
readonly context: Readonly<Record<string, AssistantContextValue$1>>;
|
|
95
|
+
}> | NamedEvent<'model_context_changed', {
|
|
96
|
+
readonly modelContext: AssistantModelContextUpdate;
|
|
97
|
+
}> | NamedEvent<'message_started', {
|
|
98
|
+
readonly message: string;
|
|
99
|
+
}> | NamedEvent<'message_completed', Readonly<Record<string, never>>> | NamedEvent<'interaction_started', {
|
|
100
|
+
readonly id: string;
|
|
101
|
+
readonly action: 'accept' | 'decline' | 'cancel';
|
|
102
|
+
}> | NamedEvent<'interaction_completed', {
|
|
103
|
+
readonly id: string;
|
|
104
|
+
readonly action: 'accept' | 'decline' | 'cancel';
|
|
105
|
+
}>;
|
|
106
|
+
interface AssistantUnrecognizedEvent {
|
|
107
|
+
readonly event: 'unrecognized';
|
|
108
|
+
readonly data: {
|
|
109
|
+
readonly name: string;
|
|
110
|
+
readonly payload: Readonly<Record<string, unknown>>;
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
/** Closed event union for the DOM-free client; unknown future SSE names remain observable safely. */
|
|
114
|
+
type AssistantClientEvent = AssistantContentEvent | AssistantToolProposedEvent | AssistantInputRequestedEvent | AssistantInteractionResolvedEvent | AssistantToolCompletedEvent | AssistantViewAvailableEvent | AssistantErrorEvent | AssistantDoneEvent | NamedEvent<'interaction_proposed', AssistantLegacyInteractionProposedDetail> | AssistantClientLifecycleEvent | AssistantUnrecognizedEvent;
|
|
115
|
+
|
|
116
|
+
type AssistantContextValue = string | number | boolean | null;
|
|
117
|
+
type AssistantContext = Readonly<Record<string, AssistantContextValue>>;
|
|
118
|
+
interface AssistantClientContext {
|
|
119
|
+
readonly locale?: string;
|
|
120
|
+
readonly timeZone?: string;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
type AssistantInteractionResponse = {
|
|
124
|
+
readonly action: 'accept';
|
|
125
|
+
readonly content?: AssistantJsonValue;
|
|
126
|
+
} | {
|
|
127
|
+
readonly action: 'decline' | 'cancel';
|
|
128
|
+
};
|
|
129
|
+
interface AssistantSessionResponse {
|
|
130
|
+
readonly token: string;
|
|
131
|
+
readonly expiresAt: string;
|
|
132
|
+
readonly endpoints: {
|
|
133
|
+
readonly turns: string;
|
|
134
|
+
readonly toolConfirmations: string;
|
|
135
|
+
readonly interactions?: string;
|
|
136
|
+
};
|
|
137
|
+
readonly configuration?: AssistantConfiguration;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
interface CreateAssistantClientOptions {
|
|
141
|
+
readonly sessionEndpoint: string;
|
|
142
|
+
readonly fetch?: typeof fetch;
|
|
143
|
+
/** Untrusted page context sent only when exchanging a session. */
|
|
144
|
+
readonly context?: AssistantContext;
|
|
145
|
+
/** Untrusted presentation hints evaluated for every turn request. */
|
|
146
|
+
readonly clientContext?: AssistantClientContext | (() => AssistantClientContext | undefined);
|
|
147
|
+
/** Latest renderer-selected summary included as untrusted data on every message turn. */
|
|
148
|
+
readonly modelContext?: AssistantModelContextUpdate;
|
|
149
|
+
}
|
|
150
|
+
interface AssistantClient {
|
|
151
|
+
subscribe(listener: (event: AssistantClientEvent) => void): () => void;
|
|
152
|
+
connect(): Promise<void>;
|
|
153
|
+
sendMessage(message: string): Promise<void>;
|
|
154
|
+
respond(id: string, response: AssistantInteractionResponse): Promise<void>;
|
|
155
|
+
updateContext(context: AssistantContext): void;
|
|
156
|
+
updateModelContext(update: AssistantModelContextUpdate): void;
|
|
157
|
+
resetSession(): void;
|
|
158
|
+
abort(): void;
|
|
159
|
+
}
|
|
160
|
+
declare class AssistantClientError extends Error {
|
|
161
|
+
readonly detail: AssistantErrorDetail;
|
|
162
|
+
constructor(detail: AssistantErrorDetail, message: string, options?: ErrorOptions);
|
|
163
|
+
}
|
|
164
|
+
declare function createAssistantClient(options: CreateAssistantClientOptions): AssistantClient;
|
|
165
|
+
|
|
166
|
+
export { type AssistantErrorDetail as A, type AssistantToolProposedEvent as B, type AssistantUnrecognizedEvent as C, type CreateAssistantClientOptions as D, createAssistantClient as E, type AssistantViewAvailableDetail as a, type AssistantContext as b, type AssistantModelContextUpdate as c, type AssistantInteractionResponse as d, type AssistantEvent as e, type AssistantViewAvailableEvent as f, type AssistantClient as g, type AssistantClientContext as h, AssistantClientError as i, type AssistantClientEvent as j, type AssistantClientLifecycleEvent as k, type AssistantContentDetail as l, type AssistantContentEvent as m, type AssistantContextValue as n, type AssistantDoneEvent as o, type AssistantErrorEvent as p, type AssistantErrorEventDetail as q, type AssistantInputRequestedDetail as r, type AssistantInputRequestedEvent as s, type AssistantInteractionResolvedDetail as t, type AssistantInteractionResolvedEvent as u, type AssistantJsonValue as v, type AssistantSessionResponse as w, type AssistantToolCompletedDetail as x, type AssistantToolCompletedEvent as y, type AssistantToolProposedDetail as z };
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { a as AssistantConfiguration } from './appearance-BLO7kFYB.js';
|
|
2
|
+
|
|
3
|
+
type AssistantJsonValue = string | number | boolean | null | readonly AssistantJsonValue[] | {
|
|
4
|
+
readonly [key: string]: AssistantJsonValue;
|
|
5
|
+
};
|
|
6
|
+
/** MCP-Apps-shaped summary deliberately selected by the renderer for the next assistant turn. */
|
|
7
|
+
interface AssistantModelContextUpdate {
|
|
8
|
+
readonly content?: readonly {
|
|
9
|
+
readonly type: 'text';
|
|
10
|
+
readonly text: string;
|
|
11
|
+
}[];
|
|
12
|
+
readonly structuredContent?: Readonly<Record<string, AssistantJsonValue>>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
interface AssistantEvent {
|
|
16
|
+
readonly event: string;
|
|
17
|
+
readonly data: Readonly<Record<string, unknown>>;
|
|
18
|
+
}
|
|
19
|
+
interface AssistantErrorDetail {
|
|
20
|
+
readonly code: string;
|
|
21
|
+
readonly status?: number;
|
|
22
|
+
readonly retryable: boolean;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
interface NamedEvent<Name extends string, Data> {
|
|
26
|
+
readonly event: Name;
|
|
27
|
+
readonly data: Data;
|
|
28
|
+
}
|
|
29
|
+
interface TurnDetail {
|
|
30
|
+
readonly turnId?: string;
|
|
31
|
+
}
|
|
32
|
+
interface AssistantContentDetail extends TurnDetail {
|
|
33
|
+
readonly delta: string;
|
|
34
|
+
}
|
|
35
|
+
interface AssistantToolProposedDetail extends TurnDetail {
|
|
36
|
+
readonly id: string;
|
|
37
|
+
readonly tool: string;
|
|
38
|
+
readonly arguments?: AssistantJsonValue;
|
|
39
|
+
readonly expiresAt?: string;
|
|
40
|
+
/** Optional only for compatibility with assistant services published before named-event pinning. */
|
|
41
|
+
readonly requiresConfirmation?: true;
|
|
42
|
+
}
|
|
43
|
+
interface AssistantInputRequestedDetail extends TurnDetail {
|
|
44
|
+
readonly id: string;
|
|
45
|
+
readonly message: string;
|
|
46
|
+
readonly requestedSchema: Readonly<Record<string, unknown>>;
|
|
47
|
+
readonly expiresAt: string;
|
|
48
|
+
}
|
|
49
|
+
interface AssistantInteractionResolvedDetail extends TurnDetail {
|
|
50
|
+
readonly id: string;
|
|
51
|
+
/** Optional only for compatibility with the original accept-only confirmation endpoint. */
|
|
52
|
+
readonly action?: 'accept' | 'decline' | 'cancel';
|
|
53
|
+
}
|
|
54
|
+
interface AssistantToolCompletedDetail extends TurnDetail {
|
|
55
|
+
readonly id: string;
|
|
56
|
+
readonly tool: string;
|
|
57
|
+
readonly result: AssistantJsonValue;
|
|
58
|
+
readonly replayed?: true;
|
|
59
|
+
}
|
|
60
|
+
interface AssistantViewAvailableDetail extends TurnDetail {
|
|
61
|
+
/** Model tool-call id for an immediate result, or interaction id for a confirmed result. */
|
|
62
|
+
readonly id: string;
|
|
63
|
+
readonly tool: string;
|
|
64
|
+
readonly resourceUri: string;
|
|
65
|
+
readonly title?: string;
|
|
66
|
+
/** Bounded, schema-redacted public tool output; widget-only metadata is never included. */
|
|
67
|
+
readonly result: AssistantJsonValue;
|
|
68
|
+
readonly replayed?: true;
|
|
69
|
+
}
|
|
70
|
+
interface AssistantErrorEventDetail extends TurnDetail {
|
|
71
|
+
readonly code: string;
|
|
72
|
+
readonly status?: number;
|
|
73
|
+
readonly retryable?: boolean;
|
|
74
|
+
}
|
|
75
|
+
type AssistantContentEvent = NamedEvent<'content', AssistantContentDetail>;
|
|
76
|
+
type AssistantToolProposedEvent = NamedEvent<'tool_proposed', AssistantToolProposedDetail>;
|
|
77
|
+
type AssistantInputRequestedEvent = NamedEvent<'input_requested', AssistantInputRequestedDetail>;
|
|
78
|
+
type AssistantInteractionResolvedEvent = NamedEvent<'interaction_resolved', AssistantInteractionResolvedDetail>;
|
|
79
|
+
type AssistantToolCompletedEvent = NamedEvent<'tool_completed', AssistantToolCompletedDetail>;
|
|
80
|
+
type AssistantViewAvailableEvent = NamedEvent<'view_available', AssistantViewAvailableDetail>;
|
|
81
|
+
type AssistantErrorEvent = NamedEvent<'error', AssistantErrorEventDetail>;
|
|
82
|
+
type AssistantDoneEvent = NamedEvent<'done', TurnDetail>;
|
|
83
|
+
interface AssistantLegacyInteractionProposedDetail {
|
|
84
|
+
readonly id: string;
|
|
85
|
+
readonly tool?: string;
|
|
86
|
+
readonly title?: string;
|
|
87
|
+
readonly arguments?: AssistantJsonValue;
|
|
88
|
+
}
|
|
89
|
+
type AssistantContextValue$1 = string | number | boolean | null;
|
|
90
|
+
type AssistantClientLifecycleEvent = NamedEvent<'session_started', {
|
|
91
|
+
readonly expiresAt: string;
|
|
92
|
+
readonly configuration?: AssistantConfiguration;
|
|
93
|
+
}> | NamedEvent<'session_expired', Readonly<Record<string, never>>> | NamedEvent<'session_reset', Readonly<Record<string, never>>> | NamedEvent<'context_changed', {
|
|
94
|
+
readonly context: Readonly<Record<string, AssistantContextValue$1>>;
|
|
95
|
+
}> | NamedEvent<'model_context_changed', {
|
|
96
|
+
readonly modelContext: AssistantModelContextUpdate;
|
|
97
|
+
}> | NamedEvent<'message_started', {
|
|
98
|
+
readonly message: string;
|
|
99
|
+
}> | NamedEvent<'message_completed', Readonly<Record<string, never>>> | NamedEvent<'interaction_started', {
|
|
100
|
+
readonly id: string;
|
|
101
|
+
readonly action: 'accept' | 'decline' | 'cancel';
|
|
102
|
+
}> | NamedEvent<'interaction_completed', {
|
|
103
|
+
readonly id: string;
|
|
104
|
+
readonly action: 'accept' | 'decline' | 'cancel';
|
|
105
|
+
}>;
|
|
106
|
+
interface AssistantUnrecognizedEvent {
|
|
107
|
+
readonly event: 'unrecognized';
|
|
108
|
+
readonly data: {
|
|
109
|
+
readonly name: string;
|
|
110
|
+
readonly payload: Readonly<Record<string, unknown>>;
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
/** Closed event union for the DOM-free client; unknown future SSE names remain observable safely. */
|
|
114
|
+
type AssistantClientEvent = AssistantContentEvent | AssistantToolProposedEvent | AssistantInputRequestedEvent | AssistantInteractionResolvedEvent | AssistantToolCompletedEvent | AssistantViewAvailableEvent | AssistantErrorEvent | AssistantDoneEvent | NamedEvent<'interaction_proposed', AssistantLegacyInteractionProposedDetail> | AssistantClientLifecycleEvent | AssistantUnrecognizedEvent;
|
|
115
|
+
|
|
116
|
+
type AssistantContextValue = string | number | boolean | null;
|
|
117
|
+
type AssistantContext = Readonly<Record<string, AssistantContextValue>>;
|
|
118
|
+
interface AssistantClientContext {
|
|
119
|
+
readonly locale?: string;
|
|
120
|
+
readonly timeZone?: string;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
type AssistantInteractionResponse = {
|
|
124
|
+
readonly action: 'accept';
|
|
125
|
+
readonly content?: AssistantJsonValue;
|
|
126
|
+
} | {
|
|
127
|
+
readonly action: 'decline' | 'cancel';
|
|
128
|
+
};
|
|
129
|
+
interface AssistantSessionResponse {
|
|
130
|
+
readonly token: string;
|
|
131
|
+
readonly expiresAt: string;
|
|
132
|
+
readonly endpoints: {
|
|
133
|
+
readonly turns: string;
|
|
134
|
+
readonly toolConfirmations: string;
|
|
135
|
+
readonly interactions?: string;
|
|
136
|
+
};
|
|
137
|
+
readonly configuration?: AssistantConfiguration;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
interface CreateAssistantClientOptions {
|
|
141
|
+
readonly sessionEndpoint: string;
|
|
142
|
+
readonly fetch?: typeof fetch;
|
|
143
|
+
/** Untrusted page context sent only when exchanging a session. */
|
|
144
|
+
readonly context?: AssistantContext;
|
|
145
|
+
/** Untrusted presentation hints evaluated for every turn request. */
|
|
146
|
+
readonly clientContext?: AssistantClientContext | (() => AssistantClientContext | undefined);
|
|
147
|
+
/** Latest renderer-selected summary included as untrusted data on every message turn. */
|
|
148
|
+
readonly modelContext?: AssistantModelContextUpdate;
|
|
149
|
+
}
|
|
150
|
+
interface AssistantClient {
|
|
151
|
+
subscribe(listener: (event: AssistantClientEvent) => void): () => void;
|
|
152
|
+
connect(): Promise<void>;
|
|
153
|
+
sendMessage(message: string): Promise<void>;
|
|
154
|
+
respond(id: string, response: AssistantInteractionResponse): Promise<void>;
|
|
155
|
+
updateContext(context: AssistantContext): void;
|
|
156
|
+
updateModelContext(update: AssistantModelContextUpdate): void;
|
|
157
|
+
resetSession(): void;
|
|
158
|
+
abort(): void;
|
|
159
|
+
}
|
|
160
|
+
declare class AssistantClientError extends Error {
|
|
161
|
+
readonly detail: AssistantErrorDetail;
|
|
162
|
+
constructor(detail: AssistantErrorDetail, message: string, options?: ErrorOptions);
|
|
163
|
+
}
|
|
164
|
+
declare function createAssistantClient(options: CreateAssistantClientOptions): AssistantClient;
|
|
165
|
+
|
|
166
|
+
export { type AssistantErrorDetail as A, type AssistantToolProposedEvent as B, type AssistantUnrecognizedEvent as C, type CreateAssistantClientOptions as D, createAssistantClient as E, type AssistantViewAvailableDetail as a, type AssistantContext as b, type AssistantModelContextUpdate as c, type AssistantInteractionResponse as d, type AssistantEvent as e, type AssistantViewAvailableEvent as f, type AssistantClient as g, type AssistantClientContext as h, AssistantClientError as i, type AssistantClientEvent as j, type AssistantClientLifecycleEvent as k, type AssistantContentDetail as l, type AssistantContentEvent as m, type AssistantContextValue as n, type AssistantDoneEvent as o, type AssistantErrorEvent as p, type AssistantErrorEventDetail as q, type AssistantInputRequestedDetail as r, type AssistantInputRequestedEvent as s, type AssistantInteractionResolvedDetail as t, type AssistantInteractionResolvedEvent as u, type AssistantJsonValue as v, type AssistantSessionResponse as w, type AssistantToolCompletedDetail as x, type AssistantToolCompletedEvent as y, type AssistantToolProposedDetail as z };
|