Add clinical device registry, browser wedge scan, and local agent API.
Deploy Ladill Care / deploy (push) Successful in 1m39s

Branch-scoped Care devices with hashed agent tokens, patient barcode lookup/labels, and provenance-aware vitals from a minimal device agent (Pro for agent hardware; wedge free).

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-17 14:28:46 +00:00
co-authored by Cursor
parent 1da90203e8
commit e0a7a64d38
37 changed files with 1970 additions and 10 deletions
+12
View File
@@ -7,7 +7,10 @@ use App\Listeners\PlatformServiceEventListener;
use App\Models\User;
use App\Services\Care\OrganizationResolver;
use App\Services\Care\PlanService;
use Illuminate\Cache\RateLimiting\Limit;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Event;
use Illuminate\Support\Facades\RateLimiter;
use Illuminate\Support\Facades\View;
use Illuminate\Support\ServiceProvider;
@@ -22,6 +25,15 @@ class AppServiceProvider extends ServiceProvider
{
Event::listen(ServiceEventOccurred::class, PlatformServiceEventListener::class);
RateLimiter::for('care-device', function (Request $request) {
$token = $request->header('X-Care-Device-Token')
?? $request->header('X-Device-Token')
?? $request->bearerToken()
?? $request->ip();
return Limit::perMinute(60)->by((string) $token);
});
View::composer([
'partials.sidebar',
'partials.topbar-desktop-widgets',