@essentialai/cogent-bridge
Version:
Cogent Bridge — cross-agent comms for Claude Code, OpenAI Codex and Slack. Codex users: install with `curl -fsSL https://cogent.tools/install.sh | sh`, then start with `cogent-codex` for real-time peer wake.
21 lines • 1.29 kB
TypeScript
/**
* MCP server instructions (COG-81) — the only Cogent text a cold agent is guaranteed to see
* before it has loaded a single tool schema or skill.
*
* Constraints, each one measured (docs/reference/mcp-spec.md):
* - ASCII only, and UNDER 4096 characters: Claude Code cuts the text there.
* - Scoped to "when the user asks": the text reaches EVERY session of every installed user, so
* an unconditional "to get online, do X" would make unrelated sessions read .env and register.
*
* scripts/first-run-test.mjs reads this text back from the built bridge's `initialize` result.
*/
/**
* Lists the Cogent KEY NAMES in a project .env, with line numbers — never a value (`-o` prints
* only the matched part, and the match ends at the `=`). The prefix is loose on purpose: a key
* with a misspelled prefix is still found, and the agent reports it by key name.
* The register skills carry this exact command; src/tools/register-skill-first-run.test.ts
* holds the copies together and runs it on fixtures.
*/
export declare const ENV_KEY_NAMES_COMMAND = "grep -noE '^#COGENT[A-Za-z0-9_ -]*|^(CHANNEL|COG[A-Z]*NT)_(CHANNEL_)?(NAME|PASSWORD|ORG_ID|PEER_NAME|PEER_LABEL)=' .env";
export declare const SERVER_INSTRUCTIONS: string;
//# sourceMappingURL=instructions.d.ts.map