@togglhq/mcp 1.13.235 → 1.13.236
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-DGGpol3K.js → src-D00auYyq.js} +13 -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-D00auYyq.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.236";
|
|
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-D00auYyq.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -38682,7 +38682,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38682
38682
|
]))
|
|
38683
38683
|
});
|
|
38684
38684
|
//#endregion
|
|
38685
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38685
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38686
38686
|
async function getInvitations(httpClient, signal) {
|
|
38687
38687
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38688
38688
|
}
|
|
@@ -38699,7 +38699,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38699
38699
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38700
38700
|
}
|
|
38701
38701
|
//#endregion
|
|
38702
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38702
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38703
38703
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38704
38704
|
const searchParams = new URLSearchParams();
|
|
38705
38705
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38711,7 +38711,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38711
38711
|
return searchParams;
|
|
38712
38712
|
}
|
|
38713
38713
|
//#endregion
|
|
38714
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38714
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38715
38715
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38716
38716
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38717
38717
|
}
|
|
@@ -38726,7 +38726,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38726
38726
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38727
38727
|
}
|
|
38728
38728
|
//#endregion
|
|
38729
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38729
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38730
38730
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38731
38731
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38732
38732
|
}
|
|
@@ -38746,7 +38746,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38746
38746
|
});
|
|
38747
38747
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38748
38748
|
//#endregion
|
|
38749
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38749
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38750
38750
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38751
38751
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38752
38752
|
signal,
|
|
@@ -38757,12 +38757,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38757
38757
|
})).json();
|
|
38758
38758
|
}
|
|
38759
38759
|
//#endregion
|
|
38760
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38760
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38761
38761
|
async function getStatus(httpClient, signal) {
|
|
38762
38762
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38763
38763
|
}
|
|
38764
38764
|
//#endregion
|
|
38765
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38765
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38766
38766
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38767
38767
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38768
38768
|
signal,
|
|
@@ -38790,7 +38790,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38790
38790
|
return response.json();
|
|
38791
38791
|
}
|
|
38792
38792
|
//#endregion
|
|
38793
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38793
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.348_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_07243c86356592cda7b13f44320471fb/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38794
38794
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38795
38795
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38796
38796
|
}
|
|
@@ -47565,6 +47565,7 @@ const generatedFocusOperations = [
|
|
|
47565
47565
|
"table",
|
|
47566
47566
|
"pivot_table"
|
|
47567
47567
|
]),
|
|
47568
|
+
columns: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
|
|
47568
47569
|
filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
|
|
47569
47570
|
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
47570
47571
|
})),
|
|
@@ -47731,6 +47732,7 @@ const generatedFocusOperations = [
|
|
|
47731
47732
|
"table",
|
|
47732
47733
|
"pivot_table"
|
|
47733
47734
|
]),
|
|
47735
|
+
columns: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
|
|
47734
47736
|
filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
|
|
47735
47737
|
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
47736
47738
|
})),
|
|
@@ -61012,7 +61014,7 @@ function registerWorkspaceTools(server) {
|
|
|
61012
61014
|
//#region src/package-version.ts
|
|
61013
61015
|
function mcpPackageVersion() {
|
|
61014
61016
|
try {
|
|
61015
|
-
return "1.13.
|
|
61017
|
+
return "1.13.236";
|
|
61016
61018
|
} catch {
|
|
61017
61019
|
return "unknown";
|
|
61018
61020
|
}
|
|
@@ -61194,7 +61196,7 @@ import_main.default.config({
|
|
|
61194
61196
|
quiet: true,
|
|
61195
61197
|
ignore: ["MISSING_ENV_FILE"]
|
|
61196
61198
|
});
|
|
61197
|
-
const packageVersion = "1.13.
|
|
61199
|
+
const packageVersion = "1.13.236";
|
|
61198
61200
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
61199
61201
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
61200
61202
|
function resolvePublicUrls() {
|
|
@@ -61314,4 +61316,4 @@ function bootstrapServer(options = {}) {
|
|
|
61314
61316
|
//#endregion
|
|
61315
61317
|
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 };
|
|
61316
61318
|
|
|
61317
|
-
//# sourceMappingURL=src-
|
|
61319
|
+
//# sourceMappingURL=src-D00auYyq.js.map
|