@togglhq/mcp 1.13.333 → 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-CISfH3ld.js → src-C2caR06h.js} +3 -36
- 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 };
|
|
@@ -43027,12 +43027,6 @@ function formatValibotError(issues, maxLength = MAX_ERROR_LENGTH) {
|
|
|
43027
43027
|
async function getAiConsent(httpClient, organization_id, workspace_id, signal) {
|
|
43028
43028
|
return (await httpClient.get(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/consent`, { signal })).json();
|
|
43029
43029
|
}
|
|
43030
|
-
async function giveAiConsent(httpClient, organization_id, workspace_id, data, signal) {
|
|
43031
|
-
return (await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/consent`, {
|
|
43032
|
-
signal,
|
|
43033
|
-
json: data
|
|
43034
|
-
})).json();
|
|
43035
|
-
}
|
|
43036
43030
|
async function getAiConversations(httpClient, organization_id, workspace_id, { search, before, limit, product } = {}, signal) {
|
|
43037
43031
|
return (await httpClient.get(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations`, {
|
|
43038
43032
|
signal,
|
|
@@ -46189,33 +46183,6 @@ const generatedFocusOperations = [
|
|
|
46189
46183
|
void 0
|
|
46190
46184
|
]))
|
|
46191
46185
|
},
|
|
46192
|
-
{
|
|
46193
|
-
id: "focus.ai.give-ai-consent",
|
|
46194
|
-
family: "focus",
|
|
46195
|
-
resource: "ai",
|
|
46196
|
-
action: "give-ai-consent",
|
|
46197
|
-
title: "Give Ai Consent Ai",
|
|
46198
|
-
description: "Give Ai Consent Ai.",
|
|
46199
|
-
safety: "update",
|
|
46200
|
-
destructive: false,
|
|
46201
|
-
cli: {
|
|
46202
|
-
group: ["ai"],
|
|
46203
|
-
command: "give-ai-consent",
|
|
46204
|
-
interactive: "default"
|
|
46205
|
-
},
|
|
46206
|
-
mcp: { entityTool: "ai" },
|
|
46207
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ version: /* @__PURE__ */ number$2() }) }),
|
|
46208
|
-
execute: (input, { client }) => {
|
|
46209
|
-
const data = input;
|
|
46210
|
-
return client.runGeneratedRequest("giveAiConsent", () => callGeneratedRequest(giveAiConsent, [
|
|
46211
|
-
client.httpClient,
|
|
46212
|
-
client.organizationId,
|
|
46213
|
-
client.workspaceIdNumber,
|
|
46214
|
-
data.payload ?? data.data ?? data,
|
|
46215
|
-
void 0
|
|
46216
|
-
]));
|
|
46217
|
-
}
|
|
46218
|
-
},
|
|
46219
46186
|
{
|
|
46220
46187
|
id: "focus.ai.next-ai-actions",
|
|
46221
46188
|
family: "focus",
|
|
@@ -62021,7 +61988,7 @@ function registerWorkspaceTools(server) {
|
|
|
62021
61988
|
//#region src/package-version.ts
|
|
62022
61989
|
function mcpPackageVersion() {
|
|
62023
61990
|
try {
|
|
62024
|
-
return "1.13.
|
|
61991
|
+
return "1.13.334";
|
|
62025
61992
|
} catch {
|
|
62026
61993
|
return "unknown";
|
|
62027
61994
|
}
|
|
@@ -62203,7 +62170,7 @@ import_main.default.config({
|
|
|
62203
62170
|
quiet: true,
|
|
62204
62171
|
ignore: ["MISSING_ENV_FILE"]
|
|
62205
62172
|
});
|
|
62206
|
-
const packageVersion = "1.13.
|
|
62173
|
+
const packageVersion = "1.13.334";
|
|
62207
62174
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
62208
62175
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
62209
62176
|
function resolvePublicUrls() {
|
|
@@ -62323,4 +62290,4 @@ function bootstrapServer(options = {}) {
|
|
|
62323
62290
|
//#endregion
|
|
62324
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 };
|
|
62325
62292
|
|
|
62326
|
-
//# sourceMappingURL=src-
|
|
62293
|
+
//# sourceMappingURL=src-C2caR06h.js.map
|