@usecontextlayer/ctxs 0.5.20 → 0.5.21
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 +12 -12
- 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]="7ac93627-8cc5-54c7-854d-2a2745df5f5c")}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";
|
|
@@ -4788,7 +4788,7 @@ function normalizedKey(event) {
|
|
|
4788
4788
|
|
|
4789
4789
|
//#endregion
|
|
4790
4790
|
//#region package.json
|
|
4791
|
-
var version$1 = "0.5.
|
|
4791
|
+
var version$1 = "0.5.21";
|
|
4792
4792
|
|
|
4793
4793
|
//#endregion
|
|
4794
4794
|
//#region sentry.ts
|
|
@@ -9916,9 +9916,9 @@ function superRefine(fn, params) {
|
|
|
9916
9916
|
}, null, " ")}`;
|
|
9917
9917
|
string$4().min(1, "a doc path must be non-empty").refine((docPath) => !docPath.startsWith("/"), { message: "a doc path must be root-relative, not absolute" }).refine((docPath) => !docPath.split("/").includes(".."), { message: "a doc path must not contain a '..' segment" });
|
|
9918
9918
|
strictObject({
|
|
9919
|
-
params: record$1(string$4().min(1), strictObject({ default: string$4().min(1) })).optional(),
|
|
9920
|
-
render: unknown$2().
|
|
9921
|
-
}).extend({ defaultWorkspaceView: boolean$2().optional() });
|
|
9919
|
+
params: record$1(string$4().min(1), strictObject({ default: string$4().min(1) })).optional().describe("URL search params this surface accepts, each with its default. Resolution is `URL value ?? default`; the default is stripped back out of the URL, and an undeclared URL key is ignored. What a value MEANS — which are legal, what each expands to — is the loader's job, in JS."),
|
|
9920
|
+
render: unknown$2().describe("The render tree — a @json-render Spec. Its elements name the components and directives published under `components` and `directives` in this artifact, and those contracts govern what each element may carry. This envelope does not constrain the tree's contents.")
|
|
9921
|
+
}).extend({ defaultWorkspaceView: boolean$2().optional().describe("Marks this view as the one a workspace opens to when no view is named in the URL. The rule spans the workspace, not this file: EXACTLY ONE of a workspace's views must set true, and both zero and several fail loud when the workspace is opened. `false` means what omitting the key means — this view is not the landing one.") });
|
|
9922
9922
|
const segmentSchema$1 = string$4().min(1, "a repoId segment must be non-empty").refine((s) => s !== "." && s !== ".." && !s.includes("/"), { message: "a repoId segment must not be '.'/'..' or contain '/'" });
|
|
9923
9923
|
function segment$1(value, label) {
|
|
9924
9924
|
const result = segmentSchema$1.safeParse(value);
|
|
@@ -14894,10 +14894,10 @@ export default async ({ docs }) => {
|
|
|
14894
14894
|
};
|
|
14895
14895
|
const docPathSchema = string$5().min(1, "a doc path must be non-empty").refine((docPath) => !docPath.startsWith("/"), { message: "a doc path must be root-relative, not absolute" }).refine((docPath) => !docPath.split("/").includes(".."), { message: "a doc path must not contain a '..' segment" });
|
|
14896
14896
|
const renderSpecSchema = strictObject$1({
|
|
14897
|
-
params: record$2(string$5().min(1), strictObject$1({ default: string$5().min(1) })).optional(),
|
|
14898
|
-
render: unknown$3().
|
|
14897
|
+
params: record$2(string$5().min(1), strictObject$1({ default: string$5().min(1) })).optional().describe("URL search params this surface accepts, each with its default. Resolution is `URL value ?? default`; the default is stripped back out of the URL, and an undeclared URL key is ignored. What a value MEANS — which are legal, what each expands to — is the loader's job, in JS."),
|
|
14898
|
+
render: unknown$3().describe("The render tree — a @json-render Spec. Its elements name the components and directives published under `components` and `directives` in this artifact, and those contracts govern what each element may carry. This envelope does not constrain the tree's contents.")
|
|
14899
14899
|
});
|
|
14900
|
-
const viewRenderSpecSchema = renderSpecSchema.extend({ defaultWorkspaceView: boolean$3().optional() });
|
|
14900
|
+
const viewRenderSpecSchema = renderSpecSchema.extend({ defaultWorkspaceView: boolean$3().optional().describe("Marks this view as the one a workspace opens to when no view is named in the URL. The rule spans the workspace, not this file: EXACTLY ONE of a workspace's views must set true, and both zero and several fail loud when the workspace is opened. `false` means what omitting the key means — this view is not the landing one.") });
|
|
14901
14901
|
const segmentSchema = string$5().min(1, "a repoId segment must be non-empty").refine((s) => s !== "." && s !== ".." && !s.includes("/"), { message: "a repoId segment must not be '.'/'..' or contain '/'" });
|
|
14902
14902
|
function segment(value, label) {
|
|
14903
14903
|
const result = segmentSchema.safeParse(value);
|
|
@@ -58964,7 +58964,7 @@ function createScheduleApiClient(config) {
|
|
|
58964
58964
|
})
|
|
58965
58965
|
};
|
|
58966
58966
|
}
|
|
58967
|
-
const SERVER_VERSION = "0.5.
|
|
58967
|
+
const SERVER_VERSION = "0.5.21";
|
|
58968
58968
|
/** The most operations one OperationSet will carry. The service's own ceiling. */
|
|
58969
58969
|
const MAX_OPERATIONS = 200;
|
|
58970
58970
|
/**
|
|
@@ -97934,7 +97934,7 @@ function osUsername() {
|
|
|
97934
97934
|
}
|
|
97935
97935
|
|
|
97936
97936
|
//#endregion
|
|
97937
|
-
//#region ../slate-bridge/dist/goldens-
|
|
97937
|
+
//#region ../slate-bridge/dist/goldens-Cse_76oj.mjs
|
|
97938
97938
|
const nonEmptyStringSchema = string$5().trim().min(1);
|
|
97939
97939
|
const portSchema = number$3().int().min(0).max(65535).default(7777);
|
|
97940
97940
|
const envSchema = object$4({
|
|
@@ -97943,7 +97943,7 @@ const envSchema = object$4({
|
|
|
97943
97943
|
CTX_PLATFORM_URL: url().default("http://127.0.0.1:3010").transform((url) => url.replace(/\/+$/, "")),
|
|
97944
97944
|
CTX_WEB_URL: url().default("http://localhost:3000").transform((url) => url.replace(/\/+$/, "")),
|
|
97945
97945
|
CTXS_BRIDGE_PORT: portSchema,
|
|
97946
|
-
CTXS_CLAUDE_IMAGE: nonEmptyStringSchema.default("ghcr.io/usecontextlayer/ctx-sandbox:0.5.
|
|
97946
|
+
CTXS_CLAUDE_IMAGE: nonEmptyStringSchema.default("ghcr.io/usecontextlayer/ctx-sandbox:0.5.21"),
|
|
97947
97947
|
CTXS_CLAUDE_MODEL: nonEmptyStringSchema.default("opus"),
|
|
97948
97948
|
CTXS_HOST_CLAUDE_JSON_PATH: nonEmptyStringSchema.default(() => path.join(os.homedir(), ".claude.json")),
|
|
97949
97949
|
NODE_ENV: _enum$1([
|
|
@@ -103203,4 +103203,4 @@ runCli().catch((error) => {
|
|
|
103203
103203
|
//#endregion
|
|
103204
103204
|
export { createProgram, runCli };
|
|
103205
103205
|
//# sourceMappingURL=cli.mjs.map
|
|
103206
|
-
//# debugId=
|
|
103206
|
+
//# debugId=7ac93627-8cc5-54c7-854d-2a2745df5f5c
|