@copilotkit/runtime-client-gql 1.5.9 → 1.5.10-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.
Files changed (58) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/chunk-256E264G.mjs +24 -0
  3. package/dist/chunk-256E264G.mjs.map +1 -0
  4. package/dist/chunk-3BOGJG6W.mjs +78 -0
  5. package/dist/chunk-3BOGJG6W.mjs.map +1 -0
  6. package/dist/chunk-7ECCT6PK.mjs +1 -0
  7. package/dist/chunk-7ECCT6PK.mjs.map +1 -0
  8. package/dist/chunk-AOS57GRG.mjs +54 -0
  9. package/dist/chunk-AOS57GRG.mjs.map +1 -0
  10. package/dist/chunk-AXHVBZ73.mjs +200 -0
  11. package/dist/chunk-AXHVBZ73.mjs.map +1 -0
  12. package/dist/chunk-IZDC2R6Y.mjs +77 -0
  13. package/dist/chunk-IZDC2R6Y.mjs.map +1 -0
  14. package/dist/chunk-WK75ISB2.mjs +18 -0
  15. package/dist/chunk-WK75ISB2.mjs.map +1 -0
  16. package/dist/chunk-WSDHT4CI.mjs +89 -0
  17. package/dist/chunk-WSDHT4CI.mjs.map +1 -0
  18. package/dist/client/CopilotRuntimeClient.d.ts +32 -0
  19. package/dist/client/CopilotRuntimeClient.js +205 -0
  20. package/dist/client/CopilotRuntimeClient.js.map +1 -0
  21. package/dist/client/CopilotRuntimeClient.mjs +11 -0
  22. package/dist/client/CopilotRuntimeClient.mjs.map +1 -0
  23. package/dist/client/conversion.d.ts +11 -0
  24. package/dist/client/conversion.js +296 -0
  25. package/dist/client/conversion.js.map +1 -0
  26. package/dist/client/conversion.mjs +17 -0
  27. package/dist/client/conversion.mjs.map +1 -0
  28. package/dist/client/index.d.ts +8 -0
  29. package/dist/client/index.js +495 -0
  30. package/dist/client/index.js.map +1 -0
  31. package/dist/client/index.mjs +38 -0
  32. package/dist/client/index.mjs.map +1 -0
  33. package/dist/client/types.d.ts +55 -0
  34. package/dist/client/types.js +113 -0
  35. package/dist/client/types.js.map +1 -0
  36. package/dist/client/types.mjs +18 -0
  37. package/dist/client/types.mjs.map +1 -0
  38. package/dist/graphql/definitions/mutations.d.ts +9 -0
  39. package/dist/graphql/definitions/mutations.js +113 -0
  40. package/dist/graphql/definitions/mutations.js.map +1 -0
  41. package/dist/graphql/definitions/mutations.mjs +9 -0
  42. package/dist/graphql/definitions/mutations.mjs.map +1 -0
  43. package/dist/graphql/definitions/queries.d.ts +8 -0
  44. package/dist/graphql/definitions/queries.js +59 -0
  45. package/dist/graphql/definitions/queries.js.map +1 -0
  46. package/dist/graphql/definitions/queries.mjs +9 -0
  47. package/dist/graphql/definitions/queries.mjs.map +1 -0
  48. package/dist/graphql-21970cc1.d.ts +422 -0
  49. package/dist/index.d.ts +8 -0
  50. package/dist/index.js +543 -0
  51. package/dist/index.js.map +1 -0
  52. package/dist/index.mjs +55 -0
  53. package/dist/index.mjs.map +1 -0
  54. package/package.json +3 -3
  55. package/src/graphql/@generated/fragment-masking.ts +87 -0
  56. package/src/graphql/@generated/gql.ts +47 -0
  57. package/src/graphql/@generated/graphql.ts +317 -0
  58. package/src/graphql/@generated/index.ts +2 -0
