@togglhq/mcp 1.11.219 → 1.11.220
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-D2RopWjX.js → src-CtLMaFwk.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 getProductAnalyticsDistinctId, c as resolvePublicSentryDsn, i as captureToolInvocation, l as shutdownProductAnalytics, n as runMcpCli, o as initProductAnalytics, r as PUBLIC_SENTRY_PRIVACY_OPTIONS, s as resolveProductAnalyticsDistinctId } from "./src-
|
|
2
|
+
import { a as getProductAnalyticsDistinctId, c as resolvePublicSentryDsn, i as captureToolInvocation, l as shutdownProductAnalytics, n as runMcpCli, o as initProductAnalytics, r as PUBLIC_SENTRY_PRIVACY_OPTIONS, s as resolveProductAnalyticsDistinctId } from "./src-CtLMaFwk.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.11.
|
|
165
|
+
const packageVersion = "1.11.220";
|
|
166
166
|
let sentryEnabled = false;
|
|
167
167
|
let productAnalyticsEnabled = false;
|
|
168
168
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -38310,7 +38310,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38310
38310
|
]))
|
|
38311
38311
|
});
|
|
38312
38312
|
//#endregion
|
|
38313
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38313
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.182_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3aa63b01d81ec594fa69bb5b96d88726/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38314
38314
|
async function getInvitations(httpClient, signal) {
|
|
38315
38315
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38316
38316
|
}
|
|
@@ -38327,7 +38327,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38327
38327
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38328
38328
|
}
|
|
38329
38329
|
//#endregion
|
|
38330
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38330
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.182_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3aa63b01d81ec594fa69bb5b96d88726/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38331
38331
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38332
38332
|
const searchParams = new URLSearchParams();
|
|
38333
38333
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38339,7 +38339,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38339
38339
|
return searchParams;
|
|
38340
38340
|
}
|
|
38341
38341
|
//#endregion
|
|
38342
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38342
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.182_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3aa63b01d81ec594fa69bb5b96d88726/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38343
38343
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38344
38344
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38345
38345
|
}
|
|
@@ -38353,7 +38353,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38353
38353
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38354
38354
|
}
|
|
38355
38355
|
//#endregion
|
|
38356
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38356
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.182_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3aa63b01d81ec594fa69bb5b96d88726/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38357
38357
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38358
38358
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38359
38359
|
}
|
|
@@ -38373,7 +38373,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38373
38373
|
});
|
|
38374
38374
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38375
38375
|
//#endregion
|
|
38376
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38376
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.182_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3aa63b01d81ec594fa69bb5b96d88726/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38377
38377
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38378
38378
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38379
38379
|
signal,
|
|
@@ -38384,12 +38384,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38384
38384
|
})).json();
|
|
38385
38385
|
}
|
|
38386
38386
|
//#endregion
|
|
38387
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38387
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.182_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3aa63b01d81ec594fa69bb5b96d88726/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38388
38388
|
async function getStatus(httpClient, signal) {
|
|
38389
38389
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38390
38390
|
}
|
|
38391
38391
|
//#endregion
|
|
38392
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38392
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.182_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3aa63b01d81ec594fa69bb5b96d88726/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38393
38393
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38394
38394
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38395
38395
|
signal,
|
|
@@ -38417,7 +38417,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38417
38417
|
return response.json();
|
|
38418
38418
|
}
|
|
38419
38419
|
//#endregion
|
|
38420
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38420
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.182_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3aa63b01d81ec594fa69bb5b96d88726/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38421
38421
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38422
38422
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38423
38423
|
}
|
|
@@ -56214,7 +56214,7 @@ function registerWorkspaceTools(server) {
|
|
|
56214
56214
|
//#region src/package-version.ts
|
|
56215
56215
|
function mcpPackageVersion() {
|
|
56216
56216
|
try {
|
|
56217
|
-
return "1.11.
|
|
56217
|
+
return "1.11.220";
|
|
56218
56218
|
} catch {
|
|
56219
56219
|
return "unknown";
|
|
56220
56220
|
}
|
|
@@ -56389,7 +56389,7 @@ import_main.default.config({
|
|
|
56389
56389
|
quiet: true,
|
|
56390
56390
|
ignore: ["MISSING_ENV_FILE"]
|
|
56391
56391
|
});
|
|
56392
|
-
const packageVersion = "1.11.
|
|
56392
|
+
const packageVersion = "1.11.220";
|
|
56393
56393
|
function resolvePublicUrls() {
|
|
56394
56394
|
return {
|
|
56395
56395
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -56454,4 +56454,4 @@ function bootstrapServer(options = {}) {
|
|
|
56454
56454
|
//#endregion
|
|
56455
56455
|
export { getProductAnalyticsDistinctId as a, resolvePublicSentryDsn as c, captureToolInvocation as i, shutdownProductAnalytics as l, runMcpCli as n, initProductAnalytics as o, PUBLIC_SENTRY_PRIVACY_OPTIONS as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
|
|
56456
56456
|
|
|
56457
|
-
//# sourceMappingURL=src-
|
|
56457
|
+
//# sourceMappingURL=src-CtLMaFwk.js.map
|