Skip to content

Add explicit self-send option to send tool#4398

Open
KyleAMathews wants to merge 1 commit into
mainfrom
self-send-tool-param
Open

Add explicit self-send option to send tool#4398
KyleAMathews wants to merge 1 commit into
mainfrom
self-send-tool-param

Conversation

@KyleAMathews
Copy link
Copy Markdown
Contributor

Summary

  • add a self: true option to the send tool for sending to the current entity
  • document that agents should use self: true with afterMs to schedule future work for themselves
  • wire Horton and Worker send tools with their current entity URL

Test

  • pnpm --dir packages/agents-runtime test --run test/send-tool.test.ts

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 22, 2026

Electric Agents Desktop Builds

Build artifacts for commit fc9ffd7.

Platform Status Artifact
macOS Apple Silicon Passed DMG
macOS Intel Passed DMG
Windows x64 Passed Installer
Linux x64 Passed AppImage / deb

Workflow run

@codecov
Copy link
Copy Markdown

codecov Bot commented May 22, 2026

Codecov Report

❌ Patch coverage is 91.66667% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 55.86%. Comparing base (8803b36) to head (fc9ffd7).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
packages/agents-runtime/src/tools/send.ts 94.28% 2 Missing ⚠️
packages/agents/src/agents/worker.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4398      +/-   ##
==========================================
- Coverage   59.46%   55.86%   -3.61%     
==========================================
  Files         304      259      -45     
  Lines       30626    26920    -3706     
  Branches     8335     7449     -886     
==========================================
- Hits        18211    15038    -3173     
+ Misses      12397    11867     -530     
+ Partials       18       15       -3     
Flag Coverage Δ
packages/agents 67.52% <0.00%> (ø)
packages/agents-mcp ?
packages/agents-runtime 80.70% <94.28%> (+0.02%) ⬆️
packages/agents-server 74.44% <ø> (ø)
packages/agents-server-ui 6.21% <ø> (ø)
packages/electric-ax 43.81% <ø> (ø)
packages/experimental ?
packages/react-hooks ?
packages/start ?
packages/typescript-client ?
packages/y-electric ?
typescript 55.86% <91.66%> (-3.61%) ⬇️
unit-tests 55.86% <91.66%> (-3.61%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant