@agentshouse/mdruntime 0.1.0-cee9c8aa4cd86 → 0.1.0-cef5833f6c689
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 +11 -9
- package/dist/adapter.d.ts +96 -67
- package/dist/adapter.d.ts.map +1 -1
- package/dist/attached-model.d.ts +2 -1
- package/dist/attached-model.d.ts.map +1 -1
- package/dist/attached-model.js +28 -4
- package/dist/binary.d.ts +0 -5
- package/dist/binary.d.ts.map +1 -1
- package/dist/binary.js +1 -1
- package/dist/bootstrap.d.ts +17 -9
- package/dist/bootstrap.d.ts.map +1 -1
- package/dist/bootstrap.js +143 -94
- package/dist/chain.d.ts +2 -1
- package/dist/chain.d.ts.map +1 -1
- package/dist/client.d.ts +12 -12
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +54 -8
- package/dist/collection.d.ts +7 -4
- package/dist/collection.d.ts.map +1 -1
- package/dist/collection.js +24 -19
- package/dist/compile.d.ts +1 -6
- package/dist/compile.d.ts.map +1 -1
- package/dist/compile.js +118 -247
- package/dist/connection.d.ts +11 -11
- package/dist/connection.d.ts.map +1 -1
- package/dist/connection.js +1598 -1248
- package/dist/context.d.ts +2 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/{chat/context.js → context.js} +1 -4
- package/dist/conversation.d.ts +18 -15
- package/dist/conversation.d.ts.map +1 -1
- package/dist/conversation.js +268 -171
- package/dist/durability.d.ts +1 -5
- package/dist/durability.d.ts.map +1 -1
- package/dist/durability.js +5 -0
- package/dist/entry.d.ts +3 -2
- package/dist/entry.d.ts.map +1 -1
- package/dist/entry.js +15 -6
- package/dist/file.d.ts +2 -11
- package/dist/file.d.ts.map +1 -1
- package/dist/file.js +6 -4
- package/dist/host.d.ts +3 -6
- package/dist/host.d.ts.map +1 -1
- package/dist/host.js +49 -35
- package/dist/identity.d.ts +0 -1
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +0 -3
- package/dist/index.d.ts +15 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -3
- package/dist/job.d.ts +14 -0
- package/dist/job.d.ts.map +1 -0
- package/dist/job.js +28 -0
- package/dist/live.d.ts +2 -1
- package/dist/live.d.ts.map +1 -1
- package/dist/live.js +9 -5
- package/dist/media.d.ts +8 -0
- package/dist/media.d.ts.map +1 -0
- package/dist/media.js +218 -0
- package/dist/memory.d.ts +11 -6
- package/dist/memory.d.ts.map +1 -1
- package/dist/memory.js +178 -101
- package/dist/messages.d.ts +2 -2
- package/dist/messages.d.ts.map +1 -1
- package/dist/messages.js +15 -16
- package/dist/model.d.ts +7 -3
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +7 -13
- package/dist/observation.d.ts +3 -2
- package/dist/observation.d.ts.map +1 -1
- package/dist/observation.js +8 -3
- package/dist/outcome.d.ts +13 -6
- package/dist/outcome.d.ts.map +1 -1
- package/dist/outcome.js +16 -5
- package/dist/overlay.js +1 -1
- package/dist/paths.d.ts +1 -0
- package/dist/paths.d.ts.map +1 -1
- package/dist/paths.js +4 -0
- package/dist/query.d.ts +10 -205
- package/dist/query.d.ts.map +1 -1
- package/dist/query.js +3 -494
- package/dist/reach.d.ts +14 -9
- package/dist/reach.d.ts.map +1 -1
- package/dist/reach.js +81 -71
- package/dist/react.d.ts +3 -1
- package/dist/react.d.ts.map +1 -1
- package/dist/readiness.d.ts +13 -16
- package/dist/readiness.d.ts.map +1 -1
- package/dist/readiness.js +2 -8
- package/dist/recovery.d.ts +1 -0
- package/dist/recovery.d.ts.map +1 -1
- package/dist/recovery.js +26 -0
- package/dist/refresh.d.ts +10 -4
- package/dist/refresh.d.ts.map +1 -1
- package/dist/refresh.js +104 -30
- package/dist/replica.d.ts +6 -5
- package/dist/replica.d.ts.map +1 -1
- package/dist/replica.js +8 -7
- package/dist/room-draft.d.ts +22 -5
- package/dist/room-draft.d.ts.map +1 -1
- package/dist/room-draft.js +131 -51
- package/dist/rows.d.ts +8 -15
- package/dist/rows.d.ts.map +1 -1
- package/dist/rows.js +51 -151
- package/dist/save.d.ts +2 -0
- package/dist/save.d.ts.map +1 -1
- package/dist/save.js +13 -7
- package/dist/search.d.ts +12 -63
- package/dist/search.d.ts.map +1 -1
- package/dist/search.js +9 -52
- package/dist/shared.d.ts +0 -1
- package/dist/shared.d.ts.map +1 -1
- package/dist/shared.js +0 -10
- package/dist/status.d.ts +4 -3
- package/dist/status.d.ts.map +1 -1
- package/dist/status.js +3 -1
- package/dist/store.d.ts +32 -31
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +67 -63
- package/dist/stored.d.ts +42 -18
- package/dist/stored.d.ts.map +1 -1
- package/dist/stored.js +193 -194
- package/dist/tables.d.ts +60 -40
- package/dist/tables.d.ts.map +1 -1
- package/dist/tables.js +78 -62
- package/dist/transfer.d.ts +0 -5
- package/dist/transfer.d.ts.map +1 -1
- package/dist/validation.d.ts +3 -4
- package/dist/validation.d.ts.map +1 -1
- package/dist/validation.js +39 -97
- package/dist/windows.d.ts +1 -12
- package/dist/windows.d.ts.map +1 -1
- package/dist/windows.js +2 -75
- package/dist/wire.d.ts +6 -9
- package/dist/wire.d.ts.map +1 -1
- package/dist/wire.js +3 -3
- package/package.json +11 -18
- package/AGENTS.md +0 -320
- package/dist/chat/acts.d.ts +0 -33
- package/dist/chat/acts.d.ts.map +0 -1
- package/dist/chat/acts.js +0 -36
- package/dist/chat/context.d.ts +0 -3
- package/dist/chat/context.d.ts.map +0 -1
- package/dist/chat/earlier.d.ts +0 -10
- package/dist/chat/earlier.d.ts.map +0 -1
- package/dist/chat/earlier.js +0 -54
- package/dist/chat/house.d.ts +0 -25
- package/dist/chat/house.d.ts.map +0 -1
- package/dist/chat/house.js +0 -38
- package/dist/chat/input.d.ts +0 -11
- package/dist/chat/input.d.ts.map +0 -1
- package/dist/chat/input.js +0 -92
- package/dist/chat/kit.d.ts +0 -61
- package/dist/chat/kit.d.ts.map +0 -1
- package/dist/chat/kit.js +0 -123
- package/dist/chat/lasting.d.ts +0 -6
- package/dist/chat/lasting.d.ts.map +0 -1
- package/dist/chat/lasting.js +0 -19
- package/dist/chat/list.d.ts +0 -28
- package/dist/chat/list.d.ts.map +0 -1
- package/dist/chat/list.js +0 -103
- package/dist/chat/markdown.d.ts +0 -21
- package/dist/chat/markdown.d.ts.map +0 -1
- package/dist/chat/markdown.js +0 -246
- package/dist/chat/message.d.ts +0 -7
- package/dist/chat/message.d.ts.map +0 -1
- package/dist/chat/message.js +0 -254
- package/dist/chat/messages.d.ts +0 -35
- package/dist/chat/messages.d.ts.map +0 -1
- package/dist/chat/messages.js +0 -210
- package/dist/chat/name.d.ts +0 -7
- package/dist/chat/name.d.ts.map +0 -1
- package/dist/chat/name.js +0 -37
- package/dist/chat/opened.d.ts +0 -12
- package/dist/chat/opened.d.ts.map +0 -1
- package/dist/chat/opened.js +0 -19
- package/dist/chat/overlay.d.ts +0 -32
- package/dist/chat/overlay.d.ts.map +0 -1
- package/dist/chat/overlay.js +0 -103
- package/dist/chat/parts.d.ts +0 -58
- package/dist/chat/parts.d.ts.map +0 -1
- package/dist/chat/parts.js +0 -120
- package/dist/chat/pieces.d.ts +0 -62
- package/dist/chat/pieces.d.ts.map +0 -1
- package/dist/chat/pieces.js +0 -1110
- package/dist/chat/process.d.ts +0 -20
- package/dist/chat/process.d.ts.map +0 -1
- package/dist/chat/process.js +0 -32
- package/dist/chat/provider.d.ts +0 -70
- package/dist/chat/provider.d.ts.map +0 -1
- package/dist/chat/provider.js +0 -635
- package/dist/chat/question.d.ts +0 -9
- package/dist/chat/question.d.ts.map +0 -1
- package/dist/chat/question.js +0 -69
- package/dist/chat/questions.d.ts +0 -31
- package/dist/chat/questions.d.ts.map +0 -1
- package/dist/chat/questions.js +0 -111
- package/dist/chat/read.d.ts +0 -5
- package/dist/chat/read.d.ts.map +0 -1
- package/dist/chat/read.js +0 -13
- package/dist/chat/ready.d.ts +0 -37
- package/dist/chat/ready.d.ts.map +0 -1
- package/dist/chat/ready.js +0 -93
- package/dist/chat/room-file.d.ts +0 -8
- package/dist/chat/room-file.d.ts.map +0 -1
- package/dist/chat/room-file.js +0 -72
- package/dist/chat/steady.d.ts +0 -3
- package/dist/chat/steady.d.ts.map +0 -1
- package/dist/chat/steady.js +0 -26
- package/dist/chat/style.d.ts +0 -4
- package/dist/chat/style.d.ts.map +0 -1
- package/dist/chat/style.js +0 -307
- package/dist/chat.d.ts +0 -15
- package/dist/chat.d.ts.map +0 -1
- package/dist/chat.js +0 -8
- package/dist/fulltext.d.ts +0 -27
- package/dist/fulltext.d.ts.map +0 -1
- package/dist/fulltext.js +0 -368
- package/dist/reads.d.ts +0 -11
- package/dist/reads.d.ts.map +0 -1
- package/dist/reads.js +0 -98
- package/dist/words.d.ts +0 -19
- package/dist/words.d.ts.map +0 -1
- package/dist/words.js +0 -150
package/dist/chat/style.js
DELETED
|
@@ -1,307 +0,0 @@
|
|
|
1
|
-
export const NARROWEST_SHARE = 360;
|
|
2
|
-
export const WHOLE_WINDOW_BELOW = 2 * NARROWEST_SHARE;
|
|
3
|
-
const LIGHT = `
|
|
4
|
-
--ahc-bg: var(--chat-background, #ffffff);
|
|
5
|
-
--ahc-surface: var(--chat-surface, #ffffff);
|
|
6
|
-
--ahc-text: var(--chat-text, #0d0d0d);
|
|
7
|
-
--ahc-muted: var(--chat-text-muted, #666666);
|
|
8
|
-
--ahc-accent: var(--chat-accent, #0d0d0d);
|
|
9
|
-
--ahc-line: var(--chat-line, rgb(0 0 0 / 0.1));
|
|
10
|
-
--ahc-attention: var(--chat-attention, oklch(0.87 0.16 92));
|
|
11
|
-
--ahc-danger: var(--chat-danger, oklch(0.53 0.19 27));
|
|
12
|
-
`;
|
|
13
|
-
const DARK = `
|
|
14
|
-
--ahc-bg: var(--chat-background, #1b1b1b);
|
|
15
|
-
--ahc-surface: var(--chat-surface, #262626);
|
|
16
|
-
--ahc-text: var(--chat-text, #f2f2f2);
|
|
17
|
-
--ahc-muted: var(--chat-text-muted, #9b9b9b);
|
|
18
|
-
--ahc-accent: var(--chat-accent, #f2f2f2);
|
|
19
|
-
--ahc-line: var(--chat-line, rgb(255 255 255 / 0.1));
|
|
20
|
-
--ahc-attention: var(--chat-attention, oklch(0.86 0.155 92));
|
|
21
|
-
--ahc-danger: var(--chat-danger, oklch(0.72 0.16 25));
|
|
22
|
-
`;
|
|
23
|
-
function fill(light, dark) {
|
|
24
|
-
return `light-dark(color-mix(in srgb, var(--ahc-text) ${light}%, transparent), color-mix(in srgb, var(--ahc-text) ${dark}%, transparent))`;
|
|
25
|
-
}
|
|
26
|
-
const TOUCH = `
|
|
27
|
-
--ahc-control: 48px;
|
|
28
|
-
--ahc-compact: 40px;
|
|
29
|
-
--ahc-inset: calc(16px * var(--ahc-density));
|
|
30
|
-
--ahc-gutter: calc(16px * var(--ahc-density));
|
|
31
|
-
--ahc-r-control: calc(var(--ahc-radius) * 1.2);
|
|
32
|
-
`;
|
|
33
|
-
const CSS = `
|
|
34
|
-
.ahc {
|
|
35
|
-
${LIGHT}
|
|
36
|
-
--ahc-font: var(--chat-font, system-ui, -apple-system, "Segoe UI", "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif);
|
|
37
|
-
--ahc-mono: var(--chat-font-mono, ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", "DejaVu Sans Mono", monospace);
|
|
38
|
-
--ahc-size: var(--chat-font-size, 16px);
|
|
39
|
-
--ahc-radius: var(--chat-radius, 20px);
|
|
40
|
-
--ahc-density: var(--chat-density, 1);
|
|
41
|
-
|
|
42
|
-
--ahc-text-2: color-mix(in srgb, var(--ahc-text) 25%, var(--ahc-muted));
|
|
43
|
-
--ahc-on-accent: var(--ahc-bg);
|
|
44
|
-
--ahc-accent-hover: color-mix(in srgb, var(--ahc-accent) 80%, var(--ahc-bg));
|
|
45
|
-
--ahc-line-control: color-mix(in srgb, var(--ahc-line), var(--ahc-text) 10%);
|
|
46
|
-
--ahc-on-attention: color-mix(in srgb, var(--ahc-attention) 12%, black);
|
|
47
|
-
--ahc-danger-hover: color-mix(in srgb, var(--ahc-danger) 88%, black);
|
|
48
|
-
--ahc-hover: ${fill(4.5, 6)};
|
|
49
|
-
--ahc-selected: ${fill(8, 10)};
|
|
50
|
-
--ahc-press: ${fill(11, 14)};
|
|
51
|
-
--ahc-field: ${fill(3.5, 5)};
|
|
52
|
-
--ahc-well: ${fill(5.5, 7.5)};
|
|
53
|
-
--ahc-shadow-raised: 0 1px 2px light-dark(rgb(0 0 0 / 0.04), rgb(0 0 0 / 0.3)), 0 4px 16px light-dark(rgb(0 0 0 / 0.05), rgb(0 0 0 / 0.22));
|
|
54
|
-
--ahc-shadow-overlay: 0 2px 8px light-dark(rgb(0 0 0 / 0.06), rgb(0 0 0 / 0.35)), 0 16px 48px light-dark(rgb(0 0 0 / 0.14), rgb(0 0 0 / 0.55));
|
|
55
|
-
--ahc-scrim: light-dark(rgb(0 0 0 / 0.28), rgb(0 0 0 / 0.6));
|
|
56
|
-
|
|
57
|
-
--ahc-meta: calc(var(--ahc-size) * 0.875);
|
|
58
|
-
--ahc-meta-lead: calc(var(--ahc-size) * 1.25);
|
|
59
|
-
--ahc-body: var(--ahc-size);
|
|
60
|
-
--ahc-body-lead: calc(var(--ahc-size) * 1.5);
|
|
61
|
-
--ahc-read: calc(var(--ahc-size) * 1.0625);
|
|
62
|
-
--ahc-read-lead: calc(var(--ahc-size) * 1.75);
|
|
63
|
-
--ahc-code: calc(var(--ahc-size) * 0.9375);
|
|
64
|
-
--ahc-title-3: calc(var(--ahc-size) * 1.25);
|
|
65
|
-
--ahc-title-3-lead: calc(var(--ahc-size) * 1.75);
|
|
66
|
-
--ahc-title-1: calc(var(--ahc-size) * 2.25);
|
|
67
|
-
--ahc-title-1-lead: calc(var(--ahc-size) * 2.75);
|
|
68
|
-
|
|
69
|
-
--ahc-row: calc(2px * var(--ahc-density));
|
|
70
|
-
--ahc-unit: calc(4px * var(--ahc-density));
|
|
71
|
-
--ahc-pair: calc(8px * var(--ahc-density));
|
|
72
|
-
--ahc-inset: calc(12px * var(--ahc-density));
|
|
73
|
-
--ahc-stack: calc(16px * var(--ahc-density));
|
|
74
|
-
--ahc-block: calc(24px * var(--ahc-density));
|
|
75
|
-
--ahc-gutter: calc(32px * var(--ahc-density));
|
|
76
|
-
--ahc-section: calc(48px * var(--ahc-density));
|
|
77
|
-
|
|
78
|
-
--ahc-compact: 32px;
|
|
79
|
-
--ahc-control: 40px;
|
|
80
|
-
--ahc-topbar: 56px;
|
|
81
|
-
--ahc-column: 768px;
|
|
82
|
-
--ahc-side: 280px;
|
|
83
|
-
|
|
84
|
-
--ahc-r-control: var(--ahc-radius);
|
|
85
|
-
--ahc-r-block: max(0px, calc(var(--ahc-radius) - 4px));
|
|
86
|
-
--ahc-r-tile: var(--ahc-radius);
|
|
87
|
-
--ahc-r-menu: calc(var(--ahc-radius) + 4px);
|
|
88
|
-
--ahc-r-bubble: calc(var(--ahc-radius) + 4px);
|
|
89
|
-
--ahc-r-card: calc(var(--ahc-radius) + 8px);
|
|
90
|
-
--ahc-r-dialog: calc(var(--ahc-radius) + 12px);
|
|
91
|
-
|
|
92
|
-
font-family: var(--ahc-font);
|
|
93
|
-
font-size: var(--ahc-body);
|
|
94
|
-
line-height: var(--ahc-body-lead);
|
|
95
|
-
font-weight: 400;
|
|
96
|
-
letter-spacing: normal;
|
|
97
|
-
text-align: start;
|
|
98
|
-
color: var(--ahc-text);
|
|
99
|
-
overflow-wrap: anywhere;
|
|
100
|
-
-webkit-font-smoothing: antialiased;
|
|
101
|
-
-moz-osx-font-smoothing: grayscale;
|
|
102
|
-
}
|
|
103
|
-
@media (prefers-color-scheme: dark) {
|
|
104
|
-
.ahc { ${DARK} }
|
|
105
|
-
}
|
|
106
|
-
@media (max-width: ${WHOLE_WINDOW_BELOW - 1}px) {
|
|
107
|
-
.ahc { ${TOUCH} }
|
|
108
|
-
}
|
|
109
|
-
.ahc *, .ahc *::before, .ahc *::after { box-sizing: border-box; }
|
|
110
|
-
:where(.ahc) :is(button, input, textarea) { font: inherit; color: inherit; letter-spacing: inherit; margin: 0; }
|
|
111
|
-
:where(.ahc) button { cursor: pointer; }
|
|
112
|
-
:where(.ahc) button:disabled { cursor: default; }
|
|
113
|
-
.ahc :focus, .ahc :focus-visible { outline: none; }
|
|
114
|
-
.ahc a { color: var(--ahc-text); text-decoration: underline; text-decoration-color: var(--ahc-line-control); text-underline-offset: 0.18em; }
|
|
115
|
-
.ahc a:hover { color: var(--ahc-text); text-decoration-color: currentColor; }
|
|
116
|
-
.ahc ::selection { background: var(--ahc-press); }
|
|
117
|
-
.ahc ::placeholder { color: var(--ahc-muted); opacity: 1; }
|
|
118
|
-
.ahc svg { flex: none; }
|
|
119
|
-
.ahc-scope { display: contents; }
|
|
120
|
-
|
|
121
|
-
.ahc-chat { box-sizing: border-box; position: relative; display: flex; width: 100%; height: 100%; min-height: 0; background: var(--ahc-bg); isolation: isolate; }
|
|
122
|
-
.ahc-chat[data-width="3/4"] { --ahc-share: 0.75; }
|
|
123
|
-
.ahc-chat[data-width="1/2"] { --ahc-share: 0.5; }
|
|
124
|
-
.ahc-chat[data-width="1/3"] { --ahc-share: calc(1 / 3); }
|
|
125
|
-
.ahc-chat:is([data-width="3/4"], [data-width="1/2"], [data-width="1/3"]) { position: fixed; top: 0; right: 0; bottom: 0; height: auto; width: max(calc(100% * var(--ahc-share)), ${NARROWEST_SHARE}px); border-inline-start: 1px solid var(--ahc-line); }
|
|
126
|
-
@media (max-width: ${WHOLE_WINDOW_BELOW - 1}px) {
|
|
127
|
-
.ahc-chat:is([data-width="3/4"], [data-width="1/2"], [data-width="1/3"]) { width: 100%; border-inline-start: 0; }
|
|
128
|
-
}
|
|
129
|
-
.ahc-frame { position: relative; flex: 1; min-width: 0; display: flex; container-type: inline-size; }
|
|
130
|
-
.ahc-side { flex: none; width: var(--ahc-side); display: flex; flex-direction: column; overflow: auto; background: color-mix(in srgb, var(--ahc-bg) 96%, var(--ahc-text)); }
|
|
131
|
-
.ahc-list { display: flex; flex-direction: column; gap: var(--ahc-row); padding: var(--ahc-pair); }
|
|
132
|
-
.ahc-list-toggle { display: none; }
|
|
133
|
-
@container (max-width: ${WHOLE_WINDOW_BELOW - 1}px) {
|
|
134
|
-
.ahc-list-toggle { display: flex; }
|
|
135
|
-
.ahc-side { display: none; }
|
|
136
|
-
.ahc-side[data-open] { display: flex; position: absolute; z-index: 3; top: var(--ahc-topbar); bottom: 0; left: 0; width: min(var(--ahc-side), 100%); box-shadow: var(--ahc-shadow-overlay); }
|
|
137
|
-
}
|
|
138
|
-
.ahc-pane { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--ahc-bg); }
|
|
139
|
-
|
|
140
|
-
.ahc-name { display: block; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
141
|
-
.ahc-meta { font-size: var(--ahc-meta); line-height: var(--ahc-meta-lead); color: var(--ahc-muted); }
|
|
142
|
-
.ahc-secondary { color: var(--ahc-text-2); }
|
|
143
|
-
.ahc-muted { color: var(--ahc-muted); }
|
|
144
|
-
.ahc-mono { font-family: var(--ahc-mono); }
|
|
145
|
-
.ahc-spacer { flex: 1; }
|
|
146
|
-
.ahc-clipped { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
147
|
-
.ahc-quiet { font-size: var(--ahc-meta); line-height: var(--ahc-meta-lead); color: var(--ahc-text-2); }
|
|
148
|
-
.ahc-figure { font-variant-numeric: tabular-nums; }
|
|
149
|
-
.ahc-shimmer { font-weight: 500; color: transparent; background: linear-gradient(90deg, var(--ahc-muted) 0%, var(--ahc-muted) 35%, var(--ahc-text) 50%, var(--ahc-muted) 65%, var(--ahc-muted) 100%); background-size: 200% 100%; background-clip: text; -webkit-background-clip: text; animation: ahc-shimmer 2.2s linear infinite; }
|
|
150
|
-
@keyframes ahc-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
|
|
151
|
-
@keyframes ahc-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
|
|
152
|
-
@keyframes ahc-fade { from { opacity: 0; } to { opacity: 1; } }
|
|
153
|
-
|
|
154
|
-
.ahc-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--ahc-pair); flex: none; height: var(--ahc-control); padding: 0 calc(var(--ahc-control) / 2); border: 0; border-radius: var(--ahc-r-control); background: transparent; color: var(--ahc-text); font: inherit; font-weight: 500; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background 120ms cubic-bezier(0.2, 0, 0, 1); }
|
|
155
|
-
.ahc-btn:hover, .ahc-btn:focus-visible { background: var(--ahc-hover); }
|
|
156
|
-
.ahc-btn:active { background: var(--ahc-press); }
|
|
157
|
-
.ahc-btn:disabled { opacity: 0.4; cursor: default; pointer-events: none; }
|
|
158
|
-
.ahc-btn--ink { background: var(--ahc-accent); color: var(--ahc-on-accent); }
|
|
159
|
-
.ahc-btn--ink:hover, .ahc-btn--ink:focus-visible, .ahc-btn--ink:active { background: var(--ahc-accent-hover); }
|
|
160
|
-
.ahc-btn--outline { box-shadow: inset 0 0 0 1px var(--ahc-line-control); }
|
|
161
|
-
.ahc-btn--danger { background: var(--ahc-danger); color: #ffffff; }
|
|
162
|
-
.ahc-btn--danger:hover, .ahc-btn--danger:focus-visible { background: var(--ahc-danger-hover); }
|
|
163
|
-
.ahc-btn--danger-outline { box-shadow: inset 0 0 0 1px var(--ahc-line-control); color: var(--ahc-danger); }
|
|
164
|
-
.ahc-btn--compact { height: var(--ahc-compact); padding: 0 calc(var(--ahc-compact) / 2); }
|
|
165
|
-
.ahc-btn--icon { width: var(--ahc-control); padding: 0; }
|
|
166
|
-
.ahc-btn--icon.ahc-btn--compact { width: var(--ahc-compact); }
|
|
167
|
-
|
|
168
|
-
.ahc-input { width: 100%; height: var(--ahc-control); padding: 0 var(--ahc-stack); border: 1px solid var(--ahc-line); border-radius: var(--ahc-r-control); background: var(--ahc-field); color: var(--ahc-text); font: inherit; }
|
|
169
|
-
.ahc-input:hover, .ahc-input:focus { background: var(--ahc-hover); }
|
|
170
|
-
|
|
171
|
-
.ahc-row { display: flex; align-items: center; gap: var(--ahc-pair); width: 100%; min-height: var(--ahc-control); padding: 0 var(--ahc-inset); border: 0; border-radius: var(--ahc-r-control); background: transparent; color: var(--ahc-text); font: inherit; text-align: left; text-decoration: none; cursor: pointer; outline: none; }
|
|
172
|
-
.ahc-row:hover, .ahc-row:focus-visible, .ahc-row[data-highlighted] { background: var(--ahc-hover); }
|
|
173
|
-
.ahc-row[aria-current], .ahc-row[aria-selected="true"] { background: var(--ahc-selected); }
|
|
174
|
-
.ahc-row--two { flex-wrap: wrap; min-height: 56px; gap: var(--ahc-inset); padding: 0 4px 0 var(--ahc-pair); }
|
|
175
|
-
.ahc-row--danger { color: var(--ahc-danger); }
|
|
176
|
-
.ahc-row__icon { flex: none; display: flex; justify-content: center; min-width: 16px; color: var(--ahc-text-2); }
|
|
177
|
-
.ahc-row__label { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
|
|
178
|
-
.ahc-row__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
179
|
-
.ahc-row__sub, .ahc-row__meta { font-size: var(--ahc-meta); line-height: var(--ahc-meta-lead); color: var(--ahc-muted); }
|
|
180
|
-
.ahc-row__meta { flex: 0 1 auto; min-width: 0; max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
181
|
-
|
|
182
|
-
.ahc-chip { display: inline-flex; align-items: center; gap: var(--ahc-pair); max-width: 100%; height: var(--ahc-compact); padding: 0 var(--ahc-inset) 0 var(--ahc-pair); border: 0; border-radius: var(--ahc-r-control); background: var(--ahc-well); color: var(--ahc-text); font: inherit; font-weight: 500; white-space: nowrap; }
|
|
183
|
-
.ahc-chip--removable { padding-right: var(--ahc-unit); }
|
|
184
|
-
.ahc-chip--attention { height: 28px; padding: 0 var(--ahc-inset); background: var(--ahc-attention); color: var(--ahc-on-attention); font-size: var(--ahc-meta); }
|
|
185
|
-
.ahc-chip--small { height: 24px; }
|
|
186
|
-
.ahc-chips { display: flex; flex-wrap: wrap; }
|
|
187
|
-
|
|
188
|
-
.ahc-menu { z-index: 4; display: flex; flex-direction: column; gap: var(--ahc-row); min-width: 200px; max-width: 280px; padding: 4px; border-radius: var(--ahc-r-menu); background: var(--ahc-surface); box-shadow: var(--ahc-shadow-overlay); color: var(--ahc-text); font-family: var(--ahc-font); font-size: var(--ahc-body); line-height: var(--ahc-body-lead); animation: ahc-rise 200ms cubic-bezier(0.2, 0, 0, 1); }
|
|
189
|
-
.ahc-menu__heading { padding: var(--ahc-pair) var(--ahc-inset) var(--ahc-unit); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--ahc-meta); line-height: var(--ahc-meta-lead); color: var(--ahc-muted); }
|
|
190
|
-
.ahc-menu__gap { height: calc(var(--ahc-pair) - var(--ahc-row)); }
|
|
191
|
-
.ahc-commands { position: absolute; bottom: 100%; left: 0; }
|
|
192
|
-
|
|
193
|
-
.ahc-scrim { position: fixed; inset: 0; z-index: 3; background: var(--ahc-scrim); animation: ahc-fade 320ms cubic-bezier(0.2, 0, 0, 1); }
|
|
194
|
-
.ahc-dialog { position: fixed; z-index: 3; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(480px, calc(100% - 32px)); max-height: calc(100% - 64px); overflow: auto; background: var(--ahc-surface); color: var(--ahc-text); border-radius: var(--ahc-r-dialog); box-shadow: var(--ahc-shadow-overlay); font-family: var(--ahc-font); font-size: var(--ahc-body); line-height: var(--ahc-body-lead); animation: ahc-fade 320ms cubic-bezier(0.2, 0, 0, 1); }
|
|
195
|
-
.ahc-dialog__head { display: flex; align-items: center; gap: var(--ahc-pair); padding: var(--ahc-stack) var(--ahc-stack) 0 var(--ahc-block); }
|
|
196
|
-
.ahc-dialog__title { flex: 1; margin: 0; font-size: var(--ahc-title-3); line-height: var(--ahc-title-3-lead); font-weight: 600; }
|
|
197
|
-
.ahc-dialog__body { display: flex; flex-direction: column; gap: var(--ahc-stack); padding: var(--ahc-pair) var(--ahc-block) 0; color: var(--ahc-text-2); }
|
|
198
|
-
.ahc-dialog__text { margin: 0; text-wrap: pretty; }
|
|
199
|
-
.ahc-dialog__actions { display: flex; justify-content: flex-end; gap: var(--ahc-pair); padding: var(--ahc-block); }
|
|
200
|
-
|
|
201
|
-
.ahc-head { flex: none; display: flex; height: var(--ahc-topbar); padding: 0 var(--ahc-gutter); }
|
|
202
|
-
.ahc-head__column { flex: 1; max-width: var(--ahc-column); display: flex; align-items: center; gap: var(--ahc-pair); min-width: 0; }
|
|
203
|
-
.ahc-head__names { flex: 1; min-width: 0; display: flex; flex-direction: column; }
|
|
204
|
-
.ahc-head__line { font-size: var(--ahc-meta); line-height: var(--ahc-meta-lead); color: var(--ahc-muted); }
|
|
205
|
-
.ahc-title { margin: 0; font-size: var(--ahc-body); line-height: var(--ahc-body-lead); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
206
|
-
.ahc-rename { height: 32px; font-weight: 600; }
|
|
207
|
-
.ahc-deleted { padding: 0 var(--ahc-gutter) var(--ahc-pair); }
|
|
208
|
-
.ahc-deleted__note { display: flex; align-items: flex-start; gap: var(--ahc-inset); max-width: var(--ahc-column); margin: 0; padding: var(--ahc-inset) var(--ahc-stack); border-radius: var(--ahc-r-tile); background: var(--ahc-well); }
|
|
209
|
-
.ahc-deleted__icon { flex: none; display: flex; padding-top: 2px; }
|
|
210
|
-
|
|
211
|
-
.ahc-thread { flex: 1; min-height: 0; display: flex; flex-direction: column; }
|
|
212
|
-
.ahc-viewport { flex: 1; min-height: 0; overflow-y: auto; overflow-anchor: none; display: flex; flex-direction: column; }
|
|
213
|
-
.ahc-column { max-width: var(--ahc-column); margin: 0 var(--ahc-gutter); display: flex; flex-direction: column; font-size: var(--ahc-read); line-height: var(--ahc-read-lead); }
|
|
214
|
-
.ahc-messages { flex: 1; }
|
|
215
|
-
.ahc-footer { position: sticky; z-index: 2; bottom: 0; padding-bottom: var(--ahc-block); background: var(--ahc-bg); }
|
|
216
|
-
.ahc-empty { display: flex; flex-direction: column; gap: var(--ahc-block); padding-top: var(--ahc-section); }
|
|
217
|
-
.ahc-empty__title { margin: 0; font-size: var(--ahc-title-1); line-height: var(--ahc-title-1-lead); font-weight: 600; letter-spacing: -0.012em; }
|
|
218
|
-
.ahc-agents { display: flex; flex-wrap: wrap; gap: var(--ahc-pair); font-size: var(--ahc-body); line-height: var(--ahc-body-lead); }
|
|
219
|
-
.ahc-agent { flex: 0 1 auto; min-width: 0; max-width: 100%; background: var(--ahc-well); padding-left: var(--ahc-inset); }
|
|
220
|
-
.ahc-agent[aria-pressed="true"] { background: var(--ahc-selected); }
|
|
221
|
-
.ahc-agent .ahc-meta { font-weight: 400; }
|
|
222
|
-
|
|
223
|
-
.ahc-you { align-self: flex-end; max-width: 85%; display: flex; flex-direction: column; align-items: flex-end; }
|
|
224
|
-
.ahc-bubble { max-width: 100%; padding: 10px var(--ahc-stack); border-radius: var(--ahc-r-bubble); background: var(--ahc-well); font-size: var(--ahc-read); line-height: var(--ahc-read-lead); text-wrap: pretty; }
|
|
225
|
-
.ahc-said { white-space: pre-wrap; }
|
|
226
|
-
.ahc-transcript { display: block; margin-block: var(--ahc-unit); }
|
|
227
|
-
.ahc-picture { display: block; max-width: 100%; max-height: 320px; border-radius: var(--ahc-r-control); }
|
|
228
|
-
.ahc-house { display: flex; flex-direction: column; gap: var(--ahc-unit); padding: var(--ahc-inset) var(--ahc-stack); border: 1px solid var(--ahc-line); border-radius: var(--ahc-r-tile); font-size: var(--ahc-read); line-height: var(--ahc-read-lead); }
|
|
229
|
-
.ahc-house__from { display: flex; flex-direction: column; }
|
|
230
|
-
.ahc-house__title { font-size: var(--ahc-meta); line-height: var(--ahc-meta-lead); font-weight: 500; }
|
|
231
|
-
.ahc-turn { position: relative; display: flex; flex-direction: column; min-width: 0; }
|
|
232
|
-
.ahc-text { margin: 0; font-size: var(--ahc-read); line-height: var(--ahc-read-lead); text-wrap: pretty; }
|
|
233
|
-
.ahc-text > :first-child { margin-top: 0; }
|
|
234
|
-
.ahc-text > :last-child { margin-bottom: 0; }
|
|
235
|
-
.ahc-thought { font-size: var(--ahc-body); line-height: var(--ahc-body-lead); color: var(--ahc-text-2); }
|
|
236
|
-
.ahc-markdown pre { max-width: 100%; overflow-x: auto; padding: var(--ahc-pair) var(--ahc-inset); border-radius: var(--ahc-r-block); background: var(--ahc-well); font-family: var(--ahc-mono); font-size: var(--ahc-code); overflow-wrap: normal; }
|
|
237
|
-
.ahc-markdown code { font-family: var(--ahc-mono); font-size: var(--ahc-code); }
|
|
238
|
-
.ahc-markdown table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; overflow-wrap: normal; }
|
|
239
|
-
.ahc-markdown th, .ahc-markdown td { padding: var(--ahc-unit) var(--ahc-pair); border: 1px solid var(--ahc-line); text-align: left; vertical-align: top; }
|
|
240
|
-
.ahc-markdown img { max-width: 100%; }
|
|
241
|
-
.ahc-toolline { display: flex; align-items: center; gap: var(--ahc-pair); min-height: var(--ahc-compact); color: var(--ahc-text-2); }
|
|
242
|
-
.ahc-working { color: var(--ahc-muted); font-size: var(--ahc-body); }
|
|
243
|
-
.ahc-toggle { width: fit-content; max-width: 100%; min-height: var(--ahc-compact); gap: 0; padding: 0; font-size: var(--ahc-meta); line-height: var(--ahc-meta-lead); color: var(--ahc-text-2); }
|
|
244
|
-
.ahc-chevron { flex: none; width: 16px; display: flex; color: var(--ahc-muted); transition: transform 120ms cubic-bezier(0.2, 0, 0, 1); }
|
|
245
|
-
.ahc-row[aria-expanded="true"] > .ahc-chevron { transform: rotate(90deg); }
|
|
246
|
-
.ahc-wells { color: var(--ahc-text); }
|
|
247
|
-
.ahc-well { padding: var(--ahc-pair) var(--ahc-inset); border-radius: var(--ahc-r-block); background: var(--ahc-well); white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
248
|
-
.ahc-failure { display: flex; flex-direction: column; align-items: flex-start; padding: var(--ahc-inset) var(--ahc-stack); border-radius: var(--ahc-r-tile); background: var(--ahc-well); font-size: var(--ahc-meta); line-height: var(--ahc-meta-lead); color: var(--ahc-danger); }
|
|
249
|
-
.ahc-actions { display: flex; }
|
|
250
|
-
.ahc-actions--floating { position: absolute; top: 100%; left: 0; z-index: 1; border-radius: var(--ahc-r-control); border: 1px solid var(--ahc-line); background: var(--ahc-surface); box-shadow: var(--ahc-shadow-raised); }
|
|
251
|
-
|
|
252
|
-
.ahc-lasting { display: flex; flex-direction: column; font-size: var(--ahc-body); line-height: var(--ahc-body-lead); }
|
|
253
|
-
.ahc-lasting__head { display: flex; flex-direction: column; }
|
|
254
|
-
.ahc-lasting__title { margin: 0; font-size: var(--ahc-title-3); line-height: var(--ahc-title-3-lead); font-weight: 600; }
|
|
255
|
-
.ahc-item { cursor: default; gap: 0; padding: 0; }
|
|
256
|
-
.ahc-item__lead { flex: none; width: var(--ahc-control); height: var(--ahc-control); border-radius: var(--ahc-r-control); display: flex; align-items: center; justify-content: center; background: var(--ahc-well); color: var(--ahc-text-2); }
|
|
257
|
-
.ahc-item__title { font-weight: 500; white-space: normal; }
|
|
258
|
-
.ahc-item .ahc-row__sub { white-space: normal; }
|
|
259
|
-
.ahc-running { flex: none; display: flex; align-items: center; min-height: var(--ahc-compact); font-size: var(--ahc-meta); line-height: var(--ahc-meta-lead); color: var(--ahc-muted); }
|
|
260
|
-
|
|
261
|
-
.ahc-question { display: flex; flex-direction: column; padding: var(--ahc-pair); border: 1px solid var(--ahc-line); border-radius: var(--ahc-r-card); background: var(--ahc-surface); box-shadow: var(--ahc-shadow-raised); font-size: var(--ahc-body); line-height: var(--ahc-body-lead); }
|
|
262
|
-
.ahc-question__head { display: flex; flex-direction: column; align-items: flex-start; }
|
|
263
|
-
.ahc-question__text { margin: 0; font-size: var(--ahc-read); line-height: var(--ahc-read-lead); font-weight: 600; }
|
|
264
|
-
.ahc-field { display: flex; flex-direction: column; }
|
|
265
|
-
.ahc-option { display: flex; align-items: flex-start; width: 100%; padding: var(--ahc-inset) var(--ahc-stack) var(--ahc-inset) var(--ahc-inset); border: 0; border-radius: var(--ahc-r-tile); background: transparent; box-shadow: inset 0 0 0 1px var(--ahc-line-control); color: var(--ahc-text); font: inherit; text-align: left; cursor: pointer; }
|
|
266
|
-
.ahc-option:hover, .ahc-option:focus-visible { background: var(--ahc-hover); }
|
|
267
|
-
.ahc-option[aria-pressed="true"] { background: var(--ahc-selected); box-shadow: none; }
|
|
268
|
-
.ahc-option__key { flex: none; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ahc-well); color: var(--ahc-text-2); font-size: var(--ahc-meta); font-weight: 500; }
|
|
269
|
-
.ahc-option__body { flex: 1; display: flex; flex-direction: column; }
|
|
270
|
-
.ahc-option__label { font-weight: 500; }
|
|
271
|
-
.ahc-option__note { font-size: var(--ahc-meta); line-height: var(--ahc-meta-lead); color: var(--ahc-text-2); }
|
|
272
|
-
.ahc-row-of { display: flex; }
|
|
273
|
-
|
|
274
|
-
.ahc-input-area { display: flex; flex-direction: column; }
|
|
275
|
-
.ahc-queue { display: flex; flex-direction: column; }
|
|
276
|
-
.ahc-queue__head { display: flex; align-items: center; gap: var(--ahc-pair); font-size: var(--ahc-meta); line-height: var(--ahc-meta-lead); color: var(--ahc-muted); }
|
|
277
|
-
.ahc-queue__said { flex: 1; }
|
|
278
|
-
.ahc-queue-row { display: flex; align-items: center; gap: var(--ahc-pair); height: var(--ahc-control); padding: 0 4px 0 var(--ahc-inset); border-radius: var(--ahc-r-control); background: var(--ahc-well); }
|
|
279
|
-
.ahc-queue-row__text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
280
|
-
.ahc-composer { position: relative; display: flex; flex-direction: column; padding: var(--ahc-pair); border: 1px solid var(--ahc-line); border-radius: var(--ahc-r-card); background: var(--ahc-surface); box-shadow: var(--ahc-shadow-raised); }
|
|
281
|
-
.ahc-composer__input { display: block; width: 100%; max-height: 240px; resize: none; border: 0; padding: var(--ahc-pair) var(--ahc-inset); background: transparent; color: var(--ahc-text); font: inherit; font-size: var(--ahc-read); line-height: var(--ahc-read-lead); }
|
|
282
|
-
.ahc-composer__bar { display: flex; align-items: center; gap: var(--ahc-pair); }
|
|
283
|
-
.ahc-picker { flex-shrink: 1; min-width: 0; color: var(--ahc-text-2); padding: 0 var(--ahc-inset); }
|
|
284
|
-
.ahc-note { margin: 1em 0; font-size: var(--ahc-meta); line-height: var(--ahc-meta-lead); color: var(--ahc-text-2); }
|
|
285
|
-
.ahc-note[data-state="refused"] { color: var(--ahc-danger); }
|
|
286
|
-
.ahc-again { padding: 0; border: 0; background: transparent; color: var(--ahc-text); font-weight: 500; text-decoration: underline; text-underline-offset: 0.18em; }
|
|
287
|
-
|
|
288
|
-
@media (prefers-reduced-motion: reduce) {
|
|
289
|
-
.ahc *, .ahc *::before, .ahc *::after { animation: none !important; transition: none !important; }
|
|
290
|
-
}
|
|
291
|
-
`;
|
|
292
|
-
const ADOPTED = new WeakSet();
|
|
293
|
-
function rooted(node) {
|
|
294
|
-
return 'adoptedStyleSheets' in node;
|
|
295
|
-
}
|
|
296
|
-
export function adopted(element) {
|
|
297
|
-
const root = element?.getRootNode();
|
|
298
|
-
if (root === undefined || ADOPTED.has(root) || !rooted(root))
|
|
299
|
-
return;
|
|
300
|
-
const view = (root.ownerDocument ?? root).defaultView;
|
|
301
|
-
if (view === null)
|
|
302
|
-
return;
|
|
303
|
-
const sheet = new view.CSSStyleSheet();
|
|
304
|
-
sheet.replaceSync(CSS);
|
|
305
|
-
root.adoptedStyleSheets = [...root.adoptedStyleSheets, sheet];
|
|
306
|
-
ADOPTED.add(root);
|
|
307
|
-
}
|
package/dist/chat.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export { ChatProvider, useChat, type ChatActing, type ChatOpened, type ChatProviderProps, type ChatQueued, type ChatState, } from './chat/provider.js';
|
|
2
|
-
export { awaitsTurn, chatMessages } from './chat/messages.js';
|
|
3
|
-
export { Chat, mountChat, type ChatProps, type ChatWidth, type MountedChat } from './chat/ready.js';
|
|
4
|
-
export { ChatMessageList, type ChatMessageListProps } from './chat/list.js';
|
|
5
|
-
export { ChatInput, type ChatInputProps } from './chat/input.js';
|
|
6
|
-
export { ChatQuestionCard, type ChatQuestionCardProps } from './chat/question.js';
|
|
7
|
-
export type { ChatNoteProps } from './chat/kit.js';
|
|
8
|
-
export { ChatName } from './chat/name.js';
|
|
9
|
-
export { Markdown, anchorOf, plainText, revealed, slugOf, type FileReference, type MarkdownProps, } from './chat/markdown.js';
|
|
10
|
-
export type { ChatOutcome } from './chat/acts.js';
|
|
11
|
-
export type { ChatRequest } from './chat/house.js';
|
|
12
|
-
export type { ChatWork } from './chat/parts.js';
|
|
13
|
-
export type { ChatCommand, ChatOption, ChatOptionValue } from './chat/process.js';
|
|
14
|
-
export type { ChatAnswer, ChatChoice, ChatField, ChatLone, ChatQuestion, } from './chat/questions.js';
|
|
15
|
-
//# sourceMappingURL=chat.d.ts.map
|
package/dist/chat.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../src/chat.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,OAAO,EACP,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,UAAU,EACf,KAAK,SAAS,GACf,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACpG,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAC5E,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAClF,YAAY,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EACL,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,MAAM,EACN,KAAK,aAAa,EAClB,KAAK,aAAa,GACnB,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,YAAY,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,YAAY,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAClF,YAAY,EACV,UAAU,EACV,UAAU,EACV,SAAS,EACT,QAAQ,EACR,YAAY,GACb,MAAM,qBAAqB,CAAC"}
|
package/dist/chat.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { ChatProvider, useChat, } from './chat/provider.js';
|
|
2
|
-
export { awaitsTurn, chatMessages } from './chat/messages.js';
|
|
3
|
-
export { Chat, mountChat } from './chat/ready.js';
|
|
4
|
-
export { ChatMessageList } from './chat/list.js';
|
|
5
|
-
export { ChatInput } from './chat/input.js';
|
|
6
|
-
export { ChatQuestionCard } from './chat/question.js';
|
|
7
|
-
export { ChatName } from './chat/name.js';
|
|
8
|
-
export { Markdown, anchorOf, plainText, revealed, slugOf, } from './chat/markdown.js';
|
package/dist/fulltext.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { type QueryRoom } from './compile.js';
|
|
2
|
-
import type { Plan } from './query.js';
|
|
3
|
-
import type { HitCursor, SearchWindow } from './search.js';
|
|
4
|
-
import type { Connection } from './tables.js';
|
|
5
|
-
export declare const SEARCH_TABLES: readonly string[];
|
|
6
|
-
export type SearchAsk = {
|
|
7
|
-
readonly text: string;
|
|
8
|
-
readonly limit: number;
|
|
9
|
-
readonly after: readonly [HitCursor, HitCursor] | null;
|
|
10
|
-
readonly total: boolean;
|
|
11
|
-
readonly documents: {
|
|
12
|
-
readonly plan: Plan;
|
|
13
|
-
readonly rooms: readonly QueryRoom[];
|
|
14
|
-
readonly beneath: readonly {
|
|
15
|
-
readonly key: number;
|
|
16
|
-
readonly roots: readonly string[];
|
|
17
|
-
}[];
|
|
18
|
-
} | null;
|
|
19
|
-
readonly conversations: readonly string[];
|
|
20
|
-
};
|
|
21
|
-
export declare function indexDocument(connection: Connection, id: number, path: string, content: string): void;
|
|
22
|
-
export declare function indexMessage(connection: Connection, id: number, text: string): void;
|
|
23
|
-
export declare function unindexDocuments(connection: Connection, ids: Iterable<number>): void;
|
|
24
|
-
export declare function unindexMessages(connection: Connection, ids: Iterable<number>): void;
|
|
25
|
-
export declare function unindexAll(connection: Connection): void;
|
|
26
|
-
export declare function searched(connection: Connection, ask: SearchAsk): SearchWindow;
|
|
27
|
-
//# sourceMappingURL=fulltext.d.ts.map
|
package/dist/fulltext.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fulltext.d.ts","sourceRoot":"","sources":["../src/fulltext.ts"],"names":[],"mappings":"AACA,OAAO,EAA2B,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACvE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,OAAO,KAAK,EAGV,SAAS,EAET,YAAY,EAEb,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,UAAU,EAAS,MAAM,aAAa,CAAC;AAmBrD,eAAO,MAAM,aAAa,EAAE,SAAS,MAAM,EAG1C,CAAC;AAsCF,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC,SAAS,EAAE,SAAS,CAAC,GAAG,IAAI,CAAC;IACvD,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,SAAS,EAAE;QAClB,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;QACpB,QAAQ,CAAC,KAAK,EAAE,SAAS,SAAS,EAAE,CAAC;QACrC,QAAQ,CAAC,OAAO,EAAE,SAAS;YAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;YAAC,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAA;SAAE,EAAE,CAAC;KAC1F,GAAG,IAAI,CAAC;IACT,QAAQ,CAAC,aAAa,EAAE,SAAS,MAAM,EAAE,CAAC;CAC3C,CAAC;AA2CF,wBAAgB,aAAa,CAC3B,UAAU,EAAE,UAAU,EACtB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,GACd,IAAI,CAgBN;AAED,wBAAgB,YAAY,CAAC,UAAU,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAOnF;AAWD,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ,CAAC,MAAM,CAAC,GAAG,IAAI,CAEpF;AAED,wBAAgB,eAAe,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ,CAAC,MAAM,CAAC,GAAG,IAAI,CAEnF;AAED,wBAAgB,UAAU,CAAC,UAAU,EAAE,UAAU,GAAG,IAAI,CAIvD;AAgTD,wBAAgB,QAAQ,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,SAAS,GAAG,YAAY,CAsB7E"}
|