Test the Jarvis agent by running it and verifying tools work. Use when asked to test, verify, or check if Jarvis is working.
Run verification checks on both the CLI agent and the native app.
Run npx tsc --noEmit and verify no type errors.
Run echo "quit" | npx tsx jarvis.ts and verify:
Run echo '{"id":"test","type":"query","text":"What is 2+2?"}' | timeout 30 npx tsx jarvis-server.ts 2>/dev/null | head -5 and verify:
{"id":null,"type":"ready"}Run sqlite3 data/jarvis.db ".tables" and verify tables exist:
conversations, messages, agent_state, schema_versionRead both jarvis.ts and jarvis-server.ts and verify they register the same set of tools. Any mismatch means the CLI and native app have different capabilities.
Run cd JarvisApp && xcodebuild -scheme JarvisApp -configuration Debug build 2>&1 | tail -3 and verify BUILD SUCCEEDED.
.js extension.env has a valid OPENROUTER_API_KEY (not the placeholder)data/ directory is gitignoredSummarize what passed and what failed. If there are issues, suggest fixes.