@usecontextlayer/ctxs 0.5.26 → 0.5.27
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 +23 -7
- package/dist/cli.mjs.map +1 -1
- package/package.json +4 -4
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]="
|
|
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]="405dec0e-73a1-5331-873c-4bcf5de3c90e")}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";
|
|
@@ -4899,7 +4899,7 @@ function normalizedKey(event) {
|
|
|
4899
4899
|
|
|
4900
4900
|
//#endregion
|
|
4901
4901
|
//#region package.json
|
|
4902
|
-
var version$1 = "0.5.
|
|
4902
|
+
var version$1 = "0.5.27";
|
|
4903
4903
|
|
|
4904
4904
|
//#endregion
|
|
4905
4905
|
//#region sentry.ts
|
|
@@ -12453,8 +12453,24 @@ const UpdateBindingInput = object$2({
|
|
|
12453
12453
|
enabled: boolean().optional(),
|
|
12454
12454
|
models: BindingModels.optionalNullable()
|
|
12455
12455
|
});
|
|
12456
|
+
const BindingAuthResourceApiKey = object$2({});
|
|
12457
|
+
const BindingAuthResourceAuthenticatedAccount = object$2({
|
|
12458
|
+
accountId: property$1("account_id", string$3()),
|
|
12459
|
+
providerId: property$1("provider_id", string$3())
|
|
12460
|
+
});
|
|
12461
|
+
const BindingAuthResourceClientCredentials = object$2({ clientId: property$1("client_id", string$3()) });
|
|
12462
|
+
const BindingAuthResourceNone = object$2({});
|
|
12463
|
+
const BindingAuthResource = union("type", {
|
|
12464
|
+
api_key: BindingAuthResourceApiKey,
|
|
12465
|
+
authenticated_account: BindingAuthResourceAuthenticatedAccount,
|
|
12466
|
+
client_credentials: BindingAuthResourceClientCredentials,
|
|
12467
|
+
none: BindingAuthResourceNone
|
|
12468
|
+
}).transform({
|
|
12469
|
+
transform: (value) => value,
|
|
12470
|
+
untransform: (value) => value
|
|
12471
|
+
});
|
|
12456
12472
|
const Binding = object$2({
|
|
12457
|
-
auth:
|
|
12473
|
+
auth: BindingAuthResource,
|
|
12458
12474
|
authType: property$1("auth_type", string$3()),
|
|
12459
12475
|
baseId: property$1("base_id", string$3()),
|
|
12460
12476
|
bindingId: property$1("binding_id", string$3()),
|
|
@@ -59506,7 +59522,7 @@ function createScheduleApiClient(config) {
|
|
|
59506
59522
|
})
|
|
59507
59523
|
};
|
|
59508
59524
|
}
|
|
59509
|
-
const SERVER_VERSION = "0.5.
|
|
59525
|
+
const SERVER_VERSION = "0.5.27";
|
|
59510
59526
|
/** The most operations one OperationSet will carry. The service's own ceiling. */
|
|
59511
59527
|
const MAX_OPERATIONS = 200;
|
|
59512
59528
|
/**
|
|
@@ -98554,7 +98570,7 @@ async function provisionEphemeralDatabases(opts) {
|
|
|
98554
98570
|
}
|
|
98555
98571
|
|
|
98556
98572
|
//#endregion
|
|
98557
|
-
//#region ../slate-bridge/dist/platform-harness-
|
|
98573
|
+
//#region ../slate-bridge/dist/platform-harness-DyM4tmfZ.mjs
|
|
98558
98574
|
const nonEmptyStringSchema = string$5().trim().min(1);
|
|
98559
98575
|
const portSchema = number$3().int().min(0).max(65535).default(7777);
|
|
98560
98576
|
const envSchema = object$4({
|
|
@@ -98563,7 +98579,7 @@ const envSchema = object$4({
|
|
|
98563
98579
|
CTX_PLATFORM_URL: url().default("http://127.0.0.1:3010").transform((url) => url.replace(/\/+$/, "")),
|
|
98564
98580
|
CTX_WEB_URL: url().default("http://localhost:3000").transform((url) => url.replace(/\/+$/, "")),
|
|
98565
98581
|
CTXS_BRIDGE_PORT: portSchema,
|
|
98566
|
-
CTXS_CLAUDE_IMAGE: nonEmptyStringSchema.default("ghcr.io/usecontextlayer/ctx-sandbox:0.5.
|
|
98582
|
+
CTXS_CLAUDE_IMAGE: nonEmptyStringSchema.default("ghcr.io/usecontextlayer/ctx-sandbox:0.5.27"),
|
|
98567
98583
|
CTXS_CLAUDE_MODEL: nonEmptyStringSchema.default("opus"),
|
|
98568
98584
|
CTXS_HOST_CLAUDE_JSON_PATH: nonEmptyStringSchema.default(() => path.join(os.homedir(), ".claude.json")),
|
|
98569
98585
|
NODE_ENV: _enum$1([
|
|
@@ -104090,4 +104106,4 @@ runCli().catch((error) => {
|
|
|
104090
104106
|
//#endregion
|
|
104091
104107
|
export { createProgram, runCli };
|
|
104092
104108
|
//# sourceMappingURL=cli.mjs.map
|
|
104093
|
-
//# debugId=
|
|
104109
|
+
//# debugId=405dec0e-73a1-5331-873c-4bcf5de3c90e
|