splera-mcp 0.1.2 → 0.1.3
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/config.d.ts +1 -1
- package/dist/config.js +1 -1
- package/dist/tools/shipWinner.js +7 -4
- package/package.json +1 -1
package/dist/config.d.ts
CHANGED
|
@@ -17,4 +17,4 @@ export declare function loadConfig(): Config;
|
|
|
17
17
|
* Pre-release / build metadata is NOT supported — we don't ship those for MCP.
|
|
18
18
|
*/
|
|
19
19
|
export declare function isBelow(current: string, minimum: string): boolean;
|
|
20
|
-
export declare const CURRENT_MCP_VERSION = "0.1.
|
|
20
|
+
export declare const CURRENT_MCP_VERSION = "0.1.3";
|
package/dist/config.js
CHANGED
package/dist/tools/shipWinner.js
CHANGED
|
@@ -44,10 +44,13 @@ export const shipWinnerTool = {
|
|
|
44
44
|
`Guard window: ${exp.guard_window_days} days (until ${guardWindowEndsDate}).\n` +
|
|
45
45
|
` - Use get_results to monitor for degradation.\n` +
|
|
46
46
|
` - If the live rate drops below baseline past the alert threshold, you'll get an email alert.\n` +
|
|
47
|
-
` -
|
|
48
|
-
`
|
|
49
|
-
`
|
|
50
|
-
`
|
|
47
|
+
` - Roll back in one click from the dashboard: ${resultsUrl}\n` +
|
|
48
|
+
` - On Pro, turn on auto-rollback in Settings to roll back automatically on a drop.\n\n` +
|
|
49
|
+
`Keep the Splera <script> tag installed: it is how this ship (and any rollback)\n` +
|
|
50
|
+
`reaches the site, and it runs future experiments.\n\n` +
|
|
51
|
+
`Next step (optional): once the winner is stable, hardcode it and remove only this\n` +
|
|
52
|
+
`experiment's getVariant branches and track() calls. The dashboard's Finalize step\n` +
|
|
53
|
+
`walks you through it.`;
|
|
51
54
|
// Flatten to the spec's ShipResponse shape in the JSON block.
|
|
52
55
|
const shipResponse = {
|
|
53
56
|
winning_variant_id: exp.winning_variant_id,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "splera-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"mcpName": "io.github.sohaibt/splera",
|
|
5
5
|
"description": "Model Context Protocol (MCP) server for Splera — A/B testing for vibe coders. Create experiments, check results, and ship winners directly from your AI coding agent.",
|
|
6
6
|
"type": "module",
|