@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
|
@@ -55,16 +55,28 @@ Accepts lightweight heartbeat pings plus optional host/runtime payloads.
|
|
|
55
55
|
"agent": {
|
|
56
56
|
"id": 42,
|
|
57
57
|
"name": "codex-runtime-prod",
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
58
|
+
"identity": {
|
|
59
|
+
"name": "Jarvis",
|
|
60
|
+
"creature": "robot",
|
|
61
|
+
"vibe": "calm"
|
|
62
|
+
},
|
|
63
|
+
"models": {
|
|
64
|
+
"resolved": {
|
|
65
|
+
"default": "openai/gpt-5-codex",
|
|
66
|
+
"fallbacks": [
|
|
67
|
+
"anthropic/claude-sonnet-4-20250514"
|
|
68
|
+
]
|
|
62
69
|
},
|
|
63
|
-
{
|
|
64
|
-
"
|
|
65
|
-
|
|
70
|
+
"providers": {
|
|
71
|
+
"openai": [
|
|
72
|
+
"gpt-5-codex",
|
|
73
|
+
"gpt-4.1"
|
|
74
|
+
],
|
|
75
|
+
"anthropic": [
|
|
76
|
+
"claude-sonnet-4-20250514"
|
|
77
|
+
]
|
|
66
78
|
}
|
|
67
|
-
|
|
79
|
+
}
|
|
68
80
|
}
|
|
69
81
|
}
|
|
70
82
|
```
|
|
@@ -234,16 +246,28 @@ const result = await client.operations.agentHeartbeat({
|
|
|
234
246
|
"agent": {
|
|
235
247
|
"id": 42,
|
|
236
248
|
"name": "codex-runtime-prod",
|
|
237
|
-
"
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
249
|
+
"identity": {
|
|
250
|
+
"name": "Jarvis",
|
|
251
|
+
"creature": "robot",
|
|
252
|
+
"vibe": "calm"
|
|
253
|
+
},
|
|
254
|
+
"models": {
|
|
255
|
+
"resolved": {
|
|
256
|
+
"default": "openai/gpt-5-codex",
|
|
257
|
+
"fallbacks": [
|
|
258
|
+
"anthropic/claude-sonnet-4-20250514"
|
|
259
|
+
]
|
|
241
260
|
},
|
|
242
|
-
{
|
|
243
|
-
"
|
|
244
|
-
|
|
261
|
+
"providers": {
|
|
262
|
+
"openai": [
|
|
263
|
+
"gpt-5-codex",
|
|
264
|
+
"gpt-4.1"
|
|
265
|
+
],
|
|
266
|
+
"anthropic": [
|
|
267
|
+
"claude-sonnet-4-20250514"
|
|
268
|
+
]
|
|
245
269
|
}
|
|
246
|
-
|
|
270
|
+
}
|
|
247
271
|
}
|
|
248
272
|
}
|
|
249
273
|
});
|
|
@@ -262,5 +286,5 @@ curl -X POST "https://agentmc.ai/api/v1/agents/1/heartbeat" \\
|
|
|
262
286
|
-H "Accept: application/json" \\
|
|
263
287
|
-H "X-Api-Key: $AGENTMC_API_KEY" \\
|
|
264
288
|
-H "Content-Type: application/json" \\
|
|
265
|
-
--data-raw "{\"status\":\"online\",\"meta\":{\"uptime_seconds\":43200,\"queue_depth\":2},\"host\":{\"fingerprint\":\"a3f56f330f311a2159f8c101eaf1439a29f1d57f007375d56aa79f304bc4f112\",\"name\":\"worker-01\",\"meta\":{\"hostname\":\"worker-01\",\"ip\":\"10.0.2.15\",\"network\":{\"private_ip\":\"10.0.2.15\",\"public_ip\":\"34.222.10.10\"},\"os\":\"Ubuntu\",\"os_version\":\"24.04\",\"arch\":\"x86_64\",\"cpu\":\"Intel Xeon\",\"cpu_cores\":8,\"ram_gb\":32,\"disk\":{\"total_bytes\":536870912000,\"free_bytes\":322122547200},\"uptime_seconds\":86400,\"runtime\":{\"name\":\"codex\",\"version\":\"2026.02.1\"}}},\"agent\":{\"id\":42,\"name\":\"codex-runtime-prod\",\"
|
|
289
|
+
--data-raw "{\"status\":\"online\",\"meta\":{\"uptime_seconds\":43200,\"queue_depth\":2},\"host\":{\"fingerprint\":\"a3f56f330f311a2159f8c101eaf1439a29f1d57f007375d56aa79f304bc4f112\",\"name\":\"worker-01\",\"meta\":{\"hostname\":\"worker-01\",\"ip\":\"10.0.2.15\",\"network\":{\"private_ip\":\"10.0.2.15\",\"public_ip\":\"34.222.10.10\"},\"os\":\"Ubuntu\",\"os_version\":\"24.04\",\"arch\":\"x86_64\",\"cpu\":\"Intel Xeon\",\"cpu_cores\":8,\"ram_gb\":32,\"disk\":{\"total_bytes\":536870912000,\"free_bytes\":322122547200},\"uptime_seconds\":86400,\"runtime\":{\"name\":\"codex\",\"version\":\"2026.02.1\"}}},\"agent\":{\"id\":42,\"name\":\"codex-runtime-prod\",\"identity\":{\"name\":\"Jarvis\",\"creature\":\"robot\",\"vibe\":\"calm\"},\"models\":{\"resolved\":{\"default\":\"openai/gpt-5-codex\",\"fallbacks\":[\"anthropic/claude-sonnet-4-20250514\"]},\"providers\":{\"openai\":[\"gpt-5-codex\",\"gpt-4.1\"],\"anthropic\":[\"claude-sonnet-4-20250514\"]}}}}"
|
|
266
290
|
```
|
|
@@ -18,7 +18,7 @@ None.
|
|
|
18
18
|
### application/json
|
|
19
19
|
```json
|
|
20
20
|
{
|
|
21
|
-
"name": "
|
|
21
|
+
"name": "openclaw-main",
|
|
22
22
|
"host": "ip-10-0-3-42",
|
|
23
23
|
"runtime_version": "2026.02.1",
|
|
24
24
|
"capabilities": [
|
|
@@ -26,6 +26,21 @@ None.
|
|
|
26
26
|
"calendar",
|
|
27
27
|
"realtime"
|
|
28
28
|
],
|
|
29
|
+
"models": [
|
|
30
|
+
{
|
|
31
|
+
"model_id": "openai/gpt-5-codex",
|
|
32
|
+
"provider": "openai"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"model_id": "anthropic/claude-sonnet-4-20250514",
|
|
36
|
+
"provider": "anthropic"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"identity": {
|
|
40
|
+
"name": "Jarvis",
|
|
41
|
+
"creature": "robot",
|
|
42
|
+
"vibe": "calm"
|
|
43
|
+
},
|
|
29
44
|
"metadata": {
|
|
30
45
|
"hostname": "worker-01",
|
|
31
46
|
"ip": "10.0.2.15",
|
|
@@ -47,6 +62,9 @@ None.
|
|
|
47
62
|
"runtime": {
|
|
48
63
|
"name": "codex",
|
|
49
64
|
"version": "2026.02.1"
|
|
65
|
+
},
|
|
66
|
+
"identity": {
|
|
67
|
+
"name": "Jarvis"
|
|
50
68
|
}
|
|
51
69
|
}
|
|
52
70
|
}
|
|
@@ -147,7 +165,7 @@ const client = new AgentMCApi({
|
|
|
147
165
|
|
|
148
166
|
const result = await client.operations.connectAgent({
|
|
149
167
|
"body": {
|
|
150
|
-
"name": "
|
|
168
|
+
"name": "openclaw-main",
|
|
151
169
|
"host": "ip-10-0-3-42",
|
|
152
170
|
"runtime_version": "2026.02.1",
|
|
153
171
|
"capabilities": [
|
|
@@ -155,6 +173,21 @@ const result = await client.operations.connectAgent({
|
|
|
155
173
|
"calendar",
|
|
156
174
|
"realtime"
|
|
157
175
|
],
|
|
176
|
+
"models": [
|
|
177
|
+
{
|
|
178
|
+
"model_id": "openai/gpt-5-codex",
|
|
179
|
+
"provider": "openai"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"model_id": "anthropic/claude-sonnet-4-20250514",
|
|
183
|
+
"provider": "anthropic"
|
|
184
|
+
}
|
|
185
|
+
],
|
|
186
|
+
"identity": {
|
|
187
|
+
"name": "Jarvis",
|
|
188
|
+
"creature": "robot",
|
|
189
|
+
"vibe": "calm"
|
|
190
|
+
},
|
|
158
191
|
"metadata": {
|
|
159
192
|
"hostname": "worker-01",
|
|
160
193
|
"ip": "10.0.2.15",
|
|
@@ -176,6 +209,9 @@ const result = await client.operations.connectAgent({
|
|
|
176
209
|
"runtime": {
|
|
177
210
|
"name": "codex",
|
|
178
211
|
"version": "2026.02.1"
|
|
212
|
+
},
|
|
213
|
+
"identity": {
|
|
214
|
+
"name": "Jarvis"
|
|
179
215
|
}
|
|
180
216
|
}
|
|
181
217
|
}
|
|
@@ -195,5 +231,5 @@ curl -X POST "https://agentmc.ai/api/v1/agents/connect" \\
|
|
|
195
231
|
-H "Accept: application/json" \\
|
|
196
232
|
-H "X-Connect-Token: $AGENTMC_CONNECT_TOKEN" \\
|
|
197
233
|
-H "Content-Type: application/json" \\
|
|
198
|
-
--data-raw "{\"name\":\"
|
|
234
|
+
--data-raw "{\"name\":\"openclaw-main\",\"host\":\"ip-10-0-3-42\",\"runtime_version\":\"2026.02.1\",\"capabilities\":[\"tasks\",\"calendar\",\"realtime\"],\"models\":[{\"model_id\":\"openai/gpt-5-codex\",\"provider\":\"openai\"},{\"model_id\":\"anthropic/claude-sonnet-4-20250514\",\"provider\":\"anthropic\"}],\"identity\":{\"name\":\"Jarvis\",\"creature\":\"robot\",\"vibe\":\"calm\"},\"metadata\":{\"hostname\":\"worker-01\",\"ip\":\"10.0.2.15\",\"network\":{\"private_ip\":\"10.0.2.15\",\"public_ip\":\"34.201.22.9\"},\"os\":\"Ubuntu\",\"os_version\":\"22.04\",\"arch\":\"x86_64\",\"cpu\":\"Intel Xeon\",\"cpu_cores\":8,\"ram_gb\":32,\"disk\":{\"total_bytes\":512110190592,\"free_bytes\":321102110720},\"uptime_seconds\":86400,\"runtime\":{\"name\":\"codex\",\"version\":\"2026.02.1\"},\"identity\":{\"name\":\"Jarvis\"}}}"
|
|
199
235
|
```
|
|
@@ -70,16 +70,6 @@ Calendar item created.
|
|
|
70
70
|
"created_at": "2026-02-22T17:21:00Z"
|
|
71
71
|
}
|
|
72
72
|
],
|
|
73
|
-
"links": [
|
|
74
|
-
{
|
|
75
|
-
"id": 42,
|
|
76
|
-
"link_type": "example",
|
|
77
|
-
"link_id": 42,
|
|
78
|
-
"url": "https://agentmc.example.com/docs/incident-123",
|
|
79
|
-
"title": "Example Title",
|
|
80
|
-
"created_at": "2026-02-22T17:21:00Z"
|
|
81
|
-
}
|
|
82
|
-
],
|
|
83
73
|
"comments_count": 1,
|
|
84
74
|
"created_at": "2026-02-22T17:21:00Z",
|
|
85
75
|
"updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -165,16 +165,28 @@
|
|
|
165
165
|
"agent": {
|
|
166
166
|
"id": 42,
|
|
167
167
|
"name": "codex-runtime-prod",
|
|
168
|
-
"
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
168
|
+
"identity": {
|
|
169
|
+
"name": "Jarvis",
|
|
170
|
+
"creature": "robot",
|
|
171
|
+
"vibe": "calm"
|
|
172
|
+
},
|
|
173
|
+
"models": {
|
|
174
|
+
"resolved": {
|
|
175
|
+
"default": "openai/gpt-5-codex",
|
|
176
|
+
"fallbacks": [
|
|
177
|
+
"anthropic/claude-sonnet-4-20250514"
|
|
178
|
+
]
|
|
172
179
|
},
|
|
173
|
-
{
|
|
174
|
-
"
|
|
175
|
-
|
|
180
|
+
"providers": {
|
|
181
|
+
"openai": [
|
|
182
|
+
"gpt-5-codex",
|
|
183
|
+
"gpt-4.1"
|
|
184
|
+
],
|
|
185
|
+
"anthropic": [
|
|
186
|
+
"claude-sonnet-4-20250514"
|
|
187
|
+
]
|
|
176
188
|
}
|
|
177
|
-
|
|
189
|
+
}
|
|
178
190
|
}
|
|
179
191
|
}
|
|
180
192
|
}
|
|
@@ -919,7 +931,7 @@
|
|
|
919
931
|
{
|
|
920
932
|
"mediaType": "application/json",
|
|
921
933
|
"example": {
|
|
922
|
-
"name": "
|
|
934
|
+
"name": "openclaw-main",
|
|
923
935
|
"host": "ip-10-0-3-42",
|
|
924
936
|
"runtime_version": "2026.02.1",
|
|
925
937
|
"capabilities": [
|
|
@@ -927,6 +939,21 @@
|
|
|
927
939
|
"calendar",
|
|
928
940
|
"realtime"
|
|
929
941
|
],
|
|
942
|
+
"models": [
|
|
943
|
+
{
|
|
944
|
+
"model_id": "openai/gpt-5-codex",
|
|
945
|
+
"provider": "openai"
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"model_id": "anthropic/claude-sonnet-4-20250514",
|
|
949
|
+
"provider": "anthropic"
|
|
950
|
+
}
|
|
951
|
+
],
|
|
952
|
+
"identity": {
|
|
953
|
+
"name": "Jarvis",
|
|
954
|
+
"creature": "robot",
|
|
955
|
+
"vibe": "calm"
|
|
956
|
+
},
|
|
930
957
|
"metadata": {
|
|
931
958
|
"hostname": "worker-01",
|
|
932
959
|
"ip": "10.0.2.15",
|
|
@@ -948,6 +975,9 @@
|
|
|
948
975
|
"runtime": {
|
|
949
976
|
"name": "codex",
|
|
950
977
|
"version": "2026.02.1"
|
|
978
|
+
},
|
|
979
|
+
"identity": {
|
|
980
|
+
"name": "Jarvis"
|
|
951
981
|
}
|
|
952
982
|
}
|
|
953
983
|
}
|
|
@@ -1739,16 +1769,6 @@
|
|
|
1739
1769
|
"created_at": "2026-02-22T17:21:00Z"
|
|
1740
1770
|
}
|
|
1741
1771
|
],
|
|
1742
|
-
"links": [
|
|
1743
|
-
{
|
|
1744
|
-
"id": 42,
|
|
1745
|
-
"link_type": "example",
|
|
1746
|
-
"link_id": 42,
|
|
1747
|
-
"url": "https://agentmc.example.com/docs/incident-123",
|
|
1748
|
-
"title": "Example Title",
|
|
1749
|
-
"created_at": "2026-02-22T17:21:00Z"
|
|
1750
|
-
}
|
|
1751
|
-
],
|
|
1752
1772
|
"comments_count": 1,
|
|
1753
1773
|
"created_at": "2026-02-22T17:21:00Z",
|
|
1754
1774
|
"updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -3739,16 +3759,6 @@
|
|
|
3739
3759
|
"created_at": "2026-02-22T17:21:00Z"
|
|
3740
3760
|
}
|
|
3741
3761
|
],
|
|
3742
|
-
"links": [
|
|
3743
|
-
{
|
|
3744
|
-
"id": 42,
|
|
3745
|
-
"link_type": "example",
|
|
3746
|
-
"link_id": 42,
|
|
3747
|
-
"url": "https://agentmc.example.com/docs/incident-123",
|
|
3748
|
-
"title": "Example Title",
|
|
3749
|
-
"created_at": "2026-02-22T17:21:00Z"
|
|
3750
|
-
}
|
|
3751
|
-
],
|
|
3752
3762
|
"comments_count": 1,
|
|
3753
3763
|
"created_at": "2026-02-22T17:21:00Z",
|
|
3754
3764
|
"updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -4080,7 +4090,7 @@
|
|
|
4080
4090
|
"operationId": "listNotifications",
|
|
4081
4091
|
"method": "get",
|
|
4082
4092
|
"path": "/notifications",
|
|
4083
|
-
"summary": "List workspace notifications (mentions and
|
|
4093
|
+
"summary": "List workspace notifications (mentions, assignments, and comment activity) for the authenticated principal.",
|
|
4084
4094
|
"description": "",
|
|
4085
4095
|
"tags": [
|
|
4086
4096
|
"Notifications"
|
|
@@ -5063,16 +5073,6 @@
|
|
|
5063
5073
|
"created_at": "2026-02-22T17:21:00Z"
|
|
5064
5074
|
}
|
|
5065
5075
|
],
|
|
5066
|
-
"links": [
|
|
5067
|
-
{
|
|
5068
|
-
"id": 42,
|
|
5069
|
-
"link_type": "example",
|
|
5070
|
-
"link_id": 42,
|
|
5071
|
-
"url": "https://agentmc.example.com/docs/incident-123",
|
|
5072
|
-
"title": "Example Title",
|
|
5073
|
-
"created_at": "2026-02-22T17:21:00Z"
|
|
5074
|
-
}
|
|
5075
|
-
],
|
|
5076
5076
|
"comments_count": 1,
|
|
5077
5077
|
"created_at": "2026-02-22T17:21:00Z",
|
|
5078
5078
|
"updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -5963,16 +5963,6 @@
|
|
|
5963
5963
|
"created_at": "2026-02-22T17:21:00Z"
|
|
5964
5964
|
}
|
|
5965
5965
|
],
|
|
5966
|
-
"links": [
|
|
5967
|
-
{
|
|
5968
|
-
"id": 42,
|
|
5969
|
-
"link_type": "example",
|
|
5970
|
-
"link_id": 42,
|
|
5971
|
-
"url": "https://agentmc.example.com/docs/incident-123",
|
|
5972
|
-
"title": "Example Title",
|
|
5973
|
-
"created_at": "2026-02-22T17:21:00Z"
|
|
5974
|
-
}
|
|
5975
|
-
],
|
|
5976
5966
|
"comments_count": 1,
|
|
5977
5967
|
"created_at": "2026-02-22T17:21:00Z",
|
|
5978
5968
|
"updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -62,16 +62,6 @@ Calendar items returned.
|
|
|
62
62
|
"created_at": "2026-02-22T17:21:00Z"
|
|
63
63
|
}
|
|
64
64
|
],
|
|
65
|
-
"links": [
|
|
66
|
-
{
|
|
67
|
-
"id": 42,
|
|
68
|
-
"link_type": "example",
|
|
69
|
-
"link_id": 42,
|
|
70
|
-
"url": "https://agentmc.example.com/docs/incident-123",
|
|
71
|
-
"title": "Example Title",
|
|
72
|
-
"created_at": "2026-02-22T17:21:00Z"
|
|
73
|
-
}
|
|
74
|
-
],
|
|
75
65
|
"comments_count": 1,
|
|
76
66
|
"created_at": "2026-02-22T17:21:00Z",
|
|
77
67
|
"updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
- Method: `GET`
|
|
4
4
|
- Path: `/notifications`
|
|
5
|
-
- Summary: List workspace notifications (mentions and
|
|
5
|
+
- Summary: List workspace notifications (mentions, assignments, and comment activity) for the authenticated principal.
|
|
6
6
|
- Auth: ApiKeyAuth OR AgentBearerAuth OR BearerAuth
|
|
7
7
|
|
|
8
8
|
## Description
|
|
@@ -53,16 +53,6 @@ Calendar item returned.
|
|
|
53
53
|
"created_at": "2026-02-22T17:21:00Z"
|
|
54
54
|
}
|
|
55
55
|
],
|
|
56
|
-
"links": [
|
|
57
|
-
{
|
|
58
|
-
"id": 42,
|
|
59
|
-
"link_type": "example",
|
|
60
|
-
"link_id": 42,
|
|
61
|
-
"url": "https://agentmc.example.com/docs/incident-123",
|
|
62
|
-
"title": "Example Title",
|
|
63
|
-
"created_at": "2026-02-22T17:21:00Z"
|
|
64
|
-
}
|
|
65
|
-
],
|
|
66
56
|
"comments_count": 1,
|
|
67
57
|
"created_at": "2026-02-22T17:21:00Z",
|
|
68
58
|
"updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -63,16 +63,6 @@ Calendar item updated.
|
|
|
63
63
|
"created_at": "2026-02-22T17:21:00Z"
|
|
64
64
|
}
|
|
65
65
|
],
|
|
66
|
-
"links": [
|
|
67
|
-
{
|
|
68
|
-
"id": 42,
|
|
69
|
-
"link_type": "example",
|
|
70
|
-
"link_id": 42,
|
|
71
|
-
"url": "https://agentmc.example.com/docs/incident-123",
|
|
72
|
-
"title": "Example Title",
|
|
73
|
-
"created_at": "2026-02-22T17:21:00Z"
|
|
74
|
-
}
|
|
75
|
-
],
|
|
76
66
|
"comments_count": 1,
|
|
77
67
|
"created_at": "2026-02-22T17:21:00Z",
|
|
78
68
|
"updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -46,16 +46,28 @@ const result = await client.operations.agentHeartbeat({
|
|
|
46
46
|
"agent": {
|
|
47
47
|
"id": 42,
|
|
48
48
|
"name": "codex-runtime-prod",
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
"identity": {
|
|
50
|
+
"name": "Jarvis",
|
|
51
|
+
"creature": "robot",
|
|
52
|
+
"vibe": "calm"
|
|
53
|
+
},
|
|
54
|
+
"models": {
|
|
55
|
+
"resolved": {
|
|
56
|
+
"default": "openai/gpt-5-codex",
|
|
57
|
+
"fallbacks": [
|
|
58
|
+
"anthropic/claude-sonnet-4-20250514"
|
|
59
|
+
]
|
|
53
60
|
},
|
|
54
|
-
{
|
|
55
|
-
"
|
|
56
|
-
|
|
61
|
+
"providers": {
|
|
62
|
+
"openai": [
|
|
63
|
+
"gpt-5-codex",
|
|
64
|
+
"gpt-4.1"
|
|
65
|
+
],
|
|
66
|
+
"anthropic": [
|
|
67
|
+
"claude-sonnet-4-20250514"
|
|
68
|
+
]
|
|
57
69
|
}
|
|
58
|
-
|
|
70
|
+
}
|
|
59
71
|
}
|
|
60
72
|
}
|
|
61
73
|
});
|
|
@@ -6,7 +6,7 @@ const client = new AgentMCApi({
|
|
|
6
6
|
|
|
7
7
|
const result = await client.operations.connectAgent({
|
|
8
8
|
"body": {
|
|
9
|
-
"name": "
|
|
9
|
+
"name": "openclaw-main",
|
|
10
10
|
"host": "ip-10-0-3-42",
|
|
11
11
|
"runtime_version": "2026.02.1",
|
|
12
12
|
"capabilities": [
|
|
@@ -14,6 +14,21 @@ const result = await client.operations.connectAgent({
|
|
|
14
14
|
"calendar",
|
|
15
15
|
"realtime"
|
|
16
16
|
],
|
|
17
|
+
"models": [
|
|
18
|
+
{
|
|
19
|
+
"model_id": "openai/gpt-5-codex",
|
|
20
|
+
"provider": "openai"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"model_id": "anthropic/claude-sonnet-4-20250514",
|
|
24
|
+
"provider": "anthropic"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"identity": {
|
|
28
|
+
"name": "Jarvis",
|
|
29
|
+
"creature": "robot",
|
|
30
|
+
"vibe": "calm"
|
|
31
|
+
},
|
|
17
32
|
"metadata": {
|
|
18
33
|
"hostname": "worker-01",
|
|
19
34
|
"ip": "10.0.2.15",
|
|
@@ -35,6 +50,9 @@ const result = await client.operations.connectAgent({
|
|
|
35
50
|
"runtime": {
|
|
36
51
|
"name": "codex",
|
|
37
52
|
"version": "2026.02.1"
|
|
53
|
+
},
|
|
54
|
+
"identity": {
|
|
55
|
+
"name": "Jarvis"
|
|
38
56
|
}
|
|
39
57
|
}
|
|
40
58
|
}
|