@loomcycle/explorer 0.9.0 → 0.12.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.
package/dist/styles.css CHANGED
@@ -382,6 +382,35 @@
382
382
  opacity: 0.45;
383
383
  cursor: not-allowed;
384
384
  }
385
+ /* RFC FQ — the tree | stars navigator switch */
386
+ .loomcycle-explorer .paths-nav-switch {
387
+ display: inline-flex;
388
+ border: 1px solid var(--border);
389
+ border-radius: 4px;
390
+ overflow: hidden;
391
+ }
392
+ .loomcycle-explorer .paths-nav-switch button {
393
+ padding: 4px 10px;
394
+ border: none;
395
+ background: var(--bg);
396
+ color: var(--fg-soft);
397
+ cursor: pointer;
398
+ }
399
+ .loomcycle-explorer .paths-nav-switch button + button {
400
+ border-left: 1px solid var(--border);
401
+ }
402
+ .loomcycle-explorer .paths-nav-switch button.active {
403
+ background: var(--bg-soft);
404
+ color: var(--fg);
405
+ box-shadow: inset 0 -2px 0 var(--accent);
406
+ }
407
+ /* The star-map navigator (renderNavigator slot) fills the left pane. */
408
+ .loomcycle-explorer .paths-view .left > .paths-navigator {
409
+ flex: 1;
410
+ min-height: 0;
411
+ display: flex;
412
+ flex-direction: column;
413
+ }
385
414
  .loomcycle-explorer .paths-context {
386
415
  margin: 0;
387
416
  padding: 6px 12px;
@@ -686,17 +715,17 @@
686
715
  background: var(--accent);
687
716
  color: white;
688
717
  }
718
+ /* The tree | chunk split is a Splitter (grid columns + a draggable handle that
719
+ draws the border). The single row is bounded so each pane scrolls on its own. */
689
720
  .loomcycle-explorer .doc-split {
690
721
  flex: 1;
691
- display: flex;
692
722
  min-height: 0;
723
+ grid-template-rows: minmax(0, 1fr);
693
724
  }
694
725
  .loomcycle-explorer .doc-chunktree {
695
- width: 40%;
696
- max-width: 360px;
726
+ flex: 1;
697
727
  overflow: auto;
698
728
  padding: 8px;
699
- border-right: 1px solid var(--border);
700
729
  min-height: 0;
701
730
  }
702
731
  .loomcycle-explorer .doc-content {
@@ -725,8 +754,9 @@
725
754
  }
726
755
  .loomcycle-explorer .doc-content-controls {
727
756
  display: flex;
757
+ flex-wrap: wrap; /* a narrow pane (the splitter allows one) wraps, never clips */
728
758
  align-items: center;
729
- gap: 12px;
759
+ gap: 6px 12px;
730
760
  }
731
761
  /* Direct-child only, so the nested .doc-mode-toggle keeps its segmented look. */
732
762
  .loomcycle-explorer .doc-content-controls > button {
@@ -746,6 +776,51 @@
746
776
  color: var(--danger);
747
777
  border-color: var(--danger);
748
778
  }
779
+ /* Edit is the main action on a chunk, so it is filled orange to stand out from
780
+ the outlined controls. One soft light orange in both themes (the light
781
+ theme's --running is a dim amber that reads as brown on a filled button). */
782
+ .loomcycle-explorer .doc-content-controls > button.chunk-edit {
783
+ background: #f8c58c;
784
+ border-color: #eeac62;
785
+ color: #3d2408;
786
+ font-weight: 600;
787
+ }
788
+ .loomcycle-explorer .doc-content-controls > button.chunk-edit:hover {
789
+ filter: brightness(1.08);
790
+ }
791
+ /* The chunks above the selected one: an Up button to the parent, then a crumb
792
+ per level back to the root. Reuses the document trail's crumb styles. */
793
+ .loomcycle-explorer .chunk-ancestry {
794
+ display: flex;
795
+ align-items: flex-start;
796
+ gap: 10px;
797
+ margin-bottom: 6px;
798
+ font-size: var(--lc-text-sm);
799
+ min-width: 0;
800
+ }
801
+ .loomcycle-explorer .chunk-ancestry-up {
802
+ flex: none;
803
+ background: var(--bg);
804
+ color: var(--fg);
805
+ border: 1px solid var(--border);
806
+ border-radius: 4px;
807
+ padding: 2px 8px;
808
+ cursor: pointer;
809
+ }
810
+ /* A deep chunk in a narrow pane wraps its crumbs onto more lines rather than
811
+ cutting every title to a few letters (each crumb still caps at 28ch). */
812
+ .loomcycle-explorer .chunk-ancestry .doc-trail-list {
813
+ flex-wrap: wrap;
814
+ row-gap: 2px;
815
+ }
816
+ .loomcycle-explorer .chunk-ancestry-up:hover {
817
+ border-color: var(--accent);
818
+ }
819
+ .loomcycle-explorer .chunk-ancestry button:focus-visible {
820
+ outline: 2px solid var(--accent);
821
+ outline-offset: 2px;
822
+ border-radius: 2px;
823
+ }
749
824
  /* The selected-chunk view (chunk body OR assembled markdown) scrolls
750
825
  independently of the fixed head — both modes can be long. */
