@awesomate/hosting-mcp 0.172.28 → 0.172.33

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awesomate/hosting-mcp",
3
- "version": "0.172.28",
3
+ "version": "0.172.33",
4
4
  "description": "Awesomate MCP server — lets Claude manage your Awesomate WordPress hosting, plan, limits, n8n automations, and build Node/static apps + databases",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -1,5 +1,10 @@
1
1
  {
2
2
  "versions": [
3
+ {"version": "0.172.33", "highlights": ["awesomate_agents_change request_live {agentId, baseHash}: asks the owner to make an agent's draft live with a one-tap card in Tasks, for exactly that draft. Their yes in the hub makes it live; if the draft changes first, the card closes. Asking again for the same draft answers the card already waiting.", "A change that widens what an agent may do alone (a new website setting, an action ticked for the website) is now put to the owner as a one-tap card in Tasks that applies exactly what was asked, instead of a note to go and make the change themselves. The owner says yes in the hub; their chat app shows the card as a link."]},
4
+ {"version": "0.172.32", "highlights": ["Let Claude act for you: where the account owner has switched it on for their own Claude Code key (the Claude page in the hub), Claude can finish jobs that were the owner's own clicks, in the areas they ticked. awesomate_get_context reports it as delegation {areas, endsAt}. New actions: awesomate_agents_change make_live, awesomate_business_map_change apply_own, awesomate_ai_visibility_change approve_questions and weekly, awesomate_support_desk_change accept_proposal. The hub checks every use and each one goes on the owner's daily card of what Claude changed. No tool grants, widens or extends it.", "New tools awesomate_google_analytics (where Google Analytics stands for each hosted site, and check_tags) and awesomate_google_analytics_change (setup and install_tag, while the owner lets Claude act for them in Google). Connecting Google and choosing the property stay the owner's.", "approve_questions keeps the name and other names a site already has when you leave them out.", "New guide: Let Claude act for you. It is being switched on for accounts a few at a time."]},
5
+ {"version": "0.172.31", "highlights": ["awesomate_notifications now says what it leaves out: website chat alerts (a visitor's chat your AI is answering) stay in the hub and read_all leaves them for your team, and the Inbox's own alerts (a customer waiting, a reply waiting) reach only people who can open the Inbox. So the bell in the hub can show more than Claude does."]},
6
+ {"version": "0.172.30", "highlights": ["With your own design for forms (early access), Claude can turn a sign-up form or lead magnet on for you: awesomate_crm_forms preview shows the form exactly as visitors get it, with its thank-you and download email, and awesomate_crm_forms_change on turns it on. Only from your own key or the key of someone you named, only after you have seen it and said yes, and only when you type your account's name back. You are told each time a key turns a form on, and off pauses it again. A webinar's form is still turned on by its webinar, in the hub."]},
7
+ {"version": "0.172.29", "highlights": ["An email can have its own design (early access): awesomate_crm_email_change draft and update take design {mjml}, written in MJML on your brand's tokens with the words as live text. The hub checks it (nothing hidden, no scripts, pictures only from your Files or your own websites) and answers its words and findings; design_check checks one without saving. Reusable designs are templates: template_save and template_remove, listed by awesomate_crm_email read templates. Approving and sending a designed email follows in a later release."]},
3
8
  {"version": "0.172.28", "highlights": ["A sign-up form can have its own design: Claude writes its HTML and CSS on your brand's colour and font tokens with awesomate_crm_forms_change design, the hub cleans and checks it (no scripts, nothing loaded from elsewhere, pictures only from your Files or your own websites) and keeps the consent words, small print and thank-you in its own words. Read it back with awesomate_crm_forms preview. A new design on a form that is on goes back to draft until an approver turns it on again. Early access only (Your own design for forms and emails)."]},
4
9
  {"version": "0.172.27", "highlights": ["Claude designs emails, forms, campaign pictures and widgets in your own brand look, not just pages: the awesomate-design skill now has a guide for each (email, forms, campaigns, widgets and pictures), picks a button colour for your booking box, form and website chat that stays readable, and checks each piece against its own list before you see it. Show Claude a screenshot of an email or page you like, or point it at your own Canva design (with Canva connected in your Claude), and it rebuilds the layout and style in your colours, as real text, with your own pictures saved into your Files. It copies the layout only, never another business's logo, photos or words. On the claude.ai and ChatGPT connector, Claude follows your brand look before designing. Run awesomate_skill_update to get it."]},
5
10
  {"version": "0.172.26", "highlights": ["Claude knows which look to use before it designs anything: awesomate_get_context now carries design, saying for each of your brands whether to follow your design system, the look saved on Your business, or to ask you, and what is still missing. awesomate_business read 'look' gives one brand's colours, font and logo as ready-to-use tokens and CSS variables (--aw-primary, --aw-font and the rest), any warnings, and the design rule Claude follows. It also works on the claude.ai and ChatGPT connector. With nothing saved, Claude asks rather than inventing a look."]},
@@ -177,6 +177,26 @@ clears it.
177
177
  - **Figures from an automation** reach a KPI only once its workflow is a helper
178
178
  on a role.
179
179
 
180
+ ## 5a. When the owner lets you act for them
181
+
182
+ `awesomate_get_context` carries `delegation` (`{areas, endsAt}` or `null`).
183
+ With `map` in `areas`, `awesomate_business_map_change` `apply_own {id}` applies
184
+ a change THIS key proposed (its `changeId`), checked against the map as it is
185
+ now. Only the changes Claude may make for the owner: adding a role nobody
186
+ holds yet, renaming a role or rewording its mission, rewording a process or
187
+ naming the helper that does it, a helper's notes, priorities, procedures, the
188
+ customer's path, and department and sub-department names and order.
189
+
190
+ - **Never** people, who holds a role (a person or a helper), levels, approval
191
+ limits, who reports to whom, who sees what, or the owner's own role. Those
192
+ answer `owner_decides` and stay waiting in Tasks: tell the user so.
193
+ - `null`, or no `map` in `areas`: propose as usual and say it waits for the
194
+ owner. Never treat `null` as yes.
195
+ - A refusal (`not_your_proposal`, `not_delegated`, `delegation_ended`,
196
+ `no_longer_valid`) changed nothing: relay its sentence.
197
+ - Say it is made only when `apply_own` answered without an error, and that it
198
+ is on the owner's daily "What Claude changed" card.
199
+
180
200
  ## 6. Hub agents (the agent builder at /agents/<id>/build)
181
201
 
182
202
  These are not configured by the `awesomate_knowledge_*` tools, which edit the
@@ -184,7 +204,10 @@ Knowledge agent's instructions, scope and answers. A hub agent's actions and
184
204
  skills are drafted with `awesomate_agents` (read: `list`, `get`, `workflows`; `try` has the draft answer one message)
185
205
  and `awesomate_agents_change` (`add_action`, `update_action`, `remove_action`,
186
206
  `add_skill`, `update_skill`, `remove_skill`, `test_action`): every change lands
187
- in the draft, and going live is always the owner's click or yes in the hub.
207
+ in the draft, and going live is the owner's click or yes in the hub, unless
208
+ the owner lets this key act for them in Agents (`delegation.areas` in
209
+ `awesomate_get_context` includes `agents`; the awesomate-hosting skill, section
210
+ 3a, has the rules): then `make_live` does it.
188
211
  What an action's workflow needs:
189
212
  - it starts with an enabled "When executed by another workflow" trigger;
190
213
  - its input names are lower case (`^[a-z][a-z0-9_]{0,63}$`) and each is text, a
@@ -36,6 +36,14 @@ When `awesomate_crm_forms_change` offers a `design` field, a form can carry its
36
36
  the brand's `--aw-*` tokens, with the hub's working parts written into it. Follow that tool's
37
37
  description for the slots it needs; until it offers one, don't write form HTML.
38
38
 
39
+ The legal parts are sealed and branded for you: each list's tick box and its words, the small print
40
+ and privacy link, the error messages and the thank-you are drawn by the form inside a sealed box your
41
+ CSS cannot reach, in the brand's text font, with dark or light text on a solid background of its own,
42
+ at 14px. Your design only places their slots (`data-aw="lists"`, `small-print`, `error`, `thanks`):
43
+ where they sit, never how they look, so don't style inside them. Design the fields and the button
44
+ freely on the tokens. On each visitor's browser the form checks every part can be read and used where
45
+ it sits (not covered, not squeezed, not shrunk), and shows the standard form instead if one cannot.
46
+
39
47
  ## Check it
40
48
 
41
49
  Run the form lines in [critique.md](critique.md) at 375 px and desktop: the consent words and small
@@ -50,11 +50,18 @@ You prepare. A person decides. Say this early, in one line, so nobody thinks it
50
50
  | The first real sign-up | The owner, with their own email address |
51
51
 
52
52
  Never say the form is live, working or "set up" until `awesomate_crm_forms get` shows
53
- `status: on`. Never turn a form on yourself: no tool does, on purpose, with one
54
- exception: a comment-to-DM campaign (kind `campaign`): read its review with `awesomate_crm_forms`
55
- `review`, show the person the DM for each platform and every email word for word, and only on
56
- their yes call `awesomate_crm_forms_change` `on` with the review's `review_token`, its `version`, and
57
- the account slug they type back (the review's `confirm_with`) passed as `confirm`. Never call `on` unprompted, and never with a token you did not just show.
53
+ `status: on`. Never turn a form on unless the person asks you to, and then only two ways:
54
+ - A comment-to-DM campaign (kind `campaign`): read its review with `awesomate_crm_forms` `review`,
55
+ show the person the DM for each platform and every email word for word.
56
+ - A sign-up form or lead magnet, when the account has its own design for forms: read
57
+ `awesomate_crm_forms` `preview`, show the person the form exactly as visitors get it (its title,
58
+ fields, each list's tick-box words, the small print, the button and its design), the `thank_you`
59
+ a visitor reads after sending, and for a lead magnet the download email (`delivery_email`).
60
+ Only on their yes call `awesomate_crm_forms_change` `on` with the read's `review_token`, its
61
+ `version`, and the account slug they type back (`confirm_with`) passed as `confirm`. Only the owner's
62
+ own key or a named approver's can; when the read gives no `review_token`, its `turn_on` says why and
63
+ the approver turns it on at `review_url`. Never call `on` unprompted, and never with a token you did
64
+ not just show. A webinar's form is never turned on from here: opening its webinar does that.
58
65
 
59
66
  ## 2. Which emails go to whom
60
67
 
@@ -176,7 +183,7 @@ give them `reviewUrl`: nobody gets anything until an approver approves it and sw
176
183
 
177
184
  ## Never
178
185
 
179
- - Never turn a form on (a campaign only after its review was shown and the person said yes, as in section 1), say it is live before `status: on`, or ask for anything only the owner can do in the hub as if you could do it.
186
+ - Never turn a form on except as section 1 says (its review or preview shown, the person's yes, the slug typed back), say it is live before `status: on`, or ask for anything only the owner can do in the hub as if you could do it.
180
187
  - Never write or paraphrase the consent box or small print, or promise more than the form does.
181
188
  - Never put anyone on a list, import downloaders into one, or email a lead from Gmail or SMTP in n8n.
182
189
  - Never paste a file's contents into the chat: pass the file by path.
@@ -53,6 +53,9 @@ once (plus `awesomate_get_limits` before any create/change) and cache:
53
53
  session, after the asked task ("Next on your first week: Your enquiry agent,
54
54
  at <url>"), never instead of it. Never start the step for them: each one is
55
55
  the owner's own choice in the hub. Absent means no path: say nothing.
56
+ - **`delegation`**: `{areas, endsAt}` when the owner lets THIS key act for
57
+ them, or `null`. See "Acting for the owner" below. `null` means no, or
58
+ unknown: never treat it as yes.
56
59
  - **`patExpiresAt`** — within ~7 days, or any 401: re-run the setup prompt at
57
60
  **hub.awesomate.ai/claude → Connect Claude Code** to refresh the token.
58
61
  - **`skill.updateAvailable`** — covers all nine skills; the local files are
@@ -336,7 +339,7 @@ MCP, so say that rather than stopping.
336
339
  | `awesomate_privacy_settings` | Read which privacy/consent toggles are on — explain a 403 `consent_required` precisely (the user flips toggles themselves under Settings → Privacy at hub.awesomate.ai/settings?tab=privacy) |
337
340
  | `awesomate_tasks` | What is waiting on the owner and their team (`list`), a task's record (`history`), and `decisions` (plus one decision's `decision_record`), read only: a person decides them in the hub |
338
341
  | `awesomate_tasks_change` | Giving someone a task (`add`: emailed, and to their linked chats within their quiet hours and daily limit; `urgent: true` only when the user says it can't wait, such as a hot lead or a fault), changing one (`edit`), marking a task done (`done`, only what the user has done), dropping one (`drop`, confirm first), bringing a closed one back (`bring_back`), putting a card off (`not_now` / `cancel_not_now`) and passing a card on (`pass_on`); quotes and approvals stay on their own hub pages |
339
- | `awesomate_notifications` | The hub notification bell: `list` unread (quota warnings, quote ready, support-access events). Clear them with `awesomate_notifications_change` (`read` / `read_all`) |
342
+ | `awesomate_notifications` | The hub notification bell: `list` unread (quota warnings, quote ready, support-access events). Mark what you relayed seen with `awesomate_notifications_change` (`read` / `read_all`); website chat alerts stay in the hub for the team, and Inbox alerts reach only someone who can open the Inbox |
340
343
  | `awesomate_dashboard_metrics` | Account-wide numbers: executions by status, error rate, time saved, chat sessions, 7-day trend |
341
344
  | `awesomate_account_report` | A monthly-report-shaped read: working / not working / engagement / commercials |
342
345
  | `awesomate_skill_update` | Refresh these skills when `skill.updateAvailable` says so |
@@ -509,6 +512,44 @@ Snapshot before the session's first change to a live site
509
512
  rollback exists. `searchEngineVisible: false` de-indexes the site — always
510
513
  confirm that one explicitly before setting it.
511
514
 
515
+ ## 3a. Acting for the owner (delegation)
516
+
517
+ The owner can switch on **Let Claude act for you** for their own Claude Code
518
+ key, on the hub's Claude page, for chosen areas until a date (30 days unless
519
+ they pick another, 90 at most). While it holds, this key may finish jobs that
520
+ were the owner's own clicks. It is being released account by account: when
521
+ `awesomate_get_context` has no `delegation` field, or a delegated action
522
+ answers that the feature is not released for this account, none of this
523
+ applies and there is nothing to send the owner to. Do not bring it up.
524
+
525
+ | `delegation.areas` | What you may do yourself |
526
+ | --- | --- |
527
+ | `agents` | make a hub agent's draft live (`awesomate_agents_change` `make_live`) |
528
+ | `knowledge` | send `confirm` to publish to public Knowledge without asking each time (awesomate-knowledge) |
529
+ | `website` | nothing yet: no tool acts under it, so never take it as leave to change a site (no WP-CLI, no page edits for it) |
530
+ | `google` | Google Analytics `setup` and `install_tag`, AI visibility `approve_questions` and `weekly` (awesomate-seo) |
531
+ | `map` | apply a map change this key suggested itself (`awesomate_business_map_change` `apply_own`) |
532
+ | `desk` | accept this key's own suggested desk AI settings (`awesomate_support_desk_change` `accept_proposal`) |
533
+
534
+ - **Check `delegation` in `awesomate_get_context` first.** Act only inside
535
+ the areas named. Outside them, or when it is `null`, the change is the
536
+ owner's in the hub: say so and give the link.
537
+ - **Never delegated**, whatever is ticked: billing, plans, payments, people
538
+ and access, keys, privacy switches, deleting anything, connecting Google or
539
+ any other provider, switching n8n automations on, a support desk that
540
+ replies by itself. No tool grants, widens or extends a delegation: only the
541
+ owner, on the Claude page.
542
+ - **The hub checks every use live.** A refusal (`not_delegated`,
543
+ `delegation_ended`, `owner_decides`, `hub_changes_waiting`) means nothing
544
+ changed: relay its sentence and never retry around it.
545
+ - **Never claim a change the owner must make is made.** Say it is made only
546
+ when the tool answered without an error.
547
+ - **Say what you changed.** Every use goes on the owner's daily "What Claude
548
+ changed" card in Tasks, and the owner, an Owner on their team or the
549
+ Awesomate team can stop it at once.
550
+ - The safety rules above still apply: snapshot before live site changes, and
551
+ do only what the user asked.
552
+
512
553
  ## 4. Limits & upgrade etiquette
513
554
 
514
555
  Before any create action (install a site, add a domain, a heavy build) call
@@ -225,6 +225,26 @@ are camelCase — `sessionId`, `agentId` — because the tool translates for you
225
225
  session (2026-09-01): fourteen `400`s and one `404` were spent rediscovering
226
226
  exactly this.
227
227
 
228
+ ## 4a. When the owner lets you act for them
229
+
230
+ `awesomate_get_context` carries `delegation` (`{areas, endsAt}` or `null`).
231
+ With `knowledge` in `areas`, the owner switched on **Let Claude act for you**
232
+ for this key on the hub's Claude page: their yes to publishing is given ahead
233
+ of time.
234
+
235
+ - You still send `confirm: "<slug>"` on every publish, but you need not ask
236
+ each time, for what the user asked you to publish. Say what went public.
237
+ - It covers the publishing yes only. Ingesting still costs money: approval
238
+ before every ingest and pack still applies, as do deleting and the live
239
+ agent rules below.
240
+ - `null`, or no `knowledge` in `areas`: ask first, as always. Never treat
241
+ `null` as yes.
242
+ - Every delegated publish goes on the owner's daily "What Claude changed"
243
+ card. A refusal changed nothing: relay its sentence, never retry.
244
+ - Never delegated, whatever is ticked: billing, packs, people and access,
245
+ keys, privacy switches (including "Use your content for Knowledge"),
246
+ deleting anything.
247
+
228
248
  ## 5. Hard rules
229
249
 
230
250
  - **The website chat's look** (`data-accent`, `data-theme`) follows the awesomate-design skill
@@ -246,6 +266,10 @@ exactly this.
246
266
  {action:'set'}`, read the current config, show exactly what will change,
247
267
  get approval, and read the response back to confirm. Real customers are
248
268
  talking to this agent.
269
+ - **Publishing needs the owner's yes, and `confirm: "<slug>"`.** A public
270
+ source, a public FAQ answer, a public video or a public sync rule always
271
+ carries `confirm` with the account slug. Ask first, every time, unless the
272
+ owner lets this key act for them in Knowledge (section 4a).
249
273
  - **Respect quota honesty:** at/over quota, explain the numbers from
250
274
  `status.usage` — never silently retry or work around a 402/429.
251
275
  - **Never guess who a person is.** An unnamed person is an opaque handle
@@ -82,12 +82,15 @@ it runs.
82
82
  runs per agent in 10 minutes. Reading automations, adding an action and testing need **Let Claude
83
83
  Code work with your automations** in Settings, Privacy.
84
84
  5. Tell the user it is in the **draft**: they make it live with "Make changes live" on the agent's
85
- Build page in the hub (`/agents/<id>/build`). Never say it is live.
85
+ Build page in the hub (`/agents/<id>/build`), or you ask them with
86
+ `awesomate_agents_change request_live {agentId, baseHash}`, which puts a one-tap "Make changes
87
+ live" card in their Tasks for exactly this draft (after the same checks: `fix_first` lists what
88
+ to fix). Never say it is live until they say yes.
86
89
 
87
90
  If the action reaches a customer (`effect: customer`) or spends money (`effect: money`), the business
88
91
  may hold it for a person's OK before it runs (see [decisions.md](decisions.md)). Claude Code can
89
92
  tighten an action's authority but never loosen it: a loosening is held as it was and becomes the
90
- owner's suggestion in Tasks. Switching off the read-back (`requireApproval: false`) and changing or
93
+ owner's one-tap card in Tasks; their yes puts exactly that change in the draft. Switching off the read-back (`requireApproval: false`) and changing or
91
94
  clearing the message input a person deciding reads (`draftInput`) count as loosenings too.
92
95
 
93
96
  ## A workflow your website agent can run
@@ -59,7 +59,8 @@ full hub link, then carry on with what is there:
59
59
  approves the questions and switches on weekly checks at
60
60
  `https://hub.awesomate.ai/sites/wordpress/<domain>#ai-visibility`. If none are set,
61
61
  `awesomate_ai_visibility_change` `action: "draft"` suggests questions to talk through; it saves
62
- nothing, and the owner approves them in the hub, never you.
62
+ nothing, and the owner approves them in the hub, unless they let you act for them in Google
63
+ (below).
63
64
 
64
65
  A missing figure means not connected or no data yet, never zero.
65
66
 
@@ -219,6 +220,22 @@ JSON-LD parses (a broken block is worse than none), and `llms.txt` is accurate.
219
220
  (GPTBot, ClaudeBot) are not the test: on Awesomate-managed domains they are refused by design.
220
221
  Commands and fixes: [references/ai-discoverability.md](references/ai-discoverability.md).
221
222
 
223
+ ## 4a. When the owner lets you act for them in Google
224
+
225
+ `awesomate_get_context` carries `delegation` (`{areas, endsAt}` or `null`). With `google` in
226
+ `areas`, you may do these yourself, and each goes on the owner's daily "What Claude changed" card:
227
+
228
+ - **AI visibility:** `awesomate_ai_visibility_change` `approve_questions` (only the exact list the
229
+ owner agreed) and `weekly {on}` (they spend money every week; at most 5 sites).
230
+ - **Google Analytics:** read where it stands with `awesomate_google_analytics`; then
231
+ `awesomate_google_analytics_change` `setup` (streams and lead events) and `install_tag {domain}`
232
+ (refused beside another Google tag: the owner removes that one first).
233
+
234
+ Connecting Google and choosing the Analytics property are never delegated: send the owner to
235
+ Settings, Integrations. `null`, or no `google`: those clicks are the owner's in the hub. Never
236
+ treat `null` as yes. A refusal changed nothing: relay its sentence, never retry. Say a change is
237
+ made only when the tool answered without an error.
238
+
222
239
  ## 5. Upkeep
223
240
 
224
241
  SEO decays quietly. When the user asks to "check SEO", and after content changes:
@@ -237,7 +237,9 @@ team proposing, reviewing and applying fixes, not an alert.
237
237
  is ready", support-access events. Check it whenever the user asks about a
238
238
  pending request, a quote, or "did anyone get back to me?". Relay unread
239
239
  items in one line, then mark them read (`awesomate_notifications_change`, `read` / `read_all`). It sends
240
- nothing; it only reads their bell.
240
+ nothing; it only reads their bell. Website chat alerts never reach Claude and `read_all` leaves them for
241
+ the team, and the Inbox's own alerts reach only someone who can open the Inbox, so the hub's bell can
242
+ show more than you were given: never say the bell is now clear.
241
243
  - **"How is my account doing?"** → `awesomate_dashboard_metrics` (executions
242
244
  by status, error rate, time saved, 7-day trend, most recent failure) and
243
245
  `awesomate_account_report` (monthly-report shaped: what's working, what