@agentrix/shared 2.2.0 → 2.2.2
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 +69 -0
- package/dist/index.d.cts +154 -26
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -91,6 +91,8 @@ const UserProfileResponseSchema = zod.z.object({
|
|
|
91
91
|
// Can be null before password is set
|
|
92
92
|
secretSalt: zod.z.string().nullable(),
|
|
93
93
|
// Can be null before password is set
|
|
94
|
+
stripeCustomerId: zod.z.string().nullable(),
|
|
95
|
+
// Stripe customer ID
|
|
94
96
|
createdAt: DateSchema,
|
|
95
97
|
oauthAccounts: zod.z.array(OAuthAccountInfoSchema).optional()
|
|
96
98
|
})
|
|
@@ -1200,6 +1202,61 @@ const GitServerSchema = zod.z.object({
|
|
|
1200
1202
|
const ListGitServersResponseSchema = zod.z.array(GitServerSchema);
|
|
1201
1203
|
const GetGitServerResponseSchema = GitServerSchema;
|
|
1202
1204
|
|
|
1205
|
+
const SubscriptionSchema = zod.z.object({
|
|
1206
|
+
id: IdSchema,
|
|
1207
|
+
userId: IdSchema,
|
|
1208
|
+
stripeSubscriptionId: zod.z.string(),
|
|
1209
|
+
stripeCustomerId: zod.z.string(),
|
|
1210
|
+
stripePriceId: zod.z.string(),
|
|
1211
|
+
status: zod.z.string(),
|
|
1212
|
+
// active, canceled, past_due, etc.
|
|
1213
|
+
currentPeriodStart: DateSchema,
|
|
1214
|
+
currentPeriodEnd: DateSchema,
|
|
1215
|
+
cancelAtPeriodEnd: zod.z.boolean(),
|
|
1216
|
+
canceledAt: DateSchema.nullable(),
|
|
1217
|
+
createdAt: DateSchema,
|
|
1218
|
+
updatedAt: DateSchema
|
|
1219
|
+
});
|
|
1220
|
+
const GetSubscriptionResponseSchema = zod.z.object({
|
|
1221
|
+
subscription: SubscriptionSchema.nullable()
|
|
1222
|
+
});
|
|
1223
|
+
const CreateCheckoutRequestSchema = zod.z.object({
|
|
1224
|
+
priceId: zod.z.string(),
|
|
1225
|
+
successUrl: zod.z.string().url(),
|
|
1226
|
+
cancelUrl: zod.z.string().url()
|
|
1227
|
+
});
|
|
1228
|
+
const CreateCheckoutResponseSchema = zod.z.object({
|
|
1229
|
+
url: zod.z.string().url()
|
|
1230
|
+
});
|
|
1231
|
+
const CreatePortalRequestSchema = zod.z.object({
|
|
1232
|
+
returnUrl: zod.z.string().url()
|
|
1233
|
+
});
|
|
1234
|
+
const CreatePortalResponseSchema = zod.z.object({
|
|
1235
|
+
url: zod.z.string().url()
|
|
1236
|
+
});
|
|
1237
|
+
const CancelSubscriptionResponseSchema = zod.z.object({
|
|
1238
|
+
success: zod.z.literal(true)
|
|
1239
|
+
});
|
|
1240
|
+
const UpdateSubscriptionRequestSchema = zod.z.object({
|
|
1241
|
+
priceId: zod.z.string()
|
|
1242
|
+
});
|
|
1243
|
+
const UpdateSubscriptionResponseSchema = zod.z.object({
|
|
1244
|
+
success: zod.z.literal(true)
|
|
1245
|
+
});
|
|
1246
|
+
const SubscriptionTierSchema = zod.z.object({
|
|
1247
|
+
id: zod.z.string(),
|
|
1248
|
+
name: zod.z.string(),
|
|
1249
|
+
priceId: zod.z.string(),
|
|
1250
|
+
price: zod.z.number(),
|
|
1251
|
+
credits: zod.z.number(),
|
|
1252
|
+
popular: zod.z.boolean().optional(),
|
|
1253
|
+
features: zod.z.array(zod.z.string())
|
|
1254
|
+
});
|
|
1255
|
+
const GetSubscriptionTiersResponseSchema = zod.z.object({
|
|
1256
|
+
enabled: zod.z.boolean(),
|
|
1257
|
+
tiers: zod.z.array(SubscriptionTierSchema)
|
|
1258
|
+
});
|
|
1259
|
+
|
|
1203
1260
|
const RpcCallEventSchema = zod.z.object({
|
|
1204
1261
|
eventId: zod.z.string(),
|
|
1205
1262
|
taskId: zod.z.string(),
|
|
@@ -1781,6 +1838,7 @@ const DaemonGitlabOperationSchema = zod.z.enum([
|
|
|
1781
1838
|
"createMergeRequest",
|
|
1782
1839
|
"getMergeRequest",
|
|
1783
1840
|
"listMergeRequests",
|
|
1841
|
+
"requestGitlabApi",
|
|
1784
1842
|
"resolveGitAuthContext"
|
|
1785
1843
|
]);
|
|
1786
1844
|
const DaemonGitlabRequestSchema = EventBaseSchema.extend({
|
|
@@ -2847,6 +2905,7 @@ exports.AssociateRepoEventDataSchema = AssociateRepoEventDataSchema;
|
|
|
2847
2905
|
exports.BillingStatsResponseSchema = BillingStatsResponseSchema;
|
|
2848
2906
|
exports.BranchSchema = BranchSchema;
|
|
2849
2907
|
exports.CONFIG_FILES = CONFIG_FILES;
|
|
2908
|
+
exports.CancelSubscriptionResponseSchema = CancelSubscriptionResponseSchema;
|
|
2850
2909
|
exports.CancelTaskRequestSchema = CancelTaskRequestSchema;
|
|
2851
2910
|
exports.CancelTaskResponseSchema = CancelTaskResponseSchema;
|
|
2852
2911
|
exports.ChangeTaskTitleEventSchema = ChangeTaskTitleEventSchema;
|
|
@@ -2876,6 +2935,8 @@ exports.CreateAgentRequestSchema = CreateAgentRequestSchema;
|
|
|
2876
2935
|
exports.CreateAgentResponseSchema = CreateAgentResponseSchema;
|
|
2877
2936
|
exports.CreateChatRequestSchema = CreateChatRequestSchema;
|
|
2878
2937
|
exports.CreateChatResponseSchema = CreateChatResponseSchema;
|
|
2938
|
+
exports.CreateCheckoutRequestSchema = CreateCheckoutRequestSchema;
|
|
2939
|
+
exports.CreateCheckoutResponseSchema = CreateCheckoutResponseSchema;
|
|
2879
2940
|
exports.CreateCloudRequestSchema = CreateCloudRequestSchema;
|
|
2880
2941
|
exports.CreateCloudResponseSchema = CreateCloudResponseSchema;
|
|
2881
2942
|
exports.CreateDraftAgentRequestSchema = CreateDraftAgentRequestSchema;
|
|
@@ -2883,6 +2944,8 @@ exports.CreateMergeRequestResponseSchema = CreateMergeRequestResponseSchema;
|
|
|
2883
2944
|
exports.CreateMergeRequestSchema = CreateMergeRequestSchema;
|
|
2884
2945
|
exports.CreateOAuthServerRequestSchema = CreateOAuthServerRequestSchema;
|
|
2885
2946
|
exports.CreateOAuthServerResponseSchema = CreateOAuthServerResponseSchema;
|
|
2947
|
+
exports.CreatePortalRequestSchema = CreatePortalRequestSchema;
|
|
2948
|
+
exports.CreatePortalResponseSchema = CreatePortalResponseSchema;
|
|
2886
2949
|
exports.CreateTaskShareResponseSchema = CreateTaskShareResponseSchema;
|
|
2887
2950
|
exports.CreateTaskShareSchema = CreateTaskShareSchema;
|
|
2888
2951
|
exports.CreditExhaustedEventSchema = CreditExhaustedEventSchema;
|
|
@@ -2920,6 +2983,8 @@ exports.GetGitUrlResponseSchema = GetGitUrlResponseSchema;
|
|
|
2920
2983
|
exports.GetInstallUrlResponseSchema = GetInstallUrlResponseSchema;
|
|
2921
2984
|
exports.GetOAuthServerResponseSchema = GetOAuthServerResponseSchema;
|
|
2922
2985
|
exports.GetRepositoryResponseSchema = GetRepositoryResponseSchema;
|
|
2986
|
+
exports.GetSubscriptionResponseSchema = GetSubscriptionResponseSchema;
|
|
2987
|
+
exports.GetSubscriptionTiersResponseSchema = GetSubscriptionTiersResponseSchema;
|
|
2923
2988
|
exports.GetTaskSessionResponseSchema = GetTaskSessionResponseSchema;
|
|
2924
2989
|
exports.GetUploadUrlsRequestSchema = GetUploadUrlsRequestSchema;
|
|
2925
2990
|
exports.GetUploadUrlsResponseSchema = GetUploadUrlsResponseSchema;
|
|
@@ -3031,6 +3096,8 @@ exports.StopTaskResponseSchema = StopTaskResponseSchema;
|
|
|
3031
3096
|
exports.StopTaskSchema = StopTaskSchema;
|
|
3032
3097
|
exports.SubTaskResultUpdatedEventSchema = SubTaskResultUpdatedEventSchema;
|
|
3033
3098
|
exports.SubTaskSummarySchema = SubTaskSummarySchema;
|
|
3099
|
+
exports.SubscriptionSchema = SubscriptionSchema;
|
|
3100
|
+
exports.SubscriptionTierSchema = SubscriptionTierSchema;
|
|
3034
3101
|
exports.SyncCloudMachineResponseSchema = SyncCloudMachineResponseSchema;
|
|
3035
3102
|
exports.SyncLocalMachineResponseSchema = SyncLocalMachineResponseSchema;
|
|
3036
3103
|
exports.SyncMachineRequestSchema = SyncMachineRequestSchema;
|
|
@@ -3060,6 +3127,8 @@ exports.UpdateDraftAgentRequestSchema = UpdateDraftAgentRequestSchema;
|
|
|
3060
3127
|
exports.UpdateDraftAgentResponseSchema = UpdateDraftAgentResponseSchema;
|
|
3061
3128
|
exports.UpdateOAuthServerRequestSchema = UpdateOAuthServerRequestSchema;
|
|
3062
3129
|
exports.UpdateOAuthServerResponseSchema = UpdateOAuthServerResponseSchema;
|
|
3130
|
+
exports.UpdateSubscriptionRequestSchema = UpdateSubscriptionRequestSchema;
|
|
3131
|
+
exports.UpdateSubscriptionResponseSchema = UpdateSubscriptionResponseSchema;
|
|
3063
3132
|
exports.UpdateTaskAgentSessionIdEventSchema = UpdateTaskAgentSessionIdEventSchema;
|
|
3064
3133
|
exports.UpdateTaskTitleRequestSchema = UpdateTaskTitleRequestSchema;
|
|
3065
3134
|
exports.UpdateTaskTitleResponseSchema = UpdateTaskTitleResponseSchema;
|
package/dist/index.d.cts
CHANGED
|
@@ -53,9 +53,9 @@ declare const FileStatsSchema: z.ZodObject<{
|
|
|
53
53
|
}, z.core.$strip>;
|
|
54
54
|
type FileStats = z.infer<typeof FileStatsSchema>;
|
|
55
55
|
declare const SenderTypeSchema: z.ZodEnum<{
|
|
56
|
-
agent: "agent";
|
|
57
|
-
human: "human";
|
|
58
56
|
system: "system";
|
|
57
|
+
human: "human";
|
|
58
|
+
agent: "agent";
|
|
59
59
|
}>;
|
|
60
60
|
type SenderType = z.infer<typeof SenderTypeSchema>;
|
|
61
61
|
|
|
@@ -145,6 +145,7 @@ declare const UserProfileResponseSchema: z.ZodObject<{
|
|
|
145
145
|
role: z.ZodOptional<z.ZodString>;
|
|
146
146
|
encryptedSecret: z.ZodNullable<z.ZodString>;
|
|
147
147
|
secretSalt: z.ZodNullable<z.ZodString>;
|
|
148
|
+
stripeCustomerId: z.ZodNullable<z.ZodString>;
|
|
148
149
|
createdAt: z.ZodString;
|
|
149
150
|
oauthAccounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
150
151
|
provider: z.ZodString;
|
|
@@ -176,6 +177,7 @@ declare const UpdateUserProfileResponseSchema: z.ZodObject<{
|
|
|
176
177
|
role: z.ZodOptional<z.ZodString>;
|
|
177
178
|
encryptedSecret: z.ZodNullable<z.ZodString>;
|
|
178
179
|
secretSalt: z.ZodNullable<z.ZodString>;
|
|
180
|
+
stripeCustomerId: z.ZodNullable<z.ZodString>;
|
|
179
181
|
createdAt: z.ZodString;
|
|
180
182
|
oauthAccounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
181
183
|
provider: z.ZodString;
|
|
@@ -1074,16 +1076,16 @@ type SendMessageTarget = 'agent' | 'user';
|
|
|
1074
1076
|
* - 'user': Broadcasts SDKAssistantMessage to users viewing the task
|
|
1075
1077
|
*/
|
|
1076
1078
|
declare const SendTaskMessageRequestSchema: z.ZodObject<{
|
|
1077
|
-
message: z.ZodCustom<
|
|
1079
|
+
message: z.ZodCustom<SDKAssistantMessage | SDKUserMessage, SDKAssistantMessage | SDKUserMessage>;
|
|
1078
1080
|
target: z.ZodEnum<{
|
|
1079
1081
|
user: "user";
|
|
1080
1082
|
agent: "agent";
|
|
1081
1083
|
}>;
|
|
1082
1084
|
fromTaskId: z.ZodOptional<z.ZodString>;
|
|
1083
1085
|
senderType: z.ZodEnum<{
|
|
1084
|
-
agent: "agent";
|
|
1085
|
-
human: "human";
|
|
1086
1086
|
system: "system";
|
|
1087
|
+
human: "human";
|
|
1088
|
+
agent: "agent";
|
|
1087
1089
|
}>;
|
|
1088
1090
|
senderId: z.ZodString;
|
|
1089
1091
|
senderName: z.ZodString;
|
|
@@ -1232,8 +1234,8 @@ declare const ChatMemberSchema: z.ZodObject<{
|
|
|
1232
1234
|
chatId: z.ZodString;
|
|
1233
1235
|
memberCode: z.ZodString;
|
|
1234
1236
|
type: z.ZodEnum<{
|
|
1235
|
-
agent: "agent";
|
|
1236
1237
|
human: "human";
|
|
1238
|
+
agent: "agent";
|
|
1237
1239
|
}>;
|
|
1238
1240
|
role: z.ZodString;
|
|
1239
1241
|
createdAt: z.ZodString;
|
|
@@ -1289,8 +1291,8 @@ declare const ChatWithMembersSchema: z.ZodObject<{
|
|
|
1289
1291
|
chatId: z.ZodString;
|
|
1290
1292
|
memberCode: z.ZodString;
|
|
1291
1293
|
type: z.ZodEnum<{
|
|
1292
|
-
agent: "agent";
|
|
1293
1294
|
human: "human";
|
|
1295
|
+
agent: "agent";
|
|
1294
1296
|
}>;
|
|
1295
1297
|
role: z.ZodString;
|
|
1296
1298
|
createdAt: z.ZodString;
|
|
@@ -1304,8 +1306,8 @@ type ChatWithMembers = z.infer<typeof ChatWithMembersSchema>;
|
|
|
1304
1306
|
declare const ChatMemberInputSchema: z.ZodObject<{
|
|
1305
1307
|
memberCode: z.ZodString;
|
|
1306
1308
|
type: z.ZodEnum<{
|
|
1307
|
-
agent: "agent";
|
|
1308
1309
|
human: "human";
|
|
1310
|
+
agent: "agent";
|
|
1309
1311
|
}>;
|
|
1310
1312
|
}, z.core.$strip>;
|
|
1311
1313
|
type ChatMemberInput = z.infer<typeof ChatMemberInputSchema>;
|
|
@@ -1320,8 +1322,8 @@ declare const CreateChatRequestSchema: z.ZodObject<{
|
|
|
1320
1322
|
members: z.ZodArray<z.ZodObject<{
|
|
1321
1323
|
memberCode: z.ZodString;
|
|
1322
1324
|
type: z.ZodEnum<{
|
|
1323
|
-
agent: "agent";
|
|
1324
1325
|
human: "human";
|
|
1326
|
+
agent: "agent";
|
|
1325
1327
|
}>;
|
|
1326
1328
|
}, z.core.$strip>>;
|
|
1327
1329
|
dataEncryptionKey: z.ZodOptional<z.ZodString>;
|
|
@@ -1350,8 +1352,8 @@ declare const CreateChatResponseSchema: z.ZodObject<{
|
|
|
1350
1352
|
chatId: z.ZodString;
|
|
1351
1353
|
memberCode: z.ZodString;
|
|
1352
1354
|
type: z.ZodEnum<{
|
|
1353
|
-
agent: "agent";
|
|
1354
1355
|
human: "human";
|
|
1356
|
+
agent: "agent";
|
|
1355
1357
|
}>;
|
|
1356
1358
|
role: z.ZodString;
|
|
1357
1359
|
createdAt: z.ZodString;
|
|
@@ -1391,8 +1393,8 @@ declare const ListChatsResponseSchema: z.ZodObject<{
|
|
|
1391
1393
|
chatId: z.ZodString;
|
|
1392
1394
|
memberCode: z.ZodString;
|
|
1393
1395
|
type: z.ZodEnum<{
|
|
1394
|
-
agent: "agent";
|
|
1395
1396
|
human: "human";
|
|
1397
|
+
agent: "agent";
|
|
1396
1398
|
}>;
|
|
1397
1399
|
role: z.ZodString;
|
|
1398
1400
|
createdAt: z.ZodString;
|
|
@@ -1424,8 +1426,8 @@ declare const GetChatResponseSchema: z.ZodObject<{
|
|
|
1424
1426
|
chatId: z.ZodString;
|
|
1425
1427
|
memberCode: z.ZodString;
|
|
1426
1428
|
type: z.ZodEnum<{
|
|
1427
|
-
agent: "agent";
|
|
1428
1429
|
human: "human";
|
|
1430
|
+
agent: "agent";
|
|
1429
1431
|
}>;
|
|
1430
1432
|
role: z.ZodString;
|
|
1431
1433
|
createdAt: z.ZodString;
|
|
@@ -1442,8 +1444,8 @@ declare const ListChatMembersResponseSchema: z.ZodObject<{
|
|
|
1442
1444
|
chatId: z.ZodString;
|
|
1443
1445
|
memberCode: z.ZodString;
|
|
1444
1446
|
type: z.ZodEnum<{
|
|
1445
|
-
agent: "agent";
|
|
1446
1447
|
human: "human";
|
|
1448
|
+
agent: "agent";
|
|
1447
1449
|
}>;
|
|
1448
1450
|
role: z.ZodString;
|
|
1449
1451
|
createdAt: z.ZodString;
|
|
@@ -1459,8 +1461,8 @@ declare const AddChatMemberRequestSchema: z.ZodObject<{
|
|
|
1459
1461
|
members: z.ZodArray<z.ZodObject<{
|
|
1460
1462
|
memberCode: z.ZodString;
|
|
1461
1463
|
type: z.ZodEnum<{
|
|
1462
|
-
agent: "agent";
|
|
1463
1464
|
human: "human";
|
|
1465
|
+
agent: "agent";
|
|
1464
1466
|
}>;
|
|
1465
1467
|
}, z.core.$strip>>;
|
|
1466
1468
|
}, z.core.$strip>;
|
|
@@ -1474,8 +1476,8 @@ declare const AddChatMemberResponseSchema: z.ZodObject<{
|
|
|
1474
1476
|
chatId: z.ZodString;
|
|
1475
1477
|
memberCode: z.ZodString;
|
|
1476
1478
|
type: z.ZodEnum<{
|
|
1477
|
-
agent: "agent";
|
|
1478
1479
|
human: "human";
|
|
1480
|
+
agent: "agent";
|
|
1479
1481
|
}>;
|
|
1480
1482
|
role: z.ZodString;
|
|
1481
1483
|
createdAt: z.ZodString;
|
|
@@ -1491,8 +1493,8 @@ declare const RemoveChatMemberRequestSchema: z.ZodObject<{
|
|
|
1491
1493
|
members: z.ZodArray<z.ZodObject<{
|
|
1492
1494
|
memberCode: z.ZodString;
|
|
1493
1495
|
type: z.ZodEnum<{
|
|
1494
|
-
agent: "agent";
|
|
1495
1496
|
human: "human";
|
|
1497
|
+
agent: "agent";
|
|
1496
1498
|
}>;
|
|
1497
1499
|
}, z.core.$strip>>;
|
|
1498
1500
|
}, z.core.$strip>;
|
|
@@ -2140,9 +2142,9 @@ type CreateDraftAgentRequest = z.infer<typeof CreateDraftAgentRequestSchema>;
|
|
|
2140
2142
|
*/
|
|
2141
2143
|
declare const SetEnvironmentVariablesRequestSchema: z.ZodObject<{
|
|
2142
2144
|
ownerType: z.ZodEnum<{
|
|
2145
|
+
machine: "machine";
|
|
2143
2146
|
agent: "agent";
|
|
2144
2147
|
"draft-agent": "draft-agent";
|
|
2145
|
-
machine: "machine";
|
|
2146
2148
|
cloud: "cloud";
|
|
2147
2149
|
}>;
|
|
2148
2150
|
ownerId: z.ZodString;
|
|
@@ -3379,6 +3381,130 @@ declare const GetGitServerResponseSchema: z.ZodObject<{
|
|
|
3379
3381
|
}, z.core.$strip>;
|
|
3380
3382
|
type GetGitServerResponse = z.infer<typeof GetGitServerResponseSchema>;
|
|
3381
3383
|
|
|
3384
|
+
/**
|
|
3385
|
+
* Subscription HTTP request/response schemas
|
|
3386
|
+
* Stripe subscription management types
|
|
3387
|
+
*/
|
|
3388
|
+
|
|
3389
|
+
/**
|
|
3390
|
+
* Subscription model schema
|
|
3391
|
+
*/
|
|
3392
|
+
declare const SubscriptionSchema: z.ZodObject<{
|
|
3393
|
+
id: z.ZodString;
|
|
3394
|
+
userId: z.ZodString;
|
|
3395
|
+
stripeSubscriptionId: z.ZodString;
|
|
3396
|
+
stripeCustomerId: z.ZodString;
|
|
3397
|
+
stripePriceId: z.ZodString;
|
|
3398
|
+
status: z.ZodString;
|
|
3399
|
+
currentPeriodStart: z.ZodString;
|
|
3400
|
+
currentPeriodEnd: z.ZodString;
|
|
3401
|
+
cancelAtPeriodEnd: z.ZodBoolean;
|
|
3402
|
+
canceledAt: z.ZodNullable<z.ZodString>;
|
|
3403
|
+
createdAt: z.ZodString;
|
|
3404
|
+
updatedAt: z.ZodString;
|
|
3405
|
+
}, z.core.$strip>;
|
|
3406
|
+
type Subscription = z.infer<typeof SubscriptionSchema>;
|
|
3407
|
+
/**
|
|
3408
|
+
* GET /v1/subscription - Response schema
|
|
3409
|
+
*/
|
|
3410
|
+
declare const GetSubscriptionResponseSchema: z.ZodObject<{
|
|
3411
|
+
subscription: z.ZodNullable<z.ZodObject<{
|
|
3412
|
+
id: z.ZodString;
|
|
3413
|
+
userId: z.ZodString;
|
|
3414
|
+
stripeSubscriptionId: z.ZodString;
|
|
3415
|
+
stripeCustomerId: z.ZodString;
|
|
3416
|
+
stripePriceId: z.ZodString;
|
|
3417
|
+
status: z.ZodString;
|
|
3418
|
+
currentPeriodStart: z.ZodString;
|
|
3419
|
+
currentPeriodEnd: z.ZodString;
|
|
3420
|
+
cancelAtPeriodEnd: z.ZodBoolean;
|
|
3421
|
+
canceledAt: z.ZodNullable<z.ZodString>;
|
|
3422
|
+
createdAt: z.ZodString;
|
|
3423
|
+
updatedAt: z.ZodString;
|
|
3424
|
+
}, z.core.$strip>>;
|
|
3425
|
+
}, z.core.$strip>;
|
|
3426
|
+
type GetSubscriptionResponse = z.infer<typeof GetSubscriptionResponseSchema>;
|
|
3427
|
+
/**
|
|
3428
|
+
* POST /v1/subscription/checkout - Request schema
|
|
3429
|
+
*/
|
|
3430
|
+
declare const CreateCheckoutRequestSchema: z.ZodObject<{
|
|
3431
|
+
priceId: z.ZodString;
|
|
3432
|
+
successUrl: z.ZodString;
|
|
3433
|
+
cancelUrl: z.ZodString;
|
|
3434
|
+
}, z.core.$strip>;
|
|
3435
|
+
type CreateCheckoutRequest = z.infer<typeof CreateCheckoutRequestSchema>;
|
|
3436
|
+
/**
|
|
3437
|
+
* POST /v1/subscription/checkout - Response schema
|
|
3438
|
+
*/
|
|
3439
|
+
declare const CreateCheckoutResponseSchema: z.ZodObject<{
|
|
3440
|
+
url: z.ZodString;
|
|
3441
|
+
}, z.core.$strip>;
|
|
3442
|
+
type CreateCheckoutResponse = z.infer<typeof CreateCheckoutResponseSchema>;
|
|
3443
|
+
/**
|
|
3444
|
+
* POST /v1/subscription/portal - Request schema
|
|
3445
|
+
*/
|
|
3446
|
+
declare const CreatePortalRequestSchema: z.ZodObject<{
|
|
3447
|
+
returnUrl: z.ZodString;
|
|
3448
|
+
}, z.core.$strip>;
|
|
3449
|
+
type CreatePortalRequest = z.infer<typeof CreatePortalRequestSchema>;
|
|
3450
|
+
/**
|
|
3451
|
+
* POST /v1/subscription/portal - Response schema
|
|
3452
|
+
*/
|
|
3453
|
+
declare const CreatePortalResponseSchema: z.ZodObject<{
|
|
3454
|
+
url: z.ZodString;
|
|
3455
|
+
}, z.core.$strip>;
|
|
3456
|
+
type CreatePortalResponse = z.infer<typeof CreatePortalResponseSchema>;
|
|
3457
|
+
/**
|
|
3458
|
+
* POST /v1/subscription/cancel - Response schema
|
|
3459
|
+
*/
|
|
3460
|
+
declare const CancelSubscriptionResponseSchema: z.ZodObject<{
|
|
3461
|
+
success: z.ZodLiteral<true>;
|
|
3462
|
+
}, z.core.$strip>;
|
|
3463
|
+
type CancelSubscriptionResponse = z.infer<typeof CancelSubscriptionResponseSchema>;
|
|
3464
|
+
/**
|
|
3465
|
+
* POST /v1/subscription/update - Request schema
|
|
3466
|
+
*/
|
|
3467
|
+
declare const UpdateSubscriptionRequestSchema: z.ZodObject<{
|
|
3468
|
+
priceId: z.ZodString;
|
|
3469
|
+
}, z.core.$strip>;
|
|
3470
|
+
type UpdateSubscriptionRequest = z.infer<typeof UpdateSubscriptionRequestSchema>;
|
|
3471
|
+
/**
|
|
3472
|
+
* POST /v1/subscription/update - Response schema
|
|
3473
|
+
*/
|
|
3474
|
+
declare const UpdateSubscriptionResponseSchema: z.ZodObject<{
|
|
3475
|
+
success: z.ZodLiteral<true>;
|
|
3476
|
+
}, z.core.$strip>;
|
|
3477
|
+
type UpdateSubscriptionResponse = z.infer<typeof UpdateSubscriptionResponseSchema>;
|
|
3478
|
+
/**
|
|
3479
|
+
* Subscription tier schema
|
|
3480
|
+
*/
|
|
3481
|
+
declare const SubscriptionTierSchema: z.ZodObject<{
|
|
3482
|
+
id: z.ZodString;
|
|
3483
|
+
name: z.ZodString;
|
|
3484
|
+
priceId: z.ZodString;
|
|
3485
|
+
price: z.ZodNumber;
|
|
3486
|
+
credits: z.ZodNumber;
|
|
3487
|
+
popular: z.ZodOptional<z.ZodBoolean>;
|
|
3488
|
+
features: z.ZodArray<z.ZodString>;
|
|
3489
|
+
}, z.core.$strip>;
|
|
3490
|
+
type SubscriptionTier = z.infer<typeof SubscriptionTierSchema>;
|
|
3491
|
+
/**
|
|
3492
|
+
* GET /v1/subscription/tiers - Response schema
|
|
3493
|
+
*/
|
|
3494
|
+
declare const GetSubscriptionTiersResponseSchema: z.ZodObject<{
|
|
3495
|
+
enabled: z.ZodBoolean;
|
|
3496
|
+
tiers: z.ZodArray<z.ZodObject<{
|
|
3497
|
+
id: z.ZodString;
|
|
3498
|
+
name: z.ZodString;
|
|
3499
|
+
priceId: z.ZodString;
|
|
3500
|
+
price: z.ZodNumber;
|
|
3501
|
+
credits: z.ZodNumber;
|
|
3502
|
+
popular: z.ZodOptional<z.ZodBoolean>;
|
|
3503
|
+
features: z.ZodArray<z.ZodString>;
|
|
3504
|
+
}, z.core.$strip>>;
|
|
3505
|
+
}, z.core.$strip>;
|
|
3506
|
+
type GetSubscriptionTiersResponse = z.infer<typeof GetSubscriptionTiersResponseSchema>;
|
|
3507
|
+
|
|
3382
3508
|
/**
|
|
3383
3509
|
* RPC (Remote Procedure Call) types and schemas for AgentrixContext
|
|
3384
3510
|
*
|
|
@@ -3459,9 +3585,9 @@ declare const AskUserResponseStatusSchema: z.ZodEnum<{
|
|
|
3459
3585
|
timeout: "timeout";
|
|
3460
3586
|
}>;
|
|
3461
3587
|
declare const AskUserResponseReasonSchema: z.ZodEnum<{
|
|
3588
|
+
timeout: "timeout";
|
|
3462
3589
|
user: "user";
|
|
3463
3590
|
system: "system";
|
|
3464
|
-
timeout: "timeout";
|
|
3465
3591
|
}>;
|
|
3466
3592
|
type AskUserResponseStatus = z.infer<typeof AskUserResponseStatusSchema>;
|
|
3467
3593
|
type AskUserResponseReason = z.infer<typeof AskUserResponseReasonSchema>;
|
|
@@ -3480,9 +3606,9 @@ declare const AskUserResponseMessageSchema: z.ZodObject<{
|
|
|
3480
3606
|
timeout: "timeout";
|
|
3481
3607
|
}>>;
|
|
3482
3608
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
3609
|
+
timeout: "timeout";
|
|
3483
3610
|
user: "user";
|
|
3484
3611
|
system: "system";
|
|
3485
|
-
timeout: "timeout";
|
|
3486
3612
|
}>>;
|
|
3487
3613
|
}, z.core.$strip>;
|
|
3488
3614
|
type AskUserResponseMessage = z.infer<typeof AskUserResponseMessageSchema>;
|
|
@@ -3959,9 +4085,9 @@ declare const TaskMessageSchema: z.ZodObject<{
|
|
|
3959
4085
|
taskId: z.ZodString;
|
|
3960
4086
|
chatId: z.ZodOptional<z.ZodString>;
|
|
3961
4087
|
from: z.ZodEnum<{
|
|
3962
|
-
machine: "machine";
|
|
3963
4088
|
app: "app";
|
|
3964
4089
|
"api-server": "api-server";
|
|
4090
|
+
machine: "machine";
|
|
3965
4091
|
worker: "worker";
|
|
3966
4092
|
}>;
|
|
3967
4093
|
opCode: z.ZodOptional<z.ZodString>;
|
|
@@ -3972,9 +4098,9 @@ declare const TaskMessageSchema: z.ZodObject<{
|
|
|
3972
4098
|
encryptedMessage: z.ZodOptional<z.ZodString>;
|
|
3973
4099
|
agentId: z.ZodOptional<z.ZodString>;
|
|
3974
4100
|
senderType: z.ZodEnum<{
|
|
3975
|
-
agent: "agent";
|
|
3976
|
-
human: "human";
|
|
3977
4101
|
system: "system";
|
|
4102
|
+
human: "human";
|
|
4103
|
+
agent: "agent";
|
|
3978
4104
|
}>;
|
|
3979
4105
|
senderId: z.ZodString;
|
|
3980
4106
|
senderName: z.ZodString;
|
|
@@ -4093,8 +4219,8 @@ declare const RtcSignalSchema: z.ZodObject<{
|
|
|
4093
4219
|
machineId: z.ZodString;
|
|
4094
4220
|
sessionId: z.ZodString;
|
|
4095
4221
|
from: z.ZodEnum<{
|
|
4096
|
-
machine: "machine";
|
|
4097
4222
|
app: "app";
|
|
4223
|
+
machine: "machine";
|
|
4098
4224
|
}>;
|
|
4099
4225
|
signal: z.ZodAny;
|
|
4100
4226
|
userId: z.ZodOptional<z.ZodString>;
|
|
@@ -4373,8 +4499,8 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
4373
4499
|
chatId: z.ZodString;
|
|
4374
4500
|
memberCode: z.ZodString;
|
|
4375
4501
|
type: z.ZodEnum<{
|
|
4376
|
-
agent: "agent";
|
|
4377
4502
|
human: "human";
|
|
4503
|
+
agent: "agent";
|
|
4378
4504
|
}>;
|
|
4379
4505
|
role: z.ZodString;
|
|
4380
4506
|
createdAt: z.ZodString;
|
|
@@ -4579,6 +4705,7 @@ declare const DaemonGitlabOperationSchema: z.ZodEnum<{
|
|
|
4579
4705
|
createMergeRequest: "createMergeRequest";
|
|
4580
4706
|
getMergeRequest: "getMergeRequest";
|
|
4581
4707
|
listMergeRequests: "listMergeRequests";
|
|
4708
|
+
requestGitlabApi: "requestGitlabApi";
|
|
4582
4709
|
resolveGitAuthContext: "resolveGitAuthContext";
|
|
4583
4710
|
}>;
|
|
4584
4711
|
type DaemonGitlabOperation = z.infer<typeof DaemonGitlabOperationSchema>;
|
|
@@ -4596,6 +4723,7 @@ declare const DaemonGitlabRequestSchema: z.ZodObject<{
|
|
|
4596
4723
|
createMergeRequest: "createMergeRequest";
|
|
4597
4724
|
getMergeRequest: "getMergeRequest";
|
|
4598
4725
|
listMergeRequests: "listMergeRequests";
|
|
4726
|
+
requestGitlabApi: "requestGitlabApi";
|
|
4599
4727
|
resolveGitAuthContext: "resolveGitAuthContext";
|
|
4600
4728
|
}>;
|
|
4601
4729
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -5375,5 +5503,5 @@ declare const RELEVANT_DEPENDENCIES: readonly ["react", "react-dom", "vue", "vit
|
|
|
5375
5503
|
*/
|
|
5376
5504
|
declare function detectPreview(fs: FileSystemAdapter): Promise<PreviewMetadata | null>;
|
|
5377
5505
|
|
|
5378
|
-
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, 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, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateDraftAgentRequestSchema, CreateMergeRequestResponseSchema, CreateMergeRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, 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, 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, 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, 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 };
|
|
5379
|
-
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, 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, CreateCloudRequest, CreateCloudResponse, CreateDraftAgentRequest, CreateMergeRequestRequest, CreateMergeRequestResponse, CreateOAuthServerRequest, CreateOAuthServerResponse, 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, 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, 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, UpdateTaskAgentSessionIdEventData, UpdateTaskTitleRequest, UpdateTaskTitleResponse, UpdateUserProfileRequest, UpdateUserProfileResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserProfileResponse, UserWithOAuthAccounts, ValidationResult, WorkerAliveEventData, WorkerExitEventData, WorkerInitializedEventData, WorkerInitializingEventData, WorkerReadyEventData, WorkerRunningEventData, WorkerStatusRequestEventData, WorkerStatusValue, WorkerTaskEvent, WorkspaceFileRequestEventData, WorkspaceFileResponseEventData };
|
|
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 };
|