graphlit-client 1.0.20260403003 → 1.0.20260404001

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.
@@ -287,6 +287,14 @@ export const GetAgent = gql `
287
287
  instructions
288
288
  label
289
289
  }
290
+ commands {
291
+ keyword
292
+ name
293
+ description
294
+ type
295
+ template
296
+ enabled
297
+ }
290
298
  connectors {
291
299
  id
292
300
  }
@@ -524,6 +532,14 @@ export const QueryAgents = gql `
524
532
  instructions
525
533
  label
526
534
  }
535
+ commands {
536
+ keyword
537
+ name
538
+ description
539
+ type
540
+ template
541
+ enabled
542
+ }
527
543
  connectors {
528
544
  id
529
545
  }
@@ -2310,6 +2326,7 @@ export const GetContent = gql `
2310
2326
  transcriptUri
2311
2327
  snapshotsUri
2312
2328
  snapshotCount
2329
+ snippet
2313
2330
  summary
2314
2331
  customSummary
2315
2332
  keywords
@@ -3214,6 +3231,7 @@ export const LookupContents = gql `
3214
3231
  transcriptUri
3215
3232
  snapshotsUri
3216
3233
  snapshotCount
3234
+ snippet
3217
3235
  summary
3218
3236
  customSummary
3219
3237
  keywords
@@ -3983,6 +4001,7 @@ export const QueryContents = gql `
3983
4001
  transcriptUri
3984
4002
  snapshotsUri
3985
4003
  snapshotCount
4004
+ snippet
3986
4005
  summary
3987
4006
  customSummary
3988
4007
  quotes
@@ -4435,6 +4454,7 @@ export const QueryContentsObservations = gql `
4435
4454
  transcriptUri
4436
4455
  snapshotsUri
4437
4456
  snapshotCount
4457
+ snippet
4438
4458
  summary
4439
4459
  customSummary
4440
4460
  quotes
