@togglhq/mcp 1.13.332 → 1.13.334
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 +2 -2
- package/build/index.js +1 -1
- package/build/{src-C9T7oUwb.js → src-C2caR06h.js} +29 -3
- package/package.json +1 -1
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-C2caR06h.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.334";
|
|
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-C2caR06h.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -43024,6 +43024,9 @@ function formatValibotError(issues, maxLength = MAX_ERROR_LENGTH) {
|
|
|
43024
43024
|
}
|
|
43025
43025
|
//#endregion
|
|
43026
43026
|
//#region ../focus-queries/dist/ai/requests.ts
|
|
43027
|
+
async function getAiConsent(httpClient, organization_id, workspace_id, signal) {
|
|
43028
|
+
return (await httpClient.get(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/consent`, { signal })).json();
|
|
43029
|
+
}
|
|
43027
43030
|
async function getAiConversations(httpClient, organization_id, workspace_id, { search, before, limit, product } = {}, signal) {
|
|
43028
43031
|
return (await httpClient.get(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations`, {
|
|
43029
43032
|
signal,
|
|
@@ -46047,6 +46050,29 @@ const generatedFocusOperations = [
|
|
|
46047
46050
|
]));
|
|
46048
46051
|
}
|
|
46049
46052
|
},
|
|
46053
|
+
{
|
|
46054
|
+
id: "focus.ai.get-consent",
|
|
46055
|
+
family: "focus",
|
|
46056
|
+
resource: "ai",
|
|
46057
|
+
action: "get-consent",
|
|
46058
|
+
title: "Get Consent Ai",
|
|
46059
|
+
description: "Get Consent Ai.",
|
|
46060
|
+
safety: "read",
|
|
46061
|
+
destructive: false,
|
|
46062
|
+
cli: {
|
|
46063
|
+
group: ["ai"],
|
|
46064
|
+
command: "get-consent",
|
|
46065
|
+
interactive: "hidden"
|
|
46066
|
+
},
|
|
46067
|
+
mcp: { entityTool: "ai" },
|
|
46068
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
46069
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getAiConsent", () => callGeneratedRequest(getAiConsent, [
|
|
46070
|
+
client.httpClient,
|
|
46071
|
+
client.organizationId,
|
|
46072
|
+
client.workspaceIdNumber,
|
|
46073
|
+
void 0
|
|
46074
|
+
]))
|
|
46075
|
+
},
|
|
46050
46076
|
{
|
|
46051
46077
|
id: "focus.ai.get-conversations",
|
|
46052
46078
|
family: "focus",
|
|
@@ -61962,7 +61988,7 @@ function registerWorkspaceTools(server) {
|
|
|
61962
61988
|
//#region src/package-version.ts
|
|
61963
61989
|
function mcpPackageVersion() {
|
|
61964
61990
|
try {
|
|
61965
|
-
return "1.13.
|
|
61991
|
+
return "1.13.334";
|
|
61966
61992
|
} catch {
|
|
61967
61993
|
return "unknown";
|
|
61968
61994
|
}
|
|
@@ -62144,7 +62170,7 @@ import_main.default.config({
|
|
|
62144
62170
|
quiet: true,
|
|
62145
62171
|
ignore: ["MISSING_ENV_FILE"]
|
|
62146
62172
|
});
|
|
62147
|
-
const packageVersion = "1.13.
|
|
62173
|
+
const packageVersion = "1.13.334";
|
|
62148
62174
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
62149
62175
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
62150
62176
|
function resolvePublicUrls() {
|
|
@@ -62264,4 +62290,4 @@ function bootstrapServer(options = {}) {
|
|
|
62264
62290
|
//#endregion
|
|
62265
62291
|
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 };
|
|
62266
62292
|
|
|
62267
|
-
//# sourceMappingURL=src-
|
|
62293
|
+
//# sourceMappingURL=src-C2caR06h.js.map
|