@extrovert.dev/sdk 0.1.0-pre.3 → 0.1.0-pre.4

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 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.3` when a dogfood test needs a reproducible contract snapshot.
33
+ Pin `@extrovert.dev/sdk@0.1.0-pre.4` 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
@@ -442,7 +442,7 @@ a wire protocol (there is no `/v1/contract` endpoint).
442
442
  ```ts
443
443
  import { CONTRACT_VERSION, CONTRACT_MANIFEST } from "@extrovert.dev/sdk";
444
444
 
445
- CONTRACT_VERSION; // "0.1.0-pre.3" — provisional, pre-1.0; pin it
445
+ CONTRACT_VERSION; // "0.1.0-pre.4" — provisional, pre-1.0; pin it
446
446
  CONTRACT_MANIFEST.stability; // "provisional"
447
447
  CONTRACT_MANIFEST.core_shapes; // ["ReviewIntent","ReviewFeedback","DiffJson","Rule","ReviewEvent"]
448
448
  ```
@@ -463,7 +463,7 @@ page and the agent skills (`extrovert-send-email`, `extrovert-writing-rules`).
463
463
  The Review-Loop shapes are an **open, documented contract — versioned *with* this SDK** (not a wire
464
464
  protocol; there is no `/v1/contract` endpoint). Three guarantees:
465
465
 
466
- - **One version, everywhere.** `CONTRACT_VERSION` is **`0.1.0-pre.3`**, reconciled across the SDK package
466
+ - **One version, everywhere.** `CONTRACT_VERSION` is **`0.1.0-pre.4`**, reconciled across the SDK package
467
467
  version, the MCP server, and the OpenAPI `info.version`. Pin it; pin `CONTRACT_MANIFEST` for the
468
468
  exact shape set you built against.
469
469
  - **Named, documented types.** The five canonical shapes — `ReviewIntent`, `ReviewFeedback`,
@@ -494,7 +494,7 @@ EXTROVERT_API_BASE_URL=mock npx tsx examples/wait-for-otp.ts
494
494
 
495
495
  ## Status
496
496
 
497
- > **Note.** This source SDK tracks the `/v1` contract at `CONTRACT_VERSION` `0.1.0-pre.3` — a
497
+ > **Note.** This source SDK tracks the `/v1` contract at `CONTRACT_VERSION` `0.1.0-pre.4` — a
498
498
  > deliberate **prerelease**, pre-1.0, expect additive change. The offline `mock` transport models the
499
499
  > live server closely enough to reproduce a 422 `intent_required` and a queued review, so build and
500
500
  > test against it before you have a key. Install from the `next` tag until a stable release is cut.
package/dist/index.cjs CHANGED
@@ -268,7 +268,7 @@ var CURRENT_API_VERSION = "2026-06-23";
268
268
  var API_VERSION_HEADER = "Extrovert-Version";
269
269
 
270
270
  // src/http.ts
271
- var SDK_VERSION = "0.1.0-pre.3";
271
+ var SDK_VERSION = "0.1.0-pre.4";
272
272
  function buildUrl(baseUrl, path, query) {
273
273
  const base = baseUrl.endsWith("/") ? baseUrl.slice(0, -1) : baseUrl;
274
274
  const rel = path.startsWith("/") ? path : `/${path}`;
@@ -5150,7 +5150,7 @@ async function signWebhook(secret, body, timestampSeconds) {
5150
5150
  }
5151
5151
 
5152
5152
  // src/contract.ts
5153
- var CONTRACT_VERSION = "0.1.0-pre.3";
5153
+ var CONTRACT_VERSION = "0.1.0-pre.4";
5154
5154
  var CONTRACT_MANIFEST = {
5155
5155
  name: "extrovert.review-loop",
5156
5156
  version: CONTRACT_VERSION,