ravi.bot 0.1.23 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ravi.bot",
3
- "version": "0.1.23",
3
+ "version": "0.2.0",
4
4
  "description": "Claude-powered bot with WhatsApp and Matrix integration via notif.sh",
5
5
  "type": "module",
6
6
  "main": "dist/bundle/index.js",
@@ -25,6 +25,8 @@
25
25
  "bun": ">=1.0.0"
26
26
  },
27
27
  "scripts": {
28
+ "gen:commands": "bun scripts/gen-commands.ts",
29
+ "prebuild": "bun run gen:commands",
28
30
  "build": "bun build src/cli/index.ts --outdir dist/bundle --target bun --minify --external '@matrix-org/*' --external '@whiskeysockets/*' --external '@vector-im/*' --external ink --external react --external '@anthropic-ai/*' --external openai",
29
31
  "postinstall": "node -e \"const p=require.resolve('@matrix-org/matrix-sdk-crypto-nodejs/download-lib.js');require('child_process').execSync('node '+p,{stdio:'inherit'})\" || true",
30
32
  "start": "bun src/index.ts",
@@ -53,6 +55,7 @@
53
55
  "@vector-im/matrix-bot-sdk": "^0.8.0-element.3",
54
56
  "@whiskeysockets/baileys": "^7.0.0-rc.9",
55
57
  "commander": "^14.0.2",
58
+ "croner": "^10.0.1",
56
59
  "ink": "^6.6.0",
57
60
  "ink-text-input": "^6.0.0",
58
61
  "notif.sh": "^0.2.1",