Skip to content

roster web for agents: vsphere/openvpnas logins, login_body, has_login, clear locked-vault error (0.7.13) - #61

Merged
2styx2 merged 2 commits into
devfrom
feat/web-for-agents
Nov 18, 2026
Merged

2styx2 merged 2 commits into
devfrom
feat/web-for-agents

Conversation

@2styx2

@2styx2 2styx2 commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Agents had trouble finding and using web APIs through roster. This fixes what blocked them, and bumps to 0.7.13.

What changes

  • login: vsphere: an ESXi/vCenter SOAP session (version, SessionManager, Login, the call, then Logout). A PATH under /sdk gets a SOAPAction header, and a bare <urn:Call/> body gets its envelope. Before this, these services were dropped silently ("has no service 'api'").
  • login: openvpnas: a token-login preset that sends request_admin: true. Without that field the admin API answers 403 "Insufficient privileges".
  • login_body: fixed scalar fields on any token login.
  • bearer + token_header: so an X-API-KEY style header works.
  • Unknown login:: the service is kept, and roster web names the login and lists the known ones, before any vault lookup.
  • ls --json: adds a has_login field to each service. The ROSTER.md summary (more than 60 Hosts, where the table with its (login) marks is dropped) now lists the web APIs that have a login.
  • ROSTER.md guide: tells agents to prefer roster web over driving a UI, and never to type a password into a login page.
  • autoMode: a new sentence lets roster web GET/HEAD calls run without asking. Calls that change something still need the user's OK. The existing sentence is unchanged, so sync doesn't orphan it.
  • Locked vault with no terminal: one line, "the user runs roster vault unlock in their own terminal". It replaces the BW_PASSWORD hint that nudged agents toward handling a password.

Docs are in roster.1, with new entries in tests/man_page.rs. The fake curl can now script several replies in a row (FAKE_CURL_REPLIES) to test vSphere.

Not in this PR (owner decisions)

  • Services inherit the Host's ssh user/auth. Every scanned port defaults to login: basic, so roster web on a plain http:// port sends the ssh password in cleartext.
  • No browser/Playwright login handoff; the guide says to ask the user to sign in.

Line budget: 5290 / 10000.

🤖 Generated with Claude Code

…login, clear locked-vault error

- login: vsphere (ESXi/vCenter SOAP session, logged out after the call) and
  login: openvpnas (token login with request_admin: true) come back
- login_body: fixed fields on a token login; bearer honours token_header
- an unknown login: is kept and named by roster web instead of the service
  silently vanishing
- ls --json: has_login per service; ROSTER.md's summary names the web APIs
  with a login and tells agents to prefer roster web over a browser
- autoMode: roster web GET/HEAD is authorized; changes still need an OK
- a locked vault with no terminal says the user runs roster vault unlock,
  rather than hinting at BW_PASSWORD
@2styx2
2styx2 merged commit 52c3154 into dev Nov 18, 2026
16 checks passed
@2styx2 2styx2 mentioned this pull request Nov 18, 2026
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