agentfootprint 15.0.0-rc.0 → 15.0.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 +1 -1
- package/package.json +2 -2
package/CAPABILITIES.md
CHANGED
|
@@ -181,7 +181,7 @@ not in this table, search `src/index.ts` for the nearest noun before writing cod
|
|
|
181
181
|
| subscribing to every event in one domain at once | `DomainWildcard` | `src/events/dispatcher.ts` | 9.4.0 |
|
|
182
182
|
| pausing a run for a person and resuming it later | `checkInApproved` / `checkInDeclined` (`{ request, by, note?, value? }`; a decline is NOT an abort — the model gets a "declined by human" tool result and adapts in-loop) | `src/core/checkin.ts` | 7.5.0 |
|
|
183
183
|
| a person's approval used ONCE, for the exact call they were shown — refused for another paused request (a later pause of the run, a parallel sibling, another conversation), for a checkpoint whose call changed after the ask, for an ask whose later rules changed or whose arguments a later rule rewrote, or on a second resume; once per ledger — one per process by default, one shared store across processes; every pre-execute callback and event (a `checkIn` predicate, the evidence assembler, the permission checker, `tool_start`, and the history they are handed) sees one shared frozen copy of the arguments (its own copy when they hold a `Map`, `Set`, `Date` or typed array), never the ones the tool runs with, and an approved call is held to its request again at `execute`; a closed pause's call is recorded as not run only when the ledger the request was minted under spends it (a tombstone, so nothing can run it later), else as possibly run — proof needs a shared ledger with a `storeId` (unique per backing store, never copied across environments, changed on migration) and a permanent `spend` across processes, and a retried close keeps its verdict (`closed-proven:` marker; a late answer is refused `'closed-by-host'`; a decision is spent only in the proving ledger its request was minted under — `'ledger-changed'` otherwise, so a ledger migration means pending approvals are asked again); this process's default ledger proves only for pauses kept in `memorySessions()`, a restart never; switching ledgers leaves earlier pauses unprovable | `CheckInRequest.id` / `MiddlewareAsk.id` (the request id, bound to the call) + `CheckInDecision.requestId` + `ResumeDecisionError` (`reason`) + `Agent.create({ decisionLedger })` / `DecisionLedger` / `inMemoryDecisionLedger` | `src/core/consentRequest.ts` | 11.0.0 |
|
|
184
|
-
| telling the person asked to approve a call which argument values the tool's view hides from them, binding that list to the approval, and recording that the decision was given without seeing them — names only, the library's reading of the view (a real `'REDACTED'` value is not listed); the built-in `willDo` ends with ``Values hidden from this view: `<name>`. The call runs with the real values.``; the list is part of the request id and kept with the pause; a resumed tool whose view hides another set is refused (`'view-changed'`); a pause stored before the list existed records `'not-recorded'`; the AG-UI adapter streams the view's output, not the values, with the names on `metadata.agentfootprint.hiddenArgs`; the call still runs with the real values | `CheckInRequest.hiddenArgs` + `CheckInAssemblerInput.hiddenArgs` + `CheckInDecisionPayload.hiddenArgs` (`checkin.decision`) + `CheckInDecisionRecord.hiddenArgs` (`CheckInRecorder`) + `ToolStartPayload.shownArgs` / `.hiddenArgs` + `ResumeDecisionRefusal` `'view-changed'` + `AgUiAddress.hiddenArgs` | `src/core/checkin.ts` |
|
|
184
|
+
| telling the person asked to approve a call which argument values the tool's view hides from them, binding that list to the approval, and recording that the decision was given without seeing them — names only, the library's reading of the view (a real `'REDACTED'` value is not listed); the built-in `willDo` ends with ``Values hidden from this view: `<name>`. The call runs with the real values.``; the list is part of the request id and kept with the pause; a resumed tool whose view hides another set is refused (`'view-changed'`); a pause stored before the list existed records `'not-recorded'`; the AG-UI adapter streams the view's output, not the values, with the names on `metadata.agentfootprint.hiddenArgs`; the call still runs with the real values | `CheckInRequest.hiddenArgs` + `CheckInAssemblerInput.hiddenArgs` + `CheckInDecisionPayload.hiddenArgs` (`checkin.decision`) + `CheckInDecisionRecord.hiddenArgs` (`CheckInRecorder`) + `ToolStartPayload.shownArgs` / `.hiddenArgs` + `ResumeDecisionRefusal` `'view-changed'` + `AgUiAddress.hiddenArgs` | `src/core/checkin.ts` | 15.0.0 |
|
|
185
185
|
| refusing unserved, ambiguous, malformed or known not-dispatched findings citations before host callbacks and tool execution, with request-local accepted-attempt evidence, bounded diagnostics and JSON-answer admission; no additional model call or cache-layout change | `captureFindingsRequest` + `findingsReferenceRefusal` (internal; enabled by `.findings()`) | `src/core/agent/findings/admission.ts` | 10.9.0 |
|
|
186
186
|
| a SECOND source judging every tool result — a calibrated classifier asked what a result is worth for the declared proposition (never why the tool was called), its distribution and cost on the record beside the model's own standing, never merged, never served in its place (policy A) | `.findings({ judge })` + `Classifier` / `typesafe` / `mockClassifier` (`agentfootprint/classify`) + `JudgmentRow` / `JudgmentErrorRow` + `classifierScorer` (the scored entry choice, `agentfootprint/skill-graph`) | `src/classify/` | 9.104.0 |
|
|
187
187
|
| a classifier's reading of WHICH TOOL beside every model call — the ranking, the pick and the cost on the record before the call, the model's call and the agreement after it; optionally the served list narrowed to the top-N plus the doors, on the committed record the receipt hashes and the served view rebuilds; a miss recorded and the full wire served next call, never a refusal, never an override | `.toolChoice({ classifier, serve, alwaysServe })` + `ToolChoiceRow` + `ToolChoiceOutcomeRow` + `ToolChoiceErrorRow` + `ALWAYS_SERVED_TOOLS` + `recordToolChoice` + `narrowServed` (events `agentfootprint.tool_choice.*`, bench `npm run bench:tool-choice`) | `src/core/agent/toolChoice/` | 9.105.0 |
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentfootprint",
|
|
3
|
-
"version": "15.0.0
|
|
4
|
-
"description": "The explainable agent framework
|
|
3
|
+
"version": "15.0.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",
|