@happyvertical/smrt-users 0.57.28 → 0.57.30
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/agents/terminal-auth-testing.md +13 -0
- package/dist/chunks/{TerminalAuthService-zTzqjpWG.js → TerminalAuthService-Cc5Kujbw.js} +2 -2
- package/dist/chunks/{TerminalAuthService-zTzqjpWG.js.map → TerminalAuthService-Cc5Kujbw.js.map} +1 -1
- package/dist/index.js +3 -3
- package/dist/manifest.json +1 -1
- package/dist/smrt-knowledge.json +5 -5
- package/dist/sveltekit/index.d.ts +1 -1
- package/dist/sveltekit/index.d.ts.map +1 -1
- package/dist/sveltekit.js +6 -4
- package/dist/sveltekit.js.map +1 -1
- package/package.json +12 -12
|
@@ -30,3 +30,16 @@ Run documented users build, typecheck (including Svelte), test, test:postgres an
|
|
|
30
30
|
verify:pack gates. PostgreSQL runs use the canonical disposable-database wrapper.
|
|
31
31
|
Root knowledge checks follow all producers. No new dialect is introduced; the
|
|
32
32
|
terminal auth regression suite declares SQLite and PostgreSQL coverage.
|
|
33
|
+
|
|
34
|
+
## Mounted approval error projection (#4319)
|
|
35
|
+
|
|
36
|
+
`mountTerminalLoginPage().approve` exposes only the explicitly public
|
|
37
|
+
`TerminalAuthError` refusal message (400) and `TerminalAuthRateLimitError`
|
|
38
|
+
message (429). Unexpected service initialization or approval failures return
|
|
39
|
+
500 with `Unable to approve terminal login.`; never reflect their message or
|
|
40
|
+
log the raw exception, which can contain database connection credentials.
|
|
41
|
+
Authentication/input gates, the resolved user/tenant context, and successful
|
|
42
|
+
approval remain unchanged. `terminal-approval-errors.test.ts` proves both
|
|
43
|
+
service failure points using synthetic private data, preserves typed refusals,
|
|
44
|
+
and checks unauthenticated and missing-code denials before service access.
|
|
45
|
+
This projection changes no database or approval transaction behavior.
|