---
title: "RPC: Request"
description: "127 entries."
canonical: "https://klav.everdoc.dev/main/reference/rpc/request"
channel: "main"
---

# RPC: Request

> OmarAlex24/klav · channel `main` · main @ [`fe8e2a0c8c24`](https://github.com/OmarAlex24/klav/tree/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92) · 2026-12-05 · generated by Everdoc from source (no LLM).

127 entries.

<a id="rpc-request-add_to_task"></a>

## `Request.add_to_task`

«Add to the task»: adds a pending approval request to the agent's running task and approves it once. Asks for presence.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:449](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L449)
- Handlers: 3 · Callers: 3
- Method: `add_to_task` · transport unix-socket
- Input: `{ approval: string; digest: string; password?: SecretText }`
- Used at: [crates/klav-cli/src/commands/agent.rs:1797](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/agent.rs#L1797), [crates/klav-daemon/src/presence.rs:101](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L101), [crates/klav-daemon/src/server.rs:2446](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2446), [crates/klav-daemon/src/server.rs:3876](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3876), [crates/klav-daemon/src/server.rs:5208](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5208), … +1

<a id="rpc-request-agent_exposure"></a>

## `Request.agent_exposure`

What an agent saw, from its grant and the audit log.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:492](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L492)
- Handlers: 2 · Callers: 2
- Method: `agent_exposure` · transport unix-socket
- Input: `{ agent: AgentId }`
- Used at: [crates/klav-cli/src/commands/agent.rs:55](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/agent.rs#L55), [crates/klav-daemon/src/presence.rs:195](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L195), [crates/klav-daemon/src/server.rs:5319](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5319), [crates/klav-ffi/src/daemon.rs:1680](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1680)

<a id="rpc-request-agent_labels"></a>

## `Request.agent_labels`

Person-owned labels and machine/host notes for agents (ADR 0047).

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:381](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L381)
- Handlers: 3 · Callers: 3
- Method: `agent_labels` · transport unix-socket
- Used at: [crates/klav-cli/src/commands/agent.rs:709](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/agent.rs#L709), [crates/klav-daemon/src/presence.rs:176](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L176), [crates/klav-daemon/src/server.rs:4506](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4506), [crates/klav-daemon/src/server.rs:4606](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4606), [crates/klav-daemon/src/server.rs:4969](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4969), … +1

<a id="rpc-request-agent_passkey_arm"></a>

## `Request.agent_passkey_arm`

An agent uses the passkey of a login in the person's browser (ADR 0020 §9), after `POST /v1/agent/access` with `passkey`: `klavd` checks the request the agent signed and its task on its own, then arms one use in tab `tab` for 60 s. If the page there already waits for a passkey of that site, the extension uses it at once. Answer: [`PasskeyArmed`], never the assertion. Needs `klavd` unlocked; a locked `klavd` says `locked` and does not ask the person.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:1026](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L1026)
- Handlers: 2 · Callers: 1
- Method: `agent_passkey_arm` · transport unix-socket
- Input: `{ tab: string; step: PasskeyArmStep }`
- Used at: [crates/klav-daemon/src/presence.rs:135](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L135), [crates/klav-daemon/src/server.rs:3697](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3697), [crates/klav-sdk/src/passkeys.rs:154](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-sdk/src/passkeys.rs#L154)

<a id="rpc-request-agent_passkey_use"></a>

## `Request.agent_passkey_use`

The extension answers a page's sign-in with the use an agent armed in that tab ([`Event::PasskeyArm`]): `klavd` signs with UV (the task's approval is the verification, ADR 0020 §8) and without the person's surface. Only from the extension's connection the use was armed for, once, before it expires, and for the armed site and login. Answer: the assertion, like `passkey_get`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:1038](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L1038)
- Handlers: 2 · Callers: 0
- Method: `agent_passkey_use` · transport unix-socket
- Input: `{ tab_id: number; origin: string; rp_id?: string; challenge: string; token: SecretText }`
- Used at: [crates/klav-daemon/src/presence.rs:136](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L136), [crates/klav-daemon/src/server.rs:3378](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3378)

<a id="rpc-request-agent_revocations"></a>

## `Request.agent_revocations`

The revocations whose key change was asked for and is not finished, from this device's sealed record (F4): agent, projects, rotated, pending, grants still to issue again and the last error. A revocation without a key change asked for never shows. Answer: `[PendingRevocation]`. No presence.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:517](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L517)
- Handlers: 2 · Callers: 2
- Method: `agent_revocations` · transport unix-socket
- Used at: [crates/klav-cli/src/commands/agent.rs:369](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/agent.rs#L369), [crates/klav-daemon/src/presence.rs:197](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L197), [crates/klav-daemon/src/server.rs:5320](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5320), [crates/klav-ffi/src/daemon.rs:1735](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1735)

<a id="rpc-request-agent_rotate_begin"></a>

## `Request.agent_rotate_begin`

An agent starts changing a login's password in the person's browser (ADR 0022 §5, steps 2–5), after `POST /v1/agent/rotations`: `klavd` checks the request the agent signed and its task, asks the tab for the field's rules, stores the new password as pending in the item and only then fills «current» with the old one and «new» (and «confirm») with the new one. Answer: `{filled, pending_id}`, never a value. Needs `klavd` unlocked.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:1058](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L1058)
- Handlers: 2 · Callers: 1
- Method: `agent_rotate_begin` · transport unix-socket
- Input: `{ tab: string; step: RotationStep; submit?: boolean }`
- Used at: [crates/klav-daemon/src/presence.rs:137](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L137), [crates/klav-daemon/src/server.rs:3694](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3694), [crates/klav-sdk/src/rotate.rs:352](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-sdk/src/rotate.rs#L352)

<a id="rpc-request-agent_rotate_cancel"></a>

## `Request.agent_rotate_cancel`

The site refused it, or the agent gave up (`rotate_cancel`): the current one stays and the pending one goes to the history, marked unconfirmed. Answer: `{ok: true}`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:1077](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L1077)
- Handlers: 2 · Callers: 2
- Method: `agent_rotate_cancel` · transport unix-socket
- Input: `{ step: RotationStep }`
- Used at: [crates/klav-daemon/src/presence.rs:139](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L139), [crates/klav-daemon/src/server.rs:2466](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2466), [crates/klav-daemon/src/server.rs:5819](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5819), [crates/klav-sdk/src/rotate.rs:588](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-sdk/src/rotate.rs#L588)

<a id="rpc-request-agent_rotate_confirm"></a>

## `Request.agent_rotate_confirm`

The site took the new password (`rotate_confirm`, step 7), after `POST /v1/agent/rotations/{id}/confirm`: it becomes current and the old one goes to the history. Answer: `{ok: true}`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:1070](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L1070)
- Handlers: 2 · Callers: 2
- Method: `agent_rotate_confirm` · transport unix-socket
- Input: `{ step: RotationStep }`
- Used at: [crates/klav-daemon/src/presence.rs:138](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L138), [crates/klav-daemon/src/server.rs:2465](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2465), [crates/klav-daemon/src/server.rs:5810](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5810), [crates/klav-sdk/src/rotate.rs:586](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-sdk/src/rotate.rs#L586)

<a id="rpc-request-agent_rotate_pending"></a>

## `Request.agent_rotate_pending`

Whether the item's pending password is this change's, asked before the agent sends a confirm or a cancel to the server (read only; `klav_client::Unlocked::rotation_pending`). The step carries a signed request of its own, `POST /v1/agent/rotations/{id}/pending` (a path the server has no route for), which `klavd` checks as for a step and uses up. Answer: `{pending}`. An older `klavd` answers `bad_request`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:1088](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L1088)
- Handlers: 2 · Callers: 1
- Method: `agent_rotate_pending` · transport unix-socket
- Input: `{ step: RotationStep }`
- Used at: [crates/klav-daemon/src/presence.rs:140](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L140), [crates/klav-daemon/src/server.rs:5825](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5825), [crates/klav-sdk/src/rotate.rs:452](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-sdk/src/rotate.rs#L452)

<a id="rpc-request-agents"></a>

## `Request.agents`

Stop the daemon. The account's agents (pending, active, denied, revoked).

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:379](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L379)
- Handlers: 3 · Callers: 6
- Method: `agents` · transport unix-socket
- Used at: [crates/klav-cli/src/commands/agent.rs:281](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/agent.rs#L281), [crates/klav-daemon/src/presence.rs:175](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L175), [crates/klav-daemon/src/server.rs:2387](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2387), [crates/klav-daemon/src/server.rs:4505](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4505), [crates/klav-daemon/src/server.rs:4605](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4605), … +4

<a id="rpc-request-approval_statement"></a>

## `Request.approval_statement`

The exact SQL of a pending SQL statement's approval (ID or unique prefix; ADR 0052 §9.6), opened from its sealed statement and escaped for a terminal, or why it can only be denied.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:412](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L412)
- Handlers: 2 · Callers: 1
- Method: `approval_statement` · transport unix-socket
- Input: `{ approval: string }`
- Used at: [crates/klav-cli/src/commands/agent.rs:1536](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/agent.rs#L1536), [crates/klav-daemon/src/presence.rs:180](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L180), [crates/klav-daemon/src/server.rs:5101](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5101)

<a id="rpc-request-approvals"></a>

## `Request.approvals`

Approval requests of agents (pending, or `all` recent ones).

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:405](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L405)
- Handlers: 3 · Callers: 5
- Method: `approvals` · transport unix-socket
- Input: `{ all?: boolean }`
- Used at: [crates/klav-cli/src/commands/agent.rs:1350](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/agent.rs#L1350), [crates/klav-cli/src/commands/agent.rs:1574](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/agent.rs#L1574), [crates/klav-daemon/src/presence.rs:179](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L179), [crates/klav-daemon/src/server.rs:2386](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2386), [crates/klav-daemon/src/server.rs:4507](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4507), … +3

<a id="rpc-request-approve_agent"></a>

## `Request.approve_agent`

Approves an agent or replaces its grant. Asks for presence first: Touch ID, or the master password in `password` (ADR 0014).

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:392](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L392)
- Handlers: 3 · Callers: 3
- Method: `approve_agent` · transport unix-socket
- Input: `{ agent: AgentId; grant: GrantRequest; pairing_code: string; password?: SecretText }`
- Used at: [crates/klav-cli/src/commands/agent.rs:1019](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/agent.rs#L1019), [crates/klav-daemon/src/presence.rs:97](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L97), [crates/klav-daemon/src/server.rs:2440](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2440), [crates/klav-daemon/src/server.rs:3865](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3865), [crates/klav-daemon/src/server.rs:4979](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4979), … +1

<a id="rpc-request-attach"></a>

## `Request.attach`

Store a file in a `file` field.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:367](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L367)
- Handlers: 2 · Callers: 3
- Method: `attach` · transport unix-socket
- Input: `{ query: string; field: string; file_name: string; content: SecretBytes }`
- Used at: [crates/klav-cli/src/backend.rs:708](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L708), [crates/klav-daemon/src/presence.rs:174](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L174), [crates/klav-daemon/src/server.rs:2433](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2433), [crates/klav-daemon/src/server.rs:4894](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4894), [crates/klav-ffi/src/daemon.rs:1242](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1242)

<a id="rpc-request-audit_log"></a>

## `Request.audit_log`

The audit log, filtered (`klav log`).

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:796](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L796)
- Handlers: 2 · Callers: 2
- Method: `audit_log` · transport unix-socket
- Input: `{ filter?: LogFilter }`
- Used at: [crates/klav-cli/src/commands/log.rs:50](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/log.rs#L50), [crates/klav-daemon/src/presence.rs:216](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L216), [crates/klav-daemon/src/server.rs:5789](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5789), [crates/klav-ffi/src/daemon.rs:1867](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1867)

<a id="rpc-request-audit_reset"></a>

## `Request.audit_reset`

`klav log reset` (ADR 0033 §8.4): forgets this device's copy of the audit log, in memory too, and the head it verified, for a server restored from a backup the person trusts. Also while locked; no network. Answer: the files removed (`audit-chain.bin`, `audit-head.json`).

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:851](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L851)
- Handlers: 2 · Callers: 1
- Method: `audit_reset` · transport unix-socket
- Used at: [crates/klav-cli/src/commands/log.rs:319](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/log.rs#L319), [crates/klav-daemon/src/presence.rs:226](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L226), [crates/klav-daemon/src/server.rs:3716](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3716)

<a id="rpc-request-audit_status"></a>

## `Request.audit_status`

How far this device downloaded and verified the audit log («Verified up to event #N»), without asking the server. Answer: [`klav_client::audit::ChainStatus`].

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:845](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L845)
- Handlers: 3 · Callers: 4
- Method: `audit_status` · transport unix-socket
- Used at: [crates/klav-cli/src/commands/log.rs:57](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/log.rs#L57), [crates/klav-daemon/src/presence.rs:225](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L225), [crates/klav-daemon/src/server.rs:2406](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2406), [crates/klav-daemon/src/server.rs:4502](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4502), [crates/klav-daemon/src/server.rs:4599](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4599), … +2

<a id="rpc-request-autofill"></a>

## `Request.autofill`

The values of one item to type into a page (browser extension). A login whose URLs do not match `url` is refused (`denied`).

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:308](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L308)
- Handlers: 6 · Callers: 2
- Method: `autofill` · transport unix-socket
- Input: `{ item: string; url: string; part?: FillPart; chosen?: boolean; password?: SecretText }`
- Used at: [crates/klav-daemon/src/presence.rs:94](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L94), [crates/klav-daemon/src/presence.rs:254](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L254), [crates/klav-daemon/src/server.rs:2397](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2397), [crates/klav-daemon/src/server.rs:4289](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4289), [crates/klav-daemon/src/server.rs:4388](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4388), … +3

<a id="rpc-request-browser_fill"></a>

## `Request.browser_fill`

Types an agent's values into that tab, if it is still on `host` (ADR 0017). The values never come back. The agent brings the values, decrypted under its own grant, but the connection's presence needs the unlocked session (ADR 0041 §3.1): locked, it answers `locked`, after a pause's `agents_paused`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:988](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L988)
- Handlers: 4 · Callers: 1
- Method: `browser_fill` · transport unix-socket
- Input: `{ tab: string; host: string; agent: string; agent_id?: AgentId; reason: string; item?: ItemId; kind: ItemKind; fields: FillValue[]; selectors?: FieldSelector[]; submit?: boolean }`
- Used at: [crates/klav-daemon/src/presence.rs:141](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L141), [crates/klav-daemon/src/server.rs:2088](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2088), [crates/klav-daemon/src/server.rs:3377](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3377), [crates/klav-daemon/src/server.rs:5868](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5868), [crates/klav-sdk/src/browser.rs:816](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-sdk/src/browser.rs#L816)

<a id="rpc-request-browser_tab"></a>

## `Request.browser_tab`

The tab an agent would fill: the active tab of the focused browser with the extension attached ([`BrowserTab`]). Works locked.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:982](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L982)
- Handlers: 4 · Callers: 3
- Method: `browser_tab` · transport unix-socket
- Used at: [crates/klav-daemon/src/presence.rs:145](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L145), [crates/klav-daemon/src/server.rs:2087](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2087), [crates/klav-daemon/src/server.rs:3376](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3376), [crates/klav-daemon/src/server.rs:5867](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5867), [crates/klav-sdk/src/browser.rs:772](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-sdk/src/browser.rs#L772), … +2

<a id="rpc-request-cancel_account_deletion"></a>

## `Request.cancel_account_deletion`

Cancels the deletion of the account the person asked for (ADR 0037 §2), after Touch ID or the master password, like [`Request::ResumeAgents`] (ADR 0037 A2): canceling brings the agents back. Answer: `{ "canceled": bool }` (`false`: there was none).

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:790](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L790)
- Handlers: 3 · Callers: 2
- Method: `cancel_account_deletion` · transport unix-socket
- Input: `{ password?: SecretText }`
- Used at: [crates/klav-cli/src/commands/deletion.rs:194](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/deletion.rs#L194), [crates/klav-daemon/src/presence.rs:124](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L124), [crates/klav-daemon/src/server.rs:3891](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3891), [crates/klav-daemon/src/server.rs:5781](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5781), [crates/klav-ffi/src/daemon.rs:985](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L985)

<a id="rpc-request-confirm_presence"></a>

## `Request.confirm_presence`

Touch ID only, to confirm the person is there (ADR 0037 §1): opens this Mac's Secure Enclave key, which takes only the enrolled fingers and never the Mac's password, and drops what it gives back. It deletes nothing, needs no unlock and takes no password: the caller (the Mac app, the CLI) asks for the master password next and talks to the server itself. The prompt's words are `klavd`'s, for the `purpose`. Answer: `{ "ok": true }`, or `biometry_unavailable` / `biometry_failed`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:781](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L781)
- Handlers: 2 · Callers: 2
- Method: `confirm_presence` · transport unix-socket
- Input: `{ purpose: PresencePurpose }`
- Used at: [crates/klav-cli/src/commands/deletion.rs:104](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/deletion.rs#L104), [crates/klav-daemon/src/presence.rs:125](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L125), [crates/klav-daemon/src/server.rs:3715](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3715), [crates/klav-ffi/src/daemon.rs:947](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L947)

<a id="rpc-request-create"></a>

## `Request.create`

Create an item.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:225](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L225)
- Handlers: 3 · Callers: 3
- Method: `create` · transport unix-socket
- Input: `{ item: NewItem }`
- Used at: [crates/klav-cli/src/backend.rs:459](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L459), [crates/klav-daemon/src/native.rs:279](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/native.rs#L279), [crates/klav-daemon/src/presence.rs:166](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L166), [crates/klav-daemon/src/server.rs:2427](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2427), [crates/klav-daemon/src/server.rs:4792](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4792), … +1

<a id="rpc-request-create_project"></a>

## `Request.create_project`

Create a project.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:131](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L131)
- Handlers: 2 · Callers: 3
- Method: `create_project` · transport unix-socket
- Input: `{ vault?: string; name: string }`
- Used at: [crates/klav-cli/src/backend.rs:385](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L385), [crates/klav-daemon/src/presence.rs:160](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L160), [crates/klav-daemon/src/server.rs:2424](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2424), [crates/klav-daemon/src/server.rs:4708](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4708), [crates/klav-ffi/src/daemon.rs:1112](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1112)

<a id="rpc-request-create_vault"></a>

## `Request.create_vault`

Create a vault.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:126](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L126)
- Handlers: 2 · Callers: 3
- Method: `create_vault` · transport unix-socket
- Input: `{ name: string }`
- Used at: [crates/klav-cli/src/backend.rs:361](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L361), [crates/klav-daemon/src/presence.rs:159](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L159), [crates/klav-daemon/src/server.rs:2423](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2423), [crates/klav-daemon/src/server.rs:4699](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4699), [crates/klav-ffi/src/daemon.rs:1105](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1105)

<a id="rpc-request-decide_approval"></a>

## `Request.decide_approval`

Decides on an approval request (ID or unique prefix). Approving asks for presence like `approve_agent`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:417](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L417)
- Handlers: 4 · Callers: 4
- Method: `decide_approval` · transport unix-socket
- Input: `{ approval: string; approve: boolean; digest: string; lease_secs?: number; password?: SecretText }`
- Used at: [crates/klav-cli/src/commands/agent.rs:1884](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/agent.rs#L1884), [crates/klav-cli/src/commands/agent.rs:1896](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/agent.rs#L1896), [crates/klav-daemon/src/presence.rs:99](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L99), [crates/klav-daemon/src/presence.rs:181](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L181), [crates/klav-daemon/src/server.rs:2444](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2444), … +3

<a id="rpc-request-decide_task"></a>

## `Request.decide_task`

Approves (with the person's changes) or denies a pending task (ID or unique prefix). Approving asks for presence like `approve_agent`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:437](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L437)
- Handlers: 4 · Callers: 4
- Method: `decide_task` · transport unix-socket
- Input: `{ task: string; approve: boolean; digest: string; choice?: TaskChoice; password?: SecretText }`
- Used at: [crates/klav-cli/src/commands/task.rs:153](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/task.rs#L153), [crates/klav-cli/src/commands/task.rs:165](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/task.rs#L165), [crates/klav-daemon/src/presence.rs:100](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L100), [crates/klav-daemon/src/presence.rs:182](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L182), [crates/klav-daemon/src/server.rs:2445](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2445), … +3

<a id="rpc-request-deny_agent"></a>

## `Request.deny_agent`

Denies a pending registration.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:401](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L401)
- Handlers: 2 · Callers: 3
- Method: `deny_agent` · transport unix-socket
- Input: `{ agent: AgentId }`
- Used at: [crates/klav-cli/src/commands/agent.rs:108](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/agent.rs#L108), [crates/klav-daemon/src/presence.rs:178](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L178), [crates/klav-daemon/src/server.rs:2464](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2464), [crates/klav-daemon/src/server.rs:5806](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5806), [crates/klav-ffi/src/daemon.rs:1670](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1670)

<a id="rpc-request-deny_secret_request"></a>

## `Request.deny_secret_request`

Denies a pending agent secret request with an account-signed decision.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:485](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L485)
- Handlers: 2 · Callers: 3
- Method: `deny_secret_request` · transport unix-socket
- Input: `{ request: string; digest: string }`
- Used at: [crates/klav-cli/src/commands/secret_request.rs:212](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/secret_request.rs#L212), [crates/klav-daemon/src/presence.rs:194](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L194), [crates/klav-daemon/src/server.rs:2449](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2449), [crates/klav-daemon/src/server.rs:5310](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5310), [crates/klav-ffi/src/daemon.rs:1619](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1619)

<a id="rpc-request-device_link_approve"></a>

## `Request.device_link_approve`

Approve a device link after the person confirmed the words. Always asks for Touch ID or the master password immediately before sealing. Answer: `{ "ok": true }`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:103](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L103)
- Handlers: 3 · Callers: 5
- Method: `device_link_approve` · transport unix-socket
- Input: `{ qr_text: string; words: string; password?: SecretText }`
- Used at: [crates/klav-cli/src/commands/device.rs:138](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/device.rs#L138), [crates/klav-cli/src/commands/device.rs:227](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/device.rs#L227), [crates/klav-daemon/src/presence.rs:98](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L98), [crates/klav-daemon/src/server.rs:2443](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2443), [crates/klav-daemon/src/server.rs:3344](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3344), … +3

<a id="rpc-request-device_link_inspect"></a>

## `Request.device_link_inspect`

Inspect a mode-A `KD1-…` device-link offer (ADR 0029). Answer: [`DeviceLinkPreviewInfo`]. Read-only except for the server state lookup.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:89](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L89)
- Handlers: 2 · Callers: 4
- Method: `device_link_inspect` · transport unix-socket
- Input: `{ qr_text: string }`
- Used at: [crates/klav-cli/src/commands/device.rs:129](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/device.rs#L129), [crates/klav-daemon/src/presence.rs:149](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L149), [crates/klav-daemon/src/server.rs:2392](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2392), [crates/klav-daemon/src/server.rs:3341](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3341), [crates/klav-daemon/src/server.rs:5016](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5016), … +1

<a id="rpc-request-device_link_open"></a>

## `Request.device_link_open`

Open a mode-B device-link slot. Answer: [`DeviceLinkSlotInfo`].

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:94](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L94)
- Handlers: 2 · Callers: 4
- Method: `device_link_open` · transport unix-socket
- Used at: [crates/klav-cli/src/commands/device.rs:193](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/device.rs#L193), [crates/klav-daemon/src/presence.rs:150](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L150), [crates/klav-daemon/src/server.rs:2442](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2442), [crates/klav-daemon/src/server.rs:3342](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3342), [crates/klav-daemon/src/server.rs:5029](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5029), … +1

<a id="rpc-request-device_link_poll"></a>

## `Request.device_link_poll`

Poll a mode-B device-link slot. Answer: [`DeviceLinkOfferStateInfo`].

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:96](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L96)
- Handlers: 2 · Callers: 4
- Method: `device_link_poll` · transport unix-socket
- Input: `{ qr_text: string }`
- Used at: [crates/klav-cli/src/commands/device.rs:199](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/device.rs#L199), [crates/klav-daemon/src/presence.rs:151](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L151), [crates/klav-daemon/src/server.rs:2393](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2393), [crates/klav-daemon/src/server.rs:3343](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3343), [crates/klav-daemon/src/server.rs:5041](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5041), … +1

<a id="rpc-request-devices"></a>

## `Request.devices`

Devices of the account. Answer: `klav_proto::auth::DeviceList`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:86](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L86)
- Handlers: 2 · Callers: 3
- Method: `devices` · transport unix-socket
- Used at: [crates/klav-cli/src/commands/device.rs:51](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/device.rs#L51), [crates/klav-daemon/src/presence.rs:148](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L148), [crates/klav-daemon/src/server.rs:4508](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4508), [crates/klav-daemon/src/server.rs:4607](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4607), [crates/klav-ffi/src/device_link.rs:326](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/device_link.rs#L326)

<a id="rpc-request-edit"></a>

## `Request.edit`

Edit an item.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:230](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L230)
- Handlers: 3 · Callers: 4
- Method: `edit` · transport unix-socket
- Input: `{ query: string; patch: ItemPatch }`
- Used at: [crates/klav-cli/src/backend.rs:582](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L582), [crates/klav-daemon/src/native.rs:279](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/native.rs#L279), [crates/klav-daemon/src/presence.rs:167](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L167), [crates/klav-daemon/src/server.rs:2428](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2428), [crates/klav-daemon/src/server.rs:4793](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4793), … +2

<a id="rpc-request-end_task"></a>

## `Request.end_task`

Ends a running task («End task»).

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:457](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L457)
- Handlers: 2 · Callers: 3
- Method: `end_task` · transport unix-socket
- Input: `{ task: string }`
- Used at: [crates/klav-cli/src/commands/task.rs:121](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/task.rs#L121), [crates/klav-daemon/src/presence.rs:184](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L184), [crates/klav-daemon/src/server.rs:2447](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2447), [crates/klav-daemon/src/server.rs:5227](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5227), [crates/klav-ffi/src/daemon.rs:1628](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1628)

<a id="rpc-request-environment"></a>

## `Request.environment`

One environment: names, origins and what an agent changed, never a value. Answer: [`klav_client::environments::EnvironmentDetail`] or `null` when there is none of that name.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:158](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L158)
- Handlers: 3 · Callers: 3
- Method: `environment` · transport unix-socket
- Input: `{ project?: string; name: string }`
- Used at: [crates/klav-cli/src/backend.rs:840](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L840), [crates/klav-daemon/src/presence.rs:163](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L163), [crates/klav-daemon/src/server.rs:4500](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4500), [crates/klav-daemon/src/server.rs:4593](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4593), [crates/klav-daemon/src/server.rs:4735](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4735), … +1

<a id="rpc-request-environment_import_review"></a>

## `Request.environment_import_review`

The review of `klav env import` (ADR 0032 §6): compares the values in memory with the environment and the vault's fields, so it is gated as a value. Answer: [`klav_client::environments::ImportReview`] list, with no value.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:168](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L168)
- Handlers: 5 · Callers: 2
- Method: `environment_import_review` · transport unix-socket
- Input: `{ project?: string; name: string; variables: [string, SecretText][]; password?: SecretText }`
- Used at: [crates/klav-cli/src/backend.rs:861](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L861), [crates/klav-daemon/src/presence.rs:93](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L93), [crates/klav-daemon/src/presence.rs:253](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L253), [crates/klav-daemon/src/server.rs:4297](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4297), [crates/klav-daemon/src/server.rs:4501](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4501), … +2

<a id="rpc-request-environment_save"></a>

## `Request.environment_save`

Saves a change to an environment (ADR 0032 §3.1): one that makes the protection grow reissues the agents' grants first; one that lowers it asks for Touch ID or the master password first. Answer: [`klav_client::environments::EnvironmentSaved`].

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:184](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L184)
- Handlers: 3 · Callers: 2
- Method: `environment_save` · transport unix-socket
- Input: `{ project?: string; name: string; edit: EnvironmentEdit; password?: SecretText }`
- Used at: [crates/klav-cli/src/backend.rs:895](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L895), [crates/klav-daemon/src/presence.rs:126](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L126), [crates/klav-daemon/src/server.rs:3894](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3894), [crates/klav-daemon/src/server.rs:4751](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4751), [crates/klav-ffi/src/environments.rs:459](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/environments.rs#L459)

<a id="rpc-request-environment_trash"></a>

## `Request.environment_trash`

Moves an environment to the trash; a protected one is first saved unprotected, with presence. Answer: [`klav_client::environments::EnvironmentSaved`].

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:198](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L198)
- Handlers: 3 · Callers: 2
- Method: `environment_trash` · transport unix-socket
- Input: `{ project?: string; name: string; password?: SecretText }`
- Used at: [crates/klav-cli/src/backend.rs:927](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L927), [crates/klav-daemon/src/presence.rs:127](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L127), [crates/klav-daemon/src/server.rs:3894](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3894), [crates/klav-daemon/src/server.rs:4770](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4770), [crates/klav-ffi/src/environments.rs:485](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/environments.rs#L485)

<a id="rpc-request-environments"></a>

## `Request.environments`

The environments of a project, or of every project (ADR 0032 §6). Answer: [`klav_client::environments::EnvironmentListing`] list.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:150](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L150)
- Handlers: 3 · Callers: 3
- Method: `environments` · transport unix-socket
- Input: `{ project?: string }`
- Used at: [crates/klav-cli/src/backend.rs:821](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L821), [crates/klav-daemon/src/presence.rs:162](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L162), [crates/klav-daemon/src/server.rs:4499](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4499), [crates/klav-daemon/src/server.rs:4540](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4540), [crates/klav-daemon/src/server.rs:4732](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4732), … +1

<a id="rpc-request-extension_attach"></a>

## `Request.extension_attach`

Registers this connection as a browser extension that fills pages for agents (sent by the extension through `klav-native-host`). [`EventEnvelope`] lines then arrive on it between responses.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:952](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L952)
- Handlers: 4 · Callers: 0
- Method: `extension_attach` · transport unix-socket
- Input: `{ browser: string }`
- Used at: [crates/klav-daemon/src/presence.rs:95](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L95), [crates/klav-daemon/src/server.rs:2037](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2037), [crates/klav-daemon/src/server.rs:3373](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3373), [crates/klav-daemon/src/server.rs:5864](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5864)

<a id="rpc-request-extension_presence"></a>

## `Request.extension_presence`

The extension's answer to [`Event::Presence`]: the master password the person typed in Klav's own frame (ADR 0041 §3.1, §3.2). Only on the connection the event was sent to. `klavd` checks it against the unlocked session: right, the connection is verified and `{}` comes back; wrong, `wrong_credentials`, and the event keeps waiting for another try. Canceling is an `extension_reply` with an `error`; an `extension_reply` with `ok` never verifies anything.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:974](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L974)
- Handlers: 4 · Callers: 0
- Method: `extension_presence` · transport unix-socket
- Input: `{ event: number; password: SecretText }`
- Used at: [crates/klav-daemon/src/presence.rs:145](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L145), [crates/klav-daemon/src/server.rs:2055](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2055), [crates/klav-daemon/src/server.rs:3375](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3375), [crates/klav-daemon/src/server.rs:5866](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5866)

