@togglhq/mcp 1.13.314 → 1.13.316
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-BNLhFxer.js → src-B98KExKj.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-B98KExKj.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.316";
|
|
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-B98KExKj.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -38706,7 +38706,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38706
38706
|
]))
|
|
38707
38707
|
});
|
|
38708
38708
|
//#endregion
|
|
38709
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38709
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.395_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fc75dfc651616abf775fb406471474a8/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38710
38710
|
async function getInvitations(httpClient, signal) {
|
|
38711
38711
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38712
38712
|
}
|
|
@@ -38723,7 +38723,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38723
38723
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38724
38724
|
}
|
|
38725
38725
|
//#endregion
|
|
38726
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38726
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.395_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fc75dfc651616abf775fb406471474a8/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38727
38727
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38728
38728
|
const searchParams = new URLSearchParams();
|
|
38729
38729
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38735,7 +38735,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38735
38735
|
return searchParams;
|
|
38736
38736
|
}
|
|
38737
38737
|
//#endregion
|
|
38738
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38738
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.395_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fc75dfc651616abf775fb406471474a8/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38739
38739
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38740
38740
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38741
38741
|
}
|
|
@@ -38750,7 +38750,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38750
38750
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38751
38751
|
}
|
|
38752
38752
|
//#endregion
|
|
38753
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38753
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.395_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fc75dfc651616abf775fb406471474a8/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38754
38754
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38755
38755
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38756
38756
|
}
|
|
@@ -38770,7 +38770,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38770
38770
|
});
|
|
38771
38771
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38772
38772
|
//#endregion
|
|
38773
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38773
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.395_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fc75dfc651616abf775fb406471474a8/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38774
38774
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38775
38775
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38776
38776
|
signal,
|
|
@@ -38781,12 +38781,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38781
38781
|
})).json();
|
|
38782
38782
|
}
|
|
38783
38783
|
//#endregion
|
|
38784
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38784
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.395_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fc75dfc651616abf775fb406471474a8/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38785
38785
|
async function getStatus(httpClient, signal) {
|
|
38786
38786
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38787
38787
|
}
|
|
38788
38788
|
//#endregion
|
|
38789
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38789
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.395_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fc75dfc651616abf775fb406471474a8/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38790
38790
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38791
38791
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38792
38792
|
signal,
|
|
@@ -38814,7 +38814,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38814
38814
|
return response.json();
|
|
38815
38815
|
}
|
|
38816
38816
|
//#endregion
|
|
38817
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38817
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.395_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fc75dfc651616abf775fb406471474a8/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38818
38818
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38819
38819
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38820
38820
|
}
|
|
@@ -61889,7 +61889,7 @@ function registerWorkspaceTools(server) {
|
|
|
61889
61889
|
//#region src/package-version.ts
|
|
61890
61890
|
function mcpPackageVersion() {
|
|
61891
61891
|
try {
|
|
61892
|
-
return "1.13.
|
|
61892
|
+
return "1.13.316";
|
|
61893
61893
|
} catch {
|
|
61894
61894
|
return "unknown";
|
|
61895
61895
|
}
|
|
@@ -62071,7 +62071,7 @@ import_main.default.config({
|
|
|
62071
62071
|
quiet: true,
|
|
62072
62072
|
ignore: ["MISSING_ENV_FILE"]
|
|
62073
62073
|
});
|
|
62074
|
-
const packageVersion = "1.13.
|
|
62074
|
+
const packageVersion = "1.13.316";
|
|
62075
62075
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
62076
62076
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
62077
62077
|
function resolvePublicUrls() {
|
|
@@ -62191,4 +62191,4 @@ function bootstrapServer(options = {}) {
|
|
|
62191
62191
|
//#endregion
|
|
62192
62192
|
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 };
|
|
62193
62193
|
|
|
62194
|
-
//# sourceMappingURL=src-
|
|
62194
|
+
//# sourceMappingURL=src-B98KExKj.js.map
|