omnius 1.0.862 → 1.0.864

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 (62) hide show
  1. package/assets/tray/omnius-checking.ico +0 -0
  2. package/assets/tray/omnius-checking.png +0 -0
  3. package/assets/tray/omnius-checking.svg +7 -4
  4. package/assets/tray/omnius-offline.ico +0 -0
  5. package/assets/tray/omnius-offline.png +0 -0
  6. package/assets/tray/omnius-offline.svg +6 -4
  7. package/assets/tray/omnius-online.ico +0 -0
  8. package/assets/tray/omnius-online.png +0 -0
  9. package/assets/tray/omnius-online.svg +5 -4
  10. package/dist/index.js +2 -2
  11. package/dist/library.js +11 -11
  12. package/dist/tui/native/worker.js +3569 -315
  13. package/docs/DISCOVERY.json +2080 -451
  14. package/docs/DISCOVERY.md +48 -2
  15. package/docs/work-orders/desktop-projects.md +42 -0
  16. package/docs/work-orders/evidence/desktop-indicator-registration-20261016.json +23 -0
  17. package/docs/work-orders/evidence/inference-device-policy-readonly-20261016.json +56 -0
  18. package/docs/work-orders/evidence/instrument-100x30.png +0 -0
  19. package/docs/work-orders/evidence/instrument-120x36.png +0 -0
  20. package/docs/work-orders/evidence/instrument-160x48.png +0 -0
  21. package/docs/work-orders/evidence/instrument-60x20.png +0 -0
  22. package/docs/work-orders/evidence/instrument-80x24.png +0 -0
  23. package/docs/work-orders/evidence/instrument-clean-transcript-120x36.png +0 -0
  24. package/docs/work-orders/evidence/instrument-collapse-120x36.png +0 -0
  25. package/docs/work-orders/evidence/instrument-devices-expanded-120x36.png +0 -0
  26. package/docs/work-orders/evidence/instrument-divider-collapsed-160x48.png +0 -0
  27. package/docs/work-orders/evidence/instrument-divider-resized-160x48.png +0 -0
  28. package/docs/work-orders/evidence/instrument-help-scroll-120x36.png +0 -0
  29. package/docs/work-orders/evidence/instrument-package-artifact-20261016.json +18 -0
  30. package/docs/work-orders/evidence/instrument-package-install-20261016.json +69 -0
  31. package/docs/work-orders/evidence/instrument-popup-api-120x36.png +0 -0
  32. package/docs/work-orders/evidence/instrument-popup-api-input-120x36.png +0 -0
  33. package/docs/work-orders/evidence/instrument-popup-config-120x36.png +0 -0
  34. package/docs/work-orders/evidence/instrument-popup-dark-120x36.png +0 -0
  35. package/docs/work-orders/evidence/instrument-popup-dark-60x20.png +0 -0
  36. package/docs/work-orders/evidence/instrument-popup-light-120x36.png +0 -0
  37. package/docs/work-orders/evidence/instrument-popup-model-120x36.png +0 -0
  38. package/docs/work-orders/evidence/instrument-popup-network-120x36.png +0 -0
  39. package/docs/work-orders/evidence/instrument-production-terminal-live.json +11818 -0
  40. package/docs/work-orders/evidence/instrument-report-broker-120x36.png +0 -0
  41. package/docs/work-orders/evidence/instrument-report-gpu-120x36.png +0 -0
  42. package/docs/work-orders/evidence/instrument-report-stats-120x36.png +0 -0
  43. package/docs/work-orders/evidence/instrument-semantic-components-20261016-updated.json +80 -0
  44. package/docs/work-orders/evidence/instrument-semantic-components-20261016.json +76 -0
  45. package/docs/work-orders/evidence/instrument-targeted-verification-20261016-updated.json +430 -0
  46. package/docs/work-orders/evidence/instrument-targeted-verification-20261016.json +408 -0
  47. package/docs/work-orders/evidence/instrument-terminal-light-120x36.png +0 -0
  48. package/docs/work-orders/evidence/instrument-vim-composer-120x36.png +0 -0
  49. package/docs/work-orders/evidence/tray-native-host-checking.png +0 -0
  50. package/docs/work-orders/evidence/tray-native-host-dark.png +0 -0
  51. package/docs/work-orders/evidence/tray-native-host-offline.png +0 -0
  52. package/docs/work-orders/evidence/tray-native-host.png +0 -0
  53. package/docs/work-orders/evidence/tray-project-3.png +0 -0
  54. package/docs/work-orders/evidence/tray-project-4.png +0 -0
  55. package/docs/work-orders/evidence/tray-project-5.png +0 -0
  56. package/docs/work-orders/evidence/tray-projects-live.json +338 -0
  57. package/docs/work-orders/evidence/tray-projects-menu.png +0 -0
  58. package/docs/work-orders/instrument-command-surface-audit.md +304 -0
  59. package/docs/work-orders/instrument-tui.md +156 -0
  60. package/docs/work-orders/native-tui-renderer.md +8 -6
  61. package/npm-shrinkwrap.json +6 -6
  62. package/package.json +1 -1
