@botbotgo/agent-harness 0.0.222 → 0.0.223
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const AGENT_HARNESS_VERSION = "0.0.
|
|
1
|
+
export declare const AGENT_HARNESS_VERSION = "0.0.222";
|
package/dist/package-version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const AGENT_HARNESS_VERSION = "0.0.
|
|
1
|
+
export const AGENT_HARNESS_VERSION = "0.0.222";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createServer } from "node:http";
|
|
2
|
+
import { AGENT_HARNESS_VERSION } from "../../package-version.js";
|
|
2
3
|
const SUPPORTED_A2A_VERSIONS = ["1.0", "0.3"];
|
|
3
4
|
function normalizePath(value, fallback) {
|
|
4
5
|
const source = typeof value === "string" && value.trim().length > 0 ? value.trim() : fallback;
|
|
@@ -429,7 +430,7 @@ function buildAgentCard(runtime, options) {
|
|
|
429
430
|
return {
|
|
430
431
|
name: options.agentName,
|
|
431
432
|
description: options.agentDescription,
|
|
432
|
-
version:
|
|
433
|
+
version: AGENT_HARNESS_VERSION,
|
|
433
434
|
// Older JSON-RPC clients may still read these top-level fields; A2A v1.0 discovery uses `supportedInterfaces`.
|
|
434
435
|
protocolVersion: "1.0",
|
|
435
436
|
url: options.rpcUrl,
|