@happyvertical/smrt-cli 0.51.5 → 0.51.7

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.
@@ -845,7 +845,7 @@ function printSchemaAdvisories(advisories, options = {}) {
845
845
  log(`ℹ️ Live schema notes (${infos.length}, not applied):`);
846
846
  for (const item of infos) {
847
847
  log(` ${describeAdvisory(item)}`);
848
- if (options.verbose) {
848
+ if (options.verbose || item.type === "rename_data_pending") {
849
849
  log(` ${item.advisory.message}`);
850
850
  for (const suggestion of item.advisory.suggestedSql ?? []) log(` ↳ ${suggestion}`);
851
851
  }
@@ -2599,7 +2599,14 @@ function formatParityReport(report, options = {}) {
2599
2599
  lines.push(` ${SEVERITY_ICON[severity]} ${finding.message}`);
2600
2600
  if (options.verbose) lines.push(` → ${finding.recommendation}`);
2601
2601
  }
2602
- if (report.counts.info > 0 && !options.verbose) lines.push(` ℹ️ ${report.counts.info} informational finding(s) hidden; re-run with --verbose.`);
2602
+ const infoFindings = selectFindings(report, "info");
2603
+ const renameFindings = infoFindings.filter((finding) => finding.kind === "rename_data_pending");
2604
+ if (!options.verbose) for (const finding of renameFindings) {
2605
+ lines.push(` ${SEVERITY_ICON.info} ${finding.message}`);
2606
+ lines.push(` → ${finding.recommendation}`);
2607
+ }
2608
+ const hiddenInfoCount = options.verbose ? 0 : infoFindings.length - renameFindings.length;
2609
+ if (hiddenInfoCount > 0) lines.push(` ℹ️ ${hiddenInfoCount} informational finding(s) hidden; re-run with --verbose.`);
2603
2610
  if (report.findings.length === 0) lines.push(" ✅ Live schema matches the expected shape.");
2604
2611
  return lines;
2605
2612
  }
@@ -3014,14 +3021,6 @@ function summarizeSchemaDiff(diff) {
3014
3021
  recommendation: "Run `smrt db:migrate --drop-columns` to drop this orphan column (destructive)."
3015
3022
  });
3016
3023
  break;
3017
- case "rename_data_pending":
3018
- if (change.advisory?.severity !== "warning") break;
3019
- drift.push({
3020
- name: `${change.table}.${change.name ?? "(unknown)"}`,
3021
- type: "rename_data_pending",
3022
- recommendation: change.advisory?.message ?? "A declared column is empty while an undeclared column of a compatible type holds data — data appears to still live in the old column after a field rename. Run `smrt db:diff` for the suggested backfill SQL."
3023
- });
3024
- break;
3025
3024
  }
3026
3025
  return drift;
3027
3026
  }
package/dist/index.js CHANGED
@@ -49,63 +49,63 @@ var _playgroundCommands = null;
49
49
  var _workbenchCommands = null;
50
50
  async function getGnodeCommands() {
51
51
  if (!_gnodeCommands) {
52
- const { gnodeCommands } = await import("./commands-CCQjTTao.js");
52
+ const { gnodeCommands } = await import("./commands-DyFV-EUM.js");
53
53
  _gnodeCommands = gnodeCommands;
54
54
  }
55
55
  return _gnodeCommands;
56
56
  }
57
57
  async function getGitCommands() {
58
58
  if (!_gitCommands) {
59
- const { gitCommands } = await import("./commands-CCQjTTao.js");
59
+ const { gitCommands } = await import("./commands-DyFV-EUM.js");
60
60
  _gitCommands = gitCommands;
61
61
  }
62
62
  return _gitCommands;
63
63
  }
64
64
  async function getGenerateCommands() {
65
65
  if (!_generateCommands) {
66
- const { generateCommands } = await import("./commands-CCQjTTao.js");
66
+ const { generateCommands } = await import("./commands-DyFV-EUM.js");
67
67
  _generateCommands = generateCommands;
68
68
  }
69
69
  return _generateCommands;
70
70
  }
71
71
  async function getInitCommands() {
72
72
  if (!_initCommands) {
73
- const { initCommands } = await import("./commands-CCQjTTao.js");
73
+ const { initCommands } = await import("./commands-DyFV-EUM.js");
74
74
  _initCommands = initCommands;
75
75
  }
76
76
  return _initCommands;
77
77
  }
78
78
  async function getUtilityCommands() {
79
79
  if (!_utilityCommands) {
80
- const { utilityCommands } = await import("./commands-CCQjTTao.js");
80
+ const { utilityCommands } = await import("./commands-DyFV-EUM.js");
81
81
  _utilityCommands = utilityCommands;
82
82
  }
83
83
  return _utilityCommands;
84
84
  }
85
85
  async function getDispatchCommands() {
86
86
  if (!_dispatchCommands) {
87
- const { dispatchCommands } = await import("./commands-CCQjTTao.js");
87
+ const { dispatchCommands } = await import("./commands-DyFV-EUM.js");
88
88
  _dispatchCommands = dispatchCommands;
89
89
  }
90
90
  return _dispatchCommands;
91
91
  }
92
92
  async function getDocsCommands() {
93
93
  if (!_docsCommands) {
94
- const { docsCommands } = await import("./commands-CCQjTTao.js");
94
+ const { docsCommands } = await import("./commands-DyFV-EUM.js");
95
95
  _docsCommands = docsCommands;
96
96
  }
97
97
  return _docsCommands;
98
98
  }
99
99
  async function getPlaygroundCommands() {
100
100
  if (!_playgroundCommands) {
101
- const { playgroundCommands } = await import("./commands-CCQjTTao.js");
101
+ const { playgroundCommands } = await import("./commands-DyFV-EUM.js");
102
102
  _playgroundCommands = playgroundCommands;
103
103
  }
104
104
  return _playgroundCommands;
105
105
  }
106
106
  async function getWorkbenchCommands() {
107
107
  if (!_workbenchCommands) {
108
- const { workbenchCommands } = await import("./commands-CCQjTTao.js");
108
+ const { workbenchCommands } = await import("./commands-DyFV-EUM.js");
109
109
  _workbenchCommands = workbenchCommands;
110
110
  }
111
111
  return _workbenchCommands;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-cli",
3
- "version": "0.51.5",
3
+ "version": "0.51.7",
4
4
  "description": "Developer CLI for SMRT framework - introspection, testing, and project management",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -28,12 +28,12 @@
28
28
  "@happyvertical/ai": "^0.89.11",
29
29
  "@happyvertical/files": "^0.89.11",
30
30
  "@happyvertical/logger": "^0.89.11",
31
- "@happyvertical/smrt-agents": "0.51.5",
32
- "@happyvertical/smrt-config": "0.51.5",
33
- "@happyvertical/smrt-core": "0.51.5",
34
- "@happyvertical/smrt-dev-mcp": "0.51.5",
35
- "@happyvertical/smrt-playground": "0.51.5",
36
- "@happyvertical/smrt-types": "0.51.5",
31
+ "@happyvertical/smrt-agents": "0.51.7",
32
+ "@happyvertical/smrt-config": "0.51.7",
33
+ "@happyvertical/smrt-core": "0.51.7",
34
+ "@happyvertical/smrt-dev-mcp": "0.51.7",
35
+ "@happyvertical/smrt-playground": "0.51.7",
36
+ "@happyvertical/smrt-types": "0.51.7",
37
37
  "@happyvertical/sql": "^0.89.11",
38
38
  "@happyvertical/utils": "^0.89.11",
39
39
  "acorn": "^8.17.0",