feat(web): tools and MCP section in Agent settings, tool call IO drawer

Settings > Agent: MCP server card (endpoint, enable switch, allowed API keys,
live sessions, recent calls, copyable client config without secrets) and the
capability list (scope, risk, idempotency/replay, authorization state, 7-day
calls and failure rate, last call, schema sheet). Agent session tool cards get
a drawer with input/output schema and the redacted input/output of the call.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-09-28 20:28:41 +08:00
1 parent 653100ceb4
commit b3cc5a8313
5 files changed
+656

No files matched your search

@@ -1,3 +1,4 @@
import { AgentToolsBlock } from "./agent-tools.tsx";
import { PiUpstreamsBlock } from "./pi-upstreams.tsx";
import type { FieldValue } from "./resource-section.tsx";
import { num, str } from "./resource-section.tsx";
@@ -194,6 +195,7 @@ export function AgentSection() {
</>
)}
</SettingsGate>
<AgentToolsBlock />
</div>
);
}