@sentientui/mcp 0.24.0 → 0.24.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/{chunk-V3A552VK.js → chunk-G6WGJ7A5.js} +3 -3
- package/dist/index.cjs +3 -3
- package/dist/index.js +1 -1
- package/dist/lib.cjs +3 -3
- package/dist/lib.js +1 -1
- package/package.json +1 -1
|
@@ -1904,7 +1904,7 @@ function registerVariantWriteTools(server, client) {
|
|
|
1904
1904
|
"create_variant",
|
|
1905
1905
|
{
|
|
1906
1906
|
title: "Create managed variant",
|
|
1907
|
-
description: "Create a NO-CODE managed text variant for a component (content stored in SentientUI, rendered by <AdaptiveText>). Use this ONLY for text-only variants the user wants without a code change. For variants that will live in the codebase (full components \u2014 copy, markup, styling), use get_variant_brief and write the variant in code instead; those auto-register on deploy and do not need create_variant. Works on every plan with an editor/admin login or the project's sk_ server key (anonymous demo tokens are read-only). The variant is created as a DRAFT \u2014 it serves no traffic until activated with update_variant (status 'active'). Confirm the text with the user before calling.",
|
|
1907
|
+
description: "Create a NO-CODE managed text variant for a component (content stored in SentientUI, rendered by <AdaptiveText>). Use this ONLY for text-only variants the user wants without a code change. For variants that will live in the codebase (full components \u2014 copy, markup, styling), use get_variant_brief and write the variant in code instead; those auto-register on deploy and do not need create_variant. Works on every plan with an editor/admin login or the project's sk_ server key (anonymous demo tokens are read-only). The variant is created as a DRAFT \u2014 it serves no traffic until activated with update_variant (status 'active'). Confirm the text with the user before calling. On a component that has moved to the shared track, the text is added to the component's versions instead (still a draft until activated), and text is required there (an empty create is refused); the call and its result are otherwise the same.",
|
|
1908
1908
|
inputSchema: {
|
|
1909
1909
|
projectId: projectIdSchema,
|
|
1910
1910
|
componentId: z11.string().min(1).max(200).describe("The component ID to add a variant to"),
|
|
@@ -2023,7 +2023,7 @@ function registerVariantWriteTools(server, client) {
|
|
|
2023
2023
|
"update_variant",
|
|
2024
2024
|
{
|
|
2025
2025
|
title: "Update managed variant",
|
|
2026
|
-
description: "Edit a NO-CODE managed variant (one created with create_variant or in the dashboard): its display name, its text, or its status \u2014 'active' starts serving it to visitors, 'draft' takes it back out of rotation. Code-native variants cannot be edited here (change the code). Overwriting text or activating changes what live visitors see, so CONFIRM with the user first. Omit a field to leave it unchanged.",
|
|
2026
|
+
description: "Edit a NO-CODE managed variant (one created with create_variant or in the dashboard): its display name, its text, or its status \u2014 'active' starts serving it to visitors, 'draft' takes it back out of rotation. Code-native variants cannot be edited here (change the code). Overwriting text or activating changes what live visitors see, so CONFIRM with the user first. Omit a field to leave it unchanged. On a component that has moved to the shared track (one experiment with its versions), the text is edited on that component's version instead; the call and its result are the same.",
|
|
2027
2027
|
inputSchema: {
|
|
2028
2028
|
projectId: projectIdSchema,
|
|
2029
2029
|
componentId: z11.string().min(1).max(200).describe("The component ID"),
|
|
@@ -3190,7 +3190,7 @@ function registerCellTools(server, client) {
|
|
|
3190
3190
|
}
|
|
3191
3191
|
|
|
3192
3192
|
// src/server.ts
|
|
3193
|
-
var PKG_VERSION = true ? "0.24.
|
|
3193
|
+
var PKG_VERSION = true ? "0.24.1" : "0.0.0-dev";
|
|
3194
3194
|
function createMcpServer(client) {
|
|
3195
3195
|
const server = new McpServer(
|
|
3196
3196
|
{
|
package/dist/index.cjs
CHANGED
|
@@ -1908,7 +1908,7 @@ function registerVariantWriteTools(server, client) {
|
|
|
1908
1908
|
"create_variant",
|
|
1909
1909
|
{
|
|
1910
1910
|
title: "Create managed variant",
|
|
1911
|
-
description: "Create a NO-CODE managed text variant for a component (content stored in SentientUI, rendered by <AdaptiveText>). Use this ONLY for text-only variants the user wants without a code change. For variants that will live in the codebase (full components \u2014 copy, markup, styling), use get_variant_brief and write the variant in code instead; those auto-register on deploy and do not need create_variant. Works on every plan with an editor/admin login or the project's sk_ server key (anonymous demo tokens are read-only). The variant is created as a DRAFT \u2014 it serves no traffic until activated with update_variant (status 'active'). Confirm the text with the user before calling.",
|
|
1911
|
+
description: "Create a NO-CODE managed text variant for a component (content stored in SentientUI, rendered by <AdaptiveText>). Use this ONLY for text-only variants the user wants without a code change. For variants that will live in the codebase (full components \u2014 copy, markup, styling), use get_variant_brief and write the variant in code instead; those auto-register on deploy and do not need create_variant. Works on every plan with an editor/admin login or the project's sk_ server key (anonymous demo tokens are read-only). The variant is created as a DRAFT \u2014 it serves no traffic until activated with update_variant (status 'active'). Confirm the text with the user before calling. On a component that has moved to the shared track, the text is added to the component's versions instead (still a draft until activated), and text is required there (an empty create is refused); the call and its result are otherwise the same.",
|
|
1912
1912
|
inputSchema: {
|
|
1913
1913
|
projectId: projectIdSchema,
|
|
1914
1914
|
componentId: import_zod11.z.string().min(1).max(200).describe("The component ID to add a variant to"),
|
|
@@ -2027,7 +2027,7 @@ function registerVariantWriteTools(server, client) {
|
|
|
2027
2027
|
"update_variant",
|
|
2028
2028
|
{
|
|
2029
2029
|
title: "Update managed variant",
|
|
2030
|
-
description: "Edit a NO-CODE managed variant (one created with create_variant or in the dashboard): its display name, its text, or its status \u2014 'active' starts serving it to visitors, 'draft' takes it back out of rotation. Code-native variants cannot be edited here (change the code). Overwriting text or activating changes what live visitors see, so CONFIRM with the user first. Omit a field to leave it unchanged.",
|
|
2030
|
+
description: "Edit a NO-CODE managed variant (one created with create_variant or in the dashboard): its display name, its text, or its status \u2014 'active' starts serving it to visitors, 'draft' takes it back out of rotation. Code-native variants cannot be edited here (change the code). Overwriting text or activating changes what live visitors see, so CONFIRM with the user first. Omit a field to leave it unchanged. On a component that has moved to the shared track (one experiment with its versions), the text is edited on that component's version instead; the call and its result are the same.",
|
|
2031
2031
|
inputSchema: {
|
|
2032
2032
|
projectId: projectIdSchema,
|
|
2033
2033
|
componentId: import_zod11.z.string().min(1).max(200).describe("The component ID"),
|
|
@@ -3194,7 +3194,7 @@ function registerCellTools(server, client) {
|
|
|
3194
3194
|
}
|
|
3195
3195
|
|
|
3196
3196
|
// src/server.ts
|
|
3197
|
-
var PKG_VERSION = true ? "0.24.
|
|
3197
|
+
var PKG_VERSION = true ? "0.24.1" : "0.0.0-dev";
|
|
3198
3198
|
function createMcpServer(client) {
|
|
3199
3199
|
const server = new import_mcp.McpServer(
|
|
3200
3200
|
{
|
package/dist/index.js
CHANGED
package/dist/lib.cjs
CHANGED
|
@@ -1934,7 +1934,7 @@ function registerVariantWriteTools(server, client) {
|
|
|
1934
1934
|
"create_variant",
|
|
1935
1935
|
{
|
|
1936
1936
|
title: "Create managed variant",
|
|
1937
|
-
description: "Create a NO-CODE managed text variant for a component (content stored in SentientUI, rendered by <AdaptiveText>). Use this ONLY for text-only variants the user wants without a code change. For variants that will live in the codebase (full components \u2014 copy, markup, styling), use get_variant_brief and write the variant in code instead; those auto-register on deploy and do not need create_variant. Works on every plan with an editor/admin login or the project's sk_ server key (anonymous demo tokens are read-only). The variant is created as a DRAFT \u2014 it serves no traffic until activated with update_variant (status 'active'). Confirm the text with the user before calling.",
|
|
1937
|
+
description: "Create a NO-CODE managed text variant for a component (content stored in SentientUI, rendered by <AdaptiveText>). Use this ONLY for text-only variants the user wants without a code change. For variants that will live in the codebase (full components \u2014 copy, markup, styling), use get_variant_brief and write the variant in code instead; those auto-register on deploy and do not need create_variant. Works on every plan with an editor/admin login or the project's sk_ server key (anonymous demo tokens are read-only). The variant is created as a DRAFT \u2014 it serves no traffic until activated with update_variant (status 'active'). Confirm the text with the user before calling. On a component that has moved to the shared track, the text is added to the component's versions instead (still a draft until activated), and text is required there (an empty create is refused); the call and its result are otherwise the same.",
|
|
1938
1938
|
inputSchema: {
|
|
1939
1939
|
projectId: projectIdSchema,
|
|
1940
1940
|
componentId: import_zod11.z.string().min(1).max(200).describe("The component ID to add a variant to"),
|
|
@@ -2053,7 +2053,7 @@ function registerVariantWriteTools(server, client) {
|
|
|
2053
2053
|
"update_variant",
|
|
2054
2054
|
{
|
|
2055
2055
|
title: "Update managed variant",
|
|
2056
|
-
description: "Edit a NO-CODE managed variant (one created with create_variant or in the dashboard): its display name, its text, or its status \u2014 'active' starts serving it to visitors, 'draft' takes it back out of rotation. Code-native variants cannot be edited here (change the code). Overwriting text or activating changes what live visitors see, so CONFIRM with the user first. Omit a field to leave it unchanged.",
|
|
2056
|
+
description: "Edit a NO-CODE managed variant (one created with create_variant or in the dashboard): its display name, its text, or its status \u2014 'active' starts serving it to visitors, 'draft' takes it back out of rotation. Code-native variants cannot be edited here (change the code). Overwriting text or activating changes what live visitors see, so CONFIRM with the user first. Omit a field to leave it unchanged. On a component that has moved to the shared track (one experiment with its versions), the text is edited on that component's version instead; the call and its result are the same.",
|
|
2057
2057
|
inputSchema: {
|
|
2058
2058
|
projectId: projectIdSchema,
|
|
2059
2059
|
componentId: import_zod11.z.string().min(1).max(200).describe("The component ID"),
|
|
@@ -3220,7 +3220,7 @@ function registerCellTools(server, client) {
|
|
|
3220
3220
|
}
|
|
3221
3221
|
|
|
3222
3222
|
// src/server.ts
|
|
3223
|
-
var PKG_VERSION = true ? "0.24.
|
|
3223
|
+
var PKG_VERSION = true ? "0.24.1" : "0.0.0-dev";
|
|
3224
3224
|
function createMcpServer(client) {
|
|
3225
3225
|
const server = new import_mcp.McpServer(
|
|
3226
3226
|
{
|
package/dist/lib.js
CHANGED