@agentrix/shared 2.10.0 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{errors-CjePCqwd.d.cts → errors-B6LhjViV.d.cts} +5 -2
- package/dist/index.cjs +141 -2
- package/dist/index.d.cts +210 -14
- package/dist/node.d.cts +2 -2
- package/package.json +1 -1
|
@@ -1066,9 +1066,9 @@ declare const AskUserMessageSchema: z.ZodObject<{
|
|
|
1066
1066
|
}, z.core.$strip>;
|
|
1067
1067
|
type AskUserMessage = z.infer<typeof AskUserMessageSchema>;
|
|
1068
1068
|
declare const AskUserResponseStatusSchema: z.ZodEnum<{
|
|
1069
|
+
timeout: "timeout";
|
|
1069
1070
|
answered: "answered";
|
|
1070
1071
|
cancelled: "cancelled";
|
|
1071
|
-
timeout: "timeout";
|
|
1072
1072
|
}>;
|
|
1073
1073
|
declare const AskUserResponseReasonSchema: z.ZodEnum<{
|
|
1074
1074
|
system: "system";
|
|
@@ -1089,9 +1089,9 @@ declare const AskUserResponseMessageSchema: z.ZodObject<{
|
|
|
1089
1089
|
details: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1090
1090
|
rememberAnswers: z.ZodOptional<z.ZodArray<z.ZodBoolean>>;
|
|
1091
1091
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1092
|
+
timeout: "timeout";
|
|
1092
1093
|
answered: "answered";
|
|
1093
1094
|
cancelled: "cancelled";
|
|
1094
|
-
timeout: "timeout";
|
|
1095
1095
|
}>>;
|
|
1096
1096
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
1097
1097
|
system: "system";
|
|
@@ -1439,6 +1439,7 @@ declare const baseTaskSchema: z.ZodObject<{
|
|
|
1439
1439
|
shadow: "shadow";
|
|
1440
1440
|
}>>>;
|
|
1441
1441
|
customTitle: z.ZodOptional<z.ZodString>;
|
|
1442
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1442
1443
|
agentGitUrl: z.ZodOptional<z.ZodString>;
|
|
1443
1444
|
agentGitSubDir: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1444
1445
|
}, z.core.$strip>;
|
|
@@ -1498,6 +1499,7 @@ declare const createTaskSchema: z.ZodObject<{
|
|
|
1498
1499
|
shadow: "shadow";
|
|
1499
1500
|
}>>>;
|
|
1500
1501
|
customTitle: z.ZodOptional<z.ZodString>;
|
|
1502
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1501
1503
|
agentGitUrl: z.ZodOptional<z.ZodString>;
|
|
1502
1504
|
agentGitSubDir: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1503
1505
|
event: z.ZodString;
|
|
@@ -1560,6 +1562,7 @@ declare const resumeTaskSchema: z.ZodObject<{
|
|
|
1560
1562
|
shadow: "shadow";
|
|
1561
1563
|
}>>>;
|
|
1562
1564
|
customTitle: z.ZodOptional<z.ZodString>;
|
|
1565
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1563
1566
|
agentGitUrl: z.ZodOptional<z.ZodString>;
|
|
1564
1567
|
agentGitSubDir: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1565
1568
|
agentSessionId: z.ZodString;
|
package/dist/index.cjs
CHANGED
|
@@ -1230,6 +1230,7 @@ const ToggleOAuthServerRequestSchema = zod.z.object({
|
|
|
1230
1230
|
const ToggleOAuthServerResponseSchema = OAuthServerSchema;
|
|
1231
1231
|
const ListOAuthServersPublicResponseSchema = zod.z.array(OAuthServerPublicSchema);
|
|
1232
1232
|
|
|
1233
|
+
const StripeCheckoutClientSchema = zod.z.enum(["android", "ios", "web"]);
|
|
1233
1234
|
const RechargeResponseSchema = zod.z.object({
|
|
1234
1235
|
success: zod.z.literal(true),
|
|
1235
1236
|
packageId: zod.z.string(),
|
|
@@ -1238,7 +1239,8 @@ const RechargeResponseSchema = zod.z.object({
|
|
|
1238
1239
|
const CreateDirectRechargeCheckoutRequestSchema = zod.z.object({
|
|
1239
1240
|
successUrl: zod.z.string().url(),
|
|
1240
1241
|
cancelUrl: zod.z.string().url(),
|
|
1241
|
-
amount: zod.z.number().int().positive()
|
|
1242
|
+
amount: zod.z.number().int().positive(),
|
|
1243
|
+
client: StripeCheckoutClientSchema
|
|
1242
1244
|
});
|
|
1243
1245
|
const CreateDirectRechargeCheckoutResponseSchema = zod.z.object({
|
|
1244
1246
|
url: zod.z.string().url()
|
|
@@ -1401,7 +1403,8 @@ const GetSubscriptionResponseSchema = zod.z.object({
|
|
|
1401
1403
|
const CreateCheckoutRequestSchema = zod.z.object({
|
|
1402
1404
|
priceId: zod.z.string(),
|
|
1403
1405
|
successUrl: zod.z.string().url(),
|
|
1404
|
-
cancelUrl: zod.z.string().url()
|
|
1406
|
+
cancelUrl: zod.z.string().url(),
|
|
1407
|
+
client: StripeCheckoutClientSchema
|
|
1405
1408
|
});
|
|
1406
1409
|
const CreateCheckoutResponseSchema = zod.z.object({
|
|
1407
1410
|
url: zod.z.string().url()
|
|
@@ -1590,6 +1593,120 @@ const ResolveUserInboxItemResponseSchema = zod.z.object({
|
|
|
1590
1593
|
item: UserInboxItemSchema
|
|
1591
1594
|
});
|
|
1592
1595
|
|
|
1596
|
+
const CiProviderSchema = zod.z.enum(["github_actions", "gitlab_ci"]);
|
|
1597
|
+
const JsonSchemaDocumentSchema = zod.z.record(zod.z.string(), zod.z.unknown());
|
|
1598
|
+
const CiRunStatusSchema = zod.z.enum([
|
|
1599
|
+
"queued",
|
|
1600
|
+
"running",
|
|
1601
|
+
"completed",
|
|
1602
|
+
"failed",
|
|
1603
|
+
"canceled",
|
|
1604
|
+
"timeout"
|
|
1605
|
+
]);
|
|
1606
|
+
const CiRunRepoSchema = zod.z.object({
|
|
1607
|
+
gitServerId: zod.z.string().min(1),
|
|
1608
|
+
serverRepoId: zod.z.string().min(1).optional(),
|
|
1609
|
+
owner: zod.z.string().optional(),
|
|
1610
|
+
name: zod.z.string().optional()
|
|
1611
|
+
}).refine(
|
|
1612
|
+
(value) => Boolean(value.serverRepoId) || Boolean(value.owner) && Boolean(value.name),
|
|
1613
|
+
{
|
|
1614
|
+
message: "repo.gitServerId plus repo.serverRepoId or repo.owner+repo.name is required"
|
|
1615
|
+
}
|
|
1616
|
+
);
|
|
1617
|
+
const CiRunGitSchema = zod.z.object({
|
|
1618
|
+
ref: zod.z.string().optional(),
|
|
1619
|
+
sha: zod.z.string().optional(),
|
|
1620
|
+
baseRef: zod.z.string().optional(),
|
|
1621
|
+
headRef: zod.z.string().optional(),
|
|
1622
|
+
prNumber: zod.z.number().int().positive().optional(),
|
|
1623
|
+
issueNumber: zod.z.number().int().positive().optional()
|
|
1624
|
+
});
|
|
1625
|
+
const CiRunExecutionSchema = zod.z.object({
|
|
1626
|
+
capabilityProfile: zod.z.string().optional(),
|
|
1627
|
+
runnerId: zod.z.string().optional()
|
|
1628
|
+
});
|
|
1629
|
+
const CiRunContextSchema = zod.z.object({
|
|
1630
|
+
ciProvider: CiProviderSchema,
|
|
1631
|
+
eventName: zod.z.string().optional(),
|
|
1632
|
+
eventAction: zod.z.string().optional(),
|
|
1633
|
+
jobUrl: zod.z.string().url().optional(),
|
|
1634
|
+
runUrl: zod.z.string().url().optional(),
|
|
1635
|
+
payload: zod.z.record(zod.z.string(), zod.z.unknown()).optional()
|
|
1636
|
+
});
|
|
1637
|
+
const CreateCiRunRequestSchema = zod.z.object({
|
|
1638
|
+
agent: zod.z.string().min(1),
|
|
1639
|
+
title: zod.z.string().min(1).max(200).optional(),
|
|
1640
|
+
prompt: zod.z.string().min(1),
|
|
1641
|
+
outputSchema: JsonSchemaDocumentSchema.optional(),
|
|
1642
|
+
repo: CiRunRepoSchema,
|
|
1643
|
+
git: CiRunGitSchema,
|
|
1644
|
+
execution: CiRunExecutionSchema,
|
|
1645
|
+
context: CiRunContextSchema.optional(),
|
|
1646
|
+
metadata: zod.z.record(zod.z.string(), zod.z.string()).optional()
|
|
1647
|
+
});
|
|
1648
|
+
const CreateCiRunResponseSchema = zod.z.object({
|
|
1649
|
+
runId: zod.z.string().min(1),
|
|
1650
|
+
status: zod.z.enum(["queued", "running", "completed", "failed"]),
|
|
1651
|
+
detailUrl: zod.z.string().url()
|
|
1652
|
+
});
|
|
1653
|
+
const CiRunStatusResponseSchema = zod.z.object({
|
|
1654
|
+
runId: zod.z.string().min(1),
|
|
1655
|
+
status: CiRunStatusSchema,
|
|
1656
|
+
result: zod.z.string(),
|
|
1657
|
+
structuredOutput: zod.z.unknown().optional(),
|
|
1658
|
+
detailUrl: zod.z.string().url()
|
|
1659
|
+
});
|
|
1660
|
+
const CancelCiRunResponseSchema = zod.z.object({
|
|
1661
|
+
message: zod.z.string(),
|
|
1662
|
+
runId: zod.z.string().min(1)
|
|
1663
|
+
});
|
|
1664
|
+
|
|
1665
|
+
const ApiKeySchema = zod.z.object({
|
|
1666
|
+
id: zod.z.string().min(1),
|
|
1667
|
+
name: zod.z.string().min(1).max(100),
|
|
1668
|
+
keyPrefix: zod.z.string().min(1),
|
|
1669
|
+
enabled: zod.z.boolean(),
|
|
1670
|
+
quota: zod.z.number().nullable(),
|
|
1671
|
+
lastUsedAt: zod.z.string().datetime().nullable(),
|
|
1672
|
+
expiresAt: zod.z.string().datetime().nullable(),
|
|
1673
|
+
createdAt: zod.z.string().datetime()
|
|
1674
|
+
});
|
|
1675
|
+
const CreateApiKeyRequestSchema = zod.z.object({
|
|
1676
|
+
name: zod.z.string().min(1).max(100),
|
|
1677
|
+
expiresInDays: zod.z.number().int().positive().optional()
|
|
1678
|
+
});
|
|
1679
|
+
const CreateApiKeyResponseSchema = zod.z.object({
|
|
1680
|
+
apiKey: zod.z.string().min(1),
|
|
1681
|
+
id: zod.z.string().min(1),
|
|
1682
|
+
name: zod.z.string().min(1).max(100),
|
|
1683
|
+
keyPrefix: zod.z.string().min(1),
|
|
1684
|
+
expiresAt: zod.z.string().datetime().nullable(),
|
|
1685
|
+
createdAt: zod.z.string().datetime()
|
|
1686
|
+
});
|
|
1687
|
+
const ListApiKeysQuerySchema = zod.z.object({
|
|
1688
|
+
includeDisabled: zod.z.string().optional().transform((val) => val === "true"),
|
|
1689
|
+
page: zod.z.string().optional().transform((val) => val ? parseInt(val, 10) : 1).refine((val) => val > 0, "Page must be positive"),
|
|
1690
|
+
limit: zod.z.string().optional().transform((val) => val ? parseInt(val, 10) : 10).refine((val) => val > 0 && val <= 100, "Limit must be between 1 and 100")
|
|
1691
|
+
});
|
|
1692
|
+
const ListApiKeysResponseSchema = zod.z.object({
|
|
1693
|
+
items: zod.z.array(ApiKeySchema),
|
|
1694
|
+
total: zod.z.number().int().nonnegative(),
|
|
1695
|
+
page: zod.z.number().int().positive(),
|
|
1696
|
+
limit: zod.z.number().int().positive(),
|
|
1697
|
+
totalPages: zod.z.number().int().nonnegative()
|
|
1698
|
+
});
|
|
1699
|
+
const UpdateApiKeyRequestSchema = zod.z.object({
|
|
1700
|
+
name: zod.z.string().min(1).max(100).optional(),
|
|
1701
|
+
expiresInDays: zod.z.number().int().positive().optional()
|
|
1702
|
+
});
|
|
1703
|
+
const ToggleApiKeyRequestSchema = zod.z.object({
|
|
1704
|
+
enabled: zod.z.boolean()
|
|
1705
|
+
});
|
|
1706
|
+
const DeleteApiKeyResponseSchema = zod.z.object({
|
|
1707
|
+
success: zod.z.literal(true)
|
|
1708
|
+
});
|
|
1709
|
+
|
|
1593
1710
|
const RpcCallEventSchema = zod.z.object({
|
|
1594
1711
|
eventId: zod.z.string(),
|
|
1595
1712
|
taskId: zod.z.string(),
|
|
@@ -2081,6 +2198,8 @@ const baseTaskSchema = EventBaseSchema.extend({
|
|
|
2081
2198
|
// Task type: 'chat' for main chat, 'work' for task execution, 'shadow' for companion shadow
|
|
2082
2199
|
customTitle: zod.z.string().min(1).max(200).optional(),
|
|
2083
2200
|
// Custom task title (set by user/tool)
|
|
2201
|
+
outputSchema: JsonSchemaDocumentSchema.optional(),
|
|
2202
|
+
// Optional structured output schema for the runner
|
|
2084
2203
|
agentGitUrl: zod.z.string().optional(),
|
|
2085
2204
|
// Agent git clone URL for auto-install on first run
|
|
2086
2205
|
agentGitSubDir: zod.z.string().nullable().optional()
|
|
@@ -3098,6 +3217,7 @@ exports.AgentPermissionsSchema = AgentPermissionsSchema;
|
|
|
3098
3217
|
exports.AgentSchema = AgentSchema;
|
|
3099
3218
|
exports.AgentTypeSchema = AgentTypeSchema;
|
|
3100
3219
|
exports.ApiErrorSchema = ApiErrorSchema;
|
|
3220
|
+
exports.ApiKeySchema = ApiKeySchema;
|
|
3101
3221
|
exports.ApiServerAliveEventSchema = ApiServerAliveEventSchema;
|
|
3102
3222
|
exports.AppAliveEventSchema = AppAliveEventSchema;
|
|
3103
3223
|
exports.ApprovalStatusResponseSchema = ApprovalStatusResponseSchema;
|
|
@@ -3115,6 +3235,7 @@ exports.AssociateRepoEventDataSchema = AssociateRepoEventDataSchema;
|
|
|
3115
3235
|
exports.BillingStatsResponseSchema = BillingStatsResponseSchema;
|
|
3116
3236
|
exports.BranchSchema = BranchSchema;
|
|
3117
3237
|
exports.CONFIG_FILES = CONFIG_FILES;
|
|
3238
|
+
exports.CancelCiRunResponseSchema = CancelCiRunResponseSchema;
|
|
3118
3239
|
exports.CancelSubscriptionResponseSchema = CancelSubscriptionResponseSchema;
|
|
3119
3240
|
exports.CancelTaskRequestSchema = CancelTaskRequestSchema;
|
|
3120
3241
|
exports.CancelTaskResponseSchema = CancelTaskResponseSchema;
|
|
@@ -3127,6 +3248,13 @@ exports.ChatTypeSchema = ChatTypeSchema;
|
|
|
3127
3248
|
exports.ChatWithMembersSchema = ChatWithMembersSchema;
|
|
3128
3249
|
exports.ChatWorkersStatusRequestSchema = ChatWorkersStatusRequestSchema;
|
|
3129
3250
|
exports.ChatWorkersStatusResponseSchema = ChatWorkersStatusResponseSchema;
|
|
3251
|
+
exports.CiProviderSchema = CiProviderSchema;
|
|
3252
|
+
exports.CiRunContextSchema = CiRunContextSchema;
|
|
3253
|
+
exports.CiRunExecutionSchema = CiRunExecutionSchema;
|
|
3254
|
+
exports.CiRunGitSchema = CiRunGitSchema;
|
|
3255
|
+
exports.CiRunRepoSchema = CiRunRepoSchema;
|
|
3256
|
+
exports.CiRunStatusResponseSchema = CiRunStatusResponseSchema;
|
|
3257
|
+
exports.CiRunStatusSchema = CiRunStatusSchema;
|
|
3130
3258
|
exports.CloudJoinApprovalRequestSchema = CloudJoinApprovalRequestSchema;
|
|
3131
3259
|
exports.CloudJoinRequestSchema = CloudJoinRequestSchema;
|
|
3132
3260
|
exports.CloudJoinResultQuerySchema = CloudJoinResultQuerySchema;
|
|
@@ -3147,10 +3275,14 @@ exports.ContactSchema = ContactSchema;
|
|
|
3147
3275
|
exports.ContactTargetTypeSchema = ContactTargetTypeSchema;
|
|
3148
3276
|
exports.CreateAgentRequestSchema = CreateAgentRequestSchema;
|
|
3149
3277
|
exports.CreateAgentResponseSchema = CreateAgentResponseSchema;
|
|
3278
|
+
exports.CreateApiKeyRequestSchema = CreateApiKeyRequestSchema;
|
|
3279
|
+
exports.CreateApiKeyResponseSchema = CreateApiKeyResponseSchema;
|
|
3150
3280
|
exports.CreateChatRequestSchema = CreateChatRequestSchema;
|
|
3151
3281
|
exports.CreateChatResponseSchema = CreateChatResponseSchema;
|
|
3152
3282
|
exports.CreateCheckoutRequestSchema = CreateCheckoutRequestSchema;
|
|
3153
3283
|
exports.CreateCheckoutResponseSchema = CreateCheckoutResponseSchema;
|
|
3284
|
+
exports.CreateCiRunRequestSchema = CreateCiRunRequestSchema;
|
|
3285
|
+
exports.CreateCiRunResponseSchema = CreateCiRunResponseSchema;
|
|
3154
3286
|
exports.CreateCloudRequestSchema = CreateCloudRequestSchema;
|
|
3155
3287
|
exports.CreateCloudResponseSchema = CreateCloudResponseSchema;
|
|
3156
3288
|
exports.CreateContactRequestSchema = CreateContactRequestSchema;
|
|
@@ -3180,6 +3312,7 @@ exports.DaemonGitlabRequestSchema = DaemonGitlabRequestSchema;
|
|
|
3180
3312
|
exports.DaemonGitlabResponseSchema = DaemonGitlabResponseSchema;
|
|
3181
3313
|
exports.DateSchema = DateSchema;
|
|
3182
3314
|
exports.DeleteAgentResponseSchema = DeleteAgentResponseSchema;
|
|
3315
|
+
exports.DeleteApiKeyResponseSchema = DeleteApiKeyResponseSchema;
|
|
3183
3316
|
exports.DeleteContactResponseSchema = DeleteContactResponseSchema;
|
|
3184
3317
|
exports.DeleteOAuthServerResponseSchema = DeleteOAuthServerResponseSchema;
|
|
3185
3318
|
exports.DeployAgentCompleteEventSchema = DeployAgentCompleteEventSchema;
|
|
@@ -3227,7 +3360,10 @@ exports.GitHubIssueSchema = GitHubIssueSchema;
|
|
|
3227
3360
|
exports.GitServerSchema = GitServerSchema;
|
|
3228
3361
|
exports.IGNORED_DIRECTORIES = IGNORED_DIRECTORIES;
|
|
3229
3362
|
exports.IdSchema = IdSchema;
|
|
3363
|
+
exports.JsonSchemaDocumentSchema = JsonSchemaDocumentSchema;
|
|
3230
3364
|
exports.ListAgentsResponseSchema = ListAgentsResponseSchema;
|
|
3365
|
+
exports.ListApiKeysQuerySchema = ListApiKeysQuerySchema;
|
|
3366
|
+
exports.ListApiKeysResponseSchema = ListApiKeysResponseSchema;
|
|
3231
3367
|
exports.ListBranchesResponseSchema = ListBranchesResponseSchema;
|
|
3232
3368
|
exports.ListChatMembersResponseSchema = ListChatMembersResponseSchema;
|
|
3233
3369
|
exports.ListChatTasksResponseSchema = ListChatTasksResponseSchema;
|
|
@@ -3350,6 +3486,7 @@ exports.StatsQuerySchema = StatsQuerySchema;
|
|
|
3350
3486
|
exports.StopTaskRequestSchema = StopTaskRequestSchema;
|
|
3351
3487
|
exports.StopTaskResponseSchema = StopTaskResponseSchema;
|
|
3352
3488
|
exports.StopTaskSchema = StopTaskSchema;
|
|
3489
|
+
exports.StripeCheckoutClientSchema = StripeCheckoutClientSchema;
|
|
3353
3490
|
exports.SubTaskResultUpdatedEventSchema = SubTaskResultUpdatedEventSchema;
|
|
3354
3491
|
exports.SubTaskSummarySchema = SubTaskSummarySchema;
|
|
3355
3492
|
exports.SubscriptionPlanSchema = SubscriptionPlanSchema;
|
|
@@ -3374,6 +3511,7 @@ exports.TaskStateChangeEventSchema = TaskStateChangeEventSchema;
|
|
|
3374
3511
|
exports.TaskStoppedEventSchema = TaskStoppedEventSchema;
|
|
3375
3512
|
exports.TaskTodoSchema = TaskTodoSchema;
|
|
3376
3513
|
exports.TaskTransactionsResponseSchema = TaskTransactionsResponseSchema;
|
|
3514
|
+
exports.ToggleApiKeyRequestSchema = ToggleApiKeyRequestSchema;
|
|
3377
3515
|
exports.ToggleOAuthServerRequestSchema = ToggleOAuthServerRequestSchema;
|
|
3378
3516
|
exports.ToggleOAuthServerResponseSchema = ToggleOAuthServerResponseSchema;
|
|
3379
3517
|
exports.TransactionSchema = TransactionSchema;
|
|
@@ -3382,6 +3520,7 @@ exports.UnarchiveTaskResponseSchema = UnarchiveTaskResponseSchema;
|
|
|
3382
3520
|
exports.UpdateAgentInfoEventSchema = UpdateAgentInfoEventSchema;
|
|
3383
3521
|
exports.UpdateAgentRequestSchema = UpdateAgentRequestSchema;
|
|
3384
3522
|
exports.UpdateAgentResponseSchema = UpdateAgentResponseSchema;
|
|
3523
|
+
exports.UpdateApiKeyRequestSchema = UpdateApiKeyRequestSchema;
|
|
3385
3524
|
exports.UpdateDraftAgentRequestSchema = UpdateDraftAgentRequestSchema;
|
|
3386
3525
|
exports.UpdateDraftAgentResponseSchema = UpdateDraftAgentResponseSchema;
|
|
3387
3526
|
exports.UpdateOAuthServerRequestSchema = UpdateOAuthServerRequestSchema;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { P as PreviewMetadata } from './errors-
|
|
3
|
-
export { bx as ActiveAgent, bw as ActiveAgentSchema, dA as AgentConfig, dK as AgentConfigValidationError, dt as AgentContext, dI as AgentError, dM as AgentLoadError, dy as AgentMetadata, dG as AgentMetadataSchema, dJ as AgentNotFoundError, du as AgentrixContext, bj as ApiServerAliveEventData, bi as ApiServerAliveEventSchema, bh as AppAliveEventData, bg as AppAliveEventSchema, a6 as ApprovePrRequest, a5 as ApprovePrRequestSchema, a8 as ApprovePrResponse, a7 as ApprovePrResponseSchema, ae as ArchiveTaskRequest, ad as ArchiveTaskRequestSchema, ag as ArchiveTaskResponse, af as ArchiveTaskResponseSchema, aV as AskUserMessage, aU as AskUserMessageSchema, aR as AskUserOption, aQ as AskUserOptionSchema, aT as AskUserQuestion, aS as AskUserQuestionSchema, a$ as AskUserResponseMessage, a_ as AskUserResponseMessageSchema, aZ as AskUserResponseReason, aX as AskUserResponseReasonSchema, aY as AskUserResponseStatus, aW as AskUserResponseStatusSchema, cV as AssociateRepoEventData, cS as AssociateRepoEventDataSchema, bW as CancelTaskEventData, t as CancelTaskRequest, C as CancelTaskRequestSchema, x as CancelTaskResponse, v as CancelTaskResponseSchema, cc as ChangeTaskTitleEventData, cb as ChangeTaskTitleEventSchema, bN as ChatWorkersStatusRequestEventData, bM as ChatWorkersStatusRequestSchema, bP as ChatWorkersStatusResponseEventData, bO as ChatWorkersStatusResponseSchema, dz as ClaudeAgentConfig, dH as ClaudeConfigSchema, b0 as CompanionHeartbeatMessage, d5 as CompanionHeartbeatRequestData, d4 as CompanionHeartbeatRequestSchema, d7 as CompanionHeartbeatResponseData, d6 as CompanionHeartbeatResponseSchema, d9 as CompanionInitRequestData, d8 as CompanionInitRequestSchema, db as CompanionInitResponseData, da as CompanionInitResponseSchema, b1 as CompanionReminderMessage, a1 as CreateMergeRequestRequest, a4 as CreateMergeRequestResponse, a3 as CreateMergeRequestResponseSchema, a0 as CreateMergeRequestSchema, bS as CreateTaskEventData, aa as CreateTaskShareRequest, ac as CreateTaskShareResponse, ab as CreateTaskShareResponseSchema, a9 as CreateTaskShareSchema, cg as CreditExhaustedEventData, cf as CreditExhaustedEventSchema, D as DEFAULT_WORKER_EXECUTION_MODE, c$ as DaemonGitlabOperation, c_ as DaemonGitlabOperationSchema, d1 as DaemonGitlabRequestEventData, d0 as DaemonGitlabRequestSchema, d3 as DaemonGitlabResponseEventData, d2 as DaemonGitlabResponseSchema, cR as DeployAgentCompleteEventData, cQ as DeployAgentCompleteEventSchema, cP as DeployAgentEventData, cO as DeployAgentEventSchema, f as EnsureIssueRootTaskRequest, E as EnsureIssueRootTaskRequestSchema, j as EnsureIssueRootTaskResponse, i as EnsureIssueRootTaskResponseSchema, bf as EventAckData, be as EventAckSchema, de as EventData, dj as EventMap, dk as EventName, dl as EventSchemaMap, dF as FRAMEWORK_TYPES, _ as FillEventsRequest, Z as FillEventsRequestSchema, $ as FillEventsResponse, aN as FindTaskByAgentRequest, aM as FindTaskByAgentRequestSchema, aP as FindTaskByAgentResponse, aO as FindTaskByAgentResponseSchema, dL as FrameworkNotSupportedError, dx as FrameworkType, az as GetTaskSessionResponse, ay as GetTaskSessionResponseSchema, dE as HookFactory, aH as ListRecentTasksRequest, aG as ListRecentTasksRequestSchema, aL as ListRecentTasksResponse, aK as ListRecentTasksResponseSchema, aB as ListSubTasksRequest, aA as ListSubTasksRequestSchema, aF as ListSubTasksResponse, aE as ListSubTasksResponseSchema, k as ListTasksRequest, L as ListTasksRequestSchema, m as ListTasksResponse, l as ListTasksResponseSchema, dC as LoadAgentOptions, bl as MachineAliveEventData, bk as MachineAliveEventSchema, co as MachineRtcRequestEventData, cn as MachineRtcRequestSchema, cq as MachineRtcResponseEventData, cp as MachineRtcResponseSchema, cN as MergePullRequestAck, cM as MergePullRequestEventData, cL as MergePullRequestEventSchema, cG as MergeRequestEventData, cF as MergeRequestEventSchema, dN as MissingAgentFileError, H as PermissionResponseRequest, G as PermissionResponseRequestSchema, K as PermissionResponseResponse, J as PermissionResponseResponseSchema, cX as PrStateChangedData, c3 as PreviewMetadataSchema, c2 as PreviewMethod, c1 as PreviewMethodSchema, c0 as PreviewProjectType, b$ as PreviewProjectTypeSchema, Q as ProjectDirectoryResponse, O as ProjectDirectoryResponseSchema, N as ProjectEntry, M as ProjectEntrySchema, V as QueryEventsRequest, U as QueryEventsRequestSchema, Y as QueryEventsResponse, aJ as RecentTaskSummary, aI as RecentTaskSummarySchema, dD as RepositoryInitHookInput, dd as ResetTaskSessionEventData, dc as ResetTaskSessionSchema, bU as ResumeTaskEventData, o as ResumeTaskRequest, R as ResumeTaskRequestSchema, q as ResumeTaskResponse, p as ResumeTaskResponseSchema, dq as RpcCallEventData, dp as RpcCallEventSchema, ds as RpcResponseData, dr as RpcResponseSchema, ci as RtcIceServer, ch as RtcIceServerSchema, ck as RtcIceServersRequestEventData, cj as RtcIceServersRequestSchema, cm as RtcIceServersResponseEventData, cl as RtcIceServersResponseSchema, cs as RtcSignalEventData, cr as RtcSignalSchema, ap as SendMessageTarget, ar as SendTaskMessageRequest, aq as SendTaskMessageRequestSchema, at as SendTaskMessageResponse, as as SendTaskMessageResponseSchema, dg as SeqSyncRequestEventData, df as SeqSyncRequestEventDataSchema, di as SeqSyncResponseEventData, dh as SeqSyncResponseEventDataSchema, ca as ShowModalEventData, c9 as ShowModalEventDataSchema, av as ShowModalRequest, au as ShowModalRequestSchema, ax as ShowModalResponse, aw as ShowModalResponseSchema, bn as ShutdownMachineData, bm as ShutdownMachineSchema, c as StartTaskRequest, S as StartTaskRequestSchema, e as StartTaskResponse, d as StartTaskResponseSchema, bY as StopTaskEventData, z as StopTaskRequest, y as StopTaskRequestSchema, F as StopTaskResponse, B as StopTaskResponseSchema, bX as StopTaskSchema, b2 as SubTaskAskUserMessage, cK as SubTaskResultUpdatedEventData, cJ as SubTaskResultUpdatedEventSchema, aD as SubTaskSummary, aC as SubTaskSummarySchema, cZ as SystemMessageEventData, cY as SystemMessageSchema, cW as SystemMessageType, b5 as TaskAgentInfo, b4 as TaskAgentInfoSchema, b_ as TaskArtifactsStats, bZ as TaskArtifactsStatsSchema, c5 as TaskArtifactsSummary, c4 as TaskArtifactsSummarySchema, X as TaskEvent, cA as TaskInfoUpdateEventData, cz as TaskInfoUpdateEventDataSchema, h as TaskItem, g as TaskItemSchema, c7 as TaskMessageEventData, b3 as TaskMessagePayload, c6 as TaskMessageSchema, cC as TaskSlashCommand, cB as TaskSlashCommandSchema, cE as TaskSlashCommandsUpdateEventData, cD as TaskSlashCommandsUpdateEventDataSchema, c8 as TaskState, ce as TaskStateChangeEventData, cd as TaskStateChangeEventSchema, cI as TaskStoppedEventData, cH as TaskStoppedEventSchema, b as TaskTodo, T as TaskTodoSchema, ai as UnarchiveTaskRequest, ah as UnarchiveTaskRequestSchema, ak as UnarchiveTaskResponse, aj as UnarchiveTaskResponseSchema, cU as UpdateAgentInfoEventData, cT as UpdateAgentInfoEventSchema, cy as UpdateTaskAgentSessionIdEventData, cx as UpdateTaskAgentSessionIdEventSchema, am as UpdateTaskTitleRequest, al as UpdateTaskTitleRequestSchema, ao as UpdateTaskTitleResponse, an as UpdateTaskTitleResponseSchema, dB as ValidationResult, bz as WorkerAliveEventData, by as WorkerAliveEventSchema, W as WorkerExecutionMode, a as WorkerExecutionModeSchema, bB as WorkerExitEventData, bA as WorkerExitSchema, br as WorkerInitializedEventData, bq as WorkerInitializedSchema, bp as WorkerInitializingEventData, bo as WorkerInitializingSchema, bF as WorkerPermissionModeEventData, bE as WorkerPermissionModeSchema, bt as WorkerPermissionModeValue, bs as WorkerPermissionModeValueSchema, bv as WorkerReadyEventData, bu as WorkerReadySchema, bD as WorkerRunningEventData, bC as WorkerRunningSchema, bH as WorkerStatusRequestEventData, bG as WorkerStatusRequestSchema, bL as WorkerStatusSnapshot, bK as WorkerStatusSnapshotSchema, bJ as WorkerStatusValue, bI as WorkerStatusValueSchema, dm as WorkerTaskEvent, cu as WorkspaceFileRequestEventData, ct as WorkspaceFileRequestSchema, cw as WorkspaceFileResponseEventData, cv as WorkspaceFileResponseSchema, bQ as baseTaskSchema, u as cancelTaskRequestSchema, bV as cancelTaskSchema, bd as createEventId, a2 as createMergeRequestSchema, bR as createTaskSchema, dw as getAgentContext, b6 as isAskUserMessage, b7 as isAskUserResponseMessage, b8 as isCompanionHeartbeatMessage, b9 as isCompanionReminderMessage, bb as isSDKMessage, bc as isSDKUserMessage, ba as isSubTaskAskUserMessage, n as normalizeWorkerExecutionMode, I as permissionResponseRequestSchema, r as resumeTaskRequestSchema, bT as resumeTaskSchema, dv as setAgentContext, s as startTaskSchema, A as stopTaskRequestSchema, w as workerExecutionModes, dn as workerTaskEvents } from './errors-
|
|
2
|
+
import { P as PreviewMetadata } from './errors-B6LhjViV.cjs';
|
|
3
|
+
export { bx as ActiveAgent, bw as ActiveAgentSchema, dA as AgentConfig, dK as AgentConfigValidationError, dt as AgentContext, dI as AgentError, dM as AgentLoadError, dy as AgentMetadata, dG as AgentMetadataSchema, dJ as AgentNotFoundError, du as AgentrixContext, bj as ApiServerAliveEventData, bi as ApiServerAliveEventSchema, bh as AppAliveEventData, bg as AppAliveEventSchema, a6 as ApprovePrRequest, a5 as ApprovePrRequestSchema, a8 as ApprovePrResponse, a7 as ApprovePrResponseSchema, ae as ArchiveTaskRequest, ad as ArchiveTaskRequestSchema, ag as ArchiveTaskResponse, af as ArchiveTaskResponseSchema, aV as AskUserMessage, aU as AskUserMessageSchema, aR as AskUserOption, aQ as AskUserOptionSchema, aT as AskUserQuestion, aS as AskUserQuestionSchema, a$ as AskUserResponseMessage, a_ as AskUserResponseMessageSchema, aZ as AskUserResponseReason, aX as AskUserResponseReasonSchema, aY as AskUserResponseStatus, aW as AskUserResponseStatusSchema, cV as AssociateRepoEventData, cS as AssociateRepoEventDataSchema, bW as CancelTaskEventData, t as CancelTaskRequest, C as CancelTaskRequestSchema, x as CancelTaskResponse, v as CancelTaskResponseSchema, cc as ChangeTaskTitleEventData, cb as ChangeTaskTitleEventSchema, bN as ChatWorkersStatusRequestEventData, bM as ChatWorkersStatusRequestSchema, bP as ChatWorkersStatusResponseEventData, bO as ChatWorkersStatusResponseSchema, dz as ClaudeAgentConfig, dH as ClaudeConfigSchema, b0 as CompanionHeartbeatMessage, d5 as CompanionHeartbeatRequestData, d4 as CompanionHeartbeatRequestSchema, d7 as CompanionHeartbeatResponseData, d6 as CompanionHeartbeatResponseSchema, d9 as CompanionInitRequestData, d8 as CompanionInitRequestSchema, db as CompanionInitResponseData, da as CompanionInitResponseSchema, b1 as CompanionReminderMessage, a1 as CreateMergeRequestRequest, a4 as CreateMergeRequestResponse, a3 as CreateMergeRequestResponseSchema, a0 as CreateMergeRequestSchema, bS as CreateTaskEventData, aa as CreateTaskShareRequest, ac as CreateTaskShareResponse, ab as CreateTaskShareResponseSchema, a9 as CreateTaskShareSchema, cg as CreditExhaustedEventData, cf as CreditExhaustedEventSchema, D as DEFAULT_WORKER_EXECUTION_MODE, c$ as DaemonGitlabOperation, c_ as DaemonGitlabOperationSchema, d1 as DaemonGitlabRequestEventData, d0 as DaemonGitlabRequestSchema, d3 as DaemonGitlabResponseEventData, d2 as DaemonGitlabResponseSchema, cR as DeployAgentCompleteEventData, cQ as DeployAgentCompleteEventSchema, cP as DeployAgentEventData, cO as DeployAgentEventSchema, f as EnsureIssueRootTaskRequest, E as EnsureIssueRootTaskRequestSchema, j as EnsureIssueRootTaskResponse, i as EnsureIssueRootTaskResponseSchema, bf as EventAckData, be as EventAckSchema, de as EventData, dj as EventMap, dk as EventName, dl as EventSchemaMap, dF as FRAMEWORK_TYPES, _ as FillEventsRequest, Z as FillEventsRequestSchema, $ as FillEventsResponse, aN as FindTaskByAgentRequest, aM as FindTaskByAgentRequestSchema, aP as FindTaskByAgentResponse, aO as FindTaskByAgentResponseSchema, dL as FrameworkNotSupportedError, dx as FrameworkType, az as GetTaskSessionResponse, ay as GetTaskSessionResponseSchema, dE as HookFactory, aH as ListRecentTasksRequest, aG as ListRecentTasksRequestSchema, aL as ListRecentTasksResponse, aK as ListRecentTasksResponseSchema, aB as ListSubTasksRequest, aA as ListSubTasksRequestSchema, aF as ListSubTasksResponse, aE as ListSubTasksResponseSchema, k as ListTasksRequest, L as ListTasksRequestSchema, m as ListTasksResponse, l as ListTasksResponseSchema, dC as LoadAgentOptions, bl as MachineAliveEventData, bk as MachineAliveEventSchema, co as MachineRtcRequestEventData, cn as MachineRtcRequestSchema, cq as MachineRtcResponseEventData, cp as MachineRtcResponseSchema, cN as MergePullRequestAck, cM as MergePullRequestEventData, cL as MergePullRequestEventSchema, cG as MergeRequestEventData, cF as MergeRequestEventSchema, dN as MissingAgentFileError, H as PermissionResponseRequest, G as PermissionResponseRequestSchema, K as PermissionResponseResponse, J as PermissionResponseResponseSchema, cX as PrStateChangedData, c3 as PreviewMetadataSchema, c2 as PreviewMethod, c1 as PreviewMethodSchema, c0 as PreviewProjectType, b$ as PreviewProjectTypeSchema, Q as ProjectDirectoryResponse, O as ProjectDirectoryResponseSchema, N as ProjectEntry, M as ProjectEntrySchema, V as QueryEventsRequest, U as QueryEventsRequestSchema, Y as QueryEventsResponse, aJ as RecentTaskSummary, aI as RecentTaskSummarySchema, dD as RepositoryInitHookInput, dd as ResetTaskSessionEventData, dc as ResetTaskSessionSchema, bU as ResumeTaskEventData, o as ResumeTaskRequest, R as ResumeTaskRequestSchema, q as ResumeTaskResponse, p as ResumeTaskResponseSchema, dq as RpcCallEventData, dp as RpcCallEventSchema, ds as RpcResponseData, dr as RpcResponseSchema, ci as RtcIceServer, ch as RtcIceServerSchema, ck as RtcIceServersRequestEventData, cj as RtcIceServersRequestSchema, cm as RtcIceServersResponseEventData, cl as RtcIceServersResponseSchema, cs as RtcSignalEventData, cr as RtcSignalSchema, ap as SendMessageTarget, ar as SendTaskMessageRequest, aq as SendTaskMessageRequestSchema, at as SendTaskMessageResponse, as as SendTaskMessageResponseSchema, dg as SeqSyncRequestEventData, df as SeqSyncRequestEventDataSchema, di as SeqSyncResponseEventData, dh as SeqSyncResponseEventDataSchema, ca as ShowModalEventData, c9 as ShowModalEventDataSchema, av as ShowModalRequest, au as ShowModalRequestSchema, ax as ShowModalResponse, aw as ShowModalResponseSchema, bn as ShutdownMachineData, bm as ShutdownMachineSchema, c as StartTaskRequest, S as StartTaskRequestSchema, e as StartTaskResponse, d as StartTaskResponseSchema, bY as StopTaskEventData, z as StopTaskRequest, y as StopTaskRequestSchema, F as StopTaskResponse, B as StopTaskResponseSchema, bX as StopTaskSchema, b2 as SubTaskAskUserMessage, cK as SubTaskResultUpdatedEventData, cJ as SubTaskResultUpdatedEventSchema, aD as SubTaskSummary, aC as SubTaskSummarySchema, cZ as SystemMessageEventData, cY as SystemMessageSchema, cW as SystemMessageType, b5 as TaskAgentInfo, b4 as TaskAgentInfoSchema, b_ as TaskArtifactsStats, bZ as TaskArtifactsStatsSchema, c5 as TaskArtifactsSummary, c4 as TaskArtifactsSummarySchema, X as TaskEvent, cA as TaskInfoUpdateEventData, cz as TaskInfoUpdateEventDataSchema, h as TaskItem, g as TaskItemSchema, c7 as TaskMessageEventData, b3 as TaskMessagePayload, c6 as TaskMessageSchema, cC as TaskSlashCommand, cB as TaskSlashCommandSchema, cE as TaskSlashCommandsUpdateEventData, cD as TaskSlashCommandsUpdateEventDataSchema, c8 as TaskState, ce as TaskStateChangeEventData, cd as TaskStateChangeEventSchema, cI as TaskStoppedEventData, cH as TaskStoppedEventSchema, b as TaskTodo, T as TaskTodoSchema, ai as UnarchiveTaskRequest, ah as UnarchiveTaskRequestSchema, ak as UnarchiveTaskResponse, aj as UnarchiveTaskResponseSchema, cU as UpdateAgentInfoEventData, cT as UpdateAgentInfoEventSchema, cy as UpdateTaskAgentSessionIdEventData, cx as UpdateTaskAgentSessionIdEventSchema, am as UpdateTaskTitleRequest, al as UpdateTaskTitleRequestSchema, ao as UpdateTaskTitleResponse, an as UpdateTaskTitleResponseSchema, dB as ValidationResult, bz as WorkerAliveEventData, by as WorkerAliveEventSchema, W as WorkerExecutionMode, a as WorkerExecutionModeSchema, bB as WorkerExitEventData, bA as WorkerExitSchema, br as WorkerInitializedEventData, bq as WorkerInitializedSchema, bp as WorkerInitializingEventData, bo as WorkerInitializingSchema, bF as WorkerPermissionModeEventData, bE as WorkerPermissionModeSchema, bt as WorkerPermissionModeValue, bs as WorkerPermissionModeValueSchema, bv as WorkerReadyEventData, bu as WorkerReadySchema, bD as WorkerRunningEventData, bC as WorkerRunningSchema, bH as WorkerStatusRequestEventData, bG as WorkerStatusRequestSchema, bL as WorkerStatusSnapshot, bK as WorkerStatusSnapshotSchema, bJ as WorkerStatusValue, bI as WorkerStatusValueSchema, dm as WorkerTaskEvent, cu as WorkspaceFileRequestEventData, ct as WorkspaceFileRequestSchema, cw as WorkspaceFileResponseEventData, cv as WorkspaceFileResponseSchema, bQ as baseTaskSchema, u as cancelTaskRequestSchema, bV as cancelTaskSchema, bd as createEventId, a2 as createMergeRequestSchema, bR as createTaskSchema, dw as getAgentContext, b6 as isAskUserMessage, b7 as isAskUserResponseMessage, b8 as isCompanionHeartbeatMessage, b9 as isCompanionReminderMessage, bb as isSDKMessage, bc as isSDKUserMessage, ba as isSubTaskAskUserMessage, n as normalizeWorkerExecutionMode, I as permissionResponseRequestSchema, r as resumeTaskRequestSchema, bT as resumeTaskSchema, dv as setAgentContext, s as startTaskSchema, A as stopTaskRequestSchema, w as workerExecutionModes, dn as workerTaskEvents } from './errors-B6LhjViV.cjs';
|
|
4
4
|
import tweetnacl from 'tweetnacl';
|
|
5
5
|
import { SDKMessage } from '@anthropic-ai/claude-agent-sdk';
|
|
6
6
|
|
|
@@ -332,8 +332,8 @@ type MachineApprovalStatusQuery = z.infer<typeof MachineApprovalStatusQuerySchem
|
|
|
332
332
|
*/
|
|
333
333
|
declare const ApprovalStatusResponseSchema: z.ZodObject<{
|
|
334
334
|
status: z.ZodEnum<{
|
|
335
|
-
pending: "pending";
|
|
336
335
|
approved: "approved";
|
|
336
|
+
pending: "pending";
|
|
337
337
|
}>;
|
|
338
338
|
}, z.core.$strip>;
|
|
339
339
|
type ApprovalStatusResponse = z.infer<typeof ApprovalStatusResponseSchema>;
|
|
@@ -1358,8 +1358,8 @@ type CreateDraftAgentRequest = z.infer<typeof CreateDraftAgentRequestSchema>;
|
|
|
1358
1358
|
declare const SetEnvironmentVariablesRequestSchema: z.ZodObject<{
|
|
1359
1359
|
ownerType: z.ZodEnum<{
|
|
1360
1360
|
agent: "agent";
|
|
1361
|
-
"draft-agent": "draft-agent";
|
|
1362
1361
|
machine: "machine";
|
|
1362
|
+
"draft-agent": "draft-agent";
|
|
1363
1363
|
cloud: "cloud";
|
|
1364
1364
|
}>;
|
|
1365
1365
|
ownerId: z.ZodString;
|
|
@@ -1733,8 +1733,8 @@ declare const CloudSchema: z.ZodObject<{
|
|
|
1733
1733
|
member: "member";
|
|
1734
1734
|
}>>;
|
|
1735
1735
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
1736
|
-
pending: "pending";
|
|
1737
1736
|
active: "active";
|
|
1737
|
+
pending: "pending";
|
|
1738
1738
|
revoked: "revoked";
|
|
1739
1739
|
}>>;
|
|
1740
1740
|
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1776,8 +1776,8 @@ declare const ListMachinesResponseSchema: z.ZodObject<{
|
|
|
1776
1776
|
member: "member";
|
|
1777
1777
|
}>>;
|
|
1778
1778
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
1779
|
-
pending: "pending";
|
|
1780
1779
|
active: "active";
|
|
1780
|
+
pending: "pending";
|
|
1781
1781
|
revoked: "revoked";
|
|
1782
1782
|
}>>;
|
|
1783
1783
|
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2571,6 +2571,12 @@ type ListOAuthServersPublicResponse = z.infer<typeof ListOAuthServersPublicRespo
|
|
|
2571
2571
|
* Includes credits, packages, transactions, and recharge codes
|
|
2572
2572
|
*/
|
|
2573
2573
|
|
|
2574
|
+
declare const StripeCheckoutClientSchema: z.ZodEnum<{
|
|
2575
|
+
android: "android";
|
|
2576
|
+
ios: "ios";
|
|
2577
|
+
web: "web";
|
|
2578
|
+
}>;
|
|
2579
|
+
type StripeCheckoutClient = z.infer<typeof StripeCheckoutClientSchema>;
|
|
2574
2580
|
/**
|
|
2575
2581
|
* POST /v1/billing/recharge/:code - Response schema
|
|
2576
2582
|
*/
|
|
@@ -2587,6 +2593,11 @@ declare const CreateDirectRechargeCheckoutRequestSchema: z.ZodObject<{
|
|
|
2587
2593
|
successUrl: z.ZodString;
|
|
2588
2594
|
cancelUrl: z.ZodString;
|
|
2589
2595
|
amount: z.ZodNumber;
|
|
2596
|
+
client: z.ZodEnum<{
|
|
2597
|
+
android: "android";
|
|
2598
|
+
ios: "ios";
|
|
2599
|
+
web: "web";
|
|
2600
|
+
}>;
|
|
2590
2601
|
}, z.core.$strip>;
|
|
2591
2602
|
type CreateDirectRechargeCheckoutRequest = z.infer<typeof CreateDirectRechargeCheckoutRequestSchema>;
|
|
2592
2603
|
/**
|
|
@@ -2995,6 +3006,11 @@ declare const CreateCheckoutRequestSchema: z.ZodObject<{
|
|
|
2995
3006
|
priceId: z.ZodString;
|
|
2996
3007
|
successUrl: z.ZodString;
|
|
2997
3008
|
cancelUrl: z.ZodString;
|
|
3009
|
+
client: z.ZodEnum<{
|
|
3010
|
+
android: "android";
|
|
3011
|
+
ios: "ios";
|
|
3012
|
+
web: "web";
|
|
3013
|
+
}>;
|
|
2998
3014
|
}, z.core.$strip>;
|
|
2999
3015
|
type CreateCheckoutRequest = z.infer<typeof CreateCheckoutRequestSchema>;
|
|
3000
3016
|
/**
|
|
@@ -3152,8 +3168,8 @@ declare const PrivateCloudSummarySchema: z.ZodObject<{
|
|
|
3152
3168
|
member: "member";
|
|
3153
3169
|
}>>;
|
|
3154
3170
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
3155
|
-
pending: "pending";
|
|
3156
3171
|
active: "active";
|
|
3172
|
+
pending: "pending";
|
|
3157
3173
|
revoked: "revoked";
|
|
3158
3174
|
}>>;
|
|
3159
3175
|
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3192,8 +3208,8 @@ declare const ListPrivateCloudsResponseSchema: z.ZodObject<{
|
|
|
3192
3208
|
member: "member";
|
|
3193
3209
|
}>>;
|
|
3194
3210
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
3195
|
-
pending: "pending";
|
|
3196
3211
|
active: "active";
|
|
3212
|
+
pending: "pending";
|
|
3197
3213
|
revoked: "revoked";
|
|
3198
3214
|
}>>;
|
|
3199
3215
|
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3244,8 +3260,8 @@ declare const CreatePrivateCloudResponseSchema: z.ZodObject<{
|
|
|
3244
3260
|
member: "member";
|
|
3245
3261
|
}>>;
|
|
3246
3262
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
3247
|
-
pending: "pending";
|
|
3248
3263
|
active: "active";
|
|
3264
|
+
pending: "pending";
|
|
3249
3265
|
revoked: "revoked";
|
|
3250
3266
|
}>>;
|
|
3251
3267
|
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3339,8 +3355,8 @@ declare const AcceptPrivateCloudInviteResponseSchema: z.ZodObject<{
|
|
|
3339
3355
|
member: "member";
|
|
3340
3356
|
}>>;
|
|
3341
3357
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
3342
|
-
pending: "pending";
|
|
3343
3358
|
active: "active";
|
|
3359
|
+
pending: "pending";
|
|
3344
3360
|
revoked: "revoked";
|
|
3345
3361
|
}>>;
|
|
3346
3362
|
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3371,8 +3387,8 @@ declare const PrivateCloudMemberSchema: z.ZodObject<{
|
|
|
3371
3387
|
member: "member";
|
|
3372
3388
|
}>;
|
|
3373
3389
|
status: z.ZodEnum<{
|
|
3374
|
-
pending: "pending";
|
|
3375
3390
|
active: "active";
|
|
3391
|
+
pending: "pending";
|
|
3376
3392
|
revoked: "revoked";
|
|
3377
3393
|
}>;
|
|
3378
3394
|
createdAt: z.ZodString;
|
|
@@ -3388,8 +3404,8 @@ declare const ListPrivateCloudMembersResponseSchema: z.ZodObject<{
|
|
|
3388
3404
|
member: "member";
|
|
3389
3405
|
}>;
|
|
3390
3406
|
status: z.ZodEnum<{
|
|
3391
|
-
pending: "pending";
|
|
3392
3407
|
active: "active";
|
|
3408
|
+
pending: "pending";
|
|
3393
3409
|
revoked: "revoked";
|
|
3394
3410
|
}>;
|
|
3395
3411
|
createdAt: z.ZodString;
|
|
@@ -3636,6 +3652,186 @@ declare const ResolveUserInboxItemResponseSchema: z.ZodObject<{
|
|
|
3636
3652
|
}, z.core.$strip>;
|
|
3637
3653
|
type ResolveUserInboxItemResponse = z.infer<typeof ResolveUserInboxItemResponseSchema>;
|
|
3638
3654
|
|
|
3655
|
+
declare const CiProviderSchema: z.ZodEnum<{
|
|
3656
|
+
github_actions: "github_actions";
|
|
3657
|
+
gitlab_ci: "gitlab_ci";
|
|
3658
|
+
}>;
|
|
3659
|
+
type CiProvider = z.infer<typeof CiProviderSchema>;
|
|
3660
|
+
declare const JsonSchemaDocumentSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3661
|
+
type JsonSchemaDocument = z.infer<typeof JsonSchemaDocumentSchema>;
|
|
3662
|
+
declare const CiRunStatusSchema: z.ZodEnum<{
|
|
3663
|
+
running: "running";
|
|
3664
|
+
failed: "failed";
|
|
3665
|
+
completed: "completed";
|
|
3666
|
+
queued: "queued";
|
|
3667
|
+
canceled: "canceled";
|
|
3668
|
+
timeout: "timeout";
|
|
3669
|
+
}>;
|
|
3670
|
+
type CiRunStatus = z.infer<typeof CiRunStatusSchema>;
|
|
3671
|
+
declare const CiRunRepoSchema: z.ZodObject<{
|
|
3672
|
+
gitServerId: z.ZodString;
|
|
3673
|
+
serverRepoId: z.ZodOptional<z.ZodString>;
|
|
3674
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
3675
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3676
|
+
}, z.core.$strip>;
|
|
3677
|
+
type CiRunRepo = z.infer<typeof CiRunRepoSchema>;
|
|
3678
|
+
declare const CiRunGitSchema: z.ZodObject<{
|
|
3679
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
3680
|
+
sha: z.ZodOptional<z.ZodString>;
|
|
3681
|
+
baseRef: z.ZodOptional<z.ZodString>;
|
|
3682
|
+
headRef: z.ZodOptional<z.ZodString>;
|
|
3683
|
+
prNumber: z.ZodOptional<z.ZodNumber>;
|
|
3684
|
+
issueNumber: z.ZodOptional<z.ZodNumber>;
|
|
3685
|
+
}, z.core.$strip>;
|
|
3686
|
+
type CiRunGit = z.infer<typeof CiRunGitSchema>;
|
|
3687
|
+
declare const CiRunExecutionSchema: z.ZodObject<{
|
|
3688
|
+
capabilityProfile: z.ZodOptional<z.ZodString>;
|
|
3689
|
+
runnerId: z.ZodOptional<z.ZodString>;
|
|
3690
|
+
}, z.core.$strip>;
|
|
3691
|
+
type CiRunExecution = z.infer<typeof CiRunExecutionSchema>;
|
|
3692
|
+
declare const CiRunContextSchema: z.ZodObject<{
|
|
3693
|
+
ciProvider: z.ZodEnum<{
|
|
3694
|
+
github_actions: "github_actions";
|
|
3695
|
+
gitlab_ci: "gitlab_ci";
|
|
3696
|
+
}>;
|
|
3697
|
+
eventName: z.ZodOptional<z.ZodString>;
|
|
3698
|
+
eventAction: z.ZodOptional<z.ZodString>;
|
|
3699
|
+
jobUrl: z.ZodOptional<z.ZodString>;
|
|
3700
|
+
runUrl: z.ZodOptional<z.ZodString>;
|
|
3701
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3702
|
+
}, z.core.$strip>;
|
|
3703
|
+
type CiRunContext = z.infer<typeof CiRunContextSchema>;
|
|
3704
|
+
declare const CreateCiRunRequestSchema: z.ZodObject<{
|
|
3705
|
+
agent: z.ZodString;
|
|
3706
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3707
|
+
prompt: z.ZodString;
|
|
3708
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3709
|
+
repo: z.ZodObject<{
|
|
3710
|
+
gitServerId: z.ZodString;
|
|
3711
|
+
serverRepoId: z.ZodOptional<z.ZodString>;
|
|
3712
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
3713
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3714
|
+
}, z.core.$strip>;
|
|
3715
|
+
git: z.ZodObject<{
|
|
3716
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
3717
|
+
sha: z.ZodOptional<z.ZodString>;
|
|
3718
|
+
baseRef: z.ZodOptional<z.ZodString>;
|
|
3719
|
+
headRef: z.ZodOptional<z.ZodString>;
|
|
3720
|
+
prNumber: z.ZodOptional<z.ZodNumber>;
|
|
3721
|
+
issueNumber: z.ZodOptional<z.ZodNumber>;
|
|
3722
|
+
}, z.core.$strip>;
|
|
3723
|
+
execution: z.ZodObject<{
|
|
3724
|
+
capabilityProfile: z.ZodOptional<z.ZodString>;
|
|
3725
|
+
runnerId: z.ZodOptional<z.ZodString>;
|
|
3726
|
+
}, z.core.$strip>;
|
|
3727
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
3728
|
+
ciProvider: z.ZodEnum<{
|
|
3729
|
+
github_actions: "github_actions";
|
|
3730
|
+
gitlab_ci: "gitlab_ci";
|
|
3731
|
+
}>;
|
|
3732
|
+
eventName: z.ZodOptional<z.ZodString>;
|
|
3733
|
+
eventAction: z.ZodOptional<z.ZodString>;
|
|
3734
|
+
jobUrl: z.ZodOptional<z.ZodString>;
|
|
3735
|
+
runUrl: z.ZodOptional<z.ZodString>;
|
|
3736
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3737
|
+
}, z.core.$strip>>;
|
|
3738
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3739
|
+
}, z.core.$strip>;
|
|
3740
|
+
type CreateCiRunRequest = z.infer<typeof CreateCiRunRequestSchema>;
|
|
3741
|
+
declare const CreateCiRunResponseSchema: z.ZodObject<{
|
|
3742
|
+
runId: z.ZodString;
|
|
3743
|
+
status: z.ZodEnum<{
|
|
3744
|
+
running: "running";
|
|
3745
|
+
failed: "failed";
|
|
3746
|
+
completed: "completed";
|
|
3747
|
+
queued: "queued";
|
|
3748
|
+
}>;
|
|
3749
|
+
detailUrl: z.ZodString;
|
|
3750
|
+
}, z.core.$strip>;
|
|
3751
|
+
type CreateCiRunResponse = z.infer<typeof CreateCiRunResponseSchema>;
|
|
3752
|
+
declare const CiRunStatusResponseSchema: z.ZodObject<{
|
|
3753
|
+
runId: z.ZodString;
|
|
3754
|
+
status: z.ZodEnum<{
|
|
3755
|
+
running: "running";
|
|
3756
|
+
failed: "failed";
|
|
3757
|
+
completed: "completed";
|
|
3758
|
+
queued: "queued";
|
|
3759
|
+
canceled: "canceled";
|
|
3760
|
+
timeout: "timeout";
|
|
3761
|
+
}>;
|
|
3762
|
+
result: z.ZodString;
|
|
3763
|
+
structuredOutput: z.ZodOptional<z.ZodUnknown>;
|
|
3764
|
+
detailUrl: z.ZodString;
|
|
3765
|
+
}, z.core.$strip>;
|
|
3766
|
+
type CiRunStatusResponse = z.infer<typeof CiRunStatusResponseSchema>;
|
|
3767
|
+
declare const CancelCiRunResponseSchema: z.ZodObject<{
|
|
3768
|
+
message: z.ZodString;
|
|
3769
|
+
runId: z.ZodString;
|
|
3770
|
+
}, z.core.$strip>;
|
|
3771
|
+
type CancelCiRunResponse = z.infer<typeof CancelCiRunResponseSchema>;
|
|
3772
|
+
|
|
3773
|
+
declare const ApiKeySchema: z.ZodObject<{
|
|
3774
|
+
id: z.ZodString;
|
|
3775
|
+
name: z.ZodString;
|
|
3776
|
+
keyPrefix: z.ZodString;
|
|
3777
|
+
enabled: z.ZodBoolean;
|
|
3778
|
+
quota: z.ZodNullable<z.ZodNumber>;
|
|
3779
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
3780
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
3781
|
+
createdAt: z.ZodString;
|
|
3782
|
+
}, z.core.$strip>;
|
|
3783
|
+
type ApiKey = z.infer<typeof ApiKeySchema>;
|
|
3784
|
+
declare const CreateApiKeyRequestSchema: z.ZodObject<{
|
|
3785
|
+
name: z.ZodString;
|
|
3786
|
+
expiresInDays: z.ZodOptional<z.ZodNumber>;
|
|
3787
|
+
}, z.core.$strip>;
|
|
3788
|
+
type CreateApiKeyRequest = z.infer<typeof CreateApiKeyRequestSchema>;
|
|
3789
|
+
declare const CreateApiKeyResponseSchema: z.ZodObject<{
|
|
3790
|
+
apiKey: z.ZodString;
|
|
3791
|
+
id: z.ZodString;
|
|
3792
|
+
name: z.ZodString;
|
|
3793
|
+
keyPrefix: z.ZodString;
|
|
3794
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
3795
|
+
createdAt: z.ZodString;
|
|
3796
|
+
}, z.core.$strip>;
|
|
3797
|
+
type CreateApiKeyResponse = z.infer<typeof CreateApiKeyResponseSchema>;
|
|
3798
|
+
declare const ListApiKeysQuerySchema: z.ZodObject<{
|
|
3799
|
+
includeDisabled: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<boolean, string | undefined>>;
|
|
3800
|
+
page: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<number, string | undefined>>;
|
|
3801
|
+
limit: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<number, string | undefined>>;
|
|
3802
|
+
}, z.core.$strip>;
|
|
3803
|
+
type ListApiKeysQuery = z.infer<typeof ListApiKeysQuerySchema>;
|
|
3804
|
+
declare const ListApiKeysResponseSchema: z.ZodObject<{
|
|
3805
|
+
items: z.ZodArray<z.ZodObject<{
|
|
3806
|
+
id: z.ZodString;
|
|
3807
|
+
name: z.ZodString;
|
|
3808
|
+
keyPrefix: z.ZodString;
|
|
3809
|
+
enabled: z.ZodBoolean;
|
|
3810
|
+
quota: z.ZodNullable<z.ZodNumber>;
|
|
3811
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
3812
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
3813
|
+
createdAt: z.ZodString;
|
|
3814
|
+
}, z.core.$strip>>;
|
|
3815
|
+
total: z.ZodNumber;
|
|
3816
|
+
page: z.ZodNumber;
|
|
3817
|
+
limit: z.ZodNumber;
|
|
3818
|
+
totalPages: z.ZodNumber;
|
|
3819
|
+
}, z.core.$strip>;
|
|
3820
|
+
type ListApiKeysResponse = z.infer<typeof ListApiKeysResponseSchema>;
|
|
3821
|
+
declare const UpdateApiKeyRequestSchema: z.ZodObject<{
|
|
3822
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3823
|
+
expiresInDays: z.ZodOptional<z.ZodNumber>;
|
|
3824
|
+
}, z.core.$strip>;
|
|
3825
|
+
type UpdateApiKeyRequest = z.infer<typeof UpdateApiKeyRequestSchema>;
|
|
3826
|
+
declare const ToggleApiKeyRequestSchema: z.ZodObject<{
|
|
3827
|
+
enabled: z.ZodBoolean;
|
|
3828
|
+
}, z.core.$strip>;
|
|
3829
|
+
type ToggleApiKeyRequest = z.infer<typeof ToggleApiKeyRequestSchema>;
|
|
3830
|
+
declare const DeleteApiKeyResponseSchema: z.ZodObject<{
|
|
3831
|
+
success: z.ZodLiteral<true>;
|
|
3832
|
+
}, z.core.$strip>;
|
|
3833
|
+
type DeleteApiKeyResponse = z.infer<typeof DeleteApiKeyResponseSchema>;
|
|
3834
|
+
|
|
3639
3835
|
type ClientType = 'user' | 'worker' | 'machine';
|
|
3640
3836
|
interface AuthPayload {
|
|
3641
3837
|
token: string;
|
|
@@ -3894,5 +4090,5 @@ declare function detectPreview(fs: FileSystemAdapter): Promise<PreviewMetadata |
|
|
|
3894
4090
|
*/
|
|
3895
4091
|
declare function decodeGitPath(rawPath: string): string;
|
|
3896
4092
|
|
|
3897
|
-
export { AcceptPrivateCloudInviteRequestSchema, AcceptPrivateCloudInviteResponseSchema, AddChatMemberRequestSchema, AddChatMemberResponseSchema, AgentCustomConfigSchema, AgentPermissionsSchema, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApprovalStatusResponseSchema, BillingStatsResponseSchema, BranchSchema, CONFIG_FILES, CancelSubscriptionResponseSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudSchema, CompanionEnsureResponseSchema, CompanionWorkspaceFileSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, ContactCandidateSchema, ContactSchema, ContactTargetTypeSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCheckoutRequestSchema, CreateCheckoutResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateContactRequestSchema, CreateContactResponseSchema, CreateDirectRechargeCheckoutRequestSchema, CreateDirectRechargeCheckoutResponseSchema, CreateDraftAgentRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreatePortalRequestSchema, CreatePortalResponseSchema, CreatePrivateCloudInviteRequestSchema, CreatePrivateCloudInviteResponseSchema, CreatePrivateCloudRequestSchema, CreatePrivateCloudResponseSchema, CreateSubscriptionPlanRequestSchema, CreditsBucketSchema, CreditsPackageSchema, DateSchema, DeleteAgentResponseSchema, DeleteContactResponseSchema, DeleteOAuthServerResponseSchema, DevCreateUserRequestSchema, DevCreateUserResponseSchema, DisplayConfigKeysSchema, DisplayConfigSchema, DraftAgentConfigSchema, DraftAgentSchema, ENTRY_FILE_PATTERNS, EnsureRepoChatRequestSchema, EnsureRepoChatResponseSchema, EnvironmentVariableSchema, FileItemSchema, FileStatsSchema, FileVisibilitySchema, GetAgentGitUrlResponseSchema, GetAgentResponseSchema, GetChatResponseSchema, GetEnvironmentVariablesResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetPrivateCloudRunnerSecretResponseSchema, GetReferenceQuerySchema, GetRepositoryResponseSchema, GetSubscriptionResponseSchema, GetSubscriptionTiersResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GetUserAgentsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerSchema, IGNORED_DIRECTORIES, IdSchema, ListAgentsResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsQuerySchema, ListChatsResponseSchema, ListContactsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListPrivateCloudMembersResponseSchema, ListPrivateCloudsResponseSchema, ListReferencesQuerySchema, ListReferencesResponseSchema, ListRepositoriesResponseSchema, ListSubscriptionPlansResponseSchema, ListTransactionsQuerySchema, ListTransactionsResponseSchema, ListUserInboxResponseSchema, LocalMachineSchema, LogoutResponseSchema, MachineApprovalRequestSchema, MachineApprovalStatusQuerySchema, MachineAuthAuthorizedResponseSchema, MachineAuthRequestSchema, MachineAuthResultQuerySchema, MachineUnbindRequestSchema, MachineUnbindResponseSchema, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PreviewMetadata, PrivateCloudEntitlementSchema, PrivateCloudInviteSchema, PrivateCloudMemberSchema, PrivateCloudSummarySchema, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, RELEVANT_DEPENDENCIES, RTC_CHUNK_HEADER_SIZE, RechargeResponseSchema, RegisterCompanionRequestSchema, RegisterCompanionResponseSchema, RemoveChatMemberRequestSchema, RemovePrivateCloudMemberResponseSchema, RepositoryActorIdentitySchema, RepositoryReferenceCommentSchema, RepositoryReferenceCommentsResponseSchema, RepositoryReferenceDiffSchema, RepositoryReferenceKindSchema, RepositoryReferenceListItemSchema, RepositoryReferenceSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResolveUserInboxItemResponseSchema, RtcChunkFlags, STATIC_FILE_EXTENSIONS, SearchContactCandidatesQuerySchema, SearchContactCandidatesResponseSchema, SenderTypeSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, SimpleSuccessSchema, StatsQuerySchema, SubscriptionPlanSchema, SubscriptionSchema, SubscriptionTierSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineModelsRequestSchema, SyncMachineModelsResponseSchema, SyncMachineRequestSchema, TaskSharePermissionsSchema, TaskTransactionsResponseSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateDraftAgentRequestSchema, UpdateDraftAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateSecretRequestSchema, UpdateSecretResponseSchema, UpdateSubscriptionPlanRequestSchema, UpdateSubscriptionRequestSchema, UpdateSubscriptionResponseSchema, UpdateUserProfileRequestSchema, UpdateUserProfileResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserInboxItemSchema, UserInboxStatusSchema, UserInboxSubjectTypeSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, ValidateMachineResponseSchema, buildRtcChunkFrame, createKeyPair, createKeyPairWithUit8Array, createTaskEncryptionPayload, decodeBase64, decodeGitPath, decodeRtcChunkHeader, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, detectPreview, encodeBase64, encodeBase64Url, encodeRtcChunkHeader, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getRandomBytes, machineAuth, splitRtcChunkFrame, userAuth, workerAuth };
|
|
3898
|
-
export type { AcceptPrivateCloudInviteRequest, AcceptPrivateCloudInviteResponse, AddChatMemberRequest, AddChatMemberResponse, Agent, AgentCustomConfig, AgentPermissions, AgentType, ApiError, ApprovalStatusResponse, AuthPayload, BillingStatsResponse, Branch, CancelSubscriptionResponse, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, CompanionEnsureResponse, CompanionWorkspaceFile, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, Contact, ContactCandidate, ContactTargetType, CreateAgentRequest, CreateAgentResponse, CreateChatRequest, CreateChatResponse, CreateCheckoutRequest, CreateCheckoutResponse, CreateCloudRequest, CreateCloudResponse, CreateContactRequest, CreateContactResponse, CreateDirectRechargeCheckoutRequest, CreateDirectRechargeCheckoutResponse, CreateDraftAgentRequest, CreateOAuthServerRequest, CreateOAuthServerResponse, CreatePortalRequest, CreatePortalResponse, CreatePrivateCloudInviteRequest, CreatePrivateCloudInviteResponse, CreatePrivateCloudRequest, CreatePrivateCloudResponse, CreateSubscriptionPlanRequest, CreditsBucket, CreditsPackage, DeleteAgentResponse, DeleteContactResponse, DeleteOAuthServerResponse, DevCreateUserRequest, DevCreateUserResponse, DisplayConfig, DisplayConfigKeys, DraftAgent, DraftAgentConfig, EnsureRepoChatRequest, EnsureRepoChatResponse, EnvironmentVariable, FileItem, FileStats, FileSystemAdapter, FileVisibility, GetAgentGitUrlResponse, GetAgentResponse, GetChatResponse, GetEnvironmentVariablesResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetPrivateCloudRunnerSecretResponse, GetReferenceQuery, GetRepositoryResponse, GetSubscriptionResponse, GetSubscriptionTiersResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GetUserAgentsResponse, GitHubIssue, GitHubIssueListItem, GitServer, ListAgentsResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsQuery, ListChatsResponse, ListContactsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListPrivateCloudMembersResponse, ListPrivateCloudsResponse, ListReferencesQuery, ListReferencesResponse, ListRepositoriesResponse, ListSubscriptionPlansResponse, ListTransactionsQuery, ListTransactionsResponse, ListUserInboxResponse, LocalMachine, LogoutResponse, MachineApprovalRequest, MachineApprovalStatusQuery, MachineAuthAuthorizedResponse, MachineAuthRequest, MachineAuthResultQuery, MachineEncryptionKey, MachineUnbindRequest, MachineUnbindResponse, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PrivateCloudEntitlement, PrivateCloudInvite, PrivateCloudMember, PrivateCloudSummary, PublishDraftAgentRequest, PublishDraftAgentResponse, RechargeResponse, RegisterCompanionRequest, RegisterCompanionResponse, RemoveChatMemberRequest, RemovePrivateCloudMemberResponse, Repository, RepositoryActorIdentity, RepositoryReference, RepositoryReferenceComment, RepositoryReferenceCommentsResponse, RepositoryReferenceDiff, RepositoryReferenceKind, RepositoryReferenceListItem, ResetSecretRequest, ResetSecretResponse, ResolveUserInboxItemResponse, RtcChunkFrame, RtcChunkHeader, RtcControlChannel, RtcControlMessage, SearchContactCandidatesQuery, SearchContactCandidatesResponse, SenderType, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, SimpleSuccess, StatsQuery, Subscription, SubscriptionPlan, SubscriptionTier, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineModelsRequest, SyncMachineModelsResponse, SyncMachineRequest, TaskEncryptionPayload, TaskSharePermissions, TaskTransactionsResponse, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UpdateAgentRequest, UpdateAgentResponse, UpdateDraftAgentRequest, UpdateDraftAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateSecretRequest, UpdateSecretResponse, UpdateSubscriptionPlanRequest, UpdateSubscriptionRequest, UpdateSubscriptionResponse, UpdateUserProfileRequest, UpdateUserProfileResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserInboxItem, UserInboxStatus, UserInboxSubjectType, UserProfileResponse, UserWithOAuthAccounts, ValidateMachineResponse };
|
|
4093
|
+
export { AcceptPrivateCloudInviteRequestSchema, AcceptPrivateCloudInviteResponseSchema, AddChatMemberRequestSchema, AddChatMemberResponseSchema, AgentCustomConfigSchema, AgentPermissionsSchema, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiKeySchema, ApprovalStatusResponseSchema, BillingStatsResponseSchema, BranchSchema, CONFIG_FILES, CancelCiRunResponseSchema, CancelSubscriptionResponseSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, CiProviderSchema, CiRunContextSchema, CiRunExecutionSchema, CiRunGitSchema, CiRunRepoSchema, CiRunStatusResponseSchema, CiRunStatusSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudSchema, CompanionEnsureResponseSchema, CompanionWorkspaceFileSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, ContactCandidateSchema, ContactSchema, ContactTargetTypeSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateApiKeyRequestSchema, CreateApiKeyResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCheckoutRequestSchema, CreateCheckoutResponseSchema, CreateCiRunRequestSchema, CreateCiRunResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateContactRequestSchema, CreateContactResponseSchema, CreateDirectRechargeCheckoutRequestSchema, CreateDirectRechargeCheckoutResponseSchema, CreateDraftAgentRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreatePortalRequestSchema, CreatePortalResponseSchema, CreatePrivateCloudInviteRequestSchema, CreatePrivateCloudInviteResponseSchema, CreatePrivateCloudRequestSchema, CreatePrivateCloudResponseSchema, CreateSubscriptionPlanRequestSchema, CreditsBucketSchema, CreditsPackageSchema, DateSchema, DeleteAgentResponseSchema, DeleteApiKeyResponseSchema, DeleteContactResponseSchema, DeleteOAuthServerResponseSchema, DevCreateUserRequestSchema, DevCreateUserResponseSchema, DisplayConfigKeysSchema, DisplayConfigSchema, DraftAgentConfigSchema, DraftAgentSchema, ENTRY_FILE_PATTERNS, EnsureRepoChatRequestSchema, EnsureRepoChatResponseSchema, EnvironmentVariableSchema, FileItemSchema, FileStatsSchema, FileVisibilitySchema, GetAgentGitUrlResponseSchema, GetAgentResponseSchema, GetChatResponseSchema, GetEnvironmentVariablesResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetPrivateCloudRunnerSecretResponseSchema, GetReferenceQuerySchema, GetRepositoryResponseSchema, GetSubscriptionResponseSchema, GetSubscriptionTiersResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GetUserAgentsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerSchema, IGNORED_DIRECTORIES, IdSchema, JsonSchemaDocumentSchema, ListAgentsResponseSchema, ListApiKeysQuerySchema, ListApiKeysResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsQuerySchema, ListChatsResponseSchema, ListContactsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListPrivateCloudMembersResponseSchema, ListPrivateCloudsResponseSchema, ListReferencesQuerySchema, ListReferencesResponseSchema, ListRepositoriesResponseSchema, ListSubscriptionPlansResponseSchema, ListTransactionsQuerySchema, ListTransactionsResponseSchema, ListUserInboxResponseSchema, LocalMachineSchema, LogoutResponseSchema, MachineApprovalRequestSchema, MachineApprovalStatusQuerySchema, MachineAuthAuthorizedResponseSchema, MachineAuthRequestSchema, MachineAuthResultQuerySchema, MachineUnbindRequestSchema, MachineUnbindResponseSchema, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PreviewMetadata, PrivateCloudEntitlementSchema, PrivateCloudInviteSchema, PrivateCloudMemberSchema, PrivateCloudSummarySchema, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, RELEVANT_DEPENDENCIES, RTC_CHUNK_HEADER_SIZE, RechargeResponseSchema, RegisterCompanionRequestSchema, RegisterCompanionResponseSchema, RemoveChatMemberRequestSchema, RemovePrivateCloudMemberResponseSchema, RepositoryActorIdentitySchema, RepositoryReferenceCommentSchema, RepositoryReferenceCommentsResponseSchema, RepositoryReferenceDiffSchema, RepositoryReferenceKindSchema, RepositoryReferenceListItemSchema, RepositoryReferenceSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResolveUserInboxItemResponseSchema, RtcChunkFlags, STATIC_FILE_EXTENSIONS, SearchContactCandidatesQuerySchema, SearchContactCandidatesResponseSchema, SenderTypeSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, SimpleSuccessSchema, StatsQuerySchema, StripeCheckoutClientSchema, SubscriptionPlanSchema, SubscriptionSchema, SubscriptionTierSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineModelsRequestSchema, SyncMachineModelsResponseSchema, SyncMachineRequestSchema, TaskSharePermissionsSchema, TaskTransactionsResponseSchema, ToggleApiKeyRequestSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateApiKeyRequestSchema, UpdateDraftAgentRequestSchema, UpdateDraftAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateSecretRequestSchema, UpdateSecretResponseSchema, UpdateSubscriptionPlanRequestSchema, UpdateSubscriptionRequestSchema, UpdateSubscriptionResponseSchema, UpdateUserProfileRequestSchema, UpdateUserProfileResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserInboxItemSchema, UserInboxStatusSchema, UserInboxSubjectTypeSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, ValidateMachineResponseSchema, buildRtcChunkFrame, createKeyPair, createKeyPairWithUit8Array, createTaskEncryptionPayload, decodeBase64, decodeGitPath, decodeRtcChunkHeader, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, detectPreview, encodeBase64, encodeBase64Url, encodeRtcChunkHeader, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getRandomBytes, machineAuth, splitRtcChunkFrame, userAuth, workerAuth };
|
|
4094
|
+
export type { AcceptPrivateCloudInviteRequest, AcceptPrivateCloudInviteResponse, AddChatMemberRequest, AddChatMemberResponse, Agent, AgentCustomConfig, AgentPermissions, AgentType, ApiError, ApiKey, ApprovalStatusResponse, AuthPayload, BillingStatsResponse, Branch, CancelCiRunResponse, CancelSubscriptionResponse, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, CiProvider, CiRunContext, CiRunExecution, CiRunGit, CiRunRepo, CiRunStatus, CiRunStatusResponse, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, CompanionEnsureResponse, CompanionWorkspaceFile, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, Contact, ContactCandidate, ContactTargetType, CreateAgentRequest, CreateAgentResponse, CreateApiKeyRequest, CreateApiKeyResponse, CreateChatRequest, CreateChatResponse, CreateCheckoutRequest, CreateCheckoutResponse, CreateCiRunRequest, CreateCiRunResponse, CreateCloudRequest, CreateCloudResponse, CreateContactRequest, CreateContactResponse, CreateDirectRechargeCheckoutRequest, CreateDirectRechargeCheckoutResponse, CreateDraftAgentRequest, CreateOAuthServerRequest, CreateOAuthServerResponse, CreatePortalRequest, CreatePortalResponse, CreatePrivateCloudInviteRequest, CreatePrivateCloudInviteResponse, CreatePrivateCloudRequest, CreatePrivateCloudResponse, CreateSubscriptionPlanRequest, CreditsBucket, CreditsPackage, DeleteAgentResponse, DeleteApiKeyResponse, DeleteContactResponse, DeleteOAuthServerResponse, DevCreateUserRequest, DevCreateUserResponse, DisplayConfig, DisplayConfigKeys, DraftAgent, DraftAgentConfig, EnsureRepoChatRequest, EnsureRepoChatResponse, EnvironmentVariable, FileItem, FileStats, FileSystemAdapter, FileVisibility, GetAgentGitUrlResponse, GetAgentResponse, GetChatResponse, GetEnvironmentVariablesResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetPrivateCloudRunnerSecretResponse, GetReferenceQuery, GetRepositoryResponse, GetSubscriptionResponse, GetSubscriptionTiersResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GetUserAgentsResponse, GitHubIssue, GitHubIssueListItem, GitServer, JsonSchemaDocument, ListAgentsResponse, ListApiKeysQuery, ListApiKeysResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsQuery, ListChatsResponse, ListContactsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListPrivateCloudMembersResponse, ListPrivateCloudsResponse, ListReferencesQuery, ListReferencesResponse, ListRepositoriesResponse, ListSubscriptionPlansResponse, ListTransactionsQuery, ListTransactionsResponse, ListUserInboxResponse, LocalMachine, LogoutResponse, MachineApprovalRequest, MachineApprovalStatusQuery, MachineAuthAuthorizedResponse, MachineAuthRequest, MachineAuthResultQuery, MachineEncryptionKey, MachineUnbindRequest, MachineUnbindResponse, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PrivateCloudEntitlement, PrivateCloudInvite, PrivateCloudMember, PrivateCloudSummary, PublishDraftAgentRequest, PublishDraftAgentResponse, RechargeResponse, RegisterCompanionRequest, RegisterCompanionResponse, RemoveChatMemberRequest, RemovePrivateCloudMemberResponse, Repository, RepositoryActorIdentity, RepositoryReference, RepositoryReferenceComment, RepositoryReferenceCommentsResponse, RepositoryReferenceDiff, RepositoryReferenceKind, RepositoryReferenceListItem, ResetSecretRequest, ResetSecretResponse, ResolveUserInboxItemResponse, RtcChunkFrame, RtcChunkHeader, RtcControlChannel, RtcControlMessage, SearchContactCandidatesQuery, SearchContactCandidatesResponse, SenderType, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, SimpleSuccess, StatsQuery, StripeCheckoutClient, Subscription, SubscriptionPlan, SubscriptionTier, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineModelsRequest, SyncMachineModelsResponse, SyncMachineRequest, TaskEncryptionPayload, TaskSharePermissions, TaskTransactionsResponse, ToggleApiKeyRequest, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UpdateAgentRequest, UpdateAgentResponse, UpdateApiKeyRequest, UpdateDraftAgentRequest, UpdateDraftAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateSecretRequest, UpdateSecretResponse, UpdateSubscriptionPlanRequest, UpdateSubscriptionRequest, UpdateSubscriptionResponse, UpdateUserProfileRequest, UpdateUserProfileResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserInboxItem, UserInboxStatus, UserInboxSubjectType, UserProfileResponse, UserWithOAuthAccounts, ValidateMachineResponse };
|
package/dist/node.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { dC as LoadAgentOptions, dA as AgentConfig, dB as ValidationResult, dx as FrameworkType } from './errors-
|
|
2
|
-
export { dK as AgentConfigValidationError, dt as AgentContext, dI as AgentError, dM as AgentLoadError, dy as AgentMetadata, dG as AgentMetadataSchema, dJ as AgentNotFoundError, du as AgentrixContext, dz as ClaudeAgentConfig, dH as ClaudeConfigSchema, dF as FRAMEWORK_TYPES, dL as FrameworkNotSupportedError, dE as HookFactory, dN as MissingAgentFileError, dD as RepositoryInitHookInput, dw as getAgentContext, dv as setAgentContext } from './errors-
|
|
1
|
+
import { dC as LoadAgentOptions, dA as AgentConfig, dB as ValidationResult, dx as FrameworkType } from './errors-B6LhjViV.cjs';
|
|
2
|
+
export { dK as AgentConfigValidationError, dt as AgentContext, dI as AgentError, dM as AgentLoadError, dy as AgentMetadata, dG as AgentMetadataSchema, dJ as AgentNotFoundError, du as AgentrixContext, dz as ClaudeAgentConfig, dH as ClaudeConfigSchema, dF as FRAMEWORK_TYPES, dL as FrameworkNotSupportedError, dE as HookFactory, dN as MissingAgentFileError, dD as RepositoryInitHookInput, dw as getAgentContext, dv as setAgentContext } from './errors-B6LhjViV.cjs';
|
|
3
3
|
import '@anthropic-ai/claude-agent-sdk';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|