@agentmc/api 0.1.1 → 0.2.2

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.
Files changed (29) hide show
  1. package/dist/cli.js +585 -595
  2. package/dist/cli.js.map +1 -1
  3. package/dist/generated/operations.d.ts +503 -512
  4. package/dist/generated/operations.js +585 -595
  5. package/dist/generated/operations.js.map +1 -1
  6. package/dist/index.d.ts +226 -202
  7. package/dist/index.js +585 -595
  8. package/dist/index.js.map +1 -1
  9. package/docs/operations/README.md +6 -6
  10. package/docs/operations/agentHeartbeat.md +41 -17
  11. package/docs/operations/{commentWorkspaceCalendarItem.md → commentCalendarItem.md} +2 -2
  12. package/docs/operations/connectAgent.md +39 -3
  13. package/docs/operations/{createWorkspaceCalendarItem.md → createCalendarItem.md} +2 -12
  14. package/docs/operations/{deleteWorkspaceCalendarItem.md → deleteCalendarItem.md} +2 -2
  15. package/docs/operations/index.json +585 -595
  16. package/docs/operations/{workspaceCalendar.md → listCalendar.md} +2 -12
  17. package/docs/operations/listNotifications.md +1 -1
  18. package/docs/operations/{showWorkspaceCalendarItem.md → showCalendarItem.md} +2 -12
  19. package/docs/operations/{updateWorkspaceCalendarItem.md → updateCalendarItem.md} +2 -12
  20. package/examples/http/agentHeartbeat.ts +20 -8
  21. package/examples/http/{commentWorkspaceCalendarItem.ts → commentCalendarItem.ts} +1 -1
  22. package/examples/http/connectAgent.ts +19 -1
  23. package/examples/http/{createWorkspaceCalendarItem.ts → createCalendarItem.ts} +1 -1
  24. package/examples/http/{showWorkspaceCalendarItem.ts → deleteCalendarItem.ts} +1 -1
  25. package/examples/http/{workspaceCalendar.ts → listCalendar.ts} +1 -1
  26. package/examples/http/{deleteWorkspaceCalendarItem.ts → showCalendarItem.ts} +1 -1
  27. package/examples/http/{updateWorkspaceCalendarItem.ts → updateCalendarItem.ts} +1 -1
  28. package/package.json +1 -1
  29. package/spec/openapi.filtered.json +268 -242
package/dist/index.js CHANGED
@@ -170,16 +170,28 @@ var operations = [
170
170
  "agent": {
171
171
  "id": 42,
172
172
  "name": "codex-runtime-prod",
173
- "models": [
174
- {
175
- "model_id": "openai/gpt-5-codex",
176
- "provider": "openai"
173
+ "identity": {
174
+ "name": "Jarvis",
175
+ "creature": "robot",
176
+ "vibe": "calm"
177
+ },
178
+ "models": {
179
+ "resolved": {
180
+ "default": "openai/gpt-5-codex",
181
+ "fallbacks": [
182
+ "anthropic/claude-sonnet-4-20250514"
183
+ ]
177
184
  },
178
- {
179
- "model_id": "anthropic/claude-sonnet-4-20250514",
180
- "provider": "anthropic"
185
+ "providers": {
186
+ "openai": [
187
+ "gpt-5-codex",
188
+ "gpt-4.1"
189
+ ],
190
+ "anthropic": [
191
+ "claude-sonnet-4-20250514"
192
+ ]
181
193
  }
182
- ]
194
+ }
183
195
  }
184
196
  }
185
197
  }
@@ -771,7 +783,7 @@ var operations = [
771
783
  ]
772
784
  },
