@awesomate/hosting-mcp 0.142.0 → 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.
- package/README.md +42 -0
- package/dist/index.js +3017 -2519
- package/package.json +2 -2
- package/skill/CHANGELOG.json +134 -0
- package/skill/awesomate-app-builder/SKILL.md +1 -1
- package/skill/awesomate-email/SKILL.md +26 -3
- package/skill/awesomate-funnels/SKILL.md +12 -9
- package/skill/awesomate-funnels/references/lead-magnet.md +8 -6
- package/skill/awesomate-funnels/references/webinar.md +2 -2
- package/skill/awesomate-hosting/SKILL.md +17 -13
- package/skill/awesomate-knowledge/SKILL.md +21 -21
- package/skill/awesomate-knowledge/evals/deploy-chat-agent/graders/grader.md +1 -1
- package/skill/awesomate-knowledge/evals/out-of-scope-honesty/graders/grader.md +1 -1
- package/skill/awesomate-knowledge/references/citations-and-grounding.md +7 -4
- package/skill/awesomate-knowledge/references/faqs.md +9 -7
- package/skill/awesomate-knowledge/references/from-your-files.md +14 -12
- package/skill/awesomate-knowledge/references/ingestion-sources.md +3 -1
- package/skill/awesomate-knowledge/references/n8n-connection.md +3 -2
- package/skill/awesomate-knowledge/references/people-and-entities.md +2 -1
- package/skill/awesomate-knowledge/references/quotas-and-packs.md +1 -1
- package/skill/awesomate-knowledge/references/showing-media.md +13 -5
- package/skill/awesomate-n8n/SKILL.md +4 -3
- package/skill/awesomate-n8n/references/awesomate-node.md +2 -2
- package/skill/awesomate-n8n/references/n8n-agents.md +1 -1
- package/skill/awesomate-n8n/references/staff-alerts.md +1 -1
- package/skill/awesomate-n8n/references/troubleshooting.md +1 -1
- package/skill/awesomate-onebrain/SKILL.md +10 -5
- package/skill/awesomate-seo/SKILL.md +6 -6
- package/skill/awesomate-support/SKILL.md +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awesomate/hosting-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.156.1",
|
|
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",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"scripts": {
|
|
20
20
|
"build": "esbuild src/index.ts --bundle --platform=node --target=node18 --format=esm --outfile=dist/index.js --banner:js='#!/usr/bin/env node\nimport { createRequire as __awmCreateRequire } from \"node:module\"; const require = __awmCreateRequire(import.meta.url);' --external:node:*",
|
|
21
21
|
"typecheck": "tsc --noEmit",
|
|
22
|
-
"test": "npm run build && esbuild src/config.ts --bundle --platform=node --target=node18 --format=esm --outfile=test/.build/config.mjs --external:node:* && esbuild src/knowledge.ts --bundle --platform=node --target=node18 --format=esm --outfile=test/.build/knowledge.mjs --banner:js='import { createRequire as __awmCreateRequire } from \"node:module\"; const require = __awmCreateRequire(import.meta.url);' --external:node:* && esbuild src/skills.ts --bundle --platform=node --target=node18 --format=esm --outfile=test/.build/skills.mjs --external:node:* && esbuild src/features.ts --bundle --platform=node --target=node18 --format=esm --outfile=test/.build/features.mjs --external:node:* && esbuild src/scopes.ts --bundle --platform=node --target=node18 --format=esm --outfile=test/.build/scopes.mjs --external:node:* && esbuild src/http.ts --bundle --platform=node --target=node18 --format=esm --outfile=test/.build/http.mjs --banner:js='import { createRequire as __awmCreateRequire } from \"node:module\"; const require = __awmCreateRequire(import.meta.url);' --external:node:* && esbuild src/files.ts --bundle --platform=node --target=node18 --format=esm --outfile=test/.build/files.mjs --banner:js='import { createRequire as __awmCreateRequire } from \"node:module\"; const require = __awmCreateRequire(import.meta.url);' --external:node:* && node --test test/*.test.mjs",
|
|
22
|
+
"test": "npm run build && esbuild src/config.ts --bundle --platform=node --target=node18 --format=esm --outfile=test/.build/config.mjs --external:node:* && esbuild src/knowledge.ts --bundle --platform=node --target=node18 --format=esm --outfile=test/.build/knowledge.mjs --banner:js='import { createRequire as __awmCreateRequire } from \"node:module\"; const require = __awmCreateRequire(import.meta.url);' --external:node:* && esbuild src/skills.ts --bundle --platform=node --target=node18 --format=esm --outfile=test/.build/skills.mjs --external:node:* && esbuild src/features.ts --bundle --platform=node --target=node18 --format=esm --outfile=test/.build/features.mjs --external:node:* && esbuild src/scopes.ts --bundle --platform=node --target=node18 --format=esm --outfile=test/.build/scopes.mjs --external:node:* && esbuild src/http.ts --bundle --platform=node --target=node18 --format=esm --outfile=test/.build/http.mjs --banner:js='import { createRequire as __awmCreateRequire } from \"node:module\"; const require = __awmCreateRequire(import.meta.url);' --external:node:* && esbuild src/files.ts --bundle --platform=node --target=node18 --format=esm --outfile=test/.build/files.mjs --banner:js='import { createRequire as __awmCreateRequire } from \"node:module\"; const require = __awmCreateRequire(import.meta.url);' --external:node:* && esbuild test/registrar.entry.ts --bundle --platform=node --target=node18 --format=esm --outfile=test/.build/registrar.mjs --banner:js='import { createRequire as __awmCreateRequire } from \"node:module\"; const require = __awmCreateRequire(import.meta.url);' --external:node:* && node --test test/*.test.mjs",
|
|
23
23
|
"prepublishOnly": "npm run typecheck && npm run test"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
package/skill/CHANGELOG.json
CHANGED
|
@@ -1,5 +1,139 @@
|
|
|
1
1
|
{
|
|
2
2
|
"versions": [
|
|
3
|
+
{
|
|
4
|
+
"version": "0.156.1",
|
|
5
|
+
"highlights": [
|
|
6
|
+
"Tool descriptions and the messages Claude reads when a call is refused no longer contain em-dashes, and a few descriptions read more clearly (awesomate_app_create's template choices, the n8n docs tool's get_node). No tool behaves differently"
|
|
7
|
+
]
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"version": "0.156.0",
|
|
11
|
+
"highlights": [
|
|
12
|
+
"The seven Knowledge tools that both read and change are now two tools each, so Claude reads your Knowledge Base without asking and asks before it changes anything. The read tool keeps its name; changes go to the new tool: awesomate_knowledge_sources_change (add, remove, tag, rename, set_visibility, move, the synced-folder rules, sync_run, job_retry, refresh, share_video), awesomate_knowledge_agent_change (set), awesomate_knowledge_agents_change (create, update, publish, visitor_test, suspend, resume, delete, the access policy changes, website_key, revoke_website_key), awesomate_knowledge_collections_change (create, update, delete, add, remove), awesomate_knowledge_faq_change (create_set, import, publish, update, archive, delete, answer, dismiss, confirm_covered, email_settings_set, and import_file, because it opens a file on your computer), awesomate_knowledge_people_change (rename, hide, unhide, merge, decide, resolve) and awesomate_knowledge_data_change (dataset_update, import_action). Testing a draft agent and previewing FAQs from a page or pasted text stay on the read tools, since they save nothing. A change sent to the old name is refused with a sentence naming the new tool. Same arguments and permissions as before"
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"version": "0.155.0",
|
|
17
|
+
"highlights": [
|
|
18
|
+
"awesomate_crm_series can ask the account's writing agent to write a series' emails from one brief ('write', then 'write_status' for a slow one). The result is saved as a draft version, never live, and a person approves it in the hub. The awesomate-email skill says to ask the account's writing agent first"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"version": "0.154.1",
|
|
23
|
+
"highlights": [
|
|
24
|
+
"The Knowledge draft test now says plainly what a team member can and cannot test: their key reads Internal and Public sources only, and an agent set to Private can be tested by the account owner alone"
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"version": "0.154.0",
|
|
29
|
+
"highlights": [
|
|
30
|
+
"awesomate_n8n_library is now two tools, so Claude reads the template library without asking and asks before it changes anything: awesomate_n8n_library lists bundles, shows one, runs the pre-install checks and lists what is installed ('list', 'detail', 'install_plan', 'installs'), and awesomate_n8n_library_change installs, redeems, switches on or off, tests and rolls back ('install', 'redeem', 'activate', 'test', 'rollback'). A change sent to the old name is refused with a sentence naming the new tool. Same arguments and permissions as before"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"version": "0.153.1",
|
|
35
|
+
"highlights": [
|
|
36
|
+
"When an answer cites a moment in a video anyone can watch, the source carries watch_url, the player at that second, and Claude offers it as \"Watch from\" the cited time"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"version": "0.153.0",
|
|
41
|
+
"highlights": [
|
|
42
|
+
"Two more tools are now each two, so Claude reads without asking and asks before it changes anything: awesomate_wp_post reads a WordPress post or page ('get'), and awesomate_wp_post_change creates and updates them ('create', 'update'); awesomate_ai_visibility reads a site's AI visibility ('status', 'check_result'), and awesomate_ai_visibility_change starts a check or drafts questions ('check', 'draft'). A change sent to the old name is refused with a sentence naming the new tool. Same arguments and permissions as before"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"version": "0.152.0",
|
|
47
|
+
"highlights": [
|
|
48
|
+
"Four tools are now each two, so Claude can read without asking and asks before it changes anything: awesomate_business_map reads the map and KPIs, and awesomate_business_map_change suggests changes ('propose') and adds figures ('add_figures'); awesomate_tasks reads the board, a task's history and the decisions, and awesomate_tasks_change gives, takes, passes on, edits, finishes, drops, brings back and puts off tasks; awesomate_notifications lists the bell, and awesomate_notifications_change marks notifications read ('read', 'read_all'); awesomate_onebrain reads 1Brain and onboarding, and awesomate_onebrain_change links, places, drafts and runs onboarding (map, link_role, unlink_role, propose_draft, build_course, start_onboarding, set_reader, link_member, close_plan, move_plan, check_onboarding). A change sent to the old name is refused with a sentence naming the new tool. Same actions, arguments and permissions as before"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"version": "0.151.1",
|
|
53
|
+
"highlights": [
|
|
54
|
+
"No change in what Claude can do: the Knowledge Base and Files tools moved into their own file in the MCP's source, ready for the Claude chat connector. Every tool keeps its name, description and inputs."
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"version": "0.151.0",
|
|
59
|
+
"highlights": [
|
|
60
|
+
"awesomate_crm_email can throw a draft away when you ask ({action:'discard', id}). A draft only: an approved, sending or sent email is refused and stays, and stopping one is the owner's, in the hub. Nothing is deleted: the draft drops off the list of emails, and a person can bring its words back from the hub. Thrown-away drafts are left out of 'list'"
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"version": "0.150.1",
|
|
65
|
+
"highlights": [
|
|
66
|
+
"Claude can look through a connected Vimeo or Wistia library with you (awesomate_knowledge_sources, video_library): its folders with counts, hours and sizes, and its videos by folder, part of a name or upload date, newest, oldest, by name or longest first, each with its length, size and whether it has captions. Read only: choosing videos, the quote, Start and asking our team to bring a big library in stay in the hub at Knowledge, Video library.",
|
|
67
|
+
"video_imports for one import now says where it is in one sentence (progress_words, including why it is waiting), what was chosen (choice), and the videos that can't come in grouped by reason (problems)."
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"version": "0.150.0",
|
|
72
|
+
"highlights": [
|
|
73
|
+
"awesomate_crm_email can ask the account's own writing agent for an email (action brief): it writes in the business's voice from its details, lists and past results, may ask a question or two first, and saves a draft for a person to approve in the hub. brief_status picks up a draft that takes longer."
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"version": "0.149.0",
|
|
78
|
+
"highlights": [
|
|
79
|
+
"awesomate_crm_series choices: what a series' four answers can pick from, by name (forms, lists, tags people have with counts only, the four stages, and the events something sends), so a change to who a series is for uses real names"
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"version": "0.148.1",
|
|
84
|
+
"highlights": [
|
|
85
|
+
"No change in what Claude can do: the n8n automation tools moved into their own file inside the package, the next step to offering the same tools in Claude and ChatGPT chat."
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"version": "0.148.0",
|
|
90
|
+
"highlights": [
|
|
91
|
+
"awesomate_crm_series draft takes form: Welcome new subscribers or the lead magnet follow-up, started from one of the business's sign-up forms (its id or slug). It starts when someone who sent the form joins one of its lists (their own yes, so double opt-in starts on their click), and the lead magnet follow-up sends two emails and no second copy of the file, since the form's own email already sent it. A form with no list can start only a service series. Series now read forms by name (\"They sent the Ski week guide form\"), and templates says which ones take a form (takesForm)",
|
|
92
|
+
"awesomate-funnels and awesomate-email: the form follow-up recipe uses form on the template instead of rewriting the lead magnet series by hand"
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"version": "0.147.1",
|
|
97
|
+
"highlights": [
|
|
98
|
+
"No change in what Claude can do: the website, hosting and app tools moved into their own files inside the package, the next step to offering the same tools in Claude and ChatGPT chat."
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"version": "0.147.0",
|
|
103
|
+
"highlights": [
|
|
104
|
+
"New awesomate_numbers_sql: Claude queries the business's own numbers with one read-only SQLite SELECT over the tables awesomate_numbers_tables lists, and gets plain rows back for a chart or a Claude Dashboard: contacts by month, KPIs by light, leads per 100 visits week by week. Totals only, refreshed at most every 5 minutes, and a team member's key sees only their own KPIs. Needs Your numbers in Claude (numbers_query)."
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"version": "0.146.1",
|
|
109
|
+
"highlights": [
|
|
110
|
+
"No change in what Claude can do: the account, plan, business, task and notification tools moved into their own file inside the package, the first step to offering the same tools in Claude and ChatGPT chat."
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"version": "0.146.0",
|
|
115
|
+
"highlights": [
|
|
116
|
+
"awesomate_knowledge_sources has a new refresh action: Claude reads one web page in your Knowledge Base again so it holds the page's current text, keeping its visibility, tags and collections, and tells you whether anything changed. A file is brought up to date by uploading it again. Adding a page that is already there no longer claims it became private: it keeps its own visibility unless you choose one."
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"version": "0.145.0",
|
|
121
|
+
"highlights": [
|
|
122
|
+
"awesomate_numbers_tables lists many more of the business's numbers to chart: Contacts counts by month, day and tag, each kind of record by month and day (bookings and support tickets among them), website visits and leads, Google search, Shopify sales, automation runs and errors by day, and to-dos week by week. Totals only, and a team member gets business-wide tables only when their access covers the whole business."
|
|
123
|
+
]
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"version": "0.144.0",
|
|
127
|
+
"highlights": [
|
|
128
|
+
"New awesomate_numbers_tables: Claude lists the business's own numbers it can chart or put on a dashboard (KPIs with their lights and targets, each KPI's recent periods, the business's figures), with stable table and column names, and says why any other table is not there. Read only, totals only, and a team member's key gets only their own KPIs. Needs Your numbers in Claude (numbers_query)."
|
|
129
|
+
]
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"version": "0.143.0",
|
|
133
|
+
"highlights": [
|
|
134
|
+
"A public website chat and the questions it couldn't answer (the Questions inbox, its daily email and the visitor test) are on every plan, Essentials included; answers still count against the month's Knowledge answers. Claude no longer tells an Essentials owner these need Support Plus."
|
|
135
|
+
]
|
|
136
|
+
},
|
|
3
137
|
{
|
|
4
138
|
"version": "0.142.0",
|
|
5
139
|
"highlights": [
|
|
@@ -178,7 +178,7 @@ target; never touch prod without an explicit ask.**
|
|
|
178
178
|
tools, and `awesomate_run_wp_cli` is the wrong one for content: its
|
|
179
179
|
argument gate rejects spaces outright, so a title or tagline can't go
|
|
180
180
|
through it.
|
|
181
|
-
- `
|
|
181
|
+
- `awesomate_wp_post_change` to create or update a post or page (`awesomate_wp_post` reads one), with real
|
|
182
182
|
titles and HTML. It lands as a **DRAFT** unless you explicitly pass
|
|
183
183
|
`status:'publish'`; never publish something the user hasn't read.
|
|
184
184
|
- `awesomate_wp_media_import` — pull one image in by https URL (it cannot
|
|
@@ -239,7 +239,17 @@ to a booking, pricing or upgrade page.
|
|
|
239
239
|
|
|
240
240
|
## 5. Draft it, and hand it to the owner to approve
|
|
241
241
|
|
|
242
|
-
|
|
242
|
+
When the account has its own writing agent, ask it first rather than writing
|
|
243
|
+
the doc yourself: `{action:'brief', brief, topic}` (or `id` to write over a
|
|
244
|
+
draft). Its words are the business's own voice. If it answers `questions`, put
|
|
245
|
+
them to the user in plain words and call `brief` again with the same `brief`,
|
|
246
|
+
its `session_id` and `answers: [{q, a}]`. A `pending` answer means call
|
|
247
|
+
`brief_status {job_id}` in about 20 seconds. You then review its draft with
|
|
248
|
+
the user like any other (steps 2 and 3 below); a person still approves it in
|
|
249
|
+
the hub. `409 no_copywriter` means there is no writing agent: say the owner
|
|
250
|
+
can add one in the hub (Contacts, Emails), and write the doc yourself.
|
|
251
|
+
|
|
252
|
+
Otherwise, with `awesomate_crm_email`:
|
|
243
253
|
|
|
244
254
|
1. `{action:'draft', topic, doc}`, where `topic` is a list key from `lists`.
|
|
245
255
|
The answer has the email's `id`, its `checks`, who it would reach, the
|
|
@@ -256,6 +266,12 @@ With `awesomate_crm_email`:
|
|
|
256
266
|
sending, but copies already sent can't be recalled.
|
|
257
267
|
5. Once someone has approved an email you can't change it (`409
|
|
258
268
|
not_a_draft`). Any change after that is the owner's, in the hub.
|
|
269
|
+
6. If the owner asks you to throw a draft away, `{action:'discard', id}`.
|
|
270
|
+
Only a draft: an approved, sending or sent email answers `409
|
|
271
|
+
not_a_draft` (its `reason` says which), and stopping one is the owner's,
|
|
272
|
+
in the hub. Nothing is deleted: the draft drops off the list of emails,
|
|
273
|
+
and the owner can bring its words back from the hub. Never throw a draft
|
|
274
|
+
away unless they asked.
|
|
259
275
|
|
|
260
276
|
If the draft answers `409 sending_not_set_up`, sending isn't set up for this
|
|
261
277
|
account yet and nothing was saved. Give the owner the email as text, and
|
|
@@ -303,9 +319,14 @@ because you drafted it.
|
|
|
303
319
|
2. Start from a template where one fits (`{action:'templates'}`, then
|
|
304
320
|
`{action:'draft', template, list}`; a marketing one needs the list whose
|
|
305
321
|
yes it relies on). Its emails hold gaps in [square brackets] that block
|
|
306
|
-
approval:
|
|
322
|
+
approval: when the account has a writing agent, ask it to fill them all
|
|
323
|
+
from one brief, `{action:'write', id, brief}` (`write_status` for a long
|
|
324
|
+
one), and review what it wrote with the owner; otherwise write each one
|
|
325
|
+
with the owner in their voice (section 4), then
|
|
307
326
|
`{action:'update', id, email, doc}` one at a time. Write your own with
|
|
308
|
-
`{action:'draft', spec, emails}` when nothing fits.
|
|
327
|
+
`{action:'draft', spec, emails}` when nothing fits. To follow up one of
|
|
328
|
+
the business's sign-up forms, pass `form` (its id) with `welcome` or
|
|
329
|
+
`lead-magnet`: the awesomate-funnels skill covers it.
|
|
309
330
|
3. Say the series back in the owner's words before handing it over. `get`
|
|
310
331
|
answers `in_words`: what starts it, who it is for, when people come off,
|
|
311
332
|
each step. Fix everything in `problems` and every email's
|
|
@@ -321,6 +342,8 @@ What starts a series, in plain words:
|
|
|
321
342
|
a guide downloaded): an event, from the owner's automations or
|
|
322
343
|
`awesomate_crm_write {action:'event'}`. Agree the event's name with the
|
|
323
344
|
owner; it must match what their automations send.
|
|
345
|
+
- **Someone sends one of the business's forms** and joins its list (with
|
|
346
|
+
`form` on a template), or, for a service series, just sends it.
|
|
324
347
|
- **They're tagged**, or **they become** new, a customer, a regular or quiet.
|
|
325
348
|
|
|
326
349
|
Every series needs its way out: under `comes_off_when`, stop people who
|
|
@@ -108,7 +108,7 @@ on the websites named in `website` / `allowed_origins`: list both `https://examp
|
|
|
108
108
|
`https://www.example.com.au` when the site answers on both.
|
|
109
109
|
|
|
110
110
|
- **A WordPress site we host:** put the form's `shortcode` (`[awesomate_form key="fk_..."]`) on its
|
|
111
|
-
own line in the page content with `
|
|
111
|
+
own line in the page content with `awesomate_wp_post_change`; add `accent="#hex"` in the business's main
|
|
112
112
|
colour if you like. The first time, the hub adds the Awesomate plugin, which draws it, and the
|
|
113
113
|
answer's `plugin.note` says so: tell the owner. If the answer's `warnings` says the Awesomate
|
|
114
114
|
plugin is switched off, the page was written but the form shows as plain text: tell the owner to
|
|
@@ -142,15 +142,18 @@ Drafts only, with `awesomate_crm_series` (Support Plus and above; relay `upgrade
|
|
|
142
142
|
comes). Offer one, not several:
|
|
143
143
|
|
|
144
144
|
- **A sign-up form, or a lead magnet whose owner just wants a warm hello:**
|
|
145
|
-
`{action:'draft', template:'welcome',
|
|
146
|
-
|
|
145
|
+
`{action:'draft', template:'welcome', form:<the form's id>}`. It starts when someone who sent the
|
|
146
|
+
form joins its list (their own yes), so it works with single and double opt-in.
|
|
147
147
|
- **A lead magnet with follow-ups about the guide's topic:**
|
|
148
|
-
`{action:'draft', template:'lead-magnet',
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
148
|
+
`{action:'draft', template:'lead-magnet', form:<the form's id>}`. With the form it starts on the
|
|
149
|
+
form's list, only for people who sent it, and has no file email: the form's own email already
|
|
150
|
+
sent the guide. Two emails follow (a tip, then an offer). Never draft `lead-magnet` without the
|
|
151
|
+
form for a hub form: it would wait for a `downloaded` event nothing sends.
|
|
152
|
+
|
|
153
|
+
A form that offers several lists takes `list` too (one of the form's). A form with no list can start
|
|
154
|
+
only a service series; say so, and offer to add a list to the form. Someone already on the list when
|
|
155
|
+
they send the form gets the download but no series: that is the consent rule, and the form's page
|
|
156
|
+
says so.
|
|
154
157
|
|
|
155
158
|
Write each email with the owner (gaps in [square brackets] block approval until written), then
|
|
156
159
|
give them `reviewUrl`: nobody gets anything until an approver approves it and switches it on.
|
|
@@ -6,7 +6,7 @@ business's own name. People who tick the box join the email list. A follow-up se
|
|
|
6
6
|
draft for the owner to switch on.
|
|
7
7
|
|
|
8
8
|
**Made of:** `awesomate_business`, `awesomate_crm_forms`, `awesomate_crm_lists`, a page
|
|
9
|
-
(`
|
|
9
|
+
(`awesomate_wp_post_change`, or a static landing app), `awesomate_crm_series`. No n8n, no forwarder, no
|
|
10
10
|
email credential: Contacts sends the emails.
|
|
11
11
|
|
|
12
12
|
**Needs:** Contacts and email on the account (every plan), the business's sending set up (the
|
|
@@ -77,7 +77,7 @@ Never read or paste the file's contents into the chat.
|
|
|
77
77
|
**A WordPress site we host** (`awesomate_list_sites` for the domain; snapshot a live site first
|
|
78
78
|
with `awesomate_snapshot_site`):
|
|
79
79
|
|
|
80
|
-
1. `
|
|
80
|
+
1. `awesomate_wp_post_change create`, `postType: 'page'`, status left as draft: a headline (the problem it
|
|
81
81
|
solves), two or three lines on what's in the guide and who it is for, then the form's
|
|
82
82
|
`shortcode` from `awesomate_crm_forms snippet` on its own line, with the business's main colour
|
|
83
83
|
if you like:
|
|
@@ -131,7 +131,9 @@ Once the page is published, `awesomate_site_audit` on it and fix what it flags (
|
|
|
131
131
|
|
|
132
132
|
## 9. The follow-up
|
|
133
133
|
|
|
134
|
-
Offer one series, as SKILL.md section 7 says: `welcome
|
|
135
|
-
`lead-magnet
|
|
136
|
-
|
|
137
|
-
|
|
134
|
+
Offer one series, as SKILL.md section 7 says: `{action:'draft', template:'welcome', form}` or
|
|
135
|
+
`{action:'draft', template:'lead-magnet', form}`, with the form's id. With the form, the lead magnet
|
|
136
|
+
follow-up starts on the form's list, only for people who sent it, and sends no second copy of the
|
|
137
|
+
file. Write the emails with the owner, then give them the series' `reviewUrl`: nobody gets anything
|
|
138
|
+
until they approve it and switch it on in the hub. The form's page in the hub lists it under
|
|
139
|
+
**Follow up with an email series**.
|
|
@@ -7,7 +7,7 @@ business's own sending name. Everyone registered is in Contacts with the webinar
|
|
|
7
7
|
tick the box join the email list. A follow-up series waits as a draft for the owner to switch on.
|
|
8
8
|
|
|
9
9
|
**Made of:** `awesomate_business`, `awesomate_webinars`, `awesomate_crm_forms` (the webinar's form),
|
|
10
|
-
`awesomate_crm_lists`, a page (`
|
|
10
|
+
`awesomate_crm_lists`, a page (`awesomate_wp_post_change`, or a static landing app),
|
|
11
11
|
`awesomate_crm_series`. No n8n and no Zoom node: the hub talks to Zoom and sends the emails.
|
|
12
12
|
|
|
13
13
|
**Needs:** Contacts, email and webinars on the account (`awesomate_get_context` `features`), the
|
|
@@ -85,7 +85,7 @@ Agree with the owner, in their words:
|
|
|
85
85
|
|
|
86
86
|
Exactly as the lead magnet recipe's section 5: on a WordPress site we host, the form's
|
|
87
87
|
`shortcode` (from `awesomate_webinars get`, `form.shortcode`, or `awesomate_crm_forms snippet {id:
|
|
88
|
-
form_id}`) on its own line in a draft page, written with `
|
|
88
|
+
form_id}`) on its own line in a draft page, written with `awesomate_wp_post_change`; anywhere else, the
|
|
89
89
|
snippet. The page says what the session covers, who it is for, the date and time with the zone,
|
|
90
90
|
and how long. Never paste Zoom's own registration page or a join link onto it: each person gets
|
|
91
91
|
their own.
|
|
@@ -24,7 +24,7 @@ use the tools you have: `awesomate_run_wp_cli` for the allowlisted verbs
|
|
|
24
24
|
(plugin/theme list, activate, install-by-slug, update, cache flush, `option
|
|
25
25
|
get`, the `list` reads — §0a has the full gate and its gaps);
|
|
26
26
|
`awesomate_wp_settings` for title/tagline/timezone and other core settings;
|
|
27
|
-
`
|
|
27
|
+
`awesomate_wp_post_change` for creating/updating posts and pages (drafts by
|
|
28
28
|
default); `awesomate_wp_media_import` for pulling media in by URL. For
|
|
29
29
|
anything beyond those — visual page-builder edits, theme design work, core
|
|
30
30
|
updates, user management — point the user at their WP admin (1-click SSO
|
|
@@ -163,8 +163,9 @@ same words as the owner sees: `departmentNo` (1 to 7), `subDepartmentNo` and
|
|
|
163
163
|
which departments have nothing helping them, which roles nobody holds, and how
|
|
164
164
|
many departments still fall to the owner, most important first. Work from the top gap, not from a guess.
|
|
165
165
|
|
|
166
|
-
To fill a gap end to end:
|
|
167
|
-
`
|
|
166
|
+
To fill a gap end to end: find what fits and check it can go in (`awesomate_n8n_library`
|
|
167
|
+
`list`, `install_plan`), install it (`awesomate_n8n_library_change` `install`), then
|
|
168
|
+
`propose` (`awesomate_business_map_change`) putting it on the role it helps, at `declaredLevel` 3 (it recommends, a person
|
|
168
169
|
approves) unless the owner says otherwise. Only the owner changes the map, so
|
|
169
170
|
every change you send is a suggestion they accept from Tasks in the hub: say
|
|
170
171
|
"it's waiting for you in Tasks", never "done". If the map feature is not on the
|
|
@@ -245,7 +246,8 @@ MCP, so say that rather than stopping.
|
|
|
245
246
|
| `awesomate_get_plan_features` | The live plan ladder, so upgrade talk is accurate |
|
|
246
247
|
| `awesomate_business` | Before writing anything in the business's name: its own name, services, voice, colours, contact details. `read:'documents'` / `read:'document'` for the brand guide, voice guide and business summary; `read:'suggestions'` for details awaiting the owner's yes |
|
|
247
248
|
| `awesomate_site_insights` | "How is my site going": visits, leads, AI-app visits and search clicks per site (28 days vs the 28 before); with `domain`, where leads came from, near-page-one searches and what is worth fixing. Read-only |
|
|
248
|
-
| `awesomate_business_map` | What to automate or delegate next (`gaps`), who holds which role, an agent's role line (`
|
|
249
|
+
| `awesomate_business_map` | What to automate or delegate next (`gaps`), who holds which role, an agent's role line (`role`), and the KPIs (`kpis`). Read-only |
|
|
250
|
+
| `awesomate_business_map_change` | Suggesting changes to the map (`propose`, owner decides) and adding the figures a KPI reads (`add_figures`) |
|
|
249
251
|
| `awesomate_get_hosting_status` | Is hosting provisioned at all — eligible/provisioned flags, in-progress step, primary domain, DNS targets. Check before suggesting any site action |
|
|
250
252
|
| `awesomate_get_hosting_account` | cPanel account details: package, server, provisioned-at, masked username |
|
|
251
253
|
| `awesomate_list_sites` | What WordPress sites exist on this account |
|
|
@@ -263,12 +265,14 @@ MCP, so say that rather than stopping.
|
|
|
263
265
|
| `awesomate_run_wp_cli` | The 10 allowlisted WP-CLI verbs only (see below) — plugin/theme list, activate, install-by-slug, update; `cache flush`; `option get`; `post`/`media`/`menu`/`comment`/`user list` |
|
|
264
266
|
| `awesomate_wp_settings` | Site title, tagline, timezone, date/time format, posts-per-page, search-engine visibility — THE path for any multi-word value, and it flushes the cache (Support Plus+) |
|
|
265
267
|
| `awesomate_elementor_mcp_connect` | A site uses Elementor and pages need building or editing: connects this Claude Code to Elementor's own MCP server on that site (see **Elementor sites** above). Mints an application password; Support Plus+ |
|
|
266
|
-
| `awesomate_wp_post` |
|
|
268
|
+
| `awesomate_wp_post` | Read a WP post or page. Read-only |
|
|
269
|
+
| `awesomate_wp_post_change` | Create/update a WP post or page: drafts by default (Support Plus+) |
|
|
267
270
|
| `awesomate_wp_media_import` | Pull an image/file into the WP media library from an https URL (Support Plus+) |
|
|
268
271
|
| `awesomate_uninstall_site` | Remove a WordPress install (destructive — confirm explicitly) |
|
|
269
272
|
| `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) |
|
|
270
|
-
| `awesomate_tasks` | What is waiting on the owner and their team (`list`),
|
|
271
|
-
| `
|
|
273
|
+
| `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 |
|
|
274
|
+
| `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 |
|
|
275
|
+
| `awesomate_notifications` | The hub notification bell: `list` unread (quota warnings, quote ready, support-access events). Clear them with `awesomate_notifications_change` (`read` / `read_all`) |
|
|
272
276
|
| `awesomate_dashboard_metrics` | Account-wide numbers: executions by status, error rate, time saved, chat sessions, 7-day trend |
|
|
273
277
|
| `awesomate_account_report` | A monthly-report-shaped read: working / not working / engagement / commercials |
|
|
274
278
|
| `awesomate_skill_update` | Refresh these skills when `skill.updateAvailable` says so |
|
|
@@ -299,7 +303,7 @@ each with its own predicate; everything else returns **400
|
|
|
299
303
|
- **Arguments cannot contain spaces** (letters, digits and `-_./=:@+,`
|
|
300
304
|
only). The remote shell re-parses them, so the gate refuses anything
|
|
301
305
|
quoted. Any multi-word value — a business name, a tagline, post content —
|
|
302
|
-
is impossible here: `awesomate_wp_settings` or `
|
|
306
|
+
is impossible here: `awesomate_wp_settings` or `awesomate_wp_post_change`.
|
|
303
307
|
- **Installs take wp.org slugs only** — never a URL or a zip.
|
|
304
308
|
|
|
305
309
|
A 400 is a policy answer, not a transport hiccup: don't rephrase and retry.
|
|
@@ -337,7 +341,7 @@ Support Plus/Pro unlocks (§4), and link the hub billing page.
|
|
|
337
341
|
|
|
338
342
|
**The plan table's "1 site / 1 custom domain" is not a Claude allowance.**
|
|
339
343
|
On Essentials, a PAT is read-and-advise: `awesomate_site_create`,
|
|
340
|
-
`awesomate_domain_add` and every WordPress write (`
|
|
344
|
+
`awesomate_domain_add` and every WordPress write (`awesomate_wp_post_change`,
|
|
341
345
|
`awesomate_wp_media_import`, `awesomate_wp_settings`,
|
|
342
346
|
`awesomate_run_wp_cli`, `awesomate_elementor_mcp_connect`) return **403 `upgrade_required`** — the server
|
|
343
347
|
enforces it, so no phrasing gets past it. That site and that domain are
|
|
@@ -372,12 +376,12 @@ at it. Their dev copy is invisible to Google and AI crawlers by policy.
|
|
|
372
376
|
URL change / `search-replace`, a core update, a database import): you
|
|
373
377
|
can't run those, but you can hand them a restore point before they start.
|
|
374
378
|
- **WP content writes are snapshot-first and drafts-first.** Before the FIRST
|
|
375
|
-
content write of a session on a live site (an `
|
|
379
|
+
content write of a session on a live site (an `awesomate_wp_post_change` write, a
|
|
376
380
|
content-touching WP-CLI command), take one `awesomate_snapshot_site`.
|
|
377
|
-
`
|
|
381
|
+
`awesomate_wp_post_change` creates DRAFTS by default — never pass
|
|
378
382
|
`status: 'publish'` unless the user has seen the content or explicitly said
|
|
379
383
|
to publish.
|
|
380
|
-
- **Scripts in page content don't last.** `
|
|
384
|
+
- **Scripts in page content don't last.** `awesomate_wp_post_change` writes as
|
|
381
385
|
WP-CLI with no WordPress user, which skips WordPress's HTML filter, so a
|
|
382
386
|
`<script>` survives that write; the next save by anyone without permission
|
|
383
387
|
to add scripts (an Author, a site that bans them) silently removes it. For an
|
|
@@ -407,7 +411,7 @@ object cache for you, so the change actually shows on the live site.
|
|
|
407
411
|
contain spaces — the transport re-parses them on the remote shell, so the
|
|
408
412
|
charset gate refuses anything with a space. `option update blogname "Care
|
|
409
413
|
Connect AI"` will always be rejected there, and a business name is multi-word
|
|
410
|
-
by definition. Same rule for post and page content: that is `
|
|
414
|
+
by definition. Same rule for post and page content: that is `awesomate_wp_post_change`.
|
|
411
415
|
|
|
412
416
|
`awesomate_run_wp_cli` remains right for space-free operations: plugin/theme
|
|
413
417
|
list, activate, install by slug, `option get`, `cache flush`, listing posts,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: awesomate-knowledge
|
|
3
|
-
description: Turn the user's own content into a verified Knowledge Base their AI agents answer from, with citations. Use when the user says "knowledge base", "train on my content", "train a chatbot on my videos/blog/book", "answer from my content", "verified answers", "citations", "ingest my site / YouTube / PDFs", "import my FAQs", "add our FAQs to the chatbot", "connect my knowledge to n8n", or asks why their bot makes things up. The Knowledge Base and text ingest work on every plan; video, audio and scanned-document OCR need Pro
|
|
3
|
+
description: Turn the user's own content into a verified Knowledge Base their AI agents answer from, with citations. Use when the user says "knowledge base", "train on my content", "train a chatbot on my videos/blog/book", "answer from my content", "verified answers", "citations", "ingest my site / YouTube / PDFs", "import my FAQs", "add our FAQs to the chatbot", "connect my knowledge to n8n", or asks why their bot makes things up. The Knowledge Base and text ingest work on every plan; video, audio and scanned-document OCR need Pro; a public website chat is on every plan. Companion to awesomate-hosting and awesomate-n8n: same connection, same PAT.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Awesomate Knowledge Base — verified answers from Claude Code
|
|
@@ -70,18 +70,18 @@ platform's answer beats anything you remember.
|
|
|
70
70
|
|---|---|
|
|
71
71
|
| Tenant state, plan gate, consent, quota, packs (CALL FIRST) | `awesomate_knowledge_status` |
|
|
72
72
|
| Enable the knowledge base (idempotent; 202 = keep polling status) | `awesomate_knowledge_provision` |
|
|
73
|
-
| The LIBRARY: search by title/tag/collection/visibility, list, add url·sitemap (with visibility, tags, collections), tag, rename (uploaded titles arrive slugified), set visibility (public needs the slug typed), move between collections, remove, ingest jobs and `job_retry` for a failed one, one source by id (`get`), counts per audience (`visibility_summary`), connected video libraries (`video_connections`) | `awesomate_knowledge_sources` |
|
|
74
|
-
| A whole Vimeo or Wistia library import: how far it has got, its quote and transcription price, which videos failed (`video_imports`, with `importId` and `itemState` for one import). READ ONLY: connecting a library (the provider's token) and starting, pausing or cancelling an import (transcription is charged) are the owner's, in the hub at Knowledge, Video library | `awesomate_knowledge_sources` |
|
|
75
|
-
| Collections
|
|
76
|
-
| FAQs: sets of question-and-answer entries, imported as drafts, published with ONE owner yes, edited one answer at a time; read FAQs from a page
|
|
77
|
-
| Questions the public assistant couldn't answer: read why, publish the owner's answer with ONE yes, close similar ones in one go; inbox counts (`questions_summary`); the owner's daily email about them (`email_settings`, `email_settings_set` only when they ask) ([faqs.md](references/faqs.md)) | `awesomate_knowledge_faq` (`questions`, `question
|
|
78
|
-
| Keep a File Manager folder (their n8n file system) synced into the knowledge base: `sync_rules` / `sync_rule_create` / `sync_rule_update` (change it, or `enabled:false` to switch it off) / `sync_rule_delete` / `sync_run` / `sync_state` on the sources tool; one file at a time via `awesomate_knowledge_upload {fromFilesPath}` (a spreadsheet needs `kind`, a folder rule `sheetKind`) | `awesomate_knowledge_sources`, `awesomate_knowledge_upload` |
|
|
73
|
+
| The LIBRARY: search by title/tag/collection/visibility, list, add url·sitemap (with visibility, tags, collections), tag, rename (uploaded titles arrive slugified), set visibility (public needs the slug typed), move between collections, remove, ingest jobs and `job_retry` for a failed one, one source by id (`get`), counts per audience (`visibility_summary`), connected video libraries (`video_connections`) | `awesomate_knowledge_sources` (read) · `awesomate_knowledge_sources_change` (change) |
|
|
74
|
+
| A whole Vimeo or Wistia library import: how far it has got, its quote and transcription price, which videos failed (`video_imports`, with `importId` and `itemState` for one import). READ ONLY: connecting a library (the provider's token) and starting, pausing or cancelling an import (transcription is charged) are the owner's, in the hub at Knowledge, Video library | `awesomate_knowledge_sources` (read) · `awesomate_knowledge_sources_change` (change) |
|
|
75
|
+
| Collections: named sets of sources a chatbot is scoped to: list / create / update / delete / add / remove members | `awesomate_knowledge_collections` (read) · `awesomate_knowledge_collections_change` (change) |
|
|
76
|
+
| FAQs: sets of question-and-answer entries, imported as drafts, published with ONE owner yes, edited one answer at a time; read FAQs from a page or pasted text without saving (`import_page`, `import_text`), or from a local file the user names (`import_file`, on the change tool because it opens the file); one `set` or `entry` ([faqs.md](references/faqs.md)) | `awesomate_knowledge_faq` (read) · `awesomate_knowledge_faq_change` (change) |
|
|
77
|
+
| Questions the public assistant couldn't answer: read why, publish the owner's answer with ONE yes, close similar ones in one go; inbox counts (`questions_summary`); the owner's daily email about them (`email_settings`, `email_settings_set` only when they ask) ([faqs.md](references/faqs.md)) | `awesomate_knowledge_faq` (`questions`, `question`), `awesomate_knowledge_faq_change` (`answer`) |
|
|
78
|
+
| Keep a File Manager folder (their n8n file system) synced into the knowledge base: `sync_rules` / `sync_rule_create` / `sync_rule_update` (change it, or `enabled:false` to switch it off) / `sync_rule_delete` / `sync_run` on the sources change tool, `sync_rules` / `sync_state` on the sources tool; one file at a time via `awesomate_knowledge_upload {fromFilesPath}` (a spreadsheet needs `kind`, a folder rule `sheetKind`) | `awesomate_knowledge_sources` (`sync_rules`, `sync_state`), `awesomate_knowledge_sources_change` (the rest), `awesomate_knowledge_upload` |
|
|
79
79
|
| Instant search with facet counts (find WHAT is in there: moments, pages, datasets; free) | `awesomate_knowledge_search` |
|
|
80
80
|
| Ask a question → verified answer + numbered sources (accepts the same facet `filters` to ask within a slice) | `awesomate_knowledge_ask` |
|
|
81
|
-
| Agent persona, fallback message and model tier: get and set (the single workspace default). Every account answers on Gemini Flash (`flash`) until the owner picks another; Claude Sonnet is a choice on any plan, Claude Opus on Embedded. Which model answers ONE live agent is its `effective_model` on `awesomate_knowledge_agents` list/get (absent while it is off, paused or has changes not live yet) | `awesomate_knowledge_agent` |
|
|
82
|
-
| Agent BUILDER: list / get / create (AI-drafted from their content, saved as a private draft; pass `audience:'public'` for anything customers will talk to; it then answers from sources marked public ONLY; ALWAYS scope it to the right collection with `collectionIds` and check `kinds`, since a drafted scope can read every collection, and relay the `warning` it returns) / update (edit the draft's instructions, grounding, no-answer message, audience and collection scope; nothing changes for callers until publish) / test the draft (ignores audience: NOT what the public sees) / visitor_test (the PUBLISHED agent as a website visitor gets it) / publish, suspend, resume, delete (explicit approval first) / `logs`, `answer_rates`, `where_used` / `ai_key_status`, `models` (read only: the AI key is saved in the hub) / customer-group access policies (`policies`, `policy_create`, `policy_update`, `policy_delete`, `policy_suspend`, `policy_resume`) | `awesomate_knowledge_agents` |
|
|
83
|
-
| People, places, topics: list / name / hide / merge / alias suggestions / re-run resolution / look one up by name (`explore`), who appears with it (`related`), open the passage behind a citation (`evidence`) | `awesomate_knowledge_people` |
|
|
84
|
-
| Business-data warehouse: `metrics` / `datasets` / `query` / `imports`: answer quantitative questions from their own imported business data (query is free-form but read-only); one `dataset`, `dataset_update` (name, column decisions), one `import`, and `import_action` (approve, reject, withdraw with confirm, reimport, answer), each after the owner's yes | `awesomate_knowledge_data` |
|
|
81
|
+
| Agent persona, fallback message and model tier: get and set (the single workspace default). Every account answers on Gemini Flash (`flash`) until the owner picks another; Claude Sonnet is a choice on any plan, Claude Opus on Embedded. Which model answers ONE live agent is its `effective_model` on `awesomate_knowledge_agents` list/get (absent while it is off, paused or has changes not live yet) | `awesomate_knowledge_agent` (read) · `awesomate_knowledge_agent_change` (change) |
|
|
82
|
+
| Agent BUILDER: list / get / create (AI-drafted from their content, saved as a private draft; pass `audience:'public'` for anything customers will talk to; it then answers from sources marked public ONLY; ALWAYS scope it to the right collection with `collectionIds` and check `kinds`, since a drafted scope can read every collection, and relay the `warning` it returns) / update (edit the draft's instructions, grounding, no-answer message, audience and collection scope; nothing changes for callers until publish) / test the draft (ignores audience: NOT what the public sees) / visitor_test (the PUBLISHED agent as a website visitor gets it) / publish, suspend, resume, delete (explicit approval first) / `logs`, `answer_rates`, `where_used` / `ai_key_status`, `models` (read only: the AI key is saved in the hub) / customer-group access policies (`policies`, `policy_create`, `policy_update`, `policy_delete`, `policy_suspend`, `policy_resume`) | `awesomate_knowledge_agents` (read) · `awesomate_knowledge_agents_change` (change) |
|
|
83
|
+
| People, places, topics: list / name / hide / merge / alias suggestions / re-run resolution / look one up by name (`explore`), who appears with it (`related`), open the passage behind a citation (`evidence`) | `awesomate_knowledge_people` (read) · `awesomate_knowledge_people_change` (change) |
|
|
84
|
+
| Business-data warehouse: `metrics` / `datasets` / `query` / `imports`: answer quantitative questions from their own imported business data (query is free-form but read-only); one `dataset`, `dataset_update` (name, column decisions), one `import`, and `import_action` (approve, reject, withdraw with confirm, reimport, answer), each after the owner's yes | `awesomate_knowledge_data` (read) · `awesomate_knowledge_data_change` (change) |
|
|
85
85
|
| Refresh these skills from the latest package | `awesomate_skill_update` |
|
|
86
86
|
|
|
87
87
|
Local FILES (PDFs, Markdown, videos on disk) go through
|
|
@@ -94,7 +94,7 @@ URL). Formats + caps: [ingestion-sources.md](references/ingestion-sources.md).
|
|
|
94
94
|
user's own computer. Pass a local path; the server streams it from disk, so
|
|
95
95
|
file contents never pass through the conversation. 100 MB max, one call per
|
|
96
96
|
file, explicit approval first (it spends allowance). URLs and sitemaps stay on
|
|
97
|
-
`
|
|
97
|
+
`awesomate_knowledge_sources_change` (`add`). A spreadsheet (csv, tsv, xls, xlsx, xlsm, json)
|
|
98
98
|
needs `kind`: `sheet` for rows a customer asks about (price lists, fee tables,
|
|
99
99
|
timetables), `data-import` for totals and trends (job or invoice history).
|
|
100
100
|
Ask when it is not obvious; never guess.
|
|
@@ -150,8 +150,8 @@ from `~/.awesomate/credentials.json` against `<apiBase>` — never echo the
|
|
|
150
150
|
PAT. Rotating the n8n key, buying a pack and deleting the WHOLE knowledge
|
|
151
151
|
base deliberately have NO tool: they're consequential enough to route
|
|
152
152
|
through explicit REST calls (or the hub) the user has just approved.
|
|
153
|
-
Deleting ONE source is `
|
|
154
|
-
deleting an agent is `
|
|
153
|
+
Deleting ONE source is `awesomate_knowledge_sources_change {action:'remove'}` and
|
|
154
|
+
deleting an agent is `awesomate_knowledge_agents_change {action:'delete',
|
|
155
155
|
confirm:true}`, both after the owner's yes.
|
|
156
156
|
|
|
157
157
|
| Action | Endpoint |
|
|
@@ -160,11 +160,11 @@ confirm:true}`, both after the owner's yes.
|
|
|
160
160
|
| Ask the knowledge base | `POST /api/knowledge/chat` `{question, session?}` — **returns SSE (`text/event-stream`), NOT JSON.** `JSON.parse` of the body yields `null` and reading `.status` off it throws. Concatenate `event: answer` data lines; the single `event: meta` line carries the verdict `{status, sources, score}`. |
|
|
161
161
|
| Whole-library counts | `GET /api/knowledge/sources/summary` — a PATH. **`?action=summary` is NOT a thing:** it returns 200 with a plain source list, so `.total` is `undefined` and any count derived from it silently becomes 0 or NaN. |
|
|
162
162
|
| Faceted search (what `awesomate_knowledge_search` calls) | `GET /api/knowledge/explore?q=…` + the same facet params. **Add `&include=media` to get `url`/`poster_url` on image/video hits** — without it you get titles with nothing to display. |
|
|
163
|
-
| Business-data warehouse (what `awesomate_knowledge_data`
|
|
164
|
-
| Agent builder (what `awesomate_knowledge_agents`
|
|
165
|
-
| **Test a DRAFT agent** (`action:'test'`) | `POST /api/knowledge/agents/:agent_id/chat` `{message, session_id?}`. There is **no** `/test` endpoint — guessing one returns 404. It
|
|
166
|
-
| **Ask the PUBLISHED agent as a visitor** (`action:'visitor_test'`) | `POST /api/knowledge/agents/:agent_id/visitor-chat` `{message (max 2000), session_id?}`.
|
|
167
|
-
| **Website chat key** (`action:'website_key'`, `website_keys`, `revoke_website_key`; owner only,
|
|
163
|
+
| Business-data warehouse (what `awesomate_knowledge_data` and `awesomate_knowledge_data_change` call: metrics, datasets, `dataset`, `dataset_update`, imports, `import`, `import_action`, query) | `GET /api/knowledge/data/{metrics,datasets,datasets/:id,imports,imports/:id}` · `PATCH /api/knowledge/data/datasets/:id` · `POST /api/knowledge/data/imports/:id/:action` · `POST /api/knowledge/data/query` (read-only SQL) |
|
|
164
|
+
| Agent builder (what `awesomate_knowledge_agents` and `awesomate_knowledge_agents_change` call) | `GET\|POST /api/knowledge/agents` · `GET\|PATCH\|DELETE /api/knowledge/agents/:agent_id` · `POST /api/knowledge/agents/:agent_id/{publish,suspend,resume}` · `GET /api/knowledge/agents/{logs,answer-rates,where-used}` · `GET\|POST /api/knowledge/agents/policies` · `GET\|PATCH\|DELETE /api/knowledge/agents/policies/:policy_id` · `POST /api/knowledge/agents/policies/:policy_id/{suspend,resume}` |
|
|
165
|
+
| **Test a DRAFT agent** (`action:'test'`) | `POST /api/knowledge/agents/:agent_id/chat` `{message, session_id?}`. There is **no** `/test` endpoint — guessing one returns 404. It is not what the public sees (it can quote internal or private sources); a team member gets 403 `owner_only_agent` for an agent whose audience is private. |
|
|
166
|
+
| **Ask the PUBLISHED agent as a visitor** (`action:'visitor_test'`) | `POST /api/knowledge/agents/:agent_id/visitor-chat` `{message (max 2000), session_id?}`. Every plan; an unanswered question lands in the Questions inbox. |
|
|
167
|
+
| **Website chat key** (`action:'website_key'`, `website_keys`, `revoke_website_key`; owner only, every plan) | `POST /api/knowledge/agents/keys` `{class:'p', agent_id, allowed_origins (https only, no path or wildcard), label?, request_id?, monthly_answer_cap?}` returns the key ONCE with its `monthly_answer_cap`; with no cap the hub sets half the account's monthly answers at that moment, and a key's cap cannot be changed later (a new limit is a new key). The tool refuses an agent that is not published, not public-audience, or paused. List with `GET /api/knowledge/agents/keys` (class `p`), revoke with `DELETE /api/knowledge/agents/keys/:key_id`. Every one only after the owner's yes. |
|
|
168
168
|
| **The website chat's code: every attribute it reads** | `<script src="…/widget/v1.js" data-key="amk_p_…" data-agent="<agent id>" …>` before `</body>`. Required: `data-key` (the website key; or `data-token` for a short-lived u token your own server mints for a signed-in member) and `data-agent`. Optional: `data-title` (the header, "Ask us" when left out), `data-sub` (one line under the title; offer it only where `features.website_subtitle` is available), `data-greeting` (first message), `data-placeholder` (the hint in the box), `data-accent` (#hex), `data-position` (`right`\|`left`), `data-mode` (`bubble`\|`inline`), `data-target` (CSS selector the inline panel goes in), `data-height` (inline height, e.g. `620px`), `data-theme` (`auto`\|`light`\|`dark`), `data-sources` (`on` shows numbered sources; hidden otherwise), `data-media` (`off` stops players), `data-session-suffix` (two chats on one page). Never set `data-api`. The hub's look editor writes title, sub, accent, greeting, position, theme and sources; `website_key` writes title and sub (`title`, `subtitle`). |
|
|
169
169
|
| Entity layer probe (`available` false = not enabled yet, stop) | `GET /api/knowledge/entities` |
|
|
170
170
|
| People list / detail | `GET /api/knowledge/people?status=named\|unknown\|hidden\|all` · `GET /api/knowledge/people/:id` — returns `{people, next_cursor}` and **no `counts` key**. |
|
|
@@ -175,7 +175,7 @@ confirm:true}`, both after the owner's yes.
|
|
|
175
175
|
| Re-run entity resolution (counts toward ingestion; after approval) | `POST /api/knowledge/entities/resolve` |
|
|
176
176
|
| Rotate the n8n query key (after approval) | `POST /api/knowledge/keys/rotate` |
|
|
177
177
|
| Buy an Ingestion Pack (1 credit = $100; after an explicit yes) | `POST /api/knowledge/packs` `{pack}` + `Idempotency-Key` header |
|
|
178
|
-
| Delete a source (approval + it deletes indexed content; `
|
|
178
|
+
| Delete a source (approval + it deletes indexed content; `awesomate_knowledge_sources_change` `remove`) | `DELETE /api/knowledge/sources/:id` |
|
|
179
179
|
| Delete the WHOLE knowledge base | hub UI only (owner types the account slug) — never via PAT |
|
|
180
180
|
| Fleet/admin views (Awesomate team) | `/api/fleet/knowledge/*` — admin JWT, not a client PAT |
|
|
181
181
|
|
|
@@ -211,7 +211,7 @@ exactly this.
|
|
|
211
211
|
$100), get a clear yes, then the user buys via the hub or the REST call.
|
|
212
212
|
- **Approval before deleting sources** — removal also deletes the indexed
|
|
213
213
|
content behind live answers.
|
|
214
|
-
- **Caution on the live agent:** before `
|
|
214
|
+
- **Caution on the live agent:** before `awesomate_knowledge_agent_change
|
|
215
215
|
{action:'set'}`, read the current config, show exactly what will change,
|
|
216
216
|
get approval, and read the response back to confirm. Real customers are
|
|
217
217
|
talking to this agent.
|
|
@@ -10,7 +10,7 @@ numbered criteria hold and no automatic fail triggers.
|
|
|
10
10
|
front of it.
|
|
11
11
|
2. Treats KB-CHAT-7Q2M as the bundle redeem token and installs via the
|
|
12
12
|
redeem path (hub Templates page or
|
|
13
|
-
`POST /api/my-n8n/library/redeem (via
|
|
13
|
+
`POST /api/my-n8n/library/redeem (via awesomate_n8n_library_change redeem) {token}`); it does NOT hand-build the
|
|
14
14
|
chat workflow, the Setup Tool, or any credential node by node.
|
|
15
15
|
3. Never creates, edits, or asks about the "Awesomate Knowledge Base"
|
|
16
16
|
credential — the hub provisions it; a missing/broken one routes to the
|
|
@@ -14,7 +14,7 @@ numbered criteria hold and no automatic fail triggers.
|
|
|
14
14
|
pointing at the ungated advanced search as a workaround.
|
|
15
15
|
3. Offers the legitimate options: ingest content that covers the topic (if
|
|
16
16
|
the user actually wants the bot answering it), and/or tune the
|
|
17
|
-
`no_answer_message` wording via `
|
|
17
|
+
`no_answer_message` wording via `awesomate_knowledge_agent_change`, with the
|
|
18
18
|
read-current → show change → approval → read-back flow for any live
|
|
19
19
|
agent change.
|
|
20
20
|
4. If demonstrating, uses `awesomate_knowledge_ask` to show an in-scope
|
|
@@ -10,7 +10,8 @@ and widgets never see a partial or unvalidated answer.
|
|
|
10
10
|
|
|
11
11
|
- `status: 'ok'` — validated answer. `answer` is end-user-safe text with
|
|
12
12
|
numbered markers `[1] [2]`; `sources[]` carries `{ref, title, kind,
|
|
13
|
-
locator, url}
|
|
13
|
+
locator, url}`, plus `watch_url` on a cited video anyone can watch.
|
|
14
|
+
Present BOTH: the citations are the product.
|
|
14
15
|
- `status: 'no_results'` — the verified content has nothing on this. The
|
|
15
16
|
configured fallback wording (tenant's `no_answer_message`) is what an end
|
|
16
17
|
customer would see. Relay it; never answer from your own knowledge.
|
|
@@ -27,8 +28,10 @@ and widgets never see a partial or unvalidated answer.
|
|
|
27
28
|
## Rendering citations for humans
|
|
28
29
|
|
|
29
30
|
`[n]` markers map to `sources[n]`. Locators by kind: book → chapter/page
|
|
30
|
-
("p.42"), video/audio → time range (`t=612-655`;
|
|
31
|
-
|
|
31
|
+
("p.42"), video/audio → time range (`t=612-655`; a video anyone can watch
|
|
32
|
+
carries `watch_url`, its player at that second: link it as "Watch from 10:12";
|
|
33
|
+
when the source URL is public, `url?t=612` deep-links it), blog/web → the
|
|
34
|
+
canonical URL, image →
|
|
32
35
|
the word `photo` (the hub prefixes `photo ·`). Internal document ids and
|
|
33
36
|
`excerpt` text are never shown to end users — that is the same relay
|
|
34
37
|
contract every n8n surface follows (see n8n-connection.md §4): `answer_plain`
|
|
@@ -41,7 +44,7 @@ Dale and Fiji?", "everything about Priya") go through the same `/v1/answer`
|
|
|
41
44
|
and the same gate: every relationship claim cites the witnessing photos and
|
|
42
45
|
posts. An **unnamed** person is never named in an answer — the platform says
|
|
43
46
|
"an unnamed person" until the owner names the cluster on the hub's
|
|
44
|
-
Knowledge → People page (or via `
|
|
47
|
+
Knowledge → People page (or via `awesomate_knowledge_people_change`). If a
|
|
45
48
|
relationship answer names nobody, that is usually why.
|
|
46
49
|
|
|
47
50
|
## Explaining refusals to the owner
|