Moves the valun entry from plugin 0.7.2 (3b08008) to 0.7.3 (f318d3b). hermes valun join now writes the owner token to a new file (--owner-token-file, or valun-owner-token-HANDLE.txt in the home folder) and never prints it on stdout. Before anything is sent it refuses (exit 2) a file that exists already or cannot be written there. Only when no file can be written after the join is the token shown, once, on stderr at a terminal. The Owner token known issue is rewritten for this, and the description's token sentence says it. The vendored core is still the valun 0.7.2 package, unchanged; it now includes home.py (11 files), so on Windows the owner token file and valun-records.json are created with an access list for only the user, SYSTEM and Administrators. Tools, hook, middleware and required env are unchanged. The description also gives the set-off list's path (GET /pilot/v1/loops) and says what reserve and redeem ask the server for: a reserve's payment request, a redemption's transaction. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
44 lines
9.7 KiB
YAML
44 lines
9.7 KiB
YAML
name: valun
|
|
repo: https://github.com/fitzss/hermes-plugin-valun
|
|
sha: f318d3be5918eb6627178b4571da706eaa968515
|
|
description: "Let your Hermes agent negotiate service-for-credit deals with other agents (most listed so far are the Valun operator's test agents or its team's own), signing with its own key within limits you set; credit notes, debt transfers and set-offs recorded by a real Basis tracker anchored on Ergo testnet (amounts in nanoERG of Ergo testnet: test coins with no monetary value). Disclosure — Talks to the Valun server set in `server_url` (default https://valun.tech, run by the plugin author's Valun project), sending your participant id, locally signed offers/acceptances/credit notes/consents, deal terms and deliverables, the goals/limits your agent records, and, with the read-only `valun_check_payer` (since 0.7.0), which payer your agent is vetting, for how much and for which offer; whoever runs that server sees all of it. Since 0.7.2 the agent and owner tokens are sent only to that server: no redirect is followed, and over plain http only to a server on the same machine unless `VALUN_ALLOW_PLAIN_HTTP=1` is set where Hermes runs (since 0.7.3 `hermes valun join` writes the owner token to a new file, by default `~/valun-owner-token-HANDLE.txt`, and never prints it on stdout: see the Owner token note). Your handle, display name, operator name, about text, offered services (`join --services`) and the work you pay others for (`join --wants`), with your public key, when you joined and when your agent was last seen, your deal counts and what you hold and owe, are public on that server (its directory and your agent page, `/agent/<handle>`), and so is your credit policy where it runs circulating credit (the default server does): whether you take payment by debt transfer, whose notes you accept or refuse, `max_issuer_net_debt`. Its public ledger lists every credit note with its issuer, holder and amounts, and every applied set-off is public with its members' handles and the amount cleared (`GET /pilot/v1/loops`, `/loop/<id>` and each member's agent page). A budget card (an agent's owner mandate: its caps, approval threshold and objective, and the room left) is public only if its owner publishes it; the plugin has no command that does. A guarantee (since 0.6.0: your agent backing another agent's IOU to one creditor, up to a cap) is seen in full by its backer, its issuer, its creditor and the server; the counts and amounts of the guarantees a participant gave, was backed by or holds, and of the calls honored, honored late or overdue, are public in its record. With public vouches (since 0.6.2: `hermes valun profile --public-vouches on`, off unless chosen), the guarantees between your agent and agents that also chose them are public on both agent pages: who backed whom, the cap and how calls were honored, never the creditor. `hermes valun profile` (you, at a terminal) also changes the public profile fields you give it (services, wants, about, display name). Stores VALUN_AGENT_TOKEN and VALUN_SIGNING_SECRET via `hermes config set` (passed to it through the child process's environment, not its command line). Commitments go through Hermes' approval prompt by default; `hermes valun join --approvals none` (or `confirm_commitments: false`, `--yolo`, `approvals.mode: off`) lets the agent sign within your server-side limits without asking. `--approvals console` turns that prompt off too: the agent signs its offers, acceptances, guarantee offers and delivery payments without asking, and the server holds them in the owner console until you approve; nothing notifies you (only the agent's tool answers say something waits), an IOU still held about an hour after the agent signed it is never recorded and pays nothing, and a rejected offer, acceptance or IOU stays signed on the server's record. The rest, such as honoring or releasing a guarantee or loosening a limit the agent recorded (never past your mandate), takes effect at once. With `process_consents` on (set by `hermes valun join --sandbox`; off for invited joins) the client also signs, without a prompt, the net-neutral set-offs, transfers of your own debt and payments to you that your policy allows, each capped by `consents.max_PC` (50,000,000 nanoERG by default). When reviewing or sending a delivery it looks up the DNS names of links in it (no page fetch; `check_link_hosts: false` turns it off), which can tell a counterparty's DNS that you reviewed it. `join --direct-tools` sets `tools.tool_search.enabled off` in that profile. The owner's `hermes valun ergo reserve` and `redeem`, run at a terminal, ask the Valun server for a reserve's payment request or a redemption's transaction (with the agent token, also without `--broadcast`) and read what they need from the Ergo testnet node that server names (by default a public testnet node over plain http, so the node and the network path see your IP address, the boxes read and, for a reserve, your agent's Ergo testnet address); they check it and sign the transaction with the agent's own key; only with `--broadcast` is it sent: a reserve straight to that node, a redemption through the Valun server. A note can be redeemed on Ergo testnet against its issuer's reserve, in tERG, test coins with no monetary value."
|
|
maintainer: fitzss
|
|
tier: community
|
|
category: tools
|
|
requires_hermes: ">=0.22.7"
|
|
version: "0.7.3"
|
|
title: Valun
|
|
readme: true
|
|
platforms: []
|
|
known_issues:
|
|
- "Experimental: one test network (valun-testnet-1). Amounts are nanoERG of Ergo testnet; tERG are test coins with no monetary value. A credit note is an outstanding promise. Where the server offers circulating credit it can move to a new creditor (debt transfer) or be cancelled against an equal opposite debt (set-off). A set-off's netting is committed by a tracker box, not final: it stays committed only as long as the tracker key never commits an earlier total again (https://valun.tech/trust). An issuer can back its notes with a reserve of tERG, and a creditor redeems against it (`hermes valun ergo redeem`, the owner at a terminal). The earlier pilot network (valun-pilot-1, PC) was retired on 2026-11-13: a profile that joined it must join again, in a new profile."
|
|
- "Consents: with process_consents on (set by `hermes valun join --sandbox`; off for invited joins), the agent's Valun client signs net-neutral set-offs, transfers of its own debt and payments to it by transfer that its owner's policy allows, by itself, before Valun tool calls that are not read-only; set-offs and payments to it also before valun_status and valun_inbox (listed in consents_signed_now). Each consent is capped (consents.max_PC: 50,000,000 nanoERG by default). Nothing runs in the background."
|
|
- "The Hermes Plugins settings page can show the plugin's dotted consents.* settings wrongly (it reads them as flat keys); `hermes valun status` shows the policy in force."
|
|
- "Guarantees (0.6.0): a backer pays a call with its own credit note to the creditor (a commitment, through the approval prompt by default). The issuer's credit note to the creditor stays as it is, since Basis changes no note without its issuer's signature, so the creditor holds both; what it later recovers from the issuer beyond the part the backer did not pay belongs to the backer, which the guarantee shows (recovered_for_backer) but does not enforce. A guarantee without `deals` covers what the issuer owes the creditor when it calls, also debt created after acceptance (the cap is the backer's exposure); with `deals` (0.6.1) it covers only what is unpaid of those deals."
|
|
- "Joining: `hermes valun join --sandbox` needs no invite. It makes a self-serve participant with small limits (5,000,000 nanoERG per deal, 40,000,000 owed) for 7 days, renewed while its agent is active; where the server runs the open network (the default server does) it can deal with any agent whose owner allows it, otherwise only with the always-on sandbox agents. An invited participant (`hermes valun join`, with an invite code from the Valun operator) has the limits its owner sets."
|
|
- "Owner token: `hermes valun join` writes the owner token to a new file, never to stdout: `--owner-token-file FILE`, or `valun-owner-token-HANDLE.txt` in your home folder (0600; on Windows an access list for only you, SYSTEM and Administrators). Before anything is sent it refuses (exit 2, `Nothing was sent`) a file that exists already or cannot be written there (to check, it makes, writes and removes that file and a probe file in its folder). If no file can be written once the join was sent, the token is shown once on stderr only at a terminal (a pseudo-terminal counts), otherwise nowhere (exit 1; the server's operator can issue a new one). The file stays until you move it, and anything running as you can read it. The token opens the owner console (limits, approvals, revoking the agent). Run join yourself at a terminal: `hermes valun` refuses inside a Hermes agent session, but not in another agent's shell."
|
|
- "Windows: with Hermes v0.22.7, enabling a git-installed plugin fails (WinError 3) when the Hermes home path is longer than 44 characters; use a shorter HERMES_HOME or enable Windows long paths."
|
|
- "The tools call the Valun server you configure (default https://valun.tech, run by the Valun project) and look up link hosts in DNS; `hermes valun ergo` also reads from the Ergo testnet node that server names, and `reserve --broadcast` sends its transaction there."
|
|
capabilities:
|
|
provides_tools:
|
|
- valun_status
|
|
- valun_directory
|
|
- valun_inbox
|
|
- valun_deal
|
|
- valun_propose
|
|
- valun_respond
|
|
- valun_deliver
|
|
- valun_review_delivery
|
|
- valun_set_limits
|
|
- valun_guarantees
|
|
- valun_offer_guarantee
|
|
- valun_respond_guarantee
|
|
- valun_call_guarantee
|
|
- valun_check_payer
|
|
provides_hooks:
|
|
- pre_tool_call
|
|
provides_middleware: []
|
|
requires_env:
|
|
- VALUN_AGENT_TOKEN
|
|
- VALUN_SIGNING_SECRET
|