@pushary/eve-extension
v0.1.3
Published
Pushary extension for Eve: ask a real human on their phone and block on a fail-closed answer.
Downloads
400
Maintainers
Readme
@pushary/eve-extension
Human-in-the-loop for Eve, packaged as an Eve extension. One mount adds a tool that pauses the agent until a real human approves on their phone, answered from the lock screen.
Full walkthrough: Human-in-the-loop for Eve. Reaching your own end-users on their phones is the Pushary Partner plan.
Install
npm i @pushary/eve-extensionSet PUSHARY_API_KEY (get it in your dashboard).
Use
Mount it under agent/extensions/:
// agent/extensions/pushary.ts
import pushary from '@pushary/eve-extension'
export default pushary({})The filename supplies the namespace, so the agent gains pushary__ask_human (approve, choose, or free-text, delivered to a phone, blocks until answered) and pushary__connect_phone (returns the one-tap connect link).
Config
export default pushary({
externalId: 'user_123',
agentName: 'Billing agent',
timeoutMs: 55_000,
})| Option | Does |
| --- | --- |
| apiKey | Falls back to process.env.PUSHARY_API_KEY |
| externalId | Bind a fixed end-user. Defaults to the session principal |
| agentName | Shown on the approval so the human knows who is asking |
| timeoutMs | How long each ask blocks. Serverless-safe by default |
| baseUrl | Override the API base URL (tests / self-host) |
Which one do I want
- This extension, or the plain tools in
@pushary/eve, for asking a human on purpose. pusharyChannel()in@pushary/evefor everything Eve already pauses on: tools gated withapproval, and the built-inask_question. Eve renders those as buttons in Slack; the channel renders them on a phone.
They compose. Mount both if you want the agent to be able to ask directly and to have every gated tool call reach a phone.
MIT
