@togglhq/mcp 1.13.53 → 1.13.55
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-DSx97p6Q.js → src-DYYSH4O8.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-DYYSH4O8.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.55";
|
|
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-DYYSH4O8.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -38466,7 +38466,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38466
38466
|
]))
|
|
38467
38467
|
});
|
|
38468
38468
|
//#endregion
|
|
38469
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38469
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.246_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1e5a052793062459eda2e2506e8660a/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38470
38470
|
async function getInvitations(httpClient, signal) {
|
|
38471
38471
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38472
38472
|
}
|
|
@@ -38483,7 +38483,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38483
38483
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38484
38484
|
}
|
|
38485
38485
|
//#endregion
|
|
38486
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38486
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.246_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1e5a052793062459eda2e2506e8660a/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38487
38487
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38488
38488
|
const searchParams = new URLSearchParams();
|
|
38489
38489
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38495,7 +38495,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38495
38495
|
return searchParams;
|
|
38496
38496
|
}
|
|
38497
38497
|
//#endregion
|
|
38498
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38498
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.246_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1e5a052793062459eda2e2506e8660a/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38499
38499
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38500
38500
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38501
38501
|
}
|
|
@@ -38509,7 +38509,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38509
38509
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38510
38510
|
}
|
|
38511
38511
|
//#endregion
|
|
38512
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38512
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.246_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1e5a052793062459eda2e2506e8660a/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38513
38513
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38514
38514
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38515
38515
|
}
|
|
@@ -38529,7 +38529,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38529
38529
|
});
|
|
38530
38530
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38531
38531
|
//#endregion
|
|
38532
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38532
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.246_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1e5a052793062459eda2e2506e8660a/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38533
38533
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38534
38534
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38535
38535
|
signal,
|
|
@@ -38540,12 +38540,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38540
38540
|
})).json();
|
|
38541
38541
|
}
|
|
38542
38542
|
//#endregion
|
|
38543
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38543
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.246_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1e5a052793062459eda2e2506e8660a/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38544
38544
|
async function getStatus(httpClient, signal) {
|
|
38545
38545
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38546
38546
|
}
|
|
38547
38547
|
//#endregion
|
|
38548
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38548
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.246_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1e5a052793062459eda2e2506e8660a/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38549
38549
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38550
38550
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38551
38551
|
signal,
|
|
@@ -38573,7 +38573,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38573
38573
|
return response.json();
|
|
38574
38574
|
}
|
|
38575
38575
|
//#endregion
|
|
38576
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38576
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.246_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1e5a052793062459eda2e2506e8660a/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38577
38577
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38578
38578
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38579
38579
|
}
|
|
@@ -57335,7 +57335,7 @@ function registerWorkspaceTools(server) {
|
|
|
57335
57335
|
//#region src/package-version.ts
|
|
57336
57336
|
function mcpPackageVersion() {
|
|
57337
57337
|
try {
|
|
57338
|
-
return "1.13.
|
|
57338
|
+
return "1.13.55";
|
|
57339
57339
|
} catch {
|
|
57340
57340
|
return "unknown";
|
|
57341
57341
|
}
|
|
@@ -57516,7 +57516,7 @@ import_main.default.config({
|
|
|
57516
57516
|
quiet: true,
|
|
57517
57517
|
ignore: ["MISSING_ENV_FILE"]
|
|
57518
57518
|
});
|
|
57519
|
-
const packageVersion = "1.13.
|
|
57519
|
+
const packageVersion = "1.13.55";
|
|
57520
57520
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
57521
57521
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
57522
57522
|
function resolvePublicUrls() {
|
|
@@ -57636,4 +57636,4 @@ function bootstrapServer(options = {}) {
|
|
|
57636
57636
|
//#endregion
|
|
57637
57637
|
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 };
|
|
57638
57638
|
|
|
57639
|
-
//# sourceMappingURL=src-
|
|
57639
|
+
//# sourceMappingURL=src-DYYSH4O8.js.map
|