Skip to content

feat(desktop): add review platform panel with core service and Tauri API#2

Draft
kev1n77 wants to merge 879 commits into
mainfrom
fmy/pr-page
Draft

feat(desktop): add review platform panel with core service and Tauri API#2
kev1n77 wants to merge 879 commits into
mainfrom
fmy/pr-page

Conversation

@kev1n77
Copy link
Copy Markdown
Owner

@kev1n77 kev1n77 commented May 13, 2026

Summary

Draft PR: review platform panel, core service, and desktop Tauri API.

Included

  • bitfun-core
    eview_platform service
  • Desktop
    eview_platform_api commands
  • Web ReviewPlatformPanel, adapter, FlowChat header/tab hooks

bobleer and others added 30 commits May 7, 2026 19:11
# Conflicts:
#	src/crates/core/src/service/config/types.rs
#	src/web-ui/src/infrastructure/config/services/AIExperienceConfigService.ts
#	src/web-ui/src/infrastructure/config/types/index.ts
#	src/web-ui/src/locales/en-US/settings/session-config.json
#	src/web-ui/src/locales/zh-CN/settings/session-config.json
#	src/web-ui/src/locales/zh-TW/settings/session-config.json
… file UI (GCWing#593)

- Extend core snapshot service, desktop bridge, and SnapshotAPI surface.

- Refresh agent companion pets (capy, hachiware, jiyi, panda-pix) and pet/window services.

- Tweak session file modifications bar, badge, chat pixel pet styling, SSH dialog, theme, and locales.
…-multiarch

Add gated workspace search and multi-arch flashgrep resources
- Measure dock width for Tauri window resize instead of a fixed width cap

- Clamp companion window dimensions in Rust to configured min/max bounds

- Tune bubble dock CSS for max-content width and bubble button box model
)

Measure each bubble child individually and clamp to a min/max range so
the floating window hugs bubble content without leaving a wide trailing
gap. Reduce visible bubbles to 2 and reserve a small edge buffer to
prevent text clipping.
fix: make tool loop detection signatures include args hash
Remove sticky positioning and the IntersectionObserver-based stuck state so workspace rows scroll with the list and avoid overflow clipping on the card.
- Make the full card toggle active workspace / session collapse; expanding sessions when switching workspace.

- Stop propagation on collapse, name, and action controls so nested clicks behave predictably.

- Wrap workspace name buttons in a Tooltip showing rootPath.
…-layout

fix(web-ui): NavPanel workspace list card layout (non-sticky)
…-multiarch

fix: avoid windows startup console flicker
- Apply compact-tool-card-wrapper--dense-command to read/grep/glob/ls and delete cards\n- Drop redundant rightStatusIconWithDivider on search/list/read headers for cleaner density
- Add 37 missing keys to zh-TW/flow-chat.json (widgetContextMenu,
  exploreRegion.commandCount*, terminalRegion, generativeUI,
  generativeWidget)
- Add 45 missing keys to zh-TW/panels/files.json (search index backend,
  index actions/phases/summary/indicator/taskState, notifications)
- Remove 4 unused keys (stopSubagent*) from zh-CN and zh-TW flow-chat.json
  that have no en-US counterpart and no code references
- Translate advancedShow/advancedHide in Installer zh/zh-TW locales
- Fix zh-TW.ftl header comment: s/簡體中文/繁體中文/

Generated with BitFun

