@agentrix/shared 2.2.1 → 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 +68 -0
- package/dist/index.d.cts +140 -14
- 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(),
|
|
@@ -2848,6 +2905,7 @@ exports.AssociateRepoEventDataSchema = AssociateRepoEventDataSchema;
|
|
|
2848
2905
|
exports.BillingStatsResponseSchema = BillingStatsResponseSchema;
|
|
2849
2906
|
exports.BranchSchema = BranchSchema;
|
|
2850
2907
|
exports.CONFIG_FILES = CONFIG_FILES;
|
|
2908
|
+
exports.CancelSubscriptionResponseSchema = CancelSubscriptionResponseSchema;
|
|
2851
2909
|
exports.CancelTaskRequestSchema = CancelTaskRequestSchema;
|
|
2852
2910
|
exports.CancelTaskResponseSchema = CancelTaskResponseSchema;
|
|
2853
2911
|
exports.ChangeTaskTitleEventSchema = ChangeTaskTitleEventSchema;
|
|
@@ -2877,6 +2935,8 @@ exports.CreateAgentRequestSchema = CreateAgentRequestSchema;
|
|
|
2877
2935
|
exports.CreateAgentResponseSchema = CreateAgentResponseSchema;
|
|
2878
2936
|
exports.CreateChatRequestSchema = CreateChatRequestSchema;
|
|
2879
2937
|
exports.CreateChatResponseSchema = CreateChatResponseSchema;
|
|
2938
|
+
exports.CreateCheckoutRequestSchema = CreateCheckoutRequestSchema;
|
|
2939
|
+
exports.CreateCheckoutResponseSchema = CreateCheckoutResponseSchema;
|
|
2880
2940
|
exports.CreateCloudRequestSchema = CreateCloudRequestSchema;
|
|
2881
2941
|
exports.CreateCloudResponseSchema = CreateCloudResponseSchema;
|
|
2882
2942
|
exports.CreateDraftAgentRequestSchema = CreateDraftAgentRequestSchema;
|
|
@@ -2884,6 +2944,8 @@ exports.CreateMergeRequestResponseSchema = CreateMergeRequestResponseSchema;
|
|
|
2884
2944
|
exports.CreateMergeRequestSchema = CreateMergeRequestSchema;
|
|
2885
2945
|
exports.CreateOAuthServerRequestSchema = CreateOAuthServerRequestSchema;
|
|
2886
2946
|
exports.CreateOAuthServerResponseSchema = CreateOAuthServerResponseSchema;
|
|
2947
|
+
exports.CreatePortalRequestSchema = CreatePortalRequestSchema;
|
|
2948
|
+
exports.CreatePortalResponseSchema = CreatePortalResponseSchema;
|
|
2887
2949
|
exports.CreateTaskShareResponseSchema = CreateTaskShareResponseSchema;
|
|
2888
2950
|
exports.CreateTaskShareSchema = CreateTaskShareSchema;
|
|
2889
2951
|
exports.CreditExhaustedEventSchema = CreditExhaustedEventSchema;
|
|
@@ -2921,6 +2983,8 @@ exports.GetGitUrlResponseSchema = GetGitUrlResponseSchema;
|
|
|
2921
2983
|
exports.GetInstallUrlResponseSchema = GetInstallUrlResponseSchema;
|
|
2922
2984
|
exports.GetOAuthServerResponseSchema = GetOAuthServerResponseSchema;
|
|
2923
2985
|
exports.GetRepositoryResponseSchema = GetRepositoryResponseSchema;
|
|
2986
|
+
exports.GetSubscriptionResponseSchema = GetSubscriptionResponseSchema;
|
|
2987
|
+
exports.GetSubscriptionTiersResponseSchema = GetSubscriptionTiersResponseSchema;
|
|
2924
2988
|
exports.GetTaskSessionResponseSchema = GetTaskSessionResponseSchema;
|
|
2925
2989
|
exports.GetUploadUrlsRequestSchema = GetUploadUrlsRequestSchema;
|
|
2926
2990
|
exports.GetUploadUrlsResponseSchema = GetUploadUrlsResponseSchema;
|
|
@@ -3032,6 +3096,8 @@ exports.StopTaskResponseSchema = StopTaskResponseSchema;
|
|
|
3032
3096
|
exports.StopTaskSchema = StopTaskSchema;
|
|
3033
3097
|
exports.SubTaskResultUpdatedEventSchema = SubTaskResultUpdatedEventSchema;
|
|
3034
3098
|
exports.SubTaskSummarySchema = SubTaskSummarySchema;
|
|
3099
|
+
exports.SubscriptionSchema = SubscriptionSchema;
|
|
3100
|
+
exports.SubscriptionTierSchema = SubscriptionTierSchema;
|
|
3035
3101
|
exports.SyncCloudMachineResponseSchema = SyncCloudMachineResponseSchema;
|
|
3036
3102
|
exports.SyncLocalMachineResponseSchema = SyncLocalMachineResponseSchema;
|
|
3037
3103
|
exports.SyncMachineRequestSchema = SyncMachineRequestSchema;
|
|
@@ -3061,6 +3127,8 @@ exports.UpdateDraftAgentRequestSchema = UpdateDraftAgentRequestSchema;
|
|
|
3061
3127
|
exports.UpdateDraftAgentResponseSchema = UpdateDraftAgentResponseSchema;
|
|
3062
3128
|
exports.UpdateOAuthServerRequestSchema = UpdateOAuthServerRequestSchema;
|
|
3063
3129
|
exports.UpdateOAuthServerResponseSchema = UpdateOAuthServerResponseSchema;
|
|
3130
|
+
exports.UpdateSubscriptionRequestSchema = UpdateSubscriptionRequestSchema;
|
|
3131
|
+
exports.UpdateSubscriptionResponseSchema = UpdateSubscriptionResponseSchema;
|
|
3064
3132
|
exports.UpdateTaskAgentSessionIdEventSchema = UpdateTaskAgentSessionIdEventSchema;
|
|
3065
3133
|
exports.UpdateTaskTitleRequestSchema = UpdateTaskTitleRequestSchema;
|
|
3066
3134
|
exports.UpdateTaskTitleResponseSchema = UpdateTaskTitleResponseSchema;
|
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
|
-
human: "human";
|
|
57
56
|
system: "system";
|
|
57
|
+
human: "human";
|
|
58
58
|
agent: "agent";
|
|
59
59
|
}>;
|
|
60
60
|
type SenderType = z.infer<typeof SenderTypeSchema>;
|
|
@@ -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,15 +1076,15 @@ 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
|
-
agent: "agent";
|
|
1080
1081
|
user: "user";
|
|
1082
|
+
agent: "agent";
|
|
1081
1083
|
}>;
|
|
1082
1084
|
fromTaskId: z.ZodOptional<z.ZodString>;
|
|
1083
1085
|
senderType: z.ZodEnum<{
|
|
1084
|
-
human: "human";
|
|
1085
1086
|
system: "system";
|
|
1087
|
+
human: "human";
|
|
1086
1088
|
agent: "agent";
|
|
1087
1089
|
}>;
|
|
1088
1090
|
senderId: z.ZodString;
|
|
@@ -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<{
|
|
3462
|
-
system: "system";
|
|
3463
|
-
user: "user";
|
|
3464
3588
|
timeout: "timeout";
|
|
3589
|
+
user: "user";
|
|
3590
|
+
system: "system";
|
|
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<{
|
|
3483
|
-
system: "system";
|
|
3484
|
-
user: "user";
|
|
3485
3609
|
timeout: "timeout";
|
|
3610
|
+
user: "user";
|
|
3611
|
+
system: "system";
|
|
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,8 +4098,8 @@ 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
|
-
human: "human";
|
|
3976
4101
|
system: "system";
|
|
4102
|
+
human: "human";
|
|
3977
4103
|
agent: "agent";
|
|
3978
4104
|
}>;
|
|
3979
4105
|
senderId: 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>;
|
|
@@ -5377,5 +5503,5 @@ declare const RELEVANT_DEPENDENCIES: readonly ["react", "react-dom", "vue", "vit
|
|
|
5377
5503
|
*/
|
|
5378
5504
|
declare function detectPreview(fs: FileSystemAdapter): Promise<PreviewMetadata | null>;
|
|
5379
5505
|
|
|
5380
|
-
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 };
|
|
5381
|
-
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 };
|