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