@unson/brainbase-mcp 0.6.0 → 0.8.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/contracts/foundation/graph-history.sql +634 -0
- package/contracts/judgment-value-proof/schema.json +43 -1
- package/dist/canonical-task-contract.d.ts +9 -0
- package/dist/canonical-task-contract.js +39 -0
- package/dist/canonical-task-principal.d.ts +16 -0
- package/dist/canonical-task-principal.js +36 -0
- package/dist/canonical-task-service.d.ts +251 -0
- package/dist/canonical-task-service.js +820 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +107 -0
- package/dist/company-os-evaluation.d.ts +193 -0
- package/dist/company-os-evaluation.js +1150 -0
- package/dist/company-os-impact-review.d.ts +248 -0
- package/dist/company-os-impact-review.js +663 -0
- package/dist/company-os-learning-adoption.d.ts +288 -0
- package/dist/company-os-learning-adoption.js +944 -0
- package/dist/company-os-objectives.d.ts +63 -0
- package/dist/company-os-objectives.js +234 -0
- package/dist/company-os-receipt-adapter.d.ts +109 -0
- package/dist/company-os-receipt-adapter.js +636 -0
- package/dist/constraint-exception-store.d.ts +23 -0
- package/dist/constraint-exception-store.js +108 -0
- package/dist/constraint-resolution.d.ts +175 -0
- package/dist/constraint-resolution.js +922 -0
- package/dist/decision-adapter.d.ts +145 -0
- package/dist/decision-adapter.js +586 -0
- package/dist/durable-wait-http.d.ts +51 -0
- package/dist/durable-wait-http.js +497 -0
- package/dist/durable-waits.d.ts +234 -0
- package/dist/durable-waits.js +944 -0
- package/dist/execution-authority-http.d.ts +28 -0
- package/dist/execution-authority-http.js +359 -0
- package/dist/execution-authority.d.ts +201 -0
- package/dist/execution-authority.js +634 -0
- package/dist/foundation-authenticated-tools.d.ts +56 -0
- package/dist/foundation-authenticated-tools.js +347 -0
- package/dist/foundation-catalog.d.ts +26 -0
- package/dist/foundation-catalog.js +206 -0
- package/dist/foundation-constraint-store.d.ts +50 -0
- package/dist/foundation-constraint-store.js +215 -0
- package/dist/foundation-graph-http.d.ts +43 -0
- package/dist/foundation-graph-http.js +243 -0
- package/dist/foundation-graph-write.d.ts +90 -0
- package/dist/foundation-graph-write.js +447 -0
- package/dist/foundation-http.d.ts +90 -0
- package/dist/foundation-http.js +439 -0
- package/dist/foundation-public-provider.d.ts +140 -0
- package/dist/foundation-public-provider.js +192 -0
- package/dist/foundation-store.d.ts +132 -0
- package/dist/foundation-store.js +654 -0
- package/dist/graph-corrections.d.ts +157 -0
- package/dist/graph-corrections.js +620 -0
- package/dist/graph-foundation-reader.d.ts +60 -0
- package/dist/graph-foundation-reader.js +494 -0
- package/dist/graph-retrieval.d.ts +6 -1
- package/dist/graph-revision-reader.d.ts +80 -0
- package/dist/graph-revision-reader.js +246 -0
- package/dist/graph-web-http.d.ts +26 -0
- package/dist/graph-web-http.js +215 -0
- package/dist/graph-web.d.ts +364 -0
- package/dist/graph-web.js +639 -0
- package/dist/judgment-dag-composition.d.ts +224 -0
- package/dist/judgment-dag-composition.js +731 -0
- package/dist/judgment-dag.d.ts +2 -0
- package/dist/judgment-dag.js +1 -0
- package/dist/judgment-problem-snapshot.d.ts +213 -0
- package/dist/judgment-problem-snapshot.js +1073 -0
- package/dist/judgment-value-proof-review.d.ts +166 -0
- package/dist/judgment-value-proof-review.js +437 -0
- package/dist/judgment-value-proof.d.ts +28 -1
- package/dist/judgment-value-proof.js +53 -8
- package/dist/judgment-view-http.d.ts +22 -0
- package/dist/judgment-view-http.js +128 -0
- package/dist/judgment-view.d.ts +222 -0
- package/dist/judgment-view.js +627 -0
- package/dist/knowledge-adapter.d.ts +112 -0
- package/dist/knowledge-adapter.js +691 -0
- package/dist/knowledge-continuation.d.ts +127 -0
- package/dist/knowledge-continuation.js +446 -0
- package/dist/knowledge-lookup.d.ts +178 -0
- package/dist/knowledge-lookup.js +758 -0
- package/dist/local-web-fetch-bridge.d.ts +5 -0
- package/dist/local-web-fetch-bridge.js +37 -0
- package/dist/local-web-host.d.ts +109 -0
- package/dist/local-web-host.js +688 -0
- package/dist/local-web-security.d.ts +25 -0
- package/dist/local-web-security.js +95 -0
- package/dist/ontology-foundation.d.ts +209 -0
- package/dist/ontology-foundation.js +1000 -0
- package/dist/ontology.d.ts +13 -0
- package/dist/ontology.js +14 -0
- package/dist/organization-connection.d.ts +164 -0
- package/dist/organization-connection.js +428 -0
- package/dist/organization-graph.d.ts +15 -0
- package/dist/organization-graph.js +24 -4
- package/dist/personal-knowledge.d.ts +132 -0
- package/dist/personal-knowledge.js +779 -0
- package/dist/personal-memory-handover.d.ts +108 -0
- package/dist/personal-memory-handover.js +369 -0
- package/dist/philosophy-revision-reader.d.ts +85 -0
- package/dist/philosophy-revision-reader.js +241 -0
- package/dist/portable-graph.d.ts +24 -0
- package/dist/portable-graph.js +77 -0
- package/dist/problem-candidates.d.ts +149 -0
- package/dist/problem-candidates.js +898 -0
- package/dist/problem-selection.d.ts +238 -0
- package/dist/problem-selection.js +995 -0
- package/dist/resource-reservation-http.d.ts +31 -0
- package/dist/resource-reservation-http.js +371 -0
- package/dist/resource-reservations.d.ts +221 -0
- package/dist/resource-reservations.js +577 -0
- package/dist/server.d.ts +104 -2
- package/dist/server.js +186 -4
- package/dist/ssot.d.ts +6 -1
- package/dist/ssot.js +63 -5
- package/dist/streamable-http.d.ts +42 -0
- package/dist/streamable-http.js +288 -0
- package/dist/types.d.ts +20 -0
- package/dist/value-proof-review-http.d.ts +25 -0
- package/dist/value-proof-review-http.js +185 -0
- package/dist/world-model.d.ts +199 -0
- package/dist/world-model.js +955 -0
- package/package.json +230 -3
- package/ui/brainbase-tokens.css +56 -0
- package/ui/graph-own-share.js +367 -0
- package/ui/graph-projects-view.css +23 -0
- package/ui/graph-projects-view.js +730 -0
- package/ui/graph-registry-view.css +101 -0
- package/ui/graph-registry-view.js +804 -0
- package/ui/graph-view-shared.css +522 -0
- package/ui/graph-view-shared.js +1227 -0
- package/ui/judgment-view.css +312 -0
- package/ui/judgment-view.js +508 -0
- package/ui/local-web-shell.css +396 -0
- package/ui/local-web-shell.js +378 -0
- package/ui/objective-editor-http-port.js +154 -0
- package/ui/objective-editor.css +286 -0
- package/ui/objective-editor.js +1586 -0
- package/ui/outcome-knowledge.css +50 -14
- package/ui/outcome-knowledge.js +15 -1
- package/ui/outcome-mana.css +91 -14
- package/ui/outcome-mana.js +958 -61
- package/ui/value-proof-review.css +504 -0
- package/ui/value-proof-review.js +1104 -0
- package/ui/workspace-kit.css +485 -0
- package/ui/workspace-kit.js +229 -0
- package/ui/world-model-view.css +188 -0
- package/ui/world-model-view.js +486 -0
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* 判断の追跡. Looks like the organization edition's outcome parts: the header
|
|
3
|
+
* sits in a gradient box, each section is a white box and state notices are
|
|
4
|
+
* soft colored boxes. Every color comes from brainbase-tokens.css; the
|
|
5
|
+
* fallbacks keep the previous palette for hosts that do not load the tokens.
|
|
6
|
+
*/
|
|
7
|
+
.judgment-view {
|
|
8
|
+
--judgment-ink: var(--bb-color-ink, #172033);
|
|
9
|
+
--judgment-muted: var(--bb-color-muted, #667085);
|
|
10
|
+
--judgment-border: var(--bb-color-border, #d8dee9);
|
|
11
|
+
--judgment-border-strong: var(--bb-color-border-strong, #d8dee9);
|
|
12
|
+
--judgment-panel: var(--bb-color-panel, #ffffff);
|
|
13
|
+
--judgment-surface: var(--bb-color-surface, #f5f7fb);
|
|
14
|
+
--judgment-header-start: var(--bb-color-header-start, #ffffff);
|
|
15
|
+
--judgment-header-end: var(--bb-color-header-end, #f5f7fb);
|
|
16
|
+
--judgment-eyebrow: var(--bb-color-eyebrow, #3157d5);
|
|
17
|
+
--judgment-accent: var(--bb-color-accent, #3157d5);
|
|
18
|
+
--judgment-accent-soft: var(--bb-color-accent-soft, #eef2ff);
|
|
19
|
+
--judgment-accent-strong: var(--bb-color-accent-strong, #1d2d68);
|
|
20
|
+
--judgment-focus: var(--bb-color-focus, #3157d5);
|
|
21
|
+
--judgment-success: var(--bb-color-success, #18794e);
|
|
22
|
+
--judgment-success-soft: var(--bb-color-success-soft, #f8fafc);
|
|
23
|
+
--judgment-warning: var(--bb-color-warning, #9a6700);
|
|
24
|
+
--judgment-warning-soft: var(--bb-color-warning-soft, #f8fafc);
|
|
25
|
+
--judgment-unavailable: var(--bb-color-warning, #995c00);
|
|
26
|
+
--judgment-danger: var(--bb-color-danger, #b42318);
|
|
27
|
+
--judgment-danger-soft: var(--bb-color-danger-soft, #f8fafc);
|
|
28
|
+
--judgment-invalid: var(--bb-color-danger, #8e2a2a);
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
max-width: 920px;
|
|
31
|
+
margin: 0 auto;
|
|
32
|
+
color: var(--judgment-ink);
|
|
33
|
+
font-family: var(--bb-font-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
|
|
34
|
+
font-size: 14px;
|
|
35
|
+
line-height: 1.5;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.judgment-view *,
|
|
39
|
+
.judgment-view *::before,
|
|
40
|
+
.judgment-view *::after {
|
|
41
|
+
box-sizing: inherit;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* Part header: eyebrow, title, lead and status inside the gradient box. */
|
|
45
|
+
.judgment-view-header {
|
|
46
|
+
display: grid;
|
|
47
|
+
gap: 0;
|
|
48
|
+
margin-bottom: 14px;
|
|
49
|
+
padding: 24px;
|
|
50
|
+
border: 1px solid var(--judgment-border);
|
|
51
|
+
border-radius: var(--bb-radius-lg, 16px);
|
|
52
|
+
background: linear-gradient(135deg, var(--judgment-header-start), var(--judgment-header-end));
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.judgment-view-kicker {
|
|
56
|
+
color: var(--judgment-eyebrow);
|
|
57
|
+
font-size: .72rem;
|
|
58
|
+
font-weight: 750;
|
|
59
|
+
letter-spacing: .12em;
|
|
60
|
+
text-transform: uppercase;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.judgment-view h1,
|
|
64
|
+
.judgment-view h2,
|
|
65
|
+
.judgment-view h3,
|
|
66
|
+
.judgment-view p {
|
|
67
|
+
margin-top: 0;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.judgment-view h1 {
|
|
71
|
+
margin: 4px 0 8px;
|
|
72
|
+
font-size: clamp(1.45rem, 3vw, 2rem);
|
|
73
|
+
line-height: 1.25;
|
|
74
|
+
letter-spacing: -.02em;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.judgment-view h2 {
|
|
78
|
+
margin-bottom: 14px;
|
|
79
|
+
font-size: 1.1rem;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.judgment-view h3 {
|
|
83
|
+
margin: 18px 0 8px;
|
|
84
|
+
font-size: 14px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.judgment-view-mode,
|
|
88
|
+
.judgment-view-muted {
|
|
89
|
+
color: var(--judgment-muted);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.judgment-view-mode {
|
|
93
|
+
margin-bottom: 12px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.judgment-view-status {
|
|
97
|
+
justify-self: start;
|
|
98
|
+
border: 1px solid currentColor;
|
|
99
|
+
border-radius: 999px;
|
|
100
|
+
padding: 2px 10px;
|
|
101
|
+
background: var(--judgment-panel);
|
|
102
|
+
font-size: 12px;
|
|
103
|
+
font-weight: 700;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.judgment-view-panel {
|
|
107
|
+
margin-top: 14px;
|
|
108
|
+
padding: 18px;
|
|
109
|
+
border: 1px solid var(--judgment-border);
|
|
110
|
+
border-radius: var(--bb-radius-md, 14px);
|
|
111
|
+
background: var(--judgment-panel);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.judgment-view-conclusion {
|
|
115
|
+
box-shadow: inset 3px 0 var(--judgment-accent);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.judgment-view-conclusion-value {
|
|
119
|
+
overflow: auto;
|
|
120
|
+
margin: 0;
|
|
121
|
+
padding: 12px 14px;
|
|
122
|
+
border-radius: var(--bb-radius-sm, 7px);
|
|
123
|
+
background: var(--judgment-accent-soft);
|
|
124
|
+
color: var(--judgment-accent-strong);
|
|
125
|
+
font-family: var(--bb-font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
|
|
126
|
+
font-size: 13px;
|
|
127
|
+
white-space: pre-wrap;
|
|
128
|
+
overflow-wrap: anywhere;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.judgment-view-link-row {
|
|
132
|
+
margin: 12px 0 0;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.judgment-view a {
|
|
136
|
+
color: var(--judgment-accent-strong);
|
|
137
|
+
font-weight: 650;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.judgment-view a:focus-visible {
|
|
141
|
+
outline: 3px solid color-mix(in srgb, var(--judgment-focus) 45%, var(--judgment-panel));
|
|
142
|
+
outline-offset: 2px;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/* State boxes: soft background and text in the state's color. */
|
|
146
|
+
.judgment-view-notice {
|
|
147
|
+
margin: 0;
|
|
148
|
+
padding: 11px 12px;
|
|
149
|
+
border-radius: var(--bb-radius-sm, 7px);
|
|
150
|
+
background: var(--judgment-surface);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.judgment-view-notice.is-unknown,
|
|
154
|
+
.judgment-view-status.is-unknown,
|
|
155
|
+
.judgment-view-status.is-undecidable {
|
|
156
|
+
color: var(--judgment-warning);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.judgment-view-notice.is-unknown {
|
|
160
|
+
background: var(--judgment-warning-soft);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.judgment-view-notice.is-permission_denied,
|
|
164
|
+
.judgment-view-status.is-permission_denied {
|
|
165
|
+
color: var(--judgment-danger);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.judgment-view-notice.is-permission_denied {
|
|
169
|
+
background: var(--judgment-danger-soft);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.judgment-view-notice.is-unavailable,
|
|
173
|
+
.judgment-view-status.is-unavailable {
|
|
174
|
+
color: var(--judgment-unavailable);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.judgment-view-notice.is-unavailable {
|
|
178
|
+
background: var(--judgment-warning-soft);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.judgment-view-notice.is-invalid,
|
|
182
|
+
.judgment-view-status.is-invalid {
|
|
183
|
+
color: var(--judgment-invalid);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.judgment-view-notice.is-invalid {
|
|
187
|
+
background: var(--judgment-danger-soft);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.judgment-view-notice.is-resolved,
|
|
191
|
+
.judgment-view-status.is-resolved {
|
|
192
|
+
color: var(--judgment-success);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.judgment-view-notice.is-resolved {
|
|
196
|
+
color: var(--judgment-accent-strong);
|
|
197
|
+
background: var(--judgment-success-soft);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.judgment-view-run-meta,
|
|
201
|
+
.judgment-view-question,
|
|
202
|
+
.judgment-view-objective-state {
|
|
203
|
+
margin-bottom: 10px;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.judgment-view > .judgment-view-notice,
|
|
207
|
+
.judgment-view-run-meta {
|
|
208
|
+
margin-top: 14px;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.judgment-view-run-meta {
|
|
212
|
+
color: var(--judgment-muted);
|
|
213
|
+
font-size: 13px;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.judgment-view-objective-state {
|
|
217
|
+
font-size: 1.1rem;
|
|
218
|
+
font-weight: 700;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.judgment-view-meta {
|
|
222
|
+
display: grid;
|
|
223
|
+
grid-template-columns: minmax(110px, 0.35fr) 1fr;
|
|
224
|
+
margin: 0;
|
|
225
|
+
border-top: 1px solid var(--judgment-border);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.judgment-view-meta dt,
|
|
229
|
+
.judgment-view-meta dd {
|
|
230
|
+
margin: 0;
|
|
231
|
+
padding: 8px 0;
|
|
232
|
+
border-bottom: 1px solid var(--judgment-border);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.judgment-view-meta dt {
|
|
236
|
+
color: var(--judgment-muted);
|
|
237
|
+
font-size: 13px;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.judgment-view-reference-list,
|
|
241
|
+
.judgment-view-evidence-list,
|
|
242
|
+
.judgment-view-criteria,
|
|
243
|
+
.judgment-view-child-list {
|
|
244
|
+
display: grid;
|
|
245
|
+
gap: 7px;
|
|
246
|
+
margin: 0;
|
|
247
|
+
padding-left: 20px;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.judgment-view-child-list {
|
|
251
|
+
gap: 8px;
|
|
252
|
+
padding-left: 0;
|
|
253
|
+
list-style: none;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.judgment-view-reference-list li,
|
|
257
|
+
.judgment-view-evidence-list li,
|
|
258
|
+
.judgment-view-criteria li {
|
|
259
|
+
overflow-wrap: anywhere;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.judgment-view-child {
|
|
263
|
+
display: grid;
|
|
264
|
+
gap: 2px;
|
|
265
|
+
padding: 10px 12px;
|
|
266
|
+
border: 1px solid var(--judgment-border);
|
|
267
|
+
border-left: 3px solid var(--judgment-border-strong);
|
|
268
|
+
border-radius: var(--bb-radius-sm, 7px);
|
|
269
|
+
background: var(--judgment-panel);
|
|
270
|
+
overflow-wrap: anywhere;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.judgment-view-child.is-completed {
|
|
274
|
+
border-left-color: var(--judgment-success);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.judgment-view-child.is-failed,
|
|
278
|
+
.judgment-view-child.is-held {
|
|
279
|
+
border-left-color: var(--judgment-warning);
|
|
280
|
+
background: var(--judgment-warning-soft);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.judgment-view-evaluation-block + .judgment-view-evaluation-block {
|
|
284
|
+
margin-top: 18px;
|
|
285
|
+
padding-top: 18px;
|
|
286
|
+
border-top: 1px solid var(--judgment-border);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.judgment-view-evaluation-block h3 {
|
|
290
|
+
margin-top: 0;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
@media (max-width: 760px) {
|
|
294
|
+
.judgment-view-header {
|
|
295
|
+
padding: 18px;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.judgment-view-panel {
|
|
299
|
+
padding: 14px;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
@media (max-width: 640px) {
|
|
304
|
+
.judgment-view-meta {
|
|
305
|
+
grid-template-columns: 1fr;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.judgment-view-meta dt {
|
|
309
|
+
padding-bottom: 0;
|
|
310
|
+
border-bottom: 0;
|
|
311
|
+
}
|
|
312
|
+
}
|