- Rename project config dir from .pi/ to .feynman/ (Pi supports this via piConfig.configDir) - Rename citation agent to verifier across all prompts, agents, skills, and docs - Add website with homepage and 24 doc pages (Astro + Tailwind) - Add skills for all workflows (deep-research, lit, review, audit, replicate, compare, draft, autoresearch, watch, jobs, session-log, agentcomputer) - Add Pi-native prompt frontmatter (args, section, topLevelCli) and read at runtime - Remove sync-docs generation layer — docs are standalone - Remove metadata/prompts.mjs and metadata/packages.mjs — not needed at runtime - Rewrite README and homepage copy - Add environment selection to /replicate before executing - Add prompts/delegate.md and AGENTS.md Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
26 lines
929 B
TypeScript
26 lines
929 B
TypeScript
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
|
|
import { registerAlphaCommands, registerAlphaTools } from "./research-tools/alpha.js";
|
|
import { installFeynmanHeader } from "./research-tools/header.js";
|
|
import { registerHelpCommand } from "./research-tools/help.js";
|
|
import { registerInitCommand, registerPreviewTool, registerSessionSearchTool } from "./research-tools/project.js";
|
|
|
|
export default function researchTools(pi: ExtensionAPI): void {
|
|
const cache: { agentSummaryPromise?: Promise<{ agents: string[]; chains: string[] }> } = {};
|
|
|
|
pi.on("session_start", async (_event, ctx) => {
|
|
await installFeynmanHeader(pi, ctx, cache);
|
|
});
|
|
|
|
pi.on("session_switch", async (_event, ctx) => {
|
|
await installFeynmanHeader(pi, ctx, cache);
|
|
});
|
|
|
|
registerAlphaCommands(pi);
|
|
registerHelpCommand(pi);
|
|
registerInitCommand(pi);
|
|
registerSessionSearchTool(pi);
|
|
registerAlphaTools(pi);
|
|
registerPreviewTool(pi);
|
|
}
|