feat: add Eve adapter and scaffold CLI#34
Closed
bensabic wants to merge 1 commit into
Closed
Conversation
Add Eve framework support via a new @github-tools/sdk/eve subpath and a github-tools eve scaffold CLI, plus docs that feature Eve as a first-class integration alongside the Vercel AI SDK. - toEveTool() adapter + githubToken() helper - github-tools eve CLI scaffolds one-liner tool files into agent/tools/ - eve as optional peer dep; ai peer range accepts v7 canaries - docs: Eve signposting across homepage, intro, installation, quick-start, FAQ
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
Thank you for following the naming conventions! 🙏 |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Member
|
🖤 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Adds first-class support for the Eve agent framework to
@github-tools/sdk, plus docs that feature Eve alongside the Vercel AI SDK.SDK
@github-tools/sdk/evesubpath —toEveTool()adapts any tool from this SDK to Eve'sdefineToolshape;needsApproval: truemaps to Eve'salways()predicate, and the adapter accepts Eve predicates (once(), custom) as an override.githubToken()resolves the token from an argument orGITHUB_TOKEN.github-tools eveCLI (npx @github-tools/sdk eve --preset code-review) — scaffolds one-liner Eve tool files intoagent/tools/, with--preset,--tools,--all,--dir,--force, and--listflags. Built todist/cli.mjs(the packagebin).GITHUB_TOOL_NAMES,GITHUB_WRITE_TOOL_NAMES,PRESET_TOOLS, and theGithubToolNametype (extracted to an import-freepresets.tsso the CLI bundles without peer deps).eveadded as an optional peer dependency; theaipeer range now also accepts v7 canaries (Eve pins one).@param/@returns/@throws/@typeParam/@see) added across the public surface (eve.ts,cli.ts,index.ts,agents.ts,workflow.ts).Docs
/guide/eve): adapter, scaffold CLI, and approval mapping.Verification
pnpm --filter @github-tools/sdk typecheck && lint && build— all pass;.d.mtsregenerated.lint+buildpass; new internal links resolve.--help/--list/--preset/--tools/--all/--forceand error paths (unknown preset/tool/command, nothing-to-scaffold) all behave with correct exit codes.Includes a changeset (
@github-tools/sdkminor).