<a id="rpc-request-extension_reply"></a>

## `Request.extension_reply`

The extension's answer to an event.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:957](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L957)
- Handlers: 4 · Callers: 0
- Method: `extension_reply` · transport unix-socket
- Input: `{ event: number; ok?: unknown; error?: ErrorBody }`
- Used at: [crates/klav-daemon/src/presence.rs:145](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L145), [crates/klav-daemon/src/server.rs:2075](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2075), [crates/klav-daemon/src/server.rs:3374](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3374), [crates/klav-daemon/src/server.rs:5865](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5865)

<a id="rpc-request-fulfill_secret_request"></a>

## `Request.fulfill_secret_request`

Fulfills a pending agent secret request: saves the secret into the vault, optionally grants `klav-proxy` access or links an environment variable (requiring presence when `input.grant_proxy` is true or `input.env_link` is present), and posts the account-signed decision.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:473](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L473)
- Handlers: 5 · Callers: 4
- Method: `fulfill_secret_request` · transport unix-socket
- Input: `{ request: string; input: FulfillSecretRequest; password?: SecretText }`
- Used at: [crates/klav-cli/src/commands/secret_request.rs:351](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/secret_request.rs#L351), [crates/klav-cli/src/commands/secret_request.rs:361](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/secret_request.rs#L361), [crates/klav-daemon/src/native.rs:276](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/native.rs#L276), [crates/klav-daemon/src/native.rs:279](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/native.rs#L279), [crates/klav-daemon/src/presence.rs:103](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L103), … +4

<a id="rpc-request-generated_value"></a>

## `Request.generated_value`

The value of one generator history entry.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:865](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L865)
- Handlers: 6 · Callers: 4
- Method: `generated_value` · transport unix-socket
- Input: `{ created_at: number; password?: SecretText }`
- Used at: [crates/klav-cli/src/backend.rs:801](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L801), [crates/klav-daemon/src/presence.rs:91](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L91), [crates/klav-daemon/src/presence.rs:251](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L251), [crates/klav-daemon/src/server.rs:2402](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2402), [crates/klav-daemon/src/server.rs:4290](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4290), … +5

<a id="rpc-request-generator_delete"></a>

## `Request.generator_delete`

Deletes generator history entries (and the versions that hold them).

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:875](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L875)
- Handlers: 2 · Callers: 3
- Method: `generator_delete` · transport unix-socket
- Input: `{ which: GeneratedSelection }`
- Used at: [crates/klav-cli/src/backend.rs:945](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L945), [crates/klav-daemon/src/presence.rs:229](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L229), [crates/klav-daemon/src/server.rs:2437](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2437), [crates/klav-daemon/src/server.rs:4915](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4915), [crates/klav-ffi/src/daemon.rs:1472](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1472)

<a id="rpc-request-generator_history"></a>

## `Request.generator_history`

The generator history, newest first, without values.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:863](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L863)
- Handlers: 3 · Callers: 5
- Method: `generator_history` · transport unix-socket
- Used at: [crates/klav-cli/src/backend.rs:793](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L793), [crates/klav-daemon/src/presence.rs:228](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L228), [crates/klav-daemon/src/server.rs:2401](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2401), [crates/klav-daemon/src/server.rs:4503](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4503), [crates/klav-daemon/src/server.rs:4600](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4600), … +3

<a id="rpc-request-generator_record"></a>

## `Request.generator_record`

Records a generated password in the local outbox (ADR 0022 §2), durably, before the caller types it anywhere. Works offline; the outbox goes to the generator history in the background.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:855](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L855)
- Handlers: 2 · Callers: 3
- Method: `generator_record` · transport unix-socket
- Input: `{ value: SecretText; host?: string }`
- Used at: [crates/klav-cli/src/commands/generate.rs:127](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/generate.rs#L127), [crates/klav-daemon/src/presence.rs:227](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L227), [crates/klav-daemon/src/server.rs:2436](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2436), [crates/klav-daemon/src/server.rs:4905](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4905), [crates/klav-ffi/src/daemon.rs:1442](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1442)

<a id="rpc-request-grant_change_apply"></a>

## `Request.grant_change_apply`

Signs a change shown with `grant_change_prepare`: syncs, verifies the grant in force again and refuses unless `digest` is still the sheet's (F3). Asks for presence (Touch ID, or `password`) only when the change widens, as `klavd` computes it (P8). Answer: `GrantChangeReport`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:537](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L537)
- Handlers: 2 · Callers: 3
- Method: `grant_change_apply` · transport unix-socket
- Input: `{ agent: AgentId; change: GrantChange; digest: string; password?: SecretText }`
- Used at: [crates/klav-cli/src/commands/agent.rs:1119](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/agent.rs#L1119), [crates/klav-daemon/src/presence.rs:110](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L110), [crates/klav-daemon/src/server.rs:2441](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2441), [crates/klav-daemon/src/server.rs:5330](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5330), [crates/klav-ffi/src/daemon.rs:1789](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1789)

<a id="rpc-request-grant_change_prepare"></a>

## `Request.grant_change_prepare`

The sheet of a change to an active agent's grant: only the differences, which widen, and the digest that binds the sheet to the grant in force and to `change` (F3). Signs nothing. Answer: `GrantChangePreview`. No presence.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:528](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L528)
- Handlers: 2 · Callers: 2
- Method: `grant_change_prepare` · transport unix-socket
- Input: `{ agent: AgentId; change: GrantChange }`
- Used at: [crates/klav-cli/src/commands/agent.rs:1072](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/agent.rs#L1072), [crates/klav-daemon/src/presence.rs:199](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L199), [crates/klav-daemon/src/server.rs:5326](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5326), [crates/klav-ffi/src/daemon.rs:1761](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1761)

<a id="rpc-request-grant_editor"></a>

## `Request.grant_editor`

An active agent's grant in force, in the apps' editor model, or read-only with the reason (F3, F4). Answer: `GrantEditor`. No presence.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:521](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L521)
- Handlers: 2 · Callers: 1
- Method: `grant_editor` · transport unix-socket
- Input: `{ agent: AgentId }`
- Used at: [crates/klav-daemon/src/presence.rs:198](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L198), [crates/klav-daemon/src/server.rs:5325](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5325), [crates/klav-ffi/src/daemon.rs:1749](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1749)

<a id="rpc-request-health_settings"></a>

## `Request.health_settings`

The health settings of this home (`health.json`): with `breach_check`, turns the breach check on or off first. Answer: `{breach_check, notice}`. Works locked.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:1142](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L1142)
- Handlers: 3 · Callers: 2
- Method: `health_settings` · transport unix-socket
- Input: `{ breach_check?: boolean }`
- Used at: [crates/klav-daemon/src/presence.rs:239](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L239), [crates/klav-daemon/src/server.rs:2537](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2537), [crates/klav-daemon/src/server.rs:3683](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3683), [crates/klav-ffi/src/daemon.rs:1805](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1805), [crates/klav-ffi/src/daemon.rs:1813](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1813)

<a id="rpc-request-hold"></a>

## `Request.hold`

Declares that this connection's `unlock`, or its first window verification, should last until Klav locks (ADR 0041 §1.2): the held connection. No argument; it grants nothing by itself. Answers `not_supported` until layer 6 turns it on, and always on Linux.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:1151](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L1151)
- Handlers: 2 · Callers: 1
- Method: `hold` · transport unix-socket
- Used at: [crates/klav-daemon/src/presence.rs:134](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L134), [crates/klav-daemon/src/server.rs:3693](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3693), [crates/klav-ffi/src/presence.rs:367](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/presence.rs#L367)

<a id="rpc-request-import_add"></a>

## `Request.import_add`

Adds an export file (or a Google Authenticator link or QR image) to an import (ADR 0024). Without `session`, starts a new one. A file larger than a message goes in pieces: every piece but the last has `more`. Answer: [`ImportAdded`]. The import lives until `lock`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:904](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L904)
- Handlers: 2 · Callers: 2
- Method: `import_add` · transport unix-socket
- Input: `{ session?: string; name: string; from?: string; data: SecretBytes; more?: boolean }`
- Used at: [crates/klav-cli/src/backend.rs:489](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L489), [crates/klav-daemon/src/presence.rs:232](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L232), [crates/klav-daemon/src/server.rs:4927](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4927), [crates/klav-ffi/src/daemon.rs:1150](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1150)

<a id="rpc-request-import_apply"></a>

## `Request.import_apply`

Imports: creates and merges as the preview said, keeping replaced passwords in the history (`klav_client::import::ImportResult`). The import is forgotten afterwards.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:934](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L934)
- Handlers: 2 · Callers: 3
- Method: `import_apply` · transport unix-socket
- Input: `{ session: string; vault?: string; project?: string }`
- Used at: [crates/klav-cli/src/backend.rs:550](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L550), [crates/klav-daemon/src/presence.rs:234](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L234), [crates/klav-daemon/src/server.rs:2438](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2438), [crates/klav-daemon/src/server.rs:4951](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4951), [crates/klav-ffi/src/daemon.rs:1201](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1201)

