@togglhq/mcp 1.11.119 → 1.11.120
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-KEPcceUu.js → src-DUuhKNxD.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-DUuhKNxD.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.120";
|
|
166
166
|
let sentryEnabled = false;
|
|
167
167
|
let productAnalyticsEnabled = false;
|
|
168
168
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -38270,7 +38270,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38270
38270
|
]))
|
|
38271
38271
|
});
|
|
38272
38272
|
//#endregion
|
|
38273
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38273
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.104_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b24efb279f1f9bbae1dfb9b4c58f193/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38274
38274
|
async function getInvitations(httpClient, signal) {
|
|
38275
38275
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38276
38276
|
}
|
|
@@ -38287,7 +38287,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38287
38287
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { 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.104_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b24efb279f1f9bbae1dfb9b4c58f193/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38291
38291
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38292
38292
|
const searchParams = new URLSearchParams();
|
|
38293
38293
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38299,7 +38299,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38299
38299
|
return searchParams;
|
|
38300
38300
|
}
|
|
38301
38301
|
//#endregion
|
|
38302
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38302
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.104_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b24efb279f1f9bbae1dfb9b4c58f193/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38303
38303
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38304
38304
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38305
38305
|
}
|
|
@@ -38313,7 +38313,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38313
38313
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38314
38314
|
}
|
|
38315
38315
|
//#endregion
|
|
38316
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38316
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.104_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b24efb279f1f9bbae1dfb9b4c58f193/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38317
38317
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38318
38318
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38319
38319
|
}
|
|
@@ -38333,7 +38333,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38333
38333
|
});
|
|
38334
38334
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38335
38335
|
//#endregion
|
|
38336
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38336
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.104_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b24efb279f1f9bbae1dfb9b4c58f193/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38337
38337
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38338
38338
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38339
38339
|
signal,
|
|
@@ -38344,12 +38344,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38344
38344
|
})).json();
|
|
38345
38345
|
}
|
|
38346
38346
|
//#endregion
|
|
38347
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38347
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.104_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b24efb279f1f9bbae1dfb9b4c58f193/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38348
38348
|
async function getStatus(httpClient, signal) {
|
|
38349
38349
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38350
38350
|
}
|
|
38351
38351
|
//#endregion
|
|
38352
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38352
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.104_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b24efb279f1f9bbae1dfb9b4c58f193/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38353
38353
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38354
38354
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38355
38355
|
signal,
|
|
@@ -38377,7 +38377,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38377
38377
|
return response.json();
|
|
38378
38378
|
}
|
|
38379
38379
|
//#endregion
|
|
38380
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38380
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.104_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b24efb279f1f9bbae1dfb9b4c58f193/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38381
38381
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38382
38382
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38383
38383
|
}
|
|
@@ -56087,7 +56087,7 @@ function registerWorkspaceTools(server) {
|
|
|
56087
56087
|
//#region src/package-version.ts
|
|
56088
56088
|
function mcpPackageVersion() {
|
|
56089
56089
|
try {
|
|
56090
|
-
return "1.11.
|
|
56090
|
+
return "1.11.120";
|
|
56091
56091
|
} catch {
|
|
56092
56092
|
return "unknown";
|
|
56093
56093
|
}
|
|
@@ -56262,7 +56262,7 @@ import_main.default.config({
|
|
|
56262
56262
|
quiet: true,
|
|
56263
56263
|
ignore: ["MISSING_ENV_FILE"]
|
|
56264
56264
|
});
|
|
56265
|
-
const packageVersion = "1.11.
|
|
56265
|
+
const packageVersion = "1.11.120";
|
|
56266
56266
|
function resolvePublicUrls() {
|
|
56267
56267
|
return {
|
|
56268
56268
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -56327,4 +56327,4 @@ function bootstrapServer(options = {}) {
|
|
|
56327
56327
|
//#endregion
|
|
56328
56328
|
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 };
|
|
56329
56329
|
|
|
56330
|
-
//# sourceMappingURL=src-
|
|
56330
|
+
//# sourceMappingURL=src-DUuhKNxD.js.map
|