From 4ae4190475f2f16bdb55bbad726a7d5ac712ee9a Mon Sep 17 00:00:00 2001 From: Nurshot <85260051+Nurshot@users.noreply.github.com> Date: Wed, 23 Sep 2026 04:13:13 +0300 Subject: [PATCH] fix(tell-agent): derive agent types from plugin client context --- tell-agent/client/agents.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tell-agent/client/agents.ts b/tell-agent/client/agents.ts index e0fdd89b..0017c485 100644 --- a/tell-agent/client/agents.ts +++ b/tell-agent/client/agents.ts @@ -1,7 +1,8 @@ -import type { PaseoAgent, PaseoAgentListResult, PaseoApi } from "@getpaseo/client"; +import type { PluginClientContext } from "@getpaseo/plugin/client"; -export type AgentEntry = PaseoAgentListResult["entries"][number]; -type AgentSnapshot = PaseoAgent; +type PaseoApi = PluginClientContext["paseo"]; +export type AgentEntry = Awaited>["entries"][number]; +type AgentSnapshot = AgentEntry["agent"]; export const AGENT_PAGE_LIMIT = 200; export const MAX_AGENT_PAGES = 10;