<a id="rpc-request-import_cancel"></a>

## `Request.import_cancel`

Forgets an import without importing.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:945](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L945)
- Handlers: 2 · Callers: 2
- Method: `import_cancel` · transport unix-socket
- Input: `{ session: string }`
- Used at: [crates/klav-cli/src/backend.rs:567](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L567), [crates/klav-daemon/src/presence.rs:235](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L235), [crates/klav-daemon/src/server.rs:4964](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4964), [crates/klav-ffi/src/daemon.rs:1228](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1228)

<a id="rpc-request-import_preview"></a>

## `Request.import_preview`

What importing would do, without values (`klav_client::import::ImportPreview`). Changes nothing.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:921](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L921)
- Handlers: 2 · Callers: 2
- Method: `import_preview` · transport unix-socket
- Input: `{ session: string; vault?: string; project?: string }`
- Used at: [crates/klav-cli/src/backend.rs:524](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L524), [crates/klav-daemon/src/presence.rs:233](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L233), [crates/klav-daemon/src/server.rs:4939](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4939), [crates/klav-ffi/src/daemon.rs:1177](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1177)

<a id="rpc-request-item_activity"></a>

## `Request.item_activity`

«Who used it» for one item (ADR 0033 §8.1): every event an agent wrote about it, newest first, with how it went. Answer: [`klav_client::activity::ItemActivity`].

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:838](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L838)
- Handlers: 2 · Callers: 1
- Method: `item_activity` · transport unix-socket
- Input: `{ item: string }`
- Used at: [crates/klav-daemon/src/presence.rs:224](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L224), [crates/klav-daemon/src/server.rs:5804](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5804), [crates/klav-ffi/src/daemon.rs:1884](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1884)

<a id="rpc-request-list"></a>

## `Request.list`

List items.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:208](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L208)
- Handlers: 3 · Callers: 5
- Method: `list` · transport unix-socket
- Input: `{ filter: ItemFilter }`
- Used at: [crates/klav-cli/src/backend.rs:427](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L427), [crates/klav-daemon/src/presence.rs:164](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L164), [crates/klav-daemon/src/server.rs:2394](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2394), [crates/klav-daemon/src/server.rs:4490](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4490), [crates/klav-daemon/src/server.rs:4539](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4539), … +3

<a id="rpc-request-local_client_change"></a>

## `Request.local_client_change`

