Files
oh-my-pi/packages/coding-agent/src/internal-urls/index.ts
T
can1357 a64ff00cb8 feat(coding-agent): added history:// internal URL for agent transcripts
Registers a HistoryProtocolHandler with the internal URL router: history:// lists every registered agent (id, status, kind, last activity) and history://<agentId> renders a concise markdown transcript (tool calls collapsed to one line each, thinking elided). Live refs render from the in-memory message array; parked refs load read-only from the JSONL session file via loadSessionMessagesReadOnly (no writer, no lock). System prompt + read tool prompt + docs/tools/read.md learn the new scheme.
2026-06-10 17:52:13 +02:00

26 lines
872 B
TypeScript

/**
* Internal URL routing system for internal protocols like agent://, memory://,
* skill://, mcp://, and local://.
*
* One process-global `InternalUrlRouter` is shared across sessions. Handlers
* are stateless; they pull whatever they need (active skills/rules, active
* MCP/async managers, AgentRegistry-listed sessions) from the owning module
* on each resolve call.
*/
export * from "./agent-protocol";
export * from "./artifact-protocol";
export * from "./history-protocol";
export * from "./issue-pr-protocol";
export * from "./json-query";
export * from "./local-protocol";
export * from "./mcp-protocol";
export * from "./memory-protocol";
export * from "./omp-protocol";
export * from "./parse";
export * from "./router";
export * from "./rule-protocol";
export * from "./skill-protocol";
export type * from "./types";
export * from "./vault-protocol";