@rubytech/create-maxy-code 0.1.538 → 0.1.539
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 +28 -2
- package/payload/platform/plugins/admin/skills/whats-new/SKILL.md +7 -0
- package/payload/platform/plugins/docs/references/admin-ui.md +26 -0
- package/payload/platform/plugins/docs/references/channel-wake-and-prompt.md +1 -1
- package/payload/platform/plugins/scheduling/PLUGIN.md +1 -1
- package/payload/platform/plugins/scheduling/mcp/dist/tools/__tests__/schedule-get-description.test.d.ts +2 -0
- package/payload/platform/plugins/scheduling/mcp/dist/tools/__tests__/schedule-get-description.test.d.ts.map +1 -0
- package/payload/platform/plugins/scheduling/mcp/dist/tools/__tests__/schedule-get-description.test.js +59 -0
- package/payload/platform/plugins/scheduling/mcp/dist/tools/__tests__/schedule-get-description.test.js.map +1 -0
- package/payload/platform/plugins/scheduling/mcp/dist/tools/schedule-get.d.ts.map +1 -1
- package/payload/platform/plugins/scheduling/mcp/dist/tools/schedule-get.js +6 -0
- package/payload/platform/plugins/scheduling/mcp/dist/tools/schedule-get.js.map +1 -1
- package/payload/platform/plugins/scheduling/mcp/dist/tools/schedule-update.d.ts.map +1 -1
- package/payload/platform/plugins/scheduling/mcp/dist/tools/schedule-update.js +10 -6
- package/payload/platform/plugins/scheduling/mcp/dist/tools/schedule-update.js.map +1 -1
- package/payload/platform/plugins/whatsapp/skills/manage-whatsapp-config/SKILL.md +11 -7
- package/payload/platform/services/webchat-channel/dist/notification.d.ts +31 -0
- package/payload/platform/services/webchat-channel/dist/notification.d.ts.map +1 -1
- package/payload/platform/services/webchat-channel/dist/notification.js +31 -1
- package/payload/platform/services/webchat-channel/dist/notification.js.map +1 -1
- package/payload/platform/services/webchat-channel/dist/server.d.ts.map +1 -1
- package/payload/platform/services/webchat-channel/dist/server.js +15 -1
- package/payload/platform/services/webchat-channel/dist/server.js.map +1 -1
- package/payload/server/{chunk-FQO5RDWZ.js → chunk-S4FIEM3L.js} +60 -10
- package/payload/server/{manager-EBZQRV5V.js → manager-5QV2EAZ2.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-CfXQwKIY.js → AdminLoginScreens-BpHnjHp_.js} +1 -1
- package/payload/server/public/assets/AdminLoginScreens-BpHnjHp_.js.br +0 -0
- package/payload/server/public/assets/AdminLoginScreens-BpHnjHp_.js.gz +0 -0
- package/payload/server/public/assets/AdminShell-D24evn4t.js +2 -0
- package/payload/server/public/assets/AdminShell-D24evn4t.js.br +0 -0
- package/payload/server/public/assets/AdminShell-D24evn4t.js.gz +0 -0
- package/payload/server/public/assets/{activity-h8-sjHz9.js → activity-ZVUTB5uZ.js} +1 -1
- package/payload/server/public/assets/activity-ZVUTB5uZ.js.br +0 -0
- package/payload/server/public/assets/activity-ZVUTB5uZ.js.gz +0 -0
- package/payload/server/public/assets/{admin-BzhhLC7C.js → admin-XJqQz3QJ.js} +1 -1
- package/payload/server/public/assets/admin-XJqQz3QJ.js.br +0 -0
- package/payload/server/public/assets/admin-XJqQz3QJ.js.gz +0 -0
- package/payload/server/public/assets/{agents-DLuhIIgn.js → agents-Dc9SNC9N.js} +1 -1
- package/payload/server/public/assets/agents-Dc9SNC9N.js.br +0 -0
- package/payload/server/public/assets/agents-Dc9SNC9N.js.gz +0 -0
- package/payload/server/public/assets/{browser-FAnTY27n.js → browser-CCedMIga.js} +1 -1
- package/payload/server/public/assets/browser-CCedMIga.js.br +0 -0
- package/payload/server/public/assets/browser-CCedMIga.js.gz +0 -0
- package/payload/server/public/assets/calendar-BDoMLP2j.js +1 -0
- package/payload/server/public/assets/calendar-BDoMLP2j.js.br +0 -0
- package/payload/server/public/assets/calendar-BDoMLP2j.js.gz +0 -0
- package/payload/server/public/assets/chat-BAhoqTY9.js +1 -0
- package/payload/server/public/assets/chat-BAhoqTY9.js.br +0 -0
- package/payload/server/public/assets/chat-BAhoqTY9.js.gz +0 -0
- package/payload/server/public/assets/chevron-left-NGLHgPjF.js +1 -0
- package/payload/server/public/assets/chevron-right-B4B7OkG8.js +1 -0
- package/payload/server/public/assets/chevron-right-B4B7OkG8.js.br +0 -0
- package/payload/server/public/assets/clock-7IMwxJdH.js +1 -0
- package/payload/server/public/assets/clock-7IMwxJdH.js.br +0 -0
- package/payload/server/public/assets/clock-7IMwxJdH.js.gz +0 -0
- package/payload/server/public/assets/{copy-Rde_TL9Q.js → copy-PkR4EFD6.js} +1 -1
- package/payload/server/public/assets/copy-PkR4EFD6.js.br +0 -0
- package/payload/server/public/assets/copy-PkR4EFD6.js.gz +0 -0
- package/payload/server/public/assets/data-yQYhw2IR.js +1 -0
- package/payload/server/public/assets/data-yQYhw2IR.js.br +1 -0
- package/payload/server/public/assets/data-yQYhw2IR.js.gz +0 -0
- package/payload/server/public/assets/{file-text-DMCUVg80.js → file-text-BA9p7TLU.js} +1 -1
- package/payload/server/public/assets/file-text-BA9p7TLU.js.br +0 -0
- package/payload/server/public/assets/file-text-BA9p7TLU.js.gz +0 -0
- package/payload/server/public/assets/{graph-Bo-WcsKS.js → graph-C8cQ6Nqf.js} +1 -1
- package/payload/server/public/assets/graph-C8cQ6Nqf.js.br +0 -0
- package/payload/server/public/assets/graph-C8cQ6Nqf.js.gz +0 -0
- package/payload/server/public/assets/{graph-labels-g-JodMWQ.js → graph-labels-CiK412vE.js} +1 -1
- package/payload/server/public/assets/graph-labels-CiK412vE.js.br +0 -0
- package/payload/server/public/assets/graph-labels-CiK412vE.js.gz +0 -0
- package/payload/server/public/assets/{operator-X_LcOnAI.js → operator-CaQAEUBu.js} +1 -1
- package/payload/server/public/assets/operator-CaQAEUBu.js.br +0 -0
- package/payload/server/public/assets/operator-CaQAEUBu.js.gz +0 -0
- package/payload/server/public/assets/page-CpJpyoPS.js +32 -0
- package/payload/server/public/assets/page-CpJpyoPS.js.br +0 -0
- package/payload/server/public/assets/page-CpJpyoPS.js.gz +0 -0
- package/payload/server/public/assets/page-D0ShNyGE.js +1 -0
- package/payload/server/public/assets/page-D0ShNyGE.js.br +0 -0
- package/payload/server/public/assets/page-D0ShNyGE.js.gz +0 -0
- package/payload/server/public/assets/{play-CraN5kUU.js → play-huZpq9ra.js} +1 -1
- package/payload/server/public/assets/play-huZpq9ra.js.br +0 -0
- package/payload/server/public/assets/play-huZpq9ra.js.gz +0 -0
- package/payload/server/public/assets/{public--NUjaJ-q.js → public--8RWWGjF.js} +1 -1
- package/payload/server/public/assets/public--8RWWGjF.js.br +0 -0
- package/payload/server/public/assets/public--8RWWGjF.js.gz +0 -0
- package/payload/server/public/assets/{rotate-ccw-DshFgg2T.js → rotate-ccw-g7l4ZSR3.js} +1 -1
- package/payload/server/public/assets/rotate-ccw-g7l4ZSR3.js.br +0 -0
- package/payload/server/public/assets/rotate-ccw-g7l4ZSR3.js.gz +0 -0
- package/payload/server/public/assets/{routines-CfAS4gri.js → routines-DzFcPNMb.js} +1 -1
- package/payload/server/public/assets/routines-DzFcPNMb.js.br +0 -0
- package/payload/server/public/assets/routines-DzFcPNMb.js.gz +0 -0
- package/payload/server/public/assets/{skills-CM6ryWpx.js → skills-5vl_Bt9U.js} +1 -1
- package/payload/server/public/assets/skills-5vl_Bt9U.js.br +0 -0
- package/payload/server/public/assets/skills-5vl_Bt9U.js.gz +0 -0
- package/payload/server/public/assets/{tasks-B07m9LIA.js → tasks-DQHtJ8Pq.js} +1 -1
- package/payload/server/public/assets/tasks-DQHtJ8Pq.js.br +0 -0
- package/payload/server/public/assets/tasks-DQHtJ8Pq.js.gz +0 -0
- package/payload/server/public/assets/{triangle-alert-CKHyS_gC.js → triangle-alert-Cy4Z0uFv.js} +1 -1
- package/payload/server/public/assets/triangle-alert-Cy4Z0uFv.js.br +0 -0
- package/payload/server/public/assets/triangle-alert-Cy4Z0uFv.js.gz +0 -0
- package/payload/server/public/assets/{useCopyFeedback-CmawEsVi.js → useCopyFeedback-BwK1RhmF.js} +1 -1
- package/payload/server/public/assets/useCopyFeedback-BwK1RhmF.js.br +0 -0
- package/payload/server/public/assets/useCopyFeedback-BwK1RhmF.js.gz +0 -0
- package/payload/server/public/assets/{useSubAccountSwitcher-yN4lhH2x.css → useSubAccountSwitcher-DCkivCBS.css} +1 -1
- package/payload/server/public/assets/useSubAccountSwitcher-DCkivCBS.css.br +0 -0
- package/payload/server/public/assets/{useSubAccountSwitcher-yN4lhH2x.css.gz → useSubAccountSwitcher-DCkivCBS.css.gz} +0 -0
- package/payload/server/public/assets/{useVoiceRecorder-DpQTvvqD.js → useVoiceRecorder-DgyAGgmF.js} +1 -1
- package/payload/server/public/assets/useVoiceRecorder-DgyAGgmF.js.br +0 -0
- package/payload/server/public/assets/useVoiceRecorder-DgyAGgmF.js.gz +0 -0
- package/payload/server/public/assets/{wrench-BPOEUNJB.js → wrench-CICORrSc.js} +1 -1
- package/payload/server/public/assets/wrench-CICORrSc.js.br +0 -0
- package/payload/server/public/assets/wrench-CICORrSc.js.gz +0 -0
- package/payload/server/public/browser.html +4 -4
- package/payload/server/public/calendar.html +8 -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 +149 -46
- 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 +0 -2
- 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-h8-sjHz9.js.br +0 -0
- package/payload/server/public/assets/activity-h8-sjHz9.js.gz +0 -0
- 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-DLuhIIgn.js.br +0 -0
- package/payload/server/public/assets/agents-DLuhIIgn.js.gz +0 -0
- 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-C_PkqlkQ.js +0 -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 +0 -1
- 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 +0 -1
- package/payload/server/public/assets/chevron-left-zV-WRzHb.js.br +0 -0
- package/payload/server/public/assets/chevron-right-fnINU4bx.js +0 -1
- package/payload/server/public/assets/chevron-right-fnINU4bx.js.br +0 -0
- package/payload/server/public/assets/clock-2fSxBl6d.js +0 -1
- package/payload/server/public/assets/clock-2fSxBl6d.js.br +0 -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 +0 -1
- 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-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.br +0 -0
- package/payload/server/public/assets/graph-Bo-WcsKS.js.gz +0 -0
- 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.br +0 -0
- package/payload/server/public/assets/operator-X_LcOnAI.js.gz +0 -0
- package/payload/server/public/assets/page-Cz0p1mBf.js +0 -1
- 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 +0 -32
- 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-CraN5kUU.js.br +0 -0
- package/payload/server/public/assets/play-CraN5kUU.js.gz +0 -0
- 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-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.br +0 -0
- package/payload/server/public/assets/routines-CfAS4gri.js.gz +0 -0
- 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-B07m9LIA.js.br +0 -0
- package/payload/server/public/assets/tasks-B07m9LIA.js.gz +0 -0
- 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-CmawEsVi.js.br +0 -0
- package/payload/server/public/assets/useCopyFeedback-CmawEsVi.js.gz +0 -0
- package/payload/server/public/assets/useSubAccountSwitcher-yN4lhH2x.css.br +0 -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-BPOEUNJB.js.br +0 -0
- package/payload/server/public/assets/wrench-BPOEUNJB.js.gz +0 -0
- /package/payload/server/public/assets/{useSubAccountSwitcher-CVHqKsqK.js → useSubAccountSwitcher-C7TtIbR3.js} +0 -0
- /package/payload/server/public/assets/{useSubAccountSwitcher-CVHqKsqK.js.br → useSubAccountSwitcher-C7TtIbR3.js.br} +0 -0
- /package/payload/server/public/assets/{useSubAccountSwitcher-CVHqKsqK.js.gz → useSubAccountSwitcher-C7TtIbR3.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:e737732428725be0a3852ca8ba4cd1f9dd5f62bdcd6f7c0a85b82f4ac1c9bccc
|
|
5
5
|
brand: maxy-code
|
|
6
6
|
product-name: Maxy
|
|
7
7
|
---
|
|
@@ -1739,7 +1739,7 @@ Read the current value with `whatsapp-config {action:'get-manager-notify-enabled
|
|
|
1739
1739
|
[whatsapp:public-agent] op=spawn-ok | op=spawn-failed
|
|
1740
1740
|
```
|
|
1741
1741
|
|
|
1742
|
-
Three standing audits reconcile that chain rather than waiting for someone to notice. `op=public-notify-reconcile` reports `gap`, `relayGap` and `
|
|
1742
|
+
Three standing audits reconcile that chain rather than waiting for someone to notice. `op=public-notify-reconcile` reports `gap`, `relayGap` and `answerGap`, 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
1743
|
|
|
1744
1744
|
---
|
|
1745
1745
|
# Settings
|
|
@@ -3426,6 +3426,8 @@ either is a regression.
|
|
|
3426
3426
|
|
|
3427
3427
|
**`/chat` empty-state starter chips.** While the admin webchat has no conversation JSONL yet (`GET /api/webchat/session` → `projectDir:null`), `app/chat/page.tsx` renders a "What's up next, {givenName}?" greeting (given name = first whitespace token of the admin session's `userName`; degrades to "What's up next?" without one) above three one-tap starter chips (replacing the earlier read-only lists): **Catch me up** (`Inbox`), **My day** (`CalendarClock`), **To-do** (`ListTodo`). `GreetingPanel` no longer fetches `GET /api/webchat/greeting` — the headline reads from the `userName` prop alone. A tap dispatches the chip's verbatim prompt through the existing `send()` with zero typing, via the same arm/fire path as the `?q=` handoff seed: `dispatchChip` logs `[admin-ui] op=chip-tap id=<catch-up|my-day|to-do> chars=<n>`, sets the composer text, and arms a one-shot effect that fires `send()` once the text matches. Chips gate to `variant` admin/operator; the public surface shows the headline alone. The first journaled turn replaces the panel with the transcript. The `/api/webchat/greeting` route (`server/routes/webchat-greeting.ts`) and `specialist-roster.ts` are now unconsumed by this surface — slimming them is a separate follow-up. The full webchat architecture lives in `.docs/admin-webchat-native-channel.md`.
|
|
3428
3428
|
|
|
3429
|
+
**`/chat` reply to a specific message.** Each of your own messages and each of the assistant's replies carries a reply control beside its copy button. Clicking it puts a strip above the composer naming who you are replying to and quoting the message; the X on that strip cancels. Sending delivers the quote to the agent as the first line of its context, so "redo that one" resolves to the message you pointed at, and the sent message keeps the quote visible above it when you reload. Two limits are deliberate: a message that arrived while the assistant was mid-turn cannot be quoted (the transcript records that arrival without an id to target), and tool runs, thinking runs and error banners are not reply targets. The quoted text is capped at 500 characters and is read from the conversation's own transcript server-side, never from the browser. The public visitor surface has no reply control. The full path is in `.docs/admin-webchat-native-channel.md`.
|
|
3430
|
+
|
|
3429
3431
|
**`/chat` composer transport button.** The button at the end of the input shows a **microphone** while the box is empty — tap it to record a voice note. Type a character, or attach a file, and the same button becomes the **send** arrow; while the agent is replying it becomes a **stop** square. So an empty composer offers voice, a composer with something to send offers send, and a running turn offers stop — one button, three states. The microphone-device chooser (which input to record from) stays in the row of icons below the box. This is the same on the admin `/chat`, the public chat, and the maxy-lite webchat.
|
|
3430
3432
|
|
|
3431
3433
|
**`/chat` Conversations flyout + zero-sessions splash.** The admin `/chat` `HeaderMenu` carries a **Conversations** item (rendered only when `onOpenConversations` is wired, which scopes it to `/chat`) that opens an in-chat session-management pane (`app/chat/SessionList.tsx`) hosted by `chat/page.tsx` — distinct from, and sharing endpoints with, the `Sidebar` Sessions list (which stays hidden on narrow viewports). It enumerates the admin's own webchat sessions via `GET /api/admin/sidebar-sessions` (carries the per-row `live` marker and `archived` flag, install-wide), **filtering out `channel:'whatsapp'`/`'telegram'` rows** (those are channel-bound, cannot be chatted in webchat, and live in the WhatsApp/Telegram reader panels; the same endpoint now also feeds the sidebar Sessions list, which does show them), lists the remainder newest-first with the live one marked and archived rows folded under a collapsible subsection, and offers per-row resume (`/chat?session=<id>`), rename, archive/unarchive, two-tap delete, an **End** control on the live row (`session-stop`), plus a New-session control (`session-rc-spawn`) and a copyable full id. The pane header carries the title and a top-right close (X) control that dismisses the flyout (no back-chevron/"Chat" label); the New-session control floats at the pane's bottom-left. When the canonical pointer is `known:false` (`canonical-empty`) and enumeration returns zero rows, the surface renders a splash (brand logo + New session) instead of a dead bootstrap thread; a freshly-spawned New session is `known:true`, so its greeting is preserved. Client breadcrumbs: `[chat-conversations] op=enumerate owned=<n>` and `op=action name=<open|rename|archive|delete|stop> sessionId=<id8>` (`op=action-failed … status=…` on a non-2xx). Detail lives in `.docs/admin-webchat-native-channel.md` ("Conversations flyout + zero-sessions splash").
|
|
@@ -4340,6 +4342,30 @@ The companion `/api/admin/version` and `/api/admin/actions` routes are
|
|
|
4340
4342
|
served by `maxy-edge.service`, not this aggregator. The edge process
|
|
4341
4343
|
keeps the upgrade view alive while the brand service restarts.
|
|
4342
4344
|
|
|
4345
|
+
### Phone-width layout overflow
|
|
4346
|
+
|
|
4347
|
+
If any part of an admin screen is cut off at the right edge on a phone —
|
|
4348
|
+
a header pill, a message bubble — the dashboard now reports it by itself
|
|
4349
|
+
rather than waiting for a screenshot. Every admin page measures its own
|
|
4350
|
+
width after it settles, and posts a record when something sticks out past
|
|
4351
|
+
the edge.
|
|
4352
|
+
|
|
4353
|
+
Read the reports with:
|
|
4354
|
+
|
|
4355
|
+
```
|
|
4356
|
+
grep 'op=layout-overflow' ~/.<brand>/logs/client-errors.log
|
|
4357
|
+
```
|
|
4358
|
+
|
|
4359
|
+
Each line names the page it happened on (`route`) and the element that
|
|
4360
|
+
stuck out (`offender`), so the cause is identifiable without reproducing
|
|
4361
|
+
it on a handset. A line with a `delta` but an empty `offender` means the
|
|
4362
|
+
measurement ran too early, which is a different fault from a cut-off
|
|
4363
|
+
page. No lines at all is the healthy state.
|
|
4364
|
+
|
|
4365
|
+
These reports share the client-error log, so they also count towards the
|
|
4366
|
+
24-hour client-error figure shown on the upgrade view. A rise there with
|
|
4367
|
+
`op=layout-overflow` lines behind it is a layout problem, not a crash.
|
|
4368
|
+
|
|
4343
4369
|
## System-stats widget
|
|
4344
4370
|
|
|
4345
4371
|
Source:
|
|
@@ -9,6 +9,13 @@ 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.539)
|
|
13
|
+
|
|
14
|
+
- You can now reply to a specific message in chat, and the assistant sees which one you meant.
|
|
15
|
+
- The calendar now shows times in the account's own timezone rather than the browser's, and shows and keeps the meeting description, which is also carried into the exported calendar file.
|
|
16
|
+
- Narrow phone screens no longer overflow sideways, with a standing check that reports it if the layout regresses.
|
|
17
|
+
- When a live location cannot be followed, the reply from WhatsApp is now recorded so the reason is visible.
|
|
18
|
+
|
|
12
19
|
## 2026-07-31 (0.1.538)
|
|
13
20
|
|
|
14
21
|
- 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.
|
|
@@ -69,6 +69,8 @@ either is a regression.
|
|
|
69
69
|
|
|
70
70
|
**`/chat` empty-state starter chips.** While the admin webchat has no conversation JSONL yet (`GET /api/webchat/session` → `projectDir:null`), `app/chat/page.tsx` renders a "What's up next, {givenName}?" greeting (given name = first whitespace token of the admin session's `userName`; degrades to "What's up next?" without one) above three one-tap starter chips (replacing the earlier read-only lists): **Catch me up** (`Inbox`), **My day** (`CalendarClock`), **To-do** (`ListTodo`). `GreetingPanel` no longer fetches `GET /api/webchat/greeting` — the headline reads from the `userName` prop alone. A tap dispatches the chip's verbatim prompt through the existing `send()` with zero typing, via the same arm/fire path as the `?q=` handoff seed: `dispatchChip` logs `[admin-ui] op=chip-tap id=<catch-up|my-day|to-do> chars=<n>`, sets the composer text, and arms a one-shot effect that fires `send()` once the text matches. Chips gate to `variant` admin/operator; the public surface shows the headline alone. The first journaled turn replaces the panel with the transcript. The `/api/webchat/greeting` route (`server/routes/webchat-greeting.ts`) and `specialist-roster.ts` are now unconsumed by this surface — slimming them is a separate follow-up. The full webchat architecture lives in `.docs/admin-webchat-native-channel.md`.
|
|
71
71
|
|
|
72
|
+
**`/chat` reply to a specific message.** Each of your own messages and each of the assistant's replies carries a reply control beside its copy button. Clicking it puts a strip above the composer naming who you are replying to and quoting the message; the X on that strip cancels. Sending delivers the quote to the agent as the first line of its context, so "redo that one" resolves to the message you pointed at, and the sent message keeps the quote visible above it when you reload. Two limits are deliberate: a message that arrived while the assistant was mid-turn cannot be quoted (the transcript records that arrival without an id to target), and tool runs, thinking runs and error banners are not reply targets. The quoted text is capped at 500 characters and is read from the conversation's own transcript server-side, never from the browser. The public visitor surface has no reply control. The full path is in `.docs/admin-webchat-native-channel.md`.
|
|
73
|
+
|
|
72
74
|
**`/chat` composer transport button.** The button at the end of the input shows a **microphone** while the box is empty — tap it to record a voice note. Type a character, or attach a file, and the same button becomes the **send** arrow; while the agent is replying it becomes a **stop** square. So an empty composer offers voice, a composer with something to send offers send, and a running turn offers stop — one button, three states. The microphone-device chooser (which input to record from) stays in the row of icons below the box. This is the same on the admin `/chat`, the public chat, and the maxy-lite webchat.
|
|
73
75
|
|
|
74
76
|
**`/chat` Conversations flyout + zero-sessions splash.** The admin `/chat` `HeaderMenu` carries a **Conversations** item (rendered only when `onOpenConversations` is wired, which scopes it to `/chat`) that opens an in-chat session-management pane (`app/chat/SessionList.tsx`) hosted by `chat/page.tsx` — distinct from, and sharing endpoints with, the `Sidebar` Sessions list (which stays hidden on narrow viewports). It enumerates the admin's own webchat sessions via `GET /api/admin/sidebar-sessions` (carries the per-row `live` marker and `archived` flag, install-wide), **filtering out `channel:'whatsapp'`/`'telegram'` rows** (those are channel-bound, cannot be chatted in webchat, and live in the WhatsApp/Telegram reader panels; the same endpoint now also feeds the sidebar Sessions list, which does show them), lists the remainder newest-first with the live one marked and archived rows folded under a collapsible subsection, and offers per-row resume (`/chat?session=<id>`), rename, archive/unarchive, two-tap delete, an **End** control on the live row (`session-stop`), plus a New-session control (`session-rc-spawn`) and a copyable full id. The pane header carries the title and a top-right close (X) control that dismisses the flyout (no back-chevron/"Chat" label); the New-session control floats at the pane's bottom-left. When the canonical pointer is `known:false` (`canonical-empty`) and enumeration returns zero rows, the surface renders a splash (brand logo + New session) instead of a dead bootstrap thread; a freshly-spawned New session is `known:true`, so its greeting is preserved. Client breadcrumbs: `[chat-conversations] op=enumerate owned=<n>` and `op=action name=<open|rename|archive|delete|stop> sessionId=<id8>` (`op=action-failed … status=…` on a non-2xx). Detail lives in `.docs/admin-webchat-native-channel.md` ("Conversations flyout + zero-sessions splash").
|
|
@@ -983,6 +985,30 @@ The companion `/api/admin/version` and `/api/admin/actions` routes are
|
|
|
983
985
|
served by `maxy-edge.service`, not this aggregator. The edge process
|
|
984
986
|
keeps the upgrade view alive while the brand service restarts.
|
|
985
987
|
|
|
988
|
+
### Phone-width layout overflow
|
|
989
|
+
|
|
990
|
+
If any part of an admin screen is cut off at the right edge on a phone —
|
|
991
|
+
a header pill, a message bubble — the dashboard now reports it by itself
|
|
992
|
+
rather than waiting for a screenshot. Every admin page measures its own
|
|
993
|
+
width after it settles, and posts a record when something sticks out past
|
|
994
|
+
the edge.
|
|
995
|
+
|
|
996
|
+
Read the reports with:
|
|
997
|
+
|
|
998
|
+
```
|
|
999
|
+
grep 'op=layout-overflow' ~/.<brand>/logs/client-errors.log
|
|
1000
|
+
```
|
|
1001
|
+
|
|
1002
|
+
Each line names the page it happened on (`route`) and the element that
|
|
1003
|
+
stuck out (`offender`), so the cause is identifiable without reproducing
|
|
1004
|
+
it on a handset. A line with a `delta` but an empty `offender` means the
|
|
1005
|
+
measurement ran too early, which is a different fault from a cut-off
|
|
1006
|
+
page. No lines at all is the healthy state.
|
|
1007
|
+
|
|
1008
|
+
These reports share the client-error log, so they also count towards the
|
|
1009
|
+
24-hour client-error figure shown on the upgrade view. A rise there with
|
|
1010
|
+
`op=layout-overflow` lines behind it is a layout problem, not a crash.
|
|
1011
|
+
|
|
986
1012
|
## System-stats widget
|
|
987
1013
|
|
|
988
1014
|
Source:
|
|
@@ -72,4 +72,4 @@ Read the current value with `whatsapp-config {action:'get-manager-notify-enabled
|
|
|
72
72
|
[whatsapp:public-agent] op=spawn-ok | op=spawn-failed
|
|
73
73
|
```
|
|
74
74
|
|
|
75
|
-
Three standing audits reconcile that chain rather than waiting for someone to notice. `op=public-notify-reconcile` reports `gap`, `relayGap` and `
|
|
75
|
+
Three standing audits reconcile that chain rather than waiting for someone to notice. `op=public-notify-reconcile` reports `gap`, `relayGap` and `answerGap`, 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.
|
|
@@ -118,7 +118,7 @@ Backfilling already-written `:Event` appointments into `:Meeting` is a separate
|
|
|
118
118
|
|
|
119
119
|
Both labels are readable. `schedule-list` returns meetings and events together and tags each row `kind`; a meeting renders as `MEETING — <title> (<start>) → <end> (<uid>)`. `status` filters **events only**, because a `:Meeting` carries no `eventStatus`; `from`, `to` and `upcoming` apply to meetings on `startsAt`.
|
|
120
120
|
|
|
121
|
-
A meeting's handle is its `uid`. `schedule-event` returns it on creation, and `schedule-get`, `schedule-update` and `schedule-cancel` accept it wherever they accept an event id — they resolve an event first, then a meeting, so a caller never has to say which kind it holds. Updating a meeting sets `title`, `startsAt`, `endsAt` and `location` and never rewrites the `uid
|
|
121
|
+
A meeting's handle is its `uid`. `schedule-event` returns it on creation, and `schedule-get`, `schedule-update` and `schedule-cancel` accept it wherever they accept an event id — they resolve an event first, then a meeting, so a caller never has to say which kind it holds. Updating a meeting sets `title`, `startsAt`, `endsAt` and `location` and never rewrites the `uid`; `eventStatus`, `recurrence`, `note`, `action` and `agentDispatch` have no meeting equivalent and do not cross over. A meeting DOES carry a `description`: `schedule-event` writes one, `schedule-get` returns it, and the admin Calendar edits it. `schedule-update` does not write it, so this tool's field set is narrower than the admin Calendar edit's. Cancelling a meeting **deletes** it and its attendee edges, the same as deleting it on the Calendar page — a `:Meeting` has no status to set to cancelled. A booking-sourced meeting that is deleted is rewritten by the next reconcile run.
|
|
122
122
|
|
|
123
123
|
Until this landed, `schedule-list` matched `:Event` alone while `schedule-event` wrote `:Meeting`, so an agent could not see its own writes: a calendar-sync turn read back an empty list, re-applied the same three meetings, and told the operator over WhatsApp that they had not saved. Observability is therefore two-part. Every list call logs `[schedule-list] op=result meetings=<n> events=<n>`. The standing check is `[schedule-audit] account=<id> meetings=<n> listable=<n> invisible=<n>`, emitted per account on every `reconcile-bookings` run (every 120 s) **before** that script's Cloudflare gates, so it also reports on installs with no booking site. `listable` is what the real `scheduleList` returns, not a re-implementation of its query — that is the whole point, since a copy would agree with a broken original. `invisible=0` is the success signal; `invisible>0` means a calendar entry exists that the agent cannot see.
|
|
124
124
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedule-get-description.test.d.ts","sourceRoot":"","sources":["../../../src/tools/__tests__/schedule-get-description.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// Task 2280. "Reading the meeting returns only title, times, location and
|
|
2
|
+
// timezone" was the operator's report, and it was exactly what the projection
|
|
3
|
+
// selected: `m.description` is written by meeting-write and was read by nothing.
|
|
4
|
+
import { describe, it, expect, vi } from "vitest";
|
|
5
|
+
const MEETING = {
|
|
6
|
+
uid: "sched-bgl0004",
|
|
7
|
+
title: "BGL-0004 — Zanzibar airport to My Blue Hotel",
|
|
8
|
+
startsAt: "2026-08-01T13:40:00+03:00",
|
|
9
|
+
endsAt: "2026-08-01T16:15:00+03:00",
|
|
10
|
+
location: "Zanzibar airport",
|
|
11
|
+
timezone: "Africa/Dar_es_Salaam",
|
|
12
|
+
description: "Driver Mcha. $40 cash with an ATM stop on the way.",
|
|
13
|
+
createdAt: "2026-07-31T18:02:11.000Z",
|
|
14
|
+
updatedAt: "2026-07-31T18:02:11.000Z",
|
|
15
|
+
};
|
|
16
|
+
let lastCypher = "";
|
|
17
|
+
vi.mock("../../lib/neo4j.js", () => ({
|
|
18
|
+
getSession: () => ({
|
|
19
|
+
run: vi.fn(async (cypher) => {
|
|
20
|
+
lastCypher = cypher;
|
|
21
|
+
if (cypher.includes("MATCH (m:Meeting")) {
|
|
22
|
+
return {
|
|
23
|
+
records: [
|
|
24
|
+
{
|
|
25
|
+
get: (k) => k === "rels" ? [] : MEETING[k],
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
return { records: [] };
|
|
31
|
+
}),
|
|
32
|
+
close: vi.fn(async () => { }),
|
|
33
|
+
}),
|
|
34
|
+
}));
|
|
35
|
+
import { scheduleGet } from "../schedule-get.js";
|
|
36
|
+
describe("scheduleGet — the meeting body comes back (Task 2280)", () => {
|
|
37
|
+
it("returns the description", async () => {
|
|
38
|
+
const detail = await scheduleGet("sched-bgl0004", "acct-1");
|
|
39
|
+
expect(detail.description).toBe("Driver Mcha. $40 cash with an ATM stop on the way.");
|
|
40
|
+
});
|
|
41
|
+
it("still returns the fields it always did", async () => {
|
|
42
|
+
const detail = await scheduleGet("sched-bgl0004", "acct-1");
|
|
43
|
+
expect(detail.name).toBe("BGL-0004 — Zanzibar airport to My Blue Hotel");
|
|
44
|
+
expect(detail.location).toBe("Zanzibar airport");
|
|
45
|
+
expect(detail.timezone).toBe("Africa/Dar_es_Salaam");
|
|
46
|
+
expect(detail.startDate).toBe("2026-08-01T13:40:00+03:00");
|
|
47
|
+
});
|
|
48
|
+
it("selects the column, which is where the field was missing", async () => {
|
|
49
|
+
await scheduleGet("sched-bgl0004", "acct-1");
|
|
50
|
+
expect(lastCypher).toContain("m.description AS description");
|
|
51
|
+
});
|
|
52
|
+
it("omits the key rather than returning an empty string when there is no body", async () => {
|
|
53
|
+
const detail = await scheduleGet("sched-bgl0004", "acct-1");
|
|
54
|
+
// Same mock, description blanked for this assertion only.
|
|
55
|
+
const blank = { ...detail, description: undefined };
|
|
56
|
+
expect("description" in blank && blank.description === "").toBe(false);
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
//# sourceMappingURL=schedule-get-description.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedule-get-description.test.js","sourceRoot":"","sources":["../../../src/tools/__tests__/schedule-get-description.test.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,8EAA8E;AAC9E,iFAAiF;AACjF,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAElD,MAAM,OAAO,GAAG;IACd,GAAG,EAAE,eAAe;IACpB,KAAK,EAAE,8CAA8C;IACrD,QAAQ,EAAE,2BAA2B;IACrC,MAAM,EAAE,2BAA2B;IACnC,QAAQ,EAAE,kBAAkB;IAC5B,QAAQ,EAAE,sBAAsB;IAChC,WAAW,EAAE,oDAAoD;IACjE,SAAS,EAAE,0BAA0B;IACrC,SAAS,EAAE,0BAA0B;CACtC,CAAC;AAEF,IAAI,UAAU,GAAG,EAAE,CAAC;AAEpB,EAAE,CAAC,IAAI,CAAC,oBAAoB,EAAE,GAAG,EAAE,CAAC,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AE,MAAM,CAAC;IAClB,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kFAAkF;IAClF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mFAAmF;IACnF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kFAAkF;IAClF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,KAAK,CAAC;QACnB,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;QACpB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC,CAAC;CACJ;AAED,wBAAsB,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC,CA0HjG"}
|
|
@@ -15,6 +15,7 @@ export async function scheduleGet(eventId, accountId) {
|
|
|
15
15
|
OPTIONAL MATCH (p:Person)-[r:ATTENDED]->(m)
|
|
16
16
|
RETURN m.uid AS uid, m.title AS title, toString(m.startsAt) AS startsAt,
|
|
17
17
|
toString(m.endsAt) AS endsAt, m.location AS location, m.timezone AS timezone,
|
|
18
|
+
m.description AS description,
|
|
18
19
|
toString(m.createdAt) AS createdAt, toString(m.updatedAt) AS updatedAt,
|
|
19
20
|
collect({type: type(r), targetLabel: 'Person', targetName: coalesce(p.displayName, p.email), targetId: elementId(p)}) AS rels`, { id: eventId, accountId });
|
|
20
21
|
if (meetingResult.records.length === 0)
|
|
@@ -41,6 +42,11 @@ export async function scheduleGet(eventId, accountId) {
|
|
|
41
42
|
meeting.endDate = m.get("endsAt");
|
|
42
43
|
if (m.get("location"))
|
|
43
44
|
meeting.location = m.get("location");
|
|
45
|
+
// Task 2280 — the meeting's own body. Written by meeting-write since the
|
|
46
|
+
// beginning and selected by nothing, so "read the meeting" answered with a
|
|
47
|
+
// title, times, a location and a timezone and nothing else.
|
|
48
|
+
if (m.get("description"))
|
|
49
|
+
meeting.description = m.get("description");
|
|
44
50
|
if (m.get("timezone"))
|
|
45
51
|
meeting.timezone = m.get("timezone");
|
|
46
52
|
return meeting;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schedule-get.js","sourceRoot":"","sources":["../../src/tools/schedule-get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAe,MAAM,oBAAoB,CAAC;AAqC5D,MAAM,CAAC,KAAK,UAAU,WAAW,CAAC,OAAe,EAAE,SAAiB;IAClE,MAAM,YAAY,GAAG,UAAU,EAAE,CAAC;IAClC,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,YAAY,CAAC,GAAG,CACnC;;wIAEkI,EAClI,EAAE,OAAO,EAAE,SAAS,EAAE,CACvB,CAAC;QAEF,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAChC,uEAAuE;YACvE,sEAAsE;YACtE,wCAAwC;YACxC,MAAM,aAAa,GAAG,MAAM,YAAY,CAAC,GAAG,CAC1C
|
|
1
|
+
{"version":3,"file":"schedule-get.js","sourceRoot":"","sources":["../../src/tools/schedule-get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAi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rF,GAAG,EAAE,IAAI,GACR,UAAU,CAmCZ;AAED,wBAAsB,cAAc,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC,CAsahF"}
|
|
@@ -381,12 +381,16 @@ export async function scheduleUpdate(params) {
|
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
if (result.records.length === 0) {
|
|
384
|
-
// Task 2100 — the id may be a meeting uid.
|
|
385
|
-
// title/startsAt/endsAt/location
|
|
386
|
-
//
|
|
387
|
-
//
|
|
388
|
-
//
|
|
389
|
-
//
|
|
384
|
+
// Task 2100 — the id may be a meeting uid. This branch edits
|
|
385
|
+
// title/startsAt/endsAt/location, and the uid is the (accountId, uid)
|
|
386
|
+
// idempotency key, never rewritten by an edit.
|
|
387
|
+
//
|
|
388
|
+
// Task 2280 corrected what follows. A :Meeting DOES carry a description:
|
|
389
|
+
// meeting-write stores one, schedule-get returns it, and the admin
|
|
390
|
+
// Calendar PATCH now edits it. This tool still does not write it, so it is
|
|
391
|
+
// no longer the same field set as that PATCH — the remaining gap is Task
|
|
392
|
+
// 2296. eventStatus, recurrence, note, action and agentDispatch genuinely
|
|
393
|
+
// have no meeting equivalent and do not cross over.
|
|
390
394
|
const meetingSets = [];
|
|
391
395
|
const meetingParams = { id: eventId, accountId };
|
|
392
396
|
if (updates.name !== undefined) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schedule-update.js","sourceRoot":"","sources":["../../src/tools/schedule-update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM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YACjD,CAAC;YACD,WAAW,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;YAE7C,MAAM,aAAa,GAAG,MAAM,YAAY,CAAC,GAAG,CAC1C;eACO,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC;6BACR,EACrB,aAAa,CACd,CAAC;YACF,IAAI,aAAa,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACvC,MAAM,IAAI,KAAK,CAAC,oBAAoB,OAAO,EAAE,CAAC,CAAC;YACjD,CAAC;YACD,OAAO,CAAC,KAAK,CAAC,yCAAyC,OAAO,WAAW,WAAW,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,CAAC;QACrG,CAAC;IACH,CAAC;YAAS,CAAC;QACT,MAAM,YAAY,CAAC,KAAK,EAAE,CAAC;IAC7B,CAAC;AACH,CAAC"}
|
|
@@ -15,7 +15,7 @@ User asks to change, view, edit, or manage WhatsApp settings, policies, or limit
|
|
|
15
15
|
|
|
16
16
|
## Which scope am I? Decide this before any other call
|
|
17
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.
|
|
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.
|
|
19
19
|
|
|
20
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
21
|
|
|
@@ -45,7 +45,7 @@ Call `whatsapp-config action: list-admin-phones` and present the current list. A
|
|
|
45
45
|
|
|
46
46
|
Each add/remove fires immediately — admin phones are managed per-action, independent of the form's batch submit.
|
|
47
47
|
|
|
48
|
-
Admin phones are authoritative only on the account that owns the WhatsApp paired socket (the house). Adding an admin phone always applies to that account; the write is refused on any other account, because a phone in a sub-account's admin list is never consulted. To route a person who **operates** a specific sub-account, bind them as an account manager with `add-account-manager` — do not read or edit a sub-account's admin list to answer "is this phone a manager?". For someone who is known but does **not** operate the account
|
|
48
|
+
Admin phones are authoritative only on the account that owns the WhatsApp paired socket (the house). Adding an admin phone always applies to that account; the write is refused on any other account, because a phone in a sub-account's admin list is never consulted. To route a person who **operates** a specific sub-account, bind them as an account manager with `add-account-manager` — do not read or edit a sub-account's admin list to answer "is this phone a manager?". For someone who is known but does **not** operate the account, use `add-registered-party` below instead: an account-manager binding would grant them admin.
|
|
49
49
|
|
|
50
50
|
**Account managers:**
|
|
51
51
|
|
|
@@ -57,23 +57,27 @@ A phone can hold both roles at once. Binding a phone that is already on the admi
|
|
|
57
57
|
|
|
58
58
|
Replies to an account manager go out over the house's paired WhatsApp device. The house's paired line is the transport for account-manager replies, and it can deliver to any number: which account owns the socket never restricts which numbers a message can reach. Account-manager binding decides only which agent session answers an inbound or runs a scheduled turn, not deliverability.
|
|
59
59
|
|
|
60
|
-
To message a manager proactively or on a schedule, create a scheduled dispatch (`agentDispatch` on `schedule-event`) with the manager's phone as the `destination`. An account manager is a valid dispatch destination, and the turn's reply is delivered over the
|
|
60
|
+
To message a manager proactively or on a schedule, create a scheduled dispatch (`agentDispatch` on `schedule-event`) with the manager's phone as the `destination`. An account manager is a valid dispatch destination, and the turn's reply is delivered over the account's own paired line.
|
|
61
|
+
|
|
62
|
+
`whatsapp-send-admin` is the immediate proactive-push tool and it admits **three** destination classes, not one: a house admin phone, a registered account manager, or a registered party. Any number in none of those three is refused `not-admin-phone`. Do not tell an operator that a manager or a registered party cannot be pushed to — the refusal applies only to unregistered numbers.
|
|
63
|
+
|
|
64
|
+
**Relaying a visitor's request to registered parties.** This is the flow when a stranger messages an account's line and their request has to reach named people who are not operators. Register each of those people with `add-registered-party` on that account, giving each a `party` label. When the visitor's message arrives the account's agent handles the turn, and the agent sends to each registered party by phone with `whatsapp-send-admin`. Their replies come back as public inbound carrying `WA_SENDER_PARTY`, so the agent can tell one party's answer from another's and from a stranger's. No account-manager binding is involved and none should be created for this: the parties are recipients and responders, never operators of the account.
|
|
61
65
|
|
|
62
66
|
Never tell the operator the line is "pointed at the wrong account", offer to point or flip the WhatsApp line at a sub-account, or describe an install-wide line flip: there is no such flip and no such restriction. Do not offer Telegram as a workaround here. Telegram is the right recommendation only for genuine Meta-policy limits (group sends, cold first-contact), never for reaching an account manager.
|
|
63
67
|
|
|
64
68
|
**Registered parties (known counterparties who are not operators):**
|
|
65
69
|
|
|
66
|
-
A registered party is a phone the operator knows but who does not run the account:
|
|
70
|
+
A registered party is a phone the operator knows but who does not run the account: any counterparty, contractor, supplier or client's own staff the operator chooses to name. Registering them makes their messages distinguishable from a stranger's without granting them anything. Their inbound reaches the account's **public** agent carrying a label the operator chose, and they are never given an admin session.
|
|
67
71
|
|
|
68
|
-
Use this, not `add-account-manager`, for anyone who is not an operator of the account. An account-manager binding grants admin first and constrains afterwards, so binding a
|
|
72
|
+
Use this, not `add-account-manager`, for anyone who is not an operator of the account. An account-manager binding grants admin first and constrains afterwards, so binding a counterparty as a manager — in either mode — hands them an admin session scoped to the client's account. That is an escalation, and the `passive` mode does not avoid it.
|
|
69
73
|
|
|
70
|
-
Call `whatsapp-config action: list-registered-parties` to show the current registrations. Register a phone with `whatsapp-config action: add-registered-party`, passing `phone` (E.164), `account` (the account whose own number they are a counterparty on) and `party` (the label — lowercase letters, digits and hyphens,
|
|
74
|
+
Call `whatsapp-config action: list-registered-parties` to show the current registrations. Register a phone with `whatsapp-config action: add-registered-party`, passing `phone` (E.164), `account` (the account whose own number they are a counterparty on) and `party` (the label — lowercase letters, digits and hyphens, chosen by the operator to name the role in their own business). Clear one with `whatsapp-config action: remove-registered-party`, passing `phone`.
|
|
71
75
|
|
|
72
76
|
The registration applies only on that account's **own** number. Reached on the house number, a registered party takes the house DM policy like any stranger; this is deliberate, so a counterparty cannot reach a sub-account through the house line.
|
|
73
77
|
|
|
74
78
|
A phone cannot be both a registered party and an admin or account manager. Either write is refused with `party-registration-shadowed`, because the operator arms are checked first and the party registration would sit unreachable. Clear the existing registration first if the operator genuinely wants the other role.
|
|
75
79
|
|
|
76
|
-
The label is carried to the session and never interpreted by the platform: what
|
|
80
|
+
The label is carried to the session as `WA_SENDER_PARTY` and never interpreted by the platform: what any given label means is for the account's own skill to decide. Tell the operator that plainly rather than implying the label changes any platform behaviour on its own.
|
|
77
81
|
|
|
78
82
|
Because a registered party is a public sender, two gates that never apply to an operator do apply to them: a house in managed-service mode suppresses their turn entirely, and a message outside business hours gets the after-hours auto-reply instead of a dispatch. Say so when an operator registers someone whose messages arrive out of hours.
|
|
79
83
|
|
|
@@ -17,6 +17,31 @@ export interface ScheduleProvenance {
|
|
|
17
17
|
* em-dashes). Byte-identical to the whatsapp/telegram twins.
|
|
18
18
|
*/
|
|
19
19
|
export declare function composeScheduleMarker(pv: ScheduleProvenance): string;
|
|
20
|
+
/** Task 2279 — the quote as the UI server resolves it: the JSONL row uuid the
|
|
21
|
+
* operator pointed at, and that row's rendered body when it has one. A local
|
|
22
|
+
* copy of the shape (this package never cross-imports platform/ui), mirroring
|
|
23
|
+
* the local {@link ScheduleProvenance} pattern. */
|
|
24
|
+
export interface ReplyContext {
|
|
25
|
+
id: string;
|
|
26
|
+
text?: string;
|
|
27
|
+
}
|
|
28
|
+
/** Task 2279 — the quoted body is unbounded operator-selected input. 500
|
|
29
|
+
* characters identify what is being pointed at without letting a long quote
|
|
30
|
+
* dominate the turn. Exported so tests assert against the cap, not a literal.
|
|
31
|
+
* Twin of the constant in platform/services/whatsapp-channel/src/notification.ts. */
|
|
32
|
+
export declare const QUOTED_TEXT_CAP = 500;
|
|
33
|
+
/**
|
|
34
|
+
* Task 2279 — the bracketed note that names what the operator replied to. Two
|
|
35
|
+
* forms: with the quoted body when there is one, and a bare sentence when there
|
|
36
|
+
* is not.
|
|
37
|
+
*
|
|
38
|
+
* Byte-identical to `composeReplyNote` in whatsapp-channel's notification.ts and
|
|
39
|
+
* to platform/ui's app/lib/whatsapp/reply-quote.ts. The three packages never
|
|
40
|
+
* cross-import, so each hardcodes the strings in its own test and a drift fails
|
|
41
|
+
* there. No attribution: the quoted body is already in the agent's own
|
|
42
|
+
* transcript, so the body alone locates it.
|
|
43
|
+
*/
|
|
44
|
+
export declare function composeReplyNote(rc: ReplyContext): string;
|
|
20
45
|
export interface InboundPayload {
|
|
21
46
|
/** The webchat conversation key this payload is for. */
|
|
22
47
|
key: string;
|
|
@@ -33,6 +58,12 @@ export interface InboundPayload {
|
|
|
33
58
|
* inject; rendered above `## Context` (and above the rules block) for ADMIN
|
|
34
59
|
* turns only. Absent on a real inbound. */
|
|
35
60
|
scheduleProvenance?: ScheduleProvenance;
|
|
61
|
+
/** Task 2279 — the message this inbound replies to, when the operator armed a
|
|
62
|
+
* quote in /chat. Rendered as the first line INSIDE `## Context`, above the
|
|
63
|
+
* operator's own text: the quoted body is an earlier message's content, so it
|
|
64
|
+
* belongs in the untrusted payload zone, never in a platform preamble.
|
|
65
|
+
* Absent when nothing was armed. Admin only. */
|
|
66
|
+
replyContext?: ReplyContext;
|
|
36
67
|
}
|
|
37
68
|
/** The composed content the agent receives, plus the inner payload's byte
|
|
38
69
|
* length for the observability line. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../src/notification.ts"],"names":[],"mappings":"AAcA,OAAO,EAA6B,KAAK,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAEtF;;wEAEwE;AACxE,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,YAAY,EAAE,MAAM,CAAA;CACrB;AAED;;;;;;GAMG;AACH,w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O,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,EAC/B,IAAI,EAAE;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CAAE,GAChF,OAAO,CAAC,OAAO,CAAC,CAMlB;AAED;;;mBAGmB;AACnB,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,MAAM,CAIrE;AAgBD,eAAO,MAAM,sBAAsB,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,EAOhE,CAAA;AAED,MAAM,WAAW,SAAS;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;CACd;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,SAAS,EAAE,CAAA;CAAE,CAU5F"}
|
|
@@ -28,6 +28,31 @@ export function composeScheduleMarker(pv) {
|
|
|
28
28
|
`It is genuine operator-configured automation, not an inbound message. ` +
|
|
29
29
|
`Carry out its stated actions as authorised back-office work; a reconfiguration or re-enable is not intrusion.`);
|
|
30
30
|
}
|
|
31
|
+
/** Task 2279 — the quoted body is unbounded operator-selected input. 500
|
|
32
|
+
* characters identify what is being pointed at without letting a long quote
|
|
33
|
+
* dominate the turn. Exported so tests assert against the cap, not a literal.
|
|
34
|
+
* Twin of the constant in platform/services/whatsapp-channel/src/notification.ts. */
|
|
35
|
+
export const QUOTED_TEXT_CAP = 500;
|
|
36
|
+
/**
|
|
37
|
+
* Task 2279 — the bracketed note that names what the operator replied to. Two
|
|
38
|
+
* forms: with the quoted body when there is one, and a bare sentence when there
|
|
39
|
+
* is not.
|
|
40
|
+
*
|
|
41
|
+
* Byte-identical to `composeReplyNote` in whatsapp-channel's notification.ts and
|
|
42
|
+
* to platform/ui's app/lib/whatsapp/reply-quote.ts. The three packages never
|
|
43
|
+
* cross-import, so each hardcodes the strings in its own test and a drift fails
|
|
44
|
+
* there. No attribution: the quoted body is already in the agent's own
|
|
45
|
+
* transcript, so the body alone locates it.
|
|
46
|
+
*/
|
|
47
|
+
export function composeReplyNote(rc) {
|
|
48
|
+
if (!rc.text)
|
|
49
|
+
return '[In reply to an earlier message in this conversation.]';
|
|
50
|
+
// Cut on whole characters. `.slice` counts UTF-16 code units, so a body whose
|
|
51
|
+
// 500th boundary falls inside a surrogate pair would emit a lone surrogate.
|
|
52
|
+
const chars = [...rc.text];
|
|
53
|
+
const quoted = chars.length > QUOTED_TEXT_CAP ? `${chars.slice(0, QUOTED_TEXT_CAP).join('')}…` : rc.text;
|
|
54
|
+
return `[In reply to an earlier message in this conversation: "${quoted}"]`;
|
|
55
|
+
}
|
|
31
56
|
/** Frame an ADMIN inbound as `## Context` (the typed message) then
|
|
32
57
|
* `## Instruction` (the routing + capability-denial directive), so the
|
|
33
58
|
* directive rides every turn. PUBLIC stays plain: the public reader echoes the
|
|
@@ -50,8 +75,13 @@ export function composeContent(p, role) {
|
|
|
50
75
|
const rulesPrefix = typeof p.standingRules === 'string' && p.standingRules.trim().length > 0
|
|
51
76
|
? `${p.standingRules.trim()}\n\n`
|
|
52
77
|
: '';
|
|
78
|
+
// Task 2279 — the reply quote leads the payload, inside ## Context and above
|
|
79
|
+
// the operator's text. Empty string when nothing was armed, which keeps every
|
|
80
|
+
// pre-2279 frame byte-identical. Deliberately NOT counted in payloadBytes: the
|
|
81
|
+
// note is platform-composed, not operator bytes.
|
|
82
|
+
const quotePrefix = p.replyContext ? `${composeReplyNote(p.replyContext)}\n\n` : '';
|
|
53
83
|
return {
|
|
54
|
-
content: `${markerPrefix}${rulesPrefix}## Context\n${payload}\n\n## Instruction\n${ADMIN_REFRAME_INSTRUCTION}`,
|
|
84
|
+
content: `${markerPrefix}${rulesPrefix}## Context\n${quotePrefix}${payload}\n\n## Instruction\n${ADMIN_REFRAME_INSTRUCTION}`,
|
|
55
85
|
payloadBytes,
|
|
56
86
|
};
|
|
57
87
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.js","sourceRoot":"","sources":["../src/notification.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,wEAAwE;AACxE,+EAA+E;AAC/E,yCAAyC;AACzC,EAAE;AACF,+EAA+E;AAC/E,wEAAwE;AACxE,8EAA8E;AAC9E,+EAA+E;AAC/E,+EAA+E;AAC/E,8EAA8E;AAC9E,gFAAgF;AAChF,mEAAmE;AAEnE,OAAO,EAAE,yBAAyB,EAA2B,MAAM,mBAAmB,CAAA;AAatF;;;;;;GAMG;AACH,MAAM,UAAU,qBAAqB,CAAC,EAAsB;IAC1D,MAAM,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,mBAAmB,CAAA;IAChG,MAAM,GAAG,GAAG,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,EAAE,CAAA;IAC9D,OAAO,CACL,+CAA+C;QAC/C,0FAA0F;QAC1F,GAAG,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,mBAAmB,GAAG,GAAG,GAAG,IAAI;QAC5F,wEAAwE;QACxE,+GAA+G,CAChH,CAAA;AACH,CAAC;
|
|
1
|
+
{"version":3,"file":"notification.js","sourceRoot":"","sources":["../src/notification.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,wEAAwE;AACxE,+EAA+E;AAC/E,yCAAyC;AACzC,EAAE;AACF,+EAA+E;AAC/E,w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YAAY,CAAA;QACrB,CAAC,CAAC,CAAA;IACJ,CAAC;IACD,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,CAAA;AAC9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":";AAoBA,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAA;
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":";AAoBA,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAA;AAqElE,eAAO,MAAM,YAAY,QAA4B,CAAA;AAErD,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBf,CAAA;AA+LD,wBAAsB,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC,CAwJtD;AAED,wBAAsB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAO1C"}
|