@jhizzard/termdeck 0.6.1 → 0.6.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jhizzard/termdeck",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Browser-based terminal multiplexer with metadata overlays, panel flashback memory recall, and AI-aware session management",
5
5
  "bin": {
6
6
  "termdeck": "./packages/cli/src/index.js"
@@ -13,7 +13,7 @@
13
13
  //
14
14
  // Flags:
15
15
  // --help Print usage and exit
16
- // --yes Accept defaults, skip confirmations (still prompts for secrets)
16
+ // --yes Reserved (no-op as of v0.6.2 wizard no longer asks "Proceed?" after secrets)
17
17
  // --dry-run Print what the wizard would do; don't touch the DB or filesystem
18
18
  // --skip-verify Skip the final memory_status_aggregation() check
19
19
  //
@@ -41,7 +41,7 @@ const HELP = [
41
41
  '',
42
42
  'Flags:',
43
43
  ' --help Print this message and exit',
44
- ' --yes Assume "yes" on confirmations (still prompts for secret values)',
44
+ ' --yes Reserved (no-op as of v0.6.2 kept for forward compatibility)',
45
45
  ' --dry-run Print the plan without touching the database or filesystem',
46
46
  ' --skip-verify Skip the final memory_status_aggregation() sanity call',
47
47
  '',
@@ -129,14 +129,17 @@ async function collectInputs({ yes }) {
129
129
  }
130
130
  }
131
131
 
132
- if (!yes) {
133
- process.stdout.write('\n');
134
- const go = await prompts.confirm(`Proceed with setup for project ${projectUrl.projectRef}?`);
135
- if (!go) {
136
- process.stdout.write('Cancelled.\n');
137
- process.exit(0);
138
- }
139
- }
132
+ // No confirm here — the user already opted in by typing
133
+ // `termdeck init --mnestra` and supplying every secret. The previous
134
+ // confirm gate was the consistent failure point in Brad's reports
135
+ // (2026-04-25 twice + a third report after v0.6.1) on terminals that
136
+ // emit stray bytes (CRLF, ANSI cursor reports, paste-bracketing) which
137
+ // contaminated readline and made the confirm fast-resolve to "no" or
138
+ // an empty cancel. Migrations are `IF NOT EXISTS` so a re-run is safe;
139
+ // Ctrl-C still aborts cleanly. The `--yes` flag is preserved as a
140
+ // stable CLI surface for callers/scripts and for future use.
141
+ void yes;
142
+ process.stdout.write('\n');
140
143
 
141
144
  return {
142
145
  projectUrl,