@awesomate/hosting-mcp 0.171.55 → 0.172.0

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.
@@ -87,7 +87,8 @@ it runs.
87
87
  If the action reaches a customer (`effect: customer`) or spends money (`effect: money`), the business
88
88
  may hold it for a person's OK before it runs (see [decisions.md](decisions.md)). Claude Code can
89
89
  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.
90
+ owner's suggestion in Tasks. Switching off the read-back (`requireApproval: false`) and changing or
91
+ clearing the message input a person deciding reads (`draftInput`) count as loosenings too.
91
92
 
92
93
  ## A workflow your website agent can run
93
94
 
@@ -98,7 +99,10 @@ the user expects a visitor to book something through the chat.
98
99
  With them, an action runs on the website only when it is **ticked** for it (`channels` includes
99
100
  `website`); an empty list still means the phone and the app, never the website. Check where an agent
100
101
  stands with `awesomate_agent_website {agentId}`: each action's `may_run` and, when it may not,
101
- `why_not`, plus `draft_problem` for a tick the owner could not make live.
102
+ `why_not`, plus `draft_problem` for a tick the owner could not make live. You can tick it from
103
+ `awesomate_agents_change` (`update_action` with `channels: ["phone", "website"]`); the tick widens
104
+ what the agent may do, so it is held as it was and the owner gets a suggestion in Tasks. An action on
105
+ the website only is refused (`owner_only_website`), and a skill never takes `website`.
102
106
 
103
107
  - **Inputs from the conversation** (`mode: session`): `conversation_id` (also `call_id`),
104
108
  `contact_id` (the Contacts person saved in this chat), `visitor_email` (set ONLY when the visitor
@@ -120,6 +124,14 @@ stands with `awesomate_agent_website {agentId}`: each action's `may_run` and, wh
120
124
  - An action that reaches a customer may still be held for a person's OK before it runs (see
121
125
  [decisions.md](decisions.md)), so write `say` for the moment it does run.
122
126
 
127
+ The website chat's own settings (actions on, the privacy link, photos, the records it may save, who
128
+ a visitor is handed to) are `set_settings` on `awesomate_agents_change` with `channelSettings.website`.
129
+ Records and the photo field name only fields AI may read in Contacts: `get` and
130
+ `awesomate_agent_website` show only those, `website_fields_hidden` counts the owner's others (they
131
+ stay as they are when you save), and naming any other field is refused as missing. Switching actions
132
+ on, a new saved field, photos, the privacy link and the hand-off widen what the chat may do, so they
133
+ are held as they were and the owner gets a suggestion in Tasks; narrowing applies.
134
+
123
135
  ## Skills
124
136
 
125
137
  A **skill** is written steps for one kind of request ("Booking a service", "Price questions"), with
@@ -132,8 +132,12 @@ Then, when `site_manage` is available:
132
132
  Don't burn attempts discovering this at runtime.
133
133
  - Confirm the sitemap is live (`/sitemap_index.xml` or `/sitemap.xml`) and
134
134
  `robots.txt` references it — `curl` the live URLs.
135
- - **Posts and pages** via `awesomate_wp_post_change` (drafts first — the user
136
- approves publishing). Useful for the content pages that back up
135
+ - **Posts and pages** via `awesomate_wp_post_change` (drafts first: the user
136
+ approves publishing). Send the SEO title and meta description as
137
+ `seo {title, description}` (saved for Yoast SEO or Rank Math, whichever is
138
+ on), structured data as `jsonLd`, and the featured image as
139
+ `featuredImage`, in the same call; after publishing, check the answer's
140
+ `live` block (canonical, og:url, sitemap). Useful for the content pages that back up
137
141
  `llms.txt` — a services overview, an FAQ, an about page — when the site is
138
142
  thin on machine-readable substance.
139
143
  - **The og:image / logo** goes in via `awesomate_wp_media_import` — one https
@@ -176,24 +176,55 @@ to the Awesomate team, who scope, build, test, and deliver it.
176
176
  builds it; progress is visible at hub.awesomate.ai/my-workflows, and
