mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1351] [Issue]: Refactor Claude Subscription provider lacks fast mode and Agent SDK session parity #675
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#675
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 @ghost on GitHub (May 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1351
Originally assigned to: @cha1latte on GitHub.
Summary
The Claude Subscription provider ID exists, but legacy fast mode, Agent SDK session/resume state, diagnosis route, and rich fast-mode status reporting were not found.
Classification: Partial port / provider behavior regression
Expected behavior
Claude Subscription connections should preserve legacy
claudeFastModeand session/resume behavior, or intentionally remove it with migration/user-facing explanation.Actual behavior
Current Rust path shells out to
claude; connection schema/type/UI have noclaudeFastMode, and the legacy Agent SDK session store/diagnosis behavior appears absent.Steps to reproduce
.tmp/refactor-audit-v161/packages/server/src/services/llm/providers/claude-subscription.provider.ts.src-tauri/crates/llm/src/lib.rs, connection schema/types, andConnectionEditor.tsx.Impact area
Environment
07af6d8b)Logs, screenshots, or video
No runtime logs or screenshots. Finding comes from raw-codebase parity inspection.
Regression notes
Legacy behavior/source exists in
origin/staging / v1.6.1 raw codebaseand is tracked indocs/refactor-staging-1.6-feature-gap-audit.md. Current refactor source did not show equivalent behavior at the paths named below.Additional context
Likely owners: connection contract/schema/UI, LLM Rust transport, and storage commands that diagnose/test provider connections.
Audit report:
docs/refactor-staging-1.6-feature-gap-audit.md.Template check
@SpicyMarinara commented on GitHub (May 27, 2026):
Addressed on refactor in
0ab35fb8. Restored the Claude Subscription connection-level fast-mode toggle, carried it through the Tauri/Rust LLM transport, added chat-scoped Claude Code session IDs with the legacy CLAUDE_SUBSCRIPTION_USE_RESUME kill switch, isolated the CLI call surface, and surfaced empty Claude JSON results as errors with fast-mode/model-usage diagnostics instead of silently returning no content. Validated with pnpm test -- src/engine/generation/start-generation.test.ts, cargo test --manifest-path src-tauri/Cargo.toml -p marinara-llm claude_subscription_ -- --nocapture, git diff --check, and pnpm check.