File tree Expand file tree Collapse file tree 6 files changed +8
-3
lines changed
Expand file tree Collapse file tree 6 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1+ node_modules
2+ dist
Original file line number Diff line number Diff line change 11{
22 "name" : " @ensemble-ai/sdk" ,
3- "version" : " 0.5.4 " ,
3+ "version" : " 0.5.5 " ,
44 "description" : " TypeScript SDK for the Agentic Hub" ,
55 "main" : " dist/index.js" ,
66 "types" : " dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ export type AgentMetadata = {
8787 instructions : string [ ] ;
8888 prompts : string [ ] ;
8989 communicationURL ?: string ;
90- communicationParams ?: object ;
90+ communicationParams ?: string ;
9191}
9292
9393export interface TaskConnectorContract extends BaseContract {
Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ type IpfsMetadata @entity {
4747 instructions : [String ! ]!
4848 prompts : [String ! ]!
4949 communicationType : String !
50- communicationURL : String !
50+ communicationURL : String
51+ communicationParams : String
5152 imageUri : String !
5253 twitter : String
5354 telegram : String
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ export function handleAgentMetadata(content: Bytes): void {
3535 ipfsData . openingGreeting = extractStringField ( value , "openingGreeting" )
3636 ipfsData . communicationType = extractStringField ( value , "communicationType" )
3737 ipfsData . communicationURL = extractStringField ( value , "communicationURL" )
38+ ipfsData . communicationParams = extractStringField ( value , "communicationParams" )
3839
3940 let socials = value . get ( "socials" )
4041 if ( ! socials ) {
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ export function handleServiceRegistered(event: ServiceRegistered): void {
66
77 entity . name = event . params . name ;
88 entity . description = event . params . description ;
9+ entity . category = event . params . category ;
910
1011 entity . save ( ) ;
1112}
You can’t perform that action at this time.
0 commit comments