@ai-matrx/vault 0.1.10 → 0.1.12
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 +42 -1
- package/dist/index.cjs +215 -51
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +71 -4
- package/dist/index.d.ts +71 -4
- package/dist/index.js +278 -114
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,14 +2,55 @@
|
|
|
2
2
|
|
|
3
3
|
### Unreleased
|
|
4
4
|
|
|
5
|
+
- **Restored items are repairable in place.** An item back from Trash says "N fields are turned off" with **Turn on** (all), and each off row has its own **Turn on**; the one-time password reads "Turned off" + Turn on instead of "Set up" (which invited replacing a 2FA secret it still has), and editing it says "Paste a new key to replace". Plain words in settings: "One-time password key" (was "Totp seed"), "Always shown / Hidden / Never shown" (was "Anyone / On request / Sealed"), "Turned on" (was "Active"). Guard: `src/restored-item.test.tsx`. Consumer action: none.
|
|
6
|
+
- **Continue with Google checks who came back.** `createSupabaseIdentity` remembers the person across the provider redirect (`sessionStorage`, `CONFIRM_RETURN_KEY`) and `VaultIdentity.checkReturn()` (run by `IdentityGate` on load) refuses a different account: it is signed out of THIS device through the new `onDifferentPerson(message)` option (default `auth.signOut({ scope: "local" })`) and a "Different account" dialog says so. Guard: `src/auth/identity.test.ts`, `src/auth/identity-gate.test.tsx`. **Consumer action:** web app: pass `onDifferentPerson` running the app's device-scoped sign-out. Extension and desktop: none (they check in place).
|
|
7
|
+
- **`IdentityGate`, `useConfirmed`, `wasCancelled` are exported**, so a host screen outside the workspace (the web app's secure-link sender) confirms through the ONE gate. Consumer action: web app: delete its own password-only confirm dialog.
|
|
8
|
+
- **`VaultHostCapabilities.signIn`**: when the vault cannot open because the session ended (a 401 after the refresh failed), it says "You've been signed out." with **Sign in**. Consumer action: hosts with a sign-in page pass `signIn`.
|
|
9
|
+
- **Owner always shown**: search and category rows name the owner whenever the vault being browsed mixes owners (`ItemList showOwner`); the one-time passwords view always titles its owner groups; Trash rows read type · owner · deleted date (`trashLineOf`). Guard: `src/owner-shown.test.tsx`, `src/lists/logic.test.ts`.
|
|
10
|
+
- Sort by website groups by site (`siteDomainOf`: `accounts.google.com` → `google.com`), and the item letter is the site's. Save to: organizations alphabetical, same-named ones told apart. Keyboard: `/` focuses search, Esc closes the open item; "Confirm it's you" focuses the password field. Panel footers: actions always right, Done on Activity and Password history. The server's recent-sign-in refusal is now a 403 (aidream 1db125d32a); `needsRecentSignIn` already read the code. Consumer action: none.
|
|
11
|
+
|
|
12
|
+
- Hidden items: an item tagged `HIDDEN_ITEM_TAG` (`"matrx:hidden"`, `isHiddenItem`) is a host's own and is never listed, not even in Trash (the desktop app keeps its Touch ID key there). Consumer action: none.
|
|
13
|
+
|
|
5
14
|
- **Confirm in place.** `VaultIdentity.withProvider` may resolve `"confirmed"` when the host confirms without leaving the page (the desktop's Touch ID); "Confirm it's you" then closes and runs the refused call again — one confirmation, the value appears. Before, the dialog stayed open and the person had to cancel and press reveal again. Labels for `touch_id` ("Touch ID") and `browser`. Guard: `src/auth/identity-gate.test.tsx` (fails on the old gate). **Consumer action:** Matrx Desktop: return `"confirmed"` from `withProvider` once the confirmation succeeded in place. Web app and extension: none.
|
|
6
15
|
- **`VaultApp look="web"|"desktop"`.** The same screens and features, two skins: `"web"` (default) is the website's and the extension's look, unchanged; `"desktop"` draws the workspace in the desktop standard through `@ai-matrx/design-system`'s `LookScope` — the system font and Apple text styles, AppKit-size controls, System Settings/Passwords grouped boxes (no border, hairlines between rows, bold section titles), the source list's open row in the accent, and every panel as a modal macOS sheet, light and dark. The playground's Desktop host uses it. Guard: `src/look.test.tsx`. **Consumer action:** Matrx Desktop: pass `look="desktop"` to `<VaultApp>` (Account › Vault). Web app and extension: none.
|
|
7
16
|
|
|
8
|
-
## 0.1.
|
|
17
|
+
## 0.1.12
|
|
9
18
|
|
|
10
19
|
UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
|
|
11
20
|
Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/vault/src`.
|
|
12
21
|
|
|
22
|
+
## 0.1.11
|
|
23
|
+
|
|
24
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
25
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
26
|
+
Diff: `git diff 92167249a3 62116d54f1 -- apps/shared/vault/src`
|
|
27
|
+
|
|
28
|
+
Changed shipped source files (3):
|
|
29
|
+
- `apps/shared/vault/src/api-port.ts`
|
|
30
|
+
- `apps/shared/vault/src/index.ts`
|
|
31
|
+
- `apps/shared/vault/src/model.ts`
|
|
32
|
+
|
|
33
|
+
## 0.1.10
|
|
34
|
+
|
|
35
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
36
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
37
|
+
Diff: `git diff 95a286343b 92167249a3 -- apps/shared/vault/src`
|
|
38
|
+
|
|
39
|
+
Changed shipped source files (35):
|
|
40
|
+
- `apps/shared/vault/src/FieldRows.tsx`
|
|
41
|
+
- `apps/shared/vault/src/ItemPane.tsx`
|
|
42
|
+
- `apps/shared/vault/src/NewItemFlow.tsx`
|
|
43
|
+
- `apps/shared/vault/src/Sidebar.tsx`
|
|
44
|
+
- `apps/shared/vault/src/VaultApp.tsx`
|
|
45
|
+
- `apps/shared/vault/src/activity/ActivityPanel.tsx`
|
|
46
|
+
- `apps/shared/vault/src/activity/FilesSection.tsx`
|
|
47
|
+
- `apps/shared/vault/src/activity/HistoryPanel.tsx`
|
|
48
|
+
- `apps/shared/vault/src/auth/IdentityGate.tsx`
|
|
49
|
+
- `apps/shared/vault/src/auth/identity.ts`
|
|
50
|
+
- `apps/shared/vault/src/authenticator/AddOtpPanel.tsx`
|
|
51
|
+
- `apps/shared/vault/src/authenticator/AuthenticatorView.tsx`
|
|
52
|
+
- ...and 23 more
|
|
53
|
+
|
|
13
54
|
## 0.1.9
|
|
14
55
|
|
|
15
56
|
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|