@agentmc/api 0.2.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.
- package/dist/cli.js +40 -50
- package/dist/cli.js.map +1 -1
- package/dist/generated/operations.d.ts +32 -41
- package/dist/generated/operations.js +40 -50
- package/dist/generated/operations.js.map +1 -1
- package/dist/index.d.ts +214 -190
- package/dist/index.js +40 -50
- package/dist/index.js.map +1 -1
- package/docs/operations/agentHeartbeat.md +41 -17
- package/docs/operations/connectAgent.md +39 -3
- package/docs/operations/createCalendarItem.md +0 -10
- package/docs/operations/index.json +40 -50
- package/docs/operations/listCalendar.md +0 -10
- package/docs/operations/listNotifications.md +1 -1
- package/docs/operations/showCalendarItem.md +0 -10
- package/docs/operations/updateCalendarItem.md +0 -10
- package/examples/http/agentHeartbeat.ts +20 -8
- package/examples/http/connectAgent.ts +19 -1
- package/package.json +1 -1
- package/spec/openapi.filtered.json +262 -236
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
|
-
"
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
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
|
-
"
|
|
180
|
-
|
|
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
|
}
|
|
@@ -924,7 +936,7 @@ var operations = [
|
|
|
924
936
|
{
|
|
925
937
|
"mediaType": "application/json",
|
|
926
938
|
"example": {
|
|
927
|
-
"name": "
|
|
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
|
}
|
|
@@ -1744,16 +1774,6 @@ var operations = [
|
|
|
1744
1774
|
"created_at": "2026-02-22T17:21:00Z"
|
|
1745
1775
|
}
|
|
1746
1776
|
],
|
|
1747
|
-
"links": [
|
|
1748
|
-
{
|
|
1749
|
-
"id": 42,
|
|
1750
|
-
"link_type": "example",
|
|
1751
|
-
"link_id": 42,
|
|
1752
|
-
"url": "https://agentmc.example.com/docs/incident-123",
|
|
1753
|
-
"title": "Example Title",
|
|
1754
|
-
"created_at": "2026-02-22T17:21:00Z"
|
|
1755
|
-
}
|
|
1756
|
-
],
|
|
1757
1777
|
"comments_count": 1,
|
|
1758
1778
|
"created_at": "2026-02-22T17:21:00Z",
|
|
1759
1779
|
"updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -3744,16 +3764,6 @@ var operations = [
|
|
|
3744
3764
|
"created_at": "2026-02-22T17:21:00Z"
|
|
3745
3765
|
}
|
|
3746
3766
|
],
|
|
3747
|
-
"links": [
|
|
3748
|
-
{
|
|
3749
|
-
"id": 42,
|
|
3750
|
-
"link_type": "example",
|
|
3751
|
-
"link_id": 42,
|
|
3752
|
-
"url": "https://agentmc.example.com/docs/incident-123",
|
|
3753
|
-
"title": "Example Title",
|
|
3754
|
-
"created_at": "2026-02-22T17:21:00Z"
|
|
3755
|
-
}
|
|
3756
|
-
],
|
|
3757
3767
|
"comments_count": 1,
|
|
3758
3768
|
"created_at": "2026-02-22T17:21:00Z",
|
|
3759
3769
|
"updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -4085,7 +4095,7 @@ var operations = [
|
|
|
4085
4095
|
"operationId": "listNotifications",
|
|
4086
4096
|
"method": "get",
|
|
4087
4097
|
"path": "/notifications",
|
|
4088
|
-
"summary": "List workspace notifications (mentions and
|
|
4098
|
+
"summary": "List workspace notifications (mentions, assignments, and comment activity) for the authenticated principal.",
|
|
4089
4099
|
"description": "",
|
|
4090
4100
|
"tags": [
|
|
4091
4101
|
"Notifications"
|
|
@@ -5068,16 +5078,6 @@ var operations = [
|
|
|
5068
5078
|
"created_at": "2026-02-22T17:21:00Z"
|
|
5069
5079
|
}
|
|
5070
5080
|
],
|
|
5071
|
-
"links": [
|
|
5072
|
-
{
|
|
5073
|
-
"id": 42,
|
|
5074
|
-
"link_type": "example",
|
|
5075
|
-
"link_id": 42,
|
|
5076
|
-
"url": "https://agentmc.example.com/docs/incident-123",
|
|
5077
|
-
"title": "Example Title",
|
|
5078
|
-
"created_at": "2026-02-22T17:21:00Z"
|
|
5079
|
-
}
|
|
5080
|
-
],
|
|
5081
5081
|
"comments_count": 1,
|
|
5082
5082
|
"created_at": "2026-02-22T17:21:00Z",
|
|
5083
5083
|
"updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -5968,16 +5968,6 @@ var operations = [
|
|
|
5968
5968
|
"created_at": "2026-02-22T17:21:00Z"
|
|
5969
5969
|
}
|
|
5970
5970
|
],
|
|
5971
|
-
"links": [
|
|
5972
|
-
{
|
|
5973
|
-
"id": 42,
|
|
5974
|
-
"link_type": "example",
|
|
5975
|
-
"link_id": 42,
|
|
5976
|
-
"url": "https://agentmc.example.com/docs/incident-123",
|
|
5977
|
-
"title": "Example Title",
|
|
5978
|
-
"created_at": "2026-02-22T17:21:00Z"
|
|
5979
|
-
}
|
|
5980
|
-
],
|
|
5981
5971
|
"comments_count": 1,
|
|
5982
5972
|
"created_at": "2026-02-22T17:21:00Z",
|
|
5983
5973
|
"updated_at": "2026-02-22T17:21:00Z",
|