@togglhq/mcp 1.13.114 → 1.13.116
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-C1NSDtYv.js → src-Cm8O6UvT.js} +12 -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 PUBLIC_SENTRY_PRIVACY_OPTIONS, c as initProductAnalytics, d as shutdownProductAnalytics, i as runMcpCli, l as resolveProductAnalyticsDistinctId, o as captureToolInvocation, s as getProductAnalyticsDistinctId, u as resolvePublicSentryDsn } from "./src-
|
|
2
|
+
import { a as PUBLIC_SENTRY_PRIVACY_OPTIONS, c as initProductAnalytics, d as shutdownProductAnalytics, i as runMcpCli, l as resolveProductAnalyticsDistinctId, o as captureToolInvocation, s as getProductAnalyticsDistinctId, u as resolvePublicSentryDsn } from "./src-Cm8O6UvT.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.13.
|
|
165
|
+
const packageVersion = "1.13.116";
|
|
166
166
|
let sentryEnabled = false;
|
|
167
167
|
let productAnalyticsEnabled = false;
|
|
168
168
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-
|
|
2
|
+
import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-Cm8O6UvT.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -35270,6 +35270,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35270
35270
|
end_time: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35271
35271
|
foreground_color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35272
35272
|
meeting_link: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35273
|
+
series_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35273
35274
|
start_time: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35274
35275
|
title: /* @__PURE__ */ optional(/* @__PURE__ */ string())
|
|
35275
35276
|
}))),
|
|
@@ -38528,7 +38529,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38528
38529
|
]))
|
|
38529
38530
|
});
|
|
38530
38531
|
//#endregion
|
|
38531
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38532
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.279_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_86f9108cee43c34b6861a44d3e779ff9/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38532
38533
|
async function getInvitations(httpClient, signal) {
|
|
38533
38534
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38534
38535
|
}
|
|
@@ -38545,7 +38546,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38545
38546
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38546
38547
|
}
|
|
38547
38548
|
//#endregion
|
|
38548
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38549
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.279_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_86f9108cee43c34b6861a44d3e779ff9/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38549
38550
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38550
38551
|
const searchParams = new URLSearchParams();
|
|
38551
38552
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38557,7 +38558,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38557
38558
|
return searchParams;
|
|
38558
38559
|
}
|
|
38559
38560
|
//#endregion
|
|
38560
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38561
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.279_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_86f9108cee43c34b6861a44d3e779ff9/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38561
38562
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38562
38563
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38563
38564
|
}
|
|
@@ -38572,7 +38573,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38572
38573
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38573
38574
|
}
|
|
38574
38575
|
//#endregion
|
|
38575
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38576
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.279_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_86f9108cee43c34b6861a44d3e779ff9/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38576
38577
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38577
38578
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38578
38579
|
}
|
|
@@ -38592,7 +38593,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38592
38593
|
});
|
|
38593
38594
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38594
38595
|
//#endregion
|
|
38595
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38596
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.279_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_86f9108cee43c34b6861a44d3e779ff9/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38596
38597
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38597
38598
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38598
38599
|
signal,
|
|
@@ -38603,12 +38604,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38603
38604
|
})).json();
|
|
38604
38605
|
}
|
|
38605
38606
|
//#endregion
|
|
38606
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38607
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.279_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_86f9108cee43c34b6861a44d3e779ff9/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38607
38608
|
async function getStatus(httpClient, signal) {
|
|
38608
38609
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38609
38610
|
}
|
|
38610
38611
|
//#endregion
|
|
38611
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38612
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.279_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_86f9108cee43c34b6861a44d3e779ff9/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38612
38613
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38613
38614
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38614
38615
|
signal,
|
|
@@ -38636,7 +38637,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38636
38637
|
return response.json();
|
|
38637
38638
|
}
|
|
38638
38639
|
//#endregion
|
|
38639
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38640
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.279_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_86f9108cee43c34b6861a44d3e779ff9/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38640
38641
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38641
38642
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38642
38643
|
}
|
|
@@ -58406,7 +58407,7 @@ function registerWorkspaceTools(server) {
|
|
|
58406
58407
|
//#region src/package-version.ts
|
|
58407
58408
|
function mcpPackageVersion() {
|
|
58408
58409
|
try {
|
|
58409
|
-
return "1.13.
|
|
58410
|
+
return "1.13.116";
|
|
58410
58411
|
} catch {
|
|
58411
58412
|
return "unknown";
|
|
58412
58413
|
}
|
|
@@ -58587,7 +58588,7 @@ import_main.default.config({
|
|
|
58587
58588
|
quiet: true,
|
|
58588
58589
|
ignore: ["MISSING_ENV_FILE"]
|
|
58589
58590
|
});
|
|
58590
|
-
const packageVersion = "1.13.
|
|
58591
|
+
const packageVersion = "1.13.116";
|
|
58591
58592
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
58592
58593
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
58593
58594
|
function resolvePublicUrls() {
|
|
@@ -58707,4 +58708,4 @@ function bootstrapServer(options = {}) {
|
|
|
58707
58708
|
//#endregion
|
|
58708
58709
|
export { PUBLIC_SENTRY_PRIVACY_OPTIONS as a, initProductAnalytics as c, shutdownProductAnalytics as d, runMcpCli as i, resolveProductAnalyticsDistinctId as l, MCP_MAX_TOOL_INPUT_ELEMENTS as n, captureToolInvocation as o, bootstrapServer as r, getProductAnalyticsDistinctId as s, MCP_CACHE_TTL_MS as t, resolvePublicSentryDsn as u };
|
|
58709
58710
|
|
|
58710
|
-
//# sourceMappingURL=src-
|
|
58711
|
+
//# sourceMappingURL=src-Cm8O6UvT.js.map
|