@rubytech/create-maxy-code 0.1.537 → 0.1.538
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 +1 -1
- package/payload/platform/plugins/admin/skills/platform-architecture/SKILL.md +95 -7
- package/payload/platform/plugins/admin/skills/whats-new/SKILL.md +5 -0
- package/payload/platform/plugins/docs/PLUGIN.md +2 -0
- package/payload/platform/plugins/docs/references/admin-ui.md +14 -6
- package/payload/platform/plugins/docs/references/channel-wake-and-prompt.md +75 -0
- package/payload/platform/plugins/whatsapp/PLUGIN.md +2 -0
- package/payload/platform/plugins/whatsapp/mcp/dist/index.js +17 -2
- package/payload/platform/plugins/whatsapp/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/whatsapp/references/channels-whatsapp.md +16 -0
- package/payload/platform/plugins/whatsapp/skills/connect-whatsapp/SKILL.md +1 -1
- package/payload/platform/plugins/whatsapp/skills/manage-whatsapp-config/SKILL.md +19 -3
- package/payload/platform/services/claude-session-manager/dist/pty-spawner.d.ts.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/pty-spawner.js +15 -2
- package/payload/platform/services/claude-session-manager/dist/pty-spawner.js.map +1 -1
- package/payload/platform/services/whatsapp-channel/dist/notification.d.ts +1 -1
- package/payload/platform/services/whatsapp-channel/dist/notification.d.ts.map +1 -1
- package/payload/platform/services/whatsapp-channel/dist/targets.d.ts +1 -1
- package/payload/platform/services/whatsapp-channel/dist/targets.d.ts.map +1 -1
- package/payload/platform/services/whatsapp-channel/dist/targets.js +5 -1
- package/payload/platform/services/whatsapp-channel/dist/targets.js.map +1 -1
- package/payload/server/{chunk-44Z4ZFYS.js → chunk-FQO5RDWZ.js} +2 -0
- package/payload/server/{manager-AJSPM6X2.js → manager-EBZQRV5V.js} +1 -1
- package/payload/server/public/activity.html +5 -5
- package/payload/server/public/agents.html +4 -4
- package/payload/server/public/assets/{AdminLoginScreens-CYFf2awh.js → AdminLoginScreens-CfXQwKIY.js} +1 -1
- package/payload/server/public/assets/AdminLoginScreens-CfXQwKIY.js.br +0 -0
- package/payload/server/public/assets/AdminLoginScreens-CfXQwKIY.js.gz +0 -0
- package/payload/server/public/assets/AdminShell-y0_mzlDF.js +2 -0
- package/payload/server/public/assets/AdminShell-y0_mzlDF.js.br +0 -0
- package/payload/server/public/assets/AdminShell-y0_mzlDF.js.gz +0 -0
- package/payload/server/public/assets/{activity-BH65sm9Q.js → activity-h8-sjHz9.js} +1 -1
- package/payload/server/public/assets/activity-h8-sjHz9.js.br +0 -0
- package/payload/server/public/assets/activity-h8-sjHz9.js.gz +0 -0
- package/payload/server/public/assets/{admin-CQtEjRGU.js → admin-BzhhLC7C.js} +1 -1
- package/payload/server/public/assets/admin-BzhhLC7C.js.br +0 -0
- package/payload/server/public/assets/admin-BzhhLC7C.js.gz +0 -0
- package/payload/server/public/assets/{agents-CjhOWwl5.js → agents-DLuhIIgn.js} +1 -1
- package/payload/server/public/assets/agents-DLuhIIgn.js.br +0 -0
- package/payload/server/public/assets/agents-DLuhIIgn.js.gz +0 -0
- package/payload/server/public/assets/{browser-DGXpfL99.js → browser-FAnTY27n.js} +1 -1
- package/payload/server/public/assets/browser-FAnTY27n.js.br +0 -0
- package/payload/server/public/assets/browser-FAnTY27n.js.gz +0 -0
- package/payload/server/public/assets/{calendar-Cu4yjEuX.js → calendar-C_PkqlkQ.js} +1 -1
- package/payload/server/public/assets/calendar-C_PkqlkQ.js.br +0 -0
- package/payload/server/public/assets/calendar-C_PkqlkQ.js.gz +0 -0
- package/payload/server/public/assets/chat-DW81Ra89.js +1 -0
- package/payload/server/public/assets/chat-DW81Ra89.js.br +0 -0
- package/payload/server/public/assets/chat-DW81Ra89.js.gz +0 -0
- package/payload/server/public/assets/chevron-left-zV-WRzHb.js +1 -0
- package/payload/server/public/assets/chevron-left-zV-WRzHb.js.br +0 -0
- package/payload/server/public/assets/chevron-right-fnINU4bx.js +1 -0
- package/payload/server/public/assets/chevron-right-fnINU4bx.js.br +0 -0
- package/payload/server/public/assets/clock-2fSxBl6d.js +1 -0
- package/payload/server/public/assets/clock-2fSxBl6d.js.br +0 -0
- package/payload/server/public/assets/copy-Rde_TL9Q.js +1 -0
- package/payload/server/public/assets/copy-Rde_TL9Q.js.br +0 -0
- package/payload/server/public/assets/copy-Rde_TL9Q.js.gz +0 -0
- package/payload/server/public/assets/data-S5g4wIDe.js +1 -0
- package/payload/server/public/assets/data-S5g4wIDe.js.br +0 -0
- package/payload/server/public/assets/data-S5g4wIDe.js.gz +0 -0
- package/payload/server/public/assets/{file-text-CbQoZfJD.js → file-text-DMCUVg80.js} +1 -1
- package/payload/server/public/assets/file-text-DMCUVg80.js.br +0 -0
- package/payload/server/public/assets/file-text-DMCUVg80.js.gz +0 -0
- package/payload/server/public/assets/graph-Bo-WcsKS.js +51 -0
- package/payload/server/public/assets/graph-Bo-WcsKS.js.br +0 -0
- package/payload/server/public/assets/graph-Bo-WcsKS.js.gz +0 -0
- package/payload/server/public/assets/{graph-labels-D695CsC9.js → graph-labels-g-JodMWQ.js} +1 -1
- package/payload/server/public/assets/graph-labels-g-JodMWQ.js.br +0 -0
- package/payload/server/public/assets/graph-labels-g-JodMWQ.js.gz +0 -0
- package/payload/server/public/assets/operator-X_LcOnAI.js +1 -0
- package/payload/server/public/assets/operator-X_LcOnAI.js.br +0 -0
- package/payload/server/public/assets/operator-X_LcOnAI.js.gz +0 -0
- package/payload/server/public/assets/page-Cz0p1mBf.js +1 -0
- package/payload/server/public/assets/page-Cz0p1mBf.js.br +0 -0
- package/payload/server/public/assets/page-Cz0p1mBf.js.gz +0 -0
- package/payload/server/public/assets/page-Dzs3MsFL.js +32 -0
- package/payload/server/public/assets/page-Dzs3MsFL.js.br +0 -0
- package/payload/server/public/assets/page-Dzs3MsFL.js.gz +0 -0
- package/payload/server/public/assets/{play-CbRU6q0T.js → play-CraN5kUU.js} +1 -1
- package/payload/server/public/assets/play-CraN5kUU.js.br +0 -0
- package/payload/server/public/assets/play-CraN5kUU.js.gz +0 -0
- package/payload/server/public/assets/{public-CqbKJ-Q3.js → public--NUjaJ-q.js} +1 -1
- package/payload/server/public/assets/public--NUjaJ-q.js.br +0 -0
- package/payload/server/public/assets/public--NUjaJ-q.js.gz +0 -0
- package/payload/server/public/assets/{rotate-ccw-CjliWBou.js → rotate-ccw-DshFgg2T.js} +1 -1
- package/payload/server/public/assets/rotate-ccw-DshFgg2T.js.br +0 -0
- package/payload/server/public/assets/rotate-ccw-DshFgg2T.js.gz +0 -0
- package/payload/server/public/assets/routines-CfAS4gri.js +2 -0
- package/payload/server/public/assets/routines-CfAS4gri.js.br +0 -0
- package/payload/server/public/assets/routines-CfAS4gri.js.gz +0 -0
- package/payload/server/public/assets/{skills-ipK9BJFb.js → skills-CM6ryWpx.js} +1 -1
- package/payload/server/public/assets/skills-CM6ryWpx.js.br +0 -0
- package/payload/server/public/assets/skills-CM6ryWpx.js.gz +0 -0
- package/payload/server/public/assets/{tasks-CGcJHQ3X.js → tasks-B07m9LIA.js} +2 -2
- package/payload/server/public/assets/tasks-B07m9LIA.js.br +0 -0
- package/payload/server/public/assets/tasks-B07m9LIA.js.gz +0 -0
- package/payload/server/public/assets/{triangle-alert-CjsLPsBD.js → triangle-alert-CKHyS_gC.js} +1 -1
- package/payload/server/public/assets/triangle-alert-CKHyS_gC.js.br +0 -0
- package/payload/server/public/assets/triangle-alert-CKHyS_gC.js.gz +0 -0
- package/payload/server/public/assets/{useCopyFeedback-umIgCxI_.js → useCopyFeedback-CmawEsVi.js} +1 -1
- package/payload/server/public/assets/useCopyFeedback-CmawEsVi.js.br +0 -0
- package/payload/server/public/assets/useCopyFeedback-CmawEsVi.js.gz +0 -0
- package/payload/server/public/assets/useSubAccountSwitcher-CVHqKsqK.js +14 -0
- package/payload/server/public/assets/useSubAccountSwitcher-CVHqKsqK.js.br +0 -0
- package/payload/server/public/assets/useSubAccountSwitcher-CVHqKsqK.js.gz +0 -0
- package/payload/server/public/assets/{useSubAccountSwitcher-D8jXV7R5.css → useSubAccountSwitcher-yN4lhH2x.css} +1 -1
- package/payload/server/public/assets/useSubAccountSwitcher-yN4lhH2x.css.br +0 -0
- package/payload/server/public/assets/{useSubAccountSwitcher-D8jXV7R5.css.gz → useSubAccountSwitcher-yN4lhH2x.css.gz} +0 -0
- package/payload/server/public/assets/useVoiceRecorder-DpQTvvqD.js +2 -0
- package/payload/server/public/assets/useVoiceRecorder-DpQTvvqD.js.br +0 -0
- package/payload/server/public/assets/useVoiceRecorder-DpQTvvqD.js.gz +0 -0
- package/payload/server/public/assets/{wrench-DtfKfR4s.js → wrench-BPOEUNJB.js} +1 -1
- package/payload/server/public/assets/wrench-BPOEUNJB.js.br +0 -0
- package/payload/server/public/assets/wrench-BPOEUNJB.js.gz +0 -0
- package/payload/server/public/browser.html +4 -4
- package/payload/server/public/calendar.html +7 -7
- package/payload/server/public/chat.html +13 -13
- package/payload/server/public/data.html +11 -11
- package/payload/server/public/graph.html +9 -9
- package/payload/server/public/index.html +14 -14
- package/payload/server/public/operator.html +14 -14
- package/payload/server/public/public.html +13 -13
- package/payload/server/public/routines.html +6 -6
- package/payload/server/public/skills.html +5 -5
- package/payload/server/public/tasks.html +6 -6
- package/payload/server/server.js +299 -74
- package/payload/server/public/assets/AdminLoginScreens-CYFf2awh.js.br +0 -0
- package/payload/server/public/assets/AdminLoginScreens-CYFf2awh.js.gz +0 -0
- package/payload/server/public/assets/AdminShell-7l3ubYFZ.js +0 -2
- package/payload/server/public/assets/AdminShell-7l3ubYFZ.js.br +0 -0
- package/payload/server/public/assets/AdminShell-7l3ubYFZ.js.gz +0 -0
- package/payload/server/public/assets/activity-BH65sm9Q.js.br +0 -0
- package/payload/server/public/assets/activity-BH65sm9Q.js.gz +0 -0
- package/payload/server/public/assets/admin-CQtEjRGU.js.br +0 -0
- package/payload/server/public/assets/admin-CQtEjRGU.js.gz +0 -0
- package/payload/server/public/assets/agents-CjhOWwl5.js.br +0 -0
- package/payload/server/public/assets/agents-CjhOWwl5.js.gz +0 -0
- package/payload/server/public/assets/browser-DGXpfL99.js.br +0 -0
- package/payload/server/public/assets/browser-DGXpfL99.js.gz +0 -0
- package/payload/server/public/assets/calendar-Cu4yjEuX.js.br +0 -0
- package/payload/server/public/assets/calendar-Cu4yjEuX.js.gz +0 -0
- package/payload/server/public/assets/chat-0na4XVZC.js +0 -1
- package/payload/server/public/assets/chat-0na4XVZC.js.br +0 -0
- package/payload/server/public/assets/chat-0na4XVZC.js.gz +0 -0
- package/payload/server/public/assets/chevron-left-DHzJobWp.js +0 -1
- package/payload/server/public/assets/chevron-left-DHzJobWp.js.br +0 -0
- package/payload/server/public/assets/chevron-right-yg4DMfLT.js +0 -1
- package/payload/server/public/assets/chevron-right-yg4DMfLT.js.br +0 -0
- package/payload/server/public/assets/clock-BIDzihvp.js +0 -1
- package/payload/server/public/assets/clock-BIDzihvp.js.br +0 -0
- package/payload/server/public/assets/clock-BIDzihvp.js.gz +0 -0
- package/payload/server/public/assets/data-Ql9qG3YO.js +0 -1
- package/payload/server/public/assets/data-Ql9qG3YO.js.br +0 -0
- package/payload/server/public/assets/data-Ql9qG3YO.js.gz +0 -0
- package/payload/server/public/assets/file-text-CbQoZfJD.js.br +0 -0
- package/payload/server/public/assets/file-text-CbQoZfJD.js.gz +0 -0
- package/payload/server/public/assets/graph-7414Kjn9.js +0 -51
- package/payload/server/public/assets/graph-7414Kjn9.js.br +0 -0
- package/payload/server/public/assets/graph-7414Kjn9.js.gz +0 -0
- package/payload/server/public/assets/graph-labels-D695CsC9.js.br +0 -0
- package/payload/server/public/assets/graph-labels-D695CsC9.js.gz +0 -0
- package/payload/server/public/assets/maximize-2-CD0gTjW_.js +0 -1
- package/payload/server/public/assets/maximize-2-CD0gTjW_.js.br +0 -0
- package/payload/server/public/assets/maximize-2-CD0gTjW_.js.gz +0 -0
- package/payload/server/public/assets/operator-CLw4PZs5.js +0 -1
- package/payload/server/public/assets/operator-CLw4PZs5.js.br +0 -0
- package/payload/server/public/assets/operator-CLw4PZs5.js.gz +0 -0
- package/payload/server/public/assets/page-BNRFmFc-.js +0 -32
- package/payload/server/public/assets/page-BNRFmFc-.js.br +0 -0
- package/payload/server/public/assets/page-BNRFmFc-.js.gz +0 -0
- package/payload/server/public/assets/page-BRr295G2.js +0 -1
- package/payload/server/public/assets/page-BRr295G2.js.br +0 -0
- package/payload/server/public/assets/page-BRr295G2.js.gz +0 -0
- package/payload/server/public/assets/play-CbRU6q0T.js.br +0 -0
- package/payload/server/public/assets/play-CbRU6q0T.js.gz +0 -0
- package/payload/server/public/assets/public-CqbKJ-Q3.js.br +0 -0
- package/payload/server/public/assets/public-CqbKJ-Q3.js.gz +0 -0
- package/payload/server/public/assets/rotate-ccw-CjliWBou.js.br +0 -0
- package/payload/server/public/assets/rotate-ccw-CjliWBou.js.gz +0 -0
- package/payload/server/public/assets/routines-yJuRuBfn.js +0 -2
- package/payload/server/public/assets/routines-yJuRuBfn.js.br +0 -0
- package/payload/server/public/assets/routines-yJuRuBfn.js.gz +0 -0
- package/payload/server/public/assets/skills-ipK9BJFb.js.br +0 -0
- package/payload/server/public/assets/skills-ipK9BJFb.js.gz +0 -0
- package/payload/server/public/assets/tasks-CGcJHQ3X.js.br +0 -0
- package/payload/server/public/assets/tasks-CGcJHQ3X.js.gz +0 -0
- package/payload/server/public/assets/triangle-alert-CjsLPsBD.js.br +0 -0
- package/payload/server/public/assets/triangle-alert-CjsLPsBD.js.gz +0 -0
- package/payload/server/public/assets/useCopyFeedback-umIgCxI_.js.br +0 -0
- package/payload/server/public/assets/useCopyFeedback-umIgCxI_.js.gz +0 -0
- package/payload/server/public/assets/useSubAccountSwitcher-D8jXV7R5.css.br +0 -0
- package/payload/server/public/assets/useSubAccountSwitcher-UMg53kKF.js +0 -14
- package/payload/server/public/assets/useSubAccountSwitcher-UMg53kKF.js.br +0 -0
- package/payload/server/public/assets/useSubAccountSwitcher-UMg53kKF.js.gz +0 -0
- package/payload/server/public/assets/useVoiceRecorder-tzfqfXni.js +0 -2
- package/payload/server/public/assets/useVoiceRecorder-tzfqfXni.js.br +0 -0
- package/payload/server/public/assets/useVoiceRecorder-tzfqfXni.js.gz +0 -0
- package/payload/server/public/assets/wrench-DtfKfR4s.js.br +0 -0
- package/payload/server/public/assets/wrench-DtfKfR4s.js.gz +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: platform-architecture
|
|
3
3
|
description: Use when grounding any documented-surface claim about what Maxy ships — plugins, skills, specialists, install/deploy flows, internals. This is the install catalogue, not evidence of what is enabled on the current account. For install state on this account, call `capabilities-here`; for documented surface, cite the `Source:` URL inline.
|
|
4
|
-
content-hash: sha256:
|
|
4
|
+
content-hash: sha256:08b03d80446b9b08b4b64926a3ac7d7f55a6f07d4182512dcca1d107c78cc9a2
|
|
5
5
|
brand: maxy-code
|
|
6
6
|
product-name: Maxy
|
|
7
7
|
---
|
|
@@ -1661,6 +1661,86 @@ Changes are per-account and take effect immediately.
|
|
|
1661
1661
|
|
|
1662
1662
|
Brand isolation extends to the device filesystem. Every Maxy install provisions an SMB share scoped to that brand's install folder, credentialled by the brand's install owner and the Maxy PIN. A device that hosts more than one brand carries one share per brand; tearing one brand down never exposes another brand's files. See [Samba Share](./samba.md) for the credential model, per-OS mount syntax, and peer-brand lifecycle.
|
|
1663
1663
|
|
|
1664
|
+
---
|
|
1665
|
+
# What Wakes a Session
|
|
1666
|
+
Source: https://docs.getmaxy.com/channel-wake-and-prompt.md
|
|
1667
|
+
|
|
1668
|
+
# What wakes a session, and what is in its prompt
|
|
1669
|
+
|
|
1670
|
+
Two questions an agent cannot answer from inside itself, and both have caused real faults: *what woke me?* and *which files did my prompt come from?* This page answers both. When the answer is not here, the logs have it: `logs-read --tail server`, filtered on the `[whatsapp:*]` tags.
|
|
1671
|
+
|
|
1672
|
+
## What wakes a session
|
|
1673
|
+
|
|
1674
|
+
Five things start or resume a WhatsApp session. They are distinguishable, and the distinction matters, because two of them are written by the platform rather than by the person named as the sender.
|
|
1675
|
+
|
|
1676
|
+
**An admin phone or an account manager messages the line.** This resumes that person's own admin session. There is no per-account admin session: the session id is a hash of the account plus the person, so one person messaging from two channels resumes one thread, and two managers on one account have two threads.
|
|
1677
|
+
|
|
1678
|
+
**A public sender messages the line.** Three things follow, in this order, and each is independent of the ones after it.
|
|
1679
|
+
|
|
1680
|
+
1. The account's registered managers are notified, verbatim, unless the account has turned that off. This fires before any agent starts, so it survives a spawn that fails.
|
|
1681
|
+
2. Every bound manager's own admin session is woken with a `public-relay` turn carrying the sender's message as fenced content. This is the carrier for anything the account needs to do about the visitor: translate, put a request to a registered counterparty, carry the answer back.
|
|
1682
|
+
3. The account's public agent answers the visitor, if the account has one and has enabled it. If not, the visitor receives nothing at all, and steps 1 and 2 have already happened regardless.
|
|
1683
|
+
|
|
1684
|
+
**The scheduler fires a due event.** This raises a `schedule` turn on the destination's own session, carrying the event's prompt.
|
|
1685
|
+
|
|
1686
|
+
**A passive account-manager binding receives a message.** This spawns a constrained one-shot that files a task and never replies. It cannot hold a conversation or answer against existing state.
|
|
1687
|
+
|
|
1688
|
+
## Reading why you woke
|
|
1689
|
+
|
|
1690
|
+
Every turn carries a `source`. Three values exist:
|
|
1691
|
+
|
|
1692
|
+
| `source` | Meaning |
|
|
1693
|
+
|---|---|
|
|
1694
|
+
| `user` | A real person sent this message to the line. Also the value when the field is absent. |
|
|
1695
|
+
| `schedule` | The scheduler wrote this turn. The named destination did not send it. |
|
|
1696
|
+
| `public-relay` | The platform wrote this turn because a public visitor messaged the account. The named sender is a manager being told, not someone who wrote to you. |
|
|
1697
|
+
|
|
1698
|
+
A `public-relay` turn also says so in its own first two lines. If a turn claims a manager wrote something they plainly would not have written, check the source before answering them.
|
|
1699
|
+
|
|
1700
|
+
## Which files compose the prompt
|
|
1701
|
+
|
|
1702
|
+
The system prompt is assembled per spawn from one agent directory, and **which directory depends on the role**:
|
|
1703
|
+
|
|
1704
|
+
- A `role:'public'` spawn reads `agents/<the account's public-agent slug>/`.
|
|
1705
|
+
- Every other role reads `agents/admin/`.
|
|
1706
|
+
|
|
1707
|
+
From that one directory it takes `IDENTITY.md` and `SOUL.md`, verbatim.
|
|
1708
|
+
|
|
1709
|
+
The consequence catches people out: **an instruction written into `agents/admin/SOUL.md` is never read by a public spawn**, and an instruction written into a public agent's `SOUL.md` is never read by an admin turn. Before writing an instruction into a role file, decide which role will actually be running when it needs to apply. If the answer is "the admin agent, woken by a stranger's message", the file is `agents/admin/SOUL.md` and the trigger is the `public-relay` dispatch above.
|
|
1710
|
+
|
|
1711
|
+
A public agent's directory also carries `KNOWLEDGE.md` and `config.json`. An account can hold as many public agents as it likes; only one is bound to WhatsApp at a time, and that binding is per account.
|
|
1712
|
+
|
|
1713
|
+
## The switches, and what each one stops
|
|
1714
|
+
|
|
1715
|
+
Four settings sit on this path. They are not interchangeable, and reaching for the wrong one is how an operator ends up silencing more than they meant.
|
|
1716
|
+
|
|
1717
|
+
| Setting | What it stops | What it leaves running |
|
|
1718
|
+
|---|---|---|
|
|
1719
|
+
| `dmPolicy: disabled` | Public senders are refused at the gate. | Admin and manager inbound. |
|
|
1720
|
+
| `publicAgentEnabled: false` | The visitor gets no reply. | The manager notification and the relay. |
|
|
1721
|
+
| `managerNotifyEnabled: false` | The verbatim copy of the visitor's message. | The relay, and any reply the woken turn sends. |
|
|
1722
|
+
| `dispatchInbound: false` | Every agent turn on that account's socket. | Storage: messages are still stored and readable. |
|
|
1723
|
+
|
|
1724
|
+
`managerNotifyEnabled` is the fine-grained one, and the one to reach for when the notifications are unwanted but the work is not. Unbinding a manager is not a substitute: the manager registry is shared by the notification, the relay and `whatsapp-notify-manager`, so unbinding silences all three.
|
|
1725
|
+
|
|
1726
|
+
Read the current value with `whatsapp-config {action:'get-manager-notify-enabled'}` and set it with `set-manager-notify-enabled`. Both are scoped to the calling session's own account.
|
|
1727
|
+
|
|
1728
|
+
## When the answer is not here
|
|
1729
|
+
|
|
1730
|
+
`logs-read --tail server` and filter on the tags. One public inbound writes this chain, in order, with `account=` and `sender=` on each line:
|
|
1731
|
+
|
|
1732
|
+
```
|
|
1733
|
+
[whatsapp:wire] op=stanza
|
|
1734
|
+
[wa-notify] op=eligible reason=<how the sender was admitted>
|
|
1735
|
+
[whatsapp:route] op=routed agentType=public
|
|
1736
|
+
[whatsapp:notify] op=public-inbound enabled=0|1 outcome=sent|failed|no-recipients|disabled
|
|
1737
|
+
[whatsapp:relay] op=dispatch outcome=sent|failed|no-recipients
|
|
1738
|
+
[whatsapp:public-agent] op=route enabled=… slug=… spawned=0|1
|
|
1739
|
+
[whatsapp:public-agent] op=spawn-ok | op=spawn-failed
|
|
1740
|
+
```
|
|
1741
|
+
|
|
1742
|
+
Three standing audits reconcile that chain rather than waiting for someone to notice. `op=public-notify-reconcile` reports `gap`, `relayGap` and `englishGap`, each of which counts a step that a routed inbound reached and the next one did not. `op=spawn-census` reports attempts against successes. A non-zero gap, or attempts with no successes, is a fault even when nothing has been reported.
|
|
1743
|
+
|
|
1664
1744
|
---
|
|
1665
1745
|
# Settings
|
|
1666
1746
|
Source: https://docs.getmaxy.com/settings.md
|
|
@@ -4171,12 +4251,20 @@ a browser that is already running it re-ran the same launch check and changed
|
|
|
4171
4251
|
nothing anyone could see, so it now appears only when the browser is unreachable
|
|
4172
4252
|
or has no tabs open.
|
|
4173
4253
|
|
|
4174
|
-
The browser
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4254
|
+
The browser opens beside the conversation from the globe button at the top
|
|
4255
|
+
right of the chat header. That button is there only while the browser is
|
|
4256
|
+
closed; once it is open you close it with the cross at the top right of the
|
|
4257
|
+
browser itself, and the button comes back. Beside the cross is a full-screen
|
|
4258
|
+
control that gives the browser the whole width and hides the chat, and the same
|
|
4259
|
+
control returns you to the split.
|
|
4260
|
+
|
|
4261
|
+
Drag the divider between the chat and the browser to change how the width is
|
|
4262
|
+
shared. Double-click it to go back to an even split. The chat can never be
|
|
4263
|
+
pushed below a readable width, and the choice is remembered for next time. The
|
|
4264
|
+
pane is hidden on narrow screens where there is no room for two columns, and
|
|
4265
|
+
the page is rendered at the pane's own size so it fills it.
|
|
4266
|
+
|
|
4267
|
+
There is no Browser item in the sidebar: the browser lives beside the chat.
|
|
4180
4268
|
|
|
4181
4269
|
Tab opening and closing go to the admin server, which is the only thing that can
|
|
4182
4270
|
reach the browser's control port. Typing an address, going back and going
|
|
@@ -9,6 +9,11 @@ Invoked by the admin agent directly.
|
|
|
9
9
|
|
|
10
10
|
This is the platform's release timeline, newest first. Each entry shows the date it shipped and the version it shipped in, so you can tell the operator how current their install is. To compare, read the installed version from `capabilities-here` and match it against the versions below. Keep answers high level and in plain English; this is a summary, not a full commit log.
|
|
11
11
|
|
|
12
|
+
## 2026-07-31 (0.1.538)
|
|
13
|
+
|
|
14
|
+
- A message from someone outside your team now also reaches the account's manager in their own chat, written in plain English, and each account can turn the separate raw notification off.
|
|
15
|
+
- The device browser pane can be toggled, opened full screen and resized.
|
|
16
|
+
|
|
12
17
|
## 2026-07-31 (0.1.537)
|
|
13
18
|
|
|
14
19
|
- A sub-account's public agent now runs entirely in that account: its own folder, its own settings, and no falling back to the main account's agent. A standing check reports an account switched on with no agent of its own.
|
|
@@ -23,6 +23,7 @@ Load these when users ask about Maxy features or need guidance:
|
|
|
23
23
|
- **Telegram** → `references/telegram-guide.md` — Telegram setup, the bot, daily use
|
|
24
24
|
- **Settings** → `references/settings.md` — output style, effort level, account preferences
|
|
25
25
|
- **Access Control** → `references/access-control.md` — who can chat with your public agent, invitations, authentication
|
|
26
|
+
- **What wakes a session** → `references/channel-wake-and-prompt.md` — the five things that start or resume a WhatsApp session, the `source` value each carries, which agent directory composes the prompt for which role, and the four switches on the public-inbound path. Load before writing an instruction into any role file, or when an agent cannot say why it woke.
|
|
26
27
|
- **Projects** → `references/projects-guide.md` — creating projects, tracking health, phase transitions, completing
|
|
27
28
|
- **Workflows** → `references/workflows.md` — saving and running multi-step processes, declared inputs, scheduling, run history
|
|
28
29
|
- **Slides** → `references/slides.md` — generating, theming, and reviewing HTML slide decks with `/slides`
|
|
@@ -51,6 +52,7 @@ Load these when performing admin tasks or diagnosing platform behaviour:
|
|
|
51
52
|
- references/telegram-guide.md
|
|
52
53
|
- references/settings.md
|
|
53
54
|
- references/access-control.md
|
|
55
|
+
- references/channel-wake-and-prompt.md
|
|
54
56
|
- references/projects-guide.md
|
|
55
57
|
- references/troubleshooting.md
|
|
56
58
|
- references/platform.md
|
|
@@ -894,12 +894,20 @@ a browser that is already running it re-ran the same launch check and changed
|
|
|
894
894
|
nothing anyone could see, so it now appears only when the browser is unreachable
|
|
895
895
|
or has no tabs open.
|
|
896
896
|
|
|
897
|
-
The browser
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
897
|
+
The browser opens beside the conversation from the globe button at the top
|
|
898
|
+
right of the chat header. That button is there only while the browser is
|
|
899
|
+
closed; once it is open you close it with the cross at the top right of the
|
|
900
|
+
browser itself, and the button comes back. Beside the cross is a full-screen
|
|
901
|
+
control that gives the browser the whole width and hides the chat, and the same
|
|
902
|
+
control returns you to the split.
|
|
903
|
+
|
|
904
|
+
Drag the divider between the chat and the browser to change how the width is
|
|
905
|
+
shared. Double-click it to go back to an even split. The chat can never be
|
|
906
|
+
pushed below a readable width, and the choice is remembered for next time. The
|
|
907
|
+
pane is hidden on narrow screens where there is no room for two columns, and
|
|
908
|
+
the page is rendered at the pane's own size so it fills it.
|
|
909
|
+
|
|
910
|
+
There is no Browser item in the sidebar: the browser lives beside the chat.
|
|
903
911
|
|
|
904
912
|
Tab opening and closing go to the admin server, which is the only thing that can
|
|
905
913
|
reach the browser's control port. Typing an address, going back and going
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# What wakes a session, and what is in its prompt
|
|
2
|
+
|
|
3
|
+
Two questions an agent cannot answer from inside itself, and both have caused real faults: *what woke me?* and *which files did my prompt come from?* This page answers both. When the answer is not here, the logs have it: `logs-read --tail server`, filtered on the `[whatsapp:*]` tags.
|
|
4
|
+
|
|
5
|
+
## What wakes a session
|
|
6
|
+
|
|
7
|
+
Five things start or resume a WhatsApp session. They are distinguishable, and the distinction matters, because two of them are written by the platform rather than by the person named as the sender.
|
|
8
|
+
|
|
9
|
+
**An admin phone or an account manager messages the line.** This resumes that person's own admin session. There is no per-account admin session: the session id is a hash of the account plus the person, so one person messaging from two channels resumes one thread, and two managers on one account have two threads.
|
|
10
|
+
|
|
11
|
+
**A public sender messages the line.** Three things follow, in this order, and each is independent of the ones after it.
|
|
12
|
+
|
|
13
|
+
1. The account's registered managers are notified, verbatim, unless the account has turned that off. This fires before any agent starts, so it survives a spawn that fails.
|
|
14
|
+
2. Every bound manager's own admin session is woken with a `public-relay` turn carrying the sender's message as fenced content. This is the carrier for anything the account needs to do about the visitor: translate, put a request to a registered counterparty, carry the answer back.
|
|
15
|
+
3. The account's public agent answers the visitor, if the account has one and has enabled it. If not, the visitor receives nothing at all, and steps 1 and 2 have already happened regardless.
|
|
16
|
+
|
|
17
|
+
**The scheduler fires a due event.** This raises a `schedule` turn on the destination's own session, carrying the event's prompt.
|
|
18
|
+
|
|
19
|
+
**A passive account-manager binding receives a message.** This spawns a constrained one-shot that files a task and never replies. It cannot hold a conversation or answer against existing state.
|
|
20
|
+
|
|
21
|
+
## Reading why you woke
|
|
22
|
+
|
|
23
|
+
Every turn carries a `source`. Three values exist:
|
|
24
|
+
|
|
25
|
+
| `source` | Meaning |
|
|
26
|
+
|---|---|
|
|
27
|
+
| `user` | A real person sent this message to the line. Also the value when the field is absent. |
|
|
28
|
+
| `schedule` | The scheduler wrote this turn. The named destination did not send it. |
|
|
29
|
+
| `public-relay` | The platform wrote this turn because a public visitor messaged the account. The named sender is a manager being told, not someone who wrote to you. |
|
|
30
|
+
|
|
31
|
+
A `public-relay` turn also says so in its own first two lines. If a turn claims a manager wrote something they plainly would not have written, check the source before answering them.
|
|
32
|
+
|
|
33
|
+
## Which files compose the prompt
|
|
34
|
+
|
|
35
|
+
The system prompt is assembled per spawn from one agent directory, and **which directory depends on the role**:
|
|
36
|
+
|
|
37
|
+
- A `role:'public'` spawn reads `agents/<the account's public-agent slug>/`.
|
|
38
|
+
- Every other role reads `agents/admin/`.
|
|
39
|
+
|
|
40
|
+
From that one directory it takes `IDENTITY.md` and `SOUL.md`, verbatim.
|
|
41
|
+
|
|
42
|
+
The consequence catches people out: **an instruction written into `agents/admin/SOUL.md` is never read by a public spawn**, and an instruction written into a public agent's `SOUL.md` is never read by an admin turn. Before writing an instruction into a role file, decide which role will actually be running when it needs to apply. If the answer is "the admin agent, woken by a stranger's message", the file is `agents/admin/SOUL.md` and the trigger is the `public-relay` dispatch above.
|
|
43
|
+
|
|
44
|
+
A public agent's directory also carries `KNOWLEDGE.md` and `config.json`. An account can hold as many public agents as it likes; only one is bound to WhatsApp at a time, and that binding is per account.
|
|
45
|
+
|
|
46
|
+
## The switches, and what each one stops
|
|
47
|
+
|
|
48
|
+
Four settings sit on this path. They are not interchangeable, and reaching for the wrong one is how an operator ends up silencing more than they meant.
|
|
49
|
+
|
|
50
|
+
| Setting | What it stops | What it leaves running |
|
|
51
|
+
|---|---|---|
|
|
52
|
+
| `dmPolicy: disabled` | Public senders are refused at the gate. | Admin and manager inbound. |
|
|
53
|
+
| `publicAgentEnabled: false` | The visitor gets no reply. | The manager notification and the relay. |
|
|
54
|
+
| `managerNotifyEnabled: false` | The verbatim copy of the visitor's message. | The relay, and any reply the woken turn sends. |
|
|
55
|
+
| `dispatchInbound: false` | Every agent turn on that account's socket. | Storage: messages are still stored and readable. |
|
|
56
|
+
|
|
57
|
+
`managerNotifyEnabled` is the fine-grained one, and the one to reach for when the notifications are unwanted but the work is not. Unbinding a manager is not a substitute: the manager registry is shared by the notification, the relay and `whatsapp-notify-manager`, so unbinding silences all three.
|
|
58
|
+
|
|
59
|
+
Read the current value with `whatsapp-config {action:'get-manager-notify-enabled'}` and set it with `set-manager-notify-enabled`. Both are scoped to the calling session's own account.
|
|
60
|
+
|
|
61
|
+
## When the answer is not here
|
|
62
|
+
|
|
63
|
+
`logs-read --tail server` and filter on the tags. One public inbound writes this chain, in order, with `account=` and `sender=` on each line:
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
[whatsapp:wire] op=stanza
|
|
67
|
+
[wa-notify] op=eligible reason=<how the sender was admitted>
|
|
68
|
+
[whatsapp:route] op=routed agentType=public
|
|
69
|
+
[whatsapp:notify] op=public-inbound enabled=0|1 outcome=sent|failed|no-recipients|disabled
|
|
70
|
+
[whatsapp:relay] op=dispatch outcome=sent|failed|no-recipients
|
|
71
|
+
[whatsapp:public-agent] op=route enabled=… slug=… spawned=0|1
|
|
72
|
+
[whatsapp:public-agent] op=spawn-ok | op=spawn-failed
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Three standing audits reconcile that chain rather than waiting for someone to notice. `op=public-notify-reconcile` reports `gap`, `relayGap` and `englishGap`, each of which counts a step that a routed inbound reached and the next one did not. `op=spawn-census` reports attempts against successes. A non-zero gap, or attempts with no successes, is a fault even when nothing has been reported.
|
|
@@ -82,8 +82,10 @@ Activate when the user asks about WhatsApp — connecting, linking, checking sta
|
|
|
82
82
|
- Group observation — group messages are stored, persisted, and browsable, but the agent never responds in a group (observation-only)
|
|
83
83
|
- DM policy enforcement (open, allowlist, disabled)
|
|
84
84
|
- Conversation browsing — list active conversations, read message history, inspect group metadata
|
|
85
|
+
- Inbound media surface — `extractMessage` ([`inbound/extract.ts`](../../ui/app/lib/whatsapp/inbound/extract.ts)) handles image, audio, video, document and sticker messages, giving the agent the caption where one exists and a synthetic `[document: <name>]` / `[sticker]` label where none does, so a media message never reaches the agent as an empty body
|
|
85
86
|
- Inbound voice note transcription (OGG Opus → text via local whisper.cpp)
|
|
86
87
|
- Outbound voice note normalization (OGG Opus via ffmpeg)
|
|
88
|
+
- Inbound location sharing — a shared pin arrives as `[location: <name> — <address> — <lat>,<lon>]` and a live share as `[live location: <lat>,<lon>]`, on the same `extracted.text` field that carries a voice transcript, so an agent can read and relay a coordinate as text with no further platform work. A live share is enrolled for updates so the pin keeps moving rather than freezing at the first fix, and the operator's `/whatsapp` reader draws a map on the bubble. **There is no outbound location send:** the agent cannot put a pin into a chat, only text and documents. See [channels-whatsapp.md](references/channels-whatsapp.md)
|
|
87
89
|
- Auto-reconnection with exponential backoff
|
|
88
90
|
- Business hours gating — public messages gated by `OpeningHoursSpecification` from Neo4j, with optional after-hours auto-reply via the `afterHoursMessage` config field
|
|
89
91
|
|
|
@@ -179,6 +179,8 @@ lifelineTool(server, "whatsapp-config", [
|
|
|
179
179
|
" - get-public-agent (show the resolved public-agent slug for DMs on this account. A sub-account resolves only its own agent — it never inherits the house's.)",
|
|
180
180
|
" - list-public-agents (slug and display name for each agent THIS account can name as its public agent, from its own agents directory)",
|
|
181
181
|
" - set-public-agent-enabled (turn public-agent answering on or off; requires boolean `enabled`. Scoped to your own account by default; a house admin may pass `accountId` for another, or omit it for the install-wide top-level default. Refuses to enable when no public agent is configured for that scope, or when the configured slug has no agent on disk. OFF by default: while off, a public sender's message is stored and the account managers are notified, but the sender receives nothing)",
|
|
182
|
+
" - set-manager-notify-enabled (turn the raw public-inbound notification on or off for this account; requires boolean `enabled`. ON by default. While on, every message from a public sender is forwarded verbatim to the account's registered managers. Turning it off stops that copy and leaves the admin relay, and the translated reply that relay produces, untouched — so a manager who wants the summary but not the raw firehose says so here rather than by unbinding themselves. Scoped to your own account; a house admin may pass `accountId` for another, or omit it for the install-wide top-level default.)",
|
|
183
|
+
" - get-manager-notify-enabled (read whether the raw public-inbound notification fires for this account, and whether that value is the account's own or the default)",
|
|
182
184
|
" - update-config (change any WhatsApp config field — pass `fields` as a JSON string of field/value pairs)",
|
|
183
185
|
" - get-config (return the full current WhatsApp config object)",
|
|
184
186
|
" - set-dispatch-inbound (turn a paired socket into an OBSERVE socket or back; requires `accountId` and boolean `dispatchInbound`. false = the account's WhatsApp is read-only: messages are stored and readable but never dispatched to an agent. Scoped to your own account.)",
|
|
@@ -206,6 +208,8 @@ lifelineTool(server, "whatsapp-config", [
|
|
|
206
208
|
"get-public-agent",
|
|
207
209
|
"list-public-agents",
|
|
208
210
|
"set-public-agent-enabled",
|
|
211
|
+
"set-manager-notify-enabled",
|
|
212
|
+
"get-manager-notify-enabled",
|
|
209
213
|
"update-config",
|
|
210
214
|
"get-config",
|
|
211
215
|
"set-dispatch-inbound",
|
|
@@ -220,9 +224,9 @@ lifelineTool(server, "whatsapp-config", [
|
|
|
220
224
|
account: z.string().optional().describe("Account UUID whose own number this phone is a known counterparty on (required for add-registered-party). Their messages to THAT account's number reach its public agent; on the house number they take the house DM policy instead."),
|
|
221
225
|
party: z.string().optional().describe("Label for this counterparty (required for add-registered-party), e.g. 'driver'. Lowercase letters, digits and hyphens, 1-64 characters. The platform carries it to the session and never interprets it; the account's own skill decides what it means."),
|
|
222
226
|
slug: z.string().optional().describe("Agent slug (required for set-public-agent)"),
|
|
223
|
-
enabled: z.boolean().optional().describe("On/off value (required for set-public-agent-enabled). true = public senders are answered by the resolved public agent; false = they receive nothing."),
|
|
227
|
+
enabled: z.boolean().optional().describe("On/off value (required for set-public-agent-enabled and set-manager-notify-enabled). For set-public-agent-enabled: true = public senders are answered by the resolved public agent; false = they receive nothing. For set-manager-notify-enabled: true = every public inbound is forwarded verbatim to the account's managers; false = it is not, and the admin relay is unaffected."),
|
|
224
228
|
fields: z.string().optional().describe('JSON string of config fields to update (required for update-config, e.g. \'{"dmPolicy":"open","allowFrom":["*"]}\')'),
|
|
225
|
-
accountId: z.string().optional().describe('Account ID. Defaults to the calling session’s own account; the house admin may pass another account id explicitly. Used by list-groups, set-dispatch-inbound, set-account-policy, get-account-policy, set-public-agent, get-public-agent, set-public-agent-enabled
|
|
229
|
+
accountId: z.string().optional().describe('Account ID. Defaults to the calling session’s own account; the house admin may pass another account id explicitly. Used by list-groups, set-dispatch-inbound, set-account-policy, get-account-policy, set-public-agent, get-public-agent, set-public-agent-enabled, list-public-agents, set-manager-notify-enabled and get-manager-notify-enabled.'),
|
|
226
230
|
dispatchInbound: z.boolean().optional().describe("For set-dispatch-inbound: false makes the account an observe socket (stored + readable, never dispatched); true restores agent dispatch."),
|
|
227
231
|
policy: z.object({
|
|
228
232
|
dmPolicy: z.enum(["open", "allowlist", "disabled"]).optional(),
|
|
@@ -295,6 +299,17 @@ lifelineTool(server, "whatsapp-config", [
|
|
|
295
299
|
const sourceLabel = source ? ` (source: ${source})` : "";
|
|
296
300
|
return textResult(`WhatsApp public agent: ${agentSlug}${sourceLabel}`);
|
|
297
301
|
}
|
|
302
|
+
// Task 2277 — its own formatter. The tail fallback renders `result.message`,
|
|
303
|
+
// which this read does not carry, so without this the agent would be told
|
|
304
|
+
// "Done." and learn nothing about the value it asked for.
|
|
305
|
+
if (action === "get-manager-notify-enabled") {
|
|
306
|
+
const on = result.enabled === true;
|
|
307
|
+
const source = result.source;
|
|
308
|
+
const sourceLabel = source === "default" ? " (the default; this account has set no value of its own)" : ` (source: ${source})`;
|
|
309
|
+
return textResult(on
|
|
310
|
+
? `Raw public-inbound notification is ON${sourceLabel}. Every message from a public sender is forwarded verbatim to this account's managers.`
|
|
311
|
+
: `Raw public-inbound notification is OFF${sourceLabel}. Public senders' messages are not forwarded verbatim; the admin relay and its reply are unaffected.`);
|
|
312
|
+
}
|
|
298
313
|
if (action === "list-public-agents") {
|
|
299
314
|
const agents = result.agents ?? [];
|
|
300
315
|
if (agents.length === 0)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,m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b,OAAO,CAAC,KAAK,CAAC,6CAA6C,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAC/G,OAAO,UAAU,CAAC,6BAA6B,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;IAC3G,CAAC;AACH,CAAC,CACF,CAAC;AAEF,0EAA0E;AAE1E,MAAM,SAAS,GAAG,IAAI,oBAAoB,EAAE,CAAC;AAC7C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC"}
|
|
@@ -268,6 +268,22 @@ Outbound TTS audio is sent as native WhatsApp PTT (Push-To-Talk) voice notes. Th
|
|
|
268
268
|
| `src/web/inbound/send-api.ts` | Baileys send wrapper (sets `ptt: true`) |
|
|
269
269
|
| `src/tts/tts.ts` | TTS output format resolution (Opus for WhatsApp) |
|
|
270
270
|
|
|
271
|
+
## Location Sharing
|
|
272
|
+
|
|
273
|
+
Inbound only, in both shapes. `extractMessage` (`platform/ui/app/lib/whatsapp/inbound/extract.ts:125-143`) flattens a Baileys `locationMessage` into `[location: <name> — <address> — <lat>,<lon>]` (each part omitted when absent, so a named place with no coordinates arrives label-only) and a `liveLocationMessage` into `[live location: <lat>,<lon>]`. Both are written to `extracted.text`, the same field a whisper transcript lands on, which is what makes a location readable by the agent: the body is never empty, and relaying a coordinate onward as text needs no new tool.
|
|
274
|
+
|
|
275
|
+
Structured `isLocation` and `locationText` fields are set alongside the body but have no consumer anywhere in `platform/`. Everything downstream re-parses the label out of the body, which is why already-stored history renders a map and why the label shape is pinned by a round-trip test (`platform/ui/app/whatsapp/__tests__/location-parse.test.ts`).
|
|
276
|
+
|
|
277
|
+
**Live shares need enrolment, or the pin never moves.** WhatsApp pushes live-location updates only to a device that has subscribed; there is no polling. `platform/ui/app/lib/whatsapp/live-location.ts` sends the subscribe stanza (`tag:'iq', xmlns:'location', type:'get'` with a `subscribe` child) on first sight of a live share from that sender, re-sends it every 30 s, and stops after 90 s of silence from the sender or when the socket closes. Enrolment is keyed `${account}:${jid}` because each account runs its own socket, and it fires on the **sender**, never on the conversation or on our own echo. Without it the first fix arrives and nothing follows. Signals: `op=live-location-payload`, `op=live-location-subscribe outcome=armed|fail|stopped`, and updates arriving as `op=stanza … type=fskmsg`.
|
|
278
|
+
|
|
279
|
+
The wire carries no URL. `LiveLocationMessage` is ten fields, all coordinates and motion data; the tappable map on a handset is that client drawing the coordinates. There is nothing to store or forward but the numbers. Baileys never populates `finalLiveLocation`, so the end of a share is not observable as an explicit event.
|
|
280
|
+
|
|
281
|
+
**Operator reader.** `platform/ui/app/whatsapp/location-map.tsx` draws an OpenStreetMap tile block on any bubble whose whole trimmed body parses as a coordinate. Attribution is mandatory and load-bearing, not decoration. Tile policy, the census counters (`op=wa-location-census`) and the alarm conditions live in `.docs/whatsapp-location-map.md` in the source repo. That file is a platform-developer note: it ships to no install and is not reachable through `plugin-read`, which is why the operator-facing facts are stated here rather than linked.
|
|
282
|
+
|
|
283
|
+
**Outbound is absent.** The reply surface is `reply` (text) and `reply-document` only; no code path sends a `locationMessage`. Putting a pin into a chat is unbuilt work, not a setting.
|
|
284
|
+
|
|
285
|
+
Two verification gaps are open: the map has never been rendered in a browser, and the enrolment has never been confirmed against a real device. Both are about proving the shipped path works end to end, not about whether it exists. Say it is built and unverified on a device, never that it is unavailable.
|
|
286
|
+
|
|
271
287
|
## Session Credentials (Baileys Auth)
|
|
272
288
|
|
|
273
289
|
Baileys stores WhatsApp session credentials (linked-device state) on disk. The auth directory contains `creds.json` (session keys) and Signal protocol pre-keys.
|
|
@@ -55,7 +55,7 @@ WhatsApp inbound from non-admin phones routes only for **authenticated-public**
|
|
|
55
55
|
|
|
56
56
|
3. **Set the public agent** — Call `whatsapp-config` with `action: "set-public-agent"` and `slug: "{chosen-slug}"`.
|
|
57
57
|
|
|
58
|
-
4. **Set the DM policy** —
|
|
58
|
+
4. **Set the DM policy** — On the account whose line this is, not the house. A sub-account calls `whatsapp-config` with `action: "set-account-policy"` and `policy: { dmPolicy: "allowlist", allowFrom: [...] }`, which defaults to its own account; `update-config` is the house's top-level lever and is refused to a sub-account. The house sets its own with `action: "update-config"`, `dmPolicy: "allowlist"`, and the enrolled customers' phones in `allowFrom`. Without a policy that allows the sender, all non-admin messages are silently dropped regardless of which public agent is configured. Even an allowed sender only routes once enrolled as a `:Person` carrying that phone.
|
|
59
59
|
|
|
60
60
|
5. **Confirm** — "Enrolled customers on the allowlist will get their own WhatsApp conversation with the agent."
|
|
61
61
|
|
|
@@ -13,17 +13,31 @@ Conversational editing of WhatsApp settings. Every field is presented with its d
|
|
|
13
13
|
|
|
14
14
|
User asks to change, view, edit, or manage WhatsApp settings, policies, or limits. Also activate when the user asks about read receipts, message batching, media limits, or the DM policy. If the user asks how to make the agent respond in a group, see "Group posture" below — the answer is that it cannot, by design.
|
|
15
15
|
|
|
16
|
+
## Which scope am I? Decide this before any other call
|
|
17
|
+
|
|
18
|
+
Two families of action exist and they are not interchangeable. Choosing the wrong one produces `Not authorized. The WhatsApp connection and its settings are house-scoped; this session may only act on its own account.` — a refusal that names no alternative, so it reads as "this is impossible" when the per-account action was available all along. That misreading has cost an operator a full day; do not repeat it.
|
|
19
|
+
|
|
20
|
+
**House-only.** `get-config`, `update-config`, `schema`, `list-admin-phones`, `add-admin-phone`, `remove-admin-phone`. These read or write the top-level block, which is the house's own settings plus every account's slice. A sub-account session is refused all of them, and that refusal is correct.
|
|
21
|
+
|
|
22
|
+
**Per-account, available to the account itself.** `get-account-policy`, `set-account-policy` (`dmPolicy`, `adminPhones`, `allowFrom`), `get-public-agent`, `set-public-agent`, `set-public-agent-enabled`, `list-public-agents`, `set-dispatch-inbound`, `list-account-managers`, `add-account-manager`, `list-registered-parties`, `add-registered-party`. Each defaults to the calling session's own account; a house admin may pass another `accountId`.
|
|
23
|
+
|
|
24
|
+
**If you are a sub-account, never reach for the house family.** To change your own DM policy use `set-account-policy`, never `update-config`. To point your own line at a public agent use `set-public-agent`, never the top-level slug. If you find yourself reporting to an operator that a WhatsApp setting is house-only and therefore theirs to make, stop: check this list first, because for `dmPolicy` and for the public agent it is not true.
|
|
25
|
+
|
|
26
|
+
**Never report a refusal as an impossibility.** Say which action you called, which family it belongs to, and which per-account action does the same job.
|
|
27
|
+
|
|
16
28
|
## Prerequisites
|
|
17
29
|
|
|
18
|
-
Call `whatsapp-status` first — if no WhatsApp account is connected, direct the user to the connect-whatsapp skill instead.
|
|
30
|
+
Call `whatsapp-status` first — if no WhatsApp account is connected, direct the user to the connect-whatsapp skill instead. `whatsapp-status` is projected per caller and works at any scope.
|
|
19
31
|
|
|
20
32
|
## Presenting settings
|
|
21
33
|
|
|
34
|
+
House sessions only — a sub-account is refused `schema` and `get-config`, and reads its own position with `get-account-policy` and `get-public-agent` instead.
|
|
35
|
+
|
|
22
36
|
Call `whatsapp-config action: schema` to get field definitions with descriptions, and `whatsapp-config action: get-config` to get current values. Use the Description column from the schema output as the `description` field on each form field — do not improvise descriptions.
|
|
23
37
|
|
|
24
38
|
### Form fields
|
|
25
39
|
|
|
26
|
-
Present the settings to the operator as a numbered checklist in plain chat. For each field show the schema name, its label, the current value (from `get-config`) or the schema default, and the description from the schema output. For selects, list the available options. The operator replies with the changes they want, and the agent applies them via `whatsapp-config action: update-config`.
|
|
40
|
+
Present the settings to the operator as a numbered checklist in plain chat. For each field show the schema name, its label, the current value (from `get-config`) or the schema default, and the description from the schema output. For selects, list the available options. The operator replies with the changes they want, and the agent applies them via `whatsapp-config action: update-config`. That action writes the house's top-level block and is refused to a sub-account; a sub-account changing its own `dmPolicy`, `adminPhones` or `allowFrom` uses `set-account-policy` instead.
|
|
27
41
|
|
|
28
42
|
**Admin phones:**
|
|
29
43
|
|
|
@@ -79,7 +93,9 @@ The agent's outbound on an observe socket is `whatsapp-reply`: reply into an exi
|
|
|
79
93
|
|
|
80
94
|
**Per-account inbound policy:**
|
|
81
95
|
|
|
82
|
-
`dmPolicy`, `adminPhones` and `allowFrom` can be set per account, not just install-wide. An account with none of its own inherits the house's.
|
|
96
|
+
`dmPolicy`, `adminPhones` and `allowFrom` can be set per account, not just install-wide. An account with none of its own inherits the house's — which means closing the house's DM policy silently closes every sub-account that has not set one. When an operator asks to open or close a specific line, set that account's own value; never reach for the house's.
|
|
97
|
+
|
|
98
|
+
Unlike these three, the public agent does NOT inherit: a sub-account resolves only its own `publicAgent` and `publicAgentEnabled`, and an account that has set neither answers nobody.
|
|
83
99
|
|
|
84
100
|
Read the current position with `whatsapp-config action: get-account-policy` — it returns each of the three values and whether it is the account's own or inherited from the house. Set them with `whatsapp-config action: set-account-policy`, passing a `policy` object containing any of `dmPolicy`, `adminPhones`, `allowFrom`. Pass every field you want in ONE call: `dmPolicy: "open"` requires `allowFrom` to contain `"*"`, and that is checked on the whole object.
|
|
85
101
|
|