@rubytech/create-realagent-code 0.1.29 → 0.1.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/dist/__tests__/init-logging.test.js +85 -0
  2. package/dist/index.js +21 -10
  3. package/dist/init-logging.js +28 -0
  4. package/package.json +1 -1
  5. package/payload/platform/lib/persistent-components/dist/index.d.ts +11 -12
  6. package/payload/platform/lib/persistent-components/dist/index.d.ts.map +1 -1
  7. package/payload/platform/lib/persistent-components/dist/index.js +11 -12
  8. package/payload/platform/lib/persistent-components/dist/index.js.map +1 -1
  9. package/payload/platform/lib/persistent-components/src/index.ts +11 -12
  10. package/payload/platform/neo4j/schema.cypher +6 -3
  11. package/payload/platform/plugins/admin/.claude-plugin/plugin.json +1 -1
  12. package/payload/platform/plugins/admin/PLUGIN.md +1 -3
  13. package/payload/platform/plugins/admin/hooks/onboarding-skill-drift.sh +57 -54
  14. package/payload/platform/plugins/admin/mcp/dist/index.js +15 -50
  15. package/payload/platform/plugins/admin/mcp/dist/index.js.map +1 -1
  16. package/payload/platform/plugins/admin/skills/access-manager/references/operations.md +7 -7
  17. package/payload/platform/plugins/admin/skills/file-presentation/SKILL.md +16 -33
  18. package/payload/platform/plugins/admin/skills/plugin-management/SKILL.md +1 -1
  19. package/payload/platform/plugins/admin/skills/public-agent-manager/SKILL.md +2 -2
  20. package/payload/platform/plugins/admin/skills/stream-log-review/references/analysis-patterns.md +2 -2
  21. package/payload/platform/plugins/anthropic/skills/get-api-key/SKILL.md +2 -4
  22. package/payload/platform/plugins/brochures/PLUGIN.md +1 -1
  23. package/payload/platform/plugins/buyers/PLUGIN.md +1 -2
  24. package/payload/platform/plugins/deep-research/skills/book-mirror/SKILL.md +1 -1
  25. package/payload/platform/plugins/deep-research/skills/strategic-reading/SKILL.md +1 -1
  26. package/payload/platform/plugins/docs/references/plugins-guide.md +2 -2
  27. package/payload/platform/plugins/email/references/email-reference.md +3 -7
  28. package/payload/platform/plugins/estate-business/PLUGIN.md +1 -2
  29. package/payload/platform/plugins/estate-coaching/PLUGIN.md +1 -2
  30. package/payload/platform/plugins/estate-onboarding/PLUGIN.md +1 -2
  31. package/payload/platform/plugins/estate-sales/PLUGIN.md +1 -2
  32. package/payload/platform/plugins/estate-teaching/PLUGIN.md +1 -2
  33. package/payload/platform/plugins/leads/PLUGIN.md +1 -2
  34. package/payload/platform/plugins/listings/PLUGIN.md +1 -2
  35. package/payload/platform/plugins/loop/PLUGIN.md +1 -1
  36. package/payload/platform/plugins/scheduling/PLUGIN.md +1 -1
  37. package/payload/platform/plugins/teaching/PLUGIN.md +2 -1
  38. package/payload/platform/plugins/vendors/PLUGIN.md +1 -2
  39. package/payload/platform/plugins/whatsapp/mcp/dist/index.js +1 -1
  40. package/payload/platform/plugins/whatsapp/mcp/dist/index.js.map +1 -1
  41. package/payload/platform/plugins/whatsapp/skills/connect-whatsapp/SKILL.md +1 -1
  42. package/payload/platform/plugins/whatsapp/skills/manage-whatsapp-config/SKILL.md +2 -8
  43. package/payload/platform/plugins/writer-craft/PLUGIN.md +2 -1
  44. package/payload/platform/scripts/component-knowledgedoc-backfill.ts +1 -1
  45. package/payload/platform/services/claude-session-manager/dist/http-server.d.ts +1 -1
  46. package/payload/platform/services/claude-session-manager/dist/http-server.d.ts.map +1 -1
  47. package/payload/platform/services/claude-session-manager/dist/http-server.js +45 -31
  48. package/payload/platform/services/claude-session-manager/dist/http-server.js.map +1 -1
  49. package/payload/platform/services/claude-session-manager/dist/index.js +11 -0
  50. package/payload/platform/services/claude-session-manager/dist/index.js.map +1 -1
  51. package/payload/platform/services/claude-session-manager/dist/jsonl-observer.d.ts +30 -0
  52. package/payload/platform/services/claude-session-manager/dist/jsonl-observer.d.ts.map +1 -0
  53. package/payload/platform/services/claude-session-manager/dist/jsonl-observer.js +175 -0
  54. package/payload/platform/services/claude-session-manager/dist/jsonl-observer.js.map +1 -0
  55. package/payload/platform/services/claude-session-manager/dist/jsonl-path.d.ts +4 -2
  56. package/payload/platform/services/claude-session-manager/dist/jsonl-path.d.ts.map +1 -1
  57. package/payload/platform/services/claude-session-manager/dist/jsonl-path.js +15 -22
  58. package/payload/platform/services/claude-session-manager/dist/jsonl-path.js.map +1 -1
  59. package/payload/platform/services/claude-session-manager/dist/pty-spawner.d.ts +13 -0
  60. package/payload/platform/services/claude-session-manager/dist/pty-spawner.d.ts.map +1 -1
  61. package/payload/platform/services/claude-session-manager/dist/pty-spawner.js +26 -4
  62. package/payload/platform/services/claude-session-manager/dist/pty-spawner.js.map +1 -1
  63. package/payload/platform/services/claude-session-manager/dist/session-store.d.ts +9 -0
  64. package/payload/platform/services/claude-session-manager/dist/session-store.d.ts.map +1 -1
  65. package/payload/platform/services/claude-session-manager/dist/session-store.js.map +1 -1
  66. package/payload/platform/services/claude-session-manager/dist/system-prompt.d.ts +10 -7
  67. package/payload/platform/services/claude-session-manager/dist/system-prompt.d.ts.map +1 -1
  68. package/payload/platform/services/claude-session-manager/dist/system-prompt.js +51 -28
  69. package/payload/platform/services/claude-session-manager/dist/system-prompt.js.map +1 -1
  70. package/payload/platform/services/claude-session-manager/scripts/onboarding-advance.sh +61 -0
  71. package/payload/platform/services/claude-session-manager/scripts/onboarding-prompts/step-0.md +5 -0
  72. package/payload/platform/services/claude-session-manager/scripts/onboarding-prompts/step-1.md +3 -0
  73. package/payload/platform/services/claude-session-manager/scripts/onboarding-prompts/step-2.md +3 -0
  74. package/payload/platform/services/claude-session-manager/scripts/onboarding-prompts/step-3.md +8 -0
  75. package/payload/platform/services/claude-session-manager/scripts/onboarding-prompts/step-4.md +9 -0
  76. package/payload/platform/services/claude-session-manager/scripts/onboarding-prompts/step-5.md +3 -0
  77. package/payload/platform/services/claude-session-manager/scripts/onboarding-prompts/step-6.md +5 -0
  78. package/payload/platform/services/claude-session-manager/scripts/onboarding-prompts/step-7.md +5 -0
  79. package/payload/platform/services/claude-session-manager/scripts/onboarding-prompts/step-8.md +5 -0
  80. package/payload/platform/services/claude-session-manager/scripts/onboarding-prompts/step-9.md +8 -0
  81. package/payload/platform/services/claude-session-manager/scripts/onboarding-prompts/step-complete.md +3 -0
  82. package/payload/platform/services/claude-session-manager/scripts/onboarding-prompts/step-unreachable.md +3 -0
  83. package/payload/platform/templates/agents/public/IDENTITY.md +1 -1
  84. package/payload/platform/templates/specialists/agents/content-producer.md +3 -3
  85. package/payload/platform/templates/specialists/agents/personal-assistant.md +2 -2
  86. package/payload/premium-plugins/real-agent/BUNDLE.md +5 -5
  87. package/payload/premium-plugins/real-agent/agents/compliance.md +1 -1
  88. package/payload/premium-plugins/real-agent/agents/negotiator.md +1 -1
  89. package/payload/premium-plugins/real-agent/agents/valuer.md +1 -1
  90. package/payload/premium-plugins/real-agent/plugins/brochures/PLUGIN.md +1 -1
  91. package/payload/premium-plugins/real-agent/plugins/buyers/PLUGIN.md +1 -2
  92. package/payload/premium-plugins/real-agent/plugins/estate-business/PLUGIN.md +1 -2
  93. package/payload/premium-plugins/real-agent/plugins/estate-coaching/PLUGIN.md +1 -2
  94. package/payload/premium-plugins/real-agent/plugins/estate-onboarding/PLUGIN.md +1 -2
  95. package/payload/premium-plugins/real-agent/plugins/estate-sales/PLUGIN.md +1 -2
  96. package/payload/premium-plugins/real-agent/plugins/estate-teaching/PLUGIN.md +1 -2
  97. package/payload/premium-plugins/real-agent/plugins/leads/PLUGIN.md +1 -2
  98. package/payload/premium-plugins/real-agent/plugins/listings/PLUGIN.md +1 -2
  99. package/payload/premium-plugins/real-agent/plugins/loop/PLUGIN.md +1 -1
  100. package/payload/premium-plugins/real-agent/plugins/vendors/PLUGIN.md +1 -2
  101. package/payload/premium-plugins/teaching/PLUGIN.md +2 -1
  102. package/payload/premium-plugins/writer-craft/PLUGIN.md +2 -1
  103. package/payload/server/public/assets/{admin-CDvF5de6.js → admin-Bk2eXMFD.js} +24 -24
  104. package/payload/server/public/assets/{data-K_kS__sL.js → data-ll_OwVNL.js} +1 -1
  105. package/payload/server/public/assets/{graph-DeEigyO_.js → graph-DJ2VWioQ.js} +1 -1
  106. package/payload/server/public/assets/graph-labels-qhU8xZDH.js +1 -0
  107. package/payload/server/public/assets/{page-qSH972X0.js → page-Dk73ZO1F.js} +1 -1
  108. package/payload/server/public/assets/{page-B_rpjIRr.js → page-DsYsdBUK.js} +1 -1
  109. package/payload/server/public/data.html +3 -3
  110. package/payload/server/public/graph.html +3 -3
  111. package/payload/server/public/index.html +4 -4
  112. package/payload/server/server.js +121 -46
  113. package/payload/platform/plugins/admin/references/contextual-ui.md +0 -107
  114. package/payload/platform/scripts/__tests__/admin-persist-audit.test.ts +0 -182
  115. package/payload/server/public/assets/graph-labels-C7I5QvNv.js +0 -1
