@ai-ecoverse/slicc-spectrum 1.38.0 → 1.40.0

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/slicc-ui.js CHANGED
@@ -8181,12 +8181,12 @@ var o18 = class extends a10 {
8181
8181
  };
8182
8182
  e25("swc-icon-add", o18);
8183
8183
 
8184
- // node_modules/@adobe/spectrum-wc-icons/dist/Checkmark.js
8184
+ // node_modules/@adobe/spectrum-wc-icons/dist/Delete.js
8185
8185
  function e48() {
8186
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M7.864 15.734a.75.75 0 0 1-.576-.27l-3.747-4.497a.75.75 0 0 1 1.152-.961l3.154 3.786 7.44-9.469a.75.75 0 0 1 1.179.926L8.454 15.447a.75.75 0 0 1-.579.287z"/></svg>';
8186
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M8.249 15.021a.75.75 0 0 1-.748-.72l-.25-6.5a.75.75 0 0 1 .72-.779H8c.4 0 .733.317.748.72l.25 6.5a.75.75 0 0 1-.72.778zm3.502 0h-.03a.75.75 0 0 1-.72-.779l.25-6.5a.75.75 0 0 1 .748-.72h.03a.75.75 0 0 1 .72.779l-.25 6.5a.75.75 0 0 1-.748.72"/><path fill="var(--swc-icon-color, currentColor)" d="M17 4h-3.5v-.75C13.5 2.01 12.49 1 11.25 1h-2.5C7.51 1 6.5 2.01 6.5 3.25V4H3a.75.75 0 0 0 0 1.5h.52l.422 10.342A2.243 2.243 0 0 0 6.19 18h7.62c1.211 0 2.2-.948 2.248-2.158L16.48 5.5H17A.75.75 0 0 0 17 4m-9-.75c0-.413.337-.75.75-.75h2.5c.413 0 .75.337.75.75V4H8zm6.56 12.531a.75.75 0 0 1-.75.719H6.19a.75.75 0 0 1-.75-.719L5.02 5.5h9.96z"/></svg>';
8187
8187
  }
8188
8188
 
