refactor(sdk): hard-rename provider proxy client#1736
Merged
Conversation
Deploying agentv with
|
| Latest commit: |
f6da5c7
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://4fe69180.agentv.pages.dev |
| Branch Preview URL: | https://av-kfik535-sdk-provider-clie.agentv.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Script graders now use provider-native proxy naming end to end. SDK consumers import
createProviderClient/ProviderClient, script evaluator config enables proxy access withprovider, proxy requests override withprovider,/inforeportsproviderLabelandavailableProviderLabels, and AgentV injectsAGENTV_PROVIDER_PROXY_URL/AGENTV_PROVIDER_PROXY_TOKEN.This intentionally removes the target-era SDK/proxy surface rather than keeping aliases. There is no retained target-named env or wire fallback in this slice; run artifact metadata such as
target_proxyremains untouched because av-kfik.53.4 owns artifact-field migration.Exported Surface Impact
@agentv/sdk:createTargetClient,TargetClient,TargetInfo,TargetInvokeRequest,TargetInvokeResponse,TargetNotAvailableError, andTargetInvocationError.@agentv/sdk:createProviderClient,ProviderClient,ProviderInfo,ProviderInvokeRequest,ProviderInvokeResponse,ProviderNotAvailableError, andProviderInvocationError.TargetProxy*/createTargetProxytoProviderProxy*/createProviderProxy.provider: trueorprovider: { max_calls }; script evaluatortargetis rejected with migration guidance.Validation
bun test packages/sdk/test/provider-client.test.tsbun test packages/core/test/runtime/provider-proxy.test.ts packages/core/test/evaluation/token-usage.test.ts packages/core/test/evaluation/loaders/grader-parser.test.tsbun run validate:eval-schemabun --filter @agentv/core buildbun --filter @agentv/sdk buildbun --filter @agentv/core typecheckbun --filter @agentv/sdk typecheckcd examples/features/sdk-python && uv run pytestbunx biome check <touched files>git diff --checkNo live provider dogfood was run: this slice renames the local script-grader provider proxy surface and does not alter provider invocation or grading semantics beyond field/env names. The focused SDK client, runtime proxy, parser/schema, and Python helper tests exercise the changed contract.
Post-Deploy Monitoring & Validation
No additional operational monitoring required. This is a published API/config rename in local SDK/runtime proxy code with no hosted service, background job, dashboard, or production runtime path to monitor after merge; GitHub Actions and package consumers are the validation gates.
Healthy signals after merge:
createProviderClient,provider,providerLabel,availableProviderLabels, andAGENTV_PROVIDER_PROXY_*.Failure signals and mitigation:
target. Mitigation: update toproviderunless the path is explicitly owned by a separate non-goal bead.Validation window and owner: PR review and GitHub Actions before merge; owner Christopher Tso.
Related
Related: av-kfik.53.5