Including pi extensions? #28
|
What is the suggested approach to using pi extensions? I have a few that I like, mostly on the UI side of things. But it looks like little-coder ignores any in ~/.pi/ - is that correct? Is there a different location that I should be putting them? |
Replies: 2 comments
|
Hey! Thanks for your message, will look into it over the weekend |
|
@cschneid — I owe you an apology for the delay here. I said "will look into it over the weekend" in May and then answered this in code without ever coming back to the thread. This works now, as of v1.12.0. Your read was right: little-coder launches pi with
Worth being straight about the tradeoff, since you asked specifically about UI extensions: One correction to something I said elsewhere on this topic: pi themes were never blocked. Full write-up: docs/extensions.md. |
@cschneid — I owe you an apology for the delay here. I said "will look into it over the weekend" in May and then answered this in code without ever coming back to the thread.
This works now, as of v1.12.0. Your read was right: little-coder launches pi with
--no-extensions, which is why~/.pi/extensions were ignored. There are three ways in now:--with-pi-extensions(orLITTLE_CODER_PI_EXTENSIONS=1) — drops--no-extensions, so pi discovers its own from~/.pi/agent/extensionsand./.pi/extensions. This is the one you were asking for.~/.config/little-coder/extensions/. Each direct child is one extension (a.ts/.js/.mjsfile, or a directory with anindex.ts). L…