@usecontextlayer/ctxs 0.5.15 → 0.5.16

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]="79ae00f4-d133-5928-a0d8-d9140d60666c")}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]="3bf0713e-bd74-5249-b278-e30de2c2d243")}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";
@@ -4775,7 +4775,7 @@ function normalizedKey(event) {
4775
4775
 
4776
4776
  //#endregion
4777
4777
  //#region package.json
4778
- var version$1 = "0.5.15";
4778
+ var version$1 = "0.5.16";
4779
4779
 
4780
4780
  //#endregion
4781
4781
  //#region sentry.ts
@@ -13208,6 +13208,13 @@ const providerTokenLeaseSchema = object$4({
13208
13208
  accessTokenExpiresAt: datetime$2({ offset: true }).transform((value) => new Date(value)).nullable()
13209
13209
  }).meta({ title: "ProviderTokenLease" });
13210
13210
 
13211
+ //#endregion
13212
+ //#region ../shared/dist/ctx-token-provider.mjs
13213
+ function ctxAuthHeaders(tokenProvider) {
13214
+ if (!tokenProvider) return {};
13215
+ return { headers: { Authorization: async () => `Bearer ${await tokenProvider()}` } };
13216
+ }
13217
+
13211
13218
  //#endregion
13212
13219
  //#region ../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/lib/buffer_utils.js
13213
13220
  const encoder = new TextEncoder();
@@ -14558,13 +14565,6 @@ function createDevJwtVerifier() {
14558
14565
  };
14559
14566
  }
14560
14567
 
14561
- //#endregion
14562
- //#region ../shared/dist/index.mjs
14563
- function ctxAuthHeaders(tokenProvider) {
14564
- if (!tokenProvider) return {};
14565
- return { headers: { Authorization: async () => `Bearer ${await tokenProvider()}` } };
14566
- }
14567
-
14568
14568
  //#endregion
14569
14569
  //#region ../slate-shared/dist/index.mjs
14570
14570
  const INBOX_DOCS_TREE = {
@@ -58877,7 +58877,7 @@ function createScheduleApiClient(config) {
58877
58877
  })
58878
58878
  };
58879
58879
  }
58880
- const SERVER_VERSION = "0.5.15";
58880
+ const SERVER_VERSION = "0.5.16";
58881
58881
  /** The most operations one OperationSet will carry. The service's own ceiling. */
58882
58882
  const MAX_OPERATIONS = 200;
58883
58883
  /**
@@ -86503,7 +86503,7 @@ function osUsername() {
86503
86503
  }
86504
86504
 
86505
86505
  //#endregion
86506
- //#region ../slate-bridge/dist/goldens-D9ukh7TR.mjs
86506
+ //#region ../slate-bridge/dist/goldens-CEuJ0Yli.mjs
86507
86507
  const nonEmptyStringSchema = string$3().trim().min(1);
86508
86508
  const portSchema = number$3().int().min(0).max(65535).default(7777);
86509
86509
  const envSchema = object$4({
@@ -86512,7 +86512,7 @@ const envSchema = object$4({
86512
86512
  CTX_PLATFORM_URL: url().default("http://127.0.0.1:3010").transform((url) => url.replace(/\/+$/, "")),
86513
86513
  CTX_WEB_URL: url().default("http://localhost:3000").transform((url) => url.replace(/\/+$/, "")),
86514
86514
  CTXS_BRIDGE_PORT: portSchema,
86515
- CTXS_CLAUDE_IMAGE: nonEmptyStringSchema.default("ghcr.io/usecontextlayer/ctx-sandbox:0.5.15"),
86515
+ CTXS_CLAUDE_IMAGE: nonEmptyStringSchema.default("ghcr.io/usecontextlayer/ctx-sandbox:0.5.16"),
86516
86516
  CTXS_CLAUDE_MODEL: nonEmptyStringSchema.default("opus"),
86517
86517
  CTXS_HOST_CLAUDE_JSON_PATH: nonEmptyStringSchema.default(() => path.join(os.homedir(), ".claude.json")),
86518
86518
  NODE_ENV: _enum$1([
@@ -91778,4 +91778,4 @@ runCli().catch((error) => {
91778
91778
  //#endregion
91779
91779
  export { createProgram, runCli };
91780
91780
  //# sourceMappingURL=cli.mjs.map
91781
- //# debugId=79ae00f4-d133-5928-a0d8-d9140d60666c
91781
+ //# debugId=3bf0713e-bd74-5249-b278-e30de2c2d243