@xynogen/pix-codemode

Pi codemode tool with highlighted scripts and Pix result rendering

Packages

Package details

extension

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.8
Published
Nov 4, 2026
Downloads
1,249/mo · 253/wk
Author
xynogen
License
MIT
Types
extension
Size
25.1 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

pix-codemode

Standalone renderers for Pi’s built-in codemode and tool_search tools. Scripts use JavaScript syntax highlight. Results show formatted JSON, nested calls, and Pix result frames. Nested-call rows fill the width and fade long arguments. Long previews fade out at the bottom and end with … +N lines (ctrl+o to expand). 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.