Skip to content
This repository was archived by the owner on May 24, 2026. It is now read-only.

fix/wire in agents debug mode logging#57

Draft
Promansis wants to merge 4 commits into
Pasta-Devs:mainfrom
Promansis:bug/34-debug-mode-logging
Draft

fix/wire in agents debug mode logging#57
Promansis wants to merge 4 commits into
Pasta-Devs:mainfrom
Promansis:bug/34-debug-mode-logging

Conversation

@Promansis
Copy link
Copy Markdown
Collaborator

@Promansis Promansis commented May 22, 2026

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

  • Wired debugMode and debugSink through the TypeScript generation/agent runtime.
  • Added structured agent debug entries in the engine so debug information is collected centrally instead of being silent.
  • Updated the settings help text to describe the in-app debug panel.
  • Moved the agent debug entry type into the shared engine contract.

Validation

  • pnpm typecheck
  • pnpm build
  • cargo check --manifest-path src-tauri/Cargo.toml
  • pnpm check:docs when docs, skills, or repo guidance changed
  • Ran pnpm tauri dev and tested the app path manually
  • Verified the affected feature in the right mode(s): chat, roleplay, game, settings/providers, imports/exports, or assets

Manual verification notes

Not run in this handoff.

Docs impact

  • No docs changes needed
  • Updated docs/developer/* or repo guidance as needed

UI evidence

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 22, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: b262d39d-8c05-4599-a933-319ea96d0535

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Promansis Promansis changed the title [codex] agents debug mode logging fix/wire in agents debug mode logging May 22, 2026
@Promansis
Copy link
Copy Markdown
Collaborator Author

This is now wired in properly.

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Debug Mode contract mismatch

2 participants