style(mcp): prettier

This commit is contained in:
iamdoubz committed 2026-07-07 00:42:01 -05:00
1 parent 1ade08a60e
commit e424ecd8d3
1 file changed
+19 -12
+19 -12
View File
@@ -87,7 +87,9 @@
}
// ---- MCP server (Phase 10b, ADR-0011) ----
let mcpTransport = $state<"http" | "stdio">(settings.settings.mcp_transport === "stdio" ? "stdio" : "http");
let mcpTransport = $state<"http" | "stdio">(
settings.settings.mcp_transport === "stdio" ? "stdio" : "http",
);
let mcpPort = $state(settings.settings.mcp_port);
let mcpExpose = $state<"none" | "selected" | "all">(
(settings.settings.mcp_expose as "none" | "selected" | "all") ?? "none",
@@ -1245,10 +1247,10 @@
<AlertTriangle size={14} aria-hidden="true" />
<span>
This lets your own coding agent (Claude Code, Codex, Copilot, OpenCode, …) pull meeting
context on your local machine. Once connected, <strong>that agent</strong> may forward what
it reads to its own model provider's cloud — outside WhispAssist's control. WhispAssist
itself never sends this data anywhere; the server only listens on this device
(<code>127.0.0.1</code>) and every read is logged below.
context on your local machine. Once connected, <strong>that agent</strong> may forward
what it reads to its own model provider's cloud — outside WhispAssist's control.
WhispAssist itself never sends this data anywhere; the server only listens on this
device (<code>127.0.0.1</code>) and every read is logged below.
</span>
</div>
@@ -1261,7 +1263,9 @@
/>
<span>Enable the MCP server</span>
</label>
<p class="muted">Off by default. Loopback-only, token-gated — nothing is reachable from the network.</p>
<p class="muted">
Off by default. Loopback-only, token-gated — nothing is reachable from the network.
</p>
<div class="grid">
<label
@@ -1296,7 +1300,9 @@
<select bind:value={mcpExpose} onchange={saveMcpScope}>
<option value="none">None — nothing is shared</option>
<option value="selected">Selected — only feature briefs you've marked shared</option>
<option value="all">All — meetings, transcripts, action items, and shared briefs</option>
<option value="all"
>All — meetings, transcripts, action items, and shared briefs</option
>
</select>
</label>
</div>
@@ -1349,8 +1355,8 @@
</div>
<p class="muted small">
Point your agent's MCP client config at this
{settings.mcpStatus.transport === "stdio" ? "command" : "URL"}, with the token above as a
bearer credential.
{settings.mcpStatus.transport === "stdio" ? "command" : "URL"}, with the token above as
a bearer credential.
</p>
{/if}
@@ -1363,7 +1369,8 @@
{#each settings.mcpAccessLog as entry, i (entry.at + "-" + i)}
<li>
<code>{entry.tool}</code>
{#if entry.meeting_id}<span class="host">meeting {entry.meeting_id.slice(0, 8)}</span
{#if entry.meeting_id}<span class="host"
>meeting {entry.meeting_id.slice(0, 8)}</span
>{/if}
{#if entry.client}<span class="badge">{entry.client}</span>{/if}
<span class="host">{relativeTime(entry.at)}</span>
@@ -1400,8 +1407,8 @@
{#if settings.mcpStatus?.enabled}
<p class="muted confirm">
<Check size={14} aria-hidden="true" />
Inbound on loopback only — it adds nothing to the egress list above. A connected agent
may still forward what it reads to its own model provider; see the MCP server tab.
Inbound on loopback only — it adds nothing to the egress list above. A connected agent may
still forward what it reads to its own model provider; see the MCP server tab.
</p>
{/if}