openmausbot 0.1.61 → 0.1.63

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 (32) hide show
  1. package/README.md +71 -8
  2. package/dist/assets/index-BuntoOSX.js +264 -0
  3. package/dist/assets/{index-CAZ41wL2.js → index-C-SoIGdn.js} +1 -1
  4. package/dist/index.html +1 -1
  5. package/dist-server/container-mcp.js +16 -1
  6. package/dist-server/drivers/agents-proxy.js +8 -4
  7. package/dist-server/index.js +468 -141
  8. package/dist-server/openmausbot.js +33585 -14506
  9. package/dist-server/pair-cli.js +33585 -14506
  10. package/dist-server/server/auto-approve.js +6 -20
  11. package/dist-server/server/browser-bundle-release.js +56 -0
  12. package/dist-server/server/browser-engine-release.js +13 -5
  13. package/dist-server/server/browser-engine.js +114 -15
  14. package/dist-server/server/cli-api-setup.js +144 -0
  15. package/dist-server/server/cli-phone-setup.js +130 -0
  16. package/dist-server/server/cli-prompts.js +185 -0
  17. package/dist-server/server/cli-setup.js +303 -0
  18. package/dist-server/server/cli.js +375 -70
  19. package/dist-server/server/config.js +25 -1
  20. package/dist-server/server/default-model-selection.js +21 -0
  21. package/dist-server/server/drivers/agents-proxy.js +13 -4
  22. package/dist-server/server/drivers/claude.js +26 -1
  23. package/dist-server/server/drivers/openai-compat.js +4 -2
  24. package/dist-server/server/index.js +123 -89
  25. package/dist-server/server/recall-disclosure.js +45 -0
  26. package/dist-server/server/request-auth.js +6 -0
  27. package/dist-server/server/screen-frame-gate.js +36 -1
  28. package/dist-server/server/screen-frame-source.js +57 -0
  29. package/dist-server/server/sessions.js +52 -4
  30. package/dist-server/vps-container-mcp.js +16 -1
  31. package/package.json +1 -1
  32. package/dist/assets/index-Br81ZQCY.js +0 -264
package/README.md CHANGED
@@ -1,14 +1,77 @@
1
1
  # openmausbot
2
2
 
3
- Run the OpenMausBot server on any machine with Node 24+, then pair your
4
- devices to it.
3
+ Your own team of AI bots, with guided terminal setup. Requires Node 24+.
5
4
 
6
5
  ```sh
7
- npx openmausbot serve # starts the server, prints a pairing link + QR
8
- npx openmausbot serve --tailscale # HTTPS over your tailnet, no domain needed
9
- npx openmausbot pair --label "Phone" # another device later
10
- npx openmausbot sessions # who is paired; "sessions revoke <id>" signs one out
6
+ npm install -g openmausbot
7
+ openmausbot
11
8
  ```
12
9
 
13
- Engines (Claude Code, Codex, …) are separate CLIs signed in on the same
14
- machine. Full guide: https://github.com/milind-soni/OpenMausBot/blob/main/docs/self-hosting.md
10
+ Or run `npx openmausbot` without a global install. Use the same command next
11
+ time; `openmausbot start` is an alias for the bare command.
12
+
13
+ First launch: use arrow keys and Enter (numbered choices in plain terminals) to choose
14
+ ChatGPT/Codex, Claude Code, or an API service; sign in or paste a hidden API
15
+ key; choose a model and save. Setup asks before installing a missing Codex
16
+ or Claude CLI. The saved model applies only to new bots; existing bots and
17
+ conversations keep their settings.
18
+
19
+ One optional step connects your phone, defaulting to Skip for now. Choose
20
+ an explicitly approved managed public HTTPS endpoint protected by pairing,
21
+ existing Tailscale, or an HTTPS reverse proxy you already configured.
22
+ Managed access uses a separate OpenMausBot account and asks permission for
23
+ the public endpoint and possible connector download. The pairing page and
24
+ basic server identity are public; chat and settings require pairing.
25
+ Tailscale must already be installed and signed in on both devices.
26
+
27
+ After the HTTPS connection is checked, scan the QR with your phone's
28
+ Camera: use Safari on iPhone/iPad or a web browser on Android. An installed
29
+ OpenMausBot iOS app can also scan or accept the full link. This CLI link
30
+ does not work with the current Android native pairing scanner. Choose
31
+ Connect on the phone; scanning alone is not a completed pairing. Codes
32
+ are private, single-use, and expire after five minutes. Guided phone
33
+ access permits chat and approvals, not settings or pairing administration.
34
+ Localhost and a bare LAN address cannot connect your phone to this server.
35
+
36
+ Later launches reuse your saved choices and open the local workspace.
37
+ Keep the terminal open: this is a foreground server, not a background
38
+ service. Ctrl-C stops the server without deleting saved work. Automatic
39
+ browser opening uses only the local address; it is skipped for SSH and
40
+ headless sessions, and can be disabled with `--no-open`.
41
+
42
+ ```sh
43
+ openmausbot setup # reconfigure AI and optional phone access; not a reset
44
+ openmausbot --no-open # do not open a browser
45
+ openmausbot --local # ignore saved remote access for this launch
46
+ openmausbot --no-pair # suppress phone prompts and invitations
47
+ openmausbot pair # another phone while the HTTPS workspace is running
48
+ openmausbot sessions # list devices; sessions revoke ID signs one out
49
+ openmausbot serve # no onboarding prompts; explicit remote flags for services
50
+ ```
51
+
52
+ Stop an existing server before reconfiguring or changing access mode.
53
+ `--local` preserves your saved choice for next time. `--no-pair` does not
54
+ turn off saved remote access; use `--local` for that on a new launch.
55
+ With a custom `--data-dir` or `--port`, keep using those options when
56
+ starting and pairing.
57
+
58
+ API services include OpenAI, OpenRouter, Groq, and compatible endpoints.
59
+ API connections currently support chat only. Setup asks before a short,
60
+ potentially billable API test; native setup confirms sign-in, with model
61
+ access checked when you send a message. API billing is separate from
62
+ ChatGPT/Claude subscriptions. New API keys in config.json and managed
63
+ account credentials in tunnel-account.json are plaintext, not encrypted,
64
+ with owner-only permissions (0600 on Unix). Keep these files private.
65
+
66
+ Ctrl-C before saving AI setup leaves its pending OMB changes unapplied.
67
+ During the later phone step, it keeps the AI setup already saved and exits
68
+ without starting a server. Completed installs and sign-ins remain; run
69
+ `openmausbot setup` to continue without deleting your data.
70
+
71
+ For a service, use `serve --tunnel` after `login` for managed HTTPS,
72
+ `serve --tailscale` for your tailnet, or your own reverse proxy. The
73
+ `login` command signs in to an OpenMausBot account, not an AI provider;
74
+ it does not start the tunnel itself.
75
+
76
+ [Setup guide](https://github.com/milind-soni/OpenMausBot/blob/main/docs/cli-onboarding.md)
77
+ · [Hosting guide](https://github.com/milind-soni/OpenMausBot/blob/main/docs/self-hosting.md)