@ai-ecoverse/slicc-spectrum 1.14.0 → 1.15.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.
Files changed (34) hide show
  1. package/README.md +3 -3
  2. package/dist/chunk-4HA3YAGQ.js +8 -0
  3. package/dist/{chunk-4JUIYZ4Q.js → chunk-BSD7LN5H.js} +3 -3
  4. package/dist/{chunk-MJOCPOXZ.js → chunk-CO65RT7N.js} +4 -4
  5. package/dist/{chunk-2BBOXTOJ.js → chunk-CVTEN6SV.js} +2 -2
  6. package/dist/{chunk-CDYGCBW7.js → chunk-F6EKG2TU.js} +8 -8
  7. package/dist/{chunk-ER3HU7OE.js → chunk-JPIG5BAD.js} +2 -2
  8. package/dist/{chunk-7PY7B3ZW.js → chunk-MZMRYCS6.js} +2 -2
  9. package/dist/{chunk-364Y2XOJ.js → chunk-OS3ZND7O.js} +2 -2
  10. package/dist/{chunk-H57UPFSK.js → chunk-SSBUEGCT.js} +6 -6
  11. package/dist/{chunk-LR5GBIK7.js → chunk-T27VPCPJ.js} +3 -3
  12. package/dist/{chunk-TS7SL372.js → chunk-WXAII75O.js} +2 -1
  13. package/dist/{chunk-JCRICTXR.js → chunk-ZBRMKBQV.js} +6 -6
  14. package/dist/slicc-ui.js +6928 -4618
  15. package/dist/slicc-ui.js.map +4 -4
  16. package/dist/types/app/app.d.ts +2 -0
  17. package/dist/types/app/fonts.d.ts +5 -3
  18. package/dist/types/app/spectrum.d.ts +23 -23
  19. package/dist/types/app/sprinkle.d.ts +1 -1
  20. package/dist/types/app/theme.d.ts +3 -0
  21. package/package.json +5 -4
  22. package/dist/chunk-N27WNL5Q.js +0 -8
  23. /package/dist/{chunk-H57UPFSK.js.map → chunk-4HA3YAGQ.js.map} +0 -0
  24. /package/dist/{chunk-4JUIYZ4Q.js.map → chunk-BSD7LN5H.js.map} +0 -0
  25. /package/dist/{chunk-MJOCPOXZ.js.map → chunk-CO65RT7N.js.map} +0 -0
  26. /package/dist/{chunk-2BBOXTOJ.js.map → chunk-CVTEN6SV.js.map} +0 -0
  27. /package/dist/{chunk-CDYGCBW7.js.map → chunk-F6EKG2TU.js.map} +0 -0
  28. /package/dist/{chunk-ER3HU7OE.js.map → chunk-JPIG5BAD.js.map} +0 -0
  29. /package/dist/{chunk-7PY7B3ZW.js.map → chunk-MZMRYCS6.js.map} +0 -0
  30. /package/dist/{chunk-364Y2XOJ.js.map → chunk-OS3ZND7O.js.map} +0 -0
  31. /package/dist/{chunk-N27WNL5Q.js.map → chunk-SSBUEGCT.js.map} +0 -0
  32. /package/dist/{chunk-LR5GBIK7.js.map → chunk-T27VPCPJ.js.map} +0 -0
  33. /package/dist/{chunk-TS7SL372.js.map → chunk-WXAII75O.js.map} +0 -0
  34. /package/dist/{chunk-JCRICTXR.js.map → chunk-ZBRMKBQV.js.map} +0 -0
package/README.md CHANGED
@@ -103,7 +103,7 @@ Things found while building this against wterm 0.5.4, recorded here, not pushed
103
103
 
104
104
  ## UI
105
105
 
