@codemem/server 0.33.0-alpha.1 → 0.33.0-alpha.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/static/app.js +10 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemem/server",
3
- "version": "0.33.0-alpha.1",
3
+ "version": "0.33.0-alpha.2",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {
@@ -19,7 +19,7 @@
19
19
  "drizzle-orm": "^0.45.2",
20
20
  "hono": "^4.12.21",
21
21
  "limiter": "^3.0.0",
22
- "@codemem/core": "^0.33.0-alpha.1"
22
+ "@codemem/core": "^0.33.0-alpha.2"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/better-sqlite3": "^7.6.13",
package/static/app.js CHANGED
@@ -18862,6 +18862,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
18862
18862
  if (isError && attempt.error) {
18863
18863
  const errText = String(attempt.error);
18864
18864
  detailParts.push(redact ? redactIpOctets(errText) : errText);
18865
+ if (redact && /enable diagnostics for details/i.test(errText)) detailParts.push("Turn off Redact in Advanced diagnostics to reveal the full error.");
18865
18866
  }
18866
18867
  if (!isError && (attempt.ops_in || attempt.ops_out)) detailParts.push(`${attempt.ops_in ?? 0} in · ${attempt.ops_out ?? 0} out`);
18867
18868
  if (!redact && attempt.address) detailParts.push(attempt.address);
@@ -20736,10 +20737,18 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
20736
20737
  onClick: async () => {
20737
20738
  setBusy("review");
20738
20739
  setReviewLabel("Pairing…");
20740
+ setFeedback({
20741
+ message: `Pairing ${row.displayName}. Keep this page open while the device is approved and refreshed.`,
20742
+ tone: "success"
20743
+ });
20739
20744
  try {
20740
20745
  setFeedback(await onReview(row) || null);
20741
20746
  setReviewLabel(row.actionLabel || defaultReviewLabel);
20742
20747
  } catch {
20748
+ setFeedback({
20749
+ message: `Pairing ${row.displayName} failed. Try again.`,
20750
+ tone: "warning"
20751
+ });
20743
20752
  setReviewLabel("Retry");
20744
20753
  } finally {
20745
20754
  setBusy(null);
@@ -21997,7 +22006,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
21997
22006
  try {
21998
22007
  const runtime = await loadRuntimeInfo();
21999
22008
  if (!runtime?.version) return;
22000
- setRuntimeLabel(runtime.version, "2eab49c");
22009
+ setRuntimeLabel(runtime.version, "c8fe0f7");
22001
22010
  } catch {}
22002
22011
  }
22003
22012
  var lastAnnouncedRefreshState = null;