@contractspec/module.ai-chat 1.59.0 → 1.61.0

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 (1) hide show
  1. package/package.json +115 -37
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/module.ai-chat",
3
- "version": "1.59.0",
3
+ "version": "1.61.0",
4
4
  "description": "AI chat interface module",
5
5
  "keywords": [
6
6
  "contractspec",
@@ -31,14 +31,14 @@
31
31
  "typecheck": "tsc --noEmit"
32
32
  },
33
33
  "dependencies": {
34
- "@contractspec/lib.ai-agent": "1.59.0",
35
- "@contractspec/lib.ai-providers": "1.59.0",
36
- "@contractspec/lib.contracts": "1.59.0",
37
- "@contractspec/lib.schema": "1.59.0",
38
- "@contractspec/lib.metering": "1.59.0",
39
- "@contractspec/lib.cost-tracking": "1.59.0",
40
- "@contractspec/lib.design-system": "1.59.0",
41
- "@contractspec/lib.ui-kit-web": "1.59.0",
34
+ "@contractspec/lib.ai-agent": "1.61.0",
35
+ "@contractspec/lib.ai-providers": "1.61.0",
36
+ "@contractspec/lib.contracts": "1.61.0",
37
+ "@contractspec/lib.schema": "1.61.0",
38
+ "@contractspec/lib.metering": "1.61.0",
39
+ "@contractspec/lib.cost-tracking": "1.61.0",
40
+ "@contractspec/lib.design-system": "1.61.0",
41
+ "@contractspec/lib.ui-kit-web": "1.61.0",
42
42
  "@ai-sdk/react": "3.0.75",
43
43
  "ai": "6.0.73",
44
44
  "lucide-react": "^0.563.0",
@@ -46,28 +46,106 @@
46
46
  "zod": "^4.3.5"
47
47
  },
48
48
  "devDependencies": {
49
- "@contractspec/tool.typescript": "1.59.0",
49
+ "@contractspec/tool.typescript": "1.61.0",
50
50
  "@types/react": "^19.2.13",
51
51
  "typescript": "^5.9.3",
52
- "@contractspec/tool.bun": "1.58.0"
52
+ "@contractspec/tool.bun": "1.60.0"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "react": ">=19.2.4"
56
56
  },
