angelia-gateway 0.3.22 → 0.3.23

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/README.md CHANGED
@@ -161,7 +161,7 @@ Back at your desk? In a Claude Code chat, `/status` ends with a line such as `cd
161
161
 
162
162
  ## WhatsApp
163
163
 
164
- `angelia init` offers WhatsApp beside Telegram: it opens a local page with a QR code; on the phone that owns the number, choose *Linked devices > Link a device* and scan it. Then you send the number a message from the chat it should answer, and confirm. On an existing setup, add `whatsapp: { auth_dir: ~/.angelia/wa }` to the table and run `angelia pair`.
164
+ `angelia init` offers WhatsApp beside Telegram: it opens a local page with a QR code; on the phone that owns the number, choose *Linked devices > Link a device* and scan it. Then you send the number a message from the chat it should answer, and confirm. On an existing setup, add `whatsapp: { auth_dir: ~/.angelia/wa }` to the table, run `angelia accept`, then `angelia pair`, then `/restart`. Then send the number a message from the chat it should answer, take that chat's id from `~/.angelia/daemon.log`, add a `platform: whatsapp` route for it, and `/restart` again (then `/restart confirm` if it lists new rights).
165
165
 
166
166
  > **Use a second, established number, not your personal one.** Angelia ignores what its own account sends, so on your personal number it would not hear you, and it would answer as you. Its link can also read every chat on that account. And WhatsApp bans newly created numbers that start acting like robots, often within hours.
167
167
 
package/dist/build.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
- "commit": "a0cb9cf5574c28c6f27c5d5f06801a549335e9b8",
2
+ "commit": "1265a8aef35fa55da288c44537d347fbc31d0f9f",
3
3
  "dirty": false,
4
- "built": "2026-10-27T08:48:05.050Z",
5
- "tag": "v0.3.22"
4
+ "built": "2026-10-27T21:20:43.836Z",
5
+ "tag": "v0.3.23"
6
6
  }
@@ -23,7 +23,9 @@ export function permissionLine(id, tool, preview) {
23
23
  const short = id.slice(0, 8);
24
24
  return `🔐 ${tool}: ${preview}\nReply "yes ${short}" or "no ${short}".`;
25
25
  }
26
- export const PERMISSION_REPLY_RE = /^\s*(y|yes|n|no)\s+([0-9a-f-]{5,40})\s*$/i;
26
+ // Ids are not all hex: Grok Build's are `call-…`, and the chat is shown their first eight characters.
27
+ // A digit or a dash marks an id, so "yes please" stays a message.
28
+ export const PERMISSION_REPLY_RE = /^\s*(y|yes|n|no)\s+((?=[0-9a-z_-]*[0-9-])[0-9a-z_-]{5,40})\s*$/i;
27
29
  export function parsePermissionReply(text) {
28
30
  const m = PERMISSION_REPLY_RE.exec(text);
29
31
  if (!m)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "angelia-gateway",
3
- "version": "0.3.22",
3
+ "version": "0.3.23",
4
4
  "description": "Turn the coding agent CLI you already know into the brain of your personal assistants, on WhatsApp and Telegram. One chat, one folder, one session.",
5
5
  "type": "module",
6
6
  "license": "MIT",