@tonyclaw/agent-inspector 3.0.3 → 3.0.5
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/.output/nitro.json +1 -1
- package/.output/public/assets/{CompareDrawer-CufpM7_P.js → CompareDrawer-Co-35_Xw.js} +1 -1
- package/.output/public/assets/ProxyViewerContainer-DPv1rBo7.js +106 -0
- package/.output/public/assets/{ReplayDialog-ClDmxv57.js → ReplayDialog-DghbvKdy.js} +1 -1
- package/.output/public/assets/{RequestAnatomy-DcuIghmp.js → RequestAnatomy-CRXE5v8X.js} +1 -1
- package/.output/public/assets/{ResponseView-C7Tl47j3.js → ResponseView-CzxoQRjp.js} +2 -2
- package/.output/public/assets/{StreamingChunkSequence-DBK_R540.js → StreamingChunkSequence-DnFyF_Hr.js} +1 -1
- package/.output/public/assets/{_sessionId-D8Ke-EcI.js → _sessionId-DHRhWzKe.js} +1 -1
- package/.output/public/assets/index-D8cruW0P.css +1 -0
- package/.output/public/assets/index-DZyTpd2w.js +1 -0
- package/.output/public/assets/{index-CpWH7b2O.js → index-Dl1oki9E.js} +1 -1
- package/.output/public/assets/{json-viewer-BEifdKM_.js → json-viewer-B84f7oiG.js} +1 -1
- package/.output/public/assets/{main-DDfExS3_.js → main-DViDnJ9X.js} +2 -2
- package/.output/server/_libs/lucide-react.mjs +2 -2
- package/.output/server/{_sessionId-Di7z893V.mjs → _sessionId-C43vEAWe.mjs} +2 -2
- package/.output/server/_ssr/{CompareDrawer-ABv-8FMB.mjs → CompareDrawer-DOL6q0jD.mjs} +2 -2
- package/.output/server/_ssr/{ProxyViewerContainer-CGX-1aUr.mjs → ProxyViewerContainer-S9izw3ND.mjs} +572 -272
- package/.output/server/_ssr/{ReplayDialog-DD31ftzG.mjs → ReplayDialog-tqthwJh0.mjs} +3 -3
- package/.output/server/_ssr/{RequestAnatomy-54kNHAjH.mjs → RequestAnatomy-CgWDjFPR.mjs} +2 -2
- package/.output/server/_ssr/{ResponseView-CRnibtlX.mjs → ResponseView-Dk8Op622.mjs} +2 -2
- package/.output/server/_ssr/{StreamingChunkSequence-Cb5WGfMm.mjs → StreamingChunkSequence-AlS7PK8f.mjs} +2 -2
- package/.output/server/_ssr/{index-BJ-8DomR.mjs → index-BGwvMN2M.mjs} +2 -2
- package/.output/server/_ssr/index.mjs +2 -2
- package/.output/server/_ssr/{json-viewer-DB5188I7.mjs → json-viewer-CKHkh5U3.mjs} +2 -2
- package/.output/server/_ssr/{router-BKf70uDr.mjs → router-BJMaHkr1.mjs} +9 -9
- package/.output/server/{_tanstack-start-manifest_v-DUuf3Rgf.mjs → _tanstack-start-manifest_v-C_HvRzgP.mjs} +1 -1
- package/.output/server/index.mjs +66 -66
- package/package.json +1 -1
- package/src/components/ProxyViewer.tsx +92 -25
- package/src/components/ProxyViewerContainer.tsx +154 -55
- package/src/components/providers/ProviderCard.tsx +413 -230
- package/src/components/proxy-viewer/ConversationGroup.tsx +1 -1
- package/src/components/proxy-viewer/ConversationHeader.tsx +4 -5
- package/src/lib/stopReason.ts +4 -0
- package/.output/public/assets/ProxyViewerContainer-Dppr2zGE.js +0 -106
- package/.output/public/assets/index-BskTYcAH.css +0 -1
- package/.output/public/assets/index-DRHfTEM5.js +0 -1
|
@@ -29,7 +29,7 @@ export type ConversationGroupProps = {
|
|
|
29
29
|
defaultExpanded?: boolean;
|
|
30
30
|
/** Controls whether timestamps render as compact local time or full ISO strings. */
|
|
31
31
|
timeDisplayFormat: TimeDisplayFormat;
|
|
32
|
-
/** Clear all logs that belong to this group. */
|
|
32
|
+
/** Clear all logs that belong to this group from the current view. */
|
|
33
33
|
onClearGroup: (ids: number[]) => void;
|
|
34
34
|
/** Show IDE identity in the session header. */
|
|
35
35
|
showClientIdentity?: boolean;
|
|
@@ -96,8 +96,7 @@ export type ConversationHeaderProps = {
|
|
|
96
96
|
showProcessMetadata?: boolean;
|
|
97
97
|
/** Controls whether timestamps render as compact local time or full ISO strings. */
|
|
98
98
|
timeDisplayFormat: TimeDisplayFormat;
|
|
99
|
-
/** Clear all logs in this group
|
|
100
|
-
* from the in-memory store; this header is then unmounted. */
|
|
99
|
+
/** Clear all logs in this group from the current view; this header is then unmounted. */
|
|
101
100
|
onClear?: () => void;
|
|
102
101
|
};
|
|
103
102
|
|
|
@@ -287,7 +286,7 @@ export function ConversationHeader({
|
|
|
287
286
|
type="button"
|
|
288
287
|
onClick={handleClearClick}
|
|
289
288
|
aria-label={`Clear group (${totalCalls} request${totalCalls !== 1 ? "s" : ""})`}
|
|
290
|
-
title="Clear this group"
|
|
289
|
+
title="Clear this group from the current view"
|
|
291
290
|
className={HEADER_ACTION_BUTTON_CLASS}
|
|
292
291
|
>
|
|
293
292
|
<Trash2 className="size-3.5" />
|
|
@@ -321,8 +320,8 @@ export function ConversationHeader({
|
|
|
321
320
|
<ConfirmDialog
|
|
322
321
|
open={confirmOpen}
|
|
323
322
|
onOpenChange={setConfirmOpen}
|
|
324
|
-
title="Clear this group?"
|
|
325
|
-
description={`This will
|
|
323
|
+
title="Clear this group from the current view?"
|
|
324
|
+
description={`This will hide ${totalCalls} request${totalCalls !== 1 ? "s" : ""} from the current view. Stored logs remain reloadable.`}
|
|
326
325
|
confirmLabel="Clear"
|
|
327
326
|
variant="destructive"
|
|
328
327
|
onConfirm={() => {
|
package/src/lib/stopReason.ts
CHANGED
|
@@ -11,6 +11,8 @@ function normalizeAnthropicStopReason(value: string): StopReason {
|
|
|
11
11
|
case "end_turn":
|
|
12
12
|
case "tool_use":
|
|
13
13
|
return value;
|
|
14
|
+
case "max_tokens":
|
|
15
|
+
return "length";
|
|
14
16
|
default:
|
|
15
17
|
return null;
|
|
16
18
|
}
|
|
@@ -21,6 +23,8 @@ function normalizeOpenAIFinishReason(value: string): StopReason {
|
|
|
21
23
|
case "stop":
|
|
22
24
|
case "length":
|
|
23
25
|
return value;
|
|
26
|
+
case "max_tokens":
|
|
27
|
+
return "length";
|
|
24
28
|
default:
|
|
25
29
|
return null;
|
|
26
30
|
}
|