omnius 1.0.868 → 1.0.869
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/dist/index.js +2 -2
- package/dist/library.js +2 -0
- package/dist/tui/native/worker.js +16 -2
- package/docs/DISCOVERY.json +2412 -725
- package/docs/DISCOVERY.md +46 -1
- package/docs/design/media-unification-TODO.md +45 -20
- package/docs/design/session-presentation-TODO.md +55 -0
- package/docs/design/update-session-restoration-TODO.md +47 -10
- package/docs/work-orders/evidence/instrument-interface-live-20261016/interface-after-reconstruction.png +0 -0
- package/docs/work-orders/evidence/instrument-interface-live-20261016/interface-before-reconstruction.png +0 -0
- package/docs/work-orders/evidence/instrument-interface-live-20261016/media-audio-playing.png +0 -0
- package/docs/work-orders/evidence/instrument-interface-live-20261016/media-image-100x30.png +0 -0
- package/docs/work-orders/evidence/instrument-interface-live-20261016/media-image-120x36.png +0 -0
- package/docs/work-orders/evidence/instrument-interface-live-20261016/media-image-160x48.png +0 -0
- package/docs/work-orders/evidence/instrument-interface-live-20261016/media-image-60x20.png +0 -0
- package/docs/work-orders/evidence/instrument-interface-live-20261016/media-image-80x24.png +0 -0
- package/docs/work-orders/evidence/instrument-interface-live-20261016/media-progress-collapsed.png +0 -0
- package/docs/work-orders/evidence/instrument-interface-live-20261016/media-video-frame-a.png +0 -0
- package/docs/work-orders/evidence/instrument-interface-live-20261016/media-video-frame-b.png +0 -0
- package/docs/work-orders/evidence/instrument-interface-live-20261016/media-voice-autocomplete-junction.png +0 -0
- package/docs/work-orders/evidence/instrument-interface-live-20261016/report.json +1054 -0
- package/docs/work-orders/evidence/instrument-working-live-20261016/action-working-progress.png +0 -0
- package/docs/work-orders/evidence/instrument-working-live-20261016/action-working-result-json.png +0 -0
- package/docs/work-orders/evidence/instrument-working-live-20261016/interface-after-reconstruction.png +0 -0
- package/docs/work-orders/evidence/instrument-working-live-20261016/interface-before-reconstruction.png +0 -0
- package/docs/work-orders/evidence/instrument-working-live-20261016/media-audio-playing.png +0 -0
- package/docs/work-orders/evidence/instrument-working-live-20261016/media-image-100x30.png +0 -0
- package/docs/work-orders/evidence/instrument-working-live-20261016/media-image-120x36.png +0 -0
- package/docs/work-orders/evidence/instrument-working-live-20261016/media-image-160x48.png +0 -0
- package/docs/work-orders/evidence/instrument-working-live-20261016/media-image-60x20.png +0 -0
- package/docs/work-orders/evidence/instrument-working-live-20261016/media-image-80x24.png +0 -0
- package/docs/work-orders/evidence/instrument-working-live-20261016/media-progress-collapsed.png +0 -0
- package/docs/work-orders/evidence/instrument-working-live-20261016/media-video-frame-a.png +0 -0
- package/docs/work-orders/evidence/instrument-working-live-20261016/media-video-frame-b.png +0 -0
- package/docs/work-orders/evidence/instrument-working-live-20261016/media-voice-autocomplete-junction.png +0 -0
- package/docs/work-orders/evidence/instrument-working-live-20261016/report.json +1180 -0
- package/docs/work-orders/evidence/native-interface-state-verification-20261016.json +33 -13
- package/docs/work-orders/evidence/native-working-state-verification-20261016.json +66 -0
- package/docs/work-orders/evidence/project-media-browser-20261016/dark-1440-image-output.png +0 -0
- package/docs/work-orders/evidence/project-media-browser-20261016/dark-360-image-output.png +0 -0
- package/docs/work-orders/evidence/project-media-browser-20261016/light-1440-image-output.png +0 -0
- package/docs/work-orders/evidence/project-media-browser-20261016/report.json +47455 -0
- package/docs/work-orders/evidence/session-native-restore-followup-20261016.json +30 -0
- package/docs/work-orders/evidence/session-transcript-browser-20261016.json +1196 -0
- package/docs/work-orders/evidence/session-transcript-dark-1440-session-code.png +0 -0
- package/docs/work-orders/evidence/session-transcript-dark-1440-session-image.png +0 -0
- package/docs/work-orders/evidence/session-transcript-dark-1440-session-working.png +0 -0
- package/docs/work-orders/evidence/session-transcript-light-320-session-code.png +0 -0
- package/docs/work-orders/evidence/session-transcript-light-320-session-image.png +0 -0
- package/docs/work-orders/evidence/session-transcript-light-320-session-working.png +0 -0
- package/docs/work-orders/evidence/tool-event-presentation-verification-20261016.json +87 -0
- package/docs/work-orders/evidence/update-operation-cancellation-20261016.json +106 -0
- package/docs/work-orders/session-transcript-browser-20261016.md +21 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
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:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 37592328 bytes
|
|
4
|
+
sha256: 993f9acf83346159ad0032fe2643507c8575b2a1f93c5354d1c5db2a547c4fea
|
package/dist/library.js
CHANGED
|
@@ -404525,6 +404525,7 @@ All source chunks are processed and retained for automatic context recovery; do
|
|
|
404525
404525
|
}
|
|
404526
404526
|
this.emit({
|
|
404527
404527
|
type: "status",
|
|
404528
|
+
actionId: request.callId,
|
|
404528
404529
|
visibility: "user_progress",
|
|
404529
404530
|
toolName: "artifact_read",
|
|
404530
404531
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
@@ -404675,6 +404676,7 @@ All source chunks are processed and retained for automatic context recovery; do
|
|
|
404675
404676
|
const completed = value?.chunks.filter((chunk) => !!chunk.result) ?? [];
|
|
404676
404677
|
this.emit({
|
|
404677
404678
|
type: "status",
|
|
404679
|
+
actionId: input.callId,
|
|
404678
404680
|
toolName: input.toolName,
|
|
404679
404681
|
visibility: "user_progress",
|
|
404680
404682
|
turn: input.turn,
|
|
@@ -39,6 +39,7 @@ function sanitizeNativeInterfaceState(value) {
|
|
|
39
39
|
version: 1,
|
|
40
40
|
...typeof value.sessionId === "string" ? { sessionId: value.sessionId.slice(0, 1024) } : {},
|
|
41
41
|
activeViewId: value.activeViewId.slice(0, 1024),
|
|
42
|
+
...typeof value.focusId === "string" && value.focusId.length <= 4096 && !value.focusId.startsWith("modal-") ? { focusId: value.focusId } : {},
|
|
42
43
|
presentation: value.presentation === "tree" ? "tree" : "stack",
|
|
43
44
|
input: { text, cursor: Math.min(text.length, offset(value.input.cursor)) },
|
|
44
45
|
views,
|
|
@@ -5652,8 +5653,11 @@ var NativeFrontend = class {
|
|
|
5652
5653
|
}
|
|
5653
5654
|
renderActivity() {
|
|
5654
5655
|
const activity = this.state?.activity;
|
|
5655
|
-
const stage = activity?.stage === "idle" ? void 0 : activity?.stage;
|
|
5656
|
-
const
|
|
5656
|
+
const stage = activity?.stage === "idle" ? void 0 : activity?.stage?.replace(/_/g, " ").toUpperCase();
|
|
5657
|
+
const label = activity?.label && activity.label.toUpperCase() !== stage ? activity.label : void 0;
|
|
5658
|
+
const elapsed = activity?.elapsedMs === void 0 ? void 0 : `${Math.max(0, Math.floor(activity.elapsedMs / 1e3))}s`;
|
|
5659
|
+
const progress = activity?.progress === void 0 ? void 0 : `${Math.round(activity.progress * 100)}% source accounted`;
|
|
5660
|
+
const reading = [stage, label, elapsed, progress].filter(Boolean).join(" · ") || this.state?.instruments?.runtimeStatus || "";
|
|
5657
5661
|
this.activity.visible = Boolean(activity?.processing || reading);
|
|
5658
5662
|
this.activity.content = `${activity?.processing ? "RUN · " : ""}${reading}`;
|
|
5659
5663
|
this.status.visible = this.activity.visible || this.media.visible || this.copyFeedback.visible;
|
|
@@ -5815,6 +5819,15 @@ var NativeFrontend = class {
|
|
|
5815
5819
|
this.instruments.restorePresentation(state.instruments);
|
|
5816
5820
|
this.sessions.restoreOffset(state.tabs.sessions);
|
|
5817
5821
|
this.tabs.restoreOffset(state.tabs.agents);
|
|
5822
|
+
const focus = state.focusId && !this.modals.active ? this.getRenderable(state.focusId) : void 0;
|
|
5823
|
+
if (focus?.focusable) {
|
|
5824
|
+
let ancestor = focus, visible = true;
|
|
5825
|
+
while (ancestor) {
|
|
5826
|
+
visible &&= ancestor.visible;
|
|
5827
|
+
ancestor = ancestor.parent;
|
|
5828
|
+
}
|
|
5829
|
+
if (visible) focus.focus();
|
|
5830
|
+
}
|
|
5818
5831
|
}
|
|
5819
5832
|
if (this.pendingScrollRestore) {
|
|
5820
5833
|
const restore = this.pendingScrollRestore;
|
|
@@ -6281,6 +6294,7 @@ var NativeFrontend = class {
|
|
|
6281
6294
|
sessionId: this.state?.sessions?.activeId,
|
|
6282
6295
|
activeViewId: this.state?.activeViewId ?? "main",
|
|
6283
6296
|
presentation: this.state?.presentation ?? "stack",
|
|
6297
|
+
focusId: this.renderer.currentFocusedRenderable?.id,
|
|
6284
6298
|
input: { text: this.editor.plainText, cursor: this.inputCursor() },
|
|
6285
6299
|
views: Object.fromEntries([...this.viewScroll].slice(-256).map(([id, view]) => [id, { ...view, disclosures: this.viewDisclosures.get(id) ?? {} }])),
|
|
6286
6300
|
layout: { sidebarWidth: this.sidebarWidth, detailsOpen: this.detailsOpen, narrowDetailsOpen: this.narrowDetailsOpen, headerPanelCollapsed: this.headerPanelCollapsed },
|