@togglhq/mcp 1.11.218 → 1.11.220
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-Bn7WHqpH.js → src-CtLMaFwk.js} +15 -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-CtLMaFwk.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.220";
|
|
166
166
|
let sentryEnabled = false;
|
|
167
167
|
let productAnalyticsEnabled = false;
|
|
168
168
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -34779,6 +34779,8 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34779
34779
|
project: /* @__PURE__ */ optional(ProjectLiteSchema),
|
|
34780
34780
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34781
34781
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34782
|
+
recurring_rule: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("The rule of the task's series (RRULE with DTSTART); omitted for a normal task and once the series has stopped."))),
|
|
34783
|
+
recurring_series_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("The series this task is an occurrence of; omitted for a normal task. Only the server sets it."))),
|
|
34782
34784
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34783
34785
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34784
34786
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -34836,6 +34838,8 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34836
34838
|
project: /* @__PURE__ */ optional(ProjectLiteSchema),
|
|
34837
34839
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34838
34840
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34841
|
+
recurring_rule: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("The rule of the task's series (RRULE with DTSTART); omitted for a normal task and once the series has stopped."))),
|
|
34842
|
+
recurring_series_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("The series this task is an occurrence of; omitted for a normal task. Only the server sets it."))),
|
|
34839
34843
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34840
34844
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34841
34845
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -38306,7 +38310,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38306
38310
|
]))
|
|
38307
38311
|
});
|
|
38308
38312
|
//#endregion
|
|
38309
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38313
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.182_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3aa63b01d81ec594fa69bb5b96d88726/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38310
38314
|
async function getInvitations(httpClient, signal) {
|
|
38311
38315
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38312
38316
|
}
|
|
@@ -38323,7 +38327,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38323
38327
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38324
38328
|
}
|
|
38325
38329
|
//#endregion
|
|
38326
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38330
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.182_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3aa63b01d81ec594fa69bb5b96d88726/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38327
38331
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38328
38332
|
const searchParams = new URLSearchParams();
|
|
38329
38333
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38335,7 +38339,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38335
38339
|
return searchParams;
|
|
38336
38340
|
}
|
|
38337
38341
|
//#endregion
|
|
38338
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38342
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.182_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3aa63b01d81ec594fa69bb5b96d88726/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38339
38343
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38340
38344
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38341
38345
|
}
|
|
@@ -38349,7 +38353,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38349
38353
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38350
38354
|
}
|
|
38351
38355
|
//#endregion
|
|
38352
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38356
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.182_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3aa63b01d81ec594fa69bb5b96d88726/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38353
38357
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38354
38358
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38355
38359
|
}
|
|
@@ -38369,7 +38373,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38369
38373
|
});
|
|
38370
38374
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38371
38375
|
//#endregion
|
|
38372
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38376
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.182_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3aa63b01d81ec594fa69bb5b96d88726/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38373
38377
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38374
38378
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38375
38379
|
signal,
|
|
@@ -38380,12 +38384,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38380
38384
|
})).json();
|
|
38381
38385
|
}
|
|
38382
38386
|
//#endregion
|
|
38383
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38387
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.182_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3aa63b01d81ec594fa69bb5b96d88726/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38384
38388
|
async function getStatus(httpClient, signal) {
|
|
38385
38389
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38386
38390
|
}
|
|
38387
38391
|
//#endregion
|
|
38388
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38392
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.182_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3aa63b01d81ec594fa69bb5b96d88726/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38389
38393
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38390
38394
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38391
38395
|
signal,
|
|
@@ -38413,7 +38417,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38413
38417
|
return response.json();
|
|
38414
38418
|
}
|
|
38415
38419
|
//#endregion
|
|
38416
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38420
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.182_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_3aa63b01d81ec594fa69bb5b96d88726/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38417
38421
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38418
38422
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38419
38423
|
}
|
|
@@ -56210,7 +56214,7 @@ function registerWorkspaceTools(server) {
|
|
|
56210
56214
|
//#region src/package-version.ts
|
|
56211
56215
|
function mcpPackageVersion() {
|
|
56212
56216
|
try {
|
|
56213
|
-
return "1.11.
|
|
56217
|
+
return "1.11.220";
|
|
56214
56218
|
} catch {
|
|
56215
56219
|
return "unknown";
|
|
56216
56220
|
}
|
|
@@ -56385,7 +56389,7 @@ import_main.default.config({
|
|
|
56385
56389
|
quiet: true,
|
|
56386
56390
|
ignore: ["MISSING_ENV_FILE"]
|
|
56387
56391
|
});
|
|
56388
|
-
const packageVersion = "1.11.
|
|
56392
|
+
const packageVersion = "1.11.220";
|
|
56389
56393
|
function resolvePublicUrls() {
|
|
56390
56394
|
return {
|
|
56391
56395
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -56450,4 +56454,4 @@ function bootstrapServer(options = {}) {
|
|
|
56450
56454
|
//#endregion
|
|
56451
56455
|
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
56456
|
|
|
56453
|
-
//# sourceMappingURL=src-
|
|
56457
|
+
//# sourceMappingURL=src-CtLMaFwk.js.map
|