@togglhq/mcp 1.13.85 → 1.13.87
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-BPP-9cL1.js → src-dXKGZWfY.js} +44 -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-dXKGZWfY.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.87";
|
|
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-dXKGZWfY.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -42563,6 +42563,16 @@ function formatValibotError(issues, maxLength = MAX_ERROR_LENGTH) {
|
|
|
42563
42563
|
}
|
|
42564
42564
|
//#endregion
|
|
42565
42565
|
//#region ../focus-queries/dist/ai/requests.ts
|
|
42566
|
+
async function getAiConversations(httpClient, organization_id, workspace_id, { search, before, limit } = {}, signal) {
|
|
42567
|
+
return await httpClient.get(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations`, {
|
|
42568
|
+
signal,
|
|
42569
|
+
searchParams: buildSearchParams$2({
|
|
42570
|
+
search,
|
|
42571
|
+
before,
|
|
42572
|
+
limit
|
|
42573
|
+
})
|
|
42574
|
+
}).json();
|
|
42575
|
+
}
|
|
42566
42576
|
async function getAiMessages(httpClient, organization_id, workspace_id, conversation_id, { limit } = {}, signal) {
|
|
42567
42577
|
return await httpClient.get(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages`, {
|
|
42568
42578
|
signal,
|
|
@@ -44389,6 +44399,37 @@ const generatedFocusOperations = [
|
|
|
44389
44399
|
]));
|
|
44390
44400
|
}
|
|
44391
44401
|
},
|
|
44402
|
+
{
|
|
44403
|
+
id: "focus.ai.get-conversations",
|
|
44404
|
+
family: "focus",
|
|
44405
|
+
resource: "ai",
|
|
44406
|
+
action: "get-conversations",
|
|
44407
|
+
title: "Get Conversations Ai",
|
|
44408
|
+
description: "Get Conversations Ai.",
|
|
44409
|
+
safety: "read",
|
|
44410
|
+
destructive: false,
|
|
44411
|
+
cli: {
|
|
44412
|
+
group: ["ai"],
|
|
44413
|
+
command: "get-conversations",
|
|
44414
|
+
interactive: "hidden"
|
|
44415
|
+
},
|
|
44416
|
+
mcp: { entityTool: "ai" },
|
|
44417
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
44418
|
+
before: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44419
|
+
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44420
|
+
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
44421
|
+
}),
|
|
44422
|
+
execute: (input, { client }) => {
|
|
44423
|
+
const data = input;
|
|
44424
|
+
return client.runGeneratedRequest("getAiConversations", () => callGeneratedRequest(getAiConversations, [
|
|
44425
|
+
client.httpClient,
|
|
44426
|
+
client.organizationId,
|
|
44427
|
+
client.workspaceIdNumber,
|
|
44428
|
+
data,
|
|
44429
|
+
void 0
|
|
44430
|
+
]));
|
|
44431
|
+
}
|
|
44432
|
+
},
|
|
44392
44433
|
{
|
|
44393
44434
|
id: "focus.ai.get-messages",
|
|
44394
44435
|
family: "focus",
|
|
@@ -58172,7 +58213,7 @@ function registerWorkspaceTools(server) {
|
|
|
58172
58213
|
//#region src/package-version.ts
|
|
58173
58214
|
function mcpPackageVersion() {
|
|
58174
58215
|
try {
|
|
58175
|
-
return "1.13.
|
|
58216
|
+
return "1.13.87";
|
|
58176
58217
|
} catch {
|
|
58177
58218
|
return "unknown";
|
|
58178
58219
|
}
|
|
@@ -58353,7 +58394,7 @@ import_main.default.config({
|
|
|
58353
58394
|
quiet: true,
|
|
58354
58395
|
ignore: ["MISSING_ENV_FILE"]
|
|
58355
58396
|
});
|
|
58356
|
-
const packageVersion = "1.13.
|
|
58397
|
+
const packageVersion = "1.13.87";
|
|
58357
58398
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
58358
58399
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
58359
58400
|
function resolvePublicUrls() {
|
|
@@ -58473,4 +58514,4 @@ function bootstrapServer(options = {}) {
|
|
|
58473
58514
|
//#endregion
|
|
58474
58515
|
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 };
|
|
58475
58516
|
|
|
58476
|
-
//# sourceMappingURL=src-
|
|
58517
|
+
//# sourceMappingURL=src-dXKGZWfY.js.map
|