@vibefield/rosetta-room 0.1.1 → 0.1.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 +82 -4
- package/dist/HistoryRoom.d.ts +15 -2
- package/dist/HistoryRoom.js +84 -27
- package/dist/TranscriptReader.d.ts +7 -0
- package/dist/TranscriptReader.js +4 -4
- package/dist/components/ColdStart.js +1 -1
- package/dist/components/IngestStatus.d.ts +13 -0
- package/dist/components/IngestStatus.js +40 -3
- package/dist/components/IngestionControls.d.ts +6 -0
- package/dist/components/IngestionControls.js +75 -0
- package/dist/components/ListActivityNotice.d.ts +9 -1
- package/dist/components/ListActivityNotice.js +9 -2
- package/dist/components/SummaryPanels.d.ts +5 -0
- package/dist/components/SummaryPanels.js +16 -5
- package/dist/components/Transcript.d.ts +5 -0
- package/dist/components/Transcript.js +20 -5
- package/dist/components/artifacts/ArtifactLibrary.d.ts +14 -0
- package/dist/components/artifacts/ArtifactLibrary.js +156 -0
- package/dist/components/artifacts/content.d.ts +8 -0
- package/dist/components/artifacts/content.js +27 -0
- package/dist/components/artifacts/load-all.d.ts +5 -0
- package/dist/components/artifacts/load-all.js +31 -0
- package/dist/components/artifacts/preview.d.ts +4 -0
- package/dist/components/artifacts/preview.js +37 -0
- package/dist/components/artifacts/thumbnails.d.ts +13 -0
- package/dist/components/artifacts/thumbnails.js +43 -0
- package/dist/components/projects/ProjectList.d.ts +9 -3
- package/dist/components/projects/ProjectList.js +3 -3
- package/dist/components/projects/ProjectListItem.d.ts +9 -3
- package/dist/components/projects/ProjectListItem.js +18 -12
- package/dist/components/projects/ProjectsColumn.d.ts +4 -1
- package/dist/components/projects/ProjectsColumn.js +23 -9
- package/dist/components/search/SearchSheet.d.ts +39 -2
- package/dist/components/search/SearchSheet.js +82 -17
- package/dist/components/sessions/SessionList.d.ts +6 -1
- package/dist/components/sessions/SessionList.js +50 -20
- package/dist/components/sessions/SessionListItem.d.ts +3 -1
- package/dist/components/sessions/SessionListItem.js +17 -7
- package/dist/components/sessions/SessionsColumn.d.ts +3 -1
- package/dist/components/sessions/SessionsColumn.js +2 -2
- package/dist/components/sessions/session-display.d.ts +4 -1
- package/dist/components/sessions/session-display.js +13 -2
- package/dist/components/transcript/Attachments.js +6 -1
- package/dist/components/transcript/Document.d.ts +6 -1
- package/dist/components/transcript/Document.js +19 -6
- package/dist/components/transcript/ImportState.d.ts +35 -0
- package/dist/components/transcript/ImportState.js +86 -0
- package/dist/components/transcript/TranscriptLoading.js +15 -5
- package/dist/components/transcript/attachment-file-source.d.ts +2 -0
- package/dist/components/transcript/attachment-file-source.js +6 -6
- package/dist/components/transcript/attachment-gallery.d.ts +2 -1
- package/dist/components/transcript/attachment-gallery.js +2 -1
- package/dist/components/transcript/detail-parts.js +7 -6
- package/dist/components/transcript/timeline-meta-file-source.d.ts +2 -1
- package/dist/components/transcript/timeline-meta-file-source.js +45 -5
- package/dist/components/ui/EmptyState.d.ts +5 -1
- package/dist/components/ui/EmptyState.js +2 -2
- package/dist/components/ui/Meter.d.ts +8 -0
- package/dist/components/ui/Meter.js +9 -0
- package/dist/components/ui/SegmentedControl.d.ts +2 -0
- package/dist/components/ui/SegmentedControl.js +1 -1
- package/dist/components/ui/Veil.d.ts +2 -1
- package/dist/components/ui/Veil.js +9 -2
- package/dist/components/ui/index.d.ts +2 -0
- package/dist/components/ui/index.js +1 -0
- package/dist/fixtures/cold-import-corpus.d.ts +76 -0
- package/dist/fixtures/cold-import-corpus.js +349 -0
- package/dist/fixtures/cold-import-daemon.d.ts +25 -0
- package/dist/fixtures/cold-import-daemon.js +82 -0
- package/dist/fixtures/cold-import-schedule.d.ts +74 -0
- package/dist/fixtures/cold-import-schedule.js +191 -0
- package/dist/fixtures/cold-import.d.ts +151 -0
- package/dist/fixtures/cold-import.js +786 -0
- package/dist/fixtures/index.d.ts +2 -0
- package/dist/fixtures/index.js +21 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -0
- package/dist/lib/activity-order.d.ts +15 -0
- package/dist/lib/activity-order.js +24 -1
- package/dist/lib/conversation-readiness.d.ts +48 -0
- package/dist/lib/conversation-readiness.js +149 -0
- package/dist/lib/figure-order.d.ts +35 -0
- package/dist/lib/figure-order.js +68 -0
- package/dist/lib/hooks.d.ts +32 -10
- package/dist/lib/hooks.js +122 -55
- package/dist/lib/image-media.d.ts +12 -2
- package/dist/lib/image-media.js +40 -6
- package/dist/lib/import-state.d.ts +98 -0
- package/dist/lib/import-state.js +129 -0
- package/dist/lib/ingest-activity.d.ts +52 -0
- package/dist/lib/ingest-activity.js +127 -12
- package/dist/lib/ingest.d.ts +3 -0
- package/dist/lib/ingest.js +10 -0
- package/dist/lib/model.d.ts +16 -0
- package/dist/lib/model.js +27 -1
- package/dist/lib/search-sheet.d.ts +43 -0
- package/dist/lib/search-sheet.js +56 -7
- package/dist/lib/session-activity.d.ts +4 -1
- package/dist/lib/session-activity.js +4 -1
- package/dist/lib/title-search.d.ts +82 -0
- package/dist/lib/title-search.js +194 -0
- package/dist/lib/transcript/images.js +2 -2
- package/dist/lib/use-deferred-list-order.d.ts +6 -0
- package/dist/lib/use-deferred-list-order.js +8 -1
- package/dist/lib/use-ingest-activity.d.ts +5 -1
- package/dist/lib/use-ingest-activity.js +56 -20
- package/dist/ports.d.ts +21 -2
- package/dist/room-context.d.ts +1 -0
- package/dist/room-context.js +3 -2
- package/dist/styles/artifacts.css +66 -0
- package/dist/styles/history-room.css +1 -0
- package/dist/styles/ingest.css +32 -3
- package/dist/styles/room.css +15 -0
- package/dist/styles/search.css +17 -0
- package/package.json +2 -2
package/dist/styles/ingest.css
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
/* Progress describes its named step and never covers available content. */
|
|
2
2
|
.ah-ingest-status {
|
|
3
|
-
flex: 0 0 auto; margin: 10px 10px 2px; padding: 13px 14px 8px; min-width: 0;
|
|
3
|
+
position: relative; flex: 0 0 auto; margin: 10px 10px 2px; padding: 13px 14px 8px; min-width: 0;
|
|
4
4
|
border: 1px solid var(--vf-hairline-strong); border-radius: 11px;
|
|
5
5
|
background: var(--vf-chrome-surface); color: var(--vf-text-primary);
|
|
6
6
|
font-size: 11px; text-align: left; font-variant-numeric: tabular-nums;
|
|
7
7
|
}
|
|
8
8
|
.ah-ingest-status__eyebrow { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--vf-text-secondary); font-size: 9px; font-weight: 600; letter-spacing: .045em; }
|
|
9
9
|
.ah-ingest-status h3 { margin: 7px 0 5px; font-size: 13px; line-height: 1.4; font-weight: 600; letter-spacing: -.015em; }
|
|
10
|
-
.ah-ingest-
|
|
10
|
+
.ah-ingest-status__count { color: var(--vf-text-secondary); font-weight: 500; }
|
|
11
|
+
.ah-ingest-status__horizon { margin: 7px 0 0; color: var(--vf-text-secondary); font-size: 10px; line-height: 1.5; }
|
|
12
|
+
.ah-ingest-status .ah-ingest-status__detail { margin: 0 0 13px; color: var(--vf-text-secondary); font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
|
|
11
13
|
.ah-ingest-status__amount { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 7px; line-height: 1.4; }
|
|
12
14
|
.ah-ingest-status__amount b { font-size: 11px; font-weight: 500; }
|
|
13
15
|
.ah-ingest-meter { overflow: hidden; height: 4px; border-radius: 4px; background: var(--vf-hairline-strong); }
|
|
@@ -41,11 +43,38 @@
|
|
|
41
43
|
.ah-project-list-item[data-cooking] .ah-project-list-item__metrics { animation: none; }
|
|
42
44
|
.ah-project-list-item__metrics[data-cooking]::after { display: none; }
|
|
43
45
|
.ah-project-list-item[data-cooking]:not([data-fill]) .ah-project-list-item__accent { animation: none; opacity: .3; }
|
|
46
|
+
/* The room's colourless meter (room.css) when nobody knows the amount: it
|
|
47
|
+
sweeps rather than resting at an invented width — a fixed sliver reads as
|
|
48
|
+
progress that was never measured. Same travel as the import card's. */
|
|
49
|
+
.ah-meter[data-indeterminate] i { width: 34%; animation: ah-ingest-travel 1.8s ease-in-out infinite; }
|
|
44
50
|
@keyframes ah-ingest-travel { 0% { transform: translateX(-110%); } 100% { transform: translateX(310%); } }
|
|
45
51
|
@media (prefers-reduced-motion: reduce) {
|
|
46
52
|
.ah-ingest-meter i, .ah-ingest-status__agents summary > span { animation: none; transition: none; }
|
|
47
|
-
.ah-ingest-meter[data-indeterminate] i
|
|
53
|
+
.ah-ingest-meter[data-indeterminate] i,
|
|
54
|
+
.ah-meter[data-indeterminate] i { width: 100%; opacity: .35; animation: none; }
|
|
48
55
|
.ah-project-list-item__accent { animation: none !important; transition: none !important; }
|
|
49
56
|
}
|
|
50
57
|
|
|
51
58
|
.ah-ingest-note { flex: 0 0 auto; margin: 0; padding: 9px 14px; color: var(--vf-text-secondary); font-size: 11px; line-height: 1.5; }
|
|
59
|
+
|
|
60
|
+
.ah-ingest-controls { margin: 10px 0 4px; }
|
|
61
|
+
.ah-ingest-controls button { padding: 5px 10px; border: 1px solid var(--vf-hairline-strong); border-radius: 5px; background: var(--vf-chrome-surface); color: var(--vf-text-primary); font: inherit; cursor: pointer; }
|
|
62
|
+
.ah-ingest-controls button:disabled { opacity: .55; cursor: default; }
|
|
63
|
+
.ah-ingest-controls button:focus-visible { outline: 2px solid var(--vf-select); outline-offset: 2px; }
|
|
64
|
+
.ah-ingest-controls [role="alert"] { color: var(--vf-text-secondary); line-height: 1.5; }
|
|
65
|
+
|
|
66
|
+
/* The card's place in the projects column (IngestStatusFold): its height
|
|
67
|
+
follows the card, easing only at the end, so the rows glide. */
|
|
68
|
+
.ah-ingest-fold { flex: 0 0 auto; overflow: hidden; }
|
|
69
|
+
.ah-ingest-fold__content { display: flow-root; }
|
|
70
|
+
.ah-ingest-fold[data-ending] { transition: height 360ms cubic-bezier(.4, 0, .2, 1); }
|
|
71
|
+
.ah-ingest-status[data-compact] { padding: 8px 14px; }
|
|
72
|
+
.ah-ingest-status[data-compact] h3 { margin: 0; font-size: 12px; font-weight: 500; }
|
|
73
|
+
@media (prefers-reduced-motion: reduce) {
|
|
74
|
+
.ah-ingest-fold[data-ending] { transition: none; }
|
|
75
|
+
}
|
|
76
|
+
/* A short window shares column ① between the portfolio and a search card:
|
|
77
|
+
the card keeps its title, amount and meter. */
|
|
78
|
+
@media (max-height: 820px) {
|
|
79
|
+
.ah-ingest-status[data-state^="search_"]:not([data-state="search_failed"]) .ah-ingest-status__detail { display: none; }
|
|
80
|
+
}
|
package/dist/styles/room.css
CHANGED
|
@@ -382,6 +382,15 @@
|
|
|
382
382
|
color: var(--vf-text-faint); font-size: 9.5px; font-weight: 500;
|
|
383
383
|
text-transform: uppercase; letter-spacing: 0.08em;
|
|
384
384
|
}
|
|
385
|
+
/* The import's date-free groups: a head that is a count, not a calendar day.
|
|
386
|
+
It keeps the day head's place and voice, so only the dashed rule above it
|
|
387
|
+
tells it apart from a date. */
|
|
388
|
+
.ah-day[data-not-imported] {
|
|
389
|
+
margin-top: 10px;
|
|
390
|
+
background: linear-gradient(90deg, var(--vf-hairline) 50%, transparent 0) top left / 6px 1px repeat-x,
|
|
391
|
+
linear-gradient(var(--ah-plate) 72%, transparent);
|
|
392
|
+
}
|
|
393
|
+
.ah-session-list > .ah-day[data-not-imported]:first-child { margin-top: 0; }
|
|
385
394
|
/* The session row answers the same four questions the ledger row does, in the
|
|
386
395
|
same corners: state and title on the first line, the agent top-right, the
|
|
387
396
|
facts in the middle, the branch bottom-left and the time bottom-right. */
|
|
@@ -410,6 +419,12 @@
|
|
|
410
419
|
.ah-session-list-item__status[data-tone="red"] { background: var(--vf-red); }
|
|
411
420
|
/* live is the one state that is still happening, so it also breathes */
|
|
412
421
|
.ah-session-list-item__status[data-live] { box-shadow: 0 0 0 3px color-mix(in srgb, var(--vf-green) 22%, transparent); }
|
|
422
|
+
/* Not imported yet is no §2.5 state: a hollow, colourless ring, and its time
|
|
423
|
+
slot speaks in the same faint voice instead of claiming a time. */
|
|
424
|
+
.ah-session-list-item[data-standing="not-imported"] .ah-session-list-item__status {
|
|
425
|
+
background: transparent; box-shadow: inset 0 0 0 1.5px var(--vf-text-faint);
|
|
426
|
+
}
|
|
427
|
+
.ah-session-list-item[data-standing="not-imported"] .ah-last { color: var(--vf-text-faint); font-style: italic; }
|
|
413
428
|
|
|
414
429
|
.ah-session-list-item__header { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; min-height: 16px; }
|
|
415
430
|
.ah-session-list-item__footer { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; min-width: 0; }
|
package/dist/styles/search.css
CHANGED
|
@@ -212,6 +212,23 @@
|
|
|
212
212
|
.ah-sheet__recent:hover .ah-sheet__forget, .ah-sheet__forget:focus-visible { opacity: 1; }
|
|
213
213
|
.ah-sheet__forget:hover { color: var(--vf-text-primary); background: var(--vf-fill-hover); }
|
|
214
214
|
|
|
215
|
+
/* titles that match — while the full-text index is still on its way, the
|
|
216
|
+
sheet lists the session titles the room already holds, in a hit's shape:
|
|
217
|
+
the agent's mark, the project's tint and name, the title, the day */
|
|
218
|
+
.ah-sheet__titles-head { display: flex; justify-content: space-between; gap: 12px; }
|
|
219
|
+
.ah-sheet__titles-head > span:last-child {
|
|
220
|
+
text-transform: none; letter-spacing: 0; font-weight: 400; font-variant-numeric: tabular-nums;
|
|
221
|
+
}
|
|
222
|
+
.ah-sheet__row[data-title] .ah-sheet__snippet { -webkit-line-clamp: 1; }
|
|
223
|
+
.ah-sheet__project {
|
|
224
|
+
display: inline-flex; align-items: baseline; gap: 5px; margin-right: 7px;
|
|
225
|
+
color: var(--vf-text-tertiary); font-size: 11px;
|
|
226
|
+
}
|
|
227
|
+
.ah-sheet__project > i {
|
|
228
|
+
flex: none; align-self: center; width: 6px; height: 6px; border-radius: 999px; background: var(--tint);
|
|
229
|
+
}
|
|
230
|
+
.ah-sheet__pending { margin: 6px 10px 2px; color: var(--vf-text-faint); font-size: 11px; line-height: 1.6; }
|
|
231
|
+
|
|
215
232
|
/* the foot — the count, the scope, the keys */
|
|
216
233
|
.ah-sheet__foot {
|
|
217
234
|
display: flex; align-items: center; gap: 12px; flex: none;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibefield/rosetta-room",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "rosetta's History room as a package: the projects, sessions and worktree columns, the panels and charts, and the transcript, behind injected ports. It dials nothing.",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@radix-ui/react-context-menu": "^2.3.7",
|
|
36
36
|
"@radix-ui/react-dialog": "^1.1.23",
|
|
37
37
|
"@radix-ui/react-tooltip": "^1.2.16",
|
|
38
|
-
"@vibefield/rosetta-protocol": "^0.1.
|
|
38
|
+
"@vibefield/rosetta-protocol": "^0.1.3",
|
|
39
39
|
"@tanstack/react-virtual": "^3.14.10",
|
|
40
40
|
"@vibecook/mille": "^0.3.4",
|
|
41
41
|
"@vibecook/mille-ui": "^0.3.4"
|