@@ -146,15 +146,15 @@ Before phone invitations can send SMS, the Brevo API key must be configured. Whe
146
146
 
147
147
  **Outcome:** Admin sees a structured list of all grants for the specified agent.
148
148
 
149
- Query all grants via `cypher-shell`, then present via `render-component` with `action-list`. Each item should include:
149
+ Query all grants via `cypher-shell`, then present as a numbered list in plain chat. Each item should include:
150
150
 
151
- - `id` grant element ID
152
- - `label` visitor's display name (fall back to contact value if no name)
153
- - `description` — "{contactMethod}: {contactValue} -- Expires: {date or 'Never'} -- Since: {createdAt}"
154
- - `status` — grant status (`invited`, `active`, `expired`, `revoked`)
155
- - `actions` "Revoke" and "Extend" buttons. Omit these actions for grants already in `revoked` or `expired` status.
151
+ - The grant element ID (so the admin can refer back to it).
152
+ - The visitor's display name, falling back to the contact value when no name is recorded.
153
+ - `{contactMethod}: {contactValue} Expires: {date or 'Never'} Since: {createdAt}`.
154
+ - Status (`invited`, `active`, `expired`, `revoked`).
155
+ - The available follow-up actions: "Revoke" and "Extend". Omit these actions for grants already in `revoked` or `expired` status.
156
156
 