751
826
  .loomcycle-explorer .doc-content-body {
@@ -1050,6 +1125,11 @@
1050
1125
  font-size: var(--lc-text-sm);
1051
1126
  margin: 0;
1052
1127
  }
1128
+ .loomcycle-explorer .doc-refs-incomplete {
1129
+ color: var(--fg-soft);
1130
+ font-size: var(--lc-text-sm);
1131
+ margin: 0 0 6px;
1132
+ }
1053
1133
  .loomcycle-explorer .doc-refs-list {
1054
1134
  list-style: none;
1055
1135
  margin: 0;
@@ -1060,8 +1140,9 @@
1060
1140
  }
1061
1141
  .loomcycle-explorer .doc-ref {
1062
1142
  display: flex;
1143
+ flex-wrap: wrap; /* the evidence quotes + a reject reason wrap onto their own line */
1063
1144
  align-items: center;
1064
- gap: 8px;
1145
+ gap: 4px 8px;
1065
1146
  font-size: var(--lc-text-sm);
1066
1147
  }
1067
1148
  .loomcycle-explorer .doc-ref-kind {
@@ -1104,11 +1185,227 @@
1104
1185
  outline-offset: 2px;
1105
1186
  border-radius: 2px;
1106
1187
  }
1188
+ /* RFC FN — a link is a statement: its status, how it was made, a ruling, when it
1189
+ holds, and the quotes that support it. Shared by References and Backlinks. */
1190
+ .loomcycle-explorer .doc-stmt-status,
1191
+ .loomcycle-explorer .doc-stmt-method,
1192
+ .loomcycle-explorer .doc-stmt-verdict,
1193
+ .loomcycle-explorer .doc-stmt-valid {
1194
+ font-size: var(--lc-text-xs);
1195
+ color: var(--fg-soft);
1196
+ border: 1px solid var(--border);
1197
+ border-radius: 3px;
1198
+ padding: 0 4px;
1199
+ }
1200
+ .loomcycle-explorer .doc-stmt-status.proposed {
1201
+ color: var(--running);
1202
+ border-color: var(--running);
1203
+ }
1204
+ .loomcycle-explorer .doc-stmt-status.rejected {
1205
+ color: var(--failed);
1206
+ border-color: var(--failed);
1207
+ text-decoration: line-through;
1208
+ }
1209
+ .loomcycle-explorer .doc-stmt-verdict {
1210
+ cursor: help;
1211
+ border-style: dashed;
1212
+ }
1213
+ .loomcycle-explorer .doc-stmt-valid {
1214
+ border: none;
1215
+ padding: 0;
1216
+ color: var(--fg-muted);
1217
+ }
1218
+ .loomcycle-explorer .doc-stmt-evidence {
1219
+ flex-basis: 100%;
1220
+ list-style: none;
1221
+ margin: 0 0 2px 0;
1222
+ padding: 0 0 0 10px;
1223
+ border-left: 2px solid var(--border);
1224
+ color: var(--fg-soft);
1225
+ font-size: var(--lc-text-xs);
1226
+ }
1227
+ .loomcycle-explorer .doc-stmt-evidence li {
1228
+ overflow-wrap: anywhere;
1229
+ }
1230
+ .loomcycle-explorer .doc-stmt-stale,
1231
+ .loomcycle-explorer .doc-stmt-more {
1232
+ color: var(--fg-muted);
1233
+ font-style: italic;
1234
+ }
1235
+ .loomcycle-explorer .doc-stmt-review {
1236
+ display: inline-flex;
1237
+ flex-wrap: wrap;
1238
+ align-items: center;
1239
+ gap: 4px;
1240
+ }
1241
+ .loomcycle-explorer .doc-stmt-review button {
1242
+ padding: 1px 8px;
1243
+ border: 1px solid var(--border);
1244
+ background: var(--bg);
1245
+ color: var(--fg);
1246
+ border-radius: 4px;
1247
+ cursor: pointer;
1248
+ font-size: var(--lc-text-xs);
1249
+ }
1250
+ .loomcycle-explorer .doc-stmt-review button:hover:not(:disabled) {
1251
+ border-color: var(--accent);
1252
+ }
1253
+ .loomcycle-explorer .doc-stmt-review button.danger {
1254
+ color: var(--danger);
1255
+ border-color: var(--danger);
1256
+ }
1257
+ .loomcycle-explorer .doc-stmt-review button:disabled {
1258
+ opacity: 0.5;
1259
+ cursor: default;
1260
+ }
1261
+ .loomcycle-explorer .doc-stmt-review input {
1262
+ padding: 1px 6px;
1263
+ font-size: var(--lc-text-xs);
1264
+ min-width: 16ch;
1265
+ }
1266
+ .loomcycle-explorer .doc-stmt-err {
1267
+ color: var(--failed);
1268
+ font-size: var(--lc-text-xs);
1269
+ }
1107
1270
  /* The relationship graph's nodes follow the same links as the list. */
