@togglhq/mcp 1.11.124 → 1.11.126
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-9gDIJ5Ha.js → src-CIpL06q2.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-CIpL06q2.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.126";
|
|
166
166
|
let sentryEnabled = false;
|
|
167
167
|
let productAnalyticsEnabled = false;
|
|
168
168
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -38290,7 +38290,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38290
38290
|
]))
|
|
38291
38291
|
});
|
|
38292
38292
|
//#endregion
|
|
38293
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38293
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.109_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf199a29e4fddd70640ea6f5a56c73a6/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38294
38294
|
async function getInvitations(httpClient, signal) {
|
|
38295
38295
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38296
38296
|
}
|
|
@@ -38307,7 +38307,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38307
38307
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38308
38308
|
}
|
|
38309
38309
|
//#endregion
|
|
38310
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38310
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.109_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf199a29e4fddd70640ea6f5a56c73a6/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38311
38311
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38312
38312
|
const searchParams = new URLSearchParams();
|
|
38313
38313
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38319,7 +38319,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38319
38319
|
return searchParams;
|
|
38320
38320
|
}
|
|
38321
38321
|
//#endregion
|
|
38322
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38322
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.109_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf199a29e4fddd70640ea6f5a56c73a6/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38323
38323
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38324
38324
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38325
38325
|
}
|
|
@@ -38333,7 +38333,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38333
38333
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38334
38334
|
}
|
|
38335
38335
|
//#endregion
|
|
38336
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38336
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.109_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf199a29e4fddd70640ea6f5a56c73a6/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38337
38337
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38338
38338
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38339
38339
|
}
|
|
@@ -38353,7 +38353,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38353
38353
|
});
|
|
38354
38354
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38355
38355
|
//#endregion
|
|
38356
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38356
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.109_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf199a29e4fddd70640ea6f5a56c73a6/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38357
38357
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38358
38358
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38359
38359
|
signal,
|
|
@@ -38364,12 +38364,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38364
38364
|
})).json();
|
|
38365
38365
|
}
|
|
38366
38366
|
//#endregion
|
|
38367
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38367
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.109_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf199a29e4fddd70640ea6f5a56c73a6/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38368
38368
|
async function getStatus(httpClient, signal) {
|
|
38369
38369
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38370
38370
|
}
|
|
38371
38371
|
//#endregion
|
|
38372
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38372
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.109_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf199a29e4fddd70640ea6f5a56c73a6/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38373
38373
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38374
38374
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38375
38375
|
signal,
|
|
@@ -38397,7 +38397,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38397
38397
|
return response.json();
|
|
38398
38398
|
}
|
|
38399
38399
|
//#endregion
|
|
38400
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38400
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.109_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf199a29e4fddd70640ea6f5a56c73a6/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38401
38401
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38402
38402
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38403
38403
|
}
|
|
@@ -56107,7 +56107,7 @@ function registerWorkspaceTools(server) {
|
|
|
56107
56107
|
//#region src/package-version.ts
|
|
56108
56108
|
function mcpPackageVersion() {
|
|
56109
56109
|
try {
|
|
56110
|
-
return "1.11.
|
|
56110
|
+
return "1.11.126";
|
|
56111
56111
|
} catch {
|
|
56112
56112
|
return "unknown";
|
|
56113
56113
|
}
|
|
@@ -56282,7 +56282,7 @@ import_main.default.config({
|
|
|
56282
56282
|
quiet: true,
|
|
56283
56283
|
ignore: ["MISSING_ENV_FILE"]
|
|
56284
56284
|
});
|
|
56285
|
-
const packageVersion = "1.11.
|
|
56285
|
+
const packageVersion = "1.11.126";
|
|
56286
56286
|
function resolvePublicUrls() {
|
|
56287
56287
|
return {
|
|
56288
56288
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -56347,4 +56347,4 @@ function bootstrapServer(options = {}) {
|
|
|
56347
56347
|
//#endregion
|
|
56348
56348
|
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 };
|
|
56349
56349
|
|
|
56350
|
-
//# sourceMappingURL=src-
|
|
56350
|
+
//# sourceMappingURL=src-CIpL06q2.js.map
|