106
- `dist/slicc-ui.js` is SLICC's app shell on Spectrum Web Components 1.12 with the Spectrum 2 theme (`<sp-theme system="spectrum-two">`), in light and dark. It runs against a typed model, not against the kernel, the agent or the browser directly. `dist/slicc-dummy.js` provides a dummy model that streams replies and tool calls with timers, and `dist/slicc-kernel-model.js` a real one for files and terminals on slicc-kernel (see [Kernel model](#kernel-model)).
106
+ `dist/slicc-ui.js` is SLICC's app shell on Spectrum 2, in light and dark. It is moving from Spectrum Web Components 1.12 to Gen2 ([`@adobe/spectrum-wc`](https://www.npmjs.com/package/@adobe/spectrum-wc)): the Gen2 theme classes (`swc-theme swc-theme--sizeM swc-theme--light|dark`) and `--swc-*` tokens apply inside `<slicc-app>`, and icons are Spectrum 2 workflow icons from `@adobe/spectrum-wc-icons`. Components Gen2 doesn't ship yet stay on 1.12 inside a scoped `<sp-theme system="spectrum-two">` ([#60](https://github.com/ai-ecoverse/slicc-spectrum/issues/60)). It runs against a typed model, not against the kernel, the agent or the browser directly. `dist/slicc-dummy.js` provides a dummy model that streams replies and tool calls with timers, and `dist/slicc-kernel-model.js` a real one for files and terminals on slicc-kernel (see [Kernel model](#kernel-model)).
107
107
 
108
108
  ```html
109
109
  <slicc-app></slicc-app>
@@ -115,7 +115,7 @@ Things found while building this against wterm 0.5.4, recorded here, not pushed
115
115
  </script>
116
116
  ```
117
117
 
118
- `npm start` serves it at `/ui/`. `?fonts=<url>` loads Adobe Clean from another folder (see [Fonts](#fonts)).
118
+ `npm start` serves it at `/ui/`. `?fonts=<url>` loads Adobe Clean from another folder, `?vf=<url>` Adobe Clean Spectrum VF from another file, and `?vf=` turns it off (see [Fonts](#fonts)).
119
119
 
120
120
  ### Layouts and rails
121
121
 
@@ -125,7 +125,7 @@ The layout follows the width of `<slicc-app>`, which it reflects as its `screen`
125
125
 
126
126
  ### Fonts
127
127
 
128
- Text is Adobe Clean and code Spectrum's Source Code Pro. Source Code Pro (OFL) is in `dist/fonts/`, same origin. Adobe Clean can't ship in a public package, so `<slicc-app>` loads it from `fontBase` (`AdobeClean-{Regular,Medium,Bold,ExtraBold}.otf`), which defaults to `/fonts/` on the current origin. Every `*.sliccy.ai` host passes it through to v6, and `npm start` proxies it from `seven.sliccy.ai`. Where it 404s, text falls back to the system font stack. `?delay=` sets the dummy's tick in milliseconds (default 30) , `?color=light|dark|system` the theme, and `?grammars=` the grammar base.
128
+ Text is Adobe Clean Spectrum VF, falling back to Adobe Clean, and code is Spectrum's Source Code Pro. Source Code Pro (OFL) is in `dist/fonts/`, same origin. Neither Adobe Clean can ship in a public package. `<slicc-app>` registers the variable face (`adobe-clean-spectrum-vf`, weights 100–900) from `variableFont`, a woff2 URL that defaults to the Adobe Fonts file React Spectrum S2 uses; a host can point it at its own copy, or set it to `null` to leave it out. The legacy faces come from `fontBase` (`AdobeClean-{Regular,Medium,Bold,ExtraBold}.otf`), which defaults to `/fonts/` on the current origin. Every `*.sliccy.ai` host passes it through to v6, and `npm start` proxies it from `seven.sliccy.ai`. The sans stack (`--swc-sans-font-family-stack`, also used by the 1.12 components) is the variable face, then Adobe Clean, then the system font stack, so text falls back face by face wherever a file doesn't load. `?delay=` sets the dummy's tick in milliseconds (default 30) , `?color=light|dark|system` the theme, and `?grammars=` the grammar base.
129
129
 
130
130
  ### Elements
131
131
 
@@ -0,0 +1,8 @@
1
+ import "./chunk-BSD7LN5H.js";
2
+ import "./chunk-OS3ZND7O.js";
3
+ import "./chunk-JPIG5BAD.js";
4
+ import "./chunk-CVTEN6SV.js";
5
+ import "./chunk-6A6NIESE.js";
6
+ import "./chunk-WXAII75O.js";
7
+ import "./chunk-AXQFWXYZ.js";
8
+ //# sourceMappingURL=chunk-4HA3YAGQ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  o
3
- } from "./chunk-2BBOXTOJ.js";
3
+ } from "./chunk-CVTEN6SV.js";
4
4
  import {
5
5
  defineElement
6
6
  } from "./chunk-6A6NIESE.js";
@@ -11,7 +11,7 @@ import {
11
11
  e2,
12
12
  i,
13
13
  n
14
- } from "./chunk-TS7SL372.js";
14
+ } from "./chunk-WXAII75O.js";
15
15
 
16
16
  // node_modules/@lit/reactive-element/decorators/query-assigned-nodes.js
17
17
  function n2(n3) {
@@ -231,4 +231,4 @@ export {
231
231
  * SPDX-License-Identifier: BSD-3-Clause
232
232
  *)
233
233
  */
234
- //# sourceMappingURL=chunk-4JUIYZ4Q.js.map
234
+ //# sourceMappingURL=chunk-BSD7LN5H.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-EN3XGF2M.js";
7
7
  import {
8
8
  o
9
- } from "./chunk-2BBOXTOJ.js";
9
+ } from "./chunk-CVTEN6SV.js";
10
10
  import {
11
11
  defineElement
12
12
  } from "./chunk-6A6NIESE.js";
@@ -16,7 +16,7 @@ import {
16
16
  e2 as e,
17
17
  i,
18
18
  n
19
- } from "./chunk-TS7SL372.js";
19
+ } from "./chunk-WXAII75O.js";
20
20
  import "./chunk-AXQFWXYZ.js";
21
21
 
22
22
  // node_modules/@spectrum-web-components/tooltip/src/tooltip.css.js
@@ -146,7 +146,7 @@ var Tooltip = class extends SpectrumElement {
146
146
  <span id="tip" aria-hidden="true"></span>
147
147
  </sp-tooltip-openable>
148
148
  `;
149
- return this.selfManaged ? (this.dependencyManager.add("sp-overlay"), import("./chunk-JCRICTXR.js"), b`
149
+ return this.selfManaged ? (this.dependencyManager.add("sp-overlay"), import("./chunk-ZBRMKBQV.js"), b`
150
150
  <sp-overlay
151
151
  ?open=${this.open && !this.disabled && this.dependencyManager.loaded}
152
152
  ?delayed=${this.delayed}
@@ -178,4 +178,4 @@ o3([n({ type: Boolean })], Tooltip.prototype, "delayed", 2), o3([n({ type: Boole
178
178
 
179
179
  // node_modules/@spectrum-web-components/tooltip/sp-tooltip.js
180
180
  defineElement("sp-tooltip", Tooltip);
181
- //# sourceMappingURL=chunk-MJOCPOXZ.js.map
181
+ //# sourceMappingURL=chunk-CO65RT7N.js.map
@@ -2,7 +2,7 @@ import {
2
2
  A,
3
3
  E,
4
4
  j
5
- } from "./chunk-TS7SL372.js";
5
+ } from "./chunk-WXAII75O.js";
6
6
 
7
7
  // node_modules/lit-html/directives/if-defined.js
8
8
  var o = (o7) => o7 ?? A;
@@ -410,4 +410,4 @@ lit-html/directives/join.js:
410
410
  * SPDX-License-Identifier: BSD-3-Clause
411
411
  *)
412
412
  */
413
- //# sourceMappingURL=chunk-2BBOXTOJ.js.map
413
+ //# sourceMappingURL=chunk-CVTEN6SV.js.map
@@ -16,14 +16,14 @@ import {
16
16
  } from "./chunk-Y4Z7K443.js";
17
17
  import {
18
18
  o
19
- } from "./chunk-364Y2XOJ.js";
19
+ } from "./chunk-OS3ZND7O.js";
20
20
  import {
21
21
  r
22
- } from "./chunk-ER3HU7OE.js";
22
+ } from "./chunk-JPIG5BAD.js";
23
23
  import {
24
24
  o as o2,
25
25
  o2 as o3
26
- } from "./chunk-2BBOXTOJ.js";
26
+ } from "./chunk-CVTEN6SV.js";
27
27
  import {
28
28
  A,
29
29
  SpectrumElement,
@@ -31,7 +31,7 @@ import {
31
31
  e2 as e,
32
32
  i,
33
33
  n
34
- } from "./chunk-TS7SL372.js";
34
+ } from "./chunk-WXAII75O.js";
35
35
 
36
36
  // node_modules/@spectrum-web-components/reactive-controllers/src/ElementResolution.js
37
37
  var elementResolverUpdatedSymbol = /* @__PURE__ */ Symbol("element resolver updated");
@@ -243,7 +243,7 @@ var AbstractOverlay = class _AbstractOverlay extends SpectrumElement {
243
243
  document.dispatchEvent(e2);
244
244
  }
245
245
  static async open(e2, r3, n2, a) {
246
- await import("./chunk-JCRICTXR.js");
246
+ await import("./chunk-ZBRMKBQV.js");
247
247
  const m = arguments.length === 2, l2 = n2 || e2, t = new this();
248
248
  let p = false;
249
249
  t.dispose = () => {
@@ -2164,9 +2164,9 @@ var InteractionController = class {
2164
2164
  return;
2165
2165
  }
2166
2166
  e2 && (customElements.whenDefined("sp-overlay").then(async () => {
2167
- const { Overlay: t } = await import("./chunk-H57UPFSK.js");
2167
+ const { Overlay: t } = await import("./chunk-SSBUEGCT.js");
2168
2168
  this.overlay = new t(), this.overlay.open = true, this.target[lastInteractionType] = this.type;
2169
- }), import("./chunk-JCRICTXR.js"));
2169
+ }), import("./chunk-ZBRMKBQV.js"));
2170
2170
  }
2171
2171
  }
2172
2172
  get overlay() {
@@ -2635,4 +2635,4 @@ export {
2635
2635
  LONGPRESS_INSTRUCTIONS,
2636
2636
  Overlay
2637
2637
  };
2638
- //# sourceMappingURL=chunk-CDYGCBW7.js.map
2638
+ //# sourceMappingURL=chunk-F6EKG2TU.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  n
3
- } from "./chunk-TS7SL372.js";
3
+ } from "./chunk-WXAII75O.js";
4
4
 
5
5
  // node_modules/@lit/reactive-element/decorators/state.js
6
6
  function r(r2) {
@@ -19,4 +19,4 @@ export {
19
19
  * SPDX-License-Identifier: BSD-3-Clause
20
20
  *)
21
21
  */
22
- //# sourceMappingURL=chunk-ER3HU7OE.js.map
22
+ //# sourceMappingURL=chunk-JPIG5BAD.js.map
@@ -8,7 +8,7 @@ import {
8
8
  e2 as e,
9
9
  i,
10
10
  n
11
- } from "./chunk-TS7SL372.js";
11
+ } from "./chunk-WXAII75O.js";
12
12
  import "./chunk-AXQFWXYZ.js";
13
13
 
14
14
  // node_modules/@spectrum-web-components/popover/src/popover.css.js
@@ -56,4 +56,4 @@ r([n({ type: Boolean, reflect: true })], Popover.prototype, "open", 2), r([n({ r
56
56
 
57
57
  // node_modules/@spectrum-web-components/popover/sp-popover.js
58
58
  defineElement("sp-popover", Popover);
59
- //# sourceMappingURL=chunk-7PY7B3ZW.js.map
59
+ //# sourceMappingURL=chunk-MZMRYCS6.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  e
3
- } from "./chunk-TS7SL372.js";
3
+ } from "./chunk-WXAII75O.js";
4
4
 
5
5
  // node_modules/@lit/reactive-element/decorators/query-assigned-elements.js
6
6
  function o(o2) {
@@ -25,4 +25,4 @@ export {
25
25
  * SPDX-License-Identifier: BSD-3-Clause
26
26
  *)
27
27
  */
28
- //# sourceMappingURL=chunk-364Y2XOJ.js.map
28
+ //# sourceMappingURL=chunk-OS3ZND7O.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  LONGPRESS_INSTRUCTIONS,
3
3
  Overlay
4
- } from "./chunk-CDYGCBW7.js";
4
+ } from "./chunk-F6EKG2TU.js";
5
5
  import "./chunk-IBQ4O4NO.js";
6
6
  import "./chunk-ZMBN6APP.js";
7
7
  import "./chunk-Y4Z7K443.js";
8
- import "./chunk-364Y2XOJ.js";
9
- import "./chunk-ER3HU7OE.js";
10
- import "./chunk-2BBOXTOJ.js";
11
- import "./chunk-TS7SL372.js";
8
+ import "./chunk-OS3ZND7O.js";
9
+ import "./chunk-JPIG5BAD.js";
10
+ import "./chunk-CVTEN6SV.js";
11
+ import "./chunk-WXAII75O.js";
12
12
  import "./chunk-AXQFWXYZ.js";
13
13
  export {
14
14
  LONGPRESS_INSTRUCTIONS,
15
15
  Overlay
16
16
  };
17
- //# sourceMappingURL=chunk-H57UPFSK.js.map
17
+ //# sourceMappingURL=chunk-SSBUEGCT.js.map
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-5OVGH7HO.js";
8
8
  import {
9
9
  r
10
- } from "./chunk-ER3HU7OE.js";
10
+ } from "./chunk-JPIG5BAD.js";
11
11
  import {
12
12
  defineElement
13
13
  } from "./chunk-6A6NIESE.js";
@@ -18,7 +18,7 @@ import {
18
18
  e2 as e,
19
19
  i,
20
20
  n
21
- } from "./chunk-TS7SL372.js";
21
+ } from "./chunk-WXAII75O.js";
22
22
  import "./chunk-AXQFWXYZ.js";
23
23
 
24
24
  // node_modules/@spectrum-web-components/modal/src/modal.css.js
@@ -177,4 +177,4 @@ i3([n({ type: Boolean, reflect: true })], Tray.prototype, "open", 2), i3([e(".tr
177
177
 
178
178
  // node_modules/@spectrum-web-components/tray/sp-tray.js
179
179
  defineElement("sp-tray", Tray);
180
- //# sourceMappingURL=chunk-LR5GBIK7.js.map
180
+ //# sourceMappingURL=chunk-T27VPCPJ.js.map
@@ -642,6 +642,7 @@ SpectrumElement.VERSION = version;
642
642
 
643
643
  export {
644
644
  version,
645
+ r2 as r,
645
646
  i2 as i,
646
647
  b,
647
648
  w,
@@ -684,4 +685,4 @@ lit-html/is-server.js:
684
685
  * SPDX-License-Identifier: BSD-3-Clause
685
686
  *)
686
687
  */
687
- //# sourceMappingURL=chunk-TS7SL372.js.map
688
+ //# sourceMappingURL=chunk-WXAII75O.js.map
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Overlay
3
- } from "./chunk-CDYGCBW7.js";
3
+ } from "./chunk-F6EKG2TU.js";
4
4
  import "./chunk-IBQ4O4NO.js";
5
5
  import "./chunk-ZMBN6APP.js";
6
6
  import "./chunk-Y4Z7K443.js";
7
- import "./chunk-364Y2XOJ.js";
8
- import "./chunk-ER3HU7OE.js";
9
- import "./chunk-2BBOXTOJ.js";
7
+ import "./chunk-OS3ZND7O.js";
8
+ import "./chunk-JPIG5BAD.js";
9
+ import "./chunk-CVTEN6SV.js";
10
10
  import {
11
11
  defineElement
12
12
  } from "./chunk-6A6NIESE.js";
13
- import "./chunk-TS7SL372.js";
13
+ import "./chunk-WXAII75O.js";
14
14
  import "./chunk-AXQFWXYZ.js";
15
15
 
16
16
  // node_modules/@spectrum-web-components/overlay/sp-overlay.js
17
17
  defineElement("sp-overlay", Overlay);
18
- //# sourceMappingURL=chunk-JCRICTXR.js.map
18
+ //# sourceMappingURL=chunk-ZBRMKBQV.js.map