@agentrix/shared 2.10.0 → 2.13.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-B5CcMP8s.d.cts} +36 -5
- package/dist/gitlabWebhook.cjs +22 -0
- package/dist/gitlabWebhook.d.cts +8 -0
- package/dist/gitlabWebhook.mjs +19 -0
- package/dist/index.cjs +243 -4
- package/dist/index.d.cts +388 -4
- package/dist/node.cjs +302 -1
- package/dist/node.d.cts +77 -3
- package/package.json +6 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { P as PreviewMetadata } from './errors-
|
|
3
|
-
export { bx as ActiveAgent, bw as ActiveAgentSchema,
|
|
2
|
+
import { P as PreviewMetadata } from './errors-B5CcMP8s.cjs';
|
|
3
|
+
export { bx as ActiveAgent, bw as ActiveAgentSchema, dC as AgentConfig, dM as AgentConfigValidationError, dv as AgentContext, dK as AgentError, dO as AgentLoadError, dA as AgentMetadata, dI as AgentMetadataSchema, dL as AgentNotFoundError, dw 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, cX as AssociateRepoEventData, cU 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, dB as ClaudeAgentConfig, dJ as ClaudeConfigSchema, b0 as CompanionHeartbeatMessage, d7 as CompanionHeartbeatRequestData, d6 as CompanionHeartbeatRequestSchema, d9 as CompanionHeartbeatResponseData, d8 as CompanionHeartbeatResponseSchema, db as CompanionInitRequestData, da as CompanionInitRequestSchema, dd as CompanionInitResponseData, dc 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, d1 as DaemonGitlabOperation, d0 as DaemonGitlabOperationSchema, d3 as DaemonGitlabRequestEventData, d2 as DaemonGitlabRequestSchema, d5 as DaemonGitlabResponseEventData, d4 as DaemonGitlabResponseSchema, cT as DeployAgentCompleteEventData, cS as DeployAgentCompleteEventSchema, cR as DeployAgentEventData, cQ as DeployAgentEventSchema, f as EnsureIssueRootTaskRequest, E as EnsureIssueRootTaskRequestSchema, j as EnsureIssueRootTaskResponse, i as EnsureIssueRootTaskResponseSchema, bf as EventAckData, be as EventAckSchema, dg as EventData, dl as EventMap, dm as EventName, dn as EventSchemaMap, dH as FRAMEWORK_TYPES, _ as FillEventsRequest, Z as FillEventsRequestSchema, $ as FillEventsResponse, aN as FindTaskByAgentRequest, aM as FindTaskByAgentRequestSchema, aP as FindTaskByAgentResponse, aO as FindTaskByAgentResponseSchema, dN as FrameworkNotSupportedError, dz as FrameworkType, az as GetTaskSessionResponse, ay as GetTaskSessionResponseSchema, dG 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, dE as LoadAgentOptions, bl as MachineAliveEventData, bk as MachineAliveEventSchema, co as MachineRtcRequestEventData, cn as MachineRtcRequestSchema, cq as MachineRtcResponseEventData, cp as MachineRtcResponseSchema, cP as MergePullRequestAck, cO as MergePullRequestEventData, cN as MergePullRequestEventSchema, cG as MergeRequestEventData, cF as MergeRequestEventSchema, dP as MissingAgentFileError, H as PermissionResponseRequest, G as PermissionResponseRequestSchema, K as PermissionResponseResponse, J as PermissionResponseResponseSchema, cZ 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, dF as RepositoryInitHookInput, df as ResetTaskSessionEventData, de as ResetTaskSessionSchema, bU as ResumeTaskEventData, o as ResumeTaskRequest, R as ResumeTaskRequestSchema, q as ResumeTaskResponse, p as ResumeTaskResponseSchema, ds as RpcCallEventData, dr as RpcCallEventSchema, du as RpcResponseData, dt 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, di as SeqSyncRequestEventData, dh as SeqSyncRequestEventDataSchema, dk as SeqSyncResponseEventData, dj 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, cM as SubTaskAskUserEventData, cL as SubTaskAskUserEventSchema, b2 as SubTaskAskUserMessage, cK as SubTaskResultUpdatedEventData, cJ as SubTaskResultUpdatedEventSchema, aD as SubTaskSummary, aC as SubTaskSummarySchema, c$ as SystemMessageEventData, c_ as SystemMessageSchema, cY 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, cW as UpdateAgentInfoEventData, cV as UpdateAgentInfoEventSchema, cy as UpdateTaskAgentSessionIdEventData, cx as UpdateTaskAgentSessionIdEventSchema, am as UpdateTaskTitleRequest, al as UpdateTaskTitleRequestSchema, ao as UpdateTaskTitleResponse, an as UpdateTaskTitleResponseSchema, dD 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, dp 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, dy 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, dx as setAgentContext, s as startTaskSchema, A as stopTaskRequestSchema, w as workerExecutionModes, dq as workerTaskEvents } from './errors-B5CcMP8s.cjs';
|
|
4
4
|
import tweetnacl from 'tweetnacl';
|
|
5
5
|
import { SDKMessage } from '@anthropic-ai/claude-agent-sdk';
|
|
6
|
+
export { buildGitLabWebhookEndpointPath, buildGitLabWebhookUrl } from './gitlabWebhook.cjs';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* Common HTTP request/response types and utilities
|
|
@@ -2105,6 +2106,13 @@ declare const GitHubIssueListItemSchema: z.ZodObject<{
|
|
|
2105
2106
|
number: z.ZodNumber;
|
|
2106
2107
|
title: z.ZodString;
|
|
2107
2108
|
html_url: z.ZodString;
|
|
2109
|
+
labels: z.ZodArray<z.ZodString>;
|
|
2110
|
+
state: z.ZodEnum<{
|
|
2111
|
+
open: "open";
|
|
2112
|
+
closed: "closed";
|
|
2113
|
+
}>;
|
|
2114
|
+
created_at: z.ZodString;
|
|
2115
|
+
updated_at: z.ZodString;
|
|
2108
2116
|
}, z.core.$strip>;
|
|
2109
2117
|
type GitHubIssueListItem = z.infer<typeof GitHubIssueListItemSchema>;
|
|
2110
2118
|
/**
|
|
@@ -2115,6 +2123,13 @@ declare const GitHubIssueSchema: z.ZodObject<{
|
|
|
2115
2123
|
title: z.ZodString;
|
|
2116
2124
|
body: z.ZodNullable<z.ZodString>;
|
|
2117
2125
|
html_url: z.ZodString;
|
|
2126
|
+
labels: z.ZodArray<z.ZodString>;
|
|
2127
|
+
state: z.ZodEnum<{
|
|
2128
|
+
open: "open";
|
|
2129
|
+
closed: "closed";
|
|
2130
|
+
}>;
|
|
2131
|
+
created_at: z.ZodString;
|
|
2132
|
+
updated_at: z.ZodString;
|
|
2118
2133
|
author: z.ZodOptional<z.ZodString>;
|
|
2119
2134
|
authorIdentity: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
2120
2135
|
providerUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -2157,6 +2172,13 @@ declare const ListIssuesResponseSchema: z.ZodObject<{
|
|
|
2157
2172
|
number: z.ZodNumber;
|
|
2158
2173
|
title: z.ZodString;
|
|
2159
2174
|
html_url: z.ZodString;
|
|
2175
|
+
labels: z.ZodArray<z.ZodString>;
|
|
2176
|
+
state: z.ZodEnum<{
|
|
2177
|
+
open: "open";
|
|
2178
|
+
closed: "closed";
|
|
2179
|
+
}>;
|
|
2180
|
+
created_at: z.ZodString;
|
|
2181
|
+
updated_at: z.ZodString;
|
|
2160
2182
|
}, z.core.$strip>>;
|
|
2161
2183
|
total_count: z.ZodNumber;
|
|
2162
2184
|
}, z.core.$strip>;
|
|
@@ -2571,6 +2593,12 @@ type ListOAuthServersPublicResponse = z.infer<typeof ListOAuthServersPublicRespo
|
|
|
2571
2593
|
* Includes credits, packages, transactions, and recharge codes
|
|
2572
2594
|
*/
|
|
2573
2595
|
|
|
2596
|
+
declare const StripeCheckoutClientSchema: z.ZodEnum<{
|
|
2597
|
+
android: "android";
|
|
2598
|
+
ios: "ios";
|
|
2599
|
+
web: "web";
|
|
2600
|
+
}>;
|
|
2601
|
+
type StripeCheckoutClient = z.infer<typeof StripeCheckoutClientSchema>;
|
|
2574
2602
|
/**
|
|
2575
2603
|
* POST /v1/billing/recharge/:code - Response schema
|
|
2576
2604
|
*/
|
|
@@ -2587,6 +2615,11 @@ declare const CreateDirectRechargeCheckoutRequestSchema: z.ZodObject<{
|
|
|
2587
2615
|
successUrl: z.ZodString;
|
|
2588
2616
|
cancelUrl: z.ZodString;
|
|
2589
2617
|
amount: z.ZodNumber;
|
|
2618
|
+
client: z.ZodEnum<{
|
|
2619
|
+
android: "android";
|
|
2620
|
+
ios: "ios";
|
|
2621
|
+
web: "web";
|
|
2622
|
+
}>;
|
|
2590
2623
|
}, z.core.$strip>;
|
|
2591
2624
|
type CreateDirectRechargeCheckoutRequest = z.infer<typeof CreateDirectRechargeCheckoutRequestSchema>;
|
|
2592
2625
|
/**
|
|
@@ -2995,6 +3028,11 @@ declare const CreateCheckoutRequestSchema: z.ZodObject<{
|
|
|
2995
3028
|
priceId: z.ZodString;
|
|
2996
3029
|
successUrl: z.ZodString;
|
|
2997
3030
|
cancelUrl: z.ZodString;
|
|
3031
|
+
client: z.ZodEnum<{
|
|
3032
|
+
android: "android";
|
|
3033
|
+
ios: "ios";
|
|
3034
|
+
web: "web";
|
|
3035
|
+
}>;
|
|
2998
3036
|
}, z.core.$strip>;
|
|
2999
3037
|
type CreateCheckoutRequest = z.infer<typeof CreateCheckoutRequestSchema>;
|
|
3000
3038
|
/**
|
|
@@ -3636,6 +3674,352 @@ declare const ResolveUserInboxItemResponseSchema: z.ZodObject<{
|
|
|
3636
3674
|
}, z.core.$strip>;
|
|
3637
3675
|
type ResolveUserInboxItemResponse = z.infer<typeof ResolveUserInboxItemResponseSchema>;
|
|
3638
3676
|
|
|
3677
|
+
declare const CiProviderSchema: z.ZodEnum<{
|
|
3678
|
+
github_actions: "github_actions";
|
|
3679
|
+
gitlab_ci: "gitlab_ci";
|
|
3680
|
+
}>;
|
|
3681
|
+
type CiProvider = z.infer<typeof CiProviderSchema>;
|
|
3682
|
+
declare const JsonSchemaDocumentSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3683
|
+
type JsonSchemaDocument = z.infer<typeof JsonSchemaDocumentSchema>;
|
|
3684
|
+
declare const CiRunStatusSchema: z.ZodEnum<{
|
|
3685
|
+
running: "running";
|
|
3686
|
+
failed: "failed";
|
|
3687
|
+
completed: "completed";
|
|
3688
|
+
queued: "queued";
|
|
3689
|
+
canceled: "canceled";
|
|
3690
|
+
timeout: "timeout";
|
|
3691
|
+
}>;
|
|
3692
|
+
type CiRunStatus = z.infer<typeof CiRunStatusSchema>;
|
|
3693
|
+
declare const CiRunRepoSchema: z.ZodObject<{
|
|
3694
|
+
gitServerId: z.ZodString;
|
|
3695
|
+
serverRepoId: z.ZodOptional<z.ZodString>;
|
|
3696
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
3697
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3698
|
+
}, z.core.$strip>;
|
|
3699
|
+
type CiRunRepo = z.infer<typeof CiRunRepoSchema>;
|
|
3700
|
+
declare const CiRunGitSchema: z.ZodObject<{
|
|
3701
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
3702
|
+
sha: z.ZodOptional<z.ZodString>;
|
|
3703
|
+
baseRef: z.ZodOptional<z.ZodString>;
|
|
3704
|
+
headRef: z.ZodOptional<z.ZodString>;
|
|
3705
|
+
prNumber: z.ZodOptional<z.ZodNumber>;
|
|
3706
|
+
issueNumber: z.ZodOptional<z.ZodNumber>;
|
|
3707
|
+
}, z.core.$strip>;
|
|
3708
|
+
type CiRunGit = z.infer<typeof CiRunGitSchema>;
|
|
3709
|
+
declare const CiRunExecutionSchema: z.ZodObject<{
|
|
3710
|
+
capabilityProfile: z.ZodOptional<z.ZodString>;
|
|
3711
|
+
runnerId: z.ZodOptional<z.ZodString>;
|
|
3712
|
+
}, z.core.$strip>;
|
|
3713
|
+
type CiRunExecution = z.infer<typeof CiRunExecutionSchema>;
|
|
3714
|
+
declare const CiRunContextSchema: z.ZodObject<{
|
|
3715
|
+
ciProvider: z.ZodEnum<{
|
|
3716
|
+
github_actions: "github_actions";
|
|
3717
|
+
gitlab_ci: "gitlab_ci";
|
|
3718
|
+
}>;
|
|
3719
|
+
eventName: z.ZodOptional<z.ZodString>;
|
|
3720
|
+
eventAction: z.ZodOptional<z.ZodString>;
|
|
3721
|
+
jobUrl: z.ZodOptional<z.ZodString>;
|
|
3722
|
+
runUrl: z.ZodOptional<z.ZodString>;
|
|
3723
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3724
|
+
}, z.core.$strip>;
|
|
3725
|
+
type CiRunContext = z.infer<typeof CiRunContextSchema>;
|
|
3726
|
+
declare const CreateCiRunRequestSchema: z.ZodObject<{
|
|
3727
|
+
agent: z.ZodString;
|
|
3728
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3729
|
+
prompt: z.ZodString;
|
|
3730
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3731
|
+
repo: z.ZodObject<{
|
|
3732
|
+
gitServerId: z.ZodString;
|
|
3733
|
+
serverRepoId: z.ZodOptional<z.ZodString>;
|
|
3734
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
3735
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3736
|
+
}, z.core.$strip>;
|
|
3737
|
+
git: z.ZodObject<{
|
|
3738
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
3739
|
+
sha: z.ZodOptional<z.ZodString>;
|
|
3740
|
+
baseRef: z.ZodOptional<z.ZodString>;
|
|
3741
|
+
headRef: z.ZodOptional<z.ZodString>;
|
|
3742
|
+
prNumber: z.ZodOptional<z.ZodNumber>;
|
|
3743
|
+
issueNumber: z.ZodOptional<z.ZodNumber>;
|
|
3744
|
+
}, z.core.$strip>;
|
|
3745
|
+
execution: z.ZodObject<{
|
|
3746
|
+
capabilityProfile: z.ZodOptional<z.ZodString>;
|
|
3747
|
+
runnerId: z.ZodOptional<z.ZodString>;
|
|
3748
|
+
}, z.core.$strip>;
|
|
3749
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
3750
|
+
ciProvider: z.ZodEnum<{
|
|
3751
|
+
github_actions: "github_actions";
|
|
3752
|
+
gitlab_ci: "gitlab_ci";
|
|
3753
|
+
}>;
|
|
3754
|
+
eventName: z.ZodOptional<z.ZodString>;
|
|
3755
|
+
eventAction: z.ZodOptional<z.ZodString>;
|
|
3756
|
+
jobUrl: z.ZodOptional<z.ZodString>;
|
|
3757
|
+
runUrl: z.ZodOptional<z.ZodString>;
|
|
3758
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3759
|
+
}, z.core.$strip>>;
|
|
3760
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3761
|
+
}, z.core.$strip>;
|
|
3762
|
+
type CreateCiRunRequest = z.infer<typeof CreateCiRunRequestSchema>;
|
|
3763
|
+
declare const CreateCiRunResponseSchema: z.ZodObject<{
|
|
3764
|
+
runId: z.ZodString;
|
|
3765
|
+
status: z.ZodEnum<{
|
|
3766
|
+
running: "running";
|
|
3767
|
+
failed: "failed";
|
|
3768
|
+
completed: "completed";
|
|
3769
|
+
queued: "queued";
|
|
3770
|
+
}>;
|
|
3771
|
+
detailUrl: z.ZodString;
|
|
3772
|
+
}, z.core.$strip>;
|
|
3773
|
+
type CreateCiRunResponse = z.infer<typeof CreateCiRunResponseSchema>;
|
|
3774
|
+
declare const CiRunStatusResponseSchema: z.ZodObject<{
|
|
3775
|
+
runId: z.ZodString;
|
|
3776
|
+
status: z.ZodEnum<{
|
|
3777
|
+
running: "running";
|
|
3778
|
+
failed: "failed";
|
|
3779
|
+
completed: "completed";
|
|
3780
|
+
queued: "queued";
|
|
3781
|
+
canceled: "canceled";
|
|
3782
|
+
timeout: "timeout";
|
|
3783
|
+
}>;
|
|
3784
|
+
result: z.ZodString;
|
|
3785
|
+
structuredOutput: z.ZodOptional<z.ZodUnknown>;
|
|
3786
|
+
detailUrl: z.ZodString;
|
|
3787
|
+
}, z.core.$strip>;
|
|
3788
|
+
type CiRunStatusResponse = z.infer<typeof CiRunStatusResponseSchema>;
|
|
3789
|
+
declare const CancelCiRunResponseSchema: z.ZodObject<{
|
|
3790
|
+
message: z.ZodString;
|
|
3791
|
+
runId: z.ZodString;
|
|
3792
|
+
}, z.core.$strip>;
|
|
3793
|
+
type CancelCiRunResponse = z.infer<typeof CancelCiRunResponseSchema>;
|
|
3794
|
+
|
|
3795
|
+
declare const ApiKeySchema: z.ZodObject<{
|
|
3796
|
+
id: z.ZodString;
|
|
3797
|
+
name: z.ZodString;
|
|
3798
|
+
keyPrefix: z.ZodString;
|
|
3799
|
+
enabled: z.ZodBoolean;
|
|
3800
|
+
quota: z.ZodNullable<z.ZodNumber>;
|
|
3801
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
3802
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
3803
|
+
createdAt: z.ZodString;
|
|
3804
|
+
}, z.core.$strip>;
|
|
3805
|
+
type ApiKey = z.infer<typeof ApiKeySchema>;
|
|
3806
|
+
declare const CreateApiKeyRequestSchema: z.ZodObject<{
|
|
3807
|
+
name: z.ZodString;
|
|
3808
|
+
expiresInDays: z.ZodOptional<z.ZodNumber>;
|
|
3809
|
+
}, z.core.$strip>;
|
|
3810
|
+
type CreateApiKeyRequest = z.infer<typeof CreateApiKeyRequestSchema>;
|
|
3811
|
+
declare const CreateApiKeyResponseSchema: z.ZodObject<{
|
|
3812
|
+
apiKey: z.ZodString;
|
|
3813
|
+
id: z.ZodString;
|
|
3814
|
+
name: z.ZodString;
|
|
3815
|
+
keyPrefix: z.ZodString;
|
|
3816
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
3817
|
+
createdAt: z.ZodString;
|
|
3818
|
+
}, z.core.$strip>;
|
|
3819
|
+
type CreateApiKeyResponse = z.infer<typeof CreateApiKeyResponseSchema>;
|
|
3820
|
+
declare const ListApiKeysQuerySchema: z.ZodObject<{
|
|
3821
|
+
includeDisabled: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<boolean, string | undefined>>;
|
|
3822
|
+
page: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<number, string | undefined>>;
|
|
3823
|
+
limit: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<number, string | undefined>>;
|
|
3824
|
+
}, z.core.$strip>;
|
|
3825
|
+
type ListApiKeysQuery = z.infer<typeof ListApiKeysQuerySchema>;
|
|
3826
|
+
declare const ListApiKeysResponseSchema: z.ZodObject<{
|
|
3827
|
+
items: z.ZodArray<z.ZodObject<{
|
|
3828
|
+
id: z.ZodString;
|
|
3829
|
+
name: z.ZodString;
|
|
3830
|
+
keyPrefix: z.ZodString;
|
|
3831
|
+
enabled: z.ZodBoolean;
|
|
3832
|
+
quota: z.ZodNullable<z.ZodNumber>;
|
|
3833
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
3834
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
3835
|
+
createdAt: z.ZodString;
|
|
3836
|
+
}, z.core.$strip>>;
|
|
3837
|
+
total: z.ZodNumber;
|
|
3838
|
+
page: z.ZodNumber;
|
|
3839
|
+
limit: z.ZodNumber;
|
|
3840
|
+
totalPages: z.ZodNumber;
|
|
3841
|
+
}, z.core.$strip>;
|
|
3842
|
+
type ListApiKeysResponse = z.infer<typeof ListApiKeysResponseSchema>;
|
|
3843
|
+
declare const UpdateApiKeyRequestSchema: z.ZodObject<{
|
|
3844
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3845
|
+
expiresInDays: z.ZodOptional<z.ZodNumber>;
|
|
3846
|
+
}, z.core.$strip>;
|
|
3847
|
+
type UpdateApiKeyRequest = z.infer<typeof UpdateApiKeyRequestSchema>;
|
|
3848
|
+
declare const ToggleApiKeyRequestSchema: z.ZodObject<{
|
|
3849
|
+
enabled: z.ZodBoolean;
|
|
3850
|
+
}, z.core.$strip>;
|
|
3851
|
+
type ToggleApiKeyRequest = z.infer<typeof ToggleApiKeyRequestSchema>;
|
|
3852
|
+
declare const DeleteApiKeyResponseSchema: z.ZodObject<{
|
|
3853
|
+
success: z.ZodLiteral<true>;
|
|
3854
|
+
}, z.core.$strip>;
|
|
3855
|
+
type DeleteApiKeyResponse = z.infer<typeof DeleteApiKeyResponseSchema>;
|
|
3856
|
+
|
|
3857
|
+
declare const ResourceMetadataSchema: z.ZodObject<{
|
|
3858
|
+
platform: z.ZodOptional<z.ZodEnum<{
|
|
3859
|
+
mac: "mac";
|
|
3860
|
+
windows: "windows";
|
|
3861
|
+
linux: "linux";
|
|
3862
|
+
}>>;
|
|
3863
|
+
arch: z.ZodOptional<z.ZodEnum<{
|
|
3864
|
+
arm64: "arm64";
|
|
3865
|
+
x64: "x64";
|
|
3866
|
+
universal: "universal";
|
|
3867
|
+
}>>;
|
|
3868
|
+
version: z.ZodOptional<z.ZodString>;
|
|
3869
|
+
}, z.core.$loose>;
|
|
3870
|
+
type ResourceMetadata = z.infer<typeof ResourceMetadataSchema>;
|
|
3871
|
+
declare const PublicResourceItemSchema: z.ZodObject<{
|
|
3872
|
+
id: z.ZodString;
|
|
3873
|
+
type: z.ZodString;
|
|
3874
|
+
name: z.ZodString;
|
|
3875
|
+
description: z.ZodNullable<z.ZodString>;
|
|
3876
|
+
url: z.ZodString;
|
|
3877
|
+
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
3878
|
+
metadata: z.ZodNullable<z.ZodObject<{
|
|
3879
|
+
platform: z.ZodOptional<z.ZodEnum<{
|
|
3880
|
+
mac: "mac";
|
|
3881
|
+
windows: "windows";
|
|
3882
|
+
linux: "linux";
|
|
3883
|
+
}>>;
|
|
3884
|
+
arch: z.ZodOptional<z.ZodEnum<{
|
|
3885
|
+
arm64: "arm64";
|
|
3886
|
+
x64: "x64";
|
|
3887
|
+
universal: "universal";
|
|
3888
|
+
}>>;
|
|
3889
|
+
version: z.ZodOptional<z.ZodString>;
|
|
3890
|
+
}, z.core.$loose>>;
|
|
3891
|
+
sortOrder: z.ZodNumber;
|
|
3892
|
+
}, z.core.$strip>;
|
|
3893
|
+
type PublicResourceItem = z.infer<typeof PublicResourceItemSchema>;
|
|
3894
|
+
declare const ListPublicResourcesQuerySchema: z.ZodObject<{
|
|
3895
|
+
type: z.ZodString;
|
|
3896
|
+
}, z.core.$strip>;
|
|
3897
|
+
type ListPublicResourcesQuery = z.infer<typeof ListPublicResourcesQuerySchema>;
|
|
3898
|
+
declare const ListPublicResourcesResponseSchema: z.ZodObject<{
|
|
3899
|
+
resources: z.ZodArray<z.ZodObject<{
|
|
3900
|
+
id: z.ZodString;
|
|
3901
|
+
type: z.ZodString;
|
|
3902
|
+
name: z.ZodString;
|
|
3903
|
+
description: z.ZodNullable<z.ZodString>;
|
|
3904
|
+
url: z.ZodString;
|
|
3905
|
+
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
3906
|
+
metadata: z.ZodNullable<z.ZodObject<{
|
|
3907
|
+
platform: z.ZodOptional<z.ZodEnum<{
|
|
3908
|
+
mac: "mac";
|
|
3909
|
+
windows: "windows";
|
|
3910
|
+
linux: "linux";
|
|
3911
|
+
}>>;
|
|
3912
|
+
arch: z.ZodOptional<z.ZodEnum<{
|
|
3913
|
+
arm64: "arm64";
|
|
3914
|
+
x64: "x64";
|
|
3915
|
+
universal: "universal";
|
|
3916
|
+
}>>;
|
|
3917
|
+
version: z.ZodOptional<z.ZodString>;
|
|
3918
|
+
}, z.core.$loose>>;
|
|
3919
|
+
sortOrder: z.ZodNumber;
|
|
3920
|
+
}, z.core.$strip>>;
|
|
3921
|
+
}, z.core.$strip>;
|
|
3922
|
+
type ListPublicResourcesResponse = z.infer<typeof ListPublicResourcesResponseSchema>;
|
|
3923
|
+
declare const AdminResourceItemSchema: z.ZodObject<{
|
|
3924
|
+
id: z.ZodString;
|
|
3925
|
+
type: z.ZodString;
|
|
3926
|
+
name: z.ZodString;
|
|
3927
|
+
description: z.ZodNullable<z.ZodString>;
|
|
3928
|
+
url: z.ZodString;
|
|
3929
|
+
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
3930
|
+
metadata: z.ZodNullable<z.ZodObject<{
|
|
3931
|
+
platform: z.ZodOptional<z.ZodEnum<{
|
|
3932
|
+
mac: "mac";
|
|
3933
|
+
windows: "windows";
|
|
3934
|
+
linux: "linux";
|
|
3935
|
+
}>>;
|
|
3936
|
+
arch: z.ZodOptional<z.ZodEnum<{
|
|
3937
|
+
arm64: "arm64";
|
|
3938
|
+
x64: "x64";
|
|
3939
|
+
universal: "universal";
|
|
3940
|
+
}>>;
|
|
3941
|
+
version: z.ZodOptional<z.ZodString>;
|
|
3942
|
+
}, z.core.$loose>>;
|
|
3943
|
+
sortOrder: z.ZodNumber;
|
|
3944
|
+
enabled: z.ZodBoolean;
|
|
3945
|
+
createdAt: z.ZodString;
|
|
3946
|
+
updatedAt: z.ZodString;
|
|
3947
|
+
}, z.core.$strip>;
|
|
3948
|
+
type AdminResourceItem = z.infer<typeof AdminResourceItemSchema>;
|
|
3949
|
+
declare const ListAdminResourcesResponseSchema: z.ZodObject<{
|
|
3950
|
+
resources: z.ZodArray<z.ZodObject<{
|
|
3951
|
+
id: z.ZodString;
|
|
3952
|
+
type: z.ZodString;
|
|
3953
|
+
name: z.ZodString;
|
|
3954
|
+
description: z.ZodNullable<z.ZodString>;
|
|
3955
|
+
url: z.ZodString;
|
|
3956
|
+
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
3957
|
+
metadata: z.ZodNullable<z.ZodObject<{
|
|
3958
|
+
platform: z.ZodOptional<z.ZodEnum<{
|
|
3959
|
+
mac: "mac";
|
|
3960
|
+
windows: "windows";
|
|
3961
|
+
linux: "linux";
|
|
3962
|
+
}>>;
|
|
3963
|
+
arch: z.ZodOptional<z.ZodEnum<{
|
|
3964
|
+
arm64: "arm64";
|
|
3965
|
+
x64: "x64";
|
|
3966
|
+
universal: "universal";
|
|
3967
|
+
}>>;
|
|
3968
|
+
version: z.ZodOptional<z.ZodString>;
|
|
3969
|
+
}, z.core.$loose>>;
|
|
3970
|
+
sortOrder: z.ZodNumber;
|
|
3971
|
+
enabled: z.ZodBoolean;
|
|
3972
|
+
createdAt: z.ZodString;
|
|
3973
|
+
updatedAt: z.ZodString;
|
|
3974
|
+
}, z.core.$strip>>;
|
|
3975
|
+
}, z.core.$strip>;
|
|
3976
|
+
type ListAdminResourcesResponse = z.infer<typeof ListAdminResourcesResponseSchema>;
|
|
3977
|
+
declare const CreateResourceRequestSchema: z.ZodObject<{
|
|
3978
|
+
type: z.ZodString;
|
|
3979
|
+
name: z.ZodString;
|
|
3980
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3981
|
+
url: z.ZodString;
|
|
3982
|
+
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
3983
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
3984
|
+
platform: z.ZodOptional<z.ZodEnum<{
|
|
3985
|
+
mac: "mac";
|
|
3986
|
+
windows: "windows";
|
|
3987
|
+
linux: "linux";
|
|
3988
|
+
}>>;
|
|
3989
|
+
arch: z.ZodOptional<z.ZodEnum<{
|
|
3990
|
+
arm64: "arm64";
|
|
3991
|
+
x64: "x64";
|
|
3992
|
+
universal: "universal";
|
|
3993
|
+
}>>;
|
|
3994
|
+
version: z.ZodOptional<z.ZodString>;
|
|
3995
|
+
}, z.core.$loose>>;
|
|
3996
|
+
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3997
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3998
|
+
}, z.core.$strip>;
|
|
3999
|
+
type CreateResourceRequest = z.infer<typeof CreateResourceRequestSchema>;
|
|
4000
|
+
declare const UpdateResourceRequestSchema: z.ZodObject<{
|
|
4001
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4002
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4003
|
+
url: z.ZodOptional<z.ZodString>;
|
|
4004
|
+
thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4005
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4006
|
+
platform: z.ZodOptional<z.ZodEnum<{
|
|
4007
|
+
mac: "mac";
|
|
4008
|
+
windows: "windows";
|
|
4009
|
+
linux: "linux";
|
|
4010
|
+
}>>;
|
|
4011
|
+
arch: z.ZodOptional<z.ZodEnum<{
|
|
4012
|
+
arm64: "arm64";
|
|
4013
|
+
x64: "x64";
|
|
4014
|
+
universal: "universal";
|
|
4015
|
+
}>>;
|
|
4016
|
+
version: z.ZodOptional<z.ZodString>;
|
|
4017
|
+
}, z.core.$loose>>>;
|
|
4018
|
+
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
4019
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
4020
|
+
}, z.core.$strip>;
|
|
4021
|
+
type UpdateResourceRequest = z.infer<typeof UpdateResourceRequestSchema>;
|
|
4022
|
+
|
|
3639
4023
|
type ClientType = 'user' | 'worker' | 'machine';
|
|
3640
4024
|
interface AuthPayload {
|
|
3641
4025
|
token: string;
|
|
@@ -3894,5 +4278,5 @@ declare function detectPreview(fs: FileSystemAdapter): Promise<PreviewMetadata |
|
|
|
3894
4278
|
*/
|
|
3895
4279
|
declare function decodeGitPath(rawPath: string): string;
|
|
3896
4280
|
|
|
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 };
|
|
4281
|
+
export { AcceptPrivateCloudInviteRequestSchema, AcceptPrivateCloudInviteResponseSchema, AddChatMemberRequestSchema, AddChatMemberResponseSchema, AdminResourceItemSchema, 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, CreateResourceRequestSchema, 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, ListAdminResourcesResponseSchema, ListAgentsResponseSchema, ListApiKeysQuerySchema, ListApiKeysResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsQuerySchema, ListChatsResponseSchema, ListContactsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListPrivateCloudMembersResponseSchema, ListPrivateCloudsResponseSchema, ListPublicResourcesQuerySchema, ListPublicResourcesResponseSchema, 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, PublicResourceItemSchema, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, RELEVANT_DEPENDENCIES, RTC_CHUNK_HEADER_SIZE, RechargeResponseSchema, RegisterCompanionRequestSchema, RegisterCompanionResponseSchema, RemoveChatMemberRequestSchema, RemovePrivateCloudMemberResponseSchema, RepositoryActorIdentitySchema, RepositoryReferenceCommentSchema, RepositoryReferenceCommentsResponseSchema, RepositoryReferenceDiffSchema, RepositoryReferenceKindSchema, RepositoryReferenceListItemSchema, RepositoryReferenceSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResolveUserInboxItemResponseSchema, ResourceMetadataSchema, 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, UpdateResourceRequestSchema, 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 };
|
|
4282
|
+
export type { AcceptPrivateCloudInviteRequest, AcceptPrivateCloudInviteResponse, AddChatMemberRequest, AddChatMemberResponse, AdminResourceItem, 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, CreateResourceRequest, 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, ListAdminResourcesResponse, ListAgentsResponse, ListApiKeysQuery, ListApiKeysResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsQuery, ListChatsResponse, ListContactsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListPrivateCloudMembersResponse, ListPrivateCloudsResponse, ListPublicResourcesQuery, ListPublicResourcesResponse, 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, PublicResourceItem, PublishDraftAgentRequest, PublishDraftAgentResponse, RechargeResponse, RegisterCompanionRequest, RegisterCompanionResponse, RemoveChatMemberRequest, RemovePrivateCloudMemberResponse, Repository, RepositoryActorIdentity, RepositoryReference, RepositoryReferenceComment, RepositoryReferenceCommentsResponse, RepositoryReferenceDiff, RepositoryReferenceKind, RepositoryReferenceListItem, ResetSecretRequest, ResetSecretResponse, ResolveUserInboxItemResponse, ResourceMetadata, 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, UpdateResourceRequest, UpdateSecretRequest, UpdateSecretResponse, UpdateSubscriptionPlanRequest, UpdateSubscriptionRequest, UpdateSubscriptionResponse, UpdateUserProfileRequest, UpdateUserProfileResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserInboxItem, UserInboxStatus, UserInboxSubjectType, UserProfileResponse, UserWithOAuthAccounts, ValidateMachineResponse };
|