mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1805] Bot Browser refactor loses imported-card tracking and provider parity #887
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#887
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Xelvanis on GitHub (Jun 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1805
Originally assigned to: @cha1latte on GitHub.
Bot Browser refactor loses imported-card tracking and provider parity
Summary
Bot Browser has several likely refactor regressions compared with the legacy implementation. The highest-confidence bug is that imported browser cards are tagged during import request construction but the Rust ST character importer does not persist the source marker that the Browser side panel uses, so imported characters can disappear from the Browser imported list.
A static parity pass also found two provider/data parity gaps that should be checked and fixed in the same area: JannyAI no longer uses the browser-side Cloudflare workaround from legacy, and Chub detail enrichment no longer preserves several definition fields before importing downloaded PNG cards.
Expected behavior
extensions.botBrowserSourceand appear in the Browser panel's imported-character list.system_prompt,post_history_instructions,character_version, and providerextensionswhen present.Actual behavior
BotBrowserViewstill sends_botBrowserSource, but the refactor Rust import path appears to ignore it.BotBrowserPanelfilters imported characters bydata.extensions.botBrowserSource, so the marker loss breaks the Browser imported-list workflow.bot_browser_post/bot_browser_getinto the Tauri backend. Legacy intentionally performed JannyAI search from the browser after fetching the token, because server-side search was blocked by Cloudflare. Refactor can detect a Cloudflare block, but no longer has the browser-side path.Steps to reproduce
system_prompt,post_history_instructions,character_version, orextensions, then inspect the imported character data.Impact area
Environment
84f40efdLogs, screenshots, or video
No runtime logs or screenshots. Evidence from code inspection:
_botBrowserSourcefromsrc/features/shell/bot-browser/components/BotBrowserView.tsxduring import.d.extensions?.botBrowserSourceinsrc/features/shell/bot-browser/components/BotBrowserPanel.tsx.src-tauri/src/commands/storage/imports/normalization.rsbuildsextensionsbut does not appear to consume_botBrowserSource._botBrowserSourceand wrotedata.extensions.botBrowserSourceinpackages/server/src/services/import/st-character.importer.ts.search.jannyai.comcalls were blocked by Cloudflare; refactor routes search through Tauribot_browser_post("janny/search").mergeChubDetailIntoCharacterJsonto preserve extra fields; refactor Chub detail does not return those fields.Regression notes
Legacy implementation supported the imported-source marker and had browser-side JannyAI fallback behavior. Refactor appears to have lost those behaviors during the Tauri/runtime migration.
Additional context
Suggested repair order:
_botBrowserSourcein the Rust ST character import path and add focused proof that imported Bot Browser cards appear inBotBrowserPanel.Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:
@cha1latte commented on GitHub (Jun 1, 2026):
Fixed in #1837