@bettercms-ai/mcp 0.55.1 → 0.56.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 +29 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2582,6 +2582,7 @@ var LISTING_TAIL = /* @__PURE__ */ new Set([
|
|
|
2582
2582
|
// claims with. Ten more tools than the tail was written for, and a connector that truncates
|
|
2583
2583
|
// would otherwise lose `get_deploy_status` and the GitHub lane to make room for them.
|
|
2584
2584
|
"research_account",
|
|
2585
|
+
"build_abm_page",
|
|
2585
2586
|
"claim_abm_task",
|
|
2586
2587
|
"complete_abm_task",
|
|
2587
2588
|
"fail_abm_task",
|
|
@@ -3890,6 +3891,33 @@ ${res.warnings.join("\n")}` : summary, res.data);
|
|
|
3890
3891
|
}).shape,
|
|
3891
3892
|
async (c, a) => ok("Account brief.", await data(c, "POST", `/management/campaigns/research`, { campaignId: a.campaignId, domain: a.domain, name: a.name, mode: a.mode, force: a.force }))
|
|
3892
3893
|
),
|
|
3894
|
+
def(
|
|
3895
|
+
"build_abm_page",
|
|
3896
|
+
"Build one ABM page for one account",
|
|
3897
|
+
"Build ONE personalized page for ONE account, guided: give the sales motion and a paragraph of context about the target ('Lumina \u2014 300-rep sales team moving off spreadsheets\u2026') and this mints the campaign, the page, the collection and the run. `brandUrl` learns the seller's brand first, once per project, and needs Settings access because it rewrites the project's brand. Research defaults to `lite` and is forced off when no domain is known. It PARKS for the user's approval like every agent generation here \u2014 release it with approve_ai_job \u2014 and `requestId` makes a retry return the first answer instead of a second page.",
|
|
3898
|
+
z.object({
|
|
3899
|
+
motion: z.enum(["new_account", "expand_customer", "accelerate_opportunity", "reengage_closed_lost"]),
|
|
3900
|
+
context: z.string().min(20),
|
|
3901
|
+
website: z.string().optional(),
|
|
3902
|
+
name: z.string().optional(),
|
|
3903
|
+
research: z.enum(["lite", "deep", "off"]).optional(),
|
|
3904
|
+
ctaHref: z.string().optional(),
|
|
3905
|
+
formId: z.string().optional(),
|
|
3906
|
+
brandUrl: z.string().optional(),
|
|
3907
|
+
requestId: z.string().optional()
|
|
3908
|
+
}).shape,
|
|
3909
|
+
async (c, a) => ok("Page queued for approval.", await data(c, "POST", `/management/campaigns/build`, {
|
|
3910
|
+
motion: a.motion,
|
|
3911
|
+
context: a.context,
|
|
3912
|
+
website: a.website,
|
|
3913
|
+
name: a.name,
|
|
3914
|
+
research: a.research,
|
|
3915
|
+
ctaHref: a.ctaHref,
|
|
3916
|
+
formId: a.formId,
|
|
3917
|
+
brandUrl: a.brandUrl,
|
|
3918
|
+
requestId: a.requestId
|
|
3919
|
+
}))
|
|
3920
|
+
),
|
|
3893
3921
|
def(
|
|
3894
3922
|
"claim_abm_task",
|
|
3895
3923
|
"Claim an account to research",
|
|
@@ -4119,7 +4147,7 @@ ${res.warnings.join("\n")}` : summary, res.data);
|
|
|
4119
4147
|
def(
|
|
4120
4148
|
"get_deploy_status",
|
|
4121
4149
|
"Get deploy/build status",
|
|
4122
|
-
"Get the connected project's deploy/build status: state (idle|queued|building|failed), whether it's publishing, the live commit sha, when it went live, and any build error. Poll this after deploy_project until state is idle with your sha live. Also returns `canvas.lane` (the editor's live-preview lane for this site: `bridge` / `draft-route` / `none`) and `editorUrl`, the visual editor to hand the user.",
|
|
4150
|
+
"Get the connected project's deploy/build status: state (idle|queued|building|categorizing|failed), whether it's publishing, the live commit sha, when it went live, and any build error. `categorizing` means the bytes are live but the import's setup lanes (content, pages, bindings) are still running, so `publishing` is still true and the site is not ready to edit yet. Poll this after deploy_project until state is idle with your sha live. Also returns `canvas.lane` (the editor's live-preview lane for this site: `bridge` / `draft-route` / `none`) and `editorUrl`, the visual editor to hand the user.",
|
|
4123
4151
|
z.object({}).shape,
|
|
4124
4152
|
async (c) => ok("Deploy status.", await data(c, "GET", `/management/projects/deploy-status`))
|
|
4125
4153
|
)
|