1108
1271
  .loomcycle-explorer .md-mermaid-nav g.node {
1109
1272
  cursor: pointer;
1110
1273
  }
1111
1274
 
1275
+ /* RFC FO — the classification surface between the document toolbar and the
1276
+ chunk split: the Classify panel (a report, then Apply), the pending block
1277
+ (Accept) and the notice an acceptance leaves. */
1278
+ .loomcycle-explorer .doc-classify {
1279
+ display: flex;
1280
+ flex-direction: column;
1281
+ gap: 6px;
1282
+ padding: 8px 12px;
1283
+ border-bottom: 1px solid var(--border);
1284
+ font-size: var(--lc-text-sm);
1285
+ }
1286
+ .loomcycle-explorer .doc-classify button {
1287
+ padding: 2px 10px;
1288
+ border: 1px solid var(--border);
1289
+ background: var(--bg);
1290
+ color: var(--fg);
1291
+ border-radius: 4px;
1292
+ cursor: pointer;
1293
+ font-size: var(--lc-text-xs);
1294
+ }
1295
+ .loomcycle-explorer .doc-classify button:hover:not(:disabled) {
1296
+ border-color: var(--accent);
1297
+ }
1298
+ .loomcycle-explorer .doc-classify button:disabled {
1299
+ opacity: 0.5;
1300
+ cursor: default;
1301
+ }
1302
+ .loomcycle-explorer .doc-classify button.doc-classify-dismiss {
1303
+ margin-left: auto;
1304
+ border: none;
1305
+ background: none;
1306
+ color: var(--fg-soft);
1307
+ padding: 0 4px;
1308
+ }
1309
+ .loomcycle-explorer .doc-classify-pending,
1310
+ .loomcycle-explorer .doc-classify-notice,
1311
+ .loomcycle-explorer .doc-classify-head {
1312
+ display: flex;
1313
+ flex-wrap: wrap;
1314
+ align-items: center;
1315
+ gap: 4px 10px;
1316
+ }
1317
+ .loomcycle-explorer .doc-classify-pending {
1318
+ border-left: 3px solid var(--running);
1319
+ padding-left: 8px;
1320
+ }
1321
+ .loomcycle-explorer .doc-classify-label {
1322
+ color: var(--running);
1323
+ font-weight: 600;
1324
+ }
1325
+ .loomcycle-explorer .doc-classify-head h4 {
1326
+ margin: 0;
1327
+ font-size: var(--lc-text-sm);
1328
+ color: var(--fg-soft);
1329
+ text-transform: uppercase;
1330
+ letter-spacing: 0.04em;
1331
+ }
1332
+ .loomcycle-explorer .doc-classify-result {
1333
+ font-size: var(--lc-text-xs);
1334
+ border: 1px solid var(--border);
1335
+ border-radius: 3px;
1336
+ padding: 0 4px;
1337
+ color: var(--fg-soft);
1338
+ }
1339
+ .loomcycle-explorer .doc-classify-result.classified {
1340
+ color: var(--accent);
1341
+ border-color: var(--accent);
1342
+ }
1343
+ .loomcycle-explorer .doc-classify-result.proposed {
1344
+ color: var(--running);
1345
+ border-color: var(--running);
1346
+ }
1347
+ .loomcycle-explorer .doc-classify-hint {
1348
+ color: var(--fg-muted);
1349
+ font-size: var(--lc-text-xs);
1350
+ }
1351
+ .loomcycle-explorer .doc-classify-err {
1352
+ display: flex;
1353
+ align-items: center;
1354
+ margin: 0;
1355
+ color: var(--failed);
1356
+ font-size: var(--lc-text-xs);
1357
+ }
1358
+ .loomcycle-explorer .doc-classify-warn {
1359
+ color: var(--running);
1360
+ font-size: var(--lc-text-xs);
1361
+ }
1362
+ .loomcycle-explorer .doc-classify-rows {
1363
+ display: grid;
1364
+ grid-template-columns: max-content 1fr;
1365
+ gap: 2px 12px;
1366
+ margin: 4px 0 0;
1367
+ }
1368
+ .loomcycle-explorer .doc-classify-rows dt {
1369
+ color: var(--fg-soft);
1370
+ font-size: var(--lc-text-xs);
1371
+ }
1372
+ .loomcycle-explorer .doc-classify-rows dd {
1373
+ margin: 0;
1374
+ overflow-wrap: anywhere;
1375
+ }
1376
+ .loomcycle-explorer .doc-classify-mono {
1377
+ font-family: var(--lc-font-mono, monospace);
1378
+ font-size: var(--lc-text-xs);
1379
+ }
1380
+ .loomcycle-explorer .doc-classify-item + .doc-classify-item::before {
1381
+ content: " · ";
1382
+ color: var(--fg-muted);
1383
+ }
1384
+ .loomcycle-explorer .doc-classify-steps,
1385
+ .loomcycle-explorer .doc-classify-warnings {
1386
+ margin: 4px 0 0;
1387
+ padding-left: 18px;
1388
+ }
1389
+ .loomcycle-explorer .doc-classify-step {
1390
+ font-weight: 600;
1391
+ }
1392
+ .loomcycle-explorer .doc-classify-candidates summary {
1393
+ cursor: pointer;
1394
+ color: var(--fg-soft);
1395
+ font-size: var(--lc-text-xs);
1396
+ }
1397
+ .loomcycle-explorer .doc-classify-candidates ul {
1398
+ margin: 2px 0 4px;
1399
+ padding-left: 16px;
1400
+ }
1401
+ .loomcycle-explorer .doc-classify-candidates li {
1402
+ overflow-wrap: anywhere;
1403
+ }
1404
+ .loomcycle-explorer .doc-classify-actions {
1405
+ display: flex;
1406
+ gap: 6px;
1407
+ }
1408
+
1112
1409
  /* ---- document trail: the breadcrumb back through followed references ---- */
