@jhizzard/termdeck 1.0.7 → 1.0.8

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": "1.0.7",
3
+ "version": "1.0.8",
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"
@@ -412,11 +412,19 @@ function deployFunctions(rumenVersion, projectRef, dryRun) {
412
412
  for (const name of fnNames) {
413
413
  // Sprint 51.6 T3 — `--project-ref <ref>` explicit, dodging supabase
414
414
  // link-state subprocess isolation (Bug C, Brad's 2026-05-03 install).
415
- step(`Running: supabase functions deploy ${name} --project-ref ${projectRef} --no-verify-jwt...`);
415
+ // Sprint 52 dogfood (2026-05-04): `--use-api` added because the default
416
+ // Docker-bundler path fails on macOS when the staging dir is under
417
+ // os.tmpdir() (= /var/folders/... on macOS, which is NOT in Docker
418
+ // Desktop's default file-sharing allowlist). Symptom on stale supabase
419
+ // CLI 2.75.0: `entrypoint path does not exist (supabase/functions/<name>/
420
+ // index.ts)` even though the file IS present. `--use-api` uploads via
421
+ // the Management API and bypasses Docker entirely. v1.0.8 fold-in.
422
+ step(`Running: supabase functions deploy ${name} --project-ref ${projectRef} --no-verify-jwt --use-api...`);
416
423
  const r = runShell('supabase', [
417
424
  'functions', 'deploy', name,
418
425
  '--project-ref', projectRef,
419
426
  '--no-verify-jwt',
427
+ '--use-api',
420
428
  ], { cwd: stage });
421
429
  if (!r.ok) {
422
430
  fail(`deploy of ${name} failed (exit ${r.code})`);
@@ -357,7 +357,13 @@ async function probeEdgeFunctionPin(target, ctx = {}) {
357
357
  if (!target.bundledPath || !target.importPattern) {
358
358
  return { present: false, probeError: `edgeFunctionPin probe ${target.name} missing bundledPath or importPattern` };
359
359
  }
360
- const repoRoot = ctx.repoRoot || path.resolve(__dirname, '..', '..', '..', '..', '..');
360
+ // __dirname = .../packages/server/src/setup/. Four `..` lands at repo
361
+ // root: setup → src → server → packages → <repoRoot>. Sprint 52 shipped
362
+ // five `..` (off-by-one), which on a globally-installed @jhizzard/termdeck
363
+ // resolved to the parent of the package dir and the bundled-source read
364
+ // fail-softed into skipped[] with an ENOENT reason instead of comparing
365
+ // pins. v1.0.8 fold-in.
366
+ const repoRoot = ctx.repoRoot || path.resolve(__dirname, '..', '..', '..', '..');
361
367
  const bundledAbs = path.isAbsolute(target.bundledPath)
362
368
  ? target.bundledPath
363
369
  : path.join(repoRoot, target.bundledPath);