pi-extension-no-timeout

Strips the timeout parameter from all bash tool calls in pi coding agent, preventing long-running commands from being killed.

Packages

Package details

extension

Install pi-extension-no-timeout from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-extension-no-timeout
Package
pi-extension-no-timeout
Version
1.0.1
Published
Jul 11, 2026
Downloads
309/mo · 159/wk
Author
zc5209
License
MIT
Types
extension
Size
2 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./no-timeout.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-extension-no-timeout

Strip the timeout parameter from all bash tool calls in pi coding agent, preventing long-running commands from being killed prematurely.

Install

pi install npm:pi-extension-no-timeout

Usage

One-off (no install):

pi -e ./no-timeout.ts

Or copy to the global extensions directory:

cp no-timeout.ts ~/.pi/agent/extensions/

How It Works

The LLM sometimes guesses incorrect timeout values, causing important commands to be killed before they finish. This extension intercepts the tool_call event and removes the timeout parameter from bash tool calls before execution, effectively disabling the timeout.

License

MIT