@zusehq/serve 0.1.2 → 0.1.3
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/bin.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { t as runServeCli } from "./cli-
|
|
2
|
+
import { t as runServeCli } from "./cli-Cz9Ua4SV.mjs";
|
|
3
3
|
//#region src/bin.ts
|
|
4
4
|
runServeCli(process.argv.slice(2), process.env).catch((cause) => {
|
|
5
5
|
console.error(cause instanceof Error ? cause.message : String(cause));
|
|
@@ -5,7 +5,7 @@ import { Data, Effect, Layer, ManagedRuntime, Schema, Scope, Struct } from "effe
|
|
|
5
5
|
import { Rpc, RpcClient, RpcGroup, RpcSerialization } from "effect/unstable/rpc";
|
|
6
6
|
import { Socket } from "effect/unstable/socket";
|
|
7
7
|
//#region package.json
|
|
8
|
-
var version = "0.1.
|
|
8
|
+
var version = "0.1.3";
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region ../client-runtime/src/connection.ts
|
|
11
11
|
var WireProtocolMismatchError = class extends Data.TaggedError("WireProtocolMismatchError") {};
|
|
@@ -1153,6 +1153,13 @@ const MODELS_BY_PROVIDER = {
|
|
|
1153
1153
|
supportsPlanMode: true,
|
|
1154
1154
|
supportsWebSearch: "queryOnly"
|
|
1155
1155
|
},
|
|
1156
|
+
{
|
|
1157
|
+
id: "grok-4.6",
|
|
1158
|
+
label: "Grok 4.6",
|
|
1159
|
+
badgeLabel: "New",
|
|
1160
|
+
supportsPlanMode: true,
|
|
1161
|
+
supportsWebSearch: "queryOnly"
|
|
1162
|
+
},
|
|
1156
1163
|
{
|
|
1157
1164
|
id: "grok-4.5",
|
|
1158
1165
|
label: "Grok 4.5",
|
|
@@ -3851,6 +3858,403 @@ const BrowserRemoveCredentialRpc = Rpc.make("browser.removeCredential", {
|
|
|
3851
3858
|
success: Schema.Void
|
|
3852
3859
|
});
|
|
3853
3860
|
//#endregion
|
|
3861
|
+
//#region ../contracts/src/cloud-workspaces.ts
|
|
3862
|
+
const CloudProjectState = Schema.Literals([
|
|
3863
|
+
"connected",
|
|
3864
|
+
"preparing",
|
|
3865
|
+
"ready",
|
|
3866
|
+
"failed"
|
|
3867
|
+
]);
|
|
3868
|
+
const CloudProjectBuildState = Schema.Literals([
|
|
3869
|
+
"queued",
|
|
3870
|
+
"building",
|
|
3871
|
+
"sanitizing",
|
|
3872
|
+
"ready",
|
|
3873
|
+
"failed"
|
|
3874
|
+
]);
|
|
3875
|
+
const CloudWorkspaceState = Schema.Literals([
|
|
3876
|
+
"queued",
|
|
3877
|
+
"provisioning",
|
|
3878
|
+
"setup",
|
|
3879
|
+
"ready",
|
|
3880
|
+
"pausing",
|
|
3881
|
+
"paused",
|
|
3882
|
+
"resuming",
|
|
3883
|
+
"archiving",
|
|
3884
|
+
"archived",
|
|
3885
|
+
"recovering",
|
|
3886
|
+
"deleting",
|
|
3887
|
+
"deleted",
|
|
3888
|
+
"failed"
|
|
3889
|
+
]);
|
|
3890
|
+
const CloudWorkspaceDesiredState = Schema.Literals([
|
|
3891
|
+
"ready",
|
|
3892
|
+
"paused",
|
|
3893
|
+
"archived",
|
|
3894
|
+
"deleted"
|
|
3895
|
+
]);
|
|
3896
|
+
const CloudWorkspaceStartupPhase = Schema.Literals([
|
|
3897
|
+
"allocating",
|
|
3898
|
+
"booting",
|
|
3899
|
+
"authenticating-runtime",
|
|
3900
|
+
"syncing-repository",
|
|
3901
|
+
"starting-agent",
|
|
3902
|
+
"running",
|
|
3903
|
+
"failed"
|
|
3904
|
+
]);
|
|
3905
|
+
var CloudWorkspaceStartupTimings = class extends Schema.Class("CloudWorkspaceStartupTimings")({
|
|
3906
|
+
requestedAt: Schema.optional(Schema.Number),
|
|
3907
|
+
resumeRequestedAt: Schema.optional(Schema.Number),
|
|
3908
|
+
allocatedAt: Schema.optional(Schema.Number),
|
|
3909
|
+
allocationDurationMs: Schema.optional(Schema.Number),
|
|
3910
|
+
enrolledAt: Schema.optional(Schema.Number),
|
|
3911
|
+
runtimeReadyAt: Schema.optional(Schema.Number),
|
|
3912
|
+
enrollmentDurationMs: Schema.optional(Schema.Number),
|
|
3913
|
+
networkOpenedAt: Schema.optional(Schema.Number),
|
|
3914
|
+
credentialInstallDurationMs: Schema.optional(Schema.Number),
|
|
3915
|
+
repositoryReadyAt: Schema.optional(Schema.Number),
|
|
3916
|
+
repositoryDurationMs: Schema.optional(Schema.Number),
|
|
3917
|
+
connectedAt: Schema.optional(Schema.Number),
|
|
3918
|
+
connectionDurationMs: Schema.optional(Schema.Number),
|
|
3919
|
+
durableChatCreatedAt: Schema.optional(Schema.Number),
|
|
3920
|
+
chatCreateDurationMs: Schema.optional(Schema.Number),
|
|
3921
|
+
agentStartedAt: Schema.optional(Schema.Number),
|
|
3922
|
+
agentStartDurationMs: Schema.optional(Schema.Number),
|
|
3923
|
+
launchDurationMs: Schema.optional(Schema.Number),
|
|
3924
|
+
providerResumedAt: Schema.optional(Schema.Number),
|
|
3925
|
+
providerResumeDurationMs: Schema.optional(Schema.Number)
|
|
3926
|
+
}) {};
|
|
3927
|
+
const CloudWorkspaceRuntimeState = Schema.Literals([
|
|
3928
|
+
"offline",
|
|
3929
|
+
"connecting",
|
|
3930
|
+
"online"
|
|
3931
|
+
]);
|
|
3932
|
+
const CloudCredentialKind = Schema.Literals([
|
|
3933
|
+
"github",
|
|
3934
|
+
"claude",
|
|
3935
|
+
"codex"
|
|
3936
|
+
]);
|
|
3937
|
+
var CloudProviderOption = class extends Schema.Class("CloudProviderOption")({
|
|
3938
|
+
providerId: Schema.String,
|
|
3939
|
+
displayName: Schema.String
|
|
3940
|
+
}) {};
|
|
3941
|
+
var CloudProviderList = class extends Schema.Class("CloudProviderList")({ providers: Schema.Array(CloudProviderOption) }) {};
|
|
3942
|
+
var CloudProjectBuildStatus = class extends Schema.Class("CloudProjectBuildStatus")({
|
|
3943
|
+
buildId: Schema.String,
|
|
3944
|
+
providerId: Schema.String,
|
|
3945
|
+
state: CloudProjectBuildState,
|
|
3946
|
+
errorCode: Schema.optional(Schema.String),
|
|
3947
|
+
createdAt: Schema.Number,
|
|
3948
|
+
updatedAt: Schema.Number
|
|
3949
|
+
}) {};
|
|
3950
|
+
var CloudProject = class extends Schema.Class("CloudProject")({
|
|
3951
|
+
projectId: Schema.String,
|
|
3952
|
+
repositoryIdentity: Schema.String,
|
|
3953
|
+
repositoryUrl: Schema.String,
|
|
3954
|
+
displayName: Schema.String,
|
|
3955
|
+
defaultBranch: Schema.String,
|
|
3956
|
+
visibility: Schema.Literals(["public", "private"]),
|
|
3957
|
+
state: CloudProjectState,
|
|
3958
|
+
activeBuilds: Schema.Record(Schema.String, Schema.String),
|
|
3959
|
+
latestBuilds: Schema.Record(Schema.String, CloudProjectBuildStatus),
|
|
3960
|
+
createdAt: Schema.Number,
|
|
3961
|
+
updatedAt: Schema.Number
|
|
3962
|
+
}) {};
|
|
3963
|
+
var CloudProjectList = class extends Schema.Class("CloudProjectList")({ projects: Schema.Array(CloudProject) }) {};
|
|
3964
|
+
var CloudProjectConnectRequest = class extends Schema.Class("CloudProjectConnectRequest")({
|
|
3965
|
+
repositoryUrl: Schema.String,
|
|
3966
|
+
defaultBranch: Schema.String,
|
|
3967
|
+
visibility: Schema.Literals(["public", "private"]),
|
|
3968
|
+
displayName: Schema.optional(Schema.String),
|
|
3969
|
+
cloudEnvironment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
3970
|
+
secretBindings: Schema.optional(Schema.Array(Schema.String)),
|
|
3971
|
+
idempotencyKey: Schema.String
|
|
3972
|
+
}) {};
|
|
3973
|
+
var CloudProjectBuild = class extends Schema.Class("CloudProjectBuild")({
|
|
3974
|
+
buildId: Schema.String,
|
|
3975
|
+
projectId: Schema.String,
|
|
3976
|
+
providerId: Schema.String,
|
|
3977
|
+
state: CloudProjectBuildState,
|
|
3978
|
+
sourceCommit: Schema.optional(Schema.String),
|
|
3979
|
+
templateVersion: Schema.String,
|
|
3980
|
+
configurationDigest: Schema.String,
|
|
3981
|
+
createdAt: Schema.Number,
|
|
3982
|
+
updatedAt: Schema.Number
|
|
3983
|
+
}) {};
|
|
3984
|
+
var CloudProjectPrepareRequest = class extends Schema.Class("CloudProjectPrepareRequest")({
|
|
3985
|
+
projectId: Schema.String,
|
|
3986
|
+
providerId: Schema.String,
|
|
3987
|
+
idempotencyKey: Schema.String
|
|
3988
|
+
}) {};
|
|
3989
|
+
var CloudWorkspace = class extends Schema.Class("CloudWorkspace")({
|
|
3990
|
+
workspaceId: Schema.String,
|
|
3991
|
+
projectId: Schema.String,
|
|
3992
|
+
buildId: Schema.String,
|
|
3993
|
+
providerId: Schema.String,
|
|
3994
|
+
branch: Schema.String,
|
|
3995
|
+
baseRef: Schema.String,
|
|
3996
|
+
state: CloudWorkspaceState,
|
|
3997
|
+
desiredState: CloudWorkspaceDesiredState,
|
|
3998
|
+
statusCode: Schema.String,
|
|
3999
|
+
startupPhase: CloudWorkspaceStartupPhase,
|
|
4000
|
+
startupTimings: CloudWorkspaceStartupTimings,
|
|
4001
|
+
runtimeState: CloudWorkspaceRuntimeState,
|
|
4002
|
+
revision: Schema.Number,
|
|
4003
|
+
chatId: ChatId,
|
|
4004
|
+
initialSessionId: AgentSessionId,
|
|
4005
|
+
createdAt: Schema.Number,
|
|
4006
|
+
updatedAt: Schema.Number,
|
|
4007
|
+
lastActivityAt: Schema.Number,
|
|
4008
|
+
warmRetentionDeadline: Schema.optional(Schema.Number),
|
|
4009
|
+
recoveryAvailable: Schema.Boolean
|
|
4010
|
+
}) {};
|
|
4011
|
+
var CloudWorkspaceLaunch = class extends Schema.Class("CloudWorkspaceLaunch")({
|
|
4012
|
+
workspace: CloudWorkspace,
|
|
4013
|
+
chatId: ChatId,
|
|
4014
|
+
initialSessionId: AgentSessionId
|
|
4015
|
+
}) {};
|
|
4016
|
+
var CloudWorkspaceConnection = class extends Schema.Class("CloudWorkspaceConnection")({
|
|
4017
|
+
workspaceId: Schema.String,
|
|
4018
|
+
wsUrl: Schema.String,
|
|
4019
|
+
protocol: Schema.String,
|
|
4020
|
+
credential: Schema.String,
|
|
4021
|
+
expiresAt: Schema.Number
|
|
4022
|
+
}) {};
|
|
4023
|
+
var CloudChatEvent = class extends Schema.Class("CloudChatEvent")({
|
|
4024
|
+
sequence: Schema.Number,
|
|
4025
|
+
eventId: Schema.String,
|
|
4026
|
+
streamId: Schema.String,
|
|
4027
|
+
streamVersion: Schema.Number,
|
|
4028
|
+
type: Schema.String,
|
|
4029
|
+
payloadJson: Schema.String,
|
|
4030
|
+
createdAt: Schema.Number
|
|
4031
|
+
}) {};
|
|
4032
|
+
var CloudChatQueuedMessage = class extends Schema.Class("CloudChatQueuedMessage")({
|
|
4033
|
+
sequence: Schema.optional(Schema.Number),
|
|
4034
|
+
clientMessageId: MessageId,
|
|
4035
|
+
input: ComposerInput,
|
|
4036
|
+
state: Schema.Literals([
|
|
4037
|
+
"queued",
|
|
4038
|
+
"claimed",
|
|
4039
|
+
"acknowledged",
|
|
4040
|
+
"failed"
|
|
4041
|
+
]),
|
|
4042
|
+
asGoal: Schema.Boolean,
|
|
4043
|
+
createdAt: Schema.Number
|
|
4044
|
+
}) {};
|
|
4045
|
+
var CloudChatHistory = class extends Schema.Class("CloudChatHistory")({
|
|
4046
|
+
workspaceId: Schema.String,
|
|
4047
|
+
chatId: ChatId,
|
|
4048
|
+
initialSessionId: AgentSessionId,
|
|
4049
|
+
firstMessage: Schema.optional(Schema.String),
|
|
4050
|
+
commandState: Schema.Literals([
|
|
4051
|
+
"queued",
|
|
4052
|
+
"claimed",
|
|
4053
|
+
"acknowledged",
|
|
4054
|
+
"failed"
|
|
4055
|
+
]),
|
|
4056
|
+
events: Schema.Array(CloudChatEvent),
|
|
4057
|
+
queuedMessages: Schema.Array(CloudChatQueuedMessage),
|
|
4058
|
+
cursor: Schema.Number
|
|
4059
|
+
}) {};
|
|
4060
|
+
/** Durable cloud-chat metadata that is available without a live sandbox. */
|
|
4061
|
+
var CloudChatSummary = class extends Schema.Class("CloudChatSummary")({
|
|
4062
|
+
workspaceId: Schema.String,
|
|
4063
|
+
projectId: Schema.String,
|
|
4064
|
+
repositoryIdentity: Schema.String,
|
|
4065
|
+
repositoryDisplayName: Schema.String,
|
|
4066
|
+
chatId: ChatId,
|
|
4067
|
+
initialSessionId: AgentSessionId,
|
|
4068
|
+
title: Schema.String,
|
|
4069
|
+
branch: Schema.String,
|
|
4070
|
+
providerId: Schema.String,
|
|
4071
|
+
agent: ProviderId,
|
|
4072
|
+
model: Schema.String,
|
|
4073
|
+
state: CloudWorkspaceState,
|
|
4074
|
+
desiredState: CloudWorkspaceDesiredState,
|
|
4075
|
+
runtimeState: CloudWorkspaceRuntimeState,
|
|
4076
|
+
statusCode: Schema.String,
|
|
4077
|
+
startupPhase: CloudWorkspaceStartupPhase,
|
|
4078
|
+
revision: Schema.Number,
|
|
4079
|
+
unread: Schema.Boolean,
|
|
4080
|
+
lastMessageAt: Schema.NullOr(Schema.Number),
|
|
4081
|
+
archivedAt: Schema.optional(Schema.Number),
|
|
4082
|
+
archivePhase: Schema.optional(Schema.String),
|
|
4083
|
+
archiveErrorCode: Schema.optional(Schema.String),
|
|
4084
|
+
archiveDiagnostic: Schema.optional(Schema.String),
|
|
4085
|
+
createdAt: Schema.Number,
|
|
4086
|
+
updatedAt: Schema.Number
|
|
4087
|
+
}) {};
|
|
4088
|
+
var CloudChatList = class extends Schema.Class("CloudChatList")({ chats: Schema.Array(CloudChatSummary) }) {};
|
|
4089
|
+
var CloudWorkspaceList = class extends Schema.Class("CloudWorkspaceList")({ workspaces: Schema.Array(CloudWorkspace) }) {};
|
|
4090
|
+
var CloudWorkspaceCreateRequest = class extends Schema.Class("CloudWorkspaceCreateRequest")({
|
|
4091
|
+
projectId: Schema.String,
|
|
4092
|
+
providerId: Schema.String,
|
|
4093
|
+
baseRef: Schema.String,
|
|
4094
|
+
branch: Schema.optional(Schema.String),
|
|
4095
|
+
agent: Schema.String,
|
|
4096
|
+
model: Schema.String,
|
|
4097
|
+
credentialKinds: Schema.optional(Schema.Array(CloudCredentialKind)),
|
|
4098
|
+
secretBindings: Schema.optional(Schema.Array(Schema.String)),
|
|
4099
|
+
permissions: Schema.optional(Schema.Array(Schema.String)),
|
|
4100
|
+
firstMessage: Schema.optional(Schema.String),
|
|
4101
|
+
idempotencyKey: Schema.String
|
|
4102
|
+
}) {};
|
|
4103
|
+
var CloudWorkspaceActionRequest = class extends Schema.Class("CloudWorkspaceActionRequest")({ workspaceId: Schema.String }) {};
|
|
4104
|
+
var CloudCredentialConnection = class extends Schema.Class("CloudCredentialConnection")({
|
|
4105
|
+
kind: CloudCredentialKind,
|
|
4106
|
+
state: Schema.Literals([
|
|
4107
|
+
"connected",
|
|
4108
|
+
"disconnected",
|
|
4109
|
+
"error"
|
|
4110
|
+
]),
|
|
4111
|
+
version: Schema.Number,
|
|
4112
|
+
accountLabel: Schema.optional(Schema.String),
|
|
4113
|
+
updatedAt: Schema.Number
|
|
4114
|
+
}) {};
|
|
4115
|
+
var CloudCredentialList = class extends Schema.Class("CloudCredentialList")({ credentials: Schema.Array(CloudCredentialConnection) }) {};
|
|
4116
|
+
Schema.Class("CloudCredentialConnectRequest")({
|
|
4117
|
+
kind: CloudCredentialKind,
|
|
4118
|
+
credentialType: Schema.Literals([
|
|
4119
|
+
"api-key",
|
|
4120
|
+
"oauth-token",
|
|
4121
|
+
"repository-token",
|
|
4122
|
+
"native-store"
|
|
4123
|
+
]),
|
|
4124
|
+
secret: Schema.String,
|
|
4125
|
+
accountLabel: Schema.optional(Schema.String)
|
|
4126
|
+
});
|
|
4127
|
+
var CloudCredentialDisconnectRequest = class extends Schema.Class("CloudCredentialDisconnectRequest")({ kind: CloudCredentialKind }) {};
|
|
4128
|
+
var CloudWorkspaceOpError = class extends Schema.TaggedErrorClass()("CloudWorkspaceOpError", { code: Schema.Literals([
|
|
4129
|
+
"not-found",
|
|
4130
|
+
"not-allowed",
|
|
4131
|
+
"invalid-request",
|
|
4132
|
+
"entitlement-required",
|
|
4133
|
+
"provider-unavailable",
|
|
4134
|
+
"project-not-ready",
|
|
4135
|
+
"credential-required",
|
|
4136
|
+
"branch-in-use",
|
|
4137
|
+
"conflict"
|
|
4138
|
+
]) }) {};
|
|
4139
|
+
const CloudProvidersRpc = Rpc.make("cloud.providers", {
|
|
4140
|
+
payload: Schema.Void,
|
|
4141
|
+
success: CloudProviderList,
|
|
4142
|
+
error: CloudWorkspaceOpError
|
|
4143
|
+
});
|
|
4144
|
+
const CloudProjectsListRpc = Rpc.make("cloud.projects.list", {
|
|
4145
|
+
payload: Schema.Void,
|
|
4146
|
+
success: CloudProjectList,
|
|
4147
|
+
error: CloudWorkspaceOpError
|
|
4148
|
+
});
|
|
4149
|
+
const CloudProjectsConnectRpc = Rpc.make("cloud.projects.connect", {
|
|
4150
|
+
payload: CloudProjectConnectRequest,
|
|
4151
|
+
success: CloudProject,
|
|
4152
|
+
error: CloudWorkspaceOpError
|
|
4153
|
+
});
|
|
4154
|
+
const CloudProjectsPrepareRpc = Rpc.make("cloud.projects.prepare", {
|
|
4155
|
+
payload: CloudProjectPrepareRequest,
|
|
4156
|
+
success: CloudProjectBuild,
|
|
4157
|
+
error: CloudWorkspaceOpError
|
|
4158
|
+
});
|
|
4159
|
+
const CloudWorkspacesListRpc = Rpc.make("cloud.workspaces.list", {
|
|
4160
|
+
payload: Schema.Struct({ projectId: Schema.optional(Schema.String) }),
|
|
4161
|
+
success: CloudWorkspaceList,
|
|
4162
|
+
error: CloudWorkspaceOpError
|
|
4163
|
+
});
|
|
4164
|
+
const CloudWorkspacesGetRpc = Rpc.make("cloud.workspaces.get", {
|
|
4165
|
+
payload: CloudWorkspaceActionRequest,
|
|
4166
|
+
success: CloudWorkspace,
|
|
4167
|
+
error: CloudWorkspaceOpError
|
|
4168
|
+
});
|
|
4169
|
+
const CloudWorkspacesCreateRpc = Rpc.make("cloud.workspaces.create", {
|
|
4170
|
+
payload: CloudWorkspaceCreateRequest,
|
|
4171
|
+
success: CloudWorkspaceLaunch,
|
|
4172
|
+
error: CloudWorkspaceOpError
|
|
4173
|
+
});
|
|
4174
|
+
const CloudWorkspacesConnectRpc = Rpc.make("cloud.workspaces.connect", {
|
|
4175
|
+
payload: CloudWorkspaceActionRequest,
|
|
4176
|
+
success: CloudWorkspaceConnection,
|
|
4177
|
+
error: CloudWorkspaceOpError
|
|
4178
|
+
});
|
|
4179
|
+
const CloudChatsHistoryRpc = Rpc.make("cloud.chats.history", {
|
|
4180
|
+
payload: Schema.Struct({
|
|
4181
|
+
workspaceId: Schema.String,
|
|
4182
|
+
after: Schema.optional(Schema.Number)
|
|
4183
|
+
}),
|
|
4184
|
+
success: CloudChatHistory,
|
|
4185
|
+
error: CloudWorkspaceOpError
|
|
4186
|
+
});
|
|
4187
|
+
const CloudChatsListRpc = Rpc.make("cloud.chats.list", {
|
|
4188
|
+
payload: Schema.Struct({
|
|
4189
|
+
projectId: Schema.optional(Schema.String),
|
|
4190
|
+
scope: Schema.optional(Schema.Literals([
|
|
4191
|
+
"active",
|
|
4192
|
+
"archived",
|
|
4193
|
+
"all"
|
|
4194
|
+
]))
|
|
4195
|
+
}),
|
|
4196
|
+
success: CloudChatList,
|
|
4197
|
+
error: CloudWorkspaceOpError
|
|
4198
|
+
});
|
|
4199
|
+
const CloudChatsRenameRpc = Rpc.make("cloud.chats.rename", {
|
|
4200
|
+
payload: Schema.Struct({
|
|
4201
|
+
workspaceId: Schema.String,
|
|
4202
|
+
title: Schema.String
|
|
4203
|
+
}),
|
|
4204
|
+
success: CloudChatSummary,
|
|
4205
|
+
error: CloudWorkspaceOpError
|
|
4206
|
+
});
|
|
4207
|
+
const CloudChatsSendRpc = Rpc.make("cloud.chats.send", {
|
|
4208
|
+
payload: Schema.Struct({
|
|
4209
|
+
workspaceId: Schema.String,
|
|
4210
|
+
input: ComposerInput,
|
|
4211
|
+
clientMessageId: MessageId,
|
|
4212
|
+
asGoal: Schema.optional(Schema.Boolean)
|
|
4213
|
+
}),
|
|
4214
|
+
success: Schema.Struct({ sequence: Schema.Number }),
|
|
4215
|
+
error: CloudWorkspaceOpError
|
|
4216
|
+
});
|
|
4217
|
+
const CloudWorkspacesPauseRpc = Rpc.make("cloud.workspaces.pause", {
|
|
4218
|
+
payload: CloudWorkspaceActionRequest,
|
|
4219
|
+
success: CloudWorkspace,
|
|
4220
|
+
error: CloudWorkspaceOpError
|
|
4221
|
+
});
|
|
4222
|
+
const CloudWorkspacesResumeRpc = Rpc.make("cloud.workspaces.resume", {
|
|
4223
|
+
payload: CloudWorkspaceActionRequest,
|
|
4224
|
+
success: CloudWorkspace,
|
|
4225
|
+
error: CloudWorkspaceOpError
|
|
4226
|
+
});
|
|
4227
|
+
const CloudWorkspacesArchiveRpc = Rpc.make("cloud.workspaces.archive", {
|
|
4228
|
+
payload: CloudWorkspaceActionRequest,
|
|
4229
|
+
success: CloudWorkspace,
|
|
4230
|
+
error: CloudWorkspaceOpError
|
|
4231
|
+
});
|
|
4232
|
+
const CloudWorkspacesUnarchiveRpc = Rpc.make("cloud.workspaces.unarchive", {
|
|
4233
|
+
payload: CloudWorkspaceActionRequest,
|
|
4234
|
+
success: CloudWorkspace,
|
|
4235
|
+
error: CloudWorkspaceOpError
|
|
4236
|
+
});
|
|
4237
|
+
const CloudWorkspacesDeleteRpc = Rpc.make("cloud.workspaces.delete", {
|
|
4238
|
+
payload: CloudWorkspaceActionRequest,
|
|
4239
|
+
success: CloudWorkspace,
|
|
4240
|
+
error: CloudWorkspaceOpError
|
|
4241
|
+
});
|
|
4242
|
+
const CloudCredentialsListRpc = Rpc.make("cloud.credentials.list", {
|
|
4243
|
+
payload: Schema.Void,
|
|
4244
|
+
success: CloudCredentialList,
|
|
4245
|
+
error: CloudWorkspaceOpError
|
|
4246
|
+
});
|
|
4247
|
+
const CloudCredentialsImportLocalRpc = Rpc.make("cloud.credentials.importLocal", {
|
|
4248
|
+
payload: Schema.Struct({ kind: CloudCredentialKind }),
|
|
4249
|
+
success: CloudCredentialConnection,
|
|
4250
|
+
error: CloudWorkspaceOpError
|
|
4251
|
+
});
|
|
4252
|
+
const CloudCredentialsDisconnectRpc = Rpc.make("cloud.credentials.disconnect", {
|
|
4253
|
+
payload: CloudCredentialDisconnectRequest,
|
|
4254
|
+
success: CloudCredentialConnection,
|
|
4255
|
+
error: CloudWorkspaceOpError
|
|
4256
|
+
});
|
|
4257
|
+
//#endregion
|
|
3854
4258
|
//#region ../contracts/src/code-index.ts
|
|
3855
4259
|
/**
|
|
3856
4260
|
* Wire schemas for the Phase 0.04 code index. The engine in
|
|
@@ -5563,8 +5967,10 @@ const LinearPrepareContextRpc = Rpc.make("linear.prepareContext", {
|
|
|
5563
5967
|
//#endregion
|
|
5564
5968
|
//#region ../contracts/src/machines.ts
|
|
5565
5969
|
const MachineArchitecture = Schema.Literals(["x86_64"]);
|
|
5970
|
+
const MachineOfferKind = Schema.Literals(["persistent", "sandbox"]);
|
|
5566
5971
|
var MachineOffer = class extends Schema.Class("MachineOffer")({
|
|
5567
5972
|
offerId: Schema.String,
|
|
5973
|
+
kind: MachineOfferKind.pipe(Schema.withDecodingDefaultKey(Effect.succeed("persistent"))),
|
|
5568
5974
|
displayName: Schema.String,
|
|
5569
5975
|
architecture: MachineArchitecture,
|
|
5570
5976
|
vcpuCount: Schema.Number,
|
|
@@ -5661,6 +6067,21 @@ Schema.Class("MachineEnrollRequest")({
|
|
|
5661
6067
|
}),
|
|
5662
6068
|
label: Schema.optional(Schema.String)
|
|
5663
6069
|
});
|
|
6070
|
+
var CloudRuntimeCredential = class extends Schema.Class("CloudRuntimeCredential")({
|
|
6071
|
+
kind: Schema.Literals([
|
|
6072
|
+
"github",
|
|
6073
|
+
"claude",
|
|
6074
|
+
"codex"
|
|
6075
|
+
]),
|
|
6076
|
+
credentialType: Schema.Literals([
|
|
6077
|
+
"api-key",
|
|
6078
|
+
"oauth-token",
|
|
6079
|
+
"repository-token",
|
|
6080
|
+
"native-store"
|
|
6081
|
+
]),
|
|
6082
|
+
secret: Schema.String,
|
|
6083
|
+
version: Schema.Number
|
|
6084
|
+
}) {};
|
|
5664
6085
|
Schema.Class("MachineEnrollResponse")({
|
|
5665
6086
|
environmentId: EnvironmentId,
|
|
5666
6087
|
endpoint: EnvironmentEndpoint,
|
|
@@ -5668,13 +6089,18 @@ Schema.Class("MachineEnrollResponse")({
|
|
|
5668
6089
|
environmentCredential: Schema.String,
|
|
5669
6090
|
mintPublicKey: Schema.String,
|
|
5670
6091
|
tunnelHostname: Schema.optional(Schema.String),
|
|
5671
|
-
connectorToken: Schema.optional(Schema.String)
|
|
6092
|
+
connectorToken: Schema.optional(Schema.String),
|
|
6093
|
+
cloudCredentials: Schema.optional(Schema.Array(CloudRuntimeCredential))
|
|
5672
6094
|
});
|
|
5673
6095
|
Schema.Class("MachineBootStatusRequest")({
|
|
5674
6096
|
phase: MachineBootPhase,
|
|
5675
6097
|
statusCode: Schema.optional(MachineStatusCode)
|
|
5676
6098
|
});
|
|
5677
|
-
const EntitlementKind = Schema.Literals([
|
|
6099
|
+
const EntitlementKind = Schema.Literals([
|
|
6100
|
+
"persistent-machine",
|
|
6101
|
+
"cloud-workspace",
|
|
6102
|
+
"usage-credits"
|
|
6103
|
+
]);
|
|
5678
6104
|
const EntitlementStatus = Schema.Literals([
|
|
5679
6105
|
"pending",
|
|
5680
6106
|
"active",
|
|
@@ -5705,6 +6131,8 @@ const MachineErrorCode = Schema.Literals([
|
|
|
5705
6131
|
"provider-unavailable",
|
|
5706
6132
|
"enrollment-expired",
|
|
5707
6133
|
"enrollment-rejected",
|
|
6134
|
+
"credential-required",
|
|
6135
|
+
"branch-in-use",
|
|
5708
6136
|
"conflict",
|
|
5709
6137
|
"invalid-request"
|
|
5710
6138
|
]);
|
|
@@ -5941,7 +6369,8 @@ const AccountAccessErrorCode = Schema.Literals([
|
|
|
5941
6369
|
"transfer-replayed",
|
|
5942
6370
|
"transfer-rejected",
|
|
5943
6371
|
"credential-store-failed",
|
|
5944
|
-
"cleanup-failed"
|
|
6372
|
+
"cleanup-failed",
|
|
6373
|
+
"credential-export-failed"
|
|
5945
6374
|
]);
|
|
5946
6375
|
var AccountAccessOpError = class extends Schema.TaggedErrorClass()("AccountAccessOpError", { code: AccountAccessErrorCode }) {};
|
|
5947
6376
|
const AccountAccessStatusRpc = Rpc.make("accountAccess.status", {
|
|
@@ -6920,6 +7349,8 @@ var RepositorySettings = class extends Schema.Class("RepositorySettings")({
|
|
|
6920
7349
|
runScript: Schema.NullOr(Schema.String),
|
|
6921
7350
|
autoRunAfterSetup: Schema.Boolean,
|
|
6922
7351
|
environmentVariables: Schema.Record(Schema.String, Schema.String),
|
|
7352
|
+
/** Non-secret overrides applied only while preparing or running in cloud. */
|
|
7353
|
+
cloudEnvironmentVariables: Schema.Record(Schema.String, Schema.String).pipe(Schema.withDecodingDefaultKey(Effect.succeed({}))),
|
|
6923
7354
|
/**
|
|
6924
7355
|
* Newline-separated gitignore-style patterns for local files that should be
|
|
6925
7356
|
* linked into every Zuse worktree from the main checkout. Empty means "use
|
|
@@ -6949,6 +7380,7 @@ const RepositorySettingsPatch = Schema.Struct({
|
|
|
6949
7380
|
runScript: Schema.optional(Schema.NullOr(Schema.String)),
|
|
6950
7381
|
autoRunAfterSetup: Schema.optional(Schema.Boolean),
|
|
6951
7382
|
environmentVariables: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
7383
|
+
cloudEnvironmentVariables: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
6952
7384
|
fileIncludeGlobs: Schema.optional(Schema.String),
|
|
6953
7385
|
mcpDisabledServers: Schema.optional(Schema.Array(Schema.String))
|
|
6954
7386
|
});
|
|
@@ -6964,6 +7396,7 @@ Schema.Struct({
|
|
|
6964
7396
|
runScript: Schema.NullOr(Schema.String),
|
|
6965
7397
|
autoRunAfterSetup: Schema.Boolean,
|
|
6966
7398
|
environmentVariables: Schema.Record(Schema.String, Schema.String),
|
|
7399
|
+
cloudEnvironmentVariables: Schema.Record(Schema.String, Schema.String).pipe(Schema.withDecodingDefaultKey(Effect.succeed({}))),
|
|
6967
7400
|
fileIncludeGlobs: Schema.String,
|
|
6968
7401
|
mcpDisabledServers: Schema.Array(Schema.String)
|
|
6969
7402
|
});
|
|
@@ -7446,7 +7879,7 @@ const UsageLimitsHistoryRpc = Rpc.make("usage.limits.history", {
|
|
|
7446
7879
|
*
|
|
7447
7880
|
* Add new RPCs by importing them here and including them in the group.
|
|
7448
7881
|
*/
|
|
7449
|
-
const MemoizeRpcs = RpcGroup.make(PingRpc, AnalyticsGetContextRpc, AnalyticsContextChangesRpc, AuthGetSessionRpc, AuthSignInRpc, AuthSignOutRpc, AuthSessionChangesRpc, LinearListConnectionsRpc, LinearConnectRpc, LinearDisconnectRpc, LinearListIssuesRpc, LinearPrepareContextRpc, PairingStartRpc, PairingListTokensRpc, PairingRevokeTokenRpc, PairingListNearbyRequestsRpc, PairingResolveNearbyRequestRpc, ConnectHandshakeRpc, ConnectDescribeRpc, ConnectLinkProofRpc, ConnectRelayConfigRpc, RelayLinkRpc, RelayStatusRpc, RelayUnlinkRpc, EnvironmentsListRpc, EnvironmentConnectRpc, MachinesOffersRpc, MachinesListRpc, MachinesGetRpc, MachinesCreateRpc, MachinesCancelRpc, MachinesRecoverRpc, MachinesDestroyRpc, MachinesCheckoutRpc, MachinesBillingPortalRpc, MachinesEntitlementsRpc, MachineSshKeysAddRpc, MachineSshKeysListRpc, MachineSshKeysRemoveRpc, MachinePrivateNetworkEnableRpc, MachinePrivateNetworkStatusRpc, MachineRuntimeTargetRpc, MachineRuntimeStatusRpc, MachineRuntimeUpdateRpc, MachineSshModeSetRpc, AccountAccessStatusRpc, AccountAccessDetectLocalRpc, AccountAccessStartLoginRpc, AccountAccessPrepareImportRpc, AccountAccessCreateClaudeTransferRpc, AccountAccessContinueClaudeTransferRpc, AccountAccessImportRpc, AccountAccessDisconnectRpc, RelayEnvironmentsRpc, RelayConnectEnvironmentRpc, RelayClientsRpc, RelayRevokeClientRpc, WorkspaceAddRpc, WorkspaceBrowseDirectoryRpc, WorkspaceListRpc, WorkspaceRemoveRpc, WorkspacePickFolderRpc, WorkspaceGetSelectedRpc, WorkspaceSetSelectedRpc, WorkspaceStreamChangesRpc, WorkspaceSearchFilesRpc, WorkspaceCloneRepoRpc, WorkspaceCreateProjectRpc, WorkspaceListGithubReposRpc, WorkspaceGhAuthStatusRpc, ExternalThreadsListRpc, ExternalThreadsContinueRpc, PtyOpenRpc, PtyWriteRpc, PtyResizeRpc, PtyCloseRpc, PtyOutputRpc, GitLogRpc, GitStatusRpc, GitBranchesRpc, GitSwitchBranchRpc, GitUserNameRpc, GitHeadChangedRpc, GitOriginRpc, GitPrStateRpc, GitPrDetailsRpc, GitListPrsRpc, GitListIssuesRpc, GitIssueMarkdownRpc, GitChangesRpc, GitReviewSummaryRpc, GitReviewPatchesRpc, GitReviewFileContentsRpc, GitReviewIdentityRpc, GitDiffRpc, GitCommitRpc, GitCreateReviewCommentRpc, GitPushRpc, GitResolveConflictRpc, GitMergePrRpc, GitMarkReadyRpc, GitInitRpc, GitFixFailingChecksRpc, GitRevertFileRpc, GitRestoreFileToBaseRpc, GitRevertAllRpc, GitDiffStatRpc, FsTreeRpc, FsWatchTreeRpc, FsListPathsRpc, FsMoveRpc, FsReadFileRpc, FsWriteFileRpc, FsCreateFileRpc, FsCreateDirectoryRpc, FsRemoveRpc, FsReadExternalFileRpc, FsWriteExternalFileRpc, ProviderAvailabilityRpc, ProviderRemoveCredentialRpc, ProviderSetCredentialRpc, ProviderOpencodeInventoryRpc, ProviderKiroInventoryRpc, ProviderOpencodeSetAuthRpc, ProviderOpencodeRemoveAuthRpc, ProviderOpencodeAddCustomRpc, ProviderOpencodeRemoveCustomRpc, ProviderStartLoginRpc, ProviderUpdateRpc, ChatArchivePreviewRpc, McpListRpc, McpRefreshRpc, McpSetEnabledRpc, McpAuthenticateRpc, ChatListRpc, ChatGetRpc, ChatCreateRpc, ChatCreationListRpc, ChatCreationStreamRpc, ChatCreationDiscardRpc, ChatRenameRpc, ChatMarkReadRpc, ChatStreamChangesRpc, ChatSetWorktreeRpc, ChatSetActiveSessionRpc, ChatArchiveRpc, ChatArchiveStatusRpc, ChatArchiveJobsRpc, ChatDirectoryStatusRpc, ChatUnarchiveRpc, ChatDeleteRpc, SessionListRpc, SessionStreamChangesRpc, SessionMcpUpdateRpc, SessionGetRpc, SessionCreateRpc, SessionRenameRpc, SessionGoalGetRpc, SessionGoalSetRpc, SessionGoalClearRpc, SessionGoalStreamRpc, SessionSetModelRpc, SessionSetProviderRpc, SessionArchiveRpc, SessionUnarchiveRpc, SessionDeleteRpc, SessionEventsHeadRpc, SessionEventsRpc, SessionForkRpc, SessionExportTranscriptRpc, SessionLatestPlanRpc, SessionResumeRpc, SessionSetRuntimeModeRpc, SessionSetPermissionModeRpc, SessionAnswerQuestionRpc, SessionPlanRespondRpc, SessionSetWorktreeRpc, MessagesListRpc, MessagesSendRpc, MessagesInterruptRpc, MessagesQueueListRpc, MessagesQueueAddRpc, MessagesQueueUpdateRpc, MessagesQueueDeleteRpc, MessagesQueueRunNextRpc, MessagesQueueReorderRpc, MessagesQueueFlushRpc, MessagesQueueResumeRpc, AttachmentUploadRpc, ContextSaveTextRpc, SkillListRpc, SkillListForProjectRpc, SkillStreamRpc, PermissionRequestsRpc, PermissionDecideRpc, PermissionListPendingRpc, PermissionListDecisionsRpc, PermissionRevokeDecisionRpc, PokemonPokedexRpc, PokemonEnsureSpriteCachedRpc, BrowserCommandsRpc, BrowserRespondRpc, BrowserSetCredentialRpc, BrowserListCredentialsRpc, BrowserRemoveCredentialRpc, WorktreeCreateRpc, WorktreeListRpc, WorktreeGetRpc, WorktreeRenameBranchRpc, WorktreeRerunSetupRpc, WorktreeSetupStreamRpc, WorktreeStartRunRpc, WorktreeRemoveRpc, RepositorySettingsGetRpc, RepositorySettingsUpdateRpc, SettingsGetRpc, SettingsUpdateRpc, SettingsStreamRpc, SettingsMigrateLocalStorageRpc, UsageReportRpc, UsageOverviewRpc, UsageSessionsRpc, UsageLimitsRpc, UsageLimitsHistoryRpc, DiagnosticsExportRpc, DiagnosticsOverviewRpc, DiagnosticsEventsRpc, DiagnosticsProcessesRpc, DiagnosticsSignalRpc, DiagnosticsIngestRpc, DiagnosticsCaptureRpc, KeybindingsGetRpc, KeybindingsReplaceRpc, KeybindingsStreamRpc, SessionSetWorktreeRpc);
|
|
7882
|
+
const MemoizeRpcs = RpcGroup.make(PingRpc, AnalyticsGetContextRpc, AnalyticsContextChangesRpc, AuthGetSessionRpc, AuthSignInRpc, AuthSignOutRpc, AuthSessionChangesRpc, LinearListConnectionsRpc, LinearConnectRpc, LinearDisconnectRpc, LinearListIssuesRpc, LinearPrepareContextRpc, PairingStartRpc, PairingListTokensRpc, PairingRevokeTokenRpc, PairingListNearbyRequestsRpc, PairingResolveNearbyRequestRpc, ConnectHandshakeRpc, ConnectDescribeRpc, ConnectLinkProofRpc, ConnectRelayConfigRpc, RelayLinkRpc, RelayStatusRpc, RelayUnlinkRpc, EnvironmentsListRpc, EnvironmentConnectRpc, CloudProvidersRpc, CloudProjectsListRpc, CloudProjectsConnectRpc, CloudProjectsPrepareRpc, CloudWorkspacesListRpc, CloudWorkspacesGetRpc, CloudWorkspacesCreateRpc, CloudWorkspacesConnectRpc, CloudChatsHistoryRpc, CloudChatsListRpc, CloudChatsRenameRpc, CloudChatsSendRpc, CloudWorkspacesPauseRpc, CloudWorkspacesResumeRpc, CloudWorkspacesArchiveRpc, CloudWorkspacesUnarchiveRpc, CloudWorkspacesDeleteRpc, CloudCredentialsListRpc, CloudCredentialsImportLocalRpc, CloudCredentialsDisconnectRpc, MachinesOffersRpc, MachinesListRpc, MachinesGetRpc, MachinesCreateRpc, MachinesCancelRpc, MachinesRecoverRpc, MachinesDestroyRpc, MachinesCheckoutRpc, MachinesBillingPortalRpc, MachinesEntitlementsRpc, MachineSshKeysAddRpc, MachineSshKeysListRpc, MachineSshKeysRemoveRpc, MachinePrivateNetworkEnableRpc, MachinePrivateNetworkStatusRpc, MachineRuntimeTargetRpc, MachineRuntimeStatusRpc, MachineRuntimeUpdateRpc, MachineSshModeSetRpc, AccountAccessStatusRpc, AccountAccessDetectLocalRpc, AccountAccessStartLoginRpc, AccountAccessPrepareImportRpc, AccountAccessCreateClaudeTransferRpc, AccountAccessContinueClaudeTransferRpc, AccountAccessImportRpc, AccountAccessDisconnectRpc, RelayEnvironmentsRpc, RelayConnectEnvironmentRpc, RelayClientsRpc, RelayRevokeClientRpc, WorkspaceAddRpc, WorkspaceBrowseDirectoryRpc, WorkspaceListRpc, WorkspaceRemoveRpc, WorkspacePickFolderRpc, WorkspaceGetSelectedRpc, WorkspaceSetSelectedRpc, WorkspaceStreamChangesRpc, WorkspaceSearchFilesRpc, WorkspaceCloneRepoRpc, WorkspaceCreateProjectRpc, WorkspaceListGithubReposRpc, WorkspaceGhAuthStatusRpc, ExternalThreadsListRpc, ExternalThreadsContinueRpc, PtyOpenRpc, PtyWriteRpc, PtyResizeRpc, PtyCloseRpc, PtyOutputRpc, GitLogRpc, GitStatusRpc, GitBranchesRpc, GitSwitchBranchRpc, GitUserNameRpc, GitHeadChangedRpc, GitOriginRpc, GitPrStateRpc, GitPrDetailsRpc, GitListPrsRpc, GitListIssuesRpc, GitIssueMarkdownRpc, GitChangesRpc, GitReviewSummaryRpc, GitReviewPatchesRpc, GitReviewFileContentsRpc, GitReviewIdentityRpc, GitDiffRpc, GitCommitRpc, GitCreateReviewCommentRpc, GitPushRpc, GitResolveConflictRpc, GitMergePrRpc, GitMarkReadyRpc, GitInitRpc, GitFixFailingChecksRpc, GitRevertFileRpc, GitRestoreFileToBaseRpc, GitRevertAllRpc, GitDiffStatRpc, FsTreeRpc, FsWatchTreeRpc, FsListPathsRpc, FsMoveRpc, FsReadFileRpc, FsWriteFileRpc, FsCreateFileRpc, FsCreateDirectoryRpc, FsRemoveRpc, FsReadExternalFileRpc, FsWriteExternalFileRpc, ProviderAvailabilityRpc, ProviderRemoveCredentialRpc, ProviderSetCredentialRpc, ProviderOpencodeInventoryRpc, ProviderKiroInventoryRpc, ProviderOpencodeSetAuthRpc, ProviderOpencodeRemoveAuthRpc, ProviderOpencodeAddCustomRpc, ProviderOpencodeRemoveCustomRpc, ProviderStartLoginRpc, ProviderUpdateRpc, ChatArchivePreviewRpc, McpListRpc, McpRefreshRpc, McpSetEnabledRpc, McpAuthenticateRpc, ChatListRpc, ChatGetRpc, ChatCreateRpc, ChatCreationListRpc, ChatCreationStreamRpc, ChatCreationDiscardRpc, ChatRenameRpc, ChatMarkReadRpc, ChatStreamChangesRpc, ChatSetWorktreeRpc, ChatSetActiveSessionRpc, ChatArchiveRpc, ChatArchiveStatusRpc, ChatArchiveJobsRpc, ChatDirectoryStatusRpc, ChatUnarchiveRpc, ChatDeleteRpc, SessionListRpc, SessionStreamChangesRpc, SessionMcpUpdateRpc, SessionGetRpc, SessionCreateRpc, SessionRenameRpc, SessionGoalGetRpc, SessionGoalSetRpc, SessionGoalClearRpc, SessionGoalStreamRpc, SessionSetModelRpc, SessionSetProviderRpc, SessionArchiveRpc, SessionUnarchiveRpc, SessionDeleteRpc, SessionEventsHeadRpc, SessionEventsRpc, SessionForkRpc, SessionExportTranscriptRpc, SessionLatestPlanRpc, SessionResumeRpc, SessionSetRuntimeModeRpc, SessionSetPermissionModeRpc, SessionAnswerQuestionRpc, SessionPlanRespondRpc, SessionSetWorktreeRpc, MessagesListRpc, MessagesSendRpc, MessagesInterruptRpc, MessagesQueueListRpc, MessagesQueueAddRpc, MessagesQueueUpdateRpc, MessagesQueueDeleteRpc, MessagesQueueRunNextRpc, MessagesQueueReorderRpc, MessagesQueueFlushRpc, MessagesQueueResumeRpc, AttachmentUploadRpc, ContextSaveTextRpc, SkillListRpc, SkillListForProjectRpc, SkillStreamRpc, PermissionRequestsRpc, PermissionDecideRpc, PermissionListPendingRpc, PermissionListDecisionsRpc, PermissionRevokeDecisionRpc, PokemonPokedexRpc, PokemonEnsureSpriteCachedRpc, BrowserCommandsRpc, BrowserRespondRpc, BrowserSetCredentialRpc, BrowserListCredentialsRpc, BrowserRemoveCredentialRpc, WorktreeCreateRpc, WorktreeListRpc, WorktreeGetRpc, WorktreeRenameBranchRpc, WorktreeRerunSetupRpc, WorktreeSetupStreamRpc, WorktreeStartRunRpc, WorktreeRemoveRpc, RepositorySettingsGetRpc, RepositorySettingsUpdateRpc, SettingsGetRpc, SettingsUpdateRpc, SettingsStreamRpc, SettingsMigrateLocalStorageRpc, UsageReportRpc, UsageOverviewRpc, UsageSessionsRpc, UsageLimitsRpc, UsageLimitsHistoryRpc, DiagnosticsExportRpc, DiagnosticsOverviewRpc, DiagnosticsEventsRpc, DiagnosticsProcessesRpc, DiagnosticsSignalRpc, DiagnosticsIngestRpc, DiagnosticsCaptureRpc, KeybindingsGetRpc, KeybindingsReplaceRpc, KeybindingsStreamRpc, SessionSetWorktreeRpc);
|
|
7450
7883
|
//#endregion
|
|
7451
7884
|
//#region ../contracts/src/serve.ts
|
|
7452
7885
|
const ServeServiceState = Schema.Literals([
|
|
@@ -8320,4 +8753,4 @@ const runServeCli = async (argv, env = process.env) => {
|
|
|
8320
8753
|
//#endregion
|
|
8321
8754
|
export { runServeCli as t };
|
|
8322
8755
|
|
|
8323
|
-
//# sourceMappingURL=cli-
|
|
8756
|
+
//# sourceMappingURL=cli-Cz9Ua4SV.mjs.map
|