Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
5d5132b
a script for generating a jsonrpc types from a2a json-schema
yarolegovich Aug 6, 2025
712dbe6
generate plain types from a2a json-schema
yarolegovich Aug 6, 2025
200912d
manual cleanup of generated types
yarolegovich Aug 6, 2025
473c0d2
server interfaces
yarolegovich Aug 6, 2025
3195915
core type dummies
yarolegovich Aug 6, 2025
7239ade
replace chan with seq
yarolegovich Aug 6, 2025
35cec6e
remove duplicated files and split types file into many
yarolegovich Aug 6, 2025
0575127
removed accidentally committed artifact
yarolegovich Aug 6, 2025
5e02a49
file rename
yarolegovich Aug 6, 2025
0544c0a
removed a type wrapper to match other sdk implementations
yarolegovich Aug 6, 2025
1b92e1d
added script doc, removed throwaway script
yarolegovich Aug 6, 2025
cb17547
cleanup and fill req context in
yarolegovich Aug 6, 2025
6fa0df2
fix missing message
yarolegovich Aug 7, 2025
5a1f79c
move interface to where it belongs
yarolegovich Aug 7, 2025
b54a22d
task id always needs to be present even if message won't be promoted …
yarolegovich Aug 7, 2025
d2160b4
Merge branch 'main' into yarolegovich/core-types
yarolegovich Aug 7, 2025
75512c0
add licenses
yarolegovich Aug 7, 2025
acebe1d
shorten method name
yarolegovich Aug 7, 2025
4e4cf0e
alphabetic sorting
yarolegovich Aug 7, 2025
3280481
typo fix
yarolegovich Aug 8, 2025
bd3d98e
added missing doc comments, resolved minor interface inconsistencies,…
yarolegovich Aug 8, 2025
a663339
expose proto generated files as a2apb package
yarolegovich Aug 8, 2025
e1aee88
added doc.go files
yarolegovich Aug 8, 2025
38543db
rename Uri -> URI
yarolegovich Aug 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions a2a/errors.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package a2a

import "fmt"

var ErrTaskNotFound = fmt.Errorf("task not found")

var ErrTaskNotCancelable = fmt.Errorf("task cannot be canceled")

var ErrPushNotificationNotSupported = fmt.Errorf("push notification not supported")

var ErrUnsupportedOperation = fmt.Errorf("this operation is not supported")

var ErrUnsupportedContentType = fmt.Errorf("incompatible content types")

var ErrInvalidAgentResponse = fmt.Errorf("invalid agent response")

var ErrInvalidRequest = fmt.Errorf("invalid request")
Loading