@unson/brainbase-mcp 0.41.11 → 0.41.13
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 +1 -1
- package/contracts/judgment-dag/digest.json +2 -2
- package/dist/local-web-host.js +19 -2
- package/package.json +6 -2
- package/ui/area-nav.css +79 -0
- package/ui/area-nav.js +249 -0
- package/ui/foundation-overview.css +9 -0
- package/ui/foundation-overview.js +75 -5
- package/ui/graph-ontology-view.css +88 -0
- package/ui/graph-ontology-view.js +248 -0
- package/ui/graph-own-share.js +167 -0
- package/ui/graph-registry-view.css +272 -50
- package/ui/graph-registry-view.js +539 -456
- package/ui/graph-view-shared.css +32 -0
- package/ui/graph-view-shared.js +191 -12
- package/ui/local-web-shell.css +1 -13
- package/ui/local-web-shell.js +64 -40
- package/ui/outcome-knowledge.js +6 -2
- package/ui/people-and-companies-view.css +166 -15
- package/ui/people-and-companies-view.js +307 -93
- package/ui/world/world-canvas-notes.js +3 -2
- package/ui/world/world-view.css +19 -0
- package/ui/world/world-view.js +52 -10
- package/ui/world/world-work-rail.js +114 -8
|
@@ -1,101 +1,323 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* 「情報と関係」. Load after workspace-kit.css and graph-view-shared.css.
|
|
3
|
-
*
|
|
4
|
-
* with a 760px variant
|
|
3
|
+
* The list (tabs, conditions, results ledger) and the record's own screen,
|
|
4
|
+
* with a 760px variant.
|
|
5
5
|
* Uses only the shared tokens in brainbase-tokens.css.
|
|
6
6
|
*/
|
|
7
7
|
.bb-gr-search-section {
|
|
8
|
-
margin
|
|
8
|
+
margin: 22px 0 30px;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.bb-gr-search {
|
|
12
|
-
grid-template-columns: minmax(0,
|
|
12
|
+
grid-template-columns: minmax(0, 1fr);
|
|
13
13
|
align-items: end;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.
|
|
17
|
-
|
|
16
|
+
/* The kinds as tabs, with their counts. */
|
|
17
|
+
.bb-gr-tabs {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-wrap: wrap;
|
|
20
|
+
gap: 4px;
|
|
21
|
+
margin-top: 14px;
|
|
22
|
+
border-bottom: 1px solid var(--bb-color-border);
|
|
18
23
|
}
|
|
19
24
|
|
|
20
|
-
.bb-
|
|
21
|
-
|
|
25
|
+
.bb-gr-tab {
|
|
26
|
+
display: inline-flex;
|
|
27
|
+
align-items: baseline;
|
|
28
|
+
gap: 6px;
|
|
29
|
+
margin-bottom: -1px;
|
|
30
|
+
border: 0;
|
|
31
|
+
border-bottom: 2px solid transparent;
|
|
32
|
+
padding: 8px 12px;
|
|
33
|
+
background: transparent;
|
|
22
34
|
color: var(--bb-color-muted);
|
|
23
|
-
font
|
|
35
|
+
font: inherit;
|
|
36
|
+
font-size: 13px;
|
|
37
|
+
cursor: pointer;
|
|
24
38
|
}
|
|
25
39
|
|
|
26
|
-
.bb-gr-
|
|
27
|
-
|
|
40
|
+
.bb-gr-tab:hover {
|
|
41
|
+
color: var(--bb-color-ink);
|
|
28
42
|
}
|
|
29
43
|
|
|
30
|
-
.bb-
|
|
31
|
-
|
|
44
|
+
.bb-gr-tab.is-selected {
|
|
45
|
+
border-bottom-color: var(--bb-color-accent);
|
|
32
46
|
color: var(--bb-color-ink);
|
|
33
|
-
font-
|
|
47
|
+
font-weight: 680;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.bb-gr-tab:focus-visible {
|
|
51
|
+
outline: 2px solid var(--bb-color-focus);
|
|
52
|
+
outline-offset: -2px;
|
|
34
53
|
}
|
|
35
54
|
|
|
36
|
-
.bb-gr-
|
|
55
|
+
.bb-gr-tab-count {
|
|
56
|
+
color: var(--bb-color-quiet);
|
|
57
|
+
font-size: 11px;
|
|
58
|
+
font-variant-numeric: tabular-nums;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* 詳しい条件: the day filter, kept out of the way. */
|
|
62
|
+
.bb-gr-advanced {
|
|
63
|
+
margin-top: 10px;
|
|
37
64
|
color: var(--bb-color-muted);
|
|
65
|
+
font-size: 12px;
|
|
38
66
|
}
|
|
39
67
|
|
|
40
|
-
.bb-gr-
|
|
41
|
-
|
|
68
|
+
.bb-gr-advanced > summary {
|
|
69
|
+
width: fit-content;
|
|
70
|
+
cursor: pointer;
|
|
42
71
|
}
|
|
43
72
|
|
|
44
|
-
.bb-
|
|
45
|
-
|
|
73
|
+
.bb-gr-advanced[open] > summary {
|
|
74
|
+
margin-bottom: 10px;
|
|
46
75
|
}
|
|
47
76
|
|
|
48
|
-
.bb-
|
|
49
|
-
|
|
77
|
+
.bb-gr-as-of-field {
|
|
78
|
+
max-width: 280px;
|
|
50
79
|
}
|
|
51
80
|
|
|
52
|
-
.bb-graph
|
|
53
|
-
|
|
81
|
+
.bb-graph .bb-gr-hint {
|
|
82
|
+
margin: 6px 0 0;
|
|
83
|
+
color: var(--bb-color-quiet);
|
|
84
|
+
font-size: 11px;
|
|
54
85
|
}
|
|
55
86
|
|
|
56
|
-
.
|
|
57
|
-
.bb-
|
|
58
|
-
|
|
87
|
+
/* The conditions in force, each removable. */
|
|
88
|
+
.bb-gr-filters {
|
|
89
|
+
display: flex;
|
|
90
|
+
flex-wrap: wrap;
|
|
91
|
+
align-items: center;
|
|
92
|
+
gap: 6px 8px;
|
|
93
|
+
margin-top: 14px;
|
|
59
94
|
}
|
|
60
95
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
96
|
+
.bb-gr-filters-label {
|
|
97
|
+
color: var(--bb-color-muted);
|
|
98
|
+
font-size: 12px;
|
|
99
|
+
font-weight: 650;
|
|
65
100
|
}
|
|
66
101
|
|
|
67
|
-
.bb-
|
|
68
|
-
|
|
102
|
+
.bb-gr-filter-chip {
|
|
103
|
+
display: inline-flex;
|
|
104
|
+
align-items: center;
|
|
105
|
+
gap: 6px;
|
|
106
|
+
max-width: 100%;
|
|
107
|
+
border: 1px solid var(--bb-color-accent);
|
|
108
|
+
border-radius: 999px;
|
|
109
|
+
padding: 3px 6px 3px 10px;
|
|
110
|
+
background: var(--bb-color-accent-soft);
|
|
69
111
|
color: var(--bb-color-ink);
|
|
70
|
-
font
|
|
112
|
+
font: inherit;
|
|
113
|
+
font-size: 12px;
|
|
114
|
+
cursor: pointer;
|
|
71
115
|
}
|
|
72
116
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
117
|
+
.bb-gr-filter-chip > span:first-child {
|
|
118
|
+
overflow: hidden;
|
|
119
|
+
text-overflow: ellipsis;
|
|
120
|
+
white-space: nowrap;
|
|
121
|
+
}
|
|
77
122
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
123
|
+
.bb-gr-filter-chip-x {
|
|
124
|
+
display: inline-grid;
|
|
125
|
+
place-items: center;
|
|
126
|
+
width: 16px;
|
|
127
|
+
height: 16px;
|
|
128
|
+
border-radius: 50%;
|
|
129
|
+
color: var(--bb-color-muted);
|
|
130
|
+
font-size: 13px;
|
|
131
|
+
line-height: 1;
|
|
132
|
+
}
|
|
81
133
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
134
|
+
.bb-gr-filter-chip:hover .bb-gr-filter-chip-x {
|
|
135
|
+
background: var(--bb-color-paper);
|
|
136
|
+
color: var(--bb-color-ink);
|
|
137
|
+
}
|
|
85
138
|
|
|
86
|
-
|
|
87
|
-
|
|
139
|
+
.bb-gr-filter-chip:focus-visible,
|
|
140
|
+
.bb-gr-advanced > summary:focus-visible {
|
|
141
|
+
outline: 2px solid var(--bb-color-focus);
|
|
142
|
+
outline-offset: 2px;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.bb-gr-results[aria-busy='true'] .bb-graph-entity-ledger {
|
|
146
|
+
opacity: .6;
|
|
147
|
+
transition: opacity .12s ease;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.bb-graph .bb-gr-caption {
|
|
151
|
+
margin: 0 0 10px;
|
|
152
|
+
color: var(--bb-color-muted);
|
|
153
|
+
font-size: 12px;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.bb-gr-results .bb-ws-notice:last-child {
|
|
157
|
+
margin-bottom: 0;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.bb-graph-entity-ledger .bb-ws-ledger-row {
|
|
161
|
+
grid-template-columns: minmax(0, 1.2fr) 112px minmax(0, 2fr);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.bb-graph-entity-ledger.has-updated .bb-ws-ledger-row {
|
|
165
|
+
grid-template-columns: minmax(0, 1.2fr) 112px minmax(0, 2fr) 112px;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
@media (max-width: 760px) {
|
|
169
|
+
/* Name and kind on one line; the description under them; no last-updated column. */
|
|
170
|
+
.bb-graph-entity-ledger .bb-ws-ledger-row,
|
|
171
|
+
.bb-graph-entity-ledger.has-updated .bb-ws-ledger-row {
|
|
172
|
+
grid-template-columns: minmax(0, 1fr) 96px;
|
|
88
173
|
}
|
|
89
174
|
|
|
90
|
-
.bb-graph-
|
|
91
|
-
grid-
|
|
175
|
+
.bb-graph-entity-ledger .bb-ws-ledger-row > :nth-child(3) {
|
|
176
|
+
grid-column: 1 / -1;
|
|
177
|
+
padding-top: 0;
|
|
178
|
+
white-space: normal;
|
|
92
179
|
}
|
|
93
180
|
|
|
94
|
-
.bb-graph-
|
|
181
|
+
.bb-graph-entity-ledger .bb-ws-ledger-head > :nth-child(3),
|
|
182
|
+
.bb-graph-entity-ledger .bb-ws-ledger-row > :nth-child(4) {
|
|
95
183
|
display: none;
|
|
96
184
|
}
|
|
97
185
|
|
|
98
|
-
.bb-
|
|
99
|
-
grid-template-columns:
|
|
186
|
+
.bb-gr-fix-relation {
|
|
187
|
+
grid-template-columns: minmax(0, 1fr);
|
|
100
188
|
}
|
|
101
189
|
}
|
|
190
|
+
|
|
191
|
+
/* The open record as its own screen. */
|
|
192
|
+
.bb-gr-detail-nav {
|
|
193
|
+
display: flex;
|
|
194
|
+
flex-wrap: wrap;
|
|
195
|
+
gap: 6px 18px;
|
|
196
|
+
margin-bottom: 18px;
|
|
197
|
+
font-size: 13px;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.bb-gr-detail-head {
|
|
201
|
+
margin-bottom: 26px;
|
|
202
|
+
border-bottom: 1px solid var(--bb-color-border-strong);
|
|
203
|
+
padding-bottom: 20px;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.bb-gr-detail-kind {
|
|
207
|
+
display: block;
|
|
208
|
+
margin-bottom: 6px;
|
|
209
|
+
color: var(--bb-color-accent);
|
|
210
|
+
font-size: 12px;
|
|
211
|
+
font-weight: 700;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.bb-gr-detail-head h1 {
|
|
215
|
+
margin: 0 0 8px;
|
|
216
|
+
color: var(--bb-color-ink);
|
|
217
|
+
font-size: 28px;
|
|
218
|
+
letter-spacing: -.02em;
|
|
219
|
+
overflow-wrap: anywhere;
|
|
220
|
+
outline: none;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.bb-graph .bb-gr-detail-trail {
|
|
224
|
+
margin: 8px 0 0;
|
|
225
|
+
color: var(--bb-color-muted);
|
|
226
|
+
font-size: 12px;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.bb-gr-page-section {
|
|
230
|
+
margin-bottom: 30px;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.bb-graph .bb-gr-page-title {
|
|
234
|
+
margin: 0 0 12px;
|
|
235
|
+
color: var(--bb-color-ink);
|
|
236
|
+
font-size: 15px;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.bb-gr-connection-group + .bb-gr-connection-group {
|
|
240
|
+
margin-top: 16px;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.bb-graph .bb-gr-connection-kind {
|
|
244
|
+
margin: 0 0 6px;
|
|
245
|
+
color: var(--bb-color-muted);
|
|
246
|
+
font-size: 12px;
|
|
247
|
+
font-weight: 650;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.bb-gr-connection-list,
|
|
251
|
+
.bb-gr-evidence-list,
|
|
252
|
+
.bb-gr-fix-relations {
|
|
253
|
+
display: grid;
|
|
254
|
+
gap: 6px;
|
|
255
|
+
margin: 0;
|
|
256
|
+
padding: 0;
|
|
257
|
+
list-style: none;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.bb-gr-connection {
|
|
261
|
+
display: flex;
|
|
262
|
+
flex-wrap: wrap;
|
|
263
|
+
align-items: baseline;
|
|
264
|
+
gap: 8px;
|
|
265
|
+
border-bottom: 1px solid var(--bb-color-border);
|
|
266
|
+
padding: 8px 0;
|
|
267
|
+
font-size: 13px;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.bb-gr-connection.is-ended .bb-gr-sentence {
|
|
271
|
+
color: var(--bb-color-muted);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.bb-gr-sentence {
|
|
275
|
+
color: var(--bb-color-ink);
|
|
276
|
+
overflow-wrap: anywhere;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.bb-gr-sentence-note {
|
|
280
|
+
margin-left: 4px;
|
|
281
|
+
color: var(--bb-color-muted);
|
|
282
|
+
font-size: 12px;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.bb-gr-evidence-item {
|
|
286
|
+
border-left: 2px solid var(--bb-color-border);
|
|
287
|
+
padding: 4px 0 4px 12px;
|
|
288
|
+
font-size: 12px;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.bb-gr-fix .bb-ws-notice {
|
|
292
|
+
margin: 16px 0;
|
|
293
|
+
white-space: pre-line;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.bb-gr-reach {
|
|
297
|
+
margin: 8px 0 14px;
|
|
298
|
+
color: var(--bb-color-ink);
|
|
299
|
+
font-size: 13px;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.bb-gr-fix-relations {
|
|
303
|
+
margin-top: 16px;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.bb-gr-fix-relation {
|
|
307
|
+
display: grid;
|
|
308
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
309
|
+
align-items: center;
|
|
310
|
+
gap: 8px;
|
|
311
|
+
border-bottom: 1px solid var(--bb-color-border);
|
|
312
|
+
padding: 6px 0;
|
|
313
|
+
font-size: 13px;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.bb-gr-fix-relation > :not(.bb-gr-sentence):not(.bb-ws-button) {
|
|
317
|
+
grid-column: 1 / -1;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.bb-gr-connection-validity {
|
|
321
|
+
color: var(--bb-color-quiet);
|
|
322
|
+
font-size: 12px;
|
|
323
|
+
}
|