pi-ld

Pi tools for reading and safely changing LaunchDarkly feature flags via the ldcli CLI.

Packages

Package details

extension

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

$ pi install npm:pi-ld
Package
pi-ld
Version
0.3.0
Published
Oct 27, 2026
Downloads
306/mo · 227/wk
Author
tianrendong
License
MIT
Types
extension
Size
29.7 KB
Dependencies
0 dependencies · 3 peers
Pi manifest JSON
{
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

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

README

pi-ld

Check and change LaunchDarkly feature flags from pi.

  • Ask: "Is new-checkout on in prod?" "Which flags are tagged payments?"
  • Change safely: pi can dry-run a change first. Nothing goes live without explicit confirmation.
  • No new secrets: uses your existing ldcli login. pi never sees tokens.
  • Script-friendly: in codemode scripts, every tool resolves to the full parsed JSON (secrets redacted). Only the text the model sees is capped at 50KB.

Setup

ldcli login          # https://github.com/launchdarkly/ldcli
pi install npm:pi-ld