157
- If no grants exist for the agent, say so in text rather than rendering an empty list.
157
+ If no grants exist for the agent, say so in text rather than emitting an empty list.
158
158
 
159
159
  ## Revoke Access
160
160
 
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  name: file-presentation
3
- description: "Render a file or document inline for the owner to view, edit, and download. Triggers when the owner asks to see, attach, or download a file, when content is generated that the owner needs to review (summary, report, draft), or when a downloadable artefact is the right output."
3
+ description: "Deliver a file or document to the owner inside chat for review and download. Triggers when the owner asks to see, attach, or download a file, when content is generated that the owner needs to review (summary, report, draft), or when a downloadable artefact is the right output."
4
4
  ---
5
5
 
6
6
  # File presentation
7
7
 
8
- This skill makes a file visible and downloadable inside the chat. It is the only sanctioned path for delivering file content to the owner. Synthesised content (a summary, a report, a draft) follows the same path: render via `document-editor` so the owner can review and download.
8
+ This skill makes a file visible and downloadable inside chat on the native Claude Code surface. Two delivery paths cover every case: a fenced markdown block for editable text content, and the `file-attach` tool for any file the operator should be able to download.
9
9
 
10
10
  ## The trigger
11
11
 
12
- The owner asks to view, review, attach, or download a file or a document, or the current turn produces a document that the owner needs to see. Example phrasings:
12
+ The owner asks to view, review, attach, or download a file or a document, or the current turn produces a document the owner needs to see. Example phrasings:
13
13
 
14
14
  - "show me the file"
15
15
  - "attach the report"
@@ -18,39 +18,23 @@ The owner asks to view, review, attach, or download a file or a document, or the
18
18
  - "send me the brochure"
19
19
  - "save that as a markdown file"
20
20
 
21
- ## How to render
21
+ ## How to deliver markdown text content
22
22
 
23
- Call `render-component` with:
23
+ For a synthesised document (a summary, a report, a draft, a knowledge-base article), present the content as a single fenced markdown block in chat:
24
24
 
25
+ ````
26
+ ```markdown
27
+ <the file content as markdown>
25
28
  ```
