agentfootprint 14.6.0-rc.1 → 14.6.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/CAPABILITIES.md +4 -4
- package/package.json +2 -2
package/CAPABILITIES.md
CHANGED
|
@@ -40,8 +40,8 @@ not in this table, search `src/index.ts` for the nearest noun before writing cod
|
|
|
40
40
|
| calling an MCP server somebody deployed TO AWS Bedrock AgentCore Runtime (`--protocol MCP`) — through `InvokeAgentRuntime` with SigV4, or a bearer token over the documented HTTPS endpoint (the SDK has no bearer scheme); a fresh runtime session per call by default (`'per-call'` carries no session id, so one client can serve every user) or one per client (`'reuse'` keys each client's connection — its `runtimeSessionId` and the server's `Mcp-Session-Id` — by a handle the transport issues); what the MCP client reads of a failure rewritten from fixed sentences and safe ids (status, a plain error type, a JSON-RPC code), never the service's text (which can quote the signed request); a bearer token vended as a machine token only; the runtime's "Session operation in progress" refusal (JSON-RPC -32005 inside an HTTP 200, which MCP clients never retry; or the API's 409 `RetryableConflictException`) retried with bounded backoff by the SAME loop as the 429 retry, one small decision function — and nothing else re-sent: the SDK client's own retry is off, so a 5xx or a dropped connection is never replayed | `agentCoreRuntimeMcpTransport` + `agentCoreRuntimeUrl` + `AGENTCORE_RUNTIME_SESSION_HEADER` (`agentfootprint/providers`) | `src/adapters/mcp/agentcoreRuntime/` | 10.4.0 |
|
|
41
41
|
| bundling an app that speaks MCP (esbuild, webpack, a Lambda zip without `node_modules`) — the MCP and AWS SDKs load through a lazy `require` a bundler cannot follow, so the caller hands over the modules it imported statically | `mcpClient({ sdk: { Client, StreamableHTTPClientTransport } })` · `agentCoreRuntimeMcpTransport({ sdk })` (SigV4 only; `_sdk` = the older name, both-different refused, `sdk` beside `{ bearer }` refused); a missing or wrong SDK is refused when the client/transport is BUILT, in words naming `sdk`, never at the first tool call. Docs: mcp-client "Bundling (esbuild, webpack)". Fenced by `test/mcp/bundling.test.ts` | `src/mcp/` | 10.5.0 |
|
|
42
42
|
| serving agents to AG-UI frontends (CopilotKit, the AG-UI Dojo, an `@ag-ui/client` app) from any framework with no glue code — POST a `RunAgentInput`, stream AG-UI events back; the request is untrusted browser input: only the newest user message is conversation (the page's copy is never read), a system/developer message refused, an answer taken only for the pause the server keeps, frontend tools only by the app's name allow-list with its own contract (they run in the page, no server privilege), `state`/`context` only through the app's validators, no identity/credential/redaction from a request; a fresh runner per request, the thread bound to the caller the app authenticates, the conversation and paused runs kept server-side, one turn per thread, door guard, body ceiling, SSE keep-alive | `streamHandler` + `ProtocolAdapter` + `verifiedThreads` (`agentfootprint/hosting`) + `agUi` (`agentfootprint/ag-ui`) | `src/hosting/streamHandler.ts` | 10.4.0 |
|
|
43
|
-
| restoring application context from retained source metadata during an admitted turn, without rows, scalar values or a fabricated tool call; fresh preparation admission, current producer and native permission checks, bounded paging, cancellation and a capability revoked before execution | `RunTurn.sourceEvidence.recent` + `SourceEvidencePreparation` / `SourceEvidencePreparationContext` / `SourceEvidenceMetadata` / `SourceEvidenceRecentArgs` / `SourceEvidenceRecentResult`; opt in with `sourceEvidence({ preparation: { admit } })` | `src/core/agent/sourceEvidence/preparation.ts` |
|
|
44
|
-
| serving AG-UI beside an existing JSON wire through one standing conversation owner, with a bounded per-session agent pool, shared identity/admission/lane/checkpoints, request-local served-event translation, explicit host-authorized terminal/custom delivery and bounded output; per-request frontend tools are explicitly unsupported in pooled mode | `protocolRoute` + `HttpProtocolRoute` + `ProtocolRouteOptions` (`agentfootprint/hosting`), `httpHost({ protocols })`; optional `agUi({ toolArguments, toolResults })` served-value projections | `src/hosting/protocolRoute.ts` |
|
|
43
|
+
| restoring application context from retained source metadata during an admitted turn, without rows, scalar values or a fabricated tool call; fresh preparation admission, current producer and native permission checks, bounded paging, cancellation and a capability revoked before execution | `RunTurn.sourceEvidence.recent` + `SourceEvidencePreparation` / `SourceEvidencePreparationContext` / `SourceEvidenceMetadata` / `SourceEvidenceRecentArgs` / `SourceEvidenceRecentResult`; opt in with `sourceEvidence({ preparation: { admit } })` | `src/core/agent/sourceEvidence/preparation.ts` | 14.6.0 |
|
|
44
|
+
| serving AG-UI beside an existing JSON wire through one standing conversation owner, with a bounded per-session agent pool, shared identity/admission/lane/checkpoints, request-local served-event translation, explicit host-authorized terminal/custom delivery and bounded output; per-request frontend tools are explicitly unsupported in pooled mode | `protocolRoute` + `HttpProtocolRoute` + `ProtocolRouteOptions` (`agentfootprint/hosting`), `httpHost({ protocols })`; optional `agUi({ toolArguments, toolResults })` served-value projections | `src/hosting/protocolRoute.ts` | 14.6.0 |
|
|
45
45
|
| serving an agent behind a GATEWAY that speaks AG-UI in its own request body and its own output envelope (`{"eventType":"…Event","event":{…,"eventSequence":n}}`) — `agUi()` as three replaceable strategies: a reader (the gateway's body → the turn), the translation (AG-UI vocabulary, unchanged) and the framing (the envelope; each frame's number in its own stream handed in by the host, never a shared counter); every untrusted-input rule stays in the core whichever reader ran (shape and ids, no system/developer message, frontend tools by allow-list, state/context by validators, answers only for the kept pause; each value read once) | `agUi({ reader, translation, framing })` + `AgUiRequestReader` / `AgUiTurnRequest` / `AgUiTranslationStrategy` (`agentfootprint/ag-ui`), `SseFraming.frame(event, { sequence })` + `SseFramePosition` (`agentfootprint/observe`) | `src/ag-ui/adapter.ts` | 10.5.0 |
|
|
46
46
|
| checking forced tool choice per model without changing the existing boolean wire declaration; explicit requests refuse before transport, classifiers keep their strict parse alternative, wrappers preserve and fallback pairs intersect | `LLMProvider.supportsForcedToolChoice` + `forcedToolChoiceFor` + `UnsupportedToolChoiceError` (`agentfootprint/providers`) | `src/provider-contract/forcedToolChoice.ts` | 10.1.0 |
|
|
47
47
|
| a typed answer constrained by the PROVIDER'S OWN structured output instead of asked for in prose — the schema sent as Anthropic's `output_config.format`, the agent keeping its tools; one function builds the API-compatible wire copy (objects closed, unsupported constraints moved into the description, recursion / external `$ref` / complex enums / open values / open-keyed maps refused at build by node), the parser still judges; explicit-native per-model capability with unknown ids read as the newest generation, refused by name at run start and before transport; a `'refusal'` / `'max_tokens'` stop fails the attempt by name even when it parses; `_findings` allowed on the format when the ledger is armed | `.outputSchema(parser, { strategy: 'native', jsonSchema })` + `LLMProvider.carriesNativeOutputSchema` / `supportsNativeOutputSchema` + `nativeOutputSchemaFor` + `UnsupportedNativeOutputError` (`agentfootprint/providers`) + `answerGuarantee: 'native'` + `OutputAttempt.stopReason` | `src/provider-contract/nativeOutputSchema.ts` | 10.3.0 |
|
|
@@ -93,7 +93,7 @@ not in this table, search `src/index.ts` for the nearest noun before writing cod
|
|
|
93
93
|
| naming your own branches and nodes — which prefix is reserved, and telling framework plumbing from consumer structure in a trace | `RESERVED_SUBFLOW_PREFIX` + `isReservedSubflowSegment` | `src/lib/conventions.ts` | 9.49.0 |
|
|
94
94
|
| keeping a large tool result out of the model's context | `artifacts` (bare store, or `{ store, placement: { maxInlineChars }, recordings }` — `placement` omitted ⇒ never placed; `recordings: true` / `{ label }`, default off) + `wants` + `placement` | `src/artifacts/` | 9.21.0 |
|
|
95
95
|
| opening selected JSON from a host-admitted artifact without loading its whole payload into model context | `artifactDetailTool` + `ArtifactDetailError` — fresh host admission per call, small values, paginated child actions, whole-scalar omission and bounded context; no automatic store access, source read or claim authorization | `src/tools/artifactDetailTool.ts` | 10.7.0 |
|
|
96
|
-
| retaining an exact historical source association across native continuation or window trimming, then finding and reading bounded permitted values under fresh host admission | `withSourceEvidence` + `AgentBuilder.sourceEvidence` + native `find_source_evidence` / `read_source_evidence`; explicit producer scope/fields, existing scoped artifacts, bounded reference-only checkpoint carrier, preserved status/coverage and current capability checks; no refresh or answer-completeness guarantee | `src/` |
|
|
96
|
+
| retaining an exact historical source association across native continuation or window trimming, then finding and reading bounded permitted values under fresh host admission | `withSourceEvidence` + `AgentBuilder.sourceEvidence` + native `find_source_evidence` / `read_source_evidence`; explicit producer scope/fields, existing scoped artifacts, bounded reference-only checkpoint carrier, preserved status/coverage and current capability checks; no refresh or answer-completeness guarantee | `src/` | 14.6.0 |
|
|
97
97
|
| the ticket placement just minted being REFUSED by your own `wants` argument as a kind mismatch — because the mint says `tool-result/<toolName>` and your consumer says `dataset/rows` | `Tool.resultKind` + `placedResultKind(toolName, declared?)` (the mint speaks the consumer's vocabulary; the exact-match matcher is untouched) | `src/artifacts/placement.ts` | 9.70.0 |
|
|
98
98
|
| a viewer guessing which column of a dataset is time (epoch seconds under `ts`, wall-clock strings, a `bucket` column) and opening a series as a table | `timeAxis` on `PutArtifactInput` / `ArtifactMeta` (column · `'iso'`/`'epoch-s'`/`'epoch-ms'` · zone · interval · aggregate) + `readTimeAxis` + `describeTimeAxis` + `timeAxisIssues` (judged at mint, never repaired) | `src/time/axis.ts` | 9.128.0 |
|
|
99
99
|
| a chart or check comparing a dataset's time values as spellings — epoch seconds beside ISO strings, `+02:00` beside `Z`, a wall-clock string with no offset silently read as UTC, two `01:30` rows in the hour the clocks go back; a READ-SIDE view (the stored rows are never rewritten): UTC instants at one precision, sorted, each with its row; an offset-less value under a zone-less axis is counted (`status: 'naive-values'`) or refused (`naive: 'refuse'`), never read as UTC; a fall-back wall time placed by row order and noted, else counted `dstAmbiguous`; a skipped one `dstGap` (the axis is re-exported from `src/artifacts/`) | `normaliseInstants` + `NormalisedAxis` | `src/time/axis.ts` | 9.129.0 |
|
|
@@ -166,7 +166,7 @@ not in this table, search `src/index.ts` for the nearest noun before writing cod
|
|
|
166
166
|
| signing people in through the company's identity provider in the browser (OIDC authorization code + PKCE) — PENDING INDEPENDENT REVIEW: a sealed per-attempt transaction cookie (nothing on the server), `returnTo` pinned to the public origin, the person read from an ACCESS token by the strategy's own verify (one id for browser and bearer), private-key or secret client authentication, AD FS `resource`, 303 with no-referrer, end-session | `oidcSignIn` + `signInDoor({ redirect })` + `safeReturnTo` + `IDENTITY_CLIENT_ID` / `IDENTITY_CLIENT_KEY_FILE` / `IDENTITY_PKCE` (`identityFromConfig` → mode `redirect`) | `src/adapters/identity/oidcSignIn.ts` | 9.117.0 |
|
|
167
167
|
| signing people in with their Windows password against plain Active Directory (no federation server) — LDAPS only, the empty password refused before the bind, RFC 4532 Who-am-I then exactly one entry (the rename collision closed), the id = objectGUID, a nested required group, one answer for every wrong credential, limits from AD's lockout threshold (a third per ACCOUNT via `PasswordChecker.budgetKey`, reset from the LAST failure; threshold 1–2 refused unless overridden), the MFA bypass stated — PENDING INDEPENDENT REVIEW | `directoryPasswords` + `ldapDirectory` + `IDENTITY_STRATEGY=directory-password` (`IDENTITY_LDAP_*`) | `src/adapters/identity/directory/` | 9.117.0 |
|
|
168
168
|
| labelling a password sign-in form for the password it takes — "Windows username" for the company directory, "Username" for a local list — from the door's own answer, not a guess: `GET /auth/config` adds `passwordKind` (`'directory'` or `'local'`) beside `mode: 'password'`, the checker's declared `kind` (`directoryPasswords` declares `'directory'`, `localPasswords` `'local'`); a fact, the words stay the page's; no key when the checker declares none | `PasswordKind` + `PasswordChecker` (its `kind`) | `src/hosting/signin/door.ts` | 9.118.0 |
|
|
169
|
-
| admitting a directory user through any one of several access groups with one bind and one escaped membership search; empty group lists refuse construction | `directoryPasswords` | `src/adapters/identity/directory/` |
|
|
169
|
+
| admitting a directory user through any one of several access groups with one bind and one escaped membership search; empty group lists refuse construction | `directoryPasswords` | `src/adapters/identity/directory/` | 14.6.0 |
|
|
170
170
|
| an audit trail of every sign-in — who tried, from which address, when, and why it was refused (AD's bind sub-code and its name on `directory-password`), success included; one JSON log line per outcome with no code, a typed sink for your own store; never a password, cookie or token | `signInDoor({ onAudit, log })` + `SignInAuditRecord` + `PasswordChecker.check`'s `note` + `adSubCodeName` + `identityFromConfig(…, { onSignInAudit, signInLog })` | `src/hosting/signin/audit.ts` | 9.135.0 |
|
|
171
171
|
| trusting a DC certificate a PUBLIC CA issued, from Node's own store instead of a CA file (explicit, never unset-means-system), and refusing — not only delaying — a client address after N failed sign-ins, opt-in | `systemCa` + `IDENTITY_LDAP_CA_FILE=system` + `refuseAddressAfter` + `IDENTITY_SIGN_IN_ADDRESS_REFUSE_AFTER` | `src/adapters/identity/directory/ldapDirectory.ts` | 9.135.0 |
|
|
172
172
|
| trusting a company login proxy (oauth2-proxy, mod_auth_openidc, Pomerium) only as far as the signed ACCESS token it forwards — verified with a literal issuer and a JWKS URL (no discovery, no redirects), the person test and the proxy's client check; an ID token refused; the door guard required because the proxy's cookie rides along on forged requests | `proxyTokenChoice` + `IDENTITY_PROXY_TOKEN` + `IDENTITY_PROXY_HEADER` (strategy `proxy-token` of `identityFromConfig`, mode `proxy`) | `src/adapters/identity/strategies/proxyChoice.ts` | 9.117.0 |
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentfootprint",
|
|
3
|
-
"version": "14.6.0
|
|
4
|
-
"description": "The explainable agent framework
|
|
3
|
+
"version": "14.6.0",
|
|
4
|
+
"description": "The explainable agent framework \u2014 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",
|
|
7
7
|
"author": "Sanjay Krishna Anbalagan",
|