Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@

[Set up the personal assistant and verify reminder delivery](https://plompy.dev/docs/personal-assistant/).

## 0.13.1 (2026-11-18): Local Docker onboarding

- Set `PLOMPY_LOCAL_HOST_PORT` in the Compose project to choose a free loopback port. Plompy retains its container port, access token, configuration and artifacts.
- Generate matching MCP URLs for Codex CLI, Claude Code and OpenCode. Run the starter kit's authenticated host check to verify the published port before registering a client.
- Follow the updated quickstart from gateway status to a saved JSON artifact using the built-in tools.
- The Discord engine keeps the 0.13.0 runtime behavior, Codex runner and SQLite schema 6.

## 0.13.0 (2026-11-12): Local tools for your agent

- Add an authenticated local MCP gateway for independently running Codex, Claude Code, OpenCode and compatible clients, without Discord or a second model account in the container.
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ is required inside the container. The existing Discord mode remains available.
quality and tool calling depend on the chosen model; hosted integrations still
receive their requests.

Plompy Local **0.13.0** includes ready-made Linux `amd64` and `arm64` images:
`ghcr.io/dalkedev/plompy-engine:0.13.0-local` and the optional
`ghcr.io/dalkedev/plompy-engine:0.13.0-local-browser`. Download the small starter kit;
Plompy Local **0.13.1** includes ready-made Linux `amd64` and `arm64` images:
`ghcr.io/dalkedev/plompy-engine:0.13.1-local` and the optional
`ghcr.io/dalkedev/plompy-engine:0.13.1-local-browser`. Download the small starter kit;
no source checkout or host Node installation is needed. It does not expose email
sending or general shell execution tools. Paid provider calls and actual Ollama
inference have not been tested.
Expand All @@ -59,9 +59,9 @@ inference have not been tested.
```sh
mkdir -m 700 plompy-local
cd plompy-local
curl -fL https://github.com/dalkedev/plompy-engine/releases/download/v0.13.0/plompy-local-0.13.0.tar.gz \
-o plompy-local-0.13.0.tar.gz
tar -xzf plompy-local-0.13.0.tar.gz
curl -fL https://github.com/dalkedev/plompy-engine/releases/download/v0.13.1/plompy-local-0.13.1.tar.gz \
-o plompy-local-0.13.1.tar.gz
tar -xzf plompy-local-0.13.1.tar.gz
docker compose pull local
docker compose run --rm -T local node scripts/integrations.mjs init --mode local
docker compose up -d local
Expand Down Expand Up @@ -100,7 +100,7 @@ coding worker. These operations run without a model call.

## Quick start

The stable quick start below uses **0.13.0**.
The stable quick start below uses **0.13.1**.

You need Linux, **Node.js 26.13.0+ (26.x LTS)**, Git, `flock`, your own Discord bot and an authenticated runner.
The default path below uses Codex CLI **0.166.0**.
Expand All @@ -109,7 +109,7 @@ For containers, start with the [Docker guide](docs/docker.md).
### 1. Install and try the offline demo

```sh
git clone --branch v0.13.0 --depth 1 https://github.com/dalkedev/plompy-engine.git
git clone --branch v0.13.1 --depth 1 https://github.com/dalkedev/plompy-engine.git
cd plompy-engine
npm --prefix apps/discord-agent ci --ignore-scripts
npm run build
Expand Down Expand Up @@ -372,7 +372,7 @@ The engine commits selected Markdown locally; **it does not push memory**. Keep
remote separate from this public repository. Treat transcripts, credentials, browser profiles
and artifacts as private data. Alternative runners have their own private directories.

Version **0.13.0 uses SQLite schema 6**, retaining owner-bound repositories and durable code-diff
Version **0.13.1 uses SQLite schema 6**, retaining owner-bound repositories and durable code-diff
evidence. Take a [verified pre-upgrade snapshot](docs/state-backups.md);
rollback requires compatible state and reconciliation of later actions. Do not point older code
at a migrated database.
Expand Down
8 changes: 4 additions & 4 deletions docs/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

This page covers the existing Discord engine container. For the separate local
integration server used by Codex CLI, Claude Code, OpenCode and other MCP clients,
see [Plompy Local Docker quickstart](local/quickstart.md). The 0.13.0 starter kit
pulls `0.13.0-local` or `0.13.0-local-browser` for Linux amd64/arm64 and starts
see [Plompy Local Docker quickstart](local/quickstart.md). The 0.13.1 starter kit
pulls `0.13.1-local` or `0.13.1-local-browser` for Linux amd64/arm64 and starts
without Discord or a model account inside the container. Keep the Local kit in a
separate directory; its `compose.yaml` is different from this engine setup.

Expand Down Expand Up @@ -31,7 +31,7 @@ required permissions and four Discord IDs.
Use the stable release checkout to get the engine Compose file:

```sh
git clone --branch v0.13.0 --depth 1 https://github.com/dalkedev/plompy-engine.git
git clone --branch v0.13.1 --depth 1 https://github.com/dalkedev/plompy-engine.git
cd plompy-engine
```

Expand All @@ -41,7 +41,7 @@ the token and Discord IDs, then restrict the file to your account:
```sh
chmod 600 /absolute/private/plompy.env
export PLOMPY_ENV_FILE=/absolute/private/plompy.env
export PLOMPY_IMAGE=ghcr.io/dalkedev/plompy-engine:0.13.0
export PLOMPY_IMAGE=ghcr.io/dalkedev/plompy-engine:0.13.1
docker compose config --quiet
docker compose pull engine
docker compose run --rm engine init
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ adds notes, tasks, pending questions and one-time reminders to a dedicated priva
thread. The [assistant runbook](personal-assistant.md) covers setup, verification,
delivery after downtime and rollback.

## Plompy Local 0.13.0
## Plompy Local 0.13.1

[Plompy Local](local/introduction.md) adds selected tools in Docker for a host agent,
without Discord setup. Start with the [local Docker quickstart](local/quickstart.md),
then [connect Codex, Claude Code, OpenCode or another MCP client](local/other-clients.md).
[Ollama](local/ollama.md) is an optional local model provider for a compatible agent.
The 0.13.0 starter kit pulls ready-made core or browser images for Linux amd64/arm64.
The 0.13.1 starter kit pulls ready-made core or browser images for Linux amd64/arm64.
These are separate from the Discord engine image. Read the
[verification record](local/compatibility.md) for tested boundaries, or
[build from source](local/source-build.md) for development.
Expand Down
2 changes: 1 addition & 1 deletion docs/local/browser.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ docker compose --profile browser run --rm -T local-browser \
docker compose --profile browser up -d local-browser
```

The selected image is `ghcr.io/dalkedev/plompy-engine:0.13.0-local-browser`. Check it before reconnecting the client:
The selected image is `ghcr.io/dalkedev/plompy-engine:0.13.1-local-browser`. Check it before reconnecting the client:

```sh
docker compose --profile browser exec -T local-browser \
Expand Down
6 changes: 3 additions & 3 deletions docs/local/compatibility.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# What has been verified

These pages describe Plompy Local 0.13.0. The release provides separate core and browser images plus a downloadable starter kit. The older `v0.12.0` Discord image does not contain Local mode. A container release does not establish that your model account or third-party API credentials work.
These pages describe Plompy Local 0.13.1. The release updates Docker setup and keeps the gateway profile and client capabilities introduced in 0.13.0. The acceptance record below identifies the exact versions tested. A container release does not establish that your model account or third-party API credentials work.

## Version boundaries

| Component | Contract |
| --- | --- |
| Local runtime | Node 26.13.0 or newer Node 26 |
| MCP SDK | Pinned by `packages/local-mcp/package-lock.json` |
| Docker | `0.13.0-local` and `0.13.0-local-browser`, Linux `amd64` and `arm64` |
| Docker | `0.13.1-local` and `0.13.1-local-browser`, Linux `amd64` and `arm64` |
| Host clients | Codex and Claude Code export; explicit OpenCode V1 or V2 config |
| Local inference | Ollama configuration guide, not tested in this acceptance run |
| Existing engine OpenCode runner | Independently pinned to 1.19.5 |
| Browser | Pinned optional Playwright dependency, sandbox enabled |
| Separate Discord engine image | `0.13.0`, Codex runner inside the engine |
| Separate Discord engine image | `0.13.1`, Codex runner inside the engine |

## Verification levels

Expand Down
2 changes: 1 addition & 1 deletion docs/local/discord.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The original engine accepts tasks from private Discord threads, stores work in a
## Start the stable Discord engine

1. Prepare a Discord bot and a private forum in a server you own. Enable Message Content Intent and copy your server, owner, bot and forum IDs. See [Discord configuration](https://github.com/dalkedev/plompy-engine/blob/main/docs/configuration.md) for permissions.
2. Use Git to clone release `v0.13.0` for its Compose file and follow the [Docker engine first start](https://github.com/dalkedev/plompy-engine/blob/v0.13.0/docs/docker.md#first-start). The Docker image uses Codex. For a Linux service using an experimental Claude Code or OpenCode runner, follow [host deployment](https://github.com/dalkedev/plompy-engine/blob/main/docs/deployment.md).
2. Use Git to clone release `v0.13.1` for its Compose file and follow the [Docker engine first start](https://github.com/dalkedev/plompy-engine/blob/v0.13.1/docs/docker.md#first-start). The Docker image uses Codex. For a Linux service using an experimental Claude Code or OpenCode runner, follow [host deployment](https://github.com/dalkedev/plompy-engine/blob/main/docs/deployment.md).
3. After the structured `ready` event, run the [first private code goal](https://github.com/dalkedev/plompy-engine/blob/main/docs/first-goal.md#use-the-supplied-acceptance-project).

If you already run the engine, use your existing private environment and volumes. For an upgrade from before 0.12, follow the [migration guide](https://github.com/dalkedev/plompy-engine/blob/main/docs/migration-plompy.md).
Expand Down
2 changes: 1 addition & 1 deletion docs/local/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Plompy Local connects an agent on your computer to selected tools running behind a local MCP endpoint. Your host client, such as Codex, Claude Code or OpenCode, plans the task and writes the response. Plompy handles the enabled integrations and local artifacts.

Plompy Local 0.13.0 ships as ready-made Docker images and a small starter kit. Download it, connect your preferred agent, and choose its tools. The Local images are separate from the Discord engine image. Check [Compatibility and verification](compatibility.md) for what has actually been tested.
Plompy Local 0.13.1 ships as ready-made Docker images and a small starter kit. Download it, connect your preferred agent, and choose its tools. The Local images are separate from the Discord engine image. Check [Compatibility and verification](compatibility.md) for what has actually been tested.

The Discord engine also offers an opt-in personal assistant in `1.0.0-alpha.1`. It keeps notes, tasks and one-time reminders in a dedicated private thread. See [what shipped in each release](releases.md) for the stable and prerelease versions.

Expand Down
2 changes: 1 addition & 1 deletion docs/local/maintenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Read the target release notes and download its Local starter kit. Keep a copy of

Use the new kit in the same deployment directory, preserving your deliberate configuration changes. The kit uses the fixed Compose project name `plompy-local` and named volumes for config, secrets and artifacts. Preserve that name, or your explicit `-p` project name, when updating. Do not run two services against the same volumes and port.

For the current 0.13.0 kit, the core image is pinned to `ghcr.io/dalkedev/plompy-engine:0.13.0-local`. After installing the intended kit:
For the current 0.13.1 kit, the core image is pinned to `ghcr.io/dalkedev/plompy-engine:0.13.1-local`. After installing the intended kit:

```sh
docker compose pull local
Expand Down
27 changes: 13 additions & 14 deletions docs/local/quickstart.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Run locally with Docker

Run Plompy Local 0.13.0 using ready-made container images. No source checkout, Node installation or local build is needed.
Run Plompy Local 0.13.1 using ready-made container images. No source checkout, Node installation or local build is needed.

## Before you start

Expand All @@ -13,28 +13,28 @@ Run these commands in a terminal on macOS or Linux, or a WSL shell with Docker a
```sh
mkdir -m 700 plompy-local
cd plompy-local
curl -fL https://github.com/dalkedev/plompy-engine/releases/download/v0.13.0/plompy-local-0.13.0.tar.gz \
-o plompy-local-0.13.0.tar.gz
curl -fL https://github.com/dalkedev/plompy-engine/releases/download/v0.13.1/plompy-local-0.13.1.tar.gz \
-o plompy-local-0.13.1.tar.gz
```

Optionally verify the downloaded archive against the release checksum before extracting it:

```sh
curl -fL https://github.com/dalkedev/plompy-engine/releases/download/v0.13.0/plompy-local-0.13.0.tar.gz.sha256 \
-o plompy-local-0.13.0.tar.gz.sha256
shasum -a 256 -c plompy-local-0.13.0.tar.gz.sha256
curl -fL https://github.com/dalkedev/plompy-engine/releases/download/v0.13.1/plompy-local-0.13.1.tar.gz.sha256 \
-o plompy-local-0.13.1.tar.gz.sha256
shasum -a 256 -c plompy-local-0.13.1.tar.gz.sha256
```

The check must report `OK`. On Linux, `sha256sum -c plompy-local-0.13.0.tar.gz.sha256` is an alternative. If verification fails, stop and obtain a fresh copy of the release assets.
The check must report `OK`. On Linux, `sha256sum -c plompy-local-0.13.1.tar.gz.sha256` is an alternative. If verification fails, stop and obtain a fresh copy of the release assets.

Extract the kit and pull its core image:

```sh
tar -xzf plompy-local-0.13.0.tar.gz
tar -xzf plompy-local-0.13.1.tar.gz
docker compose pull local
```

The kit includes `compose.yaml`, browser security profiles and example agent instructions. Its core image is `ghcr.io/dalkedev/plompy-engine:0.13.0-local`, available for Linux `amd64` and `arm64`. Keep running the commands below from this directory. Do not replace an existing Discord deployment's Compose file with this one.
The kit includes `compose.yaml`, browser security profiles and example agent instructions. Its core image is `ghcr.io/dalkedev/plompy-engine:0.13.1-local`, available for Linux `amd64` and `arm64`. Keep running the commands below from this directory. Do not replace an existing Discord deployment's Compose file with this one.

Prefer to build it yourself? Use the separate [source-build guide](source-build.md).

Expand All @@ -49,6 +49,8 @@ Initialization creates a private configuration and local access token. It preser

## Start the gateway

The kit uses host port `7331` by default. To use a different port, add `PLOMPY_LOCAL_HOST_PORT=17331` to the Compose project's `.env` before starting. Choose an available port from `1024` to `65535`.

```sh
docker compose up -d --wait local
```
Expand All @@ -66,14 +68,11 @@ This initializes MCP and calls local status inside the container. It uses no mod

## Check the connection from your host

In the terminal that runs Docker, check whether the published gateway responds:

```sh
curl --disable --noproxy '*' --silent --show-error --output /dev/null \
--max-time 10 --write-out 'HTTP %{http_code}\n' http://127.0.0.1:7331/health
sh check-local-host.sh local
```

`HTTP 401` is expected for this request without a token. It confirms HTTP reachability from the host. Continue to the client check to verify its authorization. If your kit includes `check-local-host.sh`, `sh check-local-host.sh local` verifies host reachability with the local token and prints the MCP URL. See [Troubleshooting](troubleshooting.md) if either check fails.
The host check uses the local token to verify the Docker publication and prints the exact MCP URL. Continue to the client check to verify its authorization. If port `7331` is occupied, use [the alternate port instructions](troubleshooting.md#port-already-in-use).

## Connect your agent

Expand Down
8 changes: 4 additions & 4 deletions docs/local/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## On your computer

- Docker Engine or Docker Desktop with Docker Compose.
- The [0.13.0 Local starter kit](quickstart.md), downloaded with `curl` and extracted with `tar` or equivalent tools.
- The [0.13.1 Local starter kit](quickstart.md), downloaded with `curl` and extracted with `tar` or equivalent tools.
- A compatible host MCP client, such as Codex, Claude Code or OpenCode, configured with a model you can use.
- A free host port, `7331` by default.

Expand All @@ -23,9 +23,9 @@ Each external integration has separate requirements. A model subscription is not

## Choose the correct image

- `ghcr.io/dalkedev/plompy-engine:0.13.0-local`: core MCP gateway, public web reads, integrations and artifacts.
- `ghcr.io/dalkedev/plompy-engine:0.13.0-local-browser`: the same gateway plus sandboxed Chromium.
- `ghcr.io/dalkedev/plompy-engine:0.13.0`: the separate Discord/Codex engine.
- `ghcr.io/dalkedev/plompy-engine:0.13.1-local`: core MCP gateway, public web reads, integrations and artifacts.
- `ghcr.io/dalkedev/plompy-engine:0.13.1-local-browser`: the same gateway plus sandboxed Chromium.
- `ghcr.io/dalkedev/plompy-engine:0.13.1`: the separate Discord/Codex engine.

The starter kit selects the Local images. You do not need Git, Node or a compiler on the host. For development or an inspected source revision, use [Build from source](source-build.md).

Expand Down
4 changes: 2 additions & 2 deletions docs/local/source-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The [starter kit](quickstart.md) is the shortest route to a running gateway. Use
## Check out the release

```sh
git clone --branch v0.13.0 --depth 1 https://github.com/dalkedev/plompy-engine.git
git clone --branch v0.13.1 --depth 1 https://github.com/dalkedev/plompy-engine.git
cd plompy-engine
docker compose -f compose.local.yaml build local
docker compose -f compose.local.yaml run --rm -T local \
Expand All @@ -21,7 +21,7 @@ The Local source Compose project and downloaded starter kit both default to the

## Use a different host port

This requires a source revision or starter kit that supports `PLOMPY_LOCAL_HOST_PORT`; published 0.13.0 and 1.0.0-alpha.1 use a fixed port. Choose an available TCP port from `1024` to `65535` and set it in the local Compose `.env` file. Use a unique Compose project name for a second instance. For example, with a separate checkout of current source, set:
Choose an available TCP port from `1024` to `65535` and set `PLOMPY_LOCAL_HOST_PORT` in the local Compose `.env` file. Use a unique Compose project name for a second instance. For example, with a separate checkout, set:

```dotenv
COMPOSE_PROJECT_NAME=plompy-local-dev
Expand Down
2 changes: 1 addition & 1 deletion docs/local/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Use `local-browser` if that is your selected service. The second command should

## Port already in use

Core and browser share the same published port and volumes. Stop the variant you are switching away from. The published 0.13.0 and 1.0.0-alpha.1 kits require port `7331` to be free. If you need both an existing application on `7331` and a Plompy gateway, use a [source revision or kit that supports an alternate port](source-build.md#use-a-different-host-port). Keep the loopback binding and regenerate the client fragment after changing the port.
Core and browser share the same published port and volumes. Stop the variant you are switching away from. In the 0.13.1 kit, select a free port from `1024` to `65535` and add or update `PLOMPY_LOCAL_HOST_PORT=17331` (using your chosen number) in the Compose project's `.env` file. Start the service using the existing project name, run `sh check-local-host.sh local`, and regenerate the client configuration for the printed URL. The 0.13.0 and 1.0.0-alpha.1 kits require port `7331`. See [maintenance](maintenance.md) for upgrading an existing kit.

## Unauthorized or forbidden

Expand Down
Loading