26
- name: "document-editor"
27
- data: {
28
- title: "<owner-facing title>",
29
- content: "<the file content as markdown>"
30
- }
31
- ```
32
-
33
- The component gives the owner a render-review-edit-download flow: they see the content inline, can edit it in place, and can download it as a `.md` file directly from the component. Do not use `memory-write`, `memory-ingest`, or other tools to deliver file content to the owner; those tools have different purposes and skipping the render-review-download flow takes control away from the owner.
34
-
35
- ## Character sanitisation: the silent-failure rule
36
-
37
- The document-editor's markdown parser fails silently on these typographical characters:
29
+ ````
38
30
 
39
- | Character | Unicode | Replace with |
40
- |---|---|---|
41
- | em-dash | U+2014 | hyphen with spaces |
42
- | en-dash | U+2013 | hyphen with spaces |
43
- | left curly double quote | U+201C | straight double quote |
44
- | right curly double quote | U+201D | straight double quote |
45
- | left curly single quote | U+2018 | straight single quote |
46
- | right curly single quote | U+2019 | straight single quote |
47
- | horizontal ellipsis | U+2026 | three periods |
31
+ The operator reads the block inline, copy-edits in their next message if changes are needed, and approves before any persistence step. Do not call `memory-write`, `memory-ingest`, or other writers before the operator has approved the content; those tools have different purposes and skipping the review step takes control away from the owner.
48
32
 
49
- Strip and replace these characters in the `content` field before the `render-component` call. The owner does not see a partial render or a warning; the content just silently breaks at the offending character. Currency symbols (£, ), accented characters, and other Unicode are unaffected: use them normally.
33
+ When the operator approves and the document should land on disk or in the graph, use the appropriate writer (`store-skill` for skill files under the active account, the relevant graph writer for `:KnowledgeDocument` nodes). Always state the destination before writing.
50
34
 
51
- ## When the file is a binary
35
+ ## How to deliver a downloadable file
52
36
 
53
- For PDF, image, audio, or any binary deliverable, use `file-attach` plus `render-component` with `name: file-attachment` and pass the returned path. The document-editor component is for editable markdown text only.
37
+ For any file the operator should be able to download (PDF, image, audio, a `.zip`, a `.md` artefact saved to disk, an `.ics` calendar export), call `file-attach` with the path. The tool returns the attachment reference and the chat client renders the download chip inline. No component wrapper is needed; `file-attach` is the delivery mechanism on the native Claude Code surface.
54
38
 
55
39
  ## For static-site delivery
56
40
 
@@ -58,10 +42,9 @@ When the owner has uploaded a `.zip` containing HTML and assets and wants it hos
58
42
 
59
43
  ## Failure modes
60
44
 
61
- - **Content is too large for the component** (typically over 50,000 characters of markdown). Surface the size and offer to split into sections, save as an attachment, or render only the first section with a follow-up for the rest.
62
- - **`render-component` returns an error.** Surface the error literally. Do not paste the content into chat as a fallback; the owner asked for the render-review-download flow, not a wall of text.
63
- - **The content contains characters the parser rejects after the sanitisation pass** (rare; usually a non-printable control character). Strip the offending characters and surface a one-line warning naming the position.
45
+ - **Content is too large for one chat block** (typically over 50,000 characters of markdown). Surface the size and offer to split into sections, save as a `.md` file and `file-attach` it, or present only the first section with a follow-up for the rest.
46
+ - **`file-attach` returns an error.** Surface the error literally. Do not paste binary contents or a base64 dump into chat as a fallback; the owner asked for a download, not a wall of bytes.
64
47
 
65
48
  ## What this skill does not do
66
49
 
67
- It does not write the content to the graph. It does not save the content to disk. The component handles the download path; the owner downloads what they edited in the component.
50
+ It does not write content to the graph or to disk on its own. The fenced-block path is a review surface; persistence is a separate, named tool call that follows operator approval.
@@ -42,7 +42,7 @@ Premium plugins are purchased separately and delivered from a staging area to th
42
42
 
43
43
  ### Browsing available premium plugins
44
44
 
45
- Call `premium-list`. It returns structured data for every plugin in the staging area: name, type (standalone/bundle), description, purchase status, and delivery status (per sub-plugin for bundles). Present the results using `render-component` with the `card` type.
45
+ Call `premium-list`. It returns structured data for every plugin in the staging area: name, type (standalone/bundle), description, purchase status, and delivery status (per sub-plugin for bundles). Present the results as a plain numbered list, one entry per plugin, naming the plugin, its type, its description, its purchase status, and (for bundles) the delivery status of each sub-plugin.
46
46
 
47
47
  ### Plugin info before purchase
48
48
 
@@ -92,7 +92,7 @@ Only present plugins from the curated list below. Before presenting, verify each
92
92
  | `sales` | Buying signal detection, closing techniques, objection handling |
93
93
  | `docs` | User guide and platform documentation |
94
94
 
95
- **Premium — Real Agency (only when delivered):**
95
+ **Premium — Real Agent (only when delivered):**
96
96
 
97
97
  | Plugin | Description |
98
98
  |--------|-------------|
@@ -268,7 +268,7 @@ Invoke the agent with `[New session. Greet the visitor.]` and stream the respons
268
268
 
269
269
  ## Self-Contained Constraint
270
270
 
271
- Public agents run via the direct Anthropic API. They have no filesystem access, no MCP tools, no subagents. The only tool is `render-component` (single-select and multi-select). Everything the agent needs must be in its directory files. The platform assembles these into the system prompt at invocation time.
271
+ Public agents run on the same native Claude Code PTY surface as the admin agent. They have no filesystem access, no MCP write tools, no subagents every tool is on a read-only or otherwise public-safe allowlist that the manager passes to the spawn as `--allowed-tools`. Everything the agent needs to say must come from its directory files or from the public-safe tool surface. The platform assembles directory files into the system prompt at invocation time.
272
272
 
273
273
  ## URL Routing
274
274
 
@@ -29,7 +29,7 @@ Tags identify the event type. Key tags:
29
29
  | `heartbeat` | Long-running session keepalive. |
30
30
  | `active` / `disabled` / `unchanged` | Plugin/tool status during init. |
31
31
  | `expanded` | Skill or slash command expanded. |
32
- | `render-component` / `browser-viewer` | UI component rendered in response. |
32
+ | `browser-viewer` | VNC browser-viewer surface mounted on the chat. |
33
33
 
34
34
  ### Raw JSON lines
35
35
 
@@ -117,7 +117,7 @@ These indicate degraded behaviour or potential problems that didn't cause outrig
117
117
  |---------|--------------|
118
118
  | **Subagent dispatched** | `[subagent-start]` / `[agent-dispatch]` lines |
119
119
  | **Skill expanded** | `[expanded]` line |
120
- | **UI component rendered** | `[render-component]` / `[browser-viewer]` lines |
120
+ | **VNC browser-viewer mounted** | `[browser-viewer]` lines |
121
121
  | **Session completed successfully** | `result` JSON with `is_error: false` |
122
122
 
123
123
  ## Diagnosis Heuristics
@@ -15,9 +15,7 @@ Obtain an API key from the Anthropic Console (platform.claude.com) on behalf of
15
15
 
16
16
  ## Steps
17
17
 
18
- 1. **Show the browser.** Call `render-component` with:
19
- - `name: "browser-viewer"`
20
- - `data: { title: "Anthropic Console" }`
18
+ 1. **Surface the VNC browser to the user.** Tell the user the Anthropic Console will appear in the VNC browser that is already mounted in the chat (no further tool call is needed; the chat surface mounts the VNC view automatically when a personal-assistant subagent is dispatched against `platform.claude.com`). If the VNC browser is not currently visible, ask the user to open the brand's VNC URL and confirm before proceeding.
21
19
 
22
20
  2. **Dispatch personal-assistant for sign-in check and billing assessment.** Use the Agent tool with `specialists:personal-assistant` as the subagent type. Brief:
23
21
 
@@ -124,7 +122,7 @@ Handle the result the same as step 7.
124
122
 
125
123
  ## Important
126
124
 
127
- - **`render-component` is required before any personal-assistant dispatch.** The browser-viewer component is what makes the VNC browser visible to the user. Without it, automation runs invisibly. Always call `render-component` with `name: "browser-viewer"` and confirm it renders before dispatching a personal-assistant subagent.
125
+ - **Confirm the VNC browser is visible before dispatching the personal-assistant.** Without VNC mounted in the chat, automation runs invisibly and the user has no way to see what the specialist is doing. If the VNC view is missing, ask the user to open the brand's VNC URL in the chat and confirm it is showing the desktop before continuing.
128
126
  - **Credits before keys.** Never create an API key before confirming that credits are loaded on the account. A key created on a zero-balance account is permanently non-functional.
129
127
  - The browser is visible to the user via VNC. They can see everything the specialist does.
130
128
  - The user must sign in themselves — the specialist does not fill credentials.
@@ -5,7 +5,7 @@ tools: []
5
5
  metadata: {"platform":{"optional":true,"embed":["admin"]}}
6
6
  ---
7
7
 
8
- # Real Agency — Brochures
8
+ # Real Agent — Brochures
9
9
 
10
10
  End-to-end estate-agent brochure pipeline. From an agent website URL and a property listing URL, the skills produce a print-ready A4 PDF brochure plus the live HTML used to author it. The pipeline is idempotent: each upstream step is skipped when its output already exists on disk for the requested source.
11
11
 
@@ -6,7 +6,7 @@ always: false
6
6
  metadata: {"platform":{"optional":true,"embed":["public","admin"]}}
7
7
  ---
8
8
 
9
- # Real Agency — Buyer Management
9
+ # Real Agent — Buyer Management
10
10
 
11
11
  Five skills covering the complete buyer lifecycle from initial enquiry through viewing management and educational content.
12
12
 
@@ -28,7 +28,6 @@ The user is handling buyer enquiries, qualifying applicants, managing viewings,
28
28
 
29
29
  No MCP server. Skills operate via existing platform tools:
30
30
  - `memory-search` — retrieve domain knowledge from the knowledge base
31
- - `render-component` — present structured choices during interactions
32
31
 
33
32
  ## References
34
33
 
@@ -50,7 +50,7 @@ If the anchor is missing, ask for it in one sentence: "Mirror against the busine
50
50
  ## Chapter 2: ...
51
51
  ```
52
52
 
53
- Render the pack via `render-component name: document-editor` for owner review before saving. The owner can edit any chapter inline before the save. Once approved, write to the graph.
53
+ Present the assembled pack as a single fenced markdown block in chat for owner review before saving. The owner reads the pack inline and can ask for chapter-level edits in their next message. Once the owner approves, write to the graph.
54
54
 
55
55
  ## Length discipline
56
56
 
@@ -52,7 +52,7 @@ If `lens` is missing, ask once: "Through which lens: a project, a goal, or a pro
52
52
  ... (three to seven items)
53
53
  ```
54
54
 
55
- Render the pack via `render-component name: document-editor` for review before save.
55
+ Present the assembled pack as a single fenced markdown block in chat for owner review before save. The owner reads it inline and can ask for section-level edits in their next message. On approval, write to the graph.
56
56
 
57
57
  ## Difference from book-mirror
58
58
 
@@ -81,11 +81,11 @@ Brand decides which premium plugins ship. Maxy installs ship only `platform/plug
81
81
 
82
82
  **How it works:** Every boot {{productName}} delivers the brand's premium plugins from staging into `platform/plugins/` and stamps `enabledPlugins` against what is actually on disk. No conversation needed — the brand's full set is active from the first turn after install. Updates and reinstalls re-deliver from staging.
83
83
 
84
- Some premium plugins are **bundles** — multiple sub-plugins shipped under one directory in `premium-plugins/`, each independently activatable. For example, Real Agency ships 11 sub-plugins covering different aspects of estate agency work. They are all enabled by default. Sub-plugins you don't want active can be turned off individually with "disable <name>"; enabling or disabling individual sub-plugins does not affect the others.
84
+ Some premium plugins are **bundles** — multiple sub-plugins shipped under one directory in `premium-plugins/`, each independently activatable. For example, Real Agent ships 11 sub-plugins covering different aspects of estate agency work. They are all enabled by default. Sub-plugins you don't want active can be turned off individually with "disable <name>"; enabling or disabling individual sub-plugins does not affect the others.
85
85
 
86
86
  If you ask {{productName}} about a tool from a plugin your brand does not ship (for example, a Maxy install asking about a Real Agent Loop CRM tool), {{productName}} responds with a structured `<tool-surface-error>` envelope naming the missing plugin and the remedy, rather than improvising with a generic alternative.
87
87
 
88
- **Public agent embedding:** Premium plugins marked as public-eligible have their full content (skills and reference knowledge) embedded in public agent prompts. This means a public agent for a Real Agency member can handle buyer enquiries, book viewings, deliver coaching content, and onboard new applicants — all powered by the premium plugin's domain knowledge. Plugins marked admin-only (listings, vendors, leads, business) are only available to the account owner's admin agent.
88
+ **Public agent embedding:** Premium plugins marked as public-eligible have their full content (skills and reference knowledge) embedded in public agent prompts. This means a public agent for a Real Agent member can handle buyer enquiries, book viewings, deliver coaching content, and onboard new applicants — all powered by the premium plugin's domain knowledge. Plugins marked admin-only (listings, vendors, leads, business) are only available to the account owner's admin agent.
89
89
 
90
90
  Some premium plugins include specialist helpers that {{productName}} can dispatch for specific tasks (e.g. the writer-craft plugin includes a manuscript reviewer). These are activated automatically when the plugin is enabled.
91
91
 
@@ -4,9 +4,7 @@ Full reference for the email plugin. Load with `plugin-read` when detailed confi
4
4
 
5
5
  ## Setup
6
6
 
7
- Collect email credentials via a form. Render this `form` component with `render-component`:
8
-
9
- **Fields:**
7
+ Collect email credentials in plain chat, one field at a time or as a numbered checklist the operator fills in:
10
8
 
11
9
  | name | label | type | required | placeholder |
12
10
  |------|-------|------|----------|-------------|
@@ -22,7 +20,7 @@ Collect email credentials via a form. Render this `form` component with `render-
22
20
 
23
21
  The `agentAddress` field is for catchall/alias setups where the authentication email differs from the address the agent operates as. Leave empty when they're the same.
24
22
 
25
- After form submission, pass all fields to `email-setup`. On success, confirm "credentials stored" and the inbox count. On failure, relay the diagnostic — the tool returns specific guidance (wrong password, connection refused, TLS mismatch).
23
+ After the operator confirms all values, pass them to `email-setup`. On success, confirm "credentials stored" and the inbox count. On failure, relay the diagnostic — the tool returns specific guidance (wrong password, connection refused, TLS mismatch).
26
24
 
27
25
  The agent never displays stored passwords. Never name or recommend specific email providers — the form collects the standard fields every provider gives its users.
28
26
 
@@ -154,9 +152,7 @@ When enabled, a public agent replies to incoming emails. The auto-respond binary
154
152
 
155
153
  ### Setup
156
154
 
157
- To enable auto-respond, call `email-auto-respond-config` with `enabled: true`. The tool requires an `agentSlug` render a `single-select` component with available public agents so the admin can choose which agent handles responses. The tool returns the agent list when called without a slug.
158
-
159
- When called without an `agentSlug`, the tool returns available agents. Present these as a `single-select` component for the admin to choose from, then call the tool again with the selected slug.
155
+ To enable auto-respond, call `email-auto-respond-config` with `enabled: true`. The tool requires an `agentSlug`. When called without a slug, the tool returns available public agents — present these as a numbered list in plain chat so the admin can choose which agent handles responses, then call the tool again with the selected slug.
160
156
 
161
157
  ### Configuration
162
158
 
@@ -30,7 +30,7 @@ always: false
30
30
  metadata: {"platform":{"optional":true,"embed":["admin"]}}
31
31
  ---
32
32
 
33
- # Real Agency, Month-End and Business Operations
33
+ # Real Agent, Month-End and Business Operations
34
34
 
35
35
  Eight skills covering month-end close and commission (the master workflow plus three building blocks) and the existing business operations skills.
36
36
 
@@ -56,7 +56,6 @@ The user is asking for the monthly close, the commission run, reconciliation aga
56
56
  No MCP server. Skills operate via existing platform tools:
57
57
 
58
58
  - `memory-search` for domain knowledge
59
- - `render-component` for structured choices
60
59
  - `profile-read` and `profile-update` for the customisation profile
61
60
  - `action-pending`, `action-approve`, `action-reject`, `action-edit` for the writeoff, journal, payment-batch, and accountant-pack approval gates
62
61
 
@@ -6,7 +6,7 @@ always: false
6
6
  metadata: {"platform":{"optional":true,"embed":["public","admin"]}}
7
7
  ---
8
8
 
9
- # Real Agency — Coaching & Development
9
+ # Real Agent — Coaching & Development
10
10
 
11
11
  Four skills covering people development — from individual coaching through team performance management and structured sales training.
12
12
 
@@ -48,7 +48,6 @@ Each skill inherits this boundary. When a conversation crosses from coaching int
48
48
 
49
49
  No MCP server. Skills operate via existing platform tools:
50
50
  - `memory-search` — retrieve domain knowledge from the knowledge base
51
- - `render-component` — present structured choices during interactions
52
51
 
53
52
  ## References
54
53
 
@@ -6,7 +6,7 @@ always: false
6
6
  metadata: {"platform":{"optional":true,"embed":["public","admin"]}}
7
7
  ---
8
8
 
9
- # Real Agency — Onboarding
9
+ # Real Agent — Onboarding
10
10
 
11
11
  First-run member setup — turning a new conversation into a profiled member with a clear starting point in the curriculum.
12
12
 
@@ -24,7 +24,6 @@ The user is going through initial onboarding (career stage assessment, profile s
24
24
 
25
25
  No MCP server. Skills operate via existing platform tools:
26
26
  - `memory-search` — retrieve domain knowledge from the knowledge base
27
- - `render-component` — present structured choices during interactions
28
27
 
29
28
  ## References
30
29
 
@@ -19,7 +19,7 @@ always: false
19
19
  metadata: {"platform":{"optional":true,"embed":["public","admin"]}}
20
20
  ---
21
21
 
22
- # Real Agency, Chase Progression and Sales
22
+ # Real Agent, Chase Progression and Sales
23
23
 
24
24
  Seven skills covering chain progression (the headline workflow) and the existing sales cycle.
25
25
 
@@ -44,7 +44,6 @@ The user is working on stalled deals, chain progression, fall-through risk, sale
44
44
  No MCP server. Skills operate via existing platform tools:
45
45
 
46
46
  - `memory-search` for domain knowledge
47
- - `render-component` for structured choices
48
47
  - `profile-read` and `profile-update` for the customisation profile
49
48
  - `action-pending`, `action-approve`, `action-reject`, `action-edit` for the per-message approval gates in chase-progression
50
49
 
@@ -6,7 +6,7 @@ always: false
6
6
  metadata: {"platform":{"optional":true,"embed":["public","admin"]}}
7
7
  ---
8
8
 
9
- # Real Agency — Teaching & Content
9
+ # Real Agent — Teaching & Content
10
10
 
11
11
  Structured content delivery from the Real Agency curriculum. Handles module browsing, topic search, interactive teaching, and progress tracking.
12
12
 
@@ -24,7 +24,6 @@ The user is browsing available content, asking about a topic, requesting a speci
24
24
 
25
25
  No MCP server. Skills operate via existing platform tools:
26
26
  - `memory-search` — retrieve domain knowledge from the knowledge base
27
- - `render-component` — present structured choices during interactions
28
27
 
29
28
  ## References
30
29
 
@@ -29,7 +29,7 @@ always: false
29
29
  metadata: {"platform":{"optional":true,"embed":["admin"]}}
30
30
  ---
31
31
 
32
- # Real Agency, Lead Generation and Morning Round
32
+ # Real Agent, Lead Generation and Morning Round
33
33
 
34
34
  Six skills: four covering the daily morning round (master plus building blocks) and two covering longer-horizon lead nurturing and prospecting.
35
35
 
@@ -53,7 +53,6 @@ The user is asking for the morning round, the daily brief, the day's diary, over
53
53
  No MCP server. Skills operate via existing platform tools:
54
54
 
55
55
  - `memory-search` to retrieve domain knowledge from the knowledge base
56
- - `render-component` to present structured choices during interactions
57
56
  - `profile-read` and `profile-update` for the customisation profile
58
57
  - `task-create` to file an open task when a chase needs deferring
59
58
 
@@ -61,7 +61,7 @@ always: false
61
61
  metadata: {"platform":{"optional":true,"embed":["admin"]}}
62
62
  ---
63
63
 
64
- # Real Agency, Valuations and New Instructions
64
+ # Real Agent, Valuations and New Instructions
65
65
 
66
66
  Fifteen skills covering the two listings-side master workflows (valuation-prep, new-instruction) plus the listing-presentation and marketing skills.
67
67
 
@@ -94,7 +94,6 @@ The user is preparing for a valuation or market appraisal, has just won an instr
94
94
  No MCP server. Skills operate via existing platform tools:
95
95
 
96
96
  - `memory-search` for domain knowledge
97
- - `render-component` for structured choices
98
97
  - `profile-read` and `profile-update` for the customisation profile
99
98
  - `action-pending`, `action-approve`, `action-reject`, `action-edit` for the eight approval gates in new-instruction
100
99
 
@@ -73,7 +73,7 @@ always: false
73
73
  metadata: {"platform":{"optional":true,"embed":["admin"]}}
74
74
  ---
75
75
 
76
- # Real Agency — Loop CRM
76
+ # Real Agent — Loop CRM
77
77
 
78
78
  Full integration with Loop CRM V2 API (api.loop.software). Covers all 73 endpoints across 8 resource groups — properties, people, viewings, feedback, team, marketing, customer preferences, and supplier operations. Supports both read and write operations.
79
79
 
@@ -104,7 +104,7 @@ The `sessionKey` parameter on `schedule-event` automatically creates the `PART_O
104
104
 
105
105
  ## ICS calendar files
106
106
 
