Skip to main content

Code Puppy Core Plugins

Official plugin bundle for Code Puppy.

This distribution contains Code Puppy's builtin feature plugins. The core runtime discovers them through the code_puppy.plugins Python entry-point group, so the runtime remains independent of plugin implementation modules.

Installation

Normal users do not need to install this package directly: code-puppy depends on it and installs a compatible version automatically.

For development:

git clone https://github.com/mpfaffenberger/code_puppy.git

git clone https://github.com/mpfaffenberger/code_puppy_core_plugins.git
cd code_puppy_core_plugins
uv sync
uv pip install -e ../code_puppy
uv pip install -e .
uv run pytest

Architecture

Each plugin is a package under code_puppy_core_plugins/ with one register_callbacks.py. Package metadata advertises those modules as entry points. Code Puppy loads the entry points as its builtin tier, followed by user plugins and trusted project plugins.

The package deliberately does not depend on code-puppy in its own metadata. code-puppy depends on this bundle; adding the reverse edge would create a packaging dependency cycle. Plugin CI installs the core runtime separately.

Completion notifications

The completion_notification plugin is disabled by default. Enable a native, best-effort desktop notification after a successful top-level response with:

/set completion_notifications=true

Notifications use a sanitized, shortened copy of the latest user prompt as the title and a shortened response preview as the body, with Apple Terminal, iTerm2, or Warp labeled through TERM_PROGRAM when available. Unknown terminals omit the terminal label. Sub-agent completions are intentionally silent. Desktop notification centers may retain visible prompt and response previews.

Optional sound configuration is platform-aware:

/set completion_notification_sound=Frog

On macOS, a simple name selects a system sound (Frog, Glass, Ping, etc.). Preview one with afplay /System/Library/Sounds/Frog.aiff. On any platform, an absolute path to a local sound file is accepted when an available platform player can play it. Linux uses notify-send for desktop notifications when it is installed; Windows uses a best-effort PowerShell toast. No external Python dependencies are required.

Logfire

The logfire_instrumentation, logfire_oauth and logfire_sessions plugins do not import the SDK until you opt in. The SDK is an optional extra:

uv tool install code-puppy --with 'code-puppy-core-plugins[logfire]'

Opt in to pydantic-ai instrumentation with /set enable_logfire=true (or a truthy CODE_PUPPY_ENABLE_LOGFIRE for headless runs), then restart. Spans are sent only when a write token is available, either your own LOGFIRE_TOKEN or one minted by /logfire onboard. Opting in without the extra installed shows an install hint instead.

pstack

The pstack plugin bundles poteto's pstack skill pack (MIT, Lauren Tan), adapted from Cursor to Code Puppy. It is disabled by default. /pstack describes it and /pstack on enables it. Details are in code_puppy_core_plugins/pstack/README.md.

Releases

Pushes to main run lint and tests, bump the patch version, build, publish to PyPI as code-puppy-core-plugins, and push the version tag. Configure the PYPI_API_TOKEN repository secret before the first release.

License

MIT

Metadata

Release files for code-puppy-core-plugins 0.0.104

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for code-puppy-core-plugins 0.0.104
File Size Uploaded Provenance Actions
code_puppy_core_plugins-0.0.104.tar.gz 958.1 kB Without provenance Details for code_puppy_core_plugins-0.0.104.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for code-puppy-core-plugins 0.0.104
File Interpreter ABI Platform Actions
code_puppy_core_plugins-0.0.104-py3-none-any.whl Python 3 none any Details for code_puppy_core_plugins-0.0.104-py3-none-any.whl

Total release size: 2.3 MB

Release files / code_puppy_core_plugins-0.0.104.tar.gz

Download URL code_puppy_core_plugins-0.0.104.tar.gz
Size 958.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7c56ac3f16b9f12cd1e6fe7e6dac988a601ee5abebad0e0eb5dbbb1a424896d8
BLAKE2b-256 checksum
How to use checksums
70aebb42c31a5cab4df141042f611e744d917e957ce040579d3db79833d4b784
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.17

Release files / code_puppy_core_plugins-0.0.104-py3-none-any.whl

Download URL code_puppy_core_plugins-0.0.104-py3-none-any.whl
Size 1.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f39d6e06426e276a0260055d2cb07a01472ced44fac6f492162129d4764068a0
BLAKE2b-256 checksum
How to use checksums
5f50663f9bf2119a0cc5c06564e245733011facf37ed36ce17cc0d1d2fb10e6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.17

Security for code-puppy-core-plugins 0.0.104

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.104 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page