@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.
- package/dist/cli.js +585 -595
- package/dist/cli.js.map +1 -1
- package/dist/generated/operations.d.ts +503 -512
- package/dist/generated/operations.js +585 -595
- package/dist/generated/operations.js.map +1 -1
- package/dist/index.d.ts +226 -202
- package/dist/index.js +585 -595
- package/dist/index.js.map +1 -1
- package/docs/operations/README.md +6 -6
- package/docs/operations/agentHeartbeat.md +41 -17
- package/docs/operations/{commentWorkspaceCalendarItem.md → commentCalendarItem.md} +2 -2
- package/docs/operations/connectAgent.md +39 -3
- package/docs/operations/{createWorkspaceCalendarItem.md → createCalendarItem.md} +2 -12
- package/docs/operations/{deleteWorkspaceCalendarItem.md → deleteCalendarItem.md} +2 -2
- package/docs/operations/index.json +585 -595
- package/docs/operations/{workspaceCalendar.md → listCalendar.md} +2 -12
- package/docs/operations/listNotifications.md +1 -1
- package/docs/operations/{showWorkspaceCalendarItem.md → showCalendarItem.md} +2 -12
- package/docs/operations/{updateWorkspaceCalendarItem.md → updateCalendarItem.md} +2 -12
- package/examples/http/agentHeartbeat.ts +20 -8
- package/examples/http/{commentWorkspaceCalendarItem.ts → commentCalendarItem.ts} +1 -1
- package/examples/http/connectAgent.ts +19 -1
- package/examples/http/{createWorkspaceCalendarItem.ts → createCalendarItem.ts} +1 -1
- package/examples/http/{showWorkspaceCalendarItem.ts → deleteCalendarItem.ts} +1 -1
- package/examples/http/{workspaceCalendar.ts → listCalendar.ts} +1 -1
- package/examples/http/{deleteWorkspaceCalendarItem.ts → showCalendarItem.ts} +1 -1
- package/examples/http/{updateWorkspaceCalendarItem.ts → updateCalendarItem.ts} +1 -1
- package/package.json +1 -1
- package/spec/openapi.filtered.json +268 -242
package/dist/index.d.ts
CHANGED
|
@@ -415,7 +415,7 @@ interface paths {
|
|
|
415
415
|
path?: never;
|
|
416
416
|
cookie?: never;
|
|
417
417
|
};
|
|
418
|
-
/** List workspace notifications (mentions and
|
|
418
|
+
/** List workspace notifications (mentions, assignments, and comment activity) for the authenticated principal. */
|
|
419
419
|
get: operations["listNotifications"];
|
|
420
420
|
put?: never;
|
|
421
421
|
post?: never;
|
|
@@ -467,7 +467,7 @@ interface paths {
|
|
|
467
467
|
cookie?: never;
|
|
468
468
|
};
|
|
469
469
|
/** List calendar items. */
|
|
470
|
-
get: operations["
|
|
470
|
+
get: operations["listCalendar"];
|
|
471
471
|
put?: never;
|
|
472
472
|
post?: never;
|
|
473
473
|
delete?: never;
|
|
@@ -486,7 +486,7 @@ interface paths {
|
|
|
486
486
|
get?: never;
|
|
487
487
|
put?: never;
|
|
488
488
|
/** Create a calendar item. */
|
|
489
|
-
post: operations["
|
|
489
|
+
post: operations["createCalendarItem"];
|
|
490
490
|
delete?: never;
|
|
491
491
|
options?: never;
|
|
492
492
|
head?: never;
|
|
@@ -501,12 +501,12 @@ interface paths {
|
|
|
501
501
|
cookie?: never;
|
|
502
502
|
};
|
|
503
503
|
/** Show one calendar item. */
|
|
504
|
-
get: operations["
|
|
504
|
+
get: operations["showCalendarItem"];
|
|
505
505
|
/** Update a calendar item. */
|
|
506
|
-
put: operations["
|
|
506
|
+
put: operations["updateCalendarItem"];
|
|
507
507
|
post?: never;
|
|
508
508
|
/** Delete a calendar item. */
|
|
509
|
-
delete: operations["
|
|
509
|
+
delete: operations["deleteCalendarItem"];
|
|
510
510
|
options?: never;
|
|
511
511
|
head?: never;
|
|
512
512
|
patch?: never;
|
|
@@ -522,7 +522,7 @@ interface paths {
|
|
|
522
522
|
get?: never;
|
|
523
523
|
put?: never;
|
|
524
524
|
/** Add a comment on a calendar item. */
|
|
525
|
-
post: operations["
|
|
525
|
+
post: operations["commentCalendarItem"];
|
|
526
526
|
delete?: never;
|
|
527
527
|
options?: never;
|
|
528
528
|
head?: never;
|
|
@@ -3145,7 +3145,7 @@ interface components {
|
|
|
3145
3145
|
created_at: string | null;
|
|
3146
3146
|
};
|
|
3147
3147
|
/**
|
|
3148
|
-
* @description Workspace notification record (mention or
|
|
3148
|
+
* @description Workspace notification record (mention, assignment, or comment activity) for the authenticated principal.
|
|
3149
3149
|
* @example {
|
|
3150
3150
|
* "id": "c084fc57-b2c6-466c-adcb-cf6f4efca42a",
|
|
3151
3151
|
* "notification_type": "mention",
|
|
@@ -3186,11 +3186,11 @@ interface components {
|
|
|
3186
3186
|
*/
|
|
3187
3187
|
id: string;
|
|
3188
3188
|
/**
|
|
3189
|
-
* @description Normalized notification type for API consumers. Allowed values: mention, assignment.
|
|
3189
|
+
* @description Normalized notification type for API consumers. Allowed values: mention, assignment, comment.
|
|
3190
3190
|
* @example mention
|
|
3191
3191
|
* @enum {string}
|
|
3192
3192
|
*/
|
|
3193
|
-
notification_type: "mention" | "assignment";
|
|
3193
|
+
notification_type: "mention" | "assignment" | "comment";
|
|
3194
3194
|
/**
|
|
3195
3195
|
* @description Underlying Laravel notification class name.
|
|
3196
3196
|
* @example example
|
|
@@ -3380,50 +3380,6 @@ interface components {
|
|
|
3380
3380
|
*/
|
|
3381
3381
|
created_at: string | null;
|
|
3382
3382
|
};
|
|
3383
|
-
/**
|
|
3384
|
-
* @description Calendar Item Link schema.
|
|
3385
|
-
* @example {
|
|
3386
|
-
* "id": 42,
|
|
3387
|
-
* "link_type": "example",
|
|
3388
|
-
* "link_id": 42,
|
|
3389
|
-
* "url": "https://agentmc.example.com/docs/incident-123",
|
|
3390
|
-
* "title": "Example Title",
|
|
3391
|
-
* "created_at": "2026-02-22T17:21:00Z"
|
|
3392
|
-
* }
|
|
3393
|
-
*/
|
|
3394
|
-
CalendarItemLink: {
|
|
3395
|
-
/**
|
|
3396
|
-
* @description Unique identifier for this record.
|
|
3397
|
-
* @example 42
|
|
3398
|
-
*/
|
|
3399
|
-
id: number;
|
|
3400
|
-
/**
|
|
3401
|
-
* @description Link type.
|
|
3402
|
-
* @example example
|
|
3403
|
-
*/
|
|
3404
|
-
link_type: string;
|
|
3405
|
-
/**
|
|
3406
|
-
* @description Identifier for link.
|
|
3407
|
-
* @example 42
|
|
3408
|
-
*/
|
|
3409
|
-
link_id: number;
|
|
3410
|
-
/**
|
|
3411
|
-
* @description URL value for url.
|
|
3412
|
-
* @example https://agentmc.example.com/docs/incident-123
|
|
3413
|
-
*/
|
|
3414
|
-
url: string | null;
|
|
3415
|
-
/**
|
|
3416
|
-
* @description Human-readable title.
|
|
3417
|
-
* @example Example Title
|
|
3418
|
-
*/
|
|
3419
|
-
title: string | null;
|
|
3420
|
-
/**
|
|
3421
|
-
* Format: date-time
|
|
3422
|
-
* @description ISO-8601 timestamp when this record was created.
|
|
3423
|
-
* @example 2026-02-22T17:21:00Z
|
|
3424
|
-
*/
|
|
3425
|
-
created_at: string | null;
|
|
3426
|
-
};
|
|
3427
3383
|
/**
|
|
3428
3384
|
* @description Calendar Item Comment schema.
|
|
3429
3385
|
* @example {
|
|
@@ -3492,16 +3448,6 @@ interface components {
|
|
|
3492
3448
|
* "created_at": "2026-02-22T17:21:00Z"
|
|
3493
3449
|
* }
|
|
3494
3450
|
* ],
|
|
3495
|
-
* "links": [
|
|
3496
|
-
* {
|
|
3497
|
-
* "id": 42,
|
|
3498
|
-
* "link_type": "example",
|
|
3499
|
-
* "link_id": 42,
|
|
3500
|
-
* "url": "https://agentmc.example.com/docs/incident-123",
|
|
3501
|
-
* "title": "Example Title",
|
|
3502
|
-
* "created_at": "2026-02-22T17:21:00Z"
|
|
3503
|
-
* }
|
|
3504
|
-
* ],
|
|
3505
3451
|
* "comments_count": 1,
|
|
3506
3452
|
* "created_at": "2026-02-22T17:21:00Z",
|
|
3507
3453
|
* "updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -3610,20 +3556,6 @@ interface components {
|
|
|
3610
3556
|
* ]
|
|
3611
3557
|
*/
|
|
3612
3558
|
assignees: components["schemas"]["CalendarItemAssignee"][];
|
|
3613
|
-
/**
|
|
3614
|
-
* @description Links.
|
|
3615
|
-
* @example [
|
|
3616
|
-
* {
|
|
3617
|
-
* "id": 42,
|
|
3618
|
-
* "link_type": "example",
|
|
3619
|
-
* "link_id": 42,
|
|
3620
|
-
* "url": "https://agentmc.example.com/docs/incident-123",
|
|
3621
|
-
* "title": "Example Title",
|
|
3622
|
-
* "created_at": "2026-02-22T17:21:00Z"
|
|
3623
|
-
* }
|
|
3624
|
-
* ]
|
|
3625
|
-
*/
|
|
3626
|
-
links: components["schemas"]["CalendarItemLink"][];
|
|
3627
3559
|
/**
|
|
3628
3560
|
* @description Comments count.
|
|
3629
3561
|
* @example 1
|
|
@@ -4281,16 +4213,6 @@ interface components {
|
|
|
4281
4213
|
* "created_at": "2026-02-22T17:21:00Z"
|
|
4282
4214
|
* }
|
|
4283
4215
|
* ],
|
|
4284
|
-
* "links": [
|
|
4285
|
-
* {
|
|
4286
|
-
* "id": 42,
|
|
4287
|
-
* "link_type": "example",
|
|
4288
|
-
* "link_id": 42,
|
|
4289
|
-
* "url": "https://agentmc.example.com/docs/incident-123",
|
|
4290
|
-
* "title": "Example Title",
|
|
4291
|
-
* "created_at": "2026-02-22T17:21:00Z"
|
|
4292
|
-
* }
|
|
4293
|
-
* ],
|
|
4294
4216
|
* "comments_count": 1,
|
|
4295
4217
|
* "created_at": "2026-02-22T17:21:00Z",
|
|
4296
4218
|
* "updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -4328,16 +4250,6 @@ interface components {
|
|
|
4328
4250
|
* "created_at": "2026-02-22T17:21:00Z"
|
|
4329
4251
|
* }
|
|
4330
4252
|
* ],
|
|
4331
|
-
* "links": [
|
|
4332
|
-
* {
|
|
4333
|
-
* "id": 42,
|
|
4334
|
-
* "link_type": "example",
|
|
4335
|
-
* "link_id": 42,
|
|
4336
|
-
* "url": "https://agentmc.example.com/docs/incident-123",
|
|
4337
|
-
* "title": "Example Title",
|
|
4338
|
-
* "created_at": "2026-02-22T17:21:00Z"
|
|
4339
|
-
* }
|
|
4340
|
-
* ],
|
|
4341
4253
|
* "comments_count": 1,
|
|
4342
4254
|
* "created_at": "2026-02-22T17:21:00Z",
|
|
4343
4255
|
* "updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -4918,16 +4830,6 @@ interface components {
|
|
|
4918
4830
|
* "created_at": "2026-02-22T17:21:00Z"
|
|
4919
4831
|
* }
|
|
4920
4832
|
* ],
|
|
4921
|
-
* "links": [
|
|
4922
|
-
* {
|
|
4923
|
-
* "id": 42,
|
|
4924
|
-
* "link_type": "example",
|
|
4925
|
-
* "link_id": 42,
|
|
4926
|
-
* "url": "https://agentmc.example.com/docs/incident-123",
|
|
4927
|
-
* "title": "Example Title",
|
|
4928
|
-
* "created_at": "2026-02-22T17:21:00Z"
|
|
4929
|
-
* }
|
|
4930
|
-
* ],
|
|
4931
4833
|
* "comments_count": 1,
|
|
4932
4834
|
* "created_at": "2026-02-22T17:21:00Z",
|
|
4933
4835
|
* "updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -4988,16 +4890,6 @@ interface components {
|
|
|
4988
4890
|
* "created_at": "2026-02-22T17:21:00Z"
|
|
4989
4891
|
* }
|
|
4990
4892
|
* ],
|
|
4991
|
-
* "links": [
|
|
4992
|
-
* {
|
|
4993
|
-
* "id": 42,
|
|
4994
|
-
* "link_type": "example",
|
|
4995
|
-
* "link_id": 42,
|
|
4996
|
-
* "url": "https://agentmc.example.com/docs/incident-123",
|
|
4997
|
-
* "title": "Example Title",
|
|
4998
|
-
* "created_at": "2026-02-22T17:21:00Z"
|
|
4999
|
-
* }
|
|
5000
|
-
* ],
|
|
5001
4893
|
* "comments_count": 1,
|
|
5002
4894
|
* "created_at": "2026-02-22T17:21:00Z",
|
|
5003
4895
|
* "updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -5334,7 +5226,7 @@ interface components {
|
|
|
5334
5226
|
/**
|
|
5335
5227
|
* @description One-time agent registration payload. Resolve this schema from OpenAPI at runtime instead of hardcoding fields.
|
|
5336
5228
|
* @example {
|
|
5337
|
-
* "name": "
|
|
5229
|
+
* "name": "openclaw-main",
|
|
5338
5230
|
* "host": "ip-10-0-3-42",
|
|
5339
5231
|
* "runtime_version": "2026.02.1",
|
|
5340
5232
|
* "capabilities": [
|
|
@@ -5342,6 +5234,22 @@ interface components {
|
|
|
5342
5234
|
* "calendar",
|
|
5343
5235
|
* "realtime"
|
|
5344
5236
|
* ],
|
|
5237
|
+
* "models": [
|
|
5238
|
+
* {
|
|
5239
|
+
* "model_id": "openai/gpt-5-codex",
|
|
5240
|
+
* "provider": "openai"
|
|
5241
|
+
* },
|
|
5242
|
+
* {
|
|
5243
|
+
* "model_id": "anthropic/claude-sonnet-4-20250514",
|
|
5244
|
+
* "provider": "anthropic"
|
|
5245
|
+
* }
|
|
5246
|
+
* ],
|
|
5247
|
+
* "identity": {
|
|
5248
|
+
* "name": "Jarvis",
|
|
5249
|
+
* "creature": "robot",
|
|
5250
|
+
* "vibe": "calm",
|
|
5251
|
+
* "emoji": "🤖"
|
|
5252
|
+
* },
|
|
5345
5253
|
* "metadata": {
|
|
5346
5254
|
* "hostname": "worker-01",
|
|
5347
5255
|
* "ip": "10.0.2.15",
|
|
@@ -5363,14 +5271,19 @@ interface components {
|
|
|
5363
5271
|
* "runtime": {
|
|
5364
5272
|
* "name": "codex",
|
|
5365
5273
|
* "version": "2026.02.1"
|
|
5274
|
+
* },
|
|
5275
|
+
* "identity": {
|
|
5276
|
+
* "name": "Jarvis",
|
|
5277
|
+
* "creature": "robot",
|
|
5278
|
+
* "vibe": "calm"
|
|
5366
5279
|
* }
|
|
5367
5280
|
* }
|
|
5368
5281
|
* }
|
|
5369
5282
|
*/
|
|
5370
5283
|
RegisterAgentApiRequest: {
|
|
5371
5284
|
/**
|
|
5372
|
-
* @description
|
|
5373
|
-
* @example
|
|
5285
|
+
* @description Runtime/client label fallback. AgentMC prefers identity name values from `identity.name` or `metadata.identity.name` when provided.
|
|
5286
|
+
* @example openclaw-main
|
|
5374
5287
|
*/
|
|
5375
5288
|
name: string;
|
|
5376
5289
|
/**
|
|
@@ -5392,6 +5305,48 @@ interface components {
|
|
|
5392
5305
|
* ]
|
|
5393
5306
|
*/
|
|
5394
5307
|
capabilities: string[] | null;
|
|
5308
|
+
/**
|
|
5309
|
+
* @description Optional runtime LLM inventory. Send an array of model refs/objects or a structured runtime snapshot object.
|
|
5310
|
+
* @example [
|
|
5311
|
+
* {
|
|
5312
|
+
* "model_id": "openai/gpt-5-codex",
|
|
5313
|
+
* "provider": "openai"
|
|
5314
|
+
* },
|
|
5315
|
+
* {
|
|
5316
|
+
* "model_id": "anthropic/claude-sonnet-4-20250514",
|
|
5317
|
+
* "provider": "anthropic"
|
|
5318
|
+
* }
|
|
5319
|
+
* ]
|
|
5320
|
+
*/
|
|
5321
|
+
models?: ((string | {
|
|
5322
|
+
/**
|
|
5323
|
+
* @description Full model ID in provider/model format.
|
|
5324
|
+
* @example openai/gpt-5-codex
|
|
5325
|
+
*/
|
|
5326
|
+
model_id: string;
|
|
5327
|
+
/**
|
|
5328
|
+
* @description Model provider slug.
|
|
5329
|
+
* @example openai
|
|
5330
|
+
*/
|
|
5331
|
+
provider?: string;
|
|
5332
|
+
/**
|
|
5333
|
+
* @description Optional display name.
|
|
5334
|
+
* @example GPT-5 Codex
|
|
5335
|
+
*/
|
|
5336
|
+
name?: string;
|
|
5337
|
+
})[] | {
|
|
5338
|
+
[key: string]: unknown;
|
|
5339
|
+
}) | null;
|
|
5340
|
+
/**
|
|
5341
|
+
* @description Optional full agent identity payload. AgentMC uses `identity.name` as the registered agent name when provided.
|
|
5342
|
+
* @example {
|
|
5343
|
+
* "name": "Jarvis",
|
|
5344
|
+
* "creature": "robot",
|
|
5345
|
+
* "vibe": "calm",
|
|
5346
|
+
* "emoji": "🤖"
|
|
5347
|
+
* }
|
|
5348
|
+
*/
|
|
5349
|
+
identity?: unknown;
|
|
5395
5350
|
/**
|
|
5396
5351
|
* @description Required host telemetry snapshot for registration. Mirrors heartbeat host metadata and is saved as host metadata.
|
|
5397
5352
|
* @example {
|
|
@@ -5415,6 +5370,11 @@ interface components {
|
|
|
5415
5370
|
* "runtime": {
|
|
5416
5371
|
* "name": "codex",
|
|
5417
5372
|
* "version": "2026.02.1"
|
|
5373
|
+
* },
|
|
5374
|
+
* "identity": {
|
|
5375
|
+
* "name": "Jarvis",
|
|
5376
|
+
* "creature": "robot",
|
|
5377
|
+
* "vibe": "calm"
|
|
5418
5378
|
* }
|
|
5419
5379
|
* }
|
|
5420
5380
|
*/
|
|
@@ -5526,6 +5486,21 @@ interface components {
|
|
|
5526
5486
|
*/
|
|
5527
5487
|
version: string;
|
|
5528
5488
|
};
|
|
5489
|
+
/**
|
|
5490
|
+
* @description Optional identity payload. When `identity.name` is present, AgentMC uses it as the registered agent name.
|
|
5491
|
+
* @example {
|
|
5492
|
+
* "name": "Jarvis"
|
|
5493
|
+
* }
|
|
5494
|
+
*/
|
|
5495
|
+
identity?: ({
|
|
5496
|
+
/**
|
|
5497
|
+
* @description Human-readable name.
|
|
5498
|
+
* @example Jarvis
|
|
5499
|
+
*/
|
|
5500
|
+
name?: string;
|
|
5501
|
+
} & {
|
|
5502
|
+
[key: string]: unknown;
|
|
5503
|
+
}) | string;
|
|
5529
5504
|
} & {
|
|
5530
5505
|
[key: string]: unknown;
|
|
5531
5506
|
};
|
|
@@ -5566,12 +5541,28 @@ interface components {
|
|
|
5566
5541
|
* "id": 42,
|
|
5567
5542
|
* "name": "codex-runtime-prod",
|
|
5568
5543
|
* "type": "generic",
|
|
5569
|
-
* "
|
|
5570
|
-
*
|
|
5571
|
-
*
|
|
5572
|
-
*
|
|
5544
|
+
* "identity": {
|
|
5545
|
+
* "name": "Jarvis",
|
|
5546
|
+
* "creature": "robot",
|
|
5547
|
+
* "vibe": "calm"
|
|
5548
|
+
* },
|
|
5549
|
+
* "models": {
|
|
5550
|
+
* "resolved": {
|
|
5551
|
+
* "default": "openai/gpt-5-codex",
|
|
5552
|
+
* "fallbacks": [
|
|
5553
|
+
* "anthropic/claude-sonnet-4-20250514"
|
|
5554
|
+
* ]
|
|
5555
|
+
* },
|
|
5556
|
+
* "providers": {
|
|
5557
|
+
* "openai": [
|
|
5558
|
+
* "gpt-5-codex",
|
|
5559
|
+
* "gpt-4.1"
|
|
5560
|
+
* ],
|
|
5561
|
+
* "anthropic": [
|
|
5562
|
+
* "claude-sonnet-4-20250514"
|
|
5563
|
+
* ]
|
|
5573
5564
|
* }
|
|
5574
|
-
*
|
|
5565
|
+
* }
|
|
5575
5566
|
* }
|
|
5576
5567
|
* }
|
|
5577
5568
|
*/
|
|
@@ -5782,23 +5773,54 @@ interface components {
|
|
|
5782
5773
|
*/
|
|
5783
5774
|
endpoint_url?: string | null;
|
|
5784
5775
|
/**
|
|
5785
|
-
* @description Runtime LLM
|
|
5786
|
-
* @example
|
|
5787
|
-
* {
|
|
5788
|
-
* "
|
|
5789
|
-
* "
|
|
5776
|
+
* @description Runtime LLM inventory. Send an array of model refs/objects or a structured runtime snapshot object. Prefer full provider/model IDs and avoid provider-only labels.
|
|
5777
|
+
* @example {
|
|
5778
|
+
* "resolved": {
|
|
5779
|
+
* "default": "openai/gpt-5-codex",
|
|
5780
|
+
* "fallbacks": [
|
|
5781
|
+
* "anthropic/claude-sonnet-4-20250514"
|
|
5782
|
+
* ]
|
|
5790
5783
|
* },
|
|
5791
|
-
* {
|
|
5792
|
-
* "
|
|
5793
|
-
*
|
|
5784
|
+
* "providers": {
|
|
5785
|
+
* "openai": [
|
|
5786
|
+
* "gpt-5-codex",
|
|
5787
|
+
* "gpt-4.1"
|
|
5788
|
+
* ],
|
|
5789
|
+
* "anthropic": [
|
|
5790
|
+
* "claude-sonnet-4-20250514"
|
|
5791
|
+
* ]
|
|
5794
5792
|
* }
|
|
5795
|
-
*
|
|
5793
|
+
* }
|
|
5796
5794
|
*/
|
|
5797
|
-
models?: ({
|
|
5798
|
-
|
|
5799
|
-
|
|
5795
|
+
models?: ((string | {
|
|
5796
|
+
/**
|
|
5797
|
+
* @description Full model ID in provider/model format.
|
|
5798
|
+
* @example openai/gpt-5-codex
|
|
5799
|
+
*/
|
|
5800
|
+
model_id: string;
|
|
5801
|
+
/**
|
|
5802
|
+
* @description Model provider slug.
|
|
5803
|
+
* @example openai
|
|
5804
|
+
*/
|
|
5805
|
+
provider?: string;
|
|
5806
|
+
/**
|
|
5807
|
+
* @description Optional display name for UI; do not use this as canonical model identifier.
|
|
5808
|
+
* @example GPT-5 Codex
|
|
5809
|
+
*/
|
|
5810
|
+
name?: string;
|
|
5811
|
+
})[] | {
|
|
5800
5812
|
[key: string]: unknown;
|
|
5801
|
-
}
|
|
5813
|
+
}) | null;
|
|
5814
|
+
/**
|
|
5815
|
+
* @description Optional full agent identity payload. AgentMC stores this under `agent.meta.identity`.
|
|
5816
|
+
* @example {
|
|
5817
|
+
* "name": "Jarvis",
|
|
5818
|
+
* "creature": "robot",
|
|
5819
|
+
* "vibe": "calm",
|
|
5820
|
+
* "emoji": "🤖"
|
|
5821
|
+
* }
|
|
5822
|
+
*/
|
|
5823
|
+
identity?: unknown;
|
|
5802
5824
|
} & ({
|
|
5803
5825
|
[key: string]: unknown;
|
|
5804
5826
|
} | {
|
|
@@ -7297,7 +7319,7 @@ interface components {
|
|
|
7297
7319
|
content: {
|
|
7298
7320
|
/**
|
|
7299
7321
|
* @example {
|
|
7300
|
-
* "name": "
|
|
7322
|
+
* "name": "openclaw-main",
|
|
7301
7323
|
* "host": "ip-10-0-3-42",
|
|
7302
7324
|
* "runtime_version": "2026.02.1",
|
|
7303
7325
|
* "capabilities": [
|
|
@@ -7305,6 +7327,21 @@ interface components {
|
|
|
7305
7327
|
* "calendar",
|
|
7306
7328
|
* "realtime"
|
|
7307
7329
|
* ],
|
|
7330
|
+
* "models": [
|
|
7331
|
+
* {
|
|
7332
|
+
* "model_id": "openai/gpt-5-codex",
|
|
7333
|
+
* "provider": "openai"
|
|
7334
|
+
* },
|
|
7335
|
+
* {
|
|
7336
|
+
* "model_id": "anthropic/claude-sonnet-4-20250514",
|
|
7337
|
+
* "provider": "anthropic"
|
|
7338
|
+
* }
|
|
7339
|
+
* ],
|
|
7340
|
+
* "identity": {
|
|
7341
|
+
* "name": "Jarvis",
|
|
7342
|
+
* "creature": "robot",
|
|
7343
|
+
* "vibe": "calm"
|
|
7344
|
+
* },
|
|
7308
7345
|
* "metadata": {
|
|
7309
7346
|
* "hostname": "worker-01",
|
|
7310
7347
|
* "ip": "10.0.2.15",
|
|
@@ -7326,6 +7363,9 @@ interface components {
|
|
|
7326
7363
|
* "runtime": {
|
|
7327
7364
|
* "name": "codex",
|
|
7328
7365
|
* "version": "2026.02.1"
|
|
7366
|
+
* },
|
|
7367
|
+
* "identity": {
|
|
7368
|
+
* "name": "Jarvis"
|
|
7329
7369
|
* }
|
|
7330
7370
|
* }
|
|
7331
7371
|
* }
|
|
@@ -7372,16 +7412,28 @@ interface components {
|
|
|
7372
7412
|
* "agent": {
|
|
7373
7413
|
* "id": 42,
|
|
7374
7414
|
* "name": "codex-runtime-prod",
|
|
7375
|
-
* "
|
|
7376
|
-
*
|
|
7377
|
-
*
|
|
7378
|
-
*
|
|
7415
|
+
* "identity": {
|
|
7416
|
+
* "name": "Jarvis",
|
|
7417
|
+
* "creature": "robot",
|
|
7418
|
+
* "vibe": "calm"
|
|
7419
|
+
* },
|
|
7420
|
+
* "models": {
|
|
7421
|
+
* "resolved": {
|
|
7422
|
+
* "default": "openai/gpt-5-codex",
|
|
7423
|
+
* "fallbacks": [
|
|
7424
|
+
* "anthropic/claude-sonnet-4-20250514"
|
|
7425
|
+
* ]
|
|
7379
7426
|
* },
|
|
7380
|
-
* {
|
|
7381
|
-
* "
|
|
7382
|
-
*
|
|
7427
|
+
* "providers": {
|
|
7428
|
+
* "openai": [
|
|
7429
|
+
* "gpt-5-codex",
|
|
7430
|
+
* "gpt-4.1"
|
|
7431
|
+
* ],
|
|
7432
|
+
* "anthropic": [
|
|
7433
|
+
* "claude-sonnet-4-20250514"
|
|
7434
|
+
* ]
|
|
7383
7435
|
* }
|
|
7384
|
-
*
|
|
7436
|
+
* }
|
|
7385
7437
|
* }
|
|
7386
7438
|
* }
|
|
7387
7439
|
*/
|
|
@@ -7771,16 +7823,28 @@ interface operations {
|
|
|
7771
7823
|
* "agent": {
|
|
7772
7824
|
* "id": 42,
|
|
7773
7825
|
* "name": "codex-runtime-prod",
|
|
7774
|
-
* "
|
|
7775
|
-
*
|
|
7776
|
-
*
|
|
7777
|
-
*
|
|
7826
|
+
* "identity": {
|
|
7827
|
+
* "name": "Jarvis",
|
|
7828
|
+
* "creature": "robot",
|
|
7829
|
+
* "vibe": "calm"
|
|
7830
|
+
* },
|
|
7831
|
+
* "models": {
|
|
7832
|
+
* "resolved": {
|
|
7833
|
+
* "default": "openai/gpt-5-codex",
|
|
7834
|
+
* "fallbacks": [
|
|
7835
|
+
* "anthropic/claude-sonnet-4-20250514"
|
|
7836
|
+
* ]
|
|
7778
7837
|
* },
|
|
7779
|
-
* {
|
|
7780
|
-
* "
|
|
7781
|
-
*
|
|
7838
|
+
* "providers": {
|
|
7839
|
+
* "openai": [
|
|
7840
|
+
* "gpt-5-codex",
|
|
7841
|
+
* "gpt-4.1"
|
|
7842
|
+
* ],
|
|
7843
|
+
* "anthropic": [
|
|
7844
|
+
* "claude-sonnet-4-20250514"
|
|
7845
|
+
* ]
|
|
7782
7846
|
* }
|
|
7783
|
-
*
|
|
7847
|
+
* }
|
|
7784
7848
|
* }
|
|
7785
7849
|
* }
|
|
7786
7850
|
*/
|
|
@@ -10082,7 +10146,7 @@ interface operations {
|
|
|
10082
10146
|
403: components["responses"]["ApiError403"];
|
|
10083
10147
|
};
|
|
10084
10148
|
};
|
|
10085
|
-
|
|
10149
|
+
listCalendar: {
|
|
10086
10150
|
parameters: {
|
|
10087
10151
|
query?: {
|
|
10088
10152
|
/**
|
|
@@ -10173,16 +10237,6 @@ interface operations {
|
|
|
10173
10237
|
* "created_at": "2026-02-22T17:21:00Z"
|
|
10174
10238
|
* }
|
|
10175
10239
|
* ],
|
|
10176
|
-
* "links": [
|
|
10177
|
-
* {
|
|
10178
|
-
* "id": 42,
|
|
10179
|
-
* "link_type": "example",
|
|
10180
|
-
* "link_id": 42,
|
|
10181
|
-
* "url": "https://agentmc.example.com/docs/incident-123",
|
|
10182
|
-
* "title": "Example Title",
|
|
10183
|
-
* "created_at": "2026-02-22T17:21:00Z"
|
|
10184
|
-
* }
|
|
10185
|
-
* ],
|
|
10186
10240
|
* "comments_count": 1,
|
|
10187
10241
|
* "created_at": "2026-02-22T17:21:00Z",
|
|
10188
10242
|
* "updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -10219,7 +10273,7 @@ interface operations {
|
|
|
10219
10273
|
403: components["responses"]["ApiError403"];
|
|
10220
10274
|
};
|
|
10221
10275
|
};
|
|
10222
|
-
|
|
10276
|
+
createCalendarItem: {
|
|
10223
10277
|
parameters: {
|
|
10224
10278
|
query?: never;
|
|
10225
10279
|
header?: never;
|
|
@@ -10263,16 +10317,6 @@ interface operations {
|
|
|
10263
10317
|
* "created_at": "2026-02-22T17:21:00Z"
|
|
10264
10318
|
* }
|
|
10265
10319
|
* ],
|
|
10266
|
-
* "links": [
|
|
10267
|
-
* {
|
|
10268
|
-
* "id": 42,
|
|
10269
|
-
* "link_type": "example",
|
|
10270
|
-
* "link_id": 42,
|
|
10271
|
-
* "url": "https://agentmc.example.com/docs/incident-123",
|
|
10272
|
-
* "title": "Example Title",
|
|
10273
|
-
* "created_at": "2026-02-22T17:21:00Z"
|
|
10274
|
-
* }
|
|
10275
|
-
* ],
|
|
10276
10320
|
* "comments_count": 1,
|
|
10277
10321
|
* "created_at": "2026-02-22T17:21:00Z",
|
|
10278
10322
|
* "updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -10290,7 +10334,7 @@ interface operations {
|
|
|
10290
10334
|
422: components["responses"]["ApiError422"];
|
|
10291
10335
|
};
|
|
10292
10336
|
};
|
|
10293
|
-
|
|
10337
|
+
showCalendarItem: {
|
|
10294
10338
|
parameters: {
|
|
10295
10339
|
query?: never;
|
|
10296
10340
|
header?: never;
|
|
@@ -10340,16 +10384,6 @@ interface operations {
|
|
|
10340
10384
|
* "created_at": "2026-02-22T17:21:00Z"
|
|
10341
10385
|
* }
|
|
10342
10386
|
* ],
|
|
10343
|
-
* "links": [
|
|
10344
|
-
* {
|
|
10345
|
-
* "id": 42,
|
|
10346
|
-
* "link_type": "example",
|
|
10347
|
-
* "link_id": 42,
|
|
10348
|
-
* "url": "https://agentmc.example.com/docs/incident-123",
|
|
10349
|
-
* "title": "Example Title",
|
|
10350
|
-
* "created_at": "2026-02-22T17:21:00Z"
|
|
10351
|
-
* }
|
|
10352
|
-
* ],
|
|
10353
10387
|
* "comments_count": 1,
|
|
10354
10388
|
* "created_at": "2026-02-22T17:21:00Z",
|
|
10355
10389
|
* "updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -10365,7 +10399,7 @@ interface operations {
|
|
|
10365
10399
|
404: components["responses"]["ApiError404"];
|
|
10366
10400
|
};
|
|
10367
10401
|
};
|
|
10368
|
-
|
|
10402
|
+
updateCalendarItem: {
|
|
10369
10403
|
parameters: {
|
|
10370
10404
|
query?: never;
|
|
10371
10405
|
header?: never;
|
|
@@ -10429,16 +10463,6 @@ interface operations {
|
|
|
10429
10463
|
* "created_at": "2026-02-22T17:21:00Z"
|
|
10430
10464
|
* }
|
|
10431
10465
|
* ],
|
|
10432
|
-
* "links": [
|
|
10433
|
-
* {
|
|
10434
|
-
* "id": 42,
|
|
10435
|
-
* "link_type": "example",
|
|
10436
|
-
* "link_id": 42,
|
|
10437
|
-
* "url": "https://agentmc.example.com/docs/incident-123",
|
|
10438
|
-
* "title": "Example Title",
|
|
10439
|
-
* "created_at": "2026-02-22T17:21:00Z"
|
|
10440
|
-
* }
|
|
10441
|
-
* ],
|
|
10442
10466
|
* "comments_count": 1,
|
|
10443
10467
|
* "created_at": "2026-02-22T17:21:00Z",
|
|
10444
10468
|
* "updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -10455,7 +10479,7 @@ interface operations {
|
|
|
10455
10479
|
422: components["responses"]["ApiError422"];
|
|
10456
10480
|
};
|
|
10457
10481
|
};
|
|
10458
|
-
|
|
10482
|
+
deleteCalendarItem: {
|
|
10459
10483
|
parameters: {
|
|
10460
10484
|
query?: never;
|
|
10461
10485
|
header?: never;
|
|
@@ -10491,7 +10515,7 @@ interface operations {
|
|
|
10491
10515
|
404: components["responses"]["ApiError404"];
|
|
10492
10516
|
};
|
|
10493
10517
|
};
|
|
10494
|
-
|
|
10518
|
+
commentCalendarItem: {
|
|
10495
10519
|
parameters: {
|
|
10496
10520
|
query?: never;
|
|
10497
10521
|
header?: never;
|