@togglhq/mcp 1.13.71 → 1.13.73
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-BIFNFg-Y.js → src-DgsdD8j7.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-DgsdD8j7.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.73";
|
|
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-DgsdD8j7.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -38486,7 +38486,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38486
38486
|
]))
|
|
38487
38487
|
});
|
|
38488
38488
|
//#endregion
|
|
38489
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38489
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.254_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_f7dae324c48cb00ba75e89b04957d579/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38490
38490
|
async function getInvitations(httpClient, signal) {
|
|
38491
38491
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38492
38492
|
}
|
|
@@ -38503,7 +38503,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38503
38503
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38504
38504
|
}
|
|
38505
38505
|
//#endregion
|
|
38506
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38506
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.254_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_f7dae324c48cb00ba75e89b04957d579/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38507
38507
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38508
38508
|
const searchParams = new URLSearchParams();
|
|
38509
38509
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38515,7 +38515,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38515
38515
|
return searchParams;
|
|
38516
38516
|
}
|
|
38517
38517
|
//#endregion
|
|
38518
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38518
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.254_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_f7dae324c48cb00ba75e89b04957d579/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38519
38519
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38520
38520
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38521
38521
|
}
|
|
@@ -38529,7 +38529,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38529
38529
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38530
38530
|
}
|
|
38531
38531
|
//#endregion
|
|
38532
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38532
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.254_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_f7dae324c48cb00ba75e89b04957d579/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38533
38533
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38534
38534
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38535
38535
|
}
|
|
@@ -38549,7 +38549,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38549
38549
|
});
|
|
38550
38550
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38551
38551
|
//#endregion
|
|
38552
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38552
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.254_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_f7dae324c48cb00ba75e89b04957d579/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38553
38553
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38554
38554
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38555
38555
|
signal,
|
|
@@ -38560,12 +38560,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38560
38560
|
})).json();
|
|
38561
38561
|
}
|
|
38562
38562
|
//#endregion
|
|
38563
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38563
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.254_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_f7dae324c48cb00ba75e89b04957d579/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38564
38564
|
async function getStatus(httpClient, signal) {
|
|
38565
38565
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38566
38566
|
}
|
|
38567
38567
|
//#endregion
|
|
38568
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38568
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.254_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_f7dae324c48cb00ba75e89b04957d579/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38569
38569
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38570
38570
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38571
38571
|
signal,
|
|
@@ -38593,7 +38593,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38593
38593
|
return response.json();
|
|
38594
38594
|
}
|
|
38595
38595
|
//#endregion
|
|
38596
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38596
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.254_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_f7dae324c48cb00ba75e89b04957d579/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38597
38597
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38598
38598
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38599
38599
|
}
|
|
@@ -57931,7 +57931,7 @@ function registerWorkspaceTools(server) {
|
|
|
57931
57931
|
//#region src/package-version.ts
|
|
57932
57932
|
function mcpPackageVersion() {
|
|
57933
57933
|
try {
|
|
57934
|
-
return "1.13.
|
|
57934
|
+
return "1.13.73";
|
|
57935
57935
|
} catch {
|
|
57936
57936
|
return "unknown";
|
|
57937
57937
|
}
|
|
@@ -58112,7 +58112,7 @@ import_main.default.config({
|
|
|
58112
58112
|
quiet: true,
|
|
58113
58113
|
ignore: ["MISSING_ENV_FILE"]
|
|
58114
58114
|
});
|
|
58115
|
-
const packageVersion = "1.13.
|
|
58115
|
+
const packageVersion = "1.13.73";
|
|
58116
58116
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
58117
58117
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
58118
58118
|
function resolvePublicUrls() {
|
|
@@ -58232,4 +58232,4 @@ function bootstrapServer(options = {}) {
|
|
|
58232
58232
|
//#endregion
|
|
58233
58233
|
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 };
|
|
58234
58234
|
|
|
58235
|
-
//# sourceMappingURL=src-
|
|
58235
|
+
//# sourceMappingURL=src-DgsdD8j7.js.map
|