Skip to content

Commit f679d19

Browse files
committed
import/export AgentCard as a type
1 parent be81b1c commit f679d19

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

agents-run-api/src/a2a/types.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
// A2A Protocol Types based on Google's specification
2-
import {
3-
AgentCard,
4-
type Artifact,
5-
type Message,
6-
type Task,
7-
type TaskState,
8-
} from '@inkeep/agents-core';
2+
import type { AgentCard, Artifact, Message, Task, TaskState } from '@inkeep/agents-core';
93

104
// Re-export AgentCard from the official schema
11-
export { AgentCard };
5+
export type { AgentCard };
126

137
export interface RegisteredAgent {
148
subAgentId: string;

0 commit comments

Comments
 (0)