@extrovert.dev/sdk 0.1.0-pre.11 → 0.1.0-pre.12
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/README.md +4 -4
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ for a stable release:
|
|
|
30
30
|
npm install @extrovert.dev/sdk@next
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
Pin `@extrovert.dev/sdk@0.1.0-pre.
|
|
33
|
+
Pin `@extrovert.dev/sdk@0.1.0-pre.12` when a dogfood test needs a reproducible contract snapshot.
|
|
34
34
|
Requires Node 18+ for global `fetch` and Web Crypto.
|
|
35
35
|
|
|
36
36
|
## Build and use from source
|
|
@@ -529,7 +529,7 @@ a wire protocol (there is no `/v1/contract` endpoint).
|
|
|
529
529
|
```ts
|
|
530
530
|
import { CONTRACT_VERSION, CONTRACT_MANIFEST } from "@extrovert.dev/sdk";
|
|
531
531
|
|
|
532
|
-
CONTRACT_VERSION; // "0.1.0-pre.
|
|
532
|
+
CONTRACT_VERSION; // "0.1.0-pre.12": provisional, pre-1.0; pin it
|
|
533
533
|
CONTRACT_MANIFEST.stability; // "provisional"
|
|
534
534
|
CONTRACT_MANIFEST.core_shapes; // ["ReviewIntent","ReviewFeedback","DiffJson","Rule","ReviewEvent"]
|
|
535
535
|
```
|
|
@@ -550,7 +550,7 @@ page and the agent skills (`extrovert-send-email`, `extrovert-writing-rules`).
|
|
|
550
550
|
The Review-Loop shapes are an **open, documented contract: versioned *with* this SDK** (not a wire
|
|
551
551
|
protocol; there is no `/v1/contract` endpoint). Three guarantees:
|
|
552
552
|
|
|
553
|
-
- **One version, everywhere.** `CONTRACT_VERSION` is **`0.1.0-pre.
|
|
553
|
+
- **One version, everywhere.** `CONTRACT_VERSION` is **`0.1.0-pre.12`**, reconciled across the SDK package
|
|
554
554
|
version, the MCP server, and the OpenAPI `info.version`. Pin it; pin `CONTRACT_MANIFEST` for the
|
|
555
555
|
exact shape set you built against.
|
|
556
556
|
- **Named, documented types.** The five canonical shapes: `ReviewIntent`, `ReviewFeedback`,
|
|
@@ -581,7 +581,7 @@ EXTROVERT_API_BASE_URL=mock npx tsx examples/wait-for-otp.ts
|
|
|
581
581
|
|
|
582
582
|
## Status
|
|
583
583
|
|
|
584
|
-
> **Note.** This source SDK tracks the `/v1` contract at `CONTRACT_VERSION` `0.1.0-pre.
|
|
584
|
+
> **Note.** This source SDK tracks the `/v1` contract at `CONTRACT_VERSION` `0.1.0-pre.12`: a
|
|
585
585
|
> deliberate **prerelease**, pre-1.0, expect additive change. The offline `mock` transport models the
|
|
586
586
|
> live server closely enough to reproduce a 422 `intent_required` and a queued review, so build and
|
|
587
587
|
> test against it before you have a key. Install from the `next` tag until a stable release is cut.
|
package/dist/index.cjs
CHANGED
|
@@ -404,7 +404,7 @@ var CURRENT_API_VERSION = "2026-06-23";
|
|
|
404
404
|
var API_VERSION_HEADER = "Extrovert-Version";
|
|
405
405
|
|
|
406
406
|
// src/http.ts
|
|
407
|
-
var SDK_VERSION = "0.1.0-pre.
|
|
407
|
+
var SDK_VERSION = "0.1.0-pre.12";
|
|
408
408
|
function buildUrl(baseUrl, path, query) {
|
|
409
409
|
const base = baseUrl.endsWith("/") ? baseUrl.slice(0, -1) : baseUrl;
|
|
410
410
|
const rel = path.startsWith("/") ? path : `/${path}`;
|
|
@@ -5906,7 +5906,7 @@ async function signWebhook(secret, body, timestampSeconds) {
|
|
|
5906
5906
|
}
|
|
5907
5907
|
|
|
5908
5908
|
// src/contract.ts
|
|
5909
|
-
var CONTRACT_VERSION = "0.1.0-pre.
|
|
5909
|
+
var CONTRACT_VERSION = "0.1.0-pre.12";
|
|
5910
5910
|
var CONTRACT_MANIFEST = {
|
|
5911
5911
|
name: "extrovert.review-loop",
|
|
5912
5912
|
version: CONTRACT_VERSION,
|