Marquis03 commited on
Commit
a9e9831
·
verified ·
1 Parent(s): 83570f3

commit (part 68)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +4 -0
  2. kndndrj--nvim-dbee.dda5176/environment/Dockerfile +1 -0
  3. kndndrj--nvim-dbee.dda5176/tests/Dockerfile +1 -0
  4. knqyf263--utern.9028601/environment/Dockerfile +1 -0
  5. knqyf263--utern.9028601/tests/Dockerfile +1 -0
  6. knrt10--asciiconvert.0acdaf8/environment/Dockerfile +1 -0
  7. knrt10--asciiconvert.0acdaf8/tests/Dockerfile +1 -0
  8. koba789--human-in-the-loop.6f95553/environment/Dockerfile +93 -0
  9. koba789--human-in-the-loop.6f95553/environment/docker-compose.yaml +22 -0
  10. koba789--human-in-the-loop.6f95553/environment/download.sh +2759 -0
  11. koba789--human-in-the-loop.6f95553/environment/executable +3 -0
  12. koba789--human-in-the-loop.6f95553/environment/harbor_configure_apt_mirror.sh +37 -0
  13. koba789--human-in-the-loop.6f95553/environment/harbor_configure_java_mirrors.sh +50 -0
  14. koba789--human-in-the-loop.6f95553/environment/harbor_prepare_download_env.sh +47 -0
  15. koba789--human-in-the-loop.6f95553/environment/workspace.tar.gz +3 -0
  16. koba789--human-in-the-loop.6f95553/instruction.md +98 -0
  17. koba789--human-in-the-loop.6f95553/solution/solve.sh +33 -0
  18. koba789--human-in-the-loop.6f95553/task.toml +69 -0
  19. koba789--human-in-the-loop.6f95553/tests/Dockerfile +107 -0
  20. koba789--human-in-the-loop.6f95553/tests/blobs/tests/generated_module_01.tar.gz +3 -0
  21. koba789--human-in-the-loop.6f95553/tests/blobs/tests/generated_module_02.tar.gz +3 -0
  22. koba789--human-in-the-loop.6f95553/tests/blobs/tests/generated_module_03.tar.gz +3 -0
  23. koba789--human-in-the-loop.6f95553/tests/docker-compose.yaml +22 -0
  24. koba789--human-in-the-loop.6f95553/tests/download.sh +2759 -0
  25. koba789--human-in-the-loop.6f95553/tests/executable +3 -0
  26. koba789--human-in-the-loop.6f95553/tests/harbor_configure_apt_mirror.sh +37 -0
  27. koba789--human-in-the-loop.6f95553/tests/harbor_configure_java_mirrors.sh +50 -0
  28. koba789--human-in-the-loop.6f95553/tests/harbor_prepare_download_env.sh +47 -0
  29. koba789--human-in-the-loop.6f95553/tests/programgym_evaluator.py +1201 -0
  30. koba789--human-in-the-loop.6f95553/tests/programgym_task.json +0 -0
  31. koba789--human-in-the-loop.6f95553/tests/test.sh +82 -0
  32. koba789--human-in-the-loop.6f95553/tests/workspace.tar.gz +3 -0
  33. koenbollen--jl.ef5e34c/environment/Dockerfile +1 -0
  34. koenbollen--jl.ef5e34c/tests/Dockerfile +1 -0
  35. koenrh--s3enum.1e95b89/environment/Dockerfile +1 -0
  36. koenrh--s3enum.1e95b89/tests/Dockerfile +1 -0
  37. koihik--luaformatter.29afe10/environment/Dockerfile +1 -0
  38. koihik--luaformatter.29afe10/tests/Dockerfile +1 -0
  39. kongaskristjan--fire-hpp.7d000fd/environment/Dockerfile +1 -0
  40. kongaskristjan--fire-hpp.7d000fd/tests/Dockerfile +1 -0
  41. korovkin--limiter.004398a/environment/Dockerfile +98 -0
  42. korovkin--limiter.004398a/environment/docker-compose.yaml +22 -0
  43. korovkin--limiter.004398a/environment/download.sh +213 -0
  44. korovkin--limiter.004398a/environment/executable +3 -0
  45. korovkin--limiter.004398a/environment/harbor_configure_apt_mirror.sh +37 -0
  46. korovkin--limiter.004398a/environment/harbor_configure_java_mirrors.sh +50 -0
  47. korovkin--limiter.004398a/environment/harbor_prepare_download_env.sh +44 -0
  48. korovkin--limiter.004398a/environment/programgym-go.tar.gz +3 -0
  49. korovkin--limiter.004398a/environment/workspace.tar.gz +3 -0
  50. korovkin--limiter.004398a/instruction.md +98 -0
.gitattributes CHANGED
@@ -3388,3 +3388,7 @@ kigster--cmake-project-template.6022475/environment/executable filter=lfs diff=l
3388
  kigster--cmake-project-template.6022475/tests/executable filter=lfs diff=lfs merge=lfs -text
3389
  kkoomen--vim-doge.03a8407/environment/executable filter=lfs diff=lfs merge=lfs -text
3390
  kkoomen--vim-doge.03a8407/tests/executable filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
3388
  kigster--cmake-project-template.6022475/tests/executable filter=lfs diff=lfs merge=lfs -text
3389
  kkoomen--vim-doge.03a8407/environment/executable filter=lfs diff=lfs merge=lfs -text
3390
  kkoomen--vim-doge.03a8407/tests/executable filter=lfs diff=lfs merge=lfs -text
3391
+ koba789--human-in-the-loop.6f95553/environment/executable filter=lfs diff=lfs merge=lfs -text
3392
+ koba789--human-in-the-loop.6f95553/tests/executable filter=lfs diff=lfs merge=lfs -text
3393
+ korovkin--limiter.004398a/environment/executable filter=lfs diff=lfs merge=lfs -text
3394
+ korovkin--limiter.004398a/tests/executable filter=lfs diff=lfs merge=lfs -text
kndndrj--nvim-dbee.dda5176/environment/Dockerfile CHANGED
@@ -58,3 +58,4 @@ RUN mkdir -p /home/agent \
58
  && chmod 111 /workspace/executable
59
  ENV HOME=/home/agent
60
  WORKDIR /workspace
 
 
58
  && chmod 111 /workspace/executable
59
  ENV HOME=/home/agent
60
  WORKDIR /workspace
61
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
kndndrj--nvim-dbee.dda5176/tests/Dockerfile CHANGED
@@ -66,3 +66,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
66
  COPY programgym_task.json /tests/programgym_task.json
67
  COPY blobs/ /tests/blobs/
68
  RUN chmod +x /tests/test.sh
 
 
66
  COPY programgym_task.json /tests/programgym_task.json
67
  COPY blobs/ /tests/blobs/
68
  RUN chmod +x /tests/test.sh
69
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
knqyf263--utern.9028601/environment/Dockerfile CHANGED
@@ -56,3 +56,4 @@ RUN mkdir -p /home/agent \
56
  && chmod 111 /workspace/executable
57
  ENV HOME=/home/agent
58
  WORKDIR /workspace
 
 
56
  && chmod 111 /workspace/executable
57
  ENV HOME=/home/agent
58
  WORKDIR /workspace
59
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
knqyf263--utern.9028601/tests/Dockerfile CHANGED
@@ -64,3 +64,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
64
  COPY programgym_task.json /tests/programgym_task.json
65
  COPY blobs/ /tests/blobs/
66
  RUN chmod +x /tests/test.sh
 
 
64
  COPY programgym_task.json /tests/programgym_task.json
65
  COPY blobs/ /tests/blobs/
66
  RUN chmod +x /tests/test.sh
67
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
knrt10--asciiconvert.0acdaf8/environment/Dockerfile CHANGED
@@ -58,3 +58,4 @@ RUN mkdir -p /home/agent \
58
  && chmod 111 /workspace/executable
59
  ENV HOME=/home/agent
60
  WORKDIR /workspace
 
 
58
  && chmod 111 /workspace/executable
59
  ENV HOME=/home/agent
60
  WORKDIR /workspace
61
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
knrt10--asciiconvert.0acdaf8/tests/Dockerfile CHANGED
@@ -66,3 +66,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
66
  COPY programgym_task.json /tests/programgym_task.json
67
  COPY blobs/ /tests/blobs/
68
  RUN chmod +x /tests/test.sh
 
 
66
  COPY programgym_task.json /tests/programgym_task.json
67
  COPY blobs/ /tests/blobs/
68
  RUN chmod +x /tests/test.sh