Signs a change to the local MCP client `name`. A new token's digest comes in `change`, never the token. `base_version` and `shown_proxy` are what the preview showed: nothing is signed if either changed. Asks for presence.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:616](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L616)
- Handlers: 3 · Callers: 2
- Method: `local_client_change` · transport unix-socket
- Input: `{ name: string; change: LocalClientChange; base_version: number; shown_proxy: AgentId; password?: SecretText }`
- Used at: [crates/klav-cli/src/commands/client_mcp.rs:231](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/client_mcp.rs#L231), [crates/klav-daemon/src/presence.rs:117](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L117), [crates/klav-daemon/src/server.rs:2457](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2457), [crates/klav-daemon/src/server.rs:3884](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3884), [crates/klav-daemon/src/server.rs:5552](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5552)

<a id="rpc-request-local_client_preview"></a>

## `Request.local_client_preview`

What a change to the local MCP client `name` of the account's proxy would sign (ADR 0049 §3.2), without signing or asking for presence.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:608](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L608)
- Handlers: 2 · Callers: 1
- Method: `local_client_preview` · transport unix-socket
- Input: `{ name: string; change: LocalClientChange }`
- Used at: [crates/klav-cli/src/commands/client_mcp.rs:199](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/client_mcp.rs#L199), [crates/klav-daemon/src/presence.rs:206](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L206), [crates/klav-daemon/src/server.rs:5548](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5548)

<a id="rpc-request-lock"></a>

## `Request.lock`

Forget the unlocked state now.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:84](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L84)
- Handlers: 2 · Callers: 3
- Method: `lock` · transport unix-socket
- Used at: [crates/klav-cli/src/commands/account.rs:382](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/account.rs#L382), [crates/klav-cli/src/commands/account.rs:582](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/account.rs#L582), [crates/klav-daemon/src/presence.rs:154](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L154), [crates/klav-daemon/src/server.rs:3722](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3722), [crates/klav-ffi/src/daemon.rs:848](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L848)

<a id="rpc-request-mcp_gateway"></a>

## `Request.mcp_gateway`

The account's MCP gateway switch (ADR 0049 §9): `true` or `false`, or `null` from a server older than the gateway.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:626](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L626)
- Handlers: 3 · Callers: 2
- Method: `mcp_gateway` · transport unix-socket
- Used at: [crates/klav-daemon/src/presence.rs:207](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L207), [crates/klav-daemon/src/server.rs:4513](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4513), [crates/klav-daemon/src/server.rs:4613](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4613), [crates/klav-daemon/src/server.rs:5579](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5579), [crates/klav-ffi/src/daemon.rs:1897](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1897)

<a id="rpc-request-mcp_gateway_older"></a>

## `Request.mcp_gateway_older`

Whether turning the MCP gateway on needs the person's word that every device and the proxy are updated (ADR 0049, amendment of 2026-11-27): `true` when the account has another device that is not revoked, or a proxy of the person's own, or when that can't be read. A `klavd` older than this answers that the request is malformed, which the apps read as `true`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:633](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L633)
- Handlers: 3 · Callers: 3
- Method: `mcp_gateway_older` · transport unix-socket
- Used at: [crates/klav-daemon/src/presence.rs:208](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L208), [crates/klav-daemon/src/server.rs:4478](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4478), [crates/klav-daemon/src/server.rs:4514](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4514), [crates/klav-daemon/src/server.rs:4614](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4614), [crates/klav-daemon/src/server.rs:5580](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5580), … +1

<a id="rpc-request-mcp_gateway_on"></a>

## `Request.mcp_gateway_on`

Turns the account's MCP gateway switch on (ADR 0049 §9). Refused unless `every_device_updated` acknowledges what devices and proxies older than the gateway lose, when the account may hold one (`mcp_gateway_older`); asks for presence unless it is already on. Nothing turns it off. Answer: `true`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:639](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L639)
- Handlers: 3 · Callers: 2
- Method: `mcp_gateway_on` · transport unix-socket
- Input: `{ every_device_updated?: boolean; password?: SecretText }`
- Used at: [crates/klav-daemon/src/presence.rs:118](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L118), [crates/klav-daemon/src/server.rs:2458](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2458), [crates/klav-daemon/src/server.rs:3885](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3885), [crates/klav-daemon/src/server.rs:5581](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5581), [crates/klav-ffi/src/daemon.rs:1955](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1955)

<a id="rpc-request-move_item"></a>

## `Request.move_item`

Move an item to another project, perhaps of another vault. The destination copy keeps the title, fields, notes, URLs and attachments; the source goes to the trash only once the copy is complete.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:240](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L240)
- Handlers: 2 · Callers: 3
- Method: `move_item` · transport unix-socket
- Input: `{ query: string; vault?: string; project?: string; allow_duplicate?: boolean }`
- Used at: [crates/klav-cli/src/backend.rs:604](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L604), [crates/klav-daemon/src/presence.rs:168](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L168), [crates/klav-daemon/src/server.rs:2429](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2429), [crates/klav-daemon/src/server.rs:4794](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4794), [crates/klav-ffi/src/daemon.rs:1388](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1388)

<a id="rpc-request-offer_task"></a>

## `Request.offer_task`

The person offers an agent a task with `rotate` on these logins (ADR 0022 §6), signed without a request from the agent. Asks for presence like `decide_task`. Answer: the task's `TaskCard`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:1114](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L1114)
- Handlers: 3 · Callers: 3
- Method: `offer_task` · transport unix-socket
- Input: `{ offer: OfferRequest; password?: SecretText }`
- Used at: [crates/klav-cli/src/commands/health.rs:362](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/health.rs#L362), [crates/klav-daemon/src/presence.rs:102](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L102), [crates/klav-daemon/src/server.rs:2467](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2467), [crates/klav-daemon/src/server.rs:3877](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3877), [crates/klav-daemon/src/server.rs:5850](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5850), … +1

<a id="rpc-request-passkey_candidates"></a>

## `Request.passkey_candidates`

The logins with a passkey for the page (ADR 0020): metadata only. Without an `rp_id` in the answer, the call goes to the browser.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:330](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L330)
- Handlers: 3 · Callers: 2
- Method: `passkey_candidates` · transport unix-socket
- Input: `{ origin: string; rp_id?: string; allow_credentials?: string[] }`
- Used at: [crates/klav-daemon/src/presence.rs:173](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L173), [crates/klav-daemon/src/server.rs:2399](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2399), [crates/klav-daemon/src/server.rs:4495](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4495), [crates/klav-daemon/src/server.rs:4567](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4567), [crates/klav-daemon/src/server.rs:4824](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4824)

<a id="rpc-request-passkey_create"></a>

## `Request.passkey_create`

Create a passkey (ADR 0020): asks for Touch ID (or `password`) first, then stores it and returns the registration for the page, or says why not (`browser`, `excluded`, `exists`).

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:359](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L359)
- Handlers: 3 · Callers: 1
- Method: `passkey_create` · transport unix-socket
- Input: `{ request: PasskeyCreateRequest; password?: SecretText }`
- Used at: [crates/klav-daemon/src/presence.rs:96](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L96), [crates/klav-daemon/src/server.rs:2434](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2434), [crates/klav-daemon/src/server.rs:3897](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3897), [crates/klav-daemon/src/server.rs:4872](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4872)

<a id="rpc-request-passkey_get"></a>

## `Request.passkey_get`

Sign in with the passkey of `item` (ADR 0020): asks for Touch ID (or `password`) first, then returns the assertion for the page.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:342](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L342)
- Handlers: 3 · Callers: 1
- Method: `passkey_get` · transport unix-socket
- Input: `{ origin: string; rp_id?: string; challenge: string; item: string; password?: SecretText }`
- Used at: [crates/klav-daemon/src/presence.rs:96](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L96), [crates/klav-daemon/src/server.rs:2400](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2400), [crates/klav-daemon/src/server.rs:3897](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3897), [crates/klav-daemon/src/server.rs:4833](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4833)

<a id="rpc-request-passkey_uv"></a>

## `Request.passkey_uv`

The passkey user-verification window of this `klavd` (ADR 0020 §8): with `window`, sets it first. Loosening it asks for Touch ID (or `password`); tightening does not. Answer: `{window}`. Works locked while the presence gate is off; with it on, the setting is sealed in `klavd`'s local data and this answers `locked` while locked, and loosening opens no passkey window (ADR 0041 §2.4).

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:1133](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L1133)
- Handlers: 4 · Callers: 0
- Method: `passkey_uv` · transport unix-socket
- Input: `{ window?: Window; password?: SecretText }`
- Used at: [crates/klav-daemon/src/presence.rs:128](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L128), [crates/klav-daemon/src/presence.rs:200](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L200), [crates/klav-daemon/src/server.rs:2538](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2538), [crates/klav-daemon/src/server.rs:3686](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3686)

<a id="rpc-request-password_history"></a>

## `Request.password_history`

The previous passwords of an item, without values.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:880](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L880)
- Handlers: 3 · Callers: 4
- Method: `password_history` · transport unix-socket
- Input: `{ query: string }`
- Used at: [crates/klav-cli/src/backend.rs:759](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L759), [crates/klav-daemon/src/presence.rs:230](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L230), [crates/klav-daemon/src/server.rs:2403](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2403), [crates/klav-daemon/src/server.rs:4504](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4504), [crates/klav-daemon/src/server.rs:4601](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4601), … +2

<a id="rpc-request-pause_agents"></a>

## `Request.pause_agents`

