mercury-agent 0.24.3-beta.5 → 0.24.3-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/container/Dockerfile.power +1 -1
- package/docs/configuration.md +1 -1
- package/docs/container-lifecycle.md +4 -4
- package/docs/deployment.md +1 -1
- package/package.json +1 -1
- package/src/config.ts +1 -2
package/README.md
CHANGED
|
@@ -420,7 +420,7 @@ Supported OAuth providers: Anthropic, GitHub Copilot, Google Gemini CLI, Antigra
|
|
|
420
420
|
|
|
421
421
|
| Variable | Default | Description |
|
|
422
422
|
|----------|---------|-------------|
|
|
423
|
-
| `MERCURY_AGENT_IMAGE` | `ghcr.io/
|
|
423
|
+
| `MERCURY_AGENT_IMAGE` | `ghcr.io/tagula-ai/mercury-agent:<version>` | Container image; pinned to the installed version, see `docs/configuration.md` § Agent image |
|
|
424
424
|
| `MERCURY_CONTAINER_TIMEOUT_MS` | `300000` | Container timeout (5 min) |
|
|
425
425
|
| `MERCURY_CONTAINER_RUNTIME` | `runc` | `runc` (default) or `runsc` ([gVisor](https://gvisor.dev)) |
|
|
426
426
|
| `MERCURY_CONTAINER_BWRAP_DOCKER_COMPAT` | `false` | Set `true` on Linux Docker Engine (see note below) |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# Extends Base with: python3 + pip + venv, build-essential, jq, ffmpeg, bubblewrap
|
|
4
4
|
# The patch script, mrctl, and entrypoint are all inherited from Base — not duplicated here.
|
|
5
5
|
ARG BASE_TAG
|
|
6
|
-
FROM ghcr.io/
|
|
6
|
+
FROM ghcr.io/tagula-ai/mercury-agent:${BASE_TAG}-base
|
|
7
7
|
|
|
8
8
|
USER root
|
|
9
9
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
package/docs/configuration.md
CHANGED
|
@@ -834,7 +834,7 @@ agent:
|
|
|
834
834
|
Env: `MERCURY_AGENT_IMAGE`.
|
|
835
835
|
|
|
836
836
|
**The default is the registry image at this host's own version** —
|
|
837
|
-
`ghcr.io/
|
|
837
|
+
`ghcr.io/tagula-ai/mercury-agent:<version>`, where `<version>` is the
|
|
838
838
|
installed package's `package.json` version (release-gate R0.6, since 0.22.0;
|
|
839
839
|
before that the default floated on `:latest`). Nothing needs to be set for it,
|
|
840
840
|
and a host upgrade changes the reference by itself, so the box asks for the
|
|
@@ -183,7 +183,7 @@ Message received
|
|
|
183
183
|
export MERCURY_CONTAINER_TIMEOUT_MS=600000
|
|
184
184
|
|
|
185
185
|
# Override the agent image. The default needs no setting: it is the registry
|
|
186
|
-
# image at this host's own version, ghcr.io/
|
|
186
|
+
# image at this host's own version, ghcr.io/tagula-ai/mercury-agent:<version>
|
|
187
187
|
export MERCURY_AGENT_IMAGE=mercury-agent:latest # a local `mercury build` / container/build.sh
|
|
188
188
|
```
|
|
189
189
|
|
|
@@ -349,7 +349,7 @@ Mercury publishes an image preset to GitHub Container Registry:
|
|
|
349
349
|
|
|
350
350
|
| Preset | Size | Contents |
|
|
351
351
|
|--------|------|----------|
|
|
352
|
-
| `ghcr.io/
|
|
352
|
+
| `ghcr.io/tagula-ai/mercury-agent:<version>` | ~2.8GB | Full devcontainer: Bun, Node.js, Python, Go, git, build tools |
|
|
353
353
|
|
|
354
354
|
Images are published on each release by `release.yml`'s `publish-image` job,
|
|
355
355
|
which builds from the published npm tarball and pushes `:<version>` alongside
|
|
@@ -357,7 +357,7 @@ which builds from the published npm tarball and pushes `:<version>` alongside
|
|
|
357
357
|
|
|
358
358
|
**The default is pinned to the host's version** (release-gate R0.6, since
|
|
359
359
|
0.22.0): a host running mercury `X.Y.Z` with no `agent.image` override asks
|
|
360
|
-
for `ghcr.io/
|
|
360
|
+
for `ghcr.io/tagula-ai/mercury-agent:X.Y.Z` — never `:latest`. So a
|
|
361
361
|
host upgrade changes the reference, the new tag is absent locally, and boot
|
|
362
362
|
pulls it (or fails loudly if it cannot); `mercury preflight`'s `docker.image`
|
|
363
363
|
check names the pinned tag, the host version and the two ways out when the
|
|
@@ -399,7 +399,7 @@ image id, repo digest, version label and whether a refresh happened, so drift
|
|
|
399
399
|
is visible without being asked for:
|
|
400
400
|
|
|
401
401
|
```
|
|
402
|
-
Agent image resolved image=ghcr.io/
|
|
402
|
+
Agent image resolved image=ghcr.io/tagula-ai/mercury-agent:0.22.0
|
|
403
403
|
imageId=sha256:… digest=…@sha256:… imageVersion=0.22.0 hostVersion=0.22.0
|
|
404
404
|
refresh=pulled reason=not-present
|
|
405
405
|
```
|
package/docs/deployment.md
CHANGED
|
@@ -112,7 +112,7 @@ mercury upgrade --skip-image-pull # host only — for a box on a locally built
|
|
|
112
112
|
you asked for to one exact version (`latest`, a dist-tag or a range go
|
|
113
113
|
through `npm view`), then **pulls the agent image that version's host will
|
|
114
114
|
ask for** — the default is pinned to the version, so that is
|
|
115
|
-
`ghcr.io/
|
|
115
|
+
`ghcr.io/tagula-ai/mercury-agent:<version>` — and refuses when the
|
|
116
116
|
registry has no such tag or refuses the credential, **leaving the host
|
|
117
117
|
untouched**. Only then, on macOS and Linux, does it stop the managed service,
|
|
118
118
|
install the new version globally and restart the service. It installs the
|
package/package.json
CHANGED
package/src/config.ts
CHANGED
|
@@ -124,8 +124,7 @@ const overridePiSystemPromptFromEnv = strictBooleanFromEnv(
|
|
|
124
124
|
);
|
|
125
125
|
|
|
126
126
|
/** The registry repository Mercury's own releases push the agent image to. */
|
|
127
|
-
export const DEFAULT_AGENT_IMAGE_REPOSITORY =
|
|
128
|
-
"ghcr.io/avishai-tsabari/mercury-agent";
|
|
127
|
+
export const DEFAULT_AGENT_IMAGE_REPOSITORY = "ghcr.io/tagula-ai/mercury-agent";
|
|
129
128
|
|
|
130
129
|
/**
|
|
131
130
|
* The default agent image for a host running `hostVersion`.
|