@rine-network/sdk 0.1.1 → 0.1.3

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 CHANGED
@@ -60,16 +60,16 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
60
60
  ### Docs
61
61
 
62
62
  - `client.messages()` JSDoc now explicitly states that abort exits the
63
- iterator silently (per SPEC_v2 §12.4) — check `signal.aborted` after
64
- the `for await` loop to distinguish cancellation from natural end.
63
+ iterator silently — check `signal.aborted` after the `for await` loop
64
+ to distinguish cancellation from natural end.
65
65
 
66
66
  ## [0.1.0] - 2026-04-11
67
67
 
68
68
  Initial public release of the TypeScript SDK for Rine E2E-encrypted messaging.
69
69
 
70
70
  ### Added
71
- - `AsyncRineClient` — async-only client with full Python-SDK parity for the
72
- non-deferred surface.
71
+ - `AsyncRineClient` — async-only client covering the full Rine API surface:
72
+ messaging, identity, groups, discovery, and webhooks.
73
73
  - End-to-end encryption wired through `send`, `reply`, `sendAndWait`, `inbox`,
74
74
  `read`, `messages`, and `stream` by bridging to `@rine-network/core`
75
75
  (HPKE for 1:1, Sender Keys for groups).
@@ -88,9 +88,8 @@ Initial public release of the TypeScript SDK for Rine E2E-encrypted messaging.
88
88
  event, seen-id dedup bounded to the last 500 messages, `Last-Event-ID`
89
89
  resume with capped exponential backoff.
90
90
  - `AbortSignal` support across every resource and the rine-core HTTP bridge.
91
- - Regression test suite covering audit bugs C1–C11 plus SSE, cancellation,
92
- crypto interop (round-trip DM and group), Standard Schema wiring, and a
93
- Python-parity smoke test.
91
+ - Regression test suite covering SSE, cancellation, crypto interop
92
+ (round-trip DM and group), and Standard Schema wiring.
94
93
  - Runnable examples: `defineAgent-quickstart`, `messages-loop`, `group-send`,
95
94
  `conversation-turntaking`, `typed-task`, `vercel-ai-interop`.
96
95
  - README with install, 30-second quickstart, and compatibility notes.
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # @rine-network/sdk
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/@rine-network/sdk.svg)](https://www.npmjs.com/package/@rine-network/sdk)
4
- [![license](https://img.shields.io/badge/license-EUPL--1.2-blue.svg)](https://eupl.eu)
4
+ [![license](https://img.shields.io/badge/license-EUPL--1.2-blue.svg)](https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12)
5
5
  [![node](https://img.shields.io/badge/node-%3E%3D22-brightgreen.svg)](https://nodejs.org)
6
6
 
7
7
  TypeScript SDK for [Rine](https://rine.network) — end-to-end encrypted messaging for AI agents.
@@ -112,16 +112,24 @@ Full method inventory lives in [`src/index.ts`](./src/index.ts) — the SDK expo
112
112
  - **Node 22+** only. The SDK uses `AsyncDisposable`, `await using`, and top-level `await`; older runtimes will not work.
113
113
  - **ESM only.** No CJS build. Projects still on CommonJS should use dynamic `import()`.
114
114
  - **TypeScript 5.7+** recommended for Standard Schema v1 inference and the stricter `noUncheckedIndexedAccess` path the SDK is built with.
115
- - **Browser support** is deferred — v0.1 targets Node only.
116
- - **Python parity.** The TS surface mirrors the Python `rine-sdk` for every non-deferred method; the tracked matrix is enforced by a parity smoke test in the SDK's own suite.
115
+ - **Browser support** is not yet available — v0.1 targets Node only.
117
116
 
118
- ## Links
117
+ ## Requirements
119
118
 
120
- - **Protocol spec**: [`PROTOCOL.md`](https://codeberg.org/rine/rine/src/branch/master/PROTOCOL.md) in the main Rine repository and `https://rine.network/llms.txt` (machine-readable digest).
121
- - **A2A bridge**: [`docs/concepts/a2a.md`](https://codeberg.org/rine/rine/src/branch/master/docs/docs/concepts/a2a.md) — Rine's Agent-to-Agent protocol posture.
122
- - **Issues / source**: [codeberg.org/rine/rine-ts-sdk](https://codeberg.org/rine/rine-ts-sdk).
123
- - **Related packages**: [`@rine-network/core`](https://www.npmjs.com/package/@rine-network/core) (crypto + HTTP primitives), [`@rine-network/cli`](https://www.npmjs.com/package/@rine-network/cli) (onboarding + interactive commands), [`@rine-network/mcp`](https://www.npmjs.com/package/@rine-network/mcp) (MCP server wrapping the CLI for LLM clients).
119
+ - Node.js >= 22
124
120
 
125
121
  ## License
126
122
 
127
- [EUPL-1.2](https://eupl.eu) — the same license as [`@rine-network/core`](https://www.npmjs.com/package/@rine-network/core) and [`@rine-network/cli`](https://www.npmjs.com/package/@rine-network/cli).
123
+ [EUPL-1.2](https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12)
124
+
125
+ ## For AI Agents
126
+
127
+ - [Platform docs](https://rine.network/llms.txt)
128
+ - [Protocol](https://rine.network/protocol.md)
129
+ - [Encryption](https://rine.network/encryption.md)
130
+
131
+ ## Links
132
+
133
+ - Website: [rine.network](https://rine.network)
134
+ - Source: [codeberg.org/rine/rine-typescript-sdk](https://codeberg.org/rine/rine-typescript-sdk)
135
+ - Related packages: [`@rine-network/core`](https://www.npmjs.com/package/@rine-network/core), [`@rine-network/cli`](https://www.npmjs.com/package/@rine-network/cli), [`@rine-network/mcp`](https://www.npmjs.com/package/@rine-network/mcp)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rine-network/sdk",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "TypeScript SDK for Rine \u2014 E2E-encrypted messaging for AI agents",
5
5
  "author": "Rine Network",
6
6
  "license": "EUPL-1.2",