@togglhq/mcp 1.13.308 → 1.13.309
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-7wUjFz96.js → src-BRnoTZNc.js} +42 -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-BRnoTZNc.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.309";
|
|
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-BRnoTZNc.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -43185,6 +43185,9 @@ async function runAiView(httpClient, organization_id, workspace_id, data, produc
|
|
|
43185
43185
|
}
|
|
43186
43186
|
//#endregion
|
|
43187
43187
|
//#region ../focus-queries/dist/archival/requests.ts
|
|
43188
|
+
async function getItemArchivalStatus(httpClient, organization_id, workspace_id, entity_kind, entity_id, signal) {
|
|
43189
|
+
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archival/status/${entity_kind}/${entity_id}`, { signal })).json();
|
|
43190
|
+
}
|
|
43188
43191
|
async function getUpcomingArchivalGroupsClassic(httpClient, organization_id, workspace_id, { page = 1, per_page } = {}, signal) {
|
|
43189
43192
|
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archival/upcoming`, {
|
|
43190
43193
|
signal,
|
|
@@ -46562,6 +46565,42 @@ const generatedFocusOperations = [
|
|
|
46562
46565
|
return client.partialUpdateAlert(data.alert_id, data.payload ?? data.data ?? data);
|
|
46563
46566
|
}
|
|
46564
46567
|
},
|
|
46568
|
+
{
|
|
46569
|
+
id: "focus.archival.get-item-archival-status",
|
|
46570
|
+
family: "focus",
|
|
46571
|
+
resource: "archival",
|
|
46572
|
+
action: "get-item-archival-status",
|
|
46573
|
+
title: "Get Item Archival Status Archival",
|
|
46574
|
+
description: "Get Item Archival Status Archival.",
|
|
46575
|
+
safety: "read",
|
|
46576
|
+
destructive: false,
|
|
46577
|
+
cli: {
|
|
46578
|
+
group: ["archival"],
|
|
46579
|
+
command: "get-item-archival-status",
|
|
46580
|
+
interactive: "available"
|
|
46581
|
+
},
|
|
46582
|
+
mcp: { entityTool: "archival" },
|
|
46583
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
46584
|
+
entity_id: /* @__PURE__ */ number$2(),
|
|
46585
|
+
entity_kind: /* @__PURE__ */ picklist$1([
|
|
46586
|
+
"client",
|
|
46587
|
+
"project",
|
|
46588
|
+
"task",
|
|
46589
|
+
"time_entry"
|
|
46590
|
+
])
|
|
46591
|
+
}),
|
|
46592
|
+
execute: (input, { client }) => {
|
|
46593
|
+
const data = input;
|
|
46594
|
+
return client.runGeneratedRequest("getItemArchivalStatus", () => callGeneratedRequest(getItemArchivalStatus, [
|
|
46595
|
+
client.httpClient,
|
|
46596
|
+
client.organizationId,
|
|
46597
|
+
client.workspaceIdNumber,
|
|
46598
|
+
data.entity_kind,
|
|
46599
|
+
data.entity_id,
|
|
46600
|
+
void 0
|
|
46601
|
+
]));
|
|
46602
|
+
}
|
|
46603
|
+
},
|
|
46565
46604
|
{
|
|
46566
46605
|
id: "focus.archival.get-upcoming-archival-groups",
|
|
46567
46606
|
family: "focus",
|
|
@@ -61660,7 +61699,7 @@ function registerWorkspaceTools(server) {
|
|
|
61660
61699
|
//#region src/package-version.ts
|
|
61661
61700
|
function mcpPackageVersion() {
|
|
61662
61701
|
try {
|
|
61663
|
-
return "1.13.
|
|
61702
|
+
return "1.13.309";
|
|
61664
61703
|
} catch {
|
|
61665
61704
|
return "unknown";
|
|
61666
61705
|
}
|
|
@@ -61842,7 +61881,7 @@ import_main.default.config({
|
|
|
61842
61881
|
quiet: true,
|
|
61843
61882
|
ignore: ["MISSING_ENV_FILE"]
|
|
61844
61883
|
});
|
|
61845
|
-
const packageVersion = "1.13.
|
|
61884
|
+
const packageVersion = "1.13.309";
|
|
61846
61885
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
61847
61886
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
61848
61887
|
function resolvePublicUrls() {
|
|
@@ -61962,4 +62001,4 @@ function bootstrapServer(options = {}) {
|
|
|
61962
62001
|
//#endregion
|
|
61963
62002
|
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 };
|
|
61964
62003
|
|
|
61965
|
-
//# sourceMappingURL=src-
|
|
62004
|
+
//# sourceMappingURL=src-BRnoTZNc.js.map
|