@togglhq/mcp 1.11.175 → 1.11.176
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-D8epDvI0.js → src-AEU8Urnm.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-AEU8Urnm.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.176";
|
|
166
166
|
let sentryEnabled = false;
|
|
167
167
|
let productAnalyticsEnabled = false;
|
|
168
168
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -38209,7 +38209,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38209
38209
|
]))
|
|
38210
38210
|
});
|
|
38211
38211
|
//#endregion
|
|
38212
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38212
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.151_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6d8aec7f704b44730a48135b812694a/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38213
38213
|
async function getInvitations(httpClient, signal) {
|
|
38214
38214
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38215
38215
|
}
|
|
@@ -38226,7 +38226,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38226
38226
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38227
38227
|
}
|
|
38228
38228
|
//#endregion
|
|
38229
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38229
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.151_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6d8aec7f704b44730a48135b812694a/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38230
38230
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38231
38231
|
const searchParams = new URLSearchParams();
|
|
38232
38232
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38238,7 +38238,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38238
38238
|
return searchParams;
|
|
38239
38239
|
}
|
|
38240
38240
|
//#endregion
|
|
38241
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38241
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.151_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6d8aec7f704b44730a48135b812694a/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38242
38242
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38243
38243
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38244
38244
|
}
|
|
@@ -38252,7 +38252,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38252
38252
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38253
38253
|
}
|
|
38254
38254
|
//#endregion
|
|
38255
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38255
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.151_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6d8aec7f704b44730a48135b812694a/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38256
38256
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38257
38257
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38258
38258
|
}
|
|
@@ -38272,7 +38272,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38272
38272
|
});
|
|
38273
38273
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38274
38274
|
//#endregion
|
|
38275
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38275
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.151_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6d8aec7f704b44730a48135b812694a/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38276
38276
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38277
38277
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38278
38278
|
signal,
|
|
@@ -38283,12 +38283,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38283
38283
|
})).json();
|
|
38284
38284
|
}
|
|
38285
38285
|
//#endregion
|
|
38286
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38286
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.151_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6d8aec7f704b44730a48135b812694a/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38287
38287
|
async function getStatus(httpClient, signal) {
|
|
38288
38288
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38289
38289
|
}
|
|
38290
38290
|
//#endregion
|
|
38291
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38291
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.151_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6d8aec7f704b44730a48135b812694a/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38292
38292
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38293
38293
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38294
38294
|
signal,
|
|
@@ -38316,7 +38316,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38316
38316
|
return response.json();
|
|
38317
38317
|
}
|
|
38318
38318
|
//#endregion
|
|
38319
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38319
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.151_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6d8aec7f704b44730a48135b812694a/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38320
38320
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38321
38321
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38322
38322
|
}
|
|
@@ -54838,7 +54838,7 @@ function registerWorkspaceTools(server) {
|
|
|
54838
54838
|
//#region src/package-version.ts
|
|
54839
54839
|
function mcpPackageVersion() {
|
|
54840
54840
|
try {
|
|
54841
|
-
return "1.11.
|
|
54841
|
+
return "1.11.176";
|
|
54842
54842
|
} catch {
|
|
54843
54843
|
return "unknown";
|
|
54844
54844
|
}
|
|
@@ -55013,7 +55013,7 @@ import_main.default.config({
|
|
|
55013
55013
|
quiet: true,
|
|
55014
55014
|
ignore: ["MISSING_ENV_FILE"]
|
|
55015
55015
|
});
|
|
55016
|
-
const packageVersion = "1.11.
|
|
55016
|
+
const packageVersion = "1.11.176";
|
|
55017
55017
|
function resolvePublicUrls() {
|
|
55018
55018
|
return {
|
|
55019
55019
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55078,4 +55078,4 @@ function bootstrapServer(options = {}) {
|
|
|
55078
55078
|
//#endregion
|
|
55079
55079
|
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 };
|
|
55080
55080
|
|
|
55081
|
-
//# sourceMappingURL=src-
|
|
55081
|
+
//# sourceMappingURL=src-AEU8Urnm.js.map
|