Moves harness-sdk into ai as two experimental areas: ai.harnesses.experimental drives Claude Code and Codex (run, stream, steer, stop, approve, resume, fork, TUI), and ai.workspaces.experimental says where they run (local or Vercel Sandbox).
from ai.harnesses import experimental as harnesses
from ai.workspaces import experimental as workspaces
async with harnesses.claude_code(workspace=workspaces.Local(".")) as agent:
result = await agent.run("What does this repo do?")- New extras
claude-codeandsandbox, checked at construction (InstallationError).import ailoads neither. - Examples in
examples/harnesses/, plusexamples/apps/afkandexamples/apps/deepysec(without its vulnerable fixture). - Docs:
basics/harnesses,basics/workspaces, and their reference pages. - Live tests are opt-in (
-m live); plainpyteststays offline. - CI: a no-extras job, and
claude-agent-sdkin the SDK compatibility job.
Proposal defaults taken: two top-level areas, ToolCall keeps its name, live tests stay out of CI.
Verified: full CI check list, the live suite against real CLIs and sandboxes, and every harness example, afk, and deepysec end to end.
Before merge: vercel/vercel-py#415 is merged and vercel-sandbox now tracks its main; once it's released, set the sandbox extra's floor and drop the git pins. Rerun pytest -m sandbox on the merged API.
Activity
44Review the following changes in direct dependencies. Learn more about Socket for GitHub.
| Diff | Package | Supply Chain Security | Vulnerability | Quality | Maintenance | License |
|---|---|---|---|---|---|---|
| pypi/pytest@9.1.1 | ||||||
| pypi/vercel-sandbox@0.7.0 | ||||||
| pypi/vercel-internal-core@0.2.0 | ||||||
| pypi/claude-agent-sdk@0.2.160 | ||||||
| pypi/vercel-oidc@0.8.0 ⏵ 0.9.0 | ||||||
| pypi/ai@0.8.0 | ||||||
| pypi/typesafe-sdk@0.7.2 ⏵ 0.7.5 | +1 | |||||
| pypi/pytest-asyncio@1.4.0 | ||||||
| pypi/pytest-timeout@2.4.0 |
f04a6deThis pull request is a draft
Merging is unavailable until it is marked ready for review.
You must have Developer access to commit code to Vercel Labs on Vercel. If you contact an administrator and receive Developer access, commit again to see your changes.
Learn more: https://vercel.com/docs/accounts/team-members-and-roles/access-roles#team-level-roles