@togglhq/mcp 1.5.37 → 1.5.39
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 +1 -1
- package/build/index.js +1 -1
- package/build/{src-7favWAYS.js → src-B7kl5Lf1.js} +59 -2
- package/package.json +1 -1
package/build/cli.js
CHANGED
package/build/index.js
CHANGED
|
@@ -34253,6 +34253,12 @@ async function createGoal(httpClient, organization_id, workspace_id, data, signa
|
|
|
34253
34253
|
json: data
|
|
34254
34254
|
}).json();
|
|
34255
34255
|
}
|
|
34256
|
+
async function previewGoalTrackedTime(httpClient, organization_id, workspace_id, data, signal) {
|
|
34257
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/goals/preview`, {
|
|
34258
|
+
signal,
|
|
34259
|
+
json: data
|
|
34260
|
+
}).json();
|
|
34261
|
+
}
|
|
34256
34262
|
async function getGoal(httpClient, organization_id, workspace_id, goal_id, signal) {
|
|
34257
34263
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/goals/${goal_id}`, { signal }).json();
|
|
34258
34264
|
}
|
|
@@ -36081,6 +36087,57 @@ const generatedFocusOperations = [
|
|
|
36081
36087
|
void 0
|
|
36082
36088
|
]))
|
|
36083
36089
|
},
|
|
36090
|
+
{
|
|
36091
|
+
id: "focus.goals.preview-goal-tracked-time",
|
|
36092
|
+
family: "focus",
|
|
36093
|
+
resource: "goals",
|
|
36094
|
+
action: "preview-goal-tracked-time",
|
|
36095
|
+
title: "Preview Goal Tracked Time Goals",
|
|
36096
|
+
description: "Preview Goal Tracked Time Goals.",
|
|
36097
|
+
safety: "read",
|
|
36098
|
+
destructive: false,
|
|
36099
|
+
cli: {
|
|
36100
|
+
group: ["goals"],
|
|
36101
|
+
command: "preview-goal-tracked-time",
|
|
36102
|
+
interactive: "available"
|
|
36103
|
+
},
|
|
36104
|
+
mcp: { entityTool: "goals" },
|
|
36105
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
36106
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
36107
|
+
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
36108
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
36109
|
+
icon: /* @__PURE__ */ string$1(),
|
|
36110
|
+
monthly_anchor: /* @__PURE__ */ picklist$1([
|
|
36111
|
+
"calendar",
|
|
36112
|
+
"month_end",
|
|
36113
|
+
"first_workday"
|
|
36114
|
+
]),
|
|
36115
|
+
name: /* @__PURE__ */ string$1(),
|
|
36116
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
36117
|
+
recurrence: /* @__PURE__ */ picklist$1([
|
|
36118
|
+
"daily",
|
|
36119
|
+
"weekly",
|
|
36120
|
+
"daily_workdays",
|
|
36121
|
+
"monthly"
|
|
36122
|
+
]),
|
|
36123
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
36124
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
36125
|
+
target_seconds: /* @__PURE__ */ number$2(),
|
|
36126
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
36127
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
36128
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
36129
|
+
}) }),
|
|
36130
|
+
execute: (input, { client }) => {
|
|
36131
|
+
const data = input;
|
|
36132
|
+
return client.runGeneratedRequest("previewGoalTrackedTime", () => callGeneratedRequest(previewGoalTrackedTime, [
|
|
36133
|
+
client.httpClient,
|
|
36134
|
+
client.organizationId,
|
|
36135
|
+
client.workspaceIdNumber,
|
|
36136
|
+
data.payload ?? data.data ?? data,
|
|
36137
|
+
void 0
|
|
36138
|
+
]));
|
|
36139
|
+
}
|
|
36140
|
+
},
|
|
36084
36141
|
{
|
|
36085
36142
|
id: "focus.goals.update",
|
|
36086
36143
|
family: "focus",
|
|
@@ -45632,7 +45689,7 @@ import_main.default.config({
|
|
|
45632
45689
|
quiet: true,
|
|
45633
45690
|
ignore: ["MISSING_ENV_FILE"]
|
|
45634
45691
|
});
|
|
45635
|
-
const packageVersion = "1.5.
|
|
45692
|
+
const packageVersion = "1.5.39";
|
|
45636
45693
|
function resolvePublicUrls() {
|
|
45637
45694
|
return {
|
|
45638
45695
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -45697,4 +45754,4 @@ function bootstrapServer(options = {}) {
|
|
|
45697
45754
|
//#endregion
|
|
45698
45755
|
export { runMcpCli as n, bootstrapServer as t };
|
|
45699
45756
|
|
|
45700
|
-
//# sourceMappingURL=src-
|
|
45757
|
+
//# sourceMappingURL=src-B7kl5Lf1.js.map
|