From 91ba370650476da06129606b6a1acbcd2170ade5 Mon Sep 17 00:00:00 2001 From: Nathaniel Flurry <3322446+NathanFlurry@users.noreply.github.com> Date: Wed, 9 Sep 2026 23:52:12 +0000 Subject: [PATCH 1/2] chore: add The Company Company environment config --- .company/environment.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .company/environment.json diff --git a/.company/environment.json b/.company/environment.json new file mode 100644 index 0000000000..dbb50bccc1 --- /dev/null +++ b/.company/environment.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://api.thecompany.company/schemas/v1/environment.json", + "scripts": { + "install": { + "command": "set -euo pipefail\nexport DEBIAN_FRONTEND=noninteractive\nsudo apt-get update -y\nsudo apt-get install -y --no-install-recommends ca-certificates curl gnupg xz-utils binutils sccache build-essential pkg-config libssl-dev make git\ncurl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash -\nsudo apt-get install -y --no-install-recommends nodejs\nsudo corepack enable\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --component rustfmt,clippy\nrustup toolchain install nightly --component rust-src --target wasm32-wasip1\nsudo ln -sf \"$HOME\"/.cargo/bin/* /usr/local/bin/\npnpm install --frozen-lockfile\ncargo fetch --locked", + "timeout": 3600 + }, + "prepare": { + "command": "set -euo pipefail\npnpm install --frozen-lockfile\ncargo fetch --locked", + "timeout": 900 + } + }, + "env": { + "COREPACK_ENABLE_DOWNLOAD_PROMPT": "0", + "CARGO_NET_GIT_FETCH_WITH_CLI": "true", + "AGENTOS_SKIP_NATIVE_META_BUILD": "1" + } +} From d89875e34e5cc4ee94a15f420fcd7d5c13e3bc9a Mon Sep 17 00:00:00 2001 From: Nathaniel Flurry <3322446+NathanFlurry@users.noreply.github.com> Date: Wed, 9 Sep 2026 23:57:50 +0000 Subject: [PATCH 2/2] fix: link rustup shims onto PATH before installing the nightly toolchain --- .company/environment.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.company/environment.json b/.company/environment.json index dbb50bccc1..d9d605facd 100644 --- a/.company/environment.json +++ b/.company/environment.json @@ -2,7 +2,7 @@ "$schema": "https://api.thecompany.company/schemas/v1/environment.json", "scripts": { "install": { - "command": "set -euo pipefail\nexport DEBIAN_FRONTEND=noninteractive\nsudo apt-get update -y\nsudo apt-get install -y --no-install-recommends ca-certificates curl gnupg xz-utils binutils sccache build-essential pkg-config libssl-dev make git\ncurl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash -\nsudo apt-get install -y --no-install-recommends nodejs\nsudo corepack enable\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --component rustfmt,clippy\nrustup toolchain install nightly --component rust-src --target wasm32-wasip1\nsudo ln -sf \"$HOME\"/.cargo/bin/* /usr/local/bin/\npnpm install --frozen-lockfile\ncargo fetch --locked", + "command": "set -euo pipefail\nexport DEBIAN_FRONTEND=noninteractive\nsudo apt-get update -y\nsudo apt-get install -y --no-install-recommends ca-certificates curl gnupg xz-utils binutils sccache build-essential pkg-config libssl-dev make git\ncurl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash -\nsudo apt-get install -y --no-install-recommends nodejs\nsudo corepack enable\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --component rustfmt,clippy\nsudo ln -sf \"$HOME\"/.cargo/bin/* /usr/local/bin/\nrustup toolchain install nightly --component rust-src --target wasm32-wasip1\npnpm install --frozen-lockfile\ncargo fetch --locked", "timeout": 3600 }, "prepare": {