Repository navigation
fix(pi): send tool_input/tool_output instead of input/output - #772
Conversation
pi integration emitted post_tool_use observations with fields named 'input' and 'output', but observe.ts reads 'tool_input'/'tool_output'. The field mismatch caused observe to record undefined inputs/outputs, so the compress pipeline produced empty observations rendered as 'No content provided' in the viewer.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR updates the payload sent to the agentmemory server's ChangesAgent Memory Observation Payload Update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
Bump to 0.9.25 across 9 files + CHANGELOG. Closes #778 #775 #783 (PR #791), #758 #726 (PR #773), #759 (PR #772), #752 (PR #774), #729 (PR #780), #781 (PR #782), #753 (PR #789), #771 (PR #786), #762 (PR #764). Files bumped: - package.json - packages/mcp/package.json - plugin/.claude-plugin/plugin.json - plugin/.codex-plugin/plugin.json - plugin/plugin.json - src/version.ts - src/types.ts (ExportData.version union) - src/functions/export-import.ts (supportedVersions Set) - test/export-import.test.ts (assertion) 125 test files / 1379 tests pass. npm audit (root + website): 0 vulns.
…0#772) pi integration emitted post_tool_use observations with fields named 'input' and 'output', but observe.ts reads 'tool_input'/'tool_output'. The field mismatch caused observe to record undefined inputs/outputs, so the compress pipeline produced empty observations rendered as 'No content provided' in the viewer.
Bump to 0.9.25 across 9 files + CHANGELOG. Closes rohitg00#778 rohitg00#775 rohitg00#783 (PR rohitg00#791), rohitg00#758 rohitg00#726 (PR rohitg00#773), rohitg00#759 (PR rohitg00#772), rohitg00#752 (PR rohitg00#774), rohitg00#729 (PR rohitg00#780), rohitg00#781 (PR rohitg00#782), rohitg00#753 (PR rohitg00#789), rohitg00#771 (PR rohitg00#786), rohitg00#762 (PR rohitg00#764). Files bumped: - package.json - packages/mcp/package.json - plugin/.claude-plugin/plugin.json - plugin/.codex-plugin/plugin.json - plugin/plugin.json - src/version.ts - src/types.ts (ExportData.version union) - src/functions/export-import.ts (supportedVersions Set) - test/export-import.test.ts (assertion) 125 test files / 1379 tests pass. npm audit (root + website): 0 vulns.
Problem
Reported in #759. pi integration users see every conversation observation rendered as
No content provided/No actual conversation content was captured in this observationin the viewer timeline.Root cause
integrations/pi/index.tsagent_end handler emitspost_tool_useobservations with field namesinput/output.src/functions/observe.tsreadstool_input/tool_output. The field-name mismatch leavesraw.toolInput/raw.toolOutputundefined, sosrc/functions/compress.tsfinds no content to summarize and falls back to the empty-content text.Other integrations (
openclaw,hermes,filesystem-watcher) already use the correct names — pi was the only one affected.Fix
Rename
input→tool_input,output→tool_outputin the piagent_endobservation payload.Closes
Closes #759.
Summary by CodeRabbit
Release Notes