@togglhq/mcp 1.13.220 → 1.13.221
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-Dp54oNlg.js → src-Co_XKN01.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 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-Co_XKN01.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.221";
|
|
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-Co_XKN01.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -38681,7 +38681,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38681
38681
|
]))
|
|
38682
38682
|
});
|
|
38683
38683
|
//#endregion
|
|
38684
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38684
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.345_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36fba589460476f9f1b280a2fc89ef8f/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38685
38685
|
async function getInvitations(httpClient, signal) {
|
|
38686
38686
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38687
38687
|
}
|
|
@@ -38698,7 +38698,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38698
38698
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38699
38699
|
}
|
|
38700
38700
|
//#endregion
|
|
38701
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38701
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.345_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36fba589460476f9f1b280a2fc89ef8f/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38702
38702
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38703
38703
|
const searchParams = new URLSearchParams();
|
|
38704
38704
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38710,7 +38710,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38710
38710
|
return searchParams;
|
|
38711
38711
|
}
|
|
38712
38712
|
//#endregion
|
|
38713
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38713
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.345_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36fba589460476f9f1b280a2fc89ef8f/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38714
38714
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38715
38715
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38716
38716
|
}
|
|
@@ -38725,7 +38725,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38725
38725
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38726
38726
|
}
|
|
38727
38727
|
//#endregion
|
|
38728
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38728
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.345_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36fba589460476f9f1b280a2fc89ef8f/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38729
38729
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38730
38730
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38731
38731
|
}
|
|
@@ -38745,7 +38745,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38745
38745
|
});
|
|
38746
38746
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38747
38747
|
//#endregion
|
|
38748
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38748
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.345_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36fba589460476f9f1b280a2fc89ef8f/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38749
38749
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38750
38750
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38751
38751
|
signal,
|
|
@@ -38756,12 +38756,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38756
38756
|
})).json();
|
|
38757
38757
|
}
|
|
38758
38758
|
//#endregion
|
|
38759
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38759
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.345_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36fba589460476f9f1b280a2fc89ef8f/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38760
38760
|
async function getStatus(httpClient, signal) {
|
|
38761
38761
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38762
38762
|
}
|
|
38763
38763
|
//#endregion
|
|
38764
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38764
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.345_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36fba589460476f9f1b280a2fc89ef8f/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38765
38765
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38766
38766
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38767
38767
|
signal,
|
|
@@ -38789,7 +38789,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38789
38789
|
return response.json();
|
|
38790
38790
|
}
|
|
38791
38791
|
//#endregion
|
|
38792
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38792
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.345_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36fba589460476f9f1b280a2fc89ef8f/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38793
38793
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38794
38794
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38795
38795
|
}
|
|
@@ -60872,7 +60872,7 @@ function registerWorkspaceTools(server) {
|
|
|
60872
60872
|
//#region src/package-version.ts
|
|
60873
60873
|
function mcpPackageVersion() {
|
|
60874
60874
|
try {
|
|
60875
|
-
return "1.13.
|
|
60875
|
+
return "1.13.221";
|
|
60876
60876
|
} catch {
|
|
60877
60877
|
return "unknown";
|
|
60878
60878
|
}
|
|
@@ -61054,7 +61054,7 @@ import_main.default.config({
|
|
|
61054
61054
|
quiet: true,
|
|
61055
61055
|
ignore: ["MISSING_ENV_FILE"]
|
|
61056
61056
|
});
|
|
61057
|
-
const packageVersion = "1.13.
|
|
61057
|
+
const packageVersion = "1.13.221";
|
|
61058
61058
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
61059
61059
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
61060
61060
|
function resolvePublicUrls() {
|
|
@@ -61174,4 +61174,4 @@ function bootstrapServer(options = {}) {
|
|
|
61174
61174
|
//#endregion
|
|
61175
61175
|
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 };
|
|
61176
61176
|
|
|
61177
|
-
//# sourceMappingURL=src-
|
|
61177
|
+
//# sourceMappingURL=src-Co_XKN01.js.map
|