feat(package): expose agentv authoring facade#1727
Merged
Conversation
Deploying agentv with
|
| Latest commit: |
047bd82
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://212c233e.agentv.pages.dev |
| Branch Preview URL: | https://av-97sv-sdk-surface.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
AgentV authoring now has one public package story: users install/import
agentvfor CLI and TypeScript APIs, while@agentv/sdkand@agentv/corestop being canonical public authoring surfaces. The CLI, Dashboard, and tests still keep a lower-level core workspace layer internally, but public contracts are routed through deliberateagentv/*facade subpaths instead of broad separate package promises.This keeps AgentV aligned with Promptfoo's practical model: one obvious public package, private internal layers, and narrow contract exports where they earn their keep. The branch preserves the ergonomic helper names
defineAssertion()anddefineScriptGrader()while moving docs, examples, and package exports towardagentvimports.Decisions
agentvagentv/sdk,agentv/config,agentv/provider,agentv/contractsexports.@agentv/sdk@agentv/coreValidation
git diff --checkbun --filter @agentv/core typecheckbun --filter @agentv/sdk typecheckbun --filter agentv typecheckbun --filter agentv buildbun run buildgit diff --check origin/main...HEADKnown gap:
bun run validate:examplesstill fails on unchanged pre-existingexamples/showcase/multi-model-benchmark/evals/benchmark.eval.yamlobject-shapedevaluate_options.repeat;origin/mainhas the same issue. No live eval dogfood was run because this branch changes package/import/docs plumbing rather than eval execution or grader behavior.Related
Beads: av-97sv, av-qxxr, av-b6u5, av-3c0o, av-zi7k, av-krn3