shraga 0.1.147 → 0.1.149

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.
@@ -1,15 +0,0 @@
1
- // bare-v3 ships plain JS without typings — just the surface AssistantMarkdown uses.
2
- declare module '@livx.cc/bare-v3/elements/markdown-stream' {
3
- export class MarkdownStream {
4
- constructor(options: { Marked: unknown; sanitize: (html: string) => string; code?: (text: string, lang: string) => string; images?: 'alt' | 'render' | ((src: string) => boolean) });
5
- buf: string;
6
- attach(el: HTMLElement): this;
7
- detach(): void;
8
- push(chunk: string): void;
9
- end(): void;
10
- toHtml(src: string): string;
11
- }
12
- export function codeBlock(text: string, lang: string): string;
13
- export function promptGuide(options?: object): string;
14
- }
15
- declare module '@livx.cc/bare-v3/css';
@@ -1,18 +0,0 @@
1
- /* bare-v3 ships its styles in @layer; Tailwind's preflight is unlayered, so it wins regardless of
2
- specificity (zeroes borders, strips button chrome). Inside bare-v3 components, roll those
3
- properties back to bare's layer. */
4
- .assistant-md { font-family: inherit; }
5
- .assistant-md :is(.b3-table-wrap, .b3-alert, .b3-stat, .b3-surface, .b3-badge, .b3-button, .b3-skeleton),
6
- .assistant-md :is(.b3-table-wrap, .b3-alert) * {
7
- border-width: revert-layer;
8
- border-style: revert-layer;
9
- border-color: revert-layer;
10
- }
11
- .assistant-md .b3-button {
12
- padding: revert-layer;
13
- background: revert-layer;
14
- line-height: revert-layer;
15
- }
16
- .assistant-md .b3-alert :is(ul, ol) { list-style: revert-layer; padding-inline-start: 1.25em; }
17
- .assistant-md .b3-alert p + * { margin-block-start: 0.5em; }
18
- .assistant-md > .not-prose { margin-block: 1em; }