@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
|
@@ -161,13 +161,21 @@ declare const operations: readonly [{
|
|
|
161
161
|
readonly agent: {
|
|
162
162
|
readonly id: 42;
|
|
163
163
|
readonly name: "codex-runtime-prod";
|
|
164
|
-
readonly
|
|
165
|
-
readonly
|
|
166
|
-
readonly
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
164
|
+
readonly identity: {
|
|
165
|
+
readonly name: "Jarvis";
|
|
166
|
+
readonly creature: "robot";
|
|
167
|
+
readonly vibe: "calm";
|
|
168
|
+
};
|
|
169
|
+
readonly models: {
|
|
170
|
+
readonly resolved: {
|
|
171
|
+
readonly default: "openai/gpt-5-codex";
|
|
172
|
+
readonly fallbacks: readonly ["anthropic/claude-sonnet-4-20250514"];
|
|
173
|
+
};
|
|
174
|
+
readonly providers: {
|
|
175
|
+
readonly openai: readonly ["gpt-5-codex", "gpt-4.1"];
|
|
176
|
+
readonly anthropic: readonly ["claude-sonnet-4-20250514"];
|
|
177
|
+
};
|
|
178
|
+
};
|
|
171
179
|
};
|
|
172
180
|
};
|
|
173
181
|
}];
|
|
@@ -756,10 +764,22 @@ declare const operations: readonly [{
|
|
|
756
764
|
readonly requestExamples: [{
|
|
757
765
|
readonly mediaType: "application/json";
|
|
758
766
|
readonly example: {
|
|
759
|
-
readonly name: "
|
|
767
|
+
readonly name: "openclaw-main";
|
|
760
768
|
readonly host: "ip-10-0-3-42";
|
|
761
769
|
readonly runtime_version: "2026.02.1";
|
|
762
770
|
readonly capabilities: readonly ["tasks", "calendar", "realtime"];
|
|
771
|
+
readonly models: readonly [{
|
|
772
|
+
readonly model_id: "openai/gpt-5-codex";
|
|
773
|
+
readonly provider: "openai";
|
|
774
|
+
}, {
|
|
775
|
+
readonly model_id: "anthropic/claude-sonnet-4-20250514";
|
|
776
|
+
readonly provider: "anthropic";
|
|
777
|
+
}];
|
|
778
|
+
readonly identity: {
|
|
779
|
+
readonly name: "Jarvis";
|
|
780
|
+
readonly creature: "robot";
|
|
781
|
+
readonly vibe: "calm";
|
|
782
|
+
};
|
|
763
783
|
readonly metadata: {
|
|
764
784
|
readonly hostname: "worker-01";
|
|
765
785
|
readonly ip: "10.0.2.15";
|
|
@@ -782,6 +802,9 @@ declare const operations: readonly [{
|
|
|
782
802
|
readonly name: "codex";
|
|
783
803
|
readonly version: "2026.02.1";
|
|
784
804
|
};
|
|
805
|
+
readonly identity: {
|
|
806
|
+
readonly name: "Jarvis";
|
|
807
|
+
};
|
|
785
808
|
};
|
|
786
809
|
};
|
|
787
810
|
}];
|
|
@@ -1415,14 +1438,6 @@ declare const operations: readonly [{
|
|
|
1415
1438
|
readonly name: "Example Name";
|
|
1416
1439
|
readonly created_at: "2026-02-22T17:21:00Z";
|
|
1417
1440
|
}];
|
|
1418
|
-
readonly links: readonly [{
|
|
1419
|
-
readonly id: 42;
|
|
1420
|
-
readonly link_type: "example";
|
|
1421
|
-
readonly link_id: 42;
|
|
1422
|
-
readonly url: "https://agentmc.example.com/docs/incident-123";
|
|
1423
|
-
readonly title: "Example Title";
|
|
1424
|
-
readonly created_at: "2026-02-22T17:21:00Z";
|
|
1425
|
-
}];
|
|
1426
1441
|
readonly comments_count: 1;
|
|
1427
1442
|
readonly created_at: "2026-02-22T17:21:00Z";
|
|
1428
1443
|
readonly updated_at: "2026-02-22T17:21:00Z";
|
|
@@ -2973,14 +2988,6 @@ declare const operations: readonly [{
|
|
|
2973
2988
|
readonly name: "Example Name";
|
|
2974
2989
|
readonly created_at: "2026-02-22T17:21:00Z";
|
|
2975
2990
|
}];
|
|
2976
|
-
readonly links: readonly [{
|
|
2977
|
-
readonly id: 42;
|
|
2978
|
-
readonly link_type: "example";
|
|
2979
|
-
readonly link_id: 42;
|
|
2980
|
-
readonly url: "https://agentmc.example.com/docs/incident-123";
|
|
2981
|
-
readonly title: "Example Title";
|
|
2982
|
-
readonly created_at: "2026-02-22T17:21:00Z";
|
|
2983
|
-
}];
|
|
2984
2991
|
readonly comments_count: 1;
|
|
2985
2992
|
readonly created_at: "2026-02-22T17:21:00Z";
|
|
2986
2993
|
readonly updated_at: "2026-02-22T17:21:00Z";
|
|
@@ -3245,7 +3252,7 @@ declare const operations: readonly [{
|
|
|
3245
3252
|
readonly operationId: "listNotifications";
|
|
3246
3253
|
readonly method: "get";
|
|
3247
3254
|
readonly path: "/notifications";
|
|
3248
|
-
readonly summary: "List workspace notifications (mentions and
|
|
3255
|
+
readonly summary: "List workspace notifications (mentions, assignments, and comment activity) for the authenticated principal.";
|
|
3249
3256
|
readonly description: "";
|
|
3250
3257
|
readonly tags: ["Notifications"];
|
|
3251
3258
|
readonly security: [["ApiKeyAuth"], ["AgentBearerAuth"], ["BearerAuth"]];
|
|
@@ -4008,14 +4015,6 @@ declare const operations: readonly [{
|
|
|
4008
4015
|
readonly name: "Example Name";
|
|
4009
4016
|
readonly created_at: "2026-02-22T17:21:00Z";
|
|
4010
4017
|
}];
|
|
4011
|
-
readonly links: readonly [{
|
|
4012
|
-
readonly id: 42;
|
|
4013
|
-
readonly link_type: "example";
|
|
4014
|
-
readonly link_id: 42;
|
|
4015
|
-
readonly url: "https://agentmc.example.com/docs/incident-123";
|
|
4016
|
-
readonly title: "Example Title";
|
|
4017
|
-
readonly created_at: "2026-02-22T17:21:00Z";
|
|
4018
|
-
}];
|
|
4019
4018
|
readonly comments_count: 1;
|
|
4020
4019
|
readonly created_at: "2026-02-22T17:21:00Z";
|
|
4021
4020
|
readonly updated_at: "2026-02-22T17:21:00Z";
|
|
@@ -4721,14 +4720,6 @@ declare const operations: readonly [{
|
|
|
4721
4720
|
readonly name: "Example Name";
|
|
4722
4721
|
readonly created_at: "2026-02-22T17:21:00Z";
|
|
4723
4722
|
}];
|
|
4724
|
-
readonly links: readonly [{
|
|
4725
|
-
readonly id: 42;
|
|
4726
|
-
readonly link_type: "example";
|
|
4727
|
-
readonly link_id: 42;
|
|
4728
|
-
readonly url: "https://agentmc.example.com/docs/incident-123";
|
|
4729
|
-
readonly title: "Example Title";
|
|
4730
|
-
readonly created_at: "2026-02-22T17:21:00Z";
|
|
4731
|
-
}];
|
|
4732
4723
|
readonly comments_count: 1;
|
|
4733
4724
|
readonly created_at: "2026-02-22T17:21:00Z";
|
|
4734
4725
|
readonly updated_at: "2026-02-22T17:21:00Z";
|
|
@@ -166,16 +166,28 @@ var operations = [
|
|
|
166
166
|
"agent": {
|
|
167
167
|
"id": 42,
|
|
168
168
|
"name": "codex-runtime-prod",
|
|
169
|
-
"
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
169
|
+
"identity": {
|
|
170
|
+
"name": "Jarvis",
|
|
171
|
+
"creature": "robot",
|
|
172
|
+
"vibe": "calm"
|
|
173
|
+
},
|
|
174
|
+
"models": {
|
|
175
|
+
"resolved": {
|
|
176
|
+
"default": "openai/gpt-5-codex",
|
|
177
|
+
"fallbacks": [
|
|
178
|
+
"anthropic/claude-sonnet-4-20250514"
|
|
179
|
+
]
|
|
173
180
|
},
|
|
174
|
-
{
|
|
175
|
-
"
|
|
176
|
-
|
|
181
|
+
"providers": {
|
|
182
|
+
"openai": [
|
|
183
|
+
"gpt-5-codex",
|
|
184
|
+
"gpt-4.1"
|
|
185
|
+
],
|
|
186
|
+
"anthropic": [
|
|
187
|
+
"claude-sonnet-4-20250514"
|
|
188
|
+
]
|
|
177
189
|
}
|
|
178
|
-
|
|
190
|
+
}
|
|
179
191
|
}
|
|
180
192
|
}
|
|
181
193
|
}
|
|
@@ -920,7 +932,7 @@ var operations = [
|
|
|
920
932
|
{
|
|
921
933
|
"mediaType": "application/json",
|
|
922
934
|
"example": {
|
|
923
|
-
"name": "
|
|
935
|
+
"name": "openclaw-main",
|
|
924
936
|
"host": "ip-10-0-3-42",
|
|
925
937
|
"runtime_version": "2026.02.1",
|
|
926
938
|
"capabilities": [
|
|
@@ -928,6 +940,21 @@ var operations = [
|
|
|
928
940
|
"calendar",
|
|
929
941
|
"realtime"
|
|
930
942
|
],
|
|
943
|
+
"models": [
|
|
944
|
+
{
|
|
945
|
+
"model_id": "openai/gpt-5-codex",
|
|
946
|
+
"provider": "openai"
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"model_id": "anthropic/claude-sonnet-4-20250514",
|
|
950
|
+
"provider": "anthropic"
|
|
951
|
+
}
|
|
952
|
+
],
|
|
953
|
+
"identity": {
|
|
954
|
+
"name": "Jarvis",
|
|
955
|
+
"creature": "robot",
|
|
956
|
+
"vibe": "calm"
|
|
957
|
+
},
|
|
931
958
|
"metadata": {
|
|
932
959
|
"hostname": "worker-01",
|
|
933
960
|
"ip": "10.0.2.15",
|
|
@@ -949,6 +976,9 @@ var operations = [
|
|
|
949
976
|
"runtime": {
|
|
950
977
|
"name": "codex",
|
|
951
978
|
"version": "2026.02.1"
|
|
979
|
+
},
|
|
980
|
+
"identity": {
|
|
981
|
+
"name": "Jarvis"
|
|
952
982
|
}
|
|
953
983
|
}
|
|
954
984
|
}
|
|
@@ -1740,16 +1770,6 @@ var operations = [
|
|
|
1740
1770
|
"created_at": "2026-02-22T17:21:00Z"
|
|
1741
1771
|
}
|
|
1742
1772
|
],
|
|
1743
|
-
"links": [
|
|
1744
|
-
{
|
|
1745
|
-
"id": 42,
|
|
1746
|
-
"link_type": "example",
|
|
1747
|
-
"link_id": 42,
|
|
1748
|
-
"url": "https://agentmc.example.com/docs/incident-123",
|
|
1749
|
-
"title": "Example Title",
|
|
1750
|
-
"created_at": "2026-02-22T17:21:00Z"
|
|
1751
|
-
}
|
|
1752
|
-
],
|
|
1753
1773
|
"comments_count": 1,
|
|
1754
1774
|
"created_at": "2026-02-22T17:21:00Z",
|
|
1755
1775
|
"updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -3740,16 +3760,6 @@ var operations = [
|
|
|
3740
3760
|
"created_at": "2026-02-22T17:21:00Z"
|
|
3741
3761
|
}
|
|
3742
3762
|
],
|
|
3743
|
-
"links": [
|
|
3744
|
-
{
|
|
3745
|
-
"id": 42,
|
|
3746
|
-
"link_type": "example",
|
|
3747
|
-
"link_id": 42,
|
|
3748
|
-
"url": "https://agentmc.example.com/docs/incident-123",
|
|
3749
|
-
"title": "Example Title",
|
|
3750
|
-
"created_at": "2026-02-22T17:21:00Z"
|
|
3751
|
-
}
|
|
3752
|
-
],
|
|
3753
3763
|
"comments_count": 1,
|
|
3754
3764
|
"created_at": "2026-02-22T17:21:00Z",
|
|
3755
3765
|
"updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -4081,7 +4091,7 @@ var operations = [
|
|
|
4081
4091
|
"operationId": "listNotifications",
|
|
4082
4092
|
"method": "get",
|
|
4083
4093
|
"path": "/notifications",
|
|
4084
|
-
"summary": "List workspace notifications (mentions and
|
|
4094
|
+
"summary": "List workspace notifications (mentions, assignments, and comment activity) for the authenticated principal.",
|
|
4085
4095
|
"description": "",
|
|
4086
4096
|
"tags": [
|
|
4087
4097
|
"Notifications"
|
|
@@ -5064,16 +5074,6 @@ var operations = [
|
|
|
5064
5074
|
"created_at": "2026-02-22T17:21:00Z"
|
|
5065
5075
|
}
|
|
5066
5076
|
],
|
|
5067
|
-
"links": [
|
|
5068
|
-
{
|
|
5069
|
-
"id": 42,
|
|
5070
|
-
"link_type": "example",
|
|
5071
|
-
"link_id": 42,
|
|
5072
|
-
"url": "https://agentmc.example.com/docs/incident-123",
|
|
5073
|
-
"title": "Example Title",
|
|
5074
|
-
"created_at": "2026-02-22T17:21:00Z"
|
|
5075
|
-
}
|
|
5076
|
-
],
|
|
5077
5077
|
"comments_count": 1,
|
|
5078
5078
|
"created_at": "2026-02-22T17:21:00Z",
|
|
5079
5079
|
"updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -5964,16 +5964,6 @@ var operations = [
|
|
|
5964
5964
|
"created_at": "2026-02-22T17:21:00Z"
|
|
5965
5965
|
}
|
|
5966
5966
|
],
|
|
5967
|
-
"links": [
|
|
5968
|
-
{
|
|
5969
|
-
"id": 42,
|
|
5970
|
-
"link_type": "example",
|
|
5971
|
-
"link_id": 42,
|
|
5972
|
-
"url": "https://agentmc.example.com/docs/incident-123",
|
|
5973
|
-
"title": "Example Title",
|
|
5974
|
-
"created_at": "2026-02-22T17:21:00Z"
|
|
5975
|
-
}
|
|
5976
|
-
],
|
|
5977
5967
|
"comments_count": 1,
|
|
5978
5968
|
"created_at": "2026-02-22T17:21:00Z",
|
|
5979
5969
|
"updated_at": "2026-02-22T17:21:00Z",
|