@togglhq/mcp 1.13.174 → 1.13.176
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-Cf_OLVpI.js → src-GpgAfTJI.js} +38 -11
- 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-GpgAfTJI.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.176";
|
|
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-GpgAfTJI.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -38668,7 +38668,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38668
38668
|
]))
|
|
38669
38669
|
});
|
|
38670
38670
|
//#endregion
|
|
38671
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38671
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.313_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ea01daf9db927f742be06b3661119259/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38672
38672
|
async function getInvitations(httpClient, signal) {
|
|
38673
38673
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38674
38674
|
}
|
|
@@ -38685,7 +38685,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38685
38685
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38686
38686
|
}
|
|
38687
38687
|
//#endregion
|
|
38688
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38688
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.313_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ea01daf9db927f742be06b3661119259/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38689
38689
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38690
38690
|
const searchParams = new URLSearchParams();
|
|
38691
38691
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38697,7 +38697,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38697
38697
|
return searchParams;
|
|
38698
38698
|
}
|
|
38699
38699
|
//#endregion
|
|
38700
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38700
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.313_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ea01daf9db927f742be06b3661119259/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38701
38701
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38702
38702
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38703
38703
|
}
|
|
@@ -38712,7 +38712,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38712
38712
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38713
38713
|
}
|
|
38714
38714
|
//#endregion
|
|
38715
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38715
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.313_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ea01daf9db927f742be06b3661119259/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38716
38716
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38717
38717
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38718
38718
|
}
|
|
@@ -38732,7 +38732,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38732
38732
|
});
|
|
38733
38733
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38734
38734
|
//#endregion
|
|
38735
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38735
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.313_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ea01daf9db927f742be06b3661119259/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38736
38736
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38737
38737
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38738
38738
|
signal,
|
|
@@ -38743,12 +38743,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38743
38743
|
})).json();
|
|
38744
38744
|
}
|
|
38745
38745
|
//#endregion
|
|
38746
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38746
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.313_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ea01daf9db927f742be06b3661119259/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38747
38747
|
async function getStatus(httpClient, signal) {
|
|
38748
38748
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38749
38749
|
}
|
|
38750
38750
|
//#endregion
|
|
38751
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38751
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.313_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ea01daf9db927f742be06b3661119259/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38752
38752
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38753
38753
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38754
38754
|
signal,
|
|
@@ -38776,7 +38776,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38776
38776
|
return response.json();
|
|
38777
38777
|
}
|
|
38778
38778
|
//#endregion
|
|
38779
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38779
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.313_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ea01daf9db927f742be06b3661119259/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38780
38780
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38781
38781
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38782
38782
|
}
|
|
@@ -44838,6 +44838,11 @@ async function postTrackTeamInvites(httpClient, organization_id, workspace_id, d
|
|
|
44838
44838
|
})).json();
|
|
44839
44839
|
}
|
|
44840
44840
|
//#endregion
|
|
44841
|
+
//#region ../focus-queries/dist/usage-signals/requests.ts
|
|
44842
|
+
async function getUsageSignals(httpClient, organization_id, signal) {
|
|
44843
|
+
return (await httpClient.get(`organizations/${organization_id}/usage-signals`, { signal })).json();
|
|
44844
|
+
}
|
|
44845
|
+
//#endregion
|
|
44841
44846
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
44842
44847
|
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
44843
44848
|
return (await httpClient.get(`email/unsubscribe/${token}`, { signal })).json();
|
|
@@ -57728,6 +57733,28 @@ const generatedFocusOperations = [
|
|
|
57728
57733
|
]));
|
|
57729
57734
|
}
|
|
57730
57735
|
},
|
|
57736
|
+
{
|
|
57737
|
+
id: "focus.usage-signals.list",
|
|
57738
|
+
family: "focus",
|
|
57739
|
+
resource: "usage-signals",
|
|
57740
|
+
action: "list",
|
|
57741
|
+
title: "List Usage Signals",
|
|
57742
|
+
description: "List Usage Signals.",
|
|
57743
|
+
safety: "read",
|
|
57744
|
+
destructive: false,
|
|
57745
|
+
cli: {
|
|
57746
|
+
group: ["usage-signals"],
|
|
57747
|
+
command: "list",
|
|
57748
|
+
interactive: "hidden"
|
|
57749
|
+
},
|
|
57750
|
+
mcp: { entityTool: "usage-signals" },
|
|
57751
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
57752
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getUsageSignals", () => callGeneratedRequest(getUsageSignals, [
|
|
57753
|
+
client.httpClient,
|
|
57754
|
+
client.organizationId,
|
|
57755
|
+
void 0
|
|
57756
|
+
]))
|
|
57757
|
+
},
|
|
57731
57758
|
{
|
|
57732
57759
|
id: "focus.users.list",
|
|
57733
57760
|
family: "focus",
|
|
@@ -59564,7 +59591,7 @@ function registerWorkspaceTools(server) {
|
|
|
59564
59591
|
//#region src/package-version.ts
|
|
59565
59592
|
function mcpPackageVersion() {
|
|
59566
59593
|
try {
|
|
59567
|
-
return "1.13.
|
|
59594
|
+
return "1.13.176";
|
|
59568
59595
|
} catch {
|
|
59569
59596
|
return "unknown";
|
|
59570
59597
|
}
|
|
@@ -59745,7 +59772,7 @@ import_main.default.config({
|
|
|
59745
59772
|
quiet: true,
|
|
59746
59773
|
ignore: ["MISSING_ENV_FILE"]
|
|
59747
59774
|
});
|
|
59748
|
-
const packageVersion = "1.13.
|
|
59775
|
+
const packageVersion = "1.13.176";
|
|
59749
59776
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
59750
59777
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
59751
59778
|
function resolvePublicUrls() {
|
|
@@ -59865,4 +59892,4 @@ function bootstrapServer(options = {}) {
|
|
|
59865
59892
|
//#endregion
|
|
59866
59893
|
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 };
|
|
59867
59894
|
|
|
59868
|
-
//# sourceMappingURL=src-
|
|
59895
|
+
//# sourceMappingURL=src-GpgAfTJI.js.map
|