@copilotkit/runtime-client-gql 1.5.1-next.3 → 1.5.1-next.4

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.
Files changed (72) hide show
  1. package/CHANGELOG.md +10 -2
  2. package/package.json +3 -3
  3. package/dist/chunk-6AYEPQA6.mjs +0 -16
  4. package/dist/chunk-6AYEPQA6.mjs.map +0 -1
  5. package/dist/chunk-7ECCT6PK.mjs +0 -1
  6. package/dist/chunk-7ECCT6PK.mjs.map +0 -1
  7. package/dist/chunk-ET5D6GZX.mjs +0 -59
  8. package/dist/chunk-ET5D6GZX.mjs.map +0 -1
  9. package/dist/chunk-J3B45FEM.mjs +0 -71
  10. package/dist/chunk-J3B45FEM.mjs.map +0 -1
  11. package/dist/chunk-K6FVPY4T.mjs +0 -77
  12. package/dist/chunk-K6FVPY4T.mjs.map +0 -1
  13. package/dist/chunk-OVSA5AEZ.mjs +0 -142
  14. package/dist/chunk-OVSA5AEZ.mjs.map +0 -1
  15. package/dist/chunk-RVARJFWJ.mjs +0 -77
  16. package/dist/chunk-RVARJFWJ.mjs.map +0 -1
  17. package/dist/chunk-XZPL6QVK.mjs +0 -24
  18. package/dist/chunk-XZPL6QVK.mjs.map +0 -1
  19. package/dist/client/CopilotRuntimeClient.d.ts +0 -30
  20. package/dist/client/CopilotRuntimeClient.js +0 -171
  21. package/dist/client/CopilotRuntimeClient.js.map +0 -1
  22. package/dist/client/CopilotRuntimeClient.mjs +0 -10
  23. package/dist/client/CopilotRuntimeClient.mjs.map +0 -1
  24. package/dist/client/conversion.d.ts +0 -10
  25. package/dist/client/conversion.js +0 -237
  26. package/dist/client/conversion.js.map +0 -1
  27. package/dist/client/conversion.mjs +0 -15
  28. package/dist/client/conversion.mjs.map +0 -1
  29. package/dist/client/index.d.ts +0 -8
  30. package/dist/client/index.js +0 -402
  31. package/dist/client/index.js.map +0 -1
  32. package/dist/client/index.mjs +0 -35
  33. package/dist/client/index.mjs.map +0 -1
  34. package/dist/client/types.d.ts +0 -54
  35. package/dist/client/types.js +0 -113
  36. package/dist/client/types.js.map +0 -1
  37. package/dist/client/types.mjs +0 -18
  38. package/dist/client/types.mjs.map +0 -1
  39. package/dist/graphql/@generated/fragment-masking.d.ts +0 -22
  40. package/dist/graphql/@generated/fragment-masking.js +0 -50
  41. package/dist/graphql/@generated/fragment-masking.js.map +0 -1
  42. package/dist/graphql/@generated/fragment-masking.mjs +0 -11
  43. package/dist/graphql/@generated/fragment-masking.mjs.map +0 -1
  44. package/dist/graphql/@generated/gql.d.ts +0 -39
  45. package/dist/graphql/@generated/gql.js +0 -41
  46. package/dist/graphql/@generated/gql.js.map +0 -1
  47. package/dist/graphql/@generated/gql.mjs +0 -8
  48. package/dist/graphql/@generated/gql.mjs.map +0 -1
  49. package/dist/graphql/@generated/graphql.d.ts +0 -392
  50. package/dist/graphql/@generated/graphql.js +0 -90
  51. package/dist/graphql/@generated/graphql.js.map +0 -1
  52. package/dist/graphql/@generated/graphql.mjs +0 -21
  53. package/dist/graphql/@generated/graphql.mjs.map +0 -1
  54. package/dist/graphql/@generated/index.d.ts +0 -4
  55. package/dist/graphql/@generated/index.js +0 -65
  56. package/dist/graphql/@generated/index.js.map +0 -1
  57. package/dist/graphql/@generated/index.mjs +0 -16
  58. package/dist/graphql/@generated/index.mjs.map +0 -1
  59. package/dist/graphql/definitions/mutations.d.ts +0 -9
  60. package/dist/graphql/definitions/mutations.js +0 -110
  61. package/dist/graphql/definitions/mutations.js.map +0 -1
  62. package/dist/graphql/definitions/mutations.mjs +0 -9
  63. package/dist/graphql/definitions/mutations.mjs.map +0 -1
  64. package/dist/index.d.ts +0 -8
  65. package/dist/index.js +0 -456
  66. package/dist/index.js.map +0 -1
  67. package/dist/index.mjs +0 -52
  68. package/dist/index.mjs.map +0 -1
  69. package/src/graphql/@generated/fragment-masking.ts +0 -87
  70. package/src/graphql/@generated/gql.ts +0 -42
  71. package/src/graphql/@generated/graphql.ts +0 -297
  72. package/src/graphql/@generated/index.ts +0 -2
