@togglhq/mcp 1.13.221 → 1.13.222
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-Co_XKN01.js → src-D4O2e2Dh.js} +16 -13
- 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-D4O2e2Dh.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.222";
|
|
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-D4O2e2Dh.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -37545,7 +37545,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37545
37545
|
})
|
|
37546
37546
|
})).json();
|
|
37547
37547
|
}
|
|
37548
|
-
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, pinned_ids, has_group, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration, include_designations, include_shared_report_receiver, has_designations } = {}, signal) {
|
|
37548
|
+
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, pinned_ids, has_group, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration, include_designations, include_shared_report_receiver, has_role_in_products, has_designations } = {}, signal) {
|
|
37549
37549
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37550
37550
|
signal,
|
|
37551
37551
|
searchParams: buildSearchParams$2({
|
|
@@ -37571,6 +37571,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37571
37571
|
include_calendar_integration,
|
|
37572
37572
|
include_designations,
|
|
37573
37573
|
include_shared_report_receiver,
|
|
37574
|
+
has_role_in_products,
|
|
37574
37575
|
has_designations
|
|
37575
37576
|
}, true)
|
|
37576
37577
|
});
|
|
@@ -38681,7 +38682,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38681
38682
|
]))
|
|
38682
38683
|
});
|
|
38683
38684
|
//#endregion
|
|
38684
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38685
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38685
38686
|
async function getInvitations(httpClient, signal) {
|
|
38686
38687
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38687
38688
|
}
|
|
@@ -38698,7 +38699,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38698
38699
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38699
38700
|
}
|
|
38700
38701
|
//#endregion
|
|
38701
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38702
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38702
38703
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38703
38704
|
const searchParams = new URLSearchParams();
|
|
38704
38705
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38710,7 +38711,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38710
38711
|
return searchParams;
|
|
38711
38712
|
}
|
|
38712
38713
|
//#endregion
|
|
38713
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38714
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38714
38715
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38715
38716
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38716
38717
|
}
|
|
@@ -38725,7 +38726,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38725
38726
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38726
38727
|
}
|
|
38727
38728
|
//#endregion
|
|
38728
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38729
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38729
38730
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38730
38731
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38731
38732
|
}
|
|
@@ -38745,7 +38746,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38745
38746
|
});
|
|
38746
38747
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38747
38748
|
//#endregion
|
|
38748
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38749
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38749
38750
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38750
38751
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38751
38752
|
signal,
|
|
@@ -38756,12 +38757,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38756
38757
|
})).json();
|
|
38757
38758
|
}
|
|
38758
38759
|
//#endregion
|
|
38759
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38760
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38760
38761
|
async function getStatus(httpClient, signal) {
|
|
38761
38762
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38762
38763
|
}
|
|
38763
38764
|
//#endregion
|
|
38764
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38765
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38765
38766
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38766
38767
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38767
38768
|
signal,
|
|
@@ -38789,7 +38790,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38789
38790
|
return response.json();
|
|
38790
38791
|
}
|
|
38791
38792
|
//#endregion
|
|
38792
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38793
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38793
38794
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38794
38795
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38795
38796
|
}
|
|
@@ -43639,13 +43640,14 @@ async function deleteACustomReport(httpClient, workspace_id, id, signal) {
|
|
|
43639
43640
|
}
|
|
43640
43641
|
//#endregion
|
|
43641
43642
|
//#region ../focus-queries/dist/designations/requests.ts
|
|
43642
|
-
async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { designation_id, name, include_members, has_members, page, per_page, order_by } = {}, signal) {
|
|
43643
|
+
async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { designation_id, name, include_members, has_role_in_products, has_members, page, per_page, order_by } = {}, signal) {
|
|
43643
43644
|
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
|
|
43644
43645
|
signal,
|
|
43645
43646
|
searchParams: buildSearchParams$2({
|
|
43646
43647
|
designation_id,
|
|
43647
43648
|
name,
|
|
43648
43649
|
include_members,
|
|
43650
|
+
has_role_in_products,
|
|
43649
43651
|
has_members,
|
|
43650
43652
|
page,
|
|
43651
43653
|
per_page,
|
|
@@ -47991,6 +47993,7 @@ const generatedFocusOperations = [
|
|
|
47991
47993
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
47992
47994
|
designation_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
47993
47995
|
has_members: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
47996
|
+
has_role_in_products: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
47994
47997
|
include_members: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
47995
47998
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
47996
47999
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -60872,7 +60875,7 @@ function registerWorkspaceTools(server) {
|
|
|
60872
60875
|
//#region src/package-version.ts
|
|
60873
60876
|
function mcpPackageVersion() {
|
|
60874
60877
|
try {
|
|
60875
|
-
return "1.13.
|
|
60878
|
+
return "1.13.222";
|
|
60876
60879
|
} catch {
|
|
60877
60880
|
return "unknown";
|
|
60878
60881
|
}
|
|
@@ -61054,7 +61057,7 @@ import_main.default.config({
|
|
|
61054
61057
|
quiet: true,
|
|
61055
61058
|
ignore: ["MISSING_ENV_FILE"]
|
|
61056
61059
|
});
|
|
61057
|
-
const packageVersion = "1.13.
|
|
61060
|
+
const packageVersion = "1.13.222";
|
|
61058
61061
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
61059
61062
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
61060
61063
|
function resolvePublicUrls() {
|
|
@@ -61174,4 +61177,4 @@ function bootstrapServer(options = {}) {
|
|
|
61174
61177
|
//#endregion
|
|
61175
61178
|
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 };
|
|
61176
61179
|
|
|
61177
|
-
//# sourceMappingURL=src-
|
|
61180
|
+
//# sourceMappingURL=src-D4O2e2Dh.js.map
|