57
57
  "exports": {
58
- ".": "./src/index.ts",
59
- "./context": "./src/context/index.ts",
60
- "./context/index": "./src/context/index.ts",
61
- "./core": "./src/core/index.ts",
62
- "./core/index": "./src/core/index.ts",
63
- "./presentation": "./src/presentation/index.ts",
64
- "./presentation/components": "./src/presentation/components/index.ts",
65
- "./presentation/components/index": "./src/presentation/components/index.ts",
66
- "./presentation/hooks": "./src/presentation/hooks/index.ts",
67
- "./presentation/hooks/index": "./src/presentation/hooks/index.ts",
68
- "./presentation/index": "./src/presentation/index.ts",
69
- "./providers": "./src/providers/index.ts",
70
- "./providers/index": "./src/providers/index.ts"
58
+ ".": {
59
+ "types": "./dist/index.d.ts",
60
+ "bun": "./dist/index.js",
61
+ "node": "./dist/node/index.js",
62
+ "browser": "./dist/browser/index.js",
63
+ "default": "./dist/index.js"
64
+ },
65
+ "./context": {
66
+ "types": "./dist/context/index.d.ts",
67
+ "bun": "./dist/context/index.js",
68
+ "node": "./dist/node/context/index.js",
69
+ "browser": "./dist/browser/context/index.js",
70
+ "default": "./dist/context/index.js"
71
+ },
72
+ "./context/index": {
73
+ "types": "./dist/context/index.d.ts",
74
+ "bun": "./dist/context/index.js",
75
+ "node": "./dist/node/context/index.js",
76
+ "browser": "./dist/browser/context/index.js",
77
+ "default": "./dist/context/index.js"
78
+ },
79
+ "./core": {
80
+ "types": "./dist/core/index.d.ts",
81
+ "bun": "./dist/core/index.js",
82
+ "node": "./dist/node/core/index.js",
83
+ "browser": "./dist/browser/core/index.js",
84
+ "default": "./dist/core/index.js"
85
+ },
86
+ "./core/index": {
87
+ "types": "./dist/core/index.d.ts",
88
+ "bun": "./dist/core/index.js",
89
+ "node": "./dist/node/core/index.js",
90
+ "browser": "./dist/browser/core/index.js",
91
+ "default": "./dist/core/index.js"
92
+ },
93
+ "./presentation": {
94
+ "types": "./dist/presentation/index.d.ts",
95
+ "bun": "./dist/presentation/index.js",
96
+ "node": "./dist/node/presentation/index.js",
97
+ "browser": "./dist/browser/presentation/index.js",
98
+ "default": "./dist/presentation/index.js"
99
+ },
100
+ "./presentation/components": {
101
+ "types": "./dist/presentation/components/index.d.ts",
102
+ "bun": "./dist/presentation/components/index.js",
103
+ "node": "./dist/node/presentation/components/index.js",
104
+ "browser": "./dist/browser/presentation/components/index.js",
105
+ "default": "./dist/presentation/components/index.js"
106
+ },
107
+ "./presentation/components/index": {
108
+ "types": "./dist/presentation/components/index.d.ts",
109
+ "bun": "./dist/presentation/components/index.js",
110
+ "node": "./dist/node/presentation/components/index.js",
111
+ "browser": "./dist/browser/presentation/components/index.js",
112
+ "default": "./dist/presentation/components/index.js"
113
+ },
114
+ "./presentation/hooks": {
115
+ "types": "./dist/presentation/hooks/index.d.ts",
116
+ "bun": "./dist/presentation/hooks/index.js",
117
+ "node": "./dist/node/presentation/hooks/index.js",
118
+ "browser": "./dist/browser/presentation/hooks/index.js",
119
+ "default": "./dist/presentation/hooks/index.js"
120
+ },
121
+ "./presentation/hooks/index": {
122
+ "types": "./dist/presentation/hooks/index.d.ts",
123
+ "bun": "./dist/presentation/hooks/index.js",
124
+ "node": "./dist/node/presentation/hooks/index.js",
125
+ "browser": "./dist/browser/presentation/hooks/index.js",
126
+ "default": "./dist/presentation/hooks/index.js"
127
+ },
128
+ "./presentation/index": {
129
+ "types": "./dist/presentation/index.d.ts",
130
+ "bun": "./dist/presentation/index.js",
131
+ "node": "./dist/node/presentation/index.js",
132
+ "browser": "./dist/browser/presentation/index.js",
133
+ "default": "./dist/presentation/index.js"
134
+ },
135
+ "./providers": {
136
+ "types": "./dist/providers/index.d.ts",
137
+ "bun": "./dist/providers/index.js",
138
+ "node": "./dist/node/providers/index.js",
139
+ "browser": "./dist/browser/providers/index.js",
140
+ "default": "./dist/providers/index.js"
141
+ },
142
+ "./providers/index": {
143
+ "types": "./dist/providers/index.d.ts",
144
+ "bun": "./dist/providers/index.js",
145
+ "node": "./dist/node/providers/index.js",
146
+ "browser": "./dist/browser/providers/index.js",
147
+ "default": "./dist/providers/index.js"
148
+ }
71
149
  },
