@togglhq/mcp 1.11.206 → 1.11.208
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-fiOZk2mi.js → src-DGB8ufX6.js} +14 -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-DGB8ufX6.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.208";
|
|
166
166
|
let sentryEnabled = false;
|
|
167
167
|
let productAnalyticsEnabled = false;
|
|
168
168
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -38303,7 +38303,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38303
38303
|
]))
|
|
38304
38304
|
});
|
|
38305
38305
|
//#endregion
|
|
38306
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38306
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.173_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3e2c86e1a925908193586dffa3da8876/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38307
38307
|
async function getInvitations(httpClient, signal) {
|
|
38308
38308
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38309
38309
|
}
|
|
@@ -38320,7 +38320,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38320
38320
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38321
38321
|
}
|
|
38322
38322
|
//#endregion
|
|
38323
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38323
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.173_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3e2c86e1a925908193586dffa3da8876/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38324
38324
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38325
38325
|
const searchParams = new URLSearchParams();
|
|
38326
38326
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38332,7 +38332,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38332
38332
|
return searchParams;
|
|
38333
38333
|
}
|
|
38334
38334
|
//#endregion
|
|
38335
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38335
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.173_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3e2c86e1a925908193586dffa3da8876/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38336
38336
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38337
38337
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38338
38338
|
}
|
|
@@ -38346,7 +38346,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38346
38346
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38347
38347
|
}
|
|
38348
38348
|
//#endregion
|
|
38349
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38349
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.173_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3e2c86e1a925908193586dffa3da8876/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38350
38350
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38351
38351
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38352
38352
|
}
|
|
@@ -38366,7 +38366,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38366
38366
|
});
|
|
38367
38367
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38368
38368
|
//#endregion
|
|
38369
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38369
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.173_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3e2c86e1a925908193586dffa3da8876/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38370
38370
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38371
38371
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38372
38372
|
signal,
|
|
@@ -38377,12 +38377,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38377
38377
|
})).json();
|
|
38378
38378
|
}
|
|
38379
38379
|
//#endregion
|
|
38380
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38380
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.173_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3e2c86e1a925908193586dffa3da8876/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38381
38381
|
async function getStatus(httpClient, signal) {
|
|
38382
38382
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38383
38383
|
}
|
|
38384
38384
|
//#endregion
|
|
38385
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38385
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.173_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3e2c86e1a925908193586dffa3da8876/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38386
38386
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38387
38387
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38388
38388
|
signal,
|
|
@@ -38410,7 +38410,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38410
38410
|
return response.json();
|
|
38411
38411
|
}
|
|
38412
38412
|
//#endregion
|
|
38413
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38413
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.173_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3e2c86e1a925908193586dffa3da8876/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38414
38414
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38415
38415
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38416
38416
|
}
|
|
@@ -54561,6 +54561,8 @@ const generatedFocusOperations = [
|
|
|
54561
54561
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
54562
54562
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
54563
54563
|
project_privacy_education_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
54564
|
+
reports_guide_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
54565
|
+
reports_router_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
54564
54566
|
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
54565
54567
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
54566
54568
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -54582,6 +54584,7 @@ const generatedFocusOperations = [
|
|
|
54582
54584
|
time_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["12h", "24h"])),
|
|
54583
54585
|
time_tracking_mode_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
54584
54586
|
time_tracking_mode_fullscreen: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
54587
|
+
timeline_education_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
54585
54588
|
tooltip_onboarding_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
54586
54589
|
tos_ack_decoupled_licenses: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
54587
54590
|
trial_ended_modal_seen: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -56130,7 +56133,7 @@ function registerWorkspaceTools(server) {
|
|
|
56130
56133
|
//#region src/package-version.ts
|
|
56131
56134
|
function mcpPackageVersion() {
|
|
56132
56135
|
try {
|
|
56133
|
-
return "1.11.
|
|
56136
|
+
return "1.11.208";
|
|
56134
56137
|
} catch {
|
|
56135
56138
|
return "unknown";
|
|
56136
56139
|
}
|
|
@@ -56305,7 +56308,7 @@ import_main.default.config({
|
|
|
56305
56308
|
quiet: true,
|
|
56306
56309
|
ignore: ["MISSING_ENV_FILE"]
|
|
56307
56310
|
});
|
|
56308
|
-
const packageVersion = "1.11.
|
|
56311
|
+
const packageVersion = "1.11.208";
|
|
56309
56312
|
function resolvePublicUrls() {
|
|
56310
56313
|
return {
|
|
56311
56314
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -56370,4 +56373,4 @@ function bootstrapServer(options = {}) {
|
|
|
56370
56373
|
//#endregion
|
|
56371
56374
|
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 };
|
|
56372
56375
|
|
|
56373
|
-
//# sourceMappingURL=src-
|
|
56376
|
+
//# sourceMappingURL=src-DGB8ufX6.js.map
|