graphlit-client 1.0.20260415002 → 1.0.20260415003
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.
|
@@ -13,6 +13,7 @@ export const CreateAgent = gql `
|
|
|
13
13
|
name
|
|
14
14
|
state
|
|
15
15
|
type
|
|
16
|
+
mode
|
|
16
17
|
}
|
|
17
18
|
}
|
|
18
19
|
`;
|
|
@@ -76,6 +77,7 @@ export const GetAgent = gql `
|
|
|
76
77
|
}
|
|
77
78
|
correlationId
|
|
78
79
|
type
|
|
80
|
+
mode
|
|
79
81
|
description
|
|
80
82
|
specification {
|
|
81
83
|
id
|
|
@@ -286,12 +288,29 @@ export const GetAgent = gql `
|
|
|
286
288
|
cron
|
|
287
289
|
timeZoneId
|
|
288
290
|
}
|
|
291
|
+
heartbeat {
|
|
292
|
+
enabled
|
|
293
|
+
frequencyMinutes
|
|
294
|
+
offHoursFrequencyMinutes
|
|
295
|
+
activeHoursStart
|
|
296
|
+
activeHoursEnd
|
|
297
|
+
activeDays
|
|
298
|
+
timezone
|
|
299
|
+
probeThresholds {
|
|
300
|
+
newContentMin
|
|
301
|
+
volumeSpikeMultiplier
|
|
302
|
+
}
|
|
303
|
+
}
|
|
289
304
|
channels {
|
|
290
305
|
type
|
|
291
306
|
identifier
|
|
292
307
|
instructions
|
|
293
308
|
label
|
|
294
309
|
}
|
|
310
|
+
rules {
|
|
311
|
+
then
|
|
312
|
+
if
|
|
313
|
+
}
|
|
295
314
|
commands {
|
|
296
315
|
keyword
|
|
297
316
|
name
|
|
@@ -470,6 +489,7 @@ export const QueryAgents = gql `
|
|
|
470
489
|
state
|
|
471
490
|
correlationId
|
|
472
491
|
type
|
|
492
|
+
mode
|
|
473
493
|
description
|
|
474
494
|
specification {
|
|
475
495
|
id
|
|
@@ -680,12 +700,29 @@ export const QueryAgents = gql `
|
|
|
680
700
|
cron
|
|
681
701
|
timeZoneId
|
|
682
702
|
}
|
|
703
|
+
heartbeat {
|
|
704
|
+
enabled
|
|
705
|
+
frequencyMinutes
|
|
706
|
+
offHoursFrequencyMinutes
|
|
707
|
+
activeHoursStart
|
|
708
|
+
activeHoursEnd
|
|
709
|
+
activeDays
|
|
710
|
+
timezone
|
|
711
|
+
probeThresholds {
|
|
712
|
+
newContentMin
|
|
713
|
+
volumeSpikeMultiplier
|
|
714
|
+
}
|
|
715
|
+
}
|
|
683
716
|
channels {
|
|
684
717
|
type
|
|
685
718
|
identifier
|
|
686
719
|
instructions
|
|
687
720
|
label
|
|
688
721
|
}
|
|
722
|
+
rules {
|
|
723
|
+
then
|
|
724
|
+
if
|
|
725
|
+
}
|
|
689
726
|
commands {
|
|
690
727
|
keyword
|
|
691
728
|
name
|
|
@@ -857,6 +894,7 @@ export const UpdateAgent = gql `
|
|
|
857
894
|
name
|
|
858
895
|
state
|
|
859
896
|
type
|
|
897
|
+
mode
|
|
860
898
|
}
|
|
861
899
|
}
|
|
862
900
|
`;
|
|
@@ -867,6 +905,7 @@ export const UpdateAgentFocus = gql `
|
|
|
867
905
|
name
|
|
868
906
|
state
|
|
869
907
|
type
|
|
908
|
+
mode
|
|
870
909
|
}
|
|
871
910
|
}
|
|
872
911
|
`;
|
|
@@ -877,6 +916,7 @@ export const UpdateAgentScratchpad = gql `
|
|
|
877
916
|
name
|
|
878
917
|
state
|
|
879
918
|
type
|
|
919
|
+
mode
|
|
880
920
|
}
|
|
881
921
|
}
|
|
882
922
|
`;
|
|
@@ -887,6 +927,7 @@ export const UpsertAgent = gql `
|
|
|
887
927
|
name
|
|
888
928
|
state
|
|
889
929
|
type
|
|
930
|
+
mode
|
|
890
931
|
}
|
|
891
932
|
}
|
|
892
933
|
`;
|
|
@@ -131,8 +131,12 @@ export type Agent = {
|
|
|
131
131
|
filter?: Maybe<ContentCriteria>;
|
|
132
132
|
/** The agent focus, for storing the current task or objective. */
|
|
133
133
|
focus?: Maybe<Scalars['String']['output']>;
|
|
134
|
+
/** The agent heartbeat configuration. */
|
|
135
|
+
heartbeat?: Maybe<AgentHeartbeatProperties>;
|
|
134
136
|
/** The ID of the agent. */
|
|
135
137
|
id: Scalars['ID']['output'];
|
|
138
|
+
/** The durable mode configuration for this agent. */
|
|
139
|
+
mode: AgentModes;
|
|
136
140
|
/** The modified date of the agent. */
|
|
137
141
|
modifiedDate?: Maybe<Scalars['DateTime']['output']>;
|
|
138
142
|
/** The name of the agent. */
|
|
@@ -147,6 +151,8 @@ export type Agent = {
|
|
|
147
151
|
relevance?: Maybe<Scalars['Float']['output']>;
|
|
148
152
|
/** The agent research depth. Defaults to STANDARD. */
|
|
149
153
|
researchDepth?: Maybe<AgentResearchDepths>;
|
|
154
|
+
/** The agent classification rules. */
|
|
155
|
+
rules?: Maybe<Array<PromptClassificationRule>>;
|
|
150
156
|
/** The agent schedule policy. */
|
|
151
157
|
schedulePolicy?: Maybe<AgentSchedulePolicy>;
|
|
152
158
|
/** The agent scratchpad, for storing harness working memory. */
|
|
@@ -281,6 +287,60 @@ export type AgentFilter = {
|
|
|
281
287
|
/** Filter by agent types. */
|
|
282
288
|
types?: InputMaybe<Array<AgentTypes>>;
|
|
283
289
|
};
|
|
290
|
+
/** Represents the heartbeat probe thresholds for an agent. */
|
|
291
|
+
export type AgentHeartbeatProbeThresholds = {
|
|
292
|
+
__typename?: 'AgentHeartbeatProbeThresholds';
|
|
293
|
+
/** Minimum new content count required to trigger a heartbeat run. */
|
|
294
|
+
newContentMin?: Maybe<Scalars['Float']['output']>;
|
|
295
|
+
/** Multiplier used to detect heartbeat volume spikes. */
|
|
296
|
+
volumeSpikeMultiplier?: Maybe<Scalars['Float']['output']>;
|
|
297
|
+
};
|
|
298
|
+
/** Represents the heartbeat probe thresholds for an agent. */
|
|
299
|
+
export type AgentHeartbeatProbeThresholdsInput = {
|
|
300
|
+
/** Minimum new content count required to trigger a heartbeat run. */
|
|
301
|
+
newContentMin?: InputMaybe<Scalars['Float']['input']>;
|
|
302
|
+
/** Multiplier used to detect heartbeat volume spikes. */
|
|
303
|
+
volumeSpikeMultiplier?: InputMaybe<Scalars['Float']['input']>;
|
|
304
|
+
};
|
|
305
|
+
/** Represents the heartbeat configuration for an agent. */
|
|
306
|
+
export type AgentHeartbeatProperties = {
|
|
307
|
+
__typename?: 'AgentHeartbeatProperties';
|
|
308
|
+
/** Heartbeat active days of the week. */
|
|
309
|
+
activeDays: Array<Scalars['Int']['output']>;
|
|
310
|
+
/** Heartbeat active-hours end time. */
|
|
311
|
+
activeHoursEnd: Scalars['String']['output'];
|
|
312
|
+
/** Heartbeat active-hours start time. */
|
|
313
|
+
activeHoursStart: Scalars['String']['output'];
|
|
314
|
+
/** Whether heartbeat mode is enabled. */
|
|
315
|
+
enabled: Scalars['Boolean']['output'];
|
|
316
|
+
/** Heartbeat frequency in minutes. */
|
|
317
|
+
frequencyMinutes: Scalars['Int']['output'];
|
|
318
|
+
/** Heartbeat frequency in minutes outside active hours. */
|
|
319
|
+
offHoursFrequencyMinutes?: Maybe<Scalars['Int']['output']>;
|
|
320
|
+
/** Thresholds used to determine whether a heartbeat run should fire. */
|
|
321
|
+
probeThresholds?: Maybe<AgentHeartbeatProbeThresholds>;
|
|
322
|
+
/** The IANA timezone for heartbeat scheduling. */
|
|
323
|
+
timezone: Scalars['String']['output'];
|
|
324
|
+
};
|
|
325
|
+
/** Represents the heartbeat configuration for an agent. */
|
|
326
|
+
export type AgentHeartbeatPropertiesInput = {
|
|
327
|
+
/** Heartbeat active days of the week. */
|
|
328
|
+
activeDays: Array<Scalars['Int']['input']>;
|
|
329
|
+
/** Heartbeat active-hours end time. */
|
|
330
|
+
activeHoursEnd: Scalars['String']['input'];
|
|
331
|
+
/** Heartbeat active-hours start time. */
|
|
332
|
+
activeHoursStart: Scalars['String']['input'];
|
|
333
|
+
/** Whether heartbeat mode is enabled. */
|
|
334
|
+
enabled: Scalars['Boolean']['input'];
|
|
335
|
+
/** Heartbeat frequency in minutes. */
|
|
336
|
+
frequencyMinutes: Scalars['Int']['input'];
|
|
337
|
+
/** Heartbeat frequency in minutes outside active hours. */
|
|
338
|
+
offHoursFrequencyMinutes?: InputMaybe<Scalars['Int']['input']>;
|
|
339
|
+
/** Thresholds used to determine whether a heartbeat run should fire. */
|
|
340
|
+
probeThresholds?: InputMaybe<AgentHeartbeatProbeThresholdsInput>;
|
|
341
|
+
/** The IANA timezone for heartbeat scheduling. */
|
|
342
|
+
timezone: Scalars['String']['input'];
|
|
343
|
+
};
|
|
284
344
|
/** Represents an agent. */
|
|
285
345
|
export type AgentInput = {
|
|
286
346
|
/** The pinned content scope for this agent. */
|
|
@@ -297,6 +357,10 @@ export type AgentInput = {
|
|
|
297
357
|
filter?: InputMaybe<ContentCriteriaInput>;
|
|
298
358
|
/** The agent focus, for storing the current task or objective. */
|
|
299
359
|
focus?: InputMaybe<Scalars['String']['input']>;
|
|
360
|
+
/** The agent heartbeat configuration. */
|
|
361
|
+
heartbeat?: InputMaybe<AgentHeartbeatPropertiesInput>;
|
|
362
|
+
/** The durable mode configuration for this agent. Defaults to INTERACTIVE when omitted. */
|
|
363
|
+
mode?: InputMaybe<AgentModes>;
|
|
300
364
|
/** The name of the agent. */
|
|
301
365
|
name: Scalars['String']['input'];
|
|
302
366
|
/** The persona associated with this agent. */
|
|
@@ -305,6 +369,8 @@ export type AgentInput = {
|
|
|
305
369
|
prompt?: InputMaybe<Scalars['String']['input']>;
|
|
306
370
|
/** The agent research depth. Defaults to STANDARD. */
|
|
307
371
|
researchDepth?: InputMaybe<AgentResearchDepths>;
|
|
372
|
+
/** The agent classification rules. */
|
|
373
|
+
rules?: InputMaybe<Array<PromptClassificationRuleInput>>;
|
|
308
374
|
/** The agent schedule policy. */
|
|
309
375
|
schedulePolicy?: InputMaybe<AgentSchedulePolicyInput>;
|
|
310
376
|
/** The agent scratchpad, for storing harness working memory. */
|
|
@@ -320,6 +386,19 @@ export type AgentInput = {
|
|
|
320
386
|
/** The agent type. */
|
|
321
387
|
type: AgentTypes;
|
|
322
388
|
};
|
|
389
|
+
/** Agent mode */
|
|
390
|
+
export declare enum AgentModes {
|
|
391
|
+
/** Content event */
|
|
392
|
+
ContentEvent = "CONTENT_EVENT",
|
|
393
|
+
/** Heartbeat */
|
|
394
|
+
Heartbeat = "HEARTBEAT",
|
|
395
|
+
/** Interactive */
|
|
396
|
+
Interactive = "INTERACTIVE",
|
|
397
|
+
/** Scheduled */
|
|
398
|
+
Scheduled = "SCHEDULED",
|
|
399
|
+
/** Webhook */
|
|
400
|
+
Webhook = "WEBHOOK"
|
|
401
|
+
}
|
|
323
402
|
/** Agent research depth */
|
|
324
403
|
export declare enum AgentResearchDepths {
|
|
325
404
|
/** Deep research */
|
|
@@ -400,8 +479,12 @@ export type AgentUpdateInput = {
|
|
|
400
479
|
filter?: InputMaybe<ContentCriteriaInput>;
|
|
401
480
|
/** The agent focus, for storing the current task or objective. */
|
|
402
481
|
focus?: InputMaybe<Scalars['String']['input']>;
|
|
482
|
+
/** The agent heartbeat configuration. */
|
|
483
|
+
heartbeat?: InputMaybe<AgentHeartbeatPropertiesInput>;
|
|
403
484
|
/** The ID of the agent to update. */
|
|
404
485
|
id: Scalars['ID']['input'];
|
|
486
|
+
/** The durable mode configuration for this agent. */
|
|
487
|
+
mode?: InputMaybe<AgentModes>;
|
|
405
488
|
/** The name of the agent. */
|
|
406
489
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
407
490
|
/** The persona associated with this agent. */
|
|
@@ -410,6 +493,8 @@ export type AgentUpdateInput = {
|
|
|
410
493
|
prompt?: InputMaybe<Scalars['String']['input']>;
|
|
411
494
|
/** The agent research depth. Defaults to STANDARD. */
|
|
412
495
|
researchDepth?: InputMaybe<AgentResearchDepths>;
|
|
496
|
+
/** The agent classification rules. */
|
|
497
|
+
rules?: InputMaybe<Array<PromptClassificationRuleInput>>;
|
|
413
498
|
/** The agent schedule policy. */
|
|
414
499
|
schedulePolicy?: InputMaybe<AgentSchedulePolicyInput>;
|
|
415
500
|
/** The agent scratchpad, for storing harness working memory. */
|
|
@@ -26052,6 +26137,7 @@ export type CreateAgentMutation = {
|
|
|
26052
26137
|
name: string;
|
|
26053
26138
|
state: EntityState;
|
|
26054
26139
|
type: AgentTypes;
|
|
26140
|
+
mode: AgentModes;
|
|
26055
26141
|
} | null;
|
|
26056
26142
|
};
|
|
26057
26143
|
export type DeleteAgentMutationVariables = Exact<{
|
|
@@ -26127,6 +26213,7 @@ export type GetAgentQuery = {
|
|
|
26127
26213
|
state: EntityState;
|
|
26128
26214
|
correlationId?: string | null;
|
|
26129
26215
|
type: AgentTypes;
|
|
26216
|
+
mode: AgentModes;
|
|
26130
26217
|
description?: string | null;
|
|
26131
26218
|
timeout?: any | null;
|
|
26132
26219
|
prompt?: string | null;
|
|
@@ -26408,6 +26495,21 @@ export type GetAgentQuery = {
|
|
|
26408
26495
|
cron?: string | null;
|
|
26409
26496
|
timeZoneId?: string | null;
|
|
26410
26497
|
} | null;
|
|
26498
|
+
heartbeat?: {
|
|
26499
|
+
__typename?: 'AgentHeartbeatProperties';
|
|
26500
|
+
enabled: boolean;
|
|
26501
|
+
frequencyMinutes: number;
|
|
26502
|
+
offHoursFrequencyMinutes?: number | null;
|
|
26503
|
+
activeHoursStart: string;
|
|
26504
|
+
activeHoursEnd: string;
|
|
26505
|
+
activeDays: Array<number>;
|
|
26506
|
+
timezone: string;
|
|
26507
|
+
probeThresholds?: {
|
|
26508
|
+
__typename?: 'AgentHeartbeatProbeThresholds';
|
|
26509
|
+
newContentMin?: number | null;
|
|
26510
|
+
volumeSpikeMultiplier?: number | null;
|
|
26511
|
+
} | null;
|
|
26512
|
+
} | null;
|
|
26411
26513
|
channels?: Array<{
|
|
26412
26514
|
__typename?: 'AgentChannel';
|
|
26413
26515
|
type: AgentChannelTypes;
|
|
@@ -26415,6 +26517,11 @@ export type GetAgentQuery = {
|
|
|
26415
26517
|
instructions?: string | null;
|
|
26416
26518
|
label?: string | null;
|
|
26417
26519
|
}> | null;
|
|
26520
|
+
rules?: Array<{
|
|
26521
|
+
__typename?: 'PromptClassificationRule';
|
|
26522
|
+
then?: string | null;
|
|
26523
|
+
if?: string | null;
|
|
26524
|
+
}> | null;
|
|
26418
26525
|
commands?: Array<{
|
|
26419
26526
|
__typename?: 'AgentCommand';
|
|
26420
26527
|
keyword: string;
|
|
@@ -26616,6 +26723,7 @@ export type QueryAgentsQuery = {
|
|
|
26616
26723
|
state: EntityState;
|
|
26617
26724
|
correlationId?: string | null;
|
|
26618
26725
|
type: AgentTypes;
|
|
26726
|
+
mode: AgentModes;
|
|
26619
26727
|
description?: string | null;
|
|
26620
26728
|
timeout?: any | null;
|
|
26621
26729
|
prompt?: string | null;
|
|
@@ -26893,6 +27001,21 @@ export type QueryAgentsQuery = {
|
|
|
26893
27001
|
cron?: string | null;
|
|
26894
27002
|
timeZoneId?: string | null;
|
|
26895
27003
|
} | null;
|
|
27004
|
+
heartbeat?: {
|
|
27005
|
+
__typename?: 'AgentHeartbeatProperties';
|
|
27006
|
+
enabled: boolean;
|
|
27007
|
+
frequencyMinutes: number;
|
|
27008
|
+
offHoursFrequencyMinutes?: number | null;
|
|
27009
|
+
activeHoursStart: string;
|
|
27010
|
+
activeHoursEnd: string;
|
|
27011
|
+
activeDays: Array<number>;
|
|
27012
|
+
timezone: string;
|
|
27013
|
+
probeThresholds?: {
|
|
27014
|
+
__typename?: 'AgentHeartbeatProbeThresholds';
|
|
27015
|
+
newContentMin?: number | null;
|
|
27016
|
+
volumeSpikeMultiplier?: number | null;
|
|
27017
|
+
} | null;
|
|
27018
|
+
} | null;
|
|
26896
27019
|
channels?: Array<{
|
|
26897
27020
|
__typename?: 'AgentChannel';
|
|
26898
27021
|
type: AgentChannelTypes;
|
|
@@ -26900,6 +27023,11 @@ export type QueryAgentsQuery = {
|
|
|
26900
27023
|
instructions?: string | null;
|
|
26901
27024
|
label?: string | null;
|
|
26902
27025
|
}> | null;
|
|
27026
|
+
rules?: Array<{
|
|
27027
|
+
__typename?: 'PromptClassificationRule';
|
|
27028
|
+
then?: string | null;
|
|
27029
|
+
if?: string | null;
|
|
27030
|
+
}> | null;
|
|
26903
27031
|
commands?: Array<{
|
|
26904
27032
|
__typename?: 'AgentCommand';
|
|
26905
27033
|
keyword: string;
|
|
@@ -27095,6 +27223,7 @@ export type UpdateAgentMutation = {
|
|
|
27095
27223
|
name: string;
|
|
27096
27224
|
state: EntityState;
|
|
27097
27225
|
type: AgentTypes;
|
|
27226
|
+
mode: AgentModes;
|
|
27098
27227
|
} | null;
|
|
27099
27228
|
};
|
|
27100
27229
|
export type UpdateAgentFocusMutationVariables = Exact<{
|
|
@@ -27109,6 +27238,7 @@ export type UpdateAgentFocusMutation = {
|
|
|
27109
27238
|
name: string;
|
|
27110
27239
|
state: EntityState;
|
|
27111
27240
|
type: AgentTypes;
|
|
27241
|
+
mode: AgentModes;
|
|
27112
27242
|
} | null;
|
|
27113
27243
|
};
|
|
27114
27244
|
export type UpdateAgentScratchpadMutationVariables = Exact<{
|
|
@@ -27123,6 +27253,7 @@ export type UpdateAgentScratchpadMutation = {
|
|
|
27123
27253
|
name: string;
|
|
27124
27254
|
state: EntityState;
|
|
27125
27255
|
type: AgentTypes;
|
|
27256
|
+
mode: AgentModes;
|
|
27126
27257
|
} | null;
|
|
27127
27258
|
};
|
|
27128
27259
|
export type UpsertAgentMutationVariables = Exact<{
|
|
@@ -27136,6 +27267,7 @@ export type UpsertAgentMutation = {
|
|
|
27136
27267
|
name: string;
|
|
27137
27268
|
state: EntityState;
|
|
27138
27269
|
type: AgentTypes;
|
|
27270
|
+
mode: AgentModes;
|
|
27139
27271
|
} | null;
|
|
27140
27272
|
};
|
|
27141
27273
|
export type CountAlertsQueryVariables = Exact<{
|
|
@@ -28,6 +28,20 @@ export var AgentCommandActionTypes;
|
|
|
28
28
|
/** Returns static text. No LLM invocation, zero cost. */
|
|
29
29
|
AgentCommandActionTypes["Reply"] = "REPLY";
|
|
30
30
|
})(AgentCommandActionTypes || (AgentCommandActionTypes = {}));
|
|
31
|
+
/** Agent mode */
|
|
32
|
+
export var AgentModes;
|
|
33
|
+
(function (AgentModes) {
|
|
34
|
+
/** Content event */
|
|
35
|
+
AgentModes["ContentEvent"] = "CONTENT_EVENT";
|
|
36
|
+
/** Heartbeat */
|
|
37
|
+
AgentModes["Heartbeat"] = "HEARTBEAT";
|
|
38
|
+
/** Interactive */
|
|
39
|
+
AgentModes["Interactive"] = "INTERACTIVE";
|
|
40
|
+
/** Scheduled */
|
|
41
|
+
AgentModes["Scheduled"] = "SCHEDULED";
|
|
42
|
+
/** Webhook */
|
|
43
|
+
AgentModes["Webhook"] = "WEBHOOK";
|
|
44
|
+
})(AgentModes || (AgentModes = {}));
|
|
31
45
|
/** Agent research depth */
|
|
32
46
|
export var AgentResearchDepths;
|
|
33
47
|
(function (AgentResearchDepths) {
|