@xynogen/pix-codemode
Pi codemode tool with highlighted scripts and Pix result rendering
Package details
Install @xynogen/pix-codemode from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@xynogen/pix-codemode- Package
@xynogen/pix-codemode- Version
0.0.4- Published
- Oct 22, 2026
- Downloads
- 412/mo · 350/wk
- Author
- xynogen
- License
- MIT
- Types
- extension
- Size
- 24 KB
- Dependencies
- 2 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"src/extension.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@xynogen/pix-codemode
Standalone renderers for Pi’s built-in codemode tool. Scripts use JavaScript syntax highlight. Results show formatted JSON, nested calls, clipped previews, and Pix result frames. Expand a card to see the complete script and result.
pi install npm:@xynogen/pix-codemode
Enable the tool with "defaultTools": ["+codemode"] in Pi settings. The package does not change activation or execution.
Pi can show a replacement warning for its built-in extension. Add "-builtin:codemode" to settings.extensions to disable that duplicate. This package registers the native tool through Pi’s public factory.
Requires a Pi host that exports createCodemodeExtension. Unsupported hosts receive one warning. The native output header and nested-call details are host-specific. Unknown output formats remain plain text.