@secondlayer/cli 19.1.2 → 19.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/cli.js CHANGED
@@ -198798,6 +198798,9 @@ import {
198798
198798
  generatePrintSchemaSubgraph as generatePrintSchemaSubgraph2,
198799
198799
  generateTraitSubgraph as generateTraitSubgraph2
198800
198800
  } from "@secondlayer/scaffold";
198801
+ import {
198802
+ billingPausedCode
198803
+ } from "@secondlayer/shared/schemas";
198801
198804
  import { TRAIT_STANDARDS } from "@secondlayer/stacks/clarity";
198802
198805
  function webhookHint(apiUrl, name, firstTable) {
198803
198806
  if (!firstTable || isMerchantUrl(apiUrl))
@@ -199150,6 +199153,10 @@ function formatOperationRange(op) {
199150
199153
  return "whole subgraph";
199151
199154
  return `${op.fromBlock ?? "start"} → ${op.toBlock ?? "tip"}`;
199152
199155
  }
199156
+ function formatSubgraphStatus(status, lastError) {
199157
+ const code = billingPausedCode(lastError);
199158
+ return code ? `${status} (paused: ${code.replace(/_/g, " ")})` : status;
199159
+ }
199153
199160
  function formatOperationProgress(progress) {
199154
199161
  if (progress === null)
199155
199162
  return "—";
@@ -199668,7 +199675,10 @@ ${data.length} subgraph(s) total`));
199668
199675
  console.log(formatKeyValue([
199669
199676
  ["Name", subgraph.name],
199670
199677
  ["Version", subgraph.version],
199671
- ["Status", subgraph.status],
199678
+ [
199679
+ "Status",
199680
+ formatSubgraphStatus(subgraph.status, subgraph.health.lastError)
199681
+ ],
199672
199682
  ["Sync", syncDisplay.line],
199673
199683
  [syncDisplay.remainingLabel, syncDisplay.remaining],
199674
199684
  ["Integrity", integrity],
@@ -202516,7 +202526,7 @@ var {
202516
202526
  // package.json
202517
202527
  var package_default = {
202518
202528
  name: "@secondlayer/cli",
202519
- version: "19.1.2",
202529
+ version: "19.1.3",
202520
202530
  description: "Run a Stacks index on your own hardware — set it up, restore verified history, and keep it current.",
202521
202531
  repository: {
202522
202532
  type: "git",
@@ -202556,9 +202566,9 @@ var package_default = {
202556
202566
  "@secondlayer/bundler": "^0.6.1",
202557
202567
  "@secondlayer/scaffold": "^1.6.1",
202558
202568
  "@secondlayer/sdk": "^14.2.0",
202559
- "@secondlayer/shared": "^11.19.2",
202569
+ "@secondlayer/shared": "^11.19.3",
202560
202570
  "@secondlayer/stacks": "^6.1.1",
202561
- "@secondlayer/subgraphs": "^6.3.5",
202571
+ "@secondlayer/subgraphs": "^6.3.6",
202562
202572
  esbuild: "^0.28.2",
202563
202573
  "smol-toml": "^1.8.0",
202564
202574
  zod: "^4.3.6"
@@ -209298,5 +209308,5 @@ registerCreditsCommand(program);
209298
209308
  registerArchiveCommand(program);
209299
209309
  program.parse();
209300
209310
 
209301
- //# debugId=09267A0D0DFF448064756E2164756E21
209311
+ //# debugId=14D458833783D3C664756E2164756E21
209302
209312
  //# sourceMappingURL=cli.js.map