@signet-auth/vercel-ai 0.4.4 → 0.4.5

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.
Files changed (2) hide show
  1. package/README.md +18 -3
  2. package/package.json +20 -3
package/README.md CHANGED
@@ -1,14 +1,26 @@
1
1
  # @signet-auth/vercel-ai
2
2
 
3
- Signet signing callbacks for Vercel AI SDK. Signs every tool call with Ed25519 3 lines of code, no infrastructure.
3
+ Vercel AI SDK callbacks for Signet. Add a small callback bundle, sign every tool call, and keep receipts in memory without adding MCP-specific code.
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/@signet-auth/vercel-ai?style=flat-square)](https://www.npmjs.com/package/@signet-auth/vercel-ai)
6
6
  [![GitHub Stars](https://img.shields.io/github/stars/Prismer-AI/signet?style=flat-square&color=yellow)](https://github.com/Prismer-AI/signet)
7
7
 
8
+ Best for:
9
+
10
+ - Apps using `generateText()` and tool calling in the Vercel AI SDK
11
+ - Collecting signed receipts from tool calls with minimal integration work
12
+ - Keeping Vercel AI-specific logic out of your lower-level signing code
13
+
14
+ Use another package if:
15
+
16
+ - You need MCP transport signing: [`@signet-auth/mcp`](https://www.npmjs.com/package/@signet-auth/mcp)
17
+ - You need MCP execution-boundary verification: [`@signet-auth/mcp-server`](https://www.npmjs.com/package/@signet-auth/mcp-server)
18
+ - You want lower-level primitives only: [`@signet-auth/core`](https://www.npmjs.com/package/@signet-auth/core)
19
+
8
20
  ## Install
9
21
 
10
22
  ```bash
11
- npm install @signet-auth/vercel-ai @signet-auth/core
23
+ npm install ai @signet-auth/vercel-ai @signet-auth/core
12
24
  ```
13
25
 
14
26
  ## Usage
@@ -32,8 +44,11 @@ const result = await generateText({
32
44
  console.log(callbacks.receipts); // signed receipts for every tool call
33
45
  ```
34
46
 
35
- ## Links
47
+ ## Related packages
36
48
 
49
+ - [`@signet-auth/core`](https://www.npmjs.com/package/@signet-auth/core) — lower-level signing and verification primitives
50
+ - [`@signet-auth/mcp`](https://www.npmjs.com/package/@signet-auth/mcp) — client-side signing transport for MCP
51
+ - [`@signet-auth/mcp-server`](https://www.npmjs.com/package/@signet-auth/mcp-server) — server-side execution-boundary verification for MCP
37
52
  - [Full documentation & all SDKs](https://github.com/Prismer-AI/signet)
38
53
 
39
54
  If Signet is useful to you, [star us on GitHub](https://github.com/Prismer-AI/signet) — it helps others discover the project.
package/package.json CHANGED
@@ -1,7 +1,24 @@
1
1
  {
2
2
  "name": "@signet-auth/vercel-ai",
3
- "version": "0.4.4",
4
- "description": "Signet signing middleware for Vercel AI SDK",
3
+ "version": "0.4.5",
4
+ "description": "Vercel AI SDK callbacks for signing Signet tool-call receipts",
5
+ "keywords": [
6
+ "signet",
7
+ "vercel-ai-sdk",
8
+ "ai-sdk",
9
+ "tool-calls",
10
+ "receipts",
11
+ "signing"
12
+ ],
13
+ "homepage": "https://github.com/Prismer-AI/signet/tree/main/packages/signet-vercel-ai#readme",
14
+ "bugs": {
15
+ "url": "https://github.com/Prismer-AI/signet/issues"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/Prismer-AI/signet.git",
20
+ "directory": "packages/signet-vercel-ai"
21
+ },
5
22
  "type": "module",
6
23
  "main": "dist/src/index.js",
7
24
  "types": "dist/src/index.d.ts",
@@ -14,7 +31,7 @@
14
31
  "access": "public"
15
32
  },
16
33
  "dependencies": {
17
- "@signet-auth/core": "^0.4.4"
34
+ "@signet-auth/core": "^0.4.5"
18
35
  },
19
36
  "devDependencies": {
20
37
  "@types/node": "^22",