发布

  • [OPIK-6499] [QA] feat: add SDK clients and use public Opik TS SDK for backend inspection (#6768)

    frostbyte_neo 发布于 2026-05-19 11:12:14 +00:00

    • [OPIK-6499] [QA] feat: add SDK clients and use public Opik TS SDK for backend inspection

    Add the opik npm package as a runtime dependency of the e2e suite. The
    package will back both the new sdkClient.typescript half (OPIK-6499) and
    the cutover of core/backend/client.ts away from openapi-fetch (the
    OPIK-6126 roll-in deferred to this ticket).

    openapi-fetch stays in devDependencies for now because core/backend/client.ts
    still imports it; it is removed in a follow-up commit after that file is
    rewritten.

    Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

    • feat(sdk-clients): add PythonSdkClient and PythonSdkBridgeError

    • feat(sdk-clients): add makeTypescriptSdk factory

    • feat(sdk-clients): add SdkClient interface and makeSdkClient factory

    • feat(backend-client): swap openapi-fetch for new Opik().api.projects.*

    • chore(deps): remove openapi-fetch (replaced by opik SDK)

    • test(sdk-clients): seed test for cross-client wiring and error mapping


    Co-authored-by: Claude Opus 4.7 (1M context) noreply@anthropic.com

    下载附件