@stefanolabs/autodev-provider-kit
v0.1.0
Published
Write, check and build a provider that lets AutoDev drive another agent CLI.
Readme
@stefanolabs/autodev-provider-kit
A provider teaches AutoDev to drive one more agent CLI. This kit holds the types a provider is written against and the three commands that turn your TypeScript into the single file the community index ships.
Install
npm i -D @stefanolabs/autodev-provider-kitYour provider imports the light entry, which carries no dependencies into the built file:
import { defineProvider, jsonLines } from "@stefanolabs/autodev-provider-kit/provider";Commands
build bundles your entry into one file, then runs the gate on it. A file the gate refuses is deleted, so what is left on disk can ship.
npx autodev-provider-kit build src/index.ts -o provider.mjscheck runs what AutoDev runs before it registers a provider: the gate, the sandbox, and the contract over your captures.
npx autodev-provider-kit check provider.mjs --captures capturesdescribe prints what the index records about the file, including its SHA-256.
npx autodev-provider-kit describe provider.mjsA provider file cannot import anything, cannot reach the network and starts only the CLI it declares. The gate tells you the line of anything that breaks those rules.
Guide
The full walkthrough, from capturing your CLI to opening the pull request: https://autodev.stefanolabs.com/docs/write-a-provider
