Build Extension

The extension is built into Parrot.

Below shows how to build the Parrot extension from source code.

Dependencies

Using Debian Bookworm (stable/12). Install OS dependencies.

Python is needed to build the documentation. Python is no longer needed to build the extension, as upstream has removed the Python server.

sudo apt install \
  git python3-venv python3-virtualenv python3-pip

Download

To build the Parrot extension, download the source code from the git repository.

git clone https://spacecruft.org/deepcrayon/parrot-extension
cd parrot-extension/

Build

Thusly:

make

Same as:

make all

Extension build

src/extensions/vscode/build/continue-patch.vsix

Versions

To update versions:

${EDITOR} CHANGELOG
# git tag v0.0.0

Clean

Clean.

make clean

Push

Push to git repo.

make push

Run

Server:

./parrot-server

Extension

Perhaps

cd src/extensions/vscode/
yarn
yarn package

Inference Server

TO DO: add the inference server to the extension. For now, build and use llama.cpp.

git clone https://github.com/ggerganov/llama.cpp
cd llama.cpp
# build thing.