@togglhq/mcp 1.11.213 → 1.11.214
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-B4TKs1s9.js → src-BgV-bzTu.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-BgV-bzTu.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.214";
|
|
166
166
|
let sentryEnabled = false;
|
|
167
167
|
let productAnalyticsEnabled = false;
|
|
168
168
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -38306,7 +38306,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38306
38306
|
]))
|
|
38307
38307
|
});
|
|
38308
38308
|
//#endregion
|
|
38309
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38309
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.179_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ef139c1883b5d09dd88c9701b41cbfa5/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38310
38310
|
async function getInvitations(httpClient, signal) {
|
|
38311
38311
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38312
38312
|
}
|
|
@@ -38323,7 +38323,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38323
38323
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38324
38324
|
}
|
|
38325
38325
|
//#endregion
|
|
38326
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38326
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.179_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ef139c1883b5d09dd88c9701b41cbfa5/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38327
38327
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38328
38328
|
const searchParams = new URLSearchParams();
|
|
38329
38329
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38335,7 +38335,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38335
38335
|
return searchParams;
|
|
38336
38336
|
}
|
|
38337
38337
|
//#endregion
|
|
38338
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38338
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.179_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ef139c1883b5d09dd88c9701b41cbfa5/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38339
38339
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38340
38340
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38341
38341
|
}
|
|
@@ -38349,7 +38349,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38349
38349
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${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.179_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ef139c1883b5d09dd88c9701b41cbfa5/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38353
38353
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38354
38354
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38355
38355
|
}
|
|
@@ -38369,7 +38369,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38369
38369
|
});
|
|
38370
38370
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38371
38371
|
//#endregion
|
|
38372
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38372
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.179_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ef139c1883b5d09dd88c9701b41cbfa5/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38373
38373
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38374
38374
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38375
38375
|
signal,
|
|
@@ -38380,12 +38380,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38380
38380
|
})).json();
|
|
38381
38381
|
}
|
|
38382
38382
|
//#endregion
|
|
38383
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38383
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.179_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ef139c1883b5d09dd88c9701b41cbfa5/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38384
38384
|
async function getStatus(httpClient, signal) {
|
|
38385
38385
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38386
38386
|
}
|
|
38387
38387
|
//#endregion
|
|
38388
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38388
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.179_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ef139c1883b5d09dd88c9701b41cbfa5/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38389
38389
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38390
38390
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38391
38391
|
signal,
|
|
@@ -38413,7 +38413,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38413
38413
|
return response.json();
|
|
38414
38414
|
}
|
|
38415
38415
|
//#endregion
|
|
38416
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38416
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.179_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ef139c1883b5d09dd88c9701b41cbfa5/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38417
38417
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38418
38418
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38419
38419
|
}
|
|
@@ -56210,7 +56210,7 @@ function registerWorkspaceTools(server) {
|
|
|
56210
56210
|
//#region src/package-version.ts
|
|
56211
56211
|
function mcpPackageVersion() {
|
|
56212
56212
|
try {
|
|
56213
|
-
return "1.11.
|
|
56213
|
+
return "1.11.214";
|
|
56214
56214
|
} catch {
|
|
56215
56215
|
return "unknown";
|
|
56216
56216
|
}
|
|
@@ -56385,7 +56385,7 @@ import_main.default.config({
|
|
|
56385
56385
|
quiet: true,
|
|
56386
56386
|
ignore: ["MISSING_ENV_FILE"]
|
|
56387
56387
|
});
|
|
56388
|
-
const packageVersion = "1.11.
|
|
56388
|
+
const packageVersion = "1.11.214";
|
|
56389
56389
|
function resolvePublicUrls() {
|
|
56390
56390
|
return {
|
|
56391
56391
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -56450,4 +56450,4 @@ function bootstrapServer(options = {}) {
|
|
|
56450
56450
|
//#endregion
|
|
56451
56451
|
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 };
|
|
56452
56452
|
|
|
56453
|
-
//# sourceMappingURL=src-
|
|
56453
|
+
//# sourceMappingURL=src-BgV-bzTu.js.map
|