@alpic-ai/tracks 0.4.2 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/main.js +4 -5
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -714,7 +714,6 @@ var ApiClient = class ApiClient extends Context.Service()("@tracks/contract/ApiC
714
714
  //#endregion
715
715
  //#region ../env/src/env.ts
716
716
  const Secret = Schema.Redacted(Schema.NonEmptyString);
717
- const AgentRunnerKey = Schema.Redacted(Schema.NonEmptyString.check(Schema.isMinLength(32)));
718
717
  const StripeKey = (prefix) => Schema.Redacted(Schema.String.check(Schema.isStartingWith(prefix)));
719
718
  const Port = Schema.Int.check(Schema.isBetween({
720
719
  minimum: 1,
@@ -740,7 +739,6 @@ const IpAddresses = Schema.String.pipe(Schema.decodeTo(Schema.Array(Schema.Strin
740
739
  })));
741
740
  const SentryDsn = Schema.URLFromString.check(Schema.makeFilter((url) => url.protocol === "https:" && url.username !== "" || "must be a Sentry DSN"));
742
741
  const Secrets = Schema.Struct({
743
- AGENT_RUNNER_KEY: AgentRunnerKey,
744
742
  TRACKS_API_KEY: Secret,
745
743
  DAYTONA_API_KEY: Secret,
746
744
  E2B_API_KEY: Secret,
@@ -777,7 +775,8 @@ const Variables = Schema.Struct({
777
775
  "Fatal"
778
776
  ]).pipe(Schema.withDecodingDefaultKey(Effect.succeed("Info"))),
779
777
  DEPLOYMENT_ENVIRONMENT: Schema.NonEmptyString.pipe(Schema.withDecodingDefaultKey(Effect.succeed("local"))),
780
- OTLP_METRICS_URL: Schema.optionalKey(Schema.URLFromString)
778
+ OTLP_METRICS_URL: Schema.optionalKey(Schema.URLFromString),
779
+ LOAD_BALANCER_ARN: Schema.optionalKey(Schema.NonEmptyString)
781
780
  });
782
781
  const Env = Schema.Struct({
783
782
  ...Secrets.fields,
@@ -821,9 +820,9 @@ const OBSERVABILITY_ENV = [
821
820
  "OTLP_METRICS_URL"
822
821
  ];
823
822
  const SERVICE_ENV = [
824
- "AGENT_RUNNER_KEY",
825
823
  "PORT",
826
824
  "EGRESS_IPS",
825
+ "LOAD_BALANCER_ARN",
827
826
  ...LOG_ENV,
828
827
  ...OBSERVABILITY_ENV,
829
828
  ...AGENT_RUNNER_ENV,
@@ -835,7 +834,7 @@ SERVICE_ENV.flatMap((name) => isSecret(name) && !isDatabaseVariable(name) ? [nam
835
834
  const readEnv = (...names) => Config.schema(Env.mapFields(Struct.pick(names)));
836
835
  //#endregion
837
836
  //#region package.json
838
- var version = "0.4.2";
837
+ var version = "0.5.0";
839
838
  //#endregion
840
839
  //#region src/connections.ts
841
840
  const encodeConnection = Schema.encodeEffect(Schema.fromJsonString(Connection, { space: 2 }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alpic-ai/tracks",
3
- "version": "0.4.2",
3
+ "version": "0.5.0",
4
4
  "description": "Run coding agents in sandboxes from the command line",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {