@agentmc/api 0.2.3 → 0.2.4
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 -1
- package/dist/cli.js.map +1 -1
- package/dist/generated/operations.d.ts +1 -1
- package/dist/generated/operations.js +1 -1
- package/dist/generated/operations.js.map +1 -1
- package/dist/index.d.ts +12 -9
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/docs/operations/connectAgent.md +3 -3
- package/docs/operations/index.json +1 -1
- package/examples/http/connectAgent.ts +1 -1
- package/package.json +1 -1
- package/spec/openapi.filtered.json +12 -11
package/dist/index.d.ts
CHANGED
|
@@ -5232,7 +5232,6 @@ interface components {
|
|
|
5232
5232
|
/**
|
|
5233
5233
|
* @description One-time agent registration payload. Resolve this schema from OpenAPI at runtime instead of hardcoding fields.
|
|
5234
5234
|
* @example {
|
|
5235
|
-
* "name": "openclaw-main",
|
|
5236
5235
|
* "host": "ip-10-0-3-42",
|
|
5237
5236
|
* "runtime_version": "2026.02.1",
|
|
5238
5237
|
* "capabilities": [
|
|
@@ -5240,6 +5239,7 @@ interface components {
|
|
|
5240
5239
|
* "calendar",
|
|
5241
5240
|
* "realtime"
|
|
5242
5241
|
* ],
|
|
5242
|
+
* "agents_md": "# Existing AGENTS.md\n\n## Runtime\n- Keep heartbeat alive.\n",
|
|
5243
5243
|
* "models": [
|
|
5244
5244
|
* {
|
|
5245
5245
|
* "model_id": "openai/gpt-5-codex",
|
|
@@ -5287,11 +5287,6 @@ interface components {
|
|
|
5287
5287
|
* }
|
|
5288
5288
|
*/
|
|
5289
5289
|
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
5290
|
/**
|
|
5296
5291
|
* @description Runtime host identifier (hostname or machine name).
|
|
5297
5292
|
* @example ip-10-0-3-42
|
|
@@ -5311,6 +5306,14 @@ interface components {
|
|
|
5311
5306
|
* ]
|
|
5312
5307
|
*/
|
|
5313
5308
|
capabilities: string[] | null;
|
|
5309
|
+
/**
|
|
5310
|
+
* @description Required current local AGENTS.md content captured by the runtime before first sync.
|
|
5311
|
+
* @example # Existing AGENTS.md
|
|
5312
|
+
*
|
|
5313
|
+
* ## Runtime
|
|
5314
|
+
* - Keep heartbeat alive.
|
|
5315
|
+
*/
|
|
5316
|
+
agents_md: string;
|
|
5314
5317
|
/**
|
|
5315
5318
|
* @description Optional runtime LLM inventory. Send an array of model refs/objects or a structured runtime snapshot object.
|
|
5316
5319
|
* @example [
|
|
@@ -5344,7 +5347,7 @@ interface components {
|
|
|
5344
5347
|
[key: string]: unknown;
|
|
5345
5348
|
}) | null;
|
|
5346
5349
|
/**
|
|
5347
|
-
* @description Optional full agent identity payload
|
|
5350
|
+
* @description Optional full agent identity payload persisted in agent metadata.
|
|
5348
5351
|
* @example {
|
|
5349
5352
|
* "name": "Jarvis",
|
|
5350
5353
|
* "creature": "robot",
|
|
@@ -5493,7 +5496,7 @@ interface components {
|
|
|
5493
5496
|
version: string;
|
|
5494
5497
|
};
|
|
5495
5498
|
/**
|
|
5496
|
-
* @description Optional identity payload
|
|
5499
|
+
* @description Optional identity payload persisted as host metadata.
|
|
5497
5500
|
* @example {
|
|
5498
5501
|
* "name": "Jarvis"
|
|
5499
5502
|
* }
|
|
@@ -7326,7 +7329,6 @@ interface components {
|
|
|
7326
7329
|
content: {
|
|
7327
7330
|
/**
|
|
7328
7331
|
* @example {
|
|
7329
|
-
* "name": "openclaw-main",
|
|
7330
7332
|
* "host": "ip-10-0-3-42",
|
|
7331
7333
|
* "runtime_version": "2026.02.1",
|
|
7332
7334
|
* "capabilities": [
|
|
@@ -7334,6 +7336,7 @@ interface components {
|
|
|
7334
7336
|
* "calendar",
|
|
7335
7337
|
* "realtime"
|
|
7336
7338
|
* ],
|
|
7339
|
+
* "agents_md": "# Existing AGENTS.md\n\n## Runtime\n- Keep heartbeat alive.\n",
|
|
7337
7340
|
* "models": [
|
|
7338
7341
|
* {
|
|
7339
7342
|
* "model_id": "openai/gpt-5-codex",
|
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",
|