Commit Graph

262 Commits

Author SHA1 Message Date
stlc-bot 06cdab2519 feat(backend): allow storing markdown / text blocks as charts in /v1/charts/{...} endpoints
Stainless-Generated-From: e81011bfc58ba311ddea07863c252a3e872dba12
2026-07-25 00:53:27 +00:00
stlc-bot 3d6f9eb532 chore(info): remove legacy Python /info endpoint, serve from smith-go
Stainless-Generated-From: 992d75ad1ceef103593fd9b00d7994097a43e46a
2026-07-24 14:51:44 +00:00
stlc-bot aece72d035 refactor(runs): remove SmithDB v2 endpoint flag [LSO-3391]
Stainless-Generated-From: eaf6eeeffa6089b29a6ed890ffccada85c435446
2026-07-23 00:21:12 +00:00
stlc-bot aa4be05c11 feat(backend): update CRUD endpoint to allow retrieving / storing chart series metadata
Stainless-Generated-From: d6a6962cef9066a8de2683d0a48553057474595b
2026-07-22 19:30:16 +00:00
stlc-bot 8aded40800 feat(backend): Allow storing grid layout to custom dashboards
Stainless-Generated-From: 235750773cea09074a5f805563dba096b19f5c6a
2026-07-22 18:27:41 +00:00
stlc-bot 6165434d21 feat(sandboxes): free-form labels on sandboxes and snapshots
Stainless-Generated-From: 5a8ad04cc2a2a4afaa4f310a862d9701806a1662
2026-07-22 14:07:11 +00:00
stlc-bot 95da1e9b94 revert(runs): require session in POST /runs/stats
Stainless-Generated-From: 76e29824c8418e6e3596ff4fde3f2abec3fd34f9
2026-07-22 12:49:59 +00:00
stlc-bot eace8c3f99 feat(sandboxes): let proxy rules contribute sandbox env vars
Stainless-Generated-From: 3d4147438f77389052680dd6bf85a9c90ab4d373
2026-07-22 10:42:41 +00:00
stlc-bot 056dbd3673 fix(runs): require session in POST /runs/stats
Stainless-Generated-From: b24d4f534d67323bbf8765d82bb0843c24030da5
2026-07-22 10:25:34 +00:00
stlc-bot e7fe407f74 fix: support last_queued_at in v2 runs query
Stainless-Generated-From: da0d737eda0ece655bc0779537309b706951bb74
2026-07-21 23:20:53 +00:00
stlc-bot f6608288d4 feat(host): p50/p99 run queue wait-time chart in project monitoring [LSD-1547]
Stainless-Generated-From: 17fb5d12f51ab1746f996098443e5b69b023ca82
2026-07-21 20:22:16 +00:00
stlc-bot b072b2e2fc fix(evaluators): persist and wire through playground_settings_id for llm-as-judge oauth models [part of ENT-1402]
Stainless-Generated-From: 809ff1ccff334354d5ce4e55c50e5f4974bcf13f
2026-07-21 15:57:35 +00:00
stlc-bot 57da309643 feat(runs): add GET /v2/runs/{run_id}/url endpoint and SDK runs.get_url method
Stainless-Generated-From: 12ef224c44ef834db59a6216eb1010f87947b165
2026-07-20 10:12:06 +00:00
stlc-bot 101472f4ce feat(runs/v2): make start_time optional in GET /v2/runs/:id
Stainless-Generated-From: fc698ee51e0e6b4b1cb0389217ce572774ac2dba
2026-07-17 17:39:28 +00:00
stlc-bot 2f1ca870dd docs: minor rewording of List Commits endpoint description
Stainless-Generated-From: cfaab39cb776a2dff32d8108ebd8c219682c0d92
2026-07-17 09:29:49 +00:00
stlc-bot 1409dd89d8 fix: remove July 2026 premier plan
Stainless-Generated-From: 09c5b50a463efb9be1cd10176e2bc88fd9e2fc4a
2026-07-16 22:11:59 +00:00
stlc-bot 839107858c chore: new unshare endpoint that doesn't require lookup
Stainless-Generated-From: 3c2f57d95968959d58e0bafbea6a5d0b24077e75
2026-07-16 21:51:34 +00:00
stlc-bot 8eb067064e fix(datasets): serve public dataset sessions via Go, fixing SmithDB-only 501
Stainless-Generated-From: cbd1d7df666a4e821e8ac118fd84eaa8e5acdb00
2026-07-16 16:24:08 +00:00
stlc-bot 306a079479 chore: Stainless SDK methods for V2 public-run APIs
Stainless-Generated-From: 0c767292f9a7937b0d09cb8261ae2c873a41ce2d
2026-07-16 15:15:00 +00:00
stlc-bot 50525423cc feat(feedback): support GET /feedback for thread AQs
Stainless-Generated-From: 50cfa58b8547d1cd99da2b22d9081517d3cbbf92
2026-07-15 18:50:28 +00:00
stlc-bot d53da42ffa feat: add run rule evaluator tracing flag [LSO-3323]
Stainless-Generated-From: df568b7188e650a63d7521cb0b0321fc4332db75
2026-07-15 17:01:02 +00:00
stlc-bot cbc00807ee feat(engine): issue lifecycle backend + webhook status filter (2/8)
Stainless-Generated-From: c6ff8a64c58e6a3d43bf068dd92639cc39e2aa0b
2026-07-15 16:42:11 +00:00
stlc-bot d35ada22c7 chore: update smithdb proto generated code
Stainless-Generated-From: 2945c07633971e09ac433ae6fac86ff1d3695ed1
2026-07-14 23:17:38 +00:00
stlc-bot 2c9704f3c0 feat(context-hub): fire commit webhook and deliver async
Stainless-Generated-From: c28c9c538349263a012361131369c1a2892b246b
2026-07-14 17:46:20 +00:00
stlc-bot b2ed882d0e feat: add July 2026 startup and premier plan tiers
Stainless-Generated-From: 5cd04e44b56fb36e6ec5b7d431198df237532e00
2026-07-14 17:04:24 +00:00
stlc-bot 99fe7dbe33 feat(sandboxes): add preserve_memory_on_stop create attribute
Stainless-Generated-From: c005594f452b7d91aad0d624bc9ebbbef0d8d692
2026-07-14 12:58:43 +00:00
John Kennedy e639046090 fix: patch remaining Java security alerts (#38)
## Summary

Patch the remaining open Java/Maven Dependabot alerts on the Stainless
next branch.

## Changes

- Upgrade Jackson modules from 2.22.0 to 2.22.1.
- Pin vulnerable test dependencies to patched versions:
  - Bouncy Castle modules: 1.84
  - Log4j Core: 2.25.4
  - Plexus Utils: 4.0.3
  - Commons Lang: 3.18.0
- Use explicit versions for the test dependencies so the dependency
graph recognizes the fixes.

## Security Alerts

Resolves the affected alerts for Jackson Databind/Core, Bouncy Castle,
Log4j Core, Plexus Utils, and Commons Lang, including:

- GHSA-5jmj-h7xm-6q6v
- GHSA-5hh8-q8hv-fr38
- GHSA-9fxm-vc8v-hj55
- GHSA-hgj6-7826-r7m5
- GHSA-rmj7-2vxq-3g9f
- GHSA-j3rv-43j4-c7qm
- GHSA-rcqc-6cw3-h962
- GHSA-cj8j-37rh-8475
- GHSA-c3fc-8qff-9hwx
- GHSA-wg6q-6289-32hp
- GHSA-445c-vh5m-36rj
- GHSA-6hg6-v5c8-fphq
- GHSA-3pxv-7cmr-fjr4
- GHSA-vc5p-v9hr-52mj
- GHSA-6fmv-xxpf-w3cw
- GHSA-72hv-8253-57qq

## Verification

- Core test suite passed.
- Kotlin formatting passed.
- Gradle dependency resolution confirms Jackson Databind 2.22.1.
- Diff check passed.
2026-07-14 01:56:47 -07:00
stlc-bot 1893f83cf2 fix(smith-sdks): name thread stats response model ThreadStats
Stainless-Generated-From: 08528562024b8bc13c762ccb8a943824136e51ab
2026-07-14 08:05:19 +00:00
stlc-bot 63bde3c6e4 fix(smith-go): default time bounds for POST /v2/threads/query
Stainless-Generated-From: 0fe434729c46373eaa6f2c4fcba16fa6b674e9c6
2026-07-13 16:27:40 +00:00
stlc-bot 9cfd26bef9 refactor(sandboxes): make context hub sync a generic mount
Stainless-Generated-From: 8d75a97626cfea68319b3656b34756d2a0100b30
2026-07-12 22:00:12 +00:00
stlc-bot 17551decf7 feat(evaluators): expose is_managed on Go evaluator reads [LSE-2532]
Stainless-Generated-From: 4fdcf56badac7a5800d4d83afc3fdbde1fe3d09e
2026-07-10 19:00:10 +00:00
stlc-bot 0a29041897 feat(dashboards): convert prebuilts to v2 charts on clone [LSO-3306, LSO-3322]
Stainless-Generated-From: 9a6d3abdfd5cd0109e650ac59f56cbd95ff275f2
2026-07-10 16:03:05 +00:00
stlc-bot 12185beb4c feat: forward filter param to thread stats API
Stainless-Generated-From: b4b2f4867f918b220c363931b43145dbeeea5b07
2026-07-09 22:28:22 +00:00
stlc-bot 18d7867206 feat(sdk): wire annotation-queue runs/by-key into stainless [LSAQ-141]
Stainless-Generated-From: a2b46fa9a70c37b435ed42d063f79de82478c6ed
2026-07-09 21:49:37 +00:00
stlc-bot 59d3e33e71 docs(runs): document that limit does not apply when querying by trace ID
Stainless-Generated-From: d8187437e161077c4005caca7dc16759de02a5e0
2026-07-08 18:40:44 +00:00
Jacob Lee 13b36e3f11 feat: Adds attachment support to Java multipart requests (#33)
Adds multipart run attachment support to the Java SDK.

- Added `RunAttachment` for binary run attachments.
- Added per-run attachments on `Run`.
- Added direct multipart ingest APIs:
  - `client.runs().multipartIngest(createRuns, updateRuns)`
  - async/raw response variants
- Multipart serialization now sends:
  - run payloads as `post.{runId}` / `patch.{runId}`
  - large fields separately, e.g. `post.{runId}.inputs`
  - attachments as `attachment.{runId}.{attachmentName}`
- `InputStream` attachments are treated as non-repeatable so retry
behavior is safe.

Java:
```java
import com.langchain.smith.client.okhttp.LangsmithOkHttpClient;
import com.langchain.smith.models.runs.Run;
import com.langchain.smith.models.runs.RunAttachment;

import java.nio.charset.StandardCharsets;
import java.util.List;
import java.util.UUID;

public class MultipartRunAttachmentExample {
    public static void main(String[] args) {
        var client = LangsmithOkHttpClient.builder()
            .apiKey(System.getenv("LANGSMITH_API_KEY"))
            .build();

        var runId = UUID.randomUUID().toString();

        var run = Run.builder()
            .id(runId)
            .traceId(runId)
            .dottedOrder("20250101T000000000Z" + runId)
            .name("run-with-attachment")
            .runType(Run.RunType.CHAIN)
            .putAttachment(
                "input-file",
                RunAttachment.of(
                    "text/plain",
                    "hello from an attachment".getBytes(StandardCharsets.UTF_8)
                )
            )
            .build();

        client.runs().multipartIngest(List.of(run), List.of());

        client.close();
    }
}
```

Kotlin:

```kotlin
var runId = UUID.randomUUID().toString();

var run = Run.builder()
    .id(runId)
    .traceId(runId)
    .dottedOrder("20250101T000000000Z" + runId)
    .name("run-with-attachment")
    .runType(Run.RunType.CHAIN)
    .putAttachment(
        "input-file",
        RunAttachment.of(
            "text/plain",
            "hello from an attachment".getBytes(StandardCharsets.UTF_8)
        )
    )
    .build();

client.runs().multipartIngest(List.of(run), List.of());
```
2026-07-07 15:56:59 -07:00
stlc-bot fcc7ab733b feat(backend): extend_trace_retention field for annotation queue adds
Stainless-Generated-From: 6e5f8b8939ccbe3b430dcd2e24d162f1a2a9cd1c
2026-07-07 17:54:22 +00:00
stlc-bot a07babf48b refactor(sandboxes): resolve default sandbox via snapshot tag instead of blueprint
Stainless-Generated-From: 543ad09db4e939e4c6fac45a471bdbf33106b7f5
2026-07-07 17:32:58 +00:00
KiewanVillatel fdba8e6123 fix: remove duplicate threads/traces declarations in client impls (#35)
## Summary

- Removes duplicate `private val threads` and `private val traces`
property declarations in `LangsmithClientImpl` and
`LangsmithClientAsyncImpl`
- Removes duplicate `override fun threads()` and `override fun traces()`
method overrides in both classes
- The commit `feat(smith-sdks): expose threads and traces v2 endpoints
in public SDK` accidentally added each declaration twice, causing Kotlin
compiler error: `Conflicting declarations`

Fixes the build failure in [PR
#34](https://github.com/langchain-ai/langsmith-java-staging/pull/34).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-07 14:25:40 +02:00
stlc-bot 3bc6173328 feat(smith-sdks): expose threads and traces v2 endpoints in public SDK
Stainless-Generated-From: 2c83167dfb83a332ca7f2df2729a3a69f237b0f0
2026-07-07 10:30:49 +00:00
stlc-bot d71cff9f59 feat(stainless)!: skip sessions resource for python and typescript
Stainless-Generated-From: 43e94bbe9420618dc2c99ff41a91606f550319b6
2026-07-07 10:16:41 +00:00
stlc-bot e2fc8a84dd Build SDK
Stainless-Generated-From: 105d7387fdada55b829c002388f740a5a8a88f39
2026-07-06 18:50:20 +00:00
stlc-bot 8e17124b68 feat(managed-eval): expose is_managed_evaluator on run-rule read/write paths
Stainless-Generated-From: c961e1af0cc0c71a209a4948f8fd37d4d2c86149
2026-07-06 17:58:20 +00:00
stlc-bot 6ab6fa281f chore(stainless): skip all datasets endpoints in Python/TS SDKs except experiment-runs
Stainless-Generated-From: c8dbb4a59b1515fe90aa6ea4868afc57b24565c4
2026-07-06 17:42:51 +00:00
stlc-bot 585b12dd26 fix(smith-sdks): remove dead retrieve_thread_preview SDK mapping
Stainless-Generated-From: a18af293d2eef2eab3c41770c9ff79c56e5a29c1
2026-07-06 17:04:09 +00:00
stlc-bot 4513b3ffb0 fix(smith-sdks): rename dataset runs POST methods from create to query
Stainless-Generated-From: 9c0c2fbf221fc0ca137a78a5d855f1c52fb0e89d
2026-07-05 23:51:35 +00:00
stlc-bot e3b478437e fix: restore title/additionalProperties on v2 RunResponse JSON fields for Stainless
Stainless-Generated-From: 945d660b43c31978b891013d15740bacec141f9b
2026-07-02 15:56:31 +00:00
John Kennedy 6b52583c7c Bump vulnerable dependency versions (#27)
## Summary
- bump Jackson, Spring Boot example, WireMock/Jetty test dependencies,
and vulnerable transitive constraints
- update Spring Boot 3 annotation import and dependency security notes

## Testing
- mise x java@temurin-21.0.11+10.0.LTS -- sfw ./gradlew test
2026-07-02 09:28:27 +02:00
sineha-mani 384c001825 feat(evaluation): remaining python-style evaluate entry points (#18)
## Summary
This change adds the remaining Python-style evaluate entry points on top
of #17.

Feature | New in #18?
-- | --
EvaluateTarget (Runnable-style target) | 
evaluate(client, EvaluateTarget, params) | 
evaluateExisting() / evaluateExistingAsync() | 
evaluate(client, experimentId, params) convenience overload | 
evaluateComparative() | 
evaluate(client, Pair(expA, expB), params) convenience overload | 
ComparativeEvaluator / comparativeEvaluator() | 
EvaluateExistingParams | 
EvaluateComparativeParams | 
ComparativeExperimentResults | 

References
[LSDK-241](https://linear.app/langchain/issue/LSDK-241/add-evaluate-to-langsmith-java-sdk-example-release)

<img width="1173" height="508" alt="Screenshot 2026-06-25 at 3 01 38 PM"
src="https://github.com/user-attachments/assets/a86df925-3657-4ad2-ba21-e250b9f5b4b7"
/>

## Test plan
- [x] `./gradlew :langsmith-java-core:test --tests
"com.langchain.smith.evaluation.*"` passes
- [X] Ran locally with a script

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 15:27:36 -07:00
stlc-bot a00b1f18ca refactor!: disallow run_count session sort
Stainless-Generated-From: 8c7f6e5f06da792243633325c29fe1a621869ce0
2026-07-01 21:51:05 +00:00