@agentrix/shared 2.39.0 → 2.40.0

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.
@@ -1207,18 +1207,22 @@ type SendMessageTarget = 'agent' | 'user';
1207
1207
  declare const SendTaskMessageRequestSchema: z.ZodObject<{
1208
1208
  message: z.ZodCustom<SDKUserMessage | SDKAssistantMessage, SDKUserMessage | SDKAssistantMessage>;
1209
1209
  target: z.ZodEnum<{
1210
- agent: "agent";
1211
1210
  user: "user";
1211
+ agent: "agent";
1212
1212
  }>;
1213
1213
  fromTaskId: z.ZodOptional<z.ZodString>;
1214
1214
  senderType: z.ZodEnum<{
1215
+ agent: "agent";
1215
1216
  human: "human";
1216
1217
  system: "system";
1217
- agent: "agent";
1218
1218
  channel: "channel";
1219
1219
  }>;
1220
1220
  senderId: z.ZodString;
1221
1221
  senderName: z.ZodString;
1222
+ responseMode: z.ZodOptional<z.ZodEnum<{
1223
+ stream: "stream";
1224
+ async: "async";
1225
+ }>>;
1222
1226
  }, z.core.$strip>;
1223
1227
  type SendTaskMessageRequest = z.infer<typeof SendTaskMessageRequestSchema>;
1224
1228
  /**
@@ -1226,6 +1230,16 @@ type SendTaskMessageRequest = z.infer<typeof SendTaskMessageRequestSchema>;
1226
1230
  */
1227
1231
  declare const SendTaskMessageResponseSchema: z.ZodObject<{
1228
1232
  success: z.ZodBoolean;
1233
+ run: z.ZodOptional<z.ZodObject<{
1234
+ runId: z.ZodString;
1235
+ status: z.ZodEnum<{
1236
+ running: "running";
1237
+ failed: "failed";
1238
+ queued: "queued";
1239
+ completed: "completed";
1240
+ }>;
1241
+ detailUrl: z.ZodString;
1242
+ }, z.core.$strip>>;
1229
1243
  }, z.core.$strip>;
1230
1244
  type SendTaskMessageResponse = z.infer<typeof SendTaskMessageResponseSchema>;