773
785
  {
774
- "operationId": "commentWorkspaceCalendarItem",
786
+ "operationId": "commentCalendarItem",
775
787
  "method": "post",
776
788
  "path": "/calendar/items/{item}/comments",
777
789
  "summary": "Add a comment on a calendar item.",
@@ -924,7 +936,7 @@ var operations = [
924
936
  {
925
937
  "mediaType": "application/json",
926
938
  "example": {
927
- "name": "codex-runtime-prod",
939
+ "name": "openclaw-main",
928
940
  "host": "ip-10-0-3-42",
929
941
  "runtime_version": "2026.02.1",
930
942
  "capabilities": [
@@ -932,6 +944,21 @@ var operations = [
932
944
  "calendar",
933
945
  "realtime"
934
946
  ],
947
+ "models": [
948
+ {
949
+ "model_id": "openai/gpt-5-codex",
950
+ "provider": "openai"
951
+ },
952
+ {
953
+ "model_id": "anthropic/claude-sonnet-4-20250514",
954
+ "provider": "anthropic"
955
+ }
956
+ ],
957
+ "identity": {
958
+ "name": "Jarvis",
959
+ "creature": "robot",
960
+ "vibe": "calm"
961
+ },
935
962
  "metadata": {
936
963
  "hostname": "worker-01",
937
964
  "ip": "10.0.2.15",
@@ -953,6 +980,9 @@ var operations = [
953
980
  "runtime": {
954
981
  "name": "codex",
955
982
  "version": "2026.02.1"
983
+ },
984
+ "identity": {
985
+ "name": "Jarvis"
956
986
  }
957
987
  }
958
988
  }
@@ -1667,13 +1697,13 @@ var operations = [
1667
1697
  ]
1668
1698
  },
1669
1699
  {
1670
- "operationId": "createTask",
1700
+ "operationId": "createCalendarItem",
1671
1701
  "method": "post",
1672
- "path": "/tasks",
1673
- "summary": "Create a task.",
1702
+ "path": "/calendar/items",
1703
+ "summary": "Create a calendar item.",
1674
1704
  "description": "",
1675
1705
  "tags": [
1676
- "Tasks"
1706
+ "Calendar"
1677
1707
  ],
1678
1708
  "security": [
1679
1709
  [
@@ -1692,14 +1722,21 @@ var operations = [
1692
1722
  {
1693
1723
  "mediaType": "application/json",
1694
1724
  "example": {
1695
- "board_id": 5,
1696
- "column_id": 13,
1697
- "title": "Draft post-incident summary",
1698
- "description": "Capture timeline, impact, and remediation status.",
1699
- "status": "doing",
1700
- "position": 2,
1701
- "due_at": "2026-02-24T17:00:00Z",
1702
- "assigned_to_user_id": 8
1725
+ "type": "task",
1726
+ "title": "Review outage timeline",
1727
+ "description": "Confirm sequence of events with on-call notes.",
1728
+ "due_at": "2026-02-24T09:00:00Z",
1729
+ "timezone": "America/Los_Angeles",
1730
+ "status": "todo",
1731
+ "priority": "high",
1732
+ "visibility": "workspace",
1733
+ "assignees": [
1734
+ {
1735
+ "assignee_type": "user",
1736
+ "assignee_id": 8,
1737
+ "role": "owner"
1738
+ }
1739
+ ]
1703
1740
  }
1704
1741
  }
1705
1742
  ],
@@ -1707,25 +1744,40 @@ var operations = [
1707
1744
  {
1708
1745
  "status": "201",
1709
1746
  "mediaType": "application/json",
1710
- "description": "Task created.",
1747
+ "description": "Calendar item created.",
1711
1748
  "hasContent": true,
1712
1749
  "example": {
1713
1750
  "data": {
1714
1751
  "id": 42,
1715
- "team_id": 42,
1716
- "board_id": 42,
1717
- "column_id": 42,
1752
+ "workspace_id": 42,
1753
+ "type": "event",
1718
1754
  "title": "Example Title",
1719
1755
  "description": "Example description text.",
1720
- "status": "backlog",
1721
- "position": 1,
1756
+ "start_at": "2026-02-22T17:21:00Z",
1757
+ "end_at": "2026-02-22T17:21:00Z",
1722
1758
  "due_at": "2026-02-22T17:21:00Z",
1723
- "created_by_user_id": 42,
1724
- "assigned_to_user_id": 42,
1725
- "assigned_to_agent_id": 42,
1726
- "assignee_type": "human",
1759
+ "all_day": false,
1760
+ "location": "example",
1761
+ "timezone": "America/Los_Angeles",
1762
+ "status": "todo",
1763
+ "priority": "low",
1764
+ "visibility": "workspace",
1765
+ "created_by": 1,
1766
+ "updated_by": 1,
1767
+ "assignees": [
1768
+ {
1769
+ "id": 42,
1770
+ "assignee_type": "user",
1771
+ "assignee_id": 42,
1772
+ "role": "owner",
1773
+ "name": "Example Name",
1774
+ "created_at": "2026-02-22T17:21:00Z"
1775
+ }
1776
+ ],
1777
+ "comments_count": 1,
1727
1778
  "created_at": "2026-02-22T17:21:00Z",
1728
- "updated_at": "2026-02-22T17:21:00Z"
1779
+ "updated_at": "2026-02-22T17:21:00Z",
1780
+ "deleted_at": "2026-02-22T17:21:00Z"
1729
1781
  }
1730
1782
  }
1731
1783
  },
@@ -1827,10 +1879,10 @@ var operations = [
1827
1879
  ]
1828
1880
  },
1829
1881
  {
1830
- "operationId": "createTaskComment",
1882
+ "operationId": "createTask",
1831
1883
  "method": "post",
1832
- "path": "/tasks/{task}/comments",
1833
- "summary": "Create a comment on one task.",
1884
+ "path": "/tasks",
1885
+ "summary": "Create a task.",
1834
1886
  "description": "",
1835
1887
  "tags": [
1836
1888
  "Tasks"
@@ -1846,23 +1898,20 @@ var operations = [
1846
1898
  "BearerAuth"
1847
1899
  ]
1848
1900
  ],
1849
- "parameters": [
1850
- {
1851
- "name": "task",
1852
- "in": "path",
1853
- "required": true,
1854
- "description": "Task identifier.",
1855
- "example": 1
1856
- }
1857
- ],
1901
+ "parameters": [],
1858
1902
  "requestBodyRequired": true,
1859
1903
  "requestExamples": [
1860
1904
  {
1861
1905
  "mediaType": "application/json",
1862
1906
  "example": {
1863
- "body": "Posting a handoff note for [@Alex Morgan](/mentions/user/8) to review before standup.",
1864
- "actor_type": "agent",
1865
- "actor_id": 42
1907
+ "board_id": 5,
1908
+ "column_id": 13,
1909
+ "title": "Draft post-incident summary",
1910
+ "description": "Capture timeline, impact, and remediation status.",
1911
+ "status": "doing",
1912
+ "position": 2,
1913
+ "due_at": "2026-02-24T17:00:00Z",
1914
+ "assigned_to_user_id": 8
1866
1915
  }
1867
1916
  }
1868
1917
  ],
@@ -1870,28 +1919,25 @@ var operations = [
1870
1919
  {
1871
1920
  "status": "201",
1872
1921
  "mediaType": "application/json",
1873
- "description": "Task comment created.",
1922
+ "description": "Task created.",
1874
1923
  "hasContent": true,
1875
1924
  "example": {
1876
1925
  "data": {
1877
1926
  "id": 42,
1878
- "task_id": 42,
1879
- "actor_type": "user",
1880
- "actor_id": 42,
1881
- "actor_name": "Example Name",
1882
- "body": "Example content.",
1883
- "mentions": [
1884
- {
1885
- "key": "example",
1886
- "type": "user",
1887
- "id": 42,
1888
- "label": "example",
1889
- "handle": "example",
1890
- "token": "example"
1891
- }
1892
- ],
1893
- "edited_at": "2026-02-22T17:21:00Z",
1894
- "created_at": "2026-02-22T17:21:00Z"
1927
+ "team_id": 42,
1928
+ "board_id": 42,
1929
+ "column_id": 42,
1930
+ "title": "Example Title",
1931
+ "description": "Example description text.",
1932
+ "status": "backlog",
1933
+ "position": 1,
1934
+ "due_at": "2026-02-22T17:21:00Z",
1935
+ "created_by_user_id": 42,
1936
+ "assigned_to_user_id": 42,
1937
+ "assigned_to_agent_id": 42,
1938
+ "assignee_type": "human",
1939
+ "created_at": "2026-02-22T17:21:00Z",
1940
+ "updated_at": "2026-02-22T17:21:00Z"
1895
1941
  }
1896
1942
  }
1897
1943
  },
@@ -1914,6 +1960,25 @@ var operations = [
1914
1960
  }
1915
1961
  }
1916
1962
  },
1963
+ {
1964
+ "status": "402",
1965
+ "mediaType": "application/json",
1966
+ "description": "Plan limit reached.",
1967
+ "hasContent": true,
1968
+ "example": {
1969
+ "error": {
1970
+ "code": "validation.failed",
1971
+ "message": "Validation failed.",
1972
+ "details": {
1973
+ "fields": {
1974
+ "title": [
1975
+ "The title field is required."
1976
+ ]
1977
+ }
1978
+ }
1979
+ }
1980
+ }
1981
+ },
1917
1982
  {
1918
1983
  "status": "403",
1919
1984
  "mediaType": "application/json",
@@ -1974,13 +2039,13 @@ var operations = [
1974
2039
  ]
1975
2040
  },
1976
2041
  {
1977
- "operationId": "createWorkspaceCalendarItem",
2042
+ "operationId": "createTaskComment",
1978
2043
  "method": "post",
1979
- "path": "/calendar/items",
1980
- "summary": "Create a calendar item.",
2044
+ "path": "/tasks/{task}/comments",
2045
+ "summary": "Create a comment on one task.",
1981
2046
  "description": "",
1982
2047
  "tags": [
1983
- "Calendar"
2048
+ "Tasks"
1984
2049
  ],
1985
2050
  "security": [
1986
2051
  [
@@ -1993,27 +2058,23 @@ var operations = [
1993
2058
  "BearerAuth"
1994
2059
  ]
1995
2060
  ],
1996
- "parameters": [],
2061
+ "parameters": [
2062
+ {
2063
+ "name": "task",
2064
+ "in": "path",
2065
+ "required": true,
2066
+ "description": "Task identifier.",
2067
+ "example": 1
2068
+ }
2069
+ ],
1997
2070
  "requestBodyRequired": true,
1998
2071
  "requestExamples": [
1999
2072
  {
2000
2073
  "mediaType": "application/json",
2001
2074
  "example": {
2002
- "type": "task",
2003
- "title": "Review outage timeline",
2004
- "description": "Confirm sequence of events with on-call notes.",
2005
- "due_at": "2026-02-24T09:00:00Z",
2006
- "timezone": "America/Los_Angeles",
2007
- "status": "todo",
2008
- "priority": "high",
2009
- "visibility": "workspace",
2010
- "assignees": [
2011
- {
2012
- "assignee_type": "user",
2013
- "assignee_id": 8,
2014
- "role": "owner"
2015
- }
2016
- ]
2075
+ "body": "Posting a handoff note for [@Alex Morgan](/mentions/user/8) to review before standup.",
2076
+ "actor_type": "agent",
2077
+ "actor_id": 42
2017
2078
  }
2018
2079
  }
2019
2080
  ],
@@ -2021,50 +2082,28 @@ var operations = [
2021
2082
  {
2022
2083
  "status": "201",
2023
2084
  "mediaType": "application/json",
2024
- "description": "Calendar item created.",
2085
+ "description": "Task comment created.",
2025
2086
  "hasContent": true,
2026
2087
  "example": {
2027
2088
  "data": {
2028
2089
  "id": 42,
2029
- "workspace_id": 42,
2030
- "type": "event",
2031
- "title": "Example Title",
2032
- "description": "Example description text.",
2033
- "start_at": "2026-02-22T17:21:00Z",
2034
- "end_at": "2026-02-22T17:21:00Z",
2035
- "due_at": "2026-02-22T17:21:00Z",
2036
- "all_day": false,
2037
- "location": "example",
2038
- "timezone": "America/Los_Angeles",
2039
- "status": "todo",
2040
- "priority": "low",
2041
- "visibility": "workspace",
2042
- "created_by": 1,
2043
- "updated_by": 1,
2044
- "assignees": [
2045
- {
2046
- "id": 42,
2047
- "assignee_type": "user",
2048
- "assignee_id": 42,
2049
- "role": "owner",
2050
- "name": "Example Name",
2051
- "created_at": "2026-02-22T17:21:00Z"
2052
- }
2053
- ],
2054
- "links": [
2090
+ "task_id": 42,
2091
+ "actor_type": "user",
2092
+ "actor_id": 42,
2093
+ "actor_name": "Example Name",
2094
+ "body": "Example content.",
2095
+ "mentions": [
2055
2096
  {
2097
+ "key": "example",
2098
+ "type": "user",
2056
2099
  "id": 42,
2057
- "link_type": "example",
2058
- "link_id": 42,
2059
- "url": "https://agentmc.example.com/docs/incident-123",
2060
- "title": "Example Title",
2061
- "created_at": "2026-02-22T17:21:00Z"
2100
+ "label": "example",
2101
+ "handle": "example",
2102
+ "token": "example"
2062
2103
  }
2063
2104
  ],
2064
- "comments_count": 1,
2065
- "created_at": "2026-02-22T17:21:00Z",
2066
- "updated_at": "2026-02-22T17:21:00Z",
2067
- "deleted_at": "2026-02-22T17:21:00Z"
2105
+ "edited_at": "2026-02-22T17:21:00Z",
2106
+ "created_at": "2026-02-22T17:21:00Z"
2068
2107
  }
2069
2108
  }
2070
2109
  },
@@ -2088,9 +2127,9 @@ var operations = [
2088
2127
  }
2089
2128
  },
2090
2129
  {
2091
- "status": "402",
2130
+ "status": "403",
2092
2131
  "mediaType": "application/json",
2093
- "description": "Plan limit reached.",
2132
+ "description": "Forbidden.",
2094
2133
  "hasContent": true,
2095
2134
  "example": {
2096
2135
  "error": {
@@ -2107,9 +2146,9 @@ var operations = [
2107
2146
  }
2108
2147
  },
2109
2148
  {
2110
- "status": "403",
2149
+ "status": "404",
2111
2150
  "mediaType": "application/json",
2112
- "description": "Forbidden.",
2151
+ "description": "Resource not found.",
2113
2152
  "hasContent": true,
2114
2153
  "example": {
2115
2154
  "error": {
@@ -2126,28 +2165,9 @@ var operations = [
2126
2165
  }
2127
2166
  },
2128
2167
  {
2129
- "status": "404",
2168
+ "status": "422",
2130
2169
  "mediaType": "application/json",
2131
- "description": "Resource not found.",
2132
- "hasContent": true,
2133
- "example": {
2134
- "error": {
2135
- "code": "validation.failed",
2136
- "message": "Validation failed.",
2137
- "details": {
2138
- "fields": {
2139
- "title": [
2140
- "The title field is required."
2141
- ]
2142
- }
2143
- }
2144
- }
2145
- }
2146
- },
2147
- {
2148
- "status": "422",
2149
- "mediaType": "application/json",
2150
- "description": "Validation failed.",
2170
+ "description": "Validation failed.",
2151
2171
  "hasContent": true,
2152
2172
  "example": {
2153
2173
  "error": {
@@ -2517,13 +2537,13 @@ var operations = [
2517
2537
  ]
2518
2538
  },
2519
2539
  {
2520
- "operationId": "deleteTask",
2540
+ "operationId": "deleteCalendarItem",
2521
2541
  "method": "delete",
2522
- "path": "/tasks/{task}",
2523
- "summary": "Delete a task.",
2542
+ "path": "/calendar/items/{item}",
2543
+ "summary": "Delete a calendar item.",
2524
2544
  "description": "",
2525
2545
  "tags": [
2526
- "Tasks"
2546
+ "Calendar"
2527
2547
  ],
2528
2548
  "security": [
2529
2549
  [
@@ -2538,10 +2558,10 @@ var operations = [
2538
2558
  ],
2539
2559
  "parameters": [
2540
2560
  {
2541
- "name": "task",
2561
+ "name": "item",
2542
2562
  "in": "path",
2543
2563
  "required": true,
2544
- "description": "Task identifier.",
2564
+ "description": "Calendar item identifier.",
2545
2565
  "example": 1
2546
2566
  }
2547
2567
  ],
@@ -2619,10 +2639,10 @@ var operations = [
2619
2639
  ]
2620
2640
  },
2621
2641
  {
2622
- "operationId": "deleteTaskComment",
2642
+ "operationId": "deleteTask",
2623
2643
  "method": "delete",
2624
- "path": "/tasks/{task}/comments/{comment}",
2625
- "summary": "Delete one existing task comment.",
2644
+ "path": "/tasks/{task}",
2645
+ "summary": "Delete a task.",
2626
2646
  "description": "",
2627
2647
  "tags": [
2628
2648
  "Tasks"
@@ -2645,13 +2665,6 @@ var operations = [
2645
2665
  "required": true,
2646
2666
  "description": "Task identifier.",
2647
2667
  "example": 1
2648
- },
2649
- {
2650
- "name": "comment",
2651
- "in": "path",
2652
- "required": true,
2653
- "description": "Task comment identifier.",
2654
- "example": 1
2655
2668
  }
2656
2669
  ],
2657
2670
  "requestBodyRequired": false,
@@ -2728,13 +2741,13 @@ var operations = [
2728
2741
  ]
2729
2742
  },
2730
2743
  {
2731
- "operationId": "deleteWorkspaceCalendarItem",
2744
+ "operationId": "deleteTaskComment",
2732
2745
  "method": "delete",
2733
- "path": "/calendar/items/{item}",
2734
- "summary": "Delete a calendar item.",
2746
+ "path": "/tasks/{task}/comments/{comment}",
2747
+ "summary": "Delete one existing task comment.",
2735
2748
  "description": "",
2736
2749
  "tags": [
2737
- "Calendar"
2750
+ "Tasks"
2738
2751
  ],
2739
2752
  "security": [
2740
2753
  [
@@ -2749,10 +2762,17 @@ var operations = [
2749
2762
  ],
2750
2763
  "parameters": [
2751
2764
  {
2752
- "name": "item",
2765
+ "name": "task",
2753
2766
  "in": "path",
2754
2767
  "required": true,
2755
- "description": "Calendar item identifier.",
2768
+ "description": "Task identifier.",
2769
+ "example": 1
2770
+ },
2771
+ {
2772
+ "name": "comment",
2773
+ "in": "path",
2774
+ "required": true,
2775
+ "description": "Task comment identifier.",
2756
2776
  "example": 1
2757
2777
  }
2758
2778
  ],
@@ -3622,6 +3642,197 @@ var operations = [
3622
3642
  }
3623
3643
  ]
3624
3644
  },
3645
+ {
3646
+ "operationId": "listCalendar",
3647
+ "method": "get",
3648
+ "path": "/calendar",
3649
+ "summary": "List calendar items.",
3650
+ "description": "",
3651
+ "tags": [
3652
+ "Calendar"
3653
+ ],
3654
+ "security": [
3655
+ [
3656
+ "ApiKeyAuth"
3657
+ ],
3658
+ [
3659
+ "AgentBearerAuth"
3660
+ ],
3661
+ [
3662
+ "BearerAuth"
3663
+ ]
3664
+ ],
3665
+ "parameters": [
3666
+ {
3667
+ "name": "view",
3668
+ "in": "query",
3669
+ "required": false,
3670
+ "description": "Allowed values: month, week, list.",
3671
+ "example": "month"
3672
+ },
3673
+ {
3674
+ "name": "start",
3675
+ "in": "query",
3676
+ "required": false,
3677
+ "description": "Start.",
3678
+ "example": "2026-02-22T17:21:00Z"
3679
+ },
3680
+ {
3681
+ "name": "end",
3682
+ "in": "query",
3683
+ "required": false,
3684
+ "description": "End.",
3685
+ "example": "2026-02-22T17:21:00Z"
3686
+ },
3687
+ {
3688
+ "name": "type",
3689
+ "in": "query",
3690
+ "required": false,
3691
+ "description": "Type discriminator for this record. Allowed values: event, task.",
3692
+ "example": "event"
3693
+ },
3694
+ {
3695
+ "name": "status",
3696
+ "in": "query",
3697
+ "required": false,
3698
+ "description": "Current lifecycle status for this record. Allowed values: todo, in_progress, blocked, done, canceled.",
3699
+ "example": "todo"
3700
+ },
3701
+ {
3702
+ "name": "priority",
3703
+ "in": "query",
3704
+ "required": false,
3705
+ "description": "Priority level for this record. Allowed values: low, medium, high, urgent.",
3706
+ "example": "low"
3707
+ },
3708
+ {
3709
+ "name": "assignee",
3710
+ "in": "query",
3711
+ "required": false,
3712
+ "description": "Assignee.",
3713
+ "example": "example"
3714
+ },
3715
+ {
3716
+ "name": "q",
3717
+ "in": "query",
3718
+ "required": false,
3719
+ "description": "Case-insensitive text search query.",
3720
+ "example": "retro"
3721
+ },
3722
+ {
3723
+ "name": "per_page",
3724
+ "in": "query",
3725
+ "required": false,
3726
+ "description": "Page size for paginated responses.",
3727
+ "example": 25
3728
+ }
3729
+ ],
3730
+ "requestBodyRequired": false,
3731
+ "requestExamples": [],
3732
+ "responses": [
3733
+ {
3734
+ "status": "200",
3735
+ "mediaType": "application/json",
3736
+ "description": "Calendar items returned.",
3737
+ "hasContent": true,
3738
+ "example": {
3739
+ "data": [
3740
+ {
3741
+ "id": 42,
3742
+ "workspace_id": 42,
3743
+ "type": "event",
3744
+ "title": "Example Title",
3745
+ "description": "Example description text.",
3746
+ "start_at": "2026-02-22T17:21:00Z",
3747
+ "end_at": "2026-02-22T17:21:00Z",
3748
+ "due_at": "2026-02-22T17:21:00Z",
3749
+ "all_day": false,
3750
+ "location": "example",
3751
+ "timezone": "America/Los_Angeles",
3752
+ "status": "todo",
3753
+ "priority": "low",
3754
+ "visibility": "workspace",
3755
+ "created_by": 1,
3756
+ "updated_by": 1,
3757
+ "assignees": [
3758
+ {
3759
+ "id": 42,
3760
+ "assignee_type": "user",
3761
+ "assignee_id": 42,
3762
+ "role": "owner",
3763
+ "name": "Example Name",
3764
+ "created_at": "2026-02-22T17:21:00Z"
3765
+ }
3766
+ ],
3767
+ "comments_count": 1,
3768
+ "created_at": "2026-02-22T17:21:00Z",
3769
+ "updated_at": "2026-02-22T17:21:00Z",
3770
+ "deleted_at": "2026-02-22T17:21:00Z"
3771
+ }
3772
+ ],
3773
+ "links": {
3774
+ "first": "example",
3775
+ "last": "example",
3776
+ "prev": "example",
3777
+ "next": "example"
3778
+ },
3779
+ "meta": {
3780
+ "current_page": 1,
3781
+ "from": 1,
3782
+ "last_page": 1,
3783
+ "links": [
3784
+ {
3785
+ "url": "https://agentmc.example.com/docs/incident-123",
3786
+ "label": "example",
3787
+ "active": true
3788
+ }
3789
+ ],
3790
+ "path": "example",
3791
+ "per_page": 25,
3792
+ "total": 0
3793
+ }
3794
+ }
3795
+ },
3796
+ {
3797
+ "status": "401",
3798
+ "mediaType": "application/json",
3799
+ "description": "Missing or invalid credentials.",
3800
+ "hasContent": true,
3801
+ "example": {
3802
+ "error": {
3803
+ "code": "validation.failed",
3804
+ "message": "Validation failed.",
3805
+ "details": {
3806
+ "fields": {
3807
+ "title": [
3808
+ "The title field is required."
3809
+ ]
3810
+ }
3811
+ }
3812
+ }
3813
+ }
3814
+ },
3815
+ {
3816
+ "status": "403",
3817
+ "mediaType": "application/json",
3818
+ "description": "Forbidden.",
3819
+ "hasContent": true,
3820
+ "example": {
3821
+ "error": {
3822
+ "code": "validation.failed",
3823
+ "message": "Validation failed.",
3824
+ "details": {
3825
+ "fields": {
3826
+ "title": [
3827
+ "The title field is required."
3828
+ ]
3829
+ }
3830
+ }
3831
+ }
3832
+ }
3833
+ }
3834
+ ]
3835
+ },
3625
3836
  {
3626
3837
  "operationId": "listHosts",
3627
3838
  "method": "get",
@@ -3884,7 +4095,7 @@ var operations = [
3884
4095
  "operationId": "listNotifications",
3885
4096
  "method": "get",
3886
4097
  "path": "/notifications",
3887
- "summary": "List workspace notifications (mentions and assignments) for the authenticated principal.",
4098
+ "summary": "List workspace notifications (mentions, assignments, and comment activity) for the authenticated principal.",
3888
4099
  "description": "",
3889
4100
  "tags": [
3890
4101
  "Notifications"
@@ -4803,13 +5014,13 @@ var operations = [
4803
5014
  ]
4804
5015
  },
4805
5016
  {
4806
- "operationId": "showHost",
5017
+ "operationId": "showCalendarItem",
4807
5018
  "method": "get",
4808
- "path": "/hosts/{id}",
4809
- "summary": "Show one host.",
4810
- "description": "Returns one host record including id/team/name/fingerprint, status + last_seen_at, metadata snapshot, and assigned-agent totals.",
5019
+ "path": "/calendar/items/{item}",
5020
+ "summary": "Show one calendar item.",
5021
+ "description": "",
4811
5022
  "tags": [
4812
- "Hosts"
5023
+ "Calendar"
4813
5024
  ],
4814
5025
  "security": [
4815
5026
  [
@@ -4824,18 +5035,11 @@ var operations = [
4824
5035
  ],
4825
5036
  "parameters": [
4826
5037
  {
4827
- "name": "id",
5038
+ "name": "item",
4828
5039
  "in": "path",
4829
5040
  "required": true,
4830
- "description": "Host identifier.",
4831
- "example": 42
4832
- },
4833
- {
4834
- "name": "agents_per_page",
4835
- "in": "query",
4836
- "required": false,
4837
- "description": "Agents per page.",
4838
- "example": 25
5041
+ "description": "Calendar item identifier.",
5042
+ "example": 1
4839
5043
  }
4840
5044
  ],
4841
5045
  "requestBodyRequired": false,
@@ -4844,53 +5048,40 @@ var operations = [
4844
5048
  {
4845
5049
  "status": "200",
4846
5050
  "mediaType": "application/json",
4847
- "description": "Host returned.",
5051
+ "description": "Calendar item returned.",
4848
5052
  "hasContent": true,
4849
5053
  "example": {
4850
5054
  "data": {
4851
5055
  "id": 42,
4852
- "team_id": 42,
4853
- "name": "Example Name",
4854
- "fingerprint": "a3f56f330f311a2159f8c101eaf1439a29f1d57f007375d56aa79f304bc4f112",
4855
- "status": "online",
4856
- "last_seen_at": "2026-02-22T17:21:00Z",
4857
- "meta": {
4858
- "hostname": "worker-01",
4859
- "ip": "10.0.2.15",
4860
- "os": "Ubuntu",
4861
- "arch": "x86_64",
4862
- "cpu": "Intel Xeon",
4863
- "ram_gb": 32,
4864
- "runtime": {
4865
- "name": "openclaw",
4866
- "version": "1.14.2"
5056
+ "workspace_id": 42,
5057
+ "type": "event",
5058
+ "title": "Example Title",
5059
+ "description": "Example description text.",
5060
+ "start_at": "2026-02-22T17:21:00Z",
5061
+ "end_at": "2026-02-22T17:21:00Z",
5062
+ "due_at": "2026-02-22T17:21:00Z",
5063
+ "all_day": false,
5064
+ "location": "example",
5065
+ "timezone": "America/Los_Angeles",
5066
+ "status": "todo",
5067
+ "priority": "low",
5068
+ "visibility": "workspace",
5069
+ "created_by": 1,
5070
+ "updated_by": 1,
5071
+ "assignees": [
5072
+ {
5073
+ "id": 42,
5074
+ "assignee_type": "user",
5075
+ "assignee_id": 42,
5076
+ "role": "owner",
5077
+ "name": "Example Name",
5078
+ "created_at": "2026-02-22T17:21:00Z"
4867
5079
  }
4868
- },
4869
- "created_by_user_id": 42,
4870
- "agents_total": 1,
4871
- "agents_online": 1,
5080
+ ],
5081
+ "comments_count": 1,
4872
5082
  "created_at": "2026-02-22T17:21:00Z",
4873
- "updated_at": "2026-02-22T17:21:00Z"
4874
- },
4875
- "agents": [
4876
- {
4877
- "id": 42,
4878
- "workspace_id": 42,
4879
- "host_id": 42,
4880
- "name": "Example Name",
4881
- "type": "example",
4882
- "status": "pending",
4883
- "tasks_count": 0,
4884
- "last_seen_at": "2026-02-22T17:21:00Z",
4885
- "created_at": "2026-02-22T17:21:00Z",
4886
- "updated_at": "2026-02-22T17:21:00Z"
4887
- }
4888
- ],
4889
- "agents_meta": {
4890
- "current_page": 1,
4891
- "last_page": 1,
4892
- "per_page": 25,
4893
- "total": 0
5083
+ "updated_at": "2026-02-22T17:21:00Z",
5084
+ "deleted_at": "2026-02-22T17:21:00Z"
4894
5085
  }
4895
5086
  }
4896
5087
  },
@@ -4954,13 +5145,13 @@ var operations = [
4954
5145
  ]
4955
5146
  },
4956
5147
  {
4957
- "operationId": "showTask",
5148
+ "operationId": "showHost",
4958
5149
  "method": "get",
4959
- "path": "/tasks/{task}",
4960
- "summary": "Show one task.",
4961
- "description": "",
5150
+ "path": "/hosts/{id}",
5151
+ "summary": "Show one host.",
5152
+ "description": "Returns one host record including id/team/name/fingerprint, status + last_seen_at, metadata snapshot, and assigned-agent totals.",
4962
5153
  "tags": [
4963
- "Tasks"
5154
+ "Hosts"
4964
5155
  ],
4965
5156
  "security": [
4966
5157
  [
@@ -4975,11 +5166,18 @@ var operations = [
4975
5166
  ],
4976
5167
  "parameters": [
4977
5168
  {
4978
- "name": "task",
5169
+ "name": "id",
4979
5170
  "in": "path",
4980
5171
  "required": true,
4981
- "description": "Task identifier.",
4982
- "example": 1
5172
+ "description": "Host identifier.",
5173
+ "example": 42
5174
+ },
5175
+ {
5176
+ "name": "agents_per_page",
5177
+ "in": "query",
5178
+ "required": false,
5179
+ "description": "Agents per page.",
5180
+ "example": 25
4983
5181
  }
4984
5182
  ],
4985
5183
  "requestBodyRequired": false,
@@ -4988,25 +5186,53 @@ var operations = [
4988
5186
  {
4989
5187
  "status": "200",
4990
5188
  "mediaType": "application/json",
4991
- "description": "Task returned.",
5189
+ "description": "Host returned.",
4992
5190
  "hasContent": true,
4993
5191
  "example": {
4994
5192
  "data": {
4995
5193
  "id": 42,
4996
5194
  "team_id": 42,
4997
- "board_id": 42,
4998
- "column_id": 42,
4999
- "title": "Example Title",
5000
- "description": "Example description text.",
5001
- "status": "backlog",
5002
- "position": 1,
5003
- "due_at": "2026-02-22T17:21:00Z",
5195
+ "name": "Example Name",
5196
+ "fingerprint": "a3f56f330f311a2159f8c101eaf1439a29f1d57f007375d56aa79f304bc4f112",
5197
+ "status": "online",
5198
+ "last_seen_at": "2026-02-22T17:21:00Z",
5199
+ "meta": {
5200
+ "hostname": "worker-01",
5201
+ "ip": "10.0.2.15",
5202
+ "os": "Ubuntu",
5203
+ "arch": "x86_64",
5204
+ "cpu": "Intel Xeon",
5205
+ "ram_gb": 32,
5206
+ "runtime": {
5207
+ "name": "openclaw",
5208
+ "version": "1.14.2"
5209
+ }
5210
+ },
5004
5211
  "created_by_user_id": 42,
5005
- "assigned_to_user_id": 42,
5006
- "assigned_to_agent_id": 42,
5007
- "assignee_type": "human",
5212
+ "agents_total": 1,
5213
+ "agents_online": 1,
5008
5214
  "created_at": "2026-02-22T17:21:00Z",
5009
5215
  "updated_at": "2026-02-22T17:21:00Z"
5216
+ },
5217
+ "agents": [
5218
+ {
5219
+ "id": 42,
5220
+ "workspace_id": 42,
5221
+ "host_id": 42,
5222
+ "name": "Example Name",
5223
+ "type": "example",
5224
+ "status": "pending",
5225
+ "tasks_count": 0,
5226
+ "last_seen_at": "2026-02-22T17:21:00Z",
5227
+ "created_at": "2026-02-22T17:21:00Z",
5228
+ "updated_at": "2026-02-22T17:21:00Z"
5229
+ }
5230
+ ],
5231
+ "agents_meta": {
5232
+ "current_page": 1,
5233
+ "last_page": 1,
5234
+ "per_page": 25,
5235
+ "total": 0
5010
5236
  }
5011
5237
  }
5012
5238
  },
@@ -5070,13 +5296,13 @@ var operations = [
5070
5296
  ]
5071
5297
  },
5072
5298
  {
5073
- "operationId": "showWorkspaceCalendarItem",
5299
+ "operationId": "showTask",
5074
5300
  "method": "get",
5075
- "path": "/calendar/items/{item}",
5076
- "summary": "Show one calendar item.",
5301
+ "path": "/tasks/{task}",
5302
+ "summary": "Show one task.",
5077
5303
  "description": "",
5078
5304
  "tags": [
5079
- "Calendar"
5305
+ "Tasks"
5080
5306
  ],
5081
5307
  "security": [
5082
5308
  [
@@ -5091,10 +5317,10 @@ var operations = [
5091
5317
  ],
5092
5318
  "parameters": [
5093
5319
  {
5094
- "name": "item",
5320
+ "name": "task",
5095
5321
  "in": "path",
5096
5322
  "required": true,
5097
- "description": "Calendar item identifier.",
5323
+ "description": "Task identifier.",
5098
5324
  "example": 1
5099
5325
  }
5100
5326
  ],
@@ -5104,50 +5330,25 @@ var operations = [
5104
5330
  {
5105
5331
  "status": "200",
5106
5332
  "mediaType": "application/json",
5107
- "description": "Calendar item returned.",
5333
+ "description": "Task returned.",
5108
5334
  "hasContent": true,
5109
5335
  "example": {
5110
5336
  "data": {
5111
5337
  "id": 42,
5112
- "workspace_id": 42,
5113
- "type": "event",
5338
+ "team_id": 42,
5339
+ "board_id": 42,
5340
+ "column_id": 42,
5114
5341
  "title": "Example Title",
5115
5342
  "description": "Example description text.",
5116
- "start_at": "2026-02-22T17:21:00Z",
5117
- "end_at": "2026-02-22T17:21:00Z",
5343
+ "status": "backlog",
5344
+ "position": 1,
5118
5345
  "due_at": "2026-02-22T17:21:00Z",
5119
- "all_day": false,
5120
- "location": "example",
5121
- "timezone": "America/Los_Angeles",
5122
- "status": "todo",
5123
- "priority": "low",
5124
- "visibility": "workspace",
5125
- "created_by": 1,
5126
- "updated_by": 1,
5127
- "assignees": [
5128
- {
5129
- "id": 42,
5130
- "assignee_type": "user",
5131
- "assignee_id": 42,
5132
- "role": "owner",
5133
- "name": "Example Name",
5134
- "created_at": "2026-02-22T17:21:00Z"
5135
- }
5136
- ],
5137
- "links": [
5138
- {
5139
- "id": 42,
5140
- "link_type": "example",
5141
- "link_id": 42,
5142
- "url": "https://agentmc.example.com/docs/incident-123",
5143
- "title": "Example Title",
5144
- "created_at": "2026-02-22T17:21:00Z"
5145
- }
5146
- ],
5147
- "comments_count": 1,
5346
+ "created_by_user_id": 42,
5347
+ "assigned_to_user_id": 42,
5348
+ "assigned_to_agent_id": 42,
5349
+ "assignee_type": "human",
5148
5350
  "created_at": "2026-02-22T17:21:00Z",
5149
- "updated_at": "2026-02-22T17:21:00Z",
5150
- "deleted_at": "2026-02-22T17:21:00Z"
5351
+ "updated_at": "2026-02-22T17:21:00Z"
5151
5352
  }
5152
5353
  }
5153
5354
  },
@@ -5691,13 +5892,13 @@ var operations = [
5691
5892
  ]
5692
5893
  },
5693
5894
  {
5694
- "operationId": "updateTask",
5695
- "method": "patch",
5696
- "path": "/tasks/{task}",
5697
- "summary": "Update a task.",
5895
+ "operationId": "updateCalendarItem",
5896
+ "method": "put",
5897
+ "path": "/calendar/items/{item}",
5898
+ "summary": "Update a calendar item.",
5698
5899
  "description": "",
5699
5900
  "tags": [
5700
- "Tasks"
5901
+ "Calendar"
5701
5902
  ],
5702
5903
  "security": [
5703
5904
  [
@@ -5712,10 +5913,10 @@ var operations = [
5712
5913
  ],
5713
5914
  "parameters": [
5714
5915
  {
5715
- "name": "task",
5916
+ "name": "item",
5716
5917
  "in": "path",
5717
5918
  "required": true,
5718
- "description": "Task identifier.",
5919
+ "description": "Calendar item identifier.",
5719
5920
  "example": 1
5720
5921
  }
5721
5922
  ],
@@ -5724,10 +5925,12 @@ var operations = [
5724
5925
  {
5725
5926
  "mediaType": "application/json",
5726
5927
  "example": {
5727
- "title": "Draft post-incident summary",
5728
- "status": "review",
5729
- "due_at": "2026-02-24T19:00:00Z",
5730
- "assigned_to_agent_id": 42
5928
+ "title": "Review outage timeline",
5929
+ "description": "Add links to root-cause analysis notes.",
5930
+ "due_at": "2026-02-24T11:00:00Z",
5931
+ "status": "in_progress",
5932
+ "priority": "urgent",
5933
+ "visibility": "workspace"
5731
5934
  }
5732
5935
  }
5733
5936
  ],
@@ -5735,29 +5938,44 @@ var operations = [
5735
5938
  {
5736
5939
  "status": "200",
5737
5940
  "mediaType": "application/json",
5738
- "description": "Task updated.",
5941
+ "description": "Calendar item updated.",
5739
5942
  "hasContent": true,
5740
5943
  "example": {
5741
5944
  "data": {
5742
5945
  "id": 42,
5743
- "team_id": 42,
5744
- "board_id": 42,
5745
- "column_id": 42,
5946
+ "workspace_id": 42,
5947
+ "type": "event",
5746
5948
  "title": "Example Title",
5747
5949
  "description": "Example description text.",
5748
- "status": "backlog",
5749
- "position": 1,
5950
+ "start_at": "2026-02-22T17:21:00Z",
5951
+ "end_at": "2026-02-22T17:21:00Z",
5750
5952
  "due_at": "2026-02-22T17:21:00Z",
5751
- "created_by_user_id": 42,
5752
- "assigned_to_user_id": 42,
5753
- "assigned_to_agent_id": 42,
5754
- "assignee_type": "human",
5755
- "created_at": "2026-02-22T17:21:00Z",
5756
- "updated_at": "2026-02-22T17:21:00Z"
5757
- }
5758
- }
5759
- },
5760
- {
5953
+ "all_day": false,
5954
+ "location": "example",
5955
+ "timezone": "America/Los_Angeles",
5956
+ "status": "todo",
5957
+ "priority": "low",
5958
+ "visibility": "workspace",
5959
+ "created_by": 1,
5960
+ "updated_by": 1,
5961
+ "assignees": [
5962
+ {
5963
+ "id": 42,
5964
+ "assignee_type": "user",
5965
+ "assignee_id": 42,
5966
+ "role": "owner",
5967
+ "name": "Example Name",
5968
+ "created_at": "2026-02-22T17:21:00Z"
5969
+ }
5970
+ ],
5971
+ "comments_count": 1,
5972
+ "created_at": "2026-02-22T17:21:00Z",
5973
+ "updated_at": "2026-02-22T17:21:00Z",
5974
+ "deleted_at": "2026-02-22T17:21:00Z"
5975
+ }
5976
+ }
5977
+ },
5978
+ {
5761
5979
  "status": "401",
5762
5980
  "mediaType": "application/json",
5763
5981
  "description": "Missing or invalid credentials.",
@@ -5836,10 +6054,10 @@ var operations = [
5836
6054
  ]
5837
6055
  },
5838
6056
  {
5839
- "operationId": "updateTaskComment",
6057
+ "operationId": "updateTask",
5840
6058
  "method": "patch",
5841
- "path": "/tasks/{task}/comments/{comment}",
5842
- "summary": "Update one existing task comment.",
6059
+ "path": "/tasks/{task}",
6060
+ "summary": "Update a task.",
5843
6061
  "description": "",
5844
6062
  "tags": [
5845
6063
  "Tasks"
@@ -5862,21 +6080,17 @@ var operations = [
5862
6080
  "required": true,
5863
6081
  "description": "Task identifier.",
5864
6082
  "example": 1
5865
- },
5866
- {
5867
- "name": "comment",
5868
- "in": "path",
5869
- "required": true,
5870
- "description": "Task comment identifier.",
5871
- "example": 1
5872
6083
  }
5873
6084
  ],
5874
- "requestBodyRequired": true,
6085
+ "requestBodyRequired": false,
5875
6086
  "requestExamples": [
5876
6087
  {
5877
6088
  "mediaType": "application/json",
5878
6089
  "example": {
5879
- "body": "Updated handoff note with the latest timeline and log links."
6090
+ "title": "Draft post-incident summary",
6091
+ "status": "review",
6092
+ "due_at": "2026-02-24T19:00:00Z",
6093
+ "assigned_to_agent_id": 42
5880
6094
  }
5881
6095
  }
5882
6096
  ],
@@ -5884,28 +6098,25 @@ var operations = [
5884
6098
  {
5885
6099
  "status": "200",
5886
6100
  "mediaType": "application/json",
5887
- "description": "Task comment updated.",
6101
+ "description": "Task updated.",
5888
6102
  "hasContent": true,
5889
6103
  "example": {
5890
6104
  "data": {
5891
6105
  "id": 42,
5892
- "task_id": 42,
5893
- "actor_type": "user",
5894
- "actor_id": 42,
5895
- "actor_name": "Example Name",
5896
- "body": "Example content.",
5897
- "mentions": [
5898
- {
5899
- "key": "example",
5900
- "type": "user",
5901
- "id": 42,
5902
- "label": "example",
5903
- "handle": "example",
5904
- "token": "example"
5905
- }
5906
- ],
5907
- "edited_at": "2026-02-22T17:21:00Z",
5908
- "created_at": "2026-02-22T17:21:00Z"
6106
+ "team_id": 42,
6107
+ "board_id": 42,
6108
+ "column_id": 42,
6109
+ "title": "Example Title",
6110
+ "description": "Example description text.",
6111
+ "status": "backlog",
6112
+ "position": 1,
6113
+ "due_at": "2026-02-22T17:21:00Z",
6114
+ "created_by_user_id": 42,
6115
+ "assigned_to_user_id": 42,
6116
+ "assigned_to_agent_id": 42,
6117
+ "assignee_type": "human",
6118
+ "created_at": "2026-02-22T17:21:00Z",
6119
+ "updated_at": "2026-02-22T17:21:00Z"
5909
6120
  }
5910
6121
  }
5911
6122
  },
@@ -5988,13 +6199,13 @@ var operations = [
5988
6199
  ]
5989
6200
  },
5990
6201
  {
5991
- "operationId": "updateWorkspaceCalendarItem",
5992
- "method": "put",
5993
- "path": "/calendar/items/{item}",
5994
- "summary": "Update a calendar item.",
6202
+ "operationId": "updateTaskComment",
6203
+ "method": "patch",
6204
+ "path": "/tasks/{task}/comments/{comment}",
6205
+ "summary": "Update one existing task comment.",
5995
6206
  "description": "",
5996
6207
  "tags": [
5997
- "Calendar"
6208
+ "Tasks"
5998
6209
  ],
5999
6210
  "security": [
6000
6211
  [
@@ -6009,24 +6220,26 @@ var operations = [
6009
6220
  ],
6010
6221
  "parameters": [
6011
6222
  {
6012
- "name": "item",
6223
+ "name": "task",
6013
6224
  "in": "path",
6014
6225
  "required": true,
6015
- "description": "Calendar item identifier.",
6226
+ "description": "Task identifier.",
6227
+ "example": 1
6228
+ },
6229
+ {
6230
+ "name": "comment",
6231
+ "in": "path",
6232
+ "required": true,
6233
+ "description": "Task comment identifier.",
6016
6234
  "example": 1
6017
6235
  }
6018
6236
  ],
6019
- "requestBodyRequired": false,
6237
+ "requestBodyRequired": true,
6020
6238
  "requestExamples": [
6021
6239
  {
6022
6240
  "mediaType": "application/json",
6023
6241
  "example": {
6024
- "title": "Review outage timeline",
6025
- "description": "Add links to root-cause analysis notes.",
6026
- "due_at": "2026-02-24T11:00:00Z",
6027
- "status": "in_progress",
6028
- "priority": "urgent",
6029
- "visibility": "workspace"
6242
+ "body": "Updated handoff note with the latest timeline and log links."
6030
6243
  }
6031
6244
  }
6032
6245
  ],
@@ -6034,50 +6247,28 @@ var operations = [
6034
6247
  {
6035
6248
  "status": "200",
6036
6249
  "mediaType": "application/json",
6037
- "description": "Calendar item updated.",
6250
+ "description": "Task comment updated.",
6038
6251
  "hasContent": true,
6039
6252
  "example": {
6040
6253
  "data": {
6041
6254
  "id": 42,
6042
- "workspace_id": 42,
6043
- "type": "event",
6044
- "title": "Example Title",
6045
- "description": "Example description text.",
6046
- "start_at": "2026-02-22T17:21:00Z",
6047
- "end_at": "2026-02-22T17:21:00Z",
6048
- "due_at": "2026-02-22T17:21:00Z",
6049
- "all_day": false,
6050
- "location": "example",
6051
- "timezone": "America/Los_Angeles",
6052
- "status": "todo",
6053
- "priority": "low",
6054
- "visibility": "workspace",
6055
- "created_by": 1,
6056
- "updated_by": 1,
6057
- "assignees": [
6058
- {
6059
- "id": 42,
6060
- "assignee_type": "user",
6061
- "assignee_id": 42,
6062
- "role": "owner",
6063
- "name": "Example Name",
6064
- "created_at": "2026-02-22T17:21:00Z"
6065
- }
6066
- ],
6067
- "links": [
6255
+ "task_id": 42,
6256
+ "actor_type": "user",
6257
+ "actor_id": 42,
6258
+ "actor_name": "Example Name",
6259
+ "body": "Example content.",
6260
+ "mentions": [
6068
6261
  {
6262
+ "key": "example",
6263
+ "type": "user",
6069
6264
  "id": 42,
6070
- "link_type": "example",
6071
- "link_id": 42,
6072
- "url": "https://agentmc.example.com/docs/incident-123",
6073
- "title": "Example Title",
6074
- "created_at": "2026-02-22T17:21:00Z"
6265
+ "label": "example",
6266
+ "handle": "example",
6267
+ "token": "example"
6075
6268
  }
6076
6269
  ],
6077
- "comments_count": 1,
6078
- "created_at": "2026-02-22T17:21:00Z",
6079
- "updated_at": "2026-02-22T17:21:00Z",
6080
- "deleted_at": "2026-02-22T17:21:00Z"
6270
+ "edited_at": "2026-02-22T17:21:00Z",
6271
+ "created_at": "2026-02-22T17:21:00Z"
6081
6272
  }
6082
6273
  }
6083
6274
  },
@@ -6158,207 +6349,6 @@ var operations = [
6158
6349
  }
6159
6350
  }
6160
6351
  ]
6161
- },
6162
- {
6163
- "operationId": "workspaceCalendar",
6164
- "method": "get",
6165
- "path": "/calendar",
6166
- "summary": "List calendar items.",
6167
- "description": "",
6168
- "tags": [
6169
- "Calendar"
6170
- ],
6171
- "security": [
6172
- [
6173
- "ApiKeyAuth"
6174
- ],
6175
- [
6176
- "AgentBearerAuth"
6177
- ],
6178
- [
6179
- "BearerAuth"
6180
- ]
6181
- ],
6182
- "parameters": [
6183
- {
6184
- "name": "view",
6185
- "in": "query",
6186
- "required": false,
6187
- "description": "Allowed values: month, week, list.",
6188
- "example": "month"
6189
- },
6190
- {
6191
- "name": "start",
6192
- "in": "query",
6193
- "required": false,
6194
- "description": "Start.",
6195
- "example": "2026-02-22T17:21:00Z"
6196
- },
6197
- {
6198
- "name": "end",
6199
- "in": "query",
6200
- "required": false,
6201
- "description": "End.",
6202
- "example": "2026-02-22T17:21:00Z"
6203
- },
6204
- {
6205
- "name": "type",
6206
- "in": "query",
6207
- "required": false,
6208
- "description": "Type discriminator for this record. Allowed values: event, task.",
6209
- "example": "event"
6210
- },
6211
- {
6212
- "name": "status",
6213
- "in": "query",
6214
- "required": false,
6215
- "description": "Current lifecycle status for this record. Allowed values: todo, in_progress, blocked, done, canceled.",
6216
- "example": "todo"
6217
- },
6218
- {
6219
- "name": "priority",
6220
- "in": "query",
6221
- "required": false,
6222
- "description": "Priority level for this record. Allowed values: low, medium, high, urgent.",
6223
- "example": "low"
6224
- },
6225
- {
6226
- "name": "assignee",
6227
- "in": "query",
6228
- "required": false,
6229
- "description": "Assignee.",
6230
- "example": "example"
6231
- },
6232
- {
6233
- "name": "q",
6234
- "in": "query",
6235
- "required": false,
6236
- "description": "Case-insensitive text search query.",
6237
- "example": "retro"
6238
- },
6239
- {
6240
- "name": "per_page",
6241
- "in": "query",
6242
- "required": false,
6243
- "description": "Page size for paginated responses.",
6244
- "example": 25
6245
- }
6246
- ],
6247
- "requestBodyRequired": false,
6248
- "requestExamples": [],
6249
- "responses": [
6250
- {
6251
- "status": "200",
6252
- "mediaType": "application/json",
6253
- "description": "Calendar items returned.",
6254
- "hasContent": true,
6255
- "example": {
6256
- "data": [
6257
- {
6258
- "id": 42,
6259
- "workspace_id": 42,
6260
- "type": "event",
6261
- "title": "Example Title",
6262
- "description": "Example description text.",
6263
- "start_at": "2026-02-22T17:21:00Z",
6264
- "end_at": "2026-02-22T17:21:00Z",
6265
- "due_at": "2026-02-22T17:21:00Z",
6266
- "all_day": false,
6267
- "location": "example",
6268
- "timezone": "America/Los_Angeles",
6269
- "status": "todo",
6270
- "priority": "low",
6271
- "visibility": "workspace",
6272
- "created_by": 1,
6273
- "updated_by": 1,
6274
- "assignees": [
6275
- {
6276
- "id": 42,
6277
- "assignee_type": "user",
6278
- "assignee_id": 42,
6279
- "role": "owner",
6280
- "name": "Example Name",
6281
- "created_at": "2026-02-22T17:21:00Z"
6282
- }
6283
- ],
6284
- "links": [
6285
- {
6286
- "id": 42,
6287
- "link_type": "example",
6288
- "link_id": 42,
6289
- "url": "https://agentmc.example.com/docs/incident-123",
6290
- "title": "Example Title",
6291
- "created_at": "2026-02-22T17:21:00Z"
6292
- }
6293
- ],
6294
- "comments_count": 1,
6295
- "created_at": "2026-02-22T17:21:00Z",
6296
- "updated_at": "2026-02-22T17:21:00Z",
6297
- "deleted_at": "2026-02-22T17:21:00Z"
6298
- }
6299
- ],
6300
- "links": {
6301
- "first": "example",
6302
- "last": "example",
6303
- "prev": "example",
6304
- "next": "example"
6305
- },
6306
- "meta": {
6307
- "current_page": 1,
6308
- "from": 1,
6309
- "last_page": 1,
6310
- "links": [
6311
- {
6312
- "url": "https://agentmc.example.com/docs/incident-123",
6313
- "label": "example",
6314
- "active": true
6315
- }
6316
- ],
6317
- "path": "example",
6318
- "per_page": 25,
6319
- "total": 0
6320
- }
6321
- }
6322
- },
6323
- {
6324
- "status": "401",
6325
- "mediaType": "application/json",
6326
- "description": "Missing or invalid credentials.",
6327
- "hasContent": true,
6328
- "example": {
6329
- "error": {
6330
- "code": "validation.failed",
6331
- "message": "Validation failed.",
6332
- "details": {
6333
- "fields": {
6334
- "title": [
6335
- "The title field is required."
6336
- ]
6337
- }
6338
- }
6339
- }
6340
- }
6341
- },
6342
- {
6343
- "status": "403",
6344
- "mediaType": "application/json",
6345
- "description": "Forbidden.",
6346
- "hasContent": true,
6347
- "example": {
6348
- "error": {
6349
- "code": "validation.failed",
6350
- "message": "Validation failed.",
6351
- "details": {
6352
- "fields": {
6353
- "title": [
6354
- "The title field is required."
6355
- ]
6356
- }
6357
- }
6358
- }
6359
- }
6360
- }
6361
- ]
6362
6352
  }
6363
6353
  ];
6364
6354
  var operationsById = Object.fromEntries(