@togglhq/mcp 1.11.173 → 1.11.174
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-DhdDoUeO.js → src-CxBQLOJY.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-CxBQLOJY.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.174";
|
|
166
166
|
let sentryEnabled = false;
|
|
167
167
|
let productAnalyticsEnabled = false;
|
|
168
168
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -38155,7 +38155,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38155
38155
|
]))
|
|
38156
38156
|
});
|
|
38157
38157
|
//#endregion
|
|
38158
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38158
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38159
38159
|
async function getInvitations(httpClient, signal) {
|
|
38160
38160
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38161
38161
|
}
|
|
@@ -38172,7 +38172,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38172
38172
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38173
38173
|
}
|
|
38174
38174
|
//#endregion
|
|
38175
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38175
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38176
38176
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38177
38177
|
const searchParams = new URLSearchParams();
|
|
38178
38178
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38184,7 +38184,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38184
38184
|
return searchParams;
|
|
38185
38185
|
}
|
|
38186
38186
|
//#endregion
|
|
38187
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38187
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38188
38188
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38189
38189
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38190
38190
|
}
|
|
@@ -38198,7 +38198,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38198
38198
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38199
38199
|
}
|
|
38200
38200
|
//#endregion
|
|
38201
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38201
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38202
38202
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38203
38203
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38204
38204
|
}
|
|
@@ -38218,7 +38218,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38218
38218
|
});
|
|
38219
38219
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38220
38220
|
//#endregion
|
|
38221
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38221
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38222
38222
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38223
38223
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38224
38224
|
signal,
|
|
@@ -38229,12 +38229,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38229
38229
|
})).json();
|
|
38230
38230
|
}
|
|
38231
38231
|
//#endregion
|
|
38232
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38232
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38233
38233
|
async function getStatus(httpClient, signal) {
|
|
38234
38234
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38235
38235
|
}
|
|
38236
38236
|
//#endregion
|
|
38237
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38237
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38238
38238
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38239
38239
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38240
38240
|
signal,
|
|
@@ -38262,7 +38262,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38262
38262
|
return response.json();
|
|
38263
38263
|
}
|
|
38264
38264
|
//#endregion
|
|
38265
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38265
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38266
38266
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38267
38267
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38268
38268
|
}
|
|
@@ -54000,7 +54000,7 @@ function registerWorkspaceTools(server) {
|
|
|
54000
54000
|
//#region src/package-version.ts
|
|
54001
54001
|
function mcpPackageVersion() {
|
|
54002
54002
|
try {
|
|
54003
|
-
return "1.11.
|
|
54003
|
+
return "1.11.174";
|
|
54004
54004
|
} catch {
|
|
54005
54005
|
return "unknown";
|
|
54006
54006
|
}
|
|
@@ -54175,7 +54175,7 @@ import_main.default.config({
|
|
|
54175
54175
|
quiet: true,
|
|
54176
54176
|
ignore: ["MISSING_ENV_FILE"]
|
|
54177
54177
|
});
|
|
54178
|
-
const packageVersion = "1.11.
|
|
54178
|
+
const packageVersion = "1.11.174";
|
|
54179
54179
|
function resolvePublicUrls() {
|
|
54180
54180
|
return {
|
|
54181
54181
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -54240,4 +54240,4 @@ function bootstrapServer(options = {}) {
|
|
|
54240
54240
|
//#endregion
|
|
54241
54241
|
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 };
|
|
54242
54242
|
|
|
54243
|
-
//# sourceMappingURL=src-
|
|
54243
|
+
//# sourceMappingURL=src-CxBQLOJY.js.map
|