omnius 1.0.869 → 1.0.871

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 (39) hide show
  1. package/README.md +48 -840
  2. package/dist/api/py-embed.js +12 -0
  3. package/dist/index.js +2 -2
  4. package/dist/library.js +21 -5
  5. package/dist/tui/native/worker.js +11 -0
  6. package/dist/update-worker.js +12 -0
  7. package/docs/.vitepress/config.mts +1 -0
  8. package/docs/DISCOVERY.json +1095 -24
  9. package/docs/DISCOVERY.md +30 -2
  10. package/docs/design/omni-analysis-TODO.md +60 -0
  11. package/docs/design/single-final-response-TODO.md +93 -0
  12. package/docs/reference/omni-analysis.md +251 -0
  13. package/docs/reference/rest-api.md +19 -6
  14. package/docs/work-orders/evidence/final-reply-browser-20261016.json +1225 -0
  15. package/docs/work-orders/evidence/final-reply-dark-1440-accepted-final.png +0 -0
  16. package/docs/work-orders/evidence/final-reply-light-320-accepted-final.png +0 -0
  17. package/docs/work-orders/evidence/instrument-completion-live-20261016/completion-failed-partial.png +0 -0
  18. package/docs/work-orders/evidence/instrument-completion-live-20261016/completion-final-100x30.png +0 -0
  19. package/docs/work-orders/evidence/instrument-completion-live-20261016/completion-final-120x36.png +0 -0
  20. package/docs/work-orders/evidence/instrument-completion-live-20261016/completion-final-160x48.png +0 -0
  21. package/docs/work-orders/evidence/instrument-completion-live-20261016/completion-final-60x20.png +0 -0
  22. package/docs/work-orders/evidence/instrument-completion-live-20261016/completion-final-80x24.png +0 -0
  23. package/docs/work-orders/evidence/instrument-completion-live-20261016/completion-final-clean.png +0 -0
  24. package/docs/work-orders/evidence/instrument-completion-live-20261016/completion-live-clean.png +0 -0
  25. package/docs/work-orders/evidence/instrument-completion-live-20261016/completion-paused-partial.png +0 -0
  26. package/docs/work-orders/evidence/instrument-completion-live-20261016/completion-restored-clean.png +0 -0
  27. package/docs/work-orders/evidence/instrument-completion-live-20261016/completion-technical-expanded.png +0 -0
  28. package/docs/work-orders/evidence/instrument-completion-live-20261016/report.json +743 -0
  29. package/docs/work-orders/evidence/native-completion-presentation-verification-20261016.json +65 -0
  30. package/docs/work-orders/evidence/omni-analysis-browser-20261017.json +577 -0
  31. package/docs/work-orders/evidence/omni-analysis-desktop-controls-20261017.png +0 -0
  32. package/docs/work-orders/evidence/omni-analysis-desktop-evidence-20261017.png +0 -0
  33. package/docs/work-orders/evidence/omni-analysis-execution-verification-20261017.json +78 -0
  34. package/docs/work-orders/evidence/omni-analysis-integration-verification-20261017.json +215 -0
  35. package/docs/work-orders/evidence/omni-analysis-phone-controls-20261017.png +0 -0
  36. package/docs/work-orders/evidence/omni-analysis-phone-model-20261017.png +0 -0
  37. package/docs/work-orders/evidence/tui-response-ownership-verification-20261016.json +79 -0
  38. package/npm-shrinkwrap.json +2 -2
  39. package/package.json +2 -2
@@ -297293,6 +297293,18 @@ import { execFile as execFile3 } from "node:child_process";
297293
297293
  import { promisify as promisify3 } from "node:util";
297294
297294
  var execFileAsync2 = promisify3(execFile3);
297295
297295
 
297296
+ // packages/execution/dist/av/omni-comprehension.js
297297
+ init_process_async();
297298
+ var OMNI_ANALYSIS_LIMITS = Object.freeze({
297299
+ audioDurationSec: 60,
297300
+ videoDurationSec: 32,
297301
+ inputBytes: 128 * 1024 * 1024,
297302
+ encodedMediaBytes: 32 * 1024 * 1024,
297303
+ responseBytes: 1024 * 1024,
297304
+ textCharacters: 128 * 1024,
297305
+ questionCharacters: 8192
297306
+ });
297307
+
297296
297308
  // packages/execution/dist/tools/video-generate.js
297297
297309
  init_process_async();
297298
297310
  init_media_progress();
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: 37592328 bytes
4
- sha256: 993f9acf83346159ad0032fe2643507c8575b2a1f93c5354d1c5db2a547c4fea
3
+ size: 37640977 bytes
4
+ sha256: 3db3049f7ef7387da34757745fb0abd5527bf9bfd8ce9b47036b38c4f11a1aae
package/dist/library.js CHANGED
@@ -84984,6 +84984,24 @@ var init_sidecar_adapter = __esm({
84984
84984
  }
84985
84985
  });
84986
84986
 
