@ai-matrx/vault 0.1.14 → 0.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -2
- package/dist/index.cjs +1546 -1126
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +64 -4
- package/dist/index.d.ts +64 -4
- package/dist/index.js +1398 -978
- package/dist/index.js.map +1 -1
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,40 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.16
|
|
4
|
+
|
|
5
|
+
- **The Authenticator is back as a first-class destination.** The codes view is named **Authenticator** everywhere (sidebar, view picker, title, empty state "Add authenticator"), and below the three-pane width (the floating window, tablets, phones) the compact header carries an **Authenticator** button beside the view picker, so it is one press away at every width. Searching "authenticator", "2fa", "totp" or "two-factor" finds every login with a code (`AUTHENTICATOR_WORDS`). Each code row shows the site's letter and, when the host gives `openItemInNewTab`, **Open in new tab**. Guard: `src/authenticator-restore.test.tsx`. **Consumer action:** web app: pass `host.openItemInNewTab` (opens `/vault/<id>` in a new tab). Extension and desktop: none.
|
|
6
|
+
- **Camera scan and QR-image reading in every browser.** QR decoding goes through `@ai-matrx/capture/qr` (BarcodeDetector, then `jsqr`), so Safari (Mac, iPhone) and Firefox get the camera button and read QR images locally, as the old web Authenticator did. New dependency `@ai-matrx/capture`. Consumer action: none.
|
|
7
|
+
- **Setting up reads as setting up an authenticator.** The setup row is labeled "Authenticator" ("Paste setup key or otpauth link", a visible **Scan** button); "Set up" on a saved login opens the authenticator setup for THAT login at once (no "Add to" choice); a save that set up an authenticator shows its first code (`ItemPane onSaved(…, enrolled)`, `FirstCodePanel`). Consumer action: none.
|
|
8
|
+
- **Backup (recovery) codes on every login.** A website login (whose type does not declare `recovery_codes`) shows **Recovery codes** with Add, Show, Copy, Mark used and Replace; new and edit offer **Add backup codes** (stored one per line as their own encrypted `recovery_codes` field, also on create). Guard: `src/authenticator-restore.test.tsx`. Consumer action: none.
|
|
9
|
+
- **Copy from the list on every screen.** Each row has a More button (always shown on touch screens, on hover or focus elsewhere) with **Copy username**, **Copy password**, **Copy one-time code**, Open and Copy name; the hover quick-copy buttons stay. Guard: `src/restored-features.test.tsx`. Consumer action: none.
|
|
10
|
+
- **Sorts back: Name Z–A and Recently viewed** (`VaultSort` `name-desc`, `viewed`; `sortItems(items, sort, recents)`; Recently viewed only where the host keeps Recently opened). Name sorts compare numbers as numbers. Consumer action: none.
|
|
11
|
+
- **Creating for someone else ends on what was sent** — name, item ID, whether the password was generated privately — with **Create another** (same type, recipient kept) and Done. Consumer action: none.
|
|
12
|
+
- **Everything settable before the first save**: files (chosen, described and protected while creating, stored right after it saves; a refused file is said), a login's **Two-factor** method (text message / other), and More → Add → **Browser settings** (website matching, fill in browser; `ItemDraft.browser`). Consumer action: none.
|
|
13
|
+
- **The custom-credential builder**: a new secret field (More → Add → Secret field) has a generator and its settings one press away — env key, who can see it (Always shown / Hidden / Never shown, sealing confirmed), use in sandbox (needs an env key); pasting `KEY=value` fills the env key, the value and the name (`NewSecretField.envKey/handling/injectIntoSandbox`, `secretFieldIn`, `parseEnvAssignment`). Consumer action: none.
|
|
14
|
+
- **Field settings one press from each row in view mode** (the sliders on a secret's row open its env key / sandbox / who-can-see settings), and **Add file** on an item with no files without pressing Edit. Consumer action: none.
|
|
15
|
+
- **Agent context for hosts**: `VaultApp onInventory({ items, definitions })` reports what the person can see; `vaultInventoryScope`, `vaultItemFacts`, `providerOf`, `itemIdAt` build the non-secret scope (count, names, providers, field KEYS; never values, notes, descriptions or custom values). **Consumer action:** web app: wrap the workspace in the v3 right-click menu + surface runtime for `matrx-user/vault` and fill its values from `onInventory`. Extension and desktop: none.
|
|
16
|
+
- **`host.openWebVault`**: the extension's side panel offers **Open on the web** in the vault menu. **Consumer action:** extension: pass `openWebVault` (opens the website's `/vault`). Web app and desktop: none.
|
|
17
|
+
|
|
3
18
|
## 0.1.14
|
|
4
19
|
|
|
5
|
-
|
|
6
|
-
|
|
20
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
21
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
22
|
+
Diff: `git diff b5002d632f 1c52fd1b8c -- apps/shared/vault/src`
|
|
23
|
+
|
|
24
|
+
Changed shipped source files (19):
|
|
25
|
+
- `apps/shared/vault/src/FieldRows.tsx`
|
|
26
|
+
- `apps/shared/vault/src/NewItemFlow.tsx`
|
|
27
|
+
- `apps/shared/vault/src/Sidebar.tsx`
|
|
28
|
+
- `apps/shared/vault/src/activity/logic.ts`
|
|
29
|
+
- `apps/shared/vault/src/api-port.ts`
|
|
30
|
+
- `apps/shared/vault/src/auth/IdentityGate.tsx`
|
|
31
|
+
- `apps/shared/vault/src/authenticator/Setup.tsx`
|
|
32
|
+
- `apps/shared/vault/src/authenticator/TotpRows.tsx`
|
|
33
|
+
- `apps/shared/vault/src/devices/logic.ts`
|
|
34
|
+
- `apps/shared/vault/src/glyphs.tsx`
|
|
35
|
+
- `apps/shared/vault/src/io/bounded-zip.ts`
|
|
36
|
+
- `apps/shared/vault/src/io/dashlane-csv-archive.ts`
|
|
37
|
+
- ...and 7 more
|
|
7
38
|
|
|
8
39
|
## 0.1.13
|
|
9
40
|
|