@tablation/crew 0.127.3 → 0.127.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.js +3 -0
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -13134,12 +13134,14 @@ function baseLayer() {
13134
13134
  ].join("\n");
13135
13135
  return { name: "base", tag: `crew-sandbox-base:${hash({ SANDBOX_BASE_IMAGE, SANDBOX_OPENSHELL_VERSION })}`, dockerfile, files: {} };
13136
13136
  }
13137
+ var APT_HTTPS_COMMAND = "sed -i -E 's#http://([a-z0-9.-]*\\.)?ubuntu\\.com#https://\\1ubuntu.com#g' /etc/apt/sources.list.d/ubuntu.sources 2>/dev/null || true";
13137
13138
  function crewLayer(base, intel, bridge) {
13138
13139
  const files = { "credential-helper": CREDENTIAL_HELPER, "mcp.json": MCP_CONFIG, ...bridge ? { "intel-bridge": bridge } : {} };
13139
13140
  const env = Object.entries(CREW_ENV).map(([k, v]) => `${k}=${v}`).join(" ");
13140
13141
  const dockerfile = [
13141
13142
  `FROM ${base.tag}`,
13142
13143
  "USER root",
13144
+ run2(APT_HTTPS_COMMAND),
13143
13145
  run2(`apt-get update && apt-get install -y --no-install-recommends ca-certificates curl git${intel ? " python3 python3-venv nodejs" : ""} && rm -rf /var/lib/apt/lists/*`),
13144
13146
  `COPY credential-helper ${CREW_PREFIX}/bin/credential-helper`,
13145
13147
  `COPY mcp.json ${CREW_PREFIX}/mcp/mcp.json`,
@@ -13188,6 +13190,7 @@ function repoLayer(repo, decl, crew, warm) {
13188
13190
  lines2.push(`FROM ${crew.tag}`, "USER root");
13189
13191
  }
13190
13192
  if (decl.packages.length > 0) {
13193
+ lines2.push(run2(APT_HTTPS_COMMAND));
13191
13194
  lines2.push(run2(`apt-get update && apt-get install -y --no-install-recommends ${decl.packages.join(" ")} && rm -rf /var/lib/apt/lists/*`));
13192
13195
  }
13193
13196
  lines2.push(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tablation/crew",
3
- "version": "0.127.3",
3
+ "version": "0.127.4",
4
4
  "description": "A standing team of headless agents that picks work off a Tablation board, does it on a machine you control, and reports back.",
5
5
  "type": "module",
6
6
  "license": "MIT",