@ai-ecoverse/slicc-spectrum 1.2.0 → 1.4.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 (30) hide show
  1. package/README.md +5 -5
  2. package/dist/{chunk-JASEW37G.js → chunk-2BBOXTOJ.js} +5 -3
  3. package/dist/chunk-2EPADERK.js +25260 -0
  4. package/dist/chunk-2EPADERK.js.map +7 -0
  5. package/dist/{chunk-6N3GZNXH.js → chunk-6GSDEWD5.js} +3 -3
  6. package/dist/{chunk-I2NMYJ25.js → chunk-C6RSQDMS.js} +3 -3
  7. package/dist/{chunk-OFQ56DAN.js → chunk-DKUZSKYB.js} +5 -5
  8. package/dist/{chunk-4GQ6THC2.js → chunk-FFZJVWZQ.js} +3 -3
  9. package/dist/{chunk-5XWUZJTT.js → chunk-JUNZW2NI.js} +3 -3
  10. package/dist/{chunk-HBUX7E54.js → chunk-SBRFYELH.js} +2 -2
  11. package/dist/slicc-dummy.js +978 -54
  12. package/dist/slicc-dummy.js.map +4 -4
  13. package/dist/slicc-ui.js +2923 -2683
  14. package/dist/slicc-ui.js.map +4 -4
  15. package/dist/types/app/app.d.ts +2 -0
  16. package/dist/types/app/fonts.d.ts +8 -0
  17. package/dist/types/app/grammars.d.ts +6 -0
  18. package/dist/types/app/lucide.d.ts +24 -0
  19. package/dist/types/app/messages.d.ts +2 -1
  20. package/dist/types/app/sprinkle.d.ts +18 -1
  21. package/dist/types/model/types.d.ts +4 -0
  22. package/dist/types/ui.d.ts +2 -0
  23. package/package.json +15 -2
  24. /package/dist/{chunk-JASEW37G.js.map → chunk-2BBOXTOJ.js.map} +0 -0
  25. /package/dist/{chunk-6N3GZNXH.js.map → chunk-6GSDEWD5.js.map} +0 -0
  26. /package/dist/{chunk-5XWUZJTT.js.map → chunk-C6RSQDMS.js.map} +0 -0
  27. /package/dist/{chunk-OFQ56DAN.js.map → chunk-DKUZSKYB.js.map} +0 -0
  28. /package/dist/{chunk-4GQ6THC2.js.map → chunk-FFZJVWZQ.js.map} +0 -0
  29. /package/dist/{chunk-I2NMYJ25.js.map → chunk-JUNZW2NI.js.map} +0 -0
  30. /package/dist/{chunk-HBUX7E54.js.map → chunk-SBRFYELH.js.map} +0 -0
package/README.md CHANGED
@@ -123,7 +123,7 @@ The layout follows the width of `<slicc-app>`, which it reflects as its `screen`
123
123
 
124
124
  ### Fonts
125
125
 
126
- 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) and `?color=light|dark|system` the theme.
126
+ 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.
127
127
 
128
128
  ### Elements
129
129
 
@@ -144,7 +144,7 @@ Text is Adobe Clean and code Spectrum's Source Code Pro. Source Code Pro (OFL) i
144
144
  | `<slicc-memory>` | What agents remember, globally or per cone, grouped by section: search, filter by tag, expand, edit, add and forget. |
145
145
  | `<slicc-monitor>` | The live monitor: vitals with sparklines (active agents, spend, budget, fullest context), alerts, and the topology (cones and scoops, terminals, tabs, pending changes, sprinkles, tray followers). |
146
146
  | `<slicc-freezer>` | Frozen cones, archived with their scoops: thaw to bring one back, delete, or freeze the active cone (also `/freeze`). |
