Analyze Batches
Path:
pi-cybernetic/.understand-anything/notes-analysis/analyze-batches.tsRelative: .understand-anything/notes-analysis/analyze-batches.tsSubproject: pi-cyberneticCategory: otherLines: 139Bytes: 5,068Imports: 4Exports: 0
Content Preview
- import { Agent } from "@earendil-works/pi-agent-core";
- import { getModel } from "@earendil-works/pi-ai";
- import { Type } from "typebox";
- import * as fs from "fs";
- const PROJECT_ROOT = "/home/mikes/leverage-loops-projects/pi-cybernetic";
- const PLUGIN_ROOT = "/home/mikes/.understand-anything-plugin";
- const SKILL_DIR = `${PLUGIN_ROOT}/skills/understand`;
- // Read the file-analyzer agent definition
- const analyzerPrompt = fs.readFileSync(`${PLUGIN_ROOT}/agents/file-analyzer.md`, "utf-8");
- // Read b