+
+ {/* Toolbar */}
+
+
+
+
+
{ setSearchTerm(e.target.value); setCurrentPage(1); }}
+ />
+
+
+
+
+ Live Tail
+
+
+
+
+
+
+
+
+ Showing {filtered.length === 0 ? 0 : (currentPage - 1) * pageSize + 1} - {Math.min(currentPage * pageSize, filtered.length)} of {filtered.length} results
+
+
Page {currentPage} of {totalPages}
+
+
+
+
+
+
+
+ {/* Filter row */}
+
+
+
+
+
+ {/* Auto-refresh banner */}
+ {isLiveTail && (
+
+ Auto-refreshing every 15 seconds
+
+
+ )}
+
+ {error && (
+
{error}
+ )}
+
+ {/* Table */}
+
+
+
+
+
+
+
+
+ Key Hash
+
+ Origin
+
+
+
+ {loading ? (
+
+ Loading tools…
+
+ ) : paginated.length === 0 ? (
+
+
+ No tools discovered yet. Make a chat completion that returns tool_calls to start auto-discovery.
+
+
+ ) : (
+ paginated.map((tool) => (
+
+
+
+
+
+
+
+ {tool.tool_name}
+
+
+
+
+
+
+
+ {(tool.call_count ?? 0).toLocaleString()}
+
+
+
+ {tool.team_id ?? "-"}
+
+
+
+
+
+ {tool.key_hash ?? "-"}
+
+
+
+
+
+ {tool.key_alias ?? "-"}
+
+
+
+
+ {tool.origin ?? "-"}
+
+
+
+ ))
+ )}
+
+
+
+ {/* Bottom pagination (only when > 1 page) */}
+ {totalPages > 1 && (
+
+
Showing {(currentPage - 1) * pageSize + 1} - {Math.min(currentPage * pageSize, sorted.length)} of {sorted.length}
+
+
+
+
+
+ )}
+