84987
+ // packages/execution/dist/av/omni-comprehension.js
84988
+ var OMNI_ANALYSIS_LIMITS;
84989
+ var init_omni_comprehension = __esm({
84990
+ "packages/execution/dist/av/omni-comprehension.js"() {
84991
+ "use strict";
84992
+ init_process_async();
84993
+ OMNI_ANALYSIS_LIMITS = Object.freeze({
84994
+ audioDurationSec: 60,
84995
+ videoDurationSec: 32,
84996
+ inputBytes: 128 * 1024 * 1024,
84997
+ encodedMediaBytes: 32 * 1024 * 1024,
84998
+ responseBytes: 1024 * 1024,
84999
+ textCharacters: 128 * 1024,
85000
+ questionCharacters: 8192
85001
+ });
85002
+ }
85003
+ });
85004
+
84987
85005
  // packages/execution/dist/av/planner.js
84988
85006
  var init_planner2 = __esm({
84989
85007
  "packages/execution/dist/av/planner.js"() {
@@ -334058,6 +334076,7 @@ var init_audio_analyze = __esm({
334058
334076
  init_sidecar_adapter();
334059
334077
  init_answer();
334060
334078
  init_media_capability();
334079
+ init_omni_comprehension();
334061
334080
  init_process_async();
334062
334081
  init_audio_classifier_runtime();
334063
334082
  init_audio_semantic_embedding_runtime();
@@ -335774,11 +335793,7 @@ var init_video_scan = __esm({
335774
335793
  var init_av_comprehend = __esm({
335775
335794
  "packages/execution/dist/tools/av-comprehend.js"() {
335776
335795
  "use strict";
335777
- init_ingest();
335778
- init_pipeline();
335779
- init_sidecar_adapter();
335780
- init_answer();
335781
- init_media_capability();
335796
+ init_omni_comprehension();
335782
335797
  }
335783
335798
  });
335784
335799
 
@@ -336448,6 +336463,7 @@ var init_dist5 = __esm({
336448
336463
  init_pipeline();
336449
336464
  init_ingest();
336450
336465
  init_sidecar_adapter();
336466
+ init_omni_comprehension();
336451
336467
  init_planner2();
336452
336468
  init_answer();
336453
336469
  init_feedback();
@@ -935,6 +935,10 @@ function nativeControlFocus(control, baseAttributes = 0) {
935
935
  control.on(RenderableEvents.BLURRED, update);
936
936
  update();
937
937
  }
938
+ function keepMarkdownFallback(node) {
939
+ if (node instanceof CodeRenderable) node.drawUnstyledText = true;
940
+ for (const child of node.getChildren()) keepMarkdownFallback(child);
941
+ }
938
942
  var NativeBlockView = class {
939
943
  constructor(context, spec, inline = false) {
940
944
  this.context = context;
@@ -1088,6 +1092,12 @@ var NativeBlockView = class {
1088
1092
  });
1089
1093
  }
1090
1094
  });
1095
+ const markdown = this.text;
1096
+ const lifecycle = markdown.onLifecyclePass;
1097
+ markdown.onLifecyclePass = () => {
1098
+ lifecycle?.();
1099
+ keepMarkdownFallback(markdown);
1100
+ };
1091
1101
  this.body.add(this.text);
1092
1102
  } else if (spec.kind === "code") {
1093
1103
  this.text = new CodeRenderable(renderer2, {
@@ -1189,6 +1199,7 @@ var NativeBlockView = class {
1189
1199
  this.text.content = sections ? "" : code?.content ?? plainText(spec.text);
1190
1200
  this.text.streaming = spec.streaming ?? false;
1191
1201
  if (this.text instanceof CodeRenderable) this.text.filetype = code?.language ?? "text";
1202
+ else keepMarkdownFallback(this.text);
1192
1203
  }
1193
1204
  if (this.media && spec.media) this.media.update(spec.media);
1194
1205
  if (this.image && spec.imagePath && this.image.source !== spec.imagePath) this.image.source = spec.imagePath;
@@ -297727,6 +297727,18 @@ import { execFile as execFile3 } from "node:child_process";
297727
297727
  import { promisify as promisify3 } from "node:util";
297728
297728
  var execFileAsync2 = promisify3(execFile3);
297729
297729
 
297730
+ // packages/execution/dist/av/omni-comprehension.js
297731
+ init_process_async();
297732
+ var OMNI_ANALYSIS_LIMITS = Object.freeze({
297733
+ audioDurationSec: 60,
297734
+ videoDurationSec: 32,
297735
+ inputBytes: 128 * 1024 * 1024,
297736
+ encodedMediaBytes: 32 * 1024 * 1024,
297737
+ responseBytes: 1024 * 1024,
297738
+ textCharacters: 128 * 1024,
297739
+ questionCharacters: 8192
297740
+ });
297741
+
297730
297742
  // packages/execution/dist/tools/video-generate.js
297731
297743
  init_process_async();
297732
297744
  init_media_progress();
@@ -93,6 +93,7 @@ export default defineConfig({
93
93
  text: "Reference",
94
94
  items: [
95
95
  { text: "REST Inventory", link: "/reference/rest-api" },
96
+ { text: "Omni Analysis", link: "/reference/omni-analysis" },
96
97
  { text: "Slash Commands", link: "/reference/slash-commands" },
97
98
  { text: "Configuration", link: "/reference/configuration" },
98
99
  { text: "Authentication Map", link: "/reference/auth-map" },