init.agi 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. AGI Forge — Module Registration
  3. ===============================
  4. A terminal-style copilot for ArozOS. Describe a task in plain language and
  5. AGI Forge asks the configured AI model (see System Settings > AI
  6. Integration > AI Model) to write an AGI script for it — using the live AGI
  7. API reference and the list of installed modules as context — then runs
  8. the script in a sandboxed VM and hands back the output (and any generated
  9. file).
  10. Backend scripts (next to this init.agi):
  11. backend/generate.agi natural language -> AGI script via llm
  12. backend/run.agi executes a generated script, captures output
  13. backend/models.agi lists the available models for the picker
  14. */
  15. newDBTableIfNotExists("AGIForge");
  16. var moduleLaunchInfo = {
  17. Name: "AGI Forge",
  18. Desc: "Describe a task in plain words — AI writes an AGI script, runs it, and hands you the result.",
  19. Group: "Development",
  20. IconPath: "AGIForge/img/icon.svg",
  21. Version: "1.0",
  22. StartDir: "AGIForge/index.html",
  23. SupportFW: true,
  24. LaunchFWDir: "AGIForge/index.html",
  25. InitFWSize: [960, 700],
  26. SupportEmb: false,
  27. SupportedExt: []
  28. };
  29. console.log("Registering AGI Forge module");
  30. registerModule(JSON.stringify(moduleLaunchInfo));