@togglhq/mcp 1.13.88 → 1.13.89
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-D0MnP9Zq.js → src-DmsCL2Cb.js} +37 -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-DmsCL2Cb.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.89";
|
|
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-DmsCL2Cb.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -42585,6 +42585,9 @@ async function sendAiMessage(httpClient, organization_id, workspace_id, conversa
|
|
|
42585
42585
|
json: data
|
|
42586
42586
|
}).json();
|
|
42587
42587
|
}
|
|
42588
|
+
async function nextAiActions(httpClient, organization_id, workspace_id, conversation_id, message_id, signal) {
|
|
42589
|
+
return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/next`, { signal }).json();
|
|
42590
|
+
}
|
|
42588
42591
|
async function applyAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
|
|
42589
42592
|
return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/apply`, { signal }).json();
|
|
42590
42593
|
}
|
|
@@ -44461,6 +44464,37 @@ const generatedFocusOperations = [
|
|
|
44461
44464
|
]));
|
|
44462
44465
|
}
|
|
44463
44466
|
},
|
|
44467
|
+
{
|
|
44468
|
+
id: "focus.ai.next-ai-actions",
|
|
44469
|
+
family: "focus",
|
|
44470
|
+
resource: "ai",
|
|
44471
|
+
action: "next-ai-actions",
|
|
44472
|
+
title: "Next Ai Actions Ai",
|
|
44473
|
+
description: "Next Ai Actions Ai.",
|
|
44474
|
+
safety: "update",
|
|
44475
|
+
destructive: false,
|
|
44476
|
+
cli: {
|
|
44477
|
+
group: ["ai"],
|
|
44478
|
+
command: "next-ai-actions",
|
|
44479
|
+
interactive: "default"
|
|
44480
|
+
},
|
|
44481
|
+
mcp: { entityTool: "ai" },
|
|
44482
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
44483
|
+
conversation_id: /* @__PURE__ */ string$1(),
|
|
44484
|
+
message_id: /* @__PURE__ */ number$2()
|
|
44485
|
+
}),
|
|
44486
|
+
execute: (input, { client }) => {
|
|
44487
|
+
const data = input;
|
|
44488
|
+
return client.runGeneratedRequest("nextAiActions", () => callGeneratedRequest(nextAiActions, [
|
|
44489
|
+
client.httpClient,
|
|
44490
|
+
client.organizationId,
|
|
44491
|
+
client.workspaceIdNumber,
|
|
44492
|
+
data.conversation_id,
|
|
44493
|
+
data.message_id,
|
|
44494
|
+
void 0
|
|
44495
|
+
]));
|
|
44496
|
+
}
|
|
44497
|
+
},
|
|
44464
44498
|
{
|
|
44465
44499
|
id: "focus.ai.run-ai-view",
|
|
44466
44500
|
family: "focus",
|
|
@@ -58213,7 +58247,7 @@ function registerWorkspaceTools(server) {
|
|
|
58213
58247
|
//#region src/package-version.ts
|
|
58214
58248
|
function mcpPackageVersion() {
|
|
58215
58249
|
try {
|
|
58216
|
-
return "1.13.
|
|
58250
|
+
return "1.13.89";
|
|
58217
58251
|
} catch {
|
|
58218
58252
|
return "unknown";
|
|
58219
58253
|
}
|
|
@@ -58394,7 +58428,7 @@ import_main.default.config({
|
|
|
58394
58428
|
quiet: true,
|
|
58395
58429
|
ignore: ["MISSING_ENV_FILE"]
|
|
58396
58430
|
});
|
|
58397
|
-
const packageVersion = "1.13.
|
|
58431
|
+
const packageVersion = "1.13.89";
|
|
58398
58432
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
58399
58433
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
58400
58434
|
function resolvePublicUrls() {
|
|
@@ -58514,4 +58548,4 @@ function bootstrapServer(options = {}) {
|
|
|
58514
58548
|
//#endregion
|
|
58515
58549
|
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 };
|
|
58516
58550
|
|
|
58517
|
-
//# sourceMappingURL=src-
|
|
58551
|
+
//# sourceMappingURL=src-DmsCL2Cb.js.map
|