@togglhq/cli 1.11.224 → 1.11.226

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-BWLypjki.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-BB9t7xvO.js";
3
3
  import { readFileSync } from "node:fs";
4
4
  import { dirname, join } from "node:path";
5
5
  import { fileURLToPath } from "node:url";
package/build/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-BWLypjki.js";
1
+ import { t as createProgram } from "./program-BB9t7xvO.js";
2
2
  export { createProgram };
@@ -13156,7 +13156,7 @@ async function runSkillSetup(options) {
13156
13156
  });
13157
13157
  }
13158
13158
  //#endregion
13159
- //#region ../operations/build/validation-CLozpAO5.js
13159
+ //#region ../operations/build/validation-Byte2z0O.js
13160
13160
  const optionalNumber = /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2());
13161
13161
  const perPageField = (max) => /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ integer(), /* @__PURE__ */ minValue$1(1), /* @__PURE__ */ maxValue$1(max), /* @__PURE__ */ description$1(`Results per page (1-${max})`)));
13162
13162
  const perPageSchema = perPageField(100);
@@ -13376,8 +13376,8 @@ const capacityOverrides = { "focus.capacities.get-computations": {
13376
13376
  start_date: "2026-05-01",
13377
13377
  end_date: "2026-05-31",
13378
13378
  unit: "day",
13379
- group: "user",
13380
- private_: false,
13379
+ group: "users",
13380
+ private: false,
13381
13381
  task_source: "all"
13382
13382
  }
13383
13383
  }]
@@ -13438,6 +13438,107 @@ const rateOverrides = {
13438
13438
  "focus.rates.labor-upsert-workspace-labor-cost-rate": { agentGuidance: RATE_SCHEDULE_GUIDANCE },
13439
13439
  "focus.rates.labor-upsert-workspace-user-labor-cost-rate": { agentGuidance: RATE_SCHEDULE_GUIDANCE }
13440
13440
  };
