-
-
Notifications
You must be signed in to change notification settings - Fork 40
Improve api for Caveat Enforcer actions and Client #50
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
hanzel98
merged 19 commits into
main
from
cursor/accept-delegation-object-and-move-client-export-9bcd
Aug 8, 2025
Merged
Changes from 9 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
4275191
feat: add delegation-based caveat enforcer actions
cursoragent 32ca7cb
feat: move caveat enforcer client to main export
cursoragent 5bc38de
refactor: modify existing actions to accept delegation instead of cre…
cursoragent 9828c52
refactor: simplify actions to only accept delegation and use environm…
cursoragent 309219d
refactor: replace custom error types with standard Error constructor
cursoragent 0f08e24
refactor: consolidate parameter types into single CaveatEnforcerParam…
cursoragent fa47fa7
test: update caveatUtils.test.ts to use new delegation interface
cursoragent f34de6c
refactor: remove client exports from actions index (moved to main exp…
cursoragent 1fbd944
refactor: add caveatEnforcerActions back to actions export
cursoragent 06f21cb
refactor: use destructuring in findMatchingCaveat function
cursoragent 5b2a354
style: remove extra whitespace in getCaveatAvailableAmount.ts
cursoragent 5c2e0a5
Fix tests
jeffsmale90 5a1ee52
use getDelegationHashoffchain function instead of delegation-core has…
jeffsmale90 89628de
Fix package exports, straggling tests, and import order.
jeffsmale90 b61ee8c
Improve internals of getCaveatAvailableAmount actions. Improve valida…
jeffsmale90 23ba21c
Improve action tests, remove client tests.
jeffsmale90 246694e
Move caveatEnforcerClient into it's own file
jeffsmale90 0b03514
Fix jsdoc comments in getCaveatAvailableAmount.ts
jeffsmale90 8a7843a
Remove duplicate createCaveatEnforcerClient and type
jeffsmale90 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
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
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
Oops, something went wrong.
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.