@usecontextlayer/ctxs 0.5.9 → 0.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="cbe5b6e8-7967-59e4-85fb-21295e72a0a4")}catch(e){}}();
3
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="03f63fdf-d723-5d19-8f56-4178bb2fbd0a")}catch(e){}}();
4
4
  import { createRequire } from "node:module";
5
5
  import * as Sentry from "@sentry/node";
6
6
  import * as fs$2 from "node:fs/promises";
@@ -65,7 +65,7 @@ var __require = /* @__PURE__ */ createRequire(import.meta.url);
65
65
 
66
66
  //#endregion
67
67
  //#region package.json
68
- var version$2 = "0.5.9";
68
+ var version$2 = "0.5.10";
69
69
 
70
70
  //#endregion
71
71
  //#region sentry.ts
@@ -56240,7 +56240,7 @@ function createScheduleApiClient(config) {
56240
56240
  }
56241
56241
  };
56242
56242
  }
56243
- const SERVER_VERSION = "0.5.9";
56243
+ const SERVER_VERSION = "0.5.10";
56244
56244
  const guidDescription = "GUID from the synced Postgres tables";
56245
56245
  const labelDescription = "Human-readable label rendered on the approval card";
56246
56246
  function scheduleApiFromRequest(requestInfo) {
@@ -83706,7 +83706,7 @@ function osUsername() {
83706
83706
  }
83707
83707
 
83708
83708
  //#endregion
83709
- //#region ../slate-bridge/dist/goldens-BvWNoUoP.mjs
83709
+ //#region ../slate-bridge/dist/goldens-Dt6RFRRi.mjs
83710
83710
  const nonEmptyStringSchema = string$1().trim().min(1);
83711
83711
  const portSchema = number$1().int().min(0).max(65535).default(7777);
83712
83712
  const envSchema = object$2({
@@ -83715,7 +83715,7 @@ const envSchema = object$2({
83715
83715
  CTX_PLATFORM_URL: url().default("http://127.0.0.1:3010").transform((url) => url.replace(/\/+$/, "")),
83716
83716
  CTX_WEB_URL: url().default("http://localhost:3000").transform((url) => url.replace(/\/+$/, "")),
83717
83717
  CTXS_BRIDGE_PORT: portSchema,
83718
- CTXS_CLAUDE_IMAGE: nonEmptyStringSchema.default("ghcr.io/usecontextlayer/ctx-sandbox:0.5.9"),
83718
+ CTXS_CLAUDE_IMAGE: nonEmptyStringSchema.default("ghcr.io/usecontextlayer/ctx-sandbox:0.5.10"),
83719
83719
  CTXS_CLAUDE_MODEL: nonEmptyStringSchema.default("opus"),
83720
83720
  CTXS_HOST_CLAUDE_JSON_PATH: nonEmptyStringSchema.default(() => path.join(os.homedir(), ".claude.json")),
83721
83721
  NODE_ENV: _enum([
@@ -84466,7 +84466,7 @@ async function createBridgeServer(opts) {
84466
84466
  try {
84467
84467
  const plan = await fetchBridgePlan(platformUrl, workspaceId, userToken);
84468
84468
  const chatBaseId = resolveChatBaseId(plan.baseIds, workspaceId);
84469
- const [, checkout, baseDsn] = await Promise.all([
84469
+ const bootTasks = [
84470
84470
  claudeRepo.restore(),
84471
84471
  ensureWorkspaceCheckout(workspaceId, {
84472
84472
  gitHostBaseDir,
@@ -84474,7 +84474,8 @@ async function createBridgeServer(opts) {
84474
84474
  token: userToken
84475
84475
  }),
84476
84476
  chatBaseId === void 0 ? Promise.resolve(void 0) : fetchBaseDsn(platformUrl, chatBaseId, userToken)
84477
- ]);
84477
+ ];
84478
+ const [, checkout, baseDsn] = await Promise.all(bootTasks).finally(() => Promise.allSettled(bootTasks));
84478
84479
  if (checkout.freshness === "held_diverged") noteDivergedCheckout(workspaceId);
84479
84480
  const rootDir = checkout.rootDir;
84480
84481
  if (ac.signal.aborted) return;
@@ -88751,4 +88752,4 @@ runCli().catch((error) => {
88751
88752
  //#endregion
88752
88753
  export { createProgram, runCli };
88753
88754
  //# sourceMappingURL=cli.mjs.map
88754
- //# debugId=cbe5b6e8-7967-59e4-85fb-21295e72a0a4
88755
+ //# debugId=03f63fdf-d723-5d19-8f56-4178bb2fbd0a