@langwatch/server 3.1.0-beta.17 → 3.1.0-beta.18
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langwatch/server",
|
|
3
|
-
"version": "3.1.0-beta.
|
|
3
|
+
"version": "3.1.0-beta.18",
|
|
4
4
|
"description": "Run LangWatch locally with one command — `npx @langwatch/server`. Bundles the Next.js control plane, Python NLP service, evaluators, and the Go AI gateway with embedded postgres, redis, and clickhouse.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://langwatch.ai",
|
|
@@ -22206,11 +22206,14 @@ function buildEnv({ ports, baseHost, overrides = {} }) {
|
|
|
22206
22206
|
return lines.join("\n") + "\n";
|
|
22207
22207
|
}
|
|
22208
22208
|
function scaffoldEnvFile(input) {
|
|
22209
|
+
const secretsPath = (0, import_node_path22.join)((0, import_node_path22.dirname)(input.path), "secrets.json");
|
|
22209
22210
|
if ((0, import_node_fs20.existsSync)(input.path)) {
|
|
22211
|
+
if (!(0, import_node_fs20.existsSync)(secretsPath)) {
|
|
22212
|
+
writePersistedSecrets(secretsPath, (0, import_node_fs20.readFileSync)(input.path, "utf8"));
|
|
22213
|
+
}
|
|
22210
22214
|
return { written: false, path: input.path };
|
|
22211
22215
|
}
|
|
22212
22216
|
(0, import_node_fs20.mkdirSync)((0, import_node_path22.dirname)(input.path), { recursive: true });
|
|
22213
|
-
const secretsPath = (0, import_node_path22.join)((0, import_node_path22.dirname)(input.path), "secrets.json");
|
|
22214
22217
|
const persistedSecrets = readPersistedSecrets(secretsPath);
|
|
22215
22218
|
const overlay = { ...input.overrides, ...persistedSecrets };
|
|
22216
22219
|
const body = buildEnv({ ...input, overrides: overlay });
|
|
@@ -26966,7 +26969,7 @@ var placeholderRuntime = {
|
|
|
26966
26969
|
};
|
|
26967
26970
|
|
|
26968
26971
|
// src/cli.ts
|
|
26969
|
-
var VERSION = true ? "3.1.0-beta.
|
|
26972
|
+
var VERSION = true ? "3.1.0-beta.18" : "0.0.0-dev";
|
|
26970
26973
|
async function loadRuntime() {
|
|
26971
26974
|
try {
|
|
26972
26975
|
const real = await Promise.resolve().then(() => (init_runtime(), runtime_exports));
|