13441
+ const TASK_DATES_RULE = "Send start_date and end_date together, with end_date on or after start_date";
13442
+ const TASK_DATES_CREATE_GUIDANCE = `${TASK_DATES_RULE}; for a single due date, send both as that day.`;
13443
+ const taskOverrides = {
13444
+ "focus.tasks.list": {
13445
+ aliases: ["ls"],
13446
+ agentGuidance: "Filter by start_date/end_date (ISO 8601, e.g. '2025-04-27') for date ranges, project_id, status_id, or assignee_user_id. Returns paginated results — use page/per_page for more. Use parent_task_id to list subtasks. Priority values: none, low, medium, high.",
13447
+ examples: [
13448
+ {
13449
+ description: "List tasks due today",
13450
+ data: {
13451
+ start_date: "2025-04-27",
13452
+ end_date: "2025-04-27"
13453
+ }
13454
+ },
13455
+ {
13456
+ description: "List tasks for a project",
13457
+ data: { project_id: 123456 }
13458
+ },
13459
+ {
13460
+ description: "List high-priority open tasks",
13461
+ data: { priority: "high" }
13462
+ }
13463
+ ]
13464
+ },
13465
+ "focus.tasks.get": { agentGuidance: "Fetch a single task with full detail including subtasks and time estimates." },
13466
+ "focus.tasks.create": {
13467
+ agentGuidance: `Required: name. Strongly recommended: project_id, status_id, assignee_user_ids. Use start_date/end_date for scheduling as date-only YYYY-MM-DD values; never pass RFC 3339 datetimes. ${TASK_DATES_CREATE_GUIDANCE} Set estimated_mins for time estimates.`,
13468
+ examples: [{
13469
+ description: "Create a minimal task",
13470
+ data: { name: "Dogfood the CLI" }
13471
+ }, {
13472
+ description: "Create a task with full metadata",
13473
+ data: {
13474
+ name: "Review PR",
13475
+ project_id: 123456,
13476
+ assignee_user_ids: [789],
13477
+ estimated_mins: 30
13478
+ }
13479
+ }]
13480
+ },
13481
+ "focus.tasks.update": {
13482
+ agentGuidance: `Partial update — only include fields to change in payload. Provide task_id at top level and the fields to update under payload. custom_fields writes values as a map keyed by custom field ID; reads return the same data as custom_field_values[], so the write shape is not the read shape. ${TASK_DATES_RULE}; to move one date, resend the task's current other date; if the task has none, or that breaks the order, send the new date as both.`,
13483
+ examples: [
13484
+ {
13485
+ description: "Change task status",
13486
+ data: {
13487
+ task_id: 12345,
13488
+ payload: { status_id: 456789 }
13489
+ }
13490
+ },
13491
+ {
13492
+ description: "Assign to a user and update estimate",
13493
+ data: {
13494
+ task_id: 12345,
13495
+ payload: {
13496
+ assignee_user_ids: [789],
13497
+ estimated_mins: 60
13498
+ }
13499
+ }
13500
+ },
13501
+ {
13502
+ description: "Set a select custom field value",
13503
+ data: {
13504
+ task_id: 12345,
13505
+ payload: { custom_fields: { "406": [1639] } }
13506
+ }
13507
+ }
13508
+ ]
13509
+ },
13510
+ "focus.tasks.full-update": { agentGuidance: "Follow the update action's date guidance." },
13511
+ "focus.tasks.delete": { agentGuidance: "Permanently deletes the task and all its subtasks. Cannot be undone." },
13512
+ "focus.tasks.bulk-patch": {
13513
+ agentGuidance: "Prefer over many single updates: pass a JSON array of { id: taskId, ...partial fields }. Same field names and date guidance as single task update.",
13514
+ examples: [{
13515
+ description: "Set status on two tasks",
13516
+ data: [{
13517
+ id: 111,
13518
+ status_id: 456789
13519
+ }, {
13520
+ id: 222,
13521
+ status_id: 456789
13522
+ }]
13523
+ }, {
13524
+ description: "Set a select custom field value on two tasks",
13525
+ data: [{
13526
+ id: 111,
13527
+ custom_fields: { "406": [1639] }
13528
+ }, {
13529
+ id: 222,
13530
+ custom_fields: { "406": [1640] }
13531
+ }]
13532
+ }]
13533
+ },
13534
+ "focus.tasks.bulk-delete": {
13535
+ agentGuidance: "Deletes all listed task IDs in one HTTP call. Requires confirm flow like single delete.",
13536
+ examples: [{
13537
+ description: "Delete two tasks",
13538
+ data: { ids: [111, 222] }
13539
+ }]
13540
+ }
13541
+ };
13441
13542
  const compositeOverrides = {
13442
13543
  "focus.composite.create-project": {
13443
13544
  description: "Create a project with related data such as members, milestones, rates, and billable rates.",
@@ -13451,6 +13552,7 @@ const compositeOverrides = {
13451
13552
  },
13452
13553
  "focus.composite.create-task": {
13453
13554
  description: "Create a task with related data such as subtasks and an initial time entry.",
13555
+ agentGuidance: `For payload.task and each payload.subtasks[] item: ${TASK_DATES_CREATE_GUIDANCE}`,
13454
13556
  cli: {
13455
13557
  group: ["tasks"],
13456
13558
  command: "create-with-children",
@@ -13941,104 +14043,6 @@ const tagOverrides = {
13941
14043
  }]
13942
14044
  }
13943
14045
  };
13944
- const taskOverrides = {
13945
- "focus.tasks.list": {
13946
- aliases: ["ls"],
13947
- agentGuidance: "Filter by start_date/end_date (ISO 8601, e.g. '2025-04-27') for date ranges, project_id, status_id, or assignee_user_id. Returns paginated results — use page/per_page for more. Use parent_task_id to list subtasks. Priority values: none, low, medium, high.",
13948
- examples: [
13949
- {
13950
- description: "List tasks due today",
13951
- data: {
13952
- start_date: "2025-04-27",
13953
- end_date: "2025-04-27"
13954
- }
13955
- },
13956
- {
13957
- description: "List tasks for a project",
13958
- data: { project_id: 123456 }
13959
- },
13960
- {
13961
- description: "List high-priority open tasks",
13962
- data: { priority: "high" }
13963
- }
13964
- ]
13965
- },
13966
- "focus.tasks.get": { agentGuidance: "Fetch a single task with full detail including subtasks and time estimates." },
13967
- "focus.tasks.create": {
13968
- agentGuidance: "Required: name. Strongly recommended: project_id, status_id, assignee_user_ids. Use start_date/end_date for scheduling as date-only YYYY-MM-DD values; never pass RFC 3339 datetimes. Set estimated_mins for time estimates.",
13969
- examples: [{
13970
- description: "Create a minimal task",
13971
- data: { name: "Dogfood the CLI" }
13972
- }, {
13973
- description: "Create a task with full metadata",
13974
- data: {
13975
- name: "Review PR",
13976
- project_id: 123456,
13977
- assignee_user_ids: [789],
13978
- estimated_mins: 30
13979
- }
13980
- }]
13981
- },
13982
- "focus.tasks.update": {
13983
- agentGuidance: "Partial update — only include fields to change in payload. Provide task_id at top level and the fields to update under payload. custom_fields writes values as a map keyed by custom field ID; reads return the same data as custom_field_values[], so the write shape is not the read shape.",
13984
- examples: [
13985
- {
13986
- description: "Change task status",
13987
- data: {
13988
- task_id: 12345,
13989
- payload: { status_id: 456789 }
13990
- }
13991
- },
13992
- {
13993
- description: "Assign to a user and update estimate",
13994
- data: {
13995
- task_id: 12345,
13996
- payload: {
13997
- assignee_user_ids: [789],
13998
- estimated_mins: 60
13999
- }
14000
- }
14001
- },
14002
- {
14003
- description: "Set a select custom field value",
14004
- data: {
14005
- task_id: 12345,
14006
- payload: { custom_fields: { "406": [1639] } }
14007
- }
14008
- }
14009
- ]
14010
- },
14011
- "focus.tasks.delete": { agentGuidance: "Permanently deletes the task and all its subtasks. Cannot be undone." },
14012
- "focus.tasks.bulk-patch": {
14013
- agentGuidance: "Prefer over many single updates: pass a JSON array of { id: taskId, ...partial fields }. Same field names as single task update.",
14014
- examples: [{
14015
- description: "Set status on two tasks",
14016
- data: [{
14017
- id: 111,
14018
- status_id: 456789
14019
- }, {
14020
- id: 222,
14021
- status_id: 456789
14022
- }]
14023
- }, {
14024
- description: "Set a select custom field value on two tasks",
14025
- data: [{
14026
- id: 111,
14027
- custom_fields: { "406": [1639] }
14028
- }, {
14029
- id: 222,
14030
- custom_fields: { "406": [1640] }
14031
- }]
14032
- }]
14033
- },
14034
- "focus.tasks.bulk-delete": {
14035
- agentGuidance: "Deletes all listed task IDs in one HTTP call. Requires confirm flow like single delete.",
14036
- examples: [{
14037
- description: "Delete two tasks",
14038
- data: { ids: [111, 222] }
14039
- }]
14040
- }
14041
- };
14042
14046
  const timeEntryOverrides = {
14043
14047
  "focus.time-entries.list": {
14044
14048
  agentGuidance: "Returns tracked time entries in a date range, including taskless entries (tracked on a project with no task). Requires date_from and date_to. Accepts date-only strings (YYYY-MM-DD) or RFC3339 datetimes — date-only is automatically expanded: date_from to T00:00:00Z, date_to to T23:59:59Z. Optional project_id keeps only entries on that project (sent to the API; client also scans up to 50 list pages of 100, then slices page/per_page; not a full workspace scan). If truncated is true, more unfiltered rows exist than were scanned — narrow date_from/date_to. Pass include_taskless:false to hide taskless rows. Includes task and project context.",
@@ -16333,7 +16337,6 @@ const generatedFocusOperations = [
16333
16337
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16334
16338
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16335
16339
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16336
- export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16337
16340
  from: /* @__PURE__ */ string$1(),
16338
16341
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16339
16342
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -16375,7 +16378,6 @@ const generatedFocusOperations = [
16375
16378
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16376
16379
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16377
16380
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16378
- export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16379
16381
  from: /* @__PURE__ */ string$1(),
16380
16382
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16381
16383
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -16414,14 +16416,14 @@ const generatedFocusOperations = [
16414
16416
  inputSchema: /* @__PURE__ */ looseObject({
16415
16417
  end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16416
16418
  group: /* @__PURE__ */ picklist$1(["users"]),
16417
- include_drafts: /* @__PURE__ */ unknown$1(),
16418
- include_task_estimates: /* @__PURE__ */ unknown$1(),
16419
- private_: /* @__PURE__ */ unknown$1(),
16419
+ include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16420
+ include_task_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16421
+ private: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16420
16422
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16421
- task_source: /* @__PURE__ */ unknown$1(),
16422
- team_id: /* @__PURE__ */ number$2(),
16423
- unit: /* @__PURE__ */ unknown$1(),
16424
- user_id: /* @__PURE__ */ number$2()
16423
+ task_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16424
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16425
+ unit: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16426
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16425
16427
  }),
16426
16428
  execute: (input, { client }) => {
16427
16429
  const data = input;
@@ -18093,14 +18095,14 @@ const generatedFocusOperations = [
18093
18095
  },
18094
18096
  mcp: { entityTool: "organization" },
18095
18097
  inputSchema: /* @__PURE__ */ looseObject({
18096
- active_members_only: /* @__PURE__ */ unknown$1(),
18097
- filter: /* @__PURE__ */ unknown$1(),
18098
- group_ids: /* @__PURE__ */ unknown$1(),
18099
- organization_user_id: /* @__PURE__ */ number$2(),
18100
- page: /* @__PURE__ */ number$2(),
18101
- per_page: /* @__PURE__ */ unknown$1(),
18102
- query: /* @__PURE__ */ unknown$1(),
18103
- sort_dir: /* @__PURE__ */ unknown$1(),
18098
+ active_members_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18099
+ filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18100
+ group_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18101
+ organization_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18102
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18103
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18104
+ query: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18105
+ sort_dir: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18104
18106
  workspace_id: /* @__PURE__ */ number$2()
18105
18107
  }),
18106
18108
  execute: (input, { client }) => {
@@ -19042,7 +19044,7 @@ const generatedFocusOperations = [
19042
19044
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
19043
19045
  parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
19044
19046
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
19045
- private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
19047
+ private: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
19046
19048
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
19047
19049
  project_order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
19048
19050
  projects_per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -21250,6 +21252,7 @@ const generatedFocusOperations = [
21250
21252
  },
21251
21253
  mcp: { entityTool: "reports" },
21252
21254
  inputSchema: /* @__PURE__ */ looseObject({
21255
+ include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21253
21256
  payload: /* @__PURE__ */ looseObject({
21254
21257
  aggregation_filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21255
21258
  aggregation: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
@@ -21297,7 +21300,8 @@ const generatedFocusOperations = [
21297
21300
  }))),
21298
21301
  view_in_my_timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
21299
21302
  }),
21300
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
21303
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21304
+ xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
21301
21305
  }),
21302
21306
  execute: (input, { client }) => {
21303
21307
  const data = input;
@@ -23809,7 +23813,7 @@ const generatedFocusOperations = [
23809
23813
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23810
23814
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23811
23815
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23812
- private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23816
+ private: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23813
23817
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23814
23818
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23815
23819
  recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23960,7 +23964,7 @@ const generatedFocusOperations = [
23960
23964
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23961
23965
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23962
23966
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23963
- private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23967
+ private: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23964
23968
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23965
23969
  recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23966
23970
  recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -24003,39 +24007,39 @@ const generatedFocusOperations = [
24003
24007
  },
24004
24008
  mcp: { entityTool: "tasks" },
24005
24009
  inputSchema: /* @__PURE__ */ looseObject({
24006
- assignee_user_id: /* @__PURE__ */ number$2(),
24007
- cf_filter: /* @__PURE__ */ unknown$1(),
24008
- client_id: /* @__PURE__ */ number$2(),
24009
- collapse_recurring: /* @__PURE__ */ unknown$1(),
24010
- creator_id: /* @__PURE__ */ number$2(),
24011
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
24012
- end_date_from: /* @__PURE__ */ unknown$1(),
24013
- end_date_to: /* @__PURE__ */ unknown$1(),
24014
- exclude_empty: /* @__PURE__ */ unknown$1(),
24015
- group_id: /* @__PURE__ */ number$2(),
24016
- include_assignees: /* @__PURE__ */ unknown$1(),
24017
- include_drafts: /* @__PURE__ */ unknown$1(),
24018
- include_projected_occurrences: /* @__PURE__ */ unknown$1(),
24019
- include_unassigned: /* @__PURE__ */ unknown$1(),
24020
- include_unmaterialized: /* @__PURE__ */ unknown$1(),
24021
- max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
24022
- min_days: /* @__PURE__ */ unknown$1(),
24023
- name: /* @__PURE__ */ unknown$1(),
24024
- priority: /* @__PURE__ */ unknown$1(),
24025
- private_: /* @__PURE__ */ unknown$1(),
24010
+ assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24011
+ cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24012
+ client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24013
+ collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24014
+ creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24015
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
24016
+ end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24017
+ end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24018
+ exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24019
+ group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24020
+ include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24021
+ include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24022
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24023
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24024
+ include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24025
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24026
+ min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24027
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24028
+ priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24029
+ private: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24026
24030
  project_id: /* @__PURE__ */ number$2(),
24027
- recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
24028
- recurring_task_read: /* @__PURE__ */ unknown$1(),
24029
- source: /* @__PURE__ */ unknown$1(),
24030
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
24031
- start_date_from: /* @__PURE__ */ unknown$1(),
24032
- start_date_to: /* @__PURE__ */ unknown$1(),
24033
- status_id: /* @__PURE__ */ number$2(),
24034
- tag_id: /* @__PURE__ */ number$2(),
24035
- team_id: /* @__PURE__ */ number$2(),
24036
- user_cf_filter: /* @__PURE__ */ unknown$1(),
24037
- user_tag_id: /* @__PURE__ */ number$2(),
24038
- xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
24031
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24032
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24033
+ source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24034
+ start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
24035
+ start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24036
+ start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24037
+ status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24038
+ tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24039
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24040
+ user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24041
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24042
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
24039
24043
  }),
24040
24044
  execute: (input, { client }) => {
24041
24045
  const data = input;
@@ -24083,7 +24087,7 @@ const generatedFocusOperations = [
24083
24087
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24084
24088
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24085
24089
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24086
- private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24090
+ private: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24087
24091
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24088
24092
  recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24089
24093
  recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -24812,18 +24816,18 @@ const generatedFocusOperations = [
24812
24816
  },
24813
24817
  mcp: { entityTool: "time-entries" },
24814
24818
  inputSchema: /* @__PURE__ */ looseObject({
24815
- archived: /* @__PURE__ */ unknown$1(),
24819
+ archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24816
24820
  date_from: /* @__PURE__ */ unknown$1(),
24817
24821
  date_to: /* @__PURE__ */ unknown$1(),
24818
- expand_calendar_event: /* @__PURE__ */ unknown$1(),
24819
- include_taskless: /* @__PURE__ */ unknown$1(),
24820
- order_by: /* @__PURE__ */ unknown$1(),
24821
- project_completed: /* @__PURE__ */ unknown$1(),
24822
- project_draft: /* @__PURE__ */ unknown$1(),
24823
- project_id: /* @__PURE__ */ number$2(),
24824
- status_id: /* @__PURE__ */ number$2(),
24825
- task_id: /* @__PURE__ */ number$2(),
24826
- type: /* @__PURE__ */ unknown$1()
24822
+ expand_calendar_event: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24823
+ include_taskless: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24824
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24825
+ project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24826
+ project_draft: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24827
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24828
+ status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24829
+ task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24830
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
24827
24831
  }),
24828
24832
  execute: (input, { client }) => {
24829
24833
  const data = input;
@@ -24889,11 +24893,11 @@ const generatedFocusOperations = [
24889
24893
  mcp: { entityTool: "time-entries" },
24890
24894
  inputSchema: /* @__PURE__ */ looseObject({
24891
24895
  end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
24892
- order_by: /* @__PURE__ */ unknown$1(),
24893
- page: /* @__PURE__ */ number$2(),
24894
- per_page: /* @__PURE__ */ unknown$1(),
24896
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24897
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24898
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24895
24899
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
24896
- user_id: /* @__PURE__ */ number$2()
24900
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24897
24901
  }),
24898
24902
  execute: (input, { client }) => {
24899
24903
  const data = input;
@@ -25531,12 +25535,12 @@ const generatedFocusOperations = [
25531
25535
  },
25532
25536
  mcp: { entityTool: "time-off" },
25533
25537
  inputSchema: /* @__PURE__ */ looseObject({
25534
- category_id: /* @__PURE__ */ number$2(),
25538
+ category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
25535
25539
  end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
25536
- include_pending: /* @__PURE__ */ unknown$1(),
25540
+ include_pending: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
25537
25541
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
25538
- team_id: /* @__PURE__ */ number$2(),
25539
- user_id: /* @__PURE__ */ number$2()
25542
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
25543
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
25540
25544
  }),
25541
25545
  execute: (input, { client }) => {
25542
25546
  const data = input;
@@ -25565,10 +25569,10 @@ const generatedFocusOperations = [
25565
25569
  mcp: { entityTool: "time-off" },
25566
25570
  inputSchema: /* @__PURE__ */ looseObject({
25567
25571
  category_id: /* @__PURE__ */ number$2(),
25568
- page: /* @__PURE__ */ number$2(),
25569
- rows: /* @__PURE__ */ unknown$1(),
25572
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
25573
+ rows: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
25570
25574
  user_id: /* @__PURE__ */ number$2(),
25571
- year: /* @__PURE__ */ unknown$1()
25575
+ year: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
25572
25576
  }),
25573
25577
  execute: (input, { client }) => {
25574
25578
  const data = input;
@@ -26216,16 +26220,16 @@ const generatedFocusOperations = [
26216
26220
  },
26217
26221
  mcp: { entityTool: "timesheets" },
26218
26222
  inputSchema: /* @__PURE__ */ looseObject({
26219
- approver_user_account_ids: /* @__PURE__ */ unknown$1(),
26220
- current_layer_approver_user_account_id: /* @__PURE__ */ number$2(),
26223
+ approver_user_account_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
26224
+ current_layer_approver_user_account_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
26221
26225
  date_from: /* @__PURE__ */ unknown$1(),
26222
26226
  date_to: /* @__PURE__ */ unknown$1(),
26223
- page: /* @__PURE__ */ number$2(),
26224
- per_page: /* @__PURE__ */ unknown$1(),
26225
- setup_id: /* @__PURE__ */ number$2(),
26226
- statuses: /* @__PURE__ */ unknown$1(),
26227
- team_ids: /* @__PURE__ */ unknown$1(),
26228
- user_account_ids: /* @__PURE__ */ unknown$1()
26227
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
26228
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
26229
+ setup_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
26230
+ statuses: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
26231
+ team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
26232
+ user_account_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
26229
26233
  }),
26230
26234
  execute: (input, { client }) => {
26231
26235
  const data = input;
@@ -26409,12 +26413,12 @@ const generatedFocusOperations = [
26409
26413
  },
26410
26414
  mcp: { entityTool: "timesheets" },
26411
26415
  inputSchema: /* @__PURE__ */ looseObject({
26412
- approver_user_account_ids: /* @__PURE__ */ unknown$1(),
26416
+ approver_user_account_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
26413
26417
  date_from: /* @__PURE__ */ unknown$1(),
26414
26418
  date_to: /* @__PURE__ */ unknown$1(),
26415
- setup_id: /* @__PURE__ */ number$2(),
26416
- team_ids: /* @__PURE__ */ unknown$1(),
26417
- user_account_ids: /* @__PURE__ */ unknown$1()
26419
+ setup_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
26420
+ team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
26421
+ user_account_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
26418
26422
  }),
26419
26423
  execute: (input, { client }) => {
26420
26424
  const data = input;
@@ -29288,4 +29292,4 @@ Common commands:
29288
29292
  //#endregion
29289
29293
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
29290
29294
 
29291
- //# sourceMappingURL=program-BWLypjki.js.map
29295
+ //# sourceMappingURL=program-BB9t7xvO.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-BWLypjki.js";
1
+ import { t as createProgram } from "./program-BB9t7xvO.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.11.224",
3
+ "version": "1.11.226",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",