graphlit-client 1.0.20260406001 → 1.0.20260406002

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.
@@ -81,6 +81,10 @@ export const GetAgent = gql `
81
81
  id
82
82
  name
83
83
  }
84
+ persona {
85
+ id
86
+ name
87
+ }
84
88
  trigger {
85
89
  types
86
90
  fileTypes
@@ -327,6 +331,10 @@ export const QueryAgents = gql `
327
331
  id
328
332
  name
329
333
  }
334
+ persona {
335
+ id
336
+ name
337
+ }
330
338
  trigger {
331
339
  types
332
340
  fileTypes
@@ -139,6 +139,8 @@ export type Agent = {
139
139
  name: Scalars['String']['output'];
140
140
  /** The owner of the agent. */
141
141
  owner: Owner;
142
+ /** The persona associated with this agent. */
143
+ persona?: Maybe<Persona>;
142
144
  /** The execution prompt run on each triggered activation (schedule, webhook, event, manual). */
143
145
  prompt?: Maybe<Scalars['String']['output']>;
144
146
  /** The relevance score of the agent. */
@@ -295,6 +297,8 @@ export type AgentInput = {
295
297
  filter?: InputMaybe<ContentCriteriaInput>;
296
298
  /** The name of the agent. */
297
299
  name: Scalars['String']['input'];
300
+ /** The persona associated with this agent. */
301
+ persona?: InputMaybe<EntityReferenceInput>;
298
302
  /** The execution prompt run on each triggered activation. */
299
303
  prompt?: InputMaybe<Scalars['String']['input']>;
300
304
  /** The agent research depth. Defaults to STANDARD. */
@@ -396,6 +400,8 @@ export type AgentUpdateInput = {
396
400
  id: Scalars['ID']['input'];
397
401
  /** The name of the agent. */
398
402
  name?: InputMaybe<Scalars['String']['input']>;
403
+ /** The persona associated with this agent. */
404
+ persona?: InputMaybe<EntityReferenceInput>;
399
405
  /** The execution prompt run on each triggered activation. */
400
406
  prompt?: InputMaybe<Scalars['String']['input']>;
401
407
  /** The agent research depth. Defaults to STANDARD. */
@@ -25353,6 +25359,11 @@ export type GetAgentQuery = {
25353
25359
  id: string;
25354
25360
  name: string;
25355
25361
  } | null;
25362
+ persona?: {
25363
+ __typename?: 'Persona';
25364
+ id: string;
25365
+ name: string;
25366
+ } | null;
25356
25367
  trigger?: {
25357
25368
  __typename?: 'AgentTriggerFilter';
25358
25369
  types?: Array<ContentTypes> | null;
@@ -25664,6 +25675,11 @@ export type QueryAgentsQuery = {
25664
25675
  id: string;
25665
25676
  name: string;
25666
25677
  } | null;
25678
+ persona?: {
25679
+ __typename?: 'Persona';
25680
+ id: string;
25681
+ name: string;
25682
+ } | null;
25667
25683
  trigger?: {
25668
25684
  __typename?: 'AgentTriggerFilter';
25669
25685
  types?: Array<ContentTypes> | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20260406001",
3
+ "version": "1.0.20260406002",
4
4
  "description": "Graphlit API Client for TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/client.js",