---
title: "Schemas: extension"
description: "8 entries."
canonical: "https://klav.everdoc.dev/main/reference/schemas/extension"
channel: "main"
---

# Schemas: extension

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

8 entries.

<a id="schema-breachreport"></a>

## `BreachReport`

The breach check's outcome.

- Kind: schema
- Workspace: [@klav/extension](../../architecture/klav-extension.md)
- Source: [apps/extension/src/shared/protocol.ts:604](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/extension/src/shared/protocol.ts#L604)
- Handlers: 0 · Callers: 0
- Shape: `{ status: "off" } | { status: "checked"; found: { item: HealthItem; count: number }[]; queries: number } | { status: "failed"; message: string }`
- Used at: [crates/klav-client/src/health.rs:167](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-client/src/health.rs#L167-L185)

<a id="schema-contentmessage"></a>

## `ContentMessage`

- Kind: schema
- Workspace: [@klav/extension](../../architecture/klav-extension.md)
- Source: [apps/extension/src/shared/messages.ts:65](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/extension/src/shared/messages.ts#L65)
- Shape: `{ type: "menu_open"; groups: Group[]; role: FieldRole; stopped?: StopReason; rules?: FieldRules } | { type: "submit_seen"; username: string; password: string } | { type: "username_seen"; username: string } | { type: "save_pending" } | { type: "code_here" } | { type: "passkey_waiting" } | { type: "login_seen"; token: string } | { type: "find_open" } | { type: "typing" } | { type: "flow_ask" } | { type: "step_seen"; role: StepRole; token: string } | { type: "step_blocked"; reason: "captcha" } | { type: "close"; surface: Surface; id: string } | { type: "here"; nonce: string; doc: string } | { type: "rotate_here"; nonce: string; token: string; focused: boolean; rules?: FieldRules } | { type: "passkey_request"; call: PasskeyCall; same_origin_as_top: boolean } | { type: "passkey_cancel"; id: string }`

<a id="schema-pagemessage"></a>

## `PageMessage`

- Kind: schema
- Workspace: [@klav/extension](../../architecture/klav-extension.md)
- Source: [apps/extension/src/shared/messages.ts:16](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/extension/src/shared/messages.ts#L16)
- Shape: `{ type: "daemon"; request: Request } | { type: "menu_load"; menuId: string } | { type: "menu_fill"; menuId: string; item: string; part?: "all" | "totp" | "pending"; parent?: boolean } | { type: "menu_generated"; menuId: string; value: string } | { type: "menu_find"; menuId: string } | { type: "save_load"; saveId: string } | { type: "save_do"; saveId: string; action: "create" | "update" | "add_site"; title?: string; username?: string; project?: string; item?: string } | { type: "card_load"; cardId: string } | { type: "card_fill"; cardId: string; item?: string } | { type: "card_find"; cardId: string } | { type: "find_load"; findId: string } | { type: "find_fill"; findId: string; item: string; confirmed?: boolean; parent?: boolean } | { type: "notice_load"; noticeId: string } | { type: "size"; surface: Surface; id: string; height: number } | { type: "close"; surface: Surface; id: string } | { type: "copied" } | { type: "popup_here" } | { type: "popup_fill"; item: string; parent?: boolean } | { type: "passkey_load"; passkeyId: string } | { type: "presence_load"; presenceId: string } | { type: "presence_answer"; presenceId: string; password: string } | { type: "passkey_sign_in"; passke…`

<a id="schema-pagewire"></a>

## `PageWire`

- Kind: schema
- Workspace: [@klav/extension](../../architecture/klav-extension.md)
- Source: [apps/extension/src/shared/passkey.ts:93](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/extension/src/shared/passkey.ts#L93)
- Shape: `{ klav: "webauthn-call"; id: string; call: PasskeyCall } | { klav: "webauthn-abort"; id: string } | { klav: "webauthn-ack"; id: string } | { klav: "webauthn-done"; id: string; outcome: PasskeyOutcome }`

<a id="schema-passkeyoutcome"></a>

## `PasskeyOutcome`

- Kind: schema
- Workspace: [@klav/extension](../../architecture/klav-extension.md)
- Source: [apps/extension/src/shared/passkey.ts:84](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/extension/src/shared/passkey.ts#L84)
- Shape: `{ status: "browser" } | { status: "error"; name: PasskeyErrorName; message: string } | { status: "created"; credential: Omit; cred_props: boolean } | { status: "asserted"; credential: Omit }`

<a id="schema-reply"></a>

## `Reply`

- Kind: schema
- Workspace: [@klav/extension](../../architecture/klav-extension.md)
- Source: [apps/extension/src/shared/messages.ts:297](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/extension/src/shared/messages.ts#L297)
- Shape: `{ ok: true; value: T } | { ok: false; error: ErrorBody }`

<a id="schema-request"></a>

## `Request`

What the client asks for.

- Kind: schema
- Workspace: [@klav/extension](../../architecture/klav-extension.md)
- Source: [apps/extension/src/shared/protocol.ts:815](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/extension/src/shared/protocol.ts#L815)
- Handlers: 0 · Callers: 0
- Shape: `{ op: "status" } | { op: "unlock"; password?: string; passkey_flow?: boolean; shown?: PasskeyUv } | { op: "lock" } | { op: "sync" } | { op: "vaults" } | { op: "projects"; vault?: string } | { op: "list"; filter: { vault?: string; project?: string; kind?: ItemKind; kinds?: ItemKind[]; codes?: boolean; tag?: string; query?: string; trash: boolean } } | { op: "view"; query: string; reveal: boolean; password?: string } | { op: "suggest"; url: string } | { op: "autofill"; item: string; url: string; part?: "all" | "totp" | "pending"; chosen?: boolean; password?: string } | { op: "totp"; query: string; field?: string; password?: string } | { op: "environments"; project?: string } | { op: "environment"; project?: string; name: string } | { op: "environment_save"; project?: string; name: string; edit: EnvironmentEdit; password?: string } | { op: "environment_trash"; project?: string; name: string; password?: string } | { op: "resolve"; references: [string]; variables_only: true; password?: string } | { op: "create"; item: NewItem } | { op: "edit"; query: string; patch: ItemPatch } | { op: "generator_record"; value: string; host?: string } | { op: "generator_history" } | { op: "generated_va…`
- Used at: [crates/klav-daemon/src/protocol.rs:66](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-daemon/src/protocol.rs#L66-L1163)

<a id="schema-tocontent"></a>

## `ToContent`

- Kind: schema
- Workspace: [@klav/extension](../../architecture/klav-extension.md)
- Source: [apps/extension/src/shared/messages.ts:143](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/extension/src/shared/messages.ts#L143)
- Shape: `{ type: "fill"; token: string; kind: ItemKind; values: FillValue[]; advance?: Advance } | { type: "fill_generated"; menuId: string; value: string } | { type: "clear"; surface: Surface; id: string } | { type: "show"; surface: Surface; id: string } | { type: "size"; surface: Surface; id: string; height: number } | { type: "hide"; surface: Surface; id: string } | { type: "expect"; token: string; menuId: string } | { type: "shortcut" } | { type: "popup_fill"; doc: string; kind: ItemKind; values: FillValue[]; advance?: Advance } | { type: "flow"; until: number } | { type: "flow_stop"; reason: StopReason } | { type: "where"; nonce: string } | { type: "rotate_probe"; nonce: string } | { type: "rotate_fill"; token: string; current: string; next: string; noticeId: string; submit: boolean } | { type: "agent_fill"; doc: string; kind: ItemKind; values: FillValue[]; noticeId: string; selectors: AgentSelector[]; submit: boolean } | { type: "agent_notice"; noticeId: string } | { type: "passkey_show"; id: string } | { type: "passkey_hide"; id: string } | { type: "passkey_result"; id: string; outcome: PasskeyOutcome }`