Pauses every agent (no `agent`) or one (ADR 0033 §7), now and without asking for presence: a scare costs one click (P2). Unlocked, `klavd` signs it with the account and sends it at once; offline, it applies it here and keeps trying. Locked, pausing every agent works too: `klavd` applies it here at once and signs and sends it after the next unlock; pausing one agent needs `klavd` unlocked. Works locked. Answer: [`PauseInEffect`] list, as in `status`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:753](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L753)
- Handlers: 2 · Callers: 3
- Method: `pause_agents` · transport unix-socket
- Input: `{ agent?: AgentId; until?: number }`
- Used at: [crates/klav-cli/src/commands/agent.rs:600](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/agent.rs#L600), [crates/klav-cli/src/commands/agent.rs:615](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/agent.rs#L615), [crates/klav-daemon/src/presence.rs:215](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L215), [crates/klav-daemon/src/server.rs:3698](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3698), [crates/klav-ffi/src/daemon.rs:2154](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L2154)

<a id="rpc-request-pg_guard"></a>

## `Request.pg_guard`

The account's `pg_guard` switch (ADR 0052 §10): `true` or `false`, or `null` from a server older than the Postgres proxy.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:667](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L667)
- Handlers: 3 · Callers: 2
- Method: `pg_guard` · transport unix-socket
- Used at: [crates/klav-cli/src/commands/proxy.rs:184](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/proxy.rs#L184), [crates/klav-daemon/src/presence.rs:211](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L211), [crates/klav-daemon/src/server.rs:4517](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4517), [crates/klav-daemon/src/server.rs:4623](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4623), [crates/klav-daemon/src/server.rs:5636](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5636)

<a id="rpc-request-pg_guard_older"></a>

## `Request.pg_guard_older`

Whether turning the Postgres guard on needs the person's word that every device and the proxy are updated: as `proxy_tunnels_older`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:670](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L670)
- Handlers: 3 · Callers: 3
- Method: `pg_guard_older` · transport unix-socket
- Used at: [crates/klav-cli/src/commands/proxy.rs:228](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/proxy.rs#L228), [crates/klav-daemon/src/presence.rs:212](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L212), [crates/klav-daemon/src/server.rs:4480](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4480), [crates/klav-daemon/src/server.rs:4518](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4518), [crates/klav-daemon/src/server.rs:4624](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4624), … +1

<a id="rpc-request-pg_guard_on"></a>

## `Request.pg_guard_on`

Turns the account's `pg_guard` switch on (ADR 0052 §10), as `proxy_tunnels_on`. Nothing turns it off. Answer: `true`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:673](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L673)
- Handlers: 3 · Callers: 2
- Method: `pg_guard_on` · transport unix-socket
- Input: `{ every_device_updated?: boolean; password?: SecretText }`
- Used at: [crates/klav-cli/src/commands/proxy.rs:240](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/proxy.rs#L240), [crates/klav-daemon/src/presence.rs:120](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L120), [crates/klav-daemon/src/server.rs:2460](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2460), [crates/klav-daemon/src/server.rs:3887](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3887), [crates/klav-daemon/src/server.rs:5638](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5638)

<a id="rpc-request-presence_window"></a>

## `Request.presence_window`

The presence window of this `klavd` (ADR 0041 §2.4): with `window`, sets it first. Loosening asks for Touch ID (or `password`) and opens no window; tightening asks for nothing and applies at once. Answer: `{window}`. `locked` while locked; `not_supported` while the presence gate is off.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:1157](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L1157)
- Handlers: 4 · Callers: 5
- Method: `presence_window` · transport unix-socket
- Input: `{ window?: Window; password?: SecretText }`
- Used at: [crates/klav-cli/src/commands/presence.rs:58](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/presence.rs#L58), [crates/klav-cli/src/commands/presence.rs:73](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/presence.rs#L73), [crates/klav-cli/src/presence.rs:754](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/presence.rs#L754), [crates/klav-daemon/src/presence.rs:131](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L131), [crates/klav-daemon/src/presence.rs:201](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L201), … +4

<a id="rpc-request-previous_password"></a>

## `Request.previous_password`

One previous password of an item.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:885](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L885)
- Handlers: 8 · Callers: 5
- Method: `previous_password` · transport unix-socket
- Input: `{ query: string; index: number; password?: SecretText }`
- Used at: [crates/klav-cli/src/backend.rs:780](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L780), [crates/klav-daemon/src/presence.rs:89](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L89), [crates/klav-daemon/src/presence.rs:249](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L249), [crates/klav-daemon/src/server.rs:2404](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2404), [crates/klav-daemon/src/server.rs:3592](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3592), … +8

<a id="rpc-request-projects"></a>

## `Request.projects`

List projects.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:120](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L120)
- Handlers: 3 · Callers: 4
- Method: `projects` · transport unix-socket
- Input: `{ vault?: string }`
- Used at: [crates/klav-cli/src/backend.rs:343](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L343), [crates/klav-daemon/src/presence.rs:158](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L158), [crates/klav-daemon/src/server.rs:2391](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2391), [crates/klav-daemon/src/server.rs:4489](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4489), [crates/klav-daemon/src/server.rs:4535](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4535), … +2

<a id="rpc-request-proxy_cloud"></a>

## `Request.proxy_cloud`

Klav Cloud's proxy (ADR 0051 §6.1, §6.3, §4.4): `use` enrolls the account, verifies the enclave's attestation and names it the account's proxy; `stop` revokes its agent (changing the keys of what it held) and uses none; `reset` enrolls the next generation, moves the credentials to it and revokes the old agent. Each asks for presence first. Answers a `CloudOutcome`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:567](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L567)
- Handlers: 3 · Callers: 3
- Method: `proxy_cloud` · transport unix-socket
- Input: `{ action: CloudAction; password?: SecretText }`
- Used at: [crates/klav-cli/src/commands/proxy.rs:348](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/proxy.rs#L348), [crates/klav-daemon/src/presence.rs:112](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L112), [crates/klav-daemon/src/server.rs:2452](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2452), [crates/klav-daemon/src/server.rs:3879](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3879), [crates/klav-daemon/src/server.rs:5400](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5400), … +1

<a id="rpc-request-proxy_cloud_entitled"></a>

## `Request.proxy_cloud_entitled`

Whether the account is entitled to Klav Cloud's proxy (ADR 0051 §15, `GET /v1/account/hosted-proxy`): `null` from a server older than it. What the apps read to offer «Use Klav Cloud Proxy».

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:560](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L560)
- Handlers: 3 · Callers: 3
- Method: `proxy_cloud_entitled` · transport unix-socket
- Used at: [crates/klav-daemon/src/presence.rs:203](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L203), [crates/klav-daemon/src/server.rs:4512](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4512), [crates/klav-daemon/src/server.rs:4612](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4612), [crates/klav-daemon/src/server.rs:5399](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5399), [crates/klav-ffi/src/daemon.rs:1917](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1917), … +1

<a id="rpc-request-proxy_grant"></a>

## `Request.proxy_grant`

Grants `item` to the account's proxy with `credential`'s profile and rules. `base_version` is the grant version the preview showed: nothing is signed if it changed. The presence prompt shows what is signed, and, while the proxy is pending, the 6 words of the key klavd fetched. `every_device_updated` acknowledges what older devices lose, needed for the account's first per-item grant.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:585](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L585)
- Handlers: 3 · Callers: 3
- Method: `proxy_grant` · transport unix-socket
- Input: `{ item: string; credential: ProxyCredentialSpec; base_version: number; every_device_updated?: boolean; shown_words?: string; shown_item?: ItemId; password?: SecretText }`
- Used at: [crates/klav-cli/src/commands/proxy.rs:605](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/proxy.rs#L605), [crates/klav-daemon/src/presence.rs:113](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L113), [crates/klav-daemon/src/server.rs:2453](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2453), [crates/klav-daemon/src/server.rs:3880](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3880), [crates/klav-daemon/src/server.rs:5422](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5422), … +1

<a id="rpc-request-proxy_grant_preview"></a>

## `Request.proxy_grant_preview`

What `proxy_grant` would sign for `item` (the profile, its rules, the proxy's words and warnings), without signing or asking for presence.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:575](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L575)
- Handlers: 2 · Callers: 2
- Method: `proxy_grant_preview` · transport unix-socket
- Input: `{ item: string; credential: ProxyCredentialSpec }`
- Used at: [crates/klav-cli/src/commands/proxy.rs:538](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/proxy.rs#L538), [crates/klav-daemon/src/presence.rs:204](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L204), [crates/klav-daemon/src/server.rs:5418](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5418), [crates/klav-ffi/src/proxy_grant.rs:597](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/proxy_grant.rs#L597)

<a id="rpc-request-proxy_issuer_add"></a>

## `Request.proxy_issuer_add`

Lets `agent` start sandboxes through the account's proxy: signs the issuer's grant and the proxy's. The base versions and the words are what the preview showed: nothing is signed if they changed. Asks for presence, with what it signs.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:723](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L723)
- Handlers: 3 · Callers: 3
- Method: `proxy_issuer_add` · transport unix-socket
- Input: `{ agent: string; issuer: IssuerSpec; proxy_base_version: number; issuer_base_version: number; shown_issuer: AgentId; shown_proxy: AgentId; every_device_updated?: boolean; shown_words?: string; password?: SecretText }`
- Used at: [crates/klav-cli/src/commands/proxy.rs:731](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/proxy.rs#L731), [crates/klav-daemon/src/presence.rs:115](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L115), [crates/klav-daemon/src/server.rs:2455](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2455), [crates/klav-daemon/src/server.rs:3882](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3882), [crates/klav-daemon/src/server.rs:5476](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5476), … +1

<a id="rpc-request-proxy_issuer_preview"></a>

## `Request.proxy_issuer_preview`

What `proxy_issuer_add` would sign for `agent` (ADR 0036 E6.2): profiles, limits, the proxy's address, the agent's words and the warnings, without signing or asking for presence.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:715](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L715)
- Handlers: 2 · Callers: 2
- Method: `proxy_issuer_preview` · transport unix-socket
- Input: `{ agent: string; issuer: IssuerSpec }`
- Used at: [crates/klav-cli/src/commands/proxy.rs:674](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/proxy.rs#L674), [crates/klav-daemon/src/presence.rs:205](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L205), [crates/klav-daemon/src/server.rs:5472](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5472), [crates/klav-ffi/src/proxy_issuer.rs:218](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/proxy_issuer.rs#L218)

<a id="rpc-request-proxy_issuer_remove"></a>

## `Request.proxy_issuer_remove`

Stops `agent` from starting sandboxes. Asks for presence.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:741](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L741)
- Handlers: 3 · Callers: 3
- Method: `proxy_issuer_remove` · transport unix-socket
- Input: `{ agent: string; password?: SecretText }`
- Used at: [crates/klav-cli/src/commands/proxy.rs:767](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/proxy.rs#L767), [crates/klav-daemon/src/presence.rs:116](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L116), [crates/klav-daemon/src/server.rs:2456](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2456), [crates/klav-daemon/src/server.rs:3883](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3883), [crates/klav-daemon/src/server.rs:5536](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5536), … +1

<a id="rpc-request-proxy_revoke"></a>

## `Request.proxy_revoke`

Takes `item` away from the account's proxy and changes its key (ADR 0036 §18). Asks for presence.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:707](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L707)
- Handlers: 3 · Callers: 3
- Method: `proxy_revoke` · transport unix-socket
- Input: `{ item: string; password?: SecretText }`
- Used at: [crates/klav-cli/src/commands/proxy.rs:638](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/proxy.rs#L638), [crates/klav-daemon/src/presence.rs:114](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L114), [crates/klav-daemon/src/server.rs:2454](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2454), [crates/klav-daemon/src/server.rs:3881](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3881), [crates/klav-daemon/src/server.rs:5716](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5716), … +1

<a id="rpc-request-proxy_status"></a>

## `Request.proxy_status`

The account's credential proxy, what it holds and what is lost without one (ADR 0036 §13). Names, hosts and the proxy's words: never a value.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:548](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L548)
- Handlers: 3 · Callers: 7
- Method: `proxy_status` · transport unix-socket
- Used at: [crates/klav-cli/src/commands/proxy.rs:415](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/proxy.rs#L415), [crates/klav-daemon/src/presence.rs:202](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L202), [crates/klav-daemon/src/server.rs:4474](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4474), [crates/klav-daemon/src/server.rs:4511](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4511), [crates/klav-daemon/src/server.rs:4611](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4611), … +5

<a id="rpc-request-proxy_tunnels"></a>

## `Request.proxy_tunnels`

The account's `proxy_tunnels` switch (ADR 0052 §10): `true` or `false`, or `null` from a server older than tunnels.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:647](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L647)
- Handlers: 3 · Callers: 3
- Method: `proxy_tunnels` · transport unix-socket
- Used at: [crates/klav-cli/src/commands/proxy.rs:259](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/proxy.rs#L259), [crates/klav-daemon/src/presence.rs:209](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L209), [crates/klav-daemon/src/server.rs:4515](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4515), [crates/klav-daemon/src/server.rs:4618](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4618), [crates/klav-daemon/src/server.rs:5609](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5609), … +1

<a id="rpc-request-proxy_tunnels_older"></a>

## `Request.proxy_tunnels_older`

Whether turning WebSocket tunnels on needs the person's word that every device and the proxy are updated (ADR 0052 §10): as `mcp_gateway_older`, and also with Klav Cloud's proxy. A `klavd` older than this answers that the request is malformed, which the apps read as `true`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:653](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L653)
- Handlers: 3 · Callers: 4
- Method: `proxy_tunnels_older` · transport unix-socket
- Used at: [crates/klav-cli/src/commands/proxy.rs:305](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/proxy.rs#L305), [crates/klav-daemon/src/presence.rs:210](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L210), [crates/klav-daemon/src/server.rs:4479](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4479), [crates/klav-daemon/src/server.rs:4516](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4516), [crates/klav-daemon/src/server.rs:4619](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4619), … +2

<a id="rpc-request-proxy_tunnels_on"></a>

## `Request.proxy_tunnels_on`

Turns the account's `proxy_tunnels` switch on (ADR 0052 §10). Refused unless `every_device_updated` acknowledges what older devices and proxies lose, when the account may hold one; asks for presence unless it is already on. Nothing turns it off. Answer: `true`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:659](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L659)
- Handlers: 3 · Callers: 3
- Method: `proxy_tunnels_on` · transport unix-socket
- Input: `{ every_device_updated?: boolean; password?: SecretText }`
- Used at: [crates/klav-cli/src/commands/proxy.rs:319](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/proxy.rs#L319), [crates/klav-daemon/src/presence.rs:119](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L119), [crates/klav-daemon/src/server.rs:2459](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2459), [crates/klav-daemon/src/server.rs:3886](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3886), [crates/klav-daemon/src/server.rs:5611](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5611), … +1

<a id="rpc-request-proxy_use"></a>

## `Request.proxy_use`

Sets which agent is the account's credential proxy (`agent`, a name or ID), or none. Asks for presence first (ADR 0036 §14).

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:551](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L551)
- Handlers: 3 · Callers: 2
- Method: `proxy_use` · transport unix-socket
- Input: `{ agent?: string; password?: SecretText }`
- Used at: [crates/klav-cli/src/commands/proxy.rs:506](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/proxy.rs#L506), [crates/klav-daemon/src/presence.rs:111](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L111), [crates/klav-daemon/src/server.rs:2451](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2451), [crates/klav-daemon/src/server.rs:3878](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3878), [crates/klav-daemon/src/server.rs:5362](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5362)

<a id="rpc-request-purge"></a>

## `Request.purge`

Permanently delete an item that is in the trash. `id` is the item ID; a reference or unique title also works, for the CLI.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:267](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L267)
- Handlers: 2 · Callers: 3
- Method: `purge` · transport unix-socket
- Input: `{ id: string }`
- Used at: [crates/klav-cli/src/backend.rs:652](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L652), [crates/klav-daemon/src/presence.rs:171](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L171), [crates/klav-daemon/src/server.rs:2432](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2432), [crates/klav-daemon/src/server.rs:4812](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4812), [crates/klav-ffi/src/daemon.rs:1128](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1128)

<a id="rpc-request-reset_cache"></a>

## `Request.reset_cache`

Forget the cached vaults and the rollback marks (keeping revoked agents and signed vault keys) and sync from scratch.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:116](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L116)
- Handlers: 2 · Callers: 2
- Method: `reset_cache` · transport unix-socket
- Used at: [crates/klav-cli/src/backend.rs:316](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L316), [crates/klav-daemon/src/presence.rs:156](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L156), [crates/klav-daemon/src/server.rs:2439](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2439), [crates/klav-daemon/src/server.rs:4684](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4684)

<a id="rpc-request-resolve"></a>

## `Request.resolve`

Resolve `klav://` references to values (`run`, `inject`).

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:285](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L285)
- Handlers: 10 · Callers: 6
- Method: `resolve` · transport unix-socket
- Input: `{ references: string[]; variables_only?: boolean; password?: SecretText }`
- Used at: [crates/klav-cli/src/backend.rs:686](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L686), [crates/klav-daemon/src/presence.rs:92](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L92), [crates/klav-daemon/src/presence.rs:252](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L252), [crates/klav-daemon/src/server.rs:3594](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3594), [crates/klav-daemon/src/server.rs:3607](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3607), … +11

<a id="rpc-request-resolve_pending"></a>

## `Request.resolve_pending`

The person decides on a pending password from the item's card: `accept` makes it current («Use the new one»), else it goes to the history («Keep the current one»).

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:1095](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L1095)
- Handlers: 2 · Callers: 2
- Method: `resolve_pending` · transport unix-socket
- Input: `{ query: string; accept: boolean }`
- Used at: [crates/klav-daemon/src/presence.rs:236](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L236), [crates/klav-daemon/src/server.rs:2435](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2435), [crates/klav-daemon/src/server.rs:5829](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5829), [crates/klav-ffi/src/daemon.rs:1433](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1433)

<a id="rpc-request-restore"></a>

## `Request.restore`

Restore an item from the trash. `id` is the item ID; a reference or unique title also works, for the CLI.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:261](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L261)
- Handlers: 2 · Callers: 3
- Method: `restore` · transport unix-socket
- Input: `{ id: string }`
- Used at: [crates/klav-cli/src/backend.rs:637](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L637), [crates/klav-daemon/src/presence.rs:170](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L170), [crates/klav-daemon/src/server.rs:2431](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2431), [crates/klav-daemon/src/server.rs:4811](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4811), [crates/klav-ffi/src/daemon.rs:1121](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1121)

<a id="rpc-request-resume_agents"></a>

## `Request.resume_agents`

Resumes every agent (no `agent`) or one, after Touch ID or the master password (ADR 0033 P2). Resuming every agent does not lift the pauses of single agents. Answer: [`PauseInEffect`] list.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:765](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L765)
- Handlers: 3 · Callers: 3
- Method: `resume_agents` · transport unix-socket
- Input: `{ agent?: AgentId; password?: SecretText }`
- Used at: [crates/klav-cli/src/commands/agent.rs:675](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/agent.rs#L675), [crates/klav-daemon/src/presence.rs:123](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L123), [crates/klav-daemon/src/server.rs:2463](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2463), [crates/klav-daemon/src/server.rs:3890](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3890), [crates/klav-daemon/src/server.rs:5748](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5748), … +1

<a id="rpc-request-reused_offer"></a>

## `Request.reused_offer`

«Fix my reused passwords» (ADR 0022 §6), for the person: the logins that share a password, sorted by host, with their change pages, checked against `agent`'s grant, and the agents that can take the task (`klav_client::offer::ReusedOffer`). Never for an agent: no MCP tool or agent command asks for it.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:1106](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L1106)
- Handlers: 2 · Callers: 2
- Method: `reused_offer` · transport unix-socket
- Input: `{ agent?: string }`
- Used at: [crates/klav-cli/src/backend.rs:726](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L726), [crates/klav-daemon/src/presence.rs:237](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L237), [crates/klav-daemon/src/server.rs:5835](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5835), [crates/klav-ffi/src/daemon.rs:1826](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1826)

<a id="rpc-request-revoke_agent"></a>

## `Request.revoke_agent`

Revokes an agent; with `rotate`, also rotates its projects' keys, one project at a time, releasing the session between projects (ADR 0033, amendment of 2026-11-10, F2). The progress goes in `status` (`revocations`) while it runs. Called again with `rotate` on a revoked agent, it finishes what is left.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:500](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L500)
- Handlers: 2 · Callers: 4
- Method: `revoke_agent` · transport unix-socket
- Input: `{ agent: AgentId; rotate?: boolean; background?: boolean }`
- Used at: [crates/klav-cli/src/commands/agent.rs:514](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/agent.rs#L514), [crates/klav-daemon/src/presence.rs:196](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L196), [crates/klav-daemon/src/server.rs:2450](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2450), [crates/klav-daemon/src/server.rs:3717](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3717), [crates/klav-ffi/src/daemon.rs:1703](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1703), … +1

<a id="rpc-request-sandbox_list"></a>

## `Request.sandbox_list`

The person's list of sandboxes (ADR 0036 E2.1): every sandbox in the verified chain, with the last heartbeat of the account's proxy, checked against this device's watermark. Verifies the log as `verify_audit` does. Answer: [`klav_client::sandboxes::SandboxList`]. Preferences an agent wrote are a `security` error here, as in every `klavd` before `sandbox_list_flagged`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:808](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L808)
- Handlers: 3 · Callers: 6
- Method: `sandbox_list` · transport unix-socket
- Used at: [crates/klav-cli/src/commands/proxy_sandboxes.rs:59](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/proxy_sandboxes.rs#L59), [crates/klav-cli/src/commands/proxy_sandboxes.rs:81](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/proxy_sandboxes.rs#L81), [crates/klav-daemon/src/presence.rs:218](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L218), [crates/klav-daemon/src/server.rs:4475](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4475), [crates/klav-daemon/src/server.rs:4521](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4521), … +4

<a id="rpc-request-sandbox_list_checked"></a>

## `Request.sandbox_list_checked`

[`Request::SandboxListFlagged`] for a caller that says in its own words which check refused the list. Answer: [`klav_client::sandboxes::CheckedList`], with the list, or `refused` with the check ([`klav_client::sandboxes::ListCheck`]) and the `security` error's words, instead of that error. Every other failure, a `security` one of no known check included, is the same error as `sandbox_list_flagged`'s. An older `klavd` answers `bad_request`: ask `sandbox_list_flagged` then, which fails with `security`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:823](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L823)
- Handlers: 3 · Callers: 3
- Method: `sandbox_list_checked` · transport unix-socket
- Used at: [crates/klav-daemon/src/presence.rs:222](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L222), [crates/klav-daemon/src/server.rs:4477](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4477), [crates/klav-daemon/src/server.rs:4523](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4523), [crates/klav-daemon/src/server.rs:4636](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4636), [crates/klav-daemon/src/server.rs:5793](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5793), … +1

<a id="rpc-request-sandbox_list_flagged"></a>

## `Request.sandbox_list_flagged`

[`Request::SandboxList`] for a caller that shows a security flag: preferences an agent wrote give the chain's rows of every proxy, no proxy and `security` ([`klav_client::sandboxes::SecurityFlag`]) instead of an error. An older `klavd` answers `bad_request`: ask `sandbox_list` then, which fails closed.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:814](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L814)
- Handlers: 3 · Callers: 4
- Method: `sandbox_list_flagged` · transport unix-socket
- Used at: [crates/klav-cli/src/commands/proxy_sandboxes.rs:79](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/proxy_sandboxes.rs#L79), [crates/klav-daemon/src/presence.rs:219](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L219), [crates/klav-daemon/src/server.rs:4476](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4476), [crates/klav-daemon/src/server.rs:4522](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4522), [crates/klav-daemon/src/server.rs:4635](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4635), … +2

<a id="rpc-request-sandbox_revoke"></a>

## `Request.sandbox_revoke`

The person's revocation of sandboxes of `proxy`, signed with the account's identity without presence (ADR 0036 E2.3). `scope` is `"all"` (every sandbox of `proxy` issued so far) or one sandbox ID, always given: a request without it, or with anything else, is a `bad_request` and revokes nothing. Answer: [`klav_client::sandbox_revoke::RevokeOutcome`]; a later revocation of the same scope is its `not_applied`, not an error.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:831](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L831)
- Handlers: 2 · Callers: 3
- Method: `sandbox_revoke` · transport unix-socket
- Input: `{ proxy: AgentId; scope: string }`
- Used at: [crates/klav-cli/src/commands/proxy_sandboxes.rs:538](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/proxy_sandboxes.rs#L538), [crates/klav-cli/src/commands/secret_request.rs:137](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/secret_request.rs#L137), [crates/klav-daemon/src/presence.rs:223](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L223), [crates/klav-daemon/src/server.rs:5797](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5797), [crates/klav-ffi/src/daemon.rs:392](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L392)

<a id="rpc-request-sandbox_secret_requests"></a>

## `Request.sandbox_secret_requests`

The account's `sandbox_secret_requests` switch (ADR 0053 §9): `true` or `false`, or `null` from a server older than it.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:681](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L681)
- Handlers: 3 · Callers: 3
- Method: `sandbox_secret_requests` · transport unix-socket
- Used at: [crates/klav-cli/src/commands/proxy.rs:95](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/proxy.rs#L95), [crates/klav-daemon/src/presence.rs:213](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L213), [crates/klav-daemon/src/server.rs:4519](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4519), [crates/klav-daemon/src/server.rs:4625](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4625), [crates/klav-daemon/src/server.rs:5662](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5662), … +1

<a id="rpc-request-sandbox_secret_requests_older"></a>

## `Request.sandbox_secret_requests_older`

Whether turning sandbox secret requests on needs the person's word that every device and the proxy are updated: as `pg_guard_older`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:684](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L684)
- Handlers: 3 · Callers: 4
- Method: `sandbox_secret_requests_older` · transport unix-socket
- Used at: [crates/klav-cli/src/commands/proxy.rs:147](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/proxy.rs#L147), [crates/klav-daemon/src/presence.rs:214](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L214), [crates/klav-daemon/src/server.rs:4481](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4481), [crates/klav-daemon/src/server.rs:4520](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4520), [crates/klav-daemon/src/server.rs:4629](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4629), … +2

<a id="rpc-request-sandbox_secret_requests_on"></a>

## `Request.sandbox_secret_requests_on`

Turns the account's `sandbox_secret_requests` switch on (ADR 0053 §9), as `pg_guard_on`. Nothing turns it off. Answer: `true`.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:687](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L687)
- Handlers: 3 · Callers: 3
- Method: `sandbox_secret_requests_on` · transport unix-socket
- Input: `{ every_device_updated?: boolean; password?: SecretText }`
- Used at: [crates/klav-cli/src/commands/proxy.rs:165](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/proxy.rs#L165), [crates/klav-daemon/src/presence.rs:121](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L121), [crates/klav-daemon/src/server.rs:2461](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2461), [crates/klav-daemon/src/server.rs:3888](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3888), [crates/klav-daemon/src/server.rs:5670](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5670), … +1

<a id="rpc-request-secret_request_issuer_off"></a>

## `Request.secret_request_issuer_off`

The card's "Don't let `<issuer>`'s sandboxes ask again" (ADR 0053 §3.3, T297): re-signs the proxy's grant with the opt-in of the issuer whose sandbox raised `request` turned off. The issuer comes from the verified audit log. Asks for presence, with the issuer's name. Answer: [`klav_client::issuers::IssuerReport`]. ("Stop this sandbox" is `sandbox_revoke` with the card's proxy and sandbox.)

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:699](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L699)
- Handlers: 3 · Callers: 3
- Method: `secret_request_issuer_off` · transport unix-socket
- Input: `{ request: string; password?: SecretText }`
- Used at: [crates/klav-cli/src/commands/secret_request.rs:172](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/secret_request.rs#L172), [crates/klav-daemon/src/presence.rs:122](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L122), [crates/klav-daemon/src/server.rs:2462](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2462), [crates/klav-daemon/src/server.rs:3889](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3889), [crates/klav-daemon/src/server.rs:5694](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5694), … +1

<a id="rpc-request-secret_requests"></a>

## `Request.secret_requests`

Pending (or all recent) agent secret requests (ADR 0046).

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:465](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L465)
- Handlers: 3 · Callers: 4
- Method: `secret_requests` · transport unix-socket
- Input: `{ all?: boolean }`
- Used at: [crates/klav-cli/src/commands/secret_request.rs:200](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/secret_request.rs#L200), [crates/klav-daemon/src/presence.rs:186](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L186), [crates/klav-daemon/src/server.rs:2389](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2389), [crates/klav-daemon/src/server.rs:4510](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4510), [crates/klav-daemon/src/server.rs:4610](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4610), … +2

<a id="rpc-request-set_agent_label"></a>

## `Request.set_agent_label`

Sets or clears a person-owned label and/or host for an agent (ADR 0047).

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:383](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L383)
- Handlers: 2 · Callers: 3
- Method: `set_agent_label` · transport unix-socket
- Input: `{ agent: AgentId; label?: string; host?: string }`
- Used at: [crates/klav-cli/src/commands/agent.rs:742](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/agent.rs#L742), [crates/klav-daemon/src/presence.rs:177](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L177), [crates/klav-daemon/src/server.rs:2426](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2426), [crates/klav-daemon/src/server.rs:4970](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4970), [crates/klav-ffi/src/daemon.rs:2142](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L2142)

<a id="rpc-request-set_project_repos"></a>

## `Request.set_project_repos`

Replace the linked Git repositories of a project (ADR 0032 §2).

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:139](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L139)
- Handlers: 2 · Callers: 3
- Method: `set_project_repos` · transport unix-socket
- Input: `{ vault?: string; project: string; repos: string[] }`
- Used at: [crates/klav-cli/src/backend.rs:410](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L410), [crates/klav-daemon/src/presence.rs:161](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L161), [crates/klav-daemon/src/server.rs:2425](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2425), [crates/klav-daemon/src/server.rs:4718](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4718), [crates/klav-ffi/src/daemon.rs:1275](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1275)

<a id="rpc-request-shutdown"></a>

## `Request.shutdown`

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:1146](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L1146)
- Handlers: 2 · Callers: 5
- Method: `shutdown` · transport unix-socket
- Used at: [crates/klav-cli/src/commands/account.rs:379](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/account.rs#L379), [crates/klav-cli/src/commands/deletion.rs:223](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/deletion.rs#L223), [crates/klav-daemon/src/presence.rs:240](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L240), [crates/klav-daemon/src/server.rs:1945](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L1945), [crates/klav-daemon/src/server.rs:3726](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3726), … +2

<a id="rpc-request-status"></a>

## `Request.status`

Daemon status; works locked.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:70](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L70)
- Handlers: 2 · Callers: 12
- Method: `status` · transport unix-socket
- Used at: [crates/klav-cli/src/backend.rs:79](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L79), [crates/klav-cli/src/commands/account.rs:325](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/account.rs#L325), [crates/klav-cli/src/commands/account.rs:445](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/account.rs#L445), [crates/klav-cli/src/commands/deletion.rs:172](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/deletion.rs#L172), [crates/klav-cli/src/commands/generate.rs:122](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/generate.rs#L122), … +9

<a id="rpc-request-suggest"></a>

## `Request.suggest`

Items to offer on a page (browser extension): matching logins, the one-time codes saved on their own that name the page (`codes`), cards and identities, metadata only.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:302](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L302)
- Handlers: 3 · Callers: 2
- Method: `suggest` · transport unix-socket
- Input: `{ url: string }`
- Used at: [crates/klav-daemon/src/presence.rs:172](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L172), [crates/klav-daemon/src/server.rs:2396](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2396), [crates/klav-daemon/src/server.rs:4492](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4492), [crates/klav-daemon/src/server.rs:4556](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4556), [crates/klav-daemon/src/server.rs:4813](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4813)

<a id="rpc-request-sync"></a>

## `Request.sync`

Pull changes from the server.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:113](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L113)
- Handlers: 2 · Callers: 4
- Method: `sync` · transport unix-socket
- Used at: [crates/klav-cli/src/backend.rs:323](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L323), [crates/klav-cli/src/commands/deletion.rs:127](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/deletion.rs#L127), [crates/klav-daemon/src/presence.rs:155](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L155), [crates/klav-daemon/src/server.rs:4674](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4674), [crates/klav-ffi/src/daemon.rs:963](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L963), … +1

<a id="rpc-request-task_log"></a>

## `Request.task_log`

The audit summary of a task (`klav log --task`).

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:461](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L461)
- Handlers: 2 · Callers: 1
- Method: `task_log` · transport unix-socket
- Input: `{ task: string }`
- Used at: [crates/klav-cli/src/commands/task.rs:374](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/task.rs#L374), [crates/klav-daemon/src/presence.rs:185](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L185), [crates/klav-daemon/src/server.rs:5232](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5232)

<a id="rpc-request-task_progress"></a>

## `Request.task_progress`

Each site of a task with `rotate`: changed, pending or failed (`klav_client::offer::TaskProgress`).

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:1123](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L1123)
- Handlers: 2 · Callers: 1
- Method: `task_progress` · transport unix-socket
- Input: `{ task: string }`
- Used at: [crates/klav-daemon/src/presence.rs:238](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L238), [crates/klav-daemon/src/server.rs:5863](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5863), [crates/klav-ffi/src/daemon.rs:1855](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1855)

<a id="rpc-request-tasks"></a>

## `Request.tasks`

Task requests and running tasks (or `all` recent ones), as cards completed by this client (ADR 0021 §3).

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:431](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L431)
- Handlers: 3 · Callers: 4
- Method: `tasks` · transport unix-socket
- Input: `{ all?: boolean }`
- Used at: [crates/klav-cli/src/commands/task.rs:138](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/task.rs#L138), [crates/klav-daemon/src/presence.rs:183](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L183), [crates/klav-daemon/src/server.rs:2388](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2388), [crates/klav-daemon/src/server.rs:4509](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4509), [crates/klav-daemon/src/server.rs:4609](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4609), … +2

<a id="rpc-request-totp"></a>

## `Request.totp`

Current TOTP code.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:272](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L272)
- Handlers: 8 · Callers: 5
- Method: `totp` · transport unix-socket
- Input: `{ query: string; field?: string; password?: SecretText }`
- Used at: [crates/klav-cli/src/backend.rs:668](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L668), [crates/klav-daemon/src/presence.rs:90](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L90), [crates/klav-daemon/src/presence.rs:250](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L250), [crates/klav-daemon/src/server.rs:2398](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2398), [crates/klav-daemon/src/server.rs:3593](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3593), … +8

<a id="rpc-request-trash"></a>

## `Request.trash`

Move an item to the trash.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:255](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L255)
- Handlers: 2 · Callers: 3
- Method: `trash` · transport unix-socket
- Input: `{ query: string }`
- Used at: [crates/klav-cli/src/backend.rs:622](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L622), [crates/klav-daemon/src/presence.rs:169](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L169), [crates/klav-daemon/src/server.rs:2430](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2430), [crates/klav-daemon/src/server.rs:4810](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4810), [crates/klav-ffi/src/daemon.rs:1401](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1401)

<a id="rpc-request-unlock"></a>

## `Request.unlock`

Unlock with the master password, or (without `password`) with the platform's biometric unlock when enrolled.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:73](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L73)
- Handlers: 2 · Callers: 3
- Method: `unlock` · transport unix-socket
- Input: `{ password?: SecretText; passkey_flow?: boolean }`
- Used at: [crates/klav-cli/src/backend.rs:116](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L116), [crates/klav-cli/src/backend.rs:169](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L169), [crates/klav-daemon/src/presence.rs:153](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L153), [crates/klav-daemon/src/server.rs:3731](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3731), [crates/klav-ffi/src/daemon.rs:821](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L821)

<a id="rpc-request-vault_health"></a>

## `Request.vault_health`

The vault health report (ADR 0022 §4): reused, weak and old passwords, and breached ones if the person turned the breach check on (`health.json`). Items, hosts and reasons; never values.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:899](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L899)
- Handlers: 2 · Callers: 2
- Method: `vault_health` · transport unix-socket
- Used at: [crates/klav-cli/src/backend.rs:746](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L746), [crates/klav-daemon/src/presence.rs:231](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L231), [crates/klav-daemon/src/server.rs:3682](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L3682), [crates/klav-ffi/src/daemon.rs:1800](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L1800)

<a id="rpc-request-vaults"></a>

## `Request.vaults`

List vaults.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:118](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L118)
- Handlers: 3 · Callers: 4
- Method: `vaults` · transport unix-socket
- Used at: [crates/klav-cli/src/backend.rs:330](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L330), [crates/klav-daemon/src/presence.rs:157](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L157), [crates/klav-daemon/src/server.rs:2390](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2390), [crates/klav-daemon/src/server.rs:4488](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4488), [crates/klav-daemon/src/server.rs:4534](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L4534), … +2

<a id="rpc-request-verify_audit"></a>

## `Request.verify_audit`

Verifies the audit log and signs its head (`klav log verify`).

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:801](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L801)
- Handlers: 2 · Callers: 2
- Method: `verify_audit` · transport unix-socket
- Used at: [crates/klav-cli/src/commands/log.rs:414](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/commands/log.rs#L414), [crates/klav-daemon/src/presence.rs:217](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L217), [crates/klav-daemon/src/server.rs:5790](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L5790), [crates/klav-ffi/src/daemon.rs:2062](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/daemon.rs#L2062)

<a id="rpc-request-view"></a>

## `Request.view`

Show an item.

- Kind: rpc
- Workspace: [klav-daemon](../../architecture/klav-daemon.md)
- Source: [crates/klav-daemon/src/protocol.rs:213](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L213)
- Handlers: 9 · Callers: 7
- Method: `view` · transport unix-socket
- Input: `{ query: string; reveal: boolean; password?: SecretText }`
- Used at: [crates/klav-cli/src/backend.rs:446](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-cli/src/backend.rs#L446), [crates/klav-daemon/src/presence.rs:88](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L88), [crates/klav-daemon/src/presence.rs:165](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L165), [crates/klav-daemon/src/presence.rs:248](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/presence.rs#L248), [crates/klav-daemon/src/server.rs:2395](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/server.rs#L2395), … +11
