@togglhq/mcp 1.11.211 → 1.11.212
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-DjBkKakG.js → src-CY3iNPdT.js} +14 -7
- 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-CY3iNPdT.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.212";
|
|
166
166
|
let sentryEnabled = false;
|
|
167
167
|
let productAnalyticsEnabled = false;
|
|
168
168
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -37469,10 +37469,11 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
37469
37469
|
}
|
|
37470
37470
|
//#endregion
|
|
37471
37471
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37472
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, { include_task_counts, include_picker_parent_group_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
37472
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { member_only, include_task_counts, include_picker_parent_group_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
37473
37473
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37474
37474
|
signal,
|
|
37475
37475
|
searchParams: buildSearchParams$2({
|
|
37476
|
+
member_only,
|
|
37476
37477
|
include_task_counts,
|
|
37477
37478
|
include_picker_parent_group_counts,
|
|
37478
37479
|
task_archived,
|
|
@@ -37732,7 +37733,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37732
37733
|
}
|
|
37733
37734
|
//#endregion
|
|
37734
37735
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
37735
|
-
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37736
|
+
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_dates, private: private_, archived, active_project, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37736
37737
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37737
37738
|
signal,
|
|
37738
37739
|
searchParams: buildSearchParams$2({
|
|
@@ -37748,6 +37749,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37748
37749
|
has_dates,
|
|
37749
37750
|
private: private_,
|
|
37750
37751
|
archived,
|
|
37752
|
+
active_project,
|
|
37751
37753
|
include_project_completed,
|
|
37752
37754
|
include_drafts,
|
|
37753
37755
|
project_id,
|
|
@@ -37920,7 +37922,7 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37920
37922
|
})
|
|
37921
37923
|
}).json();
|
|
37922
37924
|
}
|
|
37923
|
-
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37925
|
+
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_dates, private: private_, archived, active_project, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37924
37926
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37925
37927
|
signal,
|
|
37926
37928
|
searchParams: buildSearchParams$2({
|
|
@@ -37935,6 +37937,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37935
37937
|
has_dates,
|
|
37936
37938
|
private: private_,
|
|
37937
37939
|
archived,
|
|
37940
|
+
active_project,
|
|
37938
37941
|
include_project_completed,
|
|
37939
37942
|
include_drafts,
|
|
37940
37943
|
project_id,
|
|
@@ -51204,6 +51207,7 @@ const generatedFocusOperations = [
|
|
|
51204
51207
|
mcp: { entityTool: "tasks" },
|
|
51205
51208
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51206
51209
|
active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51210
|
+
active_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51207
51211
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51208
51212
|
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51209
51213
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -54647,7 +54651,10 @@ const generatedFocusOperations = [
|
|
|
54647
54651
|
interactive: "default"
|
|
54648
54652
|
},
|
|
54649
54653
|
mcp: { entityTool: "users" },
|
|
54650
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
54654
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
54655
|
+
has_opened_focus: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
54656
|
+
work_introduction_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
54657
|
+
}) }),
|
|
54651
54658
|
execute: (input, { client }) => {
|
|
54652
54659
|
const data = input;
|
|
54653
54660
|
return client.runGeneratedRequest("partialUpdateUserWorkspaceSettings", () => callGeneratedRequest(partialUpdateUserWorkspaceSettings, [
|
|
@@ -56169,7 +56176,7 @@ function registerWorkspaceTools(server) {
|
|
|
56169
56176
|
//#region src/package-version.ts
|
|
56170
56177
|
function mcpPackageVersion() {
|
|
56171
56178
|
try {
|
|
56172
|
-
return "1.11.
|
|
56179
|
+
return "1.11.212";
|
|
56173
56180
|
} catch {
|
|
56174
56181
|
return "unknown";
|
|
56175
56182
|
}
|
|
@@ -56344,7 +56351,7 @@ import_main.default.config({
|
|
|
56344
56351
|
quiet: true,
|
|
56345
56352
|
ignore: ["MISSING_ENV_FILE"]
|
|
56346
56353
|
});
|
|
56347
|
-
const packageVersion = "1.11.
|
|
56354
|
+
const packageVersion = "1.11.212";
|
|
56348
56355
|
function resolvePublicUrls() {
|
|
56349
56356
|
return {
|
|
56350
56357
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -56409,4 +56416,4 @@ function bootstrapServer(options = {}) {
|
|
|
56409
56416
|
//#endregion
|
|
56410
56417
|
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 };
|
|
56411
56418
|
|
|
56412
|
-
//# sourceMappingURL=src-
|
|
56419
|
+
//# sourceMappingURL=src-CY3iNPdT.js.map
|