@@ -1,392 +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
- scope: ActionExecutionScope;
66
- };
67
- type ActionExecutionMessageOutput = BaseMessageOutput & {
68
- __typename?: 'ActionExecutionMessageOutput';
69
- arguments: Array<Scalars['String']['output']>;
70
- createdAt: Scalars['DateTimeISO']['output'];
71
- id: Scalars['String']['output'];
72
- name: Scalars['String']['output'];
73
- scope: ActionExecutionScope;
74
- status: MessageStatus;
75
- };
76
- /** The scope of the action */
77
- declare enum ActionExecutionScope {
78
- Client = "client",
79
- PassThrough = "passThrough",
80
- Server = "server"
81
- }
82
- type ActionInput = {
83
- available?: InputMaybe<ActionInputAvailability>;
84
- description: Scalars['String']['input'];
85
- jsonSchema: Scalars['String']['input'];
86
- name: Scalars['String']['input'];
87
- };
88
- /** The availability of the frontend action */
89
- declare enum ActionInputAvailability {
90
- Disabled = "disabled",
91
- Enabled = "enabled",
92
- Remote = "remote"
93
- }
94
- type AgentSessionInput = {
95
- agentName: Scalars['String']['input'];
96
- nodeName?: InputMaybe<Scalars['String']['input']>;
97
- threadId?: InputMaybe<Scalars['String']['input']>;
98
- };
99
- type AgentStateInput = {
100
- agentName: Scalars['String']['input'];
101
- state: Scalars['String']['input'];
102
- };
103
- type AgentStateMessageInput = {
104
- active: Scalars['Boolean']['input'];
105
- agentName: Scalars['String']['input'];
106
- nodeName: Scalars['String']['input'];
107
- role: MessageRole;
108
- runId: Scalars['String']['input'];
109
- running: Scalars['Boolean']['input'];
110
- state: Scalars['String']['input'];
111
- threadId: Scalars['String']['input'];
112
- };
113
- type AgentStateMessageOutput = BaseMessageOutput & {
114
- __typename?: 'AgentStateMessageOutput';
115
- active: Scalars['Boolean']['output'];
116
- agentName: Scalars['String']['output'];
117
- createdAt: Scalars['DateTimeISO']['output'];
118
- id: Scalars['String']['output'];
119
- nodeName: Scalars['String']['output'];
120
- role: MessageRole;
121
- runId: Scalars['String']['output'];
122
- running: Scalars['Boolean']['output'];
123
- state: Scalars['String']['output'];
124
- status: MessageStatus;
125
- threadId: Scalars['String']['output'];
126
- };
127
- type BaseMessageOutput = {
128
- createdAt: Scalars['DateTimeISO']['output'];
129
- id: Scalars['String']['output'];
130
- status: MessageStatus;
131
- };
132
- type BaseResponseStatus = {
133
- code: ResponseStatusCode;
134
- };
135
- type CloudInput = {
136
- guardrails?: InputMaybe<GuardrailsInput>;
137
- };
138
- /** The type of Copilot request */
139
- declare enum CopilotRequestType {
140
- Chat = "Chat",
141
- Suggestion = "Suggestion",
142
- Task = "Task",
143
- TextareaCompletion = "TextareaCompletion",
144
- TextareaPopover = "TextareaPopover"
145
- }
146
- type CopilotResponse = {
147
- __typename?: 'CopilotResponse';
148
- messages: Array<BaseMessageOutput>;
149
- runId?: Maybe<Scalars['String']['output']>;
150
- status: ResponseStatus;
151
- threadId: Scalars['String']['output'];
152
- };
153
- type FailedMessageStatus = {
154
- __typename?: 'FailedMessageStatus';
155
- code: MessageStatusCode;
156
- reason: Scalars['String']['output'];
157
- };
158
- type FailedResponseStatus = BaseResponseStatus & {
159
- __typename?: 'FailedResponseStatus';
160
- code: ResponseStatusCode;
161
- details?: Maybe<Scalars['JSON']['output']>;
162
- reason: FailedResponseStatusReason;
163
- };
164
- declare enum FailedResponseStatusReason {
165
- GuardrailsValidationFailed = "GUARDRAILS_VALIDATION_FAILED",
166
- MessageStreamInterrupted = "MESSAGE_STREAM_INTERRUPTED",
167
- UnknownError = "UNKNOWN_ERROR"
168
- }
169
- type ForwardedParametersInput = {
170
- maxTokens?: InputMaybe<Scalars['Float']['input']>;
171
- model?: InputMaybe<Scalars['String']['input']>;
172
- stop?: InputMaybe<Array<Scalars['String']['input']>>;
173
- toolChoice?: InputMaybe<Scalars['String']['input']>;
174
- toolChoiceFunctionName?: InputMaybe<Scalars['String']['input']>;
175
- };
176
- type FrontendInput = {
177
- actions: Array<ActionInput>;
178
- toDeprecate_fullContext?: InputMaybe<Scalars['String']['input']>;
179
- url?: InputMaybe<Scalars['String']['input']>;
180
- };
181
- type GenerateCopilotResponseInput = {
182
- agentSession?: InputMaybe<AgentSessionInput>;
183
- agentState?: InputMaybe<AgentStateInput>;
184
- agentStates?: InputMaybe<Array<AgentStateInput>>;
185
- cloud?: InputMaybe<CloudInput>;
186
- forwardedParameters?: InputMaybe<ForwardedParametersInput>;
187
- frontend: FrontendInput;
188
- messages: Array<MessageInput>;
189
- metadata: GenerateCopilotResponseMetadataInput;
190
- runId?: InputMaybe<Scalars['String']['input']>;
191
- threadId?: InputMaybe<Scalars['String']['input']>;
192
- };
193
- type GenerateCopilotResponseMetadataInput = {
194
- requestType?: InputMaybe<CopilotRequestType>;
195
- };
196
- type GuardrailsInput = {
197
- inputValidationRules: GuardrailsRuleInput;
198
- };
199
- type GuardrailsRuleInput = {
200
- allowList?: InputMaybe<Array<Scalars['String']['input']>>;
201
- denyList?: InputMaybe<Array<Scalars['String']['input']>>;
202
- };
203
- type MessageInput = {
204
- actionExecutionMessage?: InputMaybe<ActionExecutionMessageInput>;
205
- agentStateMessage?: InputMaybe<AgentStateMessageInput>;
206
- createdAt: Scalars['DateTimeISO']['input'];
207
- id: Scalars['String']['input'];
208
- resultMessage?: InputMaybe<ResultMessageInput>;
209
- textMessage?: InputMaybe<TextMessageInput>;
210
- };
211
- /** The role of the message */
212
- declare enum MessageRole {
213
- Assistant = "assistant",
214
- System = "system",
215
- Tool = "tool",
216
- User = "user"
217
- }
218
- type MessageStatus = FailedMessageStatus | PendingMessageStatus | SuccessMessageStatus;
219
- declare enum MessageStatusCode {
220
- Failed = "Failed",
221
- Pending = "Pending",
222
- Success = "Success"
223
- }
224
- type Mutation = {
225
- __typename?: 'Mutation';
226
- generateCopilotResponse: CopilotResponse;
227
- };
228
- type MutationGenerateCopilotResponseArgs = {
229
- data: GenerateCopilotResponseInput;
230
- properties?: InputMaybe<Scalars['JSONObject']['input']>;
231
- };
232
- type PendingMessageStatus = {
233
- __typename?: 'PendingMessageStatus';
234
- code: MessageStatusCode;
235
- };
236
- type PendingResponseStatus = BaseResponseStatus & {
237
- __typename?: 'PendingResponseStatus';
238
- code: ResponseStatusCode;
239
- };
240
- type Query = {
241
- __typename?: 'Query';
242
- hello: Scalars['String']['output'];
243
- };
244
- type ResponseStatus = FailedResponseStatus | PendingResponseStatus | SuccessResponseStatus;
245
- declare enum ResponseStatusCode {
246
- Failed = "Failed",
247
- Pending = "Pending",
248
- Success = "Success"
249
- }
250
- type ResultMessageInput = {
251
- actionExecutionId: Scalars['String']['input'];
252
- actionName: 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
- role: MessageRole;
275
- };
276
- type TextMessageOutput = BaseMessageOutput & {
277
- __typename?: 'TextMessageOutput';
278
- content: Array<Scalars['String']['output']>;
279
- createdAt: Scalars['DateTimeISO']['output'];
280
- id: Scalars['String']['output'];
281
- role: MessageRole;
282
- status: MessageStatus;
283
- };
284
- type GenerateCopilotResponseMutationVariables = Exact<{
285
- data: GenerateCopilotResponseInput;
286
- properties?: InputMaybe<Scalars['JSONObject']['input']>;
287
- }>;
288
- type GenerateCopilotResponseMutation = {
289
- __typename?: 'Mutation';
290
- generateCopilotResponse: {
291
- __typename?: 'CopilotResponse';
292
- threadId: string;
293
- runId?: string | null;
294
- messages: Array<{
295
- __typename: 'ActionExecutionMessageOutput';
296
- id: string;
297
- createdAt: any;
298
- name: string;
299
- scope: ActionExecutionScope;
300
- arguments: Array<string>;
301
- status: {
302
- __typename?: 'FailedMessageStatus';
303
- code: MessageStatusCode;
304
- reason: string;
305
- } | {
306
- __typename?: 'PendingMessageStatus';
307
- code: MessageStatusCode;
308
- } | {
309
- __typename?: 'SuccessMessageStatus';
310
- code: MessageStatusCode;
311
- };
312
- } | {
313
- __typename: 'AgentStateMessageOutput';
314
- id: string;
315
- createdAt: any;
316
- threadId: string;
317
- state: string;
318
- running: boolean;
319
- agentName: string;
320
- nodeName: string;
321
- runId: string;
322
- active: boolean;
323
- role: MessageRole;
324
- status: {
325
- __typename?: 'FailedMessageStatus';
326
- code: MessageStatusCode;
327
- reason: string;
328
- } | {
329
- __typename?: 'PendingMessageStatus';
330
- code: MessageStatusCode;
331
- } | {
332
- __typename?: 'SuccessMessageStatus';
333
- code: MessageStatusCode;
334
- };
335
- } | {
336
- __typename: 'ResultMessageOutput';
337
- id: string;
338
- createdAt: any;
339
- result: string;
340
- actionExecutionId: string;
341
- actionName: string;
342
- status: {
343
- __typename?: 'FailedMessageStatus';
344
- code: MessageStatusCode;
345
- reason: string;
346
- } | {
347
- __typename?: 'PendingMessageStatus';
348
- code: MessageStatusCode;
349
- } | {
350
- __typename?: 'SuccessMessageStatus';
351
- code: MessageStatusCode;
352
- };
353
- } | {
354
- __typename: 'TextMessageOutput';
355
- id: string;
356
- createdAt: any;
357
- content: Array<string>;
358
- role: MessageRole;
359
- status: {
360
- __typename?: 'FailedMessageStatus';
361
- code: MessageStatusCode;
362
- reason: string;
363
- } | {
364
- __typename?: 'PendingMessageStatus';
365
- code: MessageStatusCode;
366
- } | {
367
- __typename?: 'SuccessMessageStatus';
368
- code: MessageStatusCode;
369
- };
370
- }>;
371
- } & ({
372
- __typename?: 'CopilotResponse';
373
- status: {
374
- __typename?: 'FailedResponseStatus';
375
- code: ResponseStatusCode;
376
- reason: FailedResponseStatusReason;
377
- details?: any | null;
378
- } | {
379
- __typename?: 'PendingResponseStatus';
380
- code: ResponseStatusCode;
381
- } | {
382
- __typename?: 'SuccessResponseStatus';
383
- code: ResponseStatusCode;
384
- };
385
- } | {
386
- __typename?: 'CopilotResponse';
387
- status?: never;
388
- });
389
- };
390
- declare const GenerateCopilotResponseDocument: TypedDocumentNode<GenerateCopilotResponseMutation, GenerateCopilotResponseMutationVariables>;
391
-
392
- export { ActionExecutionMessageInput, ActionExecutionMessageOutput, ActionExecutionScope, ActionInput, ActionInputAvailability, AgentSessionInput, AgentStateInput, AgentStateMessageInput, AgentStateMessageOutput, BaseMessageOutput, BaseResponseStatus, CloudInput, CopilotRequestType, CopilotResponse, Exact, FailedMessageStatus, FailedResponseStatus, FailedResponseStatusReason, ForwardedParametersInput, FrontendInput, GenerateCopilotResponseDocument, GenerateCopilotResponseInput, GenerateCopilotResponseMetadataInput, GenerateCopilotResponseMutation, GenerateCopilotResponseMutationVariables, GuardrailsInput, GuardrailsRuleInput, Incremental, InputMaybe, MakeEmpty, MakeMaybe, MakeOptional, Maybe, MessageInput, MessageRole, MessageStatus, MessageStatusCode, Mutation, MutationGenerateCopilotResponseArgs, PendingMessageStatus, PendingResponseStatus, Query, ResponseStatus, ResponseStatusCode, ResultMessageInput, ResultMessageOutput, Scalars, SuccessMessageStatus, SuccessResponseStatus, TextMessageInput, TextMessageOutput };
@@ -1,90 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/graphql/@generated/graphql.ts
21
- var graphql_exports = {};
22
- __export(graphql_exports, {
23
- ActionExecutionScope: () => ActionExecutionScope,
24
- ActionInputAvailability: () => ActionInputAvailability,
25
- CopilotRequestType: () => CopilotRequestType,
26
- FailedResponseStatusReason: () => FailedResponseStatusReason,
27
- GenerateCopilotResponseDocument: () => GenerateCopilotResponseDocument,
28
- MessageRole: () => MessageRole,
29
- MessageStatusCode: () => MessageStatusCode,
30
- ResponseStatusCode: () => ResponseStatusCode
31
- });
32
- module.exports = __toCommonJS(graphql_exports);
33
- var ActionExecutionScope = /* @__PURE__ */ ((ActionExecutionScope2) => {
34
- ActionExecutionScope2["Client"] = "client";
35
- ActionExecutionScope2["PassThrough"] = "passThrough";
36
- ActionExecutionScope2["Server"] = "server";
37
- return ActionExecutionScope2;
38
- })(ActionExecutionScope || {});
39
- var ActionInputAvailability = /* @__PURE__ */ ((ActionInputAvailability2) => {
40
- ActionInputAvailability2["Disabled"] = "disabled";
41
- ActionInputAvailability2["Enabled"] = "enabled";
42
- ActionInputAvailability2["Remote"] = "remote";
43
- return ActionInputAvailability2;
44
- })(ActionInputAvailability || {});
45
- var CopilotRequestType = /* @__PURE__ */ ((CopilotRequestType2) => {
46
- CopilotRequestType2["Chat"] = "Chat";
47
- CopilotRequestType2["Suggestion"] = "Suggestion";
48
- CopilotRequestType2["Task"] = "Task";
49
- CopilotRequestType2["TextareaCompletion"] = "TextareaCompletion";
50
- CopilotRequestType2["TextareaPopover"] = "TextareaPopover";
51
- return CopilotRequestType2;
52
- })(CopilotRequestType || {});
53
- var FailedResponseStatusReason = /* @__PURE__ */ ((FailedResponseStatusReason2) => {
54
- FailedResponseStatusReason2["GuardrailsValidationFailed"] = "GUARDRAILS_VALIDATION_FAILED";
55
- FailedResponseStatusReason2["MessageStreamInterrupted"] = "MESSAGE_STREAM_INTERRUPTED";
56
- FailedResponseStatusReason2["UnknownError"] = "UNKNOWN_ERROR";
57
- return FailedResponseStatusReason2;
58
- })(FailedResponseStatusReason || {});
59
- var MessageRole = /* @__PURE__ */ ((MessageRole2) => {
60
- MessageRole2["Assistant"] = "assistant";
61
- MessageRole2["System"] = "system";
62
- MessageRole2["Tool"] = "tool";
63
- MessageRole2["User"] = "user";
64
- return MessageRole2;
65
- })(MessageRole || {});
66
- var MessageStatusCode = /* @__PURE__ */ ((MessageStatusCode2) => {
67
- MessageStatusCode2["Failed"] = "Failed";
68
- MessageStatusCode2["Pending"] = "Pending";
69
- MessageStatusCode2["Success"] = "Success";
70
- return MessageStatusCode2;
71
- })(MessageStatusCode || {});
72
- var ResponseStatusCode = /* @__PURE__ */ ((ResponseStatusCode2) => {
73
- ResponseStatusCode2["Failed"] = "Failed";
74
- ResponseStatusCode2["Pending"] = "Pending";
75
- ResponseStatusCode2["Success"] = "Success";
76
- return ResponseStatusCode2;
77
- })(ResponseStatusCode || {});
78
- var GenerateCopilotResponseDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "generateCopilotResponse" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "data" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "GenerateCopilotResponseInput" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "properties" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "JSONObject" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "generateCopilotResponse" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "data" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "data" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "properties" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "properties" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "threadId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "runId" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "CopilotResponse" } }, "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "defer" } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "status" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "BaseResponseStatus" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "FailedResponseStatus" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "reason" } }, { "kind": "Field", "name": { "kind": "Name", "value": "details" } }] } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "messages" }, "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "stream" } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "BaseMessageOutput" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "BaseMessageOutput" } }, "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "defer" } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "status" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SuccessMessageStatus" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "FailedMessageStatus" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "reason" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PendingMessageStatus" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }] } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TextMessageOutput" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "content" }, "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "stream" } }] }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ActionExecutionMessageOutput" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "scope" } }, { "kind": "Field", "name": { "kind": "Name", "value": "arguments" }, "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "stream" } }] }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ResultMessageOutput" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "result" } }, { "kind": "Field", "name": { "kind": "Name", "value": "actionExecutionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "actionName" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "AgentStateMessageOutput" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "threadId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "state" } }, { "kind": "Field", "name": { "kind": "Name", "value": "running" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agentName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "nodeName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "runId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "active" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }] } }] } }] } }] } }] };
79
- // Annotate the CommonJS export names for ESM import in node:
80
- 0 && (module.exports = {
81
- ActionExecutionScope,
82
- ActionInputAvailability,
83
- CopilotRequestType,
84
- FailedResponseStatusReason,
85
- GenerateCopilotResponseDocument,
86
- MessageRole,
87
- MessageStatusCode,
88
- ResponseStatusCode
89
- });
90
- //# sourceMappingURL=graphql.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/graphql/@generated/graphql.ts"],"sourcesContent":["/* eslint-disable */\nimport type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';\nexport type Maybe<T> = T | null;\nexport type InputMaybe<T> = Maybe<T>;\nexport type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\nexport type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };\nexport type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };\nexport type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };\nexport type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\n/** All built-in and custom scalars, mapped to their actual values */\nexport type Scalars = {\n ID: { input: string; output: string; }\n String: { input: string; output: string; }\n Boolean: { input: boolean; output: boolean; }\n Int: { input: number; output: number; }\n Float: { input: number; output: number; }\n /** 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. */\n DateTimeISO: { input: any; output: any; }\n /** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */\n JSON: { input: any; output: any; }\n /** The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */\n JSONObject: { input: any; output: any; }\n};\n\nexport type ActionExecutionMessageInput = {\n arguments: Scalars['String']['input'];\n name: Scalars['String']['input'];\n scope: ActionExecutionScope;\n};\n\nexport type ActionExecutionMessageOutput = BaseMessageOutput & {\n __typename?: 'ActionExecutionMessageOutput';\n arguments: Array<Scalars['String']['output']>;\n createdAt: Scalars['DateTimeISO']['output'];\n id: Scalars['String']['output'];\n name: Scalars['String']['output'];\n scope: ActionExecutionScope;\n status: MessageStatus;\n};\n\n/** The scope of the action */\nexport enum ActionExecutionScope {\n Client = 'client',\n PassThrough = 'passThrough',\n Server = 'server'\n}\n\nexport type ActionInput = {\n available?: InputMaybe<ActionInputAvailability>;\n description: Scalars['String']['input'];\n jsonSchema: Scalars['String']['input'];\n name: Scalars['String']['input'];\n};\n\n/** The availability of the frontend action */\nexport enum ActionInputAvailability {\n Disabled = 'disabled',\n Enabled = 'enabled',\n Remote = 'remote'\n}\n\nexport type AgentSessionInput = {\n agentName: Scalars['String']['input'];\n nodeName?: InputMaybe<Scalars['String']['input']>;\n threadId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type AgentStateInput = {\n agentName: Scalars['String']['input'];\n state: Scalars['String']['input'];\n};\n\nexport type AgentStateMessageInput = {\n active: Scalars['Boolean']['input'];\n agentName: Scalars['String']['input'];\n nodeName: Scalars['String']['input'];\n role: MessageRole;\n runId: Scalars['String']['input'];\n running: Scalars['Boolean']['input'];\n state: Scalars['String']['input'];\n threadId: Scalars['String']['input'];\n};\n\nexport type AgentStateMessageOutput = BaseMessageOutput & {\n __typename?: 'AgentStateMessageOutput';\n active: Scalars['Boolean']['output'];\n agentName: Scalars['String']['output'];\n createdAt: Scalars['DateTimeISO']['output'];\n id: Scalars['String']['output'];\n nodeName: Scalars['String']['output'];\n role: MessageRole;\n runId: Scalars['String']['output'];\n running: Scalars['Boolean']['output'];\n state: Scalars['String']['output'];\n status: MessageStatus;\n threadId: Scalars['String']['output'];\n};\n\nexport type BaseMessageOutput = {\n createdAt: Scalars['DateTimeISO']['output'];\n id: Scalars['String']['output'];\n status: MessageStatus;\n};\n\nexport type BaseResponseStatus = {\n code: ResponseStatusCode;\n};\n\nexport type CloudInput = {\n guardrails?: InputMaybe<GuardrailsInput>;\n};\n\n/** The type of Copilot request */\nexport enum CopilotRequestType {\n Chat = 'Chat',\n Suggestion = 'Suggestion',\n Task = 'Task',\n TextareaCompletion = 'TextareaCompletion',\n TextareaPopover = 'TextareaPopover'\n}\n\nexport type CopilotResponse = {\n __typename?: 'CopilotResponse';\n messages: Array<BaseMessageOutput>;\n runId?: Maybe<Scalars['String']['output']>;\n status: ResponseStatus;\n threadId: Scalars['String']['output'];\n};\n\nexport type FailedMessageStatus = {\n __typename?: 'FailedMessageStatus';\n code: MessageStatusCode;\n reason: Scalars['String']['output'];\n};\n\nexport type FailedResponseStatus = BaseResponseStatus & {\n __typename?: 'FailedResponseStatus';\n code: ResponseStatusCode;\n details?: Maybe<Scalars['JSON']['output']>;\n reason: FailedResponseStatusReason;\n};\n\nexport enum FailedResponseStatusReason {\n GuardrailsValidationFailed = 'GUARDRAILS_VALIDATION_FAILED',\n MessageStreamInterrupted = 'MESSAGE_STREAM_INTERRUPTED',\n UnknownError = 'UNKNOWN_ERROR'\n}\n\nexport type ForwardedParametersInput = {\n maxTokens?: InputMaybe<Scalars['Float']['input']>;\n model?: InputMaybe<Scalars['String']['input']>;\n stop?: InputMaybe<Array<Scalars['String']['input']>>;\n toolChoice?: InputMaybe<Scalars['String']['input']>;\n toolChoiceFunctionName?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type FrontendInput = {\n actions: Array<ActionInput>;\n toDeprecate_fullContext?: InputMaybe<Scalars['String']['input']>;\n url?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type GenerateCopilotResponseInput = {\n agentSession?: InputMaybe<AgentSessionInput>;\n agentState?: InputMaybe<AgentStateInput>;\n agentStates?: InputMaybe<Array<AgentStateInput>>;\n cloud?: InputMaybe<CloudInput>;\n forwardedParameters?: InputMaybe<ForwardedParametersInput>;\n frontend: FrontendInput;\n messages: Array<MessageInput>;\n metadata: GenerateCopilotResponseMetadataInput;\n runId?: InputMaybe<Scalars['String']['input']>;\n threadId?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type GenerateCopilotResponseMetadataInput = {\n requestType?: InputMaybe<CopilotRequestType>;\n};\n\nexport type GuardrailsInput = {\n inputValidationRules: GuardrailsRuleInput;\n};\n\nexport type GuardrailsRuleInput = {\n allowList?: InputMaybe<Array<Scalars['String']['input']>>;\n denyList?: InputMaybe<Array<Scalars['String']['input']>>;\n};\n\nexport type MessageInput = {\n actionExecutionMessage?: InputMaybe<ActionExecutionMessageInput>;\n agentStateMessage?: InputMaybe<AgentStateMessageInput>;\n createdAt: Scalars['DateTimeISO']['input'];\n id: Scalars['String']['input'];\n resultMessage?: InputMaybe<ResultMessageInput>;\n textMessage?: InputMaybe<TextMessageInput>;\n};\n\n/** The role of the message */\nexport enum MessageRole {\n Assistant = 'assistant',\n System = 'system',\n Tool = 'tool',\n User = 'user'\n}\n\nexport type MessageStatus = FailedMessageStatus | PendingMessageStatus | SuccessMessageStatus;\n\nexport enum MessageStatusCode {\n Failed = 'Failed',\n Pending = 'Pending',\n Success = 'Success'\n}\n\nexport type Mutation = {\n __typename?: 'Mutation';\n generateCopilotResponse: CopilotResponse;\n};\n\n\nexport type MutationGenerateCopilotResponseArgs = {\n data: GenerateCopilotResponseInput;\n properties?: InputMaybe<Scalars['JSONObject']['input']>;\n};\n\nexport type PendingMessageStatus = {\n __typename?: 'PendingMessageStatus';\n code: MessageStatusCode;\n};\n\nexport type PendingResponseStatus = BaseResponseStatus & {\n __typename?: 'PendingResponseStatus';\n code: ResponseStatusCode;\n};\n\nexport type Query = {\n __typename?: 'Query';\n hello: Scalars['String']['output'];\n};\n\nexport type ResponseStatus = FailedResponseStatus | PendingResponseStatus | SuccessResponseStatus;\n\nexport enum ResponseStatusCode {\n Failed = 'Failed',\n Pending = 'Pending',\n Success = 'Success'\n}\n\nexport type ResultMessageInput = {\n actionExecutionId: Scalars['String']['input'];\n actionName: Scalars['String']['input'];\n result: Scalars['String']['input'];\n};\n\nexport type ResultMessageOutput = BaseMessageOutput & {\n __typename?: 'ResultMessageOutput';\n actionExecutionId: Scalars['String']['output'];\n actionName: Scalars['String']['output'];\n createdAt: Scalars['DateTimeISO']['output'];\n id: Scalars['String']['output'];\n result: Scalars['String']['output'];\n status: MessageStatus;\n};\n\nexport type SuccessMessageStatus = {\n __typename?: 'SuccessMessageStatus';\n code: MessageStatusCode;\n};\n\nexport type SuccessResponseStatus = BaseResponseStatus & {\n __typename?: 'SuccessResponseStatus';\n code: ResponseStatusCode;\n};\n\nexport type TextMessageInput = {\n content: Scalars['String']['input'];\n role: MessageRole;\n};\n\nexport type TextMessageOutput = BaseMessageOutput & {\n __typename?: 'TextMessageOutput';\n content: Array<Scalars['String']['output']>;\n createdAt: Scalars['DateTimeISO']['output'];\n id: Scalars['String']['output'];\n role: MessageRole;\n status: MessageStatus;\n};\n\nexport type GenerateCopilotResponseMutationVariables = Exact<{\n data: GenerateCopilotResponseInput;\n properties?: InputMaybe<Scalars['JSONObject']['input']>;\n}>;\n\n\nexport type GenerateCopilotResponseMutation = { __typename?: 'Mutation', generateCopilotResponse: { __typename?: 'CopilotResponse', threadId: string, runId?: string | null, messages: Array<{ __typename: 'ActionExecutionMessageOutput', id: string, createdAt: any, name: string, scope: ActionExecutionScope, arguments: Array<string>, status: { __typename?: 'FailedMessageStatus', code: MessageStatusCode, reason: string } | { __typename?: 'PendingMessageStatus', code: MessageStatusCode } | { __typename?: 'SuccessMessageStatus', code: MessageStatusCode } } | { __typename: 'AgentStateMessageOutput', id: string, createdAt: any, threadId: string, state: string, running: boolean, agentName: string, nodeName: string, runId: string, active: boolean, role: MessageRole, status: { __typename?: 'FailedMessageStatus', code: MessageStatusCode, reason: string } | { __typename?: 'PendingMessageStatus', code: MessageStatusCode } | { __typename?: 'SuccessMessageStatus', code: MessageStatusCode } } | { __typename: 'ResultMessageOutput', id: string, createdAt: any, result: string, actionExecutionId: string, actionName: string, status: { __typename?: 'FailedMessageStatus', code: MessageStatusCode, reason: string } | { __typename?: 'PendingMessageStatus', code: MessageStatusCode } | { __typename?: 'SuccessMessageStatus', code: MessageStatusCode } } | { __typename: 'TextMessageOutput', id: string, createdAt: any, content: Array<string>, role: MessageRole, status: { __typename?: 'FailedMessageStatus', code: MessageStatusCode, reason: string } | { __typename?: 'PendingMessageStatus', code: MessageStatusCode } | { __typename?: 'SuccessMessageStatus', code: MessageStatusCode } }> } & ({ __typename?: 'CopilotResponse', status: { __typename?: 'FailedResponseStatus', code: ResponseStatusCode, reason: FailedResponseStatusReason, details?: any | null } | { __typename?: 'PendingResponseStatus', code: ResponseStatusCode } | { __typename?: 'SuccessResponseStatus', code: ResponseStatusCode } } | { __typename?: 'CopilotResponse', status?: never }) };\n\n\nexport const GenerateCopilotResponseDocument = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"generateCopilotResponse\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"GenerateCopilotResponseInput\"}}}},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"properties\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"JSONObject\"}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"generateCopilotResponse\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"properties\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"properties\"}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"threadId\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"runId\"}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"CopilotResponse\"}},\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"defer\"}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"status\"},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"BaseResponseStatus\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"code\"}}]}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"FailedResponseStatus\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"reason\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"details\"}}]}}]}}]}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"messages\"},\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"stream\"}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"__typename\"}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"BaseMessageOutput\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"createdAt\"}}]}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"BaseMessageOutput\"}},\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"defer\"}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"status\"},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"SuccessMessageStatus\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"code\"}}]}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"FailedMessageStatus\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"code\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"reason\"}}]}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"PendingMessageStatus\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"code\"}}]}}]}}]}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"TextMessageOutput\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"content\"},\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"stream\"}}]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"role\"}}]}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ActionExecutionMessageOutput\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"name\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"scope\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"arguments\"},\"directives\":[{\"kind\":\"Directive\",\"name\":{\"kind\":\"Name\",\"value\":\"stream\"}}]}]}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ResultMessageOutput\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"result\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"actionExecutionId\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"actionName\"}}]}},{\"kind\":\"InlineFragment\",\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"AgentStateMessageOutput\"}},\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"threadId\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"state\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"running\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"agentName\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"nodeName\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"runId\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"active\"}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"role\"}}]}}]}}]}}]}}]} as unknown as DocumentNode<GenerateCopilotResponseMutation, GenerateCopilotResponseMutationVariables>;"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAyCO,IAAK,uBAAL,kBAAKA,0BAAL;AACL,EAAAA,sBAAA,YAAS;AACT,EAAAA,sBAAA,iBAAc;AACd,EAAAA,sBAAA,YAAS;AAHC,SAAAA;AAAA,GAAA;AAcL,IAAK,0BAAL,kBAAKC,6BAAL;AACL,EAAAA,yBAAA,cAAW;AACX,EAAAA,yBAAA,aAAU;AACV,EAAAA,yBAAA,YAAS;AAHC,SAAAA;AAAA,GAAA;AA0DL,IAAK,qBAAL,kBAAKC,wBAAL;AACL,EAAAA,oBAAA,UAAO;AACP,EAAAA,oBAAA,gBAAa;AACb,EAAAA,oBAAA,UAAO;AACP,EAAAA,oBAAA,wBAAqB;AACrB,EAAAA,oBAAA,qBAAkB;AALR,SAAAA;AAAA,GAAA;AA6BL,IAAK,6BAAL,kBAAKC,gCAAL;AACL,EAAAA,4BAAA,gCAA6B;AAC7B,EAAAA,4BAAA,8BAA2B;AAC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]}
@@ -1,21 +0,0 @@
1
- import {
2
- ActionExecutionScope,
3
- ActionInputAvailability,
4
- CopilotRequestType,
5
- FailedResponseStatusReason,
6
- GenerateCopilotResponseDocument,
7
- MessageRole,
8
- MessageStatusCode,
9
- ResponseStatusCode
10
- } from "../../chunk-ET5D6GZX.mjs";
11
- export {
12
- ActionExecutionScope,
13
- ActionInputAvailability,
14
- CopilotRequestType,
15
- FailedResponseStatusReason,
16
- GenerateCopilotResponseDocument,
17
- MessageRole,
18
- MessageStatusCode,
19
- ResponseStatusCode
20
- };
21
- //# sourceMappingURL=graphql.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -1,4 +0,0 @@
1
- export { FragmentType, isFragmentReady, makeFragmentData, useFragment } from './fragment-masking.js';
2
- export { DocumentType, graphql } from './gql.js';
3
- import '@graphql-typed-document-node/core';
4
- import './graphql.js';