Files
open-web-agent-rs/packages/genaiscript/package.json
2025-05-28 19:48:50 -04:00

25 lines
1.3 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\"}'",
"typegen": " genaiscript scripts compile"
},
"dependencies": {
"@agentic/searxng": "7.5.3",
"@types/node": "^22.10.2",
"genaiscript": "^1.95.1",
"happy-dom": "^16.0.1",
"ky": "^1.8.0",
"md-front-matter": "^1.0.4",
"@langchain/langgraph":"0.2.57"
}
}