Dispatch Scanner

pi-cyberneticsourcetypescript
Path: pi-cybernetic/.understand-anything/notes-analysis/dispatch-scanner.tsRelative: .understand-anything/notes-analysis/dispatch-scanner.tsSubproject: pi-cyberneticCategory: other
Lines: 114Bytes: 3,693Imports: 5Exports: 0

Content Preview

  1. import { Agent } from "@earendil-works/pi-agent-core";
  2. import { getModel } from "@earendil-works/pi-ai";
  3. import { Type } from "typebox";
  4. import * as fs from "fs";
  5. import * as path from "path";
  6. const PROJECT_ROOT = "/home/mikes/leverage-loops-projects/pi-cybernetic";
  7. const PLUGIN_ROOT = "/home/mikes/.understand-anything-plugin";
  8. const SKILL_DIR = `${PLUGIN_ROOT}/skills/understand`;
  9. // Read the project-scanner agent definition
  10. const scannerPrompt = fs.readFileSync(`${PLUGIN_ROOT}/agents/project-