You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d15852d
Browse filesBrowse the repository at this point in the historyBrowse files
## Summary
- include both from_principal/from_agent plus the active wake write
token on runtime-originated sends
- allow server send attribution when from_agent is backed by a valid
active agent write token
- keep spoofed from_agent rejection and add coverage for the write-token
path
## Tests
- pnpm --filter @electric-ax/agents-mcp build
- pnpm --filter @electric-sql/client build
- pnpm --filter @electric-ax/agents-runtime build
- cd packages/agents-server && pnpm vitest run
test/electric-agents-routes.test.ts -t "send endpoint"
- cd packages/agents-runtime && pnpm vitest run
test/process-wake.test.ts -t "executes send via server API"
- pnpm --filter @electric-ax/agents-runtime typecheck
- pnpm --filter @electric-ax/agents-server typecheck
Fix runtime-originated agent send attribution by sending `from_principal`, `from_agent`, and the active wake write token, and accepting `from_agent` when backed by a valid agent write token.
0 commit comments