@vinaverse/client 0.0.0-stage → 0.1.0-alpha.10

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 (49) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +202 -2
  3. package/dist/agent/index.cjs +3319 -0
  4. package/dist/agent/index.cjs.map +1 -0
  5. package/dist/agent/index.d.cts +57 -0
  6. package/dist/agent/index.d.ts +57 -0
  7. package/dist/agent/index.js +99 -0
  8. package/dist/agent/index.js.map +1 -0
  9. package/dist/backend/index.cjs +268 -0
  10. package/dist/backend/index.cjs.map +1 -0
  11. package/dist/backend/index.d.cts +72 -0
  12. package/dist/backend/index.d.ts +72 -0
  13. package/dist/backend/index.js +250 -0
  14. package/dist/backend/index.js.map +1 -0
  15. package/dist/chunk-46D3FSLU.js +997 -0
  16. package/dist/chunk-46D3FSLU.js.map +1 -0
  17. package/dist/chunk-GWLLUOFY.js +1374 -0
  18. package/dist/chunk-GWLLUOFY.js.map +1 -0
  19. package/dist/chunk-O3NLAZGZ.js +859 -0
  20. package/dist/chunk-O3NLAZGZ.js.map +1 -0
  21. package/dist/chunk-YNUHXJD6.js +9 -0
  22. package/dist/chunk-YNUHXJD6.js.map +1 -0
  23. package/dist/contract-DmQs8amJ.d.cts +6 -0
  24. package/dist/contract-DmQs8amJ.d.ts +6 -0
  25. package/dist/conversation/index.cjs +2510 -0
  26. package/dist/conversation/index.cjs.map +1 -0
  27. package/dist/conversation/index.d.cts +65 -0
  28. package/dist/conversation/index.d.ts +65 -0
  29. package/dist/conversation/index.js +134 -0
  30. package/dist/conversation/index.js.map +1 -0
  31. package/dist/index.cjs +1390 -0
  32. package/dist/index.cjs.map +1 -0
  33. package/dist/index.d.cts +11 -0
  34. package/dist/index.d.ts +11 -0
  35. package/dist/index.js +4 -0
  36. package/dist/index.js.map +1 -0
  37. package/dist/runtime-CISPp9nJ.d.cts +371 -0
  38. package/dist/runtime-Z1RI10lU.d.ts +371 -0
  39. package/dist/session-CPz4pcPu.d.cts +3651 -0
  40. package/dist/session-CPz4pcPu.d.ts +3651 -0
  41. package/dist/store-BxiicOKG.d.cts +414 -0
  42. package/dist/store-DZka9T2-.d.ts +414 -0
  43. package/dist/testing/index.cjs +274 -0
  44. package/dist/testing/index.cjs.map +1 -0
  45. package/dist/testing/index.d.cts +60 -0
  46. package/dist/testing/index.d.ts +60 -0
  47. package/dist/testing/index.js +259 -0
  48. package/dist/testing/index.js.map +1 -0
  49. package/package.json +151 -3
