@anybio/govern 0.2.2 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +41 -0
- package/README.md +115 -30
- package/dist/adapters-DBLr_Frn.d.cts +39 -0
- package/dist/adapters-DBLr_Frn.d.ts +39 -0
- package/dist/chunk-3JV2R5IW.js +64 -0
- package/dist/chunk-CPNPQMEU.js +1860 -0
- package/dist/chunk-I5XIXB5M.cjs +1910 -0
- package/dist/chunk-XZHZBIZA.cjs +72 -0
- package/dist/cli.js +465 -115
- package/dist/{client-CU46a__g.d.cts → client-BeyMec7E.d.cts} +870 -152
- package/dist/{client-CU46a__g.d.ts → client-BeyMec7E.d.ts} +870 -152
- package/dist/index.cjs +165 -1536
- package/dist/index.d.cts +49 -7
- package/dist/index.d.ts +49 -7
- package/dist/index.js +1 -1503
- package/dist/langchain.cjs +65 -1501
- package/dist/langchain.d.cts +154 -17
- package/dist/langchain.d.ts +154 -17
- package/dist/langchain.js +59 -1495
- package/dist/vercel-ai.cjs +106 -1526
- package/dist/vercel-ai.d.cts +129 -8
- package/dist/vercel-ai.d.ts +129 -8
- package/dist/vercel-ai.js +100 -1520
- package/package.json +1 -1
- package/spec/README.md +1 -1
- package/spec/openapi.json +752 -158
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anybio/govern",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "AnyBio Govern SDK for JavaScript and TypeScript: one server-side call between the text your AI produced and the moment it reaches a patient. Evaluate, allow, hold, block; observe first, then enforce.",
|
|
6
6
|
"keywords": [
|
package/spec/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# spec/
|
|
2
2
|
|
|
3
|
-
`openapi.json` is the Govern surface of the AnyBio API: every path under `/api/v1/govern/` and the schemas they reference. Generated from the AnyBio Govern API specification, 2026-
|
|
3
|
+
`openapi.json` is the Govern surface of the AnyBio API: every path under `/api/v1/govern/` and the schemas they reference. Generated from the AnyBio Govern API specification, 2026-11-19.
|
|
4
4
|
|
|
5
5
|
- `pnpm generate:types` writes `src/generated/openapi.ts` from it.
|
|
6
6
|
- `test/spec.test.ts` fails when the committed types differ from what the document generates, checks that every route `Govern` calls exists in the document, and holds the reason codes in `src/types.ts` to the API's set.
|