1113
1410
  .loomcycle-explorer .doc-trail {
1114
1411
  display: flex;
@@ -1285,8 +1582,9 @@
1285
1582
  }
1286
1583
  .loomcycle-explorer .doc-conn-row {
1287
1584
  display: flex;
1585
+ flex-wrap: wrap;
1288
1586
  align-items: center;
1289
- gap: 8px;
1587
+ gap: 4px 8px;
1290
1588
  font-size: var(--lc-text-sm);
1291
1589
  }
1292
1590
  .loomcycle-explorer .doc-conn-score {
@@ -1431,3 +1729,64 @@
1431
1729
  margin-bottom: 16px;
1432
1730
  overflow-x: auto;
1433
1731
  }
1732
+
1733
+ /* RFC FS — bulk review of a document's proposals in the Connections panel. */
1734
+ .loomcycle-explorer .doc-bulk {
1735
+ margin-bottom: 10px;
1736
+ padding-bottom: 8px;
1737
+ border-bottom: 1px dashed var(--border);
1738
+ }
1739
+ .loomcycle-explorer .doc-bulk-bar,
1740
+ .loomcycle-explorer .doc-bulk-step {
1741
+ display: flex;
1742
+ flex-wrap: wrap;
1743
+ align-items: center;
1744
+ gap: 6px;
1745
+ margin: 4px 0;
1746
+ font-size: var(--lc-text-xs);
1747
+ }
1748
+ .loomcycle-explorer .doc-bulk button,
1749
+ .loomcycle-explorer .doc-bulk-result button {
1750
+ padding: 1px 8px;
1751
+ border: 1px solid var(--border);
1752
+ background: var(--bg);
1753
+ color: var(--fg);
1754
+ border-radius: 4px;
1755
+ cursor: pointer;
1756
+ font-size: var(--lc-text-xs);
1757
+ }
1758
+ .loomcycle-explorer .doc-bulk button:hover:not(:disabled) {
1759
+ border-color: var(--accent);
1760
+ }
1761
+ .loomcycle-explorer .doc-bulk button.danger {
1762
+ color: var(--danger);
1763
+ border-color: var(--danger);
1764
+ }
1765
+ .loomcycle-explorer .doc-bulk button:disabled {
1766
+ opacity: 0.5;
1767
+ cursor: default;
1768
+ }
1769
+ .loomcycle-explorer .doc-bulk-confirm p {
1770
+ margin: 0;
1771
+ flex-basis: 100%;
1772
+ }
1773
+ .loomcycle-explorer .doc-bulk-warn {
1774
+ color: var(--running);
1775
+ }
1776
+ .loomcycle-explorer .doc-bulk-sample {
1777
+ flex-basis: 100%;
1778
+ margin: 0;
1779
+ padding-left: 16px;
1780
+ color: var(--fg-soft);
1781
+ }
1782
+ .loomcycle-explorer .doc-bulk-result {
1783
+ display: flex;
1784
+ align-items: center;
1785
+ gap: 6px;
1786
+ margin: 4px 0;
1787
+ font-size: var(--lc-text-xs);
1788
+ color: var(--fg-soft);
1789
+ }
1790
+ .loomcycle-explorer .doc-bulk .doc-conn-row input[type="checkbox"] {
1791
+ margin: 0 4px 0 0;
1792
+ }
package/dist/types.d.ts CHANGED
@@ -28,8 +28,49 @@ export interface ChunkDetail extends ChunkRow {
28
28
  media_type: string;
29
29
  size: number;
30
30
  };
