Files
open-web-agent-rs/packages/genaiscript/package.json
geoffsee eed180fdf2 Rename project to "open-web-agent-rs" across all files
Updated project name from "web-agent-rs" to "open-web-agent-rs" in configuration files, documentation, and source code. This change ensures consistency across the project and reflects the new naming convention. Removed unused entries from `.gitignore` and adjusted Docker commands accordingly.
2025-05-27 15:23:07 -04:00

22 lines
1.2 KiB
JSON

{
"name": "@open-web-agent-rs/genaiscript",
"type": "module",
"workspaces": ["packages/*"],
"private": true,
"scripts": {
"dev": "cargo watch -x 'run src/main.rs'",
"ai:search": "genaiscript run genaisrc/web-search.genai.mts --vars USER_INPUT='who won the 2024 election?'",
"shim:ai:search": "pnpm build && ./dist/shim.js --file=genaisrc/search.genai.mts USER_INPUT=\"Who won the 2024 presidential election?\"\n",
"ai:news": "genaiscript run genaisrc/news-search.genai.mts --vars USER_INPUT='What are the latest updates and developments in the Ukraine war?'",
"ai:url:read": "genaiscript run genaisrc/web-scrape.genai.mts --vars USER_INPUT='{\"url\":\"https://geoff.seemueller.io/about\",\"query\":\"Describe the details of the page.\", \"action\": \"read\"}'",
"ai:url:scrape": "npx genaiscript run genaisrc/web-scrape.genai.mts --vars USER_INPUT='{\"url\":\"https://www.time4learning.com/homeschool-curriculum/high-school/eleventh-grade/math.html\",\"query\":\"What is on this page?\", \"action\": \"scrape\"}'"
},
"dependencies": {
"@agentic/searxng": "7.5.3",
"@types/node": "^22.10.2",
"genaiscript": "^1.95.1",
"happy-dom": "^16.0.1",
"ky": "^1.8.0"
}
}