@togglhq/mcp 1.11.67 → 1.11.69
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-C45SLn6O.js → src-C40qQeNj.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 initProductAnalytics, c as shutdownProductAnalytics, i as getProductAnalyticsDistinctId, n as runMcpCli, o as redactUnsafeSentryMessages, r as captureToolInvocation, s as resolveProductAnalyticsDistinctId } from "./src-
|
|
2
|
+
import { a as initProductAnalytics, c as shutdownProductAnalytics, i as getProductAnalyticsDistinctId, n as runMcpCli, o as redactUnsafeSentryMessages, r as captureToolInvocation, s as resolveProductAnalyticsDistinctId } from "./src-C40qQeNj.js";
|
|
3
3
|
import * as Sentry from "@sentry/node";
|
|
4
4
|
//#region src/analytics-tool-metadata.ts
|
|
5
5
|
/**
|
|
@@ -165,7 +165,7 @@ function wrapServerWithProductAnalytics(server) {
|
|
|
165
165
|
}
|
|
166
166
|
//#endregion
|
|
167
167
|
//#region src/cli.ts
|
|
168
|
-
const packageVersion = "1.11.
|
|
168
|
+
const packageVersion = "1.11.69";
|
|
169
169
|
let sentryEnabled = false;
|
|
170
170
|
let productAnalyticsEnabled = false;
|
|
171
171
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -38208,7 +38208,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38208
38208
|
]))
|
|
38209
38209
|
});
|
|
38210
38210
|
//#endregion
|
|
38211
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38211
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.65_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_13e4a4d022025ec120883b6b9ee20178/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38212
38212
|
async function getInvitations(httpClient, signal) {
|
|
38213
38213
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38214
38214
|
}
|
|
@@ -38225,7 +38225,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38225
38225
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38226
38226
|
}
|
|
38227
38227
|
//#endregion
|
|
38228
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38228
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.65_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_13e4a4d022025ec120883b6b9ee20178/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38229
38229
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38230
38230
|
const searchParams = new URLSearchParams();
|
|
38231
38231
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38237,7 +38237,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38237
38237
|
return searchParams;
|
|
38238
38238
|
}
|
|
38239
38239
|
//#endregion
|
|
38240
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38240
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.65_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_13e4a4d022025ec120883b6b9ee20178/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38241
38241
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38242
38242
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38243
38243
|
}
|
|
@@ -38251,7 +38251,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38251
38251
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38252
38252
|
}
|
|
38253
38253
|
//#endregion
|
|
38254
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38254
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.65_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_13e4a4d022025ec120883b6b9ee20178/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38255
38255
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38256
38256
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38257
38257
|
}
|
|
@@ -38271,7 +38271,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38271
38271
|
});
|
|
38272
38272
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38273
38273
|
//#endregion
|
|
38274
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38274
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.65_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_13e4a4d022025ec120883b6b9ee20178/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38275
38275
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38276
38276
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38277
38277
|
signal,
|
|
@@ -38282,12 +38282,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38282
38282
|
})).json();
|
|
38283
38283
|
}
|
|
38284
38284
|
//#endregion
|
|
38285
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38285
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.65_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_13e4a4d022025ec120883b6b9ee20178/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38286
38286
|
async function getStatus(httpClient, signal) {
|
|
38287
38287
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38288
38288
|
}
|
|
38289
38289
|
//#endregion
|
|
38290
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38290
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.65_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_13e4a4d022025ec120883b6b9ee20178/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38291
38291
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38292
38292
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38293
38293
|
signal,
|
|
@@ -38315,7 +38315,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38315
38315
|
return response.json();
|
|
38316
38316
|
}
|
|
38317
38317
|
//#endregion
|
|
38318
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38318
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.65_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_13e4a4d022025ec120883b6b9ee20178/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38319
38319
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38320
38320
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38321
38321
|
}
|
|
@@ -54723,7 +54723,7 @@ function registerWorkspaceTools(server) {
|
|
|
54723
54723
|
//#region src/package-version.ts
|
|
54724
54724
|
function mcpPackageVersion() {
|
|
54725
54725
|
try {
|
|
54726
|
-
return "1.11.
|
|
54726
|
+
return "1.11.69";
|
|
54727
54727
|
} catch {
|
|
54728
54728
|
return "unknown";
|
|
54729
54729
|
}
|
|
@@ -54898,7 +54898,7 @@ import_main.default.config({
|
|
|
54898
54898
|
quiet: true,
|
|
54899
54899
|
ignore: ["MISSING_ENV_FILE"]
|
|
54900
54900
|
});
|
|
54901
|
-
const packageVersion = "1.11.
|
|
54901
|
+
const packageVersion = "1.11.69";
|
|
54902
54902
|
function resolvePublicUrls() {
|
|
54903
54903
|
return {
|
|
54904
54904
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -54963,4 +54963,4 @@ function bootstrapServer(options = {}) {
|
|
|
54963
54963
|
//#endregion
|
|
54964
54964
|
export { initProductAnalytics as a, shutdownProductAnalytics as c, getProductAnalyticsDistinctId as i, runMcpCli as n, redactUnsafeSentryMessages as o, captureToolInvocation as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
|
|
54965
54965
|
|
|
54966
|
-
//# sourceMappingURL=src-
|
|
54966
|
+
//# sourceMappingURL=src-C40qQeNj.js.map
|