@agentrix/shared 2.2.2 → 2.2.3
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 +87 -1
- package/dist/index.d.cts +234 -16
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1202,6 +1202,20 @@ const GitServerSchema = zod.z.object({
|
|
|
1202
1202
|
const ListGitServersResponseSchema = zod.z.array(GitServerSchema);
|
|
1203
1203
|
const GetGitServerResponseSchema = GitServerSchema;
|
|
1204
1204
|
|
|
1205
|
+
const SubscriptionPlanSchema = zod.z.object({
|
|
1206
|
+
id: IdSchema,
|
|
1207
|
+
name: zod.z.string(),
|
|
1208
|
+
type: zod.z.string(),
|
|
1209
|
+
// "lite", "pro", "max", "enterprise"
|
|
1210
|
+
stripePriceId: zod.z.string(),
|
|
1211
|
+
price: zod.z.number(),
|
|
1212
|
+
credits: zod.z.number(),
|
|
1213
|
+
features: zod.z.array(zod.z.string()),
|
|
1214
|
+
popular: zod.z.boolean(),
|
|
1215
|
+
enabled: zod.z.boolean(),
|
|
1216
|
+
createdAt: DateSchema,
|
|
1217
|
+
updatedAt: DateSchema
|
|
1218
|
+
});
|
|
1205
1219
|
const SubscriptionSchema = zod.z.object({
|
|
1206
1220
|
id: IdSchema,
|
|
1207
1221
|
userId: IdSchema,
|
|
@@ -1215,7 +1229,9 @@ const SubscriptionSchema = zod.z.object({
|
|
|
1215
1229
|
cancelAtPeriodEnd: zod.z.boolean(),
|
|
1216
1230
|
canceledAt: DateSchema.nullable(),
|
|
1217
1231
|
createdAt: DateSchema,
|
|
1218
|
-
updatedAt: DateSchema
|
|
1232
|
+
updatedAt: DateSchema,
|
|
1233
|
+
plan: SubscriptionPlanSchema.nullable().optional()
|
|
1234
|
+
// Associated plan info
|
|
1219
1235
|
});
|
|
1220
1236
|
const GetSubscriptionResponseSchema = zod.z.object({
|
|
1221
1237
|
subscription: SubscriptionSchema.nullable()
|
|
@@ -1256,6 +1272,63 @@ const GetSubscriptionTiersResponseSchema = zod.z.object({
|
|
|
1256
1272
|
enabled: zod.z.boolean(),
|
|
1257
1273
|
tiers: zod.z.array(SubscriptionTierSchema)
|
|
1258
1274
|
});
|
|
1275
|
+
const CreateSubscriptionPlanRequestSchema = zod.z.object({
|
|
1276
|
+
name: zod.z.string(),
|
|
1277
|
+
type: zod.z.enum(["lite", "pro", "max", "enterprise"]),
|
|
1278
|
+
price: zod.z.number().positive(),
|
|
1279
|
+
credits: zod.z.number().positive(),
|
|
1280
|
+
features: zod.z.array(zod.z.string()),
|
|
1281
|
+
popular: zod.z.boolean().optional()
|
|
1282
|
+
});
|
|
1283
|
+
const UpdateSubscriptionPlanRequestSchema = zod.z.object({
|
|
1284
|
+
name: zod.z.string().optional(),
|
|
1285
|
+
features: zod.z.array(zod.z.string()).optional(),
|
|
1286
|
+
popular: zod.z.boolean().optional(),
|
|
1287
|
+
enabled: zod.z.boolean().optional()
|
|
1288
|
+
});
|
|
1289
|
+
const ListSubscriptionPlansResponseSchema = zod.z.object({
|
|
1290
|
+
plans: zod.z.array(SubscriptionPlanSchema)
|
|
1291
|
+
});
|
|
1292
|
+
|
|
1293
|
+
const ContactTargetTypeSchema = zod.z.enum(["human", "agent"]);
|
|
1294
|
+
const ContactSchema = zod.z.object({
|
|
1295
|
+
id: IdSchema,
|
|
1296
|
+
userId: IdSchema,
|
|
1297
|
+
targetType: ContactTargetTypeSchema,
|
|
1298
|
+
targetId: IdSchema,
|
|
1299
|
+
displayNameSnapshot: zod.z.string(),
|
|
1300
|
+
avatarSnapshot: zod.z.string().nullable(),
|
|
1301
|
+
signatureSnapshot: zod.z.string().nullable(),
|
|
1302
|
+
createdAt: zod.z.string(),
|
|
1303
|
+
updatedAt: zod.z.string()
|
|
1304
|
+
});
|
|
1305
|
+
const ContactCandidateSchema = zod.z.object({
|
|
1306
|
+
targetType: ContactTargetTypeSchema,
|
|
1307
|
+
targetId: IdSchema,
|
|
1308
|
+
displayName: zod.z.string(),
|
|
1309
|
+
avatar: zod.z.string().nullable(),
|
|
1310
|
+
signature: zod.z.string().nullable(),
|
|
1311
|
+
isAdded: zod.z.boolean().default(false)
|
|
1312
|
+
});
|
|
1313
|
+
const ListContactsResponseSchema = zod.z.object({
|
|
1314
|
+
contacts: zod.z.array(ContactSchema)
|
|
1315
|
+
});
|
|
1316
|
+
const CreateContactRequestSchema = zod.z.object({
|
|
1317
|
+
targetType: ContactTargetTypeSchema,
|
|
1318
|
+
targetId: IdSchema
|
|
1319
|
+
});
|
|
1320
|
+
const CreateContactResponseSchema = ContactSchema;
|
|
1321
|
+
const DeleteContactResponseSchema = zod.z.object({
|
|
1322
|
+
message: zod.z.string(),
|
|
1323
|
+
contactId: IdSchema
|
|
1324
|
+
});
|
|
1325
|
+
const SearchContactCandidatesQuerySchema = zod.z.object({
|
|
1326
|
+
q: zod.z.string().trim().optional().default(""),
|
|
1327
|
+
limit: zod.z.coerce.number().int().min(1).max(100).optional().default(20)
|
|
1328
|
+
});
|
|
1329
|
+
const SearchContactCandidatesResponseSchema = zod.z.object({
|
|
1330
|
+
candidates: zod.z.array(ContactCandidateSchema)
|
|
1331
|
+
});
|
|
1259
1332
|
|
|
1260
1333
|
const RpcCallEventSchema = zod.z.object({
|
|
1261
1334
|
eventId: zod.z.string(),
|
|
@@ -2931,6 +3004,9 @@ exports.CompanionWorkspaceFileSchema = CompanionWorkspaceFileSchema;
|
|
|
2931
3004
|
exports.ConfirmUploadRequestSchema = ConfirmUploadRequestSchema;
|
|
2932
3005
|
exports.ConfirmUploadResponseSchema = ConfirmUploadResponseSchema;
|
|
2933
3006
|
exports.ConsumeTransactionSchema = ConsumeTransactionSchema;
|
|
3007
|
+
exports.ContactCandidateSchema = ContactCandidateSchema;
|
|
3008
|
+
exports.ContactSchema = ContactSchema;
|
|
3009
|
+
exports.ContactTargetTypeSchema = ContactTargetTypeSchema;
|
|
2934
3010
|
exports.CreateAgentRequestSchema = CreateAgentRequestSchema;
|
|
2935
3011
|
exports.CreateAgentResponseSchema = CreateAgentResponseSchema;
|
|
2936
3012
|
exports.CreateChatRequestSchema = CreateChatRequestSchema;
|
|
@@ -2939,6 +3015,8 @@ exports.CreateCheckoutRequestSchema = CreateCheckoutRequestSchema;
|
|
|
2939
3015
|
exports.CreateCheckoutResponseSchema = CreateCheckoutResponseSchema;
|
|
2940
3016
|
exports.CreateCloudRequestSchema = CreateCloudRequestSchema;
|
|
2941
3017
|
exports.CreateCloudResponseSchema = CreateCloudResponseSchema;
|
|
3018
|
+
exports.CreateContactRequestSchema = CreateContactRequestSchema;
|
|
3019
|
+
exports.CreateContactResponseSchema = CreateContactResponseSchema;
|
|
2942
3020
|
exports.CreateDraftAgentRequestSchema = CreateDraftAgentRequestSchema;
|
|
2943
3021
|
exports.CreateMergeRequestResponseSchema = CreateMergeRequestResponseSchema;
|
|
2944
3022
|
exports.CreateMergeRequestSchema = CreateMergeRequestSchema;
|
|
@@ -2946,6 +3024,7 @@ exports.CreateOAuthServerRequestSchema = CreateOAuthServerRequestSchema;
|
|
|
2946
3024
|
exports.CreateOAuthServerResponseSchema = CreateOAuthServerResponseSchema;
|
|
2947
3025
|
exports.CreatePortalRequestSchema = CreatePortalRequestSchema;
|
|
2948
3026
|
exports.CreatePortalResponseSchema = CreatePortalResponseSchema;
|
|
3027
|
+
exports.CreateSubscriptionPlanRequestSchema = CreateSubscriptionPlanRequestSchema;
|
|
2949
3028
|
exports.CreateTaskShareResponseSchema = CreateTaskShareResponseSchema;
|
|
2950
3029
|
exports.CreateTaskShareSchema = CreateTaskShareSchema;
|
|
2951
3030
|
exports.CreditExhaustedEventSchema = CreditExhaustedEventSchema;
|
|
@@ -2955,6 +3034,7 @@ exports.DaemonGitlabRequestSchema = DaemonGitlabRequestSchema;
|
|
|
2955
3034
|
exports.DaemonGitlabResponseSchema = DaemonGitlabResponseSchema;
|
|
2956
3035
|
exports.DateSchema = DateSchema;
|
|
2957
3036
|
exports.DeleteAgentResponseSchema = DeleteAgentResponseSchema;
|
|
3037
|
+
exports.DeleteContactResponseSchema = DeleteContactResponseSchema;
|
|
2958
3038
|
exports.DeleteOAuthServerResponseSchema = DeleteOAuthServerResponseSchema;
|
|
2959
3039
|
exports.DeployAgentCompleteEventSchema = DeployAgentCompleteEventSchema;
|
|
2960
3040
|
exports.DeployAgentEventSchema = DeployAgentEventSchema;
|
|
@@ -3000,6 +3080,7 @@ exports.ListChatMembersResponseSchema = ListChatMembersResponseSchema;
|
|
|
3000
3080
|
exports.ListChatTasksResponseSchema = ListChatTasksResponseSchema;
|
|
3001
3081
|
exports.ListChatsQuerySchema = ListChatsQuerySchema;
|
|
3002
3082
|
exports.ListChatsResponseSchema = ListChatsResponseSchema;
|
|
3083
|
+
exports.ListContactsResponseSchema = ListContactsResponseSchema;
|
|
3003
3084
|
exports.ListFilesQuerySchema = ListFilesQuerySchema;
|
|
3004
3085
|
exports.ListFilesResponseSchema = ListFilesResponseSchema;
|
|
3005
3086
|
exports.ListGitServersResponseSchema = ListGitServersResponseSchema;
|
|
@@ -3016,6 +3097,7 @@ exports.ListRecentTasksResponseSchema = ListRecentTasksResponseSchema;
|
|
|
3016
3097
|
exports.ListRepositoriesResponseSchema = ListRepositoriesResponseSchema;
|
|
3017
3098
|
exports.ListSubTasksRequestSchema = ListSubTasksRequestSchema;
|
|
3018
3099
|
exports.ListSubTasksResponseSchema = ListSubTasksResponseSchema;
|
|
3100
|
+
exports.ListSubscriptionPlansResponseSchema = ListSubscriptionPlansResponseSchema;
|
|
3019
3101
|
exports.ListTasksRequestSchema = ListTasksRequestSchema;
|
|
3020
3102
|
exports.ListTasksResponseSchema = ListTasksResponseSchema;
|
|
3021
3103
|
exports.ListTransactionsQuerySchema = ListTransactionsQuerySchema;
|
|
@@ -3075,6 +3157,8 @@ exports.RtcIceServersRequestSchema = RtcIceServersRequestSchema;
|
|
|
3075
3157
|
exports.RtcIceServersResponseSchema = RtcIceServersResponseSchema;
|
|
3076
3158
|
exports.RtcSignalSchema = RtcSignalSchema;
|
|
3077
3159
|
exports.STATIC_FILE_EXTENSIONS = STATIC_FILE_EXTENSIONS;
|
|
3160
|
+
exports.SearchContactCandidatesQuerySchema = SearchContactCandidatesQuerySchema;
|
|
3161
|
+
exports.SearchContactCandidatesResponseSchema = SearchContactCandidatesResponseSchema;
|
|
3078
3162
|
exports.SendTaskMessageRequestSchema = SendTaskMessageRequestSchema;
|
|
3079
3163
|
exports.SendTaskMessageResponseSchema = SendTaskMessageResponseSchema;
|
|
3080
3164
|
exports.SenderTypeSchema = SenderTypeSchema;
|
|
@@ -3096,6 +3180,7 @@ exports.StopTaskResponseSchema = StopTaskResponseSchema;
|
|
|
3096
3180
|
exports.StopTaskSchema = StopTaskSchema;
|
|
3097
3181
|
exports.SubTaskResultUpdatedEventSchema = SubTaskResultUpdatedEventSchema;
|
|
3098
3182
|
exports.SubTaskSummarySchema = SubTaskSummarySchema;
|
|
3183
|
+
exports.SubscriptionPlanSchema = SubscriptionPlanSchema;
|
|
3099
3184
|
exports.SubscriptionSchema = SubscriptionSchema;
|
|
3100
3185
|
exports.SubscriptionTierSchema = SubscriptionTierSchema;
|
|
3101
3186
|
exports.SyncCloudMachineResponseSchema = SyncCloudMachineResponseSchema;
|
|
@@ -3127,6 +3212,7 @@ exports.UpdateDraftAgentRequestSchema = UpdateDraftAgentRequestSchema;
|
|
|
3127
3212
|
exports.UpdateDraftAgentResponseSchema = UpdateDraftAgentResponseSchema;
|
|
3128
3213
|
exports.UpdateOAuthServerRequestSchema = UpdateOAuthServerRequestSchema;
|
|
3129
3214
|
exports.UpdateOAuthServerResponseSchema = UpdateOAuthServerResponseSchema;
|
|
3215
|
+
exports.UpdateSubscriptionPlanRequestSchema = UpdateSubscriptionPlanRequestSchema;
|
|
3130
3216
|
exports.UpdateSubscriptionRequestSchema = UpdateSubscriptionRequestSchema;
|
|
3131
3217
|
exports.UpdateSubscriptionResponseSchema = UpdateSubscriptionResponseSchema;
|
|
3132
3218
|
exports.UpdateTaskAgentSessionIdEventSchema = UpdateTaskAgentSessionIdEventSchema;
|
package/dist/index.d.cts
CHANGED
|
@@ -53,8 +53,8 @@ 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
|
-
system: "system";
|
|
57
56
|
human: "human";
|
|
57
|
+
system: "system";
|
|
58
58
|
agent: "agent";
|
|
59
59
|
}>;
|
|
60
60
|
type SenderType = z.infer<typeof SenderTypeSchema>;
|
|
@@ -1076,15 +1076,15 @@ type SendMessageTarget = 'agent' | 'user';
|
|
|
1076
1076
|
* - 'user': Broadcasts SDKAssistantMessage to users viewing the task
|
|
1077
1077
|
*/
|
|
1078
1078
|
declare const SendTaskMessageRequestSchema: z.ZodObject<{
|
|
1079
|
-
message: z.ZodCustom<
|
|
1079
|
+
message: z.ZodCustom<SDKUserMessage | SDKAssistantMessage, SDKUserMessage | SDKAssistantMessage>;
|
|
1080
1080
|
target: z.ZodEnum<{
|
|
1081
|
-
user: "user";
|
|
1082
1081
|
agent: "agent";
|
|
1082
|
+
user: "user";
|
|
1083
1083
|
}>;
|
|
1084
1084
|
fromTaskId: z.ZodOptional<z.ZodString>;
|
|
1085
1085
|
senderType: z.ZodEnum<{
|
|
1086
|
-
system: "system";
|
|
1087
1086
|
human: "human";
|
|
1087
|
+
system: "system";
|
|
1088
1088
|
agent: "agent";
|
|
1089
1089
|
}>;
|
|
1090
1090
|
senderId: z.ZodString;
|
|
@@ -2142,9 +2142,9 @@ type CreateDraftAgentRequest = z.infer<typeof CreateDraftAgentRequestSchema>;
|
|
|
2142
2142
|
*/
|
|
2143
2143
|
declare const SetEnvironmentVariablesRequestSchema: z.ZodObject<{
|
|
2144
2144
|
ownerType: z.ZodEnum<{
|
|
2145
|
-
machine: "machine";
|
|
2146
2145
|
agent: "agent";
|
|
2147
2146
|
"draft-agent": "draft-agent";
|
|
2147
|
+
machine: "machine";
|
|
2148
2148
|
cloud: "cloud";
|
|
2149
2149
|
}>;
|
|
2150
2150
|
ownerId: z.ZodString;
|
|
@@ -3386,6 +3386,23 @@ type GetGitServerResponse = z.infer<typeof GetGitServerResponseSchema>;
|
|
|
3386
3386
|
* Stripe subscription management types
|
|
3387
3387
|
*/
|
|
3388
3388
|
|
|
3389
|
+
/**
|
|
3390
|
+
* Subscription Plan schema (defined first, used by SubscriptionSchema)
|
|
3391
|
+
*/
|
|
3392
|
+
declare const SubscriptionPlanSchema: z.ZodObject<{
|
|
3393
|
+
id: z.ZodString;
|
|
3394
|
+
name: z.ZodString;
|
|
3395
|
+
type: z.ZodString;
|
|
3396
|
+
stripePriceId: z.ZodString;
|
|
3397
|
+
price: z.ZodNumber;
|
|
3398
|
+
credits: z.ZodNumber;
|
|
3399
|
+
features: z.ZodArray<z.ZodString>;
|
|
3400
|
+
popular: z.ZodBoolean;
|
|
3401
|
+
enabled: z.ZodBoolean;
|
|
3402
|
+
createdAt: z.ZodString;
|
|
3403
|
+
updatedAt: z.ZodString;
|
|
3404
|
+
}, z.core.$strip>;
|
|
3405
|
+
type SubscriptionPlan = z.infer<typeof SubscriptionPlanSchema>;
|
|
3389
3406
|
/**
|
|
3390
3407
|
* Subscription model schema
|
|
3391
3408
|
*/
|
|
@@ -3402,6 +3419,19 @@ declare const SubscriptionSchema: z.ZodObject<{
|
|
|
3402
3419
|
canceledAt: z.ZodNullable<z.ZodString>;
|
|
3403
3420
|
createdAt: z.ZodString;
|
|
3404
3421
|
updatedAt: z.ZodString;
|
|
3422
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3423
|
+
id: z.ZodString;
|
|
3424
|
+
name: z.ZodString;
|
|
3425
|
+
type: z.ZodString;
|
|
3426
|
+
stripePriceId: z.ZodString;
|
|
3427
|
+
price: z.ZodNumber;
|
|
3428
|
+
credits: z.ZodNumber;
|
|
3429
|
+
features: z.ZodArray<z.ZodString>;
|
|
3430
|
+
popular: z.ZodBoolean;
|
|
3431
|
+
enabled: z.ZodBoolean;
|
|
3432
|
+
createdAt: z.ZodString;
|
|
3433
|
+
updatedAt: z.ZodString;
|
|
3434
|
+
}, z.core.$strip>>>;
|
|
3405
3435
|
}, z.core.$strip>;
|
|
3406
3436
|
type Subscription = z.infer<typeof SubscriptionSchema>;
|
|
3407
3437
|
/**
|
|
@@ -3421,6 +3451,19 @@ declare const GetSubscriptionResponseSchema: z.ZodObject<{
|
|
|
3421
3451
|
canceledAt: z.ZodNullable<z.ZodString>;
|
|
3422
3452
|
createdAt: z.ZodString;
|
|
3423
3453
|
updatedAt: z.ZodString;
|
|
3454
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3455
|
+
id: z.ZodString;
|
|
3456
|
+
name: z.ZodString;
|
|
3457
|
+
type: z.ZodString;
|
|
3458
|
+
stripePriceId: z.ZodString;
|
|
3459
|
+
price: z.ZodNumber;
|
|
3460
|
+
credits: z.ZodNumber;
|
|
3461
|
+
features: z.ZodArray<z.ZodString>;
|
|
3462
|
+
popular: z.ZodBoolean;
|
|
3463
|
+
enabled: z.ZodBoolean;
|
|
3464
|
+
createdAt: z.ZodString;
|
|
3465
|
+
updatedAt: z.ZodString;
|
|
3466
|
+
}, z.core.$strip>>>;
|
|
3424
3467
|
}, z.core.$strip>>;
|
|
3425
3468
|
}, z.core.$strip>;
|
|
3426
3469
|
type GetSubscriptionResponse = z.infer<typeof GetSubscriptionResponseSchema>;
|
|
@@ -3476,7 +3519,7 @@ declare const UpdateSubscriptionResponseSchema: z.ZodObject<{
|
|
|
3476
3519
|
}, z.core.$strip>;
|
|
3477
3520
|
type UpdateSubscriptionResponse = z.infer<typeof UpdateSubscriptionResponseSchema>;
|
|
3478
3521
|
/**
|
|
3479
|
-
* Subscription tier schema
|
|
3522
|
+
* Legacy: Subscription tier schema (for backwards compatibility)
|
|
3480
3523
|
*/
|
|
3481
3524
|
declare const SubscriptionTierSchema: z.ZodObject<{
|
|
3482
3525
|
id: z.ZodString;
|
|
@@ -3504,6 +3547,181 @@ declare const GetSubscriptionTiersResponseSchema: z.ZodObject<{
|
|
|
3504
3547
|
}, z.core.$strip>>;
|
|
3505
3548
|
}, z.core.$strip>;
|
|
3506
3549
|
type GetSubscriptionTiersResponse = z.infer<typeof GetSubscriptionTiersResponseSchema>;
|
|
3550
|
+
/**
|
|
3551
|
+
* POST /v1/console/subscription-plans - Request schema
|
|
3552
|
+
*/
|
|
3553
|
+
declare const CreateSubscriptionPlanRequestSchema: z.ZodObject<{
|
|
3554
|
+
name: z.ZodString;
|
|
3555
|
+
type: z.ZodEnum<{
|
|
3556
|
+
lite: "lite";
|
|
3557
|
+
pro: "pro";
|
|
3558
|
+
max: "max";
|
|
3559
|
+
enterprise: "enterprise";
|
|
3560
|
+
}>;
|
|
3561
|
+
price: z.ZodNumber;
|
|
3562
|
+
credits: z.ZodNumber;
|
|
3563
|
+
features: z.ZodArray<z.ZodString>;
|
|
3564
|
+
popular: z.ZodOptional<z.ZodBoolean>;
|
|
3565
|
+
}, z.core.$strip>;
|
|
3566
|
+
type CreateSubscriptionPlanRequest = z.infer<typeof CreateSubscriptionPlanRequestSchema>;
|
|
3567
|
+
/**
|
|
3568
|
+
* PATCH /v1/console/subscription-plans/:id - Request schema
|
|
3569
|
+
*/
|
|
3570
|
+
declare const UpdateSubscriptionPlanRequestSchema: z.ZodObject<{
|
|
3571
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3572
|
+
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3573
|
+
popular: z.ZodOptional<z.ZodBoolean>;
|
|
3574
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3575
|
+
}, z.core.$strip>;
|
|
3576
|
+
type UpdateSubscriptionPlanRequest = z.infer<typeof UpdateSubscriptionPlanRequestSchema>;
|
|
3577
|
+
/**
|
|
3578
|
+
* GET /v1/console/subscription-plans - Response schema
|
|
3579
|
+
*/
|
|
3580
|
+
declare const ListSubscriptionPlansResponseSchema: z.ZodObject<{
|
|
3581
|
+
plans: z.ZodArray<z.ZodObject<{
|
|
3582
|
+
id: z.ZodString;
|
|
3583
|
+
name: z.ZodString;
|
|
3584
|
+
type: z.ZodString;
|
|
3585
|
+
stripePriceId: z.ZodString;
|
|
3586
|
+
price: z.ZodNumber;
|
|
3587
|
+
credits: z.ZodNumber;
|
|
3588
|
+
features: z.ZodArray<z.ZodString>;
|
|
3589
|
+
popular: z.ZodBoolean;
|
|
3590
|
+
enabled: z.ZodBoolean;
|
|
3591
|
+
createdAt: z.ZodString;
|
|
3592
|
+
updatedAt: z.ZodString;
|
|
3593
|
+
}, z.core.$strip>>;
|
|
3594
|
+
}, z.core.$strip>;
|
|
3595
|
+
type ListSubscriptionPlansResponse = z.infer<typeof ListSubscriptionPlansResponseSchema>;
|
|
3596
|
+
|
|
3597
|
+
/**
|
|
3598
|
+
* Contact HTTP request/response schemas
|
|
3599
|
+
* Contact management endpoints
|
|
3600
|
+
*/
|
|
3601
|
+
|
|
3602
|
+
/**
|
|
3603
|
+
* Contact target type
|
|
3604
|
+
*/
|
|
3605
|
+
declare const ContactTargetTypeSchema: z.ZodEnum<{
|
|
3606
|
+
human: "human";
|
|
3607
|
+
agent: "agent";
|
|
3608
|
+
}>;
|
|
3609
|
+
type ContactTargetType = z.infer<typeof ContactTargetTypeSchema>;
|
|
3610
|
+
/**
|
|
3611
|
+
* Contact schema
|
|
3612
|
+
*/
|
|
3613
|
+
declare const ContactSchema: z.ZodObject<{
|
|
3614
|
+
id: z.ZodString;
|
|
3615
|
+
userId: z.ZodString;
|
|
3616
|
+
targetType: z.ZodEnum<{
|
|
3617
|
+
human: "human";
|
|
3618
|
+
agent: "agent";
|
|
3619
|
+
}>;
|
|
3620
|
+
targetId: z.ZodString;
|
|
3621
|
+
displayNameSnapshot: z.ZodString;
|
|
3622
|
+
avatarSnapshot: z.ZodNullable<z.ZodString>;
|
|
3623
|
+
signatureSnapshot: z.ZodNullable<z.ZodString>;
|
|
3624
|
+
createdAt: z.ZodString;
|
|
3625
|
+
updatedAt: z.ZodString;
|
|
3626
|
+
}, z.core.$strip>;
|
|
3627
|
+
type Contact = z.infer<typeof ContactSchema>;
|
|
3628
|
+
/**
|
|
3629
|
+
* Search candidate schema for adding contacts
|
|
3630
|
+
*/
|
|
3631
|
+
declare const ContactCandidateSchema: z.ZodObject<{
|
|
3632
|
+
targetType: z.ZodEnum<{
|
|
3633
|
+
human: "human";
|
|
3634
|
+
agent: "agent";
|
|
3635
|
+
}>;
|
|
3636
|
+
targetId: z.ZodString;
|
|
3637
|
+
displayName: z.ZodString;
|
|
3638
|
+
avatar: z.ZodNullable<z.ZodString>;
|
|
3639
|
+
signature: z.ZodNullable<z.ZodString>;
|
|
3640
|
+
isAdded: z.ZodDefault<z.ZodBoolean>;
|
|
3641
|
+
}, z.core.$strip>;
|
|
3642
|
+
type ContactCandidate = z.infer<typeof ContactCandidateSchema>;
|
|
3643
|
+
/**
|
|
3644
|
+
* GET /v1/contacts - Response schema
|
|
3645
|
+
*/
|
|
3646
|
+
declare const ListContactsResponseSchema: z.ZodObject<{
|
|
3647
|
+
contacts: z.ZodArray<z.ZodObject<{
|
|
3648
|
+
id: z.ZodString;
|
|
3649
|
+
userId: z.ZodString;
|
|
3650
|
+
targetType: z.ZodEnum<{
|
|
3651
|
+
human: "human";
|
|
3652
|
+
agent: "agent";
|
|
3653
|
+
}>;
|
|
3654
|
+
targetId: z.ZodString;
|
|
3655
|
+
displayNameSnapshot: z.ZodString;
|
|
3656
|
+
avatarSnapshot: z.ZodNullable<z.ZodString>;
|
|
3657
|
+
signatureSnapshot: z.ZodNullable<z.ZodString>;
|
|
3658
|
+
createdAt: z.ZodString;
|
|
3659
|
+
updatedAt: z.ZodString;
|
|
3660
|
+
}, z.core.$strip>>;
|
|
3661
|
+
}, z.core.$strip>;
|
|
3662
|
+
type ListContactsResponse = z.infer<typeof ListContactsResponseSchema>;
|
|
3663
|
+
/**
|
|
3664
|
+
* POST /v1/contacts - Request schema
|
|
3665
|
+
*/
|
|
3666
|
+
declare const CreateContactRequestSchema: z.ZodObject<{
|
|
3667
|
+
targetType: z.ZodEnum<{
|
|
3668
|
+
human: "human";
|
|
3669
|
+
agent: "agent";
|
|
3670
|
+
}>;
|
|
3671
|
+
targetId: z.ZodString;
|
|
3672
|
+
}, z.core.$strip>;
|
|
3673
|
+
type CreateContactRequest = z.infer<typeof CreateContactRequestSchema>;
|
|
3674
|
+
/**
|
|
3675
|
+
* POST /v1/contacts - Response schema
|
|
3676
|
+
*/
|
|
3677
|
+
declare const CreateContactResponseSchema: z.ZodObject<{
|
|
3678
|
+
id: z.ZodString;
|
|
3679
|
+
userId: z.ZodString;
|
|
3680
|
+
targetType: z.ZodEnum<{
|
|
3681
|
+
human: "human";
|
|
3682
|
+
agent: "agent";
|
|
3683
|
+
}>;
|
|
3684
|
+
targetId: z.ZodString;
|
|
3685
|
+
displayNameSnapshot: z.ZodString;
|
|
3686
|
+
avatarSnapshot: z.ZodNullable<z.ZodString>;
|
|
3687
|
+
signatureSnapshot: z.ZodNullable<z.ZodString>;
|
|
3688
|
+
createdAt: z.ZodString;
|
|
3689
|
+
updatedAt: z.ZodString;
|
|
3690
|
+
}, z.core.$strip>;
|
|
3691
|
+
type CreateContactResponse = z.infer<typeof CreateContactResponseSchema>;
|
|
3692
|
+
/**
|
|
3693
|
+
* DELETE /v1/contacts/:contactId - Response schema
|
|
3694
|
+
*/
|
|
3695
|
+
declare const DeleteContactResponseSchema: z.ZodObject<{
|
|
3696
|
+
message: z.ZodString;
|
|
3697
|
+
contactId: z.ZodString;
|
|
3698
|
+
}, z.core.$strip>;
|
|
3699
|
+
type DeleteContactResponse = z.infer<typeof DeleteContactResponseSchema>;
|
|
3700
|
+
/**
|
|
3701
|
+
* GET /v1/contacts/candidates - Query schema
|
|
3702
|
+
*/
|
|
3703
|
+
declare const SearchContactCandidatesQuerySchema: z.ZodObject<{
|
|
3704
|
+
q: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3705
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
3706
|
+
}, z.core.$strip>;
|
|
3707
|
+
type SearchContactCandidatesQuery = z.infer<typeof SearchContactCandidatesQuerySchema>;
|
|
3708
|
+
/**
|
|
3709
|
+
* GET /v1/contacts/candidates - Response schema
|
|
3710
|
+
*/
|
|
3711
|
+
declare const SearchContactCandidatesResponseSchema: z.ZodObject<{
|
|
3712
|
+
candidates: z.ZodArray<z.ZodObject<{
|
|
3713
|
+
targetType: z.ZodEnum<{
|
|
3714
|
+
human: "human";
|
|
3715
|
+
agent: "agent";
|
|
3716
|
+
}>;
|
|
3717
|
+
targetId: z.ZodString;
|
|
3718
|
+
displayName: z.ZodString;
|
|
3719
|
+
avatar: z.ZodNullable<z.ZodString>;
|
|
3720
|
+
signature: z.ZodNullable<z.ZodString>;
|
|
3721
|
+
isAdded: z.ZodDefault<z.ZodBoolean>;
|
|
3722
|
+
}, z.core.$strip>>;
|
|
3723
|
+
}, z.core.$strip>;
|
|
3724
|
+
type SearchContactCandidatesResponse = z.infer<typeof SearchContactCandidatesResponseSchema>;
|
|
3507
3725
|
|
|
3508
3726
|
/**
|
|
3509
3727
|
* RPC (Remote Procedure Call) types and schemas for AgentrixContext
|
|
@@ -3585,9 +3803,9 @@ declare const AskUserResponseStatusSchema: z.ZodEnum<{
|
|
|
3585
3803
|
timeout: "timeout";
|
|
3586
3804
|
}>;
|
|
3587
3805
|
declare const AskUserResponseReasonSchema: z.ZodEnum<{
|
|
3588
|
-
timeout: "timeout";
|
|
3589
|
-
user: "user";
|
|
3590
3806
|
system: "system";
|
|
3807
|
+
user: "user";
|
|
3808
|
+
timeout: "timeout";
|
|
3591
3809
|
}>;
|
|
3592
3810
|
type AskUserResponseStatus = z.infer<typeof AskUserResponseStatusSchema>;
|
|
3593
3811
|
type AskUserResponseReason = z.infer<typeof AskUserResponseReasonSchema>;
|
|
@@ -3606,9 +3824,9 @@ declare const AskUserResponseMessageSchema: z.ZodObject<{
|
|
|
3606
3824
|
timeout: "timeout";
|
|
3607
3825
|
}>>;
|
|
3608
3826
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
3609
|
-
timeout: "timeout";
|
|
3610
|
-
user: "user";
|
|
3611
3827
|
system: "system";
|
|
3828
|
+
user: "user";
|
|
3829
|
+
timeout: "timeout";
|
|
3612
3830
|
}>>;
|
|
3613
3831
|
}, z.core.$strip>;
|
|
3614
3832
|
type AskUserResponseMessage = z.infer<typeof AskUserResponseMessageSchema>;
|
|
@@ -4085,9 +4303,9 @@ declare const TaskMessageSchema: z.ZodObject<{
|
|
|
4085
4303
|
taskId: z.ZodString;
|
|
4086
4304
|
chatId: z.ZodOptional<z.ZodString>;
|
|
4087
4305
|
from: z.ZodEnum<{
|
|
4306
|
+
machine: "machine";
|
|
4088
4307
|
app: "app";
|
|
4089
4308
|
"api-server": "api-server";
|
|
4090
|
-
machine: "machine";
|
|
4091
4309
|
worker: "worker";
|
|
4092
4310
|
}>;
|
|
4093
4311
|
opCode: z.ZodOptional<z.ZodString>;
|
|
@@ -4098,8 +4316,8 @@ declare const TaskMessageSchema: z.ZodObject<{
|
|
|
4098
4316
|
encryptedMessage: z.ZodOptional<z.ZodString>;
|
|
4099
4317
|
agentId: z.ZodOptional<z.ZodString>;
|
|
4100
4318
|
senderType: z.ZodEnum<{
|
|
4101
|
-
system: "system";
|
|
4102
4319
|
human: "human";
|
|
4320
|
+
system: "system";
|
|
4103
4321
|
agent: "agent";
|
|
4104
4322
|
}>;
|
|
4105
4323
|
senderId: z.ZodString;
|
|
@@ -4219,8 +4437,8 @@ declare const RtcSignalSchema: z.ZodObject<{
|
|
|
4219
4437
|
machineId: z.ZodString;
|
|
4220
4438
|
sessionId: z.ZodString;
|
|
4221
4439
|
from: z.ZodEnum<{
|
|
4222
|
-
app: "app";
|
|
4223
4440
|
machine: "machine";
|
|
4441
|
+
app: "app";
|
|
4224
4442
|
}>;
|
|
4225
4443
|
signal: z.ZodAny;
|
|
4226
4444
|
userId: z.ZodOptional<z.ZodString>;
|
|
@@ -5197,9 +5415,9 @@ declare const ClaudeConfigSchema: z.ZodObject<{
|
|
|
5197
5415
|
settings: z.ZodOptional<z.ZodObject<{
|
|
5198
5416
|
permissionMode: z.ZodOptional<z.ZodEnum<{
|
|
5199
5417
|
default: "default";
|
|
5418
|
+
plan: "plan";
|
|
5200
5419
|
acceptEdits: "acceptEdits";
|
|
5201
5420
|
bypassPermissions: "bypassPermissions";
|
|
5202
|
-
plan: "plan";
|
|
5203
5421
|
}>>;
|
|
5204
5422
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5205
5423
|
}, z.core.$strip>>;
|
|
@@ -5503,5 +5721,5 @@ declare const RELEVANT_DEPENDENCIES: readonly ["react", "react-dom", "vue", "vit
|
|
|
5503
5721
|
*/
|
|
5504
5722
|
declare function detectPreview(fs: FileSystemAdapter): Promise<PreviewMetadata | null>;
|
|
5505
5723
|
|
|
5506
|
-
export { ActiveAgentSchema, 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, CONFIG_FILES, CancelSubscriptionResponseSchema, CancelTaskRequestSchema, CancelTaskResponseSchema, ChangeTaskTitleEventSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, ChatWorkersStatusRequestSchema, ChatWorkersStatusResponseSchema, ClaudeConfigSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudSchema, CompanionEnsureResponseSchema, CompanionHeartbeatRequestSchema, CompanionHeartbeatResponseSchema, CompanionWorkspaceFileSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCheckoutRequestSchema, CreateCheckoutResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateDraftAgentRequestSchema, CreateMergeRequestResponseSchema, CreateMergeRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreatePortalRequestSchema, CreatePortalResponseSchema, CreateTaskShareResponseSchema, CreateTaskShareSchema, CreditExhaustedEventSchema, CreditsPackageSchema, DaemonGitlabOperationSchema, DaemonGitlabRequestSchema, DaemonGitlabResponseSchema, DateSchema, DeleteAgentResponseSchema, DeleteOAuthServerResponseSchema, DeployAgentCompleteEventSchema, DeployAgentEventSchema, DisplayConfigKeysSchema, DisplayConfigSchema, DraftAgentConfigSchema, DraftAgentSchema, ENTRY_FILE_PATTERNS, EnvironmentVariableSchema, EventAckSchema, EventSchemaMap, FRAMEWORK_TYPES, FileItemSchema, FileStatsSchema, FileVisibilitySchema, FillEventsRequestSchema, FindTaskByAgentRequestSchema, FindTaskByAgentResponseSchema, FrameworkNotSupportedError, GetAgentResponseSchema, GetChatResponseSchema, GetEnvironmentVariablesResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetRepositoryResponseSchema, GetSubscriptionResponseSchema, GetSubscriptionTiersResponseSchema, GetTaskSessionResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GetUserAgentsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerSchema, IGNORED_DIRECTORIES, IdSchema, ListAgentsResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsQuerySchema, ListChatsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListRecentTasksRequestSchema, ListRecentTasksResponseSchema, ListRepositoriesResponseSchema, ListSubTasksRequestSchema, ListSubTasksResponseSchema, 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, PreviewMetadataSchema, PreviewMethodSchema, PreviewProjectTypeSchema, ProjectDirectoryResponseSchema, ProjectEntrySchema, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, QueryEventsRequestSchema, RELEVANT_DEPENDENCIES, RTC_CHUNK_HEADER_SIZE, RecentTaskSummarySchema, RechargeResponseSchema, RegisterCompanionRequestSchema, RegisterCompanionResponseSchema, RemoveChatMemberRequestSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResetTaskSessionSchema, ResumeTaskRequestSchema, ResumeTaskResponseSchema, RpcCallEventSchema, RpcResponseSchema, RtcChunkFlags, RtcIceServerSchema, RtcIceServersRequestSchema, RtcIceServersResponseSchema, RtcSignalSchema, STATIC_FILE_EXTENSIONS, SendTaskMessageRequestSchema, SendTaskMessageResponseSchema, SenderTypeSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, ShowModalEventDataSchema, ShowModalRequestSchema, ShowModalResponseSchema, ShutdownMachineSchema, SignatureAuthRequestSchema, SignatureAuthResponseSchema, SimpleSuccessSchema, StartTaskRequestSchema, StartTaskResponseSchema, StatsQuerySchema, StopTaskRequestSchema, StopTaskResponseSchema, StopTaskSchema, SubTaskResultUpdatedEventSchema, SubTaskSummarySchema, SubscriptionSchema, SubscriptionTierSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineRequestSchema, SystemMessageSchema, TaskAgentInfoSchema, TaskArtifactsStatsSchema, TaskArtifactsSummarySchema, TaskInfoUpdateEventDataSchema, TaskItemSchema, TaskMessageSchema, TaskSharePermissionsSchema, TaskStateChangeEventSchema, TaskStoppedEventSchema, TaskTodoSchema, TaskTransactionsResponseSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UnarchiveTaskRequestSchema, UnarchiveTaskResponseSchema, UpdateAgentInfoEventSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateChatContextRequestSchema, UpdateChatContextResponseSchema, UpdateDraftAgentRequestSchema, UpdateDraftAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateSubscriptionRequestSchema, UpdateSubscriptionResponseSchema, UpdateTaskAgentSessionIdEventSchema, UpdateTaskTitleRequestSchema, UpdateTaskTitleResponseSchema, UpdateUserProfileRequestSchema, UpdateUserProfileResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, WorkerAliveEventSchema, WorkerExitSchema, WorkerInitializedSchema, WorkerInitializingSchema, WorkerReadySchema, WorkerRunningSchema, WorkerStatusRequestSchema, WorkerStatusValueSchema, WorkspaceFileRequestSchema, WorkspaceFileResponseSchema, assertAgentExists, assertFileExists, baseTaskSchema, buildRtcChunkFrame, cancelTaskRequestSchema, cancelTaskSchema, createEventId, createKeyPair, createKeyPairWithUit8Array, createMergeRequestSchema, createTaskSchema, decodeBase64, decodeRtcChunkHeader, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, detectPreview, discoverPlugins, encodeBase64, encodeBase64Url, encodeRtcChunkHeader, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getAgentContext, getRandomBytes, isAskUserMessage, isAskUserResponseMessage, isCompanionHeartbeatMessage, isCompanionReminderMessage, isSDKMessage, isSDKUserMessage, loadAgentConfig, machineAuth, permissionResponseRequestSchema, replacePromptPlaceholders, resumeTaskRequestSchema, resumeTaskSchema, setAgentContext, splitRtcChunkFrame, startTaskSchema, stopTaskRequestSchema, userAuth, validateAgentDirectory, validateFrameworkDirectory, workerAuth, workerTaskEvents };
|
|
5507
|
-
export type { ActiveAgent, 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, CancelSubscriptionResponse, CancelTaskEventData, CancelTaskRequest, CancelTaskResponse, ChangeTaskTitleEventData, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, ChatWorkersStatusRequestEventData, ChatWorkersStatusResponseEventData, ClaudeAgentConfig, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, CompanionEnsureResponse, CompanionHeartbeatMessage, CompanionHeartbeatRequestData, CompanionHeartbeatResponseData, CompanionReminderMessage, CompanionWorkspaceFile, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, CreateAgentRequest, CreateAgentResponse, CreateChatRequest, CreateChatResponse, CreateCheckoutRequest, CreateCheckoutResponse, CreateCloudRequest, CreateCloudResponse, CreateDraftAgentRequest, CreateMergeRequestRequest, CreateMergeRequestResponse, CreateOAuthServerRequest, CreateOAuthServerResponse, CreatePortalRequest, CreatePortalResponse, CreateTaskEventData, CreateTaskShareRequest, CreateTaskShareResponse, CreditExhaustedEventData, CreditsPackage, DaemonGitlabOperation, DaemonGitlabRequestEventData, DaemonGitlabResponseEventData, DeleteAgentResponse, DeleteOAuthServerResponse, DeployAgentCompleteEventData, DeployAgentEventData, DisplayConfig, DisplayConfigKeys, DraftAgent, DraftAgentConfig, EnvironmentVariable, EventAckData, EventData, EventMap, EventName, FileItem, FileStats, FileSystemAdapter, FileVisibility, FillEventsRequest, FillEventsResponse, FindTaskByAgentRequest, FindTaskByAgentResponse, FrameworkType, GetAgentResponse, GetChatResponse, GetEnvironmentVariablesResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetRepositoryResponse, GetSubscriptionResponse, GetSubscriptionTiersResponse, 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, ListRecentTasksRequest, ListRecentTasksResponse, ListRepositoriesResponse, ListSubTasksRequest, ListSubTasksResponse, 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, PreviewMetadata, PreviewMethod, PreviewProjectType, ProjectDirectoryResponse, ProjectEntry, PublishDraftAgentRequest, PublishDraftAgentResponse, QueryEventsRequest, QueryEventsResponse, RecentTaskSummary, RechargeResponse, RegisterCompanionRequest, RegisterCompanionResponse, RemoveChatMemberRequest, Repository, RepositoryInitHookInput, ResetSecretRequest, ResetSecretResponse, ResetTaskSessionEventData, ResumeTaskEventData, ResumeTaskRequest, ResumeTaskResponse, RpcCallEventData, RpcResponseData, RtcChunkFrame, RtcChunkHeader, RtcControlChannel, RtcControlMessage, RtcIceServer, RtcIceServersRequestEventData, RtcIceServersResponseEventData, RtcSignalEventData, SendMessageTarget, SendTaskMessageRequest, SendTaskMessageResponse, SenderType, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, ShowModalEventData, ShowModalRequest, ShowModalResponse, ShutdownMachineData, SignatureAuthRequest, SignatureAuthResponse, SimpleSuccess, StartTaskRequest, StartTaskResponse, StatsQuery, StopTaskEventData, StopTaskRequest, StopTaskResponse, SubTaskResultUpdatedEventData, SubTaskSummary, Subscription, SubscriptionTier, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineRequest, SystemMessageEventData, SystemMessageType, TaskAgentInfo, TaskArtifactsStats, TaskArtifactsSummary, TaskEvent, TaskInfoUpdateEventData, TaskItem, TaskMessageEventData, TaskMessagePayload, TaskSharePermissions, TaskState, TaskStateChangeEventData, TaskStoppedEventData, TaskTodo, TaskTransactionsResponse, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UnarchiveTaskRequest, UnarchiveTaskResponse, UpdateAgentInfoEventData, UpdateAgentRequest, UpdateAgentResponse, UpdateChatContextRequest, UpdateChatContextResponse, UpdateDraftAgentRequest, UpdateDraftAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateSubscriptionRequest, UpdateSubscriptionResponse, UpdateTaskAgentSessionIdEventData, UpdateTaskTitleRequest, UpdateTaskTitleResponse, UpdateUserProfileRequest, UpdateUserProfileResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserProfileResponse, UserWithOAuthAccounts, ValidationResult, WorkerAliveEventData, WorkerExitEventData, WorkerInitializedEventData, WorkerInitializingEventData, WorkerReadyEventData, WorkerRunningEventData, WorkerStatusRequestEventData, WorkerStatusValue, WorkerTaskEvent, WorkspaceFileRequestEventData, WorkspaceFileResponseEventData };
|
|
5724
|
+
export { ActiveAgentSchema, 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, CONFIG_FILES, CancelSubscriptionResponseSchema, CancelTaskRequestSchema, CancelTaskResponseSchema, ChangeTaskTitleEventSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, ChatWorkersStatusRequestSchema, ChatWorkersStatusResponseSchema, ClaudeConfigSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudSchema, CompanionEnsureResponseSchema, CompanionHeartbeatRequestSchema, CompanionHeartbeatResponseSchema, CompanionWorkspaceFileSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, ContactCandidateSchema, ContactSchema, ContactTargetTypeSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCheckoutRequestSchema, CreateCheckoutResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateContactRequestSchema, CreateContactResponseSchema, CreateDraftAgentRequestSchema, CreateMergeRequestResponseSchema, CreateMergeRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreatePortalRequestSchema, CreatePortalResponseSchema, CreateSubscriptionPlanRequestSchema, CreateTaskShareResponseSchema, CreateTaskShareSchema, CreditExhaustedEventSchema, CreditsPackageSchema, DaemonGitlabOperationSchema, DaemonGitlabRequestSchema, DaemonGitlabResponseSchema, DateSchema, DeleteAgentResponseSchema, DeleteContactResponseSchema, DeleteOAuthServerResponseSchema, DeployAgentCompleteEventSchema, DeployAgentEventSchema, DisplayConfigKeysSchema, DisplayConfigSchema, DraftAgentConfigSchema, DraftAgentSchema, ENTRY_FILE_PATTERNS, EnvironmentVariableSchema, EventAckSchema, EventSchemaMap, FRAMEWORK_TYPES, FileItemSchema, FileStatsSchema, FileVisibilitySchema, FillEventsRequestSchema, FindTaskByAgentRequestSchema, FindTaskByAgentResponseSchema, FrameworkNotSupportedError, GetAgentResponseSchema, GetChatResponseSchema, GetEnvironmentVariablesResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetRepositoryResponseSchema, GetSubscriptionResponseSchema, GetSubscriptionTiersResponseSchema, GetTaskSessionResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GetUserAgentsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerSchema, IGNORED_DIRECTORIES, IdSchema, ListAgentsResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsQuerySchema, ListChatsResponseSchema, ListContactsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListRecentTasksRequestSchema, ListRecentTasksResponseSchema, ListRepositoriesResponseSchema, ListSubTasksRequestSchema, ListSubTasksResponseSchema, ListSubscriptionPlansResponseSchema, 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, PreviewMetadataSchema, PreviewMethodSchema, PreviewProjectTypeSchema, ProjectDirectoryResponseSchema, ProjectEntrySchema, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, QueryEventsRequestSchema, RELEVANT_DEPENDENCIES, RTC_CHUNK_HEADER_SIZE, RecentTaskSummarySchema, RechargeResponseSchema, RegisterCompanionRequestSchema, RegisterCompanionResponseSchema, RemoveChatMemberRequestSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResetTaskSessionSchema, ResumeTaskRequestSchema, ResumeTaskResponseSchema, RpcCallEventSchema, RpcResponseSchema, RtcChunkFlags, RtcIceServerSchema, RtcIceServersRequestSchema, RtcIceServersResponseSchema, RtcSignalSchema, STATIC_FILE_EXTENSIONS, SearchContactCandidatesQuerySchema, SearchContactCandidatesResponseSchema, SendTaskMessageRequestSchema, SendTaskMessageResponseSchema, SenderTypeSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, ShowModalEventDataSchema, ShowModalRequestSchema, ShowModalResponseSchema, ShutdownMachineSchema, SignatureAuthRequestSchema, SignatureAuthResponseSchema, SimpleSuccessSchema, StartTaskRequestSchema, StartTaskResponseSchema, StatsQuerySchema, StopTaskRequestSchema, StopTaskResponseSchema, StopTaskSchema, SubTaskResultUpdatedEventSchema, SubTaskSummarySchema, SubscriptionPlanSchema, SubscriptionSchema, SubscriptionTierSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineRequestSchema, SystemMessageSchema, TaskAgentInfoSchema, TaskArtifactsStatsSchema, TaskArtifactsSummarySchema, TaskInfoUpdateEventDataSchema, TaskItemSchema, TaskMessageSchema, TaskSharePermissionsSchema, TaskStateChangeEventSchema, TaskStoppedEventSchema, TaskTodoSchema, TaskTransactionsResponseSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UnarchiveTaskRequestSchema, UnarchiveTaskResponseSchema, UpdateAgentInfoEventSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateChatContextRequestSchema, UpdateChatContextResponseSchema, UpdateDraftAgentRequestSchema, UpdateDraftAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateSubscriptionPlanRequestSchema, UpdateSubscriptionRequestSchema, UpdateSubscriptionResponseSchema, UpdateTaskAgentSessionIdEventSchema, UpdateTaskTitleRequestSchema, UpdateTaskTitleResponseSchema, UpdateUserProfileRequestSchema, UpdateUserProfileResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, WorkerAliveEventSchema, WorkerExitSchema, WorkerInitializedSchema, WorkerInitializingSchema, WorkerReadySchema, WorkerRunningSchema, WorkerStatusRequestSchema, WorkerStatusValueSchema, WorkspaceFileRequestSchema, WorkspaceFileResponseSchema, assertAgentExists, assertFileExists, baseTaskSchema, buildRtcChunkFrame, cancelTaskRequestSchema, cancelTaskSchema, createEventId, createKeyPair, createKeyPairWithUit8Array, createMergeRequestSchema, createTaskSchema, decodeBase64, decodeRtcChunkHeader, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, detectPreview, discoverPlugins, encodeBase64, encodeBase64Url, encodeRtcChunkHeader, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getAgentContext, getRandomBytes, isAskUserMessage, isAskUserResponseMessage, isCompanionHeartbeatMessage, isCompanionReminderMessage, isSDKMessage, isSDKUserMessage, loadAgentConfig, machineAuth, permissionResponseRequestSchema, replacePromptPlaceholders, resumeTaskRequestSchema, resumeTaskSchema, setAgentContext, splitRtcChunkFrame, startTaskSchema, stopTaskRequestSchema, userAuth, validateAgentDirectory, validateFrameworkDirectory, workerAuth, workerTaskEvents };
|
|
5725
|
+
export type { ActiveAgent, 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, CancelSubscriptionResponse, CancelTaskEventData, CancelTaskRequest, CancelTaskResponse, ChangeTaskTitleEventData, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, ChatWorkersStatusRequestEventData, ChatWorkersStatusResponseEventData, ClaudeAgentConfig, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, CompanionEnsureResponse, CompanionHeartbeatMessage, CompanionHeartbeatRequestData, CompanionHeartbeatResponseData, CompanionReminderMessage, CompanionWorkspaceFile, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, Contact, ContactCandidate, ContactTargetType, CreateAgentRequest, CreateAgentResponse, CreateChatRequest, CreateChatResponse, CreateCheckoutRequest, CreateCheckoutResponse, CreateCloudRequest, CreateCloudResponse, CreateContactRequest, CreateContactResponse, CreateDraftAgentRequest, CreateMergeRequestRequest, CreateMergeRequestResponse, CreateOAuthServerRequest, CreateOAuthServerResponse, CreatePortalRequest, CreatePortalResponse, CreateSubscriptionPlanRequest, CreateTaskEventData, CreateTaskShareRequest, CreateTaskShareResponse, CreditExhaustedEventData, CreditsPackage, DaemonGitlabOperation, DaemonGitlabRequestEventData, DaemonGitlabResponseEventData, DeleteAgentResponse, DeleteContactResponse, DeleteOAuthServerResponse, DeployAgentCompleteEventData, DeployAgentEventData, DisplayConfig, DisplayConfigKeys, DraftAgent, DraftAgentConfig, EnvironmentVariable, EventAckData, EventData, EventMap, EventName, FileItem, FileStats, FileSystemAdapter, FileVisibility, FillEventsRequest, FillEventsResponse, FindTaskByAgentRequest, FindTaskByAgentResponse, FrameworkType, GetAgentResponse, GetChatResponse, GetEnvironmentVariablesResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetRepositoryResponse, GetSubscriptionResponse, GetSubscriptionTiersResponse, GetTaskSessionResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GetUserAgentsResponse, GitHubIssue, GitHubIssueListItem, GitServer, HookFactory, ListAgentsResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsQuery, ListChatsResponse, ListContactsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListRecentTasksRequest, ListRecentTasksResponse, ListRepositoriesResponse, ListSubTasksRequest, ListSubTasksResponse, ListSubscriptionPlansResponse, 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, PreviewMetadata, PreviewMethod, PreviewProjectType, ProjectDirectoryResponse, ProjectEntry, PublishDraftAgentRequest, PublishDraftAgentResponse, QueryEventsRequest, QueryEventsResponse, RecentTaskSummary, RechargeResponse, RegisterCompanionRequest, RegisterCompanionResponse, RemoveChatMemberRequest, Repository, RepositoryInitHookInput, ResetSecretRequest, ResetSecretResponse, ResetTaskSessionEventData, ResumeTaskEventData, ResumeTaskRequest, ResumeTaskResponse, RpcCallEventData, RpcResponseData, RtcChunkFrame, RtcChunkHeader, RtcControlChannel, RtcControlMessage, RtcIceServer, RtcIceServersRequestEventData, RtcIceServersResponseEventData, RtcSignalEventData, SearchContactCandidatesQuery, SearchContactCandidatesResponse, SendMessageTarget, SendTaskMessageRequest, SendTaskMessageResponse, SenderType, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, ShowModalEventData, ShowModalRequest, ShowModalResponse, ShutdownMachineData, SignatureAuthRequest, SignatureAuthResponse, SimpleSuccess, StartTaskRequest, StartTaskResponse, StatsQuery, StopTaskEventData, StopTaskRequest, StopTaskResponse, SubTaskResultUpdatedEventData, SubTaskSummary, Subscription, SubscriptionPlan, SubscriptionTier, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineRequest, SystemMessageEventData, SystemMessageType, TaskAgentInfo, TaskArtifactsStats, TaskArtifactsSummary, TaskEvent, TaskInfoUpdateEventData, TaskItem, TaskMessageEventData, TaskMessagePayload, TaskSharePermissions, TaskState, TaskStateChangeEventData, TaskStoppedEventData, TaskTodo, TaskTransactionsResponse, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UnarchiveTaskRequest, UnarchiveTaskResponse, UpdateAgentInfoEventData, UpdateAgentRequest, UpdateAgentResponse, UpdateChatContextRequest, UpdateChatContextResponse, UpdateDraftAgentRequest, UpdateDraftAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateSubscriptionPlanRequest, UpdateSubscriptionRequest, UpdateSubscriptionResponse, UpdateTaskAgentSessionIdEventData, UpdateTaskTitleRequest, UpdateTaskTitleResponse, UpdateUserProfileRequest, UpdateUserProfileResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserProfileResponse, UserWithOAuthAccounts, ValidationResult, WorkerAliveEventData, WorkerExitEventData, WorkerInitializedEventData, WorkerInitializingEventData, WorkerReadyEventData, WorkerRunningEventData, WorkerStatusRequestEventData, WorkerStatusValue, WorkerTaskEvent, WorkspaceFileRequestEventData, WorkspaceFileResponseEventData };
|