@langwatch/server 3.25.0 → 3.26.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 +85 -4
  2. package/package.json +1 -1
package/dist/cli.cjs CHANGED
@@ -44803,11 +44803,19 @@ var registry2 = {
44803
44803
  // ---- traces ----
44804
44804
  trace_not_found: {
44805
44805
  tips: [
44806
- "Check the trace id; traces are deleted after the retention window",
44807
- "If you just sent this trace, retry in a few seconds; ingestion is asynchronous"
44806
+ "If you just sent this trace, retry in a few seconds; ingestion is asynchronous",
44807
+ "The id was looked up as a trace id, a trace id prefix, a span id and a scenario run id, in this project and every project of the organisation you can read",
44808
+ 'Find it by what it contained instead: `langwatch trace search -q "<text>" --since 30d`',
44809
+ "Traces are deleted after the project's retention window"
44808
44810
  ],
44809
44811
  docsPath: "/platform/data-retention"
44810
44812
  },
44813
+ scenario_run_has_many_traces: {
44814
+ tips: [
44815
+ "Open one of the listed traces: `langwatch trace get <traceId>`",
44816
+ 'List them all: `langwatch trace search --filter "scenarioRun:<scenarioRunId>" --since 30d`'
44817
+ ]
44818
+ },
44811
44819
  trace_withheld_over_plan: {
44812
44820
  tips: [
44813
44821
  "Upgrade the plan on Settings > Subscription to show every held trace again",
@@ -44846,7 +44854,12 @@ var registry2 = {
44846
44854
  ]
44847
44855
  },
44848
44856
  filter_field_unknown: {
44849
- tips: ["Use one of the fields listed in meta.knownFields", "Field names are case-sensitive"]
44857
+ tips: [
44858
+ "Use one of the fields listed in meta.knownFields; meta.hint names the likely one",
44859
+ "Field names are case-sensitive",
44860
+ "Text in the trace input or output has no field: search it with a quoted phrase and no field, or -q",
44861
+ "`label:<name>` matches the trace's metadata labels"
44862
+ ]
44850
44863
  },
44851
44864
  filter_value_refused: {
44852
44865
  tips: [
@@ -45283,6 +45296,74 @@ var registry2 = {
45283
45296
  ],
45284
45297
  docsPath: "/governance/agent-registry"
45285
45298
  },
45299
+ agent_stop_already_open: {
45300
+ tips: [
45301
+ "Read the open stop with GET /api/governance/agents/{agentId}/stop",
45302
+ "Approve, deny or restore it before requesting a new stop"
45303
+ ],
45304
+ docsPath: "/governance/kill-switch"
45305
+ },
45306
+ agent_stop_not_found: {
45307
+ tips: ["List stops with GET /api/governance/agent-stops and use an `id` from that list"],
45308
+ docsPath: "/governance/kill-switch"
45309
+ },
45310
+ agent_stop_not_pending: {
45311
+ tips: ["Only a stop whose status is `pending_approval` takes an approval or a denial"],
45312
+ docsPath: "/governance/kill-switch"
45313
+ },
45314
+ agent_stop_not_restorable: {
45315
+ tips: ["Restore a stop whose status is `quarantined`, `stop_failed` or `restore_failed`"],
45316
+ docsPath: "/governance/kill-switch"
45317
+ },
45318
+ agent_stop_not_retryable: {
45319
+ tips: ["Retry a stop whose status is `quarantined`, `stop_failed` or `restore_failed`"],
45320
+ docsPath: "/governance/kill-switch"
45321
+ },
45322
+ agent_stop_plan_changed: {
45323
+ tips: [
45324
+ "Read the plan again with GET /api/governance/agents/{agentId}/stop-plan and confirm its targets"
45325
+ ],
45326
+ docsPath: "/governance/kill-switch"
45327
+ },
45328
+ agent_stop_plan_conflict: {
45329
+ tips: [
45330
+ "Read the plan again with GET /api/governance/agents/{agentId}/stop-plan, apply your change to it and send its `version` as `expectedVersion`"
45331
+ ],
45332
+ docsPath: "/governance/kill-switch"
45333
+ },
45334
+ agent_stop_plan_empty: {
45335
+ tips: ["Set the agent's targets with PUT /api/governance/agents/{agentId}/stop-plan"],
45336
+ docsPath: "/governance/kill-switch"
45337
+ },
45338
+ agent_stop_self_approval: {
45339
+ tips: ["Approve with a different API key, or have a person approve it in the Agents page"],
45340
+ docsPath: "/governance/kill-switch"
45341
+ },
45342
+ agent_stop_target_invalid: {
45343
+ tips: [
45344
+ "A serving endpoint target names a Databricks Genie governance source of this organisation",
45345
+ "A Bedrock target names an AWS connection of this organisation",
45346
+ "A virtual key target names a virtual key of this organisation"
45347
+ ],
45348
+ docsPath: "/governance/kill-switch"
45349
+ },
45350
+ agent_stop_target_not_found: {
45351
+ tips: [
45352
+ "A Bedrock target names the alias's region, agent id and alias id as the AWS console shows them",
45353
+ "A serving endpoint target names an endpoint of the source's Databricks workspace"
45354
+ ],
45355
+ docsPath: "/governance/kill-switch"
45356
+ },
45357
+ governance_aws_connection_in_use: {
45358
+ tips: [
45359
+ "Remove the Bedrock targets that use it from every stop plan, and restore the stops that still hold it"
45360
+ ],
45361
+ docsPath: "/governance/kill-switch"
45362
+ },
45363
+ governance_aws_connection_not_found: {
45364
+ tips: ["Create the AWS connection on the Agents page before naming it in a stop plan"],
45365
+ docsPath: "/governance/kill-switch"
45366
+ },
45286
45367
  agent_offline: {
45287
45368
  tips: [
45288
45369
  "Start the process that runs the decorated function; the agent shows Online in the agents list once it connects",
@@ -56543,7 +56624,7 @@ function collectResult(predeps, detection, installResults) {
56543
56624
  }
56544
56625
 
56545
56626
  // src/shared/version.ts
56546
- var CLI_VERSION = true ? "3.25.0" : "0.0.0-dev";
56627
+ var CLI_VERSION = true ? "3.26.0" : "0.0.0-dev";
56547
56628
 
56548
56629
  // src/services/app-dir.ts
56549
56630
  function appRoot() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langwatch/server",
3
- "version": "3.25.0",
3
+ "version": "3.26.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",