@togglhq/mcp 1.11.158 → 1.11.160
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-BS3mOH8c.js → src-dlt2Z5Qw.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 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-dlt2Z5Qw.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.160";
|
|
166
166
|
let sentryEnabled = false;
|
|
167
167
|
let productAnalyticsEnabled = false;
|
|
168
168
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -38208,7 +38208,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38208
38208
|
]))
|
|
38209
38209
|
});
|
|
38210
38210
|
//#endregion
|
|
38211
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38211
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.144_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5591596a5951128a01d17dfee9a3fece/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38212
38212
|
async function getInvitations(httpClient, signal) {
|
|
38213
38213
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38214
38214
|
}
|
|
@@ -38225,7 +38225,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38225
38225
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38226
38226
|
}
|
|
38227
38227
|
//#endregion
|
|
38228
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38228
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.144_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5591596a5951128a01d17dfee9a3fece/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38229
38229
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38230
38230
|
const searchParams = new URLSearchParams();
|
|
38231
38231
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38237,7 +38237,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38237
38237
|
return searchParams;
|
|
38238
38238
|
}
|
|
38239
38239
|
//#endregion
|
|
38240
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38240
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.144_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5591596a5951128a01d17dfee9a3fece/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38241
38241
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38242
38242
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38243
38243
|
}
|
|
@@ -38251,7 +38251,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38251
38251
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38252
38252
|
}
|
|
38253
38253
|
//#endregion
|
|
38254
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38254
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.144_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5591596a5951128a01d17dfee9a3fece/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38255
38255
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38256
38256
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38257
38257
|
}
|
|
@@ -38271,7 +38271,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38271
38271
|
});
|
|
38272
38272
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38273
38273
|
//#endregion
|
|
38274
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38274
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.144_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5591596a5951128a01d17dfee9a3fece/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38275
38275
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38276
38276
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38277
38277
|
signal,
|
|
@@ -38282,12 +38282,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38282
38282
|
})).json();
|
|
38283
38283
|
}
|
|
38284
38284
|
//#endregion
|
|
38285
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38285
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.144_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5591596a5951128a01d17dfee9a3fece/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38286
38286
|
async function getStatus(httpClient, signal) {
|
|
38287
38287
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38288
38288
|
}
|
|
38289
38289
|
//#endregion
|
|
38290
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38290
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.144_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5591596a5951128a01d17dfee9a3fece/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38291
38291
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38292
38292
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38293
38293
|
signal,
|
|
@@ -38315,7 +38315,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38315
38315
|
return response.json();
|
|
38316
38316
|
}
|
|
38317
38317
|
//#endregion
|
|
38318
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38318
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.144_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5591596a5951128a01d17dfee9a3fece/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38319
38319
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38320
38320
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38321
38321
|
}
|
|
@@ -54837,7 +54837,7 @@ function registerWorkspaceTools(server) {
|
|
|
54837
54837
|
//#region src/package-version.ts
|
|
54838
54838
|
function mcpPackageVersion() {
|
|
54839
54839
|
try {
|
|
54840
|
-
return "1.11.
|
|
54840
|
+
return "1.11.160";
|
|
54841
54841
|
} catch {
|
|
54842
54842
|
return "unknown";
|
|
54843
54843
|
}
|
|
@@ -55012,7 +55012,7 @@ import_main.default.config({
|
|
|
55012
55012
|
quiet: true,
|
|
55013
55013
|
ignore: ["MISSING_ENV_FILE"]
|
|
55014
55014
|
});
|
|
55015
|
-
const packageVersion = "1.11.
|
|
55015
|
+
const packageVersion = "1.11.160";
|
|
55016
55016
|
function resolvePublicUrls() {
|
|
55017
55017
|
return {
|
|
55018
55018
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55077,4 +55077,4 @@ function bootstrapServer(options = {}) {
|
|
|
55077
55077
|
//#endregion
|
|
55078
55078
|
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 };
|
|
55079
55079
|
|
|
55080
|
-
//# sourceMappingURL=src-
|
|
55080
|
+
//# sourceMappingURL=src-dlt2Z5Qw.js.map
|