@agentrix/shared 2.2.0 → 2.2.1

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.
package/dist/index.cjs CHANGED
@@ -1781,6 +1781,7 @@ const DaemonGitlabOperationSchema = zod.z.enum([
1781
1781
  "createMergeRequest",
1782
1782
  "getMergeRequest",
1783
1783
  "listMergeRequests",
1784
+ "requestGitlabApi",
1784
1785
  "resolveGitAuthContext"
1785
1786
  ]);
1786
1787
  const DaemonGitlabRequestSchema = EventBaseSchema.extend({
package/dist/index.d.cts CHANGED
@@ -53,9 +53,9 @@ declare const FileStatsSchema: z.ZodObject<{
53
53
  }, z.core.$strip>;
54
54
  type FileStats = z.infer<typeof FileStatsSchema>;
55
55
  declare const SenderTypeSchema: z.ZodEnum<{
56
- agent: "agent";
57
56
  human: "human";
58
57
  system: "system";
58
+ agent: "agent";
59
59
  }>;
60
60
  type SenderType = z.infer<typeof SenderTypeSchema>;
61
61
 
@@ -1076,14 +1076,14 @@ type SendMessageTarget = 'agent' | 'user';
1076
1076
  declare const SendTaskMessageRequestSchema: z.ZodObject<{
1077
1077
  message: z.ZodCustom<SDKUserMessage | SDKAssistantMessage, SDKUserMessage | SDKAssistantMessage>;
1078
1078
  target: z.ZodEnum<{
1079
- user: "user";
1080
1079
  agent: "agent";
1080
+ user: "user";
1081
1081
  }>;
1082
1082
  fromTaskId: z.ZodOptional<z.ZodString>;
1083
1083
  senderType: z.ZodEnum<{
1084
- agent: "agent";
1085
1084
  human: "human";
1086
1085
  system: "system";
1086
+ agent: "agent";
1087
1087
  }>;
1088
1088
  senderId: z.ZodString;
1089
1089
  senderName: z.ZodString;
@@ -1232,8 +1232,8 @@ declare const ChatMemberSchema: z.ZodObject<{
1232
1232
  chatId: z.ZodString;
1233
1233
  memberCode: z.ZodString;
1234
1234
  type: z.ZodEnum<{
1235
- agent: "agent";
1236
1235
  human: "human";
1236
+ agent: "agent";
1237
1237
  }>;
1238
1238
  role: z.ZodString;
1239
1239
  createdAt: z.ZodString;
@@ -1289,8 +1289,8 @@ declare const ChatWithMembersSchema: z.ZodObject<{
1289
1289
  chatId: z.ZodString;
1290
1290
  memberCode: z.ZodString;
1291
1291
  type: z.ZodEnum<{
1292
- agent: "agent";
1293
1292
  human: "human";
1293
+ agent: "agent";
1294
1294
  }>;
1295
1295
  role: z.ZodString;
1296
1296
  createdAt: z.ZodString;
@@ -1304,8 +1304,8 @@ type ChatWithMembers = z.infer<typeof ChatWithMembersSchema>;
1304
1304
  declare const ChatMemberInputSchema: z.ZodObject<{
1305
1305
  memberCode: z.ZodString;
1306
1306
  type: z.ZodEnum<{
1307
- agent: "agent";
1308
1307
  human: "human";
1308
+ agent: "agent";
1309
1309
  }>;
1310
1310
  }, z.core.$strip>;
1311
1311
  type ChatMemberInput = z.infer<typeof ChatMemberInputSchema>;
@@ -1320,8 +1320,8 @@ declare const CreateChatRequestSchema: z.ZodObject<{
1320
1320
  members: z.ZodArray<z.ZodObject<{
1321
1321
  memberCode: z.ZodString;
1322
1322
  type: z.ZodEnum<{
1323
- agent: "agent";
1324
1323
  human: "human";
1324
+ agent: "agent";
1325
1325
  }>;
1326
1326
  }, z.core.$strip>>;
1327
1327
  dataEncryptionKey: z.ZodOptional<z.ZodString>;
@@ -1350,8 +1350,8 @@ declare const CreateChatResponseSchema: z.ZodObject<{
1350
1350
  chatId: z.ZodString;
1351
1351
  memberCode: z.ZodString;
1352
1352
  type: z.ZodEnum<{
1353
- agent: "agent";
1354
1353
  human: "human";
1354
+ agent: "agent";
1355
1355
  }>;
1356
1356
  role: z.ZodString;
1357
1357
  createdAt: z.ZodString;
@@ -1391,8 +1391,8 @@ declare const ListChatsResponseSchema: z.ZodObject<{
1391
1391
  chatId: z.ZodString;
1392
1392
  memberCode: z.ZodString;
1393
1393
  type: z.ZodEnum<{
1394
- agent: "agent";
1395
1394
  human: "human";
1395
+ agent: "agent";
1396
1396
  }>;
1397
1397
  role: z.ZodString;
1398
1398
  createdAt: z.ZodString;
@@ -1424,8 +1424,8 @@ declare const GetChatResponseSchema: z.ZodObject<{
1424
1424
  chatId: z.ZodString;
1425
1425
  memberCode: z.ZodString;
1426
1426
  type: z.ZodEnum<{
1427
- agent: "agent";
1428
1427
  human: "human";
1428
+ agent: "agent";
1429
1429
  }>;
1430
1430
  role: z.ZodString;
1431
1431
  createdAt: z.ZodString;
@@ -1442,8 +1442,8 @@ declare const ListChatMembersResponseSchema: z.ZodObject<{
1442
1442
  chatId: z.ZodString;
1443
1443
  memberCode: z.ZodString;
1444
1444
  type: z.ZodEnum<{
1445
- agent: "agent";
1446
1445
  human: "human";
1446
+ agent: "agent";
1447
1447
  }>;
1448
1448
  role: z.ZodString;
1449
1449
  createdAt: z.ZodString;
@@ -1459,8 +1459,8 @@ declare const AddChatMemberRequestSchema: z.ZodObject<{
1459
1459
  members: z.ZodArray<z.ZodObject<{
1460
1460
  memberCode: z.ZodString;
1461
1461
  type: z.ZodEnum<{
1462
- agent: "agent";
1463
1462
  human: "human";
1463
+ agent: "agent";
1464
1464
  }>;
1465
1465
  }, z.core.$strip>>;
1466
1466
  }, z.core.$strip>;
@@ -1474,8 +1474,8 @@ declare const AddChatMemberResponseSchema: z.ZodObject<{
1474
1474
  chatId: z.ZodString;
1475
1475
  memberCode: z.ZodString;
1476
1476
  type: z.ZodEnum<{
1477
- agent: "agent";
1478
1477
  human: "human";
1478
+ agent: "agent";
1479
1479
  }>;
1480
1480
  role: z.ZodString;
1481
1481
  createdAt: z.ZodString;
@@ -1491,8 +1491,8 @@ declare const RemoveChatMemberRequestSchema: z.ZodObject<{
1491
1491
  members: z.ZodArray<z.ZodObject<{
1492
1492
  memberCode: z.ZodString;
1493
1493
  type: z.ZodEnum<{
1494
- agent: "agent";
1495
1494
  human: "human";
1495
+ agent: "agent";
1496
1496
  }>;
1497
1497
  }, z.core.$strip>>;
1498
1498
  }, z.core.$strip>;
@@ -3459,8 +3459,8 @@ declare const AskUserResponseStatusSchema: z.ZodEnum<{
3459
3459
  timeout: "timeout";
3460
3460
  }>;
3461
3461
  declare const AskUserResponseReasonSchema: z.ZodEnum<{
3462
- user: "user";
3463
3462
  system: "system";
3463
+ user: "user";
3464
3464
  timeout: "timeout";
3465
3465
  }>;
3466
3466
  type AskUserResponseStatus = z.infer<typeof AskUserResponseStatusSchema>;
@@ -3480,8 +3480,8 @@ declare const AskUserResponseMessageSchema: z.ZodObject<{
3480
3480
  timeout: "timeout";
3481
3481
  }>>;
3482
3482
  reason: z.ZodOptional<z.ZodEnum<{
3483
- user: "user";
3484
3483
  system: "system";
3484
+ user: "user";
3485
3485
  timeout: "timeout";
3486
3486
  }>>;
3487
3487
  }, z.core.$strip>;
@@ -3972,9 +3972,9 @@ declare const TaskMessageSchema: z.ZodObject<{
3972
3972
  encryptedMessage: z.ZodOptional<z.ZodString>;
3973
3973
  agentId: z.ZodOptional<z.ZodString>;
3974
3974
  senderType: z.ZodEnum<{
3975
- agent: "agent";
3976
3975
  human: "human";
3977
3976
  system: "system";
3977
+ agent: "agent";
3978
3978
  }>;
3979
3979
  senderId: z.ZodString;
3980
3980
  senderName: z.ZodString;
@@ -4373,8 +4373,8 @@ declare const SystemMessageSchema: z.ZodObject<{
4373
4373
  chatId: z.ZodString;
4374
4374
  memberCode: z.ZodString;
4375
4375
  type: z.ZodEnum<{
4376
- agent: "agent";
4377
4376
  human: "human";
4377
+ agent: "agent";
4378
4378
  }>;
4379
4379
  role: z.ZodString;
4380
4380
  createdAt: z.ZodString;
@@ -4579,6 +4579,7 @@ declare const DaemonGitlabOperationSchema: z.ZodEnum<{
4579
4579
  createMergeRequest: "createMergeRequest";
4580
4580
  getMergeRequest: "getMergeRequest";
4581
4581
  listMergeRequests: "listMergeRequests";
4582
+ requestGitlabApi: "requestGitlabApi";
4582
4583
  resolveGitAuthContext: "resolveGitAuthContext";
4583
4584
  }>;
4584
4585
  type DaemonGitlabOperation = z.infer<typeof DaemonGitlabOperationSchema>;
@@ -4596,6 +4597,7 @@ declare const DaemonGitlabRequestSchema: z.ZodObject<{
4596
4597
  createMergeRequest: "createMergeRequest";
4597
4598
  getMergeRequest: "getMergeRequest";
4598
4599
  listMergeRequests: "listMergeRequests";
4600
+ requestGitlabApi: "requestGitlabApi";
4599
4601
  resolveGitAuthContext: "resolveGitAuthContext";
4600
4602
  }>;
4601
4603
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentrix/shared",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "Shared types and schemas for Agentrix projects",
5
5
  "main": "./dist/index.cjs",
6
6
  "types": "./dist/index.d.cts",