agentfootprint-lens 0.24.0 → 0.26.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 +16 -0
- package/dist/{chunk-IEXY5QAK.js → chunk-GIYBC66K.js} +13 -4
- package/dist/chunk-GIYBC66K.js.map +1 -0
- package/dist/core.cjs +21 -9
- package/dist/core.cjs.map +1 -1
- package/dist/core.d.cts +3 -1
- package/dist/core.d.ts +3 -1
- package/dist/core.js +3 -1
- package/dist/{index-s0_b2QTu.d.cts → index-DTM1MBr5.d.cts} +45 -3
- package/dist/{index-s0_b2QTu.d.ts → index-DTM1MBr5.d.ts} +45 -3
- package/dist/index.cjs +28 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-IEXY5QAK.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# agentfootprint-lens
|
|
2
2
|
|
|
3
|
+
_Part of the **[footprintjs ecosystem](https://footprintjs.github.io/)** — the self-explaining stack._
|
|
4
|
+
|
|
3
5
|
> **See the context engineering as it happens.**
|
|
4
6
|
>
|
|
5
7
|
> React components for watching agents built on [`agentfootprint`](https://www.npmjs.com/package/agentfootprint). Every injection into the Agent's slots (RAG, Memory, Skills, Instructions, Tools) is tagged inline — students and engineers see exactly what was put into the prompt, by whom, on which iteration. No hidden abstractions.
|
|
@@ -296,6 +298,20 @@ This is the observer pattern, applied consistently across every agentfootprint r
|
|
|
296
298
|
|
|
297
299
|
---
|
|
298
300
|
|
|
301
|
+
## The footprintjs ecosystem
|
|
302
|
+
|
|
303
|
+
The self-explaining stack — from backend pipelines to AI agents. → **[overview](https://footprintjs.github.io/)**
|
|
304
|
+
|
|
305
|
+
| Project | Role |
|
|
306
|
+
|---|---|
|
|
307
|
+
| [footprintjs](https://footprintjs.github.io/footPrint/) | the flowchart pattern (core engine) |
|
|
308
|
+
| [agentfootprint](https://footprintjs.github.io/agentfootprint/) | build self-explaining AI agents |
|
|
309
|
+
| [Explainable UI](https://footprintjs.github.io/explainable-ui/) | visualize a footprintjs run |
|
|
310
|
+
| **Lens** ← you are here | debug an agentfootprint run |
|
|
311
|
+
| [Thinking UI](https://footprintjs.github.io/agentThinkingUI/) | replay an agent run for non-devs |
|
|
312
|
+
|
|
313
|
+
---
|
|
314
|
+
|
|
299
315
|
## License
|
|
300
316
|
|
|
301
317
|
MIT
|
|
@@ -5,9 +5,7 @@ import {
|
|
|
5
5
|
// src/core/LensRecorder.ts
|
|
6
6
|
import { isDevMode } from "footprintjs";
|
|
7
7
|
import { SequenceStore } from "footprintjs/trace";
|
|
8
|
-
import {
|
|
9
|
-
ALL_EVENT_TYPES
|
|
10
|
-
} from "agentfootprint";
|
|
8
|
+
import { ALL_EVENT_TYPES } from "agentfootprint/events";
|
|
11
9
|
import { LiveStateRecorder, BoundaryRecorder } from "agentfootprint/observe";
|
|
12
10
|
import {
|
|
13
11
|
createTraceRuntimeOverlay
|
|
@@ -2284,6 +2282,16 @@ function expandSubflowInternals(subflows) {
|
|
|
2284
2282
|
return { nodes, edges };
|
|
2285
2283
|
}
|
|
2286
2284
|
|
|
2285
|
+
// src/core/explainableShellProps.ts
|
|
2286
|
+
function explainableShellPropsFromRunner(agent, recorder) {
|
|
2287
|
+
return {
|
|
2288
|
+
runtimeSnapshot: agent.getLastSnapshot() ?? null,
|
|
2289
|
+
narrativeEntries: [...agent.getLastNarrativeEntries()],
|
|
2290
|
+
traceGraph: structureGraphFromRunner(agent),
|
|
2291
|
+
runtimeOverlay: recorder.runtime.getOverlay()
|
|
2292
|
+
};
|
|
2293
|
+
}
|
|
2294
|
+
|
|
2287
2295
|
// src/core/render/toReactFlow.ts
|
|
2288
2296
|
var DEFAULT_STAGE_SIZE = { width: 180, height: 56 };
|
|
2289
2297
|
var DEFAULT_GROUP_SIZE = { width: 260, height: 120 };
|
|
@@ -2516,8 +2524,9 @@ export {
|
|
|
2516
2524
|
lensGroupTranslator,
|
|
2517
2525
|
structureGraphFromRunner,
|
|
2518
2526
|
structureGraphFromSpec,
|
|
2527
|
+
explainableShellPropsFromRunner,
|
|
2519
2528
|
toReactFlow,
|
|
2520
2529
|
defaultSize,
|
|
2521
2530
|
layoutLensGraph
|
|
2522
2531
|
};
|
|
2523
|
-
//# sourceMappingURL=chunk-
|
|
2532
|
+
//# sourceMappingURL=chunk-GIYBC66K.js.map
|