Co-Authored-By: BitFun
… fixes (GCWing#602)

- Wire desktop tool API ToolUseContext with remote WorkspaceBinding and workspace services
- Propagate workspace_services into execution engine tool availability context
- Ignore whitespace-only stream chunks for effective output / first visible timing
- Short-circuit snapshot session files and stats for remote workspace paths
- Add unit tests for remote skill discovery and whitespace stream handling
…dense-header

fix(web-ui): tighten compact tool card headers for file ops
Move compact-tool-card-wrapper--dense-command from individual tool cards into CompactToolCard so all compact cards share the same header density without per-card duplication.
…dense-header

fix(web-ui): flow chat compact tool card dense headers
- Track structurally present reasoning/thinking fields through stream processing and round execution.
- Replay empty reasoning content for OpenAI and Anthropic adapters when providers require it.
- Add regression tests for empty reasoning/thinking stream cases and provider message conversion.
…ormats

- expose DeepSeek reasoning effort as high/max in the model config UI
- add DeepSeek reasoning_effort handling for OpenAI-compatible and Anthropic-compatible requests
feat(ai): support DeepSeek reasoning effort and preserve empty reasoning replay
- prevent remote exec from stopping at `Eof` before `ExitStatus`
- keep consuming SSH channel messages until the channel actually closes
…ime refactor (GCWing#610)

Backend changes:
- Remove orphan ModelRound struct and model_round.rs module; the actual
  round lifecycle is fully tracked through execution engine state
- Simplify DialogTurn / DialogTurnState — only TurnStats and new_turn_id
  helper survive; on-disk shape lives in SessionState as before
- Refactor execution engine, round_executor, and stream_processor to align
  with the simplified runtime model
- Add user-steering support in coordinator and scheduler: mid-turn messages
  from the user can be injected without aborting the current round
- Improve agentic tool pipeline (pipeline/tool_pipeline.rs, types.rs),
  deep-review policy, and review specialist agents
- Anthropic stream handler and tool-call accumulator hardening
- MCP server manager reconnect and interaction improvements
- Snapshot service dedup / reference-safety fixes
- Various service cleanups: session manager, persistence, side_question,
  project context, search, workspace

Frontend changes:
- Add PendingQueuePanel: shows queued user messages above the chat input;
  supports inline edit, "send now" mid-turn steering, and delete
- Add UserSteeringBubble: renders a user-steering flow item as a normal
  user bubble inside the active model round
- Add PendingQueueModule: manages per-session pending message queue state
- Add modelRoundItemGrouping: groups consecutive flow items by model round
  for virtualised rendering
- Update FlowChatManager, EventHandlerModule, TextChunkModule, and
  MessageModule to handle steering events and pending queue lifecycle
- Update modernFlowChatStore and FlowChatContext for new item types
- Update AgentAPI with steering / queue endpoints
- Update flow-chat types with FlowUserSteeringItem
- Update AgentCompanionDesktopPet click-through and pixel-pet UI
- Update ChatInput / ChatInputPixelPet for queue-aware send behaviour
- Theme minor colour fixes across all presets
- i18n: add pending-queue and steering keys for en-US, zh-CN, zh-TW;
  remove stale error keys
- Remove deprecated SessionConfig option and related locale keys
bobleer and others added 19 commits May 15, 2026 15:17
Session model updates still sync into Flow Chat state; downgrade the
listener log and remove duplicated warning UX that raced on restore.
…-flashgrep

bundle linux flashgrep in windows builds
fix(flow-chat): prevent card toggle while selecting text
feat(cli): expose ACP server and external agent controls & prevent ACP write turns from hanging
Move remote command and response DTOs, model catalog DTOs, poll response assembly, and model catalog delta policy into services-integrations while keeping core as the execution adapter.

Add owner-crate contract tests and boundary checks to preserve existing remote poll, image, cancel, and wire-shape behavior.
Move MiniApp allowlist and function-agent AI response parsing policy into bitfun-product-domains while keeping host execution, AI calls, JSON extraction, and runtime adapters in core.

Add contract tests, boundary-check anchors, and plan docs that mark runtime owner migration as still deferred.
Move remote tracker storage and lifecycle into services-integrations while keeping core as the host adapter for product runtime state. Add owner-crate contract coverage plus boundary and planning docs for the current remote-connect closure.
Keep PR detail scroll position stable when switching changed files, mark draft and ready PRs in the queue, collapse long overview text by default, constrain the changed-file list height, and make generated review drafts focus on actionable findings instead of publishing selected summary comments by default.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants