@sylphx/cli 0.13.0 → 0.13.1
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/CHANGELOG.md +7 -0
- package/dist/main.js +659 -288
- package/dist/main.js.map +1 -1
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -15,7 +15,7 @@ var init_package = __esm({
|
|
|
15
15
|
"package.json"() {
|
|
16
16
|
package_default = {
|
|
17
17
|
name: "@sylphx/cli",
|
|
18
|
-
version: "0.13.
|
|
18
|
+
version: "0.13.1",
|
|
19
19
|
description: "Sylphx Platform CLI \u2014 deploy and manage your applications from the terminal. 63 commands across deployment, logs, env vars, domains, databases, storage, monitoring, self-service (user), admin (users/quotas/audit/invitations/jwt-keys/project-migrate), and more.",
|
|
20
20
|
type: "module",
|
|
21
21
|
homepage: "https://sylphx.com",
|
|
@@ -71,7 +71,7 @@ var init_package = __esm({
|
|
|
71
71
|
"@effect/cli": "0.75.1",
|
|
72
72
|
"@effect/platform": "0.96.0",
|
|
73
73
|
"@effect/platform-bun": "0.89.0",
|
|
74
|
-
"@sylphx/sdk": "0.
|
|
74
|
+
"@sylphx/sdk": "0.14.0",
|
|
75
75
|
chalk: "^5.3.0",
|
|
76
76
|
effect: "3.21.0",
|
|
77
77
|
eventsource: "^2.0.2",
|
|
@@ -411,7 +411,7 @@ var init_admin_apm = __esm({
|
|
|
411
411
|
|
|
412
412
|
// ../contract/dist/schemas/ids.js
|
|
413
413
|
import { Schema as Schema4 } from "effect";
|
|
414
|
-
var brandedId, OrgId, ProjectId, EnvironmentId, ServiceId, UserId, SessionId, DeploymentId, BuildId, DomainId, HostnameId, SecretId, DatabaseId, BranchDatabaseId, ResourceId, VolumeMountId, ProxyRuleId, InvitationId;
|
|
414
|
+
var brandedId, OrgId, ProjectId, EnvironmentId, ServiceId, UserId, SessionId, DeploymentId, BuildId, DomainId, HostnameId, SecretId, DatabaseId, BranchDatabaseId, ResourceId, WorkspaceId, VolumeMountId, ProxyRuleId, InvitationId;
|
|
415
415
|
var init_ids = __esm({
|
|
416
416
|
"../contract/dist/schemas/ids.js"() {
|
|
417
417
|
"use strict";
|
|
@@ -430,6 +430,7 @@ var init_ids = __esm({
|
|
|
430
430
|
DatabaseId = brandedId("DatabaseId");
|
|
431
431
|
BranchDatabaseId = brandedId("BranchDatabaseId");
|
|
432
432
|
ResourceId = brandedId("ResourceId");
|
|
433
|
+
WorkspaceId = brandedId("WorkspaceId");
|
|
433
434
|
VolumeMountId = brandedId("VolumeMountId");
|
|
434
435
|
ProxyRuleId = brandedId("ProxyRuleId");
|
|
435
436
|
InvitationId = brandedId("InvitationId");
|
|
@@ -14945,340 +14946,398 @@ var init_webhooks = __esm({
|
|
|
14945
14946
|
}
|
|
14946
14947
|
});
|
|
14947
14948
|
|
|
14948
|
-
// ../contract/dist/
|
|
14949
|
+
// ../contract/dist/schemas/workspaces.js
|
|
14949
14950
|
import { Schema as Schema112 } from "effect";
|
|
14951
|
+
var WorkspaceStatus, WorkspaceVolumeSharing, WorkspaceVolumeStatus, ManagedWorkspaceVolume, ManagedWorkspace, WorkspaceProjectParams, WorkspaceProjectIdParams, WorkspaceIdParams, CreateWorkspaceInput, ForkWorkspaceInput, ListWorkspacesResult, WorkspaceResult, DeleteWorkspaceResult;
|
|
14952
|
+
var init_workspaces = __esm({
|
|
14953
|
+
"../contract/dist/schemas/workspaces.js"() {
|
|
14954
|
+
"use strict";
|
|
14955
|
+
init_ids();
|
|
14956
|
+
WorkspaceStatus = Schema112.Literal("provisioning", "ready", "error", "archived");
|
|
14957
|
+
WorkspaceVolumeSharing = Schema112.Literal("single-writer", "shared");
|
|
14958
|
+
WorkspaceVolumeStatus = Schema112.Literal("provisioning", "active", "error");
|
|
14959
|
+
ManagedWorkspaceVolume = Schema112.Struct({
|
|
14960
|
+
sharing: WorkspaceVolumeSharing,
|
|
14961
|
+
status: WorkspaceVolumeStatus
|
|
14962
|
+
});
|
|
14963
|
+
ManagedWorkspace = Schema112.Struct({
|
|
14964
|
+
id: WorkspaceId,
|
|
14965
|
+
projectId: ProjectId,
|
|
14966
|
+
environmentId: EnvironmentId,
|
|
14967
|
+
key: Schema112.String,
|
|
14968
|
+
name: Schema112.String,
|
|
14969
|
+
sizeGb: Schema112.Number,
|
|
14970
|
+
sourceWorkspaceId: Schema112.NullOr(WorkspaceId),
|
|
14971
|
+
status: WorkspaceStatus,
|
|
14972
|
+
statusMessage: Schema112.optional(Schema112.NullOr(Schema112.String)),
|
|
14973
|
+
createdAt: Schema112.String,
|
|
14974
|
+
updatedAt: Schema112.String,
|
|
14975
|
+
volume: Schema112.optional(ManagedWorkspaceVolume)
|
|
14976
|
+
});
|
|
14977
|
+
WorkspaceProjectParams = Schema112.Struct({ projectId: ProjectId });
|
|
14978
|
+
WorkspaceProjectIdParams = Schema112.Struct({
|
|
14979
|
+
projectId: ProjectId,
|
|
14980
|
+
workspaceId: WorkspaceId
|
|
14981
|
+
});
|
|
14982
|
+
WorkspaceIdParams = Schema112.Struct({ workspaceId: WorkspaceId });
|
|
14983
|
+
CreateWorkspaceInput = Schema112.Struct({
|
|
14984
|
+
name: Schema112.String,
|
|
14985
|
+
key: Schema112.optional(Schema112.String),
|
|
14986
|
+
sizeGb: Schema112.optional(Schema112.Number),
|
|
14987
|
+
environmentId: Schema112.optional(EnvironmentId)
|
|
14988
|
+
});
|
|
14989
|
+
ForkWorkspaceInput = Schema112.Struct({
|
|
14990
|
+
name: Schema112.optional(Schema112.String),
|
|
14991
|
+
key: Schema112.optional(Schema112.String),
|
|
14992
|
+
sizeGb: Schema112.optional(Schema112.Number)
|
|
14993
|
+
});
|
|
14994
|
+
ListWorkspacesResult = Schema112.Struct({
|
|
14995
|
+
workspaces: Schema112.Array(ManagedWorkspace)
|
|
14996
|
+
});
|
|
14997
|
+
WorkspaceResult = Schema112.Struct({
|
|
14998
|
+
workspace: ManagedWorkspace
|
|
14999
|
+
});
|
|
15000
|
+
DeleteWorkspaceResult = Schema112.Struct({
|
|
15001
|
+
deleted: Schema112.Boolean,
|
|
15002
|
+
workspaceId: WorkspaceId
|
|
15003
|
+
});
|
|
15004
|
+
}
|
|
15005
|
+
});
|
|
15006
|
+
|
|
15007
|
+
// ../contract/dist/errors.js
|
|
15008
|
+
import { Schema as Schema113 } from "effect";
|
|
14950
15009
|
var BadRequestError, UnauthorizedError, ForbiddenError, NotFoundError, ConflictError, UnprocessableEntityError, RateLimitedError, InternalServerError, ApiError;
|
|
14951
15010
|
var init_errors = __esm({
|
|
14952
15011
|
"../contract/dist/errors.js"() {
|
|
14953
15012
|
"use strict";
|
|
14954
|
-
BadRequestError =
|
|
14955
|
-
_tag:
|
|
14956
|
-
code:
|
|
14957
|
-
message:
|
|
14958
|
-
details:
|
|
15013
|
+
BadRequestError = Schema113.Struct({
|
|
15014
|
+
_tag: Schema113.Literal("BadRequest"),
|
|
15015
|
+
code: Schema113.String,
|
|
15016
|
+
message: Schema113.String,
|
|
15017
|
+
details: Schema113.optional(Schema113.Unknown)
|
|
14959
15018
|
});
|
|
14960
|
-
UnauthorizedError =
|
|
14961
|
-
_tag:
|
|
14962
|
-
code:
|
|
14963
|
-
message:
|
|
15019
|
+
UnauthorizedError = Schema113.Struct({
|
|
15020
|
+
_tag: Schema113.Literal("Unauthorized"),
|
|
15021
|
+
code: Schema113.String,
|
|
15022
|
+
message: Schema113.String
|
|
14964
15023
|
});
|
|
14965
|
-
ForbiddenError =
|
|
14966
|
-
_tag:
|
|
14967
|
-
code:
|
|
14968
|
-
message:
|
|
15024
|
+
ForbiddenError = Schema113.Struct({
|
|
15025
|
+
_tag: Schema113.Literal("Forbidden"),
|
|
15026
|
+
code: Schema113.String,
|
|
15027
|
+
message: Schema113.String
|
|
14969
15028
|
});
|
|
14970
|
-
NotFoundError =
|
|
14971
|
-
_tag:
|
|
14972
|
-
code:
|
|
14973
|
-
message:
|
|
15029
|
+
NotFoundError = Schema113.Struct({
|
|
15030
|
+
_tag: Schema113.Literal("NotFound"),
|
|
15031
|
+
code: Schema113.String,
|
|
15032
|
+
message: Schema113.String
|
|
14974
15033
|
});
|
|
14975
|
-
ConflictError =
|
|
14976
|
-
_tag:
|
|
14977
|
-
code:
|
|
14978
|
-
message:
|
|
15034
|
+
ConflictError = Schema113.Struct({
|
|
15035
|
+
_tag: Schema113.Literal("Conflict"),
|
|
15036
|
+
code: Schema113.String,
|
|
15037
|
+
message: Schema113.String
|
|
14979
15038
|
});
|
|
14980
|
-
UnprocessableEntityError =
|
|
14981
|
-
_tag:
|
|
14982
|
-
code:
|
|
14983
|
-
message:
|
|
14984
|
-
details:
|
|
15039
|
+
UnprocessableEntityError = Schema113.Struct({
|
|
15040
|
+
_tag: Schema113.Literal("UnprocessableEntity"),
|
|
15041
|
+
code: Schema113.String,
|
|
15042
|
+
message: Schema113.String,
|
|
15043
|
+
details: Schema113.optional(Schema113.Unknown)
|
|
14985
15044
|
});
|
|
14986
|
-
RateLimitedError =
|
|
14987
|
-
_tag:
|
|
14988
|
-
code:
|
|
14989
|
-
message:
|
|
14990
|
-
retryAfterSeconds:
|
|
15045
|
+
RateLimitedError = Schema113.Struct({
|
|
15046
|
+
_tag: Schema113.Literal("RateLimited"),
|
|
15047
|
+
code: Schema113.String,
|
|
15048
|
+
message: Schema113.String,
|
|
15049
|
+
retryAfterSeconds: Schema113.optional(Schema113.Number)
|
|
14991
15050
|
});
|
|
14992
|
-
InternalServerError =
|
|
14993
|
-
_tag:
|
|
14994
|
-
code:
|
|
14995
|
-
message:
|
|
15051
|
+
InternalServerError = Schema113.Struct({
|
|
15052
|
+
_tag: Schema113.Literal("InternalServer"),
|
|
15053
|
+
code: Schema113.String,
|
|
15054
|
+
message: Schema113.String
|
|
14996
15055
|
});
|
|
14997
|
-
ApiError =
|
|
15056
|
+
ApiError = Schema113.Union(BadRequestError, UnauthorizedError, ForbiddenError, NotFoundError, ConflictError, UnprocessableEntityError, RateLimitedError, InternalServerError);
|
|
14998
15057
|
}
|
|
14999
15058
|
});
|
|
15000
15059
|
|
|
15001
15060
|
// ../contract/dist/schemas/ai.js
|
|
15002
|
-
import { Schema as
|
|
15061
|
+
import { Schema as Schema114 } from "effect";
|
|
15003
15062
|
var AIUsagePeriod, AIModelCapability, AIModel, GetModelsResponse, TokensBreakdown, CostBreakdown, ModelUsage, TypeUsage, GetUsageResponse, CurrentRateLimitUsage, GetRateLimitResponse;
|
|
15004
15063
|
var init_ai = __esm({
|
|
15005
15064
|
"../contract/dist/schemas/ai.js"() {
|
|
15006
15065
|
"use strict";
|
|
15007
|
-
AIUsagePeriod =
|
|
15008
|
-
AIModelCapability =
|
|
15009
|
-
AIModel =
|
|
15010
|
-
id:
|
|
15011
|
-
name:
|
|
15012
|
-
contextWindow:
|
|
15013
|
-
capabilities:
|
|
15014
|
-
inputCostPer1M:
|
|
15015
|
-
outputCostPer1M:
|
|
15016
|
-
description:
|
|
15017
|
-
});
|
|
15018
|
-
GetModelsResponse =
|
|
15019
|
-
models:
|
|
15020
|
-
nextCursor:
|
|
15021
|
-
hasMore:
|
|
15022
|
-
});
|
|
15023
|
-
TokensBreakdown =
|
|
15024
|
-
input:
|
|
15025
|
-
output:
|
|
15026
|
-
total:
|
|
15027
|
-
});
|
|
15028
|
-
CostBreakdown =
|
|
15029
|
-
microdollars:
|
|
15030
|
-
formatted:
|
|
15031
|
-
});
|
|
15032
|
-
ModelUsage =
|
|
15033
|
-
requests:
|
|
15034
|
-
tokens:
|
|
15035
|
-
cost:
|
|
15036
|
-
});
|
|
15037
|
-
TypeUsage =
|
|
15038
|
-
requests:
|
|
15039
|
-
tokens:
|
|
15040
|
-
});
|
|
15041
|
-
GetUsageResponse =
|
|
15066
|
+
AIUsagePeriod = Schema114.Literal("day", "week", "month");
|
|
15067
|
+
AIModelCapability = Schema114.Literal("chat", "vision", "tool", "embedding");
|
|
15068
|
+
AIModel = Schema114.Struct({
|
|
15069
|
+
id: Schema114.String,
|
|
15070
|
+
name: Schema114.String,
|
|
15071
|
+
contextWindow: Schema114.Number,
|
|
15072
|
+
capabilities: Schema114.Array(AIModelCapability),
|
|
15073
|
+
inputCostPer1M: Schema114.Number,
|
|
15074
|
+
outputCostPer1M: Schema114.Number,
|
|
15075
|
+
description: Schema114.optional(Schema114.String)
|
|
15076
|
+
});
|
|
15077
|
+
GetModelsResponse = Schema114.Struct({
|
|
15078
|
+
models: Schema114.Array(AIModel),
|
|
15079
|
+
nextCursor: Schema114.NullOr(Schema114.String),
|
|
15080
|
+
hasMore: Schema114.Boolean
|
|
15081
|
+
});
|
|
15082
|
+
TokensBreakdown = Schema114.Struct({
|
|
15083
|
+
input: Schema114.Number,
|
|
15084
|
+
output: Schema114.Number,
|
|
15085
|
+
total: Schema114.Number
|
|
15086
|
+
});
|
|
15087
|
+
CostBreakdown = Schema114.Struct({
|
|
15088
|
+
microdollars: Schema114.Number,
|
|
15089
|
+
formatted: Schema114.String
|
|
15090
|
+
});
|
|
15091
|
+
ModelUsage = Schema114.Struct({
|
|
15092
|
+
requests: Schema114.Number,
|
|
15093
|
+
tokens: Schema114.Number,
|
|
15094
|
+
cost: Schema114.Number
|
|
15095
|
+
});
|
|
15096
|
+
TypeUsage = Schema114.Struct({
|
|
15097
|
+
requests: Schema114.Number,
|
|
15098
|
+
tokens: Schema114.Number
|
|
15099
|
+
});
|
|
15100
|
+
GetUsageResponse = Schema114.Struct({
|
|
15042
15101
|
period: AIUsagePeriod,
|
|
15043
|
-
requests:
|
|
15102
|
+
requests: Schema114.Number,
|
|
15044
15103
|
tokens: TokensBreakdown,
|
|
15045
15104
|
cost: CostBreakdown,
|
|
15046
|
-
byModel:
|
|
15047
|
-
byType:
|
|
15048
|
-
});
|
|
15049
|
-
CurrentRateLimitUsage =
|
|
15050
|
-
requestsThisMinute:
|
|
15051
|
-
requestsToday:
|
|
15052
|
-
tokensThisMinute:
|
|
15053
|
-
tokensToday:
|
|
15054
|
-
costToday:
|
|
15055
|
-
});
|
|
15056
|
-
GetRateLimitResponse =
|
|
15057
|
-
requestsPerMinute:
|
|
15058
|
-
requestsPerDay:
|
|
15059
|
-
tokensPerMinute:
|
|
15060
|
-
tokensPerDay:
|
|
15061
|
-
costPerDayMicrodollars:
|
|
15105
|
+
byModel: Schema114.Record({ key: Schema114.String, value: ModelUsage }),
|
|
15106
|
+
byType: Schema114.Record({ key: Schema114.String, value: TypeUsage })
|
|
15107
|
+
});
|
|
15108
|
+
CurrentRateLimitUsage = Schema114.Struct({
|
|
15109
|
+
requestsThisMinute: Schema114.Number,
|
|
15110
|
+
requestsToday: Schema114.Number,
|
|
15111
|
+
tokensThisMinute: Schema114.Number,
|
|
15112
|
+
tokensToday: Schema114.Number,
|
|
15113
|
+
costToday: Schema114.Number
|
|
15114
|
+
});
|
|
15115
|
+
GetRateLimitResponse = Schema114.Struct({
|
|
15116
|
+
requestsPerMinute: Schema114.NullOr(Schema114.Number),
|
|
15117
|
+
requestsPerDay: Schema114.NullOr(Schema114.Number),
|
|
15118
|
+
tokensPerMinute: Schema114.NullOr(Schema114.Number),
|
|
15119
|
+
tokensPerDay: Schema114.NullOr(Schema114.Number),
|
|
15120
|
+
costPerDayMicrodollars: Schema114.NullOr(Schema114.Number),
|
|
15062
15121
|
current: CurrentRateLimitUsage
|
|
15063
15122
|
});
|
|
15064
15123
|
}
|
|
15065
15124
|
});
|
|
15066
15125
|
|
|
15067
15126
|
// ../contract/dist/schemas/billing.js
|
|
15068
|
-
import { Schema as
|
|
15127
|
+
import { Schema as Schema115 } from "effect";
|
|
15069
15128
|
var SdkBillingInterval, SdkBillingSubscriptionStatus, SdkBillingStatusLevel, SdkBillingType, SdkBillingTrustLevel, SdkBillingPlan, BillingPlansListResponse, SdkBillingSubscription, BillingSubscriptionResponse, BillingCheckoutRequest, BillingCheckoutResponse, BillingPortalRequest, BillingPortalResponse, SdkBillingBalanceInfo, SdkBillingStatusInfo, BillingBalanceResponse, SdkBillingUsagePeriod, SdkBillingUsageMetrics, BillingUsageResponse;
|
|
15070
15129
|
var init_billing = __esm({
|
|
15071
15130
|
"../contract/dist/schemas/billing.js"() {
|
|
15072
15131
|
"use strict";
|
|
15073
|
-
SdkBillingInterval =
|
|
15074
|
-
SdkBillingSubscriptionStatus =
|
|
15075
|
-
SdkBillingStatusLevel =
|
|
15076
|
-
SdkBillingType =
|
|
15077
|
-
SdkBillingTrustLevel =
|
|
15078
|
-
SdkBillingPlan =
|
|
15079
|
-
id:
|
|
15080
|
-
slug:
|
|
15081
|
-
name:
|
|
15082
|
-
description:
|
|
15083
|
-
features:
|
|
15084
|
-
monthlyPrice:
|
|
15085
|
-
annualPrice:
|
|
15086
|
-
lifetimePrice:
|
|
15087
|
-
isPopular:
|
|
15088
|
-
isActive:
|
|
15089
|
-
sortOrder:
|
|
15090
|
-
});
|
|
15091
|
-
BillingPlansListResponse =
|
|
15092
|
-
SdkBillingSubscription =
|
|
15093
|
-
id:
|
|
15094
|
-
userId:
|
|
15095
|
-
planId:
|
|
15096
|
-
planSlug:
|
|
15097
|
-
planName:
|
|
15132
|
+
SdkBillingInterval = Schema115.Literal("monthly", "annual", "lifetime");
|
|
15133
|
+
SdkBillingSubscriptionStatus = Schema115.Literal("active", "canceled", "past_due", "incomplete", "trialing", "paused");
|
|
15134
|
+
SdkBillingStatusLevel = Schema115.Literal("healthy", "low", "critical", "exhausted");
|
|
15135
|
+
SdkBillingType = Schema115.Literal("prepaid", "postpaid", "enterprise");
|
|
15136
|
+
SdkBillingTrustLevel = Schema115.Literal("new", "standard", "trusted", "enterprise");
|
|
15137
|
+
SdkBillingPlan = Schema115.Struct({
|
|
15138
|
+
id: Schema115.String,
|
|
15139
|
+
slug: Schema115.String,
|
|
15140
|
+
name: Schema115.String,
|
|
15141
|
+
description: Schema115.NullOr(Schema115.String),
|
|
15142
|
+
features: Schema115.Array(Schema115.String),
|
|
15143
|
+
monthlyPrice: Schema115.Number,
|
|
15144
|
+
annualPrice: Schema115.Number,
|
|
15145
|
+
lifetimePrice: Schema115.NullOr(Schema115.Number),
|
|
15146
|
+
isPopular: Schema115.Boolean,
|
|
15147
|
+
isActive: Schema115.Boolean,
|
|
15148
|
+
sortOrder: Schema115.Number
|
|
15149
|
+
});
|
|
15150
|
+
BillingPlansListResponse = Schema115.Array(SdkBillingPlan);
|
|
15151
|
+
SdkBillingSubscription = Schema115.Struct({
|
|
15152
|
+
id: Schema115.String,
|
|
15153
|
+
userId: Schema115.String,
|
|
15154
|
+
planId: Schema115.String,
|
|
15155
|
+
planSlug: Schema115.String,
|
|
15156
|
+
planName: Schema115.String,
|
|
15098
15157
|
status: SdkBillingSubscriptionStatus,
|
|
15099
15158
|
interval: SdkBillingInterval,
|
|
15100
|
-
currentPeriodStart:
|
|
15101
|
-
currentPeriodEnd:
|
|
15102
|
-
cancelAtPeriodEnd:
|
|
15103
|
-
trialEnd:
|
|
15104
|
-
});
|
|
15105
|
-
BillingSubscriptionResponse =
|
|
15106
|
-
BillingCheckoutRequest =
|
|
15107
|
-
userId:
|
|
15108
|
-
planSlug:
|
|
15159
|
+
currentPeriodStart: Schema115.NullOr(Schema115.String),
|
|
15160
|
+
currentPeriodEnd: Schema115.NullOr(Schema115.String),
|
|
15161
|
+
cancelAtPeriodEnd: Schema115.Boolean,
|
|
15162
|
+
trialEnd: Schema115.NullOr(Schema115.String)
|
|
15163
|
+
});
|
|
15164
|
+
BillingSubscriptionResponse = Schema115.NullOr(SdkBillingSubscription);
|
|
15165
|
+
BillingCheckoutRequest = Schema115.Struct({
|
|
15166
|
+
userId: Schema115.String,
|
|
15167
|
+
planSlug: Schema115.String,
|
|
15109
15168
|
interval: SdkBillingInterval,
|
|
15110
|
-
successUrl:
|
|
15111
|
-
cancelUrl:
|
|
15169
|
+
successUrl: Schema115.String,
|
|
15170
|
+
cancelUrl: Schema115.String
|
|
15112
15171
|
});
|
|
15113
|
-
BillingCheckoutResponse =
|
|
15114
|
-
checkoutUrl:
|
|
15115
|
-
sessionId:
|
|
15172
|
+
BillingCheckoutResponse = Schema115.Struct({
|
|
15173
|
+
checkoutUrl: Schema115.NullOr(Schema115.String),
|
|
15174
|
+
sessionId: Schema115.String
|
|
15116
15175
|
});
|
|
15117
|
-
BillingPortalRequest =
|
|
15118
|
-
userId:
|
|
15119
|
-
returnUrl:
|
|
15176
|
+
BillingPortalRequest = Schema115.Struct({
|
|
15177
|
+
userId: Schema115.String,
|
|
15178
|
+
returnUrl: Schema115.String
|
|
15120
15179
|
});
|
|
15121
|
-
BillingPortalResponse =
|
|
15122
|
-
portalUrl:
|
|
15180
|
+
BillingPortalResponse = Schema115.Struct({
|
|
15181
|
+
portalUrl: Schema115.String
|
|
15123
15182
|
});
|
|
15124
|
-
SdkBillingBalanceInfo =
|
|
15125
|
-
current:
|
|
15126
|
-
currentFormatted:
|
|
15183
|
+
SdkBillingBalanceInfo = Schema115.Struct({
|
|
15184
|
+
current: Schema115.Number,
|
|
15185
|
+
currentFormatted: Schema115.String
|
|
15127
15186
|
});
|
|
15128
|
-
SdkBillingStatusInfo =
|
|
15187
|
+
SdkBillingStatusInfo = Schema115.Struct({
|
|
15129
15188
|
level: SdkBillingStatusLevel,
|
|
15130
|
-
isHealthy:
|
|
15131
|
-
isLow:
|
|
15132
|
-
alertThreshold:
|
|
15189
|
+
isHealthy: Schema115.Boolean,
|
|
15190
|
+
isLow: Schema115.Boolean,
|
|
15191
|
+
alertThreshold: Schema115.Number
|
|
15133
15192
|
});
|
|
15134
|
-
BillingBalanceResponse =
|
|
15193
|
+
BillingBalanceResponse = Schema115.Struct({
|
|
15135
15194
|
balance: SdkBillingBalanceInfo,
|
|
15136
15195
|
status: SdkBillingStatusInfo,
|
|
15137
15196
|
billingType: SdkBillingType,
|
|
15138
15197
|
trustLevel: SdkBillingTrustLevel,
|
|
15139
|
-
spendingCap:
|
|
15140
|
-
currentMonthSpend:
|
|
15141
|
-
spendingCapPercent:
|
|
15142
|
-
gracePeriodEndsAt:
|
|
15143
|
-
isAdminOrg:
|
|
15144
|
-
});
|
|
15145
|
-
SdkBillingUsagePeriod =
|
|
15146
|
-
type:
|
|
15147
|
-
start:
|
|
15148
|
-
end:
|
|
15149
|
-
});
|
|
15150
|
-
SdkBillingUsageMetrics =
|
|
15151
|
-
aiCostMicrodollars:
|
|
15152
|
-
storageBytesUsed:
|
|
15153
|
-
storageEgressBytes:
|
|
15154
|
-
storageUploads:
|
|
15155
|
-
dbStorageBytes:
|
|
15156
|
-
dbComputeSeconds:
|
|
15157
|
-
emailSentCount:
|
|
15158
|
-
jobInvocationCount:
|
|
15159
|
-
cronActiveCount:
|
|
15160
|
-
notificationsSentCount:
|
|
15161
|
-
analyticsEventCount:
|
|
15162
|
-
webhookDeliveryCount:
|
|
15163
|
-
errorEventCount:
|
|
15164
|
-
authMau:
|
|
15165
|
-
});
|
|
15166
|
-
BillingUsageResponse =
|
|
15198
|
+
spendingCap: Schema115.NullOr(Schema115.Number),
|
|
15199
|
+
currentMonthSpend: Schema115.Number,
|
|
15200
|
+
spendingCapPercent: Schema115.NullOr(Schema115.Number),
|
|
15201
|
+
gracePeriodEndsAt: Schema115.NullOr(Schema115.String),
|
|
15202
|
+
isAdminOrg: Schema115.Boolean
|
|
15203
|
+
});
|
|
15204
|
+
SdkBillingUsagePeriod = Schema115.Struct({
|
|
15205
|
+
type: Schema115.Literal("month"),
|
|
15206
|
+
start: Schema115.String,
|
|
15207
|
+
end: Schema115.String
|
|
15208
|
+
});
|
|
15209
|
+
SdkBillingUsageMetrics = Schema115.Struct({
|
|
15210
|
+
aiCostMicrodollars: Schema115.Number,
|
|
15211
|
+
storageBytesUsed: Schema115.Number,
|
|
15212
|
+
storageEgressBytes: Schema115.Number,
|
|
15213
|
+
storageUploads: Schema115.Number,
|
|
15214
|
+
dbStorageBytes: Schema115.Number,
|
|
15215
|
+
dbComputeSeconds: Schema115.Number,
|
|
15216
|
+
emailSentCount: Schema115.Number,
|
|
15217
|
+
jobInvocationCount: Schema115.Number,
|
|
15218
|
+
cronActiveCount: Schema115.Number,
|
|
15219
|
+
notificationsSentCount: Schema115.Number,
|
|
15220
|
+
analyticsEventCount: Schema115.Number,
|
|
15221
|
+
webhookDeliveryCount: Schema115.Number,
|
|
15222
|
+
errorEventCount: Schema115.Number,
|
|
15223
|
+
authMau: Schema115.Number
|
|
15224
|
+
});
|
|
15225
|
+
BillingUsageResponse = Schema115.Struct({
|
|
15167
15226
|
period: SdkBillingUsagePeriod,
|
|
15168
|
-
metrics:
|
|
15227
|
+
metrics: Schema115.NullOr(SdkBillingUsageMetrics)
|
|
15169
15228
|
});
|
|
15170
15229
|
}
|
|
15171
15230
|
});
|
|
15172
15231
|
|
|
15173
15232
|
// ../contract/dist/schemas/consent.js
|
|
15174
|
-
import { Schema as
|
|
15233
|
+
import { Schema as Schema116 } from "effect";
|
|
15175
15234
|
var SdkConsentCategory, SdkConsentType, UserConsent, ConsentItem, SetConsentsRequest, SetConsentsResponse;
|
|
15176
15235
|
var init_consent = __esm({
|
|
15177
15236
|
"../contract/dist/schemas/consent.js"() {
|
|
15178
15237
|
"use strict";
|
|
15179
|
-
SdkConsentCategory =
|
|
15180
|
-
SdkConsentType =
|
|
15181
|
-
id:
|
|
15182
|
-
slug:
|
|
15238
|
+
SdkConsentCategory = Schema116.Literal("necessary", "analytics", "marketing", "preferences", "functional");
|
|
15239
|
+
SdkConsentType = Schema116.Struct({
|
|
15240
|
+
id: Schema116.String,
|
|
15241
|
+
slug: Schema116.String,
|
|
15183
15242
|
category: SdkConsentCategory,
|
|
15184
|
-
name:
|
|
15185
|
-
description:
|
|
15186
|
-
required:
|
|
15187
|
-
defaultEnabled:
|
|
15243
|
+
name: Schema116.String,
|
|
15244
|
+
description: Schema116.String,
|
|
15245
|
+
required: Schema116.Boolean,
|
|
15246
|
+
defaultEnabled: Schema116.Boolean
|
|
15188
15247
|
});
|
|
15189
|
-
UserConsent =
|
|
15190
|
-
slug:
|
|
15248
|
+
UserConsent = Schema116.Struct({
|
|
15249
|
+
slug: Schema116.String,
|
|
15191
15250
|
category: SdkConsentCategory,
|
|
15192
|
-
name:
|
|
15193
|
-
required:
|
|
15194
|
-
granted:
|
|
15195
|
-
grantedAt:
|
|
15196
|
-
version:
|
|
15251
|
+
name: Schema116.String,
|
|
15252
|
+
required: Schema116.Boolean,
|
|
15253
|
+
granted: Schema116.Boolean,
|
|
15254
|
+
grantedAt: Schema116.NullOr(Schema116.String),
|
|
15255
|
+
version: Schema116.NullOr(Schema116.Number)
|
|
15197
15256
|
});
|
|
15198
|
-
ConsentItem =
|
|
15199
|
-
slug:
|
|
15200
|
-
granted:
|
|
15257
|
+
ConsentItem = Schema116.Struct({
|
|
15258
|
+
slug: Schema116.String,
|
|
15259
|
+
granted: Schema116.Boolean
|
|
15201
15260
|
});
|
|
15202
|
-
SetConsentsRequest =
|
|
15203
|
-
userId:
|
|
15204
|
-
anonymousId:
|
|
15205
|
-
consents:
|
|
15206
|
-
source:
|
|
15207
|
-
userAgent:
|
|
15261
|
+
SetConsentsRequest = Schema116.Struct({
|
|
15262
|
+
userId: Schema116.optional(Schema116.String),
|
|
15263
|
+
anonymousId: Schema116.optional(Schema116.String),
|
|
15264
|
+
consents: Schema116.Array(ConsentItem),
|
|
15265
|
+
source: Schema116.optional(Schema116.Literal("banner", "settings", "api")),
|
|
15266
|
+
userAgent: Schema116.optional(Schema116.String)
|
|
15208
15267
|
});
|
|
15209
|
-
SetConsentsResponse =
|
|
15210
|
-
consents:
|
|
15268
|
+
SetConsentsResponse = Schema116.Struct({
|
|
15269
|
+
consents: Schema116.Array(ConsentItem)
|
|
15211
15270
|
});
|
|
15212
15271
|
}
|
|
15213
15272
|
});
|
|
15214
15273
|
|
|
15215
15274
|
// ../contract/dist/schemas/referrals.js
|
|
15216
|
-
import { Schema as
|
|
15275
|
+
import { Schema as Schema117 } from "effect";
|
|
15217
15276
|
var ReferralCodeStatus, ReferralLeaderboardPeriod, ReferralRewardKind, ReferralRewardConfig, ReferralRewardDefaults, GetCodeResponse, RegenerateCodeResponse, GetStatsResponse, RedeemRequest, RedeemResponse, ReferralLeaderboardEntry, ReferralLeaderboardResponse;
|
|
15218
15277
|
var init_referrals = __esm({
|
|
15219
15278
|
"../contract/dist/schemas/referrals.js"() {
|
|
15220
15279
|
"use strict";
|
|
15221
|
-
ReferralCodeStatus =
|
|
15222
|
-
ReferralLeaderboardPeriod =
|
|
15223
|
-
ReferralRewardKind =
|
|
15224
|
-
ReferralRewardConfig =
|
|
15280
|
+
ReferralCodeStatus = Schema117.Literal("pending", "completed", "expired");
|
|
15281
|
+
ReferralLeaderboardPeriod = Schema117.Literal("all", "month", "week");
|
|
15282
|
+
ReferralRewardKind = Schema117.Literal("points", "premium_trial", "discount", "credit");
|
|
15283
|
+
ReferralRewardConfig = Schema117.Struct({
|
|
15225
15284
|
type: ReferralRewardKind,
|
|
15226
|
-
points:
|
|
15227
|
-
days:
|
|
15228
|
-
discountPercent:
|
|
15229
|
-
creditCents:
|
|
15230
|
-
});
|
|
15231
|
-
ReferralRewardDefaults =
|
|
15232
|
-
referrerReward:
|
|
15233
|
-
refereeReward:
|
|
15234
|
-
doubleReward:
|
|
15235
|
-
minimumDaysBeforeReward:
|
|
15236
|
-
});
|
|
15237
|
-
GetCodeResponse =
|
|
15238
|
-
code:
|
|
15285
|
+
points: Schema117.optional(Schema117.Number),
|
|
15286
|
+
days: Schema117.optional(Schema117.Number),
|
|
15287
|
+
discountPercent: Schema117.optional(Schema117.Number),
|
|
15288
|
+
creditCents: Schema117.optional(Schema117.Number)
|
|
15289
|
+
});
|
|
15290
|
+
ReferralRewardDefaults = Schema117.Struct({
|
|
15291
|
+
referrerReward: Schema117.optional(ReferralRewardConfig),
|
|
15292
|
+
refereeReward: Schema117.optional(ReferralRewardConfig),
|
|
15293
|
+
doubleReward: Schema117.optional(Schema117.Boolean),
|
|
15294
|
+
minimumDaysBeforeReward: Schema117.optional(Schema117.Number)
|
|
15295
|
+
});
|
|
15296
|
+
GetCodeResponse = Schema117.Struct({
|
|
15297
|
+
code: Schema117.String,
|
|
15239
15298
|
status: ReferralCodeStatus
|
|
15240
15299
|
});
|
|
15241
|
-
RegenerateCodeResponse =
|
|
15242
|
-
code:
|
|
15243
|
-
totalReferrals:
|
|
15244
|
-
completedReferrals:
|
|
15245
|
-
pendingReferrals:
|
|
15246
|
-
});
|
|
15247
|
-
GetStatsResponse =
|
|
15248
|
-
totalReferrals:
|
|
15249
|
-
completedReferrals:
|
|
15250
|
-
pendingReferrals:
|
|
15251
|
-
});
|
|
15252
|
-
RedeemRequest =
|
|
15253
|
-
code:
|
|
15254
|
-
defaults:
|
|
15255
|
-
});
|
|
15256
|
-
RedeemResponse =
|
|
15257
|
-
success:
|
|
15258
|
-
rewardType:
|
|
15259
|
-
referredReward:
|
|
15260
|
-
referrerReward:
|
|
15261
|
-
});
|
|
15262
|
-
ReferralLeaderboardEntry =
|
|
15263
|
-
rank:
|
|
15264
|
-
userId:
|
|
15265
|
-
displayName:
|
|
15266
|
-
avatarUrl:
|
|
15267
|
-
value:
|
|
15268
|
-
isCurrentUser:
|
|
15269
|
-
metadata:
|
|
15270
|
-
submittedAt:
|
|
15271
|
-
});
|
|
15272
|
-
ReferralLeaderboardResponse =
|
|
15300
|
+
RegenerateCodeResponse = Schema117.Struct({
|
|
15301
|
+
code: Schema117.String,
|
|
15302
|
+
totalReferrals: Schema117.Number,
|
|
15303
|
+
completedReferrals: Schema117.Number,
|
|
15304
|
+
pendingReferrals: Schema117.Number
|
|
15305
|
+
});
|
|
15306
|
+
GetStatsResponse = Schema117.Struct({
|
|
15307
|
+
totalReferrals: Schema117.Number,
|
|
15308
|
+
completedReferrals: Schema117.Number,
|
|
15309
|
+
pendingReferrals: Schema117.Number
|
|
15310
|
+
});
|
|
15311
|
+
RedeemRequest = Schema117.Struct({
|
|
15312
|
+
code: Schema117.String,
|
|
15313
|
+
defaults: Schema117.optional(ReferralRewardDefaults)
|
|
15314
|
+
});
|
|
15315
|
+
RedeemResponse = Schema117.Struct({
|
|
15316
|
+
success: Schema117.Boolean,
|
|
15317
|
+
rewardType: Schema117.String,
|
|
15318
|
+
referredReward: Schema117.optional(Schema117.Record({ key: Schema117.String, value: Schema117.Unknown })),
|
|
15319
|
+
referrerReward: Schema117.optional(Schema117.Record({ key: Schema117.String, value: Schema117.Unknown }))
|
|
15320
|
+
});
|
|
15321
|
+
ReferralLeaderboardEntry = Schema117.Struct({
|
|
15322
|
+
rank: Schema117.Number,
|
|
15323
|
+
userId: Schema117.NullOr(Schema117.String),
|
|
15324
|
+
displayName: Schema117.String,
|
|
15325
|
+
avatarUrl: Schema117.NullOr(Schema117.String),
|
|
15326
|
+
value: Schema117.Number,
|
|
15327
|
+
isCurrentUser: Schema117.Boolean,
|
|
15328
|
+
metadata: Schema117.optional(Schema117.Record({ key: Schema117.String, value: Schema117.Unknown })),
|
|
15329
|
+
submittedAt: Schema117.String
|
|
15330
|
+
});
|
|
15331
|
+
ReferralLeaderboardResponse = Schema117.Struct({
|
|
15273
15332
|
period: ReferralLeaderboardPeriod,
|
|
15274
|
-
entries:
|
|
15275
|
-
currentUserRank:
|
|
15333
|
+
entries: Schema117.Array(ReferralLeaderboardEntry),
|
|
15334
|
+
currentUserRank: Schema117.NullOr(Schema117.Number)
|
|
15276
15335
|
});
|
|
15277
15336
|
}
|
|
15278
15337
|
});
|
|
15279
15338
|
|
|
15280
15339
|
// ../contract/dist/schemas/service.js
|
|
15281
|
-
import { Schema as
|
|
15340
|
+
import { Schema as Schema118 } from "effect";
|
|
15282
15341
|
function scalePolicyErrorPath(message) {
|
|
15283
15342
|
if (message.includes("scaleToZero"))
|
|
15284
15343
|
return ["scaleToZero"];
|
|
@@ -15336,16 +15395,16 @@ var init_service = __esm({
|
|
|
15336
15395
|
targetPercentMin: 1,
|
|
15337
15396
|
targetPercentMax: 100
|
|
15338
15397
|
};
|
|
15339
|
-
ScalePolicyStruct =
|
|
15340
|
-
min:
|
|
15341
|
-
max:
|
|
15342
|
-
scaleToZero:
|
|
15343
|
-
idleTimeoutSeconds:
|
|
15344
|
-
regions:
|
|
15345
|
-
targetCPUPercent:
|
|
15346
|
-
targetMemoryPercent:
|
|
15398
|
+
ScalePolicyStruct = Schema118.Struct({
|
|
15399
|
+
min: Schema118.optional(Schema118.Number.pipe(Schema118.int(), Schema118.between(SCALE_POLICY_LIMITS.minInstancesMin, SCALE_POLICY_LIMITS.minInstancesMax))),
|
|
15400
|
+
max: Schema118.optional(Schema118.Number.pipe(Schema118.int(), Schema118.between(SCALE_POLICY_LIMITS.maxInstancesMin, SCALE_POLICY_LIMITS.maxInstancesMax))),
|
|
15401
|
+
scaleToZero: Schema118.optional(Schema118.Boolean),
|
|
15402
|
+
idleTimeoutSeconds: Schema118.optional(Schema118.Number.pipe(Schema118.int(), Schema118.between(SCALE_POLICY_LIMITS.idleTimeoutSecondsMin, SCALE_POLICY_LIMITS.idleTimeoutSecondsMax))),
|
|
15403
|
+
regions: Schema118.optional(Schema118.Array(Schema118.String)),
|
|
15404
|
+
targetCPUPercent: Schema118.optional(Schema118.Number.pipe(Schema118.int(), Schema118.between(SCALE_POLICY_LIMITS.targetPercentMin, SCALE_POLICY_LIMITS.targetPercentMax))),
|
|
15405
|
+
targetMemoryPercent: Schema118.optional(Schema118.Number.pipe(Schema118.int(), Schema118.between(SCALE_POLICY_LIMITS.targetPercentMin, SCALE_POLICY_LIMITS.targetPercentMax)))
|
|
15347
15406
|
});
|
|
15348
|
-
ScalePolicy = ScalePolicyStruct.pipe(
|
|
15407
|
+
ScalePolicy = ScalePolicyStruct.pipe(Schema118.filter((policy) => {
|
|
15349
15408
|
const message = validateScalePolicyValue(policy);
|
|
15350
15409
|
if (!message)
|
|
15351
15410
|
return true;
|
|
@@ -15499,6 +15558,7 @@ var init_dist = __esm({
|
|
|
15499
15558
|
init_tasks();
|
|
15500
15559
|
init_user();
|
|
15501
15560
|
init_webhooks();
|
|
15561
|
+
init_workspaces();
|
|
15502
15562
|
}
|
|
15503
15563
|
});
|
|
15504
15564
|
|
|
@@ -18069,6 +18129,42 @@ var init_webhooks2 = __esm({
|
|
|
18069
18129
|
}
|
|
18070
18130
|
});
|
|
18071
18131
|
|
|
18132
|
+
// ../management/dist/workspaces.js
|
|
18133
|
+
var workspaces_exports = {};
|
|
18134
|
+
__export(workspaces_exports, {
|
|
18135
|
+
create: () => create20,
|
|
18136
|
+
delete: () => _delete18,
|
|
18137
|
+
fork: () => fork,
|
|
18138
|
+
get: () => get15,
|
|
18139
|
+
list: () => list28
|
|
18140
|
+
});
|
|
18141
|
+
var list28, get15, create20, fork, _delete18;
|
|
18142
|
+
var init_workspaces2 = __esm({
|
|
18143
|
+
"../management/dist/workspaces.js"() {
|
|
18144
|
+
"use strict";
|
|
18145
|
+
init_http();
|
|
18146
|
+
list28 = async (client, projectId) => {
|
|
18147
|
+
const res = await request(client, "GET", interpolatePath("/projects/:projectId/workspaces", { projectId }));
|
|
18148
|
+
return res.workspaces;
|
|
18149
|
+
};
|
|
18150
|
+
get15 = async (client, projectId, workspaceId) => request(client, "GET", interpolatePath("/projects/:projectId/workspaces/:workspaceId", {
|
|
18151
|
+
projectId,
|
|
18152
|
+
workspaceId
|
|
18153
|
+
}));
|
|
18154
|
+
create20 = (client, projectId, input) => request(client, "POST", interpolatePath("/projects/:projectId/workspaces", { projectId }), {
|
|
18155
|
+
body: input
|
|
18156
|
+
});
|
|
18157
|
+
fork = (client, projectId, workspaceId, input = {}) => request(client, "POST", interpolatePath("/projects/:projectId/workspaces/:workspaceId/forks", {
|
|
18158
|
+
projectId,
|
|
18159
|
+
workspaceId
|
|
18160
|
+
}), { body: input });
|
|
18161
|
+
_delete18 = (client, projectId, workspaceId) => request(client, "DELETE", interpolatePath("/projects/:projectId/workspaces/:workspaceId", {
|
|
18162
|
+
projectId,
|
|
18163
|
+
workspaceId
|
|
18164
|
+
}));
|
|
18165
|
+
}
|
|
18166
|
+
});
|
|
18167
|
+
|
|
18072
18168
|
// ../management/dist/index.js
|
|
18073
18169
|
var init_dist2 = __esm({
|
|
18074
18170
|
"../management/dist/index.js"() {
|
|
@@ -18143,11 +18239,12 @@ var init_dist2 = __esm({
|
|
|
18143
18239
|
init_users2();
|
|
18144
18240
|
init_volumes();
|
|
18145
18241
|
init_webhooks2();
|
|
18242
|
+
init_workspaces2();
|
|
18146
18243
|
}
|
|
18147
18244
|
});
|
|
18148
18245
|
|
|
18149
18246
|
// src/lib/manifest.ts
|
|
18150
|
-
import { Data, Effect, Either, ParseResult, Schema as
|
|
18247
|
+
import { Data, Effect, Either, ParseResult, Schema as Schema119 } from "effect";
|
|
18151
18248
|
function resolveManifestPath(explicit, cwd = process.cwd()) {
|
|
18152
18249
|
if (explicit && explicit.length > 0) {
|
|
18153
18250
|
return explicit.startsWith("/") ? explicit : `${cwd}/${explicit}`;
|
|
@@ -18193,7 +18290,7 @@ function parseTomlEffect(source, path7) {
|
|
|
18193
18290
|
});
|
|
18194
18291
|
}
|
|
18195
18292
|
function validateManifestEffect(parsed, path7) {
|
|
18196
|
-
const either =
|
|
18293
|
+
const either = Schema119.decodeUnknownEither(SylphxManifest, {
|
|
18197
18294
|
errors: "all",
|
|
18198
18295
|
// Reject typos + unknown keys so users catch mistakes locally rather
|
|
18199
18296
|
// than having the server silently drop fields on apply.
|
|
@@ -18515,7 +18612,7 @@ var init_env_flags = __esm({
|
|
|
18515
18612
|
import fs from "fs";
|
|
18516
18613
|
import os from "os";
|
|
18517
18614
|
import path from "path";
|
|
18518
|
-
import { Either as Either2, ParseResult as ParseResult2, Schema as
|
|
18615
|
+
import { Either as Either2, ParseResult as ParseResult2, Schema as Schema120 } from "effect";
|
|
18519
18616
|
function isRecord(value) {
|
|
18520
18617
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
18521
18618
|
}
|
|
@@ -18653,7 +18750,7 @@ function requireLinkMetadata(link, key) {
|
|
|
18653
18750
|
throw new Error(`Cannot create ${MANIFEST_FILENAME}: ProjectLink.${key} is required`);
|
|
18654
18751
|
}
|
|
18655
18752
|
function decodeManifestForWrite(filePath, parsed) {
|
|
18656
|
-
const decoded =
|
|
18753
|
+
const decoded = Schema120.decodeUnknownEither(SylphxManifest, {
|
|
18657
18754
|
errors: "all",
|
|
18658
18755
|
onExcessProperty: "error"
|
|
18659
18756
|
})(parsed);
|
|
@@ -19834,9 +19931,9 @@ var init_oidc4 = __esm({
|
|
|
19834
19931
|
|
|
19835
19932
|
// src/main.ts
|
|
19836
19933
|
init_package();
|
|
19837
|
-
import { Command as
|
|
19934
|
+
import { Command as Command71 } from "@effect/cli";
|
|
19838
19935
|
import { BunContext, BunRuntime } from "@effect/platform-bun";
|
|
19839
|
-
import { Console as
|
|
19936
|
+
import { Console as Console71, Effect as Effect81, Layer as Layer5 } from "effect";
|
|
19840
19937
|
|
|
19841
19938
|
// src/programs/account.ts
|
|
19842
19939
|
init_dist();
|
|
@@ -20235,6 +20332,26 @@ var ApiServiceLive = Layer2.succeed(ApiService, {
|
|
|
20235
20332
|
try: () => withAuthedSdk((c2) => volumes_exports.delete(c2, projectId, volId)),
|
|
20236
20333
|
catch: mapApiError("volumes")
|
|
20237
20334
|
}),
|
|
20335
|
+
listWorkspaces: (projectId) => Effect7.tryPromise({
|
|
20336
|
+
try: () => withAuthedSdk((c2) => workspaces_exports.list(c2, projectId)),
|
|
20337
|
+
catch: mapApiError("workspaces")
|
|
20338
|
+
}),
|
|
20339
|
+
getWorkspace: (projectId, workspaceId) => Effect7.tryPromise({
|
|
20340
|
+
try: () => withAuthedSdk((c2) => workspaces_exports.get(c2, projectId, workspaceId)),
|
|
20341
|
+
catch: mapApiError("workspaces")
|
|
20342
|
+
}),
|
|
20343
|
+
createWorkspace: (projectId, data) => Effect7.tryPromise({
|
|
20344
|
+
try: () => withAuthedSdk((c2) => workspaces_exports.create(c2, projectId, data)),
|
|
20345
|
+
catch: mapApiError("workspaces")
|
|
20346
|
+
}),
|
|
20347
|
+
forkWorkspace: (projectId, workspaceId, data) => Effect7.tryPromise({
|
|
20348
|
+
try: () => withAuthedSdk((c2) => workspaces_exports.fork(c2, projectId, workspaceId, data)),
|
|
20349
|
+
catch: mapApiError("workspaces")
|
|
20350
|
+
}),
|
|
20351
|
+
deleteWorkspace: (projectId, workspaceId) => Effect7.tryPromise({
|
|
20352
|
+
try: () => withAuthedSdk((c2) => workspaces_exports.delete(c2, projectId, workspaceId)),
|
|
20353
|
+
catch: mapApiError("workspaces")
|
|
20354
|
+
}),
|
|
20238
20355
|
listConfig: (projectId, envType, options) => Effect7.tryPromise({
|
|
20239
20356
|
try: () => withAuthedSdk((c2) => remoteConfig_exports.list(c2, projectId, envType, options)),
|
|
20240
20357
|
catch: mapApiError("config")
|
|
@@ -28580,8 +28697,8 @@ function flagsDeleteEffect(opts) {
|
|
|
28580
28697
|
yield* requireAuthEffect;
|
|
28581
28698
|
const api2 = yield* ApiService;
|
|
28582
28699
|
const projectId = yield* resolveProjectEffect(opts.project);
|
|
28583
|
-
const
|
|
28584
|
-
const match =
|
|
28700
|
+
const list29 = yield* api2.listFlags(projectId, { limit: 100 });
|
|
28701
|
+
const match = list29.flags.find((f) => f.key === opts.key);
|
|
28585
28702
|
if (!match) {
|
|
28586
28703
|
return yield* Effect34.fail(
|
|
28587
28704
|
new CliCommandError({
|
|
@@ -28610,8 +28727,8 @@ function flagsToggleEffect(opts) {
|
|
|
28610
28727
|
yield* requireAuthEffect;
|
|
28611
28728
|
const api2 = yield* ApiService;
|
|
28612
28729
|
const projectId = yield* resolveProjectEffect(opts.project);
|
|
28613
|
-
const
|
|
28614
|
-
const match =
|
|
28730
|
+
const list29 = yield* api2.listFlags(projectId, { limit: 100 });
|
|
28731
|
+
const match = list29.flags.find((f) => f.key === opts.key);
|
|
28615
28732
|
if (!match) {
|
|
28616
28733
|
return yield* Effect34.fail(
|
|
28617
28734
|
new CliCommandError({
|
|
@@ -30570,9 +30687,9 @@ function migrateStatusEffect(input) {
|
|
|
30570
30687
|
const byProject = /* @__PURE__ */ new Map();
|
|
30571
30688
|
for (const row of rows) {
|
|
30572
30689
|
const key = row.projectSlug ?? row.projectId;
|
|
30573
|
-
const
|
|
30574
|
-
|
|
30575
|
-
byProject.set(key,
|
|
30690
|
+
const list29 = byProject.get(key) ?? [];
|
|
30691
|
+
list29.push(row);
|
|
30692
|
+
byProject.set(key, list29);
|
|
30576
30693
|
}
|
|
30577
30694
|
const sortedKeys = [...byProject.keys()].sort();
|
|
30578
30695
|
for (const key of sortedKeys) {
|
|
@@ -38645,6 +38762,259 @@ var whoamiCommand = Command69.make(
|
|
|
38645
38762
|
({ output }) => whoamiEffectWith(output)
|
|
38646
38763
|
).pipe(Command69.withDescription("Show current user, org, and linked project"));
|
|
38647
38764
|
|
|
38765
|
+
// src/programs/workspaces.ts
|
|
38766
|
+
import { Args as Args48, Command as Command70, Options as Options69 } from "@effect/cli";
|
|
38767
|
+
import { Console as Console70, Effect as Effect80 } from "effect";
|
|
38768
|
+
init_chalk();
|
|
38769
|
+
init_effect_io();
|
|
38770
|
+
init_spinner();
|
|
38771
|
+
function optionalValue5(option) {
|
|
38772
|
+
return option._tag === "Some" ? option.value : void 0;
|
|
38773
|
+
}
|
|
38774
|
+
function resolveWorkspaceProjectEffect(project, org) {
|
|
38775
|
+
return Effect80.gen(function* () {
|
|
38776
|
+
const orgId = yield* resolveOrgScopeEffect("workspaces", org);
|
|
38777
|
+
const target = yield* resolveProjectTargetWithApiEffect("workspaces", project, orgId);
|
|
38778
|
+
return target.projectId;
|
|
38779
|
+
});
|
|
38780
|
+
}
|
|
38781
|
+
function parseWorkspaceSizeEffect(command, size) {
|
|
38782
|
+
if (size === void 0) return Effect80.succeed(void 0);
|
|
38783
|
+
const sizeGb = Number.parseInt(size, 10);
|
|
38784
|
+
if (Number.isNaN(sizeGb) || sizeGb < 1) {
|
|
38785
|
+
return Effect80.fail(
|
|
38786
|
+
new CliArgError({
|
|
38787
|
+
command,
|
|
38788
|
+
argument: "--size",
|
|
38789
|
+
message: "--size must be a number >= 1"
|
|
38790
|
+
})
|
|
38791
|
+
);
|
|
38792
|
+
}
|
|
38793
|
+
return Effect80.succeed(sizeGb);
|
|
38794
|
+
}
|
|
38795
|
+
function workspaceStatusLabel(status3) {
|
|
38796
|
+
if (status3 === "ready") return chalk_default.green(status3.padEnd(12));
|
|
38797
|
+
if (status3 === "error") return chalk_default.red(status3.padEnd(12));
|
|
38798
|
+
return chalk_default.yellow(status3.padEnd(12));
|
|
38799
|
+
}
|
|
38800
|
+
function renderWorkspaceDetails(workspace) {
|
|
38801
|
+
return Effect80.gen(function* () {
|
|
38802
|
+
yield* Console70.log("");
|
|
38803
|
+
yield* Console70.log(` ${chalk_default.dim("ID:")} ${workspace.id}`);
|
|
38804
|
+
yield* Console70.log(` ${chalk_default.dim("Name:")} ${workspace.name}`);
|
|
38805
|
+
yield* Console70.log(` ${chalk_default.dim("Key:")} ${workspace.key}`);
|
|
38806
|
+
yield* Console70.log(` ${chalk_default.dim("Size:")} ${workspace.sizeGb}Gi`);
|
|
38807
|
+
yield* Console70.log(` ${chalk_default.dim("Status:")} ${workspace.status}`);
|
|
38808
|
+
if (workspace.sourceWorkspaceId) {
|
|
38809
|
+
yield* Console70.log(` ${chalk_default.dim("Source:")} ${workspace.sourceWorkspaceId}`);
|
|
38810
|
+
}
|
|
38811
|
+
yield* Console70.log(` ${chalk_default.dim("Created:")} ${workspace.createdAt}`);
|
|
38812
|
+
yield* Console70.log("");
|
|
38813
|
+
});
|
|
38814
|
+
}
|
|
38815
|
+
function workspacesListEffect(opts = {}) {
|
|
38816
|
+
return Effect80.gen(function* () {
|
|
38817
|
+
yield* requireAuthEffect;
|
|
38818
|
+
const projectId = yield* resolveWorkspaceProjectEffect(opts.project, opts.org);
|
|
38819
|
+
const api2 = yield* ApiService;
|
|
38820
|
+
const workspaces = yield* withSpinner("Fetching workspaces...", api2.listWorkspaces(projectId));
|
|
38821
|
+
if (workspaces.length === 0) {
|
|
38822
|
+
yield* Console70.log(chalk_default.dim(" No workspaces provisioned."));
|
|
38823
|
+
yield* Console70.log(
|
|
38824
|
+
chalk_default.dim(`
|
|
38825
|
+
Run ${chalk_default.cyan("sylphx workspaces create <name>")} to provision.`)
|
|
38826
|
+
);
|
|
38827
|
+
return;
|
|
38828
|
+
}
|
|
38829
|
+
yield* Console70.log("");
|
|
38830
|
+
yield* Console70.log(
|
|
38831
|
+
` ${chalk_default.bold("NAME".padEnd(28))} ${"SIZE".padEnd(8)} ${"STATUS".padEnd(12)} ID`
|
|
38832
|
+
);
|
|
38833
|
+
yield* Console70.log(` ${"\u2500".repeat(78)}`);
|
|
38834
|
+
for (const workspace of workspaces) {
|
|
38835
|
+
const size = `${workspace.sizeGb}Gi`.padEnd(8);
|
|
38836
|
+
yield* Console70.log(
|
|
38837
|
+
` ${chalk_default.cyan(workspace.name.padEnd(28))} ${size} ${workspaceStatusLabel(workspace.status)} ${chalk_default.dim(workspace.id)}`
|
|
38838
|
+
);
|
|
38839
|
+
}
|
|
38840
|
+
yield* Console70.log("");
|
|
38841
|
+
});
|
|
38842
|
+
}
|
|
38843
|
+
function workspacesGetEffect(input) {
|
|
38844
|
+
return Effect80.gen(function* () {
|
|
38845
|
+
yield* requireAuthEffect;
|
|
38846
|
+
const projectId = yield* resolveWorkspaceProjectEffect(input.project, input.org);
|
|
38847
|
+
const api2 = yield* ApiService;
|
|
38848
|
+
const result = yield* withSpinner(
|
|
38849
|
+
`Fetching workspace ${input.id}...`,
|
|
38850
|
+
api2.getWorkspace(projectId, input.id)
|
|
38851
|
+
);
|
|
38852
|
+
yield* renderWorkspaceDetails(result.workspace);
|
|
38853
|
+
});
|
|
38854
|
+
}
|
|
38855
|
+
function workspacesCreateEffect(input) {
|
|
38856
|
+
return Effect80.gen(function* () {
|
|
38857
|
+
const sizeGb = yield* parseWorkspaceSizeEffect("workspaces", input.size);
|
|
38858
|
+
yield* requireAuthEffect;
|
|
38859
|
+
const projectId = yield* resolveWorkspaceProjectEffect(input.project, input.org);
|
|
38860
|
+
const api2 = yield* ApiService;
|
|
38861
|
+
const result = yield* withSpinner(
|
|
38862
|
+
`Provisioning workspace '${input.name}'...`,
|
|
38863
|
+
api2.createWorkspace(projectId, {
|
|
38864
|
+
name: input.name,
|
|
38865
|
+
key: input.key,
|
|
38866
|
+
sizeGb,
|
|
38867
|
+
environmentId: input.environment
|
|
38868
|
+
})
|
|
38869
|
+
);
|
|
38870
|
+
yield* Console70.log(chalk_default.green(`\u2713 Workspace '${result.workspace.name}' created`));
|
|
38871
|
+
yield* renderWorkspaceDetails(result.workspace);
|
|
38872
|
+
});
|
|
38873
|
+
}
|
|
38874
|
+
function workspacesForkEffect(input) {
|
|
38875
|
+
return Effect80.gen(function* () {
|
|
38876
|
+
const sizeGb = yield* parseWorkspaceSizeEffect("workspaces", input.size);
|
|
38877
|
+
yield* requireAuthEffect;
|
|
38878
|
+
const projectId = yield* resolveWorkspaceProjectEffect(input.project, input.org);
|
|
38879
|
+
const api2 = yield* ApiService;
|
|
38880
|
+
const result = yield* withSpinner(
|
|
38881
|
+
`Forking workspace ${input.id}...`,
|
|
38882
|
+
api2.forkWorkspace(projectId, input.id, {
|
|
38883
|
+
name: input.name,
|
|
38884
|
+
key: input.key,
|
|
38885
|
+
sizeGb
|
|
38886
|
+
})
|
|
38887
|
+
);
|
|
38888
|
+
yield* Console70.log(chalk_default.green(`\u2713 Workspace '${result.workspace.name}' forked`));
|
|
38889
|
+
yield* renderWorkspaceDetails(result.workspace);
|
|
38890
|
+
});
|
|
38891
|
+
}
|
|
38892
|
+
function workspacesRmEffect(input) {
|
|
38893
|
+
return Effect80.gen(function* () {
|
|
38894
|
+
yield* requireAuthEffect;
|
|
38895
|
+
const projectId = yield* resolveWorkspaceProjectEffect(input.project, input.org);
|
|
38896
|
+
const api2 = yield* ApiService;
|
|
38897
|
+
if (!input.force) {
|
|
38898
|
+
const confirmed = yield* confirmEffect(
|
|
38899
|
+
chalk_default.yellow(
|
|
38900
|
+
` \u26A0\uFE0F Delete workspace ${chalk_default.bold(input.id)}? This will destroy its data. (y/N) `
|
|
38901
|
+
)
|
|
38902
|
+
);
|
|
38903
|
+
if (!confirmed) {
|
|
38904
|
+
yield* Console70.log(chalk_default.dim(" Cancelled."));
|
|
38905
|
+
return;
|
|
38906
|
+
}
|
|
38907
|
+
}
|
|
38908
|
+
yield* withSpinner(
|
|
38909
|
+
`Deleting workspace ${input.id}...`,
|
|
38910
|
+
api2.deleteWorkspace(projectId, input.id)
|
|
38911
|
+
);
|
|
38912
|
+
yield* Console70.log(chalk_default.green(`\u2713 Workspace ${input.id} deleted`));
|
|
38913
|
+
});
|
|
38914
|
+
}
|
|
38915
|
+
var projectOption41 = Options69.text("project").pipe(
|
|
38916
|
+
Options69.withDescription(
|
|
38917
|
+
"Project id, slug, name, or ref to manage without changing the linked directory"
|
|
38918
|
+
),
|
|
38919
|
+
Options69.optional
|
|
38920
|
+
);
|
|
38921
|
+
var orgOption29 = Options69.text("org").pipe(
|
|
38922
|
+
Options69.withDescription("Organization slug or id for cross-org project lookup"),
|
|
38923
|
+
Options69.optional
|
|
38924
|
+
);
|
|
38925
|
+
var sizeOption = Options69.text("size").pipe(
|
|
38926
|
+
Options69.withDescription("Size in GiB"),
|
|
38927
|
+
Options69.optional
|
|
38928
|
+
);
|
|
38929
|
+
var keyOption = Options69.text("key").pipe(
|
|
38930
|
+
Options69.withDescription("Stable workspace key"),
|
|
38931
|
+
Options69.optional
|
|
38932
|
+
);
|
|
38933
|
+
var listCmd27 = Command70.make(
|
|
38934
|
+
"list",
|
|
38935
|
+
{ project: projectOption41, org: orgOption29 },
|
|
38936
|
+
({ project, org }) => workspacesListEffect({
|
|
38937
|
+
project: optionalValue5(project),
|
|
38938
|
+
org: optionalValue5(org)
|
|
38939
|
+
})
|
|
38940
|
+
).pipe(Command70.withDescription("List managed workspaces for the linked or explicit project"));
|
|
38941
|
+
var getCmd12 = Command70.make(
|
|
38942
|
+
"get",
|
|
38943
|
+
{ id: Args48.text({ name: "id" }), project: projectOption41, org: orgOption29 },
|
|
38944
|
+
({ id, project, org }) => workspacesGetEffect({
|
|
38945
|
+
id,
|
|
38946
|
+
project: optionalValue5(project),
|
|
38947
|
+
org: optionalValue5(org)
|
|
38948
|
+
})
|
|
38949
|
+
).pipe(Command70.withDescription("Get a managed workspace"));
|
|
38950
|
+
var createCmd15 = Command70.make(
|
|
38951
|
+
"create",
|
|
38952
|
+
{
|
|
38953
|
+
name: Args48.text({ name: "name" }),
|
|
38954
|
+
key: keyOption,
|
|
38955
|
+
size: sizeOption,
|
|
38956
|
+
environment: Options69.text("environment").pipe(
|
|
38957
|
+
Options69.withDescription("Environment id for the workspace"),
|
|
38958
|
+
Options69.optional
|
|
38959
|
+
),
|
|
38960
|
+
project: projectOption41,
|
|
38961
|
+
org: orgOption29
|
|
38962
|
+
},
|
|
38963
|
+
({ name, key, size, environment, project, org }) => workspacesCreateEffect({
|
|
38964
|
+
name,
|
|
38965
|
+
key: optionalValue5(key),
|
|
38966
|
+
size: optionalValue5(size),
|
|
38967
|
+
environment: optionalValue5(environment),
|
|
38968
|
+
project: optionalValue5(project),
|
|
38969
|
+
org: optionalValue5(org)
|
|
38970
|
+
})
|
|
38971
|
+
).pipe(Command70.withDescription("Create a managed workspace"));
|
|
38972
|
+
var forkCmd = Command70.make(
|
|
38973
|
+
"fork",
|
|
38974
|
+
{
|
|
38975
|
+
id: Args48.text({ name: "id" }),
|
|
38976
|
+
name: Options69.text("name").pipe(
|
|
38977
|
+
Options69.withDescription("Name for the forked workspace"),
|
|
38978
|
+
Options69.optional
|
|
38979
|
+
),
|
|
38980
|
+
key: keyOption,
|
|
38981
|
+
size: sizeOption,
|
|
38982
|
+
project: projectOption41,
|
|
38983
|
+
org: orgOption29
|
|
38984
|
+
},
|
|
38985
|
+
({ id, name, key, size, project, org }) => workspacesForkEffect({
|
|
38986
|
+
id,
|
|
38987
|
+
name: optionalValue5(name),
|
|
38988
|
+
key: optionalValue5(key),
|
|
38989
|
+
size: optionalValue5(size),
|
|
38990
|
+
project: optionalValue5(project),
|
|
38991
|
+
org: optionalValue5(org)
|
|
38992
|
+
})
|
|
38993
|
+
).pipe(Command70.withDescription("Fork a managed workspace"));
|
|
38994
|
+
var rmCmd7 = Command70.make(
|
|
38995
|
+
"rm",
|
|
38996
|
+
{
|
|
38997
|
+
id: Args48.text({ name: "id" }),
|
|
38998
|
+
force: Options69.boolean("force").pipe(Options69.withDescription("Skip confirmation prompt")),
|
|
38999
|
+
project: projectOption41,
|
|
39000
|
+
org: orgOption29
|
|
39001
|
+
},
|
|
39002
|
+
({ id, force, project, org }) => workspacesRmEffect({
|
|
39003
|
+
id,
|
|
39004
|
+
force,
|
|
39005
|
+
project: optionalValue5(project),
|
|
39006
|
+
org: optionalValue5(org)
|
|
39007
|
+
})
|
|
39008
|
+
).pipe(Command70.withDescription("Delete a managed workspace"));
|
|
39009
|
+
var workspacesCommand = Command70.make(
|
|
39010
|
+
"workspaces",
|
|
39011
|
+
{},
|
|
39012
|
+
() => Console70.log("Run `sylphx workspaces --help` for usage")
|
|
39013
|
+
).pipe(
|
|
39014
|
+
Command70.withDescription("Manage Platform workspace handles"),
|
|
39015
|
+
Command70.withSubcommands([listCmd27, getCmd12, createCmd15, forkCmd, rmCmd7])
|
|
39016
|
+
);
|
|
39017
|
+
|
|
38648
39018
|
// src/main.ts
|
|
38649
39019
|
init_effect_io();
|
|
38650
39020
|
|
|
@@ -38819,10 +39189,10 @@ function renderCliCommandError(err, format = resolveErrorOutputFormat()) {
|
|
|
38819
39189
|
}
|
|
38820
39190
|
|
|
38821
39191
|
// src/main.ts
|
|
38822
|
-
var root =
|
|
39192
|
+
var root = Command71.make(
|
|
38823
39193
|
"sylphx",
|
|
38824
39194
|
{},
|
|
38825
|
-
() =>
|
|
39195
|
+
() => Console71.log(
|
|
38826
39196
|
[
|
|
38827
39197
|
"Run `sylphx --help` for usage. Start with `sylphx login`.",
|
|
38828
39198
|
"",
|
|
@@ -38833,10 +39203,10 @@ var root = Command70.make(
|
|
|
38833
39203
|
].join("\n")
|
|
38834
39204
|
)
|
|
38835
39205
|
).pipe(
|
|
38836
|
-
|
|
39206
|
+
Command71.withDescription(
|
|
38837
39207
|
"Sylphx Platform CLI \u2014 deploy and manage your applications. Non-interactive auth: set `SYLPHX_TOKEN` or `SYLPHX_TOKEN_FILE`."
|
|
38838
39208
|
),
|
|
38839
|
-
|
|
39209
|
+
Command71.withSubcommands([
|
|
38840
39210
|
// auth
|
|
38841
39211
|
loginCommand,
|
|
38842
39212
|
logoutCommand,
|
|
@@ -38874,6 +39244,7 @@ var root = Command70.make(
|
|
|
38874
39244
|
previewsCommand,
|
|
38875
39245
|
storageCommand,
|
|
38876
39246
|
volumesCommand,
|
|
39247
|
+
workspacesCommand,
|
|
38877
39248
|
resourcesCommand,
|
|
38878
39249
|
servicesCommand,
|
|
38879
39250
|
configCommand,
|
|
@@ -38923,13 +39294,13 @@ var root = Command70.make(
|
|
|
38923
39294
|
rateLimitsCommand
|
|
38924
39295
|
])
|
|
38925
39296
|
);
|
|
38926
|
-
var cli =
|
|
39297
|
+
var cli = Command71.run(root, {
|
|
38927
39298
|
name: "Sylphx Platform CLI",
|
|
38928
39299
|
version: package_default.version
|
|
38929
39300
|
});
|
|
38930
39301
|
cli(process.argv).pipe(
|
|
38931
|
-
|
|
38932
|
-
(err) =>
|
|
39302
|
+
Effect81.catchAll(
|
|
39303
|
+
(err) => Effect81.sync(() => {
|
|
38933
39304
|
const format = resolveErrorOutputFormat();
|
|
38934
39305
|
if (err instanceof CliCommandError) {
|
|
38935
39306
|
process.exitCode = renderCliCommandError(err, format);
|
|
@@ -38945,13 +39316,13 @@ cli(process.argv).pipe(
|
|
|
38945
39316
|
// never delays normal interactive commands. Metadata/CI invocations
|
|
38946
39317
|
// are skipped by `runUpdateCheck()` so `--help`, `--version`, and
|
|
38947
39318
|
// smoke tests stay deterministic and offline.
|
|
38948
|
-
|
|
38949
|
-
|
|
39319
|
+
Effect81.ensuring(
|
|
39320
|
+
Effect81.tryPromise({
|
|
38950
39321
|
try: () => runUpdateCheck(),
|
|
38951
39322
|
catch: () => void 0
|
|
38952
|
-
}).pipe(
|
|
39323
|
+
}).pipe(Effect81.catchAll(() => Effect81.void))
|
|
38953
39324
|
),
|
|
38954
|
-
|
|
39325
|
+
Effect81.provide(Layer5.mergeAll(BunContext.layer, AppLayer)),
|
|
38955
39326
|
BunRuntime.runMain
|
|
38956
39327
|
);
|
|
38957
39328
|
//# sourceMappingURL=main.js.map
|