codeharness 0.13.0 → 0.16.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeharness",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "CLI for codeharness — makes autonomous coding agents produce software that actually works",
|
|
6
6
|
"bin": {
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"files": [
|
|
10
10
|
"dist",
|
|
11
11
|
"bin",
|
|
12
|
+
"templates/Dockerfile.verify",
|
|
12
13
|
"ralph/**/*.sh",
|
|
13
14
|
"ralph/AGENTS.md"
|
|
14
15
|
],
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Black-box verification environment
|
|
2
|
+
# Installs the project as a user would (from tarball), plus verification tools.
|
|
3
|
+
# NO source code enters the image — only the built artifact.
|
|
4
|
+
FROM node:20-slim
|
|
5
|
+
|
|
6
|
+
ARG TARBALL=package.tgz
|
|
7
|
+
|
|
8
|
+
# System utilities
|
|
9
|
+
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
10
|
+
curl \
|
|
11
|
+
jq \
|
|
12
|
+
&& rm -rf /var/lib/apt/lists/*
|
|
13
|
+
|
|
14
|
+
# Verification tools + Claude Code CLI
|
|
15
|
+
RUN npm install -g showboat @anthropic-ai/claude-code
|
|
16
|
+
|
|
17
|
+
# Install the project from tarball (same as a user would)
|
|
18
|
+
COPY ${TARBALL} /tmp/${TARBALL}
|
|
19
|
+
RUN npm install -g /tmp/${TARBALL} && rm /tmp/${TARBALL}
|
|
20
|
+
|
|
21
|
+
# OTEL environment pointing to host observability stack
|
|
22
|
+
ENV OTEL_EXPORTER_OTLP_ENDPOINT=http://host.docker.internal:4318
|
|
23
|
+
ENV OTEL_SERVICE_NAME=codeharness-verify
|
|
24
|
+
ENV OTEL_TRACES_EXPORTER=otlp
|
|
25
|
+
ENV OTEL_METRICS_EXPORTER=otlp
|
|
26
|
+
ENV OTEL_LOGS_EXPORTER=otlp
|
|
27
|
+
|
|
28
|
+
WORKDIR /workspace
|