ardent-cli 0.0.54 → 0.0.55

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.
Files changed (2) hide show
  1. package/dist/index.js +8 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -568,6 +568,9 @@ function operationStageDisplay(stage) {
568
568
  const label = STAGE_DISPLAY[base] ?? humanizeRawStage(base);
569
569
  return suffix ? `${label} (for ${suffix})` : label;
570
570
  }
571
+ function operationStageLabel(op) {
572
+ return op.stage_label ?? operationStageDisplay(op.stage);
573
+ }
571
574
 
572
575
  // src/lib/resource_name_validation.ts
573
576
  var RESERVED_SUFFIXES = ["pooler", "readonly", "direct"];
@@ -978,7 +981,7 @@ async function pollBranchCreate(operationId, idempotencyScopeKey, mode) {
978
981
  consecutiveTransientFailures = 0;
979
982
  if (op.stage && op.stage !== lastStage && mode !== "json" && mode !== "print-url") {
980
983
  const progressLabel = op.progress != null ? ` (${op.progress}%)` : "";
981
- console.log(` ${operationStageDisplay(op.stage)}${progressLabel}`);
984
+ console.log(` ${operationStageLabel(op)}${progressLabel}`);
982
985
  lastStage = op.stage;
983
986
  }
984
987
  if (op.status === "completed") {
@@ -1348,7 +1351,7 @@ async function runDiscoveryWithPolling(connectorId, options) {
1348
1351
  }
1349
1352
  if (op.stage && op.stage !== lastStage) {
1350
1353
  const progressLabel = op.progress != null ? ` (${op.progress}%)` : "";
1351
- console.log(` ${operationStageDisplay(op.stage)}${progressLabel}`);
1354
+ console.log(` ${operationStageLabel(op)}${progressLabel}`);
1352
1355
  lastStage = op.stage;
1353
1356
  }
1354
1357
  if (op.status === "completed") {
@@ -1539,7 +1542,7 @@ async function runEngineSetupWithPolling(connectorId, connectorName, options = {
1539
1542
  consecutiveTransientFailures = 0;
1540
1543
  if (op.stage && op.stage !== lastStage) {
1541
1544
  const progressLabel = op.progress != null ? ` (${op.progress}%)` : "";
1542
- console.log(` ${operationStageDisplay(op.stage)}${progressLabel}`);
1545
+ console.log(` ${operationStageLabel(op)}${progressLabel}`);
1543
1546
  lastStage = op.stage;
1544
1547
  }
1545
1548
  if (op.status === "completed") {
@@ -2780,7 +2783,7 @@ async function waitForConnectorDelete(operationId) {
2780
2783
  consecutiveTransientFailures = 0;
2781
2784
  if (operation.stage && operation.stage !== lastStage) {
2782
2785
  const progressLabel = operation.progress != null ? ` (${operation.progress}%)` : "";
2783
- console.log(` ${operationStageDisplay(operation.stage)}${progressLabel}`);
2786
+ console.log(` ${operationStageLabel(operation)}${progressLabel}`);
2784
2787
  lastStage = operation.stage;
2785
2788
  }
2786
2789
  if (operation.status === "completed") {
@@ -3300,7 +3303,7 @@ connectorCommand.command("update <name>").description("Update a connector's conf
3300
3303
  ).action(updateAction);
3301
3304
  connectorCommand.command("delete <name>").description("Delete a connector by name").option(
3302
3305
  "--force",
3303
- "Skip the in-flight WAL/Kafka drain wait. Any un-replicated changes are abandoned and recorded for operator triage."
3306
+ "Skip the wait for in-flight changes to finish replicating. Any un-replicated changes are abandoned."
3304
3307
  ).action(deleteAction2);
3305
3308
 
3306
3309
  // src/commands/invite/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ardent-cli",
3
- "version": "0.0.54",
3
+ "version": "0.0.55",
4
4
  "description": "Git for Data infrastructure",
5
5
  "type": "module",
6
6
  "bin": {