agentfootprint-lens 0.23.8 → 0.23.9
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/dist/index.cjs +41 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +41 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3157,7 +3157,8 @@ var TimeTravel = ({
|
|
|
3157
3157
|
focusSeq,
|
|
3158
3158
|
onFocusChange,
|
|
3159
3159
|
isLive,
|
|
3160
|
-
compact
|
|
3160
|
+
compact,
|
|
3161
|
+
stepStrip = true
|
|
3161
3162
|
}) => {
|
|
3162
3163
|
const max = Math.max(0, total - 1);
|
|
3163
3164
|
const step = (delta) => {
|
|
@@ -3237,7 +3238,40 @@ var TimeTravel = ({
|
|
|
3237
3238
|
children: isLive ? "\u25CF Live" : "\u27F3 Live"
|
|
3238
3239
|
}
|
|
3239
3240
|
),
|
|
3240
|
-
compact ?
|
|
3241
|
+
compact ? stepStrip && total > 1 ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
3242
|
+
"div",
|
|
3243
|
+
{
|
|
3244
|
+
role: "group",
|
|
3245
|
+
"aria-label": "Steps",
|
|
3246
|
+
style: { flex: 1, display: "flex", alignItems: "center", gap: 2, minWidth: 120, padding: "0 4px" },
|
|
3247
|
+
children: Array.from({ length: total }, (_, i) => {
|
|
3248
|
+
const done = i < focusSeq;
|
|
3249
|
+
const here = i === focusSeq;
|
|
3250
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
3251
|
+
"button",
|
|
3252
|
+
{
|
|
3253
|
+
onClick: () => onFocusChange(i),
|
|
3254
|
+
disabled,
|
|
3255
|
+
title: `Step ${i + 1} / ${total}`,
|
|
3256
|
+
"aria-label": `Go to step ${i + 1}`,
|
|
3257
|
+
"aria-current": here ? "step" : void 0,
|
|
3258
|
+
style: {
|
|
3259
|
+
flex: 1,
|
|
3260
|
+
minWidth: 3,
|
|
3261
|
+
height: here ? 16 : 9,
|
|
3262
|
+
padding: 0,
|
|
3263
|
+
border: "none",
|
|
3264
|
+
borderRadius: 3,
|
|
3265
|
+
cursor: disabled ? "default" : "pointer",
|
|
3266
|
+
background: here ? T.warning : done ? T.success : T.border,
|
|
3267
|
+
transition: "height 0.12s ease, background 0.12s ease"
|
|
3268
|
+
}
|
|
3269
|
+
},
|
|
3270
|
+
i
|
|
3271
|
+
);
|
|
3272
|
+
})
|
|
3273
|
+
}
|
|
3274
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { style: { flex: 1 } }) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { style: { flex: 1, position: "relative", display: "flex", alignItems: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
3241
3275
|
"input",
|
|
3242
3276
|
{
|
|
3243
3277
|
type: "range",
|
|
@@ -5019,6 +5053,7 @@ var Lens = ({
|
|
|
5019
5053
|
stepGraph,
|
|
5020
5054
|
chart,
|
|
5021
5055
|
view = "engineer",
|
|
5056
|
+
stepStrip = true,
|
|
5022
5057
|
humanizer,
|
|
5023
5058
|
appName,
|
|
5024
5059
|
commentaryTemplates,
|
|
@@ -5116,6 +5151,7 @@ var Lens = ({
|
|
|
5116
5151
|
focusStep,
|
|
5117
5152
|
onFocusChange: handleFocusChange,
|
|
5118
5153
|
isLive,
|
|
5154
|
+
stepStrip,
|
|
5119
5155
|
liveStreamLine,
|
|
5120
5156
|
drillPath,
|
|
5121
5157
|
onDrillInto: drillInto,
|
|
@@ -5164,6 +5200,7 @@ var EngineerView = ({
|
|
|
5164
5200
|
focusStep,
|
|
5165
5201
|
onFocusChange,
|
|
5166
5202
|
isLive,
|
|
5203
|
+
stepStrip,
|
|
5167
5204
|
liveStreamLine,
|
|
5168
5205
|
drillPath,
|
|
5169
5206
|
onDrillInto,
|
|
@@ -5431,6 +5468,7 @@ var EngineerView = ({
|
|
|
5431
5468
|
TimeTravel,
|
|
5432
5469
|
{
|
|
5433
5470
|
compact: true,
|
|
5471
|
+
stepStrip,
|
|
5434
5472
|
total,
|
|
5435
5473
|
focusSeq: focusStep,
|
|
5436
5474
|
onFocusChange,
|
|
@@ -5558,7 +5596,7 @@ var EngineerView = ({
|
|
|
5558
5596
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
5559
5597
|
VLinePill,
|
|
5560
5598
|
{
|
|
5561
|
-
label: "
|
|
5599
|
+
label: "Inspect",
|
|
5562
5600
|
expanded: rightExpanded,
|
|
5563
5601
|
side: "right",
|
|
5564
5602
|
onClick: () => setRightExpanded((v2) => !v2)
|