[taskboard] add agent detail pages
This commit is contained in:
@@ -344,6 +344,11 @@ export async function findAgentByAssignmentKey(assignmentKey: string) {
|
||||
return agents.find((agent) => agent.assignmentKey === assignmentKey || agent.aliases.includes(assignmentKey)) || null;
|
||||
}
|
||||
|
||||
export async function findAgentBySlug(slug: string) {
|
||||
const agents = await listFleetAgents();
|
||||
return agents.find((agent) => agent.slug === slug) || null;
|
||||
}
|
||||
|
||||
export async function listArchitecture() {
|
||||
const agents = await listFleetAgents();
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user