@@ -0,0 +1,317 @@
1
+ /* eslint-disable */
2
+ import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
3
+ export type Maybe<T> = T | null;
4
+ export type InputMaybe<T> = Maybe<T>;
5
+ export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
6
+ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
7
+ export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
8
+ export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
9
+ export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
10
+ /** All built-in and custom scalars, mapped to their actual values */
11
+ export type Scalars = {
12
+ ID: { input: string; output: string; }
13
+ String: { input: string; output: string; }
14
+ Boolean: { input: boolean; output: boolean; }
15
+ Int: { input: number; output: number; }
16
+ Float: { input: number; output: number; }
17
+ /** 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. */
18
+ DateTimeISO: { input: any; output: any; }
19
+ /** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
20
+ JSON: { input: any; output: any; }
21
+ /** The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
22
+ JSONObject: { input: any; output: any; }
23
+ };
24
+
25
+ export type ActionExecutionMessageInput = {
26
+ arguments: Scalars['String']['input'];
27
+ name: Scalars['String']['input'];
28
+ parentMessageId?: InputMaybe<Scalars['String']['input']>;
29
+ /** @deprecated This field will be removed in a future version */
30
+ scope?: InputMaybe<Scalars['String']['input']>;
31
+ };
32
+
33
+ export type ActionExecutionMessageOutput = BaseMessageOutput & {
34
+ __typename?: 'ActionExecutionMessageOutput';
35
+ arguments: Array<Scalars['String']['output']>;
36
+ createdAt: Scalars['DateTimeISO']['output'];
37
+ id: Scalars['String']['output'];
38
+ name: Scalars['String']['output'];
39
+ parentMessageId?: Maybe<Scalars['String']['output']>;
40
+ /** @deprecated This field will be removed in a future version */
41
+ scope?: Maybe<Scalars['String']['output']>;
42
+ status: MessageStatus;
43
+ };
44
+
45
+ export type ActionInput = {
46
+ available?: InputMaybe<ActionInputAvailability>;
47
+ description: Scalars['String']['input'];
48
+ jsonSchema: Scalars['String']['input'];
49
+ name: Scalars['String']['input'];
50
+ };
51
+
52
+ /** The availability of the frontend action */
53
+ export enum ActionInputAvailability {
54
+ Disabled = 'disabled',
55
+ Enabled = 'enabled',
56
+ Remote = 'remote'
57
+ }
58
+
59
+ export type Agent = {
60
+ __typename?: 'Agent';
61
+ description: Scalars['String']['output'];
62
+ id: Scalars['String']['output'];
63
+ name: Scalars['String']['output'];
64
+ };
65
+
66
+ export type AgentSessionInput = {
67
+ agentName: Scalars['String']['input'];
68
+ nodeName?: InputMaybe<Scalars['String']['input']>;
69
+ threadId?: InputMaybe<Scalars['String']['input']>;
70
+ };
71
+
72
+ export type AgentStateInput = {
73
+ agentName: Scalars['String']['input'];
74
+ state: Scalars['String']['input'];
75
+ };
76
+
77
+ export type AgentStateMessageInput = {
78
+ active: Scalars['Boolean']['input'];
79
+ agentName: Scalars['String']['input'];
80
+ nodeName: Scalars['String']['input'];
81
+ role: MessageRole;
82
+ runId: Scalars['String']['input'];
83
+ running: Scalars['Boolean']['input'];
84
+ state: Scalars['String']['input'];
85
+ threadId: Scalars['String']['input'];
86
+ };
87
+
88
+ export type AgentStateMessageOutput = BaseMessageOutput & {
89
+ __typename?: 'AgentStateMessageOutput';
90
+ active: Scalars['Boolean']['output'];
91
+ agentName: Scalars['String']['output'];
92
+ createdAt: Scalars['DateTimeISO']['output'];
93
+ id: Scalars['String']['output'];
94
+ nodeName: Scalars['String']['output'];
95
+ role: MessageRole;
96
+ runId: Scalars['String']['output'];
97
+ running: Scalars['Boolean']['output'];
98
+ state: Scalars['String']['output'];
99
+ status: MessageStatus;
100
+ threadId: Scalars['String']['output'];
101
+ };
102
+
103
+ export type AgentsResponse = {
104
+ __typename?: 'AgentsResponse';
105
+ agents: Array<Agent>;
106
+ };
107
+
108
+ export type BaseMessageOutput = {
109
+ createdAt: Scalars['DateTimeISO']['output'];
110
+ id: Scalars['String']['output'];
111
+ status: MessageStatus;
112
+ };
113
+
114
+ export type BaseResponseStatus = {
115
+ code: ResponseStatusCode;
116
+ };
117
+
118
+ export type CloudInput = {
119
+ guardrails?: InputMaybe<GuardrailsInput>;
120
+ };
121
+
122
+ /** The type of Copilot request */
123
+ export enum CopilotRequestType {
124
+ Chat = 'Chat',
125
+ Suggestion = 'Suggestion',
126
+ Task = 'Task',
127
+ TextareaCompletion = 'TextareaCompletion',
128
+ TextareaPopover = 'TextareaPopover'
129
+ }
130
+
131
+ export type CopilotResponse = {
132
+ __typename?: 'CopilotResponse';
133
+ messages: Array<BaseMessageOutput>;
134
+ runId?: Maybe<Scalars['String']['output']>;
135
+ status: ResponseStatus;
136
+ threadId: Scalars['String']['output'];
137
+ };
138
+
139
+ export type FailedMessageStatus = {
140
+ __typename?: 'FailedMessageStatus';
141
+ code: MessageStatusCode;
142
+ reason: Scalars['String']['output'];
143
+ };
144
+
145
+ export type FailedResponseStatus = BaseResponseStatus & {
146
+ __typename?: 'FailedResponseStatus';
147
+ code: ResponseStatusCode;
148
+ details?: Maybe<Scalars['JSON']['output']>;
149
+ reason: FailedResponseStatusReason;
150
+ };
151
+
152
+ export enum FailedResponseStatusReason {
153
+ GuardrailsValidationFailed = 'GUARDRAILS_VALIDATION_FAILED',
154
+ MessageStreamInterrupted = 'MESSAGE_STREAM_INTERRUPTED',
155
+ UnknownError = 'UNKNOWN_ERROR'
156
+ }
157
+
158
+ export type ForwardedParametersInput = {
159
+ maxTokens?: InputMaybe<Scalars['Float']['input']>;
160
+ model?: InputMaybe<Scalars['String']['input']>;
161
+ stop?: InputMaybe<Array<Scalars['String']['input']>>;
162
+ temperature?: InputMaybe<Scalars['Float']['input']>;
163
+ toolChoice?: InputMaybe<Scalars['String']['input']>;
164
+ toolChoiceFunctionName?: InputMaybe<Scalars['String']['input']>;
165
+ };
166
+
167
+ export type FrontendInput = {
168
+ actions: Array<ActionInput>;
169
+ toDeprecate_fullContext?: InputMaybe<Scalars['String']['input']>;
170
+ url?: InputMaybe<Scalars['String']['input']>;
171
+ };
172
+
173
+ export type GenerateCopilotResponseInput = {
174
+ agentSession?: InputMaybe<AgentSessionInput>;
175
+ agentState?: InputMaybe<AgentStateInput>;
176
+ agentStates?: InputMaybe<Array<AgentStateInput>>;
177
+ cloud?: InputMaybe<CloudInput>;
178
+ forwardedParameters?: InputMaybe<ForwardedParametersInput>;
179
+ frontend: FrontendInput;
180
+ messages: Array<MessageInput>;
181
+ metadata: GenerateCopilotResponseMetadataInput;
182
+ runId?: InputMaybe<Scalars['String']['input']>;
183
+ threadId?: InputMaybe<Scalars['String']['input']>;
184
+ };
185
+
186
+ export type GenerateCopilotResponseMetadataInput = {
187
+ requestType?: InputMaybe<CopilotRequestType>;
188
+ };
189
+
190
+ export type GuardrailsInput = {
191
+ inputValidationRules: GuardrailsRuleInput;
192
+ };
193
+
194
+ export type GuardrailsRuleInput = {
195
+ allowList?: InputMaybe<Array<Scalars['String']['input']>>;
196
+ denyList?: InputMaybe<Array<Scalars['String']['input']>>;
197
+ };
198
+
199
+ export type MessageInput = {
200
+ actionExecutionMessage?: InputMaybe<ActionExecutionMessageInput>;
201
+ agentStateMessage?: InputMaybe<AgentStateMessageInput>;
202
+ createdAt: Scalars['DateTimeISO']['input'];
203
+ id: Scalars['String']['input'];
204
+ resultMessage?: InputMaybe<ResultMessageInput>;
205
+ textMessage?: InputMaybe<TextMessageInput>;
206
+ };
207
+
208
+ /** The role of the message */
209
+ export enum MessageRole {
210
+ Assistant = 'assistant',
211
+ System = 'system',
212
+ Tool = 'tool',
213
+ User = 'user'
214
+ }
215
+
216
+ export type MessageStatus = FailedMessageStatus | PendingMessageStatus | SuccessMessageStatus;
217
+
218
+ export enum MessageStatusCode {
219
+ Failed = 'Failed',
220
+ Pending = 'Pending',
221
+ Success = 'Success'
222
+ }
223
+
224
+ export type Mutation = {
225
+ __typename?: 'Mutation';
226
+ generateCopilotResponse: CopilotResponse;
227
+ };
228
+
229
+
230
+ export type MutationGenerateCopilotResponseArgs = {
231
+ data: GenerateCopilotResponseInput;
232
+ properties?: InputMaybe<Scalars['JSONObject']['input']>;
233
+ };
234
+
235
+ export type PendingMessageStatus = {
236
+ __typename?: 'PendingMessageStatus';
237
+ code: MessageStatusCode;
238
+ };
239
+
240
+ export type PendingResponseStatus = BaseResponseStatus & {
241
+ __typename?: 'PendingResponseStatus';
242
+ code: ResponseStatusCode;
243
+ };
244
+
245
+ export type Query = {
246
+ __typename?: 'Query';
247
+ availableAgents: AgentsResponse;
248
+ hello: Scalars['String']['output'];
249
+ };
250
+
251
+ export type ResponseStatus = FailedResponseStatus | PendingResponseStatus | SuccessResponseStatus;
252
+
253
+ export enum ResponseStatusCode {
254
+ Failed = 'Failed',
255
+ Pending = 'Pending',
256
+ Success = 'Success'
257
+ }
258
+
259
+ export type ResultMessageInput = {
260
+ actionExecutionId: Scalars['String']['input'];
261
+ actionName: Scalars['String']['input'];
262
+ parentMessageId?: InputMaybe<Scalars['String']['input']>;
263
+ result: Scalars['String']['input'];
264
+ };
265
+
266
+ export type ResultMessageOutput = BaseMessageOutput & {
267
+ __typename?: 'ResultMessageOutput';
268
+ actionExecutionId: Scalars['String']['output'];
269
+ actionName: Scalars['String']['output'];
270
+ createdAt: Scalars['DateTimeISO']['output'];
271
+ id: Scalars['String']['output'];
272
+ result: Scalars['String']['output'];
273
+ status: MessageStatus;
274
+ };
275
+
276
+ export type SuccessMessageStatus = {
277
+ __typename?: 'SuccessMessageStatus';
278
+ code: MessageStatusCode;
279
+ };
280
+
281
+ export type SuccessResponseStatus = BaseResponseStatus & {
282
+ __typename?: 'SuccessResponseStatus';
283
+ code: ResponseStatusCode;
284
+ };
285
+
286
+ export type TextMessageInput = {
287
+ content: Scalars['String']['input'];
288
+ parentMessageId?: InputMaybe<Scalars['String']['input']>;
289
+ role: MessageRole;
290
+ };
291
+
292
+ export type TextMessageOutput = BaseMessageOutput & {
293
+ __typename?: 'TextMessageOutput';
294
+ content: Array<Scalars['String']['output']>;
295
+ createdAt: Scalars['DateTimeISO']['output'];
296
+ id: Scalars['String']['output'];
297
+ parentMessageId?: Maybe<Scalars['String']['output']>;
298
+ role: MessageRole;
299
+ status: MessageStatus;
300
+ };
301
+
302
+ export type GenerateCopilotResponseMutationVariables = Exact<{
303
+ data: GenerateCopilotResponseInput;
304
+ properties?: InputMaybe<Scalars['JSONObject']['input']>;
305
+ }>;
306
+
307
+
308
+ export type GenerateCopilotResponseMutation = { __typename?: 'Mutation', generateCopilotResponse: { __typename?: 'CopilotResponse', threadId: string, runId?: string | null, messages: Array<{ __typename: 'ActionExecutionMessageOutput', id: string, createdAt: any, name: string, arguments: Array<string>, parentMessageId?: string | null, 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, parentMessageId?: string | null, 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 }) };
309
+
310
+ export type AvailableAgentsQueryVariables = Exact<{ [key: string]: never; }>;
311
+
312
+
313
+ export type AvailableAgentsQuery = { __typename?: 'Query', availableAgents: { __typename?: 'AgentsResponse', agents: Array<{ __typename?: 'Agent', name: string, id: string, description: string }> } };
314
+
315
+
316
+ export 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":"Field","name":{"kind":"Name","value":"parentMessageId"}}]}},{"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":"arguments"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"stream"}}]},{"kind":"Field","name":{"kind":"Name","value":"parentMessageId"}}]}},{"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>;
317
+ export const AvailableAgentsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"availableAgents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availableAgents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"agents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}}]}}]} as unknown as DocumentNode<AvailableAgentsQuery, AvailableAgentsQueryVariables>;
@@ -0,0 +1,2 @@
1
+ export * from "./fragment-masking";
2
+ export * from "./gql";