@awesomate/hosting-mcp 0.151.1 → 0.156.1

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 (27) hide show
  1. package/README.md +11 -0
  2. package/dist/index.js +698 -428
  3. package/package.json +1 -1
  4. package/skill/CHANGELOG.json +48 -0
  5. package/skill/awesomate-app-builder/SKILL.md +1 -1
  6. package/skill/awesomate-email/SKILL.md +4 -1
  7. package/skill/awesomate-funnels/SKILL.md +1 -1
  8. package/skill/awesomate-funnels/references/lead-magnet.md +2 -2
  9. package/skill/awesomate-funnels/references/webinar.md +2 -2
  10. package/skill/awesomate-hosting/SKILL.md +17 -13
  11. package/skill/awesomate-knowledge/SKILL.md +18 -18
  12. package/skill/awesomate-knowledge/evals/deploy-chat-agent/graders/grader.md +1 -1
  13. package/skill/awesomate-knowledge/evals/out-of-scope-honesty/graders/grader.md +1 -1
  14. package/skill/awesomate-knowledge/references/citations-and-grounding.md +7 -4
  15. package/skill/awesomate-knowledge/references/faqs.md +8 -6
  16. package/skill/awesomate-knowledge/references/from-your-files.md +13 -11
  17. package/skill/awesomate-knowledge/references/n8n-connection.md +3 -2
  18. package/skill/awesomate-knowledge/references/people-and-entities.md +2 -1
  19. package/skill/awesomate-knowledge/references/showing-media.md +13 -5
  20. package/skill/awesomate-n8n/SKILL.md +4 -3
  21. package/skill/awesomate-n8n/references/awesomate-node.md +2 -2
  22. package/skill/awesomate-n8n/references/n8n-agents.md +1 -1
  23. package/skill/awesomate-n8n/references/staff-alerts.md +1 -1
  24. package/skill/awesomate-n8n/references/troubleshooting.md +1 -1
  25. package/skill/awesomate-onebrain/SKILL.md +10 -5
  26. package/skill/awesomate-seo/SKILL.md +6 -6
  27. package/skill/awesomate-support/SKILL.md +1 -1
@@ -49,7 +49,7 @@ answered 401 on every run.
49
49
  |---|---|
50
50
  | A workflow step on contacts, companies, records, tasks, a decision, figures, the business or the Knowledge Base | **the Awesomate node** |
51
51
  | The node lacks that operation (an older n8n, or no node at all) | an **HTTP Request** node to the Hub Key route in the tables below: Authentication Predefined Credential Type, **Awesomate Hub** (or Generic Credential Type, Header Auth, **Awesomate Hub Key**), and header `X-Awesomate-Workflow: {{ $workflow.id }}` |
52
- | Claude's own change, outside any workflow | the MCP tools: `awesomate_crm_contacts`, `awesomate_crm_companies`, `awesomate_crm_rows`, `awesomate_crm_write`, `awesomate_tasks` |
52
+ | Claude's own change, outside any workflow | the MCP tools: `awesomate_crm_contacts`, `awesomate_crm_companies`, `awesomate_crm_rows`, `awesomate_crm_write`, `awesomate_tasks_change` |
53
53
  | An app or a script | the SDK |
54
54
 
55
55
  ## The node
@@ -220,7 +220,7 @@ workflow itself. The hub finds the agent's role from that workflow, and:
220
220
 
221
221
  - the workflow (or the agent) must be a helper on a role on the business map, or the hub answers
222
222
  "Put this agent on a role first, so someone looks after what it adds." Put it on a role
223
- (`awesomate_business_map` `propose` `helper.attach`; the owner applies) before you build the tool.
223
+ (`awesomate_business_map_change` `propose` `helper.attach`; the owner applies) before you build the tool.
224
224
  - it writes only figure names it owns: never a figure a collector, Contacts or a person added.
225
225
  - a figure far outside its own last 12 periods is not written. It waits, and the role's person gets a
226
226
  task to accept or reject it; the KPI shows "New figure to check".
@@ -12,7 +12,7 @@ Four different things get called an agent. Pick before building:
12
12
  | An assistant they set up once and talk to **in Slack, Telegram, Linear, Discord, Teams or n8n chat**, run **on a schedule**, or call from several workflows; it decides its own steps | **n8n Agent** (this file) | `awesomate_n8n_agents` |
13
13
  | A fixed trigger → steps → result, with an LLM as one step | Workflow with an AI Agent node | The n8n MCP server (SKILL.md §3) + [ai-agents.md](ai-agents.md) |
14
14
  | A website chat that answers ONLY from their content, with citations | Knowledge agent | awesomate-knowledge skill |
15
- | One of Awesomate's ready-made chat agents | Template bundle | `awesomate_n8n_library` |
15
+ | One of Awesomate's ready-made chat agents | Template bundle | `awesomate_n8n_library` (list, install_plan), then `awesomate_n8n_library_change` (install) |
16
16
 
17
17
  If the ask is a schedule with repeatable, enumerable steps, it is probably a
18
18
  workflow. Say so plainly and ask before building the other thing. Never
@@ -69,5 +69,5 @@ means Tasks is not on the account: stop and say so. A `400` names what was wrong
69
69
  ## Test it
70
70
 
71
71
  Run it once with the task for the user themselves (their own email in **For**) and ask them whether it
72
- arrived in their chat. Then drop the test task (`awesomate_tasks` `drop`, with their yes) and set the
72
+ arrived in their chat. Then drop the test task (`awesomate_tasks_change` `drop`, with their yes) and set the
73
73
  real person.
@@ -7,7 +7,7 @@ you have the failing execution's detail.
7
7
  ## Template installs or activation fail while reads work
8
8
 
9
9
  If reads and `awesomate_n8n_context` succeed but every hub WRITE (a template
10
- `install`, `activate` or `test` through `awesomate_n8n_library`) fails, the
10
+ `install`, `activate` or `test` through `awesomate_n8n_library_change`) fails, the
11
11
  cause is almost always the account's stored n8n API key: not the hub, not
12
12
  Cloudflare, not the template. Workflows you write through the n8n MCP server
13
13
  use its own MCP key, not this one, so a refusal there is the n8n server's own
@@ -12,7 +12,7 @@ developers. Use plain words: "your procedures in 1Brain", "your systems",
12
12
  never "MCP", "OAuth" or "JSON-RPC" unless they use them first.
13
13
 
14
14
  **Routing rule:** what 1Brain holds comes from 1Brain itself, read live:
15
- `awesomate_onebrain` in a chat, the 1Brain node in a workflow, or 1Brain's
15
+ `awesomate_onebrain` (reads) and `awesomate_onebrain_change` (links, drafts, onboarding) in a chat, the 1Brain node in a workflow, or 1Brain's
16
16
  own connector for the rarer writes (2d). Awesomate never keeps a copy. Never
17
17
  answer "what's our procedure for X" from memory or general knowledge.
18
18
 
@@ -75,16 +75,21 @@ Until they do, a connection reaches 1Brain's development server, not the
75
75
 
76
76
  | They want | Use |
77
77
  |---|---|
78
- | Claude to find a procedure, read a page, list a role's systems, place 1Brain Departments on the map, or save a draft procedure | **`awesomate_onebrain`** (2a) |
78
+ | Claude to find a procedure, read a page, list a role's systems, place 1Brain Departments on the map, or save a draft procedure | **`awesomate_onebrain`** to read, **`awesomate_onebrain_change`** to link, place or draft (2a, 2b) |
79
79
  | A workflow step that reads or writes 1Brain: a scheduled report, a form or email turned into an SOP draft, a sync | **The 1Brain node** with the hub-made "1Brain - <person>" credential (2c) |
80
80
  | An AI agent in their automations that answers from their procedures | **The 1Brain node as an agent tool** (`CUSTOM.oneBrainTool`: Page Search, then Page Get), on the credential of the person the agent answers to (2c) |
81
- | A 1Brain course for a role or for everyone joining, and starting someone's onboarding | **`awesomate_onebrain`** onboarding actions (5) |
82
- | Claude doing what `awesomate_onebrain` does not: writing quizzes, acknowledgements, tailoring, publishing | **1Brain's own Claude connector** (2d) |
81
+ | A 1Brain course for a role or for everyone joining, and starting someone's onboarding | **`awesomate_onebrain_change`** onboarding actions, read with `awesomate_onebrain` `onboarding` (5) |
82
+ | Claude doing what `awesomate_onebrain` and `awesomate_onebrain_change` do not: writing quizzes, acknowledgements, tailoring, publishing | **1Brain's own Claude connector** (2d) |
83
83
  | An AI agent that needs every 1Brain action, with no setup in the node | **MCP Client Tool** with n8n's own MCP OAuth2 credential (2e) |
84
84
  | Something done as the business rather than as a person | **Not possible yet.** Every 1Brain connection is a person |
85
85
 
86
86
  ### 2a. Claude looking things up: `awesomate_onebrain`
87
87
 
88
+ Reads are on `awesomate_onebrain`; every change (`map`, `link_role`,
89
+ `unlink_role`, `propose_draft` and the onboarding changes in 5) is on
90
+ `awesomate_onebrain_change`, which takes the same arguments. Sending a change
91
+ to the read tool is refused with a sentence naming the change tool.
92
+
88
93
  It reads 1Brain live through the 1Brain login of the person this key belongs
89
94
  to, so it sees exactly what they can see. Start with `status`: not connected
90
95
  means sending them to Settings, Integrations, 1Brain, and nothing else.
@@ -147,7 +152,7 @@ instances so far: check before designing around it (that reference says how).
147
152
 
148
153
  ### 2d. 1Brain's own Claude connector
149
154
 