72
150
  "publishConfig": {
73
151
  "access": "public",
@@ -75,91 +153,91 @@
75
153
  ".": {
76
154
  "types": "./dist/index.d.ts",
77
155
  "bun": "./dist/index.js",
78
- "node": "./dist/node/index.mjs",
156
+ "node": "./dist/node/index.js",
79
157
  "browser": "./dist/browser/index.js",
80
158
  "default": "./dist/index.js"
81
159
  },
82
160
  "./context": {
83
161
  "types": "./dist/context/index.d.ts",
84
162
  "bun": "./dist/context/index.js",
85
- "node": "./dist/node/context/index.mjs",
163
+ "node": "./dist/node/context/index.js",
86
164
  "browser": "./dist/browser/context/index.js",
87
165
  "default": "./dist/context/index.js"
88
166
  },
89
167
  "./context/index": {
90
168
  "types": "./dist/context/index.d.ts",
91
169
  "bun": "./dist/context/index.js",
92
- "node": "./dist/node/context/index.mjs",
170
+ "node": "./dist/node/context/index.js",
93
171
  "browser": "./dist/browser/context/index.js",
94
172
  "default": "./dist/context/index.js"
95
173
  },
96
174
  "./core": {
97
175
  "types": "./dist/core/index.d.ts",
98
176
  "bun": "./dist/core/index.js",
99
- "node": "./dist/node/core/index.mjs",
177
+ "node": "./dist/node/core/index.js",
100
178
  "browser": "./dist/browser/core/index.js",
101
179
  "default": "./dist/core/index.js"
102
180
  },
103
181
  "./core/index": {
104
182
  "types": "./dist/core/index.d.ts",
105
183
  "bun": "./dist/core/index.js",
106
- "node": "./dist/node/core/index.mjs",
184
+ "node": "./dist/node/core/index.js",
107
185
  "browser": "./dist/browser/core/index.js",
108
186
  "default": "./dist/core/index.js"
109
187
  },
110
188
  "./presentation": {
111
189
  "types": "./dist/presentation/index.d.ts",
112
190
  "bun": "./dist/presentation/index.js",
113
- "node": "./dist/node/presentation/index.mjs",
191
+ "node": "./dist/node/presentation/index.js",
114
192
  "browser": "./dist/browser/presentation/index.js",
115
193
  "default": "./dist/presentation/index.js"
116
194
  },
117
195
  "./presentation/components": {
118
196
  "types": "./dist/presentation/components/index.d.ts",
119
197
  "bun": "./dist/presentation/components/index.js",
120
- "node": "./dist/node/presentation/components/index.mjs",
198
+ "node": "./dist/node/presentation/components/index.js",
121
199
  "browser": "./dist/browser/presentation/components/index.js",
122
200
  "default": "./dist/presentation/components/index.js"
123
201
  },
124
202
  "./presentation/components/index": {
125
203
  "types": "./dist/presentation/components/index.d.ts",
126
204
  "bun": "./dist/presentation/components/index.js",
127
- "node": "./dist/node/presentation/components/index.mjs",
205
+ "node": "./dist/node/presentation/components/index.js",
128
206
  "browser": "./dist/browser/presentation/components/index.js",
129
207
  "default": "./dist/presentation/components/index.js"
130
208
  },
131
209
  "./presentation/hooks": {
132
210
  "types": "./dist/presentation/hooks/index.d.ts",
133
211
  "bun": "./dist/presentation/hooks/index.js",
134
- "node": "./dist/node/presentation/hooks/index.mjs",
212
+ "node": "./dist/node/presentation/hooks/index.js",
135
213
  "browser": "./dist/browser/presentation/hooks/index.js",
136
214
  "default": "./dist/presentation/hooks/index.js"
137
215
  },
138
216
  "./presentation/hooks/index": {
139
217
  "types": "./dist/presentation/hooks/index.d.ts",
140
218
  "bun": "./dist/presentation/hooks/index.js",
141
- "node": "./dist/node/presentation/hooks/index.mjs",
219
+ "node": "./dist/node/presentation/hooks/index.js",
142
220
  "browser": "./dist/browser/presentation/hooks/index.js",
143
221
  "default": "./dist/presentation/hooks/index.js"
144
222
  },
145
223
  "./presentation/index": {
146
224
  "types": "./dist/presentation/index.d.ts",
147
225
  "bun": "./dist/presentation/index.js",
148
- "node": "./dist/node/presentation/index.mjs",
226
+ "node": "./dist/node/presentation/index.js",
149
227
  "browser": "./dist/browser/presentation/index.js",
150
228
  "default": "./dist/presentation/index.js"
151
229
  },
152
230
  "./providers": {
153
231
  "types": "./dist/providers/index.d.ts",
154
232
  "bun": "./dist/providers/index.js",
155
- "node": "./dist/node/providers/index.mjs",
233
+ "node": "./dist/node/providers/index.js",
156
234
  "browser": "./dist/browser/providers/index.js",
157
235
  "default": "./dist/providers/index.js"
158
236
  },
159
237
  "./providers/index": {
160
238
  "types": "./dist/providers/index.d.ts",
161
239
  "bun": "./dist/providers/index.js",
162
- "node": "./dist/node/providers/index.mjs",
240
+ "node": "./dist/node/providers/index.js",
163
241
  "browser": "./dist/browser/providers/index.js",
164
242
  "default": "./dist/providers/index.js"
165
243
  }