@togglhq/mcp 1.13.196 → 1.13.197
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/build/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as PUBLIC_SENTRY_PRIVACY_OPTIONS, c as initProductAnalytics, d as shutdownProductAnalytics, i as runMcpCli, l as resolveProductAnalyticsDistinctId, o as captureToolInvocation, s as getProductAnalyticsDistinctId, u as resolvePublicSentryDsn } from "./src-
|
|
2
|
+
import { a as PUBLIC_SENTRY_PRIVACY_OPTIONS, c as initProductAnalytics, d as shutdownProductAnalytics, i as runMcpCli, l as resolveProductAnalyticsDistinctId, o as captureToolInvocation, s as getProductAnalyticsDistinctId, u as resolvePublicSentryDsn } from "./src-RjeFYaVK.js";
|
|
3
3
|
import * as Sentry from "@sentry/node";
|
|
4
4
|
//#region src/analytics-tool-metadata.ts
|
|
5
5
|
/**
|
|
@@ -162,7 +162,7 @@ function wrapServerWithProductAnalytics(server) {
|
|
|
162
162
|
}
|
|
163
163
|
//#endregion
|
|
164
164
|
//#region src/cli.ts
|
|
165
|
-
const packageVersion = "1.13.
|
|
165
|
+
const packageVersion = "1.13.197";
|
|
166
166
|
let sentryEnabled = false;
|
|
167
167
|
let productAnalyticsEnabled = false;
|
|
168
168
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-
|
|
2
|
+
import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-RjeFYaVK.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -59741,7 +59741,7 @@ function registerWorkspaceTools(server) {
|
|
|
59741
59741
|
//#region src/package-version.ts
|
|
59742
59742
|
function mcpPackageVersion() {
|
|
59743
59743
|
try {
|
|
59744
|
-
return "1.13.
|
|
59744
|
+
return "1.13.197";
|
|
59745
59745
|
} catch {
|
|
59746
59746
|
return "unknown";
|
|
59747
59747
|
}
|
|
@@ -59825,8 +59825,9 @@ function buildToolDescription(entityTool, operations) {
|
|
|
59825
59825
|
const shared = new Map([...byGuidance].filter(([, actions]) => actions.length > 1));
|
|
59826
59826
|
const lines = [`Manage Focus ${entityTool} with the following actions:`, ""];
|
|
59827
59827
|
for (const op of operations) {
|
|
59828
|
-
const inline = op.agentGuidance && !shared.has(op.agentGuidance) ?
|
|
59829
|
-
|
|
59828
|
+
const inline = op.agentGuidance && !shared.has(op.agentGuidance) ? op.agentGuidance : void 0;
|
|
59829
|
+
const text = [op.description === `${op.title}.` ? void 0 : op.description, inline].filter(Boolean).join(" ");
|
|
59830
|
+
lines.push(`- **${op.action}**${text ? `: ${text}` : ""} (data: ${summarizeParams(op)})`);
|
|
59830
59831
|
}
|
|
59831
59832
|
for (const [guidance, actions] of shared) lines.push("", `Applies to ${actions.join(", ")}: ${guidance}`);
|
|
59832
59833
|
lines.push("", "Pass the action-specific fields under `data` (required fields are marked with *).", "Mutations require a confirm_token handshake: call without confirm_token first to receive a token, then call again with the token to confirm.", "Optional dry_run: true validates input and returns { dry_run, operation, input } without calling the API.");
|
|
@@ -59922,7 +59923,7 @@ import_main.default.config({
|
|
|
59922
59923
|
quiet: true,
|
|
59923
59924
|
ignore: ["MISSING_ENV_FILE"]
|
|
59924
59925
|
});
|
|
59925
|
-
const packageVersion = "1.13.
|
|
59926
|
+
const packageVersion = "1.13.197";
|
|
59926
59927
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
59927
59928
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
59928
59929
|
function resolvePublicUrls() {
|
|
@@ -60042,4 +60043,4 @@ function bootstrapServer(options = {}) {
|
|
|
60042
60043
|
//#endregion
|
|
60043
60044
|
export { PUBLIC_SENTRY_PRIVACY_OPTIONS as a, initProductAnalytics as c, shutdownProductAnalytics as d, runMcpCli as i, resolveProductAnalyticsDistinctId as l, MCP_MAX_TOOL_INPUT_ELEMENTS as n, captureToolInvocation as o, bootstrapServer as r, getProductAnalyticsDistinctId as s, MCP_CACHE_TTL_MS as t, resolvePublicSentryDsn as u };
|
|
60044
60045
|
|
|
60045
|
-
//# sourceMappingURL=src-
|
|
60046
|
+
//# sourceMappingURL=src-RjeFYaVK.js.map
|