dig + Vercel AI SDK

`@vllnt/dig/ai` exports `digTools(client)` — typed AI SDK tool defs (incl. `dig_recall` / `dig_retain`) so the model reads and writes dig as memory.

Install — about 10 seconds

Vercel AI SDK
# install the SDK, expose dig as AI SDK tools
$npm i @vllnt/dig@canary
import { digTools } from "@vllnt/dig/ai"

What Vercel AI SDK gets

dig drives the same surface through every path. Read tools never change state; mutating tools preview first, and a single dig_undo steps any change back.

dig_find
ranked search across the knowledge base
dig_recall
token-budgeted, provenance-tagged memory recall
dig_retain
capture a note, doc, or session into memory
dig_drift
report divergence from policy
dig_log
read the change history
dig_export
export a reproducible dataset
dig_org
reorganize to policy (preview unless apply)
dig_reconcile
converge to policy (preview unless apply)
dig_undo
step back the last change
Install digAll integrationsVercel AI SDK shim on GitHub