1231
1245
  /**
@@ -1289,9 +1303,9 @@ declare const ListRecentTasksRequestSchema: z.ZodObject<{
1289
1303
  chatId: z.ZodString;
1290
1304
  limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
1291
1305
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1306
+ completed: "completed";
1292
1307
  all: "all";
1293
1308
  active: "active";
1294
- completed: "completed";
1295
1309
  }>>>;
1296
1310
  }, z.core.$strip>;
1297
1311
  type ListRecentTasksRequest = z.infer<typeof ListRecentTasksRequestSchema>;
@@ -1357,8 +1371,8 @@ declare const HiveListingTypeSchema: z.ZodEnum<{
1357
1371
  }>;
1358
1372
  type HiveListingType = z.infer<typeof HiveListingTypeSchema>;
1359
1373
  declare const HiveAuthorTypeSchema: z.ZodEnum<{
1360
- agent: "agent";
1361
1374
  user: "user";
1375
+ agent: "agent";
1362
1376
  }>;
1363
1377
  type HiveAuthorType = z.infer<typeof HiveAuthorTypeSchema>;
1364
1378
  declare const HiveListingStatusSchema: z.ZodEnum<{
@@ -1388,8 +1402,8 @@ declare const HiveListingSchema: z.ZodObject<{
1388
1402
  version: z.ZodString;
1389
1403
  avatar: z.ZodNullable<z.ZodString>;
1390
1404
  authorType: z.ZodEnum<{
1391
- agent: "agent";
1392
1405
  user: "user";
1406
+ agent: "agent";
1393
1407
  }>;
1394
1408
  authorId: z.ZodString;
1395
1409
  authorName: z.ZodString;
@@ -1429,8 +1443,8 @@ declare const PublishToHiveRequestSchema: z.ZodObject<{
1429
1443
  category: z.ZodOptional<z.ZodString>;
1430
1444
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1431
1445
  authorType: z.ZodEnum<{
1432
- agent: "agent";
1433
1446
  user: "user";
1447
+ agent: "agent";
1434
1448
  }>;
1435
1449
  authorId: z.ZodString;
1436
1450
  machineId: z.ZodOptional<z.ZodString>;
@@ -1475,8 +1489,8 @@ declare const HiveListResponseSchema: z.ZodObject<{
1475
1489
  version: z.ZodString;
1476
1490
  avatar: z.ZodNullable<z.ZodString>;
1477
1491
  authorType: z.ZodEnum<{
1478
- agent: "agent";
1479
1492
  user: "user";
1493
+ agent: "agent";
1480
1494
  }>;
1481
1495
  authorId: z.ZodString;
1482
1496
  authorName: z.ZodString;
@@ -1580,8 +1594,8 @@ declare const HiveReviewSchema: z.ZodObject<{
1580
1594
  id: z.ZodString;
1581
1595
  hiveListingId: z.ZodString;
1582
1596
  authorType: z.ZodEnum<{
1583
- agent: "agent";
1584
1597
  user: "user";
1598
+ agent: "agent";
1585
1599
  }>;
1586
1600
  authorId: z.ZodString;
1587
1601
  authorName: z.ZodString;
@@ -1607,8 +1621,8 @@ declare const HiveReviewListResponseSchema: z.ZodObject<{
1607
1621
  id: z.ZodString;
1608
1622
  hiveListingId: z.ZodString;
1609
1623
  authorType: z.ZodEnum<{
1610
- agent: "agent";
1611
1624
  user: "user";
1625
+ agent: "agent";
1612
1626
  }>;
1613
1627
  authorId: z.ZodString;
1614
1628
  authorName: z.ZodString;
@@ -1628,8 +1642,8 @@ declare const HiveCommentSchema: z.ZodObject<{
1628
1642
  hiveListingId: z.ZodString;
1629
1643
  parentId: z.ZodNullable<z.ZodString>;
1630
1644
  authorType: z.ZodEnum<{
1631
- agent: "agent";
1632
1645
  user: "user";
1646
+ agent: "agent";
1633
1647
  }>;
1634
1648
  authorId: z.ZodString;
1635
1649
  authorName: z.ZodString;
@@ -1654,8 +1668,8 @@ declare const HiveCommentListResponseSchema: z.ZodObject<{
1654
1668
  hiveListingId: z.ZodString;
1655
1669
  parentId: z.ZodNullable<z.ZodString>;
1656
1670
  authorType: z.ZodEnum<{
1657
- agent: "agent";
1658
1671
  user: "user";
1672
+ agent: "agent";
1659
1673
  }>;
1660
1674
  authorId: z.ZodString;
1661
1675
  authorName: z.ZodString;
@@ -1695,8 +1709,8 @@ declare const HiveInstalledItemSchema: z.ZodObject<{
1695
1709
  version: z.ZodString;
1696
1710
  avatar: z.ZodNullable<z.ZodString>;
1697
1711
  authorType: z.ZodEnum<{
1698
- agent: "agent";
1699
1712
  user: "user";
1713
+ agent: "agent";
1700
1714
  }>;
1701
1715
  authorId: z.ZodString;
1702
1716
  authorName: z.ZodString;
@@ -1750,8 +1764,8 @@ declare const HiveInstalledResponseSchema: z.ZodObject<{
1750
1764
  version: z.ZodString;
1751
1765
  avatar: z.ZodNullable<z.ZodString>;
1752
1766
  authorType: z.ZodEnum<{
1753
- agent: "agent";
1754
1767
  user: "user";
1768
+ agent: "agent";
1755
1769
  }>;
1756
1770
  authorId: z.ZodString;
1757
1771
  authorName: z.ZodString;
@@ -1793,8 +1807,8 @@ declare const HiveMyListingsResponseSchema: z.ZodObject<{
1793
1807
  version: z.ZodString;
1794
1808
  avatar: z.ZodNullable<z.ZodString>;
1795
1809
  authorType: z.ZodEnum<{
1796
- agent: "agent";
1797
1810
  user: "user";
1811
+ agent: "agent";
1798
1812
  }>;
1799
1813
  authorId: z.ZodString;
1800
1814
  authorName: z.ZodString;
@@ -2331,8 +2345,8 @@ declare const AskUserResponseStatusSchema: z.ZodEnum<{
2331
2345
  cancelled: "cancelled";
2332
2346
  }>;
2333
2347
  declare const AskUserResponseReasonSchema: z.ZodEnum<{
2334
- system: "system";
2335
2348
  user: "user";
2349
+ system: "system";
2336
2350
  timeout: "timeout";
2337
2351
  }>;
2338
2352
  type AskUserResponseStatus = z.infer<typeof AskUserResponseStatusSchema>;
@@ -2354,8 +2368,8 @@ declare const AskUserResponseMessageSchema: z.ZodObject<{
2354
2368
  cancelled: "cancelled";
2355
2369
  }>>;
2356
2370
  reason: z.ZodOptional<z.ZodEnum<{
2357
- system: "system";
2358
2371
  user: "user";
2372
+ system: "system";
2359
2373
  timeout: "timeout";
2360
2374
  }>>;
2361
2375
  }, z.core.$strip>;
@@ -3180,9 +3194,9 @@ declare const TaskMessageSchema: z.ZodObject<{
3180
3194
  encryptedMessage: z.ZodOptional<z.ZodString>;
3181
3195
  agentId: z.ZodOptional<z.ZodString>;
3182
3196
  senderType: z.ZodEnum<{
3197
+ agent: "agent";
3183
3198
  human: "human";
3184
3199
  system: "system";
3185
- agent: "agent";
3186
3200
  channel: "channel";
3187
3201
  }>;
3188
3202
  senderId: z.ZodString;
@@ -3758,8 +3772,8 @@ declare const SystemMessageSchema: z.ZodObject<{
3758
3772
  chatId: z.ZodString;
3759
3773
  memberCode: z.ZodString;
3760
3774
  type: z.ZodEnum<{
3761
- human: "human";
3762
3775
  agent: "agent";
3776
+ human: "human";
3763
3777
  }>;
3764
3778
  role: z.ZodString;
3765
3779
  createdAt: z.ZodString;
package/dist/index.cjs CHANGED
@@ -255,6 +255,79 @@ const ShareAuthResponseSchema = zod.z.object({
255
255
  permissions: TaskSharePermissionsSchema
256
256
  });
257
257
 
258
+ const CiProviderSchema = zod.z.enum(["github_actions", "gitlab_ci"]);
259
+ const JsonSchemaDocumentSchema = zod.z.record(zod.z.string(), zod.z.unknown());
260
+ const CiRunStatusSchema = zod.z.enum([
261
+ "queued",
262
+ "running",
263
+ "completed",
264
+ "failed",
265
+ "canceled",
266
+ "timeout"
267
+ ]);
268
+ const CiRunResponseModeSchema = zod.z.enum(["stream", "async"]);
269
+ const CiRunRepoSchema = zod.z.object({
270
+ gitServerId: zod.z.string().min(1),
271
+ serverRepoId: zod.z.string().min(1).optional(),
272
+ owner: zod.z.string().optional(),
273
+ name: zod.z.string().optional()
274
+ }).refine(
275
+ (value) => Boolean(value.serverRepoId) || Boolean(value.owner) && Boolean(value.name),
276
+ {
277
+ message: "repo.gitServerId plus repo.serverRepoId or repo.owner+repo.name is required"
278
+ }
279
+ );
280
+ const CiRunGitSchema = zod.z.object({
281
+ ref: zod.z.string().optional(),
282
+ sha: zod.z.string().optional(),
283
+ baseRef: zod.z.string().optional(),
284
+ headRef: zod.z.string().optional(),
285
+ branchName: zod.z.string().optional(),
286
+ prNumber: zod.z.number().int().positive().optional(),
287
+ issueNumber: zod.z.number().int().positive().optional()
288
+ });
289
+ const CiRunExecutionSchema = zod.z.object({
290
+ capabilityProfile: zod.z.string().optional(),
291
+ runnerId: zod.z.string().optional()
292
+ });
293
+ const CiRunContextSchema = zod.z.object({
294
+ ciProvider: CiProviderSchema,
295
+ eventName: zod.z.string().optional(),
296
+ eventAction: zod.z.string().optional(),
297
+ jobUrl: zod.z.string().url().optional(),
298
+ runUrl: zod.z.string().url().optional(),
299
+ payload: zod.z.record(zod.z.string(), zod.z.unknown()).optional()
300
+ });
301
+ const CreateCiRunRequestSchema = zod.z.object({
302
+ agent: zod.z.string().min(1),
303
+ allowFilesystemAgent: zod.z.boolean().optional(),
304
+ responseMode: CiRunResponseModeSchema.optional(),
305
+ title: zod.z.string().min(1).max(200).optional(),
306
+ prompt: zod.z.string().min(1),
307
+ outputSchema: JsonSchemaDocumentSchema.optional(),
308
+ repo: CiRunRepoSchema,
309
+ git: CiRunGitSchema,
310
+ execution: CiRunExecutionSchema,
311
+ context: CiRunContextSchema.optional(),
312
+ metadata: zod.z.record(zod.z.string(), zod.z.string()).optional()
313
+ });
314
+ const CreateCiRunResponseSchema = zod.z.object({
315
+ runId: zod.z.string().min(1),
316
+ status: zod.z.enum(["queued", "running", "completed", "failed"]),
317
+ detailUrl: zod.z.string().url()
318
+ });
319
+ const CiRunStatusResponseSchema = zod.z.object({
320
+ runId: zod.z.string().min(1),
321
+ status: CiRunStatusSchema,
322
+ result: zod.z.string(),
323
+ structuredOutput: zod.z.unknown().optional(),
324
+ detailUrl: zod.z.string().url()
325
+ });
326
+ const CancelCiRunResponseSchema = zod.z.object({
327
+ message: zod.z.string(),
328
+ runId: zod.z.string().min(1)
329
+ });
330
+
258
331
  const workerExecutionModes = ["loop", "oneshot"];
259
332
  const DEFAULT_WORKER_EXECUTION_MODE = "loop";
260
333
  const WorkerExecutionModeSchema = zod.z.enum(workerExecutionModes);
@@ -703,10 +776,13 @@ const SendTaskMessageRequestSchema = zod.z.object({
703
776
  // Source task ID (for inter-task messaging)
704
777
  senderType: SenderTypeSchema,
705
778
  senderId: zod.z.string(),
706
- senderName: zod.z.string()
779
+ senderName: zod.z.string(),
780
+ responseMode: CiRunResponseModeSchema.optional()
781
+ // CI-style response for script/connector callers
707
782
  });
708
783
  const SendTaskMessageResponseSchema = zod.z.object({
709
- success: zod.z.boolean()
784
+ success: zod.z.boolean(),
785
+ run: CreateCiRunResponseSchema.optional()
710
786
  });
711
787
  const ShowModalRequestSchema = zod.z.object({
712
788
  modalName: zod.z.string(),
@@ -2022,79 +2098,6 @@ const ResolveUserInboxItemResponseSchema = zod.z.object({
2022
2098
  item: UserInboxItemSchema
2023
2099
  });
2024
2100
 
2025
- const CiProviderSchema = zod.z.enum(["github_actions", "gitlab_ci"]);
2026
- const JsonSchemaDocumentSchema = zod.z.record(zod.z.string(), zod.z.unknown());
2027
- const CiRunStatusSchema = zod.z.enum([
2028
- "queued",
2029
- "running",
2030
- "completed",
2031
- "failed",
2032
- "canceled",
2033
- "timeout"
2034
- ]);
2035
- const CiRunResponseModeSchema = zod.z.enum(["stream", "async"]);
2036
- const CiRunRepoSchema = zod.z.object({
2037
- gitServerId: zod.z.string().min(1),
2038
- serverRepoId: zod.z.string().min(1).optional(),
2039
- owner: zod.z.string().optional(),
2040
- name: zod.z.string().optional()
2041
- }).refine(
2042
- (value) => Boolean(value.serverRepoId) || Boolean(value.owner) && Boolean(value.name),
2043
- {
2044
- message: "repo.gitServerId plus repo.serverRepoId or repo.owner+repo.name is required"
2045
- }
2046
- );
2047
- const CiRunGitSchema = zod.z.object({
2048
- ref: zod.z.string().optional(),
2049
- sha: zod.z.string().optional(),
2050
- baseRef: zod.z.string().optional(),
2051
- headRef: zod.z.string().optional(),
2052
- branchName: zod.z.string().optional(),
2053
- prNumber: zod.z.number().int().positive().optional(),
2054
- issueNumber: zod.z.number().int().positive().optional()
2055
- });
2056
- const CiRunExecutionSchema = zod.z.object({
2057
- capabilityProfile: zod.z.string().optional(),
2058
- runnerId: zod.z.string().optional()
2059
- });
2060
- const CiRunContextSchema = zod.z.object({
2061
- ciProvider: CiProviderSchema,
2062
- eventName: zod.z.string().optional(),
2063
- eventAction: zod.z.string().optional(),
2064
- jobUrl: zod.z.string().url().optional(),
2065
- runUrl: zod.z.string().url().optional(),
2066
- payload: zod.z.record(zod.z.string(), zod.z.unknown()).optional()
2067
- });
2068
- const CreateCiRunRequestSchema = zod.z.object({
2069
- agent: zod.z.string().min(1),
2070
- allowFilesystemAgent: zod.z.boolean().optional(),
2071
- responseMode: CiRunResponseModeSchema.optional(),
2072
- title: zod.z.string().min(1).max(200).optional(),
2073
- prompt: zod.z.string().min(1),
2074
- outputSchema: JsonSchemaDocumentSchema.optional(),
2075
- repo: CiRunRepoSchema,
2076
- git: CiRunGitSchema,
2077
- execution: CiRunExecutionSchema,
2078
- context: CiRunContextSchema.optional(),
2079
- metadata: zod.z.record(zod.z.string(), zod.z.string()).optional()
2080
- });
2081
- const CreateCiRunResponseSchema = zod.z.object({
2082
- runId: zod.z.string().min(1),
2083
- status: zod.z.enum(["queued", "running", "completed", "failed"]),
2084
- detailUrl: zod.z.string().url()
2085
- });
2086
- const CiRunStatusResponseSchema = zod.z.object({
2087
- runId: zod.z.string().min(1),
2088
- status: CiRunStatusSchema,
2089
- result: zod.z.string(),
2090
- structuredOutput: zod.z.unknown().optional(),
2091
- detailUrl: zod.z.string().url()
2092
- });
2093
- const CancelCiRunResponseSchema = zod.z.object({
2094
- message: zod.z.string(),
2095
- runId: zod.z.string().min(1)
2096
- });
2097
-
2098
2101
  const ResourceMetadataSchema = zod.z.object({
2099
2102
  platform: zod.z.enum(["mac", "windows", "linux"]).optional(),
2100
2103
  arch: zod.z.enum(["arm64", "x64", "universal"]).optional(),
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { P as PreviewMetadata } from './errors-DIZ3Mfi-.cjs';
3
- export { d1 as ActiveAgent, d0 as ActiveAgentSchema, g8 as AgentConfig, gh as AgentConfigValidationError, g1 as AgentContext, gf as AgentError, gj as AgentLoadError, g6 as AgentMetadata, gd as AgentMetadataSchema, gg as AgentNotFoundError, g2 as AgentrixContext, cP as ApiServerAliveEventData, cO as ApiServerAliveEventSchema, cN as AppAliveEventData, cM as AppAliveEventSchema, aj as ApprovePrRequest, ai as ApprovePrRequestSchema, al as ApprovePrResponse, ak as ApprovePrResponseSchema, ar as ArchiveTaskRequest, aq as ArchiveTaskRequestSchema, at as ArchiveTaskResponse, as as ArchiveTaskResponseSchema, ca as AskUserMessage, c9 as AskUserMessageSchema, c6 as AskUserOption, c5 as AskUserOptionSchema, c8 as AskUserQuestion, c7 as AskUserQuestionSchema, cg as AskUserResponseMessage, cf as AskUserResponseMessageSchema, ce as AskUserResponseReason, cc as AskUserResponseReasonSchema, cd as AskUserResponseStatus, cb as AskUserResponseStatusSchema, eG as AssociateRepoEventData, eD as AssociateRepoEventDataSchema, dt as CancelTaskEventData, J as CancelTaskRequest, I as CancelTaskRequestSchema, N as CancelTaskResponse, M as CancelTaskResponseSchema, dP as ChangeTaskTitleEventData, dO as ChangeTaskTitleEventSchema, dh as ChatWorkersStatusRequestEventData, dg as ChatWorkersStatusRequestSchema, dj as ChatWorkersStatusResponseEventData, di as ChatWorkersStatusResponseSchema, g7 as ClaudeAgentConfig, ge as ClaudeConfigSchema, ch as CompanionHeartbeatMessage, eX as CompanionHeartbeatRequestData, eW as CompanionHeartbeatRequestSchema, eZ as CompanionHeartbeatResponseData, eY as CompanionHeartbeatResponseSchema, f3 as CompanionInitRequestData, f2 as CompanionInitRequestSchema, f5 as CompanionInitResponseData, f4 as CompanionInitResponseSchema, cj as CompanionMemoryOrganizationMessage, e$ as CompanionMemoryOrganizationRequestData, e_ as CompanionMemoryOrganizationRequestSchema, f1 as CompanionMemoryOrganizationResponseData, f0 as CompanionMemoryOrganizationResponseSchema, ci as CompanionReminderMessage, bO as CreateHiveCommentRequest, bN as CreateHiveCommentRequestSchema, bG as CreateHiveReviewRequest, bF as CreateHiveReviewRequestSchema, ae as CreateMergeRequestRequest, ah as CreateMergeRequestResponse, ag as CreateMergeRequestResponseSchema, ad as CreateMergeRequestSchema, dp as CreateTaskEventData, an as CreateTaskShareRequest, ap as CreateTaskShareResponse, ao as CreateTaskShareResponseSchema, am as CreateTaskShareSchema, dT as CreditExhaustedEventData, dS as CreditExhaustedEventSchema, D as DEFAULT_WORKER_EXECUTION_MODE, eO as DaemonGitlabOperation, eN as DaemonGitlabOperationSchema, eQ as DaemonGitlabRequestEventData, eP as DaemonGitlabRequestSchema, eS as DaemonGitlabResponseEventData, eR as DaemonGitlabResponseSchema, eu as DeployAgentCompleteEventData, et as DeployAgentCompleteEventSchema, es as DeployAgentEventData, er as DeployAgentEventSchema, r as EnsureIssueRootTaskRequest, E as EnsureIssueRootTaskRequestSchema, y as EnsureIssueRootTaskResponse, x as EnsureIssueRootTaskResponseSchema, cA as EventAckData, cz as EventAckSchema, f8 as EventData, ff as EventMap, fg as EventName, fh as EventSchemaMap, fz as ExecuteMachineActionResponse, fy as ExecuteMachineActionResponseSchema, gc as FRAMEWORK_TYPES, ab as FillEventsRequest, aa as FillEventsRequestSchema, ac as FillEventsResponse, b4 as FindTaskByAgentRequest, b3 as FindTaskByAgentRequestSchema, b6 as FindTaskByAgentResponse, b5 as FindTaskByAgentResponseSchema, gi as FrameworkNotSupportedError, g5 as FrameworkType, c0 as GetStreamVersionQuery, b$ as GetStreamVersionQuerySchema, aS as GetTaskSessionResponse, aR as GetTaskSessionResponseSchema, eK as GitServerUserUpdatedData, ba as HiveAuthorType, b9 as HiveAuthorTypeSchema, bM as HiveComment, bS as HiveCommentListResponse, bR as HiveCommentListResponseSchema, bL as HiveCommentSchema, bw as HiveInstall, eC as HiveInstallCompleteEventData, eB as HiveInstallCompleteEventSchema, eA as HiveInstallEventData, ez as HiveInstallEventSchema, bu as HiveInstallRequest, bt as HiveInstallRequestSchema, by as HiveInstallResponse, bx as HiveInstallResponseSchema, bv as HiveInstallSchema, bU as HiveInstalledItem, bT as HiveInstalledItemSchema, bW as HiveInstalledResponse, bV as HiveInstalledResponseSchema, bm as HiveListQuery, bl as HiveListQuerySchema, bo as HiveListResponse, bn as HiveListResponseSchema, bg as HiveListing, bf as HiveListingSchema, bc as HiveListingStatus, bb as HiveListingStatusSchema, b8 as HiveListingType, b7 as HiveListingTypeSchema, bY as HiveMyListingsResponse, bX as HiveMyListingsResponseSchema, ey as HivePublishCompleteEventData, ex as HivePublishCompleteEventSchema, ew as HivePublishEventData, ev as HivePublishEventSchema, bE as HiveReview, bK as HiveReviewListResponse, bJ as HiveReviewListResponseSchema, bD as HiveReviewSchema, be as HiveSort, bd as HiveSortSchema, gb as HookFactory, dl as ListModelsEventData, dk as ListModelsEventSchema, a_ as ListRecentTasksRequest, aZ as ListRecentTasksRequestSchema, b2 as ListRecentTasksResponse, b1 as ListRecentTasksResponseSchema, aU as ListSubTasksRequest, aT as ListSubTasksRequestSchema, aY as ListSubTasksResponse, aX as ListSubTasksResponseSchema, z as ListTasksRequest, L as ListTasksRequestSchema, B as ListTasksResponse, A as ListTasksResponseSchema, ga as LoadAgentOptions, fx as MachineActionPending, fw as MachineActionPendingSchema, fv as MachineActionRequestEventData, fu as MachineActionRequestSchema, cR as MachineAliveEventData, cQ as MachineAliveEventSchema, fl as MachineControlAction, fk as MachineControlActionSchema, fn as MachineControlAsyncAction, fm as MachineControlAsyncActionSchema, fB as MachineControlCommandEventData, fA as MachineControlCommandSchema, fr as MachineControlErrorCode, fq as MachineControlErrorCodeSchema, ft as MachineControlPingResult, fs as MachineControlPingResultSchema, fF as MachineControlProgressEventData, fE as MachineControlProgressSchema, fD as MachineControlProgressStatus, fC as MachineControlProgressStatusSchema, fK as MachineControlRelayContext, fp as MachineControlTarget, fo as MachineControlTargetSchema, fJ as MachineControlUpdatedEventData, fI as MachineControlUpdatedSchema, fH as MachineControlUpdatedStatus, fG as MachineControlUpdatedStatusSchema, f_ as MachineRpcCallEventData, fZ as MachineRpcCallEventSchema, d$ as MachineRtcRequestEventData, d_ as MachineRtcRequestSchema, e1 as MachineRtcResponseEventData, e0 as MachineRtcResponseSchema, eq as MergePullRequestAck, ep as MergePullRequestEventData, eo as MergePullRequestEventSchema, eh as MergeRequestEventData, eg as MergeRequestEventSchema, gk as MissingAgentFileError, _ as PermissionResponseRequest, Z as PermissionResponseRequestSchema, a1 as PermissionResponseResponse, a0 as PermissionResponseResponseSchema, eI as PrStateChangedData, dC as PreviewMetadataSchema, dB as PreviewMethod, dA as PreviewMethodSchema, dz as PreviewProjectType, dy as PreviewProjectTypeSchema, a5 as ProjectDirectoryResponse, a4 as ProjectDirectoryResponseSchema, a3 as ProjectEntry, a2 as ProjectEntrySchema, bi as PublishToHiveRequest, bh as PublishToHiveRequestSchema, bk as PublishToHiveResponse, bj as PublishToHiveResponseSchema, a7 as QueryEventsRequest, a6 as QueryEventsRequestSchema, a9 as QueryEventsResponse, b0 as RecentTaskSummary, a$ as RecentTaskSummarySchema, bA as RecordHiveInstallRequest, bz as RecordHiveInstallRequestSchema, bC as RecordHiveInstallResponse, bB as RecordHiveInstallResponseSchema, eT as RepositoryInboxProviderSchema, eV as RepositoryInboxWebhookEventData, eU as RepositoryInboxWebhookSchema, f7 as ResetTaskSessionEventData, f6 as ResetTaskSessionSchema, eJ as ResourceLimitsUpdatedData, dr as ResumeTaskEventData, C as ResumeTaskRequest, R as ResumeTaskRequestSchema, H as ResumeTaskResponse, G as ResumeTaskResponseSchema, fY as RpcCallEventData, fX as RpcCallEventSchema, g0 as RpcResponseData, f$ as RpcResponseSchema, dV as RtcIceServer, dU as RtcIceServerSchema, dX as RtcIceServersRequestEventData, dW as RtcIceServersRequestSchema, dZ as RtcIceServersResponseEventData, dY as RtcIceServersResponseSchema, e3 as RtcSignalEventData, e2 as RtcSignalSchema, aI as SendMessageTarget, aK as SendTaskMessageRequest, aJ as SendTaskMessageRequestSchema, aM as SendTaskMessageResponse, aL as SendTaskMessageResponseSchema, fa as SeqSyncRequestEventData, f9 as SeqSyncRequestEventDataSchema, fc as SeqSyncResponseEventData, fb as SeqSyncResponseEventDataSchema, dN as ShowModalEventData, dM as ShowModalEventDataSchema, aO as ShowModalRequest, aN as ShowModalRequestSchema, aQ as ShowModalResponse, aP as ShowModalResponseSchema, cT as ShutdownMachineData, cS as ShutdownMachineSchema, m as StartTaskRequest, S as StartTaskRequestSchema, q as StartTaskResponse, p as StartTaskResponseSchema, dv as StopTaskEventData, Q as StopTaskRequest, O as StopTaskRequestSchema, Y as StopTaskResponse, X as StopTaskResponseSchema, du as StopTaskSchema, fW as StorageCleanRequestItem, fV as StorageCleanRequestItemSchema, fO as StorageManagementDeleteMode, fN as StorageManagementDeleteModeSchema, fM as StorageManagementKind, fL as StorageManagementKindSchema, fS as StorageScanCategory, fR as StorageScanCategorySchema, fQ as StorageScanItem, fP as StorageScanItemSchema, fU as StorageScanResult, fT as StorageScanResultSchema, c2 as StreamVersionResponse, c1 as StreamVersionResponseSchema, en as SubTaskAskUserEventData, em as SubTaskAskUserEventSchema, ck as SubTaskAskUserMessage, el as SubTaskResultUpdatedEventData, ek as SubTaskResultUpdatedEventSchema, aW as SubTaskSummary, aV as SubTaskSummarySchema, c4 as SyncAvailableEvent, c3 as SyncAvailableEventSchema, b_ as SyncStreamType, bZ as SyncStreamTypeSchema, eM as SystemMessageEventData, eL as SystemMessageSchema, eH as SystemMessageType, co as TaskAgentInfo, cn as TaskAgentInfoSchema, dx as TaskArtifactsStats, dw as TaskArtifactsStatsSchema, dE as TaskArtifactsSummary, dD as TaskArtifactsSummarySchema, a8 as TaskEvent, T as TaskExecutionMode, b as TaskExecutionTarget, eb as TaskInfoUpdateEventData, ea as TaskInfoUpdateEventDataSchema, v as TaskItem, u as TaskItemSchema, dG as TaskMessageEventData, cm as TaskMessagePayload, dF as TaskMessageSchema, dI as TaskModelUsage, dH as TaskModelUsageSchema, k as TaskPreviewUrlSchema, ed as TaskSlashCommand, ec as TaskSlashCommandSchema, ef as TaskSlashCommandsUpdateEventData, ee as TaskSlashCommandsUpdateEventDataSchema, dL as TaskState, dR as TaskStateChangeEventData, dQ as TaskStateChangeEventSchema, ej as TaskStoppedEventData, ei as TaskStoppedEventSchema, cl as TaskSystemMessage, f as TaskTodo, e as TaskTodoSchema, dK as TaskUsageReportEventData, dJ as TaskUsageReportEventSchema, j as TaskUsageSummary, h as TaskUsageSummarySchema, av as UnarchiveTaskRequest, au as UnarchiveTaskRequestSchema, ax as UnarchiveTaskResponse, aw as UnarchiveTaskResponseSchema, eF as UpdateAgentInfoEventData, eE as UpdateAgentInfoEventSchema, bQ as UpdateHiveCommentRequest, bP as UpdateHiveCommentRequestSchema, bq as UpdateHiveListingRequest, bp as UpdateHiveListingRequestSchema, bI as UpdateHiveReviewRequest, bH as UpdateHiveReviewRequestSchema, bs as UpdateHiveVersionRequest, br as UpdateHiveVersionRequestSchema, e9 as UpdateTaskAgentSessionIdEventData, e8 as UpdateTaskAgentSessionIdEventSchema, aD as UpdateTaskModelRequest, aC as UpdateTaskModelRequestSchema, aF as UpdateTaskModelResponse, aE as UpdateTaskModelResponseSchema, l as UpdateTaskPreviewUrlRequest, U as UpdateTaskPreviewUrlRequestSchema, aH as UpdateTaskPreviewUrlResponse, aG as UpdateTaskPreviewUrlResponseSchema, az as UpdateTaskTitleRequest, ay as UpdateTaskTitleRequestSchema, aB as UpdateTaskTitleResponse, aA as UpdateTaskTitleResponseSchema, g9 as ValidationResult, cE as VisionPlanActionEventData, cD as VisionPlanActionEventSchema, cC as VisionPlanCardEventData, cB as VisionPlanCardEventSchema, cG as VisionPlanReviewWriteEventData, cF as VisionPlanReviewWriteEventSchema, d3 as WorkerAliveEventData, d2 as WorkerAliveEventSchema, W as WorkerExecutionMode, a as WorkerExecutionModeSchema, d5 as WorkerExitEventData, d4 as WorkerExitSchema, cX as WorkerInitializedEventData, cW as WorkerInitializedSchema, cV as WorkerInitializingEventData, cU as WorkerInitializingSchema, d9 as WorkerPermissionModeEventData, d8 as WorkerPermissionModeSchema, cZ as WorkerPermissionModeValue, cY as WorkerPermissionModeValueSchema, c$ as WorkerReadyEventData, c_ as WorkerReadySchema, d7 as WorkerRunningEventData, d6 as WorkerRunningSchema, db as WorkerStatusRequestEventData, da as WorkerStatusRequestSchema, df as WorkerStatusSnapshot, de as WorkerStatusSnapshotSchema, dd as WorkerStatusValue, dc as WorkerStatusValueSchema, fi as WorkerTaskEvent, fe as WorkspaceCacheUpdateEventData, fd as WorkspaceCacheUpdateEventDataSchema, cH as WorkspaceFileMutationOperationSchema, cJ as WorkspaceFileMutationRequestEventData, cI as WorkspaceFileMutationRequestSchema, cL as WorkspaceFileMutationResponseEventData, cK as WorkspaceFileMutationResponseSchema, e5 as WorkspaceFileRequestEventData, e4 as WorkspaceFileRequestSchema, e7 as WorkspaceFileResponseEventData, e6 as WorkspaceFileResponseSchema, dm as baseTaskSchema, K as cancelTaskRequestSchema, ds as cancelTaskSchema, cy as createEventId, af as createMergeRequestSchema, dn as createTaskSchema, g4 as getAgentContext, d as getTaskExecutionMachineRouteId, g as getTaskExecutionMode, cp as isAskUserMessage, cq as isAskUserResponseMessage, i as isCloudTaskExecution, cr as isCompanionHeartbeatMessage, ct as isCompanionMemoryOrganizationMessage, cs as isCompanionReminderMessage, c as isLocalTaskExecution, cw as isSDKMessage, cx as isSDKUserMessage, cu as isSubTaskAskUserMessage, cv as isTaskSystemMessage, n as normalizeWorkerExecutionMode, $ as permissionResponseRequestSchema, F as resumeTaskRequestSchema, dq as resumeTaskSchema, g3 as setAgentContext, o as startTaskSchema, V as stopTaskRequestSchema, s as supportsTaskUserCwd, t as taskExecutionModes, w as workerExecutionModes, fj as workerTaskEvents } from './errors-DIZ3Mfi-.cjs';
2
+ import { P as PreviewMetadata } from './errors-w-U9apaD.cjs';
3
+ export { d1 as ActiveAgent, d0 as ActiveAgentSchema, g8 as AgentConfig, gh as AgentConfigValidationError, g1 as AgentContext, gf as AgentError, gj as AgentLoadError, g6 as AgentMetadata, gd as AgentMetadataSchema, gg as AgentNotFoundError, g2 as AgentrixContext, cP as ApiServerAliveEventData, cO as ApiServerAliveEventSchema, cN as AppAliveEventData, cM as AppAliveEventSchema, aj as ApprovePrRequest, ai as ApprovePrRequestSchema, al as ApprovePrResponse, ak as ApprovePrResponseSchema, ar as ArchiveTaskRequest, aq as ArchiveTaskRequestSchema, at as ArchiveTaskResponse, as as ArchiveTaskResponseSchema, ca as AskUserMessage, c9 as AskUserMessageSchema, c6 as AskUserOption, c5 as AskUserOptionSchema, c8 as AskUserQuestion, c7 as AskUserQuestionSchema, cg as AskUserResponseMessage, cf as AskUserResponseMessageSchema, ce as AskUserResponseReason, cc as AskUserResponseReasonSchema, cd as AskUserResponseStatus, cb as AskUserResponseStatusSchema, eG as AssociateRepoEventData, eD as AssociateRepoEventDataSchema, dt as CancelTaskEventData, J as CancelTaskRequest, I as CancelTaskRequestSchema, N as CancelTaskResponse, M as CancelTaskResponseSchema, dP as ChangeTaskTitleEventData, dO as ChangeTaskTitleEventSchema, dh as ChatWorkersStatusRequestEventData, dg as ChatWorkersStatusRequestSchema, dj as ChatWorkersStatusResponseEventData, di as ChatWorkersStatusResponseSchema, g7 as ClaudeAgentConfig, ge as ClaudeConfigSchema, ch as CompanionHeartbeatMessage, eX as CompanionHeartbeatRequestData, eW as CompanionHeartbeatRequestSchema, eZ as CompanionHeartbeatResponseData, eY as CompanionHeartbeatResponseSchema, f3 as CompanionInitRequestData, f2 as CompanionInitRequestSchema, f5 as CompanionInitResponseData, f4 as CompanionInitResponseSchema, cj as CompanionMemoryOrganizationMessage, e$ as CompanionMemoryOrganizationRequestData, e_ as CompanionMemoryOrganizationRequestSchema, f1 as CompanionMemoryOrganizationResponseData, f0 as CompanionMemoryOrganizationResponseSchema, ci as CompanionReminderMessage, bO as CreateHiveCommentRequest, bN as CreateHiveCommentRequestSchema, bG as CreateHiveReviewRequest, bF as CreateHiveReviewRequestSchema, ae as CreateMergeRequestRequest, ah as CreateMergeRequestResponse, ag as CreateMergeRequestResponseSchema, ad as CreateMergeRequestSchema, dp as CreateTaskEventData, an as CreateTaskShareRequest, ap as CreateTaskShareResponse, ao as CreateTaskShareResponseSchema, am as CreateTaskShareSchema, dT as CreditExhaustedEventData, dS as CreditExhaustedEventSchema, D as DEFAULT_WORKER_EXECUTION_MODE, eO as DaemonGitlabOperation, eN as DaemonGitlabOperationSchema, eQ as DaemonGitlabRequestEventData, eP as DaemonGitlabRequestSchema, eS as DaemonGitlabResponseEventData, eR as DaemonGitlabResponseSchema, eu as DeployAgentCompleteEventData, et as DeployAgentCompleteEventSchema, es as DeployAgentEventData, er as DeployAgentEventSchema, r as EnsureIssueRootTaskRequest, E as EnsureIssueRootTaskRequestSchema, y as EnsureIssueRootTaskResponse, x as EnsureIssueRootTaskResponseSchema, cA as EventAckData, cz as EventAckSchema, f8 as EventData, ff as EventMap, fg as EventName, fh as EventSchemaMap, fz as ExecuteMachineActionResponse, fy as ExecuteMachineActionResponseSchema, gc as FRAMEWORK_TYPES, ab as FillEventsRequest, aa as FillEventsRequestSchema, ac as FillEventsResponse, b4 as FindTaskByAgentRequest, b3 as FindTaskByAgentRequestSchema, b6 as FindTaskByAgentResponse, b5 as FindTaskByAgentResponseSchema, gi as FrameworkNotSupportedError, g5 as FrameworkType, c0 as GetStreamVersionQuery, b$ as GetStreamVersionQuerySchema, aS as GetTaskSessionResponse, aR as GetTaskSessionResponseSchema, eK as GitServerUserUpdatedData, ba as HiveAuthorType, b9 as HiveAuthorTypeSchema, bM as HiveComment, bS as HiveCommentListResponse, bR as HiveCommentListResponseSchema, bL as HiveCommentSchema, bw as HiveInstall, eC as HiveInstallCompleteEventData, eB as HiveInstallCompleteEventSchema, eA as HiveInstallEventData, ez as HiveInstallEventSchema, bu as HiveInstallRequest, bt as HiveInstallRequestSchema, by as HiveInstallResponse, bx as HiveInstallResponseSchema, bv as HiveInstallSchema, bU as HiveInstalledItem, bT as HiveInstalledItemSchema, bW as HiveInstalledResponse, bV as HiveInstalledResponseSchema, bm as HiveListQuery, bl as HiveListQuerySchema, bo as HiveListResponse, bn as HiveListResponseSchema, bg as HiveListing, bf as HiveListingSchema, bc as HiveListingStatus, bb as HiveListingStatusSchema, b8 as HiveListingType, b7 as HiveListingTypeSchema, bY as HiveMyListingsResponse, bX as HiveMyListingsResponseSchema, ey as HivePublishCompleteEventData, ex as HivePublishCompleteEventSchema, ew as HivePublishEventData, ev as HivePublishEventSchema, bE as HiveReview, bK as HiveReviewListResponse, bJ as HiveReviewListResponseSchema, bD as HiveReviewSchema, be as HiveSort, bd as HiveSortSchema, gb as HookFactory, dl as ListModelsEventData, dk as ListModelsEventSchema, a_ as ListRecentTasksRequest, aZ as ListRecentTasksRequestSchema, b2 as ListRecentTasksResponse, b1 as ListRecentTasksResponseSchema, aU as ListSubTasksRequest, aT as ListSubTasksRequestSchema, aY as ListSubTasksResponse, aX as ListSubTasksResponseSchema, z as ListTasksRequest, L as ListTasksRequestSchema, B as ListTasksResponse, A as ListTasksResponseSchema, ga as LoadAgentOptions, fx as MachineActionPending, fw as MachineActionPendingSchema, fv as MachineActionRequestEventData, fu as MachineActionRequestSchema, cR as MachineAliveEventData, cQ as MachineAliveEventSchema, fl as MachineControlAction, fk as MachineControlActionSchema, fn as MachineControlAsyncAction, fm as MachineControlAsyncActionSchema, fB as MachineControlCommandEventData, fA as MachineControlCommandSchema, fr as MachineControlErrorCode, fq as MachineControlErrorCodeSchema, ft as MachineControlPingResult, fs as MachineControlPingResultSchema, fF as MachineControlProgressEventData, fE as MachineControlProgressSchema, fD as MachineControlProgressStatus, fC as MachineControlProgressStatusSchema, fK as MachineControlRelayContext, fp as MachineControlTarget, fo as MachineControlTargetSchema, fJ as MachineControlUpdatedEventData, fI as MachineControlUpdatedSchema, fH as MachineControlUpdatedStatus, fG as MachineControlUpdatedStatusSchema, f_ as MachineRpcCallEventData, fZ as MachineRpcCallEventSchema, d$ as MachineRtcRequestEventData, d_ as MachineRtcRequestSchema, e1 as MachineRtcResponseEventData, e0 as MachineRtcResponseSchema, eq as MergePullRequestAck, ep as MergePullRequestEventData, eo as MergePullRequestEventSchema, eh as MergeRequestEventData, eg as MergeRequestEventSchema, gk as MissingAgentFileError, _ as PermissionResponseRequest, Z as PermissionResponseRequestSchema, a1 as PermissionResponseResponse, a0 as PermissionResponseResponseSchema, eI as PrStateChangedData, dC as PreviewMetadataSchema, dB as PreviewMethod, dA as PreviewMethodSchema, dz as PreviewProjectType, dy as PreviewProjectTypeSchema, a5 as ProjectDirectoryResponse, a4 as ProjectDirectoryResponseSchema, a3 as ProjectEntry, a2 as ProjectEntrySchema, bi as PublishToHiveRequest, bh as PublishToHiveRequestSchema, bk as PublishToHiveResponse, bj as PublishToHiveResponseSchema, a7 as QueryEventsRequest, a6 as QueryEventsRequestSchema, a9 as QueryEventsResponse, b0 as RecentTaskSummary, a$ as RecentTaskSummarySchema, bA as RecordHiveInstallRequest, bz as RecordHiveInstallRequestSchema, bC as RecordHiveInstallResponse, bB as RecordHiveInstallResponseSchema, eT as RepositoryInboxProviderSchema, eV as RepositoryInboxWebhookEventData, eU as RepositoryInboxWebhookSchema, f7 as ResetTaskSessionEventData, f6 as ResetTaskSessionSchema, eJ as ResourceLimitsUpdatedData, dr as ResumeTaskEventData, C as ResumeTaskRequest, R as ResumeTaskRequestSchema, H as ResumeTaskResponse, G as ResumeTaskResponseSchema, fY as RpcCallEventData, fX as RpcCallEventSchema, g0 as RpcResponseData, f$ as RpcResponseSchema, dV as RtcIceServer, dU as RtcIceServerSchema, dX as RtcIceServersRequestEventData, dW as RtcIceServersRequestSchema, dZ as RtcIceServersResponseEventData, dY as RtcIceServersResponseSchema, e3 as RtcSignalEventData, e2 as RtcSignalSchema, aI as SendMessageTarget, aK as SendTaskMessageRequest, aJ as SendTaskMessageRequestSchema, aM as SendTaskMessageResponse, aL as SendTaskMessageResponseSchema, fa as SeqSyncRequestEventData, f9 as SeqSyncRequestEventDataSchema, fc as SeqSyncResponseEventData, fb as SeqSyncResponseEventDataSchema, dN as ShowModalEventData, dM as ShowModalEventDataSchema, aO as ShowModalRequest, aN as ShowModalRequestSchema, aQ as ShowModalResponse, aP as ShowModalResponseSchema, cT as ShutdownMachineData, cS as ShutdownMachineSchema, m as StartTaskRequest, S as StartTaskRequestSchema, q as StartTaskResponse, p as StartTaskResponseSchema, dv as StopTaskEventData, Q as StopTaskRequest, O as StopTaskRequestSchema, Y as StopTaskResponse, X as StopTaskResponseSchema, du as StopTaskSchema, fW as StorageCleanRequestItem, fV as StorageCleanRequestItemSchema, fO as StorageManagementDeleteMode, fN as StorageManagementDeleteModeSchema, fM as StorageManagementKind, fL as StorageManagementKindSchema, fS as StorageScanCategory, fR as StorageScanCategorySchema, fQ as StorageScanItem, fP as StorageScanItemSchema, fU as StorageScanResult, fT as StorageScanResultSchema, c2 as StreamVersionResponse, c1 as StreamVersionResponseSchema, en as SubTaskAskUserEventData, em as SubTaskAskUserEventSchema, ck as SubTaskAskUserMessage, el as SubTaskResultUpdatedEventData, ek as SubTaskResultUpdatedEventSchema, aW as SubTaskSummary, aV as SubTaskSummarySchema, c4 as SyncAvailableEvent, c3 as SyncAvailableEventSchema, b_ as SyncStreamType, bZ as SyncStreamTypeSchema, eM as SystemMessageEventData, eL as SystemMessageSchema, eH as SystemMessageType, co as TaskAgentInfo, cn as TaskAgentInfoSchema, dx as TaskArtifactsStats, dw as TaskArtifactsStatsSchema, dE as TaskArtifactsSummary, dD as TaskArtifactsSummarySchema, a8 as TaskEvent, T as TaskExecutionMode, b as TaskExecutionTarget, eb as TaskInfoUpdateEventData, ea as TaskInfoUpdateEventDataSchema, v as TaskItem, u as TaskItemSchema, dG as TaskMessageEventData, cm as TaskMessagePayload, dF as TaskMessageSchema, dI as TaskModelUsage, dH as TaskModelUsageSchema, k as TaskPreviewUrlSchema, ed as TaskSlashCommand, ec as TaskSlashCommandSchema, ef as TaskSlashCommandsUpdateEventData, ee as TaskSlashCommandsUpdateEventDataSchema, dL as TaskState, dR as TaskStateChangeEventData, dQ as TaskStateChangeEventSchema, ej as TaskStoppedEventData, ei as TaskStoppedEventSchema, cl as TaskSystemMessage, f as TaskTodo, e as TaskTodoSchema, dK as TaskUsageReportEventData, dJ as TaskUsageReportEventSchema, j as TaskUsageSummary, h as TaskUsageSummarySchema, av as UnarchiveTaskRequest, au as UnarchiveTaskRequestSchema, ax as UnarchiveTaskResponse, aw as UnarchiveTaskResponseSchema, eF as UpdateAgentInfoEventData, eE as UpdateAgentInfoEventSchema, bQ as UpdateHiveCommentRequest, bP as UpdateHiveCommentRequestSchema, bq as UpdateHiveListingRequest, bp as UpdateHiveListingRequestSchema, bI as UpdateHiveReviewRequest, bH as UpdateHiveReviewRequestSchema, bs as UpdateHiveVersionRequest, br as UpdateHiveVersionRequestSchema, e9 as UpdateTaskAgentSessionIdEventData, e8 as UpdateTaskAgentSessionIdEventSchema, aD as UpdateTaskModelRequest, aC as UpdateTaskModelRequestSchema, aF as UpdateTaskModelResponse, aE as UpdateTaskModelResponseSchema, l as UpdateTaskPreviewUrlRequest, U as UpdateTaskPreviewUrlRequestSchema, aH as UpdateTaskPreviewUrlResponse, aG as UpdateTaskPreviewUrlResponseSchema, az as UpdateTaskTitleRequest, ay as UpdateTaskTitleRequestSchema, aB as UpdateTaskTitleResponse, aA as UpdateTaskTitleResponseSchema, g9 as ValidationResult, cE as VisionPlanActionEventData, cD as VisionPlanActionEventSchema, cC as VisionPlanCardEventData, cB as VisionPlanCardEventSchema, cG as VisionPlanReviewWriteEventData, cF as VisionPlanReviewWriteEventSchema, d3 as WorkerAliveEventData, d2 as WorkerAliveEventSchema, W as WorkerExecutionMode, a as WorkerExecutionModeSchema, d5 as WorkerExitEventData, d4 as WorkerExitSchema, cX as WorkerInitializedEventData, cW as WorkerInitializedSchema, cV as WorkerInitializingEventData, cU as WorkerInitializingSchema, d9 as WorkerPermissionModeEventData, d8 as WorkerPermissionModeSchema, cZ as WorkerPermissionModeValue, cY as WorkerPermissionModeValueSchema, c$ as WorkerReadyEventData, c_ as WorkerReadySchema, d7 as WorkerRunningEventData, d6 as WorkerRunningSchema, db as WorkerStatusRequestEventData, da as WorkerStatusRequestSchema, df as WorkerStatusSnapshot, de as WorkerStatusSnapshotSchema, dd as WorkerStatusValue, dc as WorkerStatusValueSchema, fi as WorkerTaskEvent, fe as WorkspaceCacheUpdateEventData, fd as WorkspaceCacheUpdateEventDataSchema, cH as WorkspaceFileMutationOperationSchema, cJ as WorkspaceFileMutationRequestEventData, cI as WorkspaceFileMutationRequestSchema, cL as WorkspaceFileMutationResponseEventData, cK as WorkspaceFileMutationResponseSchema, e5 as WorkspaceFileRequestEventData, e4 as WorkspaceFileRequestSchema, e7 as WorkspaceFileResponseEventData, e6 as WorkspaceFileResponseSchema, dm as baseTaskSchema, K as cancelTaskRequestSchema, ds as cancelTaskSchema, cy as createEventId, af as createMergeRequestSchema, dn as createTaskSchema, g4 as getAgentContext, d as getTaskExecutionMachineRouteId, g as getTaskExecutionMode, cp as isAskUserMessage, cq as isAskUserResponseMessage, i as isCloudTaskExecution, cr as isCompanionHeartbeatMessage, ct as isCompanionMemoryOrganizationMessage, cs as isCompanionReminderMessage, c as isLocalTaskExecution, cw as isSDKMessage, cx as isSDKUserMessage, cu as isSubTaskAskUserMessage, cv as isTaskSystemMessage, n as normalizeWorkerExecutionMode, $ as permissionResponseRequestSchema, F as resumeTaskRequestSchema, dq as resumeTaskSchema, g3 as setAgentContext, o as startTaskSchema, V as stopTaskRequestSchema, s as supportsTaskUserCwd, t as taskExecutionModes, w as workerExecutionModes, fj as workerTaskEvents } from './errors-w-U9apaD.cjs';
4
4
  import tweetnacl from 'tweetnacl';
5
5
  import { SDKMessage } from '@anthropic-ai/claude-agent-sdk';
6
6
  export { buildGitLabWebhookEndpointPath, buildGitLabWebhookUrl } from './gitlabWebhook.cjs';
@@ -56,9 +56,9 @@ declare const FileStatsSchema: z.ZodObject<{
56
56
  }, z.core.$strip>;
57
57
  type FileStats = z.infer<typeof FileStatsSchema>;
58
58
  declare const SenderTypeSchema: z.ZodEnum<{
59
+ agent: "agent";
59
60
  human: "human";
60
61
  system: "system";
61
- agent: "agent";
62
62
  channel: "channel";
63
63
  }>;
64
64
  type SenderType = z.infer<typeof SenderTypeSchema>;
@@ -620,8 +620,8 @@ declare const ChatMemberSchema: z.ZodObject<{
620
620
  chatId: z.ZodString;
621
621
  memberCode: z.ZodString;
622
622
  type: z.ZodEnum<{
623
- human: "human";
624
623
  agent: "agent";
624
+ human: "human";
625
625
  }>;
626
626
  role: z.ZodString;
627
627
  createdAt: z.ZodString;
@@ -673,8 +673,8 @@ declare const ChatWithMembersSchema: z.ZodObject<{
673
673
  chatId: z.ZodString;
674
674
  memberCode: z.ZodString;
675
675
  type: z.ZodEnum<{
676
- human: "human";
677
676
  agent: "agent";
677
+ human: "human";
678
678
  }>;
679
679
  role: z.ZodString;
680
680
  createdAt: z.ZodString;
@@ -688,8 +688,8 @@ type ChatWithMembers = z.infer<typeof ChatWithMembersSchema>;
688
688
  declare const ChatMemberInputSchema: z.ZodObject<{
689
689
  memberCode: z.ZodString;
690
690
  type: z.ZodEnum<{
691
- human: "human";
692
691
  agent: "agent";
692
+ human: "human";
693
693
  }>;
694
694
  }, z.core.$strip>;
695
695
  type ChatMemberInput = z.infer<typeof ChatMemberInputSchema>;
@@ -704,8 +704,8 @@ declare const CreateChatRequestSchema: z.ZodObject<{
704
704
  members: z.ZodArray<z.ZodObject<{
705
705
  memberCode: z.ZodString;
706
706
  type: z.ZodEnum<{
707
- human: "human";
708
707
  agent: "agent";
708
+ human: "human";
709
709
  }>;
710
710
  }, z.core.$strip>>;
711
711
  dataEncryptionKey: z.ZodOptional<z.ZodString>;
@@ -733,8 +733,8 @@ declare const CreateChatResponseSchema: z.ZodObject<{
733
733
  chatId: z.ZodString;
734
734
  memberCode: z.ZodString;
735
735
  type: z.ZodEnum<{
736
- human: "human";
737
736
  agent: "agent";
737
+ human: "human";
738
738
  }>;
739
739
  role: z.ZodString;
740
740
  createdAt: z.ZodString;
@@ -772,8 +772,8 @@ declare const ListChatsResponseSchema: z.ZodObject<{
772
772
  chatId: z.ZodString;
773
773
  memberCode: z.ZodString;
774
774
  type: z.ZodEnum<{
775
- human: "human";
776
775
  agent: "agent";
776
+ human: "human";
777
777
  }>;
778
778
  role: z.ZodString;
779
779
  createdAt: z.ZodString;
@@ -803,8 +803,8 @@ declare const GetChatResponseSchema: z.ZodObject<{
803
803
  chatId: z.ZodString;
804
804
  memberCode: z.ZodString;
805
805
  type: z.ZodEnum<{
806
- human: "human";
807
806
  agent: "agent";
807
+ human: "human";
808
808
  }>;
809
809
  role: z.ZodString;
810
810
  createdAt: z.ZodString;
@@ -821,8 +821,8 @@ declare const ListChatMembersResponseSchema: z.ZodObject<{
821
821
  chatId: z.ZodString;
822
822
  memberCode: z.ZodString;
823
823
  type: z.ZodEnum<{
824
- human: "human";
825
824
  agent: "agent";
825
+ human: "human";
826
826
  }>;
827
827
  role: z.ZodString;
828
828
  createdAt: z.ZodString;
@@ -838,8 +838,8 @@ declare const AddChatMemberRequestSchema: z.ZodObject<{
838
838
  members: z.ZodArray<z.ZodObject<{
839
839
  memberCode: z.ZodString;
840
840
  type: z.ZodEnum<{
841
- human: "human";
842
841
  agent: "agent";
842
+ human: "human";
843
843
  }>;
844
844
  }, z.core.$strip>>;
845
845
  }, z.core.$strip>;
@@ -853,8 +853,8 @@ declare const AddChatMemberResponseSchema: z.ZodObject<{
853
853
  chatId: z.ZodString;
854
854
  memberCode: z.ZodString;
855
855
  type: z.ZodEnum<{
856
- human: "human";
857
856
  agent: "agent";
857
+ human: "human";
858
858
  }>;
859
859
  role: z.ZodString;
860
860
  createdAt: z.ZodString;
@@ -870,8 +870,8 @@ declare const RemoveChatMemberRequestSchema: z.ZodObject<{
870
870
  members: z.ZodArray<z.ZodObject<{
871
871
  memberCode: z.ZodString;
872
872
  type: z.ZodEnum<{
873
- human: "human";
874
873
  agent: "agent";
874
+ human: "human";
875
875
  }>;
876
876
  }, z.core.$strip>>;
877
877
  }, z.core.$strip>;
@@ -990,8 +990,8 @@ declare const EnsureRepoChatResponseSchema: z.ZodObject<{
990
990
  chatId: z.ZodString;
991
991
  memberCode: z.ZodString;
992
992
  type: z.ZodEnum<{
993
- human: "human";
994
993
  agent: "agent";
994
+ human: "human";
995
995
  }>;
996
996
  role: z.ZodString;
997
997
  createdAt: z.ZodString;
@@ -1020,8 +1020,8 @@ declare const EnsureWorkspaceChatResponseSchema: z.ZodObject<{
1020
1020
  chatId: z.ZodString;
1021
1021
  memberCode: z.ZodString;
1022
1022
  type: z.ZodEnum<{
1023
- human: "human";
1024
1023
  agent: "agent";
1024
+ human: "human";
1025
1025
  }>;
1026
1026
  role: z.ZodString;
1027
1027
  createdAt: z.ZodString;
@@ -1736,10 +1736,10 @@ type CreateDraftAgentRequest = z.infer<typeof CreateDraftAgentRequestSchema>;
1736
1736
  */
