@ai-ecoverse/slicc-spectrum 1.104.1 → 1.104.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/{chunk-I57ZVWF7.js → chunk-44HPUTOU.js} +2 -2
- package/dist/{chunk-LZPC6RUV.js → chunk-5G3X76IR.js} +3 -3
- package/dist/{chunk-6DBT3DUR.js → chunk-D2HYQOCH.js} +8 -8
- package/dist/{chunk-FAVZKAXS.js → chunk-GHS6XYSQ.js} +5 -5
- package/dist/{chunk-MQNH3NIC.js → chunk-LMH4BAKD.js} +4 -4
- package/dist/{chunk-T27VPCPJ.js → chunk-LVH4CKV3.js} +7 -7
- package/dist/{chunk-4F4N6IHX.js → chunk-Y7O6BIKA.js} +4 -4
- package/dist/slicc-ui.js +3600 -3866
- package/dist/slicc-ui.js.map +4 -4
- package/dist/types/app/spectrum.d.ts +0 -5
- package/dist/types/app/sprinkle.d.ts +1 -0
- package/package.json +4 -9
- /package/dist/{chunk-I57ZVWF7.js.map → chunk-44HPUTOU.js.map} +0 -0
- /package/dist/{chunk-LZPC6RUV.js.map → chunk-5G3X76IR.js.map} +0 -0
- /package/dist/{chunk-6DBT3DUR.js.map → chunk-D2HYQOCH.js.map} +0 -0
- /package/dist/{chunk-FAVZKAXS.js.map → chunk-GHS6XYSQ.js.map} +0 -0
- /package/dist/{chunk-MQNH3NIC.js.map → chunk-LMH4BAKD.js.map} +0 -0
- /package/dist/{chunk-T27VPCPJ.js.map → chunk-LVH4CKV3.js.map} +0 -0
- /package/dist/{chunk-4F4N6IHX.js.map → chunk-Y7O6BIKA.js.map} +0 -0
package/README.md
CHANGED
|
@@ -550,7 +550,7 @@ A rejection shows the error card with its sentence (a check without a `preview`
|
|
|
550
550
|
#### `<slicc-sprinkle>`
|
|
551
551
|
|
|
552
552
|
A SLICC sprinkle (`.shtml`), as a panel or, with `inline`, as a dip in the chat that grows to fit, even when it loads out of view (the frame measures itself on load, after icons and fonts arrive, and on every resize).
|
|
553
|
-
A dip has a tab-like handle: drag it into the dock (or onto a rail, or use its open-as-panel button) and it lives on as a sprinkle panel, with a note in the chat where it was; which dips are out is saved in `slicc-ui.dips`.
|
|
553
|
+
A dip has a tab-like handle: drag it into the dock (or onto a rail, or use its open-as-panel button, `data-action="detach-sprinkle"`, an extra-small action button whose tap target pads out to 24 × 24 px on a coarse pointer while it looks the same) and it lives on as a sprinkle panel, with a note in the chat where it was and a **Show** button (`data-action="show-sprinkle"`) that brings the panel forward; which dips are out is saved in `slicc-ui.dips`.
|
|
554
554
|
It runs in a sandboxed frame (`allow-scripts` only) with SLICC's sprinkle theme (the `--s2-*` tokens and `.sprinkle-*` classes), the app's fonts, and Lucide icons (`<i data-lucide>`, `LucideIcons.render()`).
|
|
555
555
|
It talks back through `slicc.lick({ action, data })`, which reaches the owning cone as a `sprinkle` lick, and, when the port has `call`, reads files and keeps state (see [Sprinkle bridge](#sprinkle-bridge)).
|
|
556
556
|
Panel sprinkles sit at the top of the right rail with their Lucide icon.
|
|
@@ -1169,6 +1169,7 @@ The test page is served cross-origin isolated (COOP/COEP), as slicc-kernel requi
|
|
|
1169
1169
|
`test/integration/ui.test.mjs` covers the shell, the layout (moving, closing, floating, reopening and reloading), streaming a reply with a tool call, stopping it, switching themes and the keyboard, and saves screenshots to `artifacts/ui/`.
|
|
1170
1170
|
|
|
1171
1171
|
The Biome, TypeScript, lefthook, Renovate and CI configuration comes from [slicc-shared-web](https://github.com/ai-ecoverse/slicc-shared-web), which also provides the `slicc-lint`, `slicc-lint-comments`, `slicc-agents-md`, `slicc-no-unit-tests`, `slicc-unit-cover` and `slicc-diff-cover` commands used by `npm run lint` and the pre-commit hook.
|
|
1172
|
+
`npm install` runs its `slicc-install-hooks` (a no-op on Windows), which sets the shared `core.hooksPath` to `.githooks` and installs lefthook into each worktree's own `node_modules/.git-hooks`; the committed shims in `.githooks/` run that hook, and fail with "run npm install" in a worktree that has none.
|
|
1172
1173
|
|
|
1173
1174
|
Unit tests live in `test/unit/`, which is gitignored: each change brings fresh unit tests for its own lines, and they are never committed or kept.
|
|
1174
1175
|
The pre-commit hook runs them in Node against happy-dom under monocart and fails the commit unless the staged lines in `src/` are fully covered (`slicc-unit-cover` runs the unit tests the change reaches, then `slicc-diff-cover`, which runs `diff-cover --fail-under 100` and needs [uv](https://docs.astral.sh/uv/)).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LONGPRESS_INSTRUCTIONS,
|
|
3
3
|
Overlay
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LMH4BAKD.js";
|
|
5
5
|
import "./chunk-IBQ4O4NO.js";
|
|
6
6
|
import "./chunk-ZMBN6APP.js";
|
|
7
7
|
import "./chunk-KD66QY2Y.js";
|
|
@@ -14,4 +14,4 @@ export {
|
|
|
14
14
|
LONGPRESS_INSTRUCTIONS,
|
|
15
15
|
Overlay
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=chunk-
|
|
17
|
+
//# sourceMappingURL=chunk-44HPUTOU.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-Y7O6BIKA.js";
|
|
2
|
+
import "./chunk-6A6NIESE.js";
|
|
2
3
|
import "./chunk-OS3ZND7O.js";
|
|
3
4
|
import "./chunk-JPIG5BAD.js";
|
|
4
5
|
import "./chunk-22NCU4NL.js";
|
|
5
|
-
import "./chunk-6A6NIESE.js";
|
|
6
6
|
import "./chunk-WXAII75O.js";
|
|
7
7
|
import "./chunk-AXQFWXYZ.js";
|
|
8
|
-
//# sourceMappingURL=chunk-
|
|
8
|
+
//# sourceMappingURL=chunk-5G3X76IR.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
focusableSelector
|
|
3
|
-
} from "./chunk-ZMBN6APP.js";
|
|
4
1
|
import {
|
|
5
2
|
DependencyManagerController
|
|
6
3
|
} from "./chunk-EN3XGF2M.js";
|
|
7
|
-
import {
|
|
8
|
-
o
|
|
9
|
-
} from "./chunk-22NCU4NL.js";
|
|
10
4
|
import {
|
|
11
5
|
defineElement
|
|
12
6
|
} from "./chunk-6A6NIESE.js";
|
|
7
|
+
import {
|
|
8
|
+
focusableSelector
|
|
9
|
+
} from "./chunk-ZMBN6APP.js";
|
|
10
|
+
import {
|
|
11
|
+
o
|
|
12
|
+
} from "./chunk-22NCU4NL.js";
|
|
13
13
|
import {
|
|
14
14
|
SpectrumElement,
|
|
15
15
|
b,
|
|
@@ -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-
|
|
149
|
+
return this.selfManaged ? (this.dependencyManager.add("sp-overlay"), import("./chunk-GHS6XYSQ.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-
|
|
181
|
+
//# sourceMappingURL=chunk-D2HYQOCH.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
defineElement
|
|
3
|
+
} from "./chunk-6A6NIESE.js";
|
|
1
4
|
import {
|
|
2
5
|
Overlay
|
|
3
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LMH4BAKD.js";
|
|
4
7
|
import "./chunk-IBQ4O4NO.js";
|
|
5
8
|
import "./chunk-ZMBN6APP.js";
|
|
6
9
|
import "./chunk-KD66QY2Y.js";
|
|
7
10
|
import "./chunk-OS3ZND7O.js";
|
|
8
11
|
import "./chunk-JPIG5BAD.js";
|
|
9
12
|
import "./chunk-22NCU4NL.js";
|
|
10
|
-
import {
|
|
11
|
-
defineElement
|
|
12
|
-
} from "./chunk-6A6NIESE.js";
|
|
13
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-
|
|
18
|
+
//# sourceMappingURL=chunk-GHS6XYSQ.js.map
|
|
@@ -186,7 +186,7 @@ var AbstractOverlay = class _AbstractOverlay extends SpectrumElement {
|
|
|
186
186
|
document.dispatchEvent(e2);
|
|
187
187
|
}
|
|
188
188
|
static async open(e2, r3, n2, a) {
|
|
189
|
-
await import("./chunk-
|
|
189
|
+
await import("./chunk-GHS6XYSQ.js");
|
|
190
190
|
const m = arguments.length === 2, l2 = n2 || e2, t = new this();
|
|
191
191
|
let p = false;
|
|
192
192
|
t.dispose = () => {
|
|
@@ -1413,9 +1413,9 @@ var InteractionController = class {
|
|
|
1413
1413
|
return;
|
|
1414
1414
|
}
|
|
1415
1415
|
e2 && (customElements.whenDefined("sp-overlay").then(async () => {
|
|
1416
|
-
const { Overlay: t } = await import("./chunk-
|
|
1416
|
+
const { Overlay: t } = await import("./chunk-44HPUTOU.js");
|
|
1417
1417
|
this.overlay = new t(), this.overlay.open = true, this.target[lastInteractionType] = this.type;
|
|
1418
|
-
}), import("./chunk-
|
|
1418
|
+
}), import("./chunk-GHS6XYSQ.js"));
|
|
1419
1419
|
}
|
|
1420
1420
|
}
|
|
1421
1421
|
get overlay() {
|
|
@@ -1884,4 +1884,4 @@ export {
|
|
|
1884
1884
|
LONGPRESS_INSTRUCTIONS,
|
|
1885
1885
|
Overlay
|
|
1886
1886
|
};
|
|
1887
|
-
//# sourceMappingURL=chunk-
|
|
1887
|
+
//# sourceMappingURL=chunk-LMH4BAKD.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MatchMediaController
|
|
3
|
+
} from "./chunk-5OVGH7HO.js";
|
|
4
|
+
import {
|
|
5
|
+
defineElement
|
|
6
|
+
} from "./chunk-6A6NIESE.js";
|
|
1
7
|
import {
|
|
2
8
|
firstFocusableIn
|
|
3
9
|
} from "./chunk-IBQ4O4NO.js";
|
|
4
10
|
import "./chunk-ZMBN6APP.js";
|
|
5
|
-
import {
|
|
6
|
-
MatchMediaController
|
|
7
|
-
} from "./chunk-5OVGH7HO.js";
|
|
8
11
|
import {
|
|
9
12
|
r
|
|
10
13
|
} from "./chunk-JPIG5BAD.js";
|
|
11
|
-
import {
|
|
12
|
-
defineElement
|
|
13
|
-
} from "./chunk-6A6NIESE.js";
|
|
14
14
|
import {
|
|
15
15
|
A,
|
|
16
16
|
SpectrumElement,
|
|
@@ -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-
|
|
180
|
+
//# sourceMappingURL=chunk-LVH4CKV3.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
o
|
|
3
|
-
} from "./chunk-22NCU4NL.js";
|
|
4
1
|
import {
|
|
5
2
|
defineElement
|
|
6
3
|
} from "./chunk-6A6NIESE.js";
|
|
4
|
+
import {
|
|
5
|
+
o
|
|
6
|
+
} from "./chunk-22NCU4NL.js";
|
|
7
7
|
import {
|
|
8
8
|
SpectrumElement,
|
|
9
9
|
b,
|
|
@@ -231,4 +231,4 @@ export {
|
|
|
231
231
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
232
232
|
*)
|
|
233
233
|
*/
|
|
234
|
-
//# sourceMappingURL=chunk-
|
|
234
|
+
//# sourceMappingURL=chunk-Y7O6BIKA.js.map
|