@togglhq/mcp 1.13.223 → 1.13.225
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-BPBg1XwH.js → src-knvu8NYt.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-knvu8NYt.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.225";
|
|
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-knvu8NYt.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -43142,6 +43142,17 @@ async function runAiView(httpClient, organization_id, workspace_id, data, produc
|
|
|
43142
43142
|
})).json();
|
|
43143
43143
|
}
|
|
43144
43144
|
//#endregion
|
|
43145
|
+
//#region ../focus-queries/dist/archival/requests.ts
|
|
43146
|
+
async function getUpcomingArchivalGroupsClassic(httpClient, organization_id, workspace_id, { page = 1, per_page } = {}, signal) {
|
|
43147
|
+
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archival/upcoming`, {
|
|
43148
|
+
signal,
|
|
43149
|
+
searchParams: buildSearchParams$2({
|
|
43150
|
+
page,
|
|
43151
|
+
per_page
|
|
43152
|
+
})
|
|
43153
|
+
})).json();
|
|
43154
|
+
}
|
|
43155
|
+
//#endregion
|
|
43145
43156
|
//#region ../focus-queries/dist/archived-clients/requests.ts
|
|
43146
43157
|
async function getArchivedClientsClassic(httpClient, organization_id, workspace_id, { page = 1, per_page, name } = {}, signal) {
|
|
43147
43158
|
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/clients`, {
|
|
@@ -46165,6 +46176,36 @@ const generatedFocusOperations = [
|
|
|
46165
46176
|
return client.partialUpdateAlert(data.alert_id, data.payload ?? data.data ?? data);
|
|
46166
46177
|
}
|
|
46167
46178
|
},
|
|
46179
|
+
{
|
|
46180
|
+
id: "focus.archival.get-upcoming-archival-groups",
|
|
46181
|
+
family: "focus",
|
|
46182
|
+
resource: "archival",
|
|
46183
|
+
action: "get-upcoming-archival-groups",
|
|
46184
|
+
title: "Get Upcoming Archival Groups Archival",
|
|
46185
|
+
description: "Get Upcoming Archival Groups Archival.",
|
|
46186
|
+
safety: "read",
|
|
46187
|
+
destructive: false,
|
|
46188
|
+
cli: {
|
|
46189
|
+
group: ["archival"],
|
|
46190
|
+
command: "get-upcoming-archival-groups",
|
|
46191
|
+
interactive: "hidden"
|
|
46192
|
+
},
|
|
46193
|
+
mcp: { entityTool: "archival" },
|
|
46194
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
46195
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
46196
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
46197
|
+
}),
|
|
46198
|
+
execute: (input, { client }) => {
|
|
46199
|
+
const data = input;
|
|
46200
|
+
return client.runGeneratedRequest("getUpcomingArchivalGroupsClassic", () => callGeneratedRequest(getUpcomingArchivalGroupsClassic, [
|
|
46201
|
+
client.httpClient,
|
|
46202
|
+
client.organizationId,
|
|
46203
|
+
client.workspaceIdNumber,
|
|
46204
|
+
data,
|
|
46205
|
+
void 0
|
|
46206
|
+
]));
|
|
46207
|
+
}
|
|
46208
|
+
},
|
|
46168
46209
|
{
|
|
46169
46210
|
id: "focus.archived-clients.get",
|
|
46170
46211
|
family: "focus",
|
|
@@ -60957,7 +60998,7 @@ function registerWorkspaceTools(server) {
|
|
|
60957
60998
|
//#region src/package-version.ts
|
|
60958
60999
|
function mcpPackageVersion() {
|
|
60959
61000
|
try {
|
|
60960
|
-
return "1.13.
|
|
61001
|
+
return "1.13.225";
|
|
60961
61002
|
} catch {
|
|
60962
61003
|
return "unknown";
|
|
60963
61004
|
}
|
|
@@ -61139,7 +61180,7 @@ import_main.default.config({
|
|
|
61139
61180
|
quiet: true,
|
|
61140
61181
|
ignore: ["MISSING_ENV_FILE"]
|
|
61141
61182
|
});
|
|
61142
|
-
const packageVersion = "1.13.
|
|
61183
|
+
const packageVersion = "1.13.225";
|
|
61143
61184
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
61144
61185
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
61145
61186
|
function resolvePublicUrls() {
|
|
@@ -61259,4 +61300,4 @@ function bootstrapServer(options = {}) {
|
|
|
61259
61300
|
//#endregion
|
|
61260
61301
|
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 };
|
|
61261
61302
|
|
|
61262
|
-
//# sourceMappingURL=src-
|
|
61303
|
+
//# sourceMappingURL=src-knvu8NYt.js.map
|