agentfootprint 7.22.1 → 7.24.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/README.md +34 -0
- package/ai-instructions/claude-code/SKILL.md +2 -1
- package/dist/core/agent/AgentBuilder.js +117 -1
- package/dist/core/agent/AgentBuilder.js.map +1 -1
- package/dist/core/agent/act.js +143 -0
- package/dist/core/agent/act.js.map +1 -0
- package/dist/core/agent/middleware/index.js +5 -0
- package/dist/core/agent/middleware/index.js.map +1 -1
- package/dist/core/agent/middleware/ledger.js +7 -0
- package/dist/core/agent/middleware/ledger.js.map +1 -1
- package/dist/core/agent/middleware/outcomes.js +9 -2
- package/dist/core/agent/middleware/outcomes.js.map +1 -1
- package/dist/core/agent/middleware/runChain.js +101 -3
- package/dist/core/agent/middleware/runChain.js.map +1 -1
- package/dist/core/agent/middleware/types.js +30 -0
- package/dist/core/agent/middleware/types.js.map +1 -1
- package/dist/core/agent/moments.js +53 -0
- package/dist/core/agent/moments.js.map +1 -0
- package/dist/core/agent/stages/toolCalls.js +139 -8
- package/dist/core/agent/stages/toolCalls.js.map +1 -1
- package/dist/core/tools.js.map +1 -1
- package/dist/esm/core/agent/AgentBuilder.d.ts +71 -0
- package/dist/esm/core/agent/AgentBuilder.js +117 -1
- package/dist/esm/core/agent/AgentBuilder.js.map +1 -1
- package/dist/esm/core/agent/act.d.ts +69 -0
- package/dist/esm/core/agent/act.js +139 -0
- package/dist/esm/core/agent/act.js.map +1 -0
- package/dist/esm/core/agent/middleware/index.d.ts +6 -1
- package/dist/esm/core/agent/middleware/index.js +5 -0
- package/dist/esm/core/agent/middleware/index.js.map +1 -1
- package/dist/esm/core/agent/middleware/ledger.d.ts +6 -0
- package/dist/esm/core/agent/middleware/ledger.js +7 -0
- package/dist/esm/core/agent/middleware/ledger.js.map +1 -1
- package/dist/esm/core/agent/middleware/outcomes.d.ts +15 -0
- package/dist/esm/core/agent/middleware/outcomes.js +9 -2
- package/dist/esm/core/agent/middleware/outcomes.js.map +1 -1
- package/dist/esm/core/agent/middleware/runChain.d.ts +49 -0
- package/dist/esm/core/agent/middleware/runChain.js +99 -2
- package/dist/esm/core/agent/middleware/runChain.js.map +1 -1
- package/dist/esm/core/agent/middleware/types.d.ts +144 -10
- package/dist/esm/core/agent/middleware/types.js +30 -0
- package/dist/esm/core/agent/middleware/types.js.map +1 -1
- package/dist/esm/core/agent/moments.d.ts +55 -0
- package/dist/esm/core/agent/moments.js +49 -0
- package/dist/esm/core/agent/moments.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls.d.ts +6 -1
- package/dist/esm/core/agent/stages/toolCalls.js +140 -9
- package/dist/esm/core/agent/stages/toolCalls.js.map +1 -1
- package/dist/esm/core/tools.d.ts +18 -0
- package/dist/esm/core/tools.js.map +1 -1
- package/dist/esm/events/payloads.d.ts +4 -0
- package/dist/esm/index.d.ts +3 -1
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/lib/mcp/index.d.ts +1 -1
- package/dist/esm/lib/mcp/mcpClient.js +104 -11
- package/dist/esm/lib/mcp/mcpClient.js.map +1 -1
- package/dist/esm/lib/mcp/mcpServe.js +31 -1
- package/dist/esm/lib/mcp/mcpServe.js.map +1 -1
- package/dist/esm/lib/mcp/mockMcpClient.js +4 -0
- package/dist/esm/lib/mcp/mockMcpClient.js.map +1 -1
- package/dist/esm/lib/mcp/types.d.ts +71 -7
- package/dist/esm/tool-providers/index.d.ts +1 -1
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/dist/lib/mcp/mcpClient.js +104 -11
- package/dist/lib/mcp/mcpClient.js.map +1 -1
- package/dist/lib/mcp/mcpServe.js +30 -0
- package/dist/lib/mcp/mcpServe.js.map +1 -1
- package/dist/lib/mcp/mockMcpClient.js +4 -0
- package/dist/lib/mcp/mockMcpClient.js.map +1 -1
- package/dist/types/core/agent/AgentBuilder.d.ts +71 -0
- package/dist/types/core/agent/AgentBuilder.d.ts.map +1 -1
- package/dist/types/core/agent/act.d.ts +70 -0
- package/dist/types/core/agent/act.d.ts.map +1 -0
- package/dist/types/core/agent/middleware/index.d.ts +6 -1
- package/dist/types/core/agent/middleware/index.d.ts.map +1 -1
- package/dist/types/core/agent/middleware/ledger.d.ts +6 -0
- package/dist/types/core/agent/middleware/ledger.d.ts.map +1 -1
- package/dist/types/core/agent/middleware/outcomes.d.ts +15 -0
- package/dist/types/core/agent/middleware/outcomes.d.ts.map +1 -1
- package/dist/types/core/agent/middleware/runChain.d.ts +49 -0
- package/dist/types/core/agent/middleware/runChain.d.ts.map +1 -1
- package/dist/types/core/agent/middleware/types.d.ts +144 -10
- package/dist/types/core/agent/middleware/types.d.ts.map +1 -1
- package/dist/types/core/agent/moments.d.ts +56 -0
- package/dist/types/core/agent/moments.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls.d.ts +6 -1
- package/dist/types/core/agent/stages/toolCalls.d.ts.map +1 -1
- package/dist/types/core/tools.d.ts +18 -0
- package/dist/types/core/tools.d.ts.map +1 -1
- package/dist/types/events/payloads.d.ts +4 -0
- package/dist/types/events/payloads.d.ts.map +1 -1
- package/dist/types/index.d.ts +3 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/mcp/index.d.ts +1 -1
- package/dist/types/lib/mcp/index.d.ts.map +1 -1
- package/dist/types/lib/mcp/mcpClient.d.ts.map +1 -1
- package/dist/types/lib/mcp/mcpServe.d.ts.map +1 -1
- package/dist/types/lib/mcp/types.d.ts +71 -7
- package/dist/types/lib/mcp/types.d.ts.map +1 -1
- package/dist/types/tool-providers/index.d.ts +1 -1
- package/dist/types/tool-providers/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -54,6 +54,42 @@ export interface McpHttpTransport {
|
|
|
54
54
|
readonly url: string;
|
|
55
55
|
/** Optional auth headers (e.g., `Authorization: Bearer ...`). */
|
|
56
56
|
readonly headers?: Readonly<Record<string, string>>;
|
|
57
|
+
/**
|
|
58
|
+
* Your own `fetch`, used for every request this transport makes —
|
|
59
|
+
* `initialize`, `tools/list`, `tools/call` and the SSE stream alike.
|
|
60
|
+
*
|
|
61
|
+
* It exists because some endpoints do not want a header, they want a
|
|
62
|
+
* **signature**: SigV4, DPoP, an HMAC over the body, a digest of the bytes
|
|
63
|
+
* about to be sent. None of those can be decided when the connection is
|
|
64
|
+
* built, because they are computed FROM the request — its method, its URL,
|
|
65
|
+
* its body. A header fixed at construction cannot express them.
|
|
66
|
+
*
|
|
67
|
+
* So this library does not implement any of them. It hands you the one hook
|
|
68
|
+
* the MCP SDK already has, and you sign in your own code: **zero vendor code
|
|
69
|
+
* lives here**, and a signing scheme this repo has never heard of works on
|
|
70
|
+
* the day you write it.
|
|
71
|
+
*
|
|
72
|
+
* ```ts
|
|
73
|
+
* transport: {
|
|
74
|
+
* transport: 'http',
|
|
75
|
+
* url: process.env.MCP_URL!,
|
|
76
|
+
* fetch: async (url, init) => {
|
|
77
|
+
* const headers = new Headers(init?.headers);
|
|
78
|
+
* headers.set('authorization', await sign(init?.method ?? 'GET', url, init?.body));
|
|
79
|
+
* return fetch(url, { ...init, headers });
|
|
80
|
+
* },
|
|
81
|
+
* }
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* Composes with {@link headers}: both are applied. The SDK merges the static
|
|
85
|
+
* headers into the `init.headers` your function receives, so you see them and
|
|
86
|
+
* have the last word — set the same header name and yours is what goes on the
|
|
87
|
+
* wire. Omit this and behaviour is byte-identical to before it existed.
|
|
88
|
+
*
|
|
89
|
+
* Whatever you set here is between you and the server: this library never
|
|
90
|
+
* reads, stores, logs or records the headers your function produces.
|
|
91
|
+
*/
|
|
92
|
+
readonly fetch?: (input: string | URL, init?: RequestInit) => Promise<Response>;
|
|
57
93
|
}
|
|
58
94
|
/**
|
|
59
95
|
* `gateway` transport — MCP over Streamable HTTP, with the auth headers vended
|
|
@@ -122,6 +158,11 @@ export interface McpClientOptions {
|
|
|
122
158
|
/**
|
|
123
159
|
* @internal Pre-built SDK client for tests. Skips SDK import +
|
|
124
160
|
* transport construction. Same convention as `AnthropicProvider._client`.
|
|
161
|
+
*
|
|
162
|
+
* Because it skips transport construction it also skips everything the
|
|
163
|
+
* transport carries — `headers`, `fetch`, a gateway's vending. Nothing about
|
|
164
|
+
* authentication can be proven through this seam, which is why the signing
|
|
165
|
+
* tests run against a real socket.
|
|
125
166
|
*/
|
|
126
167
|
readonly _client?: McpSdkClient;
|
|
127
168
|
}
|
|
@@ -179,15 +220,38 @@ export interface McpSdkClient {
|
|
|
179
220
|
readonly arguments?: Readonly<Record<string, unknown>>;
|
|
180
221
|
},
|
|
181
222
|
/** The SDK's result schema. We always want its default, so we pass `undefined`. */
|
|
182
|
-
resultSchema?: undefined, options?: McpRequestOptions): Promise<
|
|
183
|
-
readonly content: ReadonlyArray<{
|
|
184
|
-
readonly type: string;
|
|
185
|
-
readonly text?: string;
|
|
186
|
-
}>;
|
|
187
|
-
readonly isError?: boolean;
|
|
188
|
-
}>;
|
|
223
|
+
resultSchema?: undefined, options?: McpRequestOptions): Promise<McpCallToolResult>;
|
|
189
224
|
close(): Promise<void>;
|
|
190
225
|
}
|
|
226
|
+
/**
|
|
227
|
+
* What `tools/call` can answer with — **a union, because the protocol is one.**
|
|
228
|
+
*
|
|
229
|
+
* The current shape carries `content` blocks. The 2024-10-07 shape carries a
|
|
230
|
+
* bare `toolResult` and no `content` at all, and the SDK still accepts it: its
|
|
231
|
+
* own declared return type for `callTool` is exactly this union, and servers
|
|
232
|
+
* that predate the change are still running.
|
|
233
|
+
*
|
|
234
|
+
* It is spelled out here rather than narrowed away because a shim that promised
|
|
235
|
+
* only the `content` arm made `result.content.map(...)` compile against a value
|
|
236
|
+
* that can legitimately arrive without one. That failed two different ways,
|
|
237
|
+
* both invisible to a compiler reading the old shim: **a crash** where the raw
|
|
238
|
+
* legacy object reaches the reader (a caller-supplied `_client`, an SDK build
|
|
239
|
+
* that does not normalise), and **a silently empty answer** where the SDK's own
|
|
240
|
+
* result schema defaults `content` to `[]` beside the `toolResult` it could not
|
|
241
|
+
* express. The union is what makes handling both arms a compile-time obligation
|
|
242
|
+
* instead of a thing someone remembers.
|
|
243
|
+
*/
|
|
244
|
+
export type McpCallToolResult = {
|
|
245
|
+
readonly content: ReadonlyArray<{
|
|
246
|
+
readonly type: string;
|
|
247
|
+
readonly text?: string;
|
|
248
|
+
}>;
|
|
249
|
+
readonly isError?: boolean;
|
|
250
|
+
}
|
|
251
|
+
/** The 2024-10-07 arm. No `content`, and no `isError` — the shape predates it. */
|
|
252
|
+
| {
|
|
253
|
+
readonly toolResult: unknown;
|
|
254
|
+
};
|
|
191
255
|
/**
|
|
192
256
|
* The SDK's trailing per-request options argument, narrowed to the one
|
|
193
257
|
* field we forward from {@link McpClientOptions.signal}.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/mcp/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAIlE;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,iEAAiE;IACjE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,yCAAyC;IACzC,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC;;;;;;OAMG;IACH,QAAQ,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAChD,4CAA4C;IAC5C,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,SAAS,EAAE,MAAM,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AAc;IAC7B,iDAAiD;IACjD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,4EAA4E;IAC5E,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;IACtC;;;;;;;;;;;;;OAaG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;;;;;;;;OASG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CACxB;AAED;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IAC3B,iBAAiB,CACf,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,CAAC,OAAO,EAAE,kBAAkB,EAAE,KAAK,EAAE;QAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,CAAA;KAAE,KAAK,OAAO,GAC1F,IAAI,CAAC;IACR,OAAO,CAAC,SAAS,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3C,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CACxB;AAED;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,MAAM,CAAC,EAAE;QAChB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;KAC9B,CAAC;CACH"}
|
|
@@ -48,5 +48,5 @@ export { gatedTools } from './gatedTools.js';
|
|
|
48
48
|
export { skillScopedTools } from './skillScopedTools.js';
|
|
49
49
|
export type { ToolProvider, ToolDispatchContext, ToolGatePredicate } from './types.js';
|
|
50
50
|
export { mcpClient, mcpServe, mockMcpClient, gatewayTransport, GatewayAuthorizationRequiredError, } from '../lib/mcp/index.js';
|
|
51
|
-
export type { GatewayTransportOptions, McpClient, McpClientOptions, McpSdkClient, McpTransport, McpStdioTransport, McpHttpTransport, McpGatewayTransport, MockMcpClientOptions, MockMcpTool, McpServeOptions, McpServeHandle, McpServeTransport, McpStdioServeTransport, McpHttpServeTransport, McpSdkServer, } from '../lib/mcp/index.js';
|
|
51
|
+
export type { GatewayTransportOptions, McpCallToolResult, McpClient, McpClientOptions, McpSdkClient, McpTransport, McpStdioTransport, McpHttpTransport, McpGatewayTransport, MockMcpClientOptions, MockMcpTool, McpServeOptions, McpServeHandle, McpServeTransport, McpStdioServeTransport, McpHttpServeTransport, McpSdkServer, } from '../lib/mcp/index.js';
|
|
52
52
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tool-providers/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,YAAY,EAAE,YAAY,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAKvF,OAAO,EACL,SAAS,EACT,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,iCAAiC,GAClC,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,uBAAuB,EACvB,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,WAAW,EACX,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,sBAAsB,EACtB,qBAAqB,EACrB,YAAY,GACb,MAAM,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tool-providers/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,YAAY,EAAE,YAAY,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAKvF,OAAO,EACL,SAAS,EACT,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,iCAAiC,GAClC,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,uBAAuB,EACvB,iBAAiB,EACjB,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,WAAW,EACX,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,sBAAsB,EACtB,qBAAqB,EACrB,YAAY,GACb,MAAM,qBAAqB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentfootprint",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.24.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
|
"author": "Sanjay Krishna Anbalagan",
|