69
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
koba789--human-in-the-loop.6f95553/environment/Dockerfile ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM rust:1.97.1-bookworm
2
+ ARG PROGRAMGYM_APT_REPOSITORY_BASE_URL=""
3
+ ARG PROGRAMGYM_GOPROXY="https://proxy.golang.org,direct"
4
+ ARG PROGRAMGYM_GOSUMDB="sum.golang.org"
5
+ ARG PROGRAMGYM_NPM_REGISTRY="https://registry.npmjs.org/"
6
+ ARG PROGRAMGYM_NPM_STRICT_SSL="true"
7
+ ARG PROGRAMGYM_PYPI_INDEX_URL="https://pypi.org/simple"
8
+ ARG PROGRAMGYM_PYPI_TRUSTED_HOST=""
9
+ ARG PROGRAMGYM_UV_INSECURE_HOST=""
10
+ ARG PROGRAMGYM_RUSTUP_DIST_SERVER="https://static.rust-lang.org"
11
+ ARG PROGRAMGYM_RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
12
+ ARG PROGRAMGYM_CARGO_INDEX="sparse+https://index.crates.io/"
13
+ ARG PROGRAMGYM_CARGO_NET_RETRY="10"
14
+ ARG PROGRAMGYM_CARGO_HTTP_TIMEOUT="600"
15
+ ARG PROGRAMGYM_CARGO_HTTP_MULTIPLEXING="false"
16
+ ARG PROGRAMGYM_MAVEN_MIRROR_URL=""
17
+ ARG PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL=""
18
+ ARG PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL="https://services.gradle.org/distributions"
19
+ ARG PROGRAMGYM_JITPACK_REPOSITORY_URL="https://jitpack.io"
20
+ ENV GOPROXY=${PROGRAMGYM_GOPROXY}
21
+ ENV GOSUMDB=${PROGRAMGYM_GOSUMDB}
22
+ ENV PIP_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
23
+ ENV PIP_TRUSTED_HOST=${PROGRAMGYM_PYPI_TRUSTED_HOST}
24
+ ENV UV_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
25
+ ENV UV_INSECURE_HOST=${PROGRAMGYM_UV_INSECURE_HOST}
26
+ ENV npm_config_registry=${PROGRAMGYM_NPM_REGISTRY}
27
+ ENV npm_config_strict_ssl=${PROGRAMGYM_NPM_STRICT_SSL}
28
+ ENV RUSTUP_DIST_SERVER=${PROGRAMGYM_RUSTUP_DIST_SERVER}
29
+ ENV RUSTUP_UPDATE_ROOT=${PROGRAMGYM_RUSTUP_UPDATE_ROOT}
30
+ ENV CARGO_REGISTRIES_CRATES_IO_INDEX=${PROGRAMGYM_CARGO_INDEX}
31
+ ENV CARGO_NET_RETRY=${PROGRAMGYM_CARGO_NET_RETRY}
32
+ ENV CARGO_HTTP_TIMEOUT=${PROGRAMGYM_CARGO_HTTP_TIMEOUT}
33
+ ENV CARGO_HTTP_MULTIPLEXING=${PROGRAMGYM_CARGO_HTTP_MULTIPLEXING}
34
+ ENV PROGRAMGYM_MAVEN_MIRROR_URL=${PROGRAMGYM_MAVEN_MIRROR_URL}
35
+ ENV PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL=${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL}
36
+ ENV PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL=${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL}
37
+ ENV PROGRAMGYM_JITPACK_REPOSITORY_URL=${PROGRAMGYM_JITPACK_REPOSITORY_URL}
38
+ COPY harbor_configure_apt_mirror.sh /tmp/harbor_configure_apt_mirror.sh
39
+ RUN chmod 0755 /tmp/harbor_configure_apt_mirror.sh \
40
+ && /bin/bash /tmp/harbor_configure_apt_mirror.sh "${PROGRAMGYM_APT_REPOSITORY_BASE_URL}" \
41
+ && rm -f /tmp/harbor_configure_apt_mirror.sh
42
+ COPY harbor_configure_java_mirrors.sh /tmp/harbor_configure_java_mirrors.sh
43
+ RUN chmod 0755 /tmp/harbor_configure_java_mirrors.sh \
44
+ && /bin/bash /tmp/harbor_configure_java_mirrors.sh "${PROGRAMGYM_MAVEN_MIRROR_URL}" "${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL}" "${PROGRAMGYM_JITPACK_REPOSITORY_URL}" \
45
+ && rm -f /tmp/harbor_configure_java_mirrors.sh
46
+ ENV DEBIAN_FRONTEND=noninteractive
47
+ ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
48
+ ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
49
+ ENV GOTOOLCHAIN=auto
50
+ ENV UV_CACHE_DIR=/workspace/.cache/uv
51
+ ENV npm_config_cache=/workspace/.cache/npm
52
+ ENV HOME=/workspace
53
+ ENV XDG_CACHE_HOME=/workspace/.cache
54
+ ENV PIP_CACHE_DIR=/workspace/.cache/pip
55
+ ENV PYTHONUSERBASE=/workspace/.local
56
+ ENV CARGO_HOME=/usr/local/cargo
57
+ ENV RUSTUP_HOME=/usr/local/rustup
58
+ ENV RUSTUP_TOOLCHAIN=1.97.1
59
+ ENV PROGRAMGYM_RUST_TOOLCHAIN=1.97.1
60
+ ENV PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
61
+ ENV PAGER=cat
62
+ ENV MANPAGER=cat
63
+ ENV LESS=-R
64
+ ENV TQDM_DISABLE=1
65
+ RUN apt-get update && apt-get install -y --no-install-recommends apt=2.6.1 bash=5.2.15-2+b13 build-essential=12.9 ca-certificates=20250419~deb12u1 cmake=3.25.1-1 git=1:2.39.5-0+deb12u3 make=4.3-4.1 pkg-config=1.8.1-1 python3=3.11.2-1+b1 python3-pip=23.0.1+dfsg-1 python3-dev=3.11.2-1+b1 autoconf=2.71-3 automake=1:1.16.5-1.3 gettext=0.21-12 file=1:5.44-3 binutils=2.40-2 libtool=2.4.7-7~deb12u1 libncurses-dev=6.4-4 meson=1.0.1-5 ninja-build=1.11.1-2~deb12u1 curl=7.88.1-10+deb12u15 wget=1.21.3-1+deb12u1 xz-utils=5.4.1-1+deb12u1 zstd=1.5.4+dfsg2-5 bzip2=1.0.8-5+b1 zip=3.0-13 unzip=6.0-28+deb12u1 patch=2.7.6-7 grep=3.8-5 python3-pytest python3-pytest-xdist python3-coverage && rm -rf /var/lib/apt/lists/*
66
+ RUN set -eux; for attempt in 1 2 3 4 5; do rustup component add llvm-tools-preview --toolchain 1.97.1 && break; [ "$attempt" -lt 5 ] || exit 1; sleep $((attempt * 2)); done
67
+ RUN RUST_SYSROOT="$(rustc --print sysroot)"; RUST_HOST="$(rustc -vV | sed -n 's/^host: //p')"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-profdata"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-cov"
68
+ RUN rustc --version && cargo --version && rustup show active-toolchain
69
+ WORKDIR /workspace
70
+ ADD workspace.tar.gz /workspace/
71
+ COPY executable /workspace/executable
72
+ COPY download.sh /tmp/programgym-download.sh
73
+ RUN chmod 755 /tmp/programgym-download.sh
74
+ COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
75
+ RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
76
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
77
+ && rm -f /tmp/programgym-download.sh \
78
+ && rm -f /tmp/harbor_prepare_download_env.sh
79
+ ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
80
+ RUN chmod 111 /workspace/executable
81
+ WORKDIR /workspace
82
+ # Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
83
+ # Keep tool/runtime state under /home/agent and reserve /workspace for the
84
+ # submission handed to the separate verifier. Keep the reference executable
85
+ # execute-only; the oracle temporarily restores owner read permission.
86
+ RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
87
+ RUN mkdir -p /home/agent \
88
+ && chown -R agent:agent /home/agent /workspace \
89
+ && chown agent:agent /workspace/executable \
90
+ && chmod 111 /workspace/executable
91
+ ENV HOME=/home/agent
92
+ WORKDIR /workspace
93
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
koba789--human-in-the-loop.6f95553/environment/docker-compose.yaml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ services:
2
+ main:
3
+ build:
4
+ args:
5
+ PROGRAMGYM_APT_REPOSITORY_BASE_URL: ${PROGRAMGYM_APT_REPOSITORY_BASE_URL:-}
6
+ PROGRAMGYM_GOPROXY: ${PROGRAMGYM_GOPROXY:-https://proxy.golang.org,direct}
7
+ PROGRAMGYM_GOSUMDB: ${PROGRAMGYM_GOSUMDB:-sum.golang.org}
8
+ PROGRAMGYM_NPM_REGISTRY: ${PROGRAMGYM_NPM_REGISTRY:-https://registry.npmjs.org/}
9
+ PROGRAMGYM_NPM_STRICT_SSL: ${PROGRAMGYM_NPM_STRICT_SSL:-true}
10
+ PROGRAMGYM_PYPI_INDEX_URL: ${PROGRAMGYM_PYPI_INDEX_URL:-https://pypi.org/simple}
11
+ PROGRAMGYM_PYPI_TRUSTED_HOST: ${PROGRAMGYM_PYPI_TRUSTED_HOST:-}
12
+ PROGRAMGYM_UV_INSECURE_HOST: ${PROGRAMGYM_UV_INSECURE_HOST:-}
13
+ PROGRAMGYM_RUSTUP_DIST_SERVER: ${PROGRAMGYM_RUSTUP_DIST_SERVER:-https://static.rust-lang.org}
14
+ PROGRAMGYM_RUSTUP_UPDATE_ROOT: ${PROGRAMGYM_RUSTUP_UPDATE_ROOT:-https://static.rust-lang.org/rustup}
15
+ PROGRAMGYM_CARGO_INDEX: ${PROGRAMGYM_CARGO_INDEX:-sparse+https://index.crates.io/}
16
+ PROGRAMGYM_CARGO_NET_RETRY: ${PROGRAMGYM_CARGO_NET_RETRY:-10}
17
+ PROGRAMGYM_CARGO_HTTP_TIMEOUT: ${PROGRAMGYM_CARGO_HTTP_TIMEOUT:-600}
18
+ PROGRAMGYM_CARGO_HTTP_MULTIPLEXING: ${PROGRAMGYM_CARGO_HTTP_MULTIPLEXING:-false}
19
+ PROGRAMGYM_MAVEN_MIRROR_URL: ${PROGRAMGYM_MAVEN_MIRROR_URL:-}
20
+ PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL: ${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL:-}
21
+ PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL: ${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL:-https://services.gradle.org/distributions}
22
+ PROGRAMGYM_JITPACK_REPOSITORY_URL: ${PROGRAMGYM_JITPACK_REPOSITORY_URL:-https://jitpack.io}
koba789--human-in-the-loop.6f95553/environment/download.sh ADDED
@@ -0,0 +1,2759 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ # download.sh - ProgramGym download stage for KOBA789/human-in-the-loop
3
+ #
4
+ # This stage runs in a networked container via `source /source_ro/download.sh`.
5
+ # It ONLY prefetches Rust dependencies into the shared Cargo cache (~/.cargo);
6
+ # it never compiles, links, tests, or builds the project. It is fully
7
+ # standalone: it never reads any repository file. Instead, this script embeds
8
+ # the exact dependency manifest (Cargo.toml) and the exact locked dependency
9
+ # graph (Cargo.lock) inline, generates them into a temporary directory, and runs
10
+ # run `cargo fetch --manifest-path ... --locked` to materialize every crate the
11
+ # offline build requires -- including the two git dependencies on
12
+ # modelcontextprotocol/rust-sdk at rev b9d7d61ebd6e8385cbc4aa105d4e25774fc1a59c.
13
+
14
+ # Source-safe: record whether we are sourced so a failure unwinds correctly.
15
+ if [ "${BASH_SOURCE[0]}" = "$0" ]; then
16
+ _sourced=0
17
+ else
18
+ _sourced=1
19
+ fi
20
+ _fail_download() {
21
+ echo "download.sh error: $1" >&2
22
+ if [ "$_sourced" -eq 0 ]; then
23
+ exit 1
24
+ fi
25
+ return 1
26
+ }
27
+
28
+ # Work in a temp dir so we never touch the mounted repository source tree.
29
+ _tmp_dir="$(mktemp -d /tmp/hitl-download.XXXXXX)" || _fail_download "mktemp failed"
30
+ trap 'rm -rf "$_tmp_dir"' EXIT INT TERM
31
+
32
+ # ---------------------------------------------------------------------------
33
+ # 1. Generate the package manifest (Cargo.toml). This reproduces the repository
34
+ # package name and dependency declarations EXACTLY, so that under --locked it
35
+ # matches the embedded Cargo.lock. The [lib] section points at a stub so the
36
+ # generated crate is a valid, resolvable package (local prefetch does not compile).
37
+ # ---------------------------------------------------------------------------
38
+ _cargo_manifest="$_tmp_dir/Cargo.toml"
39
+ cat > "$_cargo_manifest" <<'MANIFEST_EOF'
40
+ [package]
41
+ name = "human-in-the-loop"
42
+ version = "0.1.0"
43
+ edition = "2021"
44
+
45
+ [dependencies]
46
+ anyhow = "1"
47
+ clap = { version = "4.5.40", features = ["derive", "env"] }
48
+ tokio = { version = "1.45.1", features = ["macros", "rt-multi-thread", "io-std"] }
49
+ serenity = { version = "0.12.4", features = ["collector"] }
50
+ serde = { version = "1.0", features = ["derive"] }
51
+ serde_json = "1.0"
52
+ rmcp = { git = "https://github.com/modelcontextprotocol/rust-sdk", rev = "b9d7d61ebd6e8385cbc4aa105d4e25774fc1a59c" }
53
+ rmcp-macros = { git = "https://github.com/modelcontextprotocol/rust-sdk", rev = "b9d7d61ebd6e8385cbc4aa105d4e25774fc1a59c" }
54
+ schemars = "0.8"
55
+ async-trait = "0.1.88"
56
+
57
+ [lib]
58
+ MANIFEST_EOF
59
+
60
+ mkdir -p "$_tmp_dir/src"
61
+ printf 'pub fn _stub() {}
62
+ ' > "$_tmp_dir/src/lib.rs"
63
+
64
+ # ---------------------------------------------------------------------------
65
+ # 2. Generate the exact Cargo.lock that the repository builds with, so the
66
+ # prefetch downloads precisely the locked versions (not newer compatible
67
+ # ones). Embedded inline; the repository Cargo.lock is never read.
68
+ # ---------------------------------------------------------------------------
69
+ _cargo_lock="$_tmp_dir/Cargo.lock"
70
+ cat > "$_cargo_lock" <<'LOCK_EOF'
71
+ # This file is automatically @generated by Cargo.
72
+ # It is not intended for manual editing.
73
+ version = 4
74
+
75
+ [[package]]
76
+ name = "addr2line"
77
+ version = "0.24.2"
78
+ source = "registry+https://github.com/rust-lang/crates.io-index"
79
+ checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1"
80
+ dependencies = [
81
+ "gimli",
82
+ ]
83
+
84
+ [[package]]
85
+ name = "adler2"
86
+ version = "2.0.1"
87
+ source = "registry+https://github.com/rust-lang/crates.io-index"
88
+ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
89
+
90
+ [[package]]
91
+ name = "android-tzdata"
92
+ version = "0.1.1"
93
+ source = "registry+https://github.com/rust-lang/crates.io-index"
94
+ checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"
95
+
96
+ [[package]]
97
+ name = "android_system_properties"
98
+ version = "0.1.5"
99
+ source = "registry+https://github.com/rust-lang/crates.io-index"
100
+ checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
101
+ dependencies = [
102
+ "libc",
103
+ ]
104
+
105
+ [[package]]
106
+ name = "anstream"
107
+ version = "0.6.19"
108
+ source = "registry+https://github.com/rust-lang/crates.io-index"
109
+ checksum = "301af1932e46185686725e0fad2f8f2aa7da69dd70bf6ecc44d6b703844a3933"
110
+ dependencies = [
111
+ "anstyle",
112
+ "anstyle-parse",
113
+ "anstyle-query",
114
+ "anstyle-wincon",
115
+ "colorchoice",
116
+ "is_terminal_polyfill",
117
+ "utf8parse",
118
+ ]
119
+
120
+ [[package]]
121
+ name = "anstyle"
122
+ version = "1.0.11"
123
+ source = "registry+https://github.com/rust-lang/crates.io-index"
124
+ checksum = "862ed96ca487e809f1c8e5a8447f6ee2cf102f846893800b20cebdf541fc6bbd"
125
+
126
+ [[package]]
127
+ name = "anstyle-parse"
128
+ version = "0.2.7"
129
+ source = "registry+https://github.com/rust-lang/crates.io-index"
130
+ checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2"
131
+ dependencies = [
132
+ "utf8parse",
133
+ ]
134
+
135
+ [[package]]
136
+ name = "anstyle-query"
137
+ version = "1.1.3"
138
+ source = "registry+https://github.com/rust-lang/crates.io-index"
139
+ checksum = "6c8bdeb6047d8983be085bab0ba1472e6dc604e7041dbf6fcd5e71523014fae9"
140
+ dependencies = [
141
+ "windows-sys 0.59.0",
142
+ ]
143
+
144
+ [[package]]
145
+ name = "anstyle-wincon"
146
+ version = "3.0.9"
147
+ source = "registry+https://github.com/rust-lang/crates.io-index"
148
+ checksum = "403f75924867bb1033c59fbf0797484329750cfbe3c4325cd33127941fabc882"
149
+ dependencies = [
150
+ "anstyle",
151
+ "once_cell_polyfill",
152
+ "windows-sys 0.59.0",
153
+ ]
154
+
155
+ [[package]]
156
+ name = "anyhow"
157
+ version = "1.0.98"
158
+ source = "registry+https://github.com/rust-lang/crates.io-index"
159
+ checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487"
160
+
161
+ [[package]]
162
+ name = "arrayvec"
163
+ version = "0.7.6"
164
+ source = "registry+https://github.com/rust-lang/crates.io-index"
165
+ checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
166
+ dependencies = [
167
+ "serde",
168
+ ]
169
+
170
+ [[package]]
171
+ name = "async-trait"
172
+ version = "0.1.88"
173
+ source = "registry+https://github.com/rust-lang/crates.io-index"
174
+ checksum = "e539d3fca749fcee5236ab05e93a52867dd549cc157c8cb7f99595f3cedffdb5"
175
+ dependencies = [
176
+ "proc-macro2",
177
+ "quote",
178
+ "syn 2.0.104",
179
+ ]
180
+
181
+ [[package]]
182
+ name = "autocfg"
183
+ version = "1.5.0"
184
+ source = "registry+https://github.com/rust-lang/crates.io-index"
185
+ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
186
+
187
+ [[package]]
188
+ name = "backtrace"
189
+ version = "0.3.75"
190
+ source = "registry+https://github.com/rust-lang/crates.io-index"
191
+ checksum = "6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002"
192
+ dependencies = [
193
+ "addr2line",
194
+ "cfg-if",
195
+ "libc",
196
+ "miniz_oxide",
197
+ "object",
198
+ "rustc-demangle",
199
+ "windows-targets 0.52.6",
200
+ ]
201
+
202
+ [[package]]
203
+ name = "base64"
204
+ version = "0.21.7"
205
+ source = "registry+https://github.com/rust-lang/crates.io-index"
206
+ checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
207
+
208
+ [[package]]
209
+ name = "base64"
210
+ version = "0.22.1"
211
+ source = "registry+https://github.com/rust-lang/crates.io-index"
212
+ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
213
+
214
+ [[package]]
215
+ name = "bitflags"
216
+ version = "1.3.2"
217
+ source = "registry+https://github.com/rust-lang/crates.io-index"
218
+ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
219
+
220
+ [[package]]
221
+ name = "bitflags"
222
+ version = "2.9.1"
223
+ source = "registry+https://github.com/rust-lang/crates.io-index"
224
+ checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"
225
+
226
+ [[package]]
227
+ name = "block-buffer"
228
+ version = "0.10.4"
229
+ source = "registry+https://github.com/rust-lang/crates.io-index"
230
+ checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
231
+ dependencies = [
232
+ "generic-array",
233
+ ]
234
+
235
+ [[package]]
236
+ name = "bumpalo"
237
+ version = "3.18.1"
238
+ source = "registry+https://github.com/rust-lang/crates.io-index"
239
+ checksum = "793db76d6187cd04dff33004d8e6c9cc4e05cd330500379d2394209271b4aeee"
240
+
241
+ [[package]]
242
+ name = "bytecount"
243
+ version = "0.6.9"
244
+ source = "registry+https://github.com/rust-lang/crates.io-index"
245
+ checksum = "175812e0be2bccb6abe50bb8d566126198344f707e304f45c648fd8f2cc0365e"
246
+
247
+ [[package]]
248
+ name = "byteorder"
249
+ version = "1.5.0"
250
+ source = "registry+https://github.com/rust-lang/crates.io-index"
251
+ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
252
+
253
+ [[package]]
254
+ name = "bytes"
255
+ version = "1.10.1"
256
+ source = "registry+https://github.com/rust-lang/crates.io-index"
257
+ checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a"
258
+
259
+ [[package]]
260
+ name = "camino"
261
+ version = "1.1.10"
262
+ source = "registry+https://github.com/rust-lang/crates.io-index"
263
+ checksum = "0da45bc31171d8d6960122e222a67740df867c1dd53b4d51caa297084c185cab"
264
+ dependencies = [
265
+ "serde",
266
+ ]
267
+
268
+ [[package]]
269
+ name = "cargo-platform"
270
+ version = "0.1.9"
271
+ source = "registry+https://github.com/rust-lang/crates.io-index"
272
+ checksum = "e35af189006b9c0f00a064685c727031e3ed2d8020f7ba284d78cc2671bd36ea"
273
+ dependencies = [
274
+ "serde",
275
+ ]
276
+
277
+ [[package]]
278
+ name = "cargo_metadata"
279
+ version = "0.14.2"
280
+ source = "registry+https://github.com/rust-lang/crates.io-index"
281
+ checksum = "4acbb09d9ee8e23699b9634375c72795d095bf268439da88562cf9b501f181fa"
282
+ dependencies = [
283
+ "camino",
284
+ "cargo-platform",
285
+ "semver",
286
+ "serde",
287
+ "serde_json",
288
+ ]
289
+
290
+ [[package]]
291
+ name = "cc"
292
+ version = "1.2.27"
293
+ source = "registry+https://github.com/rust-lang/crates.io-index"
294
+ checksum = "d487aa071b5f64da6f19a3e848e3578944b726ee5a4854b82172f02aa876bfdc"
295
+ dependencies = [
296
+ "shlex",
297
+ ]
298
+
299
+ [[package]]
300
+ name = "cfg-if"
301
+ version = "1.0.1"
302
+ source = "registry+https://github.com/rust-lang/crates.io-index"
303
+ checksum = "9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268"
304
+
305
+ [[package]]
306
+ name = "chrono"
307
+ version = "0.4.41"
308
+ source = "registry+https://github.com/rust-lang/crates.io-index"
309
+ checksum = "c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d"
310
+ dependencies = [
311
+ "android-tzdata",
312
+ "iana-time-zone",
313
+ "js-sys",
314
+ "num-traits",
315
+ "serde",
316
+ "wasm-bindgen",
317
+ "windows-link",
318
+ ]
319
+
320
+ [[package]]
321
+ name = "clap"
322
+ version = "4.5.40"
323
+ source = "registry+https://github.com/rust-lang/crates.io-index"
324
+ checksum = "40b6887a1d8685cebccf115538db5c0efe625ccac9696ad45c409d96566e910f"
325
+ dependencies = [
326
+ "clap_builder",
327
+ "clap_derive",
328
+ ]
329
+
330
+ [[package]]
331
+ name = "clap_builder"
332
+ version = "4.5.40"
333
+ source = "registry+https://github.com/rust-lang/crates.io-index"
334
+ checksum = "e0c66c08ce9f0c698cbce5c0279d0bb6ac936d8674174fe48f736533b964f59e"
335
+ dependencies = [
336
+ "anstream",
337
+ "anstyle",
338
+ "clap_lex",
339
+ "strsim",
340
+ ]
341
+
342
+ [[package]]
343
+ name = "clap_derive"
344
+ version = "4.5.40"
345
+ source = "registry+https://github.com/rust-lang/crates.io-index"
346
+ checksum = "d2c7947ae4cc3d851207c1adb5b5e260ff0cca11446b1d6d1423788e442257ce"
347
+ dependencies = [
348
+ "heck",
349
+ "proc-macro2",
350
+ "quote",
351
+ "syn 2.0.104",
352
+ ]
353
+
354
+ [[package]]
355
+ name = "clap_lex"
356
+ version = "0.7.5"
357
+ source = "registry+https://github.com/rust-lang/crates.io-index"
358
+ checksum = "b94f61472cee1439c0b966b47e3aca9ae07e45d070759512cd390ea2bebc6675"
359
+
360
+ [[package]]
361
+ name = "colorchoice"
362
+ version = "1.0.4"
363
+ source = "registry+https://github.com/rust-lang/crates.io-index"
364
+ checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75"
365
+
366
+ [[package]]
367
+ name = "command_attr"
368
+ version = "0.5.3"
369
+ source = "registry+https://github.com/rust-lang/crates.io-index"
370
+ checksum = "6fcc89439e1bb4e19050a9586a767781a3060000d2f3296fd2a40597ad9421c5"
371
+ dependencies = [
372
+ "proc-macro2",
373
+ "quote",
374
+ "syn 1.0.109",
375
+ ]
376
+
377
+ [[package]]
378
+ name = "core-foundation"
379
+ version = "0.9.4"
380
+ source = "registry+https://github.com/rust-lang/crates.io-index"
381
+ checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"
382
+ dependencies = [
383
+ "core-foundation-sys",
384
+ "libc",
385
+ ]
386
+
387
+ [[package]]
388
+ name = "core-foundation-sys"
389
+ version = "0.8.7"
390
+ source = "registry+https://github.com/rust-lang/crates.io-index"
391
+ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
392
+
393
+ [[package]]
394
+ name = "cpufeatures"
395
+ version = "0.2.17"
396
+ source = "registry+https://github.com/rust-lang/crates.io-index"
397
+ checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
398
+ dependencies = [
399
+ "libc",
400
+ ]
401
+
402
+ [[package]]
403
+ name = "crc32fast"
404
+ version = "1.4.2"
405
+ source = "registry+https://github.com/rust-lang/crates.io-index"
406
+ checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
407
+ dependencies = [
408
+ "cfg-if",
409
+ ]
410
+
411
+ [[package]]
412
+ name = "crossbeam-channel"
413
+ version = "0.5.15"
414
+ source = "registry+https://github.com/rust-lang/crates.io-index"
415
+ checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2"
416
+ dependencies = [
417
+ "crossbeam-utils",
418
+ ]
419
+
420
+ [[package]]
421
+ name = "crossbeam-utils"
422
+ version = "0.8.21"
423
+ source = "registry+https://github.com/rust-lang/crates.io-index"
424
+ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
425
+
426
+ [[package]]
427
+ name = "crypto-common"
428
+ version = "0.1.6"
429
+ source = "registry+https://github.com/rust-lang/crates.io-index"
430
+ checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
431
+ dependencies = [
432
+ "generic-array",
433
+ "typenum",
434
+ ]
435
+
436
+ [[package]]
437
+ name = "darling"
438
+ version = "0.20.11"
439
+ source = "registry+https://github.com/rust-lang/crates.io-index"
440
+ checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee"
441
+ dependencies = [
442
+ "darling_core",
443
+ "darling_macro",
444
+ ]
445
+
446
+ [[package]]
447
+ name = "darling_core"
448
+ version = "0.20.11"
449
+ source = "registry+https://github.com/rust-lang/crates.io-index"
450
+ checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e"
451
+ dependencies = [
452
+ "fnv",
453
+ "ident_case",
454
+ "proc-macro2",
455
+ "quote",
456
+ "strsim",
457
+ "syn 2.0.104",
458
+ ]
459
+
460
+ [[package]]
461
+ name = "darling_macro"
462
+ version = "0.20.11"
463
+ source = "registry+https://github.com/rust-lang/crates.io-index"
464
+ checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead"
465
+ dependencies = [
466
+ "darling_core",
467
+ "quote",
468
+ "syn 2.0.104",
469
+ ]
470
+
471
+ [[package]]
472
+ name = "dashmap"
473
+ version = "5.5.3"
474
+ source = "registry+https://github.com/rust-lang/crates.io-index"
475
+ checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856"
476
+ dependencies = [
477
+ "cfg-if",
478
+ "hashbrown 0.14.5",
479
+ "lock_api",
480
+ "once_cell",
481
+ "parking_lot_core",
482
+ "serde",
483
+ ]
484
+
485
+ [[package]]
486
+ name = "data-encoding"
487
+ version = "2.9.0"
488
+ source = "registry+https://github.com/rust-lang/crates.io-index"
489
+ checksum = "2a2330da5de22e8a3cb63252ce2abb30116bf5265e89c0e01bc17015ce30a476"
490
+
491
+ [[package]]
492
+ name = "deranged"
493
+ version = "0.4.0"
494
+ source = "registry+https://github.com/rust-lang/crates.io-index"
495
+ checksum = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e"
496
+ dependencies = [
497
+ "powerfmt",
498
+ "serde",
499
+ ]
500
+
501
+ [[package]]
502
+ name = "digest"
503
+ version = "0.10.7"
504
+ source = "registry+https://github.com/rust-lang/crates.io-index"
505
+ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
506
+ dependencies = [
507
+ "block-buffer",
508
+ "crypto-common",
509
+ ]
510
+
511
+ [[package]]
512
+ name = "displaydoc"
513
+ version = "0.2.5"
514
+ source = "registry+https://github.com/rust-lang/crates.io-index"
515
+ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
516
+ dependencies = [
517
+ "proc-macro2",
518
+ "quote",
519
+ "syn 2.0.104",
520
+ ]
521
+
522
+ [[package]]
523
+ name = "dyn-clone"
524
+ version = "1.0.19"
525
+ source = "registry+https://github.com/rust-lang/crates.io-index"
526
+ checksum = "1c7a8fb8a9fbf66c1f703fe16184d10ca0ee9d23be5b4436400408ba54a95005"
527
+
528
+ [[package]]
529
+ name = "encoding_rs"
530
+ version = "0.8.35"
531
+ source = "registry+https://github.com/rust-lang/crates.io-index"
532
+ checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3"
533
+ dependencies = [
534
+ "cfg-if",
535
+ ]
536
+
537
+ [[package]]
538
+ name = "equivalent"
539
+ version = "1.0.2"
540
+ source = "registry+https://github.com/rust-lang/crates.io-index"
541
+ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
542
+
543
+ [[package]]
544
+ name = "errno"
545
+ version = "0.3.13"
546
+ source = "registry+https://github.com/rust-lang/crates.io-index"
547
+ checksum = "778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad"
548
+ dependencies = [
549
+ "libc",
550
+ "windows-sys 0.60.2",
551
+ ]
552
+
553
+ [[package]]
554
+ name = "error-chain"
555
+ version = "0.12.4"
556
+ source = "registry+https://github.com/rust-lang/crates.io-index"
557
+ checksum = "2d2f06b9cac1506ece98fe3231e3cc9c4410ec3d5b1f24ae1c8946f0742cdefc"
558
+ dependencies = [
559
+ "version_check",
560
+ ]
561
+
562
+ [[package]]
563
+ name = "fastrand"
564
+ version = "2.3.0"
565
+ source = "registry+https://github.com/rust-lang/crates.io-index"
566
+ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
567
+
568
+ [[package]]
569
+ name = "flate2"
570
+ version = "1.1.2"
571
+ source = "registry+https://github.com/rust-lang/crates.io-index"
572
+ checksum = "4a3d7db9596fecd151c5f638c0ee5d5bd487b6e0ea232e5dc96d5250f6f94b1d"
573
+ dependencies = [
574
+ "crc32fast",
575
+ "miniz_oxide",
576
+ ]
577
+
578
+ [[package]]
579
+ name = "fnv"
580
+ version = "1.0.7"
581
+ source = "registry+https://github.com/rust-lang/crates.io-index"
582
+ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
583
+
584
+ [[package]]
585
+ name = "form_urlencoded"
586
+ version = "1.2.1"
587
+ source = "registry+https://github.com/rust-lang/crates.io-index"
588
+ checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
589
+ dependencies = [
590
+ "percent-encoding",
591
+ ]
592
+
593
+ [[package]]
594
+ name = "futures"
595
+ version = "0.3.31"
596
+ source = "registry+https://github.com/rust-lang/crates.io-index"
597
+ checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876"
598
+ dependencies = [
599
+ "futures-channel",
600
+ "futures-core",
601
+ "futures-executor",
602
+ "futures-io",
603
+ "futures-sink",
604
+ "futures-task",
605
+ "futures-util",
606
+ ]
607
+
608
+ [[package]]
609
+ name = "futures-channel"
610
+ version = "0.3.31"
611
+ source = "registry+https://github.com/rust-lang/crates.io-index"
612
+ checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10"
613
+ dependencies = [
614
+ "futures-core",
615
+ "futures-sink",
616
+ ]
617
+
618
+ [[package]]
619
+ name = "futures-core"
620
+ version = "0.3.31"
621
+ source = "registry+https://github.com/rust-lang/crates.io-index"
622
+ checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
623
+
624
+ [[package]]
625
+ name = "futures-executor"
626
+ version = "0.3.31"
627
+ source = "registry+https://github.com/rust-lang/crates.io-index"
628
+ checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f"
629
+ dependencies = [
630
+ "futures-core",
631
+ "futures-task",
632
+ "futures-util",
633
+ ]
634
+
635
+ [[package]]
636
+ name = "futures-io"
637
+ version = "0.3.31"
638
+ source = "registry+https://github.com/rust-lang/crates.io-index"
639
+ checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6"
640
+
641
+ [[package]]
642
+ name = "futures-macro"
643
+ version = "0.3.31"
644
+ source = "registry+https://github.com/rust-lang/crates.io-index"
645
+ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650"
646
+ dependencies = [
647
+ "proc-macro2",
648
+ "quote",
649
+ "syn 2.0.104",
650
+ ]
651
+
652
+ [[package]]
653
+ name = "futures-sink"
654
+ version = "0.3.31"
655
+ source = "registry+https://github.com/rust-lang/crates.io-index"
656
+ checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7"
657
+
658
+ [[package]]
659
+ name = "futures-task"
660
+ version = "0.3.31"
661
+ source = "registry+https://github.com/rust-lang/crates.io-index"
662
+ checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988"
663
+
664
+ [[package]]
665
+ name = "futures-util"
666
+ version = "0.3.31"
667
+ source = "registry+https://github.com/rust-lang/crates.io-index"
668
+ checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
669
+ dependencies = [
670
+ "futures-channel",
671
+ "futures-core",
672
+ "futures-io",
673
+ "futures-macro",
674
+ "futures-sink",
675
+ "futures-task",
676
+ "memchr",
677
+ "pin-project-lite",
678
+ "pin-utils",
679
+ "slab",
680
+ ]
681
+
682
+ [[package]]
683
+ name = "fxhash"
684
+ version = "0.2.1"
685
+ source = "registry+https://github.com/rust-lang/crates.io-index"
686
+ checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c"
687
+ dependencies = [
688
+ "byteorder",
689
+ ]
690
+
691
+ [[package]]
692
+ name = "generic-array"
693
+ version = "0.14.7"
694
+ source = "registry+https://github.com/rust-lang/crates.io-index"
695
+ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
696
+ dependencies = [
697
+ "typenum",
698
+ "version_check",
699
+ ]
700
+
701
+ [[package]]
702
+ name = "getrandom"
703
+ version = "0.2.16"
704
+ source = "registry+https://github.com/rust-lang/crates.io-index"
705
+ checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592"
706
+ dependencies = [
707
+ "cfg-if",
708
+ "libc",
709
+ "wasi 0.11.1+wasi-snapshot-preview1",
710
+ ]
711
+
712
+ [[package]]
713
+ name = "getrandom"
714
+ version = "0.3.3"
715
+ source = "registry+https://github.com/rust-lang/crates.io-index"
716
+ checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4"
717
+ dependencies = [
718
+ "cfg-if",
719
+ "libc",
720
+ "r-efi",
721
+ "wasi 0.14.2+wasi-0.2.4",
722
+ ]
723
+
724
+ [[package]]
725
+ name = "gimli"
726
+ version = "0.31.1"
727
+ source = "registry+https://github.com/rust-lang/crates.io-index"
728
+ checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f"
729
+
730
+ [[package]]
731
+ name = "glob"
732
+ version = "0.3.2"
733
+ source = "registry+https://github.com/rust-lang/crates.io-index"
734
+ checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2"
735
+
736
+ [[package]]
737
+ name = "h2"
738
+ version = "0.3.26"
739
+ source = "registry+https://github.com/rust-lang/crates.io-index"
740
+ checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8"
741
+ dependencies = [
742
+ "bytes",
743
+ "fnv",
744
+ "futures-core",
745
+ "futures-sink",
746
+ "futures-util",
747
+ "http 0.2.12",
748
+ "indexmap",
749
+ "slab",
750
+ "tokio",
751
+ "tokio-util",
752
+ "tracing",
753
+ ]
754
+
755
+ [[package]]
756
+ name = "hashbrown"
757
+ version = "0.14.5"
758
+ source = "registry+https://github.com/rust-lang/crates.io-index"
759
+ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
760
+
761
+ [[package]]
762
+ name = "hashbrown"
763
+ version = "0.15.4"
764
+ source = "registry+https://github.com/rust-lang/crates.io-index"
765
+ checksum = "5971ac85611da7067dbfcabef3c70ebb5606018acd9e2a3903a0da507521e0d5"
766
+
767
+ [[package]]
768
+ name = "heck"
769
+ version = "0.5.0"
770
+ source = "registry+https://github.com/rust-lang/crates.io-index"
771
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
772
+
773
+ [[package]]
774
+ name = "http"
775
+ version = "0.2.12"
776
+ source = "registry+https://github.com/rust-lang/crates.io-index"
777
+ checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1"
778
+ dependencies = [
779
+ "bytes",
780
+ "fnv",
781
+ "itoa",
782
+ ]
783
+
784
+ [[package]]
785
+ name = "http"
786
+ version = "1.3.1"
787
+ source = "registry+https://github.com/rust-lang/crates.io-index"
788
+ checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565"
789
+ dependencies = [
790
+ "bytes",
791
+ "fnv",
792
+ "itoa",
793
+ ]
794
+
795
+ [[package]]
796
+ name = "http-body"
797
+ version = "0.4.6"
798
+ source = "registry+https://github.com/rust-lang/crates.io-index"
799
+ checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2"
800
+ dependencies = [
801
+ "bytes",
802
+ "http 0.2.12",
803
+ "pin-project-lite",
804
+ ]
805
+
806
+ [[package]]
807
+ name = "httparse"
808
+ version = "1.10.1"
809
+ source = "registry+https://github.com/rust-lang/crates.io-index"
810
+ checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
811
+
812
+ [[package]]
813
+ name = "httpdate"
814
+ version = "1.0.3"
815
+ source = "registry+https://github.com/rust-lang/crates.io-index"
816
+ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
817
+
818
+ [[package]]
819
+ name = "human-in-the-loop"
820
+ version = "0.1.0"
821
+ dependencies = [
822
+ "anyhow",
823
+ "async-trait",
824
+ "clap",
825
+ "rmcp",
826
+ "rmcp-macros",
827
+ "schemars",
828
+ "serde",
829
+ "serde_json",
830
+ "serenity",
831
+ "tokio",
832
+ ]
833
+
834
+ [[package]]
835
+ name = "hyper"
836
+ version = "0.14.32"
837
+ source = "registry+https://github.com/rust-lang/crates.io-index"
838
+ checksum = "41dfc780fdec9373c01bae43289ea34c972e40ee3c9f6b3c8801a35f35586ce7"
839
+ dependencies = [
840
+ "bytes",
841
+ "futures-channel",
842
+ "futures-core",
843
+ "futures-util",
844
+ "h2",
845
+ "http 0.2.12",
846
+ "http-body",
847
+ "httparse",
848
+ "httpdate",
849
+ "itoa",
850
+ "pin-project-lite",
851
+ "socket2",
852
+ "tokio",
853
+ "tower-service",
854
+ "tracing",
855
+ "want",
856
+ ]
857
+
858
+ [[package]]
859
+ name = "hyper-rustls"
860
+ version = "0.24.2"
861
+ source = "registry+https://github.com/rust-lang/crates.io-index"
862
+ checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590"
863
+ dependencies = [
864
+ "futures-util",
865
+ "http 0.2.12",
866
+ "hyper",
867
+ "rustls 0.21.12",
868
+ "tokio",
869
+ "tokio-rustls 0.24.1",
870
+ ]
871
+
872
+ [[package]]
873
+ name = "iana-time-zone"
874
+ version = "0.1.63"
875
+ source = "registry+https://github.com/rust-lang/crates.io-index"
876
+ checksum = "b0c919e5debc312ad217002b8048a17b7d83f80703865bbfcfebb0458b0b27d8"
877
+ dependencies = [
878
+ "android_system_properties",
879
+ "core-foundation-sys",
880
+ "iana-time-zone-haiku",
881
+ "js-sys",
882
+ "log",
883
+ "wasm-bindgen",
884
+ "windows-core",
885
+ ]
886
+
887
+ [[package]]
888
+ name = "iana-time-zone-haiku"
889
+ version = "0.1.2"
890
+ source = "registry+https://github.com/rust-lang/crates.io-index"
891
+ checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
892
+ dependencies = [
893
+ "cc",
894
+ ]
895
+
896
+ [[package]]
897
+ name = "icu_collections"
898
+ version = "2.0.0"
899
+ source = "registry+https://github.com/rust-lang/crates.io-index"
900
+ checksum = "200072f5d0e3614556f94a9930d5dc3e0662a652823904c3a75dc3b0af7fee47"
901
+ dependencies = [
902
+ "displaydoc",
903
+ "potential_utf",
904
+ "yoke",
905
+ "zerofrom",
906
+ "zerovec",
907
+ ]
908
+
909
+ [[package]]
910
+ name = "icu_locale_core"
911
+ version = "2.0.0"
912
+ source = "registry+https://github.com/rust-lang/crates.io-index"
913
+ checksum = "0cde2700ccaed3872079a65fb1a78f6c0a36c91570f28755dda67bc8f7d9f00a"
914
+ dependencies = [
915
+ "displaydoc",
916
+ "litemap",
917
+ "tinystr",
918
+ "writeable",
919
+ "zerovec",
920
+ ]
921
+
922
+ [[package]]
923
+ name = "icu_normalizer"
924
+ version = "2.0.0"
925
+ source = "registry+https://github.com/rust-lang/crates.io-index"
926
+ checksum = "436880e8e18df4d7bbc06d58432329d6458cc84531f7ac5f024e93deadb37979"
927
+ dependencies = [
928
+ "displaydoc",
929
+ "icu_collections",
930
+ "icu_normalizer_data",
931
+ "icu_properties",
932
+ "icu_provider",
933
+ "smallvec",
934
+ "zerovec",
935
+ ]
936
+
937
+ [[package]]
938
+ name = "icu_normalizer_data"
939
+ version = "2.0.0"
940
+ source = "registry+https://github.com/rust-lang/crates.io-index"
941
+ checksum = "00210d6893afc98edb752b664b8890f0ef174c8adbb8d0be9710fa66fbbf72d3"
942
+
943
+ [[package]]
944
+ name = "icu_properties"
945
+ version = "2.0.1"
946
+ source = "registry+https://github.com/rust-lang/crates.io-index"
947
+ checksum = "016c619c1eeb94efb86809b015c58f479963de65bdb6253345c1a1276f22e32b"
948
+ dependencies = [
949
+ "displaydoc",
950
+ "icu_collections",
951
+ "icu_locale_core",
952
+ "icu_properties_data",
953
+ "icu_provider",
954
+ "potential_utf",
955
+ "zerotrie",
956
+ "zerovec",
957
+ ]
958
+
959
+ [[package]]
960
+ name = "icu_properties_data"
961
+ version = "2.0.1"
962
+ source = "registry+https://github.com/rust-lang/crates.io-index"
963
+ checksum = "298459143998310acd25ffe6810ed544932242d3f07083eee1084d83a71bd632"
964
+
965
+ [[package]]
966
+ name = "icu_provider"
967
+ version = "2.0.0"
968
+ source = "registry+https://github.com/rust-lang/crates.io-index"
969
+ checksum = "03c80da27b5f4187909049ee2d72f276f0d9f99a42c306bd0131ecfe04d8e5af"
970
+ dependencies = [
971
+ "displaydoc",
972
+ "icu_locale_core",
973
+ "stable_deref_trait",
974
+ "tinystr",
975
+ "writeable",
976
+ "yoke",
977
+ "zerofrom",
978
+ "zerotrie",
979
+ "zerovec",
980
+ ]
981
+
982
+ [[package]]
983
+ name = "ident_case"
984
+ version = "1.0.1"
985
+ source = "registry+https://github.com/rust-lang/crates.io-index"
986
+ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
987
+
988
+ [[package]]
989
+ name = "idna"
990
+ version = "1.0.3"
991
+ source = "registry+https://github.com/rust-lang/crates.io-index"
992
+ checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e"
993
+ dependencies = [
994
+ "idna_adapter",
995
+ "smallvec",
996
+ "utf8_iter",
997
+ ]
998
+
999
+ [[package]]
1000
+ name = "idna_adapter"
1001
+ version = "1.2.1"
1002
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1003
+ checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344"
1004
+ dependencies = [
1005
+ "icu_normalizer",
1006
+ "icu_properties",
1007
+ ]
1008
+
1009
+ [[package]]
1010
+ name = "indexmap"
1011
+ version = "2.9.0"
1012
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1013
+ checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e"
1014
+ dependencies = [
1015
+ "equivalent",
1016
+ "hashbrown 0.15.4",
1017
+ ]
1018
+
1019
+ [[package]]
1020
+ name = "ipnet"
1021
+ version = "2.11.0"
1022
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1023
+ checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130"
1024
+
1025
+ [[package]]
1026
+ name = "is_terminal_polyfill"
1027
+ version = "1.70.1"
1028
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1029
+ checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
1030
+
1031
+ [[package]]
1032
+ name = "itoa"
1033
+ version = "1.0.15"
1034
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1035
+ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
1036
+
1037
+ [[package]]
1038
+ name = "js-sys"
1039
+ version = "0.3.77"
1040
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1041
+ checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
1042
+ dependencies = [
1043
+ "once_cell",
1044
+ "wasm-bindgen",
1045
+ ]
1046
+
1047
+ [[package]]
1048
+ name = "levenshtein"
1049
+ version = "1.0.5"
1050
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1051
+ checksum = "db13adb97ab515a3691f56e4dbab09283d0b86cb45abd991d8634a9d6f501760"
1052
+
1053
+ [[package]]
1054
+ name = "libc"
1055
+ version = "0.2.174"
1056
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1057
+ checksum = "1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776"
1058
+
1059
+ [[package]]
1060
+ name = "linux-raw-sys"
1061
+ version = "0.9.4"
1062
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1063
+ checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12"
1064
+
1065
+ [[package]]
1066
+ name = "litemap"
1067
+ version = "0.8.0"
1068
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1069
+ checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956"
1070
+
1071
+ [[package]]
1072
+ name = "lock_api"
1073
+ version = "0.4.13"
1074
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1075
+ checksum = "96936507f153605bddfcda068dd804796c84324ed2510809e5b2a624c81da765"
1076
+ dependencies = [
1077
+ "autocfg",
1078
+ "scopeguard",
1079
+ ]
1080
+
1081
+ [[package]]
1082
+ name = "log"
1083
+ version = "0.4.27"
1084
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1085
+ checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
1086
+
1087
+ [[package]]
1088
+ name = "memchr"
1089
+ version = "2.7.5"
1090
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1091
+ checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
1092
+
1093
+ [[package]]
1094
+ name = "mime"
1095
+ version = "0.3.17"
1096
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1097
+ checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
1098
+
1099
+ [[package]]
1100
+ name = "mime_guess"
1101
+ version = "2.0.5"
1102
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1103
+ checksum = "f7c44f8e672c00fe5308fa235f821cb4198414e1c77935c1ab6948d3fd78550e"
1104
+ dependencies = [
1105
+ "mime",
1106
+ "unicase",
1107
+ ]
1108
+
1109
+ [[package]]
1110
+ name = "mini-moka"
1111
+ version = "0.10.3"
1112
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1113
+ checksum = "c325dfab65f261f386debee8b0969da215b3fa0037e74c8a1234db7ba986d803"
1114
+ dependencies = [
1115
+ "crossbeam-channel",
1116
+ "crossbeam-utils",
1117
+ "dashmap",
1118
+ "skeptic",
1119
+ "smallvec",
1120
+ "tagptr",
1121
+ "triomphe",
1122
+ ]
1123
+
1124
+ [[package]]
1125
+ name = "miniz_oxide"
1126
+ version = "0.8.9"
1127
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1128
+ checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
1129
+ dependencies = [
1130
+ "adler2",
1131
+ ]
1132
+
1133
+ [[package]]
1134
+ name = "mio"
1135
+ version = "1.0.4"
1136
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1137
+ checksum = "78bed444cc8a2160f01cbcf811ef18cac863ad68ae8ca62092e8db51d51c761c"
1138
+ dependencies = [
1139
+ "libc",
1140
+ "wasi 0.11.1+wasi-snapshot-preview1",
1141
+ "windows-sys 0.59.0",
1142
+ ]
1143
+
1144
+ [[package]]
1145
+ name = "num-conv"
1146
+ version = "0.1.0"
1147
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1148
+ checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
1149
+
1150
+ [[package]]
1151
+ name = "num-traits"
1152
+ version = "0.2.19"
1153
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1154
+ checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
1155
+ dependencies = [
1156
+ "autocfg",
1157
+ ]
1158
+
1159
+ [[package]]
1160
+ name = "object"
1161
+ version = "0.36.7"
1162
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1163
+ checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87"
1164
+ dependencies = [
1165
+ "memchr",
1166
+ ]
1167
+
1168
+ [[package]]
1169
+ name = "once_cell"
1170
+ version = "1.21.3"
1171
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1172
+ checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
1173
+
1174
+ [[package]]
1175
+ name = "once_cell_polyfill"
1176
+ version = "1.70.1"
1177
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1178
+ checksum = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad"
1179
+
1180
+ [[package]]
1181
+ name = "parking_lot"
1182
+ version = "0.12.4"
1183
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1184
+ checksum = "70d58bf43669b5795d1576d0641cfb6fbb2057bf629506267a92807158584a13"
1185
+ dependencies = [
1186
+ "lock_api",
1187
+ "parking_lot_core",
1188
+ ]
1189
+
1190
+ [[package]]
1191
+ name = "parking_lot_core"
1192
+ version = "0.9.11"
1193
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1194
+ checksum = "bc838d2a56b5b1a6c25f55575dfc605fabb63bb2365f6c2353ef9159aa69e4a5"
1195
+ dependencies = [
1196
+ "cfg-if",
1197
+ "libc",
1198
+ "redox_syscall",
1199
+ "smallvec",
1200
+ "windows-targets 0.52.6",
1201
+ ]
1202
+
1203
+ [[package]]
1204
+ name = "paste"
1205
+ version = "1.0.15"
1206
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1207
+ checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
1208
+
1209
+ [[package]]
1210
+ name = "percent-encoding"
1211
+ version = "2.3.1"
1212
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1213
+ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
1214
+
1215
+ [[package]]
1216
+ name = "pin-project-lite"
1217
+ version = "0.2.16"
1218
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1219
+ checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
1220
+
1221
+ [[package]]
1222
+ name = "pin-utils"
1223
+ version = "0.1.0"
1224
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1225
+ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
1226
+
1227
+ [[package]]
1228
+ name = "potential_utf"
1229
+ version = "0.1.2"
1230
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1231
+ checksum = "e5a7c30837279ca13e7c867e9e40053bc68740f988cb07f7ca6df43cc734b585"
1232
+ dependencies = [
1233
+ "zerovec",
1234
+ ]
1235
+
1236
+ [[package]]
1237
+ name = "powerfmt"
1238
+ version = "0.2.0"
1239
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1240
+ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
1241
+
1242
+ [[package]]
1243
+ name = "ppv-lite86"
1244
+ version = "0.2.21"
1245
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1246
+ checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
1247
+ dependencies = [
1248
+ "zerocopy",
1249
+ ]
1250
+
1251
+ [[package]]
1252
+ name = "proc-macro2"
1253
+ version = "1.0.95"
1254
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1255
+ checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
1256
+ dependencies = [
1257
+ "unicode-ident",
1258
+ ]
1259
+
1260
+ [[package]]
1261
+ name = "pulldown-cmark"
1262
+ version = "0.9.6"
1263
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1264
+ checksum = "57206b407293d2bcd3af849ce869d52068623f19e1b5ff8e8778e3309439682b"
1265
+ dependencies = [
1266
+ "bitflags 2.9.1",
1267
+ "memchr",
1268
+ "unicase",
1269
+ ]
1270
+
1271
+ [[package]]
1272
+ name = "quote"
1273
+ version = "1.0.40"
1274
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1275
+ checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
1276
+ dependencies = [
1277
+ "proc-macro2",
1278
+ ]
1279
+
1280
+ [[package]]
1281
+ name = "r-efi"
1282
+ version = "5.3.0"
1283
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1284
+ checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
1285
+
1286
+ [[package]]
1287
+ name = "rand"
1288
+ version = "0.8.5"
1289
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1290
+ checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
1291
+ dependencies = [
1292
+ "libc",
1293
+ "rand_chacha",
1294
+ "rand_core",
1295
+ ]
1296
+
1297
+ [[package]]
1298
+ name = "rand_chacha"
1299
+ version = "0.3.1"
1300
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1301
+ checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
1302
+ dependencies = [
1303
+ "ppv-lite86",
1304
+ "rand_core",
1305
+ ]
1306
+
1307
+ [[package]]
1308
+ name = "rand_core"
1309
+ version = "0.6.4"
1310
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1311
+ checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
1312
+ dependencies = [
1313
+ "getrandom 0.2.16",
1314
+ ]
1315
+
1316
+ [[package]]
1317
+ name = "redox_syscall"
1318
+ version = "0.5.13"
1319
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1320
+ checksum = "0d04b7d0ee6b4a0207a0a7adb104d23ecb0b47d6beae7152d0fa34b692b29fd6"
1321
+ dependencies = [
1322
+ "bitflags 2.9.1",
1323
+ ]
1324
+
1325
+ [[package]]
1326
+ name = "reqwest"
1327
+ version = "0.11.27"
1328
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1329
+ checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62"
1330
+ dependencies = [
1331
+ "base64 0.21.7",
1332
+ "bytes",
1333
+ "encoding_rs",
1334
+ "futures-core",
1335
+ "futures-util",
1336
+ "h2",
1337
+ "http 0.2.12",
1338
+ "http-body",
1339
+ "hyper",
1340
+ "hyper-rustls",
1341
+ "ipnet",
1342
+ "js-sys",
1343
+ "log",
1344
+ "mime",
1345
+ "mime_guess",
1346
+ "once_cell",
1347
+ "percent-encoding",
1348
+ "pin-project-lite",
1349
+ "rustls 0.21.12",
1350
+ "rustls-pemfile",
1351
+ "serde",
1352
+ "serde_json",
1353
+ "serde_urlencoded",
1354
+ "sync_wrapper",
1355
+ "system-configuration",
1356
+ "tokio",
1357
+ "tokio-rustls 0.24.1",
1358
+ "tokio-util",
1359
+ "tower-service",
1360
+ "url",
1361
+ "wasm-bindgen",
1362
+ "wasm-bindgen-futures",
1363
+ "wasm-streams",
1364
+ "web-sys",
1365
+ "webpki-roots 0.25.4",
1366
+ "winreg",
1367
+ ]
1368
+
1369
+ [[package]]
1370
+ name = "ring"
1371
+ version = "0.17.14"
1372
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1373
+ checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7"
1374
+ dependencies = [
1375
+ "cc",
1376
+ "cfg-if",
1377
+ "getrandom 0.2.16",
1378
+ "libc",
1379
+ "untrusted",
1380
+ "windows-sys 0.52.0",
1381
+ ]
1382
+
1383
+ [[package]]
1384
+ name = "rmcp"
1385
+ version = "0.1.5"
1386
+ source = "git+https://github.com/modelcontextprotocol/rust-sdk?rev=b9d7d61ebd6e8385cbc4aa105d4e25774fc1a59c#b9d7d61ebd6e8385cbc4aa105d4e25774fc1a59c"
1387
+ dependencies = [
1388
+ "base64 0.22.1",
1389
+ "chrono",
1390
+ "futures",
1391
+ "paste",
1392
+ "pin-project-lite",
1393
+ "rmcp-macros",
1394
+ "schemars",
1395
+ "serde",
1396
+ "serde_json",
1397
+ "thiserror 2.0.12",
1398
+ "tokio",
1399
+ "tokio-util",
1400
+ "tracing",
1401
+ ]
1402
+
1403
+ [[package]]
1404
+ name = "rmcp-macros"
1405
+ version = "0.1.5"
1406
+ source = "git+https://github.com/modelcontextprotocol/rust-sdk?rev=b9d7d61ebd6e8385cbc4aa105d4e25774fc1a59c#b9d7d61ebd6e8385cbc4aa105d4e25774fc1a59c"
1407
+ dependencies = [
1408
+ "darling",
1409
+ "proc-macro2",
1410
+ "quote",
1411
+ "serde_json",
1412
+ "syn 2.0.104",
1413
+ ]
1414
+
1415
+ [[package]]
1416
+ name = "rustc-demangle"
1417
+ version = "0.1.25"
1418
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1419
+ checksum = "989e6739f80c4ad5b13e0fd7fe89531180375b18520cc8c82080e4dc4035b84f"
1420
+
1421
+ [[package]]
1422
+ name = "rustix"
1423
+ version = "1.0.7"
1424
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1425
+ checksum = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266"
1426
+ dependencies = [
1427
+ "bitflags 2.9.1",
1428
+ "errno",
1429
+ "libc",
1430
+ "linux-raw-sys",
1431
+ "windows-sys 0.59.0",
1432
+ ]
1433
+
1434
+ [[package]]
1435
+ name = "rustls"
1436
+ version = "0.21.12"
1437
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1438
+ checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e"
1439
+ dependencies = [
1440
+ "log",
1441
+ "ring",
1442
+ "rustls-webpki 0.101.7",
1443
+ "sct",
1444
+ ]
1445
+
1446
+ [[package]]
1447
+ name = "rustls"
1448
+ version = "0.22.4"
1449
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1450
+ checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432"
1451
+ dependencies = [
1452
+ "log",
1453
+ "ring",
1454
+ "rustls-pki-types",
1455
+ "rustls-webpki 0.102.8",
1456
+ "subtle",
1457
+ "zeroize",
1458
+ ]
1459
+
1460
+ [[package]]
1461
+ name = "rustls-pemfile"
1462
+ version = "1.0.4"
1463
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1464
+ checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c"
1465
+ dependencies = [
1466
+ "base64 0.21.7",
1467
+ ]
1468
+
1469
+ [[package]]
1470
+ name = "rustls-pki-types"
1471
+ version = "1.12.0"
1472
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1473
+ checksum = "229a4a4c221013e7e1f1a043678c5cc39fe5171437c88fb47151a21e6f5b5c79"
1474
+ dependencies = [
1475
+ "zeroize",
1476
+ ]
1477
+
1478
+ [[package]]
1479
+ name = "rustls-webpki"
1480
+ version = "0.101.7"
1481
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1482
+ checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765"
1483
+ dependencies = [
1484
+ "ring",
1485
+ "untrusted",
1486
+ ]
1487
+
1488
+ [[package]]
1489
+ name = "rustls-webpki"
1490
+ version = "0.102.8"
1491
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1492
+ checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9"
1493
+ dependencies = [
1494
+ "ring",
1495
+ "rustls-pki-types",
1496
+ "untrusted",
1497
+ ]
1498
+
1499
+ [[package]]
1500
+ name = "rustversion"
1501
+ version = "1.0.21"
1502
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1503
+ checksum = "8a0d197bd2c9dc6e53b84da9556a69ba4cdfab8619eb41a8bd1cc2027a0f6b1d"
1504
+
1505
+ [[package]]
1506
+ name = "ryu"
1507
+ version = "1.0.20"
1508
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1509
+ checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
1510
+
1511
+ [[package]]
1512
+ name = "same-file"
1513
+ version = "1.0.6"
1514
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1515
+ checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
1516
+ dependencies = [
1517
+ "winapi-util",
1518
+ ]
1519
+
1520
+ [[package]]
1521
+ name = "schemars"
1522
+ version = "0.8.22"
1523
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1524
+ checksum = "3fbf2ae1b8bc8e02df939598064d22402220cd5bbcca1c76f7d6a310974d5615"
1525
+ dependencies = [
1526
+ "chrono",
1527
+ "dyn-clone",
1528
+ "schemars_derive",
1529
+ "serde",
1530
+ "serde_json",
1531
+ ]
1532
+
1533
+ [[package]]
1534
+ name = "schemars_derive"
1535
+ version = "0.8.22"
1536
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1537
+ checksum = "32e265784ad618884abaea0600a9adf15393368d840e0222d101a072f3f7534d"
1538
+ dependencies = [
1539
+ "proc-macro2",
1540
+ "quote",
1541
+ "serde_derive_internals",
1542
+ "syn 2.0.104",
1543
+ ]
1544
+
1545
+ [[package]]
1546
+ name = "scopeguard"
1547
+ version = "1.2.0"
1548
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1549
+ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
1550
+
1551
+ [[package]]
1552
+ name = "sct"
1553
+ version = "0.7.1"
1554
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1555
+ checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414"
1556
+ dependencies = [
1557
+ "ring",
1558
+ "untrusted",
1559
+ ]
1560
+
1561
+ [[package]]
1562
+ name = "secrecy"
1563
+ version = "0.8.0"
1564
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1565
+ checksum = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e"
1566
+ dependencies = [
1567
+ "serde",
1568
+ "zeroize",
1569
+ ]
1570
+
1571
+ [[package]]
1572
+ name = "semver"
1573
+ version = "1.0.26"
1574
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1575
+ checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0"
1576
+ dependencies = [
1577
+ "serde",
1578
+ ]
1579
+
1580
+ [[package]]
1581
+ name = "serde"
1582
+ version = "1.0.219"
1583
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1584
+ checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
1585
+ dependencies = [
1586
+ "serde_derive",
1587
+ ]
1588
+
1589
+ [[package]]
1590
+ name = "serde_cow"
1591
+ version = "0.1.2"
1592
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1593
+ checksum = "1e7bbbec7196bfde255ab54b65e34087c0849629280028238e67ee25d6a4b7da"
1594
+ dependencies = [
1595
+ "serde",
1596
+ ]
1597
+
1598
+ [[package]]
1599
+ name = "serde_derive"
1600
+ version = "1.0.219"
1601
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1602
+ checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
1603
+ dependencies = [
1604
+ "proc-macro2",
1605
+ "quote",
1606
+ "syn 2.0.104",
1607
+ ]
1608
+
1609
+ [[package]]
1610
+ name = "serde_derive_internals"
1611
+ version = "0.29.1"
1612
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1613
+ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711"
1614
+ dependencies = [
1615
+ "proc-macro2",
1616
+ "quote",
1617
+ "syn 2.0.104",
1618
+ ]
1619
+
1620
+ [[package]]
1621
+ name = "serde_json"
1622
+ version = "1.0.140"
1623
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1624
+ checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373"
1625
+ dependencies = [
1626
+ "itoa",
1627
+ "memchr",
1628
+ "ryu",
1629
+ "serde",
1630
+ ]
1631
+
1632
+ [[package]]
1633
+ name = "serde_urlencoded"
1634
+ version = "0.7.1"
1635
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1636
+ checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"
1637
+ dependencies = [
1638
+ "form_urlencoded",
1639
+ "itoa",
1640
+ "ryu",
1641
+ "serde",
1642
+ ]
1643
+
1644
+ [[package]]
1645
+ name = "serenity"
1646
+ version = "0.12.4"
1647
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1648
+ checksum = "3d72ec4323681bf9a3cabe40fd080abc2435859b502a1b5aa9bf693f125bfa76"
1649
+ dependencies = [
1650
+ "arrayvec",
1651
+ "async-trait",
1652
+ "base64 0.22.1",
1653
+ "bitflags 2.9.1",
1654
+ "bytes",
1655
+ "chrono",
1656
+ "command_attr",
1657
+ "dashmap",
1658
+ "flate2",
1659
+ "futures",
1660
+ "fxhash",
1661
+ "levenshtein",
1662
+ "mime_guess",
1663
+ "parking_lot",
1664
+ "percent-encoding",
1665
+ "reqwest",
1666
+ "secrecy",
1667
+ "serde",
1668
+ "serde_cow",
1669
+ "serde_json",
1670
+ "static_assertions",
1671
+ "time",
1672
+ "tokio",
1673
+ "tokio-tungstenite",
1674
+ "tracing",
1675
+ "typemap_rev",
1676
+ "typesize",
1677
+ "url",
1678
+ "uwl",
1679
+ ]
1680
+
1681
+ [[package]]
1682
+ name = "sha1"
1683
+ version = "0.10.6"
1684
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1685
+ checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
1686
+ dependencies = [
1687
+ "cfg-if",
1688
+ "cpufeatures",
1689
+ "digest",
1690
+ ]
1691
+
1692
+ [[package]]
1693
+ name = "shlex"
1694
+ version = "1.3.0"
1695
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1696
+ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
1697
+
1698
+ [[package]]
1699
+ name = "skeptic"
1700
+ version = "0.13.7"
1701
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1702
+ checksum = "16d23b015676c90a0f01c197bfdc786c20342c73a0afdda9025adb0bc42940a8"
1703
+ dependencies = [
1704
+ "bytecount",
1705
+ "cargo_metadata",
1706
+ "error-chain",
1707
+ "glob",
1708
+ "pulldown-cmark",
1709
+ "tempfile",
1710
+ "walkdir",
1711
+ ]
1712
+
1713
+ [[package]]
1714
+ name = "slab"
1715
+ version = "0.4.10"
1716
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1717
+ checksum = "04dc19736151f35336d325007ac991178d504a119863a2fcb3758cdb5e52c50d"
1718
+
1719
+ [[package]]
1720
+ name = "smallvec"
1721
+ version = "1.15.1"
1722
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1723
+ checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
1724
+
1725
+ [[package]]
1726
+ name = "socket2"
1727
+ version = "0.5.10"
1728
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1729
+ checksum = "e22376abed350d73dd1cd119b57ffccad95b4e585a7cda43e286245ce23c0678"
1730
+ dependencies = [
1731
+ "libc",
1732
+ "windows-sys 0.52.0",
1733
+ ]
1734
+
1735
+ [[package]]
1736
+ name = "stable_deref_trait"
1737
+ version = "1.2.0"
1738
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1739
+ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
1740
+
1741
+ [[package]]
1742
+ name = "static_assertions"
1743
+ version = "1.1.0"
1744
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1745
+ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
1746
+
1747
+ [[package]]
1748
+ name = "strsim"
1749
+ version = "0.11.1"
1750
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1751
+ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
1752
+
1753
+ [[package]]
1754
+ name = "subtle"
1755
+ version = "2.6.1"
1756
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1757
+ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
1758
+
1759
+ [[package]]
1760
+ name = "syn"
1761
+ version = "1.0.109"
1762
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1763
+ checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
1764
+ dependencies = [
1765
+ "proc-macro2",
1766
+ "quote",
1767
+ "unicode-ident",
1768
+ ]
1769
+
1770
+ [[package]]
1771
+ name = "syn"
1772
+ version = "2.0.104"
1773
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1774
+ checksum = "17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40"
1775
+ dependencies = [
1776
+ "proc-macro2",
1777
+ "quote",
1778
+ "unicode-ident",
1779
+ ]
1780
+
1781
+ [[package]]
1782
+ name = "sync_wrapper"
1783
+ version = "0.1.2"
1784
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1785
+ checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160"
1786
+
1787
+ [[package]]
1788
+ name = "synstructure"
1789
+ version = "0.13.2"
1790
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1791
+ checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
1792
+ dependencies = [
1793
+ "proc-macro2",
1794
+ "quote",
1795
+ "syn 2.0.104",
1796
+ ]
1797
+
1798
+ [[package]]
1799
+ name = "system-configuration"
1800
+ version = "0.5.1"
1801
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1802
+ checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7"
1803
+ dependencies = [
1804
+ "bitflags 1.3.2",
1805
+ "core-foundation",
1806
+ "system-configuration-sys",
1807
+ ]
1808
+
1809
+ [[package]]
1810
+ name = "system-configuration-sys"
1811
+ version = "0.5.0"
1812
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1813
+ checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9"
1814
+ dependencies = [
1815
+ "core-foundation-sys",
1816
+ "libc",
1817
+ ]
1818
+
1819
+ [[package]]
1820
+ name = "tagptr"
1821
+ version = "0.2.0"
1822
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1823
+ checksum = "7b2093cf4c8eb1e67749a6762251bc9cd836b6fc171623bd0a9d324d37af2417"
1824
+
1825
+ [[package]]
1826
+ name = "tempfile"
1827
+ version = "3.20.0"
1828
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1829
+ checksum = "e8a64e3985349f2441a1a9ef0b853f869006c3855f2cda6862a94d26ebb9d6a1"
1830
+ dependencies = [
1831
+ "fastrand",
1832
+ "getrandom 0.3.3",
1833
+ "once_cell",
1834
+ "rustix",
1835
+ "windows-sys 0.59.0",
1836
+ ]
1837
+
1838
+ [[package]]
1839
+ name = "thiserror"
1840
+ version = "1.0.69"
1841
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1842
+ checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
1843
+ dependencies = [
1844
+ "thiserror-impl 1.0.69",
1845
+ ]
1846
+
1847
+ [[package]]
1848
+ name = "thiserror"
1849
+ version = "2.0.12"
1850
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1851
+ checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708"
1852
+ dependencies = [
1853
+ "thiserror-impl 2.0.12",
1854
+ ]
1855
+
1856
+ [[package]]
1857
+ name = "thiserror-impl"
1858
+ version = "1.0.69"
1859
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1860
+ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
1861
+ dependencies = [
1862
+ "proc-macro2",
1863
+ "quote",
1864
+ "syn 2.0.104",
1865
+ ]
1866
+
1867
+ [[package]]
1868
+ name = "thiserror-impl"
1869
+ version = "2.0.12"
1870
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1871
+ checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d"
1872
+ dependencies = [
1873
+ "proc-macro2",
1874
+ "quote",
1875
+ "syn 2.0.104",
1876
+ ]
1877
+
1878
+ [[package]]
1879
+ name = "time"
1880
+ version = "0.3.41"
1881
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1882
+ checksum = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40"
1883
+ dependencies = [
1884
+ "deranged",
1885
+ "itoa",
1886
+ "num-conv",
1887
+ "powerfmt",
1888
+ "serde",
1889
+ "time-core",
1890
+ "time-macros",
1891
+ ]
1892
+
1893
+ [[package]]
1894
+ name = "time-core"
1895
+ version = "0.1.4"
1896
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1897
+ checksum = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c"
1898
+
1899
+ [[package]]
1900
+ name = "time-macros"
1901
+ version = "0.2.22"
1902
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1903
+ checksum = "3526739392ec93fd8b359c8e98514cb3e8e021beb4e5f597b00a0221f8ed8a49"
1904
+ dependencies = [
1905
+ "num-conv",
1906
+ "time-core",
1907
+ ]
1908
+
1909
+ [[package]]
1910
+ name = "tinystr"
1911
+ version = "0.8.1"
1912
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1913
+ checksum = "5d4f6d1145dcb577acf783d4e601bc1d76a13337bb54e6233add580b07344c8b"
1914
+ dependencies = [
1915
+ "displaydoc",
1916
+ "zerovec",
1917
+ ]
1918
+
1919
+ [[package]]
1920
+ name = "tokio"
1921
+ version = "1.45.1"
1922
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1923
+ checksum = "75ef51a33ef1da925cea3e4eb122833cb377c61439ca401b770f54902b806779"
1924
+ dependencies = [
1925
+ "backtrace",
1926
+ "bytes",
1927
+ "libc",
1928
+ "mio",
1929
+ "pin-project-lite",
1930
+ "socket2",
1931
+ "tokio-macros",
1932
+ "windows-sys 0.52.0",
1933
+ ]
1934
+
1935
+ [[package]]
1936
+ name = "tokio-macros"
1937
+ version = "2.5.0"
1938
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1939
+ checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8"
1940
+ dependencies = [
1941
+ "proc-macro2",
1942
+ "quote",
1943
+ "syn 2.0.104",
1944
+ ]
1945
+
1946
+ [[package]]
1947
+ name = "tokio-rustls"
1948
+ version = "0.24.1"
1949
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1950
+ checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081"
1951
+ dependencies = [
1952
+ "rustls 0.21.12",
1953
+ "tokio",
1954
+ ]
1955
+
1956
+ [[package]]
1957
+ name = "tokio-rustls"
1958
+ version = "0.25.0"
1959
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1960
+ checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f"
1961
+ dependencies = [
1962
+ "rustls 0.22.4",
1963
+ "rustls-pki-types",
1964
+ "tokio",
1965
+ ]
1966
+
1967
+ [[package]]
1968
+ name = "tokio-tungstenite"
1969
+ version = "0.21.0"
1970
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1971
+ checksum = "c83b561d025642014097b66e6c1bb422783339e0909e4429cde4749d1990bc38"
1972
+ dependencies = [
1973
+ "futures-util",
1974
+ "log",
1975
+ "rustls 0.22.4",
1976
+ "rustls-pki-types",
1977
+ "tokio",
1978
+ "tokio-rustls 0.25.0",
1979
+ "tungstenite",
1980
+ "webpki-roots 0.26.11",
1981
+ ]
1982
+
1983
+ [[package]]
1984
+ name = "tokio-util"
1985
+ version = "0.7.15"
1986
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1987
+ checksum = "66a539a9ad6d5d281510d5bd368c973d636c02dbf8a67300bfb6b950696ad7df"
1988
+ dependencies = [
1989
+ "bytes",
1990
+ "futures-core",
1991
+ "futures-sink",
1992
+ "pin-project-lite",
1993
+ "tokio",
1994
+ ]
1995
+
1996
+ [[package]]
1997
+ name = "tower-service"
1998
+ version = "0.3.3"
1999
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2000
+ checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
2001
+
2002
+ [[package]]
2003
+ name = "tracing"
2004
+ version = "0.1.41"
2005
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2006
+ checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0"
2007
+ dependencies = [
2008
+ "log",
2009
+ "pin-project-lite",
2010
+ "tracing-attributes",
2011
+ "tracing-core",
2012
+ ]
2013
+
2014
+ [[package]]
2015
+ name = "tracing-attributes"
2016
+ version = "0.1.30"
2017
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2018
+ checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903"
2019
+ dependencies = [
2020
+ "proc-macro2",
2021
+ "quote",
2022
+ "syn 2.0.104",
2023
+ ]
2024
+
2025
+ [[package]]
2026
+ name = "tracing-core"
2027
+ version = "0.1.34"
2028
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2029
+ checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678"
2030
+ dependencies = [
2031
+ "once_cell",
2032
+ ]
2033
+
2034
+ [[package]]
2035
+ name = "triomphe"
2036
+ version = "0.1.14"
2037
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2038
+ checksum = "ef8f7726da4807b58ea5c96fdc122f80702030edc33b35aff9190a51148ccc85"
2039
+
2040
+ [[package]]
2041
+ name = "try-lock"
2042
+ version = "0.2.5"
2043
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2044
+ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
2045
+
2046
+ [[package]]
2047
+ name = "tungstenite"
2048
+ version = "0.21.0"
2049
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2050
+ checksum = "9ef1a641ea34f399a848dea702823bbecfb4c486f911735368f1f137cb8257e1"
2051
+ dependencies = [
2052
+ "byteorder",
2053
+ "bytes",
2054
+ "data-encoding",
2055
+ "http 1.3.1",
2056
+ "httparse",
2057
+ "log",
2058
+ "rand",
2059
+ "rustls 0.22.4",
2060
+ "rustls-pki-types",
2061
+ "sha1",
2062
+ "thiserror 1.0.69",
2063
+ "url",
2064
+ "utf-8",
2065
+ ]
2066
+
2067
+ [[package]]
2068
+ name = "typemap_rev"
2069
+ version = "0.3.0"
2070
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2071
+ checksum = "74b08b0c1257381af16a5c3605254d529d3e7e109f3c62befc5d168968192998"
2072
+
2073
+ [[package]]
2074
+ name = "typenum"
2075
+ version = "1.18.0"
2076
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2077
+ checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f"
2078
+
2079
+ [[package]]
2080
+ name = "typesize"
2081
+ version = "0.1.14"
2082
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2083
+ checksum = "7da66c62c5b7017a2787e77373c03e6a5aafde77a73bff1ff96e91cd2e128179"
2084
+ dependencies = [
2085
+ "chrono",
2086
+ "dashmap",
2087
+ "hashbrown 0.14.5",
2088
+ "mini-moka",
2089
+ "parking_lot",
2090
+ "secrecy",
2091
+ "serde_json",
2092
+ "time",
2093
+ "typesize-derive",
2094
+ "url",
2095
+ ]
2096
+
2097
+ [[package]]
2098
+ name = "typesize-derive"
2099
+ version = "0.1.11"
2100
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2101
+ checksum = "536b6812192bda8551cfa0e52524e328c6a951b48e66529ee4522d6c721243d6"
2102
+ dependencies = [
2103
+ "proc-macro2",
2104
+ "quote",
2105
+ "syn 2.0.104",
2106
+ ]
2107
+
2108
+ [[package]]
2109
+ name = "unicase"
2110
+ version = "2.8.1"
2111
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2112
+ checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539"
2113
+
2114
+ [[package]]
2115
+ name = "unicode-ident"
2116
+ version = "1.0.18"
2117
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2118
+ checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
2119
+
2120
+ [[package]]
2121
+ name = "untrusted"
2122
+ version = "0.9.0"
2123
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2124
+ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
2125
+
2126
+ [[package]]
2127
+ name = "url"
2128
+ version = "2.5.4"
2129
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2130
+ checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60"
2131
+ dependencies = [
2132
+ "form_urlencoded",
2133
+ "idna",
2134
+ "percent-encoding",
2135
+ "serde",
2136
+ ]
2137
+
2138
+ [[package]]
2139
+ name = "utf-8"
2140
+ version = "0.7.6"
2141
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2142
+ checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
2143
+
2144
+ [[package]]
2145
+ name = "utf8_iter"
2146
+ version = "1.0.4"
2147
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2148
+ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
2149
+
2150
+ [[package]]
2151
+ name = "utf8parse"
2152
+ version = "0.2.2"
2153
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2154
+ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
2155
+
2156
+ [[package]]
2157
+ name = "uwl"
2158
+ version = "0.6.0"
2159
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2160
+ checksum = "f4bf03e0ca70d626ecc4ba6b0763b934b6f2976e8c744088bb3c1d646fbb1ad0"
2161
+
2162
+ [[package]]
2163
+ name = "version_check"
2164
+ version = "0.9.5"
2165
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2166
+ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
2167
+
2168
+ [[package]]
2169
+ name = "walkdir"
2170
+ version = "2.5.0"
2171
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2172
+ checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
2173
+ dependencies = [
2174
+ "same-file",
2175
+ "winapi-util",
2176
+ ]
2177
+
2178
+ [[package]]
2179
+ name = "want"
2180
+ version = "0.3.1"
2181
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2182
+ checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
2183
+ dependencies = [
2184
+ "try-lock",
2185
+ ]
2186
+
2187
+ [[package]]
2188
+ name = "wasi"
2189
+ version = "0.11.1+wasi-snapshot-preview1"
2190
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2191
+ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
2192
+
2193
+ [[package]]
2194
+ name = "wasi"
2195
+ version = "0.14.2+wasi-0.2.4"
2196
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2197
+ checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3"
2198
+ dependencies = [
2199
+ "wit-bindgen-rt",
2200
+ ]
2201
+
2202
+ [[package]]
2203
+ name = "wasm-bindgen"
2204
+ version = "0.2.100"
2205
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2206
+ checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
2207
+ dependencies = [
2208
+ "cfg-if",
2209
+ "once_cell",
2210
+ "rustversion",
2211
+ "wasm-bindgen-macro",
2212
+ ]
2213
+
2214
+ [[package]]
2215
+ name = "wasm-bindgen-backend"
2216
+ version = "0.2.100"
2217
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2218
+ checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
2219
+ dependencies = [
2220
+ "bumpalo",
2221
+ "log",
2222
+ "proc-macro2",
2223
+ "quote",
2224
+ "syn 2.0.104",
2225
+ "wasm-bindgen-shared",
2226
+ ]
2227
+
2228
+ [[package]]
2229
+ name = "wasm-bindgen-futures"
2230
+ version = "0.4.50"
2231
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2232
+ checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61"
2233
+ dependencies = [
2234
+ "cfg-if",
2235
+ "js-sys",
2236
+ "once_cell",
2237
+ "wasm-bindgen",
2238
+ "web-sys",
2239
+ ]
2240
+
2241
+ [[package]]
2242
+ name = "wasm-bindgen-macro"
2243
+ version = "0.2.100"
2244
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2245
+ checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
2246
+ dependencies = [
2247
+ "quote",
2248
+ "wasm-bindgen-macro-support",
2249
+ ]
2250
+
2251
+ [[package]]
2252
+ name = "wasm-bindgen-macro-support"
2253
+ version = "0.2.100"
2254
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2255
+ checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
2256
+ dependencies = [
2257
+ "proc-macro2",
2258
+ "quote",
2259
+ "syn 2.0.104",
2260
+ "wasm-bindgen-backend",
2261
+ "wasm-bindgen-shared",
2262
+ ]
2263
+
2264
+ [[package]]
2265
+ name = "wasm-bindgen-shared"
2266
+ version = "0.2.100"
2267
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2268
+ checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
2269
+ dependencies = [
2270
+ "unicode-ident",
2271
+ ]
2272
+
2273
+ [[package]]
2274
+ name = "wasm-streams"
2275
+ version = "0.4.2"
2276
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2277
+ checksum = "15053d8d85c7eccdbefef60f06769760a563c7f0a9d6902a13d35c7800b0ad65"
2278
+ dependencies = [
2279
+ "futures-util",
2280
+ "js-sys",
2281
+ "wasm-bindgen",
2282
+ "wasm-bindgen-futures",
2283
+ "web-sys",
2284
+ ]
2285
+
2286
+ [[package]]
2287
+ name = "web-sys"
2288
+ version = "0.3.77"
2289
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2290
+ checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2"
2291
+ dependencies = [
2292
+ "js-sys",
2293
+ "wasm-bindgen",
2294
+ ]
2295
+
2296
+ [[package]]
2297
+ name = "webpki-roots"
2298
+ version = "0.25.4"
2299
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2300
+ checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1"
2301
+
2302
+ [[package]]
2303
+ name = "webpki-roots"
2304
+ version = "0.26.11"
2305
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2306
+ checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9"
2307
+ dependencies = [
2308
+ "webpki-roots 1.0.1",
2309
+ ]
2310
+
2311
+ [[package]]
2312
+ name = "webpki-roots"
2313
+ version = "1.0.1"
2314
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2315
+ checksum = "8782dd5a41a24eed3a4f40b606249b3e236ca61adf1f25ea4d45c73de122b502"
2316
+ dependencies = [
2317
+ "rustls-pki-types",
2318
+ ]
2319
+
2320
+ [[package]]
2321
+ name = "winapi-util"
2322
+ version = "0.1.9"
2323
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2324
+ checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
2325
+ dependencies = [
2326
+ "windows-sys 0.59.0",
2327
+ ]
2328
+
2329
+ [[package]]
2330
+ name = "windows-core"
2331
+ version = "0.61.2"
2332
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2333
+ checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3"
2334
+ dependencies = [
2335
+ "windows-implement",
2336
+ "windows-interface",
2337
+ "windows-link",
2338
+ "windows-result",
2339
+ "windows-strings",
2340
+ ]
2341
+
2342
+ [[package]]
2343
+ name = "windows-implement"
2344
+ version = "0.60.0"
2345
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2346
+ checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836"
2347
+ dependencies = [
2348
+ "proc-macro2",
2349
+ "quote",
2350
+ "syn 2.0.104",
2351
+ ]
2352
+
2353
+ [[package]]
2354
+ name = "windows-interface"
2355
+ version = "0.59.1"
2356
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2357
+ checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8"
2358
+ dependencies = [
2359
+ "proc-macro2",
2360
+ "quote",
2361
+ "syn 2.0.104",
2362
+ ]
2363
+
2364
+ [[package]]
2365
+ name = "windows-link"
2366
+ version = "0.1.3"
2367
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2368
+ checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a"
2369
+
2370
+ [[package]]
2371
+ name = "windows-result"
2372
+ version = "0.3.4"
2373
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2374
+ checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6"
2375
+ dependencies = [
2376
+ "windows-link",
2377
+ ]
2378
+
2379
+ [[package]]
2380
+ name = "windows-strings"
2381
+ version = "0.4.2"
2382
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2383
+ checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57"
2384
+ dependencies = [
2385
+ "windows-link",
2386
+ ]
2387
+
2388
+ [[package]]
2389
+ name = "windows-sys"
2390
+ version = "0.48.0"
2391
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2392
+ checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
2393
+ dependencies = [
2394
+ "windows-targets 0.48.5",
2395
+ ]
2396
+
2397
+ [[package]]
2398
+ name = "windows-sys"
2399
+ version = "0.52.0"
2400
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2401
+ checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
2402
+ dependencies = [
2403
+ "windows-targets 0.52.6",
2404
+ ]
2405
+
2406
+ [[package]]
2407
+ name = "windows-sys"
2408
+ version = "0.59.0"
2409
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2410
+ checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
2411
+ dependencies = [
2412
+ "windows-targets 0.52.6",
2413
+ ]
2414
+
2415
+ [[package]]
2416
+ name = "windows-sys"
2417
+ version = "0.60.2"
2418
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2419
+ checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
2420
+ dependencies = [
2421
+ "windows-targets 0.53.2",
2422
+ ]
2423
+
2424
+ [[package]]
2425
+ name = "windows-targets"
2426
+ version = "0.48.5"
2427
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2428
+ checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
2429
+ dependencies = [
2430
+ "windows_aarch64_gnullvm 0.48.5",
2431
+ "windows_aarch64_msvc 0.48.5",
2432
+ "windows_i686_gnu 0.48.5",
2433
+ "windows_i686_msvc 0.48.5",
2434
+ "windows_x86_64_gnu 0.48.5",
2435
+ "windows_x86_64_gnullvm 0.48.5",
2436
+ "windows_x86_64_msvc 0.48.5",
2437
+ ]
2438
+
2439
+ [[package]]
2440
+ name = "windows-targets"
2441
+ version = "0.52.6"
2442
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2443
+ checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
2444
+ dependencies = [
2445
+ "windows_aarch64_gnullvm 0.52.6",
2446
+ "windows_aarch64_msvc 0.52.6",
2447
+ "windows_i686_gnu 0.52.6",
2448
+ "windows_i686_gnullvm 0.52.6",
2449
+ "windows_i686_msvc 0.52.6",
2450
+ "windows_x86_64_gnu 0.52.6",
2451
+ "windows_x86_64_gnullvm 0.52.6",
2452
+ "windows_x86_64_msvc 0.52.6",
2453
+ ]
2454
+
2455
+ [[package]]
2456
+ name = "windows-targets"
2457
+ version = "0.53.2"
2458
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2459
+ checksum = "c66f69fcc9ce11da9966ddb31a40968cad001c5bedeb5c2b82ede4253ab48aef"
2460
+ dependencies = [
2461
+ "windows_aarch64_gnullvm 0.53.0",
2462
+ "windows_aarch64_msvc 0.53.0",
2463
+ "windows_i686_gnu 0.53.0",
2464
+ "windows_i686_gnullvm 0.53.0",
2465
+ "windows_i686_msvc 0.53.0",
2466
+ "windows_x86_64_gnu 0.53.0",
2467
+ "windows_x86_64_gnullvm 0.53.0",
2468
+ "windows_x86_64_msvc 0.53.0",
2469
+ ]
2470
+
2471
+ [[package]]
2472
+ name = "windows_aarch64_gnullvm"
2473
+ version = "0.48.5"
2474
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2475
+ checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
2476
+
2477
+ [[package]]
2478
+ name = "windows_aarch64_gnullvm"
2479
+ version = "0.52.6"
2480
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2481
+ checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
2482
+
2483
+ [[package]]
2484
+ name = "windows_aarch64_gnullvm"
2485
+ version = "0.53.0"
2486
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2487
+ checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764"
2488
+
2489
+ [[package]]
2490
+ name = "windows_aarch64_msvc"
2491
+ version = "0.48.5"
2492
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2493
+ checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
2494
+
2495
+ [[package]]
2496
+ name = "windows_aarch64_msvc"
2497
+ version = "0.52.6"
2498
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2499
+ checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
2500
+
2501
+ [[package]]
2502
+ name = "windows_aarch64_msvc"
2503
+ version = "0.53.0"
2504
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2505
+ checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c"
2506
+
2507
+ [[package]]
2508
+ name = "windows_i686_gnu"
2509
+ version = "0.48.5"
2510
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2511
+ checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
2512
+
2513
+ [[package]]
2514
+ name = "windows_i686_gnu"
2515
+ version = "0.52.6"
2516
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2517
+ checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
2518
+
2519
+ [[package]]
2520
+ name = "windows_i686_gnu"
2521
+ version = "0.53.0"
2522
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2523
+ checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3"
2524
+
2525
+ [[package]]
2526
+ name = "windows_i686_gnullvm"
2527
+ version = "0.52.6"
2528
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2529
+ checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
2530
+
2531
+ [[package]]
2532
+ name = "windows_i686_gnullvm"
2533
+ version = "0.53.0"
2534
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2535
+ checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11"
2536
+
2537
+ [[package]]
2538
+ name = "windows_i686_msvc"
2539
+ version = "0.48.5"
2540
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2541
+ checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
2542
+
2543
+ [[package]]
2544
+ name = "windows_i686_msvc"
2545
+ version = "0.52.6"
2546
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2547
+ checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
2548
+
2549
+ [[package]]
2550
+ name = "windows_i686_msvc"
2551
+ version = "0.53.0"
2552
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2553
+ checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d"
2554
+
2555
+ [[package]]
2556
+ name = "windows_x86_64_gnu"
2557
+ version = "0.48.5"
2558
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2559
+ checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
2560
+
2561
+ [[package]]
2562
+ name = "windows_x86_64_gnu"
2563
+ version = "0.52.6"
2564
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2565
+ checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
2566
+
2567
+ [[package]]
2568
+ name = "windows_x86_64_gnu"
2569
+ version = "0.53.0"
2570
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2571
+ checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba"
2572
+
2573
+ [[package]]
2574
+ name = "windows_x86_64_gnullvm"
2575
+ version = "0.48.5"
2576
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2577
+ checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
2578
+
2579
+ [[package]]
2580
+ name = "windows_x86_64_gnullvm"
2581
+ version = "0.52.6"
2582
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2583
+ checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
2584
+
2585
+ [[package]]
2586
+ name = "windows_x86_64_gnullvm"
2587
+ version = "0.53.0"
2588
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2589
+ checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57"
2590
+
2591
+ [[package]]
2592
+ name = "windows_x86_64_msvc"
2593
+ version = "0.48.5"
2594
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2595
+ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
2596
+
2597
+ [[package]]
2598
+ name = "windows_x86_64_msvc"
2599
+ version = "0.52.6"
2600
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2601
+ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
2602
+
2603
+ [[package]]
2604
+ name = "windows_x86_64_msvc"
2605
+ version = "0.53.0"
2606
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2607
+ checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
2608
+
2609
+ [[package]]
2610
+ name = "winreg"
2611
+ version = "0.50.0"
2612
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2613
+ checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1"
2614
+ dependencies = [
2615
+ "cfg-if",
2616
+ "windows-sys 0.48.0",
2617
+ ]
2618
+
2619
+ [[package]]
2620
+ name = "wit-bindgen-rt"
2621
+ version = "0.39.0"
2622
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2623
+ checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1"
2624
+ dependencies = [
2625
+ "bitflags 2.9.1",
2626
+ ]
2627
+
2628
+ [[package]]
2629
+ name = "writeable"
2630
+ version = "0.6.1"
2631
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2632
+ checksum = "ea2f10b9bb0928dfb1b42b65e1f9e36f7f54dbdf08457afefb38afcdec4fa2bb"
2633
+
2634
+ [[package]]
2635
+ name = "yoke"
2636
+ version = "0.8.0"
2637
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2638
+ checksum = "5f41bb01b8226ef4bfd589436a297c53d118f65921786300e427be8d487695cc"
2639
+ dependencies = [
2640
+ "serde",
2641
+ "stable_deref_trait",
2642
+ "yoke-derive",
2643
+ "zerofrom",
2644
+ ]
2645
+
2646
+ [[package]]
2647
+ name = "yoke-derive"
2648
+ version = "0.8.0"
2649
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2650
+ checksum = "38da3c9736e16c5d3c8c597a9aaa5d1fa565d0532ae05e27c24aa62fb32c0ab6"
2651
+ dependencies = [
2652
+ "proc-macro2",
2653
+ "quote",
2654
+ "syn 2.0.104",
2655
+ "synstructure",
2656
+ ]
2657
+
2658
+ [[package]]
2659
+ name = "zerocopy"
2660
+ version = "0.8.26"
2661
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2662
+ checksum = "1039dd0d3c310cf05de012d8a39ff557cb0d23087fd44cad61df08fc31907a2f"
2663
+ dependencies = [
2664
+ "zerocopy-derive",
2665
+ ]
2666
+
2667
+ [[package]]
2668
+ name = "zerocopy-derive"
2669
+ version = "0.8.26"
2670
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2671
+ checksum = "9ecf5b4cc5364572d7f4c329661bcc82724222973f2cab6f050a4e5c22f75181"
2672
+ dependencies = [
2673
+ "proc-macro2",
2674
+ "quote",
2675
+ "syn 2.0.104",
2676
+ ]
2677
+
2678
+ [[package]]
2679
+ name = "zerofrom"
2680
+ version = "0.1.6"
2681
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2682
+ checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5"
2683
+ dependencies = [
2684
+ "zerofrom-derive",
2685
+ ]
2686
+
2687
+ [[package]]
2688
+ name = "zerofrom-derive"
2689
+ version = "0.1.6"
2690
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2691
+ checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502"
2692
+ dependencies = [
2693
+ "proc-macro2",
2694
+ "quote",
2695
+ "syn 2.0.104",
2696
+ "synstructure",
2697
+ ]
2698
+
2699
+ [[package]]
2700
+ name = "zeroize"
2701
+ version = "1.8.1"
2702
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2703
+ checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
2704
+
2705
+ [[package]]
2706
+ name = "zerotrie"
2707
+ version = "0.2.2"
2708
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2709
+ checksum = "36f0bbd478583f79edad978b407914f61b2972f5af6fa089686016be8f9af595"
2710
+ dependencies = [
2711
+ "displaydoc",
2712
+ "yoke",
2713
+ "zerofrom",
2714
+ ]
2715
+
2716
+ [[package]]
2717
+ name = "zerovec"
2718
+ version = "0.11.2"
2719
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2720
+ checksum = "4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428"
2721
+ dependencies = [
2722
+ "yoke",
2723
+ "zerofrom",
2724
+ "zerovec-derive",
2725
+ ]
2726
+
2727
+ [[package]]
2728
+ name = "zerovec-derive"
2729
+ version = "0.11.1"
2730
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2731
+ checksum = "5b96237efa0c878c64bd89c436f661be4e46b2f3eff1ebb976f7ef2321d2f58f"
2732
+ dependencies = [
2733
+ "proc-macro2",
2734
+ "quote",
2735
+ "syn 2.0.104",
2736
+ ]
2737
+ LOCK_EOF
2738
+
2739
+ # ---------------------------------------------------------------------------
2740
+ # 3. Prefetch every locked dependency into the shared Cargo cache (~/.cargo),
2741
+ # which persists into the offline build stage. --locked enforces the exact
2742
+ # embedded dependency graph so the later offline `cargo build --offline`
2743
+ # in build.sh finds every crate it needs in cache.
2744
+ # ---------------------------------------------------------------------------
2745
+ if ! cargo fetch --manifest-path "$_cargo_manifest" --locked; then
2746
+ _fail_download "dependency prefetch with --locked failed"
2747
+ fi
2748
+
2749
+ echo "download.sh: dependency prefetch complete."
2750
+
2751
+ # Environment variables that build.sh relies on. CARGO_HOME already points at
2752
+ # the shared toolchain cache (e.g. /usr/local/cargo); leave it untouched so it
2753
+ # persists into the offline build stage. Nothing here reads a repo file.
2754
+ export CARGO_NET_OFFLINE="true"
2755
+
2756
+ if [ "$_sourced" -eq 0 ]; then
2757
+ exit 0
2758
+ fi
2759
+ return 0
koba789--human-in-the-loop.6f95553/environment/executable ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c66105f43c51110ee75936931405338cb451d2421f1024a2d6529cc86ea2d65
3
+ size 18684912
koba789--human-in-the-loop.6f95553/environment/harbor_configure_apt_mirror.sh ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ repository_base="${1%/}"
5
+ if [[ -z "$repository_base" ]]; then
6
+ exit 0
7
+ fi
8
+
9
+ . /etc/os-release
10
+ codename="${VERSION_CODENAME:-}"
11
+ if [[ -z "$codename" ]]; then
12
+ echo "VERSION_CODENAME is not set" >&2
13
+ exit 1
14
+ fi
15
+
16
+ if [[ "$ID" == "ubuntu" ]]; then
17
+ repository_name="apt-proxy"
18
+ components="main universe restricted multiverse"
19
+ else
20
+ repository_name="debian-proxy"
21
+ components="main contrib non-free non-free-firmware"
22
+ fi
23
+
24
+ install -d /etc/apt/sources.list.d
25
+ rm -f /etc/apt/sources.list /etc/apt/sources.list.d/*
26
+ printf 'deb [trusted=yes] %s/%s %s %s\n' \
27
+ "$repository_base" "$repository_name" "$codename" "$components" \
28
+ >/etc/apt/sources.list
29
+ printf 'deb [trusted=yes] %s/%s %s-updates %s\n' \
30
+ "$repository_base" "$repository_name" "$codename" "$components" \
31
+ >>/etc/apt/sources.list
32
+
33
+ if [[ "$ID" != "ubuntu" ]]; then
34
+ printf 'deb [trusted=yes] %s/%s %s-security %s\n' \
35
+ "$repository_base" "debian-proxy-security" "$codename" "$components" \
36
+ >>/etc/apt/sources.list
37
+ fi
koba789--human-in-the-loop.6f95553/environment/harbor_configure_java_mirrors.sh ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ maven_url="${1%/}"
5
+ plugin_url="${2%/}"
6
+ jitpack_url="${3%/}"
7
+
8
+ install -d /workspace/.m2 /workspace/.gradle/init.d /opt/programgym/gradle-init
9
+ if [[ -n "$maven_url" ]]; then
10
+ cat >/workspace/.m2/settings.xml <<EOF
11
+ <?xml version="1.0" encoding="UTF-8"?>
12
+ <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0">
13
+ <mirrors>
14
+ <mirror>
15
+ <id>programgym-maven</id>
16
+ <name>ProgramGym Maven mirror</name>
17
+ <url>${maven_url}</url>
18
+ <mirrorOf>*</mirrorOf>
19
+ </mirror>
20
+ </mirrors>
21
+ </settings>
22
+ EOF
23
+ fi
24
+
25
+ cat >/opt/programgym/gradle-init/programgym-mirrors.gradle <<'EOF'
26
+ def pbMaven = System.getenv('PROGRAMGYM_MAVEN_MIRROR_URL')
27
+ def pbPlugins = System.getenv('PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL')
28
+ def pbJitpack = System.getenv('PROGRAMGYM_JITPACK_REPOSITORY_URL')
29
+
30
+ settingsEvaluated { settings ->
31
+ settings.pluginManagement.repositories {
32
+ if (pbPlugins) { maven { url = uri(pbPlugins) } }
33
+ if (pbMaven) { maven { url = uri(pbMaven) } }
34
+ }
35
+ }
36
+
37
+ allprojects {
38
+ buildscript.repositories {
39
+ if (pbPlugins) { maven { url = uri(pbPlugins) } }
40
+ if (pbMaven) { maven { url = uri(pbMaven) } }
41
+ if (pbJitpack) { maven { url = uri(pbJitpack) } }
42
+ }
43
+ repositories {
44
+ if (pbMaven) { maven { url = uri(pbMaven) } }
45
+ if (pbJitpack) { maven { url = uri(pbJitpack) } }
46
+ }
47
+ }
48
+ EOF
49
+ cp /opt/programgym/gradle-init/programgym-mirrors.gradle \
50
+ /workspace/.gradle/init.d/programgym-mirrors.gradle
koba789--human-in-the-loop.6f95553/environment/harbor_prepare_download_env.sh ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ command -v cargo
4
+ command -v rustc
5
+ command -v rustup
6
+ cd /workspace
7
+ set -a
8
+ if [[ -n "${PROGRAMGYM_MAVEN_MIRROR_URL:-}" ]]; then
9
+ sed -i -e "s|https://repo.maven.apache.org/maven2|${PROGRAMGYM_MAVEN_MIRROR_URL%/}|g" -e "s|https://repo1.maven.org/maven2|${PROGRAMGYM_MAVEN_MIRROR_URL%/}|g" /tmp/programgym-download.sh
10
+ fi
11
+ if [[ -n "${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL:-}" ]]; then
12
+ sed -i -e "s|https://services.gradle.org/distributions|${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL%/}|g" -e "s|https://downloads.gradle.org/distributions|${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL%/}|g" /tmp/programgym-download.sh
13
+ fi
14
+ if [[ -n "${PROGRAMGYM_JITPACK_REPOSITORY_URL:-}" ]]; then
15
+ sed -i -e "s|https://jitpack.io|${PROGRAMGYM_JITPACK_REPOSITORY_URL%/}|g" /tmp/programgym-download.sh
16
+ fi
17
+ source /tmp/programgym-download.sh
18
+ set +a
19
+ python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
20
+ import os
21
+ import shlex
22
+
23
+ ignored = {
24
+ "ALL_PROXY",
25
+ "HTTP_PROXY",
26
+ "HTTPS_PROXY",
27
+ "NO_PROXY",
28
+ "OLDPWD",
29
+ "PIP_PROXY",
30
+ "PWD",
31
+ "SHLVL",
32
+ "_",
33
+ "all_proxy",
34
+ "http_proxy",
35
+ "https_proxy",
36
+ "no_proxy",
37
+ "pip_proxy",
38
+ }
39
+ for key in sorted(os.environ):
40
+ if key in ignored or key.startswith("BASH_FUNC_"):
41
+ continue
42
+ value = os.environ[key]
43
+ if "\n" in value:
44
+ continue
45
+ print(f"export {key}={shlex.quote(value)}")
46
+ PY
47
+ chmod 0644 /etc/profile.d/programgym_download_env.sh
koba789--human-in-the-loop.6f95553/environment/workspace.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec6330da43b4264040577f18a88e65395486ba46c19cb54829b994493784601c
3
+ size 22960
koba789--human-in-the-loop.6f95553/instruction.md ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ You are a helpful assistant that can interact with a computer.
2
+
3
+ This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
4
+ Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
5
+ You must figure out the behavior solely by running and interacting with the provided binary.
6
+ Writing original code based on observed behavior is the entire point of this benchmark.
7
+
8
+ Any approach that shortcuts this — finding existing source code, wrapping the binary,
9
+ or installing the original tool — does not count as a solution. It will be detected by an
10
+ automated judge, marked as a disqualification, and scored as a failure.
11
+ The trace will be posted to an online wall of shame.
12
+
13
+ <RULES>
14
+ ## What is not allowed
15
+
16
+ ### 1. Obtaining source code
17
+
18
+ The only source of truth about what the executable does is the executable itself and its
19
+ bundled documentation. You must not search the internet, package registries, or any external
20
+ source for information about this project's source code. Even if you recognize what the
21
+ executable is, you must reimplement it from behavioral observation alone.
22
+
23
+ This includes but is not limited to:
24
+ - Cloning or browsing the original GitHub repository, its forks, or mirrors
25
+ - Downloading the project from package registries: `cargo install <project>`, `go get github.com/<org>/<project>`, `pip install <project>`, `apt-get source <project>`, `npm install <project>`, etc.
26
+ - Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
27
+ - Using a package manager to download the project as a dependency and then reading its cached source (e.g., navigating into `~/.cargo/registry/src/` or `$(go env GOPATH)/pkg/mod/`)
28
+ - Searching the web for the project's source code or implementation details
29
+
30
+ ### 2. Wrapping or reusing the original binary
31
+
32
+ Your submission must be a genuine reimplementation. The provided `./executable` is for
33
+ observation only — your final solution must not depend on it or any other pre-built version
34
+ of the same tool at runtime.
35
+
36
+ This includes but is not limited to:
37
+ - Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
38
+ - Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
39
+ - Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
40
+ - Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
41
+ - Re-linking prebuilt `.o` object files found in the workspace without writing new source code
42
+
43
+ ### 3. Binary analysis of the provided executable
44
+
45
+ All information about the provided `./executable` must be obtained by interacting with it
46
+ through its normal user interface (CLI flags, stdin/stdout, etc.).
47
+ - You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
48
+ - You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
49
+
50
+ Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
51
+ analysis tools on binaries that you produce yourself during development.
52
+
53
+ ## What IS allowed
54
+
55
+ - Running the executable with any inputs, flags, and arguments to observe its behavior
56
+ - Reading any documentation files bundled in the workspace
57
+ </RULES>
58
+
59
+ ## Task context
60
+
61
+ We want to write the source code for a given executable.
62
+ The executable is located at `./executable` in the workspace root.
63
+
64
+ You also have access to the existing documentation.
65
+
66
+ ## Your task
67
+
68
+ Implement the source code to generate an executable of exactly identical behavior as the original.
69
+
70
+ No project-specific dependencies are pre-installed.
71
+ You do NOT have access to the internet.
72
+ **IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
73
+ Finally, commit your changes.
74
+
75
+ Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
76
+ `compile.sh` should be executable and should install any dependencies needed to compile the executable.
77
+ If your compile.sh fails to compile on a fresh checkout, your task has failed.
78
+
79
+ ## Important: This is a reverse-engineering benchmark
80
+
81
+ Your goal is to write original code from scratch that reproduces the executable's behavior.
82
+ The only way to learn what the executable does is to run it and read its bundled documentation.
83
+
84
+ Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
85
+ provided binary will be detected by an automated judge, disqualified, and scored as zero.
86
+ See the full rules in the system prompt above. Key points:
87
+
88
+ - Do NOT search the internet, clone repos, or download the project from any package registry
89
+ - Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
90
+ - Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
91
+ - You SHOULD extensively test the executable to understand its behavior before writing code.
92
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
93
+
94
+ ## Recommended Workflow
95
+
96
+ 1. Explore all documentation files
97
+ 2. Play with the executable to understand its behavior (however, you MUST NOT decompile `./executable` or perform any other form of binary or strace/ltrace analysis on it)
98
+ 3. Write the source code to implement the behavior
koba789--human-in-the-loop.6f95553/solution/solve.sh ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ # Oracle-only ceiling check. The reference is execute-only for normal agents;
3
+ # because the oracle runs as the owning `agent` user it can temporarily add read
4
+ # permission and encode the binary for Harbor's normal artifact handoff.
5
+ set -euo pipefail
6
+ test -f ./executable
7
+ chmod u+r ./executable
8
+ python3 - <<'PY'
9
+ import base64
10
+ from pathlib import Path
11
+
12
+ Path(".programgym_oracle_reference").write_bytes(
13
+ base64.b64encode(Path("executable").read_bytes())
14
+ )
15
+ PY
16
+ chmod u-r ./executable
17
+ cat > compile.sh <<'EOF'
18
+ #!/usr/bin/env bash
19
+ set -euo pipefail
20
+ if [ -f ./.programgym_oracle_reference ]; then
21
+ python3 - <<'PY'
22
+ import base64
23
+ from pathlib import Path
24
+
25
+ Path("executable").write_bytes(
26
+ base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
27
+ )
28
+ PY
29
+ fi
30
+ test -f ./executable
31
+ chmod +x ./executable
32
+ EOF
33
+ chmod +x compile.sh
koba789--human-in-the-loop.6f95553/task.toml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.3"
2
+ source = "ProgramGym"
3
+ artifacts = [
4
+ "/logs/verifier/programgym_eval.json",
5
+ "/logs/verifier/harbor_diagnostics.json",
6
+ "/logs/verifier/programgym_eval.log",
7
+ "/logs/verifier/reward.json",
8
+ "/logs/verifier/reward.txt",
9
+ # Keep agent/runtime state out of the submission handoff. In particular,
10
+ # Claude Code installs an absolute symlink under .local/bin; transferring it
11
+ # makes Python's safe tar extraction reject the entire workspace archive.
12
+ { source = "/workspace", exclude = [
13
+ "executable",
14
+ ".git",
15
+ ".bashrc",
16
+ ".cache",
17
+ ".cc-switch",
18
+ ".claude",
19
+ ".local",
20
+ ] },
21
+ ]
22
+
23
+ [task]
24
+ name = "programgym/koba789--human-in-the-loop.6f95553"
25
+ description = "Synthetic ProgramGym cleanroom reconstruction task for KOBA789/human-in-the-loop"
26
+ authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
27
+ keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "rust"]
28
+
29
+ [metadata]
30
+ source = "ProgramGym"
31
+ instance_id = "KOBA789__human-in-the-loop.6f95553"
32
+ repository = "KOBA789/human-in-the-loop"
33
+ commit = "6f955531ebca5092130ac11c63788792cc424488"
34
+ language = "rust"
35
+ difficulty = "easy"
36
+ difficulty_score = 1.3778524190067545
37
+ test_branches = 3
38
+ test_count = 328
39
+
40
+ [agent]
41
+ timeout_sec = 14400
42
+ user = "agent"
43
+ network_mode = "allowlist"
44
+ allowed_hosts = ["api.anthropic.com", "api.openai.com"]
45
+
46
+ [verifier]
47
+ timeout_sec = 7200
48
+ user = "root"
49
+ environment_mode = "separate"
50
+
51
+ [verifier.env]
52
+ PROGRAMGYM_XDIST_WORKERS = "8"
53
+
54
+ [verifier.environment]
55
+ build_timeout_sec = 1800
56
+ cpus = 8
57
+ memory_mb = 16384
58
+ storage_mb = 30720
59
+ gpus = 0
60
+ workdir = "/workspace"
61
+
62
+ [environment]
63
+ network_mode = "public"
64
+ build_timeout_sec = 1800
65
+ cpus = 8
66
+ memory_mb = 16384
67
+ storage_mb = 30720
68
+ gpus = 0
69
+ workdir = "/workspace"
koba789--human-in-the-loop.6f95553/tests/Dockerfile ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM rust:1.97.1-bookworm
2
+ ARG PROGRAMGYM_APT_REPOSITORY_BASE_URL=""
3
+ ARG PROGRAMGYM_GOPROXY="https://proxy.golang.org,direct"
4
+ ARG PROGRAMGYM_GOSUMDB="sum.golang.org"
5
+ ARG PROGRAMGYM_NPM_REGISTRY="https://registry.npmjs.org/"
6
+ ARG PROGRAMGYM_NPM_STRICT_SSL="true"
7
+ ARG PROGRAMGYM_PYPI_INDEX_URL="https://pypi.org/simple"
8
+ ARG PROGRAMGYM_PYPI_TRUSTED_HOST=""
9
+ ARG PROGRAMGYM_UV_INSECURE_HOST=""
10
+ ARG PROGRAMGYM_RUSTUP_DIST_SERVER="https://static.rust-lang.org"
11
+ ARG PROGRAMGYM_RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
12
+ ARG PROGRAMGYM_CARGO_INDEX="sparse+https://index.crates.io/"
13
+ ARG PROGRAMGYM_CARGO_NET_RETRY="10"
14
+ ARG PROGRAMGYM_CARGO_HTTP_TIMEOUT="600"
15
+ ARG PROGRAMGYM_CARGO_HTTP_MULTIPLEXING="false"
16
+ ARG PROGRAMGYM_MAVEN_MIRROR_URL=""
17
+ ARG PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL=""
18
+ ARG PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL="https://services.gradle.org/distributions"
19
+ ARG PROGRAMGYM_JITPACK_REPOSITORY_URL="https://jitpack.io"
20
+ ENV GOPROXY=${PROGRAMGYM_GOPROXY}
21
+ ENV GOSUMDB=${PROGRAMGYM_GOSUMDB}
22
+ ENV PIP_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
23
+ ENV PIP_TRUSTED_HOST=${PROGRAMGYM_PYPI_TRUSTED_HOST}
24
+ ENV UV_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
25
+ ENV UV_INSECURE_HOST=${PROGRAMGYM_UV_INSECURE_HOST}
26
+ ENV npm_config_registry=${PROGRAMGYM_NPM_REGISTRY}
27
+ ENV npm_config_strict_ssl=${PROGRAMGYM_NPM_STRICT_SSL}
28
+ ENV RUSTUP_DIST_SERVER=${PROGRAMGYM_RUSTUP_DIST_SERVER}
29
+ ENV RUSTUP_UPDATE_ROOT=${PROGRAMGYM_RUSTUP_UPDATE_ROOT}
30
+ ENV CARGO_REGISTRIES_CRATES_IO_INDEX=${PROGRAMGYM_CARGO_INDEX}
31
+ ENV CARGO_NET_RETRY=${PROGRAMGYM_CARGO_NET_RETRY}
32
+ ENV CARGO_HTTP_TIMEOUT=${PROGRAMGYM_CARGO_HTTP_TIMEOUT}
33
+ ENV CARGO_HTTP_MULTIPLEXING=${PROGRAMGYM_CARGO_HTTP_MULTIPLEXING}
34
+ ENV PROGRAMGYM_MAVEN_MIRROR_URL=${PROGRAMGYM_MAVEN_MIRROR_URL}
35
+ ENV PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL=${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL}
36
+ ENV PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL=${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL}
37
+ ENV PROGRAMGYM_JITPACK_REPOSITORY_URL=${PROGRAMGYM_JITPACK_REPOSITORY_URL}
38
+ COPY harbor_configure_apt_mirror.sh /tmp/harbor_configure_apt_mirror.sh
39
+ RUN chmod 0755 /tmp/harbor_configure_apt_mirror.sh \
40
+ && /bin/bash /tmp/harbor_configure_apt_mirror.sh "${PROGRAMGYM_APT_REPOSITORY_BASE_URL}" \
41
+ && rm -f /tmp/harbor_configure_apt_mirror.sh
42
+ COPY harbor_configure_java_mirrors.sh /tmp/harbor_configure_java_mirrors.sh
43
+ RUN chmod 0755 /tmp/harbor_configure_java_mirrors.sh \
44
+ && /bin/bash /tmp/harbor_configure_java_mirrors.sh "${PROGRAMGYM_MAVEN_MIRROR_URL}" "${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL}" "${PROGRAMGYM_JITPACK_REPOSITORY_URL}" \
45
+ && rm -f /tmp/harbor_configure_java_mirrors.sh
46
+ ENV DEBIAN_FRONTEND=noninteractive
47
+ ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
48
+ ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
49
+ ENV GOTOOLCHAIN=auto
50
+ ENV UV_CACHE_DIR=/workspace/.cache/uv
51
+ ENV npm_config_cache=/workspace/.cache/npm
52
+ ENV HOME=/workspace
53
+ ENV XDG_CACHE_HOME=/workspace/.cache
54
+ ENV PIP_CACHE_DIR=/workspace/.cache/pip
55
+ ENV PYTHONUSERBASE=/workspace/.local
56
+ ENV CARGO_HOME=/usr/local/cargo
57
+ ENV RUSTUP_HOME=/usr/local/rustup
58
+ ENV RUSTUP_TOOLCHAIN=1.97.1
59
+ ENV PROGRAMGYM_RUST_TOOLCHAIN=1.97.1
60
+ ENV PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
61
+ ENV PAGER=cat
62
+ ENV MANPAGER=cat
63
+ ENV LESS=-R
64
+ ENV TQDM_DISABLE=1
65
+ RUN apt-get update && apt-get install -y --no-install-recommends apt=2.6.1 bash=5.2.15-2+b13 build-essential=12.9 ca-certificates=20250419~deb12u1 cmake=3.25.1-1 git=1:2.39.5-0+deb12u3 make=4.3-4.1 pkg-config=1.8.1-1 python3=3.11.2-1+b1 python3-pip=23.0.1+dfsg-1 python3-dev=3.11.2-1+b1 autoconf=2.71-3 automake=1:1.16.5-1.3 gettext=0.21-12 file=1:5.44-3 binutils=2.40-2 libtool=2.4.7-7~deb12u1 libncurses-dev=6.4-4 meson=1.0.1-5 ninja-build=1.11.1-2~deb12u1 curl=7.88.1-10+deb12u15 wget=1.21.3-1+deb12u1 xz-utils=5.4.1-1+deb12u1 zstd=1.5.4+dfsg2-5 bzip2=1.0.8-5+b1 zip=3.0-13 unzip=6.0-28+deb12u1 patch=2.7.6-7 grep=3.8-5 python3-pytest python3-pytest-xdist python3-coverage && rm -rf /var/lib/apt/lists/*
66
+ RUN set -eux; for attempt in 1 2 3 4 5; do rustup component add llvm-tools-preview --toolchain 1.97.1 && break; [ "$attempt" -lt 5 ] || exit 1; sleep $((attempt * 2)); done
67
+ RUN RUST_SYSROOT="$(rustc --print sysroot)"; RUST_HOST="$(rustc -vV | sed -n 's/^host: //p')"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-profdata"; test -x "$RUST_SYSROOT/lib/rustlib/$RUST_HOST/bin/llvm-cov"
68
+ RUN rustc --version && cargo --version && rustup show active-toolchain
69
+ WORKDIR /workspace
70
+ ADD workspace.tar.gz /workspace/
71
+ COPY executable /workspace/executable
72
+ COPY download.sh /tmp/programgym-download.sh
73
+ RUN chmod 755 /tmp/programgym-download.sh
74
+ COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
75
+ RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
76
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
77
+ && rm -f /tmp/programgym-download.sh \
78
+ && rm -f /tmp/harbor_prepare_download_env.sh
79
+ ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
80
+ RUN chmod 111 /workspace/executable
81
+ WORKDIR /workspace
82
+ # Harbor uses tests/ as the separate verifier build context. Start with the
83
+ # same toolchain as the agent, then remove every cleanroom workspace artifact.
84
+ RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
85
+ && mkdir -p /workspace /tests
86
+
87
+ # Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
88
+ # Installing a newer pytest alone leaves that apt package importable and creates
89
+ # an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
90
+ # Install and constrain the verifier test runner as one coherent pip toolchain.
91
+ RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
92
+ ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
93
+ RUN set -eu; \
94
+ pip_break_system_packages=""; \
95
+ if python3 -m pip install --help | grep -q -- '--break-system-packages'; then \
96
+ pip_break_system_packages="--break-system-packages"; \
97
+ fi; \
98
+ python3 -m pip install ${pip_break_system_packages} \
99
+ --no-cache-dir --disable-pip-version-check --retries 10 --timeout 120 \
100
+ 'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
101
+
102
+ COPY test.sh /tests/test.sh
103
+ COPY programgym_evaluator.py /tests/programgym_evaluator.py
104
+ COPY programgym_task.json /tests/programgym_task.json
105
+ COPY blobs/ /tests/blobs/
106
+ RUN chmod +x /tests/test.sh
107
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
koba789--human-in-the-loop.6f95553/tests/blobs/tests/generated_module_01.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9281059ef635aa47e0f19fb0e7804495aae4ec4aa4bdb63e2a406e2826d0fd79
3
+ size 20050
koba789--human-in-the-loop.6f95553/tests/blobs/tests/generated_module_02.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f67b6c913e2bc798d41c4a4858e6b531f81666456fedc13d3faab5b8265bff68
3
+ size 17401
koba789--human-in-the-loop.6f95553/tests/blobs/tests/generated_module_03.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3025e50cd12c96afb1debb1df30c7defcebef2e3c2e48809d5fba97bae89dc3
3
+ size 19861
koba789--human-in-the-loop.6f95553/tests/docker-compose.yaml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ services:
2
+ main:
3
+ build:
4
+ args:
5
+ PROGRAMGYM_APT_REPOSITORY_BASE_URL: ${PROGRAMGYM_APT_REPOSITORY_BASE_URL:-}
6
+ PROGRAMGYM_GOPROXY: ${PROGRAMGYM_GOPROXY:-https://proxy.golang.org,direct}
7
+ PROGRAMGYM_GOSUMDB: ${PROGRAMGYM_GOSUMDB:-sum.golang.org}
8
+ PROGRAMGYM_NPM_REGISTRY: ${PROGRAMGYM_NPM_REGISTRY:-https://registry.npmjs.org/}
9
+ PROGRAMGYM_NPM_STRICT_SSL: ${PROGRAMGYM_NPM_STRICT_SSL:-true}
10
+ PROGRAMGYM_PYPI_INDEX_URL: ${PROGRAMGYM_PYPI_INDEX_URL:-https://pypi.org/simple}
11
+ PROGRAMGYM_PYPI_TRUSTED_HOST: ${PROGRAMGYM_PYPI_TRUSTED_HOST:-}
12
+ PROGRAMGYM_UV_INSECURE_HOST: ${PROGRAMGYM_UV_INSECURE_HOST:-}
13
+ PROGRAMGYM_RUSTUP_DIST_SERVER: ${PROGRAMGYM_RUSTUP_DIST_SERVER:-https://static.rust-lang.org}
14
+ PROGRAMGYM_RUSTUP_UPDATE_ROOT: ${PROGRAMGYM_RUSTUP_UPDATE_ROOT:-https://static.rust-lang.org/rustup}
15
+ PROGRAMGYM_CARGO_INDEX: ${PROGRAMGYM_CARGO_INDEX:-sparse+https://index.crates.io/}
16
+ PROGRAMGYM_CARGO_NET_RETRY: ${PROGRAMGYM_CARGO_NET_RETRY:-10}
17
+ PROGRAMGYM_CARGO_HTTP_TIMEOUT: ${PROGRAMGYM_CARGO_HTTP_TIMEOUT:-600}
18
+ PROGRAMGYM_CARGO_HTTP_MULTIPLEXING: ${PROGRAMGYM_CARGO_HTTP_MULTIPLEXING:-false}
19
+ PROGRAMGYM_MAVEN_MIRROR_URL: ${PROGRAMGYM_MAVEN_MIRROR_URL:-}
20
+ PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL: ${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL:-}
21
+ PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL: ${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL:-https://services.gradle.org/distributions}
22
+ PROGRAMGYM_JITPACK_REPOSITORY_URL: ${PROGRAMGYM_JITPACK_REPOSITORY_URL:-https://jitpack.io}
koba789--human-in-the-loop.6f95553/tests/download.sh ADDED
@@ -0,0 +1,2759 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ # download.sh - ProgramGym download stage for KOBA789/human-in-the-loop
3
+ #
4
+ # This stage runs in a networked container via `source /source_ro/download.sh`.
5
+ # It ONLY prefetches Rust dependencies into the shared Cargo cache (~/.cargo);
6
+ # it never compiles, links, tests, or builds the project. It is fully
7
+ # standalone: it never reads any repository file. Instead, this script embeds
8
+ # the exact dependency manifest (Cargo.toml) and the exact locked dependency
9
+ # graph (Cargo.lock) inline, generates them into a temporary directory, and runs
10
+ # run `cargo fetch --manifest-path ... --locked` to materialize every crate the
11
+ # offline build requires -- including the two git dependencies on
12
+ # modelcontextprotocol/rust-sdk at rev b9d7d61ebd6e8385cbc4aa105d4e25774fc1a59c.
13
+
14
+ # Source-safe: record whether we are sourced so a failure unwinds correctly.
15
+ if [ "${BASH_SOURCE[0]}" = "$0" ]; then
16
+ _sourced=0
17
+ else
18
+ _sourced=1
19
+ fi
20
+ _fail_download() {
21
+ echo "download.sh error: $1" >&2
22
+ if [ "$_sourced" -eq 0 ]; then
23
+ exit 1
24
+ fi
25
+ return 1
26
+ }
27
+
28
+ # Work in a temp dir so we never touch the mounted repository source tree.
29
+ _tmp_dir="$(mktemp -d /tmp/hitl-download.XXXXXX)" || _fail_download "mktemp failed"
30
+ trap 'rm -rf "$_tmp_dir"' EXIT INT TERM
31
+
32
+ # ---------------------------------------------------------------------------
33
+ # 1. Generate the package manifest (Cargo.toml). This reproduces the repository
34
+ # package name and dependency declarations EXACTLY, so that under --locked it
35
+ # matches the embedded Cargo.lock. The [lib] section points at a stub so the
36
+ # generated crate is a valid, resolvable package (local prefetch does not compile).
37
+ # ---------------------------------------------------------------------------
38
+ _cargo_manifest="$_tmp_dir/Cargo.toml"
39
+ cat > "$_cargo_manifest" <<'MANIFEST_EOF'
40
+ [package]
41
+ name = "human-in-the-loop"
42
+ version = "0.1.0"
43
+ edition = "2021"
44
+
45
+ [dependencies]
46
+ anyhow = "1"
47
+ clap = { version = "4.5.40", features = ["derive", "env"] }
48
+ tokio = { version = "1.45.1", features = ["macros", "rt-multi-thread", "io-std"] }
49
+ serenity = { version = "0.12.4", features = ["collector"] }
50
+ serde = { version = "1.0", features = ["derive"] }
51
+ serde_json = "1.0"
52
+ rmcp = { git = "https://github.com/modelcontextprotocol/rust-sdk", rev = "b9d7d61ebd6e8385cbc4aa105d4e25774fc1a59c" }
53
+ rmcp-macros = { git = "https://github.com/modelcontextprotocol/rust-sdk", rev = "b9d7d61ebd6e8385cbc4aa105d4e25774fc1a59c" }
54
+ schemars = "0.8"
55
+ async-trait = "0.1.88"
56
+
57
+ [lib]
58
+ MANIFEST_EOF
59
+
60
+ mkdir -p "$_tmp_dir/src"
61
+ printf 'pub fn _stub() {}
62
+ ' > "$_tmp_dir/src/lib.rs"
63
+
64
+ # ---------------------------------------------------------------------------
65
+ # 2. Generate the exact Cargo.lock that the repository builds with, so the
66
+ # prefetch downloads precisely the locked versions (not newer compatible
67
+ # ones). Embedded inline; the repository Cargo.lock is never read.
68
+ # ---------------------------------------------------------------------------
69
+ _cargo_lock="$_tmp_dir/Cargo.lock"
70
+ cat > "$_cargo_lock" <<'LOCK_EOF'
71
+ # This file is automatically @generated by Cargo.
72
+ # It is not intended for manual editing.
73
+ version = 4
74
+
75
+ [[package]]
76
+ name = "addr2line"
77
+ version = "0.24.2"
78
+ source = "registry+https://github.com/rust-lang/crates.io-index"
79
+ checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1"
80
+ dependencies = [
81
+ "gimli",
82
+ ]
83
+
84
+ [[package]]
85
+ name = "adler2"
86
+ version = "2.0.1"
87
+ source = "registry+https://github.com/rust-lang/crates.io-index"
88
+ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
89
+
90
+ [[package]]
91
+ name = "android-tzdata"
92
+ version = "0.1.1"
93
+ source = "registry+https://github.com/rust-lang/crates.io-index"
94
+ checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"
95
+
96
+ [[package]]
97
+ name = "android_system_properties"
98
+ version = "0.1.5"
99
+ source = "registry+https://github.com/rust-lang/crates.io-index"
100
+ checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
101
+ dependencies = [
102
+ "libc",
103
+ ]
104
+
105
+ [[package]]
106
+ name = "anstream"
107
+ version = "0.6.19"
108
+ source = "registry+https://github.com/rust-lang/crates.io-index"
109
+ checksum = "301af1932e46185686725e0fad2f8f2aa7da69dd70bf6ecc44d6b703844a3933"
110
+ dependencies = [
111
+ "anstyle",
112
+ "anstyle-parse",
113
+ "anstyle-query",
114
+ "anstyle-wincon",
115
+ "colorchoice",
116
+ "is_terminal_polyfill",
117
+ "utf8parse",
118
+ ]
119
+
120
+ [[package]]
121
+ name = "anstyle"
122
+ version = "1.0.11"
123
+ source = "registry+https://github.com/rust-lang/crates.io-index"
124
+ checksum = "862ed96ca487e809f1c8e5a8447f6ee2cf102f846893800b20cebdf541fc6bbd"
125
+
126
+ [[package]]
127
+ name = "anstyle-parse"
128
+ version = "0.2.7"
129
+ source = "registry+https://github.com/rust-lang/crates.io-index"
130
+ checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2"
131
+ dependencies = [
132
+ "utf8parse",
133
+ ]
134
+
135
+ [[package]]
136
+ name = "anstyle-query"
137
+ version = "1.1.3"
138
+ source = "registry+https://github.com/rust-lang/crates.io-index"
139
+ checksum = "6c8bdeb6047d8983be085bab0ba1472e6dc604e7041dbf6fcd5e71523014fae9"
140
+ dependencies = [
141
+ "windows-sys 0.59.0",
142
+ ]
143
+
144
+ [[package]]
145
+ name = "anstyle-wincon"
146
+ version = "3.0.9"
147
+ source = "registry+https://github.com/rust-lang/crates.io-index"
148
+ checksum = "403f75924867bb1033c59fbf0797484329750cfbe3c4325cd33127941fabc882"
149
+ dependencies = [
150
+ "anstyle",
151
+ "once_cell_polyfill",
152
+ "windows-sys 0.59.0",
153
+ ]
154
+
155
+ [[package]]
156
+ name = "anyhow"
157
+ version = "1.0.98"
158
+ source = "registry+https://github.com/rust-lang/crates.io-index"
159
+ checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487"
160
+
161
+ [[package]]
162
+ name = "arrayvec"
163
+ version = "0.7.6"
164
+ source = "registry+https://github.com/rust-lang/crates.io-index"
165
+ checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
166
+ dependencies = [
167
+ "serde",
168
+ ]
169
+
170
+ [[package]]
171
+ name = "async-trait"
172
+ version = "0.1.88"
173
+ source = "registry+https://github.com/rust-lang/crates.io-index"
174
+ checksum = "e539d3fca749fcee5236ab05e93a52867dd549cc157c8cb7f99595f3cedffdb5"
175
+ dependencies = [
176
+ "proc-macro2",
177
+ "quote",
178
+ "syn 2.0.104",
179
+ ]
180
+
181
+ [[package]]
182
+ name = "autocfg"
183
+ version = "1.5.0"
184
+ source = "registry+https://github.com/rust-lang/crates.io-index"
185
+ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
186
+
187
+ [[package]]
188
+ name = "backtrace"
189
+ version = "0.3.75"
190
+ source = "registry+https://github.com/rust-lang/crates.io-index"
191
+ checksum = "6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002"
192
+ dependencies = [
193
+ "addr2line",
194
+ "cfg-if",
195
+ "libc",
196
+ "miniz_oxide",
197
+ "object",
198
+ "rustc-demangle",
199
+ "windows-targets 0.52.6",
200
+ ]
201
+
202
+ [[package]]
203
+ name = "base64"
204
+ version = "0.21.7"
205
+ source = "registry+https://github.com/rust-lang/crates.io-index"
206
+ checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
207
+
208
+ [[package]]
209
+ name = "base64"
210
+ version = "0.22.1"
211
+ source = "registry+https://github.com/rust-lang/crates.io-index"
212
+ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
213
+
214
+ [[package]]
215
+ name = "bitflags"
216
+ version = "1.3.2"
217
+ source = "registry+https://github.com/rust-lang/crates.io-index"
218
+ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
219
+
220
+ [[package]]
221
+ name = "bitflags"
222
+ version = "2.9.1"
223
+ source = "registry+https://github.com/rust-lang/crates.io-index"
224
+ checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"
225
+
226
+ [[package]]
227
+ name = "block-buffer"
228
+ version = "0.10.4"
229
+ source = "registry+https://github.com/rust-lang/crates.io-index"
230
+ checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
231
+ dependencies = [
232
+ "generic-array",
233
+ ]
234
+
235
+ [[package]]
236
+ name = "bumpalo"
237
+ version = "3.18.1"
238
+ source = "registry+https://github.com/rust-lang/crates.io-index"
239
+ checksum = "793db76d6187cd04dff33004d8e6c9cc4e05cd330500379d2394209271b4aeee"
240
+
241
+ [[package]]
242
+ name = "bytecount"
243
+ version = "0.6.9"
244
+ source = "registry+https://github.com/rust-lang/crates.io-index"
245
+ checksum = "175812e0be2bccb6abe50bb8d566126198344f707e304f45c648fd8f2cc0365e"
246
+
247
+ [[package]]
248
+ name = "byteorder"
249
+ version = "1.5.0"
250
+ source = "registry+https://github.com/rust-lang/crates.io-index"
251
+ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
252
+
253
+ [[package]]
254
+ name = "bytes"
255
+ version = "1.10.1"
256
+ source = "registry+https://github.com/rust-lang/crates.io-index"
257
+ checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a"
258
+
259
+ [[package]]
260
+ name = "camino"
261
+ version = "1.1.10"
262
+ source = "registry+https://github.com/rust-lang/crates.io-index"
263
+ checksum = "0da45bc31171d8d6960122e222a67740df867c1dd53b4d51caa297084c185cab"
264
+ dependencies = [
265
+ "serde",
266
+ ]
267
+
268
+ [[package]]
269
+ name = "cargo-platform"
270
+ version = "0.1.9"
271
+ source = "registry+https://github.com/rust-lang/crates.io-index"
272
+ checksum = "e35af189006b9c0f00a064685c727031e3ed2d8020f7ba284d78cc2671bd36ea"
273
+ dependencies = [
274
+ "serde",
275
+ ]
276
+
277
+ [[package]]
278
+ name = "cargo_metadata"
279
+ version = "0.14.2"
280
+ source = "registry+https://github.com/rust-lang/crates.io-index"
281
+ checksum = "4acbb09d9ee8e23699b9634375c72795d095bf268439da88562cf9b501f181fa"
282
+ dependencies = [
283
+ "camino",
284
+ "cargo-platform",
285
+ "semver",
286
+ "serde",
287
+ "serde_json",
288
+ ]
289
+
290
+ [[package]]
291
+ name = "cc"
292
+ version = "1.2.27"
293
+ source = "registry+https://github.com/rust-lang/crates.io-index"
294
+ checksum = "d487aa071b5f64da6f19a3e848e3578944b726ee5a4854b82172f02aa876bfdc"
295
+ dependencies = [
296
+ "shlex",
297
+ ]
298
+
299
+ [[package]]
300
+ name = "cfg-if"
301
+ version = "1.0.1"
302
+ source = "registry+https://github.com/rust-lang/crates.io-index"
303
+ checksum = "9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268"
304
+
305
+ [[package]]
306
+ name = "chrono"
307
+ version = "0.4.41"
308
+ source = "registry+https://github.com/rust-lang/crates.io-index"
309
+ checksum = "c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d"
310
+ dependencies = [
311
+ "android-tzdata",
312
+ "iana-time-zone",
313
+ "js-sys",
314
+ "num-traits",
315
+ "serde",
316
+ "wasm-bindgen",
317
+ "windows-link",
318
+ ]
319
+
320
+ [[package]]
321
+ name = "clap"
322
+ version = "4.5.40"
323
+ source = "registry+https://github.com/rust-lang/crates.io-index"
324
+ checksum = "40b6887a1d8685cebccf115538db5c0efe625ccac9696ad45c409d96566e910f"
325
+ dependencies = [
326
+ "clap_builder",
327
+ "clap_derive",
328
+ ]
329
+
330
+ [[package]]
331
+ name = "clap_builder"
332
+ version = "4.5.40"
333
+ source = "registry+https://github.com/rust-lang/crates.io-index"
334
+ checksum = "e0c66c08ce9f0c698cbce5c0279d0bb6ac936d8674174fe48f736533b964f59e"
335
+ dependencies = [
336
+ "anstream",
337
+ "anstyle",
338
+ "clap_lex",
339
+ "strsim",
340
+ ]
341
+
342
+ [[package]]
343
+ name = "clap_derive"
344
+ version = "4.5.40"
345
+ source = "registry+https://github.com/rust-lang/crates.io-index"
346
+ checksum = "d2c7947ae4cc3d851207c1adb5b5e260ff0cca11446b1d6d1423788e442257ce"
347
+ dependencies = [
348
+ "heck",
349
+ "proc-macro2",
350
+ "quote",
351
+ "syn 2.0.104",
352
+ ]
353
+
354
+ [[package]]
355
+ name = "clap_lex"
356
+ version = "0.7.5"
357
+ source = "registry+https://github.com/rust-lang/crates.io-index"
358
+ checksum = "b94f61472cee1439c0b966b47e3aca9ae07e45d070759512cd390ea2bebc6675"
359
+
360
+ [[package]]
361
+ name = "colorchoice"
362
+ version = "1.0.4"
363
+ source = "registry+https://github.com/rust-lang/crates.io-index"
364
+ checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75"
365
+
366
+ [[package]]
367
+ name = "command_attr"
368
+ version = "0.5.3"
369
+ source = "registry+https://github.com/rust-lang/crates.io-index"
370
+ checksum = "6fcc89439e1bb4e19050a9586a767781a3060000d2f3296fd2a40597ad9421c5"
371
+ dependencies = [
372
+ "proc-macro2",
373
+ "quote",
374
+ "syn 1.0.109",
375
+ ]
376
+
377
+ [[package]]
378
+ name = "core-foundation"
379
+ version = "0.9.4"
380
+ source = "registry+https://github.com/rust-lang/crates.io-index"
381
+ checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"
382
+ dependencies = [
383
+ "core-foundation-sys",
384
+ "libc",
385
+ ]
386
+
387
+ [[package]]
388
+ name = "core-foundation-sys"
389
+ version = "0.8.7"
390
+ source = "registry+https://github.com/rust-lang/crates.io-index"
391
+ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
392
+
393
+ [[package]]
394
+ name = "cpufeatures"
395
+ version = "0.2.17"
396
+ source = "registry+https://github.com/rust-lang/crates.io-index"
397
+ checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
398
+ dependencies = [
399
+ "libc",
400
+ ]
401
+
402
+ [[package]]
403
+ name = "crc32fast"
404
+ version = "1.4.2"
405
+ source = "registry+https://github.com/rust-lang/crates.io-index"
406
+ checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
407
+ dependencies = [
408
+ "cfg-if",
409
+ ]
410
+
411
+ [[package]]
412
+ name = "crossbeam-channel"
413
+ version = "0.5.15"
414
+ source = "registry+https://github.com/rust-lang/crates.io-index"
415
+ checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2"
416
+ dependencies = [
417
+ "crossbeam-utils",
418
+ ]
419
+
420
+ [[package]]
421
+ name = "crossbeam-utils"
422
+ version = "0.8.21"
423
+ source = "registry+https://github.com/rust-lang/crates.io-index"
424
+ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
425
+
426
+ [[package]]
427
+ name = "crypto-common"
428
+ version = "0.1.6"
429
+ source = "registry+https://github.com/rust-lang/crates.io-index"
430
+ checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
431
+ dependencies = [
432
+ "generic-array",
433
+ "typenum",
434
+ ]
435
+
436
+ [[package]]
437
+ name = "darling"
438
+ version = "0.20.11"
439
+ source = "registry+https://github.com/rust-lang/crates.io-index"
440
+ checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee"
441
+ dependencies = [
442
+ "darling_core",
443
+ "darling_macro",
444
+ ]
445
+
446
+ [[package]]
447
+ name = "darling_core"
448
+ version = "0.20.11"
449
+ source = "registry+https://github.com/rust-lang/crates.io-index"
450
+ checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e"
451
+ dependencies = [
452
+ "fnv",
453
+ "ident_case",
454
+ "proc-macro2",
455
+ "quote",
456
+ "strsim",
457
+ "syn 2.0.104",
458
+ ]
459
+
460
+ [[package]]
461
+ name = "darling_macro"
462
+ version = "0.20.11"
463
+ source = "registry+https://github.com/rust-lang/crates.io-index"
464
+ checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead"
465
+ dependencies = [
466
+ "darling_core",
467
+ "quote",
468
+ "syn 2.0.104",
469
+ ]
470
+
471
+ [[package]]
472
+ name = "dashmap"
473
+ version = "5.5.3"
474
+ source = "registry+https://github.com/rust-lang/crates.io-index"
475
+ checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856"
476
+ dependencies = [
477
+ "cfg-if",
478
+ "hashbrown 0.14.5",
479
+ "lock_api",
480
+ "once_cell",
481
+ "parking_lot_core",
482
+ "serde",
483
+ ]
484
+
485
+ [[package]]
486
+ name = "data-encoding"
487
+ version = "2.9.0"
488
+ source = "registry+https://github.com/rust-lang/crates.io-index"
489
+ checksum = "2a2330da5de22e8a3cb63252ce2abb30116bf5265e89c0e01bc17015ce30a476"
490
+
491
+ [[package]]
492
+ name = "deranged"
493
+ version = "0.4.0"
494
+ source = "registry+https://github.com/rust-lang/crates.io-index"
495
+ checksum = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e"
496
+ dependencies = [
497
+ "powerfmt",
498
+ "serde",
499
+ ]
500
+
501
+ [[package]]
502
+ name = "digest"
503
+ version = "0.10.7"
504
+ source = "registry+https://github.com/rust-lang/crates.io-index"
505
+ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
506
+ dependencies = [
507
+ "block-buffer",
508
+ "crypto-common",
509
+ ]
510
+
511
+ [[package]]
512
+ name = "displaydoc"
513
+ version = "0.2.5"
514
+ source = "registry+https://github.com/rust-lang/crates.io-index"
515
+ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
516
+ dependencies = [
517
+ "proc-macro2",
518
+ "quote",
519
+ "syn 2.0.104",
520
+ ]
521
+
522
+ [[package]]
523
+ name = "dyn-clone"
524
+ version = "1.0.19"
525
+ source = "registry+https://github.com/rust-lang/crates.io-index"
526
+ checksum = "1c7a8fb8a9fbf66c1f703fe16184d10ca0ee9d23be5b4436400408ba54a95005"
527
+
528
+ [[package]]
529
+ name = "encoding_rs"
530
+ version = "0.8.35"
531
+ source = "registry+https://github.com/rust-lang/crates.io-index"
532
+ checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3"
533
+ dependencies = [
534
+ "cfg-if",
535
+ ]
536
+
537
+ [[package]]
538
+ name = "equivalent"
539
+ version = "1.0.2"
540
+ source = "registry+https://github.com/rust-lang/crates.io-index"
541
+ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
542
+
543
+ [[package]]
544
+ name = "errno"
545
+ version = "0.3.13"
546
+ source = "registry+https://github.com/rust-lang/crates.io-index"
547
+ checksum = "778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad"
548
+ dependencies = [
549
+ "libc",
550
+ "windows-sys 0.60.2",
551
+ ]
552
+
553
+ [[package]]
554
+ name = "error-chain"
555
+ version = "0.12.4"
556
+ source = "registry+https://github.com/rust-lang/crates.io-index"
557
+ checksum = "2d2f06b9cac1506ece98fe3231e3cc9c4410ec3d5b1f24ae1c8946f0742cdefc"
558
+ dependencies = [
559
+ "version_check",
560
+ ]
561
+
562
+ [[package]]
563
+ name = "fastrand"
564
+ version = "2.3.0"
565
+ source = "registry+https://github.com/rust-lang/crates.io-index"
566
+ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
567
+
568
+ [[package]]
569
+ name = "flate2"
570
+ version = "1.1.2"
571
+ source = "registry+https://github.com/rust-lang/crates.io-index"
572
+ checksum = "4a3d7db9596fecd151c5f638c0ee5d5bd487b6e0ea232e5dc96d5250f6f94b1d"
573
+ dependencies = [
574
+ "crc32fast",
575
+ "miniz_oxide",
576
+ ]
577
+
578
+ [[package]]
579
+ name = "fnv"
580
+ version = "1.0.7"
581
+ source = "registry+https://github.com/rust-lang/crates.io-index"
582
+ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
583
+
584
+ [[package]]
585
+ name = "form_urlencoded"
586
+ version = "1.2.1"
587
+ source = "registry+https://github.com/rust-lang/crates.io-index"
588
+ checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
589
+ dependencies = [
590
+ "percent-encoding",
591
+ ]
592
+
593
+ [[package]]
594
+ name = "futures"
595
+ version = "0.3.31"
596
+ source = "registry+https://github.com/rust-lang/crates.io-index"
597
+ checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876"
598
+ dependencies = [
599
+ "futures-channel",
600
+ "futures-core",
601
+ "futures-executor",
602
+ "futures-io",
603
+ "futures-sink",
604
+ "futures-task",
605
+ "futures-util",
606
+ ]
607
+
608
+ [[package]]
609
+ name = "futures-channel"
610
+ version = "0.3.31"
611
+ source = "registry+https://github.com/rust-lang/crates.io-index"
612
+ checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10"
613
+ dependencies = [
614
+ "futures-core",
615
+ "futures-sink",
616
+ ]
617
+
618
+ [[package]]
619
+ name = "futures-core"
620
+ version = "0.3.31"
621
+ source = "registry+https://github.com/rust-lang/crates.io-index"
622
+ checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
623
+
624
+ [[package]]
625
+ name = "futures-executor"
626
+ version = "0.3.31"
627
+ source = "registry+https://github.com/rust-lang/crates.io-index"
628
+ checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f"
629
+ dependencies = [
630
+ "futures-core",
631
+ "futures-task",
632
+ "futures-util",
633
+ ]
634
+
635
+ [[package]]
636
+ name = "futures-io"
637
+ version = "0.3.31"
638
+ source = "registry+https://github.com/rust-lang/crates.io-index"
639
+ checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6"
640
+
641
+ [[package]]
642
+ name = "futures-macro"
643
+ version = "0.3.31"
644
+ source = "registry+https://github.com/rust-lang/crates.io-index"
645
+ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650"
646
+ dependencies = [
647
+ "proc-macro2",
648
+ "quote",
649
+ "syn 2.0.104",
650
+ ]
651
+
652
+ [[package]]
653
+ name = "futures-sink"
654
+ version = "0.3.31"
655
+ source = "registry+https://github.com/rust-lang/crates.io-index"
656
+ checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7"
657
+
658
+ [[package]]
659
+ name = "futures-task"
660
+ version = "0.3.31"
661
+ source = "registry+https://github.com/rust-lang/crates.io-index"
662
+ checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988"
663
+
664
+ [[package]]
665
+ name = "futures-util"
666
+ version = "0.3.31"
667
+ source = "registry+https://github.com/rust-lang/crates.io-index"
668
+ checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
669
+ dependencies = [
670
+ "futures-channel",
671
+ "futures-core",
672
+ "futures-io",
673
+ "futures-macro",
674
+ "futures-sink",
675
+ "futures-task",
676
+ "memchr",
677
+ "pin-project-lite",
678
+ "pin-utils",
679
+ "slab",
680
+ ]
681
+
682
+ [[package]]
683
+ name = "fxhash"
684
+ version = "0.2.1"
685
+ source = "registry+https://github.com/rust-lang/crates.io-index"
686
+ checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c"
687
+ dependencies = [
688
+ "byteorder",
689
+ ]
690
+
691
+ [[package]]
692
+ name = "generic-array"
693
+ version = "0.14.7"
694
+ source = "registry+https://github.com/rust-lang/crates.io-index"
695
+ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
696
+ dependencies = [
697
+ "typenum",
698
+ "version_check",
699
+ ]
700
+
701
+ [[package]]
702
+ name = "getrandom"
703
+ version = "0.2.16"
704
+ source = "registry+https://github.com/rust-lang/crates.io-index"
705
+ checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592"
706
+ dependencies = [
707
+ "cfg-if",
708
+ "libc",
709
+ "wasi 0.11.1+wasi-snapshot-preview1",
710
+ ]
711
+
712
+ [[package]]
713
+ name = "getrandom"
714
+ version = "0.3.3"
715
+ source = "registry+https://github.com/rust-lang/crates.io-index"
716
+ checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4"
717
+ dependencies = [
718
+ "cfg-if",
719
+ "libc",
720
+ "r-efi",
721
+ "wasi 0.14.2+wasi-0.2.4",
722
+ ]
723
+
724
+ [[package]]
725
+ name = "gimli"
726
+ version = "0.31.1"
727
+ source = "registry+https://github.com/rust-lang/crates.io-index"
728
+ checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f"
729
+
730
+ [[package]]
731
+ name = "glob"
732
+ version = "0.3.2"
733
+ source = "registry+https://github.com/rust-lang/crates.io-index"
734
+ checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2"
735
+
736
+ [[package]]
737
+ name = "h2"
738
+ version = "0.3.26"
739
+ source = "registry+https://github.com/rust-lang/crates.io-index"
740
+ checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8"
741
+ dependencies = [
742
+ "bytes",
743
+ "fnv",
744
+ "futures-core",
745
+ "futures-sink",
746
+ "futures-util",
747
+ "http 0.2.12",
748
+ "indexmap",
749
+ "slab",
750
+ "tokio",
751
+ "tokio-util",
752
+ "tracing",
753
+ ]
754
+
755
+ [[package]]
756
+ name = "hashbrown"
757
+ version = "0.14.5"
758
+ source = "registry+https://github.com/rust-lang/crates.io-index"
759
+ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
760
+
761
+ [[package]]
762
+ name = "hashbrown"
763
+ version = "0.15.4"
764
+ source = "registry+https://github.com/rust-lang/crates.io-index"
765
+ checksum = "5971ac85611da7067dbfcabef3c70ebb5606018acd9e2a3903a0da507521e0d5"
766
+
767
+ [[package]]
768
+ name = "heck"
769
+ version = "0.5.0"
770
+ source = "registry+https://github.com/rust-lang/crates.io-index"
771
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
772
+
773
+ [[package]]
774
+ name = "http"
775
+ version = "0.2.12"
776
+ source = "registry+https://github.com/rust-lang/crates.io-index"
777
+ checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1"
778
+ dependencies = [
779
+ "bytes",
780
+ "fnv",
781
+ "itoa",
782
+ ]
783
+
784
+ [[package]]
785
+ name = "http"
786
+ version = "1.3.1"
787
+ source = "registry+https://github.com/rust-lang/crates.io-index"
788
+ checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565"
789
+ dependencies = [
790
+ "bytes",
791
+ "fnv",
792
+ "itoa",
793
+ ]
794
+
795
+ [[package]]
796
+ name = "http-body"
797
+ version = "0.4.6"
798
+ source = "registry+https://github.com/rust-lang/crates.io-index"
799
+ checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2"
800
+ dependencies = [
801
+ "bytes",
802
+ "http 0.2.12",
803
+ "pin-project-lite",
804
+ ]
805
+
806
+ [[package]]
807
+ name = "httparse"
808
+ version = "1.10.1"
809
+ source = "registry+https://github.com/rust-lang/crates.io-index"
810
+ checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
811
+
812
+ [[package]]
813
+ name = "httpdate"
814
+ version = "1.0.3"
815
+ source = "registry+https://github.com/rust-lang/crates.io-index"
816
+ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
817
+
818
+ [[package]]
819
+ name = "human-in-the-loop"
820
+ version = "0.1.0"
821
+ dependencies = [
822
+ "anyhow",
823
+ "async-trait",
824
+ "clap",
825
+ "rmcp",
826
+ "rmcp-macros",
827
+ "schemars",
828
+ "serde",
829
+ "serde_json",
830
+ "serenity",
831
+ "tokio",
832
+ ]
833
+
834
+ [[package]]
835
+ name = "hyper"
836
+ version = "0.14.32"
837
+ source = "registry+https://github.com/rust-lang/crates.io-index"
838
+ checksum = "41dfc780fdec9373c01bae43289ea34c972e40ee3c9f6b3c8801a35f35586ce7"
839
+ dependencies = [
840
+ "bytes",
841
+ "futures-channel",
842
+ "futures-core",
843
+ "futures-util",
844
+ "h2",
845
+ "http 0.2.12",
846
+ "http-body",
847
+ "httparse",
848
+ "httpdate",
849
+ "itoa",
850
+ "pin-project-lite",
851
+ "socket2",
852
+ "tokio",
853
+ "tower-service",
854
+ "tracing",
855
+ "want",
856
+ ]
857
+
858
+ [[package]]
859
+ name = "hyper-rustls"
860
+ version = "0.24.2"
861
+ source = "registry+https://github.com/rust-lang/crates.io-index"
862
+ checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590"
863
+ dependencies = [
864
+ "futures-util",
865
+ "http 0.2.12",
866
+ "hyper",
867
+ "rustls 0.21.12",
868
+ "tokio",
869
+ "tokio-rustls 0.24.1",
870
+ ]
871
+
872
+ [[package]]
873
+ name = "iana-time-zone"
874
+ version = "0.1.63"
875
+ source = "registry+https://github.com/rust-lang/crates.io-index"
876
+ checksum = "b0c919e5debc312ad217002b8048a17b7d83f80703865bbfcfebb0458b0b27d8"
877
+ dependencies = [
878
+ "android_system_properties",
879
+ "core-foundation-sys",
880
+ "iana-time-zone-haiku",
881
+ "js-sys",
882
+ "log",
883
+ "wasm-bindgen",
884
+ "windows-core",
885
+ ]
886
+
887
+ [[package]]
888
+ name = "iana-time-zone-haiku"
889
+ version = "0.1.2"
890
+ source = "registry+https://github.com/rust-lang/crates.io-index"
891
+ checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
892
+ dependencies = [
893
+ "cc",
894
+ ]
895
+
896
+ [[package]]
897
+ name = "icu_collections"
898
+ version = "2.0.0"
899
+ source = "registry+https://github.com/rust-lang/crates.io-index"
900
+ checksum = "200072f5d0e3614556f94a9930d5dc3e0662a652823904c3a75dc3b0af7fee47"
901
+ dependencies = [
902
+ "displaydoc",
903
+ "potential_utf",
904
+ "yoke",
905
+ "zerofrom",
906
+ "zerovec",
907
+ ]
908
+
909
+ [[package]]
910
+ name = "icu_locale_core"
911
+ version = "2.0.0"
912
+ source = "registry+https://github.com/rust-lang/crates.io-index"
913
+ checksum = "0cde2700ccaed3872079a65fb1a78f6c0a36c91570f28755dda67bc8f7d9f00a"
914
+ dependencies = [
915
+ "displaydoc",
916
+ "litemap",
917
+ "tinystr",
918
+ "writeable",
919
+ "zerovec",
920
+ ]
921
+
922
+ [[package]]
923
+ name = "icu_normalizer"
924
+ version = "2.0.0"
925
+ source = "registry+https://github.com/rust-lang/crates.io-index"
926
+ checksum = "436880e8e18df4d7bbc06d58432329d6458cc84531f7ac5f024e93deadb37979"
927
+ dependencies = [
928
+ "displaydoc",
929
+ "icu_collections",
930
+ "icu_normalizer_data",
931
+ "icu_properties",
932
+ "icu_provider",
933
+ "smallvec",
934
+ "zerovec",
935
+ ]
936
+
937
+ [[package]]
938
+ name = "icu_normalizer_data"
939
+ version = "2.0.0"
940
+ source = "registry+https://github.com/rust-lang/crates.io-index"
941
+ checksum = "00210d6893afc98edb752b664b8890f0ef174c8adbb8d0be9710fa66fbbf72d3"
942
+
943
+ [[package]]
944
+ name = "icu_properties"
945
+ version = "2.0.1"
946
+ source = "registry+https://github.com/rust-lang/crates.io-index"
947
+ checksum = "016c619c1eeb94efb86809b015c58f479963de65bdb6253345c1a1276f22e32b"
948
+ dependencies = [
949
+ "displaydoc",
950
+ "icu_collections",
951
+ "icu_locale_core",
952
+ "icu_properties_data",
953
+ "icu_provider",
954
+ "potential_utf",
955
+ "zerotrie",
956
+ "zerovec",
957
+ ]
958
+
959
+ [[package]]
960
+ name = "icu_properties_data"
961
+ version = "2.0.1"
962
+ source = "registry+https://github.com/rust-lang/crates.io-index"
963
+ checksum = "298459143998310acd25ffe6810ed544932242d3f07083eee1084d83a71bd632"
964
+
965
+ [[package]]
966
+ name = "icu_provider"
967
+ version = "2.0.0"
968
+ source = "registry+https://github.com/rust-lang/crates.io-index"
969
+ checksum = "03c80da27b5f4187909049ee2d72f276f0d9f99a42c306bd0131ecfe04d8e5af"
970
+ dependencies = [
971
+ "displaydoc",
972
+ "icu_locale_core",
973
+ "stable_deref_trait",
974
+ "tinystr",
975
+ "writeable",
976
+ "yoke",
977
+ "zerofrom",
978
+ "zerotrie",
979
+ "zerovec",
980
+ ]
981
+
982
+ [[package]]
983
+ name = "ident_case"
984
+ version = "1.0.1"
985
+ source = "registry+https://github.com/rust-lang/crates.io-index"
986
+ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
987
+
988
+ [[package]]
989
+ name = "idna"
990
+ version = "1.0.3"
991
+ source = "registry+https://github.com/rust-lang/crates.io-index"
992
+ checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e"
993
+ dependencies = [
994
+ "idna_adapter",
995
+ "smallvec",
996
+ "utf8_iter",
997
+ ]
998
+
999
+ [[package]]
1000
+ name = "idna_adapter"
1001
+ version = "1.2.1"
1002
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1003
+ checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344"
1004
+ dependencies = [
1005
+ "icu_normalizer",
1006
+ "icu_properties",
1007
+ ]
1008
+
1009
+ [[package]]
1010
+ name = "indexmap"
1011
+ version = "2.9.0"
1012
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1013
+ checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e"
1014
+ dependencies = [
1015
+ "equivalent",
1016
+ "hashbrown 0.15.4",
1017
+ ]
1018
+
1019
+ [[package]]
1020
+ name = "ipnet"
1021
+ version = "2.11.0"
1022
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1023
+ checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130"
1024
+
1025
+ [[package]]
1026
+ name = "is_terminal_polyfill"
1027
+ version = "1.70.1"
1028
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1029
+ checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
1030
+
1031
+ [[package]]
1032
+ name = "itoa"
1033
+ version = "1.0.15"
1034
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1035
+ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
1036
+
1037
+ [[package]]
1038
+ name = "js-sys"
1039
+ version = "0.3.77"
1040
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1041
+ checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
1042
+ dependencies = [
1043
+ "once_cell",
1044
+ "wasm-bindgen",
1045
+ ]
1046
+
1047
+ [[package]]
1048
+ name = "levenshtein"
1049
+ version = "1.0.5"
1050
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1051
+ checksum = "db13adb97ab515a3691f56e4dbab09283d0b86cb45abd991d8634a9d6f501760"
1052
+
1053
+ [[package]]
1054
+ name = "libc"
1055
+ version = "0.2.174"
1056
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1057
+ checksum = "1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776"
1058
+
1059
+ [[package]]
1060
+ name = "linux-raw-sys"
1061
+ version = "0.9.4"
1062
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1063
+ checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12"
1064
+
1065
+ [[package]]
1066
+ name = "litemap"
1067
+ version = "0.8.0"
1068
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1069
+ checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956"
1070
+
1071
+ [[package]]
1072
+ name = "lock_api"
1073
+ version = "0.4.13"
1074
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1075
+ checksum = "96936507f153605bddfcda068dd804796c84324ed2510809e5b2a624c81da765"
1076
+ dependencies = [
1077
+ "autocfg",
1078
+ "scopeguard",
1079
+ ]
1080
+
1081
+ [[package]]
1082
+ name = "log"
1083
+ version = "0.4.27"
1084
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1085
+ checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
1086
+
1087
+ [[package]]
1088
+ name = "memchr"
1089
+ version = "2.7.5"
1090
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1091
+ checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
1092
+
1093
+ [[package]]
1094
+ name = "mime"
1095
+ version = "0.3.17"
1096
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1097
+ checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
1098
+
1099
+ [[package]]
1100
+ name = "mime_guess"
1101
+ version = "2.0.5"
1102
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1103
+ checksum = "f7c44f8e672c00fe5308fa235f821cb4198414e1c77935c1ab6948d3fd78550e"
1104
+ dependencies = [
1105
+ "mime",
1106
+ "unicase",
1107
+ ]
1108
+
1109
+ [[package]]
1110
+ name = "mini-moka"
1111
+ version = "0.10.3"
1112
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1113
+ checksum = "c325dfab65f261f386debee8b0969da215b3fa0037e74c8a1234db7ba986d803"
1114
+ dependencies = [
1115
+ "crossbeam-channel",
1116
+ "crossbeam-utils",
1117
+ "dashmap",
1118
+ "skeptic",
1119
+ "smallvec",
1120
+ "tagptr",
1121
+ "triomphe",
1122
+ ]
1123
+
1124
+ [[package]]
1125
+ name = "miniz_oxide"
1126
+ version = "0.8.9"
1127
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1128
+ checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
1129
+ dependencies = [
1130
+ "adler2",
1131
+ ]
1132
+
1133
+ [[package]]
1134
+ name = "mio"
1135
+ version = "1.0.4"
1136
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1137
+ checksum = "78bed444cc8a2160f01cbcf811ef18cac863ad68ae8ca62092e8db51d51c761c"
1138
+ dependencies = [
1139
+ "libc",
1140
+ "wasi 0.11.1+wasi-snapshot-preview1",
1141
+ "windows-sys 0.59.0",
1142
+ ]
1143
+
1144
+ [[package]]
1145
+ name = "num-conv"
1146
+ version = "0.1.0"
1147
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1148
+ checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
1149
+
1150
+ [[package]]
1151
+ name = "num-traits"
1152
+ version = "0.2.19"
1153
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1154
+ checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
1155
+ dependencies = [
1156
+ "autocfg",
1157
+ ]
1158
+
1159
+ [[package]]
1160
+ name = "object"
1161
+ version = "0.36.7"
1162
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1163
+ checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87"
1164
+ dependencies = [
1165
+ "memchr",
1166
+ ]
1167
+
1168
+ [[package]]
1169
+ name = "once_cell"
1170
+ version = "1.21.3"
1171
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1172
+ checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
1173
+
1174
+ [[package]]
1175
+ name = "once_cell_polyfill"
1176
+ version = "1.70.1"
1177
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1178
+ checksum = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad"
1179
+
1180
+ [[package]]
1181
+ name = "parking_lot"
1182
+ version = "0.12.4"
1183
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1184
+ checksum = "70d58bf43669b5795d1576d0641cfb6fbb2057bf629506267a92807158584a13"
1185
+ dependencies = [
1186
+ "lock_api",
1187
+ "parking_lot_core",
1188
+ ]
1189
+
1190
+ [[package]]
1191
+ name = "parking_lot_core"
1192
+ version = "0.9.11"
1193
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1194
+ checksum = "bc838d2a56b5b1a6c25f55575dfc605fabb63bb2365f6c2353ef9159aa69e4a5"
1195
+ dependencies = [
1196
+ "cfg-if",
1197
+ "libc",
1198
+ "redox_syscall",
1199
+ "smallvec",
1200
+ "windows-targets 0.52.6",
1201
+ ]
1202
+
1203
+ [[package]]
1204
+ name = "paste"
1205
+ version = "1.0.15"
1206
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1207
+ checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
1208
+
1209
+ [[package]]
1210
+ name = "percent-encoding"
1211
+ version = "2.3.1"
1212
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1213
+ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
1214
+
1215
+ [[package]]
1216
+ name = "pin-project-lite"
1217
+ version = "0.2.16"
1218
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1219
+ checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
1220
+
1221
+ [[package]]
1222
+ name = "pin-utils"
1223
+ version = "0.1.0"
1224
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1225
+ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
1226
+
1227
+ [[package]]
1228
+ name = "potential_utf"
1229
+ version = "0.1.2"
1230
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1231
+ checksum = "e5a7c30837279ca13e7c867e9e40053bc68740f988cb07f7ca6df43cc734b585"
1232
+ dependencies = [
1233
+ "zerovec",
1234
+ ]
1235
+
1236
+ [[package]]
1237
+ name = "powerfmt"
1238
+ version = "0.2.0"
1239
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1240
+ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
1241
+
1242
+ [[package]]
1243
+ name = "ppv-lite86"
1244
+ version = "0.2.21"
1245
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1246
+ checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
1247
+ dependencies = [
1248
+ "zerocopy",
1249
+ ]
1250
+
1251
+ [[package]]
1252
+ name = "proc-macro2"
1253
+ version = "1.0.95"
1254
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1255
+ checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
1256
+ dependencies = [
1257
+ "unicode-ident",
1258
+ ]
1259
+
1260
+ [[package]]
1261
+ name = "pulldown-cmark"
1262
+ version = "0.9.6"
1263
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1264
+ checksum = "57206b407293d2bcd3af849ce869d52068623f19e1b5ff8e8778e3309439682b"
1265
+ dependencies = [
1266
+ "bitflags 2.9.1",
1267
+ "memchr",
1268
+ "unicase",
1269
+ ]
1270
+
1271
+ [[package]]
1272
+ name = "quote"
1273
+ version = "1.0.40"
1274
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1275
+ checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
1276
+ dependencies = [
1277
+ "proc-macro2",
1278
+ ]
1279
+
1280
+ [[package]]
1281
+ name = "r-efi"
1282
+ version = "5.3.0"
1283
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1284
+ checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
1285
+
1286
+ [[package]]
1287
+ name = "rand"
1288
+ version = "0.8.5"
1289
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1290
+ checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
1291
+ dependencies = [
1292
+ "libc",
1293
+ "rand_chacha",
1294
+ "rand_core",
1295
+ ]
1296
+
1297
+ [[package]]
1298
+ name = "rand_chacha"
1299
+ version = "0.3.1"
1300
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1301
+ checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
1302
+ dependencies = [
1303
+ "ppv-lite86",
1304
+ "rand_core",
1305
+ ]
1306
+
1307
+ [[package]]
1308
+ name = "rand_core"
1309
+ version = "0.6.4"
1310
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1311
+ checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
1312
+ dependencies = [
1313
+ "getrandom 0.2.16",
1314
+ ]
1315
+
1316
+ [[package]]
1317
+ name = "redox_syscall"
1318
+ version = "0.5.13"
1319
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1320
+ checksum = "0d04b7d0ee6b4a0207a0a7adb104d23ecb0b47d6beae7152d0fa34b692b29fd6"
1321
+ dependencies = [
1322
+ "bitflags 2.9.1",
1323
+ ]
1324
+
1325
+ [[package]]
1326
+ name = "reqwest"
1327
+ version = "0.11.27"
1328
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1329
+ checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62"
1330
+ dependencies = [
1331
+ "base64 0.21.7",
1332
+ "bytes",
1333
+ "encoding_rs",
1334
+ "futures-core",
1335
+ "futures-util",
1336
+ "h2",
1337
+ "http 0.2.12",
1338
+ "http-body",
1339
+ "hyper",
1340
+ "hyper-rustls",
1341
+ "ipnet",
1342
+ "js-sys",
1343
+ "log",
1344
+ "mime",
1345
+ "mime_guess",
1346
+ "once_cell",
1347
+ "percent-encoding",
1348
+ "pin-project-lite",
1349
+ "rustls 0.21.12",
1350
+ "rustls-pemfile",
1351
+ "serde",
1352
+ "serde_json",
1353
+ "serde_urlencoded",
1354
+ "sync_wrapper",
1355
+ "system-configuration",
1356
+ "tokio",
1357
+ "tokio-rustls 0.24.1",
1358
+ "tokio-util",
1359
+ "tower-service",
1360
+ "url",
1361
+ "wasm-bindgen",
1362
+ "wasm-bindgen-futures",
1363
+ "wasm-streams",
1364
+ "web-sys",
1365
+ "webpki-roots 0.25.4",
1366
+ "winreg",
1367
+ ]
1368
+
1369
+ [[package]]
1370
+ name = "ring"
1371
+ version = "0.17.14"
1372
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1373
+ checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7"
1374
+ dependencies = [
1375
+ "cc",
1376
+ "cfg-if",
1377
+ "getrandom 0.2.16",
1378
+ "libc",
1379
+ "untrusted",
1380
+ "windows-sys 0.52.0",
1381
+ ]
1382
+
1383
+ [[package]]
1384
+ name = "rmcp"
1385
+ version = "0.1.5"
1386
+ source = "git+https://github.com/modelcontextprotocol/rust-sdk?rev=b9d7d61ebd6e8385cbc4aa105d4e25774fc1a59c#b9d7d61ebd6e8385cbc4aa105d4e25774fc1a59c"
1387
+ dependencies = [
1388
+ "base64 0.22.1",
1389
+ "chrono",
1390
+ "futures",
1391
+ "paste",
1392
+ "pin-project-lite",
1393
+ "rmcp-macros",
1394
+ "schemars",
1395
+ "serde",
1396
+ "serde_json",
1397
+ "thiserror 2.0.12",
1398
+ "tokio",
1399
+ "tokio-util",
1400
+ "tracing",
1401
+ ]
1402
+
1403
+ [[package]]
1404
+ name = "rmcp-macros"
1405
+ version = "0.1.5"
1406
+ source = "git+https://github.com/modelcontextprotocol/rust-sdk?rev=b9d7d61ebd6e8385cbc4aa105d4e25774fc1a59c#b9d7d61ebd6e8385cbc4aa105d4e25774fc1a59c"
1407
+ dependencies = [
1408
+ "darling",
1409
+ "proc-macro2",
1410
+ "quote",
1411
+ "serde_json",
1412
+ "syn 2.0.104",
1413
+ ]
1414
+
1415
+ [[package]]
1416
+ name = "rustc-demangle"
1417
+ version = "0.1.25"
1418
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1419
+ checksum = "989e6739f80c4ad5b13e0fd7fe89531180375b18520cc8c82080e4dc4035b84f"
1420
+
1421
+ [[package]]
1422
+ name = "rustix"
1423
+ version = "1.0.7"
1424
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1425
+ checksum = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266"
1426
+ dependencies = [
1427
+ "bitflags 2.9.1",
1428
+ "errno",
1429
+ "libc",
1430
+ "linux-raw-sys",
1431
+ "windows-sys 0.59.0",
1432
+ ]
1433
+
1434
+ [[package]]
1435
+ name = "rustls"
1436
+ version = "0.21.12"
1437
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1438
+ checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e"
1439
+ dependencies = [
1440
+ "log",
1441
+ "ring",
1442
+ "rustls-webpki 0.101.7",
1443
+ "sct",
1444
+ ]
1445
+
1446
+ [[package]]
1447
+ name = "rustls"
1448
+ version = "0.22.4"
1449
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1450
+ checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432"
1451
+ dependencies = [
1452
+ "log",
1453
+ "ring",
1454
+ "rustls-pki-types",
1455
+ "rustls-webpki 0.102.8",
1456
+ "subtle",
1457
+ "zeroize",
1458
+ ]
1459
+
1460
+ [[package]]
1461
+ name = "rustls-pemfile"
1462
+ version = "1.0.4"
1463
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1464
+ checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c"
1465
+ dependencies = [
1466
+ "base64 0.21.7",
1467
+ ]
1468
+
1469
+ [[package]]
1470
+ name = "rustls-pki-types"
1471
+ version = "1.12.0"
1472
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1473
+ checksum = "229a4a4c221013e7e1f1a043678c5cc39fe5171437c88fb47151a21e6f5b5c79"
1474
+ dependencies = [
1475
+ "zeroize",
1476
+ ]
1477
+
1478
+ [[package]]
1479
+ name = "rustls-webpki"
1480
+ version = "0.101.7"
1481
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1482
+ checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765"
1483
+ dependencies = [
1484
+ "ring",
1485
+ "untrusted",
1486
+ ]
1487
+
1488
+ [[package]]
1489
+ name = "rustls-webpki"
1490
+ version = "0.102.8"
1491
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1492
+ checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9"
1493
+ dependencies = [
1494
+ "ring",
1495
+ "rustls-pki-types",
1496
+ "untrusted",
1497
+ ]
1498
+
1499
+ [[package]]
1500
+ name = "rustversion"
1501
+ version = "1.0.21"
1502
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1503
+ checksum = "8a0d197bd2c9dc6e53b84da9556a69ba4cdfab8619eb41a8bd1cc2027a0f6b1d"
1504
+
1505
+ [[package]]
1506
+ name = "ryu"
1507
+ version = "1.0.20"
1508
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1509
+ checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
1510
+
1511
+ [[package]]
1512
+ name = "same-file"
1513
+ version = "1.0.6"
1514
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1515
+ checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
1516
+ dependencies = [
1517
+ "winapi-util",
1518
+ ]
1519
+
1520
+ [[package]]
1521
+ name = "schemars"
1522
+ version = "0.8.22"
1523
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1524
+ checksum = "3fbf2ae1b8bc8e02df939598064d22402220cd5bbcca1c76f7d6a310974d5615"
1525
+ dependencies = [
1526
+ "chrono",
1527
+ "dyn-clone",
1528
+ "schemars_derive",
1529
+ "serde",
1530
+ "serde_json",
1531
+ ]
1532
+
1533
+ [[package]]
1534
+ name = "schemars_derive"
1535
+ version = "0.8.22"
1536
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1537
+ checksum = "32e265784ad618884abaea0600a9adf15393368d840e0222d101a072f3f7534d"
1538
+ dependencies = [
1539
+ "proc-macro2",
1540
+ "quote",
1541
+ "serde_derive_internals",
1542
+ "syn 2.0.104",
1543
+ ]
1544
+
1545
+ [[package]]
1546
+ name = "scopeguard"
1547
+ version = "1.2.0"
1548
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1549
+ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
1550
+
1551
+ [[package]]
1552
+ name = "sct"
1553
+ version = "0.7.1"
1554
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1555
+ checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414"
1556
+ dependencies = [
1557
+ "ring",
1558
+ "untrusted",
1559
+ ]
1560
+
1561
+ [[package]]
1562
+ name = "secrecy"
1563
+ version = "0.8.0"
1564
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1565
+ checksum = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e"
1566
+ dependencies = [
1567
+ "serde",
1568
+ "zeroize",
1569
+ ]
1570
+
1571
+ [[package]]
1572
+ name = "semver"
1573
+ version = "1.0.26"
1574
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1575
+ checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0"
1576
+ dependencies = [
1577
+ "serde",
1578
+ ]
1579
+
1580
+ [[package]]
1581
+ name = "serde"
1582
+ version = "1.0.219"
1583
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1584
+ checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
1585
+ dependencies = [
1586
+ "serde_derive",
1587
+ ]
1588
+
1589
+ [[package]]
1590
+ name = "serde_cow"
1591
+ version = "0.1.2"
1592
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1593
+ checksum = "1e7bbbec7196bfde255ab54b65e34087c0849629280028238e67ee25d6a4b7da"
1594
+ dependencies = [
1595
+ "serde",
1596
+ ]
1597
+
1598
+ [[package]]
1599
+ name = "serde_derive"
1600
+ version = "1.0.219"
1601
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1602
+ checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
1603
+ dependencies = [
1604
+ "proc-macro2",
1605
+ "quote",
1606
+ "syn 2.0.104",
1607
+ ]
1608
+
1609
+ [[package]]
1610
+ name = "serde_derive_internals"
1611
+ version = "0.29.1"
1612
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1613
+ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711"
1614
+ dependencies = [
1615
+ "proc-macro2",
1616
+ "quote",
1617
+ "syn 2.0.104",
1618
+ ]
1619
+
1620
+ [[package]]
1621
+ name = "serde_json"
1622
+ version = "1.0.140"
1623
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1624
+ checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373"
1625
+ dependencies = [
1626
+ "itoa",
1627
+ "memchr",
1628
+ "ryu",
1629
+ "serde",
1630
+ ]
1631
+
1632
+ [[package]]
1633
+ name = "serde_urlencoded"
1634
+ version = "0.7.1"
1635
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1636
+ checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"
1637
+ dependencies = [
1638
+ "form_urlencoded",
1639
+ "itoa",
1640
+ "ryu",
1641
+ "serde",
1642
+ ]
1643
+
1644
+ [[package]]
1645
+ name = "serenity"
1646
+ version = "0.12.4"
1647
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1648
+ checksum = "3d72ec4323681bf9a3cabe40fd080abc2435859b502a1b5aa9bf693f125bfa76"
1649
+ dependencies = [
1650
+ "arrayvec",
1651
+ "async-trait",
1652
+ "base64 0.22.1",
1653
+ "bitflags 2.9.1",
1654
+ "bytes",
1655
+ "chrono",
1656
+ "command_attr",
1657
+ "dashmap",
1658
+ "flate2",
1659
+ "futures",
1660
+ "fxhash",
1661
+ "levenshtein",
1662
+ "mime_guess",
1663
+ "parking_lot",
1664
+ "percent-encoding",
1665
+ "reqwest",
1666
+ "secrecy",
1667
+ "serde",
1668
+ "serde_cow",
1669
+ "serde_json",
1670
+ "static_assertions",
1671
+ "time",
1672
+ "tokio",
1673
+ "tokio-tungstenite",
1674
+ "tracing",
1675
+ "typemap_rev",
1676
+ "typesize",
1677
+ "url",
1678
+ "uwl",
1679
+ ]
1680
+
1681
+ [[package]]
1682
+ name = "sha1"
1683
+ version = "0.10.6"
1684
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1685
+ checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
1686
+ dependencies = [
1687
+ "cfg-if",
1688
+ "cpufeatures",
1689
+ "digest",
1690
+ ]
1691
+
1692
+ [[package]]
1693
+ name = "shlex"
1694
+ version = "1.3.0"
1695
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1696
+ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
1697
+
1698
+ [[package]]
1699
+ name = "skeptic"
1700
+ version = "0.13.7"
1701
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1702
+ checksum = "16d23b015676c90a0f01c197bfdc786c20342c73a0afdda9025adb0bc42940a8"
1703
+ dependencies = [
1704
+ "bytecount",
1705
+ "cargo_metadata",
1706
+ "error-chain",
1707
+ "glob",
1708
+ "pulldown-cmark",
1709
+ "tempfile",
1710
+ "walkdir",
1711
+ ]
1712
+
1713
+ [[package]]
1714
+ name = "slab"
1715
+ version = "0.4.10"
1716
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1717
+ checksum = "04dc19736151f35336d325007ac991178d504a119863a2fcb3758cdb5e52c50d"
1718
+
1719
+ [[package]]
1720
+ name = "smallvec"
1721
+ version = "1.15.1"
1722
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1723
+ checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
1724
+
1725
+ [[package]]
1726
+ name = "socket2"
1727
+ version = "0.5.10"
1728
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1729
+ checksum = "e22376abed350d73dd1cd119b57ffccad95b4e585a7cda43e286245ce23c0678"
1730
+ dependencies = [
1731
+ "libc",
1732
+ "windows-sys 0.52.0",
1733
+ ]
1734
+
1735
+ [[package]]
1736
+ name = "stable_deref_trait"
1737
+ version = "1.2.0"
1738
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1739
+ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
1740
+
1741
+ [[package]]
1742
+ name = "static_assertions"
1743
+ version = "1.1.0"
1744
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1745
+ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
1746
+
1747
+ [[package]]
1748
+ name = "strsim"
1749
+ version = "0.11.1"
1750
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1751
+ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
1752
+
1753
+ [[package]]
1754
+ name = "subtle"
1755
+ version = "2.6.1"
1756
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1757
+ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
1758
+
1759
+ [[package]]
1760
+ name = "syn"
1761
+ version = "1.0.109"
1762
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1763
+ checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
1764
+ dependencies = [
1765
+ "proc-macro2",
1766
+ "quote",
1767
+ "unicode-ident",
1768
+ ]
1769
+
1770
+ [[package]]
1771
+ name = "syn"
1772
+ version = "2.0.104"
1773
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1774
+ checksum = "17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40"
1775
+ dependencies = [
1776
+ "proc-macro2",
1777
+ "quote",
1778
+ "unicode-ident",
1779
+ ]
1780
+
1781
+ [[package]]
1782
+ name = "sync_wrapper"
1783
+ version = "0.1.2"
1784
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1785
+ checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160"
1786
+
1787
+ [[package]]
1788
+ name = "synstructure"
1789
+ version = "0.13.2"
1790
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1791
+ checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
1792
+ dependencies = [
1793
+ "proc-macro2",
1794
+ "quote",
1795
+ "syn 2.0.104",
1796
+ ]
1797
+
1798
+ [[package]]
1799
+ name = "system-configuration"
1800
+ version = "0.5.1"
1801
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1802
+ checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7"
1803
+ dependencies = [
1804
+ "bitflags 1.3.2",
1805
+ "core-foundation",
1806
+ "system-configuration-sys",
1807
+ ]
1808
+
1809
+ [[package]]
1810
+ name = "system-configuration-sys"
1811
+ version = "0.5.0"
1812
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1813
+ checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9"
1814
+ dependencies = [
1815
+ "core-foundation-sys",
1816
+ "libc",
1817
+ ]
1818
+
1819
+ [[package]]
1820
+ name = "tagptr"
1821
+ version = "0.2.0"
1822
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1823
+ checksum = "7b2093cf4c8eb1e67749a6762251bc9cd836b6fc171623bd0a9d324d37af2417"
1824
+
1825
+ [[package]]
1826
+ name = "tempfile"
1827
+ version = "3.20.0"
1828
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1829
+ checksum = "e8a64e3985349f2441a1a9ef0b853f869006c3855f2cda6862a94d26ebb9d6a1"
1830
+ dependencies = [
1831
+ "fastrand",
1832
+ "getrandom 0.3.3",
1833
+ "once_cell",
1834
+ "rustix",
1835
+ "windows-sys 0.59.0",
1836
+ ]
1837
+
1838
+ [[package]]
1839
+ name = "thiserror"
1840
+ version = "1.0.69"
1841
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1842
+ checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
1843
+ dependencies = [
1844
+ "thiserror-impl 1.0.69",
1845
+ ]
1846
+
1847
+ [[package]]
1848
+ name = "thiserror"
1849
+ version = "2.0.12"
1850
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1851
+ checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708"
1852
+ dependencies = [
1853
+ "thiserror-impl 2.0.12",
1854
+ ]
1855
+
1856
+ [[package]]
1857
+ name = "thiserror-impl"
1858
+ version = "1.0.69"
1859
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1860
+ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
1861
+ dependencies = [
1862
+ "proc-macro2",
1863
+ "quote",
1864
+ "syn 2.0.104",
1865
+ ]
1866
+
1867
+ [[package]]
1868
+ name = "thiserror-impl"
1869
+ version = "2.0.12"
1870
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1871
+ checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d"
1872
+ dependencies = [
1873
+ "proc-macro2",
1874
+ "quote",
1875
+ "syn 2.0.104",
1876
+ ]
1877
+
1878
+ [[package]]
1879
+ name = "time"
1880
+ version = "0.3.41"
1881
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1882
+ checksum = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40"
1883
+ dependencies = [
1884
+ "deranged",
1885
+ "itoa",
1886
+ "num-conv",
1887
+ "powerfmt",
1888
+ "serde",
1889
+ "time-core",
1890
+ "time-macros",
1891
+ ]
1892
+
1893
+ [[package]]
1894
+ name = "time-core"
1895
+ version = "0.1.4"
1896
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1897
+ checksum = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c"
1898
+
1899
+ [[package]]
1900
+ name = "time-macros"
1901
+ version = "0.2.22"
1902
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1903
+ checksum = "3526739392ec93fd8b359c8e98514cb3e8e021beb4e5f597b00a0221f8ed8a49"
1904
+ dependencies = [
1905
+ "num-conv",
1906
+ "time-core",
1907
+ ]
1908
+
1909
+ [[package]]
1910
+ name = "tinystr"
1911
+ version = "0.8.1"
1912
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1913
+ checksum = "5d4f6d1145dcb577acf783d4e601bc1d76a13337bb54e6233add580b07344c8b"
1914
+ dependencies = [
1915
+ "displaydoc",
1916
+ "zerovec",
1917
+ ]
1918
+
1919
+ [[package]]
1920
+ name = "tokio"
1921
+ version = "1.45.1"
1922
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1923
+ checksum = "75ef51a33ef1da925cea3e4eb122833cb377c61439ca401b770f54902b806779"
1924
+ dependencies = [
1925
+ "backtrace",
1926
+ "bytes",
1927
+ "libc",
1928
+ "mio",
1929
+ "pin-project-lite",
1930
+ "socket2",
1931
+ "tokio-macros",
1932
+ "windows-sys 0.52.0",
1933
+ ]
1934
+
1935
+ [[package]]
1936
+ name = "tokio-macros"
1937
+ version = "2.5.0"
1938
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1939
+ checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8"
1940
+ dependencies = [
1941
+ "proc-macro2",
1942
+ "quote",
1943
+ "syn 2.0.104",
1944
+ ]
1945
+
1946
+ [[package]]
1947
+ name = "tokio-rustls"
1948
+ version = "0.24.1"
1949
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1950
+ checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081"
1951
+ dependencies = [
1952
+ "rustls 0.21.12",
1953
+ "tokio",
1954
+ ]
1955
+
1956
+ [[package]]
1957
+ name = "tokio-rustls"
1958
+ version = "0.25.0"
1959
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1960
+ checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f"
1961
+ dependencies = [
1962
+ "rustls 0.22.4",
1963
+ "rustls-pki-types",
1964
+ "tokio",
1965
+ ]
1966
+
1967
+ [[package]]
1968
+ name = "tokio-tungstenite"
1969
+ version = "0.21.0"
1970
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1971
+ checksum = "c83b561d025642014097b66e6c1bb422783339e0909e4429cde4749d1990bc38"
1972
+ dependencies = [
1973
+ "futures-util",
1974
+ "log",
1975
+ "rustls 0.22.4",
1976
+ "rustls-pki-types",
1977
+ "tokio",
1978
+ "tokio-rustls 0.25.0",
1979
+ "tungstenite",
1980
+ "webpki-roots 0.26.11",
1981
+ ]
1982
+
1983
+ [[package]]
1984
+ name = "tokio-util"
1985
+ version = "0.7.15"
1986
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1987
+ checksum = "66a539a9ad6d5d281510d5bd368c973d636c02dbf8a67300bfb6b950696ad7df"
1988
+ dependencies = [
1989
+ "bytes",
1990
+ "futures-core",
1991
+ "futures-sink",
1992
+ "pin-project-lite",
1993
+ "tokio",
1994
+ ]
1995
+
1996
+ [[package]]
1997
+ name = "tower-service"
1998
+ version = "0.3.3"
1999
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2000
+ checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
2001
+
2002
+ [[package]]
2003
+ name = "tracing"
2004
+ version = "0.1.41"
2005
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2006
+ checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0"
2007
+ dependencies = [
2008
+ "log",
2009
+ "pin-project-lite",
2010
+ "tracing-attributes",
2011
+ "tracing-core",
2012
+ ]
2013
+
2014
+ [[package]]
2015
+ name = "tracing-attributes"
2016
+ version = "0.1.30"
2017
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2018
+ checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903"
2019
+ dependencies = [
2020
+ "proc-macro2",
2021
+ "quote",
2022
+ "syn 2.0.104",
2023
+ ]
2024
+
2025
+ [[package]]
2026
+ name = "tracing-core"
2027
+ version = "0.1.34"
2028
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2029
+ checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678"
2030
+ dependencies = [
2031
+ "once_cell",
2032
+ ]
2033
+
2034
+ [[package]]
2035
+ name = "triomphe"
2036
+ version = "0.1.14"
2037
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2038
+ checksum = "ef8f7726da4807b58ea5c96fdc122f80702030edc33b35aff9190a51148ccc85"
2039
+
2040
+ [[package]]
2041
+ name = "try-lock"
2042
+ version = "0.2.5"
2043
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2044
+ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
2045
+
2046
+ [[package]]
2047
+ name = "tungstenite"
2048
+ version = "0.21.0"
2049
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2050
+ checksum = "9ef1a641ea34f399a848dea702823bbecfb4c486f911735368f1f137cb8257e1"
2051
+ dependencies = [
2052
+ "byteorder",
2053
+ "bytes",
2054
+ "data-encoding",
2055
+ "http 1.3.1",
2056
+ "httparse",
2057
+ "log",
2058
+ "rand",
2059
+ "rustls 0.22.4",
2060
+ "rustls-pki-types",
2061
+ "sha1",
2062
+ "thiserror 1.0.69",
2063
+ "url",
2064
+ "utf-8",
2065
+ ]
2066
+
2067
+ [[package]]
2068
+ name = "typemap_rev"
2069
+ version = "0.3.0"
2070
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2071
+ checksum = "74b08b0c1257381af16a5c3605254d529d3e7e109f3c62befc5d168968192998"
2072
+
2073
+ [[package]]
2074
+ name = "typenum"
2075
+ version = "1.18.0"
2076
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2077
+ checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f"
2078
+
2079
+ [[package]]
2080
+ name = "typesize"
2081
+ version = "0.1.14"
2082
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2083
+ checksum = "7da66c62c5b7017a2787e77373c03e6a5aafde77a73bff1ff96e91cd2e128179"
2084
+ dependencies = [
2085
+ "chrono",
2086
+ "dashmap",
2087
+ "hashbrown 0.14.5",
2088
+ "mini-moka",
2089
+ "parking_lot",
2090
+ "secrecy",
2091
+ "serde_json",
2092
+ "time",
2093
+ "typesize-derive",
2094
+ "url",
2095
+ ]
2096
+
2097
+ [[package]]
2098
+ name = "typesize-derive"
2099
+ version = "0.1.11"
2100
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2101
+ checksum = "536b6812192bda8551cfa0e52524e328c6a951b48e66529ee4522d6c721243d6"
2102
+ dependencies = [
2103
+ "proc-macro2",
2104
+ "quote",
2105
+ "syn 2.0.104",
2106
+ ]
2107
+
2108
+ [[package]]
2109
+ name = "unicase"
2110
+ version = "2.8.1"
2111
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2112
+ checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539"
2113
+
2114
+ [[package]]
2115
+ name = "unicode-ident"
2116
+ version = "1.0.18"
2117
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2118
+ checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
2119
+
2120
+ [[package]]
2121
+ name = "untrusted"
2122
+ version = "0.9.0"
2123
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2124
+ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
2125
+
2126
+ [[package]]
2127
+ name = "url"
2128
+ version = "2.5.4"
2129
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2130
+ checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60"
2131
+ dependencies = [
2132
+ "form_urlencoded",
2133
+ "idna",
2134
+ "percent-encoding",
2135
+ "serde",
2136
+ ]
2137
+
2138
+ [[package]]
2139
+ name = "utf-8"
2140
+ version = "0.7.6"
2141
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2142
+ checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
2143
+
2144
+ [[package]]
2145
+ name = "utf8_iter"
2146
+ version = "1.0.4"
2147
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2148
+ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
2149
+
2150
+ [[package]]
2151
+ name = "utf8parse"
2152
+ version = "0.2.2"
2153
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2154
+ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
2155
+
2156
+ [[package]]
2157
+ name = "uwl"
2158
+ version = "0.6.0"
2159
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2160
+ checksum = "f4bf03e0ca70d626ecc4ba6b0763b934b6f2976e8c744088bb3c1d646fbb1ad0"
2161
+
2162
+ [[package]]
2163
+ name = "version_check"
2164
+ version = "0.9.5"
2165
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2166
+ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
2167
+
2168
+ [[package]]
2169
+ name = "walkdir"
2170
+ version = "2.5.0"
2171
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2172
+ checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
2173
+ dependencies = [
2174
+ "same-file",
2175
+ "winapi-util",
2176
+ ]
2177
+
2178
+ [[package]]
2179
+ name = "want"
2180
+ version = "0.3.1"
2181
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2182
+ checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
2183
+ dependencies = [
2184
+ "try-lock",
2185
+ ]
2186
+
2187
+ [[package]]
2188
+ name = "wasi"
2189
+ version = "0.11.1+wasi-snapshot-preview1"
2190
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2191
+ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
2192
+
2193
+ [[package]]
2194
+ name = "wasi"
2195
+ version = "0.14.2+wasi-0.2.4"
2196
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2197
+ checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3"
2198
+ dependencies = [
2199
+ "wit-bindgen-rt",
2200
+ ]
2201
+
2202
+ [[package]]
2203
+ name = "wasm-bindgen"
2204
+ version = "0.2.100"
2205
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2206
+ checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
2207
+ dependencies = [
2208
+ "cfg-if",
2209
+ "once_cell",
2210
+ "rustversion",
2211
+ "wasm-bindgen-macro",
2212
+ ]
2213
+
2214
+ [[package]]
2215
+ name = "wasm-bindgen-backend"
2216
+ version = "0.2.100"
2217
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2218
+ checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
2219
+ dependencies = [
2220
+ "bumpalo",
2221
+ "log",
2222
+ "proc-macro2",
2223
+ "quote",
2224
+ "syn 2.0.104",
2225
+ "wasm-bindgen-shared",
2226
+ ]
2227
+
2228
+ [[package]]
2229
+ name = "wasm-bindgen-futures"
2230
+ version = "0.4.50"
2231
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2232
+ checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61"
2233
+ dependencies = [
2234
+ "cfg-if",
2235
+ "js-sys",
2236
+ "once_cell",
2237
+ "wasm-bindgen",
2238
+ "web-sys",
2239
+ ]
2240
+
2241
+ [[package]]
2242
+ name = "wasm-bindgen-macro"
2243
+ version = "0.2.100"
2244
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2245
+ checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
2246
+ dependencies = [
2247
+ "quote",
2248
+ "wasm-bindgen-macro-support",
2249
+ ]
2250
+
2251
+ [[package]]
2252
+ name = "wasm-bindgen-macro-support"
2253
+ version = "0.2.100"
2254
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2255
+ checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
2256
+ dependencies = [
2257
+ "proc-macro2",
2258
+ "quote",
2259
+ "syn 2.0.104",
2260
+ "wasm-bindgen-backend",
2261
+ "wasm-bindgen-shared",
2262
+ ]
2263
+
2264
+ [[package]]
2265
+ name = "wasm-bindgen-shared"
2266
+ version = "0.2.100"
2267
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2268
+ checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
2269
+ dependencies = [
2270
+ "unicode-ident",
2271
+ ]
2272
+
2273
+ [[package]]
2274
+ name = "wasm-streams"
2275
+ version = "0.4.2"
2276
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2277
+ checksum = "15053d8d85c7eccdbefef60f06769760a563c7f0a9d6902a13d35c7800b0ad65"
2278
+ dependencies = [
2279
+ "futures-util",
2280
+ "js-sys",
2281
+ "wasm-bindgen",
2282
+ "wasm-bindgen-futures",
2283
+ "web-sys",
2284
+ ]
2285
+
2286
+ [[package]]
2287
+ name = "web-sys"
2288
+ version = "0.3.77"
2289
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2290
+ checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2"
2291
+ dependencies = [
2292
+ "js-sys",
2293
+ "wasm-bindgen",
2294
+ ]
2295
+
2296
+ [[package]]
2297
+ name = "webpki-roots"
2298
+ version = "0.25.4"
2299
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2300
+ checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1"
2301
+
2302
+ [[package]]
2303
+ name = "webpki-roots"
2304
+ version = "0.26.11"
2305
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2306
+ checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9"
2307
+ dependencies = [
2308
+ "webpki-roots 1.0.1",
2309
+ ]
2310
+
2311
+ [[package]]
2312
+ name = "webpki-roots"
2313
+ version = "1.0.1"
2314
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2315
+ checksum = "8782dd5a41a24eed3a4f40b606249b3e236ca61adf1f25ea4d45c73de122b502"
2316
+ dependencies = [
2317
+ "rustls-pki-types",
2318
+ ]
2319
+
2320
+ [[package]]
2321
+ name = "winapi-util"
2322
+ version = "0.1.9"
2323
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2324
+ checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
2325
+ dependencies = [
2326
+ "windows-sys 0.59.0",
2327
+ ]
2328
+
2329
+ [[package]]
2330
+ name = "windows-core"
2331
+ version = "0.61.2"
2332
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2333
+ checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3"
2334
+ dependencies = [
2335
+ "windows-implement",
2336
+ "windows-interface",
2337
+ "windows-link",
2338
+ "windows-result",
2339
+ "windows-strings",
2340
+ ]
2341
+
2342
+ [[package]]
2343
+ name = "windows-implement"
2344
+ version = "0.60.0"
2345
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2346
+ checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836"
2347
+ dependencies = [
2348
+ "proc-macro2",
2349
+ "quote",
2350
+ "syn 2.0.104",
2351
+ ]
2352
+
2353
+ [[package]]
2354
+ name = "windows-interface"
2355
+ version = "0.59.1"
2356
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2357
+ checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8"
2358
+ dependencies = [
2359
+ "proc-macro2",
2360
+ "quote",
2361
+ "syn 2.0.104",
2362
+ ]
2363
+
2364
+ [[package]]
2365
+ name = "windows-link"
2366
+ version = "0.1.3"
2367
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2368
+ checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a"
2369
+
2370
+ [[package]]
2371
+ name = "windows-result"
2372
+ version = "0.3.4"
2373
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2374
+ checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6"
2375
+ dependencies = [
2376
+ "windows-link",
2377
+ ]
2378
+
2379
+ [[package]]
2380
+ name = "windows-strings"
2381
+ version = "0.4.2"
2382
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2383
+ checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57"
2384
+ dependencies = [
2385
+ "windows-link",
2386
+ ]
2387
+
2388
+ [[package]]
2389
+ name = "windows-sys"
2390
+ version = "0.48.0"
2391
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2392
+ checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
2393
+ dependencies = [
2394
+ "windows-targets 0.48.5",
2395
+ ]
2396
+
2397
+ [[package]]
2398
+ name = "windows-sys"
2399
+ version = "0.52.0"
2400
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2401
+ checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
2402
+ dependencies = [
2403
+ "windows-targets 0.52.6",
2404
+ ]
2405
+
2406
+ [[package]]
2407
+ name = "windows-sys"
2408
+ version = "0.59.0"
2409
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2410
+ checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
2411
+ dependencies = [
2412
+ "windows-targets 0.52.6",
2413
+ ]
2414
+
2415
+ [[package]]
2416
+ name = "windows-sys"
2417
+ version = "0.60.2"
2418
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2419
+ checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
2420
+ dependencies = [
2421
+ "windows-targets 0.53.2",
2422
+ ]
2423
+
2424
+ [[package]]
2425
+ name = "windows-targets"
2426
+ version = "0.48.5"
2427
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2428
+ checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
2429
+ dependencies = [
2430
+ "windows_aarch64_gnullvm 0.48.5",
2431
+ "windows_aarch64_msvc 0.48.5",
2432
+ "windows_i686_gnu 0.48.5",
2433
+ "windows_i686_msvc 0.48.5",
2434
+ "windows_x86_64_gnu 0.48.5",
2435
+ "windows_x86_64_gnullvm 0.48.5",
2436
+ "windows_x86_64_msvc 0.48.5",
2437
+ ]
2438
+
2439
+ [[package]]
2440
+ name = "windows-targets"
2441
+ version = "0.52.6"
2442
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2443
+ checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
2444
+ dependencies = [
2445
+ "windows_aarch64_gnullvm 0.52.6",
2446
+ "windows_aarch64_msvc 0.52.6",
2447
+ "windows_i686_gnu 0.52.6",
2448
+ "windows_i686_gnullvm 0.52.6",
2449
+ "windows_i686_msvc 0.52.6",
2450
+ "windows_x86_64_gnu 0.52.6",
2451
+ "windows_x86_64_gnullvm 0.52.6",
2452
+ "windows_x86_64_msvc 0.52.6",
2453
+ ]
2454
+
2455
+ [[package]]
2456
+ name = "windows-targets"
2457
+ version = "0.53.2"
2458
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2459
+ checksum = "c66f69fcc9ce11da9966ddb31a40968cad001c5bedeb5c2b82ede4253ab48aef"
2460
+ dependencies = [
2461
+ "windows_aarch64_gnullvm 0.53.0",
2462
+ "windows_aarch64_msvc 0.53.0",
2463
+ "windows_i686_gnu 0.53.0",
2464
+ "windows_i686_gnullvm 0.53.0",
2465
+ "windows_i686_msvc 0.53.0",
2466
+ "windows_x86_64_gnu 0.53.0",
2467
+ "windows_x86_64_gnullvm 0.53.0",
2468
+ "windows_x86_64_msvc 0.53.0",
2469
+ ]
2470
+
2471
+ [[package]]
2472
+ name = "windows_aarch64_gnullvm"
2473
+ version = "0.48.5"
2474
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2475
+ checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
2476
+
2477
+ [[package]]
2478
+ name = "windows_aarch64_gnullvm"
2479
+ version = "0.52.6"
2480
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2481
+ checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
2482
+
2483
+ [[package]]
2484
+ name = "windows_aarch64_gnullvm"
2485
+ version = "0.53.0"
2486
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2487
+ checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764"
2488
+
2489
+ [[package]]
2490
+ name = "windows_aarch64_msvc"
2491
+ version = "0.48.5"
2492
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2493
+ checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
2494
+
2495
+ [[package]]
2496
+ name = "windows_aarch64_msvc"
2497
+ version = "0.52.6"
2498
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2499
+ checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
2500
+
2501
+ [[package]]
2502
+ name = "windows_aarch64_msvc"
2503
+ version = "0.53.0"
2504
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2505
+ checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c"
2506
+
2507
+ [[package]]
2508
+ name = "windows_i686_gnu"
2509
+ version = "0.48.5"
2510
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2511
+ checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
2512
+
2513
+ [[package]]
2514
+ name = "windows_i686_gnu"
2515
+ version = "0.52.6"
2516
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2517
+ checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
2518
+
2519
+ [[package]]
2520
+ name = "windows_i686_gnu"
2521
+ version = "0.53.0"
2522
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2523
+ checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3"
2524
+
2525
+ [[package]]
2526
+ name = "windows_i686_gnullvm"
2527
+ version = "0.52.6"
2528
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2529
+ checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
2530
+
2531
+ [[package]]
2532
+ name = "windows_i686_gnullvm"
2533
+ version = "0.53.0"
2534
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2535
+ checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11"
2536
+
2537
+ [[package]]
2538
+ name = "windows_i686_msvc"
2539
+ version = "0.48.5"
2540
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2541
+ checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
2542
+
2543
+ [[package]]
2544
+ name = "windows_i686_msvc"
2545
+ version = "0.52.6"
2546
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2547
+ checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
2548
+
2549
+ [[package]]
2550
+ name = "windows_i686_msvc"
2551
+ version = "0.53.0"
2552
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2553
+ checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d"
2554
+
2555
+ [[package]]
2556
+ name = "windows_x86_64_gnu"
2557
+ version = "0.48.5"
2558
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2559
+ checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
2560
+
2561
+ [[package]]
2562
+ name = "windows_x86_64_gnu"
2563
+ version = "0.52.6"
2564
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2565
+ checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
2566
+
2567
+ [[package]]
2568
+ name = "windows_x86_64_gnu"
2569
+ version = "0.53.0"
2570
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2571
+ checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba"
2572
+
2573
+ [[package]]
2574
+ name = "windows_x86_64_gnullvm"
2575
+ version = "0.48.5"
2576
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2577
+ checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
2578
+
2579
+ [[package]]
2580
+ name = "windows_x86_64_gnullvm"
2581
+ version = "0.52.6"
2582
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2583
+ checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
2584
+
2585
+ [[package]]
2586
+ name = "windows_x86_64_gnullvm"
2587
+ version = "0.53.0"
2588
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2589
+ checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57"
2590
+
2591
+ [[package]]
2592
+ name = "windows_x86_64_msvc"
2593
+ version = "0.48.5"
2594
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2595
+ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
2596
+
2597
+ [[package]]
2598
+ name = "windows_x86_64_msvc"
2599
+ version = "0.52.6"
2600
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2601
+ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
2602
+
2603
+ [[package]]
2604
+ name = "windows_x86_64_msvc"
2605
+ version = "0.53.0"
2606
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2607
+ checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
2608
+
2609
+ [[package]]
2610
+ name = "winreg"
2611
+ version = "0.50.0"
2612
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2613
+ checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1"
2614
+ dependencies = [
2615
+ "cfg-if",
2616
+ "windows-sys 0.48.0",
2617
+ ]
2618
+
2619
+ [[package]]
2620
+ name = "wit-bindgen-rt"
2621
+ version = "0.39.0"
2622
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2623
+ checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1"
2624
+ dependencies = [
2625
+ "bitflags 2.9.1",
2626
+ ]
2627
+
2628
+ [[package]]
2629
+ name = "writeable"
2630
+ version = "0.6.1"
2631
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2632
+ checksum = "ea2f10b9bb0928dfb1b42b65e1f9e36f7f54dbdf08457afefb38afcdec4fa2bb"
2633
+
2634
+ [[package]]
2635
+ name = "yoke"
2636
+ version = "0.8.0"
2637
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2638
+ checksum = "5f41bb01b8226ef4bfd589436a297c53d118f65921786300e427be8d487695cc"
2639
+ dependencies = [
2640
+ "serde",
2641
+ "stable_deref_trait",
2642
+ "yoke-derive",
2643
+ "zerofrom",
2644
+ ]
2645
+
2646
+ [[package]]
2647
+ name = "yoke-derive"
2648
+ version = "0.8.0"
2649
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2650
+ checksum = "38da3c9736e16c5d3c8c597a9aaa5d1fa565d0532ae05e27c24aa62fb32c0ab6"
2651
+ dependencies = [
2652
+ "proc-macro2",
2653
+ "quote",
2654
+ "syn 2.0.104",
2655
+ "synstructure",
2656
+ ]
2657
+
2658
+ [[package]]
2659
+ name = "zerocopy"
2660
+ version = "0.8.26"
2661
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2662
+ checksum = "1039dd0d3c310cf05de012d8a39ff557cb0d23087fd44cad61df08fc31907a2f"
2663
+ dependencies = [
2664
+ "zerocopy-derive",
2665
+ ]
2666
+
2667
+ [[package]]
2668
+ name = "zerocopy-derive"
2669
+ version = "0.8.26"
2670
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2671
+ checksum = "9ecf5b4cc5364572d7f4c329661bcc82724222973f2cab6f050a4e5c22f75181"
2672
+ dependencies = [
2673
+ "proc-macro2",
2674
+ "quote",
2675
+ "syn 2.0.104",
2676
+ ]
2677
+
2678
+ [[package]]
2679
+ name = "zerofrom"
2680
+ version = "0.1.6"
2681
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2682
+ checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5"
2683
+ dependencies = [
2684
+ "zerofrom-derive",
2685
+ ]
2686
+
2687
+ [[package]]
2688
+ name = "zerofrom-derive"
2689
+ version = "0.1.6"
2690
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2691
+ checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502"
2692
+ dependencies = [
2693
+ "proc-macro2",
2694
+ "quote",
2695
+ "syn 2.0.104",
2696
+ "synstructure",
2697
+ ]
2698
+
2699
+ [[package]]
2700
+ name = "zeroize"
2701
+ version = "1.8.1"
2702
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2703
+ checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
2704
+
2705
+ [[package]]
2706
+ name = "zerotrie"
2707
+ version = "0.2.2"
2708
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2709
+ checksum = "36f0bbd478583f79edad978b407914f61b2972f5af6fa089686016be8f9af595"
2710
+ dependencies = [
2711
+ "displaydoc",
2712
+ "yoke",
2713
+ "zerofrom",
2714
+ ]
2715
+
2716
+ [[package]]
2717
+ name = "zerovec"
2718
+ version = "0.11.2"
2719
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2720
+ checksum = "4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428"
2721
+ dependencies = [
2722
+ "yoke",
2723
+ "zerofrom",
2724
+ "zerovec-derive",
2725
+ ]
2726
+
2727
+ [[package]]
2728
+ name = "zerovec-derive"
2729
+ version = "0.11.1"
2730
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2731
+ checksum = "5b96237efa0c878c64bd89c436f661be4e46b2f3eff1ebb976f7ef2321d2f58f"
2732
+ dependencies = [
2733
+ "proc-macro2",
2734
+ "quote",
2735
+ "syn 2.0.104",
2736
+ ]
2737
+ LOCK_EOF
2738
+
2739
+ # ---------------------------------------------------------------------------
2740
+ # 3. Prefetch every locked dependency into the shared Cargo cache (~/.cargo),
2741
+ # which persists into the offline build stage. --locked enforces the exact
2742
+ # embedded dependency graph so the later offline `cargo build --offline`
2743
+ # in build.sh finds every crate it needs in cache.
2744
+ # ---------------------------------------------------------------------------
2745
+ if ! cargo fetch --manifest-path "$_cargo_manifest" --locked; then
2746
+ _fail_download "dependency prefetch with --locked failed"
2747
+ fi
2748
+
2749
+ echo "download.sh: dependency prefetch complete."
2750
+
2751
+ # Environment variables that build.sh relies on. CARGO_HOME already points at
2752
+ # the shared toolchain cache (e.g. /usr/local/cargo); leave it untouched so it
2753
+ # persists into the offline build stage. Nothing here reads a repo file.
2754
+ export CARGO_NET_OFFLINE="true"
2755
+
2756
+ if [ "$_sourced" -eq 0 ]; then
2757
+ exit 0
2758
+ fi
2759
+ return 0
koba789--human-in-the-loop.6f95553/tests/executable ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c66105f43c51110ee75936931405338cb451d2421f1024a2d6529cc86ea2d65
3
+ size 18684912
koba789--human-in-the-loop.6f95553/tests/harbor_configure_apt_mirror.sh ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ repository_base="${1%/}"
5
+ if [[ -z "$repository_base" ]]; then
6
+ exit 0
7
+ fi
8
+
9
+ . /etc/os-release
10
+ codename="${VERSION_CODENAME:-}"
11
+ if [[ -z "$codename" ]]; then
12
+ echo "VERSION_CODENAME is not set" >&2
13
+ exit 1
14
+ fi
15
+
16
+ if [[ "$ID" == "ubuntu" ]]; then
17
+ repository_name="apt-proxy"
18
+ components="main universe restricted multiverse"
19
+ else
20
+ repository_name="debian-proxy"
21
+ components="main contrib non-free non-free-firmware"
22
+ fi
23
+
24
+ install -d /etc/apt/sources.list.d
25
+ rm -f /etc/apt/sources.list /etc/apt/sources.list.d/*
26
+ printf 'deb [trusted=yes] %s/%s %s %s\n' \
27
+ "$repository_base" "$repository_name" "$codename" "$components" \
28
+ >/etc/apt/sources.list
29
+ printf 'deb [trusted=yes] %s/%s %s-updates %s\n' \
30
+ "$repository_base" "$repository_name" "$codename" "$components" \
31
+ >>/etc/apt/sources.list
32
+
33
+ if [[ "$ID" != "ubuntu" ]]; then
34
+ printf 'deb [trusted=yes] %s/%s %s-security %s\n' \
35
+ "$repository_base" "debian-proxy-security" "$codename" "$components" \
36
+ >>/etc/apt/sources.list
37
+ fi
koba789--human-in-the-loop.6f95553/tests/harbor_configure_java_mirrors.sh ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ maven_url="${1%/}"
5
+ plugin_url="${2%/}"
6
+ jitpack_url="${3%/}"
7
+
8
+ install -d /workspace/.m2 /workspace/.gradle/init.d /opt/programgym/gradle-init
9
+ if [[ -n "$maven_url" ]]; then
10
+ cat >/workspace/.m2/settings.xml <<EOF
11
+ <?xml version="1.0" encoding="UTF-8"?>
12
+ <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0">
13
+ <mirrors>
14
+ <mirror>
15
+ <id>programgym-maven</id>
16
+ <name>ProgramGym Maven mirror</name>
17
+ <url>${maven_url}</url>
18
+ <mirrorOf>*</mirrorOf>
19
+ </mirror>
20
+ </mirrors>
21
+ </settings>
22
+ EOF
23
+ fi
24
+
25
+ cat >/opt/programgym/gradle-init/programgym-mirrors.gradle <<'EOF'
26
+ def pbMaven = System.getenv('PROGRAMGYM_MAVEN_MIRROR_URL')
27
+ def pbPlugins = System.getenv('PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL')
28
+ def pbJitpack = System.getenv('PROGRAMGYM_JITPACK_REPOSITORY_URL')
29
+
30
+ settingsEvaluated { settings ->
31
+ settings.pluginManagement.repositories {
32
+ if (pbPlugins) { maven { url = uri(pbPlugins) } }
33
+ if (pbMaven) { maven { url = uri(pbMaven) } }
34
+ }
35
+ }
36
+
37
+ allprojects {
38
+ buildscript.repositories {
39
+ if (pbPlugins) { maven { url = uri(pbPlugins) } }
40
+ if (pbMaven) { maven { url = uri(pbMaven) } }
41
+ if (pbJitpack) { maven { url = uri(pbJitpack) } }
42
+ }
43
+ repositories {
44
+ if (pbMaven) { maven { url = uri(pbMaven) } }
45
+ if (pbJitpack) { maven { url = uri(pbJitpack) } }
46
+ }
47
+ }
48
+ EOF
49
+ cp /opt/programgym/gradle-init/programgym-mirrors.gradle \
50
+ /workspace/.gradle/init.d/programgym-mirrors.gradle
koba789--human-in-the-loop.6f95553/tests/harbor_prepare_download_env.sh ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ command -v cargo
4
+ command -v rustc
5
+ command -v rustup
6
+ cd /workspace
7
+ set -a
8
+ if [[ -n "${PROGRAMGYM_MAVEN_MIRROR_URL:-}" ]]; then
9
+ sed -i -e "s|https://repo.maven.apache.org/maven2|${PROGRAMGYM_MAVEN_MIRROR_URL%/}|g" -e "s|https://repo1.maven.org/maven2|${PROGRAMGYM_MAVEN_MIRROR_URL%/}|g" /tmp/programgym-download.sh
10
+ fi
11
+ if [[ -n "${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL:-}" ]]; then
12
+ sed -i -e "s|https://services.gradle.org/distributions|${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL%/}|g" -e "s|https://downloads.gradle.org/distributions|${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL%/}|g" /tmp/programgym-download.sh
13
+ fi
14
+ if [[ -n "${PROGRAMGYM_JITPACK_REPOSITORY_URL:-}" ]]; then
15
+ sed -i -e "s|https://jitpack.io|${PROGRAMGYM_JITPACK_REPOSITORY_URL%/}|g" /tmp/programgym-download.sh
16
+ fi
17
+ source /tmp/programgym-download.sh
18
+ set +a
19
+ python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
20
+ import os
21
+ import shlex
22
+
23
+ ignored = {
24
+ "ALL_PROXY",
25
+ "HTTP_PROXY",
26
+ "HTTPS_PROXY",
27
+ "NO_PROXY",
28
+ "OLDPWD",
29
+ "PIP_PROXY",
30
+ "PWD",
31
+ "SHLVL",
32
+ "_",
33
+ "all_proxy",
34
+ "http_proxy",
35
+ "https_proxy",
36
+ "no_proxy",
37
+ "pip_proxy",
38
+ }
39
+ for key in sorted(os.environ):
40
+ if key in ignored or key.startswith("BASH_FUNC_"):
41
+ continue
42
+ value = os.environ[key]
43
+ if "\n" in value:
44
+ continue
45
+ print(f"export {key}={shlex.quote(value)}")
46
+ PY
47
+ chmod 0644 /etc/profile.d/programgym_download_env.sh
koba789--human-in-the-loop.6f95553/tests/programgym_evaluator.py ADDED
@@ -0,0 +1,1201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """In-place ProgramGym evaluator.
3
+
4
+ Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
5
+ no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
6
+ cleanroom container after Harbor flips the verifier-phase network policy.
7
+
8
+ Differences from ``programgym.eval.eval.Evaluator`` that are structural to
9
+ running in one container:
10
+
11
+ * No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
12
+ copy a post-compile workspace snapshot to a temp directory and restore it
13
+ before each branch; ``cleanup_lingering_processes`` kills leftover branch
14
+ processes between attempts to approximate the fresh-container boundary.
15
+ * No ``docker commit``. The post-compile workspace snapshot serves the same
16
+ role as the committed image upstream.
17
+ * Hidden test blobs are fetched on demand from HuggingFace via
18
+ ``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
19
+ rather than being pre-staged into ``/tests/blobs/``. Override with
20
+ ``PROGRAMGYM_BLOB_DIR`` for offline reruns.
21
+
22
+ Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
23
+ ``compile.sh`` then stash + hash the executable, best-effort
24
+ ``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
25
+ ``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
26
+ best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
27
+ preserved.
28
+ """
29
+
30
+ from __future__ import annotations
31
+
32
+ import hashlib
33
+ import json
34
+ import os
35
+ import re
36
+ import shlex
37
+ import shutil
38
+ import signal
39
+ import subprocess
40
+ import tempfile
41
+ import time
42
+ import traceback
43
+ import xml.etree.ElementTree as ET
44
+ from pathlib import Path
45
+ from typing import Any
46
+
47
+ WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
48
+ STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
49
+ METADATA_PATH = Path(
50
+ os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
51
+ )
52
+ LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
53
+ WORKER_CRASH_PHRASE = "worker '"
54
+ XDIST_COLLAPSE_MARKERS = (
55
+ "maximum crashed workers reached",
56
+ "xdist: maximum crashed",
57
+ )
58
+
59
+ DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
60
+ DEFAULT_HF_REVISION = "main"
61
+
62
+ # Oracle agent handoff files (see solution/solve.sh). Must not appear in the
63
+ # post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
64
+ _ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
65
+
66
+ _TOOLCHAIN_BIN_DIR_CANDIDATES = (
67
+ "/usr/local/go/bin",
68
+ "/go/bin",
69
+ "/usr/local/cargo/bin",
70
+ "/root/.cargo/bin",
71
+ "/root/.ghcup/bin",
72
+ )
73
+
74
+
75
+ def toolchain_bin_dirs() -> list[str]:
76
+ """Return toolchain bin directories that exist on this image."""
77
+ candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
78
+ candidates.extend(
79
+ str(path)
80
+ for path in sorted(Path("/usr/lib").glob("go-*/bin"))
81
+ if _is_accessible_dir(path)
82
+ )
83
+ seen: set[str] = set()
84
+ present: list[str] = []
85
+ for path in candidates:
86
+ if path in seen:
87
+ continue
88
+ seen.add(path)
89
+ if _is_accessible_dir(path):
90
+ present.append(path)
91
+ return present
92
+
93
+
94
+ def _is_accessible_dir(path: str | Path) -> bool:
95
+ """Return whether path is a directory without failing on protected homes."""
96
+ try:
97
+ return Path(path).is_dir()
98
+ except OSError:
99
+ return False
100
+
101
+
102
+ def bootstrap_toolchain_path() -> str:
103
+ """Prepend discovered toolchain dirs to PATH (idempotent)."""
104
+ prepend = toolchain_bin_dirs()
105
+ current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
106
+ merged: list[str] = []
107
+ for path in prepend + current_parts:
108
+ if path not in merged:
109
+ merged.append(path)
110
+ new_path = ":".join(merged)
111
+ os.environ["PATH"] = new_path
112
+ return new_path
113
+
114
+
115
+ def _bash_login_command(command: str) -> str:
116
+ """Run ``command`` under bash -lc with an explicit PATH export."""
117
+ path = bootstrap_toolchain_path()
118
+ return f"export PATH={shlex.quote(path)}; {command}"
119
+
120
+
121
+ def sha256(path: Path) -> str:
122
+ h = hashlib.sha256()
123
+ with path.open("rb") as f:
124
+ for chunk in iter(lambda: f.read(1024 * 1024), b""):
125
+ h.update(chunk)
126
+ return h.hexdigest()
127
+
128
+
129
+ def write_json(path: Path, data: dict[str, Any]) -> None:
130
+ tmp = path.with_suffix(path.suffix + ".tmp")
131
+ tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
132
+ tmp.replace(path)
133
+
134
+
135
+ def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
136
+ if path is None or not path.exists():
137
+ return ""
138
+ data = path.read_bytes()
139
+ if len(data) <= max_bytes:
140
+ return data.decode(errors="replace")
141
+ return data[-max_bytes:].decode(errors="replace")
142
+
143
+
144
+ def _close_pipes(proc: subprocess.Popen[Any]) -> None:
145
+ for stream in (proc.stdout, proc.stderr):
146
+ if stream is not None:
147
+ try:
148
+ stream.close()
149
+ except OSError:
150
+ pass
151
+
152
+
153
+ def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
154
+ try:
155
+ os.killpg(proc.pid, signal.SIGKILL)
156
+ except ProcessLookupError:
157
+ pass
158
+ try:
159
+ proc.kill()
160
+ except ProcessLookupError:
161
+ pass
162
+
163
+
164
+ _PKILL_PATTERNS = (
165
+ f"{WORKSPACE}/eval/",
166
+ f"{WORKSPACE}/tests/",
167
+ "tail -f",
168
+ "development.log",
169
+ " less ",
170
+ " less$",
171
+ "/less ",
172
+ )
173
+
174
+
175
+ def _pkill_aggressive() -> str:
176
+ """Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
177
+ notes: list[str] = []
178
+ workspace = str(WORKSPACE)
179
+ patterns = list(_PKILL_PATTERNS) + [
180
+ f"pytest.*{workspace}",
181
+ f"xdist.*{workspace}",
182
+ ]
183
+ for pattern in patterns:
184
+ result = subprocess.run(
185
+ ["pkill", "-9", "-f", pattern],
186
+ capture_output=True,
187
+ text=True,
188
+ )
189
+ notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
190
+ return "\n".join(notes)
191
+
192
+
193
+ def run_step(
194
+ command: str,
195
+ cwd: Path,
196
+ *,
197
+ timeout: int,
198
+ env: dict[str, str] | None = None,
199
+ step: str,
200
+ accept_failure: bool = False,
201
+ log_output: bool | None = None,
202
+ max_output_bytes: int = 65536,
203
+ ) -> dict[str, Any]:
204
+ if log_output is None:
205
+ log_output = step == "run_tests" or timeout >= 60
206
+
207
+ started = time.monotonic()
208
+ stdout_path: Path | None = None
209
+ stderr_path: Path | None = None
210
+ stdout_f = None
211
+ stderr_f = None
212
+
213
+ if log_output:
214
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
215
+ log_id = f"{step}-{int(started * 1000)}"
216
+ stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
217
+ stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
218
+ stdout_f = stdout_path.open("w", encoding="utf-8")
219
+ stderr_f = stderr_path.open("w", encoding="utf-8")
220
+ popen_stdout: Any = stdout_f
221
+ popen_stderr: Any = stderr_f
222
+ else:
223
+ popen_stdout = subprocess.PIPE
224
+ popen_stderr = subprocess.PIPE
225
+
226
+ proc = subprocess.Popen(
227
+ ["bash", "-lc", _bash_login_command(command)],
228
+ cwd=cwd,
229
+ env={**os.environ, **(env or {})},
230
+ stdout=popen_stdout,
231
+ stderr=popen_stderr,
232
+ start_new_session=True,
233
+ text=True,
234
+ )
235
+ timed_out = False
236
+ stdout = ""
237
+ stderr = ""
238
+ try:
239
+ if log_output:
240
+ proc.wait(timeout=timeout)
241
+ else:
242
+ stdout, stderr = proc.communicate(timeout=timeout)
243
+ except subprocess.TimeoutExpired:
244
+ timed_out = True
245
+ _terminate_process_tree(proc)
246
+ cleanup_lingering_processes(aggressive=True)
247
+ try:
248
+ proc.wait(timeout=5)
249
+ except subprocess.TimeoutExpired:
250
+ proc.kill()
251
+ if not log_output:
252
+ _close_pipes(proc)
253
+ finally:
254
+ if stdout_f is not None:
255
+ stdout_f.close()
256
+ if stderr_f is not None:
257
+ stderr_f.close()
258
+
259
+ if timed_out:
260
+ if log_output:
261
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
262
+ stderr_path, max_output_bytes
263
+ )
264
+ else:
265
+ output = ""
266
+ entry = {
267
+ "step": step,
268
+ "command": command,
269
+ "wall_time": time.monotonic() - started,
270
+ "output": output,
271
+ "returncode": 124,
272
+ "exception_info": f"timed out after {timeout}s",
273
+ }
274
+ else:
275
+ if log_output:
276
+ output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
277
+ stderr_path, max_output_bytes
278
+ )
279
+ else:
280
+ output = stdout + stderr
281
+ entry = {
282
+ "step": step,
283
+ "command": command,
284
+ "wall_time": time.monotonic() - started,
285
+ "output": output,
286
+ "returncode": proc.returncode,
287
+ "exception_info": "",
288
+ }
289
+ if entry["returncode"] and not accept_failure:
290
+ raise RuntimeError(
291
+ f"{step} failed: {entry['exception_info'] or entry['output']}"
292
+ )
293
+ return entry
294
+
295
+
296
+ def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
297
+ started = time.monotonic()
298
+ patterns = [
299
+ str(WORKSPACE / "executable"),
300
+ f"{WORKSPACE}/eval/",
301
+ f"{WORKSPACE}/tests/",
302
+ # lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
303
+ "tail -f",
304
+ "development.log",
305
+ ]
306
+ killed: list[int] = []
307
+ proc_root = Path("/proc")
308
+ proc_available = proc_root.exists()
309
+ if proc_available:
310
+ for proc_dir in proc_root.iterdir():
311
+ if not proc_dir.name.isdigit():
312
+ continue
313
+ pid = int(proc_dir.name)
314
+ if pid in {os.getpid(), os.getppid()}:
315
+ continue
316
+ try:
317
+ raw = (proc_dir / "cmdline").read_bytes()
318
+ except (FileNotFoundError, PermissionError, ProcessLookupError):
319
+ continue
320
+ cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
321
+ if not any(pattern in cmdline for pattern in patterns):
322
+ continue
323
+ try:
324
+ os.kill(pid, signal.SIGKILL)
325
+ except (PermissionError, ProcessLookupError):
326
+ continue
327
+ killed.append(pid)
328
+ pkill_output = ""
329
+ if aggressive or not proc_available:
330
+ pkill_output = _pkill_aggressive()
331
+ output_parts = []
332
+ if killed:
333
+ output_parts.append("\n".join(str(pid) for pid in killed))
334
+ if pkill_output:
335
+ output_parts.append(pkill_output)
336
+ return {
337
+ "step": "cleanup_lingering_processes",
338
+ "command": "kill leftover branch processes referencing the workspace",
339
+ "wall_time": time.monotonic() - started,
340
+ "output": "\n".join(output_parts),
341
+ "returncode": 0,
342
+ "exception_info": "",
343
+ }
344
+
345
+
346
+ def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
347
+ import tarfile
348
+
349
+ with tarfile.open(tar_path, "r:gz") as tf:
350
+ try:
351
+ tf.extractall(dest, filter="fully_trusted")
352
+ except TypeError:
353
+ tf.extractall(dest)
354
+
355
+
356
+ def find_results_xml() -> Path | None:
357
+ """Return the junit xml path if pytest wrote one."""
358
+ for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
359
+ if candidate.exists():
360
+ return candidate
361
+ return None
362
+
363
+
364
+ def remove_oracle_handoff_artifacts() -> list[str]:
365
+ """Drop oracle-agent handoff files from /workspace before snapshot/restore."""
366
+ removed: list[str] = []
367
+ for name in _ORACLE_HANDOFF_NAMES:
368
+ path = WORKSPACE / name
369
+ if path.exists():
370
+ if path.is_dir():
371
+ shutil.rmtree(path)
372
+ else:
373
+ path.unlink()
374
+ removed.append(name)
375
+ return removed
376
+
377
+
378
+ def _remove_tree(path: Path) -> None:
379
+ """Remove a file or directory tree, with a shell fallback for overlay races."""
380
+ if path.is_symlink() or path.is_file():
381
+ path.unlink(missing_ok=True)
382
+ return
383
+ if not path.is_dir():
384
+ path.unlink(missing_ok=True)
385
+ return
386
+ for attempt in range(3):
387
+ try:
388
+ shutil.rmtree(path)
389
+ if not path.exists():
390
+ return
391
+ except OSError:
392
+ if attempt == 2:
393
+ run_step(
394
+ f"rm -rf {shlex.quote(str(path))}",
395
+ path.parent,
396
+ timeout=120,
397
+ step="clear_workspace_fallback",
398
+ accept_failure=True,
399
+ )
400
+ if not path.exists():
401
+ return
402
+ raise
403
+
404
+
405
+ def ensure_workspace_dir() -> None:
406
+ """Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
407
+ if WORKSPACE.exists() and not WORKSPACE.is_dir():
408
+ if WORKSPACE.is_symlink() or WORKSPACE.is_file():
409
+ WORKSPACE.unlink()
410
+ else:
411
+ shutil.rmtree(WORKSPACE)
412
+ WORKSPACE.mkdir(parents=True, exist_ok=True)
413
+
414
+
415
+ def clear_workspace() -> None:
416
+ ensure_workspace_dir()
417
+ for path in list(WORKSPACE.iterdir()):
418
+ _remove_tree(path)
419
+
420
+
421
+ def restore_reference_executable() -> None:
422
+ """Write the stashed reference binary into /workspace after a branch overlay.
423
+
424
+ Branch blobs may ship ``executable`` as a dangling symlink into
425
+ ``target/release/...``; ``shutil.copy2`` would follow it and raise
426
+ ``FileNotFoundError``. Drop whatever the blob left and copy the stashed
427
+ reference as a regular file.
428
+ """
429
+ ensure_workspace_dir()
430
+ if not STASHED_EXECUTABLE.is_file():
431
+ raise FileNotFoundError(
432
+ f"missing stashed reference executable at {STASHED_EXECUTABLE}"
433
+ )
434
+ dest = WORKSPACE / "executable"
435
+ if dest.exists() or dest.is_symlink():
436
+ if dest.is_dir():
437
+ shutil.rmtree(dest)
438
+ else:
439
+ dest.unlink(missing_ok=True)
440
+ shutil.copy2(STASHED_EXECUTABLE, dest)
441
+ dest.chmod(0o755)
442
+
443
+
444
+ def snapshot_workspace(dest: Path) -> None:
445
+ if dest.exists():
446
+ shutil.rmtree(dest)
447
+ shutil.copytree(WORKSPACE, dest, symlinks=True)
448
+
449
+
450
+ def restore_workspace(source: Path) -> None:
451
+ clear_workspace()
452
+ shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
453
+ ensure_workspace_dir()
454
+
455
+
456
+ def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
457
+ removed: list[str] = []
458
+ for path in root.rglob("*"):
459
+ if path.is_file() and not path.is_symlink():
460
+ try:
461
+ if sha256(path) in hashes:
462
+ path.unlink()
463
+ removed.append(str(path.relative_to(root)))
464
+ except OSError:
465
+ continue
466
+ return removed
467
+
468
+
469
+ def branch_tests(branch_info: dict[str, Any]) -> list[str]:
470
+ ignored = {
471
+ item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
472
+ }
473
+ return [name for name in branch_info.get("tests", []) if name not in ignored]
474
+
475
+
476
+ def ignored_tests(metadata: dict[str, Any]) -> set[str]:
477
+ result: set[str] = set()
478
+ for branch, info in metadata.get("branches", {}).items():
479
+ result.update(
480
+ f"{branch}/{item['name']}"
481
+ for item in info.get("ignored_tests", [])
482
+ if "name" in item
483
+ )
484
+ return result
485
+
486
+
487
+ def active_tests(metadata: dict[str, Any]) -> set[str]:
488
+ active: set[str] = set()
489
+ for branch, info in metadata.get("branches", {}).items():
490
+ if info.get("ignored"):
491
+ continue
492
+ ignored = {
493
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
494
+ }
495
+ active.update(
496
+ f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
497
+ )
498
+ return active
499
+
500
+
501
+ def inject_not_run(
502
+ result: dict[str, Any], branch: str, tests: list[str], error_code: str
503
+ ) -> None:
504
+ result["test_results"].extend(
505
+ {
506
+ "name": name,
507
+ "branch": branch,
508
+ "status": "not_run",
509
+ "extra": {"error_code": error_code},
510
+ }
511
+ for name in tests
512
+ )
513
+
514
+
515
+ def testcase_name(case: ET.Element) -> str:
516
+ classname = case.attrib.get("classname", "")
517
+ name = case.attrib.get("name", "")
518
+ return f"{classname}.{name}" if classname else name
519
+
520
+
521
+ # Only these tags under <testcase> represent a result. <system-out> /
522
+ # <system-err> are stdout/stderr captures and must not be treated as results
523
+ # (a leading <system-out> followed by <failure> would otherwise be classified
524
+ # as a stdout-only "passed").
525
+ JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
526
+
527
+
528
+ def parse_junit(
529
+ raw_xml: str, branch: str, expected: list[str], ignored: set[str]
530
+ ) -> tuple[list[dict[str, Any]], list[str]]:
531
+ root = ET.fromstring(raw_xml)
532
+ got: set[str] = set()
533
+ results: list[dict[str, Any]] = []
534
+ for case in root.iter("testcase"):
535
+ name = testcase_name(case)
536
+ got.add(name)
537
+ extra: dict[str, Any] = {}
538
+ if "time" in case.attrib:
539
+ try:
540
+ extra["time"] = float(case.attrib["time"])
541
+ except ValueError:
542
+ extra["time"] = case.attrib["time"]
543
+ result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
544
+ # Collapse duplicate same-tag result children. Pytest's
545
+ # "pytest.internal" pseudo-test sometimes emits two identical <error>
546
+ # entries; treating that as a system_error would over-flag a real
547
+ # single failure. Mirrors upstream eval.py:816-820.
548
+ if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
549
+ result_children = [result_children[0]]
550
+ if not result_children:
551
+ status = "passed"
552
+ elif len(result_children) != 1:
553
+ status = "system_error"
554
+ extra["error_details"] = (
555
+ f"Expected 1 result for {name}, got {len(result_children)}: "
556
+ f"{[c.tag for c in result_children]}"
557
+ )
558
+ else:
559
+ first = result_children[0]
560
+ status = first.tag # "skipped" | "failure" | "error"
561
+ extra["message"] = first.attrib.get("message") or ""
562
+ if first.text:
563
+ extra["text"] = first.text
564
+ results.append(
565
+ {"name": name, "branch": branch, "status": status, "extra": extra}
566
+ )
567
+
568
+ active_expected = [name for name in expected if name not in ignored]
569
+ missing = [name for name in active_expected if name not in got]
570
+ results.extend(
571
+ {
572
+ "name": name,
573
+ "branch": branch,
574
+ "status": "not_run",
575
+ "extra": {"error_code": "missing_from_junit_xml"},
576
+ }
577
+ for name in missing
578
+ )
579
+ unexpected = got - set(expected) - ignored
580
+ warnings = (
581
+ [f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
582
+ if unexpected
583
+ else []
584
+ )
585
+ return results, warnings
586
+
587
+
588
+ def count_worker_crashes(raw_xml: str) -> int:
589
+ if WORKER_CRASH_PHRASE not in raw_xml:
590
+ return 0
591
+ try:
592
+ root = ET.fromstring(raw_xml)
593
+ except ET.ParseError:
594
+ return 0
595
+ crashes = 0
596
+ for case in root.iter("testcase"):
597
+ for child in case:
598
+ text = (child.get("message") or "") + " " + (child.text or "")
599
+ if (
600
+ child.tag in {"error", "failure"}
601
+ and WORKER_CRASH_PHRASE in text
602
+ and "crashed" in text
603
+ ):
604
+ crashes += 1
605
+ break
606
+ return crashes
607
+
608
+
609
+ def run_output_indicates_xdist_collapse(output: str) -> bool:
610
+ lower = output.lower()
611
+ return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
612
+
613
+
614
+ def count_junit_failures(raw_xml: str) -> int:
615
+ try:
616
+ root = ET.fromstring(raw_xml)
617
+ except ET.ParseError:
618
+ return 0
619
+ failures = 0
620
+ for case in root.iter("testcase"):
621
+ for child in case:
622
+ if child.tag in {"failure", "error"}:
623
+ failures += 1
624
+ break
625
+ return failures
626
+
627
+
628
+ def count_junit_passed(raw_xml: str) -> int:
629
+ try:
630
+ root = ET.fromstring(raw_xml)
631
+ except ET.ParseError:
632
+ return 0
633
+ passed = 0
634
+ for case in root.iter("testcase"):
635
+ if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
636
+ passed += 1
637
+ return passed
638
+
639
+
640
+ def branch_attempt_metrics(
641
+ raw_xml: str, *, run_output: str, expected_tests: int
642
+ ) -> tuple[int, int, int, int]:
643
+ """Return (crashes, n_testcases, failures, missing_from_xml)."""
644
+ crashes = count_worker_crashes(raw_xml)
645
+ if run_output_indicates_xdist_collapse(run_output):
646
+ crashes = max(crashes, 1)
647
+ n_tests = count_testcases(raw_xml)
648
+ failures = count_junit_failures(raw_xml)
649
+ missing = max(0, expected_tests - n_tests)
650
+ return crashes, n_tests, failures, missing
651
+
652
+
653
+ def needs_serial_retry(
654
+ *,
655
+ serial: bool,
656
+ crashes: int,
657
+ missing: int,
658
+ failures: int,
659
+ n_tests: int,
660
+ expected_tests: int,
661
+ run_output: str,
662
+ ) -> bool:
663
+ if serial:
664
+ return False
665
+ high_failure_rate = (
666
+ expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
667
+ )
668
+ return (
669
+ crashes > 0
670
+ or missing > 0
671
+ or high_failure_rate
672
+ or run_output_indicates_xdist_collapse(run_output)
673
+ )
674
+
675
+
676
+ def count_testcases(raw_xml: str) -> int:
677
+ try:
678
+ return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
679
+ except ET.ParseError:
680
+ return 0
681
+
682
+
683
+ def scored_results(
684
+ result: dict[str, Any], metadata: dict[str, Any]
685
+ ) -> list[dict[str, Any]]:
686
+ active = active_tests(metadata)
687
+ by_key = {
688
+ f"{test['branch']}/{test['name']}": test
689
+ for test in result["test_results"]
690
+ if f"{test['branch']}/{test['name']}" in active
691
+ }
692
+ return [
693
+ by_key.get(
694
+ key,
695
+ {
696
+ "branch": key.split("/", 1)[0],
697
+ "name": key.split("/", 1)[1],
698
+ "status": "not_run",
699
+ "extra": {"error_code": "missing_from_results"},
700
+ },
701
+ )
702
+ for key in sorted(active)
703
+ ]
704
+
705
+
706
+ def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
707
+ scored = scored_results(result, metadata)
708
+ n_passed = sum(t["status"] == "passed" for t in scored)
709
+ n_tests = len(scored)
710
+ pass_rate = n_passed / n_tests if n_tests else 0.0
711
+ # Multi-key reward: Harbor's default Mean aggregates each key independently
712
+ # (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
713
+ # the proportion of tasks scoring a perfect pass-rate and mean of
714
+ # "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
715
+ # per-task pass-rate whose mean is the overall mean reward.
716
+ return {
717
+ "reward": pass_rate,
718
+ "resolved": 1.0 if pass_rate >= 1.0 else 0.0,
719
+ "almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
720
+ }
721
+
722
+
723
+ def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
724
+ scored = scored_results(result, metadata)
725
+ n_passed = sum(t["status"] == "passed" for t in scored)
726
+ n_tests = len(scored)
727
+ pass_rate = n_passed / n_tests if n_tests else 0.0
728
+ return {
729
+ "pass_rate": pass_rate,
730
+ "resolved": int(
731
+ bool(
732
+ n_tests
733
+ and n_passed == n_tests
734
+ and not result["test_branch_errors"]
735
+ and not result["error_code"]
736
+ )
737
+ ),
738
+ "n_passed": n_passed,
739
+ "n_tests": n_tests,
740
+ "n_branch_errors": len(result["test_branch_errors"]),
741
+ "infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
742
+ "executable_hash_present": int(bool(result.get("executable_hash"))),
743
+ }
744
+
745
+
746
+ def use_script_pty() -> bool:
747
+ return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
748
+
749
+
750
+ def script_pty_available() -> bool:
751
+ return shutil.which("script") is not None
752
+
753
+
754
+ def branch_env(
755
+ *,
756
+ serial: bool,
757
+ has_rerunfailures: bool,
758
+ extras: dict[str, str] | None = None,
759
+ ) -> dict[str, str]:
760
+ addopts = ["--max-worker-restart=4"]
761
+ # A serial fallback is already a complete second execution. Re-running each
762
+ # failing test two more times makes large, failure-heavy suites prohibitively
763
+ # slow and adds little signal.
764
+ if has_rerunfailures and not serial:
765
+ addopts.extend(["--reruns=2", "--reruns-delay=1"])
766
+ env = {
767
+ "PYTEST_ADDOPTS": " ".join(addopts),
768
+ # Match upstream non-TTY regression environments (dirble log format, etc.).
769
+ "NO_COLOR": "1",
770
+ "TERM": "dumb",
771
+ "CLICOLOR": "0",
772
+ "CLICOLOR_FORCE": "0",
773
+ "COLORTERM": "",
774
+ }
775
+ if extras:
776
+ env.update(extras)
777
+ xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
778
+ if serial:
779
+ xdist_workers = "1"
780
+ if xdist_workers:
781
+ env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
782
+ return env
783
+
784
+
785
+ _SERIAL_RUN_SH = ".programgym_run_serial.sh"
786
+ # ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
787
+ # ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
788
+ _RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
789
+
790
+
791
+ def prepare_serial_run_sh(run_sh: Path) -> Path:
792
+ """Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
793
+ serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
794
+ patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
795
+ serial_sh.write_text(patched)
796
+ serial_sh.chmod(0o755)
797
+ return serial_sh
798
+
799
+
800
+ def run_tests_command(*, serial: bool) -> str:
801
+ if serial:
802
+ inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
803
+ else:
804
+ inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
805
+ if use_script_pty() and script_pty_available():
806
+ return f"script -q -c {shlex.quote(inner)} /dev/null"
807
+ return inner
808
+
809
+
810
+ BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
811
+
812
+
813
+ def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
814
+ """Locate the per-instance blob directory.
815
+
816
+ Resolution order:
817
+
818
+ 1. ``/tests/blobs/`` if pre-fetched into the task at generation time
819
+ (``programgym-adapter --download-blobs``). Verifier-only mount, so
820
+ agent never sees these.
821
+ 2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
822
+ tree on disk (``<dir>/<instance_id>/tests/<branch>.tar.gz``). Useful
823
+ for offline reruns sharing a cache across many tasks.
824
+ 3. ``huggingface_hub.snapshot_download`` from
825
+ ``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
826
+
827
+ The returned directory contains ``tests/<branch>.tar.gz`` per active
828
+ branch — same shape as ``programgym/ProgramGym-Tests/<instance_id>/``
829
+ on HF.
830
+ """
831
+ if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
832
+ return BAKED_BLOB_DIR
833
+
834
+ local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
835
+ if local:
836
+ candidate = Path(local) / instance_id
837
+ if candidate.exists():
838
+ return candidate
839
+ raise FileNotFoundError(
840
+ f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
841
+ )
842
+
843
+ repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
844
+ "hf_repo_id", DEFAULT_HF_REPO_ID
845
+ )
846
+ revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
847
+ "hf_revision", DEFAULT_HF_REVISION
848
+ )
849
+
850
+ from huggingface_hub import snapshot_download
851
+
852
+ cache_root = Path(
853
+ snapshot_download(
854
+ repo_id,
855
+ repo_type="dataset",
856
+ revision=revision,
857
+ allow_patterns=f"{instance_id}/**",
858
+ )
859
+ )
860
+ blob_dir = cache_root / instance_id
861
+ if not blob_dir.exists():
862
+ raise FileNotFoundError(
863
+ f"HF blob directory missing for {instance_id} at {blob_dir}"
864
+ )
865
+ return blob_dir
866
+
867
+
868
+ def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
869
+ bootstrap_toolchain_path()
870
+ branches = metadata.get("branches", {})
871
+ active_branch_items = [
872
+ (name, info) for name, info in branches.items() if not info.get("ignored")
873
+ ]
874
+ result: dict[str, Any] = {
875
+ "test_results": [],
876
+ "error_code": None,
877
+ "error_details": None,
878
+ "log": [],
879
+ "solution_branch": "submission",
880
+ "test_branches": [name for name, _ in active_branch_items],
881
+ "test_branch_errors": {},
882
+ "executable_hash": None,
883
+ "warnings": [],
884
+ }
885
+
886
+ instance_id = metadata["instance_id"]
887
+
888
+ compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
889
+ branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
890
+
891
+ def fail_all(error_code: str, details: str) -> dict[str, Any]:
892
+ result["error_code"] = error_code
893
+ result["error_details"] = details
894
+ for branch, info in active_branch_items:
895
+ inject_not_run(result, branch, branch_tests(info), error_code)
896
+ return result
897
+
898
+ with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
899
+ compiled_snapshot = Path(tmp) / "compiled"
900
+
901
+ started = time.monotonic()
902
+ removed = remove_hashed_files(
903
+ WORKSPACE, set(metadata.get("eval_clean_hashes", []))
904
+ )
905
+ result["log"].append(
906
+ {
907
+ "step": "remove_hashed_files",
908
+ "command": "remove files matching eval_clean_hashes",
909
+ "wall_time": time.monotonic() - started,
910
+ "output": "".join(f"removed '{path}'\n" for path in removed),
911
+ "returncode": 0,
912
+ "exception_info": "",
913
+ }
914
+ )
915
+
916
+ compile_sh = WORKSPACE / "compile.sh"
917
+ if not compile_sh.exists():
918
+ return fail_all(
919
+ "missing_compile_sh", "submission did not contain compile.sh"
920
+ )
921
+
922
+ seed = (
923
+ "if [ ! -d .git ]; then "
924
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
925
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
926
+ "git -c init.defaultBranch=gold init -q && "
927
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
928
+ "GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
929
+ "GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
930
+ "git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
931
+ "fi"
932
+ )
933
+ try:
934
+ result["log"].append(
935
+ run_step(seed, WORKSPACE, timeout=300, step="seed_git")
936
+ )
937
+ compile_log = run_step(
938
+ "chmod +x ./compile.sh && ./compile.sh",
939
+ WORKSPACE,
940
+ timeout=compile_timeout,
941
+ step="compile",
942
+ accept_failure=True,
943
+ )
944
+ result["log"].append(compile_log)
945
+ if compile_log["returncode"]:
946
+ return fail_all("compile_failed", compile_log["output"])
947
+ executable = WORKSPACE / "executable"
948
+ if not executable.exists():
949
+ return fail_all(
950
+ "missing_executable",
951
+ "compile.sh completed but did not create ./executable",
952
+ )
953
+ STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
954
+ # `move` (not copy) so /workspace doesn't keep a parallel copy of
955
+ # the agent's executable during the stash→restore window. Mirrors
956
+ # upstream `mv ./executable {STASHED}` (eval.py:472).
957
+ shutil.move(str(executable), STASHED_EXECUTABLE)
958
+ result["executable_hash"] = sha256(STASHED_EXECUTABLE)
959
+ result["log"].append(
960
+ run_step(
961
+ "pip3 install -q --disable-pip-version-check pytest-rerunfailures",
962
+ WORKSPACE,
963
+ timeout=120,
964
+ step="install_rerunfailures",
965
+ accept_failure=True,
966
+ )
967
+ )
968
+ has_rerunfailures = result["log"][-1]["returncode"] == 0
969
+ handoff_removed = remove_oracle_handoff_artifacts()
970
+ if handoff_removed:
971
+ result["log"].append(
972
+ {
973
+ "step": "remove_oracle_handoff",
974
+ "command": "remove oracle handoff artifacts from workspace",
975
+ "wall_time": 0.0,
976
+ "output": "".join(
977
+ f"removed '{name}'\n" for name in handoff_removed
978
+ ),
979
+ "returncode": 0,
980
+ "exception_info": "",
981
+ }
982
+ )
983
+ snapshot_workspace(compiled_snapshot)
984
+ except Exception as exc:
985
+ return fail_all(type(exc).__name__, str(exc))
986
+
987
+ try:
988
+ blob_dir = resolve_blob_dir(instance_id, metadata)
989
+ except Exception as exc:
990
+ details = f"{type(exc).__name__}: {exc}"
991
+ for branch, info in active_branch_items:
992
+ result["test_branch_errors"][branch] = [
993
+ {
994
+ "error_code": "blob_resolution_failed",
995
+ "error_details": details,
996
+ }
997
+ ]
998
+ inject_not_run(
999
+ result, branch, branch_tests(info), "blob_resolution_failed"
1000
+ )
1001
+ return result
1002
+
1003
+ for branch, info in active_branch_items:
1004
+ tests = branch_tests(info)
1005
+ blob = blob_dir / "tests" / f"{branch}.tar.gz"
1006
+ if not blob.exists():
1007
+ result["test_branch_errors"][branch] = [
1008
+ {"error_code": "missing_test_blob", "error_details": blob.name}
1009
+ ]
1010
+ inject_not_run(result, branch, tests, "missing_test_blob")
1011
+ continue
1012
+
1013
+ best_xml = ""
1014
+ # Prefer a complete, clean XML result, then the result covering the
1015
+ # most expected tests, and only then the one with the most passes.
1016
+ # Pass-count-only ranking can retain a partial xdist result over a
1017
+ # complete serial result.
1018
+ best_quality = (-1, -1, -1)
1019
+ serial = bool(metadata.get("force_serial_branches"))
1020
+ branch_log: list[dict[str, Any]] = []
1021
+ branch_ignored = {
1022
+ item["name"] for item in info.get("ignored_tests", []) if "name" in item
1023
+ }
1024
+ n_expected = len([name for name in tests if name not in branch_ignored])
1025
+
1026
+ def merge_best_xml(raw_xml: str) -> None:
1027
+ try:
1028
+ parsed, warnings = parse_junit(
1029
+ raw_xml, branch, list(info.get("tests", [])), branch_ignored
1030
+ )
1031
+ except Exception as exc:
1032
+ result["test_branch_errors"][branch] = [
1033
+ {"error_code": "xml_parse_error", "error_details": str(exc)}
1034
+ ]
1035
+ inject_not_run(result, branch, tests, "xml_parse_error")
1036
+ else:
1037
+ result["test_results"].extend(parsed)
1038
+ result["warnings"].extend(warnings)
1039
+
1040
+ while True:
1041
+ branch_log.append(cleanup_lingering_processes())
1042
+ restore_workspace(compiled_snapshot)
1043
+ extract_trusted_blob(blob, WORKSPACE)
1044
+ restore_reference_executable()
1045
+ actual_hash = sha256(WORKSPACE / "executable")
1046
+ if actual_hash != result["executable_hash"]:
1047
+ result["test_branch_errors"][branch] = [
1048
+ {
1049
+ "error_code": "executable_hash_mismatch",
1050
+ "error_details": (
1051
+ f"expected {result['executable_hash']}, got {actual_hash}"
1052
+ ),
1053
+ }
1054
+ ]
1055
+ inject_not_run(result, branch, tests, "executable_hash_mismatch")
1056
+ break
1057
+ run_sh = WORKSPACE / "eval" / "run.sh"
1058
+ if not run_sh.exists():
1059
+ result["test_branch_errors"][branch] = [
1060
+ {
1061
+ "error_code": "missing_run_sh",
1062
+ "error_details": "eval/run.sh missing",
1063
+ }
1064
+ ]
1065
+ inject_not_run(result, branch, tests, "missing_run_sh")
1066
+ break
1067
+ # Upstream rewrites thread→signal so xdist workers fail cleanly
1068
+ # instead of os._exit(1) on timeout. That works in fresh
1069
+ # containers per branch; here we reuse one container and
1070
+ # signal timeouts leave TUI/log-watcher subprocesses alive
1071
+ # (e.g. lazygit --logs + tail -f), wedging pytest for up to
1072
+ # branch_timeout. Keep the blob's thread method and rely on
1073
+ # cleanup_lingering_processes + serial fallback after crashes.
1074
+ env = branch_env(
1075
+ serial=serial,
1076
+ has_rerunfailures=has_rerunfailures,
1077
+ extras=metadata.get("branch_env"),
1078
+ )
1079
+ branch_log.append(
1080
+ run_step(
1081
+ "rm -f eval/results.xml results.xml",
1082
+ WORKSPACE,
1083
+ timeout=120,
1084
+ step="clean_stale_results",
1085
+ accept_failure=True,
1086
+ )
1087
+ )
1088
+ if serial:
1089
+ prepare_serial_run_sh(run_sh)
1090
+ run_entry = run_step(
1091
+ run_tests_command(serial=serial),
1092
+ WORKSPACE,
1093
+ timeout=branch_timeout,
1094
+ env=env,
1095
+ step="run_tests",
1096
+ accept_failure=True,
1097
+ )
1098
+ branch_log.append(run_entry)
1099
+ branch_log.append(cleanup_lingering_processes())
1100
+ xml_path = find_results_xml()
1101
+ if xml_path is None:
1102
+ if best_xml:
1103
+ merge_best_xml(best_xml)
1104
+ break
1105
+ if serial:
1106
+ result["test_branch_errors"][branch] = [
1107
+ {
1108
+ "error_code": "missing_results_xml",
1109
+ "error_details": "eval/results.xml was not produced",
1110
+ }
1111
+ ]
1112
+ inject_not_run(result, branch, tests, "missing_results_xml")
1113
+ break
1114
+ serial = True
1115
+ continue
1116
+ raw_xml = xml_path.read_text(errors="replace")
1117
+ crashes, n_tests, failures, missing = branch_attempt_metrics(
1118
+ raw_xml,
1119
+ run_output=run_entry.get("output", ""),
1120
+ expected_tests=n_expected,
1121
+ )
1122
+ useful = count_junit_passed(raw_xml)
1123
+ quality = (
1124
+ int(crashes == 0 and missing == 0),
1125
+ n_tests,
1126
+ useful,
1127
+ )
1128
+ if quality > best_quality:
1129
+ best_xml = raw_xml
1130
+ best_quality = quality
1131
+ retry = needs_serial_retry(
1132
+ serial=serial,
1133
+ crashes=crashes,
1134
+ missing=missing,
1135
+ failures=failures,
1136
+ n_tests=n_tests,
1137
+ expected_tests=n_expected,
1138
+ run_output=run_entry.get("output", ""),
1139
+ )
1140
+ if not retry:
1141
+ merge_best_xml(best_xml)
1142
+ break
1143
+ serial = True
1144
+ for entry in branch_log:
1145
+ entry["branch"] = branch
1146
+ result["log"].extend(branch_log)
1147
+
1148
+ return result
1149
+
1150
+
1151
+ def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
1152
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
1153
+ write_json(LOG_DIR / "programgym_eval.json", result)
1154
+ write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
1155
+ rewards = summarize(result, metadata)
1156
+ write_json(LOG_DIR / "reward.json", rewards)
1157
+ (LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
1158
+
1159
+
1160
+ def main() -> None:
1161
+ LOG_DIR.mkdir(parents=True, exist_ok=True)
1162
+ log_path = LOG_DIR / "programgym_eval.log"
1163
+ metadata = json.loads(METADATA_PATH.read_text())
1164
+ branches = metadata.get("branches", {})
1165
+ try:
1166
+ result = evaluate(metadata)
1167
+ except Exception as exc:
1168
+ error_code = type(exc).__name__
1169
+ result = {
1170
+ "test_results": [],
1171
+ "error_code": error_code,
1172
+ "error_details": str(exc),
1173
+ "log": [
1174
+ {
1175
+ "step": "evaluator_exception",
1176
+ "exception_info": traceback.format_exc(),
1177
+ "returncode": 1,
1178
+ }
1179
+ ],
1180
+ "solution_branch": "submission",
1181
+ "test_branches": [
1182
+ name for name, info in branches.items() if not info.get("ignored")
1183
+ ],
1184
+ "test_branch_errors": {
1185
+ "__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
1186
+ },
1187
+ "executable_hash": None,
1188
+ "warnings": [],
1189
+ }
1190
+ for branch, info in branches.items():
1191
+ if info.get("ignored"):
1192
+ continue
1193
+ inject_not_run(result, branch, branch_tests(info), error_code)
1194
+ log_path.write_text(traceback.format_exc())
1195
+ else:
1196
+ log_path.write_text("")
1197
+ write_outputs(result, metadata)
1198
+
1199
+
1200
+ if __name__ == "__main__":
1201
+ main()
koba789--human-in-the-loop.6f95553/tests/programgym_task.json ADDED
The diff for this file is too large to render. See raw diff
 
koba789--human-in-the-loop.6f95553/tests/test.sh ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ # Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
5
+ export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
6
+
7
+ mkdir -p /logs/verifier /logs/artifacts
8
+
9
+ write_failure() {
10
+ local code="$1"
11
+ local details="$2"
12
+ python3 - "$code" "$details" <<'PY'
13
+ import json
14
+ import sys
15
+ from pathlib import Path
16
+
17
+ code, details = sys.argv[1:3]
18
+ try:
19
+ metadata = json.loads(Path("/tests/programgym_task.json").read_text())
20
+ n_tests = sum(
21
+ len([
22
+ name for name in info.get("tests", [])
23
+ if name not in {item.get("name") for item in info.get("ignored_tests", [])}
24
+ ])
25
+ for branch, info in metadata.get("branches", {}).items()
26
+ if not info.get("ignored")
27
+ )
28
+ except Exception:
29
+ n_tests = 0
30
+ result = {
31
+ "test_results": [],
32
+ "error_code": code,
33
+ "error_details": details,
34
+ "log": [],
35
+ "solution_branch": "submission",
36
+ "test_branches": [],
37
+ "test_branch_errors": {
38
+ "__infra__": [{"error_code": code, "error_details": details}]
39
+ },
40
+ "executable_hash": None,
41
+ "warnings": [],
42
+ }
43
+ diagnostics = {
44
+ "pass_rate": 0.0,
45
+ "resolved": 0,
46
+ "n_passed": 0,
47
+ "n_tests": n_tests,
48
+ "n_branch_errors": 1,
49
+ "infra_error": 1,
50
+ "executable_hash_present": 0,
51
+ }
52
+ Path("/logs/verifier/programgym_eval.json").write_text(
53
+ json.dumps(result, indent=2, sort_keys=True)
54
+ )
55
+ Path("/logs/verifier/harbor_diagnostics.json").write_text(
56
+ json.dumps(diagnostics, indent=2, sort_keys=True)
57
+ )
58
+ Path("/logs/verifier/reward.json").write_text(
59
+ json.dumps(
60
+ {"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
61
+ indent=2,
62
+ sort_keys=True,
63
+ )
64
+ )
65
+ Path("/logs/verifier/reward.txt").write_text("0.0")
66
+ Path("/logs/verifier/programgym_eval.log").write_text(details)
67
+ PY
68
+ }
69
+
70
+ if ! command -v python3 >/dev/null 2>&1; then
71
+ write_failure "missing_python3" "python3 is required in the cleanroom image"
72
+ exit 0
73
+ fi
74
+
75
+ if ! python3 /tests/programgym_evaluator.py; then
76
+ if [ ! -s /logs/verifier/reward.txt ]; then
77
+ write_failure "evaluator_crashed" \
78
+ "programgym_evaluator.py exited non-zero with no reward written"
79
+ fi
80
+ fi
81
+
82
+ exit 0
koba789--human-in-the-loop.6f95553/tests/workspace.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec6330da43b4264040577f18a88e65395486ba46c19cb54829b994493784601c
3
+ size 22960
koenbollen--jl.ef5e34c/environment/Dockerfile CHANGED
@@ -56,3 +56,4 @@ RUN mkdir -p /home/agent \
56
  && chmod 111 /workspace/executable
57
  ENV HOME=/home/agent
58
  WORKDIR /workspace
 
 
56
  && chmod 111 /workspace/executable
57
  ENV HOME=/home/agent
58
  WORKDIR /workspace
59
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
koenbollen--jl.ef5e34c/tests/Dockerfile CHANGED
@@ -64,3 +64,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
64
  COPY programgym_task.json /tests/programgym_task.json
65
  COPY blobs/ /tests/blobs/
66
  RUN chmod +x /tests/test.sh
 
 
64
  COPY programgym_task.json /tests/programgym_task.json
65
  COPY blobs/ /tests/blobs/
66
  RUN chmod +x /tests/test.sh
67
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
koenrh--s3enum.1e95b89/environment/Dockerfile CHANGED
@@ -56,3 +56,4 @@ RUN mkdir -p /home/agent \
56
  && chmod 111 /workspace/executable
57
  ENV HOME=/home/agent
58
  WORKDIR /workspace
 
 
56
  && chmod 111 /workspace/executable
57
  ENV HOME=/home/agent
58
  WORKDIR /workspace
59
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
koenrh--s3enum.1e95b89/tests/Dockerfile CHANGED
@@ -64,3 +64,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
64
  COPY programgym_task.json /tests/programgym_task.json
65
  COPY blobs/ /tests/blobs/
66
  RUN chmod +x /tests/test.sh
 
 
64
  COPY programgym_task.json /tests/programgym_task.json
65
  COPY blobs/ /tests/blobs/
66
  RUN chmod +x /tests/test.sh
67
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
koihik--luaformatter.29afe10/environment/Dockerfile CHANGED
@@ -64,3 +64,4 @@ RUN mkdir -p /home/agent \
64
  && chmod 111 /workspace/executable
65
  ENV HOME=/home/agent
66
  WORKDIR /workspace
 
 
64
  && chmod 111 /workspace/executable
65
  ENV HOME=/home/agent
66
  WORKDIR /workspace
67
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
koihik--luaformatter.29afe10/tests/Dockerfile CHANGED
@@ -72,3 +72,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
72
  COPY programgym_task.json /tests/programgym_task.json
73
  COPY blobs/ /tests/blobs/
74
  RUN chmod +x /tests/test.sh
 
 
72
  COPY programgym_task.json /tests/programgym_task.json
73
  COPY blobs/ /tests/blobs/
74
  RUN chmod +x /tests/test.sh
75
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
kongaskristjan--fire-hpp.7d000fd/environment/Dockerfile CHANGED
@@ -64,3 +64,4 @@ RUN mkdir -p /home/agent \
64
  && chmod 111 /workspace/executable
65
  ENV HOME=/home/agent
66
  WORKDIR /workspace
 
 
64
  && chmod 111 /workspace/executable
65
  ENV HOME=/home/agent
66
  WORKDIR /workspace
67
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
kongaskristjan--fire-hpp.7d000fd/tests/Dockerfile CHANGED
@@ -72,3 +72,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
72
  COPY programgym_task.json /tests/programgym_task.json
73
  COPY blobs/ /tests/blobs/
74
  RUN chmod +x /tests/test.sh
 
 
72
  COPY programgym_task.json /tests/programgym_task.json
73
  COPY blobs/ /tests/blobs/
74
  RUN chmod +x /tests/test.sh
75
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
korovkin--limiter.004398a/environment/Dockerfile ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ubuntu:24.04
2
+ ARG PROGRAMGYM_APT_REPOSITORY_BASE_URL=""
3
+ ARG PROGRAMGYM_GOPROXY="https://proxy.golang.org,direct"
4
+ ARG PROGRAMGYM_GOSUMDB="sum.golang.org"
5
+ ARG PROGRAMGYM_NPM_REGISTRY="https://registry.npmjs.org/"
6
+ ARG PROGRAMGYM_NPM_STRICT_SSL="true"
7
+ ARG PROGRAMGYM_PYPI_INDEX_URL="https://pypi.org/simple"
8
+ ARG PROGRAMGYM_PYPI_TRUSTED_HOST=""
9
+ ARG PROGRAMGYM_UV_INSECURE_HOST=""
10
+ ARG PROGRAMGYM_RUSTUP_DIST_SERVER="https://static.rust-lang.org"
11
+ ARG PROGRAMGYM_RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
12
+ ARG PROGRAMGYM_CARGO_INDEX="sparse+https://index.crates.io/"
13
+ ARG PROGRAMGYM_CARGO_NET_RETRY="10"
14
+ ARG PROGRAMGYM_CARGO_HTTP_TIMEOUT="600"
15
+ ARG PROGRAMGYM_CARGO_HTTP_MULTIPLEXING="false"
16
+ ARG PROGRAMGYM_MAVEN_MIRROR_URL=""
17
+ ARG PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL=""
18
+ ARG PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL="https://services.gradle.org/distributions"
19
+ ARG PROGRAMGYM_JITPACK_REPOSITORY_URL="https://jitpack.io"
20
+ ENV GOPROXY=${PROGRAMGYM_GOPROXY}
21
+ ENV GOSUMDB=${PROGRAMGYM_GOSUMDB}
22
+ ENV PIP_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
23
+ ENV PIP_TRUSTED_HOST=${PROGRAMGYM_PYPI_TRUSTED_HOST}
24
+ ENV UV_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
25
+ ENV UV_INSECURE_HOST=${PROGRAMGYM_UV_INSECURE_HOST}
26
+ ENV npm_config_registry=${PROGRAMGYM_NPM_REGISTRY}
27
+ ENV npm_config_strict_ssl=${PROGRAMGYM_NPM_STRICT_SSL}
28
+ ENV RUSTUP_DIST_SERVER=${PROGRAMGYM_RUSTUP_DIST_SERVER}
29
+ ENV RUSTUP_UPDATE_ROOT=${PROGRAMGYM_RUSTUP_UPDATE_ROOT}
30
+ ENV CARGO_REGISTRIES_CRATES_IO_INDEX=${PROGRAMGYM_CARGO_INDEX}
31
+ ENV CARGO_NET_RETRY=${PROGRAMGYM_CARGO_NET_RETRY}
32
+ ENV CARGO_HTTP_TIMEOUT=${PROGRAMGYM_CARGO_HTTP_TIMEOUT}
33
+ ENV CARGO_HTTP_MULTIPLEXING=${PROGRAMGYM_CARGO_HTTP_MULTIPLEXING}
34
+ ENV PROGRAMGYM_MAVEN_MIRROR_URL=${PROGRAMGYM_MAVEN_MIRROR_URL}
35
+ ENV PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL=${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL}
36
+ ENV PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL=${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL}
37
+ ENV PROGRAMGYM_JITPACK_REPOSITORY_URL=${PROGRAMGYM_JITPACK_REPOSITORY_URL}
38
+ COPY harbor_configure_apt_mirror.sh /tmp/harbor_configure_apt_mirror.sh
39
+ RUN chmod 0755 /tmp/harbor_configure_apt_mirror.sh \
40
+ && /bin/bash /tmp/harbor_configure_apt_mirror.sh "${PROGRAMGYM_APT_REPOSITORY_BASE_URL}" \
41
+ && rm -f /tmp/harbor_configure_apt_mirror.sh
42
+ COPY harbor_configure_java_mirrors.sh /tmp/harbor_configure_java_mirrors.sh
43
+ RUN chmod 0755 /tmp/harbor_configure_java_mirrors.sh \
44
+ && /bin/bash /tmp/harbor_configure_java_mirrors.sh "${PROGRAMGYM_MAVEN_MIRROR_URL}" "${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL}" "${PROGRAMGYM_JITPACK_REPOSITORY_URL}" \
45
+ && rm -f /tmp/harbor_configure_java_mirrors.sh
46
+ ENV DEBIAN_FRONTEND=noninteractive
47
+ ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
48
+ ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
49
+ ENV GOTOOLCHAIN=auto
50
+ ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
51
+ ENV UV_CACHE_DIR=/workspace/.cache/uv
52
+ ENV npm_config_cache=/workspace/.cache/npm
53
+ ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
54
+ ENV HOME=/workspace
55
+ ENV XDG_CACHE_HOME=/workspace/.cache
56
+ ENV PIP_CACHE_DIR=/workspace/.cache/pip
57
+ ENV PYTHONUSERBASE=/workspace/.local
58
+ ENV GOROOT=/usr/local/go
59
+ ENV GOPATH=/workspace/.go
60
+ ENV GOCACHE=/workspace/.cache/go-build
61
+ ENV PIP_BREAK_SYSTEM_PACKAGES=1
62
+ ENV PATH=/opt/programgym-venv/bin:/usr/local/go/bin:/workspace/.go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
63
+ ENV PAGER=cat
64
+ ENV MANPAGER=cat
65
+ ENV LESS=-R
66
+ ENV TQDM_DISABLE=1
67
+ ENV VIRTUAL_ENV=/opt/programgym-venv
68
+ RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip curl wget xz-utils unzip zip bzip2 zstd patch file binutils python3-venv tar && rm -rf /var/lib/apt/lists/*
69
+ COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
70
+ RUN set -eux; rm -rf /usr/local/go; tar -C /usr/local -xzf /tmp/programgym-go.tar.gz; rm -f /tmp/programgym-go.tar.gz; if [ ! -x /usr/local/go/bin/go ]; then echo "official Go tarball did not create /usr/local/go/bin/go" >&2; exit 1; fi; /usr/local/go/bin/go version
71
+ RUN python3 -m venv /opt/programgym-venv && /opt/programgym-venv/bin/python -m pip install --no-cache-dir --only-binary=:all: pytest pytest-xdist coverage
72
+ WORKDIR /workspace
73
+ ADD workspace.tar.gz /workspace/
74
+ COPY executable /workspace/executable
75
+ COPY download.sh /workspace/download.sh
76
+ RUN chmod 755 /workspace/download.sh
77
+ COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
78
+ RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
79
+ && /bin/bash /tmp/harbor_prepare_download_env.sh \
80
+ && rm -f /workspace/download.sh \
81
+ && rm -f /tmp/harbor_prepare_download_env.sh
82
+ ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
83
+ RUN chmod 111 /workspace/executable
84
+ WORKDIR /workspace
85
+ # programgym-runtime-workspace-cleanup: v1
86
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
87
+ # Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
88
+ # Keep tool/runtime state under /home/agent and reserve /workspace for the
89
+ # submission handed to the separate verifier. Keep the reference executable
90
+ # execute-only; the oracle temporarily restores owner read permission.
91
+ RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
92
+ RUN mkdir -p /home/agent \
93
+ && chown -R agent:agent /home/agent /workspace \
94
+ && chown agent:agent /workspace/executable \
95
+ && chmod 111 /workspace/executable
96
+ ENV HOME=/home/agent
97
+ WORKDIR /workspace
98
+ RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
korovkin--limiter.004398a/environment/docker-compose.yaml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ services:
2
+ main:
3
+ build:
4
+ args:
5
+ PROGRAMGYM_APT_REPOSITORY_BASE_URL: ${PROGRAMGYM_APT_REPOSITORY_BASE_URL:-}
6
+ PROGRAMGYM_GOPROXY: ${PROGRAMGYM_GOPROXY:-https://proxy.golang.org,direct}
7
+ PROGRAMGYM_GOSUMDB: ${PROGRAMGYM_GOSUMDB:-sum.golang.org}
8
+ PROGRAMGYM_NPM_REGISTRY: ${PROGRAMGYM_NPM_REGISTRY:-https://registry.npmjs.org/}
9
+ PROGRAMGYM_NPM_STRICT_SSL: ${PROGRAMGYM_NPM_STRICT_SSL:-true}
10
+ PROGRAMGYM_PYPI_INDEX_URL: ${PROGRAMGYM_PYPI_INDEX_URL:-https://pypi.org/simple}
11
+ PROGRAMGYM_PYPI_TRUSTED_HOST: ${PROGRAMGYM_PYPI_TRUSTED_HOST:-}
12
+ PROGRAMGYM_UV_INSECURE_HOST: ${PROGRAMGYM_UV_INSECURE_HOST:-}
13
+ PROGRAMGYM_RUSTUP_DIST_SERVER: ${PROGRAMGYM_RUSTUP_DIST_SERVER:-https://static.rust-lang.org}
14
+ PROGRAMGYM_RUSTUP_UPDATE_ROOT: ${PROGRAMGYM_RUSTUP_UPDATE_ROOT:-https://static.rust-lang.org/rustup}
15
+ PROGRAMGYM_CARGO_INDEX: ${PROGRAMGYM_CARGO_INDEX:-sparse+https://index.crates.io/}
16
+ PROGRAMGYM_CARGO_NET_RETRY: ${PROGRAMGYM_CARGO_NET_RETRY:-10}
17
+ PROGRAMGYM_CARGO_HTTP_TIMEOUT: ${PROGRAMGYM_CARGO_HTTP_TIMEOUT:-600}
18
+ PROGRAMGYM_CARGO_HTTP_MULTIPLEXING: ${PROGRAMGYM_CARGO_HTTP_MULTIPLEXING:-false}
19
+ PROGRAMGYM_MAVEN_MIRROR_URL: ${PROGRAMGYM_MAVEN_MIRROR_URL:-}
20
+ PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL: ${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL:-}
21
+ PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL: ${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL:-https://services.gradle.org/distributions}
22
+ PROGRAMGYM_JITPACK_REPOSITORY_URL: ${PROGRAMGYM_JITPACK_REPOSITORY_URL:-https://jitpack.io}
korovkin--limiter.004398a/environment/download.sh ADDED
@@ -0,0 +1,213 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ # PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
3
+ # Generated deterministically from repository module metadata; do not edit.
4
+ set -u
5
+ export GOTOOLCHAIN=auto
6
+ mkdir -p /workspace/.programgym_build_env/go-prefetch
7
+ cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
8
+ module github.com/korovkin/limiter
9
+
10
+ go 1.26.0
11
+
12
+ require github.com/onsi/gomega v1.38.2
13
+
14
+ require (
15
+ github.com/google/go-cmp v0.7.0 // indirect
16
+ github.com/google/pprof v0.0.0-20250820193118-f64d9cf942d6 // indirect
17
+ github.com/kr/pretty v0.3.1 // indirect
18
+ github.com/rogpeppe/go-internal v1.14.1 // indirect
19
+ go.yaml.in/yaml/v3 v3.0.4 // indirect
20
+ golang.org/x/tools v0.42.0 // indirect
21
+ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
22
+ )
23
+
24
+ require (
25
+ golang.org/x/net v0.50.0 // indirect
26
+ golang.org/x/text v0.34.0 // indirect
27
+ )
28
+ PROGRAMGYM_GO_MOD_EOF
29
+ cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
30
+ github.com/Masterminds/semver/v3 v3.4.0 h1:Zog+i5UMtVoCU8oKka5P7i9q9HgrJeGzI9SA1Xbatp0=
31
+ github.com/Masterminds/semver/v3 v3.4.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM=
32
+ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
33
+ github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI=
34
+ github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
35
+ github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI=
36
+ github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8=
37
+ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
38
+ github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
39
+ github.com/google/pprof v0.0.0-20250820193118-f64d9cf942d6 h1:EEHtgt9IwisQ2AZ4pIsMjahcegHh6rmhqxzIRQIyepY=
40
+ github.com/google/pprof v0.0.0-20250820193118-f64d9cf942d6/go.mod h1:I6V7YzU0XDpsHqbsyrghnFZLO1gwK6NPTNvmetQIk9U=
41
+ github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
42
+ github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
43
+ github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
44
+ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
45
+ github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
46
+ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
47
+ github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
48
+ github.com/onsi/ginkgo/v2 v2.25.1 h1:Fwp6crTREKM+oA6Cz4MsO8RhKQzs2/gOIVOUscMAfZY=
49
+ github.com/onsi/ginkgo/v2 v2.25.1/go.mod h1:ppTWQ1dh9KM/F1XgpeRqelR+zHVwV81DGRSDnFxK7Sk=
50
+ github.com/onsi/gomega v1.38.2 h1:eZCjf2xjZAqe+LeWvKb5weQ+NcPwX84kqJ0cZNxok2A=
51
+ github.com/onsi/gomega v1.38.2/go.mod h1:W2MJcYxRGV63b418Ai34Ud0hEdTVXq9NW9+Sx6uXf3k=
52
+ github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
53
+ github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
54
+ github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ=
55
+ github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc=
56
+ go.uber.org/automaxprocs v1.6.0 h1:O3y2/QNTOdbF+e/dpXNNW7Rx2hZ4sTIPyybbxyNqTUs=
57
+ go.uber.org/automaxprocs v1.6.0/go.mod h1:ifeIMSnPZuznNm6jmdzmU3/bfk01Fe2fotchwEFJ8r8=
58
+ go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
59
+ go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
60
+ golang.org/x/net v0.50.0 h1:ucWh9eiCGyDR3vtzso0WMQinm2Dnt8cFMuQa9K33J60=
61
+ golang.org/x/net v0.50.0/go.mod h1:UgoSli3F/pBgdJBHCTc+tp3gmrU4XswgGRgtnwWTfyM=
62
+ golang.org/x/sys v0.41.0 h1:Ivj+2Cp/ylzLiEU89QhWblYnOE9zerudt9Ftecq2C6k=
63
+ golang.org/x/sys v0.41.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
64
+ golang.org/x/text v0.34.0 h1:oL/Qq0Kdaqxa1KbNeMKwQq0reLCCaFtqu2eNuSeNHbk=
65
+ golang.org/x/text v0.34.0/go.mod h1:homfLqTYRFyVYemLBFl5GgL/DWEiH5wcsQ5gSh1yziA=
66
+ golang.org/x/tools v0.42.0 h1:uNgphsn75Tdz5Ji2q36v/nsFSfR/9BRFvqhGBaJGd5k=
67
+ golang.org/x/tools v0.42.0/go.mod h1:Ma6lCIwGZvHK6XtgbswSoWroEkhugApmsXyrUmBhfr0=
68
+ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
69
+ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
70
+ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
71
+ PROGRAMGYM_GO_SUM_EOF
72
+ PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY="${GOPROXY:-direct}"
73
+ PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
74
+ case "$PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY" in
75
+ *"|"*|*","*)
76
+ PROGRAMGYM_INTERNAL_GO_FIRST_PROXY="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY%%[,|]*}"
77
+ PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY#*[,|]}"
78
+ if [[ "$PROGRAMGYM_INTERNAL_GO_FIRST_PROXY" =~ [^[:space:]] ]] && [[ "$PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER" =~ [^[:space:]] ]]; then
79
+ PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY="${PROGRAMGYM_GO_PUBLIC_FALLBACK_PROXY:-${PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER}}"
80
+ fi
81
+ ;;
82
+ esac
83
+ if ! [[ "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" =~ [^[:space:]] ]]; then
84
+ PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
85
+ fi
86
+ cat > /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py <<'PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF'
87
+ import os
88
+ import signal
89
+ import subprocess
90
+ import sys
91
+ import time
92
+
93
+ sentinel_path, timeout_text, grace_text, proxy, *command = sys.argv[1:]
94
+ if not command:
95
+ raise SystemExit(125)
96
+ environment = os.environ.copy()
97
+ environment["GOPROXY"] = proxy
98
+ process = subprocess.Popen(command, env=environment, start_new_session=True)
99
+ try:
100
+ returncode = process.wait(timeout=float(timeout_text))
101
+ except subprocess.TimeoutExpired:
102
+ with open(sentinel_path, "w", encoding="utf-8") as sentinel:
103
+ sentinel.write("expired\n")
104
+ try:
105
+ os.killpg(process.pid, signal.SIGTERM)
106
+ except ProcessLookupError:
107
+ pass
108
+ deadline = time.monotonic() + float(grace_text)
109
+ group_alive = True
110
+ while time.monotonic() < deadline:
111
+ process.poll()
112
+ try:
113
+ os.killpg(process.pid, 0)
114
+ except ProcessLookupError:
115
+ group_alive = False
116
+ break
117
+ time.sleep(0.05)
118
+ if group_alive:
119
+ try:
120
+ os.killpg(process.pid, signal.SIGKILL)
121
+ except ProcessLookupError:
122
+ pass
123
+ process.wait()
124
+ raise SystemExit(124)
125
+ if returncode < 0:
126
+ returncode = 128 - returncode
127
+ raise SystemExit(returncode)
128
+ PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF
129
+ PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS="${PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS:-90}"
130
+ if ! [[ "$PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS" =~ ^[1-9][0-9]*$ ]]; then
131
+ printf '%s\n' "download.sh: invalid PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS=${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}" >&2
132
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
133
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
134
+ return 1
135
+ else
136
+ exit 1
137
+ fi
138
+ fi
139
+ if ! command -v python3 >/dev/null 2>&1; then
140
+ printf '%s\n' 'download.sh: python3 is required for bounded Nexus Go downloads' >&2
141
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
142
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
143
+ return 1
144
+ else
145
+ exit 1
146
+ fi
147
+ fi
148
+ _programgym_go_with_nexus_timeout() {
149
+ local programgym_go_rc
150
+ local programgym_go_timeout_sentinel
151
+ if ! programgym_go_timeout_sentinel="$(mktemp "${TMPDIR:-/tmp}/programgym-go-timeout.XXXXXX")"; then
152
+ return 1
153
+ fi
154
+ if python3 /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py "$programgym_go_timeout_sentinel" "$PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS" "5" "$PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY" "$@"; then
155
+ programgym_go_rc=0
156
+ else
157
+ programgym_go_rc=$?
158
+ fi
159
+ programgym_go_timed_out=0
160
+ if [ -s "$programgym_go_timeout_sentinel" ]; then
161
+ programgym_go_timed_out=1
162
+ fi
163
+ rm -f "$programgym_go_timeout_sentinel"
164
+ if [ "$programgym_go_rc" -eq 0 ]; then
165
+ return 0
166
+ fi
167
+ if [ -z "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" ]; then
168
+ printf '%s\n' "download.sh: primary Go request failed with rc=${programgym_go_rc}; GOPROXY has no explicit non-empty fallback remainder" >&2
169
+ return "$programgym_go_rc"
170
+ fi
171
+ if [ "$programgym_go_timed_out" -eq 1 ]; then
172
+ printf '%s\n' "download.sh: primary Go request exceeded ${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}s; retrying with GOPROXY=${PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY}" >&2
173
+ else
174
+ printf '%s\n' "download.sh: primary Go request failed with rc=${programgym_go_rc}; retrying with GOPROXY=${PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY}" >&2
175
+ fi
176
+ env GOPROXY="$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" "$@"
177
+ }
178
+ PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
179
+ if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && _programgym_go_with_nexus_timeout env GOTOOLCHAIN=auto go env GOROOT)"; then
180
+ printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
181
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
182
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
183
+ return 1
184
+ else
185
+ exit 1
186
+ fi
187
+ fi
188
+ if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
189
+ PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
190
+ mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
191
+ cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
192
+ export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
193
+ else
194
+ export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
195
+ fi
196
+ export PATH="$GOROOT/bin:$PATH"
197
+ export GOTOOLCHAIN=local
198
+ if ! (cd /workspace/.programgym_build_env/go-prefetch && _programgym_go_with_nexus_timeout go mod download -modfile=/workspace/.programgym_build_env/go-prefetch/go.mod all); then
199
+ printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
200
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
201
+ if [ "${BASH_SOURCE[0]}" != "$0" ]; then
202
+ return 1
203
+ else
204
+ exit 1
205
+ fi
206
+ fi
207
+ rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
208
+ unset -f _programgym_go_with_nexus_timeout
209
+ unset PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY
210
+ unset PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY
211
+ unset PROGRAMGYM_INTERNAL_GO_FIRST_PROXY
212
+ unset PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER
213
+ unset PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS
korovkin--limiter.004398a/environment/executable ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8fe6a37ed9ead739ee47884c434a51d21e3a970450ffd74d77fc6dc92c23c0a
3
+ size 2425184
korovkin--limiter.004398a/environment/harbor_configure_apt_mirror.sh ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ repository_base="${1%/}"
5
+ if [[ -z "$repository_base" ]]; then
6
+ exit 0
7
+ fi
8
+
9
+ . /etc/os-release
10
+ codename="${VERSION_CODENAME:-}"
11
+ if [[ -z "$codename" ]]; then
12
+ echo "VERSION_CODENAME is not set" >&2
13
+ exit 1
14
+ fi
15
+
16
+ if [[ "$ID" == "ubuntu" ]]; then
17
+ repository_name="apt-proxy"
18
+ components="main universe restricted multiverse"
19
+ else
20
+ repository_name="debian-proxy"
21
+ components="main contrib non-free non-free-firmware"
22
+ fi
23
+
24
+ install -d /etc/apt/sources.list.d
25
+ rm -f /etc/apt/sources.list /etc/apt/sources.list.d/*
26
+ printf 'deb [trusted=yes] %s/%s %s %s\n' \
27
+ "$repository_base" "$repository_name" "$codename" "$components" \
28
+ >/etc/apt/sources.list
29
+ printf 'deb [trusted=yes] %s/%s %s-updates %s\n' \
30
+ "$repository_base" "$repository_name" "$codename" "$components" \
31
+ >>/etc/apt/sources.list
32
+
33
+ if [[ "$ID" != "ubuntu" ]]; then
34
+ printf 'deb [trusted=yes] %s/%s %s-security %s\n' \
35
+ "$repository_base" "debian-proxy-security" "$codename" "$components" \
36
+ >>/etc/apt/sources.list
37
+ fi
korovkin--limiter.004398a/environment/harbor_configure_java_mirrors.sh ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ maven_url="${1%/}"
5
+ plugin_url="${2%/}"
6
+ jitpack_url="${3%/}"
7
+
8
+ install -d /workspace/.m2 /workspace/.gradle/init.d /opt/programgym/gradle-init
9
+ if [[ -n "$maven_url" ]]; then
10
+ cat >/workspace/.m2/settings.xml <<EOF
11
+ <?xml version="1.0" encoding="UTF-8"?>
12
+ <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0">
13
+ <mirrors>
14
+ <mirror>
15
+ <id>programgym-maven</id>
16
+ <name>ProgramGym Maven mirror</name>
17
+ <url>${maven_url}</url>
18
+ <mirrorOf>*</mirrorOf>
19
+ </mirror>
20
+ </mirrors>
21
+ </settings>
22
+ EOF
23
+ fi
24
+
25
+ cat >/opt/programgym/gradle-init/programgym-mirrors.gradle <<'EOF'
26
+ def pbMaven = System.getenv('PROGRAMGYM_MAVEN_MIRROR_URL')
27
+ def pbPlugins = System.getenv('PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL')
28
+ def pbJitpack = System.getenv('PROGRAMGYM_JITPACK_REPOSITORY_URL')
29
+
30
+ settingsEvaluated { settings ->
31
+ settings.pluginManagement.repositories {
32
+ if (pbPlugins) { maven { url = uri(pbPlugins) } }
33
+ if (pbMaven) { maven { url = uri(pbMaven) } }
34
+ }
35
+ }
36
+
37
+ allprojects {
38
+ buildscript.repositories {
39
+ if (pbPlugins) { maven { url = uri(pbPlugins) } }
40
+ if (pbMaven) { maven { url = uri(pbMaven) } }
41
+ if (pbJitpack) { maven { url = uri(pbJitpack) } }
42
+ }
43
+ repositories {
44
+ if (pbMaven) { maven { url = uri(pbMaven) } }
45
+ if (pbJitpack) { maven { url = uri(pbJitpack) } }
46
+ }
47
+ }
48
+ EOF
49
+ cp /opt/programgym/gradle-init/programgym-mirrors.gradle \
50
+ /workspace/.gradle/init.d/programgym-mirrors.gradle
korovkin--limiter.004398a/environment/harbor_prepare_download_env.sh ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ cd /workspace
4
+ set -a
5
+ if [[ -n "${PROGRAMGYM_MAVEN_MIRROR_URL:-}" ]]; then
6
+ sed -i -e "s|https://repo.maven.apache.org/maven2|${PROGRAMGYM_MAVEN_MIRROR_URL%/}|g" -e "s|https://repo1.maven.org/maven2|${PROGRAMGYM_MAVEN_MIRROR_URL%/}|g" /workspace/download.sh
7
+ fi
8
+ if [[ -n "${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL:-}" ]]; then
9
+ sed -i -e "s|https://services.gradle.org/distributions|${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL%/}|g" -e "s|https://downloads.gradle.org/distributions|${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL%/}|g" /workspace/download.sh
10
+ fi
11
+ if [[ -n "${PROGRAMGYM_JITPACK_REPOSITORY_URL:-}" ]]; then
12
+ sed -i -e "s|https://jitpack.io|${PROGRAMGYM_JITPACK_REPOSITORY_URL%/}|g" /workspace/download.sh
13
+ fi
14
+ source /workspace/download.sh
15
+ set +a
16
+ python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
17
+ import os
18
+ import shlex
19
+
20
+ ignored = {
21
+ "ALL_PROXY",
22
+ "HTTP_PROXY",
23
+ "HTTPS_PROXY",
24
+ "NO_PROXY",
25
+ "OLDPWD",
26
+ "PIP_PROXY",
27
+ "PWD",
28
+ "SHLVL",
29
+ "_",
30
+ "all_proxy",
31
+ "http_proxy",
32
+ "https_proxy",
33
+ "no_proxy",
34
+ "pip_proxy",
35
+ }
36
+ for key in sorted(os.environ):
37
+ if key in ignored or key.startswith("BASH_FUNC_"):
38
+ continue
39
+ value = os.environ[key]
40
+ if "\n" in value:
41
+ continue
42
+ print(f"export {key}={shlex.quote(value)}")
43
+ PY
44
+ chmod 0644 /etc/profile.d/programgym_download_env.sh
korovkin--limiter.004398a/environment/programgym-go.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
3
+ size 59908810
korovkin--limiter.004398a/environment/workspace.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a262b2d2b47ee018f51311c1b039454a9b605c324f7fb418abb242fd6124d457
3
+ size 1596
korovkin--limiter.004398a/instruction.md ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ You are a helpful assistant that can interact with a computer.
2
+
3
+ This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
4
+ Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
5
+ You must figure out the behavior solely by running and interacting with the provided binary.
6
+ Writing original code based on observed behavior is the entire point of this benchmark.
7
+
8
+ Any approach that shortcuts this — finding existing source code, wrapping the binary,
9
+ or installing the original tool — does not count as a solution. It will be detected by an
10
+ automated judge, marked as a disqualification, and scored as a failure.
11
+ The trace will be posted to an online wall of shame.
12
+
13
+ <RULES>
14
+ ## What is not allowed
15
+
16
+ ### 1. Obtaining source code
17
+
18
+ The only source of truth about what the executable does is the executable itself and its
19
+ bundled documentation. You must not search the internet, package registries, or any external
20
+ source for information about this project's source code. Even if you recognize what the
21
+ executable is, you must reimplement it from behavioral observation alone.
22
+
23
+ This includes but is not limited to:
24
+ - Cloning or browsing the original GitHub repository, its forks, or mirrors
25
+ - Downloading the project from package registries: `cargo install <project>`, `go get github.com/<org>/<project>`, `pip install <project>`, `apt-get source <project>`, `npm install <project>`, etc.
26
+ - Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
27
+ - Using a package manager to download the project as a dependency and then reading its cached source (e.g., navigating into `~/.cargo/registry/src/` or `$(go env GOPATH)/pkg/mod/`)
28
+ - Searching the web for the project's source code or implementation details
29
+
30
+ ### 2. Wrapping or reusing the original binary
31
+
32
+ Your submission must be a genuine reimplementation. The provided `./executable` is for
33
+ observation only — your final solution must not depend on it or any other pre-built version
34
+ of the same tool at runtime.
35
+
36
+ This includes but is not limited to:
37
+ - Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
38
+ - Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
39
+ - Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
40
+ - Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
41
+ - Re-linking prebuilt `.o` object files found in the workspace without writing new source code
42
+
43
+ ### 3. Binary analysis of the provided executable
44
+
45
+ All information about the provided `./executable` must be obtained by interacting with it
46
+ through its normal user interface (CLI flags, stdin/stdout, etc.).
47
+ - You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
48
+ - You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
49
+
50
+ Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
51
+ analysis tools on binaries that you produce yourself during development.
52
+
53
+ ## What IS allowed
54
+
55
+ - Running the executable with any inputs, flags, and arguments to observe its behavior
56
+ - Reading any documentation files bundled in the workspace
57
+ </RULES>
58
+
59
+ ## Task context
60
+
61
+ We want to write the source code for a given executable.
62
+ The executable is located at `./executable` in the workspace root.
63
+
64
+ You also have access to the existing documentation.
65
+
66
+ ## Your task
67
+
68
+ Implement the source code to generate an executable of exactly identical behavior as the original.
69
+
70
+ No project-specific dependencies are pre-installed.
71
+ You do NOT have access to the internet.
72
+ **IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
73
+ Finally, commit your changes.
74
+
75
+ Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
76
+ `compile.sh` should be executable and should install any dependencies needed to compile the executable.
77
+ If your compile.sh fails to compile on a fresh checkout, your task has failed.
78
+
79
+ ## Important: This is a reverse-engineering benchmark
80
+
81
+ Your goal is to write original code from scratch that reproduces the executable's behavior.
82
+ The only way to learn what the executable does is to run it and read its bundled documentation.
83
+
84
+ Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
85
+ provided binary will be detected by an automated judge, disqualified, and scored as zero.
86
+ See the full rules in the system prompt above. Key points:
87
+
88
+ - Do NOT search the internet, clone repos, or download the project from any package registry
89
+ - Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
90
+ - Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
91
+ - You SHOULD extensively test the executable to understand its behavior before writing code.
92
+ If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
93
+
94
+ ## Recommended Workflow
95
+
96
+ 1. Explore all documentation files
97
+ 2. Play with the executable to understand its behavior (however, you MUST NOT decompile `./executable` or perform any other form of binary or strace/ltrace analysis on it)
98
+ 3. Write the source code to implement the behavior