@aliwey/bmo 2.0.1 → 2.0.2

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.
Files changed (2) hide show
  1. package/bin/bmo.js +3 -3
  2. package/package.json +1 -1
package/bin/bmo.js CHANGED
@@ -136,19 +136,19 @@ Data lives in: ${BMO_HOME_DISPLAY}
136
136
  }
137
137
 
138
138
  // ── bmo init ──────────────────────────────────────────────────────────────
139
- if (cmd === 'init') {
139
+ if (cmd === 'init' || cmd === '-init' || cmd === '--init') {
140
140
  require('../scripts/bmo_init.js');
141
141
  return;
142
142
  }
143
143
 
144
144
  // ── bmo web ───────────────────────────────────────────────────────────────
145
- if (cmd === 'web') {
145
+ if (cmd === 'web' || cmd === '-web' || cmd === '--web') {
146
146
  require('../scripts/web_cmd.js');
147
147
  return;
148
148
  }
149
149
 
150
150
  // ── bmo relay [--private|--stop] ──────────────────────────────────────────
151
- if (cmd === 'relay') {
151
+ if (cmd === 'relay' || cmd === '-relay' || cmd === '--relay') {
152
152
  process.argv = [process.argv[0], process.argv[1], ...args]; // pass flags
153
153
  require('../scripts/relay_cmd.js');
154
154
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aliwey/bmo",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "BMO — AI coding assistant with Telegram, CLI & Web sync. One command, all frontends.",
5
5
  "keywords": ["ai", "coding-assistant", "telegram-bot", "cli", "opencode", "bfp"],
6
6
  "homepage": "https://github.com/aliwey/bmo",