diff --git a/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/.last-refresh.log b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/.last-refresh.log index 04024980..00464809 100644 --- a/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/.last-refresh.log +++ b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/.last-refresh.log @@ -1,9 +1,9 @@ -Last refresh: 2026-04-14T06:00:06Z (2026-04-13 23:00:06 PDT) -Cascade conversations: 50 (428M) -Memories: 132 +Last refresh: 2026-05-23T06:00:12Z (2026-05-22 23:00:12 PDT) +Cascade conversations: 50 (438M) +Memories: 137 Implicit context: 20 -Code tracker dirs: 151 -File edit history: 4640 entries -Workspace storage: 41 workspaces +Code tracker dirs: 14 +File edit history: 5093 entries +Workspace storage: 49 workspaces Repo docs: 7 files across 2 repos -Repo workflows: 55 files across 12 repos +Repo workflows: 56 files across 13 repos diff --git a/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_auth_app/progess.md b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_auth_app/progess.md new file mode 100644 index 00000000..e69de29b diff --git a/dashboards/admin-web/src/app/devops/page.tsx b/dashboards/admin-web/src/app/devops/page.tsx index c5c98acf..d9f52166 100644 --- a/dashboards/admin-web/src/app/devops/page.tsx +++ b/dashboards/admin-web/src/app/devops/page.tsx @@ -1,7 +1,19 @@ 'use client'; import { DevopsPanel, type DevopsInfo } from '@bytelyst/devops/ui'; -import { useAuth } from '@bytelyst/react-auth'; + +// Match the canonical token-access pattern used elsewhere in +// admin-web (settings/security, settings/devices, debug-sessions, …): +// the auth-context stores the access token under the +// `admin_access_token` key in localStorage. The createAuthProvider +// AuthContextValue does NOT expose a `getAccessToken` method, so the +// previous `const { getAccessToken } = useAuth()` would not type-check +// once @bytelyst/react-auth's public surface was tightened (see +// commit fixing devops page import 2026-05-23). +function getAccessToken(): string | null { + if (typeof window === 'undefined') return null; + return localStorage.getItem('admin_access_token'); +} const bundleStartTime = Date.now(); @@ -16,8 +28,6 @@ function humanizeUptime(seconds: number): string { } export default function DevOpsPage() { - const { getAccessToken } = useAuth(); - async function fetchBackendInfo(): Promise { const token = getAccessToken(); const platformUrl = process.env.NEXT_PUBLIC_PLATFORM_URL || 'http://localhost:4003';