@@ -115,6 +115,8 @@ export type Agent = {
115
115
  callbackUri?: Maybe<Scalars['URL']['output']>;
116
116
  /** The agent channels. */
117
117
  channels?: Maybe<Array<AgentChannel>>;
118
+ /** The agent commands. */
119
+ commands?: Maybe<Array<AgentCommand>>;
118
120
  /** The agent connectors. */
119
121
  connectors?: Maybe<Array<EntityReference>>;
120
122
  /** The conversations generated by this agent. */
@@ -204,6 +206,44 @@ export declare enum AgentChannelTypes {
204
206
  /** WhatsApp */
205
207
  WhatsApp = "WHATS_APP"
206
208
  }
209
+ /** Represents an agent command. */
210
+ export type AgentCommand = {
211
+ __typename?: 'AgentCommand';
212
+ /** One-line description shown in /help output. */
213
+ description?: Maybe<Scalars['String']['output']>;
214
+ /** Whether the command is active. */
215
+ enabled: Scalars['Boolean']['output'];
216
+ /** Single-word keyword (lowercase, no spaces, hyphens allowed). Users type /{keyword} to invoke. */
217
+ keyword: Scalars['String']['output'];
218
+ /** Display name shown in /help output. */
219
+ name: Scalars['String']['output'];
220
+ /** For PROMPT type: the prompt template. For REPLY type: the static text returned. */
221
+ template: Scalars['String']['output'];
222
+ /** The command action type. */
223
+ type: AgentCommandActionTypes;
224
+ };
225
+ /** Agent command action type */
226
+ export declare enum AgentCommandActionTypes {
227
+ /** Injects a canned prompt with optional {input} substitution. LLM is invoked. */
228
+ Prompt = "PROMPT",
229
+ /** Returns static text. No LLM invocation, zero cost. */
230
+ Reply = "REPLY"
231
+ }
232
+ /** Represents an agent command. */
233
+ export type AgentCommandInput = {
234
+ /** One-line description shown in /help output. */
235
+ description?: InputMaybe<Scalars['String']['input']>;
236
+ /** Whether the command is active. Defaults to true. */
237
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
238
+ /** Single-word keyword (lowercase, no spaces, hyphens allowed). Users type /{keyword} to invoke. */
239
+ keyword: Scalars['String']['input'];
240
+ /** Display name shown in /help output. */
241
+ name: Scalars['String']['input'];
242
+ /** For PROMPT type: the prompt template. For REPLY type: the static text returned. */
243
+ template: Scalars['String']['input'];
244
+ /** The command action type. */
245
+ type: AgentCommandActionTypes;
246
+ };
207
247
  /** Represents a filter for agents. */
208
248
  export type AgentFilter = {
209
249
  /** Filter by conversations. */
@@ -245,6 +285,8 @@ export type AgentInput = {
245
285
  callbackUri?: InputMaybe<Scalars['URL']['input']>;
246
286
  /** The agent channels. */
247
287
  channels?: InputMaybe<Array<AgentChannelInput>>;
288
+ /** The agent commands. */
289
+ commands?: InputMaybe<Array<AgentCommandInput>>;
248
290
  /** The agent connectors. */
249
291
  connectors?: InputMaybe<Array<EntityReferenceInput>>;
250
292
  /** The description of the agent. */
@@ -342,6 +384,8 @@ export type AgentUpdateInput = {
342
384
  callbackUri?: InputMaybe<Scalars['URL']['input']>;
343
385
  /** The agent channels. */
344
386
  channels?: InputMaybe<Array<AgentChannelInput>>;
387
+ /** The agent commands. */
388
+ commands?: InputMaybe<Array<AgentCommandInput>>;
345
389
  /** The agent connectors. */
346
390
  connectors?: InputMaybe<Array<EntityReferenceInput>>;
347
391
  /** The description of the agent. */
@@ -3363,6 +3407,8 @@ export type Content = {
3363
3407
  snapshotCount?: Maybe<Scalars['Int']['output']>;
3364
3408
  /** The snapshots folder URI of the content. Provides read access to version history snapshots including content.json, content.md, content.diff.json, and all renditions for each snapshot timestamp. Only present if snapshots exist. */
3365
3409
  snapshotsUri?: Maybe<Scalars['URL']['output']>;
3410
+ /** The content preview snippet, formatted as plain text. */
3411
+ snippet?: Maybe<Scalars['String']['output']>;
3366
3412
  /** The started date of the content workflow. */
3367
3413
  startedDate?: Maybe<Scalars['DateTime']['output']>;
3368
3414
  /** The state of the content (i.e. created, finished). */
@@ -25569,6 +25615,15 @@ export type GetAgentQuery = {
25569
25615
  instructions?: string | null;
25570
25616
  label?: string | null;
25571
25617
  }> | null;
25618
+ commands?: Array<{
25619
+ __typename?: 'AgentCommand';
25620
+ keyword: string;
25621
+ name: string;
25622
+ description?: string | null;
25623
+ type: AgentCommandActionTypes;
25624
+ template: string;
25625
+ enabled: boolean;
25626
+ }> | null;
25572
25627
  connectors?: Array<{
25573
25628
  __typename?: 'EntityReference';
25574
25629
  id: string;
@@ -25870,6 +25925,15 @@ export type QueryAgentsQuery = {
25870
25925
  instructions?: string | null;
25871
25926
  label?: string | null;
25872
25927
  }> | null;
25928
+ commands?: Array<{
25929
+ __typename?: 'AgentCommand';
25930
+ keyword: string;
25931
+ name: string;
25932
+ description?: string | null;
25933
+ type: AgentCommandActionTypes;
25934
+ template: string;
25935
+ enabled: boolean;
25936
+ }> | null;
25873
25937
  connectors?: Array<{
25874
25938
  __typename?: 'EntityReference';
25875
25939
  id: string;
@@ -28019,6 +28083,7 @@ export type GetContentQuery = {
28019
28083
  transcriptUri?: any | null;
28020
28084
  snapshotsUri?: any | null;
28021
28085
  snapshotCount?: number | null;
28086
+ snippet?: string | null;
28022
28087
  summary?: string | null;
28023
28088
  customSummary?: string | null;
28024
28089
  keywords?: Array<string> | null;
@@ -29037,6 +29102,7 @@ export type LookupContentsQuery = {
29037
29102
  transcriptUri?: any | null;
29038
29103
  snapshotsUri?: any | null;
29039
29104
  snapshotCount?: number | null;
29105
+ snippet?: string | null;
29040
29106
  summary?: string | null;
29041
29107
  customSummary?: string | null;
29042
29108
  keywords?: Array<string> | null;
@@ -29916,6 +29982,7 @@ export type QueryContentsQuery = {
29916
29982
  transcriptUri?: any | null;
29917
29983
  snapshotsUri?: any | null;
29918
29984
  snapshotCount?: number | null;
29985
+ snippet?: string | null;
29919
29986
  summary?: string | null;
29920
29987
  customSummary?: string | null;
29921
29988
  quotes?: Array<string> | null;
@@ -30435,6 +30502,7 @@ export type QueryContentsObservationsQuery = {
30435
30502
  transcriptUri?: any | null;
30436
30503
  snapshotsUri?: any | null;
30437
30504
  snapshotCount?: number | null;
30505
+ snippet?: string | null;
30438
30506
  summary?: string | null;
30439
30507
  customSummary?: string | null;
30440
30508
  quotes?: Array<string> | null;
@@ -20,6 +20,14 @@ export var AgentChannelTypes;
20
20
  /** WhatsApp */
21
21
  AgentChannelTypes["WhatsApp"] = "WHATS_APP";
22
22
  })(AgentChannelTypes || (AgentChannelTypes = {}));
23
+ /** Agent command action type */
24
+ export var AgentCommandActionTypes;
25
+ (function (AgentCommandActionTypes) {
26
+ /** Injects a canned prompt with optional {input} substitution. LLM is invoked. */
27
+ AgentCommandActionTypes["Prompt"] = "PROMPT";
28
+ /** Returns static text. No LLM invocation, zero cost. */
29
+ AgentCommandActionTypes["Reply"] = "REPLY";
30
+ })(AgentCommandActionTypes || (AgentCommandActionTypes = {}));
23
31
  /** Agent research depth */
24
32
  export var AgentResearchDepths;
25
33
  (function (AgentResearchDepths) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20260403003",
3
+ "version": "1.0.20260404001",
4
4
  "description": "Graphlit API Client for TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/client.js",