@agentrix/shared 2.4.4 → 2.4.5
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 +21 -1
- package/dist/index.d.cts +36 -11
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -168,6 +168,13 @@ const MachineApprovalRequestSchema = zod.z.object({
|
|
|
168
168
|
content: zod.z.string()
|
|
169
169
|
// Base64-encoded encrypted approval data
|
|
170
170
|
});
|
|
171
|
+
const MachineUnbindRequestSchema = zod.z.object({
|
|
172
|
+
machineId: zod.z.string()
|
|
173
|
+
});
|
|
174
|
+
const MachineUnbindResponseSchema = zod.z.object({
|
|
175
|
+
success: zod.z.literal(true),
|
|
176
|
+
disabledMachine: zod.z.boolean()
|
|
177
|
+
});
|
|
171
178
|
const CloudJoinRequestSchema = zod.z.object({
|
|
172
179
|
cloudId: zod.z.string()
|
|
173
180
|
});
|
|
@@ -903,6 +910,11 @@ const SyncCloudMachineResponseSchema = zod.z.object({
|
|
|
903
910
|
metadata: zod.z.string().nullable()
|
|
904
911
|
})
|
|
905
912
|
});
|
|
913
|
+
const ValidateMachineResponseSchema = zod.z.object({
|
|
914
|
+
success: zod.z.literal(true),
|
|
915
|
+
machineId: zod.z.string().optional(),
|
|
916
|
+
cloudId: zod.z.string().optional()
|
|
917
|
+
});
|
|
906
918
|
|
|
907
919
|
const FileVisibilitySchema = zod.z.enum(["public", "private"]);
|
|
908
920
|
const GetUploadUrlsRequestSchema = zod.z.object({
|
|
@@ -1140,13 +1152,17 @@ const CreditsPackageSchema = zod.z.object({
|
|
|
1140
1152
|
createdAt: DateSchema,
|
|
1141
1153
|
updatedAt: DateSchema
|
|
1142
1154
|
});
|
|
1155
|
+
const CreditsBucketSchema = zod.z.object({
|
|
1156
|
+
expiredAt: DateSchema,
|
|
1157
|
+
remaining: zod.z.number().nonnegative()
|
|
1158
|
+
});
|
|
1143
1159
|
const ListPackagesQuerySchema = zod.z.object({
|
|
1144
1160
|
limit: zod.z.string().optional().transform((v) => v ? parseInt(v) : 20),
|
|
1145
1161
|
offset: zod.z.string().optional().transform((v) => v ? parseInt(v) : 0),
|
|
1146
1162
|
activeOnly: zod.z.string().optional().transform((v) => v === "true")
|
|
1147
1163
|
});
|
|
1148
1164
|
const ListPackagesResponseSchema = zod.z.object({
|
|
1149
|
-
packages: zod.z.array(
|
|
1165
|
+
packages: zod.z.array(CreditsBucketSchema),
|
|
1150
1166
|
total: zod.z.number().int().nonnegative()
|
|
1151
1167
|
});
|
|
1152
1168
|
const ChargeTransactionSchema = zod.z.object({
|
|
@@ -2868,6 +2884,7 @@ exports.CreateSubscriptionPlanRequestSchema = CreateSubscriptionPlanRequestSchem
|
|
|
2868
2884
|
exports.CreateTaskShareResponseSchema = CreateTaskShareResponseSchema;
|
|
2869
2885
|
exports.CreateTaskShareSchema = CreateTaskShareSchema;
|
|
2870
2886
|
exports.CreditExhaustedEventSchema = CreditExhaustedEventSchema;
|
|
2887
|
+
exports.CreditsBucketSchema = CreditsBucketSchema;
|
|
2871
2888
|
exports.CreditsPackageSchema = CreditsPackageSchema;
|
|
2872
2889
|
exports.DaemonGitlabOperationSchema = DaemonGitlabOperationSchema;
|
|
2873
2890
|
exports.DaemonGitlabRequestSchema = DaemonGitlabRequestSchema;
|
|
@@ -2955,6 +2972,8 @@ exports.MachineAuthRequestSchema = MachineAuthRequestSchema;
|
|
|
2955
2972
|
exports.MachineAuthResultQuerySchema = MachineAuthResultQuerySchema;
|
|
2956
2973
|
exports.MachineRtcRequestSchema = MachineRtcRequestSchema;
|
|
2957
2974
|
exports.MachineRtcResponseSchema = MachineRtcResponseSchema;
|
|
2975
|
+
exports.MachineUnbindRequestSchema = MachineUnbindRequestSchema;
|
|
2976
|
+
exports.MachineUnbindResponseSchema = MachineUnbindResponseSchema;
|
|
2958
2977
|
exports.MergePullRequestEventSchema = MergePullRequestEventSchema;
|
|
2959
2978
|
exports.MergeRequestEventSchema = MergeRequestEventSchema;
|
|
2960
2979
|
exports.OAuthAccountInfoSchema = OAuthAccountInfoSchema;
|
|
@@ -3072,6 +3091,7 @@ exports.UserBalanceResponseSchema = UserBalanceResponseSchema;
|
|
|
3072
3091
|
exports.UserBasicInfoSchema = UserBasicInfoSchema;
|
|
3073
3092
|
exports.UserProfileResponseSchema = UserProfileResponseSchema;
|
|
3074
3093
|
exports.UserWithOAuthAccountsSchema = UserWithOAuthAccountsSchema;
|
|
3094
|
+
exports.ValidateMachineResponseSchema = ValidateMachineResponseSchema;
|
|
3075
3095
|
exports.WorkerAliveEventSchema = WorkerAliveEventSchema;
|
|
3076
3096
|
exports.WorkerExitSchema = WorkerExitSchema;
|
|
3077
3097
|
exports.WorkerInitializedSchema = WorkerInitializedSchema;
|
package/dist/index.d.cts
CHANGED
|
@@ -344,6 +344,21 @@ declare const MachineApprovalRequestSchema: z.ZodObject<{
|
|
|
344
344
|
content: z.ZodString;
|
|
345
345
|
}, z.core.$strip>;
|
|
346
346
|
type MachineApprovalRequest = z.infer<typeof MachineApprovalRequestSchema>;
|
|
347
|
+
/**
|
|
348
|
+
* POST /v1/auth/machine/unbind - Request schema
|
|
349
|
+
*/
|
|
350
|
+
declare const MachineUnbindRequestSchema: z.ZodObject<{
|
|
351
|
+
machineId: z.ZodString;
|
|
352
|
+
}, z.core.$strip>;
|
|
353
|
+
type MachineUnbindRequest = z.infer<typeof MachineUnbindRequestSchema>;
|
|
354
|
+
/**
|
|
355
|
+
* POST /v1/auth/machine/unbind - Response schema
|
|
356
|
+
*/
|
|
357
|
+
declare const MachineUnbindResponseSchema: z.ZodObject<{
|
|
358
|
+
success: z.ZodLiteral<true>;
|
|
359
|
+
disabledMachine: z.ZodBoolean;
|
|
360
|
+
}, z.core.$strip>;
|
|
361
|
+
type MachineUnbindResponse = z.infer<typeof MachineUnbindResponseSchema>;
|
|
347
362
|
/**
|
|
348
363
|
* POST /v1/auth/cloud - Request schema
|
|
349
364
|
*/
|
|
@@ -1785,6 +1800,15 @@ declare const SyncCloudMachineResponseSchema: z.ZodObject<{
|
|
|
1785
1800
|
}, z.core.$strip>;
|
|
1786
1801
|
}, z.core.$strip>;
|
|
1787
1802
|
type SyncCloudMachineResponse = z.infer<typeof SyncCloudMachineResponseSchema>;
|
|
1803
|
+
/**
|
|
1804
|
+
* GET /v1/machines/validate - Response schema
|
|
1805
|
+
*/
|
|
1806
|
+
declare const ValidateMachineResponseSchema: z.ZodObject<{
|
|
1807
|
+
success: z.ZodLiteral<true>;
|
|
1808
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
1809
|
+
cloudId: z.ZodOptional<z.ZodString>;
|
|
1810
|
+
}, z.core.$strip>;
|
|
1811
|
+
type ValidateMachineResponse = z.infer<typeof ValidateMachineResponseSchema>;
|
|
1788
1812
|
|
|
1789
1813
|
/**
|
|
1790
1814
|
* File HTTP request/response schemas
|
|
@@ -2357,7 +2381,7 @@ declare const UserBalanceResponseSchema: z.ZodObject<{
|
|
|
2357
2381
|
}, z.core.$strip>;
|
|
2358
2382
|
type UserBalanceResponse = z.infer<typeof UserBalanceResponseSchema>;
|
|
2359
2383
|
/**
|
|
2360
|
-
* Credits package information
|
|
2384
|
+
* Credits package information (kept for reference; not used in list response)
|
|
2361
2385
|
*/
|
|
2362
2386
|
declare const CreditsPackageSchema: z.ZodObject<{
|
|
2363
2387
|
id: z.ZodString;
|
|
@@ -2371,6 +2395,14 @@ declare const CreditsPackageSchema: z.ZodObject<{
|
|
|
2371
2395
|
updatedAt: z.ZodString;
|
|
2372
2396
|
}, z.core.$strip>;
|
|
2373
2397
|
type CreditsPackage = z.infer<typeof CreditsPackageSchema>;
|
|
2398
|
+
/**
|
|
2399
|
+
* Available credits bucket — aggregated by expiry date
|
|
2400
|
+
*/
|
|
2401
|
+
declare const CreditsBucketSchema: z.ZodObject<{
|
|
2402
|
+
expiredAt: z.ZodString;
|
|
2403
|
+
remaining: z.ZodNumber;
|
|
2404
|
+
}, z.core.$strip>;
|
|
2405
|
+
type CreditsBucket = z.infer<typeof CreditsBucketSchema>;
|
|
2374
2406
|
/**
|
|
2375
2407
|
* GET /v1/billing/packages - Query parameters
|
|
2376
2408
|
*/
|
|
@@ -2385,15 +2417,8 @@ type ListPackagesQuery = z.infer<typeof ListPackagesQuerySchema>;
|
|
|
2385
2417
|
*/
|
|
2386
2418
|
declare const ListPackagesResponseSchema: z.ZodObject<{
|
|
2387
2419
|
packages: z.ZodArray<z.ZodObject<{
|
|
2388
|
-
id: z.ZodString;
|
|
2389
|
-
userId: z.ZodString;
|
|
2390
|
-
name: z.ZodString;
|
|
2391
|
-
credit: z.ZodNumber;
|
|
2392
|
-
usage: z.ZodNumber;
|
|
2393
|
-
remaining: z.ZodNumber;
|
|
2394
2420
|
expiredAt: z.ZodString;
|
|
2395
|
-
|
|
2396
|
-
updatedAt: z.ZodString;
|
|
2421
|
+
remaining: z.ZodNumber;
|
|
2397
2422
|
}, z.core.$strip>>;
|
|
2398
2423
|
total: z.ZodNumber;
|
|
2399
2424
|
}, z.core.$strip>;
|
|
@@ -3238,5 +3263,5 @@ declare function detectPreview(fs: FileSystemAdapter): Promise<PreviewMetadata |
|
|
|
3238
3263
|
*/
|
|
3239
3264
|
declare function decodeGitPath(rawPath: string): string;
|
|
3240
3265
|
|
|
3241
|
-
export { 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, CreateDraftAgentRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreatePortalRequestSchema, CreatePortalResponseSchema, CreateSubscriptionPlanRequestSchema, CreditsPackageSchema, DateSchema, DeleteAgentResponseSchema, DeleteContactResponseSchema, DeleteOAuthServerResponseSchema, DevCreateUserRequestSchema, DevCreateUserResponseSchema, DisplayConfigKeysSchema, DisplayConfigSchema, DraftAgentConfigSchema, DraftAgentSchema, ENTRY_FILE_PATTERNS, EnvironmentVariableSchema, FileItemSchema, FileStatsSchema, FileVisibilitySchema, GetAgentResponseSchema, GetChatResponseSchema, GetEnvironmentVariablesResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, 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, ListReferencesQuerySchema, ListReferencesResponseSchema, ListRepositoriesResponseSchema, ListSubscriptionPlansResponseSchema, ListTransactionsQuerySchema, ListTransactionsResponseSchema, LocalMachineSchema, LogoutResponseSchema, MachineApprovalRequestSchema, MachineApprovalStatusQuerySchema, MachineAuthAuthorizedResponseSchema, MachineAuthRequestSchema, MachineAuthResultQuerySchema, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PreviewMetadata, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, RELEVANT_DEPENDENCIES, RTC_CHUNK_HEADER_SIZE, RechargeResponseSchema, RegisterCompanionRequestSchema, RegisterCompanionResponseSchema, RemoveChatMemberRequestSchema, RepositoryReferenceKindSchema, RepositoryReferenceListItemSchema, RepositoryReferenceSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, RtcChunkFlags, STATIC_FILE_EXTENSIONS, SearchContactCandidatesQuerySchema, SearchContactCandidatesResponseSchema, SenderTypeSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, SimpleSuccessSchema, StatsQuerySchema, SubscriptionPlanSchema, SubscriptionSchema, SubscriptionTierSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineRequestSchema, TaskSharePermissionsSchema, TaskTransactionsResponseSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateChatContextRequestSchema, UpdateChatContextResponseSchema, UpdateDraftAgentRequestSchema, UpdateDraftAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateSecretRequestSchema, UpdateSecretResponseSchema, UpdateSubscriptionPlanRequestSchema, UpdateSubscriptionRequestSchema, UpdateSubscriptionResponseSchema, UpdateUserProfileRequestSchema, UpdateUserProfileResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, 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 };
|
|
3242
|
-
export type { 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, CreateDraftAgentRequest, CreateOAuthServerRequest, CreateOAuthServerResponse, CreatePortalRequest, CreatePortalResponse, CreateSubscriptionPlanRequest, CreditsPackage, DeleteAgentResponse, DeleteContactResponse, DeleteOAuthServerResponse, DevCreateUserRequest, DevCreateUserResponse, DisplayConfig, DisplayConfigKeys, DraftAgent, DraftAgentConfig, EnvironmentVariable, FileItem, FileStats, FileSystemAdapter, FileVisibility, GetAgentResponse, GetChatResponse, GetEnvironmentVariablesResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, 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, ListReferencesQuery, ListReferencesResponse, ListRepositoriesResponse, ListSubscriptionPlansResponse, ListTransactionsQuery, ListTransactionsResponse, LocalMachine, LogoutResponse, MachineApprovalRequest, MachineApprovalStatusQuery, MachineAuthAuthorizedResponse, MachineAuthRequest, MachineAuthResultQuery, MachineEncryptionKey, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PublishDraftAgentRequest, PublishDraftAgentResponse, RechargeResponse, RegisterCompanionRequest, RegisterCompanionResponse, RemoveChatMemberRequest, Repository, RepositoryReference, RepositoryReferenceKind, RepositoryReferenceListItem, ResetSecretRequest, ResetSecretResponse, RtcChunkFrame, RtcChunkHeader, RtcControlChannel, RtcControlMessage, SearchContactCandidatesQuery, SearchContactCandidatesResponse, SenderType, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, SimpleSuccess, StatsQuery, Subscription, SubscriptionPlan, SubscriptionTier, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineRequest, TaskEncryptionPayload, TaskSharePermissions, TaskTransactionsResponse, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UpdateAgentRequest, UpdateAgentResponse, UpdateChatContextRequest, UpdateChatContextResponse, UpdateDraftAgentRequest, UpdateDraftAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateSecretRequest, UpdateSecretResponse, UpdateSubscriptionPlanRequest, UpdateSubscriptionRequest, UpdateSubscriptionResponse, UpdateUserProfileRequest, UpdateUserProfileResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserProfileResponse, UserWithOAuthAccounts };
|
|
3266
|
+
export { 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, CreateDraftAgentRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreatePortalRequestSchema, CreatePortalResponseSchema, CreateSubscriptionPlanRequestSchema, CreditsBucketSchema, CreditsPackageSchema, DateSchema, DeleteAgentResponseSchema, DeleteContactResponseSchema, DeleteOAuthServerResponseSchema, DevCreateUserRequestSchema, DevCreateUserResponseSchema, DisplayConfigKeysSchema, DisplayConfigSchema, DraftAgentConfigSchema, DraftAgentSchema, ENTRY_FILE_PATTERNS, EnvironmentVariableSchema, FileItemSchema, FileStatsSchema, FileVisibilitySchema, GetAgentResponseSchema, GetChatResponseSchema, GetEnvironmentVariablesResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, 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, ListReferencesQuerySchema, ListReferencesResponseSchema, ListRepositoriesResponseSchema, ListSubscriptionPlansResponseSchema, ListTransactionsQuerySchema, ListTransactionsResponseSchema, LocalMachineSchema, LogoutResponseSchema, MachineApprovalRequestSchema, MachineApprovalStatusQuerySchema, MachineAuthAuthorizedResponseSchema, MachineAuthRequestSchema, MachineAuthResultQuerySchema, MachineUnbindRequestSchema, MachineUnbindResponseSchema, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PreviewMetadata, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, RELEVANT_DEPENDENCIES, RTC_CHUNK_HEADER_SIZE, RechargeResponseSchema, RegisterCompanionRequestSchema, RegisterCompanionResponseSchema, RemoveChatMemberRequestSchema, RepositoryReferenceKindSchema, RepositoryReferenceListItemSchema, RepositoryReferenceSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, RtcChunkFlags, STATIC_FILE_EXTENSIONS, SearchContactCandidatesQuerySchema, SearchContactCandidatesResponseSchema, SenderTypeSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, SimpleSuccessSchema, StatsQuerySchema, SubscriptionPlanSchema, SubscriptionSchema, SubscriptionTierSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineRequestSchema, TaskSharePermissionsSchema, TaskTransactionsResponseSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateChatContextRequestSchema, UpdateChatContextResponseSchema, UpdateDraftAgentRequestSchema, UpdateDraftAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateSecretRequestSchema, UpdateSecretResponseSchema, UpdateSubscriptionPlanRequestSchema, UpdateSubscriptionRequestSchema, UpdateSubscriptionResponseSchema, UpdateUserProfileRequestSchema, UpdateUserProfileResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, 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 };
|
|
3267
|
+
export type { 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, CreateDraftAgentRequest, CreateOAuthServerRequest, CreateOAuthServerResponse, CreatePortalRequest, CreatePortalResponse, CreateSubscriptionPlanRequest, CreditsBucket, CreditsPackage, DeleteAgentResponse, DeleteContactResponse, DeleteOAuthServerResponse, DevCreateUserRequest, DevCreateUserResponse, DisplayConfig, DisplayConfigKeys, DraftAgent, DraftAgentConfig, EnvironmentVariable, FileItem, FileStats, FileSystemAdapter, FileVisibility, GetAgentResponse, GetChatResponse, GetEnvironmentVariablesResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, 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, ListReferencesQuery, ListReferencesResponse, ListRepositoriesResponse, ListSubscriptionPlansResponse, ListTransactionsQuery, ListTransactionsResponse, LocalMachine, LogoutResponse, MachineApprovalRequest, MachineApprovalStatusQuery, MachineAuthAuthorizedResponse, MachineAuthRequest, MachineAuthResultQuery, MachineEncryptionKey, MachineUnbindRequest, MachineUnbindResponse, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PublishDraftAgentRequest, PublishDraftAgentResponse, RechargeResponse, RegisterCompanionRequest, RegisterCompanionResponse, RemoveChatMemberRequest, Repository, RepositoryReference, RepositoryReferenceKind, RepositoryReferenceListItem, ResetSecretRequest, ResetSecretResponse, RtcChunkFrame, RtcChunkHeader, RtcControlChannel, RtcControlMessage, SearchContactCandidatesQuery, SearchContactCandidatesResponse, SenderType, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, SimpleSuccess, StatsQuery, Subscription, SubscriptionPlan, SubscriptionTier, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineRequest, TaskEncryptionPayload, TaskSharePermissions, TaskTransactionsResponse, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UpdateAgentRequest, UpdateAgentResponse, UpdateChatContextRequest, UpdateChatContextResponse, UpdateDraftAgentRequest, UpdateDraftAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateSecretRequest, UpdateSecretResponse, UpdateSubscriptionPlanRequest, UpdateSubscriptionRequest, UpdateSubscriptionResponse, UpdateUserProfileRequest, UpdateUserProfileResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserProfileResponse, UserWithOAuthAccounts, ValidateMachineResponse };
|