@ai-ecoverse/slicc-spectrum 1.60.0 → 1.60.2

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/README.md CHANGED
@@ -201,6 +201,7 @@ Paths are the agent's: `/shared/…` and `/home/…`, nothing else. A refusal or
201
201
  - `panel list [--json]` lists the panels the caller can reach, open or not, with their state (`active`, `shown`, `open` or `closed`) and why one is busy. `--json` prints `PanelInfo`s: `id`, `title`, `kind` (`surface`, `chat`, `terminal`, `sprinkle`, `file`, `diff`), home `side`, `agent`, `open`, `visible`, `active` and `busy`.
202
202
  - `panel open <id> [place] [--section <name>]` shows a panel without moving keyboard focus. `panel focus <id> [place] [--section <name>]` also gives it focus.
203
203
  - `panel close <id>`, `panel move <id> <place>` (a closed panel opens there) and `panel reset` (the default layout).
204
+ - `panel tabs` and `--tab <tab>` are the agent's: it lists the SLICC tabs it can send the command to, and sends it to the one named instead of the one showing the caller's cone. It strips `--tab` before `panelCommand` runs; the help text names both so `panel --help` tells the whole story.
204
205
  - A place is `left`, `center` or `right` (a group on that side as the layout is now, with the chats' column as the center, or a new one beside its neighbours), or `--left`, `--right`, `--above`, `--below` or `--within <id>`.
205
206
  - Ids are the surface ids (`files`, `changes`, `terminal`, `monitor`, `settings`, …), `chat:<agent>`, `terminal:<id>`, `sprinkle:<id>`, `file:<path>` and `diff:<path>`. `chat` is the caller's cone's chat (without a caller, the selected thread's), `terminal` the active terminal, else the latest open one, else the newest, and a sprinkle can be named by its name alone.
206
207
 
package/dist/slicc-ui.js CHANGED
@@ -13752,9 +13752,12 @@ var help = `usage: panel <command>
13752
13752
  close <id> close a panel
13753
13753
  move <id> <place> move an open panel
13754
13754
  reset restore the default layout
13755
+ tabs the tabs panel can reach (answered by the agent)
13755
13756
 
13756
13757
  place: left | center | right, or --left | --right | --above | --below | --within <id>
13757
13758
  open and focus also take --section <name>, e.g. panel open settings --section accounts
13759
+ --tab <tab> sends the command to that tab instead of the one showing your cone;
13760
+ see panel tabs
13758
13761
 
13759
13762
  ids: the ones panel list shows, e.g. files, changes, terminal, monitor, settings,
13760
13763
  chat (your cone's chat), chat:<agent>, terminal:<n>, sprinkle:<name>,
@@ -27457,6 +27460,21 @@ var SliccMonitor = class extends ModelElement {
27457
27460
  shared,
27458
27461
  panelCss,
27459
27462
  i`
27463
+ .bar {
27464
+ padding-block: var(--swc-spacing-50);
27465
+ }
27466
+ .heading {
27467
+ flex: 1;
27468
+ min-width: 0;
27469
+ display: flex;
27470
+ flex-wrap: wrap;
27471
+ align-items: baseline;
27472
+ column-gap: var(--swc-spacing-100);
27473
+ white-space: normal;
27474
+ }
27475
+ .bar swc-action-button {
27476
+ flex: none;
27477
+ }
27460
27478
  .body {
27461
27479
  flex: 1;
27462
27480
  min-height: 0;
@@ -27606,7 +27624,7 @@ var SliccMonitor = class extends ModelElement {
27606
27624
  }
27607
27625
  .row swc-status-light {
27608
27626
  min-width: 0;
27609
- overflow-wrap: anywhere;
27627
+ overflow-wrap: break-word;
27610
27628
  }
27611
27629
  .row .badges {
27612
27630
  grid-column: 2;
@@ -27627,7 +27645,7 @@ var SliccMonitor = class extends ModelElement {
27627
27645
  padding-inline-start: var(--swc-spacing-300);
27628
27646
  color: var(--swc-neutral-subdued-content-color-default);
27629
27647
  font-size: var(--swc-font-size-75);
27630
- overflow-wrap: anywhere;
27648
+ overflow-wrap: break-word;
27631
27649
  }
27632
27650
  `
27633
27651
  ];
@@ -27671,7 +27689,7 @@ var SliccMonitor = class extends ModelElement {
27671
27689
  #row(row) {
27672
27690
  const depth = indent2(row.depth);
27673
27691
  return b`<li class="row" data-id=${row.id ?? A} data-status=${row.status} data-depth=${depth || A} style=${depth ? `--depth: ${depth}` : A}>
27674
- <swc-status-light size="s" variant=${rowLights[row.status]}><span class="sr">${rowSpoken[row.status]}: </span>${row.name}</swc-status-light>
27692
+ <swc-status-light size="s" variant=${rowLights[row.status]}><span class="sr">${rowSpoken[row.status]}: </span>${row.name.split(/(?<=\/)/).map((part2, i25) => i25 ? b`<wbr>${part2}` : part2)}</swc-status-light>
27675
27693
  <span class="badges">${(row.badges ?? []).map((badge) => b`<swc-badge size="s" variant="neutral" subtle>${badge}</swc-badge>`)}</span>
27676
27694
  ${row.meta ? b`<span class="meta">${row.meta}</span>` : A}
27677
27695
  </li>`;
@@ -27703,8 +27721,7 @@ var SliccMonitor = class extends ModelElement {
27703
27721
  render() {
27704
27722
  const snapshot2 = this.model?.monitor.snapshot();
27705
27723
  return b`<div class="bar">
27706
- <strong>Live monitor</strong><span>${snapshot2 ? `Updated ${new Date(snapshot2.updatedAt).toISOString().slice(11, 19)} UTC` : "No data"}</span>
27707
- <span class="spacer"></span>
27724
+ <span class="heading"><strong>Live monitor</strong><span>${snapshot2 ? `Updated ${new Date(snapshot2.updatedAt).toISOString().slice(11, 19)} UTC` : "No data"}</span></span>
27708
27725
  <swc-action-button size="s" quiet @click=${() => this.model?.monitor.resync()}><swc-icon-refresh slot="icon"></swc-icon-refresh>Re-sync</swc-action-button>
27709
27726
  </div>
27710
27727
  <div class="body">