@agentrix/shared 2.0.7 → 2.0.8
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 +73 -0
- package/dist/index.d.cts +173 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -710,6 +710,32 @@ const GetUserAgentsResponseSchema = zod.z.object({
|
|
|
710
710
|
draftAgents: zod.z.array(DraftAgentSchema)
|
|
711
711
|
// Draft agents
|
|
712
712
|
});
|
|
713
|
+
const PublishDraftAgentRequestSchema = zod.z.object({
|
|
714
|
+
draftAgentId: zod.z.string(),
|
|
715
|
+
machineId: zod.z.string().optional(),
|
|
716
|
+
cloudId: zod.z.string().optional(),
|
|
717
|
+
name: zod.z.string().optional(),
|
|
718
|
+
// Optional custom agent name (defaults to draft agent's displayName)
|
|
719
|
+
avatar: zod.z.string().optional(),
|
|
720
|
+
// Optional custom avatar (defaults to draft agent's avatar)
|
|
721
|
+
isSystemAgent: zod.z.boolean().optional(),
|
|
722
|
+
// If true, userId will be set to 'system'
|
|
723
|
+
supportLocal: zod.z.boolean().optional()
|
|
724
|
+
// Support local mode (defaults to false)
|
|
725
|
+
}).refine(
|
|
726
|
+
(data) => {
|
|
727
|
+
return !!data.machineId !== !!data.cloudId;
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
message: "Exactly one of machineId or cloudId must be provided"
|
|
731
|
+
}
|
|
732
|
+
);
|
|
733
|
+
const PublishDraftAgentResponseSchema = zod.z.object({
|
|
734
|
+
agentId: zod.z.string(),
|
|
735
|
+
// Generated agent ID (Agent record created after deployment)
|
|
736
|
+
taskId: zod.z.string()
|
|
737
|
+
// Deployment task ID
|
|
738
|
+
});
|
|
713
739
|
|
|
714
740
|
const LocalMachineSchema = zod.z.object({
|
|
715
741
|
id: IdSchema,
|
|
@@ -1482,6 +1508,46 @@ const MergePullRequestEventSchema = EventBaseSchema.extend({
|
|
|
1482
1508
|
taskId: zod.z.string(),
|
|
1483
1509
|
mergeMethod: zod.z.enum(["merge", "squash", "rebase"]).optional().default("squash")
|
|
1484
1510
|
});
|
|
1511
|
+
const DeployAgentEventSchema = EventBaseSchema.extend({
|
|
1512
|
+
taskId: zod.z.string(),
|
|
1513
|
+
draftAgentId: zod.z.string(),
|
|
1514
|
+
userId: zod.z.string(),
|
|
1515
|
+
machineId: zod.z.string().optional(),
|
|
1516
|
+
cloudId: zod.z.string().optional(),
|
|
1517
|
+
sourcePath: zod.z.string(),
|
|
1518
|
+
// Draft agent directory path
|
|
1519
|
+
targetAgentId: zod.z.string(),
|
|
1520
|
+
// New agent ID to deploy to
|
|
1521
|
+
name: zod.z.string().optional(),
|
|
1522
|
+
// Optional custom agent name
|
|
1523
|
+
avatar: zod.z.string().optional(),
|
|
1524
|
+
// Optional custom avatar
|
|
1525
|
+
isSystemAgent: zod.z.boolean().optional(),
|
|
1526
|
+
// If true, use 'system' as userId
|
|
1527
|
+
supportLocal: zod.z.boolean().optional()
|
|
1528
|
+
// Support local mode
|
|
1529
|
+
}).refine(
|
|
1530
|
+
(data) => {
|
|
1531
|
+
return !!data.machineId !== !!data.cloudId;
|
|
1532
|
+
},
|
|
1533
|
+
{
|
|
1534
|
+
message: "Exactly one of machineId or cloudId must be provided"
|
|
1535
|
+
}
|
|
1536
|
+
);
|
|
1537
|
+
const DeployAgentCompleteEventSchema = EventBaseSchema.extend({
|
|
1538
|
+
taskId: zod.z.string(),
|
|
1539
|
+
targetAgentId: zod.z.string(),
|
|
1540
|
+
success: zod.z.boolean(),
|
|
1541
|
+
error: zod.z.string().optional(),
|
|
1542
|
+
name: zod.z.string().optional(),
|
|
1543
|
+
// Optional custom agent name
|
|
1544
|
+
avatar: zod.z.string().optional(),
|
|
1545
|
+
// Optional custom avatar
|
|
1546
|
+
isSystemAgent: zod.z.boolean().optional(),
|
|
1547
|
+
// If true, use 'system' as userId
|
|
1548
|
+
supportLocal: zod.z.boolean().optional()
|
|
1549
|
+
// Support local mode
|
|
1550
|
+
});
|
|
1485
1551
|
const AssociateRepoEventDataSchema = EventBaseSchema.extend({
|
|
1486
1552
|
taskId: zod.z.string(),
|
|
1487
1553
|
gitServerHost: zod.z.string(),
|
|
@@ -1567,6 +1633,9 @@ const EventSchemaMap = {
|
|
|
1567
1633
|
// Merge request events
|
|
1568
1634
|
"merge-request": MergeRequestEventSchema,
|
|
1569
1635
|
"merge-pr": MergePullRequestEventSchema,
|
|
1636
|
+
// Deploy agent events
|
|
1637
|
+
"deploy-agent": DeployAgentEventSchema,
|
|
1638
|
+
"deploy-agent-complete": DeployAgentCompleteEventSchema,
|
|
1570
1639
|
// Multi-agent collaboration events
|
|
1571
1640
|
"task-stopped": TaskStoppedEventSchema,
|
|
1572
1641
|
"sub-task-completed": SubTaskCompletedEventSchema,
|
|
@@ -2241,6 +2310,8 @@ exports.CreditsPackageSchema = CreditsPackageSchema;
|
|
|
2241
2310
|
exports.DateSchema = DateSchema;
|
|
2242
2311
|
exports.DeleteAgentResponseSchema = DeleteAgentResponseSchema;
|
|
2243
2312
|
exports.DeleteOAuthServerResponseSchema = DeleteOAuthServerResponseSchema;
|
|
2313
|
+
exports.DeployAgentCompleteEventSchema = DeployAgentCompleteEventSchema;
|
|
2314
|
+
exports.DeployAgentEventSchema = DeployAgentEventSchema;
|
|
2244
2315
|
exports.DisplayConfigKeysSchema = DisplayConfigKeysSchema;
|
|
2245
2316
|
exports.DisplayConfigSchema = DisplayConfigSchema;
|
|
2246
2317
|
exports.DraftAgentConfigSchema = DraftAgentConfigSchema;
|
|
@@ -2323,6 +2394,8 @@ exports.PermissionResponseRequestSchema = PermissionResponseRequestSchema;
|
|
|
2323
2394
|
exports.PermissionResponseResponseSchema = PermissionResponseResponseSchema;
|
|
2324
2395
|
exports.ProjectDirectoryResponseSchema = ProjectDirectoryResponseSchema;
|
|
2325
2396
|
exports.ProjectEntrySchema = ProjectEntrySchema;
|
|
2397
|
+
exports.PublishDraftAgentRequestSchema = PublishDraftAgentRequestSchema;
|
|
2398
|
+
exports.PublishDraftAgentResponseSchema = PublishDraftAgentResponseSchema;
|
|
2326
2399
|
exports.QueryEventsRequestSchema = QueryEventsRequestSchema;
|
|
2327
2400
|
exports.RTC_CHUNK_HEADER_SIZE = RTC_CHUNK_HEADER_SIZE;
|
|
2328
2401
|
exports.RechargeResponseSchema = RechargeResponseSchema;
|
package/dist/index.d.cts
CHANGED
|
@@ -6337,6 +6337,66 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6337
6337
|
}[];
|
|
6338
6338
|
}>;
|
|
6339
6339
|
type GetUserAgentsResponse = z.infer<typeof GetUserAgentsResponseSchema>;
|
|
6340
|
+
/**
|
|
6341
|
+
* POST /v1/agents/publish - Request schema
|
|
6342
|
+
* Publish a draft agent to production
|
|
6343
|
+
*/
|
|
6344
|
+
declare const PublishDraftAgentRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
6345
|
+
draftAgentId: z.ZodString;
|
|
6346
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
6347
|
+
cloudId: z.ZodOptional<z.ZodString>;
|
|
6348
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6349
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
6350
|
+
isSystemAgent: z.ZodOptional<z.ZodBoolean>;
|
|
6351
|
+
supportLocal: z.ZodOptional<z.ZodBoolean>;
|
|
6352
|
+
}, "strip", z.ZodTypeAny, {
|
|
6353
|
+
draftAgentId: string;
|
|
6354
|
+
avatar?: string | undefined;
|
|
6355
|
+
machineId?: string | undefined;
|
|
6356
|
+
cloudId?: string | undefined;
|
|
6357
|
+
name?: string | undefined;
|
|
6358
|
+
supportLocal?: boolean | undefined;
|
|
6359
|
+
isSystemAgent?: boolean | undefined;
|
|
6360
|
+
}, {
|
|
6361
|
+
draftAgentId: string;
|
|
6362
|
+
avatar?: string | undefined;
|
|
6363
|
+
machineId?: string | undefined;
|
|
6364
|
+
cloudId?: string | undefined;
|
|
6365
|
+
name?: string | undefined;
|
|
6366
|
+
supportLocal?: boolean | undefined;
|
|
6367
|
+
isSystemAgent?: boolean | undefined;
|
|
6368
|
+
}>, {
|
|
6369
|
+
draftAgentId: string;
|
|
6370
|
+
avatar?: string | undefined;
|
|
6371
|
+
machineId?: string | undefined;
|
|
6372
|
+
cloudId?: string | undefined;
|
|
6373
|
+
name?: string | undefined;
|
|
6374
|
+
supportLocal?: boolean | undefined;
|
|
6375
|
+
isSystemAgent?: boolean | undefined;
|
|
6376
|
+
}, {
|
|
6377
|
+
draftAgentId: string;
|
|
6378
|
+
avatar?: string | undefined;
|
|
6379
|
+
machineId?: string | undefined;
|
|
6380
|
+
cloudId?: string | undefined;
|
|
6381
|
+
name?: string | undefined;
|
|
6382
|
+
supportLocal?: boolean | undefined;
|
|
6383
|
+
isSystemAgent?: boolean | undefined;
|
|
6384
|
+
}>;
|
|
6385
|
+
type PublishDraftAgentRequest = z.infer<typeof PublishDraftAgentRequestSchema>;
|
|
6386
|
+
/**
|
|
6387
|
+
* POST /v1/agents/publish - Response schema
|
|
6388
|
+
*/
|
|
6389
|
+
declare const PublishDraftAgentResponseSchema: z.ZodObject<{
|
|
6390
|
+
agentId: z.ZodString;
|
|
6391
|
+
taskId: z.ZodString;
|
|
6392
|
+
}, "strip", z.ZodTypeAny, {
|
|
6393
|
+
taskId: string;
|
|
6394
|
+
agentId: string;
|
|
6395
|
+
}, {
|
|
6396
|
+
taskId: string;
|
|
6397
|
+
agentId: string;
|
|
6398
|
+
}>;
|
|
6399
|
+
type PublishDraftAgentResponse = z.infer<typeof PublishDraftAgentResponseSchema>;
|
|
6340
6400
|
|
|
6341
6401
|
/**
|
|
6342
6402
|
* Machine HTTP request/response schemas
|
|
@@ -10108,6 +10168,115 @@ interface MergePullRequestAck {
|
|
|
10108
10168
|
error?: string;
|
|
10109
10169
|
errorType?: 'github_conflict' | 'pr_not_open' | 'permission_denied' | 'merge_failed' | 'unknown';
|
|
10110
10170
|
}
|
|
10171
|
+
/**
|
|
10172
|
+
* Deploy agent event (API → CLI)
|
|
10173
|
+
* Triggers agent deployment from draft to production
|
|
10174
|
+
*/
|
|
10175
|
+
declare const DeployAgentEventSchema: z.ZodEffects<z.ZodObject<{
|
|
10176
|
+
eventId: z.ZodString;
|
|
10177
|
+
} & {
|
|
10178
|
+
taskId: z.ZodString;
|
|
10179
|
+
draftAgentId: z.ZodString;
|
|
10180
|
+
userId: z.ZodString;
|
|
10181
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
10182
|
+
cloudId: z.ZodOptional<z.ZodString>;
|
|
10183
|
+
sourcePath: z.ZodString;
|
|
10184
|
+
targetAgentId: z.ZodString;
|
|
10185
|
+
name: z.ZodOptional<z.ZodString>;
|
|
10186
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
10187
|
+
isSystemAgent: z.ZodOptional<z.ZodBoolean>;
|
|
10188
|
+
supportLocal: z.ZodOptional<z.ZodBoolean>;
|
|
10189
|
+
}, "strip", z.ZodTypeAny, {
|
|
10190
|
+
userId: string;
|
|
10191
|
+
taskId: string;
|
|
10192
|
+
draftAgentId: string;
|
|
10193
|
+
eventId: string;
|
|
10194
|
+
sourcePath: string;
|
|
10195
|
+
targetAgentId: string;
|
|
10196
|
+
avatar?: string | undefined;
|
|
10197
|
+
machineId?: string | undefined;
|
|
10198
|
+
cloudId?: string | undefined;
|
|
10199
|
+
name?: string | undefined;
|
|
10200
|
+
supportLocal?: boolean | undefined;
|
|
10201
|
+
isSystemAgent?: boolean | undefined;
|
|
10202
|
+
}, {
|
|
10203
|
+
userId: string;
|
|
10204
|
+
taskId: string;
|
|
10205
|
+
draftAgentId: string;
|
|
10206
|
+
eventId: string;
|
|
10207
|
+
sourcePath: string;
|
|
10208
|
+
targetAgentId: string;
|
|
10209
|
+
avatar?: string | undefined;
|
|
10210
|
+
machineId?: string | undefined;
|
|
10211
|
+
cloudId?: string | undefined;
|
|
10212
|
+
name?: string | undefined;
|
|
10213
|
+
supportLocal?: boolean | undefined;
|
|
10214
|
+
isSystemAgent?: boolean | undefined;
|
|
10215
|
+
}>, {
|
|
10216
|
+
userId: string;
|
|
10217
|
+
taskId: string;
|
|
10218
|
+
draftAgentId: string;
|
|
10219
|
+
eventId: string;
|
|
10220
|
+
sourcePath: string;
|
|
10221
|
+
targetAgentId: string;
|
|
10222
|
+
avatar?: string | undefined;
|
|
10223
|
+
machineId?: string | undefined;
|
|
10224
|
+
cloudId?: string | undefined;
|
|
10225
|
+
name?: string | undefined;
|
|
10226
|
+
supportLocal?: boolean | undefined;
|
|
10227
|
+
isSystemAgent?: boolean | undefined;
|
|
10228
|
+
}, {
|
|
10229
|
+
userId: string;
|
|
10230
|
+
taskId: string;
|
|
10231
|
+
draftAgentId: string;
|
|
10232
|
+
eventId: string;
|
|
10233
|
+
sourcePath: string;
|
|
10234
|
+
targetAgentId: string;
|
|
10235
|
+
avatar?: string | undefined;
|
|
10236
|
+
machineId?: string | undefined;
|
|
10237
|
+
cloudId?: string | undefined;
|
|
10238
|
+
name?: string | undefined;
|
|
10239
|
+
supportLocal?: boolean | undefined;
|
|
10240
|
+
isSystemAgent?: boolean | undefined;
|
|
10241
|
+
}>;
|
|
10242
|
+
type DeployAgentEventData = z.infer<typeof DeployAgentEventSchema>;
|
|
10243
|
+
/**
|
|
10244
|
+
* Deploy agent complete event (CLI → API)
|
|
10245
|
+
* Sent when agent deployment completes (success or failure)
|
|
10246
|
+
*/
|
|
10247
|
+
declare const DeployAgentCompleteEventSchema: z.ZodObject<{
|
|
10248
|
+
eventId: z.ZodString;
|
|
10249
|
+
} & {
|
|
10250
|
+
taskId: z.ZodString;
|
|
10251
|
+
targetAgentId: z.ZodString;
|
|
10252
|
+
success: z.ZodBoolean;
|
|
10253
|
+
error: z.ZodOptional<z.ZodString>;
|
|
10254
|
+
name: z.ZodOptional<z.ZodString>;
|
|
10255
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
10256
|
+
isSystemAgent: z.ZodOptional<z.ZodBoolean>;
|
|
10257
|
+
supportLocal: z.ZodOptional<z.ZodBoolean>;
|
|
10258
|
+
}, "strip", z.ZodTypeAny, {
|
|
10259
|
+
success: boolean;
|
|
10260
|
+
taskId: string;
|
|
10261
|
+
eventId: string;
|
|
10262
|
+
targetAgentId: string;
|
|
10263
|
+
error?: string | undefined;
|
|
10264
|
+
avatar?: string | undefined;
|
|
10265
|
+
name?: string | undefined;
|
|
10266
|
+
supportLocal?: boolean | undefined;
|
|
10267
|
+
isSystemAgent?: boolean | undefined;
|
|
10268
|
+
}, {
|
|
10269
|
+
success: boolean;
|
|
10270
|
+
taskId: string;
|
|
10271
|
+
eventId: string;
|
|
10272
|
+
targetAgentId: string;
|
|
10273
|
+
error?: string | undefined;
|
|
10274
|
+
avatar?: string | undefined;
|
|
10275
|
+
name?: string | undefined;
|
|
10276
|
+
supportLocal?: boolean | undefined;
|
|
10277
|
+
isSystemAgent?: boolean | undefined;
|
|
10278
|
+
}>;
|
|
10279
|
+
type DeployAgentCompleteEventData = z.infer<typeof DeployAgentCompleteEventSchema>;
|
|
10111
10280
|
declare const AssociateRepoEventDataSchema: z.ZodObject<{
|
|
10112
10281
|
eventId: z.ZodString;
|
|
10113
10282
|
} & {
|
|
@@ -10739,6 +10908,8 @@ type EventMap = {
|
|
|
10739
10908
|
"show-modal": ShowModalEventData;
|
|
10740
10909
|
"merge-request": MergeRequestEventData;
|
|
10741
10910
|
"merge-pr": MergePullRequestEventData;
|
|
10911
|
+
"deploy-agent": DeployAgentEventData;
|
|
10912
|
+
"deploy-agent-complete": DeployAgentCompleteEventData;
|
|
10742
10913
|
"task-stopped": TaskStoppedEventData;
|
|
10743
10914
|
"sub-task-completed": SubTaskCompletedEventData;
|
|
10744
10915
|
"associate-repo": AssociateRepoEventData;
|
|
@@ -11310,5 +11481,5 @@ declare function decodeRtcChunkHeader(data: Uint8Array): RtcChunkHeader;
|
|
|
11310
11481
|
declare function buildRtcChunkFrame(header: RtcChunkHeader, payload: Uint8Array): Uint8Array;
|
|
11311
11482
|
declare function splitRtcChunkFrame(data: Uint8Array): RtcChunkFrame;
|
|
11312
11483
|
|
|
11313
|
-
export { AddChatMemberRequestSchema, AddChatMemberResponseSchema, AgentConfigValidationError, AgentCustomConfigSchema, AgentError, AgentLoadError, AgentMetadataSchema, AgentNotFoundError, AgentPermissionsSchema, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiServerAliveEventSchema, AppAliveEventSchema, ApprovalStatusResponseSchema, ApprovePrRequestSchema, ApprovePrResponseSchema, ArchiveTaskRequestSchema, ArchiveTaskResponseSchema, AskUserMessageSchema, AskUserOptionSchema, AskUserQuestionSchema, AskUserResponseMessageSchema, AskUserResponseReasonSchema, AskUserResponseStatusSchema, AssociateRepoEventDataSchema, BillingStatsResponseSchema, BranchSchema, CancelTaskRequestSchema, CancelTaskResponseSchema, ChangeTaskTitleEventSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, ClaudeConfigSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateDraftAgentRequestSchema, CreateMergeRequestResponseSchema, CreateMergeRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreateTaskShareResponseSchema, CreateTaskShareSchema, CreditExhaustedEventSchema, CreditsPackageSchema, DateSchema, DeleteAgentResponseSchema, DeleteOAuthServerResponseSchema, DisplayConfigKeysSchema, DisplayConfigSchema, DraftAgentConfigSchema, DraftAgentSchema, EnvironmentVariableSchema, EventAckSchema, EventSchemaMap, FRAMEWORK_TYPES, FileItemSchema, FileStatsSchema, FileVisibilitySchema, FillEventsRequestSchema, FindTaskByAgentRequestSchema, FindTaskByAgentResponseSchema, FrameworkNotSupportedError, GetAgentResponseSchema, GetChatResponseSchema, GetEnvironmentVariablesResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetRepositoryResponseSchema, GetTaskSessionResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GetUserAgentsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerSchema, IdSchema, ListAgentsResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsQuerySchema, ListChatsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListRepositoriesResponseSchema, ListTasksRequestSchema, ListTasksResponseSchema, ListTransactionsQuerySchema, ListTransactionsResponseSchema, LocalMachineSchema, LogoutResponseSchema, MachineAliveEventSchema, MachineApprovalRequestSchema, MachineApprovalStatusQuerySchema, MachineAuthAuthorizedResponseSchema, MachineAuthRequestSchema, MachineAuthResultQuerySchema, MachineRtcRequestSchema, MachineRtcResponseSchema, MergePullRequestEventSchema, MergeRequestEventSchema, MissingAgentFileError, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PermissionResponseRequestSchema, PermissionResponseResponseSchema, ProjectDirectoryResponseSchema, ProjectEntrySchema, QueryEventsRequestSchema, RTC_CHUNK_HEADER_SIZE, RechargeResponseSchema, RemoveChatMemberRequestSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResumeTaskRequestSchema, ResumeTaskResponseSchema, RpcCallEventSchema, RpcResponseSchema, RtcChunkFlags, RtcIceServerSchema, RtcIceServersRequestSchema, RtcIceServersResponseSchema, RtcSignalSchema, SendTaskMessageRequestSchema, SendTaskMessageResponseSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, ShowModalEventDataSchema, ShowModalRequestSchema, ShowModalResponseSchema, ShutdownMachineSchema, SignatureAuthRequestSchema, SignatureAuthResponseSchema, SimpleSuccessSchema, StartTaskRequestSchema, StartTaskResponseSchema, StatsQuerySchema, StopTaskRequestSchema, StopTaskResponseSchema, StopTaskSchema, SubTaskCompletedEventSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineRequestSchema, SystemMessageSchema, TaskArtifactsMessageSchema, TaskArtifactsUpdatedEventSchema, TaskInfoUpdateEventDataSchema, TaskItemSchema, TaskMessageSchema, TaskSharePermissionsSchema, TaskStateChangeEventSchema, TaskStoppedEventSchema, TaskTransactionsResponseSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UnarchiveTaskRequestSchema, UnarchiveTaskResponseSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateTaskAgentSessionIdEventSchema, UpdateTaskTitleRequestSchema, UpdateTaskTitleResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, WorkerAliveEventSchema, WorkerExitSchema, WorkerInitializedSchema, WorkerInitializingSchema, WorkerReadySchema, WorkerRunningSchema, WorkerStatusRequestSchema, WorkspaceFileRequestSchema, WorkspaceFileResponseSchema, assertAgentExists, assertFileExists, baseTaskSchema, buildRtcChunkFrame, cancelTaskRequestSchema, cancelTaskSchema, createEventId, createKeyPair, createKeyPairWithUit8Array, createMergeRequestSchema, createTaskSchema, decodeBase64, decodeRtcChunkHeader, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, discoverPlugins, encodeBase64, encodeBase64Url, encodeRtcChunkHeader, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getAgentContext, getRandomBytes, isAskUserMessage, isAskUserResponseMessage, isSDKMessage, isTaskArtifactsMessage, loadAgentConfig, machineAuth, permissionResponseRequestSchema, replacePromptPlaceholders, resumeTaskRequestSchema, resumeTaskSchema, setAgentContext, splitRtcChunkFrame, startTaskSchema, stopTaskRequestSchema, userAuth, validateAgentDirectory, validateFrameworkDirectory, workerAuth, workerTaskEvents };
|
|
11314
|
-
export type { AddChatMemberRequest, AddChatMemberResponse, Agent, AgentConfig, AgentContext, AgentCustomConfig, AgentMetadata, AgentPermissions, AgentType, AgentrixContext, ApiError, ApiServerAliveEventData, AppAliveEventData, ApprovalStatusResponse, ApprovePrRequest, ApprovePrResponse, ArchiveTaskRequest, ArchiveTaskResponse, AskUserMessage, AskUserOption, AskUserQuestion, AskUserResponseMessage, AskUserResponseReason, AskUserResponseStatus, AssociateRepoEventData, AuthPayload, BillingStatsResponse, Branch, CancelTaskEventData, CancelTaskRequest, CancelTaskResponse, ChangeTaskTitleEventData, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, ClaudeAgentConfig, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, CreateAgentRequest, CreateAgentResponse, CreateChatRequest, CreateChatResponse, CreateCloudRequest, CreateCloudResponse, CreateDraftAgentRequest, CreateMergeRequestRequest, CreateMergeRequestResponse, CreateOAuthServerRequest, CreateOAuthServerResponse, CreateTaskEventData, CreateTaskShareRequest, CreateTaskShareResponse, CreditExhaustedEventData, CreditsPackage, DeleteAgentResponse, DeleteOAuthServerResponse, DisplayConfig, DisplayConfigKeys, DraftAgent, DraftAgentConfig, EnvironmentVariable, EventAckData, EventData, EventMap, EventName, FileItem, FileStats, FileVisibility, FillEventsRequest, FillEventsResponse, FindTaskByAgentRequest, FindTaskByAgentResponse, FrameworkType, GetAgentResponse, GetChatResponse, GetEnvironmentVariablesResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetRepositoryResponse, GetTaskSessionResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GetUserAgentsResponse, GitHubIssue, GitHubIssueListItem, GitServer, HookFactory, ListAgentsResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsQuery, ListChatsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListRepositoriesResponse, ListTasksRequest, ListTasksResponse, ListTransactionsQuery, ListTransactionsResponse, LoadAgentOptions, LocalMachine, LogoutResponse, MachineAliveEventData, MachineApprovalRequest, MachineApprovalStatusQuery, MachineAuthAuthorizedResponse, MachineAuthRequest, MachineAuthResultQuery, MachineEncryptionKey, MachineRtcRequestEventData, MachineRtcResponseEventData, MergePullRequestAck, MergePullRequestEventData, MergeRequestEventData, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PermissionResponseRequest, PermissionResponseResponse, PrStateChangedData, ProjectDirectoryResponse, ProjectEntry, QueryEventsRequest, QueryEventsResponse, RechargeResponse, RemoveChatMemberRequest, Repository, RepositoryInitHookInput, ResetSecretRequest, ResetSecretResponse, ResumeTaskEventData, ResumeTaskRequest, ResumeTaskResponse, RpcCallEventData, RpcResponseData, RtcChunkFrame, RtcChunkHeader, RtcControlChannel, RtcControlMessage, RtcIceServer, RtcIceServersRequestEventData, RtcIceServersResponseEventData, RtcSignalEventData, SendMessageTarget, SendTaskMessageRequest, SendTaskMessageResponse, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, ShowModalEventData, ShowModalRequest, ShowModalResponse, ShutdownMachineData, SignatureAuthRequest, SignatureAuthResponse, SimpleSuccess, StartTaskRequest, StartTaskResponse, StatsQuery, StopTaskEventData, StopTaskRequest, StopTaskResponse, SubTaskCompletedEventData, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineRequest, SystemMessageEventData, SystemMessageType, TaskArtifactsMessage, TaskArtifactsUpdatedEventData, TaskEvent, TaskInfoUpdateEventData, TaskItem, TaskMessageEventData, TaskMessagePayload, TaskSharePermissions, TaskState, TaskStateChangeEventData, TaskStoppedEventData, TaskTransactionsResponse, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UnarchiveTaskRequest, UnarchiveTaskResponse, UpdateAgentRequest, UpdateAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateTaskAgentSessionIdEventData, UpdateTaskTitleRequest, UpdateTaskTitleResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserProfileResponse, UserWithOAuthAccounts, ValidationResult, WorkerAliveEventData, WorkerExitEventData, WorkerInitializedEventData, WorkerInitializingEventData, WorkerReadyEventData, WorkerRunningEventData, WorkerStatusRequestEventData, WorkerTaskEvent, WorkspaceFileRequestEventData, WorkspaceFileResponseEventData };
|
|
11484
|
+
export { AddChatMemberRequestSchema, AddChatMemberResponseSchema, AgentConfigValidationError, AgentCustomConfigSchema, AgentError, AgentLoadError, AgentMetadataSchema, AgentNotFoundError, AgentPermissionsSchema, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiServerAliveEventSchema, AppAliveEventSchema, ApprovalStatusResponseSchema, ApprovePrRequestSchema, ApprovePrResponseSchema, ArchiveTaskRequestSchema, ArchiveTaskResponseSchema, AskUserMessageSchema, AskUserOptionSchema, AskUserQuestionSchema, AskUserResponseMessageSchema, AskUserResponseReasonSchema, AskUserResponseStatusSchema, AssociateRepoEventDataSchema, BillingStatsResponseSchema, BranchSchema, CancelTaskRequestSchema, CancelTaskResponseSchema, ChangeTaskTitleEventSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, ClaudeConfigSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateDraftAgentRequestSchema, CreateMergeRequestResponseSchema, CreateMergeRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreateTaskShareResponseSchema, CreateTaskShareSchema, CreditExhaustedEventSchema, CreditsPackageSchema, DateSchema, DeleteAgentResponseSchema, DeleteOAuthServerResponseSchema, DeployAgentCompleteEventSchema, DeployAgentEventSchema, DisplayConfigKeysSchema, DisplayConfigSchema, DraftAgentConfigSchema, DraftAgentSchema, EnvironmentVariableSchema, EventAckSchema, EventSchemaMap, FRAMEWORK_TYPES, FileItemSchema, FileStatsSchema, FileVisibilitySchema, FillEventsRequestSchema, FindTaskByAgentRequestSchema, FindTaskByAgentResponseSchema, FrameworkNotSupportedError, GetAgentResponseSchema, GetChatResponseSchema, GetEnvironmentVariablesResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetRepositoryResponseSchema, GetTaskSessionResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GetUserAgentsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerSchema, IdSchema, ListAgentsResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsQuerySchema, ListChatsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListRepositoriesResponseSchema, ListTasksRequestSchema, ListTasksResponseSchema, ListTransactionsQuerySchema, ListTransactionsResponseSchema, LocalMachineSchema, LogoutResponseSchema, MachineAliveEventSchema, MachineApprovalRequestSchema, MachineApprovalStatusQuerySchema, MachineAuthAuthorizedResponseSchema, MachineAuthRequestSchema, MachineAuthResultQuerySchema, MachineRtcRequestSchema, MachineRtcResponseSchema, MergePullRequestEventSchema, MergeRequestEventSchema, MissingAgentFileError, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PermissionResponseRequestSchema, PermissionResponseResponseSchema, ProjectDirectoryResponseSchema, ProjectEntrySchema, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, QueryEventsRequestSchema, RTC_CHUNK_HEADER_SIZE, RechargeResponseSchema, RemoveChatMemberRequestSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResumeTaskRequestSchema, ResumeTaskResponseSchema, RpcCallEventSchema, RpcResponseSchema, RtcChunkFlags, RtcIceServerSchema, RtcIceServersRequestSchema, RtcIceServersResponseSchema, RtcSignalSchema, SendTaskMessageRequestSchema, SendTaskMessageResponseSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, ShowModalEventDataSchema, ShowModalRequestSchema, ShowModalResponseSchema, ShutdownMachineSchema, SignatureAuthRequestSchema, SignatureAuthResponseSchema, SimpleSuccessSchema, StartTaskRequestSchema, StartTaskResponseSchema, StatsQuerySchema, StopTaskRequestSchema, StopTaskResponseSchema, StopTaskSchema, SubTaskCompletedEventSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineRequestSchema, SystemMessageSchema, TaskArtifactsMessageSchema, TaskArtifactsUpdatedEventSchema, TaskInfoUpdateEventDataSchema, TaskItemSchema, TaskMessageSchema, TaskSharePermissionsSchema, TaskStateChangeEventSchema, TaskStoppedEventSchema, TaskTransactionsResponseSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UnarchiveTaskRequestSchema, UnarchiveTaskResponseSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateTaskAgentSessionIdEventSchema, UpdateTaskTitleRequestSchema, UpdateTaskTitleResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, WorkerAliveEventSchema, WorkerExitSchema, WorkerInitializedSchema, WorkerInitializingSchema, WorkerReadySchema, WorkerRunningSchema, WorkerStatusRequestSchema, WorkspaceFileRequestSchema, WorkspaceFileResponseSchema, assertAgentExists, assertFileExists, baseTaskSchema, buildRtcChunkFrame, cancelTaskRequestSchema, cancelTaskSchema, createEventId, createKeyPair, createKeyPairWithUit8Array, createMergeRequestSchema, createTaskSchema, decodeBase64, decodeRtcChunkHeader, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, discoverPlugins, encodeBase64, encodeBase64Url, encodeRtcChunkHeader, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getAgentContext, getRandomBytes, isAskUserMessage, isAskUserResponseMessage, isSDKMessage, isTaskArtifactsMessage, loadAgentConfig, machineAuth, permissionResponseRequestSchema, replacePromptPlaceholders, resumeTaskRequestSchema, resumeTaskSchema, setAgentContext, splitRtcChunkFrame, startTaskSchema, stopTaskRequestSchema, userAuth, validateAgentDirectory, validateFrameworkDirectory, workerAuth, workerTaskEvents };
|
|
11485
|
+
export type { AddChatMemberRequest, AddChatMemberResponse, Agent, AgentConfig, AgentContext, AgentCustomConfig, AgentMetadata, AgentPermissions, AgentType, AgentrixContext, ApiError, ApiServerAliveEventData, AppAliveEventData, ApprovalStatusResponse, ApprovePrRequest, ApprovePrResponse, ArchiveTaskRequest, ArchiveTaskResponse, AskUserMessage, AskUserOption, AskUserQuestion, AskUserResponseMessage, AskUserResponseReason, AskUserResponseStatus, AssociateRepoEventData, AuthPayload, BillingStatsResponse, Branch, CancelTaskEventData, CancelTaskRequest, CancelTaskResponse, ChangeTaskTitleEventData, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, ClaudeAgentConfig, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, CreateAgentRequest, CreateAgentResponse, CreateChatRequest, CreateChatResponse, CreateCloudRequest, CreateCloudResponse, CreateDraftAgentRequest, CreateMergeRequestRequest, CreateMergeRequestResponse, CreateOAuthServerRequest, CreateOAuthServerResponse, CreateTaskEventData, CreateTaskShareRequest, CreateTaskShareResponse, CreditExhaustedEventData, CreditsPackage, DeleteAgentResponse, DeleteOAuthServerResponse, DeployAgentCompleteEventData, DeployAgentEventData, DisplayConfig, DisplayConfigKeys, DraftAgent, DraftAgentConfig, EnvironmentVariable, EventAckData, EventData, EventMap, EventName, FileItem, FileStats, FileVisibility, FillEventsRequest, FillEventsResponse, FindTaskByAgentRequest, FindTaskByAgentResponse, FrameworkType, GetAgentResponse, GetChatResponse, GetEnvironmentVariablesResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetRepositoryResponse, GetTaskSessionResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GetUserAgentsResponse, GitHubIssue, GitHubIssueListItem, GitServer, HookFactory, ListAgentsResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsQuery, ListChatsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListRepositoriesResponse, ListTasksRequest, ListTasksResponse, ListTransactionsQuery, ListTransactionsResponse, LoadAgentOptions, LocalMachine, LogoutResponse, MachineAliveEventData, MachineApprovalRequest, MachineApprovalStatusQuery, MachineAuthAuthorizedResponse, MachineAuthRequest, MachineAuthResultQuery, MachineEncryptionKey, MachineRtcRequestEventData, MachineRtcResponseEventData, MergePullRequestAck, MergePullRequestEventData, MergeRequestEventData, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PermissionResponseRequest, PermissionResponseResponse, PrStateChangedData, ProjectDirectoryResponse, ProjectEntry, PublishDraftAgentRequest, PublishDraftAgentResponse, QueryEventsRequest, QueryEventsResponse, RechargeResponse, RemoveChatMemberRequest, Repository, RepositoryInitHookInput, ResetSecretRequest, ResetSecretResponse, ResumeTaskEventData, ResumeTaskRequest, ResumeTaskResponse, RpcCallEventData, RpcResponseData, RtcChunkFrame, RtcChunkHeader, RtcControlChannel, RtcControlMessage, RtcIceServer, RtcIceServersRequestEventData, RtcIceServersResponseEventData, RtcSignalEventData, SendMessageTarget, SendTaskMessageRequest, SendTaskMessageResponse, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, ShowModalEventData, ShowModalRequest, ShowModalResponse, ShutdownMachineData, SignatureAuthRequest, SignatureAuthResponse, SimpleSuccess, StartTaskRequest, StartTaskResponse, StatsQuery, StopTaskEventData, StopTaskRequest, StopTaskResponse, SubTaskCompletedEventData, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineRequest, SystemMessageEventData, SystemMessageType, TaskArtifactsMessage, TaskArtifactsUpdatedEventData, TaskEvent, TaskInfoUpdateEventData, TaskItem, TaskMessageEventData, TaskMessagePayload, TaskSharePermissions, TaskState, TaskStateChangeEventData, TaskStoppedEventData, TaskTransactionsResponse, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UnarchiveTaskRequest, UnarchiveTaskResponse, UpdateAgentRequest, UpdateAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateTaskAgentSessionIdEventData, UpdateTaskTitleRequest, UpdateTaskTitleResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserProfileResponse, UserWithOAuthAccounts, ValidationResult, WorkerAliveEventData, WorkerExitEventData, WorkerInitializedEventData, WorkerInitializingEventData, WorkerReadyEventData, WorkerRunningEventData, WorkerStatusRequestEventData, WorkerTaskEvent, WorkspaceFileRequestEventData, WorkspaceFileResponseEventData };
|