-
Notifications
You must be signed in to change notification settings - Fork 36
feat: define core types and interfaces #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
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 712dbe6
generate plain types from a2a json-schema
yarolegovich 200912d
manual cleanup of generated types
yarolegovich 473c0d2
server interfaces
yarolegovich 3195915
core type dummies
yarolegovich 7239ade
replace chan with seq
yarolegovich 35cec6e
remove duplicated files and split types file into many
yarolegovich 0575127
removed accidentally committed artifact
yarolegovich 5e02a49
file rename
yarolegovich 0544c0a
removed a type wrapper to match other sdk implementations
yarolegovich 1b92e1d
added script doc, removed throwaway script
yarolegovich cb17547
cleanup and fill req context in
yarolegovich 6fa0df2
fix missing message
yarolegovich 5a1f79c
move interface to where it belongs
yarolegovich b54a22d
task id always needs to be present even if message won't be promoted …
yarolegovich d2160b4
Merge branch 'main' into yarolegovich/core-types
yarolegovich 75512c0
add licenses
yarolegovich acebe1d
shorten method name
yarolegovich 4e4cf0e
alphabetic sorting
yarolegovich 3280481
typo fix
yarolegovich bd3d98e
added missing doc comments, resolved minor interface inconsistencies,…
yarolegovich a663339
expose proto generated files as a2apb package
yarolegovich e1aee88
added doc.go files
yarolegovich 38543db
rename Uri -> URI
yarolegovich File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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") | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.