31
+ entity?: {
32
+ natural_key?: string;
33
+ };
34
+ not_announced?: string;
35
+ }
36
+ export type StatementStatus = "asserted" | "proposed" | "rejected";
37
+ export interface EdgeEvidence {
38
+ id: string;
39
+ chunk_id?: string;
40
+ session_id?: string;
41
+ event_seq?: number;
42
+ scope?: string;
43
+ natural_key?: string;
44
+ quote: string;
45
+ char_start?: number;
46
+ char_end?: number;
47
+ stale?: boolean;
48
+ created_at: number;
49
+ }
50
+ export interface StatementFields {
51
+ id?: string;
52
+ status?: StatementStatus;
53
+ method?: string;
54
+ auto?: boolean;
55
+ created_at?: number;
56
+ confidence?: number;
57
+ valid_at?: number;
58
+ invalid_at?: number;
59
+ expired_at?: number;
60
+ verified_at?: number;
61
+ actor?: string;
62
+ run_id?: string;
63
+ discriminator?: string;
64
+ ontology_version?: number;
65
+ inverse_kind?: string;
66
+ attributes?: Record<string, unknown>;
67
+ judged_at?: number;
68
+ judge_reason?: string;
69
+ judged_by?: string;
70
+ evidence?: EdgeEvidence[];
71
+ evidence_count?: number;
31
72
  }
