MCPcopy Create free account
hub / github.com/SethGammon/Citadel / renderMatrix

Function renderMatrix

scripts/sandbox-provider.js:44–55  ·  view source on GitHub ↗
(matrix)

Source from the content-addressed store, hash-verified

42}
43
44function renderMatrix(matrix) {
45 const lines = [];
46 lines.push('Sandbox Provider Matrix');
47 lines.push('='.repeat(40));
48 for (const provider of matrix) {
49 lines.push(provider.provider);
50 for (const [operation, entry] of Object.entries(provider.capabilities)) {
51 lines.push(` ${operation.padEnd(8)} ${entry.supported ? 'yes' : 'no '} - ${entry.note}`);
52 }
53 }
54 return `${lines.join('\n')}\n`;
55}
56
57function renderObject(title, value) {
58 const lines = [];

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected