@haven_ai/sdk 0.0.0-dev.202609061923.f3d53db → 0.0.0-dev.202609070908.bee3844
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +11 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4354,6 +4354,17 @@ Four of the six steps are your user's \u2014 each needs a human signature or a h
|
|
|
4354
4354
|
5. **HUMAN \u2014 approve the budget** with their passkey, in the Haven tab they created the agent in: it advances to the approval step by itself once your run registers.
|
|
4355
4355
|
6. **YOU \u2014 verify, then pay.**
|
|
4356
4356
|
|
|
4357
|
+
## Budget changes later (second token, raise, revoke)
|
|
4358
|
+
|
|
4359
|
+
The first budget rides the setup above. After the agent exists, a CLI session can construct the LATER changes \u2014 a second token, a bigger amount, a recipient pin, a stop \u2014 and hand your user a link; the human still signs, every time:
|
|
4360
|
+
|
|
4361
|
+
\`\`\`
|
|
4362
|
+
haven budget grant <agentId> --amount <n> --token USDC --period <minutes> [--recipient <address>] [--wait]
|
|
4363
|
+
haven budget revoke <agentId> <delegationHash> [--wait]
|
|
4364
|
+
\`\`\`
|
|
4365
|
+
|
|
4366
|
+
The CLI never signs: it prints a dashboard link, your user opens it and signs with their passkey or wallet. \`--wait\` polls until the human's signature lands. The hash for \`revoke\` is in \`haven agents show <agentId>\`.
|
|
4367
|
+
|
|
4357
4368
|
## Hand-off scripts
|
|
4358
4369
|
|
|
4359
4370
|
Send these as your own message, \`<host>\` replaced by the host you fetched this file from. Say what you cannot do, not only what they must.
|