omnius 1.0.879 → 1.0.881

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 CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/index.js
3
- size: 38358899 bytes
4
- sha256: c5a7e3e6a17988fedeb0245e1b043ed9e71341698f787a01ae09e67b70bdc375
3
+ size: 38361862 bytes
4
+ sha256: 66b7c3440f3fe94b50d630e0b30c68f4e05550f18af6e70671b10106cff2663d
@@ -7445,8 +7445,8 @@ var NativeFrontend = class {
7445
7445
  flexDirection: "column"
7446
7446
  });
7447
7447
  this.root.add(this.footer);
7448
- this.footerRule = new BoxRenderable11(renderer2, {
7449
- id: "omnius-input-rule",
7448
+ this.viewTabsRow = new BoxRenderable11(renderer2, {
7449
+ id: "omnius-view-tabs-row",
7450
7450
  width: "100%",
7451
7451
  height: 1,
7452
7452
  minHeight: 1,
@@ -7454,9 +7454,10 @@ var NativeFrontend = class {
7454
7454
  flexShrink: 0,
7455
7455
  flexDirection: "row",
7456
7456
  paddingLeft: 2,
7457
- shouldFill: false
7457
+ shouldFill: false,
7458
+ visible: false
7458
7459
  });
7459
- this.footer.add(this.footerRule);
7460
+ this.footer.add(this.viewTabsRow);
7460
7461
  this.tabs = new NativeTabStrip(renderer2, {
7461
7462
  id: "omnius-agent-tabs",
7462
7463
  prefix: "agent",
@@ -7466,7 +7467,27 @@ var NativeFrontend = class {
7466
7467
  this.tabs.flexGrow = 0;
7467
7468
  this.tabs.flexShrink = 0;
7468
7469
  this.tabs.visible = false;
7469
- this.footerRule.add(this.tabs);
7470
+ this.viewTabsRow.add(this.tabs);
7471
+ this.viewTabsRow.renderBefore = (buffer) => {
7472
+ if (this.instrumentDivider.visible) buffer.drawText(
7473
+ "│",
7474
+ this.instrumentDivider.x,
7475
+ this.viewTabsRow.y,
7476
+ this.context.colors.foreground,
7477
+ this.context.colors.background,
7478
+ TextAttributes11.DIM
7479
+ );
7480
+ };
7481
+ this.footerRule = new BoxRenderable11(renderer2, {
7482
+ id: "omnius-input-rule",
7483
+ width: "100%",
7484
+ height: 1,
7485
+ minHeight: 1,
7486
+ maxHeight: 1,
7487
+ flexShrink: 0,
7488
+ shouldFill: false
7489
+ });
7490
+ this.footer.add(this.footerRule);
7470
7491
  this.footerRule.renderBefore = (buffer) => {
7471
7492
  buffer.drawText(formatSignalDivider(this.footerRule.width, {
7472
7493
  direction: "bottom",
@@ -7595,6 +7616,7 @@ var NativeFrontend = class {
7595
7616
  suggestions;
7596
7617
  footer;
7597
7618
  footerRule;
7619
+ viewTabsRow;
7598
7620
  workspaceReferences;
7599
7621
  prompt;
7600
7622
  vimMode;
@@ -7678,6 +7700,7 @@ var NativeFrontend = class {
7678
7700
  this.routeWarning.visible = Boolean(state.routeWarning);
7679
7701
  this.tabs.update(state.tabs, state.activeViewId);
7680
7702
  this.tabs.visible = state.tabs.some((tab) => tab.id !== "main");
7703
+ this.viewTabsRow.visible = this.tabs.visible;
7681
7704
  this.sessionRow.visible = Boolean(state.sessions);
7682
7705
  this.sessions.update(state.sessions?.items ?? [], state.sessions?.activeId ?? "", state.sessions?.busy);
7683
7706
  this.newSession.focusable = !state.sessions?.busy;
@@ -8003,8 +8026,8 @@ var NativeFrontend = class {
8003
8026
  };
8004
8027
  layoutTabStrips() {
8005
8028
  const width = this.renderer.terminalWidth;
8006
- const junction = this.instrumentDivider.visible && this.instruments.visible ? this.instrumentDivider.x : width - 3;
8007
- const available = Math.max(0, junction - 6);
8029
+ const junction = this.instrumentDivider.visible ? this.instrumentDivider.x : width;
8030
+ const available = Math.max(0, junction - this.viewTabsRow.x - 3);
8008
8031
  const desired = Math.min(this.tabs.naturalWidth, available);
8009
8032
  if (this.tabs.width !== desired) this.tabs.width = desired;
8010
8033
  }