Source index
scripts/check-context.mjs
import {ContextClient} from '../src/context.mjs';
import {writeFile} from 'node:fs/promises';
const client = new ContextClient();
const {server, tools} = await client.connect();
const proof = {checkedAt: new Date().toISOString(), dataset: '2mflxxa8/accessatlas', server, toolNames: tools.map(tool => tool.name), tools, authentication: 'Server-side organization Context Viewer; credential omitted', scope: 'New public dataset, guide/source/check only; read-only'};
await writeFile(new URL('../data/context-tools-proof.json', import.meta.url), JSON.stringify(proof, null, 2) + '\n');
console.log(JSON.stringify({server, tools: tools.map(tool => tool.name)}));