150
- For what `awesomate_onebrain` does not do (writing quizzes and acknowledgements,
155
+ For what `awesomate_onebrain` and `awesomate_onebrain_change` do not do (writing quizzes and acknowledgements,
151
156
  sharing a course, tailoring, publishing), 1Brain has its own connector for Claude at
152
157
  `https://dev.1brain.io/mcp` (the development server, see above). The person
153
158
  adds it themselves:
@@ -33,7 +33,7 @@ confirms it, and list what's missing rather than inventing it.
33
33
  ### Plan gate — check before promising any WordPress change
34
34
 
35
35
  **Every PAT-authenticated hosting WRITE is Support Plus and above**:
36
- `awesomate_run_wp_cli`, `awesomate_wp_post`, `awesomate_wp_media_import`,
36
+ `awesomate_run_wp_cli`, `awesomate_wp_post_change`, `awesomate_wp_media_import`,
37
37
  `awesomate_wp_settings`, plus `awesomate_site_create` and
38
38
  `awesomate_domain_add`. On **Essentials** they all return **403
39
39
  `upgrade_required`** — the server enforces it, so no retry or rewording gets
@@ -119,7 +119,7 @@ Then, on Support Plus and above:
119
119
  Don't burn attempts discovering this at runtime.
120
120
  - Confirm the sitemap is live (`/sitemap_index.xml` or `/sitemap.xml`) and
121
121
  `robots.txt` references it — `curl` the live URLs.
122
- - **Posts and pages** via `awesomate_wp_post` (drafts first — the user
122
+ - **Posts and pages** via `awesomate_wp_post_change` (drafts first — the user
123
123
  approves publishing). Useful for the content pages that back up
124
124
  `llms.txt` — a services overview, an FAQ, an about page — when the site is
125
125
  thin on machine-readable substance.
@@ -149,7 +149,7 @@ On WordPress those three come from:
149
149
  - **`llms.txt`** — no plugin makes one. Either the user places the file over
150
150
  SSH or cPanel's File Manager (`scripts/ssh-connect.sh` in the hosting
151
151
  skill, Support Plus+), or you publish the same content as a normal page
152
- with `awesomate_wp_post` and link it — a real page is crawlable and
152
+ with `awesomate_wp_post_change` and link it — a real page is crawlable and
153
153
  editable, and gets most of the benefit.
154
154
 
155
155
  **You can always generate the content.** Write the exact `llms.txt` body,
@@ -242,9 +242,9 @@ The gates above say whether a page CAN be found. `awesomate_ai_visibility` says
242
242
  ChatGPT and Gemini apps actually name the business when its customers ask. Use it when the user
243
243
  asks "does ChatGPT recommend us", "are we showing up in AI", or after a round of fixes.
244
244
 
245
- - `action: "draft"` suggests up to 8 questions and the names to look for, from the business
245
+ - `awesomate_ai_visibility_change` `action: "draft"` suggests up to 8 questions and the names to look for, from the business
246
246
  details, when none are set yet. It saves nothing: talk them through, then send the owner to the
247
- hub to approve them. `action: "check_result"` {checkId} reads one check in full.
247
+ hub to approve them. `awesomate_ai_visibility` `action: "check_result"` {checkId} reads one check in full.
248
248
  - `action: "status"` returns the score (0 to 100, with a likely range), the questions where neither
249
249
  app named the business, who they named instead, and the sites the apps relied on.
250
250
  - **Fix from that evidence, in this order:**
@@ -256,7 +256,7 @@ asks "does ChatGPT recommend us", "are we showing up in AI", or after a round of
256
256
  questions from Google Maps.
257
257
  - **Do not promise a lift from schema or llms.txt.** Studies found none. They are good hygiene,
258
258
  not a visibility fix.
259
- - `action: "check"` starts a new check (about five minutes). Owner checks are limited to 3 per site
259
+ - `awesomate_ai_visibility_change` `action: "check"` starts a new check (about five minutes). Owner checks are limited to 3 per site
260
260
  per week, and sites the owner put on weekly checks are re-checked automatically: check again only after a
261
261
  real change, never to watch the number within a day.
262
262
  - **The owner approves the questions, in the hub, never you.** If `questions_approved` is false,
@@ -163,7 +163,7 @@ to the Awesomate team, who scope, build, test, and deliver it.
163
163
  Awesomate pushes to the client** — knowledge quota warnings, "your quote
164
164
  is ready", support-access events. Check it whenever the user asks about a
165
165
  pending request, a quote, or "did anyone get back to me?". Relay unread
166
- items in one line, then mark them read (`read` / `read_all`). It sends
166
+ items in one line, then mark them read (`awesomate_notifications_change`, `read` / `read_all`). It sends
167
167
  nothing; it only reads their bell.
168
168
  - **"How is my account doing?"** → `awesomate_dashboard_metrics` (executions
169
169
  by status, error rate, time saved, 7-day trend, most recent failure) and