Dispatch Scanner V2

pi-cyberneticsourcetypescript
Path: pi-cybernetic/.understand-anything/notes-analysis/dispatch-scanner-v2.tsRelative: .understand-anything/notes-analysis/dispatch-scanner-v2.tsSubproject: pi-cyberneticCategory: other
Lines: 99Bytes: 3,846Imports: 4Exports: 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. const PROJECT_ROOT = "/home/mikes/leverage-loops-projects/pi-cybernetic";
  6. const PLUGIN_ROOT = "/home/mikes/.understand-anything-plugin";
  7. // Read context
  8. const readme = fs.readFileSync(`${PROJECT_ROOT}/README.md`, "utf-8").slice(0, 3000);
  9. const manifest = fs.readFileSync(`${PROJECT_ROOT}/package.json`, "utf-8");
  10. const scanFiles = JSON