Merge development_mik_6_1 into development #8

Merged
mik-tf merged 6 commits from development_mik_6_1 into development 2026-03-18 06:26:35 +00:00
Owner
No description provided.
- Songs: 3 per context (acid_trumpet, gymnopedie_no1, there_it_is), orphan TOMLs removed
- Embedder: ensure_models_downloaded() in lib, called from hero_osis_server init
- AI Assistant: SSE parser for Shrimp responses, message field fix
- Auth/Redis SSO: postMessage token from island components + sso-login endpoint
- AI stop button with AbortController
- Multi-conversation support (Shrimp backend + UI sidebar + localStorage persistence)

Issue: lhumina_code/home#23

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- hero_services: add socat bridge TCP:3377→hero_osis_ui.sock for hero_biz,
  delete hero_cloud.toml (replaced by hero_compute)
- hero_archipelagos: compute island → hero_compute_ui, sidebar rename
  fix (onkeydown+onblur), delete confirmation dialog, sidebar styling
- hero_auth: SSO in base.html (covers setup+login+all pages)
- hero_shrimp: wrap persistMessage in try-catch to prevent crash

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Detect iframe via window.parent !== window, add in-iframe class
- Hide hero-auth-header when embedded in Hero OS shell
- Listen for hero:auth postMessage with OSIS token
- Show "managed by Hero OS" placeholder on setup/login pages in iframe
- Validate token against /validate endpoint (WIP — needs server-side SSO)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Validates OSIS session tokens via socat bridge, auto-creates admin
account if needed, and returns JWT for localStorage-based session.
Templates now show "Authenticating via Hero OS..." instead of static
placeholder when in iframe.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The fetch was using a missing meta tag for base_path, causing /sso-login
to miss the /hero_auth prefix. Now uses {{ base_path }} template var.
Also falls back to showing the login/setup form if SSO fails.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
fix: only run SSO on login/setup/register pages, not dashboard
Some checks failed
Build and Test / build (pull_request) Failing after 39s
4862aceaa9
The hero:auth postMessage fires on every page including the dashboard.
Running SSO + redirect on the dashboard caused infinite refresh loop.
Now only attempts SSO when on login/setup/register.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
mik-tf merged commit 9236583109 into development 2026-03-18 06:26:35 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_auth!8
No description provided.