32
- export interface DocEdge {
73
+ export interface DocEdge extends StatementFields {
33
74
  from_id: string;
34
75
  to_id: string;
35
76
  kind: string;
@@ -42,7 +83,7 @@ export interface DocEdge {
42
83
  to_status?: string;
43
84
  to_document_id?: string;
44
85
  }
45
- export interface Backlink {
86
+ export interface Backlink extends StatementFields {
46
87
  from_id: string;
47
88
  kind: string;
48
89
  auto: boolean;
@@ -81,3 +122,90 @@ export interface AssistantContext {
81
122
  subject?: string;
82
123
  onChanged?: () => void;
83
124
  }
125
+ export interface NavigatorSelection {
126
+ documentId?: string;
127
+ chunkId?: string;
128
+ path?: string;
129
+ }
130
+ export interface NavigatorContext {
131
+ scope: PathScope;
132
+ browse?: BrowseScope;
133
+ selection: NavigatorSelection;
134
+ onSelect: (sel: NavigatorSelection & {
135
+ documentId: string;
136
+ }) => void;
137
+ reloadToken: number;
138
+ maximized: boolean;
139
+ onToggleMaximize: () => void;
140
+ subject?: string;
141
+ }
142
+ export type ClassifyWrite = "report" | "propose";
143
+ export type ClassifyResult = "classified" | "proposed" | "kept" | "unclassified";
144
+ export interface ClassifyCandidate {
145
+ class: string;
146
+ quote?: string;
147
+ from?: string;
148
+ groups?: Record<string, unknown>;
149
+ share?: number;
150
+ votes?: number;
151
+ }
152
+ export interface ClassifyStep {
153
+ step: string;
154
+ candidates?: ClassifyCandidate[];
155
+ chosen?: string;
156
+ neighbours?: number;
157
+ reason?: string;
158
+ method?: string;
159
+ }
160
+ export interface ClassifyIssuer {
161
+ instance: string;
162
+ quote: string;
163
+ subject_chunk_id?: string;
164
+ }
165
+ export interface ClassifyConcept {
166
+ concept: string;
167
+ tag: string;
168
+ kind?: string;
169
+ chunk_id?: string;
170
+ share: number;
171
+ }
172
+ export interface ClassifyStatement {
173
+ id: string;
174
+ status: string;
175
+ created: boolean;
176
+ [key: string]: unknown;
177
+ }
178
+ export interface ClassifyAnswer {
179
+ document_id: string;
180
+ write: ClassifyWrite;
181
+ result: ClassifyResult;
182
+ class?: string;
183
+ live: boolean;
184
+ work_key?: string;
185
+ fields?: Record<string, unknown>;
186
+ issued_by?: ClassifyIssuer[];
187
+ concepts?: ClassifyConcept[];
188
+ steps?: ClassifyStep[];
189
+ statements?: ClassifyStatement[];
190
+ warnings?: string[];
191
+ }
192
+ export interface AcceptClassificationAnswer {
193
+ document_id: string;
194
+ type?: string;
195
+ type_pending?: boolean;
196
+ tags?: string[];
197
+ accepted_statements: string[];
198
+ skipped_statements?: string[];
199
+ skipped_type?: string;
200
+ skipped_tags?: string[];
201
+ warnings?: string[];
202
+ }
203
+ export interface ClassificationRecord {
204
+ by?: string;
205
+ at?: number;
206
+ applied_type?: string;
207
+ proposed_type?: string;
208
+ proposed_fields?: Record<string, unknown>;
209
+ proposed_tags?: string[];
210
+ statements?: string[];
211
+ }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@loomcycle/explorer",
3
- "version": "0.9.0",
3
+ "version": "0.12.0",
4
4
  "type": "module",
5
- "description": "Embeddable React Path VFS + chunked-graph Document browser for the loomcycle agentic runtime (RFC AL / AK) \u2014 a themeable, standalone package: a dirent tree with folder/document CRUD and a chunk-tree Document viewer/editor.",
5
+ "description": "Embeddable React Path VFS + chunked-graph Document browser for the loomcycle agentic runtime (RFC AL / AK) — a themeable, standalone package: a dirent tree with folder/document CRUD and a chunk-tree Document viewer/editor.",
6
6
  "license": "Apache-2.0",
7
7
  "author": "Dennis Gubsky",
8
8
  "repository": {
@@ -50,12 +50,12 @@
50
50
  "test:watch": "vitest"
51
51
  },
52
52
  "dependencies": {
53
- "react-markdown": "^9.1.0",
53
+ "react-markdown": "^10.1.0",
54
54
  "remark-gfm": "^4.0.1"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "@loomcycle/client": "^1.12.1",
58
- "mermaid": "^11.0.0",
58
+ "mermaid": "^12.2.0",
59
59
  "react": "^18.0.0 || ^19.0.0",
60
60
  "react-dom": "^18.0.0 || ^19.0.0"
61
61
  },
@@ -66,15 +66,15 @@
66
66
  },
67
67
  "devDependencies": {
68
68
  "@loomcycle/client": "^1.12.1",
69
- "@types/node": "^22.0.0",
69
+ "@types/node": "^26.6.5",
70
70
  "@types/react": "^19.0.0",
71
71
  "@types/react-dom": "^19.0.0",
72
- "@vitejs/plugin-react": "^5.0.0",
73
- "mermaid": "^11.0.0",
72
+ "@vitejs/plugin-react": "^6.1.2",
73
+ "mermaid": "^12.2.0",
74
74
  "react": "^19.0.0",
75
75
  "react-dom": "^19.0.0",
76
76
  "typescript": "^5.6.0",
77
- "vite": "^7.0.0",
77
+ "vite": "^8.3.5",
78
78
  "vitest": "^3.0.0"
79
79
  }
80
80
  }