mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1171] [MERGED] fix/wire in agents debug mode logging #4956
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#4956
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1171
Author: @ghost
Created: 5/24/2026
Status: ✅ Merged
Merged: 5/25/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/refactor-pr-57-agent-debug-logging📝 Commits (2)
5c78c47Migrate Refactor PR #57: Wire agent debug logging283f616Merge refactor into PR 1171📊 Changes
12 files changed (+251 additions, -45 deletions)
View changed files
📝
src/app/shell/AppShell.tsx(+2 -0)📝
src/engine/agents-runtime/executor/agent-executor.ts(+99 -10)📝
src/engine/agents-runtime/knowledge/knowledge-router.ts(+11 -0)📝
src/engine/agents-runtime/pipeline/agent-pipeline.ts(+47 -6)📝
src/engine/contracts/types/agent.ts(+31 -0)📝
src/engine/generation/agent-runner.ts(+4 -0)📝
src/engine/generation/start-generation.ts(+5 -1)📝
src/features/catalog/agents/components/AgentDebugPanel.tsx(+42 -2)📝
src/features/catalog/agents/shell.ts(+1 -0)📝
src/features/runtime/generation/hooks/use-generate.ts(+7 -1)📝
src/features/shell/settings/components/SettingsPanel.tsx(+1 -1)📝
src/shared/stores/agent.store.ts(+1 -24)📄 Description
Migrated from Pasta-Devs/Marinara-Engine-Refactor#57: https://github.com/Pasta-Devs/Marinara-Engine-Refactor/pull/57
Original author: @Promansis
Target base: Pasta-Devs/Marinara-Engine refactor
Source draft state: True
Verification after port:
pnpm typecheckPort note: the source branch included an inherited avatar-crop commit; this target branch ports the debug-logging work only because Refactor PR #55 is migrated separately.
Linked issue
Fixes #34
Why this change
This adds visible debug-mode output for agent execution so prompt, response, tool-call, tool-result, and batch details can be inspected in the in-app agent debug panel during generation.
What changed
debugModeanddebugSinkthrough the TypeScript generation/agent runtime.Validation
pnpm typecheckpnpm buildcargo check --manifest-path src-tauri/Cargo.tomlpnpm check:docswhen docs, skills, or repo guidance changedpnpm tauri devand tested the app path manuallyManual verification notes
Not run in this handoff.
Docs impact
docs/developer/*or repo guidance as neededUI evidence
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.