Skip to content

fix(eve): make extension tools durable and pass context - #61

Merged
HugoRCD merged 11 commits into
mainfrom
feat/agent-batch-pr2-eve
Aug 6, 2026
Merged

fix(eve): make extension tools durable and pass context#61
HugoRCD merged 11 commits into
mainfrom
feat/agent-batch-pr2-eve

Conversation

@HugoRCD

@HugoRCD HugoRCD commented Aug 6, 2026

Copy link
Copy Markdown
Member

Summary

  • Register @github-tools/eve-extension tools with authored inline execute that only closes over serializable tool names so multi-turn durable Workflow replay works (Closes connect/eve dynamic tools skipped on durable replay ("step function … not registered") #51)
  • Add context to the eve-extension config schema and forward it to tool execution
  • Introduce @github-tools/sdk/eve-runtime for shared eve primitives (descriptors, execution, approval) — the extension imports this path, not the deprecated consumer registration APIs
  • Only createGithubTools / per-tool factories on @github-tools/sdk/eve and connectGithubTools on /connect/eve stay deprecated for direct agent/tools/ use
  • Defer eve-managed auth (TODO(eve-auth)) until ctx.getToken('github') lands

Stacked on #60 (hygiene).

Test plan

  • pnpm --filter @github-tools/eve-extension build succeeds
  • Extension imports resolve from @github-tools/sdk/eve-runtime
  • Multi-turn durable eve path keeps tools after replay (or eve build shows hoisted __closureVars: { name })
  • Extension context fills default owner/repo on tool inputs
@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
github-tools-docs Ready Ready Preview Aug 6, 2026 4:49pm
github-tools-test-agent Ready Ready Preview Aug 6, 2026 4:49pm
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Thank you for following the naming conventions! 🙏

Comment thread packages/github-tools-eve-extension/extension/tools/github.ts
Base automatically changed from feat/agent-batch-pr1-hygiene to main August 6, 2026 15:12
HugoRCD added 2 commits August 6, 2026 16:15
Register eve-extension tools with authored inline execute that only
closes over serializable tool names (Closes #51), forward context
through the extension config, and document that connect/eve is not
durable. Defer eve-managed auth until ctx.getToken('github') lands.
Export shared eve helpers on @github-tools/sdk/eve-runtime so the
eve-extension does not import the deprecated consumer registration
path. Keep createGithubTools and per-tool factories deprecated on /eve.
Declare GithubExtensionConfig as an interface and cast the Zod schema
so IDE hovers show property docs instead of bare Zod-inferred types.
Restore overrides[name].outputSchema when registering tools via the
authored defineTool loop, and narrow the override type to Zod schemas
that eve defineTool accepts.
Vercel turbo builds the example but never produced .output because the
package had no build script. Run eve build, and add @vercel/connect for
the connector used in the mount.
The @vercel/connect/eve barrel pulls eve/connections; NFT drops #public
subpath files when Connect is externalized, crashing the deploy. Keep the
official connectGitHubCredentials channel and stop externalizing Connect.
Also add @nuxt/fonts to chat so workspace installs succeed for docs deploy.
eve's GitHub channel defaults omit input.requested (unlike Slack/Linear),
so write-tool approval parked turns with only the eyes reaction. Also
restrict @mention dispatch to HugoRCD.
Allow HugoRCD approval replies without @mention, shorten approval
comments, and patch eve so github_context is turn context instead of
being prepended onto the message (which broke Yes/No matching).
After HITL approval, eve was still feeding PR/github context into a
follow-up turn with no user ask, so the model asked what to do next.
@HugoRCD
HugoRCD merged commit df53f0f into main Aug 6, 2026
7 of 9 checks passed
@HugoRCD
HugoRCD deleted the feat/agent-batch-pr2-eve branch August 6, 2026 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant