@copilotkit/runtime-client-gql 1.5.1-test-custom-tag-prerelease-1.0 → 1.5.2-next.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/CHANGELOG.md +55 -4
- package/package.json +3 -3
- package/src/client/CopilotRuntimeClient.ts +25 -14
- package/src/graphql/definitions/queries.ts +13 -0
- package/dist/chunk-7ECCT6PK.mjs +0 -1
- package/dist/chunk-7ECCT6PK.mjs.map +0 -1
- package/dist/chunk-ACDKKTFY.mjs +0 -77
- package/dist/chunk-ACDKKTFY.mjs.map +0 -1
- package/dist/chunk-BYWDDBGW.mjs +0 -86
- package/dist/chunk-BYWDDBGW.mjs.map +0 -1
- package/dist/chunk-FK5N2ZKU.mjs +0 -81
- package/dist/chunk-FK5N2ZKU.mjs.map +0 -1
- package/dist/chunk-QCGJU5JF.mjs +0 -200
- package/dist/chunk-QCGJU5JF.mjs.map +0 -1
- package/dist/chunk-TPGZVGXM.mjs +0 -52
- package/dist/chunk-TPGZVGXM.mjs.map +0 -1
- package/dist/client/CopilotRuntimeClient.d.ts +0 -30
- package/dist/client/CopilotRuntimeClient.js +0 -182
- package/dist/client/CopilotRuntimeClient.js.map +0 -1
- package/dist/client/CopilotRuntimeClient.mjs +0 -9
- package/dist/client/CopilotRuntimeClient.mjs.map +0 -1
- package/dist/client/conversion.d.ts +0 -11
- package/dist/client/conversion.js +0 -296
- package/dist/client/conversion.js.map +0 -1
- package/dist/client/conversion.mjs +0 -17
- package/dist/client/conversion.mjs.map +0 -1
- package/dist/client/index.d.ts +0 -8
- package/dist/client/index.js +0 -472
- package/dist/client/index.js.map +0 -1
- package/dist/client/index.mjs +0 -36
- package/dist/client/index.mjs.map +0 -1
- package/dist/client/types.d.ts +0 -55
- package/dist/client/types.js +0 -113
- package/dist/client/types.js.map +0 -1
- package/dist/client/types.mjs +0 -18
- package/dist/client/types.mjs.map +0 -1
- package/dist/graphql/definitions/mutations.d.ts +0 -9
- package/dist/graphql/definitions/mutations.js +0 -111
- package/dist/graphql/definitions/mutations.js.map +0 -1
- package/dist/graphql/definitions/mutations.mjs +0 -8
- package/dist/graphql/definitions/mutations.mjs.map +0 -1
- package/dist/graphql-f7416114.d.ts +0 -395
- package/dist/index.d.ts +0 -8
- package/dist/index.js +0 -518
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -51
- package/dist/index.mjs.map +0 -1
- package/src/graphql/@generated/fragment-masking.ts +0 -87
- package/src/graphql/@generated/gql.ts +0 -42
- package/src/graphql/@generated/graphql.ts +0 -298
- package/src/graphql/@generated/index.ts +0 -2
|
@@ -1,395 +0,0 @@
|
|
|
1
|
-
import { TypedDocumentNode } from '@graphql-typed-document-node/core';
|
|
2
|
-
|
|
3
|
-
type Maybe<T> = T | null;
|
|
4
|
-
type InputMaybe<T> = Maybe<T>;
|
|
5
|
-
type Exact<T extends {
|
|
6
|
-
[key: string]: unknown;
|
|
7
|
-
}> = {
|
|
8
|
-
[K in keyof T]: T[K];
|
|
9
|
-
};
|
|
10
|
-
type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
11
|
-
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
12
|
-
};
|
|
13
|
-
type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
14
|
-
[SubKey in K]: Maybe<T[SubKey]>;
|
|
15
|
-
};
|
|
16
|
-
type MakeEmpty<T extends {
|
|
17
|
-
[key: string]: unknown;
|
|
18
|
-
}, K extends keyof T> = {
|
|
19
|
-
[_ in K]?: never;
|
|
20
|
-
};
|
|
21
|
-
type Incremental<T> = T | {
|
|
22
|
-
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
23
|
-
};
|
|
24
|
-
/** All built-in and custom scalars, mapped to their actual values */
|
|
25
|
-
type Scalars = {
|
|
26
|
-
ID: {
|
|
27
|
-
input: string;
|
|
28
|
-
output: string;
|
|
29
|
-
};
|
|
30
|
-
String: {
|
|
31
|
-
input: string;
|
|
32
|
-
output: string;
|
|
33
|
-
};
|
|
34
|
-
Boolean: {
|
|
35
|
-
input: boolean;
|
|
36
|
-
output: boolean;
|
|
37
|
-
};
|
|
38
|
-
Int: {
|
|
39
|
-
input: number;
|
|
40
|
-
output: number;
|
|
41
|
-
};
|
|
42
|
-
Float: {
|
|
43
|
-
input: number;
|
|
44
|
-
output: number;
|
|
45
|
-
};
|
|
46
|
-
/** A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.This scalar is serialized to a string in ISO 8601 format and parsed from a string in ISO 8601 format. */
|
|
47
|
-
DateTimeISO: {
|
|
48
|
-
input: any;
|
|
49
|
-
output: any;
|
|
50
|
-
};
|
|
51
|
-
/** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
|
|
52
|
-
JSON: {
|
|
53
|
-
input: any;
|
|
54
|
-
output: any;
|
|
55
|
-
};
|
|
56
|
-
/** The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
|
|
57
|
-
JSONObject: {
|
|
58
|
-
input: any;
|
|
59
|
-
output: any;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
type ActionExecutionMessageInput = {
|
|
63
|
-
arguments: Scalars['String']['input'];
|
|
64
|
-
name: Scalars['String']['input'];
|
|
65
|
-
parentMessageId?: InputMaybe<Scalars['String']['input']>;
|
|
66
|
-
/** @deprecated This field will be removed in a future version */
|
|
67
|
-
scope?: InputMaybe<Scalars['String']['input']>;
|
|
68
|
-
};
|
|
69
|
-
type ActionExecutionMessageOutput = BaseMessageOutput & {
|
|
70
|
-
__typename?: 'ActionExecutionMessageOutput';
|
|
71
|
-
arguments: Array<Scalars['String']['output']>;
|
|
72
|
-
createdAt: Scalars['DateTimeISO']['output'];
|
|
73
|
-
id: Scalars['String']['output'];
|
|
74
|
-
name: Scalars['String']['output'];
|
|
75
|
-
parentMessageId?: Maybe<Scalars['String']['output']>;
|
|
76
|
-
/** @deprecated This field will be removed in a future version */
|
|
77
|
-
scope?: Maybe<Scalars['String']['output']>;
|
|
78
|
-
status: MessageStatus;
|
|
79
|
-
};
|
|
80
|
-
type ActionInput = {
|
|
81
|
-
available?: InputMaybe<ActionInputAvailability>;
|
|
82
|
-
description: Scalars['String']['input'];
|
|
83
|
-
jsonSchema: Scalars['String']['input'];
|
|
84
|
-
name: Scalars['String']['input'];
|
|
85
|
-
};
|
|
86
|
-
/** The availability of the frontend action */
|
|
87
|
-
declare enum ActionInputAvailability {
|
|
88
|
-
Disabled = "disabled",
|
|
89
|
-
Enabled = "enabled",
|
|
90
|
-
Remote = "remote"
|
|
91
|
-
}
|
|
92
|
-
type AgentSessionInput = {
|
|
93
|
-
agentName: Scalars['String']['input'];
|
|
94
|
-
nodeName?: InputMaybe<Scalars['String']['input']>;
|
|
95
|
-
threadId?: InputMaybe<Scalars['String']['input']>;
|
|
96
|
-
};
|
|
97
|
-
type AgentStateInput = {
|
|
98
|
-
agentName: Scalars['String']['input'];
|
|
99
|
-
state: Scalars['String']['input'];
|
|
100
|
-
};
|
|
101
|
-
type AgentStateMessageInput = {
|
|
102
|
-
active: Scalars['Boolean']['input'];
|
|
103
|
-
agentName: Scalars['String']['input'];
|
|
104
|
-
nodeName: Scalars['String']['input'];
|
|
105
|
-
role: MessageRole;
|
|
106
|
-
runId: Scalars['String']['input'];
|
|
107
|
-
running: Scalars['Boolean']['input'];
|
|
108
|
-
state: Scalars['String']['input'];
|
|
109
|
-
threadId: Scalars['String']['input'];
|
|
110
|
-
};
|
|
111
|
-
type AgentStateMessageOutput = BaseMessageOutput & {
|
|
112
|
-
__typename?: 'AgentStateMessageOutput';
|
|
113
|
-
active: Scalars['Boolean']['output'];
|
|
114
|
-
agentName: Scalars['String']['output'];
|
|
115
|
-
createdAt: Scalars['DateTimeISO']['output'];
|
|
116
|
-
id: Scalars['String']['output'];
|
|
117
|
-
nodeName: Scalars['String']['output'];
|
|
118
|
-
role: MessageRole;
|
|
119
|
-
runId: Scalars['String']['output'];
|
|
120
|
-
running: Scalars['Boolean']['output'];
|
|
121
|
-
state: Scalars['String']['output'];
|
|
122
|
-
status: MessageStatus;
|
|
123
|
-
threadId: Scalars['String']['output'];
|
|
124
|
-
};
|
|
125
|
-
type BaseMessageOutput = {
|
|
126
|
-
createdAt: Scalars['DateTimeISO']['output'];
|
|
127
|
-
id: Scalars['String']['output'];
|
|
128
|
-
status: MessageStatus;
|
|
129
|
-
};
|
|
130
|
-
type BaseResponseStatus = {
|
|
131
|
-
code: ResponseStatusCode;
|
|
132
|
-
};
|
|
133
|
-
type CloudInput = {
|
|
134
|
-
guardrails?: InputMaybe<GuardrailsInput>;
|
|
135
|
-
};
|
|
136
|
-
/** The type of Copilot request */
|
|
137
|
-
declare enum CopilotRequestType {
|
|
138
|
-
Chat = "Chat",
|
|
139
|
-
Suggestion = "Suggestion",
|
|
140
|
-
Task = "Task",
|
|
141
|
-
TextareaCompletion = "TextareaCompletion",
|
|
142
|
-
TextareaPopover = "TextareaPopover"
|
|
143
|
-
}
|
|
144
|
-
type CopilotResponse = {
|
|
145
|
-
__typename?: 'CopilotResponse';
|
|
146
|
-
messages: Array<BaseMessageOutput>;
|
|
147
|
-
runId?: Maybe<Scalars['String']['output']>;
|
|
148
|
-
status: ResponseStatus;
|
|
149
|
-
threadId: Scalars['String']['output'];
|
|
150
|
-
};
|
|
151
|
-
type FailedMessageStatus = {
|
|
152
|
-
__typename?: 'FailedMessageStatus';
|
|
153
|
-
code: MessageStatusCode;
|
|
154
|
-
reason: Scalars['String']['output'];
|
|
155
|
-
};
|
|
156
|
-
type FailedResponseStatus = BaseResponseStatus & {
|
|
157
|
-
__typename?: 'FailedResponseStatus';
|
|
158
|
-
code: ResponseStatusCode;
|
|
159
|
-
details?: Maybe<Scalars['JSON']['output']>;
|
|
160
|
-
reason: FailedResponseStatusReason;
|
|
161
|
-
};
|
|
162
|
-
declare enum FailedResponseStatusReason {
|
|
163
|
-
GuardrailsValidationFailed = "GUARDRAILS_VALIDATION_FAILED",
|
|
164
|
-
MessageStreamInterrupted = "MESSAGE_STREAM_INTERRUPTED",
|
|
165
|
-
UnknownError = "UNKNOWN_ERROR"
|
|
166
|
-
}
|
|
167
|
-
type ForwardedParametersInput = {
|
|
168
|
-
maxTokens?: InputMaybe<Scalars['Float']['input']>;
|
|
169
|
-
model?: InputMaybe<Scalars['String']['input']>;
|
|
170
|
-
stop?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
171
|
-
temperature?: InputMaybe<Scalars['Float']['input']>;
|
|
172
|
-
toolChoice?: InputMaybe<Scalars['String']['input']>;
|
|
173
|
-
toolChoiceFunctionName?: InputMaybe<Scalars['String']['input']>;
|
|
174
|
-
};
|
|
175
|
-
type FrontendInput = {
|
|
176
|
-
actions: Array<ActionInput>;
|
|
177
|
-
toDeprecate_fullContext?: InputMaybe<Scalars['String']['input']>;
|
|
178
|
-
url?: InputMaybe<Scalars['String']['input']>;
|
|
179
|
-
};
|
|
180
|
-
type GenerateCopilotResponseInput = {
|
|
181
|
-
agentSession?: InputMaybe<AgentSessionInput>;
|
|
182
|
-
agentState?: InputMaybe<AgentStateInput>;
|
|
183
|
-
agentStates?: InputMaybe<Array<AgentStateInput>>;
|
|
184
|
-
cloud?: InputMaybe<CloudInput>;
|
|
185
|
-
forwardedParameters?: InputMaybe<ForwardedParametersInput>;
|
|
186
|
-
frontend: FrontendInput;
|
|
187
|
-
messages: Array<MessageInput>;
|
|
188
|
-
metadata: GenerateCopilotResponseMetadataInput;
|
|
189
|
-
runId?: InputMaybe<Scalars['String']['input']>;
|
|
190
|
-
threadId?: InputMaybe<Scalars['String']['input']>;
|
|
191
|
-
};
|
|
192
|
-
type GenerateCopilotResponseMetadataInput = {
|
|
193
|
-
requestType?: InputMaybe<CopilotRequestType>;
|
|
194
|
-
};
|
|
195
|
-
type GuardrailsInput = {
|
|
196
|
-
inputValidationRules: GuardrailsRuleInput;
|
|
197
|
-
};
|
|
198
|
-
type GuardrailsRuleInput = {
|
|
199
|
-
allowList?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
200
|
-
denyList?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
201
|
-
};
|
|
202
|
-
type MessageInput = {
|
|
203
|
-
actionExecutionMessage?: InputMaybe<ActionExecutionMessageInput>;
|
|
204
|
-
agentStateMessage?: InputMaybe<AgentStateMessageInput>;
|
|
205
|
-
createdAt: Scalars['DateTimeISO']['input'];
|
|
206
|
-
id: Scalars['String']['input'];
|
|
207
|
-
resultMessage?: InputMaybe<ResultMessageInput>;
|
|
208
|
-
textMessage?: InputMaybe<TextMessageInput>;
|
|
209
|
-
};
|
|
210
|
-
/** The role of the message */
|
|
211
|
-
declare enum MessageRole {
|
|
212
|
-
Assistant = "assistant",
|
|
213
|
-
System = "system",
|
|
214
|
-
Tool = "tool",
|
|
215
|
-
User = "user"
|
|
216
|
-
}
|
|
217
|
-
type MessageStatus = FailedMessageStatus | PendingMessageStatus | SuccessMessageStatus;
|
|
218
|
-
declare enum MessageStatusCode {
|
|
219
|
-
Failed = "Failed",
|
|
220
|
-
Pending = "Pending",
|
|
221
|
-
Success = "Success"
|
|
222
|
-
}
|
|
223
|
-
type Mutation = {
|
|
224
|
-
__typename?: 'Mutation';
|
|
225
|
-
generateCopilotResponse: CopilotResponse;
|
|
226
|
-
};
|
|
227
|
-
type MutationGenerateCopilotResponseArgs = {
|
|
228
|
-
data: GenerateCopilotResponseInput;
|
|
229
|
-
properties?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
230
|
-
};
|
|
231
|
-
type PendingMessageStatus = {
|
|
232
|
-
__typename?: 'PendingMessageStatus';
|
|
233
|
-
code: MessageStatusCode;
|
|
234
|
-
};
|
|
235
|
-
type PendingResponseStatus = BaseResponseStatus & {
|
|
236
|
-
__typename?: 'PendingResponseStatus';
|
|
237
|
-
code: ResponseStatusCode;
|
|
238
|
-
};
|
|
239
|
-
type Query = {
|
|
240
|
-
__typename?: 'Query';
|
|
241
|
-
hello: Scalars['String']['output'];
|
|
242
|
-
};
|
|
243
|
-
type ResponseStatus = FailedResponseStatus | PendingResponseStatus | SuccessResponseStatus;
|
|
244
|
-
declare enum ResponseStatusCode {
|
|
245
|
-
Failed = "Failed",
|
|
246
|
-
Pending = "Pending",
|
|
247
|
-
Success = "Success"
|
|
248
|
-
}
|
|
249
|
-
type ResultMessageInput = {
|
|
250
|
-
actionExecutionId: Scalars['String']['input'];
|
|
251
|
-
actionName: Scalars['String']['input'];
|
|
252
|
-
parentMessageId?: InputMaybe<Scalars['String']['input']>;
|
|
253
|
-
result: Scalars['String']['input'];
|
|
254
|
-
};
|
|
255
|
-
type ResultMessageOutput = BaseMessageOutput & {
|
|
256
|
-
__typename?: 'ResultMessageOutput';
|
|
257
|
-
actionExecutionId: Scalars['String']['output'];
|
|
258
|
-
actionName: Scalars['String']['output'];
|
|
259
|
-
createdAt: Scalars['DateTimeISO']['output'];
|
|
260
|
-
id: Scalars['String']['output'];
|
|
261
|
-
result: Scalars['String']['output'];
|
|
262
|
-
status: MessageStatus;
|
|
263
|
-
};
|
|
264
|
-
type SuccessMessageStatus = {
|
|
265
|
-
__typename?: 'SuccessMessageStatus';
|
|
266
|
-
code: MessageStatusCode;
|
|
267
|
-
};
|
|
268
|
-
type SuccessResponseStatus = BaseResponseStatus & {
|
|
269
|
-
__typename?: 'SuccessResponseStatus';
|
|
270
|
-
code: ResponseStatusCode;
|
|
271
|
-
};
|
|
272
|
-
type TextMessageInput = {
|
|
273
|
-
content: Scalars['String']['input'];
|
|
274
|
-
parentMessageId?: InputMaybe<Scalars['String']['input']>;
|
|
275
|
-
role: MessageRole;
|
|
276
|
-
};
|
|
277
|
-
type TextMessageOutput = BaseMessageOutput & {
|
|
278
|
-
__typename?: 'TextMessageOutput';
|
|
279
|
-
content: Array<Scalars['String']['output']>;
|
|
280
|
-
createdAt: Scalars['DateTimeISO']['output'];
|
|
281
|
-
id: Scalars['String']['output'];
|
|
282
|
-
parentMessageId?: Maybe<Scalars['String']['output']>;
|
|
283
|
-
role: MessageRole;
|
|
284
|
-
status: MessageStatus;
|
|
285
|
-
};
|
|
286
|
-
type GenerateCopilotResponseMutationVariables = Exact<{
|
|
287
|
-
data: GenerateCopilotResponseInput;
|
|
288
|
-
properties?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
289
|
-
}>;
|
|
290
|
-
type GenerateCopilotResponseMutation = {
|
|
291
|
-
__typename?: 'Mutation';
|
|
292
|
-
generateCopilotResponse: {
|
|
293
|
-
__typename?: 'CopilotResponse';
|
|
294
|
-
threadId: string;
|
|
295
|
-
runId?: string | null;
|
|
296
|
-
messages: Array<{
|
|
297
|
-
__typename: 'ActionExecutionMessageOutput';
|
|
298
|
-
id: string;
|
|
299
|
-
createdAt: any;
|
|
300
|
-
name: string;
|
|
301
|
-
arguments: Array<string>;
|
|
302
|
-
parentMessageId?: string | null;
|
|
303
|
-
status: {
|
|
304
|
-
__typename?: 'FailedMessageStatus';
|
|
305
|
-
code: MessageStatusCode;
|
|
306
|
-
reason: string;
|
|
307
|
-
} | {
|
|
308
|
-
__typename?: 'PendingMessageStatus';
|
|
309
|
-
code: MessageStatusCode;
|
|
310
|
-
} | {
|
|
311
|
-
__typename?: 'SuccessMessageStatus';
|
|
312
|
-
code: MessageStatusCode;
|
|
313
|
-
};
|
|
314
|
-
} | {
|
|
315
|
-
__typename: 'AgentStateMessageOutput';
|
|
316
|
-
id: string;
|
|
317
|
-
createdAt: any;
|
|
318
|
-
threadId: string;
|
|
319
|
-
state: string;
|
|
320
|
-
running: boolean;
|
|
321
|
-
agentName: string;
|
|
322
|
-
nodeName: string;
|
|
323
|
-
runId: string;
|
|
324
|
-
active: boolean;
|
|
325
|
-
role: MessageRole;
|
|
326
|
-
status: {
|
|
327
|
-
__typename?: 'FailedMessageStatus';
|
|
328
|
-
code: MessageStatusCode;
|
|
329
|
-
reason: string;
|
|
330
|
-
} | {
|
|
331
|
-
__typename?: 'PendingMessageStatus';
|
|
332
|
-
code: MessageStatusCode;
|
|
333
|
-
} | {
|
|
334
|
-
__typename?: 'SuccessMessageStatus';
|
|
335
|
-
code: MessageStatusCode;
|
|
336
|
-
};
|
|
337
|
-
} | {
|
|
338
|
-
__typename: 'ResultMessageOutput';
|
|
339
|
-
id: string;
|
|
340
|
-
createdAt: any;
|
|
341
|
-
result: string;
|
|
342
|
-
actionExecutionId: string;
|
|
343
|
-
actionName: string;
|
|
344
|
-
status: {
|
|
345
|
-
__typename?: 'FailedMessageStatus';
|
|
346
|
-
code: MessageStatusCode;
|
|
347
|
-
reason: string;
|
|
348
|
-
} | {
|
|
349
|
-
__typename?: 'PendingMessageStatus';
|
|
350
|
-
code: MessageStatusCode;
|
|
351
|
-
} | {
|
|
352
|
-
__typename?: 'SuccessMessageStatus';
|
|
353
|
-
code: MessageStatusCode;
|
|
354
|
-
};
|
|
355
|
-
} | {
|
|
356
|
-
__typename: 'TextMessageOutput';
|
|
357
|
-
id: string;
|
|
358
|
-
createdAt: any;
|
|
359
|
-
content: Array<string>;
|
|
360
|
-
role: MessageRole;
|
|
361
|
-
parentMessageId?: string | null;
|
|
362
|
-
status: {
|
|
363
|
-
__typename?: 'FailedMessageStatus';
|
|
364
|
-
code: MessageStatusCode;
|
|
365
|
-
reason: string;
|
|
366
|
-
} | {
|
|
367
|
-
__typename?: 'PendingMessageStatus';
|
|
368
|
-
code: MessageStatusCode;
|
|
369
|
-
} | {
|
|
370
|
-
__typename?: 'SuccessMessageStatus';
|
|
371
|
-
code: MessageStatusCode;
|
|
372
|
-
};
|
|
373
|
-
}>;
|
|
374
|
-
} & ({
|
|
375
|
-
__typename?: 'CopilotResponse';
|
|
376
|
-
status: {
|
|
377
|
-
__typename?: 'FailedResponseStatus';
|
|
378
|
-
code: ResponseStatusCode;
|
|
379
|
-
reason: FailedResponseStatusReason;
|
|
380
|
-
details?: any | null;
|
|
381
|
-
} | {
|
|
382
|
-
__typename?: 'PendingResponseStatus';
|
|
383
|
-
code: ResponseStatusCode;
|
|
384
|
-
} | {
|
|
385
|
-
__typename?: 'SuccessResponseStatus';
|
|
386
|
-
code: ResponseStatusCode;
|
|
387
|
-
};
|
|
388
|
-
} | {
|
|
389
|
-
__typename?: 'CopilotResponse';
|
|
390
|
-
status?: never;
|
|
391
|
-
});
|
|
392
|
-
};
|
|
393
|
-
declare const GenerateCopilotResponseDocument: TypedDocumentNode<GenerateCopilotResponseMutation, GenerateCopilotResponseMutationVariables>;
|
|
394
|
-
|
|
395
|
-
export { ActionExecutionMessageInput as A, BaseMessageOutput as B, CloudInput as C, MutationGenerateCopilotResponseArgs as D, Exact as E, FailedMessageStatus as F, GenerateCopilotResponseInput as G, PendingResponseStatus as H, InputMaybe as I, ResponseStatusCode as J, ResultMessageInput as K, ResultMessageOutput as L, Maybe as M, SuccessMessageStatus as N, SuccessResponseStatus as O, PendingMessageStatus as P, Query as Q, ResponseStatus as R, Scalars as S, TextMessageInput as T, TextMessageOutput as U, GenerateCopilotResponseMutationVariables as V, GenerateCopilotResponseMutation as W, GenerateCopilotResponseDocument as X, MakeOptional as a, MakeMaybe as b, MakeEmpty as c, Incremental as d, ActionExecutionMessageOutput as e, ActionInput as f, ActionInputAvailability as g, AgentSessionInput as h, AgentStateInput as i, AgentStateMessageInput as j, AgentStateMessageOutput as k, BaseResponseStatus as l, CopilotRequestType as m, CopilotResponse as n, FailedResponseStatus as o, FailedResponseStatusReason as p, ForwardedParametersInput as q, FrontendInput as r, GenerateCopilotResponseMetadataInput as s, GuardrailsInput as t, GuardrailsRuleInput as u, MessageInput as v, MessageRole as w, MessageStatus as x, MessageStatusCode as y, Mutation as z };
|
package/dist/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { CopilotRuntimeClient, CopilotRuntimeClientOptions } from './client/CopilotRuntimeClient.js';
|
|
2
|
-
export { convertGqlOutputToMessages, convertMessagesToGqlInput, filterAdjacentAgentStateMessages, filterAgentStateMessages, loadMessagesFromJsonRepresentation } from './client/conversion.js';
|
|
3
|
-
export { ActionExecutionMessage, AgentStateMessage, Message, ResultMessage, Role, TextMessage } from './client/types.js';
|
|
4
|
-
export { GraphQLError } from 'graphql';
|
|
5
|
-
export { A as ActionExecutionMessageInput, e as ActionExecutionMessageOutput, f as ActionInput, g as ActionInputAvailability, h as AgentSessionInput, i as AgentStateInput, j as AgentStateMessageInput, k as AgentStateMessageOutput, B as BaseMessageOutput, l as BaseResponseStatus, C as CloudInput, m as CopilotRequestType, n as CopilotResponse, E as Exact, F as FailedMessageStatus, o as FailedResponseStatus, p as FailedResponseStatusReason, q as ForwardedParametersInput, r as FrontendInput, X as GenerateCopilotResponseDocument, G as GenerateCopilotResponseInput, s as GenerateCopilotResponseMetadataInput, W as GenerateCopilotResponseMutation, V as GenerateCopilotResponseMutationVariables, t as GuardrailsInput, u as GuardrailsRuleInput, d as Incremental, I as InputMaybe, c as MakeEmpty, b as MakeMaybe, a as MakeOptional, M as Maybe, v as MessageInput, w as MessageRole, x as MessageStatus, y as MessageStatusCode, z as Mutation, D as MutationGenerateCopilotResponseArgs, P as PendingMessageStatus, H as PendingResponseStatus, Q as Query, R as ResponseStatus, J as ResponseStatusCode, K as ResultMessageInput, L as ResultMessageOutput, S as Scalars, N as SuccessMessageStatus, O as SuccessResponseStatus, T as TextMessageInput, U as TextMessageOutput } from './graphql-f7416114.js';
|
|
6
|
-
import '@urql/core';
|
|
7
|
-
import 'urql';
|
|
8
|
-
import '@graphql-typed-document-node/core';
|