@sylphx/cli 0.19.2 → 0.19.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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @sylphx/cli
2
2
 
3
+ ## 0.19.3
4
+
5
+ ### Patch Changes
6
+
7
+ - c16f48d: De-jargon `insights` and `tokens` command help text so the CLI reads in plain language for end users.
8
+ - Updated dependencies [4d5d720]
9
+ - Updated dependencies [b74f8ee]
10
+ - Updated dependencies [f03d4f7]
11
+ - Updated dependencies [aab377d]
12
+ - Updated dependencies [6c6584f]
13
+ - @sylphx/sdk@0.23.0
14
+
3
15
  ## 0.19.2
4
16
 
5
17
  ### Patch Changes
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.19.2",
18
+ version: "0.19.3",
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.22.0",
74
+ "@sylphx/sdk": "0.23.0",
75
75
  chalk: "^5.3.0",
76
76
  effect: "3.21.0",
77
77
  eventsource: "^2.0.2",
@@ -411,6 +411,13 @@ var init_compute = __esm({
411
411
  }
412
412
  });
413
413
 
414
+ // ../contract/dist/operation-authz-registry.js
415
+ var init_operation_authz_registry = __esm({
416
+ "../contract/dist/operation-authz-registry.js"() {
417
+ "use strict";
418
+ }
419
+ });
420
+
414
421
  // ../contract/dist/endpoint.js
415
422
  var defineEndpoint;