147
- | `<slicc-sprinkle>` | An agent-made panel: its HTML runs in a sandboxed frame with the theme's colors, and `postMessage({ type: 'sprinkle-event', … })` reaches the owning cone as a `sprinkle` lick. Sprinkles sit at the top of the right rail. |
147
+ | `<slicc-sprinkle>` | A SLICC sprinkle (`.shtml`), as a panel or, with `inline`, as a dip in the chat that grows to fit. 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()`). Its only way back is `slicc.lick({ action, data })`, which reaches the owning cone as a `sprinkle` lick. Panel sprinkles sit at the top of the right rail with their Lucide icon. |
148
148
  | `<slicc-tray>` | The tray indicator in the header: connection, the float's name, followers and budget; its panel adds role, runtime, spend, the follower list, the join link, and disconnect or reconnect. |
149
149
  | `<slicc-file-tree>` | Generic. [`@pierre/trees`](https://www.npmjs.com/package/@pierre/trees) through its `web-components` entry: `paths` (folders end in `/`), `gitStatus`, `expanded`, `reveal(path, focus)`. Fires `file-open` on click and on <kbd>Enter</kbd>. |
150
150
  | `<slicc-code-view>` | Generic. A highlighted file through [`@pierre/diffs`](https://www.npmjs.com/package/@pierre/diffs): `path`, `contents`, `color`. |
@@ -167,14 +167,14 @@ Keys: <kbd>Alt</kbd>+<kbd>1</kbd>… opens and focuses a panel, <kbd>F6</kbd> an
167
167
  | `settings` | local storage | Theme, model, thinking level, composer and diff preferences, the models on offer, and accounts. |
168
168
  | `memory` | `@ai-ecoverse/slicc-agent` | Memories with scope, section, tag and body; `save` and `remove`. |
169
169
  | `monitor` | all of them | A snapshot of vitals, alerts and sections, re-emitted as the system changes, and `resync`. |
170
- | `sprinkles` | `@ai-ecoverse/slicc-agent` | Agent-made panels and `send`, which turns a panel's event into a lick. |
170
+ | `sprinkles` | `@ai-ecoverse/slicc-agent` | Sprinkles (`inline` ones show as dips in the chat, not in the rail) and `send`, which turns a sprinkle's lick into a lick on its cone. |
171
171
  | `tray` | the tray protocol | Connection, role, float kind, followers, spend and budget; `reconnect` and `disconnect`. |
172
172
 
173
- The `kitchen-sink` cone holds every kind of message, content and lick in one conversation, for design work and screenshots. The dummy's fixtures are invented: a small forecast API called harbor, with cones, scoops, a conversation per agent, pending changes, browser tabs and accounts. Its replies are scripted by keyword (tests, fix or add, open or docs, files, anything else), and their tool calls act on the other ports: an edit writes a file and shows up as a change, a browse opens a tab.
173
+ The `kitchen-sink` cone holds every kind of message, content and lick in one conversation, for design work and screenshots. The dummy's fixtures are invented: a small forecast API called harbor, with cones, scoops, a conversation per agent, pending changes, browser tabs and accounts. Its only sprinkles are SLICC's own: `welcome` (the onboarding wizard, as a dip in the sliccy cone) and `suggestions`, copied from `slicc` (`packages/vfs-root/shared/sprinkles/`, commit `aa29784`) with their comments stripped, as is the sprinkle theme in `src/app/sprinkle-theme.css`. Without file access, `suggestions` shows its empty state. Its replies are scripted by keyword (tests, fix or add, open or docs, files, anything else), and their tool calls act on the other ports: an edit writes a file and shows up as a change, a browse opens a tab.
174
174
 
175
175
  ### Distribution
176
176
 
177
- The UI is ESM with code splitting: `slicc-ui.js`, `slicc-dummy.js` and `chunk-*.js` next to them in `dist/`, with no bare imports, so the folder can be served as plain files from OPFS. dockview's ESM build has no CSS; the build takes it from dockview's UMD bundle. `@pierre/diffs` highlights with Shiki. `dist/` carries the grammars SLICC needs most (CSS, diff, HTML, JavaScript, JSON, JSX, Markdown, Python, shell, SQL, TOML, TSX, TypeScript, XML, YAML); every other grammar and theme stays out of `dist/` and is imported from `https://cdn.jsdelivr.net/npm/@shikijs/` (pinned to the installed version, CORS and CORP headers set) the first time a file needs it. `SLICC_GRAMMAR_BASE` points the build at another copy. `dist/` is about 55 files and 5.5 MB of JavaScript. The build fails if React is bundled; `@pierre/trees` lists React as a peer dependency, so npm installs it, but the `web-components` entry runs on Preact. Types are in `dist/types/ui.d.ts` and `dist/types/dummy.d.ts`, exported as `@ai-ecoverse/slicc-spectrum/ui` and `/dummy`.
177
+ The UI is ESM with code splitting: `slicc-ui.js`, `slicc-dummy.js` and `chunk-*.js` next to them in `dist/`, with no bare imports, so the folder can be served as plain files from OPFS. dockview's ESM build has no CSS; the build takes it from dockview's UMD bundle. `@pierre/diffs` highlights with Shiki. `dist/` carries the grammars SLICC needs most (CSS, diff, HTML, JavaScript, JSON, JSX, Markdown, Python, shell, SQL, TOML, TSX, TypeScript, XML, YAML); every other grammar and theme stays out of `dist/` and loads the first time a file needs it. It loads from `grammarBase` first, if set, and then from `https://cdn.jsdelivr.net/npm/@shikijs/` (pinned to the installed version, CORS and CORP headers set). For offline use, install the optional peer dependencies `@shikijs/langs` and `@shikijs/themes` (pinned to the same version; plain relative ESM, no bare imports), serve them, and point `grammarBase` (on `<slicc-app>`, or `setGrammarBase()`) at the folder holding `langs/` and `themes/`, for example `/node_modules/@shikijs/`. The build fails if the peer versions drift from the installed ones. `SLICC_GRAMMAR_BASE` points the build at another CDN. `dist/` is about 55 files and 5.5 MB of JavaScript. The build fails if React is bundled; `@pierre/trees` lists React as a peer dependency, so npm installs it, but the `web-components` entry runs on Preact. Types are in `dist/types/ui.d.ts` and `dist/types/dummy.d.ts`, exported as `@ai-ecoverse/slicc-spectrum/ui` and `/dummy`.
178
178
 
179
179
  ### dockview notes
180
180
 
@@ -363,10 +363,12 @@ var n5 = e(class extends f {
363
363
 
364
364
  export {
365
365
  o,
366
+ e,
366
367
  c,
367
- e2 as e,
368
+ e2,
368
369
  o2,
369
- l
370
+ l,
371
+ e3
370
372
  };
371
373
  /*! Bundled license information:
372
374
 
@@ -408,4 +410,4 @@ lit-html/directives/join.js:
408
410
  * SPDX-License-Identifier: BSD-3-Clause
409
411
  *)
410
412
  */
411
- //# sourceMappingURL=chunk-JASEW37G.js.map
413
+ //# sourceMappingURL=chunk-2BBOXTOJ.js.map