graphlit-client 1.0.20260228002 → 1.0.20260228003
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.
|
@@ -170,6 +170,13 @@ export const GetAgent = gql `
|
|
|
170
170
|
collectionMode
|
|
171
171
|
observationMode
|
|
172
172
|
}
|
|
173
|
+
schedulePolicy {
|
|
174
|
+
recurrenceType
|
|
175
|
+
repeatInterval
|
|
176
|
+
cron
|
|
177
|
+
timeZoneId
|
|
178
|
+
}
|
|
179
|
+
timeout
|
|
173
180
|
}
|
|
174
181
|
}
|
|
175
182
|
`;
|
|
@@ -285,6 +292,13 @@ export const QueryAgents = gql `
|
|
|
285
292
|
collectionMode
|
|
286
293
|
observationMode
|
|
287
294
|
}
|
|
295
|
+
schedulePolicy {
|
|
296
|
+
recurrenceType
|
|
297
|
+
repeatInterval
|
|
298
|
+
cron
|
|
299
|
+
timeZoneId
|
|
300
|
+
}
|
|
301
|
+
timeout
|
|
288
302
|
}
|
|
289
303
|
}
|
|
290
304
|
}
|
|
@@ -129,10 +129,14 @@ export type Agent = {
|
|
|
129
129
|
owner: Owner;
|
|
130
130
|
/** The relevance score of the agent. */
|
|
131
131
|
relevance?: Maybe<Scalars['Float']['output']>;
|
|
132
|
+
/** The agent schedule policy. */
|
|
133
|
+
schedulePolicy?: Maybe<AgentSchedulePolicy>;
|
|
132
134
|
/** The specification associated with this agent. */
|
|
133
135
|
specification?: Maybe<EntityReference>;
|
|
134
136
|
/** The state of the agent (i.e. created, finished). */
|
|
135
137
|
state: EntityState;
|
|
138
|
+
/** The agent timeout. */
|
|
139
|
+
timeout?: Maybe<Scalars['TimeSpan']['output']>;
|
|
136
140
|
/** The agent type. */
|
|
137
141
|
type: AgentTypes;
|
|
138
142
|
};
|
|
@@ -177,8 +181,12 @@ export type AgentInput = {
|
|
|
177
181
|
filter?: InputMaybe<ContentCriteriaInput>;
|
|
178
182
|
/** The name of the agent. */
|
|
179
183
|
name: Scalars['String']['input'];
|
|
184
|
+
/** The agent schedule policy. */
|
|
185
|
+
schedulePolicy?: InputMaybe<AgentSchedulePolicyInput>;
|
|
180
186
|
/** The specification associated with this agent. */
|
|
181
187
|
specification?: InputMaybe<EntityReferenceInput>;
|
|
188
|
+
/** The agent timeout. */
|
|
189
|
+
timeout?: InputMaybe<Scalars['TimeSpan']['input']>;
|
|
182
190
|
/** The agent type. */
|
|
183
191
|
type: AgentTypes;
|
|
184
192
|
};
|
|
@@ -188,10 +196,33 @@ export type AgentResults = {
|
|
|
188
196
|
/** The list of agent query results. */
|
|
189
197
|
results?: Maybe<Array<Agent>>;
|
|
190
198
|
};
|
|
199
|
+
/** Represents an agent scheduling policy. */
|
|
200
|
+
export type AgentSchedulePolicy = {
|
|
201
|
+
__typename?: 'AgentSchedulePolicy';
|
|
202
|
+
/** 6-field NCRONTAB expression (with seconds), e.g. '0 *\/5 * * * *'. If set, this takes precedence for scheduling. */
|
|
203
|
+
cron?: Maybe<Scalars['String']['output']>;
|
|
204
|
+
/** The agent recurrence type. */
|
|
205
|
+
recurrenceType?: Maybe<TimedPolicyRecurrenceTypes>;
|
|
206
|
+
/** If a repeated agent, the interval between repetitions. Defaults to 15 minutes. */
|
|
207
|
+
repeatInterval?: Maybe<Scalars['TimeSpan']['output']>;
|
|
208
|
+
/** Time zone for interpreting Cron. Accepts IANA ('America/Los_Angeles') or Windows ('Pacific Standard Time') format. If null, Cron is interpreted as UTC. */
|
|
209
|
+
timeZoneId?: Maybe<Scalars['String']['output']>;
|
|
210
|
+
};
|
|
211
|
+
/** Represents an agent scheduling policy. */
|
|
212
|
+
export type AgentSchedulePolicyInput = {
|
|
213
|
+
/** 6-field NCRONTAB expression (with seconds), e.g. '0 *\/5 * * * *'. If set, this takes precedence for scheduling. */
|
|
214
|
+
cron?: InputMaybe<Scalars['String']['input']>;
|
|
215
|
+
/** The agent recurrence type. */
|
|
216
|
+
recurrenceType?: InputMaybe<TimedPolicyRecurrenceTypes>;
|
|
217
|
+
/** If a repeated agent, the interval between repetitions. */
|
|
218
|
+
repeatInterval?: InputMaybe<Scalars['TimeSpan']['input']>;
|
|
219
|
+
/** Time zone for interpreting Cron. Accepts IANA ('America/Los_Angeles') or Windows ('Pacific Standard Time') format. If null, Cron is interpreted as UTC. */
|
|
220
|
+
timeZoneId?: InputMaybe<Scalars['String']['input']>;
|
|
221
|
+
};
|
|
191
222
|
/** Agent type */
|
|
192
223
|
export declare enum AgentTypes {
|
|
193
|
-
/**
|
|
194
|
-
|
|
224
|
+
/** Agent */
|
|
225
|
+
Agent = "AGENT"
|
|
195
226
|
}
|
|
196
227
|
/** Represents an agent. */
|
|
197
228
|
export type AgentUpdateInput = {
|
|
@@ -203,8 +234,12 @@ export type AgentUpdateInput = {
|
|
|
203
234
|
id: Scalars['ID']['input'];
|
|
204
235
|
/** The name of the agent. */
|
|
205
236
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
237
|
+
/** The agent schedule policy. */
|
|
238
|
+
schedulePolicy?: InputMaybe<AgentSchedulePolicyInput>;
|
|
206
239
|
/** The specification associated with this agent. */
|
|
207
240
|
specification?: InputMaybe<EntityReferenceInput>;
|
|
241
|
+
/** The agent timeout. */
|
|
242
|
+
timeout?: InputMaybe<Scalars['TimeSpan']['input']>;
|
|
208
243
|
};
|
|
209
244
|
/** Represents an alert. */
|
|
210
245
|
export type Alert = {
|
|
@@ -15001,6 +15036,7 @@ export type MutationFormatConversationArgs = {
|
|
|
15001
15036
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
15002
15037
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
15003
15038
|
includeDetails?: InputMaybe<Scalars['Boolean']['input']>;
|
|
15039
|
+
instructions?: InputMaybe<Scalars['String']['input']>;
|
|
15004
15040
|
persona?: InputMaybe<EntityReferenceInput>;
|
|
15005
15041
|
prompt: Scalars['String']['input'];
|
|
15006
15042
|
specification?: InputMaybe<EntityReferenceInput>;
|
|
@@ -15125,6 +15161,7 @@ export type MutationPromptConversationArgs = {
|
|
|
15125
15161
|
data?: InputMaybe<Scalars['String']['input']>;
|
|
15126
15162
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
15127
15163
|
includeDetails?: InputMaybe<Scalars['Boolean']['input']>;
|
|
15164
|
+
instructions?: InputMaybe<Scalars['String']['input']>;
|
|
15128
15165
|
mimeType?: InputMaybe<Scalars['String']['input']>;
|
|
15129
15166
|
persona?: InputMaybe<EntityReferenceInput>;
|
|
15130
15167
|
prompt: Scalars['String']['input'];
|
|
@@ -22737,6 +22774,7 @@ export type GetAgentQuery = {
|
|
|
22737
22774
|
state: EntityState;
|
|
22738
22775
|
correlationId?: string | null;
|
|
22739
22776
|
type: AgentTypes;
|
|
22777
|
+
timeout?: any | null;
|
|
22740
22778
|
owner: {
|
|
22741
22779
|
__typename?: 'Owner';
|
|
22742
22780
|
id: string;
|
|
@@ -22865,6 +22903,13 @@ export type GetAgentQuery = {
|
|
|
22865
22903
|
}> | null;
|
|
22866
22904
|
}> | null;
|
|
22867
22905
|
} | null;
|
|
22906
|
+
schedulePolicy?: {
|
|
22907
|
+
__typename?: 'AgentSchedulePolicy';
|
|
22908
|
+
recurrenceType?: TimedPolicyRecurrenceTypes | null;
|
|
22909
|
+
repeatInterval?: any | null;
|
|
22910
|
+
cron?: string | null;
|
|
22911
|
+
timeZoneId?: string | null;
|
|
22912
|
+
} | null;
|
|
22868
22913
|
} | null;
|
|
22869
22914
|
};
|
|
22870
22915
|
export type QueryAgentsQueryVariables = Exact<{
|
|
@@ -22885,6 +22930,7 @@ export type QueryAgentsQuery = {
|
|
|
22885
22930
|
state: EntityState;
|
|
22886
22931
|
correlationId?: string | null;
|
|
22887
22932
|
type: AgentTypes;
|
|
22933
|
+
timeout?: any | null;
|
|
22888
22934
|
owner: {
|
|
22889
22935
|
__typename?: 'Owner';
|
|
22890
22936
|
id: string;
|
|
@@ -23013,6 +23059,13 @@ export type QueryAgentsQuery = {
|
|
|
23013
23059
|
}> | null;
|
|
23014
23060
|
}> | null;
|
|
23015
23061
|
} | null;
|
|
23062
|
+
schedulePolicy?: {
|
|
23063
|
+
__typename?: 'AgentSchedulePolicy';
|
|
23064
|
+
recurrenceType?: TimedPolicyRecurrenceTypes | null;
|
|
23065
|
+
repeatInterval?: any | null;
|
|
23066
|
+
cron?: string | null;
|
|
23067
|
+
timeZoneId?: string | null;
|
|
23068
|
+
} | null;
|
|
23016
23069
|
}> | null;
|
|
23017
23070
|
} | null;
|
|
23018
23071
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** Agent type */
|
|
2
2
|
export var AgentTypes;
|
|
3
3
|
(function (AgentTypes) {
|
|
4
|
-
/**
|
|
5
|
-
AgentTypes["
|
|
4
|
+
/** Agent */
|
|
5
|
+
AgentTypes["Agent"] = "AGENT";
|
|
6
6
|
})(AgentTypes || (AgentTypes = {}));
|
|
7
7
|
/** Alert type */
|
|
8
8
|
export var AlertTypes;
|