Dual-Write JSONL Transcript Logger & MCP/Plugin Manager (SuperPi.Extension behaviour).
Implements:
- Dual-writes
<appDataDir>/brain/<conversation-id>/.system_generated/logs/transcript.jsonl(compact, truncating fields over4_096bytes and settingtruncated_fields) andtranscript_full.jsonl(untruncated). - Synchronizes transcript automatically after agent runs or on explicit calls.
- Manages
<globalConfigDir>/mcp_config.json(add,remove,list,enable,disable). - Manages
<globalConfigDir>/config.jsonandplugins/<name>/plugin.json(list,enable,disable,validate).
Summary
Functions
Enabled MCP servers from mcp_config.json as %{name => spec}. Disabled entries are left out.
Exports the derived conversation history to transcript.jsonl (compact) and transcript_full.jsonl
under <appDataDir>/brain/<conversation_id>/.system_generated/logs/.
The steps of a conversation as sync_transcript!/2 writes them to transcript.jsonl: in order,
each field cut at 4096 bytes. Served as the MCP superpi://conversation/{id}/transcript resource.
Functions
Enabled MCP servers from mcp_config.json as %{name => spec}. Disabled entries are left out.
Exports the derived conversation history to transcript.jsonl (compact) and transcript_full.jsonl
under <appDataDir>/brain/<conversation_id>/.system_generated/logs/.
The steps of a conversation as sync_transcript!/2 writes them to transcript.jsonl: in order,
each field cut at 4096 bytes. Served as the MCP superpi://conversation/{id}/transcript resource.