@townco/debugger 0.1.61 → 0.1.62
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@townco/debugger",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.62",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"bun": ">=1.3.0"
|
|
@@ -24,15 +24,16 @@
|
|
|
24
24
|
"@radix-ui/react-select": "^2.2.6",
|
|
25
25
|
"@radix-ui/react-slot": "^1.2.4",
|
|
26
26
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
27
|
-
"@townco/otlp-server": "0.1.
|
|
28
|
-
"@townco/tsconfig": "0.1.
|
|
27
|
+
"@townco/otlp-server": "0.1.61",
|
|
28
|
+
"@townco/tsconfig": "0.1.103",
|
|
29
29
|
"@townco/ui": "^0.1.77",
|
|
30
30
|
"bun-plugin-tailwind": "^0.1.2",
|
|
31
31
|
"class-variance-authority": "^0.7.1",
|
|
32
32
|
"clsx": "^2.1.1",
|
|
33
33
|
"lucide-react": "^0.556.0",
|
|
34
34
|
"openai": "^4.77.3",
|
|
35
|
-
"react
|
|
35
|
+
"react": "19.2.3",
|
|
36
|
+
"react-dom": "19.2.3",
|
|
36
37
|
"tailwind-merge": "^3.4.0",
|
|
37
38
|
"tailwindcss": "^4.1.11",
|
|
38
39
|
"tw-animate-css": "^1.4.0",
|
|
@@ -143,14 +143,17 @@ export function SessionTimelineView({ sessionId }: SessionTimelineViewProps) {
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
return (
|
|
146
|
-
<div className="
|
|
147
|
-
<Tabs
|
|
146
|
+
<div className="flex-1 flex flex-col p-6 bg-background overflow-hidden">
|
|
147
|
+
<Tabs
|
|
148
|
+
defaultValue="timeline"
|
|
149
|
+
className="flex-1 flex flex-col overflow-hidden"
|
|
150
|
+
>
|
|
148
151
|
<TabsList>
|
|
149
152
|
<TabsTrigger value="timeline">Timeline</TabsTrigger>
|
|
150
153
|
<TabsTrigger value="logs">Logs</TabsTrigger>
|
|
151
154
|
</TabsList>
|
|
152
155
|
|
|
153
|
-
<TabsContent value="timeline" className="mt-6">
|
|
156
|
+
<TabsContent value="timeline" className="mt-6 flex-1 overflow-hidden">
|
|
154
157
|
<UnifiedTimeline
|
|
155
158
|
spans={allSpans}
|
|
156
159
|
traces={traces}
|
|
@@ -160,7 +163,7 @@ export function SessionTimelineView({ sessionId }: SessionTimelineViewProps) {
|
|
|
160
163
|
/>
|
|
161
164
|
</TabsContent>
|
|
162
165
|
|
|
163
|
-
<TabsContent value="logs" className="mt-6">
|
|
166
|
+
<TabsContent value="logs" className="mt-6 flex-1 overflow-y-auto">
|
|
164
167
|
<Card>
|
|
165
168
|
<CardContent className="p-4">
|
|
166
169
|
<LogList logs={allLogs} />
|
|
@@ -161,6 +161,7 @@ export function UnifiedTimeline({
|
|
|
161
161
|
});
|
|
162
162
|
|
|
163
163
|
return filtered;
|
|
164
|
+
// biome-ignore lint/correctness/useExhaustiveDependencies: pre-existing issue -- please fix if changing this code
|
|
164
165
|
}, [spanTree, spans, turnLayouts, flattenSpanTree]);
|
|
165
166
|
|
|
166
167
|
if (spans.length === 0) {
|
|
@@ -998,6 +998,7 @@ export function ComparisonView({ runId }: ComparisonViewProps) {
|
|
|
998
998
|
};
|
|
999
999
|
}
|
|
1000
1000
|
},
|
|
1001
|
+
// biome-ignore lint/correctness/useExhaustiveDependencies: pre-existing issue -- please fix if changing this code
|
|
1001
1002
|
[fetchMetricsWithRetry, sendMessageAndCollect],
|
|
1002
1003
|
);
|
|
1003
1004
|
|
|
@@ -1275,6 +1276,7 @@ export function ComparisonView({ runId }: ComparisonViewProps) {
|
|
|
1275
1276
|
setError(err instanceof Error ? err.message : "Failed to run comparison");
|
|
1276
1277
|
setIsRunning(false);
|
|
1277
1278
|
}
|
|
1279
|
+
// biome-ignore lint/correctness/useExhaustiveDependencies: pre-existing issue -- please fix if changing this code
|
|
1278
1280
|
}, [run, config, userMessages, initialAutoRun, runId, createSession]);
|
|
1279
1281
|
|
|
1280
1282
|
// Function to fetch existing or trigger new session analysis
|
|
@@ -31,7 +31,7 @@ export function SessionView({ sessionId }: SessionViewProps) {
|
|
|
31
31
|
|
|
32
32
|
return (
|
|
33
33
|
<DebuggerLayout title={`Session: ${sessionId}`} showBackButton backHref="/">
|
|
34
|
-
<div className="relative flex-1 overflow-
|
|
34
|
+
<div className="relative flex-1 flex flex-col overflow-hidden">
|
|
35
35
|
<div className="absolute top-4 right-4 z-10">
|
|
36
36
|
{!loadingAnalysis && (
|
|
37
37
|
<SessionAnalysisButton
|