@unson/brainbase-mcp 0.6.0 → 0.7.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/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 +809 -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 +52 -0
- package/dist/company-os-objectives.js +197 -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-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-http.d.ts +90 -0
- package/dist/foundation-http.js +439 -0
- package/dist/foundation-store.d.ts +132 -0
- package/dist/foundation-store.js +654 -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 +185 -0
- package/dist/judgment-problem-snapshot.js +777 -0
- 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/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/personal-knowledge.d.ts +120 -0
- package/dist/personal-knowledge.js +750 -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 +97 -0
- package/dist/server.js +180 -1
- 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/world-model.d.ts +181 -0
- package/dist/world-model.js +873 -0
- package/package.json +139 -3
- package/ui/judgment-view.css +238 -0
- package/ui/judgment-view.js +508 -0
- package/ui/objective-editor.css +180 -0
- package/ui/objective-editor.js +1139 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
/* Shared Objective editor surface. The host owns shell, identity and policy. */
|
|
2
|
+
.objective-editor-root {
|
|
3
|
+
--objective-paper: var(--paper, #fbfbf8);
|
|
4
|
+
--objective-canvas: var(--canvas, #f2f3ef);
|
|
5
|
+
--objective-ink: var(--ink, #141714);
|
|
6
|
+
--objective-muted: var(--muted, #626a64);
|
|
7
|
+
--objective-quiet: var(--quiet, #8b938c);
|
|
8
|
+
--objective-line: var(--line, #d9ded9);
|
|
9
|
+
--objective-line-strong: var(--line-dark, #b8c0b9);
|
|
10
|
+
--objective-green: var(--green, #087d62);
|
|
11
|
+
--objective-green-soft: var(--green-soft, #e5f1ec);
|
|
12
|
+
--objective-amber: var(--amber, #a56d05);
|
|
13
|
+
--objective-amber-soft: var(--amber-soft, #fff2ce);
|
|
14
|
+
--objective-red: var(--red, #c82a39);
|
|
15
|
+
--objective-red-soft: var(--red-soft, #fdebed);
|
|
16
|
+
display: grid;
|
|
17
|
+
gap: 1rem;
|
|
18
|
+
min-width: 0;
|
|
19
|
+
color: var(--objective-ink);
|
|
20
|
+
font-family: Geist, "Noto Sans JP", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
21
|
+
line-height: 1.5;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.objective-editor-root *,
|
|
25
|
+
.objective-editor-root *::before,
|
|
26
|
+
.objective-editor-root *::after { box-sizing: border-box; }
|
|
27
|
+
.objective-editor-root button,
|
|
28
|
+
.objective-editor-root input,
|
|
29
|
+
.objective-editor-root select,
|
|
30
|
+
.objective-editor-root textarea { font: inherit; }
|
|
31
|
+
.objective-editor-root h1,
|
|
32
|
+
.objective-editor-root p { margin: 0; }
|
|
33
|
+
.objective-editor-root h1 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); letter-spacing: -.035em; line-height: 1.2; }
|
|
34
|
+
.objective-editor-root [hidden] { display: none !important; }
|
|
35
|
+
|
|
36
|
+
.objective-editor-header {
|
|
37
|
+
display: grid;
|
|
38
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
39
|
+
gap: .75rem 1rem;
|
|
40
|
+
align-items: start;
|
|
41
|
+
padding-bottom: 1rem;
|
|
42
|
+
border-bottom: 1px solid var(--objective-line);
|
|
43
|
+
}
|
|
44
|
+
.objective-editor-header-copy { display: grid; gap: .3rem; min-width: 0; }
|
|
45
|
+
.objective-editor-header-copy p { color: var(--objective-muted); font-size: .82rem; }
|
|
46
|
+
.objective-editor-eyebrow { color: var(--objective-green); font-size: .64rem; font-weight: 760; letter-spacing: .1em; }
|
|
47
|
+
.objective-editor-toolbar { display: flex; gap: .2rem; align-items: center; flex-wrap: wrap; border-bottom: 1px solid var(--objective-line); }
|
|
48
|
+
.objective-editor-tab {
|
|
49
|
+
min-height: 2.4rem;
|
|
50
|
+
border: 0;
|
|
51
|
+
border-bottom: 2px solid transparent;
|
|
52
|
+
padding: .6rem .75rem .5rem;
|
|
53
|
+
color: var(--objective-muted);
|
|
54
|
+
background: transparent;
|
|
55
|
+
cursor: pointer;
|
|
56
|
+
font-size: .8rem;
|
|
57
|
+
font-weight: 680;
|
|
58
|
+
}
|
|
59
|
+
.objective-editor-tab:hover,
|
|
60
|
+
.objective-editor-tab.is-active { border-bottom-color: var(--objective-green); color: var(--objective-ink); }
|
|
61
|
+
.objective-editor-toolbar > .objective-editor-button-secondary { margin-left: auto; }
|
|
62
|
+
.objective-editor-content { min-width: 0; }
|
|
63
|
+
.objective-editor-panel { display: grid; gap: .8rem; min-width: 0; }
|
|
64
|
+
.objective-editor-panel-heading { font-size: 1rem; font-weight: 730; }
|
|
65
|
+
.objective-editor-muted,
|
|
66
|
+
.objective-editor-help { color: var(--objective-muted); font-size: .77rem; }
|
|
67
|
+
.objective-editor-list { display: grid; gap: 0; border-top: 1px solid var(--objective-line); }
|
|
68
|
+
.objective-editor-list-row {
|
|
69
|
+
display: grid;
|
|
70
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
71
|
+
gap: .75rem;
|
|
72
|
+
align-items: center;
|
|
73
|
+
width: 100%;
|
|
74
|
+
min-height: 4.2rem;
|
|
75
|
+
border: 0;
|
|
76
|
+
border-bottom: 1px solid var(--objective-line);
|
|
77
|
+
padding: .75rem 0;
|
|
78
|
+
color: inherit;
|
|
79
|
+
background: transparent;
|
|
80
|
+
text-align: left;
|
|
81
|
+
cursor: pointer;
|
|
82
|
+
}
|
|
83
|
+
.objective-editor-list-row:hover { background: var(--objective-canvas); }
|
|
84
|
+
.objective-editor-list-copy { display: grid; gap: .15rem; min-width: 0; }
|
|
85
|
+
.objective-editor-list-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
86
|
+
.objective-editor-list-copy small { color: var(--objective-quiet); font-size: .7rem; }
|
|
87
|
+
.objective-editor-list-badges { display: flex; gap: .3rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
|
|
88
|
+
.objective-editor-badge {
|
|
89
|
+
display: inline-flex;
|
|
90
|
+
align-items: center;
|
|
91
|
+
min-height: 1.65rem;
|
|
92
|
+
border: 1px solid var(--objective-line);
|
|
93
|
+
border-radius: 999px;
|
|
94
|
+
padding: .16rem .5rem;
|
|
95
|
+
color: var(--objective-muted);
|
|
96
|
+
background: var(--objective-paper);
|
|
97
|
+
font-size: .68rem;
|
|
98
|
+
font-weight: 700;
|
|
99
|
+
white-space: nowrap;
|
|
100
|
+
}
|
|
101
|
+
.objective-editor-badge-judgment_available,
|
|
102
|
+
.objective-editor-badge-verified { border-color: color-mix(in srgb, var(--objective-green) 40%, var(--objective-line)); color: var(--objective-green); background: var(--objective-green-soft); }
|
|
103
|
+
.objective-editor-badge-draft,
|
|
104
|
+
.objective-editor-badge-conflict { border-color: color-mix(in srgb, var(--objective-amber) 40%, var(--objective-line)); color: var(--objective-amber); background: var(--objective-amber-soft); }
|
|
105
|
+
.objective-editor-badge-permission_denied,
|
|
106
|
+
.objective-editor-badge-api_unavailable,
|
|
107
|
+
.objective-editor-badge-missing,
|
|
108
|
+
.objective-editor-badge-saved_unverified { border-color: color-mix(in srgb, var(--objective-red) 35%, var(--objective-line)); color: var(--objective-red); background: var(--objective-red-soft); }
|
|
109
|
+
.objective-editor-empty { padding: 1.5rem 0; color: var(--objective-muted); }
|
|
110
|
+
.objective-editor-skeleton { height: 3.5rem; margin-bottom: .4rem; border-bottom: 1px solid var(--objective-line); color: var(--objective-quiet); font-size: .76rem; }
|
|
111
|
+
.objective-editor-notice { display: grid; gap: .25rem; border: 1px solid var(--objective-line); padding: .7rem .8rem; background: var(--objective-canvas); }
|
|
112
|
+
.objective-editor-notice p { color: var(--objective-muted); font-size: .78rem; }
|
|
113
|
+
.objective-editor-notice-permission_denied,
|
|
114
|
+
.objective-editor-notice-api_unavailable,
|
|
115
|
+
.objective-editor-notice-conflict,
|
|
116
|
+
.objective-editor-notice-missing { border-color: color-mix(in srgb, var(--objective-red) 35%, var(--objective-line)); background: var(--objective-red-soft); }
|
|
117
|
+
.objective-editor-form { display: grid; gap: 1rem; max-width: 58rem; }
|
|
118
|
+
.objective-editor-identity,
|
|
119
|
+
.objective-editor-inline-fields,
|
|
120
|
+
.objective-editor-inline-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
|
|
121
|
+
.objective-editor-inline-form { align-items: end; }
|
|
122
|
+
.objective-editor-field { display: grid; gap: .3rem; min-width: 0; }
|
|
123
|
+
.objective-editor-label { color: var(--objective-muted); font-size: .75rem; font-weight: 680; }
|
|
124
|
+
.objective-editor-input {
|
|
125
|
+
width: 100%;
|
|
126
|
+
min-height: 2.45rem;
|
|
127
|
+
border: 1px solid var(--objective-line-strong);
|
|
128
|
+
border-radius: .35rem;
|
|
129
|
+
padding: .55rem .65rem;
|
|
130
|
+
color: var(--objective-ink);
|
|
131
|
+
background: var(--objective-paper);
|
|
132
|
+
}
|
|
133
|
+
.objective-editor-input:focus { outline: 2px solid color-mix(in srgb, var(--objective-green) 45%, transparent); outline-offset: 1px; border-color: var(--objective-green); }
|
|
134
|
+
textarea.objective-editor-input { min-height: 5.4rem; resize: vertical; }
|
|
135
|
+
.objective-editor-readonly-value { display: grid; align-content: center; gap: .2rem; min-height: 2.45rem; border-bottom: 1px solid var(--objective-line); }
|
|
136
|
+
.objective-editor-subheading { font-size: .84rem; font-weight: 730; }
|
|
137
|
+
.objective-editor-readiness,
|
|
138
|
+
.objective-editor-reference-section,
|
|
139
|
+
.objective-editor-criteria { display: grid; gap: .5rem; border-top: 1px solid var(--objective-line); padding-top: .8rem; }
|
|
140
|
+
.objective-editor-issue-list,
|
|
141
|
+
.objective-editor-reference-list,
|
|
142
|
+
.objective-editor-link-list { display: grid; gap: .3rem; margin: 0; padding: 0; list-style: none; }
|
|
143
|
+
.objective-editor-issue-list { color: var(--objective-red); font-size: .76rem; }
|
|
144
|
+
.objective-editor-reference-item,
|
|
145
|
+
.objective-editor-link-item { display: flex; gap: .55rem; align-items: center; flex-wrap: wrap; min-height: 2.25rem; border-bottom: 1px solid var(--objective-line); padding: .35rem 0; }
|
|
146
|
+
.objective-editor-reference-item small,
|
|
147
|
+
.objective-editor-link-item small { width: 100%; color: var(--objective-muted); font-size: .72rem; }
|
|
148
|
+
.objective-editor-reference-item .objective-editor-button-danger { margin-left: auto; }
|
|
149
|
+
.objective-editor-criteria legend { padding: 0; font-size: .84rem; font-weight: 730; }
|
|
150
|
+
.objective-editor-criterion-row { display: grid; grid-template-columns: minmax(8rem, 1.4fr) minmax(6rem, .8fr) minmax(6rem, .7fr) minmax(6rem, .8fr) auto; gap: .5rem; align-items: end; padding: .5rem 0; border-bottom: 1px solid var(--objective-line); }
|
|
151
|
+
.objective-editor-actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; padding-top: .3rem; }
|
|
152
|
+
.objective-editor-actions .objective-editor-muted { margin-right: auto; }
|
|
153
|
+
.objective-editor-button {
|
|
154
|
+
min-height: 2.35rem;
|
|
155
|
+
border: 1px solid var(--objective-line-strong);
|
|
156
|
+
border-radius: .3rem;
|
|
157
|
+
padding: .45rem .7rem;
|
|
158
|
+
color: var(--objective-ink);
|
|
159
|
+
background: var(--objective-paper);
|
|
160
|
+
cursor: pointer;
|
|
161
|
+
font-size: .75rem;
|
|
162
|
+
font-weight: 700;
|
|
163
|
+
}
|
|
164
|
+
.objective-editor-button:hover { border-color: var(--objective-green); }
|
|
165
|
+
.objective-editor-button-primary { border-color: var(--objective-green); color: white; background: var(--objective-green); }
|
|
166
|
+
.objective-editor-button-secondary { color: var(--objective-muted); background: transparent; }
|
|
167
|
+
.objective-editor-button-danger { border-color: color-mix(in srgb, var(--objective-red) 45%, var(--objective-line)); color: var(--objective-red); background: transparent; }
|
|
168
|
+
.objective-editor-button:disabled { cursor: wait; opacity: .55; }
|
|
169
|
+
|
|
170
|
+
@media (max-width: 720px) {
|
|
171
|
+
.objective-editor-header,
|
|
172
|
+
.objective-editor-list-row { grid-template-columns: 1fr; }
|
|
173
|
+
.objective-editor-list-badges { justify-content: flex-start; }
|
|
174
|
+
.objective-editor-toolbar > .objective-editor-button-secondary { margin-left: 0; }
|
|
175
|
+
.objective-editor-identity,
|
|
176
|
+
.objective-editor-inline-fields,
|
|
177
|
+
.objective-editor-inline-form { grid-template-columns: 1fr; }
|
|
178
|
+
.objective-editor-criterion-row { grid-template-columns: 1fr 1fr; }
|
|
179
|
+
.objective-editor-criterion-row .objective-editor-button { grid-column: 1 / -1; justify-self: start; }
|
|
180
|
+
}
|