@langwatch/server 3.30.0 → 3.31.0

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.
Files changed (2) hide show
  1. package/dist/cli.cjs +19 -2
  2. package/package.json +1 -1
package/dist/cli.cjs CHANGED
@@ -45638,6 +45638,15 @@ var registry2 = {
45638
45638
  ],
45639
45639
  docsPath: "/platform/model-providers"
45640
45640
  },
45641
+ provider_endpoint_refused: {
45642
+ tips: [
45643
+ "meta.refusal names the part of the outbound policy that refused the base URL; nothing was sent to it",
45644
+ "private_address and on_premise_domain are lifted on a self-hosted instance by naming the exact host in ALLOWED_PROXY_HOSTS",
45645
+ "cloud_internal_domain (amazonaws.com, .internal) is never lifted; point a DNS name of your own at the endpoint instead",
45646
+ "metadata_endpoint is never lifted, whatever name points at it; use the address the provider serves"
45647
+ ],
45648
+ docsPath: "/self-hosting/configuration/environment-variables"
45649
+ },
45641
45650
  model_provider_unavailable: {
45642
45651
  tips: [
45643
45652
  "meta.reason is not_configured when the project has no row for the provider, disabled when the row is switched off",
@@ -45830,6 +45839,11 @@ var registry2 = {
45830
45839
  tips: ["An update interrupted this reply; resend the message"]
45831
45840
  },
45832
45841
  // ---- licensing ----
45842
+ license_in_use: {
45843
+ tips: [
45844
+ "Reload the license: it now shows the install, and the new license waits for its next sync"
45845
+ ]
45846
+ },
45833
45847
  license_signing_key_not_pem: {
45834
45848
  tips: [
45835
45849
  "Provide the whole private key, including its BEGIN and END lines (PRIVATE KEY, RSA PRIVATE KEY and EC PRIVATE KEY are all accepted)",
@@ -56653,7 +56667,7 @@ function collectResult(predeps, detection, installResults) {
56653
56667
  }
56654
56668
 
56655
56669
  // src/shared/version.ts
56656
- var CLI_VERSION = true ? "3.30.0" : "0.0.0-dev";
56670
+ var CLI_VERSION = true ? "3.31.0" : "0.0.0-dev";
56657
56671
 
56658
56672
  // src/services/app-dir.ts
56659
56673
  function appRoot() {
@@ -58597,6 +58611,9 @@ var import_node_path36 = require("node:path");
58597
58611
  // src/services/_pipe-to-bus.ts
58598
58612
  var import_node_fs32 = require("node:fs");
58599
58613
  var import_node_path35 = require("node:path");
58614
+ function logFileName(service) {
58615
+ return `${service.replace(/[\\/:*?"<>|\r\n]/g, "-")}.log`;
58616
+ }
58600
58617
  async function execAndPipe({
58601
58618
  bus,
58602
58619
  service,
@@ -58606,7 +58623,7 @@ async function execAndPipe({
58606
58623
  options = {}
58607
58624
  }) {
58608
58625
  (0, import_node_fs32.mkdirSync)(logsDir, { recursive: true });
58609
- const logFile = (0, import_node_fs32.createWriteStream)((0, import_node_path35.join)(logsDir, `${service}.log`), { flags: "a" });
58626
+ const logFile = (0, import_node_fs32.createWriteStream)((0, import_node_path35.join)(logsDir, logFileName(service)), { flags: "a" });
58610
58627
  const child = execa(bin, args, {
58611
58628
  ...options,
58612
58629
  // ignore stdin (none of these install steps are interactive); pipe both
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langwatch/server",
3
- "version": "3.30.0",
3
+ "version": "3.31.0",
4
4
  "description": "Run LangWatch locally with one command — `npx @langwatch/server`. Complete LangWatch stack: observability, evaluations, AI gateway, agent simulations.",
5
5
  "keywords": [
6
6
  "ai",