@togglhq/mcp 1.13.70 → 1.13.71
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-B5XrdYdH.js → src-BIFNFg-Y.js} +10 -10
- 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-BIFNFg-Y.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.71";
|
|
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-BIFNFg-Y.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -42560,34 +42560,34 @@ function formatValibotError(issues, maxLength = MAX_ERROR_LENGTH) {
|
|
|
42560
42560
|
//#endregion
|
|
42561
42561
|
//#region ../focus-queries/dist/ai/requests.ts
|
|
42562
42562
|
async function getAiMessages(httpClient, organization_id, workspace_id, conversation_id, { limit } = {}, signal) {
|
|
42563
|
-
return await httpClient.get(`
|
|
42563
|
+
return await httpClient.get(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages`, {
|
|
42564
42564
|
signal,
|
|
42565
42565
|
searchParams: buildSearchParams$2({ limit })
|
|
42566
42566
|
}).json();
|
|
42567
42567
|
}
|
|
42568
42568
|
async function sendAiMessage(httpClient, organization_id, workspace_id, conversation_id, data, signal) {
|
|
42569
|
-
return await httpClient.post(`
|
|
42569
|
+
return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages`, {
|
|
42570
42570
|
signal,
|
|
42571
42571
|
json: data
|
|
42572
42572
|
}).json();
|
|
42573
42573
|
}
|
|
42574
42574
|
async function applyAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
|
|
42575
|
-
return await httpClient.post(`
|
|
42575
|
+
return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/apply`, { signal }).json();
|
|
42576
42576
|
}
|
|
42577
42577
|
async function discardAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
|
|
42578
|
-
return await httpClient.post(`
|
|
42578
|
+
return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/discard`, { signal }).json();
|
|
42579
42579
|
}
|
|
42580
42580
|
async function undoAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
|
|
42581
|
-
return await httpClient.post(`
|
|
42581
|
+
return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/undo`, { signal }).json();
|
|
42582
42582
|
}
|
|
42583
42583
|
async function searchAi(httpClient, organization_id, workspace_id, { q }, signal) {
|
|
42584
|
-
return await httpClient.get(`
|
|
42584
|
+
return await httpClient.get(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
42585
42585
|
signal,
|
|
42586
42586
|
searchParams: buildSearchParams$2({ q })
|
|
42587
42587
|
}).json();
|
|
42588
42588
|
}
|
|
42589
42589
|
async function runAiView(httpClient, organization_id, workspace_id, data, signal) {
|
|
42590
|
-
return await httpClient.post(`
|
|
42590
|
+
return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/views/run`, {
|
|
42591
42591
|
signal,
|
|
42592
42592
|
json: data
|
|
42593
42593
|
}).json();
|
|
@@ -57931,7 +57931,7 @@ function registerWorkspaceTools(server) {
|
|
|
57931
57931
|
//#region src/package-version.ts
|
|
57932
57932
|
function mcpPackageVersion() {
|
|
57933
57933
|
try {
|
|
57934
|
-
return "1.13.
|
|
57934
|
+
return "1.13.71";
|
|
57935
57935
|
} catch {
|
|
57936
57936
|
return "unknown";
|
|
57937
57937
|
}
|
|
@@ -58112,7 +58112,7 @@ import_main.default.config({
|
|
|
58112
58112
|
quiet: true,
|
|
58113
58113
|
ignore: ["MISSING_ENV_FILE"]
|
|
58114
58114
|
});
|
|
58115
|
-
const packageVersion = "1.13.
|
|
58115
|
+
const packageVersion = "1.13.71";
|
|
58116
58116
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
58117
58117
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
58118
58118
|
function resolvePublicUrls() {
|
|
@@ -58232,4 +58232,4 @@ function bootstrapServer(options = {}) {
|
|
|
58232
58232
|
//#endregion
|
|
58233
58233
|
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 };
|
|
58234
58234
|
|
|
58235
|
-
//# sourceMappingURL=src-
|
|
58235
|
+
//# sourceMappingURL=src-BIFNFg-Y.js.map
|