omnius 1.0.866 → 1.0.867
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/assets/fonts/DepartureMono-LICENSE.txt +93 -0
- package/assets/licenses/Prism-1.29.0-LICENSE.txt +21 -0
- package/dist/api/py-embed.js +19 -4
- package/dist/index.js +2 -2
- package/dist/library.js +1074 -972
- package/dist/tui/native/worker.js +6 -16
- package/dist/update-worker.js +19 -4
- package/docs/DISCOVERY.json +758 -30
- package/docs/DISCOVERY.md +13 -2
- package/docs/design/dashboard-TODO.md +86 -0
- package/docs/design/dashboard-reconstruction-plan.md +58 -0
- package/docs/design/dashboard-styleguide.md +86 -0
- package/docs/design/media-unification-TODO.md +58 -0
- package/docs/work-orders/evidence/dashboard-browser-reconstruction-20261016.json +75 -0
- package/docs/work-orders/evidence/dashboard-media-management-20261016.json +145 -0
- package/docs/work-orders/evidence/native-straight-boundaries-verification-20261016.json +36 -0
- package/docs/work-orders/instrument-tui.md +17 -7
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
|
@@ -1784,17 +1784,9 @@ function terminalCellWidth(value) {
|
|
|
1784
1784
|
var graphemes2 = new Intl.Segmenter(void 0, { granularity: "grapheme" });
|
|
1785
1785
|
function formatSignalDivider(width, geometry = { direction: "top" }) {
|
|
1786
1786
|
const cells = Math.max(0, Math.floor(width));
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
const right = Math.max(4, Math.min(cells - 2, Math.floor(requestedRight)));
|
|
1791
|
-
const requestedLeft = Math.floor(geometry.leftTextEnd ?? 0) + buffer;
|
|
1792
|
-
if (geometry.direction === "top" && requestedLeft > right - 2) return "─".repeat(cells);
|
|
1793
|
-
const left = Math.max(1, Math.min(right - 2, requestedLeft));
|
|
1794
|
-
const outside = geometry.direction === "top" ? "▁" : "▔";
|
|
1795
|
-
const inside = geometry.direction === "top" ? "▔" : "▁";
|
|
1796
|
-
const fall = geometry.direction === "top" ? "╱" : "╲", rise = geometry.direction === "top" ? "╲" : "╱";
|
|
1797
|
-
return outside.repeat(left) + fall + inside.repeat(right - left - 1) + rise + outside.repeat(cells - right - 1);
|
|
1787
|
+
const column = Math.floor(geometry.sidebarColumn ?? -1);
|
|
1788
|
+
if (!Number.isFinite(column) || column < 0 || column >= cells) return "─".repeat(cells);
|
|
1789
|
+
return "─".repeat(column) + (geometry.direction === "top" ? "┬" : "┴") + "─".repeat(cells - column - 1);
|
|
1798
1790
|
}
|
|
1799
1791
|
function fitInstrumentText(value, cells, marker = "~") {
|
|
1800
1792
|
const text = stripTerminalSequences(normalizeTerminalLine(value));
|
|
@@ -4328,7 +4320,7 @@ var NativeTabStrip = class extends BoxRenderable6 {
|
|
|
4328
4320
|
entry.blocked = busy || Boolean(action.disabled);
|
|
4329
4321
|
entry.button.focusable = entry.active || !entry.blocked;
|
|
4330
4322
|
const label = plainText(action.label);
|
|
4331
|
-
const content =
|
|
4323
|
+
const content = ` ${label} `;
|
|
4332
4324
|
if (entry.button.plainText !== content) entry.button.content = content;
|
|
4333
4325
|
this.style(entry);
|
|
4334
4326
|
if (this.scroll.getChildren()[index] !== entry.button) this.scroll.add(entry.button, index);
|
|
@@ -4424,8 +4416,7 @@ var NativeFrontend = class {
|
|
|
4424
4416
|
if (this.header.height > 0) buffer.drawText(
|
|
4425
4417
|
formatSignalDivider(this.header.width, {
|
|
4426
4418
|
direction: "top",
|
|
4427
|
-
|
|
4428
|
-
rightTextStart: Math.min(this.detailButton.x, this.headerActions.visible ? this.headerActions.x : this.detailButton.x) - this.header.x
|
|
4419
|
+
sidebarColumn: this.instrumentDivider.visible ? this.instrumentDivider.x - this.header.x : void 0
|
|
4429
4420
|
}),
|
|
4430
4421
|
this.header.x,
|
|
4431
4422
|
this.header.y + this.header.height - 1,
|
|
@@ -4725,8 +4716,7 @@ var NativeFrontend = class {
|
|
|
4725
4716
|
this.footerRule.renderBefore = (buffer) => {
|
|
4726
4717
|
buffer.drawText(formatSignalDivider(this.footerRule.width, {
|
|
4727
4718
|
direction: "bottom",
|
|
4728
|
-
|
|
4729
|
-
sidebarColumn: this.instrumentDivider.visible && this.instruments.visible ? this.instrumentDivider.x - this.footerRule.x : void 0
|
|
4719
|
+
sidebarColumn: this.instrumentDivider.visible ? this.instrumentDivider.x - this.footerRule.x : void 0
|
|
4730
4720
|
}), this.footerRule.x, this.footerRule.y, this.context.colors.foreground, this.context.colors.background, TextAttributes8.DIM);
|
|
4731
4721
|
};
|
|
4732
4722
|
const inputRow = new BoxRenderable7(renderer2, { id: "omnius-input-row", width: "100%", flexDirection: "row", gap: 1 });
|
package/dist/update-worker.js
CHANGED
|
@@ -1944,12 +1944,23 @@ var init_venv_paths = __esm({
|
|
|
1944
1944
|
}
|
|
1945
1945
|
});
|
|
1946
1946
|
|
|
1947
|
+
// packages/execution/dist/tools/media-store-lease.js
|
|
1948
|
+
import { AsyncLocalStorage } from "node:async_hooks";
|
|
1949
|
+
var ownedLease;
|
|
1950
|
+
var init_media_store_lease = __esm({
|
|
1951
|
+
"packages/execution/dist/tools/media-store-lease.js"() {
|
|
1952
|
+
"use strict";
|
|
1953
|
+
ownedLease = new AsyncLocalStorage();
|
|
1954
|
+
}
|
|
1955
|
+
});
|
|
1956
|
+
|
|
1947
1957
|
// packages/execution/dist/tools/model-store.js
|
|
1948
1958
|
import { homedir, platform } from "node:os";
|
|
1949
1959
|
var platformId;
|
|
1950
1960
|
var init_model_store = __esm({
|
|
1951
1961
|
"packages/execution/dist/tools/model-store.js"() {
|
|
1952
1962
|
"use strict";
|
|
1963
|
+
init_media_store_lease();
|
|
1953
1964
|
platformId = platform();
|
|
1954
1965
|
}
|
|
1955
1966
|
});
|
|
@@ -2584,6 +2595,7 @@ var init_audio_generate = __esm({
|
|
|
2584
2595
|
"packages/execution/dist/tools/audio-generate.js"() {
|
|
2585
2596
|
"use strict";
|
|
2586
2597
|
init_process_async();
|
|
2598
|
+
init_media_store_lease();
|
|
2587
2599
|
init_model_broker();
|
|
2588
2600
|
init_venv_paths();
|
|
2589
2601
|
init_model_store();
|
|
@@ -247721,8 +247733,8 @@ init_process_lifecycle();
|
|
|
247721
247733
|
init_process_lifecycle();
|
|
247722
247734
|
|
|
247723
247735
|
// packages/execution/dist/run-context.js
|
|
247724
|
-
import { AsyncLocalStorage } from "node:async_hooks";
|
|
247725
|
-
var runContextStorage = new
|
|
247736
|
+
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
247737
|
+
var runContextStorage = new AsyncLocalStorage2();
|
|
247726
247738
|
|
|
247727
247739
|
// packages/execution/dist/tools/shell.js
|
|
247728
247740
|
init_process_kill();
|
|
@@ -295756,12 +295768,12 @@ init_venv_paths();
|
|
|
295756
295768
|
init_process_lifecycle();
|
|
295757
295769
|
|
|
295758
295770
|
// packages/execution/dist/tools/playwright-browser.js
|
|
295759
|
-
import { AsyncLocalStorage as
|
|
295771
|
+
import { AsyncLocalStorage as AsyncLocalStorage3 } from "node:async_hooks";
|
|
295760
295772
|
init_process_async();
|
|
295761
295773
|
import { dirname as dirname2, isAbsolute as isAbsolute2, join as join2, resolve as resolve2 } from "node:path";
|
|
295762
295774
|
import { homedir as homedir3 } from "node:os";
|
|
295763
295775
|
init_vision();
|
|
295764
|
-
var browserSessionScope = new
|
|
295776
|
+
var browserSessionScope = new AsyncLocalStorage3();
|
|
295765
295777
|
var PLAYWRIGHT_RUNTIME_DIR = join2(homedir3(), ".omnius", "playwright-runtime");
|
|
295766
295778
|
var PLAYWRIGHT_BROWSERS_DIR = join2(PLAYWRIGHT_RUNTIME_DIR, "browsers");
|
|
295767
295779
|
|
|
@@ -296859,6 +296871,7 @@ init_process_lifecycle();
|
|
|
296859
296871
|
init_identity_kernel();
|
|
296860
296872
|
|
|
296861
296873
|
// packages/execution/dist/tools/image-generate.js
|
|
296874
|
+
init_media_store_lease();
|
|
296862
296875
|
init_model_broker();
|
|
296863
296876
|
init_venv_paths();
|
|
296864
296877
|
init_model_store();
|
|
@@ -297685,6 +297698,7 @@ init_cuda_device_filter();
|
|
|
297685
297698
|
init_model_store();
|
|
297686
297699
|
|
|
297687
297700
|
// packages/execution/dist/tools/media-store-migrate.js
|
|
297701
|
+
init_media_store_lease();
|
|
297688
297702
|
init_model_store();
|
|
297689
297703
|
|
|
297690
297704
|
// packages/execution/dist/av/media-capability.js
|
|
@@ -297703,6 +297717,7 @@ var execFileAsync2 = promisify3(execFile3);
|
|
|
297703
297717
|
|
|
297704
297718
|
// packages/execution/dist/tools/video-generate.js
|
|
297705
297719
|
init_process_async();
|
|
297720
|
+
init_media_store_lease();
|
|
297706
297721
|
init_model_broker();
|
|
297707
297722
|
init_venv_paths();
|
|
297708
297723
|
init_model_store();
|