MCPcopy
hub / github.com/codeaashu/claude-code / TrustDialog

Function TrustDialog

src/components/TrustDialog/TrustDialog.tsx:23–265  ·  view source on GitHub ↗
(t0)

Source from the content-addressed store, hash-verified

21 commands?: Command[];
22};
23export function TrustDialog(t0) {
24 const $ = _c(33);
25 const {
26 onDone,
27 commands
28 } = t0;
29 let t1;
30 if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
31 t1 = getMcpConfigsByScope("project");
32 $[0] = t1;
33 } else {
34 t1 = $[0];
35 }
36 const {
37 servers: projectServers
38 } = t1;
39 let t2;
40 if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
41 t2 = Object.keys(projectServers);
42 $[1] = t2;
43 } else {
44 t2 = $[1];
45 }
46 const hasMcpServers = t2.length > 0;
47 let t3;
48 if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
49 t3 = getHooksSources();
50 $[2] = t3;
51 } else {
52 t3 = $[2];
53 }
54 const hooksSettingSources = t3;
55 const hasHooks = hooksSettingSources.length > 0;
56 let t4;
57 if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
58 t4 = getBashPermissionSources();
59 $[3] = t4;
60 } else {
61 t4 = $[3];
62 }
63 const bashSettingSources = t4;
64 let t5;
65 if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
66 t5 = getApiKeyHelperSources();
67 $[4] = t5;
68 } else {
69 t5 = $[4];
70 }
71 const apiKeyHelperSources = t5;
72 const hasApiKeyHelper = apiKeyHelperSources.length > 0;
73 let t6;
74 if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
75 t6 = getAwsCommandsSources();
76 $[5] = t6;
77 } else {
78 t6 = $[5];
79 }
80 const awsCommandsSources = t6;

Callers

nothing calls this directly

Calls 15

getMcpConfigsByScopeFunction · 0.85
getHooksSourcesFunction · 0.85
getBashPermissionSourcesFunction · 0.85
getApiKeyHelperSourcesFunction · 0.85
getAwsCommandsSourcesFunction · 0.85
getGcpCommandsSourcesFunction · 0.85
getCwdFunction · 0.85
logEventFunction · 0.85
gracefulShutdownSyncFunction · 0.85

Tested by

no test coverage detected