@togglhq/mcp 1.13.67 → 1.13.68
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-Cl-sFqqP.js → src-gYulc-AO.js} +78 -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-gYulc-AO.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.68";
|
|
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-gYulc-AO.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -42566,6 +42566,22 @@ async function sendAiMessage(httpClient, organization_id, workspace_id, conversa
|
|
|
42566
42566
|
}).json();
|
|
42567
42567
|
}
|
|
42568
42568
|
//#endregion
|
|
42569
|
+
//#region ../focus-queries/dist/archived-projects/requests.ts
|
|
42570
|
+
async function getArchivedProjectsClassic(httpClient, organization_id, workspace_id, { page = 1, per_page, name, client_id } = {}, signal) {
|
|
42571
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/projects`, {
|
|
42572
|
+
signal,
|
|
42573
|
+
searchParams: buildSearchParams$2({
|
|
42574
|
+
page,
|
|
42575
|
+
per_page,
|
|
42576
|
+
name,
|
|
42577
|
+
client_id
|
|
42578
|
+
})
|
|
42579
|
+
}).json();
|
|
42580
|
+
}
|
|
42581
|
+
async function getArchivedProject(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
42582
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/projects/${project_id}`, { signal }).json();
|
|
42583
|
+
}
|
|
42584
|
+
//#endregion
|
|
42569
42585
|
//#region ../focus-queries/dist/attachments/requests.ts
|
|
42570
42586
|
async function getWorkspaceAttachmentStorage(httpClient, organization_id, workspace_id, signal) {
|
|
42571
42587
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/attachments/storage`, { signal }).json();
|
|
@@ -44485,6 +44501,65 @@ const generatedFocusOperations = [
|
|
|
44485
44501
|
return client.partialUpdateAlert(data.alert_id, data.payload ?? data.data ?? data);
|
|
44486
44502
|
}
|
|
44487
44503
|
},
|
|
44504
|
+
{
|
|
44505
|
+
id: "focus.archived-projects.get",
|
|
44506
|
+
family: "focus",
|
|
44507
|
+
resource: "archived-projects",
|
|
44508
|
+
action: "get",
|
|
44509
|
+
title: "Get Archived Projects",
|
|
44510
|
+
description: "Get Archived Projects.",
|
|
44511
|
+
safety: "read",
|
|
44512
|
+
destructive: false,
|
|
44513
|
+
cli: {
|
|
44514
|
+
group: ["archived-projects"],
|
|
44515
|
+
command: "get",
|
|
44516
|
+
interactive: "available"
|
|
44517
|
+
},
|
|
44518
|
+
mcp: { entityTool: "archived-projects" },
|
|
44519
|
+
inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
|
|
44520
|
+
execute: (input, { client }) => {
|
|
44521
|
+
const data = input;
|
|
44522
|
+
return client.runGeneratedRequest("getArchivedProject", () => callGeneratedRequest(getArchivedProject, [
|
|
44523
|
+
client.httpClient,
|
|
44524
|
+
client.organizationId,
|
|
44525
|
+
client.workspaceIdNumber,
|
|
44526
|
+
data.project_id,
|
|
44527
|
+
void 0
|
|
44528
|
+
]));
|
|
44529
|
+
}
|
|
44530
|
+
},
|
|
44531
|
+
{
|
|
44532
|
+
id: "focus.archived-projects.get-classic",
|
|
44533
|
+
family: "focus",
|
|
44534
|
+
resource: "archived-projects",
|
|
44535
|
+
action: "get-classic",
|
|
44536
|
+
title: "Get Classic Archived Projects",
|
|
44537
|
+
description: "Get Classic Archived Projects.",
|
|
44538
|
+
safety: "read",
|
|
44539
|
+
destructive: false,
|
|
44540
|
+
cli: {
|
|
44541
|
+
group: ["archived-projects"],
|
|
44542
|
+
command: "get-classic",
|
|
44543
|
+
interactive: "hidden"
|
|
44544
|
+
},
|
|
44545
|
+
mcp: { entityTool: "archived-projects" },
|
|
44546
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
44547
|
+
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44548
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44549
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44550
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
44551
|
+
}),
|
|
44552
|
+
execute: (input, { client }) => {
|
|
44553
|
+
const data = input;
|
|
44554
|
+
return client.runGeneratedRequest("getArchivedProjectsClassic", () => callGeneratedRequest(getArchivedProjectsClassic, [
|
|
44555
|
+
client.httpClient,
|
|
44556
|
+
client.organizationId,
|
|
44557
|
+
client.workspaceIdNumber,
|
|
44558
|
+
data,
|
|
44559
|
+
void 0
|
|
44560
|
+
]));
|
|
44561
|
+
}
|
|
44562
|
+
},
|
|
44488
44563
|
{
|
|
44489
44564
|
id: "focus.attachments.get-workspace-attachment-storage",
|
|
44490
44565
|
family: "focus",
|
|
@@ -57619,7 +57694,7 @@ function registerWorkspaceTools(server) {
|
|
|
57619
57694
|
//#region src/package-version.ts
|
|
57620
57695
|
function mcpPackageVersion() {
|
|
57621
57696
|
try {
|
|
57622
|
-
return "1.13.
|
|
57697
|
+
return "1.13.68";
|
|
57623
57698
|
} catch {
|
|
57624
57699
|
return "unknown";
|
|
57625
57700
|
}
|
|
@@ -57800,7 +57875,7 @@ import_main.default.config({
|
|
|
57800
57875
|
quiet: true,
|
|
57801
57876
|
ignore: ["MISSING_ENV_FILE"]
|
|
57802
57877
|
});
|
|
57803
|
-
const packageVersion = "1.13.
|
|
57878
|
+
const packageVersion = "1.13.68";
|
|
57804
57879
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
57805
57880
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
57806
57881
|
function resolvePublicUrls() {
|
|
@@ -57920,4 +57995,4 @@ function bootstrapServer(options = {}) {
|
|
|
57920
57995
|
//#endregion
|
|
57921
57996
|
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 };
|
|
57922
57997
|
|
|
57923
|
-
//# sourceMappingURL=src-
|
|
57998
|
+
//# sourceMappingURL=src-gYulc-AO.js.map
|