8189
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-checkmark.js
8189
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-delete.js
8190
8190
  var o19 = class extends a10 {
8191
8191
  static get styles() {
8192
8192
  return [t40];
@@ -8197,14 +8197,14 @@ var o19 = class extends a10 {
8197
8197
  `;
8198
8198
  }
8199
8199
  };
8200
- e25("swc-icon-checkmark", o19);
8200
+ e25("swc-icon-delete", o19);
8201
8201
 
8202
- // node_modules/@adobe/spectrum-wc-icons/dist/Compare.js
8202
+ // node_modules/@adobe/spectrum-wc-icons/dist/Checkmark.js
8203
8203
  function e49() {
8204
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M8.25 18.021h-1c-1.24 0-2.25-1.01-2.25-2.25v-8.5c0-1.24 1.01-2.25 2.25-2.25h8.5c1.24 0 2.25 1.01 2.25 2.25v.979a.75.75 0 0 1-1.5 0v-.979a.75.75 0 0 0-.75-.75h-8.5a.75.75 0 0 0-.75.75v8.5c0 .414.337.75.75.75h1a.75.75 0 0 1 0 1.5"/><path fill="var(--swc-icon-color, currentColor)" d="M2.75 13.771a.75.75 0 0 1-.75-.75v-8.75c0-1.24 1.01-2.25 2.25-2.25H13a.75.75 0 0 1 0 1.5H4.25a.75.75 0 0 0-.75.75v8.75a.75.75 0 0 1-.75.75m16.68 4.599-2.59-2.591a4.16 4.16 0 0 0 .748-2.379c0-2.308-1.879-4.187-4.188-4.187S9.213 11.092 9.213 13.4s1.879 4.188 4.187 4.188c.884 0 1.702-.279 2.379-.749l2.591 2.592a.747.747 0 0 0 1.06 0 .75.75 0 0 0 0-1.06m-8.717-4.97c0-1.481 1.206-2.687 2.687-2.687s2.688 1.206 2.688 2.687-1.206 2.688-2.688 2.688-2.687-1.206-2.687-2.688"/></svg>';
8204
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M7.864 15.734a.75.75 0 0 1-.576-.27l-3.747-4.497a.75.75 0 0 1 1.152-.961l3.154 3.786 7.44-9.469a.75.75 0 0 1 1.179.926L8.454 15.447a.75.75 0 0 1-.579.287z"/></svg>';
8205
8205
  }
8206
8206
 
8207
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-compare.js
8207
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-checkmark.js
8208
8208
  var o20 = class extends a10 {
8209
8209
  static get styles() {
8210
8210
  return [t40];
@@ -8215,14 +8215,14 @@ var o20 = class extends a10 {
8215
8215
  `;
8216
8216
  }
8217
8217
  };
8218
- e25("swc-icon-compare", o20);
8218
+ e25("swc-icon-checkmark", o20);
8219
8219
 
8220
- // node_modules/@adobe/spectrum-wc-icons/dist/Contrast.js
8220
+ // node_modules/@adobe/spectrum-wc-icons/dist/Compare.js
8221
8221
  function e50() {
8222
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M10 18.78c-4.825 0-8.75-3.926-8.75-8.75S5.175 1.28 10 1.28s8.75 3.924 8.75 8.75-3.925 8.75-8.75 8.75m0-16c-3.998 0-7.25 3.251-7.25 7.25s3.252 7.25 7.25 7.25 7.25-3.253 7.25-7.25S13.998 2.78 10 2.78"/><path fill="var(--swc-icon-color, currentColor)" d="M10 14.384c0 .653.615 1.121 1.251.973a5.502 5.502 0 0 0 0-10.714c-.636-.148-1.251.32-1.251.973z"/></svg>';
8222
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M8.25 18.021h-1c-1.24 0-2.25-1.01-2.25-2.25v-8.5c0-1.24 1.01-2.25 2.25-2.25h8.5c1.24 0 2.25 1.01 2.25 2.25v.979a.75.75 0 0 1-1.5 0v-.979a.75.75 0 0 0-.75-.75h-8.5a.75.75 0 0 0-.75.75v8.5c0 .414.337.75.75.75h1a.75.75 0 0 1 0 1.5"/><path fill="var(--swc-icon-color, currentColor)" d="M2.75 13.771a.75.75 0 0 1-.75-.75v-8.75c0-1.24 1.01-2.25 2.25-2.25H13a.75.75 0 0 1 0 1.5H4.25a.75.75 0 0 0-.75.75v8.75a.75.75 0 0 1-.75.75m16.68 4.599-2.59-2.591a4.16 4.16 0 0 0 .748-2.379c0-2.308-1.879-4.187-4.188-4.187S9.213 11.092 9.213 13.4s1.879 4.188 4.187 4.188c.884 0 1.702-.279 2.379-.749l2.591 2.592a.747.747 0 0 0 1.06 0 .75.75 0 0 0 0-1.06m-8.717-4.97c0-1.481 1.206-2.687 2.687-2.687s2.688 1.206 2.688 2.687-1.206 2.688-2.688 2.688-2.687-1.206-2.687-2.688"/></svg>';
8223
8223
  }
8224
8224
 
8225
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-contrast.js
8225
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-compare.js
8226
8226
  var o21 = class extends a10 {
8227
8227
  static get styles() {
8228
8228
  return [t40];
@@ -8233,14 +8233,14 @@ var o21 = class extends a10 {
8233
8233
  `;
8234
8234
  }
8235
8235
  };
8236
- e25("swc-icon-contrast", o21);
8236
+ e25("swc-icon-compare", o21);
8237
8237
 
8238
- // node_modules/@adobe/spectrum-wc-icons/dist/Edit.js
8238
+ // node_modules/@adobe/spectrum-wc-icons/dist/Contrast.js
8239
8239
  function e51() {
8240
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M17.78 1.757c-1.27-1.041-3.225-.899-4.45.323L3.079 12.334c-.32.32-.559.717-.69 1.15l-1.384 4.584a.75.75 0 0 0 .935.935l4.582-1.384a2.74 2.74 0 0 0 1.151-.688L18.028 6.575a3.26 3.26 0 0 0 .948-2.46 3.27 3.27 0 0 0-1.195-2.358M2.846 17.163l.98-3.246a1.2 1.2 0 0 1 .113-.257l2.41 2.409a1.3 1.3 0 0 1-.259.114zm14.12-11.647-9.525 9.526-2.475-2.476 9.425-9.425a1.98 1.98 0 0 1 1.39-.586c.38 0 .752.119 1.05.362a1.754 1.754 0 0 1 .135 2.599"/></svg>';
8240
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M10 18.78c-4.825 0-8.75-3.926-8.75-8.75S5.175 1.28 10 1.28s8.75 3.924 8.75 8.75-3.925 8.75-8.75 8.75m0-16c-3.998 0-7.25 3.251-7.25 7.25s3.252 7.25 7.25 7.25 7.25-3.253 7.25-7.25S13.998 2.78 10 2.78"/><path fill="var(--swc-icon-color, currentColor)" d="M10 14.384c0 .653.615 1.121 1.251.973a5.502 5.502 0 0 0 0-10.714c-.636-.148-1.251.32-1.251.973z"/></svg>';
8241
8241
  }
8242
8242
 
8243
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-edit.js
8243
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-contrast.js
8244
8244
  var o22 = class extends a10 {
8245
8245
  static get styles() {
8246
8246
  return [t40];
@@ -8251,14 +8251,14 @@ var o22 = class extends a10 {
8251
8251
  `;
8252
8252
  }
8253
8253
  };
8254
- e25("swc-icon-edit", o22);
8254
+ e25("swc-icon-contrast", o22);
8255
8255
 
8256
- // node_modules/@adobe/spectrum-wc-icons/dist/Filter.js
8256
+ // node_modules/@adobe/spectrum-wc-icons/dist/Edit.js
8257
8257
  function e52() {
8258
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M8.999 18.729c-.36 0-.717-.099-1.037-.293A1.99 1.99 0 0 1 7 16.726V10.49a.75.75 0 0 0-.192-.501l-4.18-4.644a1.97 1.97 0 0 1-.349-2.152A1.98 1.98 0 0 1 4.11 2h11.782c.804 0 1.505.457 1.83 1.193s.19 1.562-.353 2.156l-4.176 4.64a.75.75 0 0 0-.192.501v5.046c0 .843-.465 1.609-1.213 1.997l-1.865.968a2 2 0 0 1-.923.228M4.109 3.5c-.295 0-.418.209-.458.298s-.11.322.088.54l4.184 4.647c.372.413.577.948.577 1.505v6.236c0 .254.168.383.24.427a.5.5 0 0 0 .49.017l1.866-.969a.75.75 0 0 0 .404-.665V10.49c0-.557.205-1.092.577-1.505l4.18-4.644c.202-.22.132-.453.092-.543s-.163-.298-.458-.298z"/></svg>';
8258
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M17.78 1.757c-1.27-1.041-3.225-.899-4.45.323L3.079 12.334c-.32.32-.559.717-.69 1.15l-1.384 4.584a.75.75 0 0 0 .935.935l4.582-1.384a2.74 2.74 0 0 0 1.151-.688L18.028 6.575a3.26 3.26 0 0 0 .948-2.46 3.27 3.27 0 0 0-1.195-2.358M2.846 17.163l.98-3.246a1.2 1.2 0 0 1 .113-.257l2.41 2.409a1.3 1.3 0 0 1-.259.114zm14.12-11.647-9.525 9.526-2.475-2.476 9.425-9.425a1.98 1.98 0 0 1 1.39-.586c.38 0 .752.119 1.05.362a1.754 1.754 0 0 1 .135 2.599"/></svg>';
8259
8259
  }
8260
8260
 
8261
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-filter.js
8261
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-edit.js
8262
8262
  var o23 = class extends a10 {
8263
8263
  static get styles() {
8264
8264
  return [t40];
@@ -8269,14 +8269,14 @@ var o23 = class extends a10 {
8269
8269
  `;
8270
8270
  }
8271
8271
  };
8272
- e25("swc-icon-filter", o23);
8272
+ e25("swc-icon-edit", o23);
8273
8273
 
8274
- // node_modules/@adobe/spectrum-wc-icons/dist/CheckmarkCircle.js
8274
+ // node_modules/@adobe/spectrum-wc-icons/dist/Filter.js
8275
8275
  function e53() {
8276
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M10 18.75c-4.825 0-8.75-3.925-8.75-8.75S5.175 1.25 10 1.25s8.75 3.925 8.75 8.75-3.925 8.75-8.75 8.75m0-16c-3.998 0-7.25 3.252-7.25 7.25s3.252 7.25 7.25 7.25 7.25-3.252 7.25-7.25S13.998 2.75 10 2.75"/><path fill="var(--swc-icon-color, currentColor)" d="M9.223 13.5a.75.75 0 0 1-.558-.248l-2.51-2.792A.75.75 0 0 1 7.27 9.456l1.893 2.107 3.487-4.756a.75.75 0 1 1 1.209.887l-4.032 5.5a.75.75 0 0 1-.567.305z"/></svg>';
8276
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M8.999 18.729c-.36 0-.717-.099-1.037-.293A1.99 1.99 0 0 1 7 16.726V10.49a.75.75 0 0 0-.192-.501l-4.18-4.644a1.97 1.97 0 0 1-.349-2.152A1.98 1.98 0 0 1 4.11 2h11.782c.804 0 1.505.457 1.83 1.193s.19 1.562-.353 2.156l-4.176 4.64a.75.75 0 0 0-.192.501v5.046c0 .843-.465 1.609-1.213 1.997l-1.865.968a2 2 0 0 1-.923.228M4.109 3.5c-.295 0-.418.209-.458.298s-.11.322.088.54l4.184 4.647c.372.413.577.948.577 1.505v6.236c0 .254.168.383.24.427a.5.5 0 0 0 .49.017l1.866-.969a.75.75 0 0 0 .404-.665V10.49c0-.557.205-1.092.577-1.505l4.18-4.644c.202-.22.132-.453.092-.543s-.163-.298-.458-.298z"/></svg>';
8277
8277
  }
8278
8278
 
8279
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-checkmark-circle.js
8279
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-filter.js
8280
8280
  var o24 = class extends a10 {
8281
8281
  static get styles() {
8282
8282
  return [t40];
@@ -8287,14 +8287,14 @@ var o24 = class extends a10 {
8287
8287
  `;
8288
8288
  }
8289
8289
  };
8290
- e25("swc-icon-checkmark-circle", o24);
8290
+ e25("swc-icon-filter", o24);
8291
8291
 
8292
- // node_modules/@adobe/spectrum-wc-icons/dist/Data.js
8292
+ // node_modules/@adobe/spectrum-wc-icons/dist/CheckmarkCircle.js
8293
8293
  function e54() {
8294
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M18 4.75c0-2.134-4.024-3.25-8-3.25S2 2.616 2 4.75c0 .067.015.13.023.196C2.017 4.985 2 5.02 2 5.06V15c0 2.062 4.147 3 8 3s8-.938 8-3V5.06c0-.04-.017-.075-.023-.114.008-.066.023-.129.023-.196m-1.5 5.245c-.092.415-2.228 1.505-6.5 1.505S3.59 10.41 3.5 10V6.724C5.03 7.567 7.524 8 10 8s4.97-.433 6.5-1.276zM10 3c4.289 0 6.5 1.227 6.5 1.75S14.289 6.5 10 6.5 3.5 5.273 3.5 4.75 5.711 3 10 3m0 13.5c-4.273 0-6.41-1.09-6.5-1.5v-3.154C5.052 12.63 7.583 13 10 13s4.948-.37 6.5-1.154v3.148c-.09.415-2.227 1.506-6.5 1.506"/></svg>';
8294
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M10 18.75c-4.825 0-8.75-3.925-8.75-8.75S5.175 1.25 10 1.25s8.75 3.925 8.75 8.75-3.925 8.75-8.75 8.75m0-16c-3.998 0-7.25 3.252-7.25 7.25s3.252 7.25 7.25 7.25 7.25-3.252 7.25-7.25S13.998 2.75 10 2.75"/><path fill="var(--swc-icon-color, currentColor)" d="M9.223 13.5a.75.75 0 0 1-.558-.248l-2.51-2.792A.75.75 0 0 1 7.27 9.456l1.893 2.107 3.487-4.756a.75.75 0 1 1 1.209.887l-4.032 5.5a.75.75 0 0 1-.567.305z"/></svg>';
8295
8295
  }
8296
8296
 
8297
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-data.js
8297
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-checkmark-circle.js
8298
8298
  var o25 = class extends a10 {
8299
8299
  static get styles() {
8300
8300
  return [t40];
@@ -8305,14 +8305,14 @@ var o25 = class extends a10 {
8305
8305
  `;
8306
8306
  }
8307
8307
  };
8308
- e25("swc-icon-data", o25);
8308
+ e25("swc-icon-checkmark-circle", o25);
8309
8309
 
8310
- // node_modules/@adobe/spectrum-wc-icons/dist/History.js
8310
+ // node_modules/@adobe/spectrum-wc-icons/dist/Data.js
8311
8311
  function e55() {
8312
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M13.22 12.657a.74.74 0 0 1-.38-.104l-3.22-1.895a.75.75 0 0 1-.37-.646v-5a.75.75 0 0 1 1.5 0v4.571l2.85 1.677a.75.75 0 0 1-.38 1.397"/><path fill="var(--swc-icon-color, currentColor)" d="M10 1.25c-2.79 0-5.39 1.367-7.023 3.566L2.732 3.33a.756.756 0 0 0-.862-.618.75.75 0 0 0-.618.862l.554 3.363a.75.75 0 0 0 .861.618l3.366-.551a.75.75 0 0 0-.242-1.48L4.106 5.8C5.454 3.92 7.648 2.75 10 2.75c3.998 0 7.25 3.252 7.25 7.25s-3.252 7.25-7.25 7.25a7.22 7.22 0 0 1-6.731-4.552.75.75 0 1 0-1.393.558A8.71 8.71 0 0 0 10 18.75c4.825 0 8.75-3.925 8.75-8.75S14.825 1.25 10 1.25"/></svg>';
8312
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M18 4.75c0-2.134-4.024-3.25-8-3.25S2 2.616 2 4.75c0 .067.015.13.023.196C2.017 4.985 2 5.02 2 5.06V15c0 2.062 4.147 3 8 3s8-.938 8-3V5.06c0-.04-.017-.075-.023-.114.008-.066.023-.129.023-.196m-1.5 5.245c-.092.415-2.228 1.505-6.5 1.505S3.59 10.41 3.5 10V6.724C5.03 7.567 7.524 8 10 8s4.97-.433 6.5-1.276zM10 3c4.289 0 6.5 1.227 6.5 1.75S14.289 6.5 10 6.5 3.5 5.273 3.5 4.75 5.711 3 10 3m0 13.5c-4.273 0-6.41-1.09-6.5-1.5v-3.154C5.052 12.63 7.583 13 10 13s4.948-.37 6.5-1.154v3.148c-.09.415-2.227 1.506-6.5 1.506"/></svg>';
8313
8313
  }
8314
8314
 
8315
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-history.js
8315
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-data.js
8316
8316
  var o26 = class extends a10 {
8317
8317
  static get styles() {
8318
8318
  return [t40];
@@ -8323,14 +8323,14 @@ var o26 = class extends a10 {
8323
8323
  `;
8324
8324
  }
8325
8325
  };
8326
- e25("swc-icon-history", o26);
8326
+ e25("swc-icon-data", o26);
8327
8327
 
8328
- // node_modules/@adobe/spectrum-wc-icons/dist/Lightbulb.js
8328
+ // node_modules/@adobe/spectrum-wc-icons/dist/History.js
8329
8329
  function e56() {
8330
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M10 2.241a.75.75 0 0 1-.75-.75v-.7a.75.75 0 0 1 1.5 0v.7a.75.75 0 0 1-.75.75m8.454 7.78h-.7a.75.75 0 0 1 0-1.5h.7a.75.75 0 0 1 0 1.5m-16.222 0h-.7a.75.75 0 0 1 0-1.5h.7a.75.75 0 0 1 0 1.5M4.51 4.54a.75.75 0 0 1-.53-.22l-.495-.496a.75.75 0 1 1 1.06-1.06l.496.495a.75.75 0 0 1-.53 1.28m10.965.001a.75.75 0 0 1-.53-1.28l.494-.496a.75.75 0 1 1 1.061 1.06l-.495.495a.75.75 0 0 1-.53.22M16 9.5c0-3.309-2.691-6-6-6s-6 2.691-6 6c0 2.216 1.21 4.15 3.001 5.189L7 14.695V16.5c0 1.654 1.346 3 3 3s3-1.346 3-3v-1.812A6 6 0 0 0 16 9.5m-4.5 7c0 .827-.673 1.5-1.5 1.5s-1.5-.673-1.5-1.5v-1.198c.48.125.981.198 1.5.198s1.02-.073 1.5-.198zM10 14c-2.481 0-4.5-2.019-4.5-4.5S7.519 5 10 5s4.5 2.019 4.5 4.5S12.481 14 10 14"/></svg>';
8330
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M13.22 12.657a.74.74 0 0 1-.38-.104l-3.22-1.895a.75.75 0 0 1-.37-.646v-5a.75.75 0 0 1 1.5 0v4.571l2.85 1.677a.75.75 0 0 1-.38 1.397"/><path fill="var(--swc-icon-color, currentColor)" d="M10 1.25c-2.79 0-5.39 1.367-7.023 3.566L2.732 3.33a.756.756 0 0 0-.862-.618.75.75 0 0 0-.618.862l.554 3.363a.75.75 0 0 0 .861.618l3.366-.551a.75.75 0 0 0-.242-1.48L4.106 5.8C5.454 3.92 7.648 2.75 10 2.75c3.998 0 7.25 3.252 7.25 7.25s-3.252 7.25-7.25 7.25a7.22 7.22 0 0 1-6.731-4.552.75.75 0 1 0-1.393.558A8.71 8.71 0 0 0 10 18.75c4.825 0 8.75-3.925 8.75-8.75S14.825 1.25 10 1.25"/></svg>';
8331
8331
  }
8332
8332
 
8333
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-lightbulb.js
8333
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-history.js
8334
8334
  var o27 = class extends a10 {
8335
8335
  static get styles() {
8336
8336
  return [t40];
@@ -8341,14 +8341,14 @@ var o27 = class extends a10 {
8341
8341
  `;
8342
8342
  }
8343
8343
  };
8344
- e25("swc-icon-lightbulb", o27);
8344
+ e25("swc-icon-history", o27);
8345
8345
 
8346
- // node_modules/@adobe/spectrum-wc-icons/dist/SaveFloppy.js
8346
+ // node_modules/@adobe/spectrum-wc-icons/dist/Lightbulb.js
8347
8347
  function e57() {
8348
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="m17.414 4.104-1.518-1.518A2 2 0 0 0 14.482 2H4.25C3.01 2 2 3.01 2 4.25v11.5C2 16.99 3.01 18 4.25 18h11.5c1.24 0 2.25-1.01 2.25-2.25V5.518a2 2 0 0 0-.586-1.414M7.75 3.5h4.5v3h-4.5zm5.5 13h-6.5V12h6.5zm3.25-.75a.75.75 0 0 1-.75.75h-1V12c0-.827-.673-1.5-1.5-1.5h-6.5c-.827 0-1.5.673-1.5 1.5v4.5h-1a.75.75 0 0 1-.75-.75V4.25a.75.75 0 0 1 .75-.75h2v3c0 .827.673 1.5 1.5 1.5h4.5c.827 0 1.5-.673 1.5-1.5v-3h.732c.134 0 .26.052.354.146l1.518 1.518a.5.5 0 0 1 .146.354z"/></svg>';
8348
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M10 2.241a.75.75 0 0 1-.75-.75v-.7a.75.75 0 0 1 1.5 0v.7a.75.75 0 0 1-.75.75m8.454 7.78h-.7a.75.75 0 0 1 0-1.5h.7a.75.75 0 0 1 0 1.5m-16.222 0h-.7a.75.75 0 0 1 0-1.5h.7a.75.75 0 0 1 0 1.5M4.51 4.54a.75.75 0 0 1-.53-.22l-.495-.496a.75.75 0 1 1 1.06-1.06l.496.495a.75.75 0 0 1-.53 1.28m10.965.001a.75.75 0 0 1-.53-1.28l.494-.496a.75.75 0 1 1 1.061 1.06l-.495.495a.75.75 0 0 1-.53.22M16 9.5c0-3.309-2.691-6-6-6s-6 2.691-6 6c0 2.216 1.21 4.15 3.001 5.189L7 14.695V16.5c0 1.654 1.346 3 3 3s3-1.346 3-3v-1.812A6 6 0 0 0 16 9.5m-4.5 7c0 .827-.673 1.5-1.5 1.5s-1.5-.673-1.5-1.5v-1.198c.48.125.981.198 1.5.198s1.02-.073 1.5-.198zM10 14c-2.481 0-4.5-2.019-4.5-4.5S7.519 5 10 5s4.5 2.019 4.5 4.5S12.481 14 10 14"/></svg>';
8349
8349
  }
8350
8350
 
8351
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-save-floppy.js
8351
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-lightbulb.js
8352
8352
  var o28 = class extends a10 {
8353
8353
  static get styles() {
8354
8354
  return [t40];
@@ -8359,14 +8359,14 @@ var o28 = class extends a10 {
8359
8359
  `;
8360
8360
  }
8361
8361
  };
8362
- e25("swc-icon-save-floppy", o28);
8362
+ e25("swc-icon-lightbulb", o28);
8363
8363
 
8364
- // node_modules/@adobe/spectrum-wc-icons/dist/OpenIn.js
8364
+ // node_modules/@adobe/spectrum-wc-icons/dist/SaveFloppy.js
8365
8365
  function e58() {
8366
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M18 15.75V4.25C18 3.01 16.99 2 15.75 2H4.25C3.01 2 2 3.01 2 4.25v3.718a.75.75 0 0 0 1.5 0V4.25a.75.75 0 0 1 .75-.75h11.5a.75.75 0 0 1 .75.75v11.5a.75.75 0 0 1-.75.75h-3.811a.75.75 0 0 0 0 1.5h3.811c1.24 0 2.25-1.01 2.25-2.25"/><path fill="var(--swc-icon-color, currentColor)" d="M11 9.75v4.243a.75.75 0 0 1-1.5 0V11.56l-6.47 6.47a.75.75 0 0 1-1.06 0 .75.75 0 0 1 0-1.061l6.47-6.47H6.006a.75.75 0 0 1 0-1.5h4.243a.75.75 0 0 1 .75.75"/></svg>';
8366
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="m17.414 4.104-1.518-1.518A2 2 0 0 0 14.482 2H4.25C3.01 2 2 3.01 2 4.25v11.5C2 16.99 3.01 18 4.25 18h11.5c1.24 0 2.25-1.01 2.25-2.25V5.518a2 2 0 0 0-.586-1.414M7.75 3.5h4.5v3h-4.5zm5.5 13h-6.5V12h6.5zm3.25-.75a.75.75 0 0 1-.75.75h-1V12c0-.827-.673-1.5-1.5-1.5h-6.5c-.827 0-1.5.673-1.5 1.5v4.5h-1a.75.75 0 0 1-.75-.75V4.25a.75.75 0 0 1 .75-.75h2v3c0 .827.673 1.5 1.5 1.5h4.5c.827 0 1.5-.673 1.5-1.5v-3h.732c.134 0 .26.052.354.146l1.518 1.518a.5.5 0 0 1 .146.354z"/></svg>';
8367
8367
  }
8368
8368
 
8369
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-open-in.js
8369
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-save-floppy.js
8370
8370
  var o29 = class extends a10 {
8371
8371
  static get styles() {
8372
8372
  return [t40];
@@ -8377,14 +8377,14 @@ var o29 = class extends a10 {
8377
8377
  `;
8378
8378
  }
8379
8379
  };
8380
- e25("swc-icon-open-in", o29);
8380
+ e25("swc-icon-save-floppy", o29);
8381
8381
 
8382
- // node_modules/@adobe/spectrum-wc-icons/dist/GlobeGrid.js
8382
+ // node_modules/@adobe/spectrum-wc-icons/dist/OpenIn.js
8383
8383
  function e59() {
8384
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M10 1.252c-4.825 0-8.75 3.925-8.75 8.75s3.925 8.75 8.75 8.75 8.75-3.925 8.75-8.75-3.925-8.75-8.75-8.75m7.21 8h-3.14c-.14-2.33-.915-4.526-2.192-6.245 2.856.767 5.023 3.231 5.334 6.245m-7.198 7.631c-1.49-1.537-2.419-3.745-2.582-6.131h5.14c-.162 2.388-1.081 4.593-2.558 6.131M7.431 9.252c.162-2.387 1.091-4.594 2.581-6.132 1.477 1.538 2.396 3.743 2.558 6.132zm.715-6.251c-1.29 1.72-2.074 3.92-2.215 6.251H2.79c.312-3.022 2.49-5.49 5.357-6.251M2.79 10.752h3.142c.141 2.33.926 4.53 2.216 6.25-2.867-.759-5.046-3.228-5.358-6.25m9.088 6.245c1.277-1.72 2.052-3.915 2.192-6.245h3.142c-.311 3.014-2.479 5.478-5.334 6.245"/></svg>';
8384
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M18 15.75V4.25C18 3.01 16.99 2 15.75 2H4.25C3.01 2 2 3.01 2 4.25v3.718a.75.75 0 0 0 1.5 0V4.25a.75.75 0 0 1 .75-.75h11.5a.75.75 0 0 1 .75.75v11.5a.75.75 0 0 1-.75.75h-3.811a.75.75 0 0 0 0 1.5h3.811c1.24 0 2.25-1.01 2.25-2.25"/><path fill="var(--swc-icon-color, currentColor)" d="M11 9.75v4.243a.75.75 0 0 1-1.5 0V11.56l-6.47 6.47a.75.75 0 0 1-1.06 0 .75.75 0 0 1 0-1.061l6.47-6.47H6.006a.75.75 0 0 1 0-1.5h4.243a.75.75 0 0 1 .75.75"/></svg>';
8385
8385
  }
8386
8386
 
8387
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-globe-grid.js
8387
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-open-in.js
8388
8388
  var o30 = class extends a10 {
8389
8389
  static get styles() {
8390
8390
  return [t40];
@@ -8395,14 +8395,14 @@ var o30 = class extends a10 {
8395
8395
  `;
8396
8396
  }
8397
8397
  };
8398
- e25("swc-icon-globe-grid", o30);
8398
+ e25("swc-icon-open-in", o30);
8399
8399
 
8400
- // node_modules/@adobe/spectrum-wc-icons/dist/Code.js
8400
+ // node_modules/@adobe/spectrum-wc-icons/dist/GlobeGrid.js
8401
8401
  function e60() {
8402
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M5.5 14.5a.75.75 0 0 1-.53-.22l-3.75-3.75a.75.75 0 0 1 0-1.06l3.75-3.75a.75.75 0 1 1 1.06 1.06L2.81 10l3.22 3.22a.75.75 0 0 1-.53 1.28m9 0a.75.75 0 0 1-.53-1.28L17.19 10l-3.22-3.22a.75.75 0 1 1 1.06-1.06l3.75 3.75a.75.75 0 0 1 0 1.06l-3.75 3.75a.75.75 0 0 1-.53.22M8.229 18a.75.75 0 0 1-.73-.926l3.5-14.5a.76.76 0 0 1 .904-.553.75.75 0 0 1 .554.905l-3.5 14.5a.75.75 0 0 1-.728.574"/></svg>';
8402
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M10 1.252c-4.825 0-8.75 3.925-8.75 8.75s3.925 8.75 8.75 8.75 8.75-3.925 8.75-8.75-3.925-8.75-8.75-8.75m7.21 8h-3.14c-.14-2.33-.915-4.526-2.192-6.245 2.856.767 5.023 3.231 5.334 6.245m-7.198 7.631c-1.49-1.537-2.419-3.745-2.582-6.131h5.14c-.162 2.388-1.081 4.593-2.558 6.131M7.431 9.252c.162-2.387 1.091-4.594 2.581-6.132 1.477 1.538 2.396 3.743 2.558 6.132zm.715-6.251c-1.29 1.72-2.074 3.92-2.215 6.251H2.79c.312-3.022 2.49-5.49 5.357-6.251M2.79 10.752h3.142c.141 2.33.926 4.53 2.216 6.25-2.867-.759-5.046-3.228-5.358-6.25m9.088 6.245c1.277-1.72 2.052-3.915 2.192-6.245h3.142c-.311 3.014-2.479 5.478-5.334 6.245"/></svg>';
8403
8403
  }
8404
8404
 
8405
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-code.js
8405
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-globe-grid.js
8406
8406
  var o31 = class extends a10 {
8407
8407
  static get styles() {
8408
8408
  return [t40];
@@ -8413,14 +8413,14 @@ var o31 = class extends a10 {
8413
8413
  `;
8414
8414
  }
8415
8415
  };
8416
- e25("swc-icon-code", o31);
8416
+ e25("swc-icon-globe-grid", o31);
8417
8417
 
8418
- // node_modules/@adobe/spectrum-wc-icons/dist/Folder.js
8418
+ // node_modules/@adobe/spectrum-wc-icons/dist/Code.js
8419
8419
  function e61() {
8420
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M16.75 5h-5.964a.75.75 0 0 1-.567-.259L8.516 2.776A2.25 2.25 0 0 0 6.816 2H3.25C2.01 2 1 3.01 1 4.25v10.5C1 15.99 2.01 17 3.25 17h13.5c1.24 0 2.25-1.01 2.25-2.25v-7.5C19 6.01 17.99 5 16.75 5M3.25 3.5h3.565c.218 0 .424.095.567.259L8.458 5H2.5v-.75a.75.75 0 0 1 .75-.75M17.5 14.75a.75.75 0 0 1-.75.75H3.25a.75.75 0 0 1-.75-.75V6.5h14.25a.75.75 0 0 1 .75.75z"/></svg>';
8420
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M5.5 14.5a.75.75 0 0 1-.53-.22l-3.75-3.75a.75.75 0 0 1 0-1.06l3.75-3.75a.75.75 0 1 1 1.06 1.06L2.81 10l3.22 3.22a.75.75 0 0 1-.53 1.28m9 0a.75.75 0 0 1-.53-1.28L17.19 10l-3.22-3.22a.75.75 0 1 1 1.06-1.06l3.75 3.75a.75.75 0 0 1 0 1.06l-3.75 3.75a.75.75 0 0 1-.53.22M8.229 18a.75.75 0 0 1-.73-.926l3.5-14.5a.76.76 0 0 1 .904-.553.75.75 0 0 1 .554.905l-3.5 14.5a.75.75 0 0 1-.728.574"/></svg>';
8421
8421
  }
8422
8422
 
8423
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-folder.js
8423
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-code.js
8424
8424
  var o32 = class extends a10 {
8425
8425
  static get styles() {
8426
8426
  return [t40];
@@ -8431,14 +8431,14 @@ var o32 = class extends a10 {
8431
8431
  `;
8432
8432
  }
8433
8433
  };
8434
- e25("swc-icon-folder", o32);
8434
+ e25("swc-icon-code", o32);
8435
8435
 
8436
- // node_modules/@adobe/spectrum-wc-icons/dist/Microphone.js
8436
+ // node_modules/@adobe/spectrum-wc-icons/dist/Folder.js
8437
8437
  function e62() {
8438
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M10 12.75c-2.206 0-4-1.794-4-4V5c0-2.206 1.794-4 4-4s4 1.794 4 4v3.75c0 2.206-1.794 4-4 4M10 2.5A2.503 2.503 0 0 0 7.5 5v3.75c0 1.379 1.122 2.5 2.5 2.5s2.5-1.121 2.5-2.5V5c0-1.379-1.122-2.5-2.5-2.5"/><path fill="var(--swc-icon-color, currentColor)" d="M16.25 7.316a.75.75 0 0 0-.75.75v.684c0 3.032-2.467 5.5-5.5 5.5s-5.5-2.468-5.5-5.5v-.684a.75.75 0 0 0-1.5 0v.684c0 3.606 2.742 6.583 6.25 6.959V17.5H6A.75.75 0 0 0 6 19h8a.75.75 0 0 0 0-1.5h-3.25v-1.791C14.258 15.333 17 12.356 17 8.75v-.684a.75.75 0 0 0-.75-.75"/></svg>';
8438
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M16.75 5h-5.964a.75.75 0 0 1-.567-.259L8.516 2.776A2.25 2.25 0 0 0 6.816 2H3.25C2.01 2 1 3.01 1 4.25v10.5C1 15.99 2.01 17 3.25 17h13.5c1.24 0 2.25-1.01 2.25-2.25v-7.5C19 6.01 17.99 5 16.75 5M3.25 3.5h3.565c.218 0 .424.095.567.259L8.458 5H2.5v-.75a.75.75 0 0 1 .75-.75M17.5 14.75a.75.75 0 0 1-.75.75H3.25a.75.75 0 0 1-.75-.75V6.5h14.25a.75.75 0 0 1 .75.75z"/></svg>';
8439
8439
  }
8440
8440
 
8441
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-microphone.js
8441
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-folder.js
8442
8442
  var o33 = class extends a10 {
8443
8443
  static get styles() {
8444
8444
  return [t40];
@@ -8449,14 +8449,14 @@ var o33 = class extends a10 {
8449
8449
  `;
8450
8450
  }
8451
8451
  };
8452
- e25("swc-icon-microphone", o33);
8452
+ e25("swc-icon-folder", o33);
8453
8453
 
8454
- // node_modules/@adobe/spectrum-wc-icons/dist/More.js
8454
+ // node_modules/@adobe/spectrum-wc-icons/dist/Microphone.js
8455
8455
  function e63() {
8456
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><circle cx="10" cy="10.021" r="1.5" fill="var(--swc-icon-color, currentColor)"/><path fill="var(--swc-icon-color, currentColor)" d="M10 8.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3"/><circle cx="4" cy="10.021" r="1.5" fill="var(--swc-icon-color, currentColor)"/><circle cx="4" cy="10" r="1.5" fill="var(--swc-icon-color, currentColor)"/><circle cx="16" cy="10.021" r="1.5" fill="var(--swc-icon-color, currentColor)"/><circle cx="16" cy="10" r="1.5" fill="var(--swc-icon-color, currentColor)"/></svg>';
8456
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M10 12.75c-2.206 0-4-1.794-4-4V5c0-2.206 1.794-4 4-4s4 1.794 4 4v3.75c0 2.206-1.794 4-4 4M10 2.5A2.503 2.503 0 0 0 7.5 5v3.75c0 1.379 1.122 2.5 2.5 2.5s2.5-1.121 2.5-2.5V5c0-1.379-1.122-2.5-2.5-2.5"/><path fill="var(--swc-icon-color, currentColor)" d="M16.25 7.316a.75.75 0 0 0-.75.75v.684c0 3.032-2.467 5.5-5.5 5.5s-5.5-2.468-5.5-5.5v-.684a.75.75 0 0 0-1.5 0v.684c0 3.606 2.742 6.583 6.25 6.959V17.5H6A.75.75 0 0 0 6 19h8a.75.75 0 0 0 0-1.5h-3.25v-1.791C14.258 15.333 17 12.356 17 8.75v-.684a.75.75 0 0 0-.75-.75"/></svg>';
8457
8457
  }
8458
8458
 
8459
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-more.js
8459
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-microphone.js
8460
8460
  var o34 = class extends a10 {
8461
8461
  static get styles() {
8462
8462
  return [t40];
@@ -8467,14 +8467,14 @@ var o34 = class extends a10 {
8467
8467
  `;
8468
8468
  }
8469
8469
  };
8470
- e25("swc-icon-more", o34);
8470
+ e25("swc-icon-microphone", o34);
8471
8471
 
8472
- // node_modules/@adobe/spectrum-wc-icons/dist/Refresh.js
8472
+ // node_modules/@adobe/spectrum-wc-icons/dist/More.js
8473
8473
  function e64() {
8474
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M18.207 3.897a.75.75 0 0 0-.906.554l-.38 1.575A7.97 7.97 0 0 0 10 2.02 7.98 7.98 0 0 0 2.24 8.1a.75.75 0 1 0 1.457.36A6.48 6.48 0 0 1 10 3.52a6.47 6.47 0 0 1 5.809 3.633l-2.102-.508a.75.75 0 0 0-.353 1.459l3.245.784a.75.75 0 0 0 .612.12c.048-.011.086-.04.13-.06.069-.019.142-.02.205-.058a.75.75 0 0 0 .338-.464l.875-3.624a.75.75 0 0 0-.552-.906m-.997 7.136a.755.755 0 0 0-.907.55A6.48 6.48 0 0 1 10 16.521a6.47 6.47 0 0 1-5.81-3.634l2.103.508a.75.75 0 0 0 .353-1.459l-3.255-.786a.74.74 0 0 0-.602-.119c-.015.004-.026.015-.04.02a.73.73 0 0 0-.633.563l-.875 3.624a.75.75 0 0 0 1.458.352l.38-1.575A7.97 7.97 0 0 0 10 18.021a7.98 7.98 0 0 0 7.76-6.08.75.75 0 0 0-.549-.909"/></svg>';
8474
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><circle cx="10" cy="10.021" r="1.5" fill="var(--swc-icon-color, currentColor)"/><path fill="var(--swc-icon-color, currentColor)" d="M10 8.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3"/><circle cx="4" cy="10.021" r="1.5" fill="var(--swc-icon-color, currentColor)"/><circle cx="4" cy="10" r="1.5" fill="var(--swc-icon-color, currentColor)"/><circle cx="16" cy="10.021" r="1.5" fill="var(--swc-icon-color, currentColor)"/><circle cx="16" cy="10" r="1.5" fill="var(--swc-icon-color, currentColor)"/></svg>';
8475
8475
  }
8476
8476
 
8477
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-refresh.js
8477
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-more.js
8478
8478
  var o35 = class extends a10 {
8479
8479
  static get styles() {
8480
8480
  return [t40];
@@ -8485,14 +8485,14 @@ var o35 = class extends a10 {
8485
8485
  `;
8486
8486
  }
8487
8487
  };
8488
- e25("swc-icon-refresh", o35);
8488
+ e25("swc-icon-more", o35);
8489
8489
 
8490
- // node_modules/@adobe/spectrum-wc-icons/dist/Revert.js
8490
+ // node_modules/@adobe/spectrum-wc-icons/dist/Refresh.js
8491
8491
  function e65() {
8492
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M18 15.5H3A.75.75 0 0 1 3 14h15a.75.75 0 0 1 0 1.5M11 3.25c-3.777 0-6.926 2.816-7.609 6.528l-.858-1.44a.75.75 0 0 0-1.288.769l1.795 3.012a.75.75 0 0 0 1.046.249l2.92-1.853a.75.75 0 0 0-.804-1.266l-1.344.852C5.392 7.061 7.94 4.75 11 4.75c3.446 0 6.25 2.931 6.25 6.534a.75.75 0 0 0 1.5 0c0-4.43-3.477-8.034-7.75-8.034"/></svg>';
8492
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M18.207 3.897a.75.75 0 0 0-.906.554l-.38 1.575A7.97 7.97 0 0 0 10 2.02 7.98 7.98 0 0 0 2.24 8.1a.75.75 0 1 0 1.457.36A6.48 6.48 0 0 1 10 3.52a6.47 6.47 0 0 1 5.809 3.633l-2.102-.508a.75.75 0 0 0-.353 1.459l3.245.784a.75.75 0 0 0 .612.12c.048-.011.086-.04.13-.06.069-.019.142-.02.205-.058a.75.75 0 0 0 .338-.464l.875-3.624a.75.75 0 0 0-.552-.906m-.997 7.136a.755.755 0 0 0-.907.55A6.48 6.48 0 0 1 10 16.521a6.47 6.47 0 0 1-5.81-3.634l2.103.508a.75.75 0 0 0 .353-1.459l-3.255-.786a.74.74 0 0 0-.602-.119c-.015.004-.026.015-.04.02a.73.73 0 0 0-.633.563l-.875 3.624a.75.75 0 0 0 1.458.352l.38-1.575A7.97 7.97 0 0 0 10 18.021a7.98 7.98 0 0 0 7.76-6.08.75.75 0 0 0-.549-.909"/></svg>';
8493
8493
  }
8494
8494
 
8495
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-revert.js
8495
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-refresh.js
8496
8496
  var o36 = class extends a10 {
8497
8497
  static get styles() {
8498
8498
  return [t40];
@@ -8503,14 +8503,14 @@ var o36 = class extends a10 {
8503
8503
  `;
8504
8504
  }
8505
8505
  };
8506
- e25("swc-icon-revert", o36);
8506
+ e25("swc-icon-refresh", o36);
8507
8507
 
8508
- // node_modules/@adobe/spectrum-wc-icons/dist/Send.js
8508
+ // node_modules/@adobe/spectrum-wc-icons/dist/Revert.js
8509
8509
  function e66() {
8510
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M18.649 9.974a.75.75 0 0 0-.443-.683L4.058 2.933a.75.75 0 0 0-1.043.834l1.272 6.241-1.222 6.23a.75.75 0 0 0 1.046.828l14.098-6.408a.75.75 0 0 0 .44-.684m-4.243-.747-8.742.027L4.777 4.9zm-9.589 5.87.852-4.344 8.763-.027z"/></svg>';
8510
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M18 15.5H3A.75.75 0 0 1 3 14h15a.75.75 0 0 1 0 1.5M11 3.25c-3.777 0-6.926 2.816-7.609 6.528l-.858-1.44a.75.75 0 0 0-1.288.769l1.795 3.012a.75.75 0 0 0 1.046.249l2.92-1.853a.75.75 0 0 0-.804-1.266l-1.344.852C5.392 7.061 7.94 4.75 11 4.75c3.446 0 6.25 2.931 6.25 6.534a.75.75 0 0 0 1.5 0c0-4.43-3.477-8.034-7.75-8.034"/></svg>';
8511
8511
  }
8512
8512
 
8513
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-send.js
8513
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-revert.js
8514
8514
  var o37 = class extends a10 {
8515
8515
  static get styles() {
8516
8516
  return [t40];
@@ -8521,14 +8521,14 @@ var o37 = class extends a10 {
8521
8521
  `;
8522
8522
  }
8523
8523
  };
8524
- e25("swc-icon-send", o37);
8524
+ e25("swc-icon-revert", o37);
8525
8525
 
8526
- // node_modules/@adobe/spectrum-wc-icons/dist/UserGroup.js
8526
+ // node_modules/@adobe/spectrum-wc-icons/dist/Send.js
8527
8527
  function e67() {
8528
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M12.253 11.95c-2.276 0-4.128-1.947-4.128-4.34s1.852-4.339 4.128-4.339 4.128 1.947 4.128 4.34-1.852 4.338-4.128 4.338m0-7.179c-1.45 0-2.628 1.274-2.628 2.84s1.179 2.838 2.628 2.838S14.88 9.176 14.88 7.61s-1.179-2.839-2.628-2.839M6.877 17.612c.215-1.992 2.576-3.552 5.376-3.552 2.823 0 5.184 1.556 5.376 3.544.04.414.416.727.818.674a.75.75 0 0 0 .674-.818c-.264-2.748-3.281-4.9-6.868-4.9-3.614 0-6.566 2.103-6.868 4.892a.751.751 0 0 0 1.492.16m.24-7.893a.75.75 0 0 0-.377-.992c-.985-.443-1.62-1.472-1.62-2.623 0-1.565 1.178-2.838 2.627-2.838q.228 0 .446.04a.75.75 0 1 0 .273-1.475 4 4 0 0 0-.719-.065c-2.276 0-4.128 1.946-4.128 4.338 0 1.74.984 3.307 2.506 3.992a.75.75 0 0 0 .992-.377m-4.746 6.388c.205-1.902 2.37-3.426 5.032-3.545a.75.75 0 0 0-.032-1.5l-.034.001c-3.453.155-6.168 2.208-6.458 4.882a.75.75 0 0 0 .747.831.75.75 0 0 0 .745-.669"/></svg>';
8528
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M18.649 9.974a.75.75 0 0 0-.443-.683L4.058 2.933a.75.75 0 0 0-1.043.834l1.272 6.241-1.222 6.23a.75.75 0 0 0 1.046.828l14.098-6.408a.75.75 0 0 0 .44-.684m-4.243-.747-8.742.027L4.777 4.9zm-9.589 5.87.852-4.344 8.763-.027z"/></svg>';
8529
8529
  }
8530
8530
 
8531
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-user-group.js
8531
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-send.js
8532
8532
  var o38 = class extends a10 {
8533
8533
  static get styles() {
8534
8534
  return [t40];
@@ -8539,14 +8539,14 @@ var o38 = class extends a10 {
8539
8539
  `;
8540
8540
  }
8541
8541
  };
8542
- e25("swc-icon-user-group", o38);
8542
+ e25("swc-icon-send", o38);
8543
8543
 
8544
- // node_modules/@adobe/spectrum-wc-icons/dist/Settings.js
8544
+ // node_modules/@adobe/spectrum-wc-icons/dist/UserGroup.js
8545
8545
  function e68() {
8546
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M10.004 12.589c-.888 0-1.753-.46-2.228-1.283a2.57 2.57 0 0 1 .94-3.51 2.55 2.55 0 0 1 1.949-.256 2.55 2.55 0 0 1 1.56 1.197 2.55 2.55 0 0 1 .256 1.949 2.55 2.55 0 0 1-1.197 1.56 2.55 2.55 0 0 1-1.28.343m-.93-2.033c.295.508.949.683 1.46.39.247-.142.424-.373.498-.648s.036-.564-.107-.81a1.07 1.07 0 0 0-1.85 1.068"/><path fill="var(--swc-icon-color, currentColor)" d="M6.907 18.318c-.34 0-.682-.085-.992-.264l-.82-.473a2.01 2.01 0 0 1-.811-2.583l.58-1.233a6.3 6.3 0 0 1-.672-1.161l-1.357-.113A2.01 2.01 0 0 1 1 10.5v-.946A2.01 2.01 0 0 1 2.833 7.56l1.354-.115q.138-.313.302-.6a6 6 0 0 1 .37-.564l-.581-1.23a2.01 2.01 0 0 1 .807-2.584l.82-.474a2.01 2.01 0 0 1 2.643.59l.777 1.118q.667-.074 1.341 0l.775-1.119a2.01 2.01 0 0 1 2.644-.594l.82.473a2.01 2.01 0 0 1 .81 2.584l-.58 1.232q.399.548.672 1.161l1.357.113a2.01 2.01 0 0 1 1.835 1.991v.947a2.01 2.01 0 0 1-1.832 1.994l-1.355.115a6.2 6.2 0 0 1-.67 1.163l.58 1.23c.44.93.086 2.067-.807 2.584l-.82.475a2.01 2.01 0 0 1-2.643-.591l-.778-1.118a6.3 6.3 0 0 1-1.34 0l-.777 1.12a2 2 0 0 1-1.65.857M6.904 3.225a.5.5 0 0 0-.248.066l-.82.475a.5.5 0 0 0-.202.645l.78 1.65a.75.75 0 0 1-.108.807c-.204.24-.373.477-.517.726a5 5 0 0 0-.368.81.75.75 0 0 1-.644.496l-1.819.154a.5.5 0 0 0-.458.499v.946c0 .258.202.477.459.498l1.82.15a.75.75 0 0 1 .644.498c.2.56.497 1.076.887 1.532a.75.75 0 0 1 .109.806l-.778 1.653a.5.5 0 0 0 .203.645l.82.474c.224.13.514.063.66-.148l1.041-1.502a.74.74 0 0 1 .753-.31 4.9 4.9 0 0 0 1.77 0 .75.75 0 0 1 .753.31l1.042 1.499c.147.21.439.276.66.147l.821-.474a.497.497 0 0 0 .201-.646l-.779-1.65a.75.75 0 0 1 .108-.807 5 5 0 0 0 .515-.725h.001c.143-.248.263-.512.369-.81a.75.75 0 0 1 .644-.497l1.819-.153a.504.504 0 0 0 .458-.499l-.001-.947a.5.5 0 0 0-.459-.498l-1.819-.15a.75.75 0 0 1-.645-.498 4.8 4.8 0 0 0-.887-1.532.75.75 0 0 1-.108-.806l.777-1.653a.503.503 0 0 0-.203-.646l-.82-.473a.507.507 0 0 0-.66.15l-1.04 1.5a.74.74 0 0 1-.753.31 4.8 4.8 0 0 0-1.77 0 .75.75 0 0 1-.754-.31L7.316 3.439a.5.5 0 0 0-.412-.213"/></svg>';
8546
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M12.253 11.95c-2.276 0-4.128-1.947-4.128-4.34s1.852-4.339 4.128-4.339 4.128 1.947 4.128 4.34-1.852 4.338-4.128 4.338m0-7.179c-1.45 0-2.628 1.274-2.628 2.84s1.179 2.838 2.628 2.838S14.88 9.176 14.88 7.61s-1.179-2.839-2.628-2.839M6.877 17.612c.215-1.992 2.576-3.552 5.376-3.552 2.823 0 5.184 1.556 5.376 3.544.04.414.416.727.818.674a.75.75 0 0 0 .674-.818c-.264-2.748-3.281-4.9-6.868-4.9-3.614 0-6.566 2.103-6.868 4.892a.751.751 0 0 0 1.492.16m.24-7.893a.75.75 0 0 0-.377-.992c-.985-.443-1.62-1.472-1.62-2.623 0-1.565 1.178-2.838 2.627-2.838q.228 0 .446.04a.75.75 0 1 0 .273-1.475 4 4 0 0 0-.719-.065c-2.276 0-4.128 1.946-4.128 4.338 0 1.74.984 3.307 2.506 3.992a.75.75 0 0 0 .992-.377m-4.746 6.388c.205-1.902 2.37-3.426 5.032-3.545a.75.75 0 0 0-.032-1.5l-.034.001c-3.453.155-6.168 2.208-6.458 4.882a.75.75 0 0 0 .747.831.75.75 0 0 0 .745-.669"/></svg>';
8547
8547
  }
8548
8548
 
8549
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-settings.js
8549
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-user-group.js
8550
8550
  var o39 = class extends a10 {
8551
8551
  static get styles() {
8552
8552
  return [t40];
@@ -8557,14 +8557,14 @@ var o39 = class extends a10 {
8557
8557
  `;
8558
8558
  }
8559
8559
  };
8560
- e25("swc-icon-settings", o39);
8560
+ e25("swc-icon-user-group", o39);
8561
8561
 
8562
- // node_modules/@adobe/spectrum-wc-icons/dist/ViewGrid.js
8562
+ // node_modules/@adobe/spectrum-wc-icons/dist/Settings.js
8563
8563
  function e69() {
8564
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M6.75 18h-2.5C3.01 18 2 16.99 2 15.75v-2.5C2 12.01 3.01 11 4.25 11h2.5C7.99 11 9 12.01 9 13.25v2.5C9 16.99 7.99 18 6.75 18m-2.5-5.5a.75.75 0 0 0-.75.75v2.5c0 .413.337.75.75.75h2.5c.413 0 .75-.337.75-.75v-2.5a.75.75 0 0 0-.75-.75zM6.75 9h-2.5C3.01 9 2 7.99 2 6.75v-2.5C2 3.01 3.01 2 4.25 2h2.5C7.99 2 9 3.01 9 4.25v2.5C9 7.99 7.99 9 6.75 9m-2.5-5.5a.75.75 0 0 0-.75.75v2.5c0 .413.337.75.75.75h2.5c.413 0 .75-.337.75-.75v-2.5a.75.75 0 0 0-.75-.75zM15.75 18h-2.5C12.01 18 11 16.99 11 15.75v-2.5c0-1.24 1.01-2.25 2.25-2.25h2.5c1.24 0 2.25 1.01 2.25 2.25v2.5c0 1.24-1.01 2.25-2.25 2.25m-2.5-5.5a.75.75 0 0 0-.75.75v2.5c0 .413.337.75.75.75h2.5c.413 0 .75-.337.75-.75v-2.5a.75.75 0 0 0-.75-.75zm2.5-3.5h-2.5C12.01 9 11 7.99 11 6.75v-2.5C11 3.01 12.01 2 13.25 2h2.5C16.99 2 18 3.01 18 4.25v2.5C18 7.99 16.99 9 15.75 9m-2.5-5.5a.75.75 0 0 0-.75.75v2.5c0 .413.337.75.75.75h2.5c.413 0 .75-.337.75-.75v-2.5a.75.75 0 0 0-.75-.75z"/></svg>';
8564
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M10.004 12.589c-.888 0-1.753-.46-2.228-1.283a2.57 2.57 0 0 1 .94-3.51 2.55 2.55 0 0 1 1.949-.256 2.55 2.55 0 0 1 1.56 1.197 2.55 2.55 0 0 1 .256 1.949 2.55 2.55 0 0 1-1.197 1.56 2.55 2.55 0 0 1-1.28.343m-.93-2.033c.295.508.949.683 1.46.39.247-.142.424-.373.498-.648s.036-.564-.107-.81a1.07 1.07 0 0 0-1.85 1.068"/><path fill="var(--swc-icon-color, currentColor)" d="M6.907 18.318c-.34 0-.682-.085-.992-.264l-.82-.473a2.01 2.01 0 0 1-.811-2.583l.58-1.233a6.3 6.3 0 0 1-.672-1.161l-1.357-.113A2.01 2.01 0 0 1 1 10.5v-.946A2.01 2.01 0 0 1 2.833 7.56l1.354-.115q.138-.313.302-.6a6 6 0 0 1 .37-.564l-.581-1.23a2.01 2.01 0 0 1 .807-2.584l.82-.474a2.01 2.01 0 0 1 2.643.59l.777 1.118q.667-.074 1.341 0l.775-1.119a2.01 2.01 0 0 1 2.644-.594l.82.473a2.01 2.01 0 0 1 .81 2.584l-.58 1.232q.399.548.672 1.161l1.357.113a2.01 2.01 0 0 1 1.835 1.991v.947a2.01 2.01 0 0 1-1.832 1.994l-1.355.115a6.2 6.2 0 0 1-.67 1.163l.58 1.23c.44.93.086 2.067-.807 2.584l-.82.475a2.01 2.01 0 0 1-2.643-.591l-.778-1.118a6.3 6.3 0 0 1-1.34 0l-.777 1.12a2 2 0 0 1-1.65.857M6.904 3.225a.5.5 0 0 0-.248.066l-.82.475a.5.5 0 0 0-.202.645l.78 1.65a.75.75 0 0 1-.108.807c-.204.24-.373.477-.517.726a5 5 0 0 0-.368.81.75.75 0 0 1-.644.496l-1.819.154a.5.5 0 0 0-.458.499v.946c0 .258.202.477.459.498l1.82.15a.75.75 0 0 1 .644.498c.2.56.497 1.076.887 1.532a.75.75 0 0 1 .109.806l-.778 1.653a.5.5 0 0 0 .203.645l.82.474c.224.13.514.063.66-.148l1.041-1.502a.74.74 0 0 1 .753-.31 4.9 4.9 0 0 0 1.77 0 .75.75 0 0 1 .753.31l1.042 1.499c.147.21.439.276.66.147l.821-.474a.497.497 0 0 0 .201-.646l-.779-1.65a.75.75 0 0 1 .108-.807 5 5 0 0 0 .515-.725h.001c.143-.248.263-.512.369-.81a.75.75 0 0 1 .644-.497l1.819-.153a.504.504 0 0 0 .458-.499l-.001-.947a.5.5 0 0 0-.459-.498l-1.819-.15a.75.75 0 0 1-.645-.498 4.8 4.8 0 0 0-.887-1.532.75.75 0 0 1-.108-.806l.777-1.653a.503.503 0 0 0-.203-.646l-.82-.473a.507.507 0 0 0-.66.15l-1.04 1.5a.74.74 0 0 1-.753.31 4.8 4.8 0 0 0-1.77 0 .75.75 0 0 1-.754-.31L7.316 3.439a.5.5 0 0 0-.412-.213"/></svg>';
8565
8565
  }
8566
8566
 
8567
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-view-grid.js
8567
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-settings.js
8568
8568
  var o40 = class extends a10 {
8569
8569
  static get styles() {
8570
8570
  return [t40];
@@ -8575,14 +8575,14 @@ var o40 = class extends a10 {
8575
8575
  `;
8576
8576
  }
8577
8577
  };
8578
- e25("swc-icon-view-grid", o40);
8578
+ e25("swc-icon-settings", o40);
8579
8579
 
8580
- // node_modules/@adobe/spectrum-wc-icons/dist/Close.js
8580
+ // node_modules/@adobe/spectrum-wc-icons/dist/ViewGrid.js
8581
8581
  function e70() {
8582
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="m11.06 10 5.207-5.206a.75.75 0 1 0-1.06-1.06L10 8.938 4.793 3.733a.75.75 0 1 0-1.06 1.06L8.939 10l-5.206 5.206a.75.75 0 1 0 1.06 1.06L10 11.062l5.207 5.206a.75.75 0 0 0 1.06 0 .75.75 0 0 0 0-1.06z"/></svg>';
8582
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M6.75 18h-2.5C3.01 18 2 16.99 2 15.75v-2.5C2 12.01 3.01 11 4.25 11h2.5C7.99 11 9 12.01 9 13.25v2.5C9 16.99 7.99 18 6.75 18m-2.5-5.5a.75.75 0 0 0-.75.75v2.5c0 .413.337.75.75.75h2.5c.413 0 .75-.337.75-.75v-2.5a.75.75 0 0 0-.75-.75zM6.75 9h-2.5C3.01 9 2 7.99 2 6.75v-2.5C2 3.01 3.01 2 4.25 2h2.5C7.99 2 9 3.01 9 4.25v2.5C9 7.99 7.99 9 6.75 9m-2.5-5.5a.75.75 0 0 0-.75.75v2.5c0 .413.337.75.75.75h2.5c.413 0 .75-.337.75-.75v-2.5a.75.75 0 0 0-.75-.75zM15.75 18h-2.5C12.01 18 11 16.99 11 15.75v-2.5c0-1.24 1.01-2.25 2.25-2.25h2.5c1.24 0 2.25 1.01 2.25 2.25v2.5c0 1.24-1.01 2.25-2.25 2.25m-2.5-5.5a.75.75 0 0 0-.75.75v2.5c0 .413.337.75.75.75h2.5c.413 0 .75-.337.75-.75v-2.5a.75.75 0 0 0-.75-.75zm2.5-3.5h-2.5C12.01 9 11 7.99 11 6.75v-2.5C11 3.01 12.01 2 13.25 2h2.5C16.99 2 18 3.01 18 4.25v2.5C18 7.99 16.99 9 15.75 9m-2.5-5.5a.75.75 0 0 0-.75.75v2.5c0 .413.337.75.75.75h2.5c.413 0 .75-.337.75-.75v-2.5a.75.75 0 0 0-.75-.75z"/></svg>';
8583
8583
  }
8584
8584
 
8585
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-close.js
8585
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-view-grid.js
8586
8586
  var o41 = class extends a10 {
8587
8587
  static get styles() {
8588
8588
  return [t40];
@@ -8593,7 +8593,25 @@ var o41 = class extends a10 {
8593
8593
  `;
8594
8594
  }
8595
8595
  };
8596
- e25("swc-icon-close", o41);
8596
+ e25("swc-icon-view-grid", o41);
8597
+
8598
+ // node_modules/@adobe/spectrum-wc-icons/dist/Close.js
8599
+ function e71() {
8600
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="m11.06 10 5.207-5.206a.75.75 0 1 0-1.06-1.06L10 8.938 4.793 3.733a.75.75 0 1 0-1.06 1.06L8.939 10l-5.206 5.206a.75.75 0 1 0 1.06 1.06L10 11.062l5.207 5.206a.75.75 0 0 0 1.06 0 .75.75 0 0 0 0-1.06z"/></svg>';
8601
+ }
8602
+
8603
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-close.js
8604
+ var o42 = class extends a10 {
8605
+ static get styles() {
8606
+ return [t40];
8607
+ }
8608
+ render() {
8609
+ return b`
8610
+ <span class="swc-Icon">${o16(e71())}</span>
8611
+ `;
8612
+ }
8613
+ };
8614
+ e25("swc-icon-close", o42);
8597
8615
 
8598
8616
  // src/app/base.ts
8599
8617
  var ModelElement = class extends i2 {
@@ -8837,10 +8855,10 @@ var s8 = class {
8837
8855
  };
8838
8856
 
8839
8857
  // node_modules/@spectrum-web-components/button-group/src/button-group.css.js
8840
- var o42 = i`
8858
+ var o43 = i`
8841
8859
  :host{--spectrum-buttongroup-spacing:var(--mod-buttongroup-spacing,var(--mod-buttongroup-spacing-horizontal,var(--spectrum-spacing-300)));--spectrum-buttongroup-display:flex;--spectrum-buttongroup-flex-direction:row;--spectrum-buttongroup-justify-content:var(--mod-buttongroup-justify-content,normal)}:host([size=s]){--spectrum-buttongroup-spacing:var(--mod-buttongroup-spacing,var(--mod-buttongroup-spacing-horizontal,var(--spectrum-spacing-200)))}:host([vertical]){--mod-buttongroup-spacing:var(--mod-buttongroup-spacing-vertical);--spectrum-buttongroup-display:inline-flex;--spectrum-buttongroup-flex-direction:column}:host{display:var(--spectrum-buttongroup-display);flex-direction:var(--spectrum-buttongroup-flex-direction);gap:var(--spectrum-buttongroup-spacing);justify-content:var(--spectrum-buttongroup-justify-content);flex-wrap:wrap}::slotted(*){flex-shrink:0}:host([vertical]) ::slotted(sp-action-button){--spectrum-actionbutton-label-flex-grow:1;--spectrum-actionbutton-label-text-align:left}:host([vertical]:dir(rtl)) ::slotted(sp-action-button){--spectrum-actionbutton-label-text-align:right}
8842
8860
  `;
8843
- var button_group_css_default = o42;
8861
+ var button_group_css_default = o43;
8844
8862
 
8845
8863
  // node_modules/@spectrum-web-components/button-group/src/ButtonGroup.js
8846
8864
  var a11 = Object.defineProperty;
@@ -8946,20 +8964,20 @@ function h5(a22, r38) {
8946
8964
  }
8947
8965
  }), t86;
8948
8966
  }
8949
- var o43 = class o44 extends FocusVisiblePolyfillMixin(SpectrumElement) {
8967
+ var o44 = class o45 extends FocusVisiblePolyfillMixin(SpectrumElement) {
8950
8968
  constructor() {
8951
8969
  super(...arguments);
8952
8970
  this.resizeController = new s8(this, { callback: () => {
8953
8971
  this.shouldManageTabOrderForScrolling();
8954
8972
  } });
8955
8973
  this._variant = "";
8956
- this.labelledbyId = `sp-dialog-label-${o44.instanceCount++}`;
8974
+ this.labelledbyId = `sp-dialog-label-${o45.instanceCount++}`;
8957
8975
  this.shouldManageTabOrderForScrolling = () => {
8958
8976
  if (!this.contentElement) return;
8959
8977
  const { offsetHeight: e105, scrollHeight: t86 } = this.contentElement;
8960
8978
  e105 < t86 ? this.contentElement.tabIndex = 0 : this.contentElement.removeAttribute("tabindex");
8961
8979
  };
8962
- this.describedbyId = `sp-dialog-description-${o44.instanceCount++}`;
8980
+ this.describedbyId = `sp-dialog-description-${o45.instanceCount++}`;
8963
8981
  }
8964
8982
  static get styles() {
8965
8983
  return [alert_dialog_css_default];
@@ -9032,17 +9050,17 @@ var o43 = class o44 extends FocusVisiblePolyfillMixin(SpectrumElement) {
9032
9050
  `;
9033
9051
  }
9034
9052
  };
9035
- o43.instanceCount = 0, l13([e(".content")], o43.prototype, "contentElement", 2), l13([n({ type: String, reflect: true })], o43.prototype, "variant", 1);
9036
- var AlertDialog = o43;
9053
+ o44.instanceCount = 0, l13([e(".content")], o44.prototype, "contentElement", 2), l13([n({ type: String, reflect: true })], o44.prototype, "variant", 1);
9054
+ var AlertDialog = o44;
9037
9055
 
9038
9056
  // node_modules/@spectrum-web-components/alert-dialog/sp-alert-dialog.js
9039
9057
  defineElement("sp-alert-dialog", AlertDialog);
9040
9058
 
9041
9059
  // node_modules/@spectrum-web-components/icon/src/spectrum-icon-asterisk.css.js
9042
- var e71 = i`
9060
+ var e72 = i`
9043
9061
  .spectrum-UIIcon-Asterisk75{--spectrum-icon-size:var(--spectrum-asterisk-icon-size-75)}.spectrum-UIIcon-Asterisk100{--spectrum-icon-size:var(--spectrum-asterisk-icon-size-100)}.spectrum-UIIcon-Asterisk200{--spectrum-icon-size:var(--spectrum-asterisk-icon-size-200)}.spectrum-UIIcon-Asterisk300{--spectrum-icon-size:var(--spectrum-asterisk-icon-size-300)}
9044
9062
  `;
9045
- var spectrum_icon_asterisk_css_default = e71;
9063
+ var spectrum_icon_asterisk_css_default = e72;
9046
9064
 
9047
9065
  // node_modules/@spectrum-web-components/icons-ui/src/icons-s2/Asterisk100.js
9048
9066
  var Asterisk100Icon = ({ width: l24 = 24, height: t86 = 24, hidden: e105 = false, title: r38 = "Asterisk100" } = {}) => tag`<svg
@@ -9095,7 +9113,7 @@ var field_label_css_default = t44;
9095
9113
  // node_modules/@spectrum-web-components/field-label/src/FieldLabel.js
9096
9114
  var c15 = Object.defineProperty;
9097
9115
  var d12 = Object.getOwnPropertyDescriptor;
9098
- var o45 = (n36, l24, e105, i25) => {
9116
+ var o46 = (n36, l24, e105, i25) => {
9099
9117
  for (var t86 = i25 > 1 ? void 0 : i25 ? d12(l24, e105) : l24, s19 = n36.length - 1, r38; s19 >= 0; s19--) (r38 = n36[s19]) && (t86 = (i25 ? r38(l24, e105, t86) : r38(t86)) || t86);
9100
9118
  return i25 && t86 && c15(l24, e105, t86), t86;
9101
9119
  };
@@ -9155,16 +9173,16 @@ var FieldLabel = class extends SizedMixin(SpectrumElement, { noDefaultSize: true
9155
9173
  this.hasAttribute("id") || this.setAttribute("id", `${this.tagName.toLowerCase()}-${randomID()}`), e105.has("for") && (this.resolvedElement.selector = this.for ? `#${this.for}` : ""), (e105.has("id") || e105.has(elementResolverUpdatedSymbol)) && this.manageTarget();
9156
9174
  }
9157
9175
  };
9158
- o45([n({ type: Boolean, reflect: true })], FieldLabel.prototype, "disabled", 2), o45([n({ type: String })], FieldLabel.prototype, "id", 2), o45([n({ type: String })], FieldLabel.prototype, "for", 2), o45([n({ type: Boolean, reflect: true })], FieldLabel.prototype, "required", 2), o45([e("slot")], FieldLabel.prototype, "slotEl", 2), o45([n({ type: String, reflect: true, attribute: "side-aligned" })], FieldLabel.prototype, "sideAligned", 2);
9176
+ o46([n({ type: Boolean, reflect: true })], FieldLabel.prototype, "disabled", 2), o46([n({ type: String })], FieldLabel.prototype, "id", 2), o46([n({ type: String })], FieldLabel.prototype, "for", 2), o46([n({ type: Boolean, reflect: true })], FieldLabel.prototype, "required", 2), o46([e("slot")], FieldLabel.prototype, "slotEl", 2), o46([n({ type: String, reflect: true, attribute: "side-aligned" })], FieldLabel.prototype, "sideAligned", 2);
9159
9177
 
9160
9178
  // node_modules/@spectrum-web-components/field-label/sp-field-label.js
9161
9179
  defineElement("sp-field-label", FieldLabel);
9162
9180
 
9163
9181
  // node_modules/@spectrum-web-components/help-text/src/help-text.css.js
9164
- var e72 = i`
9182
+ var e73 = i`
9165
9183
  @media (forced-colors:active){:host{--highcontrast-helptext-content-color-default:CanvasText;--highcontrast-helptext-icon-color-default:CanvasText}:host,.text,.icon{forced-color-adjust:none}}:host{--spectrum-helptext-content-color-default:var(--spectrum-neutral-subdued-content-color-default);--spectrum-helptext-icon-color-default:var(--spectrum-neutral-subdued-content-color-default);min-block-size:var(--mod-helptext-min-height,var(--spectrum-helptext-min-height));font-size:var(--mod-helptext-font-size,var(--spectrum-helptext-font-size));color:var(--highcontrast-helptext-content-color-default,var(--mod-helptext-content-color-default,var(--spectrum-helptext-content-color-default)));display:flex}:host([size=s]){--spectrum-helptext-min-height:var(--spectrum-component-height-75);--spectrum-helptext-icon-size:var(--spectrum-workflow-icon-size-75);--spectrum-helptext-font-size:var(--spectrum-font-size-75);--spectrum-helptext-text-to-visual:var(--spectrum-text-to-visual-75);--spectrum-helptext-top-to-workflow-icon:var(--spectrum-help-text-top-to-workflow-icon-small);--spectrum-helptext-bottom-to-workflow-icon:var(--spectrum-helptext-top-to-workflow-icon)}:host,:host{--spectrum-helptext-min-height:var(--spectrum-component-height-75);--spectrum-helptext-icon-size:var(--spectrum-workflow-icon-size-100);--spectrum-helptext-font-size:var(--spectrum-font-size-75);--spectrum-helptext-text-to-visual:var(--spectrum-text-to-visual-75);--spectrum-helptext-top-to-workflow-icon:var(--spectrum-help-text-top-to-workflow-icon-medium);--spectrum-helptext-bottom-to-workflow-icon:var(--spectrum-helptext-top-to-workflow-icon)}:host([size=l]){--spectrum-helptext-min-height:var(--spectrum-component-height-100);--spectrum-helptext-icon-size:var(--spectrum-workflow-icon-size-200);--spectrum-helptext-font-size:var(--spectrum-font-size-100);--spectrum-helptext-text-to-visual:var(--spectrum-text-to-visual-100);--spectrum-helptext-top-to-workflow-icon:var(--spectrum-help-text-top-to-workflow-icon-large);--spectrum-helptext-bottom-to-workflow-icon:var(--spectrum-helptext-top-to-workflow-icon)}:host([size=xl]){--spectrum-helptext-min-height:var(--spectrum-component-height-200);--spectrum-helptext-icon-size:var(--spectrum-workflow-icon-size-300);--spectrum-helptext-font-size:var(--spectrum-font-size-200);--spectrum-helptext-text-to-visual:var(--spectrum-text-to-visual-200);--spectrum-helptext-top-to-workflow-icon:var(--spectrum-help-text-top-to-workflow-icon-extra-large);--spectrum-helptext-bottom-to-workflow-icon:var(--spectrum-helptext-top-to-workflow-icon)}:host([variant=neutral]){--spectrum-helptext-content-color-default:var(--spectrum-neutral-subdued-content-color-default);--spectrum-helptext-icon-color-default:var(--spectrum-neutral-subdued-content-color-default)}:host([variant=negative]){--spectrum-helptext-content-color-default:var(--spectrum-negative-color-900);--spectrum-helptext-icon-color-default:var(--spectrum-negative-color-900)}:host([disabled]){--spectrum-helptext-content-color-default:var(--spectrum-disabled-content-color);--spectrum-helptext-icon-color-default:var(--spectrum-disabled-content-color)}:host(:lang(ja)),:host(:lang(ko)),:host(:lang(zh)){--mod-helptext-line-height:var(--mod-helptext-line-height-cjk,var(--spectrum-cjk-line-height-100))}.icon{inline-size:var(--mod-helptext-icon-size,var(--spectrum-helptext-icon-size));block-size:var(--mod-helptext-icon-size,var(--spectrum-helptext-icon-size));flex-shrink:0;margin-inline-end:var(--mod-helptext-text-to-visual,var(--spectrum-helptext-text-to-visual));padding-block-start:var(--mod-helptext-top-to-workflow-icon,var(--spectrum-helptext-top-to-workflow-icon));padding-block-end:var(--mod-helptext-bottom-to-workflow-icon,var(--spectrum-helptext-bottom-to-workflow-icon))}.text{line-height:var(--mod-helptext-line-height,var(--spectrum-line-height-100));padding-block-start:var(--mod-helptext-top-to-text,var(--spectrum-helptext-top-to-text));padding-block-end:var(--mod-helptext-bottom-to-text,var(--spectrum-helptext-bottom-to-text))}:host([variant=neutral]) .text{color:var(--highcontrast-helptext-content-color-default,var(--mod-helptext-content-color-default,var(--spectrum-helptext-content-color-default)))}:host([variant=neutral]) .icon{color:var(--highcontrast-helptext-icon-color-default,var(--mod-helptext-icon-color-default,var(--spectrum-helptext-icon-color-default)))}:host([variant=negative]) .text{color:var(--highcontrast-helptext-content-color-default,var(--mod-helptext-content-color-default,var(--spectrum-helptext-content-color-default)))}:host([variant=negative]) .icon{color:var(--highcontrast-helptext-icon-color-default,var(--mod-helptext-icon-color-default,var(--spectrum-helptext-icon-color-default)))}:host([disabled]) .text{color:var(--highcontrast-helptext-content-color-default,var(--mod-helptext-content-color-default,var(--spectrum-helptext-content-color-default)))}:host([disabled]) .icon{color:var(--highcontrast-helptext-icon-color-default,var(--mod-helptext-icon-color-default,var(--spectrum-helptext-icon-color-default)))}:host{--spectrum-helptext-top-to-text:var(--system-helptext-top-to-text);--spectrum-helptext-bottom-to-text:var(--system-helptext-bottom-to-text)}:host([size=s]){--spectrum-helptext-top-to-text:var(--system-helptext-top-to-text-small);--spectrum-helptext-bottom-to-text:var(--system-helptext-bottom-to-text-small)}:host([size=l]){--spectrum-helptext-top-to-text:var(--system-helptext-top-to-text-large);--spectrum-helptext-bottom-to-text:var(--system-helptext-bottom-to-text-large)}:host([size=xl]){--spectrum-helptext-top-to-text:var(--system-helptext-top-to-text-extra-large);--spectrum-helptext-bottom-to-text:var(--system-helptext-bottom-to-text-extra-large)}
9166
9184
  `;
9167
- var help_text_css_default = e72;
9185
+ var help_text_css_default = e73;
9168
9186
 
9169
9187
  // node_modules/@spectrum-web-components/help-text/src/HelpText.js
9170
9188
  var c16 = Object.defineProperty;
@@ -9439,1167 +9457,1293 @@ function prompt(options) {
9439
9457
  return element2.result;
9440
9458
  }
9441
9459
 
9442
- // src/app/agents.ts
9443
- function ordered(agents) {
9444
- const cones = agents.filter((agent) => agent.kind === "cone");
9445
- return cones.flatMap((cone) => [cone, ...agents.filter((agent) => agent.parentId === cone.id)]);
9460
+ // node_modules/@adobe/spectrum-wc-icons/dist/AlertDiamond.js
9461
+ function e74() {
9462
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M10 18.795a2.24 2.24 0 0 1-1.591-.66l-6.545-6.544a2.254 2.254 0 0 1 0-3.182l6.545-6.545c.849-.85 2.333-.85 3.182 0l6.545 6.545a2.254 2.254 0 0 1 0 3.182l-6.545 6.545c-.425.425-.99.659-1.591.659m0-16.09c-.2 0-.389.078-.53.22L2.925 9.47a.75.75 0 0 0 0 1.06l6.545 6.545a.77.77 0 0 0 1.06 0l6.545-6.545a.75.75 0 0 0 0-1.06L10.53 2.925a.75.75 0 0 0-.53-.22"/><path fill="var(--swc-icon-color, currentColor)" d="M10 14.998a.9.9 0 0 1-.627-.228.956.956 0 0 1 0-1.285.87.87 0 0 1 .626-.234c.237-.01.466.08.633.247a.86.86 0 0 1 .242.627.88.88 0 0 1-.228.639.86.86 0 0 1-.647.234M10 11.625a.75.75 0 0 1-.75-.75v-5a.75.75 0 0 1 1.5 0v5a.75.75 0 0 1-.75.75"/></svg>';
9446
9463
  }
9447
- var SliccAgents = class extends ModelElement {
9448
- static properties = { ...ModelElement.properties, errors: { state: true } };
9449
- constructor() {
9450
- super();
9451
- this.errors = {};
9464
+
9465
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-alert-diamond.js
9466
+ var o47 = class extends a10 {
9467
+ static get styles() {
9468
+ return [t40];
9452
9469
  }
9453
- static styles = [
9454
- shared,
9455
- i`
9456
- :host {
9457
- display: block;
9458
- height: 100%;
9459
- overflow-y: auto;
9460
- background: var(--swc-background-layer-1-color);
9461
- color: var(--swc-neutral-content-color-default);
9462
- font-size: var(--swc-font-size-100);
9463
- }
9464
- ul {
9465
- list-style: none;
9466
- margin: 0;
9467
- padding: var(--swc-spacing-75) 0;
9468
- }
9469
- li {
9470
- display: grid;
9471
- grid-template-columns: minmax(0, 1fr) auto auto auto;
9472
- grid-template-areas: 'name unread fill drop' 'status unread fill drop' 'error error error error';
9473
- align-items: center;
9474
- column-gap: var(--swc-spacing-100);
9475
- padding: var(--swc-spacing-75) var(--swc-spacing-200);
9476
- cursor: pointer;
9477
- }
9478
- li.scoop {
9479
- padding-inline-start: calc(var(--swc-spacing-200) + var(--swc-spacing-300));
9480
- }
9481
- li:hover {
9482
- background: var(--swc-gray-100);
9483
- }
9484
- li[aria-selected='true'] {
9485
- background: var(--swc-gray-200);
9486
- box-shadow: inset var(--swc-spacing-50) 0 0 var(--swc-accent-visual-color);
9487
- }
9488
- li:focus-visible {
9489
- outline: var(--swc-focus-indicator-thickness) solid var(--swc-focus-indicator-color);
9490
- outline-offset: calc(-1 * var(--swc-focus-indicator-thickness));
9491
- }
9492
- .name {
9493
- grid-area: name;
9494
- overflow: hidden;
9495
- text-overflow: ellipsis;
9496
- white-space: nowrap;
9497
- }
9498
- .cone .name {
9499
- font-weight: var(--swc-bold-font-weight);
9500
- }
9501
- .unread {
9502
- --swc-badge-height: var(--swc-spacing-300);
9503
- --swc-badge-padding-block: var(--swc-spacing-50);
9504
- --swc-badge-padding-inline: var(--swc-spacing-75);
9505
- --swc-badge-corner-radius: var(--swc-spacing-100);
9506
- --swc-badge-line-height: 1;
9507
- grid-area: unread;
9508
- align-self: center;
9509
- }
9510
- .fill {
9511
- grid-area: fill;
9512
- font-size: var(--swc-font-size-75);
9513
- font-variant-numeric: tabular-nums;
9514
- color: var(--swc-neutral-subdued-content-color-default);
9515
- min-width: 4ch;
9516
- text-align: end;
9517
- }
9518
- swc-status-light {
9519
- grid-area: status;
9520
- justify-self: start;
9521
- }
9522
- .drop {
9523
- grid-area: drop;
9524
- visibility: hidden;
9525
- }
9526
- li:hover .drop,
9527
- li:focus-within .drop {
9528
- visibility: visible;
9529
- }
9530
- .error {
9531
- grid-area: error;
9532
- margin-block-start: var(--swc-spacing-75);
9533
- color: var(--swc-negative-color-1100);
9534
- font-size: var(--swc-font-size-75);
9535
- }
9536
- .sr {
9537
- position: absolute;
9538
- inline-size: 1px;
9539
- block-size: 1px;
9540
- overflow: hidden;
9541
- clip-path: inset(50%);
9542
- white-space: nowrap;
9543
- }
9544
- @media (hover: none), (pointer: coarse) {
9545
- .drop {
9546
- visibility: visible;
9547
- }
9548
- }
9549
- `
9550
- ];
9551
- subscribe(model) {
9552
- return [
9553
- model.agent.on("agents", () => this.requestUpdate()),
9554
- model.agent.on("active", () => this.requestUpdate())
9555
- ];
9470
+ render() {
9471
+ return b`
9472
+ <span class="swc-Icon">${o16(e74())}</span>
9473
+ `;
9556
9474
  }
9557
- #select(id) {
9558
- this.model?.agent.select(id);
9475
+ };
9476
+ e25("swc-icon-alert-diamond", o47);
9477
+
9478
+ // node_modules/@adobe/spectrum-wc-icons/dist/FolderAdd.js
9479
+ function e75() {
9480
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M8.373 15.498H3.25a.75.75 0 0 1-.75-.75v-8.25h14.25a.75.75 0 0 1 .75.75V9.07a.75.75 0 0 0 1.5 0V7.248c0-1.24-1.01-2.25-2.25-2.25h-5.964a.75.75 0 0 1-.566-.258L8.515 2.773a2.25 2.25 0 0 0-1.7-.775H3.25C2.01 1.998 1 3.008 1 4.248v10.5c0 1.24 1.01 2.25 2.25 2.25h5.123a.75.75 0 0 0 0-1.5m-5.123-12h3.565a.75.75 0 0 1 .567.258l1.076 1.242H2.5v-.75a.75.75 0 0 1 .75-.75"/><path fill="var(--swc-icon-color, currentColor)" d="M15 10.498a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9m2.5 5.125h-1.875v1.875a.625.625 0 1 1-1.25 0v-1.875H12.5a.625.625 0 1 1 0-1.25h1.875v-1.875a.625.625 0 1 1 1.25 0v1.875H17.5a.625.625 0 1 1 0 1.25"/></svg>';
9481
+ }
9482
+
9483
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-folder-add.js
9484
+ var o48 = class extends a10 {
9485
+ static get styles() {
9486
+ return [t40];
9559
9487
  }
9560
- focus() {
9561
- this.focusOn('li[tabindex="0"]');
9488
+ render() {
9489
+ return b`
9490
+ <span class="swc-Icon">${o16(e75())}</span>
9491
+ `;
9562
9492
  }
9563
- #items() {
9564
- return [...this.renderRoot.querySelectorAll("li")];
9493
+ };
9494
+ e25("swc-icon-folder-add", o48);
9495
+
9496
+ // src/app/files.ts
9497
+ function relative(path) {
9498
+ return path.replace(/^\//, "");
9499
+ }
9500
+ function basename(path) {
9501
+ return path.slice(path.lastIndexOf("/") + 1);
9502
+ }
9503
+ function treePaths(entries) {
9504
+ return entries.map((entry) => relative(entry.path) + (entry.kind === "directory" ? "/" : ""));
9505
+ }
9506
+ function treeStatus(changes) {
9507
+ return changes.map((change) => ({ path: relative(change.path), status: change.status }));
9508
+ }
9509
+ function ancestors(paths) {
9510
+ const out = /* @__PURE__ */ new Set();
9511
+ for (const path of paths) {
9512
+ const parts2 = relative(path).split("/").slice(0, -1);
9513
+ for (let i25 = 1; i25 <= parts2.length; i25++) out.add(parts2.slice(0, i25).join("/"));
9565
9514
  }
9566
- #keydown(event2) {
9567
- const items = this.#items();
9568
- const index = items.indexOf(this.renderRoot.activeElement);
9569
- const moves = {
9570
- ArrowDown: index + 1,
9571
- ArrowUp: index - 1,
9572
- Home: 0,
9573
- End: items.length - 1
9574
- };
9575
- if (event2.key in moves) {
9576
- event2.preventDefault();
9577
- items[Math.max(0, Math.min(items.length - 1, moves[event2.key]))]?.focus();
9578
- } else if (event2.key === "Enter" || event2.key === " ") {
9579
- event2.preventDefault();
9580
- const id = items[index]?.dataset.id;
9581
- if (id) this.#select(id);
9582
- } else if (event2.key === "Delete") {
9583
- const agent = this.model?.agent.list().find((item2) => item2.id === items[index]?.dataset.id);
9584
- if (agent && this.#droppable(agent)) {
9585
- event2.preventDefault();
9586
- void this.#drop(agent, items[index]);
9587
- }
9588
- }
9515
+ return [...out];
9516
+ }
9517
+ function agentName(model, id) {
9518
+ if (!id) return "you";
9519
+ return model?.agent.list().find((agent) => agent.id === id)?.name ?? id;
9520
+ }
9521
+ function author(model, change) {
9522
+ return change.agentId === null && change.repo ? null : agentName(model, change.agentId);
9523
+ }
9524
+ function request(target, type, path) {
9525
+ target.dispatchEvent(new CustomEvent(type, { detail: { path }, bubbles: true, composed: true }));
9526
+ }
9527
+ var panelCss = i`
9528
+ :host {
9529
+ display: flex;
9530
+ flex-direction: column;
9531
+ height: 100%;
9532
+ min-height: 0;
9533
+ background: var(--swc-background-layer-2-color);
9534
+ color: var(--swc-neutral-content-color-default);
9535
+ font-family: var(--swc-sans-font-family-stack);
9536
+ font-size: var(--swc-font-size-75);
9589
9537
  }
9590
- #droppable(agent) {
9591
- return agent.kind === "scoop" && Boolean(this.model?.agent.drop);
9538
+ .bar {
9539
+ display: flex;
9540
+ align-items: center;
9541
+ gap: var(--swc-spacing-100);
9542
+ flex: none;
9543
+ min-height: var(--swc-component-height-100);
9544
+ padding: 0 var(--swc-spacing-100) 0 var(--swc-spacing-200);
9545
+ border-bottom: var(--swc-border-width-100) solid var(--swc-gray-200);
9546
+ background: var(--swc-background-layer-1-color);
9547
+ color: var(--swc-neutral-subdued-content-color-default);
9548
+ white-space: nowrap;
9549
+ overflow: hidden;
9592
9550
  }
9593
- async #drop(agent, trigger2) {
9594
- const port = this.model?.agent;
9595
- if (!port?.drop) return;
9596
- const ok = await confirm({
9597
- title: `Drop scoop ${agent.name}?`,
9598
- body: "It stops, and its working folder is deleted. Its conversation and reports are kept. You can\u2019t undo this.",
9599
- action: "Drop",
9600
- variant: "destructive",
9601
- trigger: trigger2
9602
- });
9603
- if (!ok) return;
9604
- const { [agent.id]: _9, ...rest } = this.errors;
9605
- this.errors = rest;
9606
- try {
9607
- await port.drop(agent.id);
9608
- } catch (error) {
9609
- const message = error instanceof Error ? error.message : String(error);
9610
- this.errors = { ...this.errors, [agent.id]: `Couldn\u2019t drop ${agent.name}: ${message}` };
9611
- return;
9612
- }
9613
- const current = port.active();
9614
- const stale = current === agent.id || !port.list().some((candidate) => candidate.id === current);
9615
- if (stale && agent.parentId) port.select(agent.parentId);
9616
- await this.updateComplete;
9617
- this.focus();
9551
+ .bar .path {
9552
+ font-family: var(--swc-code-font-family-stack);
9553
+ color: var(--swc-neutral-content-color-default);
9554
+ overflow: hidden;
9555
+ text-overflow: ellipsis;
9618
9556
  }
9619
- #dropButton(agent) {
9620
- if (!this.#droppable(agent)) return A;
9621
- const id = `drop-${agent.id}`;
9622
- const label = `Drop scoop ${agent.name}`;
9623
- return b`<swc-action-button
9624
- id=${id}
9625
- class="drop"
9626
- size="l"
9627
- quiet
9628
- tabindex="-1"
9629
- data-action="drop"
9630
- accessible-label=${label}
9631
- @click=${(event2) => {
9632
- event2.stopPropagation();
9633
- void this.#drop(agent, event2.currentTarget);
9634
- }}
9635
- ><swc-icon-close slot="icon"></swc-icon-close></swc-action-button
9636
- ><swc-tooltip for=${id} placement="start">${label}</swc-tooltip>`;
9557
+ .spacer {
9558
+ flex: 1;
9637
9559
  }
9638
- #row(agent, active) {
9639
- const selected = agent.id === active;
9640
- const error = this.errors[agent.id];
9641
- const label = `${agent.name}: ${statusLabel[agent.status]}, ${percent(agent.contextFill)} context${agent.unread ? `, ${agent.unread} unread` : ""}${error ? `. ${error}` : ""}`;
9642
- return b`<li
9643
- role="option"
9644
- class=${agent.kind}
9645
- data-id=${agent.id}
9646
- aria-selected=${selected ? "true" : "false"}
9647
- aria-label=${label}
9648
- tabindex=${selected ? "0" : "-1"}
9649
- aria-keyshortcuts=${this.#droppable(agent) ? "Delete" : A}
9650
- title=${label}
9651
- @click=${() => this.#select(agent.id)}
9652
- >
9653
- <span class="name">${agent.name}</span>
9654
- ${agent.unread ? b`<swc-badge class="unread" size="s" variant="accent">${agent.unread}</swc-badge>` : A}
9655
- <span class="fill">${percent(agent.contextFill)}</span>
9656
- ${statusLight(agent.status)}
9657
- ${this.#dropButton(agent)}
9658
- ${error ? b`<span class="error">${error}</span>` : A}
9659
- </li>`;
9560
+ .body {
9561
+ flex: 1;
9562
+ min-height: 0;
9660
9563
  }
9661
- render() {
9662
- const agents = ordered(this.model?.agent.list() ?? []);
9663
- const active = this.model?.agent.active() ?? "";
9664
- const errors = Object.values(this.errors);
9665
- return b`<ul role="listbox" aria-label="Cones and scoops" @keydown=${this.#keydown}>
9666
- ${agents.map((agent) => this.#row(agent, active))}
9667
- </ul>
9668
- <div class="sr" role="status">${errors.at(-1) ?? ""}</div>`;
9564
+ .note {
9565
+ padding: var(--swc-spacing-400);
9566
+ color: var(--swc-neutral-subdued-content-color-default);
9669
9567
  }
9670
- };
9671
-
9672
- // node_modules/lit-html/directives/keyed.js
9673
- var i17 = e2(class extends i3 {
9674
- constructor() {
9675
- super(...arguments), this.key = A;
9568
+ .sr {
9569
+ position: absolute;
9570
+ width: 1px;
9571
+ height: 1px;
9572
+ margin: -1px;
9573
+ padding: 0;
9574
+ overflow: hidden;
9575
+ clip-path: inset(50%);
9576
+ white-space: nowrap;
9577
+ border: 0;
9676
9578
  }
9677
- render(r38, t86) {
9678
- return this.key = r38, t86;
9579
+ .status {
9580
+ display: inline-block;
9581
+ min-width: var(--swc-spacing-300);
9582
+ text-align: center;
9583
+ font-weight: var(--swc-bold-font-weight);
9584
+ font-family: var(--swc-code-font-family-stack);
9679
9585
  }
9680
- update(r38, [t86, e105]) {
9681
- return t86 !== this.key && (p(r38), this.key = t86), e105;
9586
+ .status[data-status='added'] {
9587
+ color: var(--swc-positive-color-1000);
9682
9588
  }
9683
- });
9684
-
9685
- // node_modules/lit-html/static.js
9686
- var a12 = /* @__PURE__ */ Symbol.for("");
9687
- var o46 = (t86) => {
9688
- if (t86?.r === a12) return t86?._$litStatic$;
9689
- };
9690
- var s9 = (t86) => ({ _$litStatic$: t86, r: a12 });
9691
- var l14 = /* @__PURE__ */ new Map();
9692
- var n28 = (t86) => (r38, ...e105) => {
9693
- const a22 = e105.length;
9694
- let s19, i25;
9695
- const n36 = [], u26 = [];
9696
- let c27, $6 = 0, f11 = false;
9697
- for (; $6 < a22; ) {
9698
- for (c27 = r38[$6]; $6 < a22 && void 0 !== (i25 = e105[$6], s19 = o46(i25)); ) c27 += s19 + r38[++$6], f11 = true;
9699
- $6 !== a22 && u26.push(i25), n36.push(c27), $6++;
9589
+ .status[data-status='modified'] {
9590
+ color: var(--swc-notice-color-1000);
9700
9591
  }
9701
- if ($6 === a22 && n36.push(r38[a22]), f11) {
9702
- const t87 = n36.join("$$lit$$");
9703
- void 0 === (r38 = l14.get(t87)) && (n36.raw = n36, l14.set(t87, r38 = n36)), e105 = u26;
9592
+ .status[data-status='deleted'] {
9593
+ color: var(--swc-negative-color-1000);
9704
9594
  }
9705
- return t86(r38, ...e105);
9706
- };
9707
- var u16 = n28(b);
9708
- var c17 = n28(w);
9709
- var $2 = n28(T);
9710
-
9711
- // src/app/dips.ts
9712
- var dipType = "application/x-slicc-sprinkle";
9713
- var Dips = class extends Emitter {
9714
- key = "slicc-ui.dips";
9715
- #out = /* @__PURE__ */ new Set();
9716
- #storage = null;
9717
- load(storage) {
9718
- this.#storage = storage;
9719
- try {
9720
- const saved = JSON.parse(storage?.getItem(this.key) ?? "[]");
9721
- this.#out = new Set(Array.isArray(saved) ? saved.filter((id) => typeof id === "string") : []);
9722
- } catch {
9723
- this.#out = /* @__PURE__ */ new Set();
9724
- }
9725
- this.emit("change", this.list());
9726
- }
9727
- list() {
9728
- return [...this.#out];
9729
- }
9730
- has(id) {
9731
- return this.#out.has(id);
9732
- }
9733
- detach(id) {
9734
- if (this.#out.has(id)) return;
9735
- this.#out.add(id);
9736
- this.#storage?.setItem(this.key, JSON.stringify(this.list()));
9737
- this.emit("change", this.list());
9738
- }
9739
- };
9740
- function dipsOf(node) {
9741
- let current = node;
9742
- while (current) {
9743
- const found = current.dips;
9744
- if (found instanceof Dips) return found;
9745
- current = current.parentNode ?? current.host ?? null;
9746
- }
9747
- return null;
9748
- }
9749
-
9750
- // src/app/fonts.ts
9751
- var adobeClean = [
9752
- ["Regular", 400],
9753
- ["Medium", 500],
9754
- ["Bold", 700],
9755
- ["ExtraBold", 800]
9756
- ];
9757
- var code = [400, 600];
9758
- var defaultFontBase = "/fonts/";
9759
- var defaultVariableFont = "https://use.typekit.net/af/ca4cba/0000000000000000775c55a1/31/l?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n1&v=3";
9760
- var installed = [];
9761
- function fontFiles(base, codeBase) {
9762
- const files = code.map((weight) => ({
9763
- family: "Source Code Pro",
9764
- weight,
9765
- url: `${codeBase}source-code-pro-latin-${weight}-normal.woff2`,
9766
- format: "woff2"
9767
- }));
9768
- if (base) {
9769
- for (const family of ["adobe-clean", "Adobe Clean"]) {
9770
- for (const [name, weight] of adobeClean) {
9771
- files.push({ family, weight, url: `${base}AdobeClean-${name}.otf`, format: "opentype" });
9772
- }
9773
- }
9774
- }
9775
- return files;
9776
- }
9777
- function variableFile(url) {
9778
- return url ? [{ family: "adobe-clean-spectrum-vf", weight: "100 900", url, format: "woff2" }] : [];
9779
- }
9780
- function allFiles(base, codeBase, variable) {
9781
- return [...variableFile(variable), ...fontFiles(base, codeBase)];
9782
- }
9783
- function fontFaces(base, codeBase, variable) {
9784
- return allFiles(base, codeBase, variable).map(
9785
- (file) => `@font-face{font-family:"${file.family}";font-style:normal;font-weight:${file.weight};font-display:swap;src:url("${file.url}") format("${file.format}");}`
9786
- ).join("\n");
9787
- }
9788
- function installedFonts() {
9789
- return installed;
9790
- }
9791
- function installFonts(document2, base, codeBase, variable) {
9792
- const existing = document2.head.querySelector("style[data-slicc-fonts]");
9793
- const style = existing ?? document2.createElement("style");
9794
- style.dataset.sliccFonts = "";
9795
- style.textContent = fontFaces(base, codeBase, variable);
9796
- installed = allFiles(base, codeBase, variable);
9797
- if (!existing) document2.head.append(style);
9798
- return style;
9799
- }
9800
-
9801
- // src/app/grammars.ts
9802
- var grammarCdn = "https://cdn.jsdelivr.net/npm/@shikijs/";
9803
- var local = null;
9804
- function setGrammarBase(base) {
9805
- local = base;
9806
- }
9807
- function grammarBase() {
9808
- return local;
9809
- }
9810
- function grammarUrls(kind, name, version2, remote, base = local, page = globalThis.document?.baseURI ?? "http://localhost/") {
9811
- const urls = [];
9812
- if (base) {
9813
- const folder2 = base.endsWith("/") ? base : `${base}/`;
9814
- urls.push(new URL(`${kind}/dist/${name}.mjs`, new URL(folder2, page)).href);
9815
- }
9816
- urls.push(`${remote}${kind}@${version2}/dist/${name}.mjs`);
9817
- return urls;
9818
- }
9819
- async function grammar(kind, name, version2, remote = grammarCdn, importer = (url) => import(url)) {
9820
- let failure2;
9821
- for (const url of grammarUrls(kind, name, version2, remote)) {
9822
- try {
9823
- return await importer(url);
9824
- } catch (error) {
9825
- failure2 = error;
9826
- }
9827
- }
9828
- throw failure2;
9829
- }
9830
-
9831
- // node_modules/@adobe/spectrum-wc-icons/dist/AlertTriangle.js
9832
- function e73() {
9833
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M10 15.123a.9.9 0 0 1-.627-.228.956.956 0 0 1 0-1.285.87.87 0 0 1 .626-.234c.237-.01.466.08.633.247a.86.86 0 0 1 .242.627.88.88 0 0 1-.228.639.86.86 0 0 1-.647.234M10 11.75a.75.75 0 0 1-.75-.75V7a.75.75 0 0 1 1.5 0v4a.75.75 0 0 1-.75.75"/><path fill="var(--swc-icon-color, currentColor)" d="M16.733 18H3.267c-.8 0-1.523-.41-1.933-1.098s-.427-1.518-.046-2.222L8.02 2.232a2.248 2.248 0 0 1 3.958 0l6.733 12.448c.381.704.364 1.535-.046 2.222S17.534 18 16.733 18M10 2.553a.73.73 0 0 0-.66.392L2.607 15.393a.74.74 0 0 0 .016.74.74.74 0 0 0 .644.367h13.466a.74.74 0 0 0 .644-.366.74.74 0 0 0 .016-.741L10.66 2.945a.73.73 0 0 0-.66-.392"/></svg>';
9595
+ `;
9596
+ var letters = { added: "A", modified: "M", deleted: "D" };
9597
+ var statusLabels = { added: "Added", modified: "Modified", deleted: "Deleted" };
9598
+ function statusMark(status2, announce = true) {
9599
+ return b`<span class="status" data-status=${status2} title=${statusLabels[status2]}
9600
+ ><span aria-hidden="true">${letters[status2]}</span>${announce ? b`<span class="sr">${statusLabels[status2]}</span>` : A}</span
9601
+ >`;
9834
9602
  }
9835
-
9836
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-alert-triangle.js
9837
- var o47 = class extends a10 {
9838
- static get styles() {
9839
- return [t40];
9840
- }
9841
- render() {
9842
- return b`
9843
- <span class="swc-Icon">${o16(e73())}</span>
9844
- `;
9845
- }
9846
- };
9847
- e25("swc-icon-alert-triangle", o47);
9848
-
9849
- // node_modules/@adobe/spectrum-wc-icons/dist/Cloud.js
9850
- function e74() {
9851
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M15.407 17H3.717a3.456 3.456 0 0 1-3.45-3.452 3.45 3.45 0 0 1 2.323-3.25 4 4 0 0 1-.065-.702c0-2.18 1.81-3.953 4.034-3.953q.42 0 .831.087c.637-1.958 2.476-3.346 4.589-3.346a4.85 4.85 0 0 1 4.844 4.844q0 .659-.187 1.298a4.32 4.32 0 0 1 3.103 4.142A4.337 4.337 0 0 1 15.407 17M6.559 7.143c-1.397 0-2.534 1.1-2.534 2.453q.001.5.206.965a.75.75 0 0 1-.637 1.051 1.95 1.95 0 0 0-1.828 1.936c0 1.076.876 1.952 1.952 1.952h11.689a2.835 2.835 0 0 0 2.832-2.832 2.826 2.826 0 0 0-2.682-2.814.75.75 0 0 1-.625-1.095c.26-.5.39-1.015.39-1.531 0-1.844-1.5-3.344-3.344-3.344-1.662 0-3.08 1.252-3.297 2.912a.75.75 0 0 1-1.054.585 2.6 2.6 0 0 0-1.068-.238"/></svg>';
9603
+ function failure(error) {
9604
+ return error instanceof Error ? error.message : String(error);
9852
9605
  }
9853
-
9854
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-cloud.js
9855
- var o48 = class extends a10 {
9856
- static get styles() {
9857
- return [t40];
9858
- }
9859
- render() {
9860
- return b`
9861
- <span class="swc-Icon">${o16(e74())}</span>
9862
- `;
9606
+ var errorCss = i`
9607
+ .error {
9608
+ display: flex;
9609
+ align-items: flex-start;
9610
+ gap: var(--swc-spacing-75);
9611
+ flex: none;
9612
+ color: var(--swc-negative-content-color-default);
9613
+ background: var(--swc-background-layer-1-color);
9614
+ white-space: normal;
9863
9615
  }
9864
- };
9865
- e25("swc-icon-cloud", o48);
9866
-
9867
- // node_modules/@adobe/spectrum-wc-icons/dist/CloudStateError.js
9868
- function e75() {
9869
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M15.5 9.021a4.5 4.5 0 1 0 0 9c2.485 0 4.48-2.015 4.48-4.5s-1.995-4.5-4.48-4.5m.95 6.895c0 .472-.425.855-.95.855s-.95-.383-.95-.855v-.289c0-.472.425-.856.95-.856s.95.384.95.856zm-.075-2.495c0 .414-.392.75-.875.75s-.875-.336-.875-.75v-2.65c0-.414.392-.75.875-.75s.875.336.875.75z"/><path fill="var(--swc-icon-color, currentColor)" d="M9.25 16.998H3.718a3.455 3.455 0 0 1-3.452-3.451 3.45 3.45 0 0 1 2.324-3.25 4 4 0 0 1-.065-.703c0-2.18 1.81-3.952 4.034-3.952q.42 0 .83.087c.638-1.958 2.477-3.347 4.59-3.347a4.826 4.826 0 0 1 4.818 4.35.75.75 0 1 1-1.492.15 3.33 3.33 0 0 0-3.326-3c-1.664 0-3.08 1.252-3.297 2.912a.752.752 0 0 1-1.054.586 2.6 2.6 0 0 0-1.07-.238c-1.396 0-2.533 1.1-2.533 2.452q.001.5.206.965a.75.75 0 0 1-.637 1.051 1.95 1.95 0 0 0-1.828 1.937c0 1.076.876 1.951 1.952 1.951H9.25a.75.75 0 0 1 0 1.5"/></svg>';
9870
- }
9871
-
9872
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-cloud-state-error.js
9873
- var o49 = class extends a10 {
9874
- static get styles() {
9875
- return [t40];
9616
+ .error:not(:empty) {
9617
+ padding: var(--swc-spacing-75) var(--swc-spacing-100) var(--swc-spacing-75) var(--swc-spacing-200);
9618
+ border-bottom: var(--swc-border-width-100) solid var(--swc-gray-200);
9876
9619
  }
9877
- render() {
9878
- return b`
9879
- <span class="swc-Icon">${o16(e75())}</span>
9880
- `;
9620
+ .error swc-icon-alert-diamond {
9621
+ flex: none;
9622
+ color: var(--swc-negative-content-color-default);
9881
9623
  }
9882
- };
9883
- e25("swc-icon-cloud-state-error", o49);
9884
-
9885
- // node_modules/@adobe/spectrum-wc-icons/dist/CloudStateOnline.js
9886
- function e76() {
9887
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M9.25 17.002H3.718A3.455 3.455 0 0 1 .266 13.55 3.45 3.45 0 0 1 2.59 10.3a4 4 0 0 1-.065-.703c0-2.18 1.81-3.952 4.034-3.952q.42 0 .83.087c.638-1.959 2.477-3.347 4.59-3.347a4.85 4.85 0 0 1 4.843 4.844q0 .464-.093.92a.745.745 0 0 1-.885.583.75.75 0 0 1-.584-.884q.061-.307.062-.619c0-1.844-1.5-3.344-3.343-3.344-1.664 0-3.08 1.252-3.297 2.912a.752.752 0 0 1-1.054.586 2.6 2.6 0 0 0-1.07-.238c-1.396 0-2.533 1.1-2.533 2.452q.001.5.206.965a.75.75 0 0 1-.637 1.051 1.95 1.95 0 0 0-1.828 1.937c0 1.076.876 1.951 1.952 1.951H9.25a.75.75 0 0 1 0 1.5"/><path fill="var(--swc-icon-color, currentColor)" d="M18.503 13.434a.75.75 0 0 1-.53-.22 4.88 4.88 0 0 0-3.472-1.442h-.006a4.87 4.87 0 0 0-3.462 1.433.75.75 0 1 1-1.06-1.06 6.35 6.35 0 0 1 4.522-1.873h.007c1.712.002 3.32.67 4.531 1.881a.75.75 0 0 1-.53 1.28"/><path fill="var(--swc-icon-color, currentColor)" d="M16.384 15.544a.75.75 0 0 1-.53-.22 1.916 1.916 0 0 0-2.706-.004.75.75 0 1 1-1.06-1.06 3.4 3.4 0 0 1 2.41-.998h.003a3.4 3.4 0 0 1 2.413 1.002.75.75 0 0 1-.53 1.28"/><path fill="var(--swc-icon-color, currentColor)" d="M15.136 17.64a.897.897 0 0 1-1.27.001.9.9 0 1 1 1.27-.001" data-name="Path 1027855"/></svg>';
9888
- }
9889
-
9890
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-cloud-state-online.js
9891
- var o50 = class extends a10 {
9892
- static get styles() {
9893
- return [t40];
9624
+ `;
9625
+ var SliccFiles = class extends ModelElement {
9626
+ static properties = {
9627
+ ...ModelElement.properties,
9628
+ count: { state: true },
9629
+ mounted: { state: true },
9630
+ mounting: { state: true },
9631
+ ejecting: { state: true },
9632
+ waiting: { state: true },
9633
+ inserting: { state: true },
9634
+ error: { state: true }
9635
+ };
9636
+ #entries = [];
9637
+ #pending = false;
9638
+ #reveal = null;
9639
+ constructor() {
9640
+ super();
9641
+ this.count = 0;
9642
+ this.mounted = [];
9643
+ this.mounting = false;
9644
+ this.ejecting = /* @__PURE__ */ new Set();
9645
+ this.waiting = [];
9646
+ this.inserting = /* @__PURE__ */ new Set();
9647
+ this.error = "";
9894
9648
  }
9895
- render() {
9896
- return b`
9897
- <span class="swc-Icon">${o16(e76())}</span>
9898
- `;
9649
+ static styles = [
9650
+ shared,
9651
+ panelCss,
9652
+ errorCss,
9653
+ i`
9654
+ :host {
9655
+ container-type: inline-size;
9656
+ }
9657
+ slicc-file-tree {
9658
+ flex: 1;
9659
+ min-height: 0;
9660
+ }
9661
+ .total {
9662
+ min-width: 0;
9663
+ overflow: hidden;
9664
+ text-overflow: ellipsis;
9665
+ }
9666
+ .mount {
9667
+ flex: none;
9668
+ }
9669
+ .mounts {
9670
+ flex: none;
9671
+ display: flex;
9672
+ flex-direction: column;
9673
+ gap: var(--swc-spacing-50);
9674
+ padding: var(--swc-spacing-75) var(--swc-spacing-100) var(--swc-spacing-75) var(--swc-spacing-200);
9675
+ border-bottom: var(--swc-border-width-100) solid var(--swc-gray-200);
9676
+ background: var(--swc-background-layer-1-color);
9677
+ }
9678
+ .mounts .heading {
9679
+ color: var(--swc-neutral-subdued-content-color-default);
9680
+ font-weight: var(--swc-bold-font-weight);
9681
+ }
9682
+ .mounts ul {
9683
+ display: flex;
9684
+ flex-direction: column;
9685
+ margin: 0;
9686
+ padding: 0;
9687
+ list-style: none;
9688
+ }
9689
+ .mounts li {
9690
+ display: flex;
9691
+ align-items: center;
9692
+ gap: var(--swc-spacing-100);
9693
+ min-height: var(--swc-component-height-75);
9694
+ }
9695
+ .mounts .path {
9696
+ flex: 1;
9697
+ min-width: 0;
9698
+ overflow: hidden;
9699
+ text-overflow: ellipsis;
9700
+ white-space: nowrap;
9701
+ font-family: var(--swc-code-font-family-stack);
9702
+ }
9703
+ @container (min-width: 221px) {
9704
+ .mount + swc-tooltip {
9705
+ display: none;
9706
+ }
9707
+ }
9708
+ @container (max-width: 220px) {
9709
+ .mount {
9710
+ --swc-action-button-gap: 0;
9711
+ --swc-action-button-edge-to-text: var(--swc-spacing-75);
9712
+ --swc-action-button-edge-to-visual: var(--swc-spacing-75);
9713
+ }
9714
+ .mount .label {
9715
+ display: none;
9716
+ }
9717
+ }
9718
+ `
9719
+ ];
9720
+ subscribe(model) {
9721
+ void model.files.list().then((entries) => this.#load(entries));
9722
+ this.#mounts(model.files);
9723
+ return [
9724
+ model.files.on("files", (entries) => this.#load(entries)),
9725
+ changesOf(model).on("changes", () => this.#sync()),
9726
+ model.files.on("mounts", () => this.#mounts(model.files))
9727
+ ];
9899
9728
  }
9900
- };
9901
- e25("swc-icon-cloud-state-online", o50);
9902
-
9903
- // node_modules/@adobe/spectrum-wc-icons/dist/CloudStateSlowConnection.js
9904
- function e77() {
9905
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M8.946 16.998H3.718a3.455 3.455 0 0 1-3.452-3.451 3.45 3.45 0 0 1 2.324-3.25 4 4 0 0 1-.065-.703c0-2.18 1.81-3.952 4.034-3.952q.42 0 .83.087c.638-1.958 2.477-3.347 4.59-3.347a4.826 4.826 0 0 1 4.818 4.35.75.75 0 1 1-1.492.15 3.33 3.33 0 0 0-3.326-3c-1.664 0-3.08 1.252-3.297 2.912a.752.752 0 0 1-1.054.586 2.6 2.6 0 0 0-1.07-.238c-1.396 0-2.533 1.1-2.533 2.452q.001.5.206.965a.75.75 0 0 1-.637 1.051 1.95 1.95 0 0 0-1.828 1.937c0 1.076.876 1.951 1.952 1.951h5.228a.75.75 0 0 1 0 1.5M19 16.271v-7a.75.75 0 0 0-1.5 0v7a.75.75 0 0 0 1.5 0m-3 0v-5a.75.75 0 0 0-1.5 0v5a.75.75 0 0 0 1.5 0"/><path fill="var(--swc-icon-color, currentColor)" d="M13 16.271v-3a.75.75 0 0 0-1.5 0v3a.75.75 0 0 0 1.5 0"/></svg>';
9906
- }
9907
-
9908
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-cloud-state-slow-connection.js
9909
- var o51 = class extends a10 {
9910
- static get styles() {
9911
- return [t40];
9729
+ focus() {
9730
+ if (this.count > 0) this.focusOn("slicc-file-tree");
9731
+ else this.#pending = true;
9912
9732
  }
9913
- render() {
9914
- return b`
9915
- <span class="swc-Icon">
9916
- ${o16(e77())}
9917
- </span>
9918
- `;
9733
+ #tree() {
9734
+ return this.renderRoot.querySelector("slicc-file-tree");
9919
9735
  }
9920
- };
9921
- e25("swc-icon-cloud-state-slow-connection", o51);
9922
-
9923
- // node_modules/@adobe/spectrum-wc-icons/dist/Copy.js
9924
- function e78() {
9925
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M11.75 18h-7.5C3.01 18 2 16.99 2 15.75v-7.5C2 7.01 3.01 6 4.25 6a.75.75 0 0 1 0 1.5.75.75 0 0 0-.75.75v7.5c0 .413.337.75.75.75h7.5c.413 0 .75-.337.75-.75a.75.75 0 0 1 1.5 0c0 1.24-1.01 2.25-2.25 2.25m-5-13A.75.75 0 0 1 6 4.25C6 3.01 7.01 2 8.25 2a.75.75 0 0 1 0 1.5.75.75 0 0 0-.75.75.75.75 0 0 1-.75.75M13 3.5h-2A.75.75 0 0 1 11 2h2a.75.75 0 0 1 0 1.5"/><path fill="var(--swc-icon-color, currentColor)" d="M13 14h-2a.75.75 0 0 1 0-1.5h2a.75.75 0 0 1 0 1.5m2.75 0a.75.75 0 0 1 0-1.5c.413 0 .75-.337.75-.75a.75.75 0 0 1 1.5 0c0 1.24-1.01 2.25-2.25 2.25m1.5-9a.75.75 0 0 1-.75-.75.75.75 0 0 0-.75-.75.75.75 0 0 1 0-1.5C16.99 2 18 3.01 18 4.25a.75.75 0 0 1-.75.75m0 4.75A.75.75 0 0 1 16.5 9V7A.75.75 0 0 1 18 7v2a.75.75 0 0 1-.75.75m-10.5 0A.75.75 0 0 1 6 9V7a.75.75 0 0 1 1.5 0v2a.75.75 0 0 1-.75.75M8.25 14C7.01 14 6 12.99 6 11.75a.75.75 0 0 1 1.5 0c0 .413.337.75.75.75a.75.75 0 0 1 0 1.5"/></svg>';
9926
- }
9927
-
9928
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-copy.js
9929
- var o52 = class extends a10 {
9930
- static get styles() {
9931
- return [t40];
9736
+ #load(entries) {
9737
+ this.#entries = entries;
9738
+ this.count = entries.filter((entry) => entry.kind === "file").length;
9739
+ void this.updateComplete.then(() => this.#sync());
9932
9740
  }
9933
- render() {
9934
- return b`
9935
- <span class="swc-Icon">${o16(e78())}</span>
9936
- `;
9741
+ #mounts(files) {
9742
+ this.mounted = files.mounts?.() ?? [];
9743
+ this.waiting = files.needsFolder?.() ?? [];
9937
9744
  }
9938
- };
9939
- e25("swc-icon-copy", o52);
9940
-
9941
- // node_modules/@adobe/spectrum-wc/dist/link.css
9942
- var link_default = '/**\n * Copyright 2026 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/**\n * Standalone link presentation for native `<a href>` elements.\n *\n * Default anchor appearance inside `.swc-Typography--prose` and\n * `.swc-Typography--links` ships with `typography.css` (generated). Import this\n * stylesheet when authors need explicit BEM modifiers on anchors.\n *\n */\n\n.swc-Link {\n inline-size: -moz-fit-content;\n inline-size: fit-content;\n font-family: var(--swc-sans-font-family-stack);\n font-size: var(--swc-font-size-100);\n font-style: normal;\n font-weight: 400;\n line-height: 1.30;\n color: var(--swc-link-text-color-default, var(--swc-accent-color-900));\n -webkit-text-decoration: underline;\n text-decoration: underline;\n text-decoration-thickness: 1px;\n text-underline-offset: 1px;\n transition: color 130ms ease-in-out;\n\n &:hover {\n color: var(--swc-link-text-color-hover, var(--swc-accent-color-1000));\n }\n\n &:active {\n color: var(--swc-link-text-color-down, var(--swc-accent-color-1000));\n }\n\n &:focus-visible {\n color: var(--swc-link-text-color-focus, var(--swc-accent-color-1000));\n border-radius: 4px;\n outline: 2px solid var(--swc-link-focus-indicator-color, var(--swc-blue-800));\n outline-offset: 2px;\n }\n\n &:lang(ja),\n &:lang(zh),\n &:lang(ko) {\n line-height: 1.50;\n }\n}\n\n.swc-Link--standalone {\n font-weight: 500;\n}\n\n.swc-Link--secondary {\n --swc-link-text-color-default: var(--swc-gray-800);\n --swc-link-text-color-hover: var(--swc-gray-900);\n --swc-link-text-color-down: var(--swc-gray-900);\n --swc-link-text-color-focus: var(--swc-gray-900);\n}\n\n.swc-Link--staticWhite {\n --swc-link-text-color-default: var(--swc-white);\n --swc-link-text-color-hover: var(--swc-white);\n --swc-link-text-color-down: var(--swc-white);\n --swc-link-text-color-focus: var(--swc-white);\n --swc-link-focus-indicator-color: var(--swc-white);\n}\n\n.swc-Link--staticBlack {\n --swc-link-text-color-default: var(--swc-black);\n --swc-link-text-color-hover: var(--swc-black);\n --swc-link-text-color-down: var(--swc-black);\n --swc-link-text-color-focus: var(--swc-black);\n --swc-link-focus-indicator-color: var(--swc-black);\n}\n\n.swc-Link--quiet.swc-Link--standalone {\n -webkit-text-decoration: none;\n text-decoration: none;\n}\n\n.swc-Link--quiet.swc-Link--standalone:hover {\n -webkit-text-decoration: underline;\n text-decoration: underline;\n}\n';
9943
-
9944
- // node_modules/@adobe/spectrum-wc-icons/dist/AlertDiamond.js
9945
- function e79() {
9946
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M10 18.795a2.24 2.24 0 0 1-1.591-.66l-6.545-6.544a2.254 2.254 0 0 1 0-3.182l6.545-6.545c.849-.85 2.333-.85 3.182 0l6.545 6.545a2.254 2.254 0 0 1 0 3.182l-6.545 6.545c-.425.425-.99.659-1.591.659m0-16.09c-.2 0-.389.078-.53.22L2.925 9.47a.75.75 0 0 0 0 1.06l6.545 6.545a.77.77 0 0 0 1.06 0l6.545-6.545a.75.75 0 0 0 0-1.06L10.53 2.925a.75.75 0 0 0-.53-.22"/><path fill="var(--swc-icon-color, currentColor)" d="M10 14.998a.9.9 0 0 1-.627-.228.956.956 0 0 1 0-1.285.87.87 0 0 1 .626-.234c.237-.01.466.08.633.247a.86.86 0 0 1 .242.627.88.88 0 0 1-.228.639.86.86 0 0 1-.647.234M10 11.625a.75.75 0 0 1-.75-.75v-5a.75.75 0 0 1 1.5 0v5a.75.75 0 0 1-.75.75"/></svg>';
9947
- }
9948
-
9949
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-alert-diamond.js
9950
- var o53 = class extends a10 {
9951
- static get styles() {
9952
- return [t40];
9745
+ #sync() {
9746
+ const tree = this.#tree();
9747
+ const changes = this.model ? changesOf(this.model).changes() : [];
9748
+ if (!tree) return;
9749
+ if (tree.paths.length === 0) tree.expanded = ancestors(changes.map((change) => change.path));
9750
+ tree.paths = treePaths(this.#entries);
9751
+ tree.gitStatus = treeStatus(changes);
9752
+ this.#show();
9753
+ if (this.#pending) {
9754
+ this.#pending = false;
9755
+ requestAnimationFrame(() => tree.focus());
9756
+ }
9953
9757
  }
9954
- render() {
9955
- return b`
9956
- <span class="swc-Icon">${o16(e79())}</span>
9957
- `;
9758
+ #show() {
9759
+ const tree = this.#tree();
9760
+ const path = this.#reveal;
9761
+ if (!tree || !path || !tree.paths.includes(path)) return;
9762
+ this.#reveal = null;
9763
+ const item2 = tree.tree?.getItem(path);
9764
+ if (item2 && "expand" in item2) item2.expand();
9765
+ item2?.select();
9766
+ tree.reveal(path, false);
9958
9767
  }
9959
- };
9960
- e25("swc-icon-alert-diamond", o53);
9961
-
9962
- // node_modules/@adobe/spectrum-wc-icons/dist/FolderAdd.js
9963
- function e80() {
9964
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M8.373 15.498H3.25a.75.75 0 0 1-.75-.75v-8.25h14.25a.75.75 0 0 1 .75.75V9.07a.75.75 0 0 0 1.5 0V7.248c0-1.24-1.01-2.25-2.25-2.25h-5.964a.75.75 0 0 1-.566-.258L8.515 2.773a2.25 2.25 0 0 0-1.7-.775H3.25C2.01 1.998 1 3.008 1 4.248v10.5c0 1.24 1.01 2.25 2.25 2.25h5.123a.75.75 0 0 0 0-1.5m-5.123-12h3.565a.75.75 0 0 1 .567.258l1.076 1.242H2.5v-.75a.75.75 0 0 1 .75-.75"/><path fill="var(--swc-icon-color, currentColor)" d="M15 10.498a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9m2.5 5.125h-1.875v1.875a.625.625 0 1 1-1.25 0v-1.875H12.5a.625.625 0 1 1 0-1.25h1.875v-1.875a.625.625 0 1 1 1.25 0v1.875H17.5a.625.625 0 1 1 0 1.25"/></svg>';
9965
- }
9966
-
9967
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-folder-add.js
9968
- var o54 = class extends a10 {
9969
- static get styles() {
9970
- return [t40];
9768
+ #busy(at, on) {
9769
+ if (at === void 0) {
9770
+ this.mounting = on;
9771
+ return;
9772
+ }
9773
+ const inserting = new Set(this.inserting);
9774
+ if (on) inserting.add(at);
9775
+ else inserting.delete(at);
9776
+ this.inserting = inserting;
9971
9777
  }
9972
- render() {
9973
- return b`
9974
- <span class="swc-Icon">${o16(e80())}</span>
9975
- `;
9778
+ #mount(mountFolder, at) {
9779
+ const result = at === void 0 ? mountFolder() : mountFolder(at);
9780
+ this.error = "";
9781
+ this.#busy(at, true);
9782
+ result.then(
9783
+ (path) => {
9784
+ if (!path) return;
9785
+ this.#reveal = `${relative(path)}/`;
9786
+ this.#show();
9787
+ },
9788
+ (error) => {
9789
+ this.error = failure(error);
9790
+ }
9791
+ ).finally(() => this.#busy(at, false));
9976
9792
  }
9977
- };
9978
- e25("swc-icon-folder-add", o54);
9979
-
9980
- // src/app/files.ts
9981
- function relative(path) {
9982
- return path.replace(/^\//, "");
9983
- }
9984
- function basename(path) {
9985
- return path.slice(path.lastIndexOf("/") + 1);
9986
- }
9987
- function treePaths(entries) {
9988
- return entries.map((entry) => relative(entry.path) + (entry.kind === "directory" ? "/" : ""));
9989
- }
9990
- function treeStatus(changes) {
9991
- return changes.map((change) => ({ path: relative(change.path), status: change.status }));
9992
- }
9993
- function ancestors(paths) {
9994
- const out = /* @__PURE__ */ new Set();
9995
- for (const path of paths) {
9996
- const parts2 = relative(path).split("/").slice(0, -1);
9997
- for (let i25 = 1; i25 <= parts2.length; i25++) out.add(parts2.slice(0, i25).join("/"));
9793
+ #eject(eject, path) {
9794
+ const result = eject(path);
9795
+ this.error = "";
9796
+ this.ejecting = /* @__PURE__ */ new Set([...this.ejecting, path]);
9797
+ result.catch((error) => {
9798
+ this.error = failure(error);
9799
+ }).finally(() => {
9800
+ const ejecting = new Set(this.ejecting);
9801
+ ejecting.delete(path);
9802
+ this.ejecting = ejecting;
9803
+ });
9998
9804
  }
9999
- return [...out];
10000
- }
10001
- function agentName(model, id) {
10002
- if (!id) return "you";
10003
- return model?.agent.list().find((agent) => agent.id === id)?.name ?? id;
10004
- }
10005
- function author(model, change) {
10006
- return change.agentId === null && change.repo ? null : agentName(model, change.agentId);
10007
- }
10008
- function request(target, type, path) {
10009
- target.dispatchEvent(new CustomEvent(type, { detail: { path }, bubbles: true, composed: true }));
10010
- }
10011
- var panelCss = i`
10012
- :host {
10013
- display: flex;
10014
- flex-direction: column;
10015
- height: 100%;
10016
- min-height: 0;
10017
- background: var(--swc-background-layer-2-color);
10018
- color: var(--swc-neutral-content-color-default);
10019
- font-family: var(--swc-sans-font-family-stack);
10020
- font-size: var(--swc-font-size-75);
9805
+ #open(event2) {
9806
+ event2.stopPropagation();
9807
+ request(this, "open-file", `/${event2.detail.path}`);
10021
9808
  }
10022
- .bar {
10023
- display: flex;
10024
- align-items: center;
10025
- gap: var(--swc-spacing-100);
10026
- flex: none;
10027
- min-height: var(--swc-component-height-100);
10028
- padding: 0 var(--swc-spacing-100) 0 var(--swc-spacing-200);
10029
- border-bottom: var(--swc-border-width-100) solid var(--swc-gray-200);
10030
- background: var(--swc-background-layer-1-color);
10031
- color: var(--swc-neutral-subdued-content-color-default);
10032
- white-space: nowrap;
10033
- overflow: hidden;
9809
+ #mountButton(files) {
9810
+ if (typeof files?.mountFolder !== "function") return A;
9811
+ const mountFolder = files.mountFolder.bind(files);
9812
+ const label = "Mount a folder\u2026";
9813
+ return b`<swc-action-button
9814
+ id="mount"
9815
+ class="mount"
9816
+ size="s"
9817
+ quiet
9818
+ data-action="mount-folder"
9819
+ accessible-label=${label}
9820
+ ?pending=${this.mounting}
9821
+ @click=${() => this.#mount(mountFolder)}
9822
+ ><swc-icon-folder-add slot="icon"></swc-icon-folder-add><span class="label">${label}</span></swc-action-button
9823
+ ><swc-tooltip for="mount" placement="bottom">${label}</swc-tooltip>`;
10034
9824
  }
10035
- .bar .path {
10036
- font-family: var(--swc-code-font-family-stack);
10037
- color: var(--swc-neutral-content-color-default);
10038
- overflow: hidden;
10039
- text-overflow: ellipsis;
9825
+ #waiting(files) {
9826
+ if (this.waiting.length === 0) return A;
9827
+ const mountFolder = files?.mountFolder?.bind(files);
9828
+ return b`<section class="mounts" aria-labelledby="waiting">
9829
+ <span class="heading" id="waiting">Needs a folder</span>
9830
+ <ul aria-labelledby="waiting">
9831
+ ${this.waiting.map(
9832
+ (path) => b`<li>
9833
+ <span class="path" title=${`${path} needs a folder`}>${path}</span>
9834
+ ${mountFolder ? b`<swc-action-button
9835
+ size="s"
9836
+ quiet
9837
+ data-action="insert-folder"
9838
+ data-id=${path}
9839
+ accessible-label=${`Insert folder at ${path}`}
9840
+ ?pending=${this.inserting.has(path)}
9841
+ @click=${() => this.#mount(mountFolder, path)}
9842
+ >Insert folder…</swc-action-button
9843
+ >` : A}
9844
+ </li>`
9845
+ )}
9846
+ </ul>
9847
+ </section>`;
10040
9848
  }
10041
- .spacer {
10042
- flex: 1;
9849
+ #strip(files) {
9850
+ if (this.mounted.length === 0) return A;
9851
+ const eject = files?.eject?.bind(files);
9852
+ return b`<section class="mounts" aria-labelledby="mounted">
9853
+ <span class="heading" id="mounted">Mounted</span>
9854
+ <ul aria-labelledby="mounted">
9855
+ ${this.mounted.map(
9856
+ (path) => b`<li>
9857
+ <span class="path" title=${path}>${path}</span>
9858
+ ${eject ? b`<swc-action-button
9859
+ size="s"
9860
+ quiet
9861
+ data-action="eject"
9862
+ data-path=${path}
9863
+ accessible-label=${`Eject ${path}`}
9864
+ ?pending=${this.ejecting.has(path)}
9865
+ @click=${() => this.#eject(eject, path)}
9866
+ >Eject</swc-action-button
9867
+ >` : A}
9868
+ </li>`
9869
+ )}
9870
+ </ul>
9871
+ </section>`;
10043
9872
  }
10044
- .body {
10045
- flex: 1;
10046
- min-height: 0;
9873
+ render() {
9874
+ const files = this.model?.files;
9875
+ return b`<div class="bar"><span class="total">${this.count} files</span><span class="spacer"></span>${this.#mountButton(files)}</div>
9876
+ <div class="error" role="status" aria-live="polite">${this.error ? b`<swc-icon-alert-diamond size="s" aria-hidden="true"></swc-icon-alert-diamond><span>${this.error}</span>` : A}</div>
9877
+ ${this.#waiting(files)}
9878
+ ${this.#strip(files)}
9879
+ <slicc-file-tree @file-open=${this.#open}></slicc-file-tree>`;
10047
9880
  }
10048
- .note {
10049
- padding: var(--swc-spacing-400);
10050
- color: var(--swc-neutral-subdued-content-color-default);
9881
+ };
9882
+ var SliccFileView = class extends ThemedElement {
9883
+ static properties = {
9884
+ ...ThemedElement.properties,
9885
+ path: {},
9886
+ text: { state: true },
9887
+ missing: { state: true },
9888
+ draft: { state: true },
9889
+ saving: { state: true }
9890
+ };
9891
+ constructor() {
9892
+ super();
9893
+ this.path = "";
9894
+ this.text = null;
9895
+ this.missing = false;
9896
+ this.draft = null;
9897
+ this.saving = false;
10051
9898
  }
10052
- .sr {
10053
- position: absolute;
10054
- width: 1px;
10055
- height: 1px;
10056
- margin: -1px;
10057
- padding: 0;
10058
- overflow: hidden;
10059
- clip-path: inset(50%);
10060
- white-space: nowrap;
10061
- border: 0;
9899
+ static styles = [
9900
+ shared,
9901
+ panelCss,
9902
+ i`
9903
+ slicc-code-view {
9904
+ flex: 1;
9905
+ min-height: 0;
9906
+ }
9907
+ textarea {
9908
+ flex: 1;
9909
+ min-height: 0;
9910
+ margin: 0;
9911
+ padding: var(--swc-spacing-100) var(--swc-spacing-200);
9912
+ border: 0;
9913
+ resize: none;
9914
+ background: var(--swc-background-layer-2-color);
9915
+ color: var(--swc-code-color);
9916
+ font-family: var(--swc-code-font-family-stack);
9917
+ font-size: var(--swc-code-size-xs);
9918
+ line-height: var(--swc-code-line-height);
9919
+ tab-size: 2;
9920
+ }
9921
+ textarea:focus-visible {
9922
+ outline: var(--swc-focus-indicator-thickness) solid var(--swc-focus-indicator-color);
9923
+ outline-offset: calc(-1 * var(--swc-focus-indicator-thickness));
9924
+ }
9925
+ `
9926
+ ];
9927
+ edit() {
9928
+ this.draft = this.text ?? "";
9929
+ void this.updateComplete.then(() => this.focusOn("textarea"));
10062
9930
  }
10063
- .status {
10064
- display: inline-block;
10065
- min-width: var(--swc-spacing-300);
10066
- text-align: center;
10067
- font-weight: var(--swc-bold-font-weight);
10068
- font-family: var(--swc-code-font-family-stack);
9931
+ cancel() {
9932
+ this.draft = null;
10069
9933
  }
10070
- .status[data-status='added'] {
10071
- color: var(--swc-positive-color-1000);
9934
+ async save() {
9935
+ const model = this.model;
9936
+ if (!model || this.draft === null) return;
9937
+ const draft = this.draft;
9938
+ this.saving = true;
9939
+ try {
9940
+ await model.files.write(this.path, draft);
9941
+ this.text = draft;
9942
+ this.missing = false;
9943
+ if (this.draft === draft) this.draft = null;
9944
+ } finally {
9945
+ this.saving = false;
9946
+ }
10072
9947
  }
10073
- .status[data-status='modified'] {
10074
- color: var(--swc-notice-color-1000);
9948
+ #keydown(event2) {
9949
+ if (event2.key === "Escape") {
9950
+ event2.preventDefault();
9951
+ this.cancel();
9952
+ } else if (event2.key === "s" && (event2.metaKey || event2.ctrlKey)) {
9953
+ event2.preventDefault();
9954
+ void this.save();
9955
+ }
10075
9956
  }
10076
- .status[data-status='deleted'] {
10077
- color: var(--swc-negative-color-1000);
9957
+ #actions() {
9958
+ if (this.draft === null) {
9959
+ return b`<swc-action-button size="s" quiet ?disabled=${this.text === null} @click=${() => this.edit()}>
9960
+ <swc-icon-edit slot="icon"></swc-icon-edit>Edit
9961
+ </swc-action-button>`;
9962
+ }
9963
+ return b`<swc-action-button size="s" quiet @click=${() => this.cancel()}>Cancel</swc-action-button>
9964
+ <swc-button size="s" variant="accent" ?pending=${this.saving} ?disabled=${this.saving} @click=${() => this.save()}
9965
+ >Save</swc-button
9966
+ >`;
10078
9967
  }
10079
- `;
10080
- var letters = { added: "A", modified: "M", deleted: "D" };
10081
- var statusLabels = { added: "Added", modified: "Modified", deleted: "Deleted" };
10082
- function statusMark(status2, announce = true) {
10083
- return b`<span class="status" data-status=${status2} title=${statusLabels[status2]}
10084
- ><span aria-hidden="true">${letters[status2]}</span>${announce ? b`<span class="sr">${statusLabels[status2]}</span>` : A}</span
10085
- >`;
10086
- }
10087
- function failure(error) {
10088
- return error instanceof Error ? error.message : String(error);
10089
- }
10090
- var errorCss = i`
10091
- .error {
10092
- display: flex;
10093
- align-items: flex-start;
10094
- gap: var(--swc-spacing-75);
10095
- flex: none;
10096
- color: var(--swc-negative-content-color-default);
10097
- background: var(--swc-background-layer-1-color);
10098
- white-space: normal;
9968
+ #body(change) {
9969
+ if (this.draft !== null) {
9970
+ return b`<textarea
9971
+ aria-label=${`Edit ${this.path}`}
9972
+ spellcheck="false"
9973
+ .value=${this.draft}
9974
+ @input=${(event2) => {
9975
+ this.draft = event2.target.value;
9976
+ }}
9977
+ @keydown=${this.#keydown}
9978
+ ></textarea>`;
9979
+ }
9980
+ if (this.missing) {
9981
+ return b`<div class="note">This file doesn’t exist${change ? " any more" : ""}.</div>`;
9982
+ }
9983
+ return b`<slicc-code-view path=${this.path} color=${this.color} .contents=${this.text}></slicc-code-view>`;
10099
9984
  }
10100
- .error:not(:empty) {
10101
- padding: var(--swc-spacing-75) var(--swc-spacing-100) var(--swc-spacing-75) var(--swc-spacing-200);
10102
- border-bottom: var(--swc-border-width-100) solid var(--swc-gray-200);
9985
+ subscribe(model) {
9986
+ void this.#read(model);
9987
+ return [
9988
+ ...super.subscribe(model),
9989
+ model.files.on("file", (path) => {
9990
+ if (path === this.path) void this.#read(model);
9991
+ }),
9992
+ changesOf(model).on("changes", () => this.requestUpdate())
9993
+ ];
10103
9994
  }
10104
- .error swc-icon-alert-diamond {
10105
- flex: none;
10106
- color: var(--swc-negative-content-color-default);
9995
+ async #read(model) {
9996
+ try {
9997
+ this.text = await model.files.read(this.path);
9998
+ this.missing = false;
9999
+ } catch {
10000
+ this.text = null;
10001
+ this.missing = true;
10002
+ }
10107
10003
  }
10108
- `;
10109
- var SliccFiles = class extends ModelElement {
10110
- static properties = {
10111
- ...ModelElement.properties,
10112
- count: { state: true },
10113
- mounted: { state: true },
10114
- mounting: { state: true },
10115
- ejecting: { state: true },
10116
- waiting: { state: true },
10117
- inserting: { state: true },
10118
- error: { state: true }
10119
- };
10120
- #entries = [];
10121
- #pending = false;
10122
- #reveal = null;
10123
- constructor() {
10124
- super();
10125
- this.count = 0;
10126
- this.mounted = [];
10127
- this.mounting = false;
10128
- this.ejecting = /* @__PURE__ */ new Set();
10129
- this.waiting = [];
10130
- this.inserting = /* @__PURE__ */ new Set();
10131
- this.error = "";
10004
+ render() {
10005
+ const port = this.model ? changesOf(this.model) : null;
10006
+ const change = port && !port.unavailable?.() ? port.changes().find((candidate) => candidate.path === this.path) : void 0;
10007
+ const by = change && author(this.model, change);
10008
+ return b`<div class="bar">
10009
+ <span class="path" title=${this.path}>${this.path}</span>
10010
+ <span class="spacer"></span>
10011
+ ${change ? b`${statusMark(change.status, false)}
10012
+ <span>${by ? `${statusLabels[change.status]} by ${by}` : statusLabels[change.status]}</span>
10013
+ <swc-action-button size="s" quiet @click=${() => request(this, "open-diff", this.path)}>
10014
+ <swc-icon-compare slot="icon"></swc-icon-compare>Diff
10015
+ </swc-action-button>` : A}
10016
+ ${this.#actions()}
10017
+ </div>
10018
+ ${this.#body(change)}`;
10132
10019
  }
10020
+ };
10021
+
10022
+ // src/app/names.ts
10023
+ var untitled = "No messages yet";
10024
+ function short(text2, max2 = 60) {
10025
+ return text2.length > max2 ? `${text2.slice(0, max2 - 1).trimEnd()}\u2026` : text2;
10026
+ }
10027
+ function agentTitle(model, agent) {
10028
+ if (agent.title !== void 0) return agent.title.trim();
10029
+ const first2 = model.agent.messages(agent.id).find((message) => message.role === "user");
10030
+ return first2?.role === "user" ? first2.text.trim().split("\n")[0].trim() : "";
10031
+ }
10032
+ function twinned(name, id, rows) {
10033
+ return rows.some((row) => row.id !== id && row.name === name);
10034
+ }
10035
+ function withTitle(name, title) {
10036
+ return `${name} (${short(title) || untitled.toLowerCase()})`;
10037
+ }
10038
+ function coneLabel(model, agent) {
10039
+ const cones = model.agent.list().filter((other) => other.kind === "cone");
10040
+ if (agent.kind !== "cone" || !twinned(agent.name, agent.id, cones)) return agent.name;
10041
+ return withTitle(agent.name, agentTitle(model, agent));
10042
+ }
10043
+ function watchTitles(model, update) {
10044
+ const seen = /* @__PURE__ */ new Map();
10045
+ const check2 = (id) => {
10046
+ const agent = model.agent.list().find((candidate) => candidate.id === id);
10047
+ if (agent?.kind !== "cone") return;
10048
+ const title = agentTitle(model, agent);
10049
+ if (seen.get(id) === title) return;
10050
+ seen.set(id, title);
10051
+ update();
10052
+ };
10053
+ const stops = [
10054
+ model.agent.on("messages", check2),
10055
+ model.agent.on("message", ({ agentId }) => check2(agentId))
10056
+ ];
10057
+ return () => {
10058
+ for (const stop of stops) stop();
10059
+ };
10060
+ }
10061
+
10062
+ // src/app/freezer.ts
10063
+ function ago(at, now = Date.now()) {
10064
+ const days = Math.floor((now - at) / 864e5);
10065
+ if (days <= 0) return "today";
10066
+ if (days === 1) return "yesterday";
10067
+ if (days < 14) return `${days} days ago`;
10068
+ return `${Math.floor(days / 7)} weeks ago`;
10069
+ }
10070
+ async function deleteCone(model, agent, trigger2) {
10071
+ const ok = await confirm({
10072
+ title: `Delete cone ${coneLabel(model, agent)}?`,
10073
+ body: "It stops, with its scoops. Its conversation stays in the Freezer, where you can thaw it.",
10074
+ action: "Delete cone",
10075
+ variant: "confirmation",
10076
+ trigger: trigger2
10077
+ });
10078
+ if (ok) model.agent.freeze?.(agent.id);
10079
+ return ok;
10080
+ }
10081
+ var frozenKinds = {
10082
+ cone: ["indigo", "Cone"],
10083
+ scoop: ["seafoam", "Scoop"],
10084
+ agent: ["purple", "Agent run"]
10085
+ };
10086
+ function freezerOrder(rows) {
10087
+ return [...rows].sort((a22, b13) => Number(!!b13.live) - Number(!!a22.live) || b13.frozenAt - a22.frozenAt);
10088
+ }
10089
+ var SliccFreezer = class extends ModelElement {
10133
10090
  static styles = [
10134
10091
  shared,
10135
10092
  panelCss,
10136
- errorCss,
10137
10093
  i`
10138
- :host {
10139
- container-type: inline-size;
10140
- }
10141
- slicc-file-tree {
10094
+ .list {
10142
10095
  flex: 1;
10143
10096
  min-height: 0;
10097
+ overflow-y: auto;
10098
+ padding: var(--swc-spacing-100);
10099
+ display: grid;
10100
+ grid-template-columns: minmax(0, 1fr);
10101
+ align-content: start;
10102
+ gap: var(--swc-spacing-100);
10144
10103
  }
10145
- .total {
10146
- min-width: 0;
10147
- overflow: hidden;
10148
- text-overflow: ellipsis;
10149
- }
10150
- .mount {
10151
- flex: none;
10152
- }
10153
- .mounts {
10154
- flex: none;
10155
- display: flex;
10156
- flex-direction: column;
10104
+ .card {
10105
+ display: grid;
10157
10106
  gap: var(--swc-spacing-50);
10158
- padding: var(--swc-spacing-75) var(--swc-spacing-100) var(--swc-spacing-75) var(--swc-spacing-200);
10159
- border-bottom: var(--swc-border-width-100) solid var(--swc-gray-200);
10107
+ border-radius: var(--swc-corner-radius-medium-default);
10108
+ padding: var(--swc-spacing-100) var(--swc-spacing-200);
10160
10109
  background: var(--swc-background-layer-1-color);
10161
10110
  }
10162
- .mounts .heading {
10163
- color: var(--swc-neutral-subdued-content-color-default);
10164
- font-weight: var(--swc-bold-font-weight);
10165
- }
10166
- .mounts ul {
10167
- display: flex;
10168
- flex-direction: column;
10169
- margin: 0;
10170
- padding: 0;
10171
- list-style: none;
10172
- }
10173
- .mounts li {
10111
+ .name {
10174
10112
  display: flex;
10113
+ flex-wrap: wrap;
10175
10114
  align-items: center;
10176
- gap: var(--swc-spacing-100);
10177
- min-height: var(--swc-component-height-75);
10115
+ gap: var(--swc-spacing-75) var(--swc-spacing-100);
10116
+ font-weight: var(--swc-bold-font-weight);
10178
10117
  }
10179
- .mounts .path {
10180
- flex: 1;
10181
- min-width: 0;
10118
+ .title {
10119
+ display: -webkit-box;
10120
+ -webkit-box-orient: vertical;
10121
+ -webkit-line-clamp: 2;
10182
10122
  overflow: hidden;
10183
- text-overflow: ellipsis;
10184
- white-space: nowrap;
10185
- font-family: var(--swc-code-font-family-stack);
10123
+ overflow-wrap: anywhere;
10124
+ line-height: var(--swc-line-height-100);
10186
10125
  }
10187
- @container (min-width: 221px) {
10188
- .mount + swc-tooltip {
10189
- display: none;
10190
- }
10126
+ .meta {
10127
+ color: var(--swc-neutral-subdued-content-color-default);
10191
10128
  }
10192
- @container (max-width: 220px) {
10193
- .mount {
10194
- --swc-action-button-gap: 0;
10195
- --swc-action-button-edge-to-text: var(--swc-spacing-75);
10196
- --swc-action-button-edge-to-visual: var(--swc-spacing-75);
10197
- }
10198
- .mount .label {
10199
- display: none;
10200
- }
10129
+ .name swc-status-light {
10130
+ font-weight: normal;
10131
+ }
10132
+ .actions {
10133
+ display: flex;
10134
+ gap: var(--swc-spacing-75);
10135
+ margin-inline-start: calc(-1 * var(--swc-spacing-100));
10201
10136
  }
10202
10137
  `
10203
10138
  ];
10204
10139
  subscribe(model) {
10205
- void model.files.list().then((entries) => this.#load(entries));
10206
- this.#mounts(model.files);
10140
+ const update = () => this.requestUpdate();
10141
+ return [
10142
+ model.agent.on("frozen", update),
10143
+ model.agent.on("active", update),
10144
+ model.agent.on("agents", update)
10145
+ ];
10146
+ }
10147
+ focus() {
10148
+ this.focusOn("swc-action-button");
10149
+ }
10150
+ async #remove(cone, trigger2) {
10151
+ const ok = await confirm({
10152
+ title: `Remove ${this.#named(cone)} from the Freezer?`,
10153
+ body: "Its working folders are deleted. The conversation stays in the session database. You can\u2019t undo this.",
10154
+ action: "Remove",
10155
+ variant: "destructive",
10156
+ trigger: trigger2
10157
+ });
10158
+ if (ok) this.model?.agent.discard(cone.id);
10159
+ }
10160
+ #named(cone) {
10161
+ const rows = this.model?.agent.frozen() ?? [];
10162
+ return twinned(cone.name, cone.id, rows) ? withTitle(cone.name, cone.title) : cone.name;
10163
+ }
10164
+ #thawedAs(id) {
10165
+ const model = this.model;
10166
+ return model.agent.list().find((agent) => agent.id === id)?.name ?? model.agent.frozen().find((row) => row.id === id)?.name ?? id;
10167
+ }
10168
+ #actions(cone) {
10169
+ const model = this.model;
10170
+ if (cone.live) {
10171
+ return b`<swc-action-button size="s" quiet data-action="open" accessible-label=${`Open ${this.#named(cone)}`} @click=${() => model.agent.select(cone.id)}>Open</swc-action-button>`;
10172
+ }
10173
+ return b`<swc-action-button size="s" quiet data-action="thaw" accessible-label=${`Thaw ${this.#named(cone)}`} @click=${() => model.agent.thaw(cone.id)}>Thaw</swc-action-button>
10174
+ <swc-action-button size="s" quiet data-action="remove" accessible-label=${`Remove ${this.#named(cone)}`} @click=${(event2) => this.#remove(cone, event2.currentTarget)}>Remove</swc-action-button>`;
10175
+ }
10176
+ #card(cone) {
10177
+ const model = this.model;
10178
+ const label = model.settings.models().find((option2) => option2.id === cone.model)?.label ?? cone.model;
10179
+ const kind = frozenKinds[cone.kind ?? "cone"];
10180
+ const meta = [
10181
+ `${cone.messages} ${cone.messages === 1 ? "message" : "messages"}`,
10182
+ ...cone.live ? [] : [`frozen ${ago(cone.frozenAt)}`],
10183
+ ...cone.thawedAs ? [`thawed as ${this.#thawedAs(cone.thawedAs)}`] : []
10184
+ ];
10185
+ return b`<div class="card" data-id=${cone.id} data-kind=${cone.kind ?? "cone"} ?data-live=${cone.live}>
10186
+ <div class="name">${cone.name}<swc-badge size="s" variant=${kind[0]} subtle data-badge="kind">${kind[1]}</swc-badge><swc-badge size="s" variant="neutral" subtle>${label}</swc-badge>${cone.live ? b`<swc-status-light size="s" variant="positive" data-live>Live</swc-status-light>` : A}</div>
10187
+ <div class="title" title=${cone.title}>${cone.title}</div>
10188
+ <div class="meta">${meta.join(" \xB7 ")}</div>
10189
+ <div class="actions">${this.#actions(cone)}</div>
10190
+ </div>`;
10191
+ }
10192
+ render() {
10193
+ const rows = freezerOrder(this.model?.agent.frozen() ?? []);
10194
+ return b`<div class="bar">
10195
+ <span>${rows.length} ${rows.length === 1 ? "conversation" : "conversations"}</span>
10196
+ </div>
10197
+ <div class="list">
10198
+ ${rows.length ? rows.map((cone) => this.#card(cone)) : b`<div class="note">No conversations yet. A new conversation or a deleted cone leaves the old one here.</div>`}
10199
+ </div>`;
10200
+ }
10201
+ };
10202
+
10203
+ // src/app/agents.ts
10204
+ function ordered(agents) {
10205
+ const cones = agents.filter((agent) => agent.kind === "cone");
10206
+ return cones.flatMap((cone) => [cone, ...agents.filter((agent) => agent.parentId === cone.id)]);
10207
+ }
10208
+ var SliccAgents = class extends ModelElement {
10209
+ static properties = { ...ModelElement.properties, errors: { state: true } };
10210
+ constructor() {
10211
+ super();
10212
+ this.errors = {};
10213
+ }
10214
+ static styles = [
10215
+ shared,
10216
+ i`
10217
+ :host {
10218
+ display: block;
10219
+ height: 100%;
10220
+ overflow-y: auto;
10221
+ background: var(--swc-background-layer-1-color);
10222
+ color: var(--swc-neutral-content-color-default);
10223
+ font-size: var(--swc-font-size-100);
10224
+ }
10225
+ ul {
10226
+ list-style: none;
10227
+ margin: 0;
10228
+ padding: var(--swc-spacing-75) 0;
10229
+ }
10230
+ li {
10231
+ display: grid;
10232
+ grid-template-columns: minmax(0, 1fr) auto auto auto;
10233
+ grid-template-areas: 'name unread fill drop' 'title unread fill drop' 'status unread fill drop' 'error error error error';
10234
+ align-items: center;
10235
+ column-gap: var(--swc-spacing-100);
10236
+ padding: var(--swc-spacing-75) var(--swc-spacing-200);
10237
+ cursor: pointer;
10238
+ }
10239
+ li.scoop {
10240
+ padding-inline-start: calc(var(--swc-spacing-200) + var(--swc-spacing-300));
10241
+ }
10242
+ li:hover {
10243
+ background: var(--swc-gray-100);
10244
+ }
10245
+ li[aria-selected='true'] {
10246
+ background: var(--swc-gray-200);
10247
+ box-shadow: inset var(--swc-spacing-50) 0 0 var(--swc-accent-visual-color);
10248
+ }
10249
+ li:focus-visible {
10250
+ outline: var(--swc-focus-indicator-thickness) solid var(--swc-focus-indicator-color);
10251
+ outline-offset: calc(-1 * var(--swc-focus-indicator-thickness));
10252
+ }
10253
+ .name {
10254
+ grid-area: name;
10255
+ overflow: hidden;
10256
+ text-overflow: ellipsis;
10257
+ white-space: nowrap;
10258
+ }
10259
+ .cone .name {
10260
+ font-weight: var(--swc-bold-font-weight);
10261
+ }
10262
+ .title {
10263
+ grid-area: title;
10264
+ overflow: hidden;
10265
+ text-overflow: ellipsis;
10266
+ white-space: nowrap;
10267
+ font-size: var(--swc-font-size-75);
10268
+ color: var(--swc-neutral-subdued-content-color-default);
10269
+ }
10270
+ .unread {
10271
+ --swc-badge-height: var(--swc-spacing-300);
10272
+ --swc-badge-padding-block: var(--swc-spacing-50);
10273
+ --swc-badge-padding-inline: var(--swc-spacing-75);
10274
+ --swc-badge-corner-radius: var(--swc-spacing-100);
10275
+ --swc-badge-line-height: 1;
10276
+ grid-area: unread;
10277
+ align-self: center;
10278
+ }
10279
+ .fill {
10280
+ grid-area: fill;
10281
+ font-size: var(--swc-font-size-75);
10282
+ font-variant-numeric: tabular-nums;
10283
+ color: var(--swc-neutral-subdued-content-color-default);
10284
+ min-width: 4ch;
10285
+ text-align: end;
10286
+ }
10287
+ swc-status-light {
10288
+ grid-area: status;
10289
+ justify-self: start;
10290
+ }
10291
+ .drop {
10292
+ grid-area: drop;
10293
+ visibility: hidden;
10294
+ }
10295
+ li:hover .drop,
10296
+ li:focus-within .drop {
10297
+ visibility: visible;
10298
+ }
10299
+ .error {
10300
+ grid-area: error;
10301
+ margin-block-start: var(--swc-spacing-75);
10302
+ color: var(--swc-negative-color-1100);
10303
+ font-size: var(--swc-font-size-75);
10304
+ }
10305
+ .sr {
10306
+ position: absolute;
10307
+ inline-size: 1px;
10308
+ block-size: 1px;
10309
+ overflow: hidden;
10310
+ clip-path: inset(50%);
10311
+ white-space: nowrap;
10312
+ }
10313
+ @media (hover: none), (pointer: coarse) {
10314
+ .drop {
10315
+ visibility: visible;
10316
+ }
10317
+ }
10318
+ `
10319
+ ];
10320
+ subscribe(model) {
10207
10321
  return [
10208
- model.files.on("files", (entries) => this.#load(entries)),
10209
- changesOf(model).on("changes", () => this.#sync()),
10210
- model.files.on("mounts", () => this.#mounts(model.files))
10322
+ model.agent.on("agents", () => this.requestUpdate()),
10323
+ model.agent.on("active", () => this.requestUpdate()),
10324
+ watchTitles(model, () => this.requestUpdate())
10211
10325
  ];
10212
10326
  }
10213
- focus() {
10214
- if (this.count > 0) this.focusOn("slicc-file-tree");
10215
- else this.#pending = true;
10216
- }
10217
- #tree() {
10218
- return this.renderRoot.querySelector("slicc-file-tree");
10327
+ #select(id) {
10328
+ this.model?.agent.select(id);
10219
10329
  }
10220
- #load(entries) {
10221
- this.#entries = entries;
10222
- this.count = entries.filter((entry) => entry.kind === "file").length;
10223
- void this.updateComplete.then(() => this.#sync());
10330
+ focus() {
10331
+ this.focusOn('li[tabindex="0"]');
10224
10332
  }
10225
- #mounts(files) {
10226
- this.mounted = files.mounts?.() ?? [];
10227
- this.waiting = files.needsFolder?.() ?? [];
10333
+ #items() {
10334
+ return [...this.renderRoot.querySelectorAll("li")];
10228
10335
  }
10229
- #sync() {
10230
- const tree = this.#tree();
10231
- const changes = this.model ? changesOf(this.model).changes() : [];
10232
- if (!tree) return;
10233
- if (tree.paths.length === 0) tree.expanded = ancestors(changes.map((change) => change.path));
10234
- tree.paths = treePaths(this.#entries);
10235
- tree.gitStatus = treeStatus(changes);
10236
- this.#show();
10237
- if (this.#pending) {
10238
- this.#pending = false;
10239
- requestAnimationFrame(() => tree.focus());
10336
+ #keydown(event2) {
10337
+ const items = this.#items();
10338
+ const index = items.indexOf(this.renderRoot.activeElement);
10339
+ const moves = {
10340
+ ArrowDown: index + 1,
10341
+ ArrowUp: index - 1,
10342
+ Home: 0,
10343
+ End: items.length - 1
10344
+ };
10345
+ if (event2.key in moves) {
10346
+ event2.preventDefault();
10347
+ items[Math.max(0, Math.min(items.length - 1, moves[event2.key]))]?.focus();
10348
+ } else if (event2.key === "Enter" || event2.key === " ") {
10349
+ event2.preventDefault();
10350
+ const id = items[index]?.dataset.id;
10351
+ if (id) this.#select(id);
10352
+ } else if (event2.key === "Delete") {
10353
+ const agent = this.model?.agent.list().find((item2) => item2.id === items[index]?.dataset.id);
10354
+ if (agent && this.#droppable(agent)) {
10355
+ event2.preventDefault();
10356
+ void this.#drop(agent, items[index]);
10357
+ } else if (agent && this.#deletable(agent)) {
10358
+ event2.preventDefault();
10359
+ void this.#deleteCone(agent, items[index]);
10360
+ }
10240
10361
  }
10241
10362
  }
10242
- #show() {
10243
- const tree = this.#tree();
10244
- const path = this.#reveal;
10245
- if (!tree || !path || !tree.paths.includes(path)) return;
10246
- this.#reveal = null;
10247
- const item2 = tree.tree?.getItem(path);
10248
- if (item2 && "expand" in item2) item2.expand();
10249
- item2?.select();
10250
- tree.reveal(path, false);
10363
+ #droppable(agent) {
10364
+ return agent.kind === "scoop" && Boolean(this.model?.agent.drop);
10251
10365
  }
10252
- #busy(at, on) {
10253
- if (at === void 0) {
10254
- this.mounting = on;
10255
- return;
10256
- }
10257
- const inserting = new Set(this.inserting);
10258
- if (on) inserting.add(at);
10259
- else inserting.delete(at);
10260
- this.inserting = inserting;
10366
+ #deletable(agent) {
10367
+ return agent.kind === "cone" && !agent.frozen && Boolean(this.model?.agent.freeze);
10261
10368
  }
10262
- #mount(mountFolder, at) {
10263
- const result = at === void 0 ? mountFolder() : mountFolder(at);
10264
- this.error = "";
10265
- this.#busy(at, true);
10266
- result.then(
10267
- (path) => {
10268
- if (!path) return;
10269
- this.#reveal = `${relative(path)}/`;
10270
- this.#show();
10271
- },
10272
- (error) => {
10273
- this.error = failure(error);
10274
- }
10275
- ).finally(() => this.#busy(at, false));
10369
+ async #deleteCone(agent, trigger2) {
10370
+ if (!await deleteCone(this.model, agent, trigger2)) return;
10371
+ await this.updateComplete;
10372
+ this.focus();
10276
10373
  }
10277
- #eject(eject, path) {
10278
- const result = eject(path);
10279
- this.error = "";
10280
- this.ejecting = /* @__PURE__ */ new Set([...this.ejecting, path]);
10281
- result.catch((error) => {
10282
- this.error = failure(error);
10283
- }).finally(() => {
10284
- const ejecting = new Set(this.ejecting);
10285
- ejecting.delete(path);
10286
- this.ejecting = ejecting;
10374
+ async #drop(agent, trigger2) {
10375
+ const port = this.model?.agent;
10376
+ if (!port?.drop) return;
10377
+ const ok = await confirm({
10378
+ title: `Drop scoop ${agent.name}?`,
10379
+ body: "It stops, and its working folder is deleted. Its conversation and reports are kept. You can\u2019t undo this.",
10380
+ action: "Drop",
10381
+ variant: "destructive",
10382
+ trigger: trigger2
10287
10383
  });
10384
+ if (!ok) return;
10385
+ const { [agent.id]: _9, ...rest } = this.errors;
10386
+ this.errors = rest;
10387
+ try {
10388
+ await port.drop(agent.id);
10389
+ } catch (error) {
10390
+ const message = error instanceof Error ? error.message : String(error);
10391
+ this.errors = { ...this.errors, [agent.id]: `Couldn\u2019t drop ${agent.name}: ${message}` };
10392
+ return;
10393
+ }
10394
+ const current = port.active();
10395
+ const stale = current === agent.id || !port.list().some((candidate) => candidate.id === current);
10396
+ if (stale && agent.parentId) port.select(agent.parentId);
10397
+ await this.updateComplete;
10398
+ this.focus();
10288
10399
  }
10289
- #open(event2) {
10290
- event2.stopPropagation();
10291
- request(this, "open-file", `/${event2.detail.path}`);
10400
+ #dropButton(agent) {
10401
+ if (!this.#droppable(agent)) return A;
10402
+ const id = `drop-${agent.id}`;
10403
+ const label = `Drop scoop ${agent.name}`;
10404
+ return b`<swc-action-button
10405
+ id=${id}
10406
+ class="drop"
10407
+ size="l"
10408
+ quiet
10409
+ tabindex="-1"
10410
+ data-action="drop"
10411
+ accessible-label=${label}
10412
+ @click=${(event2) => {
10413
+ event2.stopPropagation();
10414
+ void this.#drop(agent, event2.currentTarget);
10415
+ }}
10416
+ ><swc-icon-close slot="icon"></swc-icon-close></swc-action-button
10417
+ ><swc-tooltip for=${id} placement="start">${label}</swc-tooltip>`;
10292
10418
  }
10293
- #mountButton(files) {
10294
- if (typeof files?.mountFolder !== "function") return A;
10295
- const mountFolder = files.mountFolder.bind(files);
10296
- const label = "Mount a folder\u2026";
10419
+ #deleteButton(agent) {
10420
+ if (!this.#deletable(agent)) return A;
10421
+ const id = `delete-${agent.id}`;
10422
+ const label = `Delete cone ${coneLabel(this.model, agent)}`;
10297
10423
  return b`<swc-action-button
10298
- id="mount"
10299
- class="mount"
10300
- size="s"
10424
+ id=${id}
10425
+ class="drop"
10426
+ size="l"
10301
10427
  quiet
10302
- data-action="mount-folder"
10428
+ tabindex="-1"
10429
+ data-action="delete-cone"
10303
10430
  accessible-label=${label}
10304
- ?pending=${this.mounting}
10305
- @click=${() => this.#mount(mountFolder)}
10306
- ><swc-icon-folder-add slot="icon"></swc-icon-folder-add><span class="label">${label}</span></swc-action-button
10307
- ><swc-tooltip for="mount" placement="bottom">${label}</swc-tooltip>`;
10431
+ @click=${(event2) => {
10432
+ event2.stopPropagation();
10433
+ void this.#deleteCone(agent, event2.currentTarget);
10434
+ }}
10435
+ ><swc-icon-delete slot="icon"></swc-icon-delete></swc-action-button
10436
+ ><swc-tooltip for=${id} placement="start">${label}</swc-tooltip>`;
10308
10437
  }
10309
- #waiting(files) {
10310
- if (this.waiting.length === 0) return A;
10311
- const mountFolder = files?.mountFolder?.bind(files);
10312
- return b`<section class="mounts" aria-labelledby="waiting">
10313
- <span class="heading" id="waiting">Needs a folder</span>
10314
- <ul aria-labelledby="waiting">
10315
- ${this.waiting.map(
10316
- (path) => b`<li>
10317
- <span class="path" title=${`${path} needs a folder`}>${path}</span>
10318
- ${mountFolder ? b`<swc-action-button
10319
- size="s"
10320
- quiet
10321
- data-action="insert-folder"
10322
- data-id=${path}
10323
- accessible-label=${`Insert folder at ${path}`}
10324
- ?pending=${this.inserting.has(path)}
10325
- @click=${() => this.#mount(mountFolder, path)}
10326
- >Insert folder…</swc-action-button
10327
- >` : A}
10328
- </li>`
10329
- )}
10438
+ #row(agent, active) {
10439
+ const selected = agent.id === active;
10440
+ const error = this.errors[agent.id];
10441
+ const model = this.model;
10442
+ const title = agent.kind === "cone" ? agentTitle(model, agent) : null;
10443
+ const label = `${coneLabel(model, agent)}: ${statusLabel[agent.status]}, ${percent(agent.contextFill)} context${agent.unread ? `, ${agent.unread} unread` : ""}${error ? `. ${error}` : ""}`;
10444
+ return b`<li
10445
+ role="option"
10446
+ class=${agent.kind}
10447
+ data-id=${agent.id}
10448
+ aria-selected=${selected ? "true" : "false"}
10449
+ aria-label=${label}
10450
+ tabindex=${selected ? "0" : "-1"}
10451
+ aria-keyshortcuts=${this.#droppable(agent) || this.#deletable(agent) ? "Delete" : A}
10452
+ title=${label}
10453
+ @click=${() => this.#select(agent.id)}
10454
+ >
10455
+ <span class="name">${agent.name}</span>
10456
+ ${title === null ? A : b`<span class="title">${title || untitled}</span>`}
10457
+ ${agent.unread ? b`<swc-badge class="unread" size="s" variant="accent">${agent.unread}</swc-badge>` : A}
10458
+ <span class="fill">${percent(agent.contextFill)}</span>
10459
+ ${statusLight(agent.status)}
10460
+ ${this.#dropButton(agent)}
10461
+ ${this.#deleteButton(agent)}
10462
+ ${error ? b`<span class="error">${error}</span>` : A}
10463
+ </li>`;
10464
+ }
10465
+ render() {
10466
+ const agents = ordered(this.model?.agent.list() ?? []);
10467
+ const active = this.model?.agent.active() ?? "";
10468
+ const errors = Object.values(this.errors);
10469
+ return b`<ul role="listbox" aria-label="Cones and scoops" @keydown=${this.#keydown}>
10470
+ ${agents.map((agent) => this.#row(agent, active))}
10330
10471
  </ul>
10331
- </section>`;
10472
+ <div class="sr" role="status">${errors.at(-1) ?? ""}</div>`;
10473
+ }
10474
+ };
10475
+
10476
+ // node_modules/lit-html/directives/keyed.js
10477
+ var i17 = e2(class extends i3 {
10478
+ constructor() {
10479
+ super(...arguments), this.key = A;
10480
+ }
10481
+ render(r38, t86) {
10482
+ return this.key = r38, t86;
10483
+ }
10484
+ update(r38, [t86, e105]) {
10485
+ return t86 !== this.key && (p(r38), this.key = t86), e105;
10486
+ }
10487
+ });
10488
+
10489
+ // node_modules/lit-html/static.js
10490
+ var a12 = /* @__PURE__ */ Symbol.for("");
10491
+ var o49 = (t86) => {
10492
+ if (t86?.r === a12) return t86?._$litStatic$;
10493
+ };
10494
+ var s9 = (t86) => ({ _$litStatic$: t86, r: a12 });
10495
+ var l14 = /* @__PURE__ */ new Map();
10496
+ var n28 = (t86) => (r38, ...e105) => {
10497
+ const a22 = e105.length;
10498
+ let s19, i25;
10499
+ const n36 = [], u26 = [];
10500
+ let c27, $6 = 0, f11 = false;
10501
+ for (; $6 < a22; ) {
10502
+ for (c27 = r38[$6]; $6 < a22 && void 0 !== (i25 = e105[$6], s19 = o49(i25)); ) c27 += s19 + r38[++$6], f11 = true;
10503
+ $6 !== a22 && u26.push(i25), n36.push(c27), $6++;
10504
+ }
10505
+ if ($6 === a22 && n36.push(r38[a22]), f11) {
10506
+ const t87 = n36.join("$$lit$$");
10507
+ void 0 === (r38 = l14.get(t87)) && (n36.raw = n36, l14.set(t87, r38 = n36)), e105 = u26;
10508
+ }
10509
+ return t86(r38, ...e105);
10510
+ };
10511
+ var u16 = n28(b);
10512
+ var c17 = n28(w);
10513
+ var $2 = n28(T);
10514
+
10515
+ // src/app/dips.ts
10516
+ var dipType = "application/x-slicc-sprinkle";
10517
+ var Dips = class extends Emitter {
10518
+ key = "slicc-ui.dips";
10519
+ #out = /* @__PURE__ */ new Set();
10520
+ #storage = null;
10521
+ load(storage) {
10522
+ this.#storage = storage;
10523
+ try {
10524
+ const saved = JSON.parse(storage?.getItem(this.key) ?? "[]");
10525
+ this.#out = new Set(Array.isArray(saved) ? saved.filter((id) => typeof id === "string") : []);
10526
+ } catch {
10527
+ this.#out = /* @__PURE__ */ new Set();
10528
+ }
10529
+ this.emit("change", this.list());
10332
10530
  }
10333
- #strip(files) {
10334
- if (this.mounted.length === 0) return A;
10335
- const eject = files?.eject?.bind(files);
10336
- return b`<section class="mounts" aria-labelledby="mounted">
10337
- <span class="heading" id="mounted">Mounted</span>
10338
- <ul aria-labelledby="mounted">
10339
- ${this.mounted.map(
10340
- (path) => b`<li>
10341
- <span class="path" title=${path}>${path}</span>
10342
- ${eject ? b`<swc-action-button
10343
- size="s"
10344
- quiet
10345
- data-action="eject"
10346
- data-path=${path}
10347
- accessible-label=${`Eject ${path}`}
10348
- ?pending=${this.ejecting.has(path)}
10349
- @click=${() => this.#eject(eject, path)}
10350
- >Eject</swc-action-button
10351
- >` : A}
10352
- </li>`
10353
- )}
10354
- </ul>
10355
- </section>`;
10531
+ list() {
10532
+ return [...this.#out];
10356
10533
  }
10357
- render() {
10358
- const files = this.model?.files;
10359
- return b`<div class="bar"><span class="total">${this.count} files</span><span class="spacer"></span>${this.#mountButton(files)}</div>
10360
- <div class="error" role="status" aria-live="polite">${this.error ? b`<swc-icon-alert-diamond size="s" aria-hidden="true"></swc-icon-alert-diamond><span>${this.error}</span>` : A}</div>
10361
- ${this.#waiting(files)}
10362
- ${this.#strip(files)}
10363
- <slicc-file-tree @file-open=${this.#open}></slicc-file-tree>`;
10534
+ has(id) {
10535
+ return this.#out.has(id);
10536
+ }
10537
+ detach(id) {
10538
+ if (this.#out.has(id)) return;
10539
+ this.#out.add(id);
10540
+ this.#storage?.setItem(this.key, JSON.stringify(this.list()));
10541
+ this.emit("change", this.list());
10364
10542
  }
10365
10543
  };
10366
- var SliccFileView = class extends ThemedElement {
10367
- static properties = {
10368
- ...ThemedElement.properties,
10369
- path: {},
10370
- text: { state: true },
10371
- missing: { state: true },
10372
- draft: { state: true },
10373
- saving: { state: true }
10374
- };
10375
- constructor() {
10376
- super();
10377
- this.path = "";
10378
- this.text = null;
10379
- this.missing = false;
10380
- this.draft = null;
10381
- this.saving = false;
10544
+ function dipsOf(node) {
10545
+ let current = node;
10546
+ while (current) {
10547
+ const found = current.dips;
10548
+ if (found instanceof Dips) return found;
10549
+ current = current.parentNode ?? current.host ?? null;
10382
10550
  }
10383
- static styles = [
10384
- shared,
10385
- panelCss,
10386
- i`
10387
- slicc-code-view {
10388
- flex: 1;
10389
- min-height: 0;
10390
- }
10391
- textarea {
10392
- flex: 1;
10393
- min-height: 0;
10394
- margin: 0;
10395
- padding: var(--swc-spacing-100) var(--swc-spacing-200);
10396
- border: 0;
10397
- resize: none;
10398
- background: var(--swc-background-layer-2-color);
10399
- color: var(--swc-code-color);
10400
- font-family: var(--swc-code-font-family-stack);
10401
- font-size: var(--swc-code-size-xs);
10402
- line-height: var(--swc-code-line-height);
10403
- tab-size: 2;
10404
- }
10405
- textarea:focus-visible {
10406
- outline: var(--swc-focus-indicator-thickness) solid var(--swc-focus-indicator-color);
10407
- outline-offset: calc(-1 * var(--swc-focus-indicator-thickness));
10551
+ return null;
10552
+ }
10553
+
10554
+ // src/app/fonts.ts
10555
+ var adobeClean = [
10556
+ ["Regular", 400],
10557
+ ["Medium", 500],
10558
+ ["Bold", 700],
10559
+ ["ExtraBold", 800]
10560
+ ];
10561
+ var code = [400, 600];
10562
+ var defaultFontBase = "/fonts/";
10563
+ var defaultVariableFont = "https://use.typekit.net/af/ca4cba/0000000000000000775c55a1/31/l?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n1&v=3";
10564
+ var installed = [];
10565
+ function fontFiles(base, codeBase) {
10566
+ const files = code.map((weight) => ({
10567
+ family: "Source Code Pro",
10568
+ weight,
10569
+ url: `${codeBase}source-code-pro-latin-${weight}-normal.woff2`,
10570
+ format: "woff2"
10571
+ }));
10572
+ if (base) {
10573
+ for (const family of ["adobe-clean", "Adobe Clean"]) {
10574
+ for (const [name, weight] of adobeClean) {
10575
+ files.push({ family, weight, url: `${base}AdobeClean-${name}.otf`, format: "opentype" });
10408
10576
  }
10409
- `
10410
- ];
10411
- edit() {
10412
- this.draft = this.text ?? "";
10413
- void this.updateComplete.then(() => this.focusOn("textarea"));
10577
+ }
10414
10578
  }
10415
- cancel() {
10416
- this.draft = null;
10579
+ return files;
10580
+ }
10581
+ function variableFile(url) {
10582
+ return url ? [{ family: "adobe-clean-spectrum-vf", weight: "100 900", url, format: "woff2" }] : [];
10583
+ }
10584
+ function allFiles(base, codeBase, variable) {
10585
+ return [...variableFile(variable), ...fontFiles(base, codeBase)];
10586
+ }
10587
+ function fontFaces(base, codeBase, variable) {
10588
+ return allFiles(base, codeBase, variable).map(
10589
+ (file) => `@font-face{font-family:"${file.family}";font-style:normal;font-weight:${file.weight};font-display:swap;src:url("${file.url}") format("${file.format}");}`
10590
+ ).join("\n");
10591
+ }
10592
+ function installedFonts() {
10593
+ return installed;
10594
+ }
10595
+ function installFonts(document2, base, codeBase, variable) {
10596
+ const existing = document2.head.querySelector("style[data-slicc-fonts]");
10597
+ const style = existing ?? document2.createElement("style");
10598
+ style.dataset.sliccFonts = "";
10599
+ style.textContent = fontFaces(base, codeBase, variable);
10600
+ installed = allFiles(base, codeBase, variable);
10601
+ if (!existing) document2.head.append(style);
10602
+ return style;
10603
+ }
10604
+
10605
+ // src/app/grammars.ts
10606
+ var grammarCdn = "https://cdn.jsdelivr.net/npm/@shikijs/";
10607
+ var local = null;
10608
+ function setGrammarBase(base) {
10609
+ local = base;
10610
+ }
10611
+ function grammarBase() {
10612
+ return local;
10613
+ }
10614
+ function grammarUrls(kind, name, version2, remote, base = local, page = globalThis.document?.baseURI ?? "http://localhost/") {
10615
+ const urls = [];
10616
+ if (base) {
10617
+ const folder2 = base.endsWith("/") ? base : `${base}/`;
10618
+ urls.push(new URL(`${kind}/dist/${name}.mjs`, new URL(folder2, page)).href);
10417
10619
  }
10418
- async save() {
10419
- const model = this.model;
10420
- if (!model || this.draft === null) return;
10421
- const draft = this.draft;
10422
- this.saving = true;
10620
+ urls.push(`${remote}${kind}@${version2}/dist/${name}.mjs`);
10621
+ return urls;
10622
+ }
10623
+ async function grammar(kind, name, version2, remote = grammarCdn, importer = (url) => import(url)) {
10624
+ let failure2;
10625
+ for (const url of grammarUrls(kind, name, version2, remote)) {
10423
10626
  try {
10424
- await model.files.write(this.path, draft);
10425
- this.text = draft;
10426
- this.missing = false;
10427
- if (this.draft === draft) this.draft = null;
10428
- } finally {
10429
- this.saving = false;
10627
+ return await importer(url);
10628
+ } catch (error) {
10629
+ failure2 = error;
10430
10630
  }
10431
10631
  }
10432
- #keydown(event2) {
10433
- if (event2.key === "Escape") {
10434
- event2.preventDefault();
10435
- this.cancel();
10436
- } else if (event2.key === "s" && (event2.metaKey || event2.ctrlKey)) {
10437
- event2.preventDefault();
10438
- void this.save();
10439
- }
10632
+ throw failure2;
10633
+ }
10634
+
10635
+ // node_modules/@adobe/spectrum-wc-icons/dist/AlertTriangle.js
10636
+ function e76() {
10637
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M10 15.123a.9.9 0 0 1-.627-.228.956.956 0 0 1 0-1.285.87.87 0 0 1 .626-.234c.237-.01.466.08.633.247a.86.86 0 0 1 .242.627.88.88 0 0 1-.228.639.86.86 0 0 1-.647.234M10 11.75a.75.75 0 0 1-.75-.75V7a.75.75 0 0 1 1.5 0v4a.75.75 0 0 1-.75.75"/><path fill="var(--swc-icon-color, currentColor)" d="M16.733 18H3.267c-.8 0-1.523-.41-1.933-1.098s-.427-1.518-.046-2.222L8.02 2.232a2.248 2.248 0 0 1 3.958 0l6.733 12.448c.381.704.364 1.535-.046 2.222S17.534 18 16.733 18M10 2.553a.73.73 0 0 0-.66.392L2.607 15.393a.74.74 0 0 0 .016.74.74.74 0 0 0 .644.367h13.466a.74.74 0 0 0 .644-.366.74.74 0 0 0 .016-.741L10.66 2.945a.73.73 0 0 0-.66-.392"/></svg>';
10638
+ }
10639
+
10640
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-alert-triangle.js
10641
+ var o50 = class extends a10 {
10642
+ static get styles() {
10643
+ return [t40];
10440
10644
  }
10441
- #actions() {
10442
- if (this.draft === null) {
10443
- return b`<swc-action-button size="s" quiet ?disabled=${this.text === null} @click=${() => this.edit()}>
10444
- <swc-icon-edit slot="icon"></swc-icon-edit>Edit
10445
- </swc-action-button>`;
10446
- }
10447
- return b`<swc-action-button size="s" quiet @click=${() => this.cancel()}>Cancel</swc-action-button>
10448
- <swc-button size="s" variant="accent" ?pending=${this.saving} ?disabled=${this.saving} @click=${() => this.save()}
10449
- >Save</swc-button
10450
- >`;
10645
+ render() {
10646
+ return b`
10647
+ <span class="swc-Icon">${o16(e76())}</span>
10648
+ `;
10451
10649
  }
10452
- #body(change) {
10453
- if (this.draft !== null) {
10454
- return b`<textarea
10455
- aria-label=${`Edit ${this.path}`}
10456
- spellcheck="false"
10457
- .value=${this.draft}
10458
- @input=${(event2) => {
10459
- this.draft = event2.target.value;
10460
- }}
10461
- @keydown=${this.#keydown}
10462
- ></textarea>`;
10463
- }
10464
- if (this.missing) {
10465
- return b`<div class="note">This file doesn’t exist${change ? " any more" : ""}.</div>`;
10466
- }
10467
- return b`<slicc-code-view path=${this.path} color=${this.color} .contents=${this.text}></slicc-code-view>`;
10650
+ };
10651
+ e25("swc-icon-alert-triangle", o50);
10652
+
10653
+ // node_modules/@adobe/spectrum-wc-icons/dist/Cloud.js
10654
+ function e77() {
10655
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M15.407 17H3.717a3.456 3.456 0 0 1-3.45-3.452 3.45 3.45 0 0 1 2.323-3.25 4 4 0 0 1-.065-.702c0-2.18 1.81-3.953 4.034-3.953q.42 0 .831.087c.637-1.958 2.476-3.346 4.589-3.346a4.85 4.85 0 0 1 4.844 4.844q0 .659-.187 1.298a4.32 4.32 0 0 1 3.103 4.142A4.337 4.337 0 0 1 15.407 17M6.559 7.143c-1.397 0-2.534 1.1-2.534 2.453q.001.5.206.965a.75.75 0 0 1-.637 1.051 1.95 1.95 0 0 0-1.828 1.936c0 1.076.876 1.952 1.952 1.952h11.689a2.835 2.835 0 0 0 2.832-2.832 2.826 2.826 0 0 0-2.682-2.814.75.75 0 0 1-.625-1.095c.26-.5.39-1.015.39-1.531 0-1.844-1.5-3.344-3.344-3.344-1.662 0-3.08 1.252-3.297 2.912a.75.75 0 0 1-1.054.585 2.6 2.6 0 0 0-1.068-.238"/></svg>';
10656
+ }
10657
+
10658
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-cloud.js
10659
+ var o51 = class extends a10 {
10660
+ static get styles() {
10661
+ return [t40];
10468
10662
  }
10469
- subscribe(model) {
10470
- void this.#read(model);
10471
- return [
10472
- ...super.subscribe(model),
10473
- model.files.on("file", (path) => {
10474
- if (path === this.path) void this.#read(model);
10475
- }),
10476
- changesOf(model).on("changes", () => this.requestUpdate())
10477
- ];
10663
+ render() {
10664
+ return b`
10665
+ <span class="swc-Icon">${o16(e77())}</span>
10666
+ `;
10478
10667
  }
10479
- async #read(model) {
10480
- try {
10481
- this.text = await model.files.read(this.path);
10482
- this.missing = false;
10483
- } catch {
10484
- this.text = null;
10485
- this.missing = true;
10486
- }
10668
+ };
10669
+ e25("swc-icon-cloud", o51);
10670
+
10671
+ // node_modules/@adobe/spectrum-wc-icons/dist/CloudStateError.js
10672
+ function e78() {
10673
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M15.5 9.021a4.5 4.5 0 1 0 0 9c2.485 0 4.48-2.015 4.48-4.5s-1.995-4.5-4.48-4.5m.95 6.895c0 .472-.425.855-.95.855s-.95-.383-.95-.855v-.289c0-.472.425-.856.95-.856s.95.384.95.856zm-.075-2.495c0 .414-.392.75-.875.75s-.875-.336-.875-.75v-2.65c0-.414.392-.75.875-.75s.875.336.875.75z"/><path fill="var(--swc-icon-color, currentColor)" d="M9.25 16.998H3.718a3.455 3.455 0 0 1-3.452-3.451 3.45 3.45 0 0 1 2.324-3.25 4 4 0 0 1-.065-.703c0-2.18 1.81-3.952 4.034-3.952q.42 0 .83.087c.638-1.958 2.477-3.347 4.59-3.347a4.826 4.826 0 0 1 4.818 4.35.75.75 0 1 1-1.492.15 3.33 3.33 0 0 0-3.326-3c-1.664 0-3.08 1.252-3.297 2.912a.752.752 0 0 1-1.054.586 2.6 2.6 0 0 0-1.07-.238c-1.396 0-2.533 1.1-2.533 2.452q.001.5.206.965a.75.75 0 0 1-.637 1.051 1.95 1.95 0 0 0-1.828 1.937c0 1.076.876 1.951 1.952 1.951H9.25a.75.75 0 0 1 0 1.5"/></svg>';
10674
+ }
10675
+
10676
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-cloud-state-error.js
10677
+ var o52 = class extends a10 {
10678
+ static get styles() {
10679
+ return [t40];
10487
10680
  }
10488
10681
  render() {
10489
- const port = this.model ? changesOf(this.model) : null;
10490
- const change = port && !port.unavailable?.() ? port.changes().find((candidate) => candidate.path === this.path) : void 0;
10491
- const by = change && author(this.model, change);
10492
- return b`<div class="bar">
10493
- <span class="path" title=${this.path}>${this.path}</span>
10494
- <span class="spacer"></span>
10495
- ${change ? b`${statusMark(change.status, false)}
10496
- <span>${by ? `${statusLabels[change.status]} by ${by}` : statusLabels[change.status]}</span>
10497
- <swc-action-button size="s" quiet @click=${() => request(this, "open-diff", this.path)}>
10498
- <swc-icon-compare slot="icon"></swc-icon-compare>Diff
10499
- </swc-action-button>` : A}
10500
- ${this.#actions()}
10501
- </div>
10502
- ${this.#body(change)}`;
10682
+ return b`
10683
+ <span class="swc-Icon">${o16(e78())}</span>
10684
+ `;
10503
10685
  }
10504
10686
  };
10687
+ e25("swc-icon-cloud-state-error", o52);
10505
10688
 
10506
- // src/app/freezer.ts
10507
- function ago(at, now = Date.now()) {
10508
- const days = Math.floor((now - at) / 864e5);
10509
- if (days <= 0) return "today";
10510
- if (days === 1) return "yesterday";
10511
- if (days < 14) return `${days} days ago`;
10512
- return `${Math.floor(days / 7)} weeks ago`;
10689
+ // node_modules/@adobe/spectrum-wc-icons/dist/CloudStateOnline.js
10690
+ function e79() {
10691
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M9.25 17.002H3.718A3.455 3.455 0 0 1 .266 13.55 3.45 3.45 0 0 1 2.59 10.3a4 4 0 0 1-.065-.703c0-2.18 1.81-3.952 4.034-3.952q.42 0 .83.087c.638-1.959 2.477-3.347 4.59-3.347a4.85 4.85 0 0 1 4.843 4.844q0 .464-.093.92a.745.745 0 0 1-.885.583.75.75 0 0 1-.584-.884q.061-.307.062-.619c0-1.844-1.5-3.344-3.343-3.344-1.664 0-3.08 1.252-3.297 2.912a.752.752 0 0 1-1.054.586 2.6 2.6 0 0 0-1.07-.238c-1.396 0-2.533 1.1-2.533 2.452q.001.5.206.965a.75.75 0 0 1-.637 1.051 1.95 1.95 0 0 0-1.828 1.937c0 1.076.876 1.951 1.952 1.951H9.25a.75.75 0 0 1 0 1.5"/><path fill="var(--swc-icon-color, currentColor)" d="M18.503 13.434a.75.75 0 0 1-.53-.22 4.88 4.88 0 0 0-3.472-1.442h-.006a4.87 4.87 0 0 0-3.462 1.433.75.75 0 1 1-1.06-1.06 6.35 6.35 0 0 1 4.522-1.873h.007c1.712.002 3.32.67 4.531 1.881a.75.75 0 0 1-.53 1.28"/><path fill="var(--swc-icon-color, currentColor)" d="M16.384 15.544a.75.75 0 0 1-.53-.22 1.916 1.916 0 0 0-2.706-.004.75.75 0 1 1-1.06-1.06 3.4 3.4 0 0 1 2.41-.998h.003a3.4 3.4 0 0 1 2.413 1.002.75.75 0 0 1-.53 1.28"/><path fill="var(--swc-icon-color, currentColor)" d="M15.136 17.64a.897.897 0 0 1-1.27.001.9.9 0 1 1 1.27-.001" data-name="Path 1027855"/></svg>';
10513
10692
  }
10514
- var SliccFreezer = class extends ModelElement {
10515
- static styles = [
10516
- shared,
10517
- panelCss,
10518
- i`
10519
- .list {
10520
- flex: 1;
10521
- min-height: 0;
10522
- overflow-y: auto;
10523
- padding: var(--swc-spacing-100);
10524
- display: grid;
10525
- grid-template-columns: minmax(0, 1fr);
10526
- align-content: start;
10527
- gap: var(--swc-spacing-100);
10528
- }
10529
- .card {
10530
- display: grid;
10531
- gap: var(--swc-spacing-50);
10532
- border-radius: var(--swc-corner-radius-medium-default);
10533
- padding: var(--swc-spacing-100) var(--swc-spacing-200);
10534
- background: var(--swc-background-layer-1-color);
10535
- }
10536
- .name {
10537
- display: flex;
10538
- flex-wrap: wrap;
10539
- align-items: center;
10540
- gap: var(--swc-spacing-75) var(--swc-spacing-100);
10541
- font-weight: var(--swc-bold-font-weight);
10542
- }
10543
- .title {
10544
- display: -webkit-box;
10545
- -webkit-box-orient: vertical;
10546
- -webkit-line-clamp: 2;
10547
- overflow: hidden;
10548
- overflow-wrap: anywhere;
10549
- line-height: var(--swc-line-height-100);
10550
- }
10551
- .meta {
10552
- color: var(--swc-neutral-subdued-content-color-default);
10553
- }
10554
- .actions {
10555
- display: flex;
10556
- gap: var(--swc-spacing-75);
10557
- margin-inline-start: calc(-1 * var(--swc-spacing-100));
10558
- }
10559
- `
10560
- ];
10561
- subscribe(model) {
10562
- const update = () => this.requestUpdate();
10563
- return [
10564
- model.agent.on("frozen", update),
10565
- model.agent.on("active", update),
10566
- model.agent.on("agents", update)
10567
- ];
10693
+
10694
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-cloud-state-online.js
10695
+ var o53 = class extends a10 {
10696
+ static get styles() {
10697
+ return [t40];
10568
10698
  }
10569
- focus() {
10570
- this.focusOn("swc-action-button");
10699
+ render() {
10700
+ return b`
10701
+ <span class="swc-Icon">${o16(e79())}</span>
10702
+ `;
10703
+ }
10704
+ };
10705
+ e25("swc-icon-cloud-state-online", o53);
10706
+
10707
+ // node_modules/@adobe/spectrum-wc-icons/dist/CloudStateSlowConnection.js
10708
+ function e80() {
10709
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M8.946 16.998H3.718a3.455 3.455 0 0 1-3.452-3.451 3.45 3.45 0 0 1 2.324-3.25 4 4 0 0 1-.065-.703c0-2.18 1.81-3.952 4.034-3.952q.42 0 .83.087c.638-1.958 2.477-3.347 4.59-3.347a4.826 4.826 0 0 1 4.818 4.35.75.75 0 1 1-1.492.15 3.33 3.33 0 0 0-3.326-3c-1.664 0-3.08 1.252-3.297 2.912a.752.752 0 0 1-1.054.586 2.6 2.6 0 0 0-1.07-.238c-1.396 0-2.533 1.1-2.533 2.452q.001.5.206.965a.75.75 0 0 1-.637 1.051 1.95 1.95 0 0 0-1.828 1.937c0 1.076.876 1.951 1.952 1.951h5.228a.75.75 0 0 1 0 1.5M19 16.271v-7a.75.75 0 0 0-1.5 0v7a.75.75 0 0 0 1.5 0m-3 0v-5a.75.75 0 0 0-1.5 0v5a.75.75 0 0 0 1.5 0"/><path fill="var(--swc-icon-color, currentColor)" d="M13 16.271v-3a.75.75 0 0 0-1.5 0v3a.75.75 0 0 0 1.5 0"/></svg>';
10710
+ }
10711
+
10712
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-cloud-state-slow-connection.js
10713
+ var o54 = class extends a10 {
10714
+ static get styles() {
10715
+ return [t40];
10571
10716
  }
10572
- async #delete(cone) {
10573
- const body4 = `Removes ${cone.name} and its scoops\u2019 working folders from SLICC. You can\u2019t undo this. Its history stays in the session database.`;
10574
- if (await confirm({ title: `Delete ${cone.name}?`, body: body4, action: "Delete" }))
10575
- this.model?.agent.discard(cone.id);
10717
+ render() {
10718
+ return b`
10719
+ <span class="swc-Icon">
10720
+ ${o16(e80())}
10721
+ </span>
10722
+ `;
10576
10723
  }
10577
- #card(cone) {
10578
- const model = this.model;
10579
- const label = model.settings.models().find((option2) => option2.id === cone.model)?.label ?? cone.model;
10580
- return b`<div class="card" data-id=${cone.id}>
10581
- <div class="name">${cone.name}<swc-badge size="s" variant="neutral" subtle>${label}</swc-badge></div>
10582
- <div class="title" title=${cone.title}>${cone.title}</div>
10583
- <div class="meta">${cone.messages} messages · frozen ${ago(cone.frozenAt)}</div>
10584
- <div class="actions">
10585
- <swc-action-button size="s" quiet accessible-label=${`Thaw ${cone.name}`} @click=${() => model.agent.thaw(cone.id)}>Thaw</swc-action-button>
10586
- <swc-action-button size="s" quiet accessible-label=${`Delete ${cone.name}`} @click=${() => this.#delete(cone)}>Delete</swc-action-button>
10587
- </div>
10588
- </div>`;
10724
+ };
10725
+ e25("swc-icon-cloud-state-slow-connection", o54);
10726
+
10727
+ // node_modules/@adobe/spectrum-wc-icons/dist/Copy.js
10728
+ function e81() {
10729
+ return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M11.75 18h-7.5C3.01 18 2 16.99 2 15.75v-7.5C2 7.01 3.01 6 4.25 6a.75.75 0 0 1 0 1.5.75.75 0 0 0-.75.75v7.5c0 .413.337.75.75.75h7.5c.413 0 .75-.337.75-.75a.75.75 0 0 1 1.5 0c0 1.24-1.01 2.25-2.25 2.25m-5-13A.75.75 0 0 1 6 4.25C6 3.01 7.01 2 8.25 2a.75.75 0 0 1 0 1.5.75.75 0 0 0-.75.75.75.75 0 0 1-.75.75M13 3.5h-2A.75.75 0 0 1 11 2h2a.75.75 0 0 1 0 1.5"/><path fill="var(--swc-icon-color, currentColor)" d="M13 14h-2a.75.75 0 0 1 0-1.5h2a.75.75 0 0 1 0 1.5m2.75 0a.75.75 0 0 1 0-1.5c.413 0 .75-.337.75-.75a.75.75 0 0 1 1.5 0c0 1.24-1.01 2.25-2.25 2.25m1.5-9a.75.75 0 0 1-.75-.75.75.75 0 0 0-.75-.75.75.75 0 0 1 0-1.5C16.99 2 18 3.01 18 4.25a.75.75 0 0 1-.75.75m0 4.75A.75.75 0 0 1 16.5 9V7A.75.75 0 0 1 18 7v2a.75.75 0 0 1-.75.75m-10.5 0A.75.75 0 0 1 6 9V7a.75.75 0 0 1 1.5 0v2a.75.75 0 0 1-.75.75M8.25 14C7.01 14 6 12.99 6 11.75a.75.75 0 0 1 1.5 0c0 .413.337.75.75.75a.75.75 0 0 1 0 1.5"/></svg>';
10730
+ }
10731
+
10732
+ // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-copy.js
10733
+ var o55 = class extends a10 {
10734
+ static get styles() {
10735
+ return [t40];
10589
10736
  }
10590
10737
  render() {
10591
- const model = this.model;
10592
- const cones = model?.agent.frozen() ?? [];
10593
- const active = model?.agent.list().find((agent) => agent.id === model.agent.active());
10594
- return b`<div class="bar">
10595
- <span>${cones.length} frozen ${cones.length === 1 ? "cone" : "cones"}</span><span class="spacer"></span>
10596
- ${active?.kind === "cone" && !active.frozen && model?.agent.freeze ? b`<swc-action-button size="s" quiet @click=${() => model.agent.freeze?.(active.id)}>Freeze ${active.name}</swc-action-button>` : ""}
10597
- </div>
10598
- <div class="list">
10599
- ${cones.length ? cones.map((cone) => this.#card(cone)) : b`<div class="note">Nothing frozen. Freeze a cone to archive it with its scoops.</div>`}
10600
- </div>`;
10738
+ return b`
10739
+ <span class="swc-Icon">${o16(e81())}</span>
10740
+ `;
10601
10741
  }
10602
10742
  };
10743
+ e25("swc-icon-copy", o55);
10744
+
10745
+ // node_modules/@adobe/spectrum-wc/dist/link.css
10746
+ var link_default = '/**\n * Copyright 2026 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/**\n * Standalone link presentation for native `<a href>` elements.\n *\n * Default anchor appearance inside `.swc-Typography--prose` and\n * `.swc-Typography--links` ships with `typography.css` (generated). Import this\n * stylesheet when authors need explicit BEM modifiers on anchors.\n *\n */\n\n.swc-Link {\n inline-size: -moz-fit-content;\n inline-size: fit-content;\n font-family: var(--swc-sans-font-family-stack);\n font-size: var(--swc-font-size-100);\n font-style: normal;\n font-weight: 400;\n line-height: 1.30;\n color: var(--swc-link-text-color-default, var(--swc-accent-color-900));\n -webkit-text-decoration: underline;\n text-decoration: underline;\n text-decoration-thickness: 1px;\n text-underline-offset: 1px;\n transition: color 130ms ease-in-out;\n\n &:hover {\n color: var(--swc-link-text-color-hover, var(--swc-accent-color-1000));\n }\n\n &:active {\n color: var(--swc-link-text-color-down, var(--swc-accent-color-1000));\n }\n\n &:focus-visible {\n color: var(--swc-link-text-color-focus, var(--swc-accent-color-1000));\n border-radius: 4px;\n outline: 2px solid var(--swc-link-focus-indicator-color, var(--swc-blue-800));\n outline-offset: 2px;\n }\n\n &:lang(ja),\n &:lang(zh),\n &:lang(ko) {\n line-height: 1.50;\n }\n}\n\n.swc-Link--standalone {\n font-weight: 500;\n}\n\n.swc-Link--secondary {\n --swc-link-text-color-default: var(--swc-gray-800);\n --swc-link-text-color-hover: var(--swc-gray-900);\n --swc-link-text-color-down: var(--swc-gray-900);\n --swc-link-text-color-focus: var(--swc-gray-900);\n}\n\n.swc-Link--staticWhite {\n --swc-link-text-color-default: var(--swc-white);\n --swc-link-text-color-hover: var(--swc-white);\n --swc-link-text-color-down: var(--swc-white);\n --swc-link-text-color-focus: var(--swc-white);\n --swc-link-focus-indicator-color: var(--swc-white);\n}\n\n.swc-Link--staticBlack {\n --swc-link-text-color-default: var(--swc-black);\n --swc-link-text-color-hover: var(--swc-black);\n --swc-link-text-color-down: var(--swc-black);\n --swc-link-text-color-focus: var(--swc-black);\n --swc-link-focus-indicator-color: var(--swc-black);\n}\n\n.swc-Link--quiet.swc-Link--standalone {\n -webkit-text-decoration: none;\n text-decoration: none;\n}\n\n.swc-Link--quiet.swc-Link--standalone:hover {\n -webkit-text-decoration: underline;\n text-decoration: underline;\n}\n';
10603
10747
 
10604
10748
  // src/app/network.ts
10605
10749
  var command = "npx @ai-ecoverse/slicc-node";
@@ -14559,7 +14703,7 @@ ${swc_default}`));
14559
14703
  var t45 = i`:host{display:block}*{box-sizing:border-box}.swc-Divider{--_swc-divider-thickness: var(--swc-divider-thickness, 2px);inline-size:100%;block-size:var(--_swc-divider-thickness);background-color:var(--swc-divider-background-color, var(--swc-gray-200));border-radius:var(--_swc-divider-thickness)}:host([size=\"s\"]){--swc-divider-thickness: 1px}:host([size=\"l\"]){--swc-divider-thickness: 4px;--swc-divider-background-color: var(--swc-gray-800)}.swc-Divider:not(.swc-Divider--vertical){min-inline-size:min(100%,200px)}:host([vertical]){align-self:stretch}.swc-Divider--vertical{inline-size:var(--_swc-divider-thickness);block-size:100%;min-block-size:min(100%,200px)}.swc-Divider--staticWhite{--swc-divider-background-color: rgba(255, 255, 255, .14)}.swc-Divider--staticWhite:where(.swc-Divider--sizeL){--swc-divider-background-color: rgba(255, 255, 255, .85)}.swc-Divider--staticBlack{--swc-divider-background-color: rgba(0, 0, 0, .12)}.swc-Divider--staticBlack:where(.swc-Divider--sizeL){--swc-divider-background-color: rgba(0, 0, 0, .84)}@media(forced-colors:active){.swc-Divider{--swc-divider-background-color: CanvasText}}`;
14560
14704
 
14561
14705
  // node_modules/@adobe/spectrum-wc-core/dist/components/divider/Divider.types.js
14562
- var e81 = [
14706
+ var e82 = [
14563
14707
  "s",
14564
14708
  "m",
14565
14709
  "l"
@@ -14568,7 +14712,7 @@ var t46 = ["white", "black"];
14568
14712
 
14569
14713
  // node_modules/@adobe/spectrum-wc-core/dist/components/divider/Divider.base.js
14570
14714
  var s10;
14571
- var c18 = class extends i12(i9, { validSizes: e81 }) {
14715
+ var c18 = class extends i12(i9, { validSizes: e82 }) {
14572
14716
  constructor(...e105) {
14573
14717
  super(...e105), this.vertical = false;
14574
14718
  }
@@ -14627,7 +14771,7 @@ e25("swc-divider", a13);
14627
14771
  var t47 = i`:host([indeterminate]) .swc-LinearProgress-fill{inline-size:100%;min-inline-size:0;transform-origin:left;transition:none;animation:indeterminate-loop-ltr 1s cubic-bezier(.45,0,.4,1) infinite;will-change:transform;&:dir(rtl){animation-name:indeterminate-loop-rtl}}@keyframes indeterminate-loop-ltr{0%{transform:translate(-70%) scaleX(.7)}to{transform:translate(100%) scaleX(.7)}}@keyframes indeterminate-loop-rtl{0%{transform:translate(100%) scaleX(.7)}to{transform:translate(-70%) scaleX(.7)}}@media(prefers-reduced-motion:reduce){:host([indeterminate]) .swc-LinearProgress-fill{animation-duration:15s;animation-timing-function:linear}}`;
14628
14772
 
14629
14773
  // node_modules/@adobe/spectrum-wc-core/dist/components/progress-bar/ProgressBar.base.js
14630
- var o55 = class extends m3(i12(i9, {
14774
+ var o56 = class extends m3(i12(i9, {
14631
14775
  validSizes: s6,
14632
14776
  defaultSize: "m"
14633
14777
  })) {
@@ -14638,10 +14782,10 @@ var o55 = class extends m3(i12(i9, {
14638
14782
  e24([n({
14639
14783
  type: Boolean,
14640
14784
  reflect: true
14641
- })], o55.prototype, "indeterminate", void 0);
14785
+ })], o56.prototype, "indeterminate", void 0);
14642
14786
 
14643
14787
  // node_modules/@adobe/spectrum-wc/dist/components/progress-bar/ProgressBar.js
14644
- var o56 = class extends o55 {
14788
+ var o57 = class extends o56 {
14645
14789
  static get styles() {
14646
14790
  return [t26, t47];
14647
14791
  }
@@ -14690,7 +14834,7 @@ var o56 = class extends o55 {
14690
14834
  };
14691
14835
 
14692
14836
  // node_modules/@adobe/spectrum-wc/dist/components/progress-bar/swc-progress-bar.js
14693
- e25("swc-progress-bar", o56);
14837
+ e25("swc-progress-bar", o57);
14694
14838
 
14695
14839
  // src/app/updates.ts
14696
14840
  var states = {
@@ -15006,6 +15150,7 @@ function changeCount(count) {
15006
15150
  }
15007
15151
  var allAgents = "slicc:all-agents";
15008
15152
  var newCone = "slicc:new-cone";
15153
+ var deleteActiveCone = "slicc:delete-cone";
15009
15154
  var railPitch = 52;
15010
15155
  var phoneRail = ["agents", "files", "changes", "terminal", "browser"];
15011
15156
  function railCapacity(width, count) {
@@ -15231,6 +15376,13 @@ var SliccApp = class extends ThemedElement {
15231
15376
  sp-picker {
15232
15377
  min-width: calc(var(--swc-spacing-400) * 8);
15233
15378
  }
15379
+ header sp-menu-item [slot='description'] {
15380
+ display: block;
15381
+ max-inline-size: calc(var(--swc-spacing-1000) * 4);
15382
+ overflow: hidden;
15383
+ text-overflow: ellipsis;
15384
+ white-space: nowrap;
15385
+ }
15234
15386
  slicc-dock {
15235
15387
  height: 100%;
15236
15388
  }
@@ -15255,6 +15407,7 @@ var SliccApp = class extends ThemedElement {
15255
15407
  update();
15256
15408
  }),
15257
15409
  changesOf(model).on("changes", update),
15410
+ watchTitles(model, update),
15258
15411
  model.terminals.on("terminals", () => {
15259
15412
  this.#prune();
15260
15413
  update();
@@ -15572,6 +15725,10 @@ var SliccApp = class extends ThemedElement {
15572
15725
  else if (value === "theme") this.toggleColor();
15573
15726
  else this.show(value);
15574
15727
  }
15728
+ #deletable() {
15729
+ const cone = this.model?.agent.list().find((agent) => agent.id === this.#cone());
15730
+ return Boolean(cone && !cone.frozen && this.model?.agent.freeze);
15731
+ }
15575
15732
  #cone() {
15576
15733
  const agent = this.#active();
15577
15734
  return agent?.kind === "scoop" ? agent.parentId ?? "" : agent?.id ?? "";
@@ -15588,8 +15745,20 @@ var SliccApp = class extends ThemedElement {
15588
15745
  void this.#newCone(picker);
15589
15746
  return;
15590
15747
  }
15748
+ if (picker.value === deleteActiveCone) {
15749
+ picker.value = this.#cone();
15750
+ void this.#deleteCone(picker);
15751
+ return;
15752
+ }
15591
15753
  this.model?.agent.select(picker.value);
15592
15754
  }
15755
+ async #deleteCone(trigger2) {
15756
+ const model = this.model;
15757
+ const cone = model.agent.list().find((agent) => agent.id === this.#cone());
15758
+ if (!await deleteCone(model, cone, trigger2)) return;
15759
+ await this.updateComplete;
15760
+ this.renderRoot.querySelector("header sp-picker")?.focus();
15761
+ }
15593
15762
  async #newCone(trigger2) {
15594
15763
  const port = this.model?.agent;
15595
15764
  const create3 = port?.createCone?.bind(port);
@@ -15654,8 +15823,9 @@ var SliccApp = class extends ThemedElement {
15654
15823
  ${this.#offers("chat") ? i17(
15655
15824
  cones.map((agent) => agent.id).join(" "),
15656
15825
  b`<sp-picker size="s" label="Agent" value=${this.#cone()} @change=${this.#pick}>
15657
- ${cones.map((agent) => b`<sp-menu-item value=${agent.id}>${agent.name}</sp-menu-item>`)}
15826
+ ${cones.map((agent) => b`<sp-menu-item value=${agent.id}>${agent.name}<span slot="description">${agentTitle(this.model, agent) || untitled}</span></sp-menu-item>`)}
15658
15827
  ${this.model?.agent.createCone ? b`<sp-menu-divider></sp-menu-divider><sp-menu-item value=${newCone} data-action="new-cone"><swc-icon-add slot="icon"></swc-icon-add>New cone</sp-menu-item>` : A}
15828
+ ${this.#deletable() ? b`${this.model?.agent.createCone ? A : b`<sp-menu-divider></sp-menu-divider>`}<sp-menu-item value=${deleteActiveCone} data-action="delete-cone"><swc-icon-delete slot="icon"></swc-icon-delete>Delete cone</sp-menu-item>` : A}
15659
15829
  ${this.#offers("agents") ? b`<sp-menu-divider></sp-menu-divider><sp-menu-item value=${allAgents}>Show all agents</sp-menu-item>` : A}
15660
15830
  </sp-picker>`
15661
15831
  ) : A}
@@ -15706,7 +15876,7 @@ var SliccApp = class extends ThemedElement {
15706
15876
  };
15707
15877
 
15708
15878
  // node_modules/@adobe/spectrum-wc/dist/components/ui-icons/ui-icons.types.js
15709
- var e82 = [
15879
+ var e83 = [
15710
15880
  50,
15711
15881
  75,
15712
15882
  100,
@@ -15726,7 +15896,7 @@ function n29(e105) {
15726
15896
  }
15727
15897
  function r26(t86, r38) {
15728
15898
  if (!t86) return;
15729
- let i25 = n29(r38), a22 = e82.filter((e105) => t86[e105] !== void 0);
15899
+ let i25 = n29(r38), a22 = e83.filter((e105) => t86[e105] !== void 0);
15730
15900
  if (a22.length !== 0) return t86[a22.reduce((e105, t87) => Math.abs(t87 - i25) < Math.abs(e105 - i25) ? t87 : e105)];
15731
15901
  }
15732
15902
 
@@ -16401,7 +16571,7 @@ e25("swc-close-button", c19);
16401
16571
  var t63 = i`@keyframes swc-fills-rotate{0%{transform:rotate(var(--swc-progress-circle-rotate-start, -90deg))}to{transform:rotate(var(--swc-progress-circle-rotate-end, 270deg))}}@keyframes swc-dashoffset-animation{0%,to{stroke-dashoffset:75px}30%{stroke-dashoffset:var(--swc-progress-circle-dashoffset-30, 20px)}}:host{display:inline-block;align-self:center;justify-self:center;place-self:center}*{box-sizing:border-box}.swc-ProgressCircle{--_swc-progress-circle-size: var(--swc-progress-circle-size, var(--swc-progress-circle-size-medium));--_swc-progress-circle-track-border-color: var(--swc-progress-circle-track-border-color, var(--swc-gray-300));--_swc-progress-circle-fill-border-color: var(--swc-progress-circle-fill-border-color, var(--swc-accent-color-900));--_swc-progress-circle-thickness: var(--swc-progress-circle-thickness, var(--swc-progress-circle-thickness-medium));display:inline-block;position:relative;inline-size:var(--_swc-progress-circle-size);block-size:var(--_swc-progress-circle-size);direction:ltr;transform:translateZ(0)}.swc-ProgressCircle-fill,.swc-ProgressCircle-track{inline-size:var(--_swc-progress-circle-size);block-size:var(--_swc-progress-circle-size)}.swc-ProgressCircle-track{stroke:var(--_swc-progress-circle-track-border-color);stroke-width:var(--_swc-progress-circle-thickness)}.swc-ProgressCircle-fill{stroke:var(--_swc-progress-circle-fill-border-color);stroke-width:var(--_swc-progress-circle-thickness);transform:rotate(-90deg);transform-origin:center}.swc-ProgressCircle--indeterminate .swc-ProgressCircle-fill{transform-origin:center;animation:swc-fills-rotate 1s cubic-bezier(.6,.1,.3,.9) infinite,swc-dashoffset-animation 1s cubic-bezier(.25,.1,.25,1.3) infinite;will-change:transform}:host([size=\"s\"]){--swc-progress-circle-size: var(--swc-progress-circle-size-small);--swc-progress-circle-thickness: var(--swc-progress-circle-thickness-small)}:host([size=\"l\"]){--swc-progress-circle-size: var(--swc-progress-circle-size-large);--swc-progress-circle-thickness: var(--swc-progress-circle-thickness-large)}.swc-ProgressCircle:where(.swc-ProgressCircle--staticWhite){--swc-progress-circle-track-border-color: var(--swc-transparent-white-300);--swc-progress-circle-fill-border-color: var(--swc-transparent-white-900)}.swc-ProgressCircle:where(.swc-ProgressCircle--staticBlack){--swc-progress-circle-track-border-color: var(--swc-transparent-black-300);--swc-progress-circle-fill-border-color: var(--swc-transparent-black-900)}@media(prefers-reduced-motion:reduce){.swc-ProgressCircle--indeterminate .swc-ProgressCircle-fill{--swc-progress-circle-dashoffset-30: 0;--swc-progress-circle-rotate-start: 0deg;--swc-progress-circle-rotate-end: 360deg;animation-duration:15s;animation-timing-function:linear,linear}}@media(forced-colors:active){.swc-ProgressCircle{--swc-progress-circle-fill-border-color: Highlight;@media(prefers-color-scheme:dark){--swc-progress-circle-track-border-color: var(--swc-transparent-white-300)}@media(prefers-color-scheme:light){--swc-progress-circle-track-border-color: var(--swc-transparent-black-300)}}}`;
16402
16572
 
16403
16573
  // node_modules/@adobe/spectrum-wc-core/dist/components/progress-circle/ProgressCircle.types.js
16404
- var e83 = [
16574
+ var e84 = [
16405
16575
  "s",
16406
16576
  "m",
16407
16577
  "l"
@@ -16410,7 +16580,7 @@ var t64 = ["white", "black"];
16410
16580
 
16411
16581
  // node_modules/@adobe/spectrum-wc-core/dist/components/progress-circle/ProgressCircle.base.js
16412
16582
  var u18;
16413
- var d13 = class e84 extends i12(i9, { validSizes: e83 }) {
16583
+ var d13 = class e85 extends i12(i9, { validSizes: e84 }) {
16414
16584
  constructor(...e105) {
16415
16585
  super(...e105), this.label = "", this.progress = null, this.languageResolver = new i10(this);
16416
16586
  }
@@ -16435,11 +16605,11 @@ var d13 = class e84 extends i12(i9, { validSizes: e83 }) {
16435
16605
  }).format(((e105 = this.progress) == null ? 0 : e105) / 100);
16436
16606
  }
16437
16607
  warnDeprecatedLightDomChildren() {
16438
- r9(this, e84.hasMeaningfulLightDomChildren(this), `<${this.localName}> no longer has a default slot. Light DOM children are not rendered and are not used for an accessible name. Use the "label" attribute or property, or "aria-label" / "aria-labelledby" on the host instead.`, "https://spectrum-web-components.adobe.com/?path=/docs/components-progress-circle--docs", { level: "deprecation" });
16608
+ r9(this, e85.hasMeaningfulLightDomChildren(this), `<${this.localName}> no longer has a default slot. Light DOM children are not rendered and are not used for an accessible name. Use the "label" attribute or property, or "aria-label" / "aria-labelledby" on the host instead.`, "https://spectrum-web-components.adobe.com/?path=/docs/components-progress-circle--docs", { level: "deprecation" });
16439
16609
  }
16440
16610
  willUpdate(t86) {
16441
16611
  if (t86.has("progress") && this.progress !== null) {
16442
- let t87 = e84.clampProgress(this.progress);
16612
+ let t87 = e85.clampProgress(this.progress);
16443
16613
  t87 !== this.progress && (this.progress = t87);
16444
16614
  }
16445
16615
  super.willUpdate(t86);
@@ -16448,7 +16618,7 @@ var d13 = class e84 extends i12(i9, { validSizes: e83 }) {
16448
16618
  super.firstUpdated(e105), this.setAttribute("role", "progressbar");
16449
16619
  }
16450
16620
  updated(t86) {
16451
- if (super.updated(t86), t86.has("progress") && (this.progress !== null && this.progress >= 0 ? (this.setAttribute("aria-valuemin", "0"), this.setAttribute("aria-valuemax", "100"), this.setAttribute("aria-valuenow", String(this.progress)), this.setAttribute("aria-valuetext", this.formatProgress())) : (this.removeAttribute("aria-valuemin"), this.removeAttribute("aria-valuemax"), this.removeAttribute("aria-valuenow"), this.removeAttribute("aria-valuetext"))), this.progress !== null && t86.has(e27) && this.setAttribute("aria-valuetext", this.formatProgress()), t86.has("label") && (this.label.length ? this.setAttribute("aria-label", this.label) : t86.get("label") === this.getAttribute("aria-label") && this.removeAttribute("aria-label")), t86.has("label") && !this.hasAccessibleName() && (this.setAttribute("aria-label", e84.DEFAULT_LABEL), r9(this, true, `<${this.localName}> requires an accessible name. A default label of "${e84.DEFAULT_LABEL}" has been applied, but a more specific label should be provided via:`, "https://spectrum-web-components.adobe.com/?path=/docs/components-progress-circle--docs", {
16621
+ if (super.updated(t86), t86.has("progress") && (this.progress !== null && this.progress >= 0 ? (this.setAttribute("aria-valuemin", "0"), this.setAttribute("aria-valuemax", "100"), this.setAttribute("aria-valuenow", String(this.progress)), this.setAttribute("aria-valuetext", this.formatProgress())) : (this.removeAttribute("aria-valuemin"), this.removeAttribute("aria-valuemax"), this.removeAttribute("aria-valuenow"), this.removeAttribute("aria-valuetext"))), this.progress !== null && t86.has(e27) && this.setAttribute("aria-valuetext", this.formatProgress()), t86.has("label") && (this.label.length ? this.setAttribute("aria-label", this.label) : t86.get("label") === this.getAttribute("aria-label") && this.removeAttribute("aria-label")), t86.has("label") && !this.hasAccessibleName() && (this.setAttribute("aria-label", e85.DEFAULT_LABEL), r9(this, true, `<${this.localName}> requires an accessible name. A default label of "${e85.DEFAULT_LABEL}" has been applied, but a more specific label should be provided via:`, "https://spectrum-web-components.adobe.com/?path=/docs/components-progress-circle--docs", {
16452
16622
  type: "accessibility",
16453
16623
  issues: [
16454
16624
  'value supplied to the "label" attribute, which will be displayed visually as part of the element, or',
@@ -16827,7 +16997,7 @@ var SliccBrowser = class extends ModelElement {
16827
16997
  var t65 = i`:host{display:inline-flex}*{box-sizing:border-box}.swc-ActionGroup{--_swc-action-group-gap: var(--swc-action-group-gap, 8px);display:flex;flex-wrap:wrap;gap:var(--_swc-action-group-gap);inline-size:100%}::slotted(*){flex-shrink:0}:host([orientation=\"vertical\"]) .swc-ActionGroup{flex-direction:column;inline-size:-moz-max-content;inline-size:max-content;min-inline-size:100%}:host([size=\"xs\"]){--swc-action-group-gap: 4px}:host([size=\"s\"]){--swc-action-group-gap: 6px}:host([size=\"l\"]){--swc-action-group-gap: 12px}:host([size=\"xl\"]){--swc-action-group-gap: 16px}:host([justified]) ::slotted(*){flex:1 1 0%}:host([compact]:not([quiet])) .swc-ActionGroup{--swc-action-group-gap: 2px;flex-wrap:nowrap}:host([compact]:not([quiet])) ::slotted(*){position:relative;z-index:0}:host([compact]:not([quiet])) ::slotted(:hover){z-index:1}:host([compact]:not([quiet])) ::slotted(:focus-within){z-index:2}:host([compact]:not([quiet]):not([orientation=\"vertical\"])) ::slotted(:first-child:not(:last-child)){--swc-action-button-border-start-end-radius: 0;--swc-action-button-border-end-end-radius: 0}:host([compact]:not([quiet]):not([orientation=\"vertical\"])) ::slotted(:last-child:not(:first-child)){--swc-action-button-border-start-start-radius: 0;--swc-action-button-border-end-start-radius: 0}:host([compact]:not([quiet]):not([orientation=\"vertical\"])) ::slotted(:not(:first-child):not(:last-child)){--swc-action-button-border-radius: 0}:host([compact]:not([quiet])[orientation=\"vertical\"]) ::slotted(:first-child:not(:last-child)){--swc-action-button-border-end-start-radius: 0;--swc-action-button-border-end-end-radius: 0}:host([compact]:not([quiet])[orientation=\"vertical\"]) ::slotted(:last-child:not(:first-child)){--swc-action-button-border-start-start-radius: 0;--swc-action-button-border-start-end-radius: 0}:host([compact]:not([quiet])[orientation=\"vertical\"]) ::slotted(:not(:first-child):not(:last-child)){--swc-action-button-border-radius: 0}`;
16828
16998
 
16829
16999
  // node_modules/@adobe/spectrum-wc-core/dist/components/action-group/ActionGroup.types.js
16830
- var e85 = [
17000
+ var e86 = [
16831
17001
  "xs",
16832
17002
  "s",
16833
17003
  "m",
@@ -16840,7 +17010,7 @@ var n30 = ["white", "black"];
16840
17010
  // node_modules/@adobe/spectrum-wc-core/dist/components/action-group/ActionGroup.base.js
16841
17011
  var c20;
16842
17012
  var l17 = class extends i12(i9, {
16843
- validSizes: e85,
17013
+ validSizes: e86,
16844
17014
  noDefaultSize: true
16845
17015
  }) {
16846
17016
  constructor(...e105) {
@@ -16884,7 +17054,7 @@ c20 = l17, c20.shadowRootOptions = {
16884
17054
  })], l17.prototype, "disabled", void 0), e24([o({ flatten: true })], l17.prototype, "managedChildren", void 0);
16885
17055
 
16886
17056
  // node_modules/@adobe/spectrum-wc/dist/components/action-group/ActionGroup.js
16887
- var o57 = class extends l17 {
17057
+ var o58 = class extends l17 {
16888
17058
  constructor(...e105) {
16889
17059
  super(...e105), this.compact = false, this.quiet = false, this.justified = false, this.navigation = new r20(this, {
16890
17060
  direction: this.orientation,
@@ -16950,20 +17120,20 @@ var o57 = class extends l17 {
16950
17120
  e12([n({
16951
17121
  type: Boolean,
16952
17122
  reflect: true
16953
- })], o57.prototype, "compact", void 0), e12([n({
17123
+ })], o58.prototype, "compact", void 0), e12([n({
16954
17124
  type: Boolean,
16955
17125
  reflect: true
16956
- })], o57.prototype, "quiet", void 0), e12([n({
17126
+ })], o58.prototype, "quiet", void 0), e12([n({
16957
17127
  type: Boolean,
16958
17128
  reflect: true
16959
- })], o57.prototype, "justified", void 0), e12([n({
17129
+ })], o58.prototype, "justified", void 0), e12([n({
16960
17130
  type: String,
16961
17131
  reflect: true,
16962
17132
  attribute: "static-color"
16963
- })], o57.prototype, "staticColor", void 0);
17133
+ })], o58.prototype, "staticColor", void 0);
16964
17134
 
16965
17135
  // node_modules/@adobe/spectrum-wc/dist/components/action-group/swc-action-group.js
16966
- e25("swc-action-group", o57);
17136
+ e25("swc-action-group", o58);
16967
17137
 
16968
17138
  // src/app/changes.ts
16969
17139
  var layouts = [
@@ -17464,22 +17634,22 @@ e12([o({
17464
17634
  e25("swc-conversation-thread", s11);
17465
17635
 
17466
17636
  // node_modules/@adobe/spectrum-wc-icons/dist/New.js
17467
- function e86() {
17637
+ function e87() {
17468
17638
  return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M18 4.25v11.5c0 1.24-1.01 2.25-2.25 2.25H4.25C3.01 18 2 16.99 2 15.75V4.25C2 3.01 3.01 2 4.25 2h11.5C16.99 2 18 3.01 18 4.25m-1.5 0a.75.75 0 0 0-.75-.75H4.25a.75.75 0 0 0-.75.75v11.5c0 .414.336.75.75.75h11.5a.75.75 0 0 0 .75-.75z"/><path fill="var(--swc-icon-color, currentColor)" d="M13.763 10a.763.763 0 0 1-.763.763h-2.237V13a.763.763 0 0 1-1.526 0v-2.237H7a.763.763 0 0 1 0-1.526h2.237V7a.763.763 0 0 1 1.526 0v2.237H13c.421 0 .763.342.763.763"/></svg>';
17469
17639
  }
17470
17640
 
17471
17641
  // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-new.js
17472
- var o58 = class extends a10 {
17642
+ var o59 = class extends a10 {
17473
17643
  static get styles() {
17474
17644
  return [t40];
17475
17645
  }
17476
17646
  render() {
17477
17647
  return b`
17478
- <span class="swc-Icon">${o16(e86())}</span>
17648
+ <span class="swc-Icon">${o16(e87())}</span>
17479
17649
  `;
17480
17650
  }
17481
17651
  };
17482
- e25("swc-icon-new", o58);
17652
+ e25("swc-icon-new", o59);
17483
17653
 
17484
17654
  // node_modules/@adobe/spectrum-wc/dist/patterns/ai-toolkit/conversation-turn/conversation-turn.js
17485
17655
  var t68 = i`:host{display:block;inline-size:100%}:host(:focus-visible){outline:none}*,*:before,*:after{box-sizing:border-box}.swc-ConversationTurn{display:flex;inline-size:100%;min-inline-size:0}.swc-ConversationTurn>slot{display:flex;flex-direction:column;gap:8px;inline-size:100%;min-inline-size:0}:host([type=\"user\"]) .swc-ConversationTurn{justify-content:flex-end}:host([type=\"user\"]) .swc-ConversationTurn>slot{align-items:flex-end}:host([type=\"system\"]) .swc-ConversationTurn{justify-content:flex-start}:host([type=\"system\"]) .swc-ConversationTurn>slot{align-items:stretch}:host([type=\"system\"]) ::slotted(*){flex:1 1 100%;min-inline-size:0;max-inline-size:100%}:host(:focus-visible) ::slotted(*){outline:2px solid var(--swc-blue-800);outline-offset:2px}`;
@@ -17522,7 +17692,7 @@ e12([n({
17522
17692
  e25("swc-conversation-turn", a14);
17523
17693
 
17524
17694
  // node_modules/@adobe/spectrum-wc/dist/utils/id.js
17525
- function e87(e105) {
17695
+ function e88(e105) {
17526
17696
  return `${e105}-${Array.from(crypto.getRandomValues(new Uint8Array(4)), (e106) => `0${(e106 & 255).toString(16)}`.slice(-2)).join("")}`;
17527
17697
  }
17528
17698
 
@@ -17532,7 +17702,7 @@ var t69 = i`:host{display:block}*,*:before,*:after{box-sizing:border-box}.swc-Me
17532
17702
  // node_modules/@adobe/spectrum-wc/dist/patterns/ai-toolkit/message-sources/MessageSources.js
17533
17703
  var c21 = class extends i9 {
17534
17704
  constructor(...e105) {
17535
- super(...e105), this.panelId = e87("swc-sources-panel"), this.toggleId = e87("swc-message-sources-toggle"), this.sourceLinks = [], this.open = false, this.label = "Sources", this.accessibleLabel = "";
17705
+ super(...e105), this.panelId = e88("swc-sources-panel"), this.toggleId = e88("swc-message-sources-toggle"), this.sourceLinks = [], this.open = false, this.label = "Sources", this.accessibleLabel = "";
17536
17706
  }
17537
17707
  static get styles() {
17538
17708
  return [t69];
@@ -17667,7 +17837,7 @@ var a15 = () => b`
17667
17837
  <circle cx="4" cy="4" r="4" fill="currentColor" />
17668
17838
  </svg>
17669
17839
  `;
17670
- var o59 = () => b`
17840
+ var o60 = () => b`
17671
17841
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 8">
17672
17842
  <circle cx="4" cy="4" r="3.5" fill="none" stroke="currentColor" />
17673
17843
  </svg>
@@ -17727,7 +17897,7 @@ var h6 = class extends i9 {
17727
17897
  return this._readLabel();
17728
17898
  }
17729
17899
  constructor() {
17730
- super(), this._toggleId = e87("swc-response-status-step-toggle"), this._detailId = e87("swc-response-status-step-detail"), this.status = "active", this.open = false, this._hasDescription = false, this._labelText = "", this._overflows = false, this._lastActiveLabel = "", new t2(this, {
17900
+ super(), this._toggleId = e88("swc-response-status-step-toggle"), this._detailId = e88("swc-response-status-step-detail"), this.status = "active", this.open = false, this._hasDescription = false, this._labelText = "", this._overflows = false, this._lastActiveLabel = "", new t2(this, {
17731
17901
  config: {
17732
17902
  attributes: true,
17733
17903
  attributeFilter: ["slot"],
@@ -17810,7 +17980,7 @@ var h6 = class extends i9 {
17810
17980
  class="swc-ResponseStatusStep-icon swc-ResponseStatusStep-icon--active"
17811
17981
  aria-hidden="true"
17812
17982
  >
17813
- ${o59()}
17983
+ ${o60()}
17814
17984
  </swc-icon>
17815
17985
  `);
17816
17986
  }
@@ -17884,7 +18054,7 @@ e12([n({
17884
18054
  e25("swc-response-status-step", h6);
17885
18055
 
17886
18056
  // node_modules/@adobe/spectrum-wc/dist/patterns/ai-toolkit/pixel-loader/data.js
17887
- function e88(e105, t86) {
18057
+ function e89(e105, t86) {
17888
18058
  let n36 = Array.from(new Set(e105.map(([, e106]) => e106))).sort((e106, t87) => t87 - e106), r38 = Array(e105.length).fill(0), i25 = 0;
17889
18059
  return n36.forEach((n37) => {
17890
18060
  let a22 = e105.reduce((e106, t87, r39) => (t87[1] === n37 && e106.push(r39), e106), []);
@@ -17894,7 +18064,7 @@ function e88(e105, t86) {
17894
18064
  }), r38;
17895
18065
  }
17896
18066
  function t72(t86, n36 = {}) {
17897
- let { staggerInterval: r38 = 2, rowOffset: i25 = 0 } = n36, a22 = e88(t86, r38);
18067
+ let { staggerInterval: r38 = 2, rowOffset: i25 = 0 } = n36, a22 = e89(t86, r38);
17898
18068
  return t86.map(([e105, t87], n37) => ({
17899
18069
  col: e105,
17900
18070
  row: t87 + i25,
@@ -18037,7 +18207,7 @@ var a16 = t72([
18037
18207
  [5, 0],
18038
18208
  [6, 0]
18039
18209
  ], { staggerInterval: 1 });
18040
- var o60 = t72([
18210
+ var o61 = t72([
18041
18211
  [6, 6],
18042
18212
  [5, 5],
18043
18213
  [1, 4],
@@ -18592,7 +18762,7 @@ var N = {
18592
18762
  brush: r30,
18593
18763
  eye: i19,
18594
18764
  hourglass: a16,
18595
- mag: o60,
18765
+ mag: o61,
18596
18766
  crop: s13,
18597
18767
  flower: c23,
18598
18768
  image: l18,
@@ -18683,13 +18853,13 @@ var F = {
18683
18853
  };
18684
18854
 
18685
18855
  // node_modules/@adobe/spectrum-wc/dist/patterns/ai-toolkit/pixel-loader/animation.js
18686
- var e89 = 30;
18687
- var t73 = (t86) => t86 * e89 / 1e3;
18856
+ var e90 = 30;
18857
+ var t73 = (t86) => t86 * e90 / 1e3;
18688
18858
  var n33 = 13;
18689
18859
  var r31 = 12;
18690
18860
  var i20 = t73(1400);
18691
18861
  var a17 = t73(150);
18692
- var o61 = t73(150);
18862
+ var o62 = t73(150);
18693
18863
  var s14 = 0.1;
18694
18864
  var c24 = t73(230);
18695
18865
  var l19 = 0.3;
@@ -18716,7 +18886,7 @@ function v8(e105) {
18716
18886
  return t86 + n33 + i20 + r31;
18717
18887
  }
18718
18888
  function y4(t86) {
18719
- return v8(t86) / e89 * 1e3;
18889
+ return v8(t86) / e90 * 1e3;
18720
18890
  }
18721
18891
  function b8(e105, t86) {
18722
18892
  return Math.min(1, Math.max(0, e105 / t86));
@@ -18761,7 +18931,7 @@ function S2(e105, t86) {
18761
18931
  }), x3(o77);
18762
18932
  }
18763
18933
  function C3(e105, t86) {
18764
- let i25 = e105.stagger + n33 - o61, u26 = i25 - a17, d21 = _4(e105), f11 = d21 + c24;
18934
+ let i25 = e105.stagger + n33 - o62, u26 = i25 - a17, d21 = _4(e105), f11 = d21 + c24;
18765
18935
  return x3([
18766
18936
  {
18767
18937
  offset: 0,
@@ -18833,7 +19003,7 @@ function k2(e105) {
18833
19003
  return t86 + E2 + D3 + t86 + E2;
18834
19004
  }
18835
19005
  function A4(t86) {
18836
- return k2(t86) / e89 * 1e3;
19006
+ return k2(t86) / e90 * 1e3;
18837
19007
  }
18838
19008
  function j2(e105, t86, n36) {
18839
19009
  let r38 = O2(t86), i25 = r38.indexOf(e105.row), a22 = (r38.length - 1) * T4 + E2, o77 = i25 * T4, s19 = a22 + D3 + i25 * T4;
@@ -18872,9 +19042,9 @@ function j2(e105, t86, n36) {
18872
19042
  var M2 = "0 0px";
18873
19043
 
18874
19044
  // node_modules/@adobe/spectrum-wc/dist/patterns/ai-toolkit/pixel-loader/geometry.js
18875
- var e90 = /* @__PURE__ */ new WeakMap();
19045
+ var e91 = /* @__PURE__ */ new WeakMap();
18876
19046
  function t74(t86) {
18877
- let n36 = e90.get(t86);
19047
+ let n36 = e91.get(t86);
18878
19048
  if (n36) return n36;
18879
19049
  let r38 = new Set(t86.map((e105) => `${e105.col},${e105.row}`)), i25 = (e105, t87) => r38.has(`${e105},${t87}`), a22 = t86.map(({ col: e105, row: t87 }) => {
18880
19050
  let n37 = i25(e105 - 1, t87), r39 = i25(e105 + 1, t87), a23 = i25(e105, t87 - 1), o77 = i25(e105, t87 + 1), s19 = i25(e105 - 1, t87 - 1), c27 = i25(e105 + 1, t87 - 1), l24 = i25(e105 + 1, t87 + 1), u26 = i25(e105 - 1, t87 + 1);
@@ -18885,7 +19055,7 @@ function t74(t86) {
18885
19055
  bottomLeft: !n37 && !o77 && !u26
18886
19056
  };
18887
19057
  });
18888
- return e90.set(t86, a22), a22;
19058
+ return e91.set(t86, a22), a22;
18889
19059
  }
18890
19060
  function n34(e105, t86) {
18891
19061
  return `${e105.topLeft ? t86 : "0"} ${e105.topRight ? t86 : "0"} ${e105.bottomRight ? t86 : "0"} ${e105.bottomLeft ? t86 : "0"}`;
@@ -18897,7 +19067,7 @@ var t75 = i`:host{display:inline-block}*,*:before,*:after{box-sizing:border-box}
18897
19067
  // node_modules/@adobe/spectrum-wc/dist/patterns/ai-toolkit/pixel-loader/PixelLoader.js
18898
19068
  var w4;
18899
19069
  var T5 = "https://spectrum-web-components.adobe.com/?path=/docs/patterns-ai-toolkit-pixel-loader--docs";
18900
- var E3 = class e91 extends i9 {
19070
+ var E3 = class e92 extends i9 {
18901
19071
  constructor(...e105) {
18902
19072
  super(...e105), this.icon = "aiLogo", this.paused = false, this.label = "Loading", this._presetIndex = 0, this._animations = [], this._containerCache = null, this._cellElsCache = null, this._ticker = null, this._reducedMotionQuery = null, this._displayedIcon = "aiLogo", this._finishToken = 0, this._handleReducedMotionChange = () => {
18903
19073
  this._syncTicker(), this._playCells();
@@ -19000,8 +19170,8 @@ var E3 = class e91 extends i9 {
19000
19170
  }
19001
19171
  }), this._cancelAnimations();
19002
19172
  let i25 = {
19003
- duration: e91.FINISH_MS,
19004
- easing: e91.EASE_FINISH,
19173
+ duration: e92.FINISH_MS,
19174
+ easing: e92.EASE_FINISH,
19005
19175
  fill: "forwards"
19006
19176
  }, a22 = n36.map((e105) => e105.animate([{
19007
19177
  translate: M2,
@@ -19051,7 +19221,7 @@ var E3 = class e91 extends i9 {
19051
19221
  style=${o3({
19052
19222
  "grid-column": String(t86.col + 1),
19053
19223
  "grid-row": String(t86.row + 1),
19054
- "border-radius": n34(n36, e91.CORNER_RADIUS)
19224
+ "border-radius": n34(n36, e92.CORNER_RADIUS)
19055
19225
  })}
19056
19226
  ></div>
19057
19227
  `;
@@ -19092,12 +19262,12 @@ var y5 = [
19092
19262
  "complete",
19093
19263
  "stopped"
19094
19264
  ];
19095
- var b9 = class e92 extends i9 {
19265
+ var b9 = class e93 extends i9 {
19096
19266
  static get styles() {
19097
19267
  return [t76];
19098
19268
  }
19099
19269
  constructor() {
19100
- super(), this.panelId = e87("swc-response-status-panel"), this._hasSteps = false, this._hasActiveStep = false, this._activeStepLabel = "", this._activeStepEl = null, this._labelSlotText = "", this._displayedLabel = "", this._rollFromLabel = "", this._rollToLabel = "", this._rollActive = false, this._rollEngaged = false, this.status = "active", this.open = false, this.accessibleLabel = "", this.loader = "mega", this._labelRollTimer = null, this._labelRollRaf = null, new t2(this, {
19270
+ super(), this.panelId = e88("swc-response-status-panel"), this._hasSteps = false, this._hasActiveStep = false, this._activeStepLabel = "", this._activeStepEl = null, this._labelSlotText = "", this._displayedLabel = "", this._rollFromLabel = "", this._rollToLabel = "", this._rollActive = false, this._rollEngaged = false, this.status = "active", this.open = false, this.accessibleLabel = "", this.loader = "mega", this._labelRollTimer = null, this._labelRollRaf = null, new t2(this, {
19101
19271
  config: {
19102
19272
  attributes: true,
19103
19273
  attributeFilter: ["status"],
@@ -19215,10 +19385,10 @@ var b9 = class e92 extends i9 {
19215
19385
  if (this._labelSlotText) return this._labelSlotText;
19216
19386
  let t86 = this._resolvedStatus;
19217
19387
  if (t86 === "active") {
19218
- if (this._showsGenericProcessingLabel) return e92.ACTIVE_STEP_OPEN_LABEL;
19388
+ if (this._showsGenericProcessingLabel) return e93.ACTIVE_STEP_OPEN_LABEL;
19219
19389
  if (this._activeStepLabel) return this._activeStepLabel;
19220
19390
  }
19221
- return e92.DEFAULT_LABELS[t86];
19391
+ return e93.DEFAULT_LABELS[t86];
19222
19392
  }
19223
19393
  _clearLabelRollTimers() {
19224
19394
  this._labelRollTimer !== null && (window.clearTimeout(this._labelRollTimer), this._labelRollTimer = null), this._labelRollRaf !== null && (window.cancelAnimationFrame(this._labelRollRaf), this._labelRollRaf = null);
@@ -19247,7 +19417,7 @@ var b9 = class e92 extends i9 {
19247
19417
  this._labelRollRaf = window.requestAnimationFrame(() => {
19248
19418
  this._labelRollRaf = null, this._rollEngaged = true, this._labelRollTimer = window.setTimeout(() => {
19249
19419
  this._labelRollTimer = null, this._displayedLabel = this._rollToLabel, this._rollActive = false, this._rollEngaged = false, this._applyLabelRoll();
19250
- }, e92.LABEL_ROLL_DURATION_MS);
19420
+ }, e93.LABEL_ROLL_DURATION_MS);
19251
19421
  });
19252
19422
  });
19253
19423
  }
@@ -19255,7 +19425,7 @@ var b9 = class e92 extends i9 {
19255
19425
  return this._rollActive ? this._rollToLabel : this._displayedLabel || this._getHeaderLabel();
19256
19426
  }
19257
19427
  _renderLabel() {
19258
- let t86 = e92.STATUS_LABEL_CLASS;
19428
+ let t86 = e93.STATUS_LABEL_CLASS;
19259
19429
  return this._rollActive ? b`
19260
19430
  <span class="swc-ResponseStatus-headerTrailViewport">
19261
19431
  <span class=${this._rollEngaged ? "swc-ResponseStatus-headerTrailCrossfade swc-ResponseStatus-headerTrailCrossfade--engaged" : "swc-ResponseStatus-headerTrailCrossfade"}>
@@ -19371,7 +19541,7 @@ var b9 = class e92 extends i9 {
19371
19541
  `;
19372
19542
  }
19373
19543
  _renderPanel(t86) {
19374
- let n36 = t86 && this.open, r38 = this.accessibleLabel || e92.DEFAULT_ACCESSIBLE_LABEL;
19544
+ let n36 = t86 && this.open, r38 = this.accessibleLabel || e93.DEFAULT_ACCESSIBLE_LABEL;
19375
19545
  return b`
19376
19546
  <div
19377
19547
  id=${this.panelId}
@@ -19436,7 +19606,7 @@ var t77 = i`:host{display:block}*,*:before,*:after{box-sizing:border-box}.swc-Su
19436
19606
  // node_modules/@adobe/spectrum-wc/dist/patterns/ai-toolkit/suggestion/SuggestionGroup.js
19437
19607
  var s15 = class extends i9 {
19438
19608
  constructor(...e105) {
19439
- super(...e105), this.accessibleLabel = "", this._headingId = e87("swc-suggestion-group-heading");
19609
+ super(...e105), this.accessibleLabel = "", this._headingId = e88("swc-suggestion-group-heading");
19440
19610
  }
19441
19611
  static get styles() {
19442
19612
  return [t77];
@@ -19599,148 +19769,148 @@ e12([n({
19599
19769
  e25("swc-user-message", a18);
19600
19770
 
19601
19771
  // node_modules/@adobe/spectrum-wc-icons/dist/Cancel.js
19602
- function e93() {
19772
+ function e94() {
19603
19773
  return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M16.201 16.166A8.72 8.72 0 0 0 18.75 10c0-4.825-3.925-8.75-8.75-8.75a8.72 8.72 0 0 0-6.166 2.549l-.021.014c-.011.007-.008.015-.014.021A8.72 8.72 0 0 0 1.25 10c0 4.825 3.925 8.75 8.75 8.75a8.72 8.72 0 0 0 6.166-2.549c.006-.006.015-.008.021-.014s.008-.015.014-.021M17.25 10c0 1.73-.61 3.317-1.625 4.565L5.435 4.375A7.2 7.2 0 0 1 10 2.75c3.998 0 7.25 3.252 7.25 7.25m-14.5 0c0-1.73.61-3.317 1.625-4.565l10.19 10.19A7.2 7.2 0 0 1 10 17.25c-3.998 0-7.25-3.252-7.25-7.25"/></svg>';
19604
19774
  }
19605
19775
 
19606
19776
  // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-cancel.js
19607
- var o62 = class extends a10 {
19777
+ var o63 = class extends a10 {
19608
19778
  static get styles() {
19609
19779
  return [t40];
19610
19780
  }
19611
19781
  render() {
19612
19782
  return b`
19613
- <span class="swc-Icon">${o16(e93())}</span>
19783
+ <span class="swc-Icon">${o16(e94())}</span>
19614
19784
  `;
19615
19785
  }
19616
19786
  };
19617
- e25("swc-icon-cancel", o62);
19787
+ e25("swc-icon-cancel", o63);
19618
19788
 
19619
19789
  // node_modules/@adobe/spectrum-wc-icons/dist/ChevronRight.js
19620
- function e94() {
19790
+ function e95() {
19621
19791
  return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M7.75 16.465a.748.748 0 0 1-.54-1.27l4.999-5.197-4.986-5.184a.75.75 0 0 1 .02-1.06.75.75 0 0 1 1.06.021L13.79 9.48c.28.29.28.749 0 1.039l-5.5 5.716a.75.75 0 0 1-.54.23"/></svg>';
19622
19792
  }
19623
19793
 
19624
19794
  // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-chevron-right.js
19625
- var o63 = class extends a10 {
19795
+ var o64 = class extends a10 {
19626
19796
  static get styles() {
19627
19797
  return [t40];
19628
19798
  }
19629
19799
  render() {
19630
19800
  return b`
19631
- <span class="swc-Icon">${o16(e94())}</span>
19801
+ <span class="swc-Icon">${o16(e95())}</span>
19632
19802
  `;
19633
19803
  }
19634
19804
  };
19635
- e25("swc-icon-chevron-right", o63);
19805
+ e25("swc-icon-chevron-right", o64);
19636
19806
 
19637
19807
  // node_modules/@adobe/spectrum-wc-icons/dist/File.js
19638
- function e95() {
19808
+ function e96() {
19639
19809
  return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M16.341 5.28 12.72 1.66A2.24 2.24 0 0 0 11.13 1H5.25C4.01 1 3 2.01 3 3.25v12.5C3 16.99 4.01 18 5.25 18h9.5c1.24 0 2.25-1.01 2.25-2.25V6.871c0-.592-.24-1.172-.659-1.59m-1.06 1.06c.045.046.073.105.105.16H12.25a.75.75 0 0 1-.75-.75V2.614c.055.032.113.06.159.106zM14.75 16.5h-9.5a.75.75 0 0 1-.75-.75V3.25a.75.75 0 0 1 .75-.75H10v3.25C10 6.99 11.01 8 12.25 8h3.25v7.75a.75.75 0 0 1-.75.75"/></svg>';
19640
19810
  }
19641
19811
 
19642
19812
  // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-file.js
19643
- var o64 = class extends a10 {
19813
+ var o65 = class extends a10 {
19644
19814
  static get styles() {
19645
19815
  return [t40];
19646
19816
  }
19647
19817
  render() {
19648
19818
  return b`
19649
- <span class="swc-Icon">${o16(e95())}</span>
19819
+ <span class="swc-Icon">${o16(e96())}</span>
19650
19820
  `;
19651
19821
  }
19652
19822
  };
19653
- e25("swc-icon-file", o64);
19823
+ e25("swc-icon-file", o65);
19654
19824
 
19655
19825
  // node_modules/@adobe/spectrum-wc-icons/dist/FileText.js
19656
- function e96() {
19826
+ function e97() {
19657
19827
  return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="m16.34 5.296-3.62-3.622a2.27 2.27 0 0 0-1.591-.66H5.25A2.255 2.255 0 0 0 3 3.265v12.484c0 1.24 1.01 2.25 2.25 2.25h9.5c1.24 0 2.25-1.01 2.25-2.25V6.887c0-.6-.234-1.166-.66-1.591m-1.06 1.06c.046.047.074.104.106.159H12.25a.75.75 0 0 1-.75-.75V2.628c.055.033.114.06.16.106zm-.53 10.142h-9.5a.75.75 0 0 1-.75-.75V3.265c0-.413.337-.75.75-.75H10v3.25c0 1.24 1.01 2.25 2.25 2.25h3.25v7.733c0 .413-.337.75-.75.75"/><path fill="var(--swc-icon-color, currentColor)" d="M13 11.498H7a.75.75 0 0 1 0-1.5h6a.75.75 0 0 1 0 1.5m0 3H7a.75.75 0 0 1 0-1.5h6a.75.75 0 0 1 0 1.5"/></svg>';
19658
19828
  }
19659
19829
 
19660
19830
  // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-file-text.js
19661
- var o65 = class extends a10 {
19831
+ var o66 = class extends a10 {
19662
19832
  static get styles() {
19663
19833
  return [t40];
19664
19834
  }
19665
19835
  render() {
19666
19836
  return b`
19667
- <span class="swc-Icon">${o16(e96())}</span>
19837
+ <span class="swc-Icon">${o16(e97())}</span>
19668
19838
  `;
19669
19839
  }
19670
19840
  };
19671
- e25("swc-icon-file-text", o65);
19841
+ e25("swc-icon-file-text", o66);
19672
19842
 
19673
19843
  // node_modules/@adobe/spectrum-wc-icons/dist/Lock.js
19674
- function e97() {
19844
+ function e98() {
19675
19845
  return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M11.25 11.5a1.251 1.251 0 0 0-2.5 0c0 .403.204.745.5.974v.776a.75.75 0 0 0 1.5 0v-.776c.296-.23.5-.571.5-.974"/><path fill="var(--swc-icon-color, currentColor)" d="M15 7.025V6.5c0-2.757-2.243-5-5-5s-5 2.243-5 5v.525c-1.122.127-2 1.07-2 2.225v6.5C3 16.99 4.01 18 5.25 18h9.5c1.24 0 2.25-1.01 2.25-2.25v-6.5a2.246 2.246 0 0 0-2-2.225M10 3c1.93 0 3.5 1.57 3.5 3.5V7h-7v-.5C6.5 4.57 8.07 3 10 3m5.5 12.75c0 .413-.337.75-.75.75h-9.5a.75.75 0 0 1-.75-.75v-6.5c0-.413.337-.75.75-.75h9.5c.413 0 .75.337.75.75z"/></svg>';
19676
19846
  }
19677
19847
 
19678
19848
  // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-lock.js
19679
- var o66 = class extends a10 {
19849
+ var o67 = class extends a10 {
19680
19850
  static get styles() {
19681
19851
  return [t40];
19682
19852
  }
19683
19853
  render() {
19684
19854
  return b`
19685
- <span class="swc-Icon">${o16(e97())}</span>
19855
+ <span class="swc-Icon">${o16(e98())}</span>
19686
19856
  `;
19687
19857
  }
19688
19858
  };
19689
- e25("swc-icon-lock", o66);
19859
+ e25("swc-icon-lock", o67);
19690
19860
 
19691
19861
  // node_modules/@adobe/spectrum-wc-icons/dist/Search.js
19692
- function e98() {
19862
+ function e99() {
19693
19863
  return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="m18.53 17.47-5.083-5.084A6.96 6.96 0 0 0 15 8c0-3.86-3.14-7-7-7S1 4.14 1 8s3.14 7 7 7c1.66 0 3.185-.584 4.386-1.553l5.084 5.083a.747.747 0 0 0 1.06 0 .75.75 0 0 0 0-1.06M8 13.5c-3.032 0-5.5-2.468-5.5-5.5S4.968 2.5 8 2.5s5.5 2.468 5.5 5.5-2.468 5.5-5.5 5.5"/></svg>';
19694
19864
  }
19695
19865
 
19696
19866
  // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-search.js
19697
- var o67 = class extends a10 {
19867
+ var o68 = class extends a10 {
19698
19868
  static get styles() {
19699
19869
  return [t40];
19700
19870
  }
19701
19871
  render() {
19702
19872
  return b`
19703
- <span class="swc-Icon">${o16(e98())}</span>
19873
+ <span class="swc-Icon">${o16(e99())}</span>
19704
19874
  `;
19705
19875
  }
19706
19876
  };
19707
- e25("swc-icon-search", o67);
19877
+ e25("swc-icon-search", o68);
19708
19878
 
19709
19879
  // node_modules/@adobe/spectrum-wc-icons/dist/Tools.js
19710
- function e99() {
19880
+ function e100() {
19711
19881
  return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="m8.747 5.33-1.82-3.505a1 1 0 0 0-.88-.54h-.008a1 1 0 0 0-.88.525l-1.89 3.5A2.3 2.3 0 0 0 3 6.38v10.37C3 17.99 4.01 19 5.25 19h1.5C7.99 19 9 17.99 9 16.75V6.366c0-.36-.088-.719-.253-1.037M7.5 7.5v7h-3v-7zM6.03 3.354 7.405 6H4.603zM6.75 17.5h-1.5a.75.75 0 0 1-.75-.75V16h3v.75c0 .413-.337.75-.75.75m8-16.5h-1.5C12.01 1 11 2.01 11 3.25v6.729l-.003.014.003.015v3.722l-.003.013.003.015v2.992c0 1.24 1.01 2.25 2.25 2.25h1.5c1.24 0 2.25-1.01 2.25-2.25V3.25C17 2.01 15.99 1 14.75 1m.75 15.75c0 .413-.337.75-.75.75h-1.5a.75.75 0 0 1-.75-.75v-2.251l1.244.005h.003a.75.75 0 0 0 .003-1.5l-1.25-.005v-2.25l1.244.005h.003a.75.75 0 0 0 .003-1.5l-1.25-.005V7.003l1.247.006h.003a.75.75 0 0 0 .003-1.5L12.5 5.503V3.25c0-.413.337-.75.75-.75h1.5c.413 0 .75.337.75.75z"/></svg>';
19712
19882
  }
19713
19883
 
19714
19884
  // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-tools.js
19715
- var o68 = class extends a10 {
19885
+ var o69 = class extends a10 {
19716
19886
  static get styles() {
19717
19887
  return [t40];
19718
19888
  }
19719
19889
  render() {
19720
19890
  return b`
19721
- <span class="swc-Icon">${o16(e99())}</span>
19891
+ <span class="swc-Icon">${o16(e100())}</span>
19722
19892
  `;
19723
19893
  }
19724
19894
  };
19725
- e25("swc-icon-tools", o68);
19895
+ e25("swc-icon-tools", o69);
19726
19896
 
19727
19897
  // node_modules/@adobe/spectrum-wc-icons/dist/WebPage.js
19728
- function e100() {
19898
+ function e101() {
19729
19899
  return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><circle cx="4.125" cy="6" r=".75" fill="var(--swc-icon-color, currentColor)"/><path fill="var(--swc-icon-color, currentColor)" d="M16.75 3H3.25C2.01 3 1 4.01 1 5.25v9.5C1 15.99 2.01 17 3.25 17h13.5c1.24 0 2.25-1.01 2.25-2.25v-9.5C19 4.01 17.99 3 16.75 3M2.5 5.25c0-.413.337-.75.75-.75h13.5c.413 0 .75.337.75.75V7.5h-15zM16.75 15.5H3.25a.75.75 0 0 1-.75-.75V9h15v5.75c0 .413-.337.75-.75.75"/></svg>';
19730
19900
  }
19731
19901
 
19732
19902
  // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-web-page.js
19733
- var o69 = class extends a10 {
19903
+ var o70 = class extends a10 {
19734
19904
  static get styles() {
19735
19905
  return [t40];
19736
19906
  }
19737
19907
  render() {
19738
19908
  return b`
19739
- <span class="swc-Icon">${o16(e100())}</span>
19909
+ <span class="swc-Icon">${o16(e101())}</span>
19740
19910
  `;
19741
19911
  }
19742
19912
  };
19743
- e25("swc-icon-web-page", o69);
19913
+ e25("swc-icon-web-page", o70);
19744
19914
 
19745
19915
  // src/app/markdown.ts
19746
19916
  var inlinePattern = /(`[^`]+`|!\[[^\]]*\]\([^)\s]+\)|\*\*[^*]+\*\*|~~[^~]+~~|\*[^*\s][^*]*\*|\[[^\]]+\]\([^)\s]+\))/g;
@@ -21355,8 +21525,8 @@ var SliccChat = class extends ThemedElement {
21355
21525
  <sp-menu-item value="high">Think hard</sp-menu-item>
21356
21526
  </sp-picker>
21357
21527
  ${meter}
21358
- <swc-action-button id="new-chat" size="s" quiet data-action="new-chat" ?disabled=${empty2} @click=${() => this.#newChat(agent)}><swc-icon-new slot="icon"></swc-icon-new>New chat</swc-action-button>
21359
- <swc-tooltip for="new-chat" placement="bottom">${agent.kind === "cone" && model.agent.freeze ? "Freeze this chat and start a new one" : "Start a new chat"}</swc-tooltip>`;
21528
+ <swc-action-button id="new-chat" size="s" quiet data-action="new-chat" ?disabled=${empty2} @click=${() => this.#newChat(agent)}><swc-icon-new slot="icon"></swc-icon-new>New conversation</swc-action-button>
21529
+ <swc-tooltip for="new-chat" placement="bottom">${agent.kind === "cone" && model.agent.freeze ? "Start a new conversation. This one stays in the Freezer." : "Start a new conversation"}</swc-tooltip>`;
21360
21530
  }
21361
21531
  render() {
21362
21532
  this.#handlers.color = this.color;
@@ -21405,7 +21575,7 @@ var D4 = (e105) => {
21405
21575
  var O3 = typeof CSS < "u" && typeof CSS.supports == "function" && CSS.supports("field-sizing", "content");
21406
21576
  var k3 = class extends i9 {
21407
21577
  constructor() {
21408
- super(), this.labelId = e87("swc-prompt-field-label"), this.disabled = false, this.generating = false, this.collapsed = false, this.variant = "balanced", this.size = "m", this.loader = "aiLogo", this.animateLoader = false, this.label = "Prompt", this.accessibleLabel = "", this.sendLabel = "Send", this.stopLabel = "Stop generating", this.uploadLabel = "Add attachment", this.attachmentScrollPrevLabel = "Show previous attachments", this.attachmentScrollNextLabel = "Show more attachments", this.attachmentStripLabel = "Uploaded assets strip", this.placeholder = "Ready to get started? Ask a question, share an idea, or add a task.", this.value = "", this._attachmentScrollOverflow = false, this._attachmentCanScrollPrev = false, this._attachmentCanScrollNext = false, this._attachmentScrollFallbackGeneration = 0, this._attachmentScrollObserver = new s8(this, {
21578
+ super(), this.labelId = e88("swc-prompt-field-label"), this.disabled = false, this.generating = false, this.collapsed = false, this.variant = "balanced", this.size = "m", this.loader = "aiLogo", this.animateLoader = false, this.label = "Prompt", this.accessibleLabel = "", this.sendLabel = "Send", this.stopLabel = "Stop generating", this.uploadLabel = "Add attachment", this.attachmentScrollPrevLabel = "Show previous attachments", this.attachmentScrollNextLabel = "Show more attachments", this.attachmentStripLabel = "Uploaded assets strip", this.placeholder = "Ready to get started? Ask a question, share an idea, or add a task.", this.value = "", this._attachmentScrollOverflow = false, this._attachmentCanScrollPrev = false, this._attachmentCanScrollNext = false, this._attachmentScrollFallbackGeneration = 0, this._attachmentScrollObserver = new s8(this, {
21409
21579
  target: null,
21410
21580
  callback: () => {
21411
21581
  this._updateAttachmentScrollState();
@@ -22216,22 +22386,22 @@ e12([n({
22216
22386
  e25("swc-upload-attachment", d17);
22217
22387
 
22218
22388
  // node_modules/@adobe/spectrum-wc-icons/dist/Clock.js
22219
- function e101() {
22389
+ function e102() {
22220
22390
  return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M10 18.75c-4.825 0-8.75-3.925-8.75-8.75S5.175 1.25 10 1.25s8.75 3.925 8.75 8.75-3.925 8.75-8.75 8.75m0-16c-3.998 0-7.25 3.252-7.25 7.25s3.252 7.25 7.25 7.25 7.25-3.252 7.25-7.25S13.998 2.75 10 2.75"/><path fill="var(--swc-icon-color, currentColor)" d="M13.249 12.645a.74.74 0 0 1-.379-.104l-3.22-1.895A.75.75 0 0 1 9.28 10V5a.75.75 0 0 1 1.5 0v4.571l2.85 1.677a.75.75 0 0 1-.381 1.397"/></svg>';
22221
22391
  }
22222
22392
 
22223
22393
  // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-clock.js
22224
- var o70 = class extends a10 {
22394
+ var o71 = class extends a10 {
22225
22395
  static get styles() {
22226
22396
  return [t40];
22227
22397
  }
22228
22398
  render() {
22229
22399
  return b`
22230
- <span class="swc-Icon">${o16(e101())}</span>
22400
+ <span class="swc-Icon">${o16(e102())}</span>
22231
22401
  `;
22232
22402
  }
22233
22403
  };
22234
- e25("swc-icon-clock", o70);
22404
+ e25("swc-icon-clock", o71);
22235
22405
 
22236
22406
  // src/app/composer.ts
22237
22407
  var limit = 25 * 1024 * 1024;
@@ -22241,7 +22411,7 @@ function available(model) {
22241
22411
  var commands2 = [
22242
22412
  {
22243
22413
  name: "clear",
22244
- detail: "Start a new chat",
22414
+ detail: "Start a new conversation",
22245
22415
  run: (model, id) => model.agent.clear(id)
22246
22416
  },
22247
22417
  {
@@ -22281,7 +22451,7 @@ var commands2 = [
22281
22451
  { name: "stop", detail: "Stop the running reply", run: (model, id) => model.agent.stop(id) },
22282
22452
  {
22283
22453
  name: "freeze",
22284
- detail: "Archive this cone and its scoops in the freezer",
22454
+ detail: "Delete this cone; its conversation stays in the Freezer",
22285
22455
  available: (model) => typeof model.agent.freeze === "function",
22286
22456
  run: (model, id) => model.agent.freeze?.(id)
22287
22457
  },
@@ -23116,24 +23286,6 @@ var SliccLucide = class extends i2 {
23116
23286
  }
23117
23287
  };
23118
23288
 
23119
- // node_modules/@adobe/spectrum-wc-icons/dist/Delete.js
23120
- function e102() {
23121
- return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="var(--swc-icon-color, currentColor)" d="M8.249 15.021a.75.75 0 0 1-.748-.72l-.25-6.5a.75.75 0 0 1 .72-.779H8c.4 0 .733.317.748.72l.25 6.5a.75.75 0 0 1-.72.778zm3.502 0h-.03a.75.75 0 0 1-.72-.779l.25-6.5a.75.75 0 0 1 .748-.72h.03a.75.75 0 0 1 .72.779l-.25 6.5a.75.75 0 0 1-.748.72"/><path fill="var(--swc-icon-color, currentColor)" d="M17 4h-3.5v-.75C13.5 2.01 12.49 1 11.25 1h-2.5C7.51 1 6.5 2.01 6.5 3.25V4H3a.75.75 0 0 0 0 1.5h.52l.422 10.342A2.243 2.243 0 0 0 6.19 18h7.62c1.211 0 2.2-.948 2.248-2.158L16.48 5.5H17A.75.75 0 0 0 17 4m-9-.75c0-.413.337-.75.75-.75h2.5c.413 0 .75.337.75.75V4H8zm6.56 12.531a.75.75 0 0 1-.75.719H6.19a.75.75 0 0 1-.75-.719L5.02 5.5h9.96z"/></svg>';
23122
- }
23123
-
23124
- // node_modules/@adobe/spectrum-wc-icons/dist/swc-icon-delete.js
23125
- var o71 = class extends a10 {
23126
- static get styles() {
23127
- return [t40];
23128
- }
23129
- render() {
23130
- return b`
23131
- <span class="swc-Icon">${o16(e102())}</span>
23132
- `;
23133
- }
23134
- };
23135
- e25("swc-icon-delete", o71);
23136
-
23137
23289
  // src/app/memory.ts
23138
23290
  function visible(memories, scope, tag3, query) {
23139
23291
  const needle = query.trim().toLowerCase();