@contractspec/module.ai-chat 4.1.5 → 4.2.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.
- package/README.md +29 -3
- package/dist/browser/core/index.js +53 -17
- package/dist/browser/index.js +982 -426
- package/dist/browser/presentation/components/index.js +975 -419
- package/dist/browser/presentation/hooks/index.js +8 -1
- package/dist/browser/presentation/index.js +983 -427
- package/dist/core/create-chat-route.d.ts +14 -3
- package/dist/core/index.js +53 -17
- package/dist/core/message-types.d.ts +4 -0
- package/dist/index.js +982 -426
- package/dist/node/core/index.js +53 -17
- package/dist/node/index.js +982 -426
- package/dist/node/presentation/components/index.js +975 -419
- package/dist/node/presentation/hooks/index.js +8 -1
- package/dist/node/presentation/index.js +983 -427
- package/dist/presentation/components/ChainOfThought.d.ts +30 -0
- package/dist/presentation/components/ChatInput.d.ts +3 -4
- package/dist/presentation/components/ChatMessage.d.ts +6 -4
- package/dist/presentation/components/ChatWithExport.d.ts +14 -1
- package/dist/presentation/components/ChatWithSidebar.d.ts +12 -1
- package/dist/presentation/components/Reasoning.d.ts +24 -0
- package/dist/presentation/components/Sources.d.ts +22 -0
- package/dist/presentation/components/Suggestion.d.ts +12 -0
- package/dist/presentation/components/ToolResultRenderer.d.ts +20 -3
- package/dist/presentation/components/component-types.d.ts +52 -0
- package/dist/presentation/components/index.d.ts +6 -1
- package/dist/presentation/components/index.js +975 -419
- package/dist/presentation/hooks/index.js +8 -1
- package/dist/presentation/index.js +983 -427
- package/package.json +13 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/module.ai-chat",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "AI chat interface module",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"contractspec",
|
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
"typecheck": "tsc --noEmit"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@contractspec/lib.ai-agent": "
|
|
35
|
-
"@contractspec/lib.surface-runtime": "0.
|
|
36
|
-
"@contractspec/lib.ai-providers": "3.
|
|
37
|
-
"@contractspec/lib.contracts-spec": "3.
|
|
38
|
-
"@contractspec/lib.workflow-composer": "3.
|
|
39
|
-
"@contractspec/lib.schema": "3.
|
|
40
|
-
"@contractspec/lib.metering": "3.
|
|
41
|
-
"@contractspec/lib.cost-tracking": "3.
|
|
42
|
-
"@contractspec/lib.design-system": "3.
|
|
43
|
-
"@contractspec/lib.ui-kit-web": "3.
|
|
34
|
+
"@contractspec/lib.ai-agent": "6.0.0",
|
|
35
|
+
"@contractspec/lib.surface-runtime": "0.4.0",
|
|
36
|
+
"@contractspec/lib.ai-providers": "3.6.0",
|
|
37
|
+
"@contractspec/lib.contracts-spec": "3.6.0",
|
|
38
|
+
"@contractspec/lib.workflow-composer": "3.6.0",
|
|
39
|
+
"@contractspec/lib.schema": "3.6.0",
|
|
40
|
+
"@contractspec/lib.metering": "3.6.0",
|
|
41
|
+
"@contractspec/lib.cost-tracking": "3.6.0",
|
|
42
|
+
"@contractspec/lib.design-system": "3.6.0",
|
|
43
|
+
"@contractspec/lib.ui-kit-web": "3.6.0",
|
|
44
44
|
"@ai-sdk/react": "3.0.118",
|
|
45
45
|
"ai": "6.0.116",
|
|
46
46
|
"lucide-react": "^0.577.0",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"zod": "^4.3.5"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@contractspec/tool.typescript": "3.
|
|
51
|
+
"@contractspec/tool.typescript": "3.6.0",
|
|
52
52
|
"@types/react": "^19.2.14",
|
|
53
53
|
"typescript": "^5.9.3",
|
|
54
|
-
"@contractspec/tool.bun": "3.
|
|
54
|
+
"@contractspec/tool.bun": "3.6.0"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"react": ">=19.2.4"
|