177
177
  the team follows up if anything needs clarifying.
178
178
 
179
- ## 4. Plans and billing — honest, never pushy
179
+ ## 4. Plans and upgrades: honest, at the moment it helps
180
180
 
181
181
  - "What plan am I on?" / "what do I get?" → `awesomate_get_context` for the
182
- live plan (never `awesomate_whoami` — its plan is a cached file that goes
182
+ live plan (never `awesomate_whoami`: its plan is a cached file that goes
183
183
  stale the moment they upgrade), `awesomate_get_plan_features` for what it
184
- includes — report as facts.
185
- - "How much to upgrade?" / "what would X plan give me?" →
186
- `awesomate_get_plan_features` for what the plan includes, then point them
187
- at hub.awesomate.ai/billing to see the price and upgrade. Name the plan once, link, move on.
188
- All purchases happen
189
- in the BROWSER at those links — never take payment details in chat.
184
+ includes. Report as facts.
185
+ - All purchases happen in the BROWSER at the hub's billing page. Never take
186
+ payment details in chat, and never change a plan for the user.
190
187
  - Credits: one currency, $100 each, spendable on an automation or build
191
- request and on Knowledge Base ingestion packs. Say "credits", never "free
188
+ request, a session booked on /book (the hands-on 1:1 support session needs
189
+ Support Plus; any plan can book an onboarding session), and Knowledge Base
190
+ ingestion packs. Say "credits", never "free
192
191
  workflows". If they ask about anything else a credit might buy, check
193
- rather than assume — those are the spend paths that exist.
194
- - If a feature the user wants is on a higher plan, say so once, honestly
195
- ("that's on Support Plus — here's the link if you want it"), then help
196
- fully within what their plan allows. Never manufacture urgency.
192
+ rather than assume.
193
+
194
+ **Explaining a refusal is not a suggestion.** When a call is refused for the
195
+ plan, say so in one line as it happens (what was refused and that the plan
196
+ does not include it). The fuller suggestion follows the rules below.
197
+
198
+ **Never suggest a plan to a team member** (a team member's key, where
199
+ `planFit` is never sent): the plan is the owner's to change.
200
+
201
+ **When to suggest an upgrade:**
202
+
203
+ 1. **Only at a moment of need**: a refusal, a limit at 80% or more, a
204
+ question outside their plan, "can you build this for me" or "who can help",
205
+ you stuck after two honest attempts, or the user asking about plans.
206
+ `awesomate_get_context` carries `planFit` when the account's own usage says
207
+ a plan would help; each reason names its source and fact. A reason whose
208
+ `plan` is null is a cheaper path only: say its `why` and suggest no plan.
209
+ No `planFit` and no moment means no mention.
210
+ 2. **Once a session, at a natural stop.** Unprompted, at most once, never in
211
+ the middle of a task. If their site is down, fix it or raise an our-side
212
+ ticket first.
213
+ 3. **One or two sentences**: the price, what the plan adds for THIS need, and
214
+ what it does not do (`doesNotDo`: Support Plus does not build things for
215
+ you; builds are Pro, quoted in credits). Give the cheaper path first when
216
+ there is one (`cheaperFirst`): you can do it on their plan, an add-on covers
217
+ it, or, on Support Plus and above, a single 1:1 support session on /book would.
218
+ 4. **They decide.** Give the link: `upgradeUrl` from `planFit` or
219
+ `awesomate_get_plan_features`, else the hub's billing page
220
+ (hub.awesomate.ai/billing). Never pressure, never repeat it after a no in
221
+ the same session, never manufacture urgency.
222
+ 5. **Only when asked: "is my plan right for me?"** Review their usage (`awesomate_get_limits`,
223
+ `awesomate_get_context`) and answer honestly: they may be on the right plan,
224
+ or a lower one may do. Only suggest a lower plan when they ask.
225
+
226
+ Never promise failure alerts on any plan: Pro's line is AI error watch, our
227
+ team proposing, reviewing and applying fixes, not an alert.
197
228
 
198
229
  ## 5. Things only these tools can tell you
199
230