feat(slack-bridge): collapse verbose Pinet output#765
Draft
tmustier wants to merge 3 commits into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refs #760.
Collapses verbose Pinet output surfaces so routine dispatcher/direct results stay compact by default while JSON/full details remain available when explicitly requested.
Included commits:
d69c84d— collapse Pinet delivery cards66ff8f2— collapse direct Pinet tool result renderingf7acddf— compact direct Pinet result text so JSON/full outputs do not dump inline before renderer expansionValidation
From the prior issue checkpoint:
pnpm --filter @gugu910/pi-slack-bridge test -- pinet-tools.test.tspnpm --filter @gugu910/pi-slack-bridge typecheckpnpm --filter @gugu910/pi-slack-bridge lintpnpm --filter @gugu910/pi-slack-bridge buildpnpm lintpnpm typecheckpnpm testReload/cache caveat
The direct
pinet(...)JSON/full output path is now compacted in the tool result text itself and remains expandable via the Pinet tool renderer.A running Pi session must be loading this updated branch/package version for
/reloadto show the change. If the session is still loading the cached installed package under~/.pi/agent/git/github.com/gugu91/extensions, update that cache or load the local checkout before reloading.Related follow-ups
#762 and #763 track broader context/TUI policy beyond this issue's narrow Pinet output collapse fix.