@sentientui/mcp 0.26.0 → 0.28.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.
- package/AGENTS.md +69 -10
- package/README.md +36 -6
- package/dist/{chunk-RRJAIZNT.js → chunk-Q7RW5Q4X.js} +1347 -491
- package/dist/index.cjs +1347 -491
- package/dist/index.js +1 -1
- package/dist/lib.cjs +1360 -496
- package/dist/lib.js +14 -6
- package/package.json +1 -1
package/dist/lib.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
ApiError,
|
|
5
5
|
PUBLIC_UI_RESOURCE_URIS,
|
|
6
6
|
createMcpServer
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Q7RW5Q4X.js";
|
|
8
8
|
|
|
9
9
|
// src/tool-catalog.ts
|
|
10
10
|
var TOOL_CATALOG = [
|
|
@@ -33,8 +33,15 @@ var TOOL_CATALOG = [
|
|
|
33
33
|
{ name: "get_funnel_report", access: "read", summary: "Step-by-step funnel drop-off" },
|
|
34
34
|
{ name: "list_guardrail_events", access: "read", summary: "Every variant currently paused by a guardrail (optionally only pauses from the last N days)" },
|
|
35
35
|
// Audience and layout
|
|
36
|
-
{ name: "get_persona_breakdown", access: "read", summary: "
|
|
36
|
+
{ name: "get_persona_breakdown", access: "read", summary: "Visitors per audience they were served as (30 days, the Matrix share), plus behaviour groups \u2014 visitors who behaved alike, never audiences" },
|
|
37
37
|
{ name: "get_stage_breakdown", access: "read", summary: "E-commerce funnel stages: stage mix, arrival channel x stage, stage moves between visits, tested holdout lift per first-visit context and channel, and versions per context (windowed, observational)" },
|
|
38
|
+
{ name: "get_known_people", access: "read", summary: "Known people: visitors split into new, returning and already past the main goal (one per person), first-time vs repeat main-goal conversions, and the stored known-people list by how each was learnt (reporting only)" },
|
|
39
|
+
{ name: "get_main_funnel", access: "read", summary: "The main funnel: people at each step on the way to the main goal \u2014 Arrived, the funnel's steps, the main goal \u2014 for new and returning visitors, with people who already converted left out, drop-off per step and step health" },
|
|
40
|
+
{ name: "get_page_groups", access: "read", summary: "Page groups: the site's pages in named groups, where each sits on the main funnel, and per group the people who viewed it, the components that live there (where they were actually shown), layouts served, plus site-wide components" },
|
|
41
|
+
{ name: "get_plan", access: "read", summary: "Sentient's plan: tests running (day and a status word per version), winners waiting for a decision, proposals with their reason and the versions that could be tested, and what was learned" },
|
|
42
|
+
{ name: "get_test", access: "read", summary: "One test: its versions, the people counted and how many reached the goal, a status word per version, and how it ended" },
|
|
43
|
+
{ name: "get_page_elements", access: "read", summary: "The elements the site check found (buttons, headlines, forms), each with the id manage_generation open_pr needs to send a change to your code" },
|
|
44
|
+
{ name: "get_needs_you", access: "read", summary: "Needs you: versions waiting for approval, failed work, winners to keep, changes with your developers (pull request, checks, review) and what just finished" },
|
|
38
45
|
{ name: "get_layout_stats", access: "read", summary: "Per-persona section order with bandit pulls and reward (cumulative state)" },
|
|
39
46
|
// Insights
|
|
40
47
|
{ name: "get_insights", access: "read", summary: "Ranked measured findings with their sample, plus AI narrations marked unmeasured" },
|
|
@@ -47,7 +54,8 @@ var TOOL_CATALOG = [
|
|
|
47
54
|
{ name: "review_cell", access: "write", summary: "Approve (publish) or reject one generated version waiting for review" },
|
|
48
55
|
// Agent traffic
|
|
49
56
|
{ name: "get_agent_traffic", access: "read", summary: "Which AI crawlers, automated browser sessions and agent API callers read the site (windowed)" },
|
|
50
|
-
{ name: "get_traffic_breakdown", access: "read", summary: "Where traffic came from: People vs visitors we could not confirm vs automated
|
|
57
|
+
{ name: "get_traffic_breakdown", access: "read", summary: "Where traffic came from: People vs visitors we could not confirm vs automated vs your team / test sites (windowed)" },
|
|
58
|
+
{ name: "get_internal_traffic_rules", access: "read", summary: "How the project keeps its team and test sites out of its numbers: internal sites, team email domains and masked emails, browser link, sessions marked internal (7 days)" },
|
|
51
59
|
{ name: "get_agent_legibility", access: "read", summary: "Whether the pages agents read are machine-legible, with fixes" },
|
|
52
60
|
// Agent access reads
|
|
53
61
|
{ name: "get_agent_access", access: "read", summary: "Which areas a person has allowed agents to change in this project (Generate, Approve and publish, Run tests, Goals and funnels, Campaigns and audiences, Project settings)" },
|
|
@@ -58,11 +66,11 @@ var TOOL_CATALOG = [
|
|
|
58
66
|
{ name: "get_region_history", access: "read", summary: "A region's published versions over time and whether it is still found on the live page" },
|
|
59
67
|
// Agent access writes (one tool per area; each action is one mgmt route)
|
|
60
68
|
{ name: "manage_generation", access: "write", summary: "Generate and edit written versions: queue generation, auto-fill, rewrite depth, regions, campaign versions, pull requests (Generate area)" },
|
|
61
|
-
{ name: "manage_approvals", access: "write", summary: "Approve or reject generated versions, require approval, publish, roll back or pin a region version, promote a variant (Approve and publish area)" },
|
|
62
|
-
{ name: "manage_tests", access: "write", summary: "
|
|
69
|
+
{ name: "manage_approvals", access: "write", summary: "Approve or reject generated versions, require approval, publish, roll back or pin a region version, promote a variant, keep a test's winner (Approve and publish area)" },
|
|
70
|
+
{ name: "manage_tests", access: "write", summary: "Propose, start, stop or skip a test and turn down a winner; archive or restore components and regions, lift guardrail pauses, proof window, observation-only mode, restrict versions by context (Run tests area)" },
|
|
63
71
|
{ name: "manage_goals", access: "write", summary: "Edit, publish or archive goals and funnels, set a goal role, confirm or dismiss discovered goals and goal-name warnings (Goals and funnels area)" },
|
|
64
72
|
{ name: "manage_campaigns", access: "write", summary: "Campaigns, retargeting and audiences: create, update, promote or roll back, plus stage and search settings (Campaigns and audiences area)" },
|
|
65
|
-
{ name: "manage_settings", access: "write", summary: "Project settings: edit the project, origins, webhooks, site styles, report shares, previews, models, test events (Project settings area); accept, dismiss or save a structured insight is always allowed" },
|
|
73
|
+
{ name: "manage_settings", access: "write", summary: "Project settings: edit the project, origins, webhooks, site styles, report shares, previews, models, test events, who counts as already converted (gate setting, import of known people) (Project settings area); accept, dismiss or save a structured insight is always allowed" },
|
|
66
74
|
// Setup
|
|
67
75
|
{ name: "get_integration_guide", access: "read", summary: "SDK setup guide (static \u2014 same for every project)" }
|
|
68
76
|
];
|