@extrovert.dev/sdk 0.1.0-pre.12 → 0.1.0-pre.14

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.12` when a dogfood test needs a reproducible contract snapshot.
33
+ Pin `@extrovert.dev/sdk@0.1.0-pre.13` 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.12": provisional, pre-1.0; pin it
532
+ CONTRACT_VERSION; // "0.1.0-pre.13": 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.12`**, reconciled across the SDK package
553
+ - **One version, everywhere.** `CONTRACT_VERSION` is **`0.1.0-pre.13`**, 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.12`: a
584
+ > **Note.** This source SDK tracks the `/v1` contract at `CONTRACT_VERSION` `0.1.0-pre.13`: 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.
@@ -590,10 +590,14 @@ EXTROVERT_API_BASE_URL=mock npx tsx examples/wait-for-otp.ts
590
590
 
591
591
  MIT © Message Science. *A side gate for agents.*
592
592
 
593
+ For choosing access and handing setup over to workers, read
594
+ [Connections and access](https://docs.extrovert.dev/concepts/connections-and-access/).
595
+
593
596
  ## Explicitly delegated administration
594
597
 
595
598
  Use an API-audience connection token or independently issued `ev_credential_...` credential with
596
599
  explicit Full account control. Ordinary `pk_agent_...` keys do not grant administration.
600
+ Hosted MCP OAuth tokens have a different audience; do not copy them into a direct SDK client.
597
601
 
598
602
  ```ts
599
603
  const client = new Extrovert({ apiKey: process.env.EXTROVERT_API_KEY });
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.12";
407
+ var SDK_VERSION = "0.1.0-pre.14";
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.12";
5909
+ var CONTRACT_VERSION = "0.1.0-pre.14";
5910
5910
  var CONTRACT_MANIFEST = {
5911
5911
  name: "extrovert.review-loop",
5912
5912
  version: CONTRACT_VERSION,