agentfootprint 9.67.0 → 9.68.0
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/adapters/hosting/a2aWire.js +172 -0
- package/dist/adapters/hosting/a2aWire.js.map +1 -0
- package/dist/adapters/hosting/agentCoreA2A.js +173 -0
- package/dist/adapters/hosting/agentCoreA2A.js.map +1 -0
- package/dist/esm/adapters/hosting/a2aWire.d.ts +110 -0
- package/dist/esm/adapters/hosting/a2aWire.js +166 -0
- package/dist/esm/adapters/hosting/a2aWire.js.map +1 -0
- package/dist/esm/adapters/hosting/agentCoreA2A.d.ts +95 -0
- package/dist/esm/adapters/hosting/agentCoreA2A.js +168 -0
- package/dist/esm/adapters/hosting/agentCoreA2A.js.map +1 -0
- package/dist/esm/hosting-providers.d.ts +19 -0
- package/dist/esm/hosting-providers.js +19 -0
- package/dist/esm/hosting-providers.js.map +1 -1
- package/dist/hosting-providers.js +35 -1
- package/dist/hosting-providers.js.map +1 -1
- package/dist/types/adapters/hosting/a2aWire.d.ts +111 -0
- package/dist/types/adapters/hosting/a2aWire.d.ts.map +1 -0
- package/dist/types/adapters/hosting/agentCoreA2A.d.ts +96 -0
- package/dist/types/adapters/hosting/agentCoreA2A.d.ts.map +1 -0
- package/dist/types/hosting-providers.d.ts +19 -0
- package/dist/types/hosting-providers.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -25,6 +25,21 @@
|
|
|
25
25
|
* idleMs: 900000 }` declared, session affinity readable from header or
|
|
26
26
|
* query, and a `Sec-WebSocket-Protocol` bearer mapped into
|
|
27
27
|
* `headers.authorization`.
|
|
28
|
+
* • `agentCoreA2AHost({ card, port?, hostname?, maxBodyBytes? })` — an
|
|
29
|
+
* `AgentHost` for AgentCore's **A2A** container contract, so OTHER AGENTS
|
|
30
|
+
* can call yours: JSON-RPC 2.0 at `POST /` on port 9000, the agent card at
|
|
31
|
+
* `/.well-known/agent-card.json`, `GET /ping` answering
|
|
32
|
+
* `{"status":"Healthy"}`, and the session read from
|
|
33
|
+
* `X-Amzn-Bedrock-AgentCore-Runtime-Session-Id`. It declares NO streaming
|
|
34
|
+
* capability and its card says `streaming: false`, because `message/send`
|
|
35
|
+
* has nowhere to put a chunk — the two agree on purpose. Errors carry a
|
|
36
|
+
* REAL HTTP status alongside the JSON-RPC error body (the platform's
|
|
37
|
+
* documented deviation from the A2A spec); `agentCoreA2AErrorCode` is the
|
|
38
|
+
* table, exported so a client shares it rather than keeping a copy.
|
|
39
|
+
* • `a2aWire({ card, health?, errorCodeFor? })` — the A2A PROTOCOL as an
|
|
40
|
+
* `HttpWire`, with no vendor in it, for the next runtime that speaks it.
|
|
41
|
+
* `a2aAgentCardDocument(card)` builds the discovery document on its own,
|
|
42
|
+
* for deployments that must serve it from somewhere else.
|
|
28
43
|
* • `foundryResponsesHost({ port?, hostname?, model?, maxBodyBytes? })` — an
|
|
29
44
|
* `AgentHost` for Microsoft Foundry's hosted-agent contract: `POST
|
|
30
45
|
* /responses`, a `HEAD` capability probe on the same path, `GET /readiness`
|
|
@@ -100,6 +115,10 @@
|
|
|
100
115
|
* symbols, one door. Import from the door.
|
|
101
116
|
*/
|
|
102
117
|
export { agentCoreRuntimeHost, agentCoreRuntimeWire, readAgentCoreConversation, agentCoreSessions, DEFAULT_SESSION_STORAGE_PATH, } from './adapters/hosting/agentcore.js';
|
|
118
|
+
export { agentCoreA2AHost, agentCoreA2AErrorCode, DEFAULT_AGENTCORE_A2A_PORT, AGENTCORE_A2A_INVOKE_PATH, AGENTCORE_PING_PATH, AGENTCORE_SESSION_HEADER, } from './adapters/hosting/agentCoreA2A.js';
|
|
119
|
+
export type { AgentCoreA2AHostOptions } from './adapters/hosting/agentCoreA2A.js';
|
|
120
|
+
export { a2aWire, a2aAgentCardDocument, readA2AMessageText, A2A_PROTOCOL_VERSION, A2A_AGENT_CARD_PATH, A2A_SEND_METHOD, JSONRPC_METHOD_NOT_FOUND, JSONRPC_INVALID_PARAMS, JSONRPC_INTERNAL_ERROR, } from './adapters/hosting/a2aWire.js';
|
|
121
|
+
export type { A2AWireOptions, A2AAgentCard, A2ASkill } from './adapters/hosting/a2aWire.js';
|
|
103
122
|
export { foundryResponsesHost, DEFAULT_FOUNDRY_PORT, FOUNDRY_INVOKE_PATH, FOUNDRY_READINESS_PATH, FOUNDRY_SESSION_FIELDS, } from './adapters/hosting/foundryResponses.js';
|
|
104
123
|
export type { FoundryResponsesHostOptions } from './adapters/hosting/foundryResponses.js';
|
|
105
124
|
export { responsesWire, readResponsesInput, readResponsesSession, DEFAULT_SESSION_FIELDS, PUBLIC_FAILURE_MESSAGE, } from './adapters/hosting/responsesWire.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hosting-providers.d.ts","sourceRoot":"","sources":["../../src/hosting-providers.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"hosting-providers.d.ts","sourceRoot":"","sources":["../../src/hosting-providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmHG;AAEH,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,yBAAyB,EACzB,iBAAiB,EACjB,4BAA4B,GAC7B,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,0BAA0B,EAC1B,yBAAyB,EACzB,mBAAmB,EACnB,wBAAwB,GACzB,MAAM,oCAAoC,CAAC;AAE5C,YAAY,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAIlF,OAAO,EACL,OAAO,EACP,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,eAAe,EACf,wBAAwB,EACxB,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,+BAA+B,CAAC;AAEvC,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAE5F,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,wCAAwC,CAAC;AAEhD,YAAY,EAAE,2BAA2B,EAAE,MAAM,wCAAwC,CAAC;AAM1F,OAAO,EACL,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,qCAAqC,CAAC;AAE7C,YAAY,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAEhF,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,yCAAyC,CAAC;AAEjD,YAAY,EACV,mBAAmB,EACnB,0BAA0B,GAC3B,MAAM,yCAAyC,CAAC;AAQjD,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAM1B,gBAAgB,EAChB,4BAA4B,EAC5B,4BAA4B,EAC5B,qBAAqB,EACrB,0BAA0B,GAC3B,MAAM,yCAAyC,CAAC;AAEjD,YAAY,EACV,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,EAClB,wBAAwB,EACxB,aAAa,EACb,uBAAuB,EACvB,kBAAkB,EAClB,0BAA0B,EAC1B,8BAA8B,EAC9B,6BAA6B,EAC7B,wBAAwB,GACzB,MAAM,yCAAyC,CAAC;AAEjD,YAAY,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,qBAAqB,EACrB,4BAA4B,EAC5B,8BAA8B,EAC9B,0BAA0B,EAC1B,qBAAqB,EACrB,gCAAgC,GACjC,MAAM,iCAAiC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentfootprint",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.68.0",
|
|
4
4
|
"description": "The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "commonjs",
|