@agentmc/api 0.2.3 → 0.2.5
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 +1 -2
- package/dist/cli.js.map +1 -1
- package/dist/generated/operations.d.ts +1 -2
- package/dist/generated/operations.js +1 -2
- package/dist/generated/operations.js.map +1 -1
- package/dist/index.d.ts +12 -17
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/docs/operations/connectAgent.md +3 -4
- package/docs/operations/index.json +1 -2
- package/examples/http/connectAgent.ts +1 -1
- package/package.json +1 -1
- package/spec/openapi.filtered.json +12 -21
package/dist/index.d.ts
CHANGED
|
@@ -1279,7 +1279,6 @@ interface components {
|
|
|
1279
1279
|
* "id": 7,
|
|
1280
1280
|
* "name": "AgentMC Demo Workspace"
|
|
1281
1281
|
* },
|
|
1282
|
-
* "heartbeat_interval_seconds": 300,
|
|
1283
1282
|
* "server_time": "2026-02-22T17:20:53Z",
|
|
1284
1283
|
* "first_sync_required": true
|
|
1285
1284
|
* }
|
|
@@ -1325,11 +1324,6 @@ interface components {
|
|
|
1325
1324
|
* }
|
|
1326
1325
|
*/
|
|
1327
1326
|
workspace: components["schemas"]["TeamSummary"];
|
|
1328
|
-
/**
|
|
1329
|
-
* @description Heartbeat interval seconds.
|
|
1330
|
-
* @example 1
|
|
1331
|
-
*/
|
|
1332
|
-
heartbeat_interval_seconds: number;
|
|
1333
1327
|
/**
|
|
1334
1328
|
* Format: date-time
|
|
1335
1329
|
* @description Current server timestamp.
|
|
@@ -5232,7 +5226,6 @@ interface components {
|
|
|
5232
5226
|
/**
|
|
5233
5227
|
* @description One-time agent registration payload. Resolve this schema from OpenAPI at runtime instead of hardcoding fields.
|
|
5234
5228
|
* @example {
|
|
5235
|
-
* "name": "openclaw-main",
|
|
5236
5229
|
* "host": "ip-10-0-3-42",
|
|
5237
5230
|
* "runtime_version": "2026.02.1",
|
|
5238
5231
|
* "capabilities": [
|
|
@@ -5240,6 +5233,7 @@ interface components {
|
|
|
5240
5233
|
* "calendar",
|
|
5241
5234
|
* "realtime"
|
|
5242
5235
|
* ],
|
|
5236
|
+
* "agents_md": "# Existing AGENTS.md\n\n## Runtime\n- Keep heartbeat alive.\n",
|
|
5243
5237
|
* "models": [
|
|
5244
5238
|
* {
|
|
5245
5239
|
* "model_id": "openai/gpt-5-codex",
|
|
@@ -5287,11 +5281,6 @@ interface components {
|
|
|
5287
5281
|
* }
|
|
5288
5282
|
*/
|
|
5289
5283
|
RegisterAgentApiRequest: {
|
|
5290
|
-
/**
|
|
5291
|
-
* @description Runtime/client label fallback. AgentMC prefers identity name values from `identity.name` or `metadata.identity.name` when provided.
|
|
5292
|
-
* @example openclaw-main
|
|
5293
|
-
*/
|
|
5294
|
-
name: string;
|
|
5295
5284
|
/**
|
|
5296
5285
|
* @description Runtime host identifier (hostname or machine name).
|
|
5297
5286
|
* @example ip-10-0-3-42
|
|
@@ -5311,6 +5300,14 @@ interface components {
|
|
|
5311
5300
|
* ]
|
|
5312
5301
|
*/
|
|
5313
5302
|
capabilities: string[] | null;
|
|
5303
|
+
/**
|
|
5304
|
+
* @description Required current local AGENTS.md content captured by the runtime before first sync.
|
|
5305
|
+
* @example # Existing AGENTS.md
|
|
5306
|
+
*
|
|
5307
|
+
* ## Runtime
|
|
5308
|
+
* - Keep heartbeat alive.
|
|
5309
|
+
*/
|
|
5310
|
+
agents_md: string;
|
|
5314
5311
|
/**
|
|
5315
5312
|
* @description Optional runtime LLM inventory. Send an array of model refs/objects or a structured runtime snapshot object.
|
|
5316
5313
|
* @example [
|
|
@@ -5344,7 +5341,7 @@ interface components {
|
|
|
5344
5341
|
[key: string]: unknown;
|
|
5345
5342
|
}) | null;
|
|
5346
5343
|
/**
|
|
5347
|
-
* @description Optional full agent identity payload
|
|
5344
|
+
* @description Optional full agent identity payload persisted in agent metadata.
|
|
5348
5345
|
* @example {
|
|
5349
5346
|
* "name": "Jarvis",
|
|
5350
5347
|
* "creature": "robot",
|
|
@@ -5493,7 +5490,7 @@ interface components {
|
|
|
5493
5490
|
version: string;
|
|
5494
5491
|
};
|
|
5495
5492
|
/**
|
|
5496
|
-
* @description Optional identity payload
|
|
5493
|
+
* @description Optional identity payload persisted as host metadata.
|
|
5497
5494
|
* @example {
|
|
5498
5495
|
* "name": "Jarvis"
|
|
5499
5496
|
* }
|
|
@@ -6633,7 +6630,6 @@ interface components {
|
|
|
6633
6630
|
* "id": 7,
|
|
6634
6631
|
* "name": "AgentMC Demo Workspace"
|
|
6635
6632
|
* },
|
|
6636
|
-
* "heartbeat_interval_seconds": 300,
|
|
6637
6633
|
* "server_time": "2026-02-22T17:20:53Z",
|
|
6638
6634
|
* "first_sync_required": true
|
|
6639
6635
|
* }
|
|
@@ -7326,7 +7322,6 @@ interface components {
|
|
|
7326
7322
|
content: {
|
|
7327
7323
|
/**
|
|
7328
7324
|
* @example {
|
|
7329
|
-
* "name": "openclaw-main",
|
|
7330
7325
|
* "host": "ip-10-0-3-42",
|
|
7331
7326
|
* "runtime_version": "2026.02.1",
|
|
7332
7327
|
* "capabilities": [
|
|
@@ -7334,6 +7329,7 @@ interface components {
|
|
|
7334
7329
|
* "calendar",
|
|
7335
7330
|
* "realtime"
|
|
7336
7331
|
* ],
|
|
7332
|
+
* "agents_md": "# Existing AGENTS.md\n\n## Runtime\n- Keep heartbeat alive.\n",
|
|
7337
7333
|
* "models": [
|
|
7338
7334
|
* {
|
|
7339
7335
|
* "model_id": "openai/gpt-5-codex",
|
|
@@ -7728,7 +7724,6 @@ interface operations {
|
|
|
7728
7724
|
* "id": 7,
|
|
7729
7725
|
* "name": "AgentMC Demo Workspace"
|
|
7730
7726
|
* },
|
|
7731
|
-
* "heartbeat_interval_seconds": 300,
|
|
7732
7727
|
* "server_time": "2026-02-22T17:20:53Z",
|
|
7733
7728
|
* "first_sync_required": true
|
|
7734
7729
|
* }
|
package/dist/index.js
CHANGED
|
@@ -937,7 +937,6 @@ var operations = [
|
|
|
937
937
|
{
|
|
938
938
|
"mediaType": "application/json",
|
|
939
939
|
"example": {
|
|
940
|
-
"name": "openclaw-main",
|
|
941
940
|
"host": "ip-10-0-3-42",
|
|
942
941
|
"runtime_version": "2026.02.1",
|
|
943
942
|
"capabilities": [
|
|
@@ -945,6 +944,7 @@ var operations = [
|
|
|
945
944
|
"calendar",
|
|
946
945
|
"realtime"
|
|
947
946
|
],
|
|
947
|
+
"agents_md": "# Existing AGENTS.md\n\n## Runtime\n- Keep heartbeat alive.\n",
|
|
948
948
|
"models": [
|
|
949
949
|
{
|
|
950
950
|
"model_id": "openai/gpt-5-codex",
|
|
@@ -1006,7 +1006,6 @@ var operations = [
|
|
|
1006
1006
|
"id": 7,
|
|
1007
1007
|
"name": "AgentMC Demo Workspace"
|
|
1008
1008
|
},
|
|
1009
|
-
"heartbeat_interval_seconds": 300,
|
|
1010
1009
|
"server_time": "2026-02-22T17:20:53Z",
|
|
1011
1010
|
"first_sync_required": true
|
|
1012
1011
|
}
|