package/package.json CHANGED
@@ -1,6 +1,154 @@
1
1
  {
2
2
  "name": "@vinaverse/client",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.1.0-alpha.10",
4
+ "description": "Vinaverse for apps: the realtime session client (WebSocket with SSE fallback, resume, typed events and cards). No UI.",
5
+ "license": "Apache-2.0",
6
+ "author": "Vinaverse, Inc.",
7
+ "homepage": "https://github.com/vinaverse-ai/vinaverse-js/tree/develop/packages/client#readme",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/vinaverse-ai/vinaverse-js.git",
11
+ "directory": "packages/client"
12
+ },
13
+ "bugs": "https://github.com/vinaverse-ai/vinaverse-js/issues",
14
+ "keywords": [
15
+ "vinaverse",
16
+ "realtime",
17
+ "sdk"
18
+ ],
19
+ "type": "module",
20
+ "sideEffects": false,
21
+ "engines": {
22
+ "node": ">=18"
23
+ },
24
+ "exports": {
25
+ ".": {
26
+ "react-native": {
27
+ "types": "./dist/index.d.cts",
28
+ "default": "./dist/index.cjs"
29
+ },
30
+ "import": {
31
+ "types": "./dist/index.d.ts",
32
+ "default": "./dist/index.js"
33
+ },
34
+ "require": {
35
+ "types": "./dist/index.d.cts",
36
+ "default": "./dist/index.cjs"
37
+ }
38
+ },
39
+ "./conversation": {
40
+ "react-native": {
41
+ "types": "./dist/conversation/index.d.cts",
42
+ "default": "./dist/conversation/index.cjs"
43
+ },
44
+ "import": {
45
+ "types": "./dist/conversation/index.d.ts",
46
+ "default": "./dist/conversation/index.js"
47
+ },
48
+ "require": {
49
+ "types": "./dist/conversation/index.d.cts",
50
+ "default": "./dist/conversation/index.cjs"
51
+ }
52
+ },
53
+ "./agent": {
54
+ "react-native": {
55
+ "types": "./dist/agent/index.d.cts",
56
+ "default": "./dist/agent/index.cjs"
57
+ },
58
+ "import": {
59
+ "types": "./dist/agent/index.d.ts",
60
+ "default": "./dist/agent/index.js"
61
+ },
62
+ "require": {
63
+ "types": "./dist/agent/index.d.cts",
64
+ "default": "./dist/agent/index.cjs"
65
+ }
66
+ },
67
+ "./backend": {
68
+ "react-native": {
69
+ "types": "./dist/backend/index.d.cts",
70
+ "default": "./dist/backend/index.cjs"
71
+ },
72
+ "import": {
73
+ "types": "./dist/backend/index.d.ts",
74
+ "default": "./dist/backend/index.js"
75
+ },
76
+ "require": {
77
+ "types": "./dist/backend/index.d.cts",
78
+ "default": "./dist/backend/index.cjs"
79
+ }
80
+ },
81
+ "./testing": {
82
+ "react-native": {
83
+ "types": "./dist/testing/index.d.cts",
84
+ "default": "./dist/testing/index.cjs"
85
+ },
86
+ "import": {
87
+ "types": "./dist/testing/index.d.ts",
88
+ "default": "./dist/testing/index.js"
89
+ },
90
+ "require": {
91
+ "types": "./dist/testing/index.d.cts",
92
+ "default": "./dist/testing/index.cjs"
93
+ }
94
+ },
95
+ "./package.json": "./package.json"
96
+ },
97
+ "main": "./dist/index.cjs",
98
+ "module": "./dist/index.js",
99
+ "types": "./dist/index.d.cts",
100
+ "typesVersions": {
101
+ "*": {
102
+ "conversation": [
103
+ "./dist/conversation/index.d.cts"
104
+ ],
105
+ "agent": [
106
+ "./dist/agent/index.d.cts"
107
+ ],
108
+ "testing": [
109
+ "./dist/testing/index.d.cts"
110
+ ],
111
+ "backend": [
112
+ "./dist/backend/index.d.cts"
113
+ ]
114
+ }
115
+ },
116
+ "files": [
117
+ "dist"
118
+ ],
119
+ "publishConfig": {
120
+ "access": "public",
121
+ "provenance": true
122
+ },
123
+ "size-limit": [
124
+ {
125
+ "name": "@vinaverse/client (ESM, everything; why 7 kB: docs/architecture/client.md, Size budget)",
126
+ "path": "dist/index.js",
127
+ "import": "*",
128
+ "limit": "7 kB"
129
+ },
130
+ {
131
+ "name": "@vinaverse/client/conversation (ESM, everything, the session included; docs/architecture/conversation.md, Size budget)",
132
+ "path": "dist/conversation/index.js",
133
+ "import": "*",
134
+ "limit": "13 kB"
135
+ },
136
+ {
137
+ "name": "@vinaverse/client/agent (ESM, everything, the conversation store included; docs/architecture/agent-runtime.md)",
138
+ "path": "dist/agent/index.js",
139
+ "import": "*",
140
+ "limit": "17.5 kB"
141
+ },
142
+ {
143
+ "name": "@vinaverse/client/backend (ESM, everything: backendFromFetch and decodeBackendFailure)",
144
+ "path": "dist/backend/index.js",
145
+ "import": "*",
146
+ "limit": "2.25 kB"
147
+ }
148
+ ],
149
+ "scripts": {
150
+ "build": "tsup",
151
+ "typecheck": "tsc --noEmit -p tsconfig.json",
152
+ "package:check": "publint --strict && attw --pack . && size-limit"
153
+ }
6
154
  }