@ai-matrx/vault 0.1.39 → 0.1.41

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 CHANGED
@@ -1,11 +1,25 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.41
4
+
5
+ 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.
6
+ Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/vault/src`.
7
+
8
+ ## 0.1.40
9
+
10
+ Automatic changed-only republish (docs/metadata drift since the last published version; verified: `git diff dcbf369af4 7448cb2ff1 -- apps/shared/vault/src`
11
+ has no shipped-source changes outside tests, fixtures and docs). No consumer action required.
12
+
3
13
  ## 0.1.39
4
14
 
5
15
  - **Organization vaults never read as empty by mistake** (2026-10-23): a 404 from `GET /vault/organization-items` still falls back to one read per organization, but now says so once per port (new `ApiVaultPortOptions.onHostProblem(message, detail)`; without it, `console.warn`); an organization the server refused, names unavailable or leaves out is listed under `unavailable`, never shown as an empty vault; the camera note in Add authenticator is one line of 60 characters or fewer ("No camera. Paste the key or choose a QR image."). Proof: `src/organization-items-load.test.ts`, `src/first-code-closes.test.tsx`, `src/review-0-1-36.test.tsx`, `src/review-0-1-37.test.tsx`. Consumer action: needs `@ai-matrx/design-system` with the Select hint that never truncates (the release train publishes both); a host may pass `onHostProblem` to forward it to its error capture; nothing else.
6
16
 
7
17
  ## 0.1.38
8
18
 
19
+ - **Organization vaults never read as empty by mistake** (2026-10-23): a 404 from `GET /vault/organization-items` still falls back to one read per organization, but now says so once per port (new `ApiVaultPortOptions.onHostProblem(message, detail)`; without it, `console.warn`); an organization the server refused, names unavailable or leaves out is listed under `unavailable`, never shown as an empty vault; the camera note in Add authenticator is one line of 60 characters or fewer ("No camera. Paste the key or choose a QR image."). Proof: `src/organization-items-load.test.ts`, `src/first-code-closes.test.tsx`, `src/review-0-1-36.test.tsx`, `src/review-0-1-37.test.tsx`. Consumer action: needs `@ai-matrx/design-system` with the Select hint that never truncates (the release train publishes both); a host may pass `onHostProblem` to forward it to its error capture; nothing else.
20
+
21
+ ## 0.1.38
22
+
9
23
  - **Website vault walk fixes** (2026-10-23): a row with an authenticator copies its one-time code from the hover quick actions ("One-time code copied"); "Add authenticator" shows the setup-key box first and starts the camera by itself only when the device has one, with the preview and any camera failure UNDER the box as a small note (no window over it; `hasCameraDevice()` in `authenticator/qr.ts`, `QrScanInline` replaces `QrScanPanel`); the first-code window closes when the person moves to another view, item, edit or panel (`useShownUntilMove`); the Vault switcher, Move to and Copy to list organizations recently used and non-empty first, then by name (`orderOrganizations`), tell same-named ones apart by short id (`organizationHints`) and show a search from `vault.organization_search_at` (new knob, default 8, read through `host.knobs`; `host.organizationSearchAt` overrides); after "Copy made in …" the panel offers Open copy (`ItemPanelProps.onOpenItem`); the load reads every organization vault in ONE request (`GET /vault/organization-items`) instead of one per organization, own items still first. Proof: `src/review-0-1-37.test.tsx`. Consumer action: needs `@ai-matrx/api` with `account.organizationItems` and `@ai-matrx/design-system` with Select `hint`/`searchAt` (the release train publishes all three); nothing else.
10
24
 
11
25
  ## 0.1.37
@@ -149,4 +149,5 @@ declare function IdentityGate({ identity, children }: {
149
149
  /** True for the rejection a canceled confirmation produces (callers stay quiet about it). */
150
150
  declare const wasCancelled: (e: unknown) => boolean;
151
151
 
152
- export { CONFIRM_RETURN_KEY, type Confirmed, type IdentityAccount, IdentityGate, type IdentityMethod, type ReturnStore, type SupabaseAuthLike, type SupabaseIdentityOptions, type VaultIdentity, createSupabaseIdentity, needsRecentSignIn, useConfirmed, wasCancelled };
152
+ export { CONFIRM_RETURN_KEY, IdentityGate, createSupabaseIdentity, needsRecentSignIn, useConfirmed, wasCancelled };
153
+ export type { Confirmed, IdentityAccount, IdentityMethod, ReturnStore, SupabaseAuthLike, SupabaseIdentityOptions, VaultIdentity };
@@ -149,4 +149,5 @@ declare function IdentityGate({ identity, children }: {
149
149
  /** True for the rejection a canceled confirmation produces (callers stay quiet about it). */
150
150
  declare const wasCancelled: (e: unknown) => boolean;
151
151
 
152
- export { CONFIRM_RETURN_KEY, type Confirmed, type IdentityAccount, IdentityGate, type IdentityMethod, type ReturnStore, type SupabaseAuthLike, type SupabaseIdentityOptions, type VaultIdentity, createSupabaseIdentity, needsRecentSignIn, useConfirmed, wasCancelled };
152
+ export { CONFIRM_RETURN_KEY, IdentityGate, createSupabaseIdentity, needsRecentSignIn, useConfirmed, wasCancelled };
153
+ export type { Confirmed, IdentityAccount, IdentityMethod, ReturnStore, SupabaseAuthLike, SupabaseIdentityOptions, VaultIdentity };
package/dist/index.d.cts CHANGED
@@ -1419,4 +1419,5 @@ declare function holdingsDoorIsAbsent(code: string | undefined | null): boolean;
1419
1419
  */
1420
1420
  declare function emptyReadAlarm(total: number, emptyIds: readonly string[], holdings: Holdings): string | null;
1421
1421
 
1422
- export { type ApiVaultPortOptions, BACKUP_PASSPHRASE_MIN_KNOB, CATEGORIES, type CategoryId, type CopyOptions, DEFAULT_LOCATION, type DefinitionField, type FieldHandling, type FieldKind, GenerateButton, HIDDEN_ITEM_TAG, HOLDINGS_DOOR_MIGRATION, type HoldingRow, type Holdings, type ItemDraft, LOCKED_MESSAGE, type NoticeKind, type Notify, REVEAL_SECONDS_KNOB, type RowItemAction, type RowMenuEntry, type RowMenuEntryKind, type SaveResult, type TotpReading, type UriMatchMode, type UrlGuess, type VaultAgentScope, VaultApp, type VaultAppProps, type VaultAttachment, type VaultAuthenticator, type VaultClipboard, type VaultCopied, type VaultCustomField, type VaultDefinition, type VaultField, type VaultHostCapabilities, VaultIdentity, type VaultInventory, type VaultItem, type VaultItemCapabilities, type VaultKnobs, type VaultLayout, type VaultLocation, type VaultLock, VaultLockedError, type VaultOrganizationRef, type VaultOwner, type VaultPort, type VaultSelection, type VaultSnapshot, type VaultSort, type VaultUserStateDoor, categoryOf, copiedLine, copyValue, createApiVaultPort, createVaultKnobs, emptyReadAlarm, guardPort, holdingsDoorIsAbsent, inferFromUrl, isHiddenItem, itemIdAt, locationFromParams, locationToParams, loginSiteOf, matchesQuery, parseDefinitions, positiveKnob, providerOf, rowMenuEntriesAt, siteDomainOf, sortItems, useDisposable, vaultInventoryScope, vaultItemFacts };
1422
+ export { BACKUP_PASSPHRASE_MIN_KNOB, CATEGORIES, DEFAULT_LOCATION, GenerateButton, HIDDEN_ITEM_TAG, HOLDINGS_DOOR_MIGRATION, LOCKED_MESSAGE, REVEAL_SECONDS_KNOB, VaultApp, VaultIdentity, VaultLockedError, categoryOf, copiedLine, copyValue, createApiVaultPort, createVaultKnobs, emptyReadAlarm, guardPort, holdingsDoorIsAbsent, inferFromUrl, isHiddenItem, itemIdAt, locationFromParams, locationToParams, loginSiteOf, matchesQuery, parseDefinitions, positiveKnob, providerOf, rowMenuEntriesAt, siteDomainOf, sortItems, useDisposable, vaultInventoryScope, vaultItemFacts };
1423
+ export type { ApiVaultPortOptions, CategoryId, CopyOptions, DefinitionField, FieldHandling, FieldKind, HoldingRow, Holdings, ItemDraft, NoticeKind, Notify, RowItemAction, RowMenuEntry, RowMenuEntryKind, SaveResult, TotpReading, UriMatchMode, UrlGuess, VaultAgentScope, VaultAppProps, VaultAttachment, VaultAuthenticator, VaultClipboard, VaultCopied, VaultCustomField, VaultDefinition, VaultField, VaultHostCapabilities, VaultInventory, VaultItem, VaultItemCapabilities, VaultKnobs, VaultLayout, VaultLocation, VaultLock, VaultOrganizationRef, VaultOwner, VaultPort, VaultSelection, VaultSnapshot, VaultSort, VaultUserStateDoor };
package/dist/index.d.ts CHANGED
@@ -1419,4 +1419,5 @@ declare function holdingsDoorIsAbsent(code: string | undefined | null): boolean;
1419
1419
  */
1420
1420
  declare function emptyReadAlarm(total: number, emptyIds: readonly string[], holdings: Holdings): string | null;
1421
1421
 
1422
- export { type ApiVaultPortOptions, BACKUP_PASSPHRASE_MIN_KNOB, CATEGORIES, type CategoryId, type CopyOptions, DEFAULT_LOCATION, type DefinitionField, type FieldHandling, type FieldKind, GenerateButton, HIDDEN_ITEM_TAG, HOLDINGS_DOOR_MIGRATION, type HoldingRow, type Holdings, type ItemDraft, LOCKED_MESSAGE, type NoticeKind, type Notify, REVEAL_SECONDS_KNOB, type RowItemAction, type RowMenuEntry, type RowMenuEntryKind, type SaveResult, type TotpReading, type UriMatchMode, type UrlGuess, type VaultAgentScope, VaultApp, type VaultAppProps, type VaultAttachment, type VaultAuthenticator, type VaultClipboard, type VaultCopied, type VaultCustomField, type VaultDefinition, type VaultField, type VaultHostCapabilities, VaultIdentity, type VaultInventory, type VaultItem, type VaultItemCapabilities, type VaultKnobs, type VaultLayout, type VaultLocation, type VaultLock, VaultLockedError, type VaultOrganizationRef, type VaultOwner, type VaultPort, type VaultSelection, type VaultSnapshot, type VaultSort, type VaultUserStateDoor, categoryOf, copiedLine, copyValue, createApiVaultPort, createVaultKnobs, emptyReadAlarm, guardPort, holdingsDoorIsAbsent, inferFromUrl, isHiddenItem, itemIdAt, locationFromParams, locationToParams, loginSiteOf, matchesQuery, parseDefinitions, positiveKnob, providerOf, rowMenuEntriesAt, siteDomainOf, sortItems, useDisposable, vaultInventoryScope, vaultItemFacts };
1422
+ export { BACKUP_PASSPHRASE_MIN_KNOB, CATEGORIES, DEFAULT_LOCATION, GenerateButton, HIDDEN_ITEM_TAG, HOLDINGS_DOOR_MIGRATION, LOCKED_MESSAGE, REVEAL_SECONDS_KNOB, VaultApp, VaultIdentity, VaultLockedError, categoryOf, copiedLine, copyValue, createApiVaultPort, createVaultKnobs, emptyReadAlarm, guardPort, holdingsDoorIsAbsent, inferFromUrl, isHiddenItem, itemIdAt, locationFromParams, locationToParams, loginSiteOf, matchesQuery, parseDefinitions, positiveKnob, providerOf, rowMenuEntriesAt, siteDomainOf, sortItems, useDisposable, vaultInventoryScope, vaultItemFacts };
1423
+ export type { ApiVaultPortOptions, CategoryId, CopyOptions, DefinitionField, FieldHandling, FieldKind, HoldingRow, Holdings, ItemDraft, NoticeKind, Notify, RowItemAction, RowMenuEntry, RowMenuEntryKind, SaveResult, TotpReading, UriMatchMode, UrlGuess, VaultAgentScope, VaultAppProps, VaultAttachment, VaultAuthenticator, VaultClipboard, VaultCopied, VaultCustomField, VaultDefinition, VaultField, VaultHostCapabilities, VaultInventory, VaultItem, VaultItemCapabilities, VaultKnobs, VaultLayout, VaultLocation, VaultLock, VaultOrganizationRef, VaultOwner, VaultPort, VaultSelection, VaultSnapshot, VaultSort, VaultUserStateDoor };