@faithfulalabi/agent-lens 0.12.0 → 0.13.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.
|
@@ -236,8 +236,14 @@ export function runPipeline(lines, ctx) {
|
|
|
236
236
|
continue;
|
|
237
237
|
}
|
|
238
238
|
for (const [blockIndex, block] of blocks.entries()) {
|
|
239
|
-
if (block.kind !== 'tool_result')
|
|
239
|
+
if (block.kind !== 'tool_result') {
|
|
240
240
|
emit(block, blockIndex);
|
|
241
|
+
continue;
|
|
242
|
+
}
|
|
243
|
+
for (const child of block.children) {
|
|
244
|
+
if (child.kind === 'unknown_block')
|
|
245
|
+
ctx.drift.noteUnknownBlock(child.raw_type);
|
|
246
|
+
}
|
|
241
247
|
}
|
|
242
248
|
}
|
|
243
249
|
const eventsOf = new Map();
|
|
@@ -54,6 +54,9 @@ const LINE_TYPES = new Map([
|
|
|
54
54
|
'wireIngestContext',
|
|
55
55
|
'apiErrorStatus',
|
|
56
56
|
'quotaLimits',
|
|
57
|
+
'requestedModel',
|
|
58
|
+
'thinkingDisplay',
|
|
59
|
+
'thinkingDurationMs',
|
|
57
60
|
]),
|
|
58
61
|
},
|
|
59
62
|
],
|
|
@@ -82,6 +85,8 @@ const LINE_TYPES = new Map([
|
|
|
82
85
|
'queueSkipAttachments',
|
|
83
86
|
'turnPosition',
|
|
84
87
|
'turnCompanion',
|
|
88
|
+
'interruptedMessageId',
|
|
89
|
+
'classifierBoundary',
|
|
85
90
|
]),
|
|
86
91
|
},
|
|
87
92
|
],
|
|
@@ -169,7 +174,16 @@ const LINE_TYPES = new Map([
|
|
|
169
174
|
'queue-operation',
|
|
170
175
|
{
|
|
171
176
|
kind: 'queue-operation',
|
|
172
|
-
knownFields: fields([
|
|
177
|
+
knownFields: fields([
|
|
178
|
+
'type',
|
|
179
|
+
'operation',
|
|
180
|
+
'content',
|
|
181
|
+
'timestamp',
|
|
182
|
+
'sessionId',
|
|
183
|
+
'reason',
|
|
184
|
+
'commandUuid',
|
|
185
|
+
'deliveryId',
|
|
186
|
+
]),
|
|
173
187
|
},
|
|
174
188
|
],
|
|
175
189
|
[
|
|
@@ -215,6 +229,13 @@ const LINE_TYPES = new Map([
|
|
|
215
229
|
]),
|
|
216
230
|
},
|
|
217
231
|
],
|
|
232
|
+
[
|
|
233
|
+
'bridge-session',
|
|
234
|
+
{
|
|
235
|
+
kind: 'bridge-session',
|
|
236
|
+
knownFields: fields(['type', 'bridgeSessionId', 'lastSequenceNum', 'sessionId']),
|
|
237
|
+
},
|
|
238
|
+
],
|
|
218
239
|
]);
|
|
219
240
|
const EMPTY_RECORD = Object.freeze({});
|
|
220
241
|
function rawTypeKey(value) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const PROJECTOR_VERSION =
|
|
1
|
+
export const PROJECTOR_VERSION = 19;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faithfulalabi/agent-lens",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Local-first agentic tracing platform: inspect everything your agent did in a session.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,6 +38,8 @@
|
|
|
38
38
|
"dev": "tsx src/dev/server.ts",
|
|
39
39
|
"dev:ui": "npm --prefix ui run dev",
|
|
40
40
|
"render-gate": "tsx src/render-gate/index.ts",
|
|
41
|
+
"shapes:census": "node scripts/shapes-census.mjs",
|
|
42
|
+
"shapes:diff": "node --import tsx scripts/shapes-diff.ts",
|
|
41
43
|
"demo:capture": "node --import tsx scripts/capture-screenshots.mjs",
|
|
42
44
|
"test": "vitest run",
|
|
43
45
|
"typecheck": "tsc -p tsconfig.node.json --noEmit && npm --prefix ui run typecheck",
|