107
- Export events as `.ics` files so users can add them to Apple Calendar, Google Calendar, or Outlook. Use `schedule-export-ics` with the event IDs, then `file-attach` with the returned path and `render-component file-attachment` to deliver the download.
107
+ Export events as `.ics` files so users can add them to Apple Calendar, Google Calendar, or Outlook. Use `schedule-export-ics` with the event IDs, then `file-attach` with the returned path; the chat client renders the download chip inline.
108
108
 
109
109
  Import `.ics` files uploaded by the user. Use `schedule-import-ics` with the attachment path. Present the extracted events for confirmation before creating them via `schedule-event`.
110
110
 
@@ -40,7 +40,8 @@ The user wants to:
40
40
  No MCP server. Skills operate via existing platform tools:
41
41
  - `memory-search` — retrieve subject content from the knowledge base
42
42
  - `image_generate` — create visual aids, diagrams, and infographics
43
- - `render-component` — present structured choices during context gathering
43
+
44
+ Structured choices are presented as numbered lists in plain chat — the platform has no inline-UI component primitive on the admin / native-CC surface.
44
45
 
45
46
  ## References
46
47
 
@@ -6,7 +6,7 @@ always: false
6
6
  metadata: {"platform":{"optional":true,"embed":["admin"]}}
7
7
  ---
8
8
 
9
- # Real Agency — Vendor Management
9
+ # Real Agent — Vendor Management
10
10
 
11
11
  Four skills covering the active vendor lifecycle from valuation enquiry through offer negotiation.
12
12
 
@@ -27,7 +27,6 @@ The user is managing vendor relationships — handling valuation requests, provi
27
27
 
28
28
  No MCP server. Skills operate via existing platform tools:
29
29
  - `memory-search` — retrieve domain knowledge from the knowledge base
30
- - `render-component` — present structured choices during interactions
31
30
 
32
31
  ## References
33
32
 
@@ -32,7 +32,7 @@ function textResult(text, isError = false) {
32
32
  };
33
33
  }
34
34
  // ─── whatsapp-login-start ──────────────────────────────────────────────
35
- server.tool("whatsapp-login-start", "Start WhatsApp QR code pairing. Initiates a Baileys WebSocket, generates a QR code for the user to scan with their phone. QR code renders automatically in the chat do not call render-component.", {
35
+ server.tool("whatsapp-login-start", "Start WhatsApp QR code pairing. Initiates a Baileys WebSocket and generates a QR code the user scans with their phone. The QR image is delivered to the chat surface automatically by the manager.", {
36
36
  accountId: z.string().optional().describe('Account ID (default: "default")'),
37
37
  force: z.boolean().optional().describe("Force re-link even if already connected"),
38
38
  }, async ({ accountId, force }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,aAAa,CAAC,UAAU,CAAC,CAAC;AAE1B,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;AAEtD,MAAM,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC;AAChD,IAAI,CAAC,aAAa,EAAE,C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,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"}
@@ -21,7 +21,7 @@ Call `whatsapp-status` first to check the current state. If already connected, t
21
21
 
22
22
  1. **Initiate pairing** — call `whatsapp-login-start`. If the account is already linked and the user didn't say "relink", inform them and skip to Phase 2.
23
23
 
24
- 2. **QR code renders automatically** — the tool displays the QR code inline in the chat. Do not call `render-component` for QR. Tell the user: "Open WhatsApp on your phone → Settings → Linked Devices → Link a Device → Scan this QR code."
24
+ 2. **QR code renders automatically** — the tool delivers the QR image to the chat surface inline. Tell the user: "Open WhatsApp on your phone → Settings → Linked Devices → Link a Device → Scan this QR code."
25
25
 
26
26
  3. **Wait for scan** — call `whatsapp-login-wait`. This polls for up to 60 seconds. While waiting, tell the user you're watching for the scan.
27
27
 
@@ -21,17 +21,11 @@ Call `whatsapp-config action: schema` to get field definitions with descriptions
21
21
 
22
22
  ### Form fields
23
23
 
24
- Present settings as a `render-component` form. Each field must have a unique `name` matching the schema field name (used as the state key and the `update-config` field key), a `type`, a `label` (plain English), and a `description` (from schema output). For selects, specify `options`. For all fields, set `defaultValue` from `get-config` (current value) or the schema default.
24
+ 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`.
25
25
 
26
26
  **Admin phones:**
27
27
 
28
- Call `whatsapp-config action: list-admin-phones` and include the result as a `list` field in the form:
29
- - `name: "adminPhones"`, `type: "list"`, `label: "Admin phone numbers"`
30
- - `defaultValue`: the array returned by `list-admin-phones`
31
- - `addMessage`: `"Add admin phone {{value}}"`
32
- - `removeMessage`: `"Remove admin phone {{value}}"`
33
- - `addPlaceholder`: `"+44..."`
34
- - `description`: from the schema's `.describe()` metadata
28
+ Call `whatsapp-config action: list-admin-phones` and present the current list. Ask the operator which phones to add (`+44…` format) and which to remove. Apply each change via `whatsapp-config action: add-admin-phone` / `remove-admin-phone`. Confirm the resulting list to the operator after the writes land.
35
29
 
36
30
  Each add/remove fires immediately — admin phones are managed per-action, independent of the form's batch submit.
37
31