1737
1737
  declare const SetEnvironmentVariablesRequestSchema: z.ZodObject<{
1738
1738
  ownerType: z.ZodEnum<{
1739
- agent: "agent";
1740
1739
  cloud: "cloud";
1741
- "draft-agent": "draft-agent";
1740
+ agent: "agent";
1742
1741
  machine: "machine";
1742
+ "draft-agent": "draft-agent";
1743
1743
  }>;
1744
1744
  ownerId: z.ZodString;
1745
1745
  variables: z.ZodRecord<z.ZodString, z.ZodString>;
@@ -4485,8 +4485,8 @@ type GetPrivateCloudRunnerSecretResponse = z.infer<typeof GetPrivateCloudRunnerS
4485
4485
  * Contact target type
4486
4486
  */
4487
4487
  declare const ContactTargetTypeSchema: z.ZodEnum<{
4488
- human: "human";
4489
4488
  agent: "agent";
4489
+ human: "human";
4490
4490
  }>;
4491
4491
  type ContactTargetType = z.infer<typeof ContactTargetTypeSchema>;
4492
4492
  /**
@@ -4496,8 +4496,8 @@ declare const ContactSchema: z.ZodObject<{
4496
4496
  id: z.ZodString;
4497
4497
  userId: z.ZodString;
4498
4498
  targetType: z.ZodEnum<{
4499
- human: "human";
4500
4499
  agent: "agent";
4500
+ human: "human";
4501
4501
  }>;
4502
4502
  targetId: z.ZodString;
4503
4503
  displayNameSnapshot: z.ZodString;
@@ -4512,8 +4512,8 @@ type Contact = z.infer<typeof ContactSchema>;
4512
4512
  */
4513
4513
  declare const ContactCandidateSchema: z.ZodObject<{
4514
4514
  targetType: z.ZodEnum<{
4515
- human: "human";
4516
4515
  agent: "agent";
4516
+ human: "human";
4517
4517
  }>;
4518
4518
  targetId: z.ZodString;
4519
4519
  displayName: z.ZodString;
@@ -4530,8 +4530,8 @@ declare const ListContactsResponseSchema: z.ZodObject<{
4530
4530
  id: z.ZodString;
4531
4531
  userId: z.ZodString;
4532
4532
  targetType: z.ZodEnum<{
4533
- human: "human";
4534
4533
  agent: "agent";
4534
+ human: "human";
4535
4535
  }>;
4536
4536
  targetId: z.ZodString;
4537
4537
  displayNameSnapshot: z.ZodString;
@@ -4547,8 +4547,8 @@ type ListContactsResponse = z.infer<typeof ListContactsResponseSchema>;
4547
4547
  */
4548
4548
  declare const CreateContactRequestSchema: z.ZodObject<{
4549
4549
  targetType: z.ZodEnum<{
4550
- human: "human";
4551
4550
  agent: "agent";
4551
+ human: "human";
4552
4552
  }>;
4553
4553
  targetId: z.ZodString;
4554
4554
  }, z.core.$strip>;
@@ -4560,8 +4560,8 @@ declare const CreateContactResponseSchema: z.ZodObject<{
4560
4560
  id: z.ZodString;
4561
4561
  userId: z.ZodString;
4562
4562
  targetType: z.ZodEnum<{
4563
- human: "human";
4564
4563
  agent: "agent";
4564
+ human: "human";
4565
4565
  }>;
4566
4566
  targetId: z.ZodString;
4567
4567
  displayNameSnapshot: z.ZodString;
@@ -4593,8 +4593,8 @@ type SearchContactCandidatesQuery = z.infer<typeof SearchContactCandidatesQueryS
4593
4593
  declare const SearchContactCandidatesResponseSchema: z.ZodObject<{
4594
4594
  candidates: z.ZodArray<z.ZodObject<{
4595
4595
  targetType: z.ZodEnum<{
4596
- human: "human";
4597
4596
  agent: "agent";
4597
+ human: "human";
4598
4598
  }>;
4599
4599
  targetId: z.ZodString;
4600
4600
  displayName: z.ZodString;
@@ -4708,9 +4708,9 @@ type JsonSchemaDocument = z.infer<typeof JsonSchemaDocumentSchema>;
4708
4708
  declare const CiRunStatusSchema: z.ZodEnum<{
4709
4709
  running: "running";
4710
4710
  failed: "failed";
4711
+ queued: "queued";
4711
4712
  completed: "completed";
4712
4713
  canceled: "canceled";
4713
- queued: "queued";
4714
4714
  timeout: "timeout";
4715
4715
  }>;
4716
4716
  type CiRunStatus = z.infer<typeof CiRunStatusSchema>;
@@ -4801,8 +4801,8 @@ declare const CreateCiRunResponseSchema: z.ZodObject<{
4801
4801
  status: z.ZodEnum<{
4802
4802
  running: "running";
4803
4803
  failed: "failed";
4804
- completed: "completed";
4805
4804
  queued: "queued";
4805
+ completed: "completed";
4806
4806
  }>;
4807
4807
  detailUrl: z.ZodString;
4808
4808
  }, z.core.$strip>;
@@ -4812,9 +4812,9 @@ declare const CiRunStatusResponseSchema: z.ZodObject<{
4812
4812
  status: z.ZodEnum<{
4813
4813
  running: "running";
4814
4814
  failed: "failed";
4815
+ queued: "queued";
4815
4816
  completed: "completed";
4816
4817
  canceled: "canceled";
4817
- queued: "queued";
4818
4818
  timeout: "timeout";
4819
4819
  }>;
4820
4820
  result: z.ZodString;
package/dist/node.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { ga as LoadAgentOptions, g8 as AgentConfig, g9 as ValidationResult, g5 as FrameworkType } from './errors-DIZ3Mfi-.cjs';
2
- export { gh as AgentConfigValidationError, g1 as AgentContext, gf as AgentError, gj as AgentLoadError, g6 as AgentMetadata, gd as AgentMetadataSchema, gg as AgentNotFoundError, g2 as AgentrixContext, g7 as ClaudeAgentConfig, ge as ClaudeConfigSchema, gc as FRAMEWORK_TYPES, gi as FrameworkNotSupportedError, gb as HookFactory, gk as MissingAgentFileError, g4 as getAgentContext, g3 as setAgentContext } from './errors-DIZ3Mfi-.cjs';
1
+ import { ga as LoadAgentOptions, g8 as AgentConfig, g9 as ValidationResult, g5 as FrameworkType } from './errors-w-U9apaD.cjs';
2
+ export { gh as AgentConfigValidationError, g1 as AgentContext, gf as AgentError, gj as AgentLoadError, g6 as AgentMetadata, gd as AgentMetadataSchema, gg as AgentNotFoundError, g2 as AgentrixContext, g7 as ClaudeAgentConfig, ge as ClaudeConfigSchema, gc as FRAMEWORK_TYPES, gi as FrameworkNotSupportedError, gb as HookFactory, gk as MissingAgentFileError, g4 as getAgentContext, g3 as setAgentContext } from './errors-w-U9apaD.cjs';
3
3
  export { buildGitLabWebhookEndpointPath, buildGitLabWebhookUrl } from './gitlabWebhook.cjs';
4
4
  import '@anthropic-ai/claude-agent-sdk';
5
5
  import 'zod';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentrix/shared",
3
- "version": "2.39.0",
3
+ "version": "2.40.0",
4
4
  "description": "Shared types and schemas for Agentrix projects",
5
5
  "main": "./dist/index.cjs",
6
6
  "types": "./dist/index.d.cts",