@nanocollective/roster 0.1.0-beta.26 → 0.1.0-beta.27
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.
|
@@ -18,8 +18,10 @@ h1 + div > .connhead:first-child,h1 + .connerr + div > .connhead:first-child{mar
|
|
|
18
18
|
.connacts .ghbtn.danger{color:var(--err);border-color:color-mix(in srgb,var(--err) 40%,transparent)}
|
|
19
19
|
|
|
20
20
|
/* This portal's MCP server, one row per agent: the line to paste and a Copy button. */
|
|
21
|
-
.connmcp{
|
|
22
|
-
.connmcp
|
|
21
|
+
.connmcp{display:flex;flex-direction:column;align-items:stretch;gap:7px}
|
|
22
|
+
.connmcp b{font:600 14px var(--sans);letter-spacing:-.01em}
|
|
23
|
+
.connline{display:flex;align-items:center;gap:10px}
|
|
24
|
+
.connline code{flex:1;min-width:0;font:12.5px/1.5 var(--mono);color:var(--ink);background:var(--bg);border:1px solid var(--line);
|
|
23
25
|
border-radius:var(--r);padding:6px 9px;overflow-wrap:anywhere;user-select:all}
|
|
24
26
|
.connmcp small{font-size:12px;color:var(--ink-dim)}
|
|
25
27
|
|
|
@@ -53,6 +55,4 @@ h1 + div > .connhead:first-child,h1 + .connerr + div > .connhead:first-child{mar
|
|
|
53
55
|
.connrow{grid-template-columns:32px minmax(0,1fr);row-gap:10px}
|
|
54
56
|
.connrow > .chip{grid-column:2;justify-self:start}
|
|
55
57
|
.connacts{grid-column:2}
|
|
56
|
-
.connmcp{grid-template-columns:minmax(0,1fr)}
|
|
57
|
-
.connmcp > .ghbtn{justify-self:start}
|
|
58
58
|
}
|
|
@@ -102,13 +102,10 @@ function ownAgent() {
|
|
|
102
102
|
copy.onclick = () => toClipboard(text, copy, "Copy");
|
|
103
103
|
list.append(
|
|
104
104
|
el("div", { className: "connrow connmcp" }, [
|
|
105
|
-
el("
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
].filter(Boolean)),
|
|
110
|
-
copy,
|
|
111
|
-
]),
|
|
105
|
+
el("b", { textContent: label }),
|
|
106
|
+
el("div", { className: "connline" }, [el("code", { textContent: text }), copy]),
|
|
107
|
+
then ? el("small", { textContent: then }) : null,
|
|
108
|
+
].filter(Boolean)),
|
|
112
109
|
);
|
|
113
110
|
}
|
|
114
111
|
return [head, el("p", { className: "sub", textContent: "Sign in with GitHub when it asks." }), list];
|
package/package.json
CHANGED
|
@@ -18,8 +18,10 @@ h1 + div > .connhead:first-child,h1 + .connerr + div > .connhead:first-child{mar
|
|
|
18
18
|
.connacts .ghbtn.danger{color:var(--err);border-color:color-mix(in srgb,var(--err) 40%,transparent)}
|
|
19
19
|
|
|
20
20
|
/* This portal's MCP server, one row per agent: the line to paste and a Copy button. */
|
|
21
|
-
.connmcp{
|
|
22
|
-
.connmcp
|
|
21
|
+
.connmcp{display:flex;flex-direction:column;align-items:stretch;gap:7px}
|
|
22
|
+
.connmcp b{font:600 14px var(--sans);letter-spacing:-.01em}
|
|
23
|
+
.connline{display:flex;align-items:center;gap:10px}
|
|
24
|
+
.connline code{flex:1;min-width:0;font:12.5px/1.5 var(--mono);color:var(--ink);background:var(--bg);border:1px solid var(--line);
|
|
23
25
|
border-radius:var(--r);padding:6px 9px;overflow-wrap:anywhere;user-select:all}
|
|
24
26
|
.connmcp small{font-size:12px;color:var(--ink-dim)}
|
|
25
27
|
|
|
@@ -53,6 +55,4 @@ h1 + div > .connhead:first-child,h1 + .connerr + div > .connhead:first-child{mar
|
|
|
53
55
|
.connrow{grid-template-columns:32px minmax(0,1fr);row-gap:10px}
|
|
54
56
|
.connrow > .chip{grid-column:2;justify-self:start}
|
|
55
57
|
.connacts{grid-column:2}
|
|
56
|
-
.connmcp{grid-template-columns:minmax(0,1fr)}
|
|
57
|
-
.connmcp > .ghbtn{justify-self:start}
|
|
58
58
|
}
|
|
@@ -102,13 +102,10 @@ function ownAgent() {
|
|
|
102
102
|
copy.onclick = () => toClipboard(text, copy, "Copy");
|
|
103
103
|
list.append(
|
|
104
104
|
el("div", { className: "connrow connmcp" }, [
|
|
105
|
-
el("
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
].filter(Boolean)),
|
|
110
|
-
copy,
|
|
111
|
-
]),
|
|
105
|
+
el("b", { textContent: label }),
|
|
106
|
+
el("div", { className: "connline" }, [el("code", { textContent: text }), copy]),
|
|
107
|
+
then ? el("small", { textContent: then }) : null,
|
|
108
|
+
].filter(Boolean)),
|
|
112
109
|
);
|
|
113
110
|
}
|
|
114
111
|
return [head, el("p", { className: "sub", textContent: "Sign in with GitHub when it asks." }), list];
|