416
423
  var init_endpoint = __esm({
@@ -9300,7 +9307,7 @@ var init_databases = __esm({
9300
9307
 
9301
9308
  // ../contract/dist/schemas/deployment.js
9302
9309
  import { Schema as Schema58 } from "effect";
9303
- var DeploymentEnvironmentStatus, DeploymentStatus, DeployBuildPlanFailure, QueuedBuildDispatch, DeployResult, DeploymentHistoryItem, DeploymentHistoryResult, RollbackResult, ProjectStatusEnvironment, ProjectStatus, DeploymentServiceStatus, DeploymentDetail, DeploySupplyChain, TriggerDeploymentFrameworkSignals, DeploymentServiceNamePattern, DeploymentServiceName, TriggerDeploymentInput, RollbackDeploymentInput, DeployServiceStatus, EnvScopedAppEnvInfo, EnvScopedGithubInstallAction, EnvScopedGithubReconnectAction, EnvScopedGithubSourceHealthAction, EnvScopedGithubSourceHealthWarning, EnvScopedAppSourceHealth, EnvScopedAppDeployments, EnvScopedTriggerDeployResult, EnvScopedRollbackByCommitInput, EnvScopedRollbackByCommitResult, CancelBuildResult, BuildDetail, EnvScopedEnvVar, EnvScopedListEnvVarsResult, EnvScopedSetEnvVarInput, EnvScopedSetEnvVarResult, EnvScopedDeleteEnvVarResult, EnvScopedDeploymentView, EnvScopedDeploymentHistory, EnvScopedAppHealthStatus, EnvServiceRollbackInput, EnvServiceRollbackResult, PromoteArtifactInput, PromoteArtifactResult, DeployStatusLiteral, TriggerSourceLiteral, EnvServiceHistoryDeployment, EnvServiceHistoryResult;
9310
+ var DeploymentEnvironmentStatus, DeploymentStatus, DeployBuildPlanFailure, QueuedBuildDispatch, DeployResult, DeploymentHistoryItem, DeploymentHistoryResult, RollbackResult, ProjectStatusEnvironment, ProjectStatus, DeploymentServiceStatus, DeploymentFailureDiagnostic, DeploymentDetail, DeploySupplyChain, TriggerDeploymentFrameworkSignals, DeploymentServiceNamePattern, DeploymentServiceName, TriggerDeploymentInput, RollbackDeploymentInput, DeployServiceStatus, EnvScopedAppEnvInfo, EnvScopedGithubInstallAction, EnvScopedGithubReconnectAction, EnvScopedGithubSourceHealthAction, EnvScopedGithubSourceHealthWarning, EnvScopedAppSourceHealth, EnvScopedAppDeployments, EnvScopedTriggerDeployResult, EnvScopedRollbackByCommitInput, EnvScopedRollbackByCommitResult, CancelBuildResult, BuildDetail, EnvScopedEnvVar, EnvScopedListEnvVarsResult, EnvScopedSetEnvVarInput, EnvScopedSetEnvVarResult, EnvScopedDeleteEnvVarResult, EnvScopedDeploymentView, EnvScopedDeploymentHistory, EnvScopedAppHealthStatus, EnvServiceRollbackInput, EnvServiceRollbackResult, PromoteArtifactInput, PromoteArtifactResult, DeployStatusLiteral, TriggerSourceLiteral, EnvServiceHistoryDeployment, EnvServiceHistoryResult;
9304
9311
  var init_deployment = __esm({
9305
9312
  "../contract/dist/schemas/deployment.js"() {
9306
9313
  "use strict";
@@ -9424,6 +9431,13 @@ var init_deployment = __esm({
9424
9431
  image: Schema58.optional(Schema58.NullOr(Schema58.String)),
9425
9432
  status: Schema58.String
9426
9433
  });
9434
+ DeploymentFailureDiagnostic = Schema58.Struct({
9435
+ stage: Schema58.Literal("release"),
9436
+ category: Schema58.Literal("release_command", "project_migration", "timeout", "infrastructure", "unknown"),
9437
+ retryable: Schema58.Boolean,
9438
+ reason: Schema58.String,
9439
+ buildRecordId: Schema58.NullOr(BuildId)
9440
+ });
9427
9441
  DeploymentDetail = Schema58.Struct({
9428
9442
  id: DeploymentId,
9429
9443
  status: Schema58.String,
@@ -9445,6 +9459,7 @@ var init_deployment = __esm({
9445
9459
  durationMs: Schema58.optional(Schema58.Number),
9446
9460
  errorMessage: Schema58.optional(Schema58.NullOr(Schema58.String)),
9447
9461
  failureSummary: Schema58.optional(Schema58.NullOr(Schema58.String)),
9462
+ failure: Schema58.optional(Schema58.NullOr(DeploymentFailureDiagnostic)),
9448
9463
  url: Schema58.optional(Schema58.NullOr(Schema58.String)),
9449
9464
  buildLogUrl: Schema58.optional(Schema58.String),
9450
9465
  services: Schema58.optional(Schema58.Array(DeploymentServiceStatus))
@@ -9652,7 +9667,8 @@ var init_deployment = __esm({
9652
9667
  id: DeploymentId,
9653
9668
  status: Schema58.String,
9654
9669
  createdAt: Schema58.String,
9655
- finishedAt: Schema58.NullOr(Schema58.String)
9670
+ finishedAt: Schema58.NullOr(Schema58.String),
9671
+ failure: Schema58.NullOr(DeploymentFailureDiagnostic)
9656
9672
  }))
9657
9673
  });
9658
9674
  EnvScopedEnvVar = Schema58.Struct({
@@ -15826,6 +15842,8 @@ var init_project_manifest = __esm({
15826
15842
  /** Service name — unique within project. */
15827
15843
  name: Slug2,
15828
15844
  type: ServiceType,
15845
+ /** Build and publish an artifact without creating runtime resources. */
15846
+ build_only: Schema102.optional(Schema102.Boolean),
15829
15847
  /** Higher values dispatch earlier when one push affects multiple services. */
15830
15848
  deploy_priority: Schema102.optional(Schema102.Number.pipe(Schema102.int(), Schema102.greaterThanOrEqualTo(0))),
15831
15849
  /** Per-service build override. Root [build] remains the default. */
@@ -20410,6 +20428,7 @@ var init_dist2 = __esm({
20410
20428
  "use strict";
20411
20429
  init_ci_runner_profiles();
20412
20430
  init_compute();
20431
+ init_operation_authz_registry();
20413
20432
  init_endpoint();
20414
20433
  init_admin_anomalies2();
20415
20434
  init_admin_audit2();
@@ -37188,17 +37207,13 @@ var mergeToLiveCmd = Command33.make(
37188
37207
  org: org._tag === "Some" ? org.value : void 0,
37189
37208
  output
37190
37209
  })
37191
- ).pipe(
37192
- Command33.withDescription(
37193
- "Show rolling 7-day merge-to-live latency rollup per environment (ADR-136)"
37194
- )
37195
- );
37210
+ ).pipe(Command33.withDescription("Show rolling 7-day merge-to-live latency per environment"));
37196
37211
  var insightsCommand = Command33.make(
37197
37212
  "insights",
37198
37213
  {},
37199
37214
  () => Console34.log("Run `sylphx insights --help` for usage")
37200
37215
  ).pipe(
37201
- Command33.withDescription("Customer-facing latency dashboards (ADR-136)"),
37216
+ Command33.withDescription("Latency dashboards for your environments"),
37202
37217
  Command33.withSubcommands([mergeToLiveCmd])
37203
37218
  );
37204
37219
 
@@ -46701,7 +46716,7 @@ var tokensCommand = Command71.make(
46701
46716
  {},
46702
46717
  () => Console72.log("Run `sylphx tokens --help` for usage")
46703
46718
  ).pipe(
46704
- Command71.withDescription("Manage service tokens (ADR-059 \xA73) \u2014 machine-identity credentials"),
46719
+ Command71.withDescription("Manage service tokens \u2014 credentials for machine and CI access"),
46705
46720
  Command71.withSubcommands([listCmd26, createCmd15, showCmd3, revokeCmd, rotateCmd])
46706
46721
  );
46707
46722