@togglhq/mcp 1.13.101 → 1.13.103
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-DjAINAWq.js → src-zlPU-AYP.js} +11 -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-zlPU-AYP.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.103";
|
|
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-zlPU-AYP.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -38524,7 +38524,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38524
38524
|
]))
|
|
38525
38525
|
});
|
|
38526
38526
|
//#endregion
|
|
38527
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38527
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.269_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_75aa8af074cb8030c4d625959c27766c/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38528
38528
|
async function getInvitations(httpClient, signal) {
|
|
38529
38529
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38530
38530
|
}
|
|
@@ -38541,7 +38541,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38541
38541
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38542
38542
|
}
|
|
38543
38543
|
//#endregion
|
|
38544
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38544
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.269_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_75aa8af074cb8030c4d625959c27766c/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38545
38545
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38546
38546
|
const searchParams = new URLSearchParams();
|
|
38547
38547
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38553,7 +38553,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38553
38553
|
return searchParams;
|
|
38554
38554
|
}
|
|
38555
38555
|
//#endregion
|
|
38556
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38556
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.269_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_75aa8af074cb8030c4d625959c27766c/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38557
38557
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38558
38558
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38559
38559
|
}
|
|
@@ -38568,7 +38568,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38568
38568
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38569
38569
|
}
|
|
38570
38570
|
//#endregion
|
|
38571
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38571
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.269_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_75aa8af074cb8030c4d625959c27766c/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38572
38572
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38573
38573
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38574
38574
|
}
|
|
@@ -38588,7 +38588,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38588
38588
|
});
|
|
38589
38589
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38590
38590
|
//#endregion
|
|
38591
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38591
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.269_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_75aa8af074cb8030c4d625959c27766c/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38592
38592
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38593
38593
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38594
38594
|
signal,
|
|
@@ -38599,12 +38599,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38599
38599
|
})).json();
|
|
38600
38600
|
}
|
|
38601
38601
|
//#endregion
|
|
38602
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38602
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.269_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_75aa8af074cb8030c4d625959c27766c/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38603
38603
|
async function getStatus(httpClient, signal) {
|
|
38604
38604
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38605
38605
|
}
|
|
38606
38606
|
//#endregion
|
|
38607
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38607
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.269_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_75aa8af074cb8030c4d625959c27766c/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38608
38608
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38609
38609
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38610
38610
|
signal,
|
|
@@ -38632,7 +38632,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38632
38632
|
return response.json();
|
|
38633
38633
|
}
|
|
38634
38634
|
//#endregion
|
|
38635
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38635
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.269_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_75aa8af074cb8030c4d625959c27766c/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38636
38636
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38637
38637
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38638
38638
|
}
|
|
@@ -58402,7 +58402,7 @@ function registerWorkspaceTools(server) {
|
|
|
58402
58402
|
//#region src/package-version.ts
|
|
58403
58403
|
function mcpPackageVersion() {
|
|
58404
58404
|
try {
|
|
58405
|
-
return "1.13.
|
|
58405
|
+
return "1.13.103";
|
|
58406
58406
|
} catch {
|
|
58407
58407
|
return "unknown";
|
|
58408
58408
|
}
|
|
@@ -58583,7 +58583,7 @@ import_main.default.config({
|
|
|
58583
58583
|
quiet: true,
|
|
58584
58584
|
ignore: ["MISSING_ENV_FILE"]
|
|
58585
58585
|
});
|
|
58586
|
-
const packageVersion = "1.13.
|
|
58586
|
+
const packageVersion = "1.13.103";
|
|
58587
58587
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
58588
58588
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
58589
58589
|
function resolvePublicUrls() {
|
|
@@ -58703,4 +58703,4 @@ function bootstrapServer(options = {}) {
|
|
|
58703
58703
|
//#endregion
|
|
58704
58704
|
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 };
|
|
58705
58705
|
|
|
58706
|
-
//# sourceMappingURL=src-
|
|
58706
|
+
//# sourceMappingURL=src-zlPU-AYP.js.map
|