mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-10 23:47:12 +02:00
Adds npm run assistant "question" command to test the LLM processing without needing the Nostr connection. Also: - Add proper API key validation with clear error message - Add debug logging (DEBUG=1) for troubleshooting Usage: export ANTHROPIC_API_KEY=sk-ant-... npm run assistant "how do I see what my contacts are zapping" https://claude.ai/code/session_01X4HWkMGrghBv2RfY89L5Lz
26 lines
622 B
JSON
26 lines
622 B
JSON
{
|
|
"name": "@grimoire/bot",
|
|
"version": "0.0.1",
|
|
"description": "Grimoire REQ assistant bot for Nostr group chat",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"start": "node dist/index.js",
|
|
"dev": "tsx src/index.ts",
|
|
"assistant": "tsx src/test-assistant.ts"
|
|
},
|
|
"dependencies": {
|
|
"@mariozechner/pi-ai": "^0.51.2",
|
|
"@noble/hashes": "^1.8.0",
|
|
"@sinclair/typebox": "^0.34.48",
|
|
"nostr-tools": "^2.10.4",
|
|
"websocket-polyfill": "^0.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.5",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5.7.2"
|
|
}
|
|
}
|