Binary file
Binary file
@@ -1,5 +1,8 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
2
- <circle cx="32" cy="32" r="29" fill="#111827" stroke="#38bdf8" stroke-width="4"/>
3
- <path d="M14 32c6-12 12-12 18 0s12 12 18 0-12-12-18 0-12 12-18 0Z" fill="none" stroke="#e0f2fe" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
4
- <circle cx="51" cy="51" r="9" fill="#f59e0b" stroke="#111827" stroke-width="4"/>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
2
+ <title>Omnius instrument — checking</title>
3
+ <path d="M10 22V10H22 M42 10H54V22 M10 42V54H22 M42 54H54V42" fill="none" stroke="black" stroke-width="8" stroke-linecap="square" stroke-linejoin="miter"/>
4
+ <path d="M10 22V10H22 M42 10H54V22 M10 42V54H22 M42 54H54V42" fill="none" stroke="white" stroke-width="4" stroke-linecap="square" stroke-linejoin="miter"/>
5
+ <path d="M24 24H40V40H24Z M28 28V36H36V28Z" fill="black" fill-rule="evenodd" stroke="black" stroke-width="4"/>
6
+ <path d="M24 24H40V40H24Z M28 28V36H36V28Z" fill="white" fill-rule="evenodd"/>
7
+ <rect x="30" y="30" width="4" height="4" fill="white" stroke="black" stroke-width="2" paint-order="stroke fill"/>
5
8
  </svg>
Binary file
Binary file
@@ -1,5 +1,7 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
2
- <circle cx="32" cy="32" r="29" fill="#111827" stroke="#64748b" stroke-width="4"/>
3
- <path d="M14 32c6-12 12-12 18 0s12 12 18 0-12-12-18 0-12 12-18 0Z" fill="none" stroke="#cbd5e1" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
4
- <circle cx="51" cy="51" r="9" fill="#64748b" stroke="#111827" stroke-width="4"/>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
2
+ <title>Omnius instrument — offline</title>
3
+ <path d="M10 22V10H22 M42 10H54V22 M10 42V54H22 M42 54H54V42" fill="none" stroke="black" stroke-width="8" stroke-linecap="square" stroke-linejoin="miter"/>
4
+ <path d="M10 22V10H22 M42 10H54V22 M10 42V54H22 M42 54H54V42" fill="none" stroke="white" stroke-width="4" stroke-linecap="square" stroke-linejoin="miter"/>
5
+ <path d="M24 24H40V40H24Z M28 28V36H36V28Z" fill="black" fill-rule="evenodd" stroke="black" stroke-width="4"/>
6
+ <path d="M24 24H40V40H24Z M28 28V36H36V28Z" fill="white" fill-rule="evenodd"/>
5
7
  </svg>
