@awesomate/hosting-mcp 0.93.0 → 0.93.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/dist/index.js
CHANGED
|
@@ -41275,14 +41275,41 @@ function renderAnswer(meta, streamedAnswer, streamError = null) {
|
|
|
41275
41275
|
note: "UNGROUNDED: the platform returned ok but ZERO sources, which means this answer came from the model, NOT from the verified content. Do NOT present it as an answer from their knowledge base, do not quote it as fact, and do not build on it. Tell the user their content does not cover this. If they need it to refuse instead of improvising, the agent's grounding setting is not strict \u2014 a purpose-built agent (awesomate_knowledge_agents) can be scoped and set strict, and that is what should be wired to anything customer-facing."
|
|
41276
41276
|
};
|
|
41277
41277
|
}
|
|
41278
|
+
if (meta.reason === "hedged") {
|
|
41279
|
+
return {
|
|
41280
|
+
status: "ok",
|
|
41281
|
+
grounded: false,
|
|
41282
|
+
hedged: true,
|
|
41283
|
+
answer,
|
|
41284
|
+
sources,
|
|
41285
|
+
not_in_verified_content: true,
|
|
41286
|
+
configured_fallback: typeof meta.no_answer_message === "string" && meta.no_answer_message ? meta.no_answer_message : null,
|
|
41287
|
+
...typeof meta.score === "number" ? { score: meta.score } : {},
|
|
41288
|
+
...session,
|
|
41289
|
+
note: 'The assistant replied that it does not know (a hedge such as "not sure, please contact us"), so their content does not answer this. Tell the user so plainly and do not treat the cited sources as an answer.'
|
|
41290
|
+
};
|
|
41291
|
+
}
|
|
41292
|
+
const refFor = (docId, section) => {
|
|
41293
|
+
const i = rawSources.findIndex((s) => s.doc_id === docId && (section == null || s.section_path === section));
|
|
41294
|
+
const j = i >= 0 ? i : rawSources.findIndex((s) => s.doc_id === docId);
|
|
41295
|
+
return j >= 0 ? rawSources[j].ref ?? j + 1 : null;
|
|
41296
|
+
};
|
|
41297
|
+
const conflicts = Array.isArray(meta.conflicts) ? meta.conflicts.map((c) => ({
|
|
41298
|
+
item: typeof c.item === "string" ? c.item : null,
|
|
41299
|
+
values: (Array.isArray(c.values) ? c.values : []).map((v) => ({
|
|
41300
|
+
amount: v.amount ?? null,
|
|
41301
|
+
source_ref: refFor(v.doc_id, v.section_path)
|
|
41302
|
+
}))
|
|
41303
|
+
})) : null;
|
|
41278
41304
|
return {
|
|
41279
41305
|
status: "ok",
|
|
41280
41306
|
grounded: true,
|
|
41281
41307
|
answer,
|
|
41282
41308
|
sources,
|
|
41309
|
+
...conflicts && conflicts.length ? { conflicts } : {},
|
|
41283
41310
|
...typeof meta.score === "number" ? { score: meta.score } : {},
|
|
41284
41311
|
...session,
|
|
41285
|
-
note: "Present the answer with its numbered sources; the citations are the product."
|
|
41312
|
+
note: conflicts && conflicts.length ? "Two of their documents disagree on this (see conflicts: each figure names the numbered source it came from). Present the answer with its sources, say which sources disagree, and suggest the user correct or remove the out-of-date one." : "Present the answer with its numbered sources; the citations are the product."
|
|
41286
41313
|
};
|
|
41287
41314
|
}
|
|
41288
41315
|
async function knowledgeAsk(config3, args) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awesomate/hosting-mcp",
|
|
3
|
-
"version": "0.93.
|
|
3
|
+
"version": "0.93.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",
|
package/skill/CHANGELOG.json
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"versions": [
|
|
3
|
+
{
|
|
4
|
+
"version": "0.93.1",
|
|
5
|
+
"highlights": [
|
|
6
|
+
"When a Knowledge agent replies that it does not know (\"not sure, please contact us\"), Claude says your content does not cover it instead of passing that on as an answer",
|
|
7
|
+
"When two of your documents disagree, Claude says so and suggests correcting the out-of-date one"
|
|
8
|
+
]
|
|
9
|
+
},
|
|
3
10
|
{
|
|
4
11
|
"version": "0.93.0",
|
|
5
12
|
"highlights": [
|
|
@@ -10,7 +10,7 @@ estimating BEFORE asking approval.
|
|
|
10
10
|
|---|---|---|
|
|
11
11
|
| Web page / blog post | `add {url}` | One page per URL; extraction skips pages under ~200 chars of real text |
|
|
12
12
|
| Whole site / blog | `add {sitemap, since?}` | sitemap.xml; default cap 500 pages per job — a bigger sitemap FAILS the job loudly rather than truncating silently. `since` skips entries with older `<lastmod>` |
|
|
13
|
-
| YouTube / hosted video, podcast audio | `add {url}` | **Not transcribed today
|
|
13
|
+
| YouTube / hosted video, podcast audio | `add {url}` | **Not transcribed today.** A YouTube link is refused ("YouTube links are not supported yet"); another link to a recording is read as a web page (title and description). Pro and above only; below Pro, or in a trial, it is refused (403 `media_ingest`). To transcribe a recording, upload the file |
|
|
14
14
|
| PDF / book / document / markdown | hub upload page | Text layer used; scanned pages OCR'd automatically (`auto` mode, capped at 300 OCR pages per job — over that the job fails BEFORE any vision spend) |
|
|
15
15
|
| Video/audio FILES | hub upload page (≤ 100 MB) | Transcribed (Deepgram, language defaults to English). Pro and above, within the month's media hours. A longer recording: split or compress it and upload each part |
|
|
16
16
|
| Images | hub upload page | Vision-described, then indexed |
|