@sveda-ai/protocol 0.1.0 → 0.1.2

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 +2 -0
  2. package/package.json +25 -19
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Sveda Wire Protocol — stream event schemas and constants used by the JS client packages.
4
4
 
5
+ Docs: [sveda.dev/docs/stream](https://sveda.dev/docs/stream)
6
+
5
7
  ```bash
6
8
  npm install @sveda-ai/protocol
7
9
  ```
package/package.json CHANGED
@@ -1,42 +1,48 @@
1
1
  {
2
2
  "name": "@sveda-ai/protocol",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
- "description": "Sveda Wire Protocol — stream event schemas and constants.",
6
+ "description": "Sveda wire protocol (SSE events). https://sveda.dev/docs/stream",
7
+ "keywords": ["sveda", "ai", "agent", "protocol", "sse"],
7
8
  "repository": {
8
9
  "type": "git",
9
10
  "url": "git+https://github.com/neresson/sveda.git",
10
11
  "directory": "packages/protocol"
11
12
  },
12
- "homepage": "https://github.com/neresson/sveda/tree/main/packages/protocol",
13
- "main": "./dist/index.js",
14
- "types": "./dist/index.d.ts",
13
+ "homepage": "https://sveda.dev/docs/stream",
14
+ "main": "./src/index.ts",
15
+ "types": "./src/index.ts",
15
16
  "exports": {
16
17
  ".": {
17
- "types": "./dist/index.d.ts",
18
- "import": "./dist/index.js"
18
+ "types": "./src/index.ts",
19
+ "import": "./src/index.ts"
19
20
  },
20
21
  "./schemas/*": "./schemas/*",
21
22
  "./contracts/*": "./contracts/*"
22
23
  },
23
24
  "publishConfig": {
24
- "access": "public"
25
- },
26
- "files": [
27
- "dist",
28
- "src",
29
- "schemas",
30
- "contracts"
31
- ],
32
- "devDependencies": {
33
- "typescript": "^5.8.2",
34
- "vitest": "^4.1.4"
25
+ "access": "public",
26
+ "main": "./dist/index.js",
27
+ "types": "./dist/index.d.ts",
28
+ "exports": {
29
+ ".": {
30
+ "types": "./dist/index.d.ts",
31
+ "import": "./dist/index.js"
32
+ },
33
+ "./schemas/*": "./schemas/*",
34
+ "./contracts/*": "./contracts/*"
35
+ }
35
36
  },
37
+ "files": ["dist", "src", "schemas", "contracts"],
36
38
  "scripts": {
37
39
  "build": "tsc -p tsconfig.json",
38
40
  "test": "vitest run",
39
41
  "typecheck": "tsc -p tsconfig.json --noEmit",
40
42
  "lint": "echo 'no lint configured'"
43
+ },
44
+ "devDependencies": {
45
+ "typescript": "^5.8.2",
46
+ "vitest": "^4.1.4"
41
47
  }
42
- }
48
+ }