Binary file
Binary file
@@ -1,5 +1,6 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
2
- <circle cx="32" cy="32" r="29" fill="#111827" stroke="#22d3ee" stroke-width="4"/>
3
- <path d="M14 32c6-12 12-12 18 0s12 12 18 0-12-12-18 0-12 12-18 0Z" fill="none" stroke="#e0f2fe" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
4
- <circle cx="51" cy="51" r="9" fill="#22c55e" stroke="#111827" stroke-width="4"/>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
2
+ <title>Omnius instrument — online</title>
3
+ <path d="M10 22V10H22 M42 10H54V22 M10 42V54H22 M42 54H54V42" fill="none" stroke="black" stroke-width="8" stroke-linecap="square" stroke-linejoin="miter"/>
4
+ <path d="M10 22V10H22 M42 10H54V22 M10 42V54H22 M42 54H54V42" fill="none" stroke="white" stroke-width="4" stroke-linecap="square" stroke-linejoin="miter"/>
5
+ <rect x="24" y="24" width="16" height="16" fill="white" stroke="black" stroke-width="4" paint-order="stroke fill"/>
5
6
  </svg>
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/index.js
3
- size: 37313510 bytes
4
- sha256: 5c20a01a63c4bcaf31b8ea3415b36cf30425a6186e3b7c442fd0fda4c53eb29a
3
+ size: 37355534 bytes
4
+ sha256: af28fa4fa2dc787debe6bfe39648dd2bbcde1d3e1f18165af440861ae29d368d
package/dist/library.js CHANGED
@@ -3417,11 +3417,11 @@ function normalizeJtopPayload(payload2) {
3417
3417
  const total = mbFromValue(firstValue(ram, ["tot", "total", "Total", "size"]));
3418
3418
  const used = mbFromValue(firstValue(ram, ["used", "Used"]));
3419
3419
  const free = mbFromValue(firstValue(ram, ["free", "Free", "available", "avail"]));
3420
- const ramTotalMB = total || Math.max(0, used + free);
3421
- if (ramTotalMB <= 0)
3420
+ const ramTotalMB = total ?? (used !== null && free !== null ? used + free : null);
3421
+ if (ramTotalMB === null || ramTotalMB <= 0)
3422
3422
  return null;
3423
- const ramUsedMB = used || Math.max(0, ramTotalMB - free);
3424
- const ramFreeMB = free || Math.max(0, ramTotalMB - ramUsedMB);
3423
+ const ramUsedMB = used ?? (free !== null ? Math.max(0, ramTotalMB - free) : -1);
3424
+ const ramFreeMB = free ?? (used !== null ? Math.max(0, ramTotalMB - used) : -1);
3425
3425
  const gpuUtil = gpuUtilFromStats(stats);
3426
3426
  const boardModel = boardModelFrom(board);
3427
3427
  const gpuName = boardModel ? `${boardModel} GPU/UMA` : "Jetson GPU/UMA";
@@ -3453,13 +3453,13 @@ function firstValue(obj, keys4) {
3453
3453
  return void 0;
3454
3454
  }
3455
3455
  function mbFromValue(value) {
3456
- if (value === void 0 || value === null)
3457
- return 0;
3456
+ if (typeof value !== "string" && typeof value !== "number" || String(value).trim() === "")
3457
+ return null;
3458
3458
  const text12 = String(value);
3459
3459
  const match2 = text12.match(/-?\d+(?:\.\d+)?/);
3460
3460
  const n = match2 ? Number(match2[0]) : Number(value);
3461
- if (!Number.isFinite(n) || n <= 0)
3462
- return 0;
3461
+ if (!Number.isFinite(n) || n < 0)
3462
+ return null;
3463
3463
  if (/\bgb\b/i.test(text12))
3464
3464
  return Math.round(n * 1024);
3465
3465
  if (/\bkb\b|\bkib\b/i.test(text12))
@@ -3473,16 +3473,16 @@ function mbFromValue(value) {
3473
3473
  function gpuUtilFromStats(stats) {
3474
3474
  const candidates = Object.entries(stats).filter(([key]) => /^(GPU|GR3D|GR3D_FREQ)/i.test(key)).map(([, value]) => pctFromValue(value)).filter((value) => value >= 0);
3475
3475
  if (candidates.length === 0)
3476
- return 0;
3476
+ return -1;
3477
3477
  return Math.max(0, Math.min(100, Math.round(Math.max(...candidates))));
3478
3478
  }
3479
3479
  function pctFromValue(value) {
3480
- if (value === void 0 || value === null)
3480
+ if (typeof value !== "string" && typeof value !== "number" || String(value).trim() === "")
3481
3481
  return -1;
3482
3482
  const text12 = String(value);
3483
3483
  const match2 = text12.match(/-?\d+(?:\.\d+)?/);
3484
3484
  const n = match2 ? Number(match2[0]) : Number(value);
3485
- if (!Number.isFinite(n))
3485
+ if (!Number.isFinite(n) || n < 0)
3486
3486
  return -1;
3487
3487
  return Math.max(0, Math.min(100, n));
3488
3488
  }