@togglhq/mcp 1.13.13 → 1.13.15
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-B2pNnMt-.js → src-WAcBO9c7.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-WAcBO9c7.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.15";
|
|
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-WAcBO9c7.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -38431,7 +38431,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38431
38431
|
]))
|
|
38432
38432
|
});
|
|
38433
38433
|
//#endregion
|
|
38434
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38434
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.214_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9064d30886d89a9da74fb6c4f28afc30/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38435
38435
|
async function getInvitations(httpClient, signal) {
|
|
38436
38436
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38437
38437
|
}
|
|
@@ -38448,7 +38448,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38448
38448
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38449
38449
|
}
|
|
38450
38450
|
//#endregion
|
|
38451
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38451
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.214_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9064d30886d89a9da74fb6c4f28afc30/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38452
38452
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38453
38453
|
const searchParams = new URLSearchParams();
|
|
38454
38454
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38460,7 +38460,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38460
38460
|
return searchParams;
|
|
38461
38461
|
}
|
|
38462
38462
|
//#endregion
|
|
38463
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38463
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.214_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9064d30886d89a9da74fb6c4f28afc30/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38464
38464
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38465
38465
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38466
38466
|
}
|
|
@@ -38474,7 +38474,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38474
38474
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38475
38475
|
}
|
|
38476
38476
|
//#endregion
|
|
38477
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38477
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.214_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9064d30886d89a9da74fb6c4f28afc30/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38478
38478
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38479
38479
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38480
38480
|
}
|
|
@@ -38494,7 +38494,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38494
38494
|
});
|
|
38495
38495
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38496
38496
|
//#endregion
|
|
38497
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38497
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.214_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9064d30886d89a9da74fb6c4f28afc30/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38498
38498
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38499
38499
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38500
38500
|
signal,
|
|
@@ -38505,12 +38505,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38505
38505
|
})).json();
|
|
38506
38506
|
}
|
|
38507
38507
|
//#endregion
|
|
38508
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38508
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.214_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9064d30886d89a9da74fb6c4f28afc30/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38509
38509
|
async function getStatus(httpClient, signal) {
|
|
38510
38510
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38511
38511
|
}
|
|
38512
38512
|
//#endregion
|
|
38513
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38513
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.214_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9064d30886d89a9da74fb6c4f28afc30/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38514
38514
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38515
38515
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38516
38516
|
signal,
|
|
@@ -38538,7 +38538,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38538
38538
|
return response.json();
|
|
38539
38539
|
}
|
|
38540
38540
|
//#endregion
|
|
38541
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38541
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.214_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9064d30886d89a9da74fb6c4f28afc30/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38542
38542
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38543
38543
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38544
38544
|
}
|
|
@@ -56757,7 +56757,7 @@ function registerWorkspaceTools(server) {
|
|
|
56757
56757
|
//#region src/package-version.ts
|
|
56758
56758
|
function mcpPackageVersion() {
|
|
56759
56759
|
try {
|
|
56760
|
-
return "1.13.
|
|
56760
|
+
return "1.13.15";
|
|
56761
56761
|
} catch {
|
|
56762
56762
|
return "unknown";
|
|
56763
56763
|
}
|
|
@@ -56938,7 +56938,7 @@ import_main.default.config({
|
|
|
56938
56938
|
quiet: true,
|
|
56939
56939
|
ignore: ["MISSING_ENV_FILE"]
|
|
56940
56940
|
});
|
|
56941
|
-
const packageVersion = "1.13.
|
|
56941
|
+
const packageVersion = "1.13.15";
|
|
56942
56942
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
56943
56943
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
56944
56944
|
function resolvePublicUrls() {
|
|
@@ -57058,4 +57058,4 @@ function bootstrapServer(options = {}) {
|
|
|
57058
57058
|
//#endregion
|
|
57059
57059
|
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 };
|
|
57060
57060
|
|
|
57061
|
-
//# sourceMappingURL=src-
|
|
57061
|
+
//# sourceMappingURL=src-WAcBO9c7.js.map
|