@contractspec/module.ai-chat 4.1.2 → 4.1.3
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/dist/browser/index.js +1 -1
- package/dist/browser/presentation/components/index.js +1 -1
- package/dist/browser/presentation/hooks/index.js +1 -1
- package/dist/browser/presentation/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.js +1 -1
- package/dist/node/presentation/components/index.js +1 -1
- package/dist/node/presentation/hooks/index.js +1 -1
- package/dist/node/presentation/index.js +1 -1
- package/dist/presentation/components/index.js +1 -1
- package/dist/presentation/hooks/index.js +1 -1
- package/dist/presentation/hooks/useChat.d.ts +1 -1
- package/dist/presentation/index.js +1 -1
- package/package.json +13 -13
package/dist/browser/index.js
CHANGED
|
@@ -3176,7 +3176,7 @@ function useChat(options = {}) {
|
|
|
3176
3176
|
return;
|
|
3177
3177
|
}
|
|
3178
3178
|
let cancelled = false;
|
|
3179
|
-
import("@contractspec/lib.ai-agent/tools/mcp-client").then(({ createMcpToolsets }) => {
|
|
3179
|
+
import("@contractspec/lib.ai-agent/tools/mcp-client.browser").then(({ createMcpToolsets }) => {
|
|
3180
3180
|
createMcpToolsets(mcpServers).then(({ tools, cleanup }) => {
|
|
3181
3181
|
if (!cancelled) {
|
|
3182
3182
|
setMcpTools(tools);
|
|
@@ -2777,7 +2777,7 @@ function useChat(options = {}) {
|
|
|
2777
2777
|
return;
|
|
2778
2778
|
}
|
|
2779
2779
|
let cancelled = false;
|
|
2780
|
-
import("@contractspec/lib.ai-agent/tools/mcp-client").then(({ createMcpToolsets }) => {
|
|
2780
|
+
import("@contractspec/lib.ai-agent/tools/mcp-client.browser").then(({ createMcpToolsets }) => {
|
|
2781
2781
|
createMcpToolsets(mcpServers).then(({ tools, cleanup }) => {
|
|
2782
2782
|
if (!cancelled) {
|
|
2783
2783
|
setMcpTools(tools);
|
|
@@ -1147,7 +1147,7 @@ function useChat(options = {}) {
|
|
|
1147
1147
|
return;
|
|
1148
1148
|
}
|
|
1149
1149
|
let cancelled = false;
|
|
1150
|
-
import("@contractspec/lib.ai-agent/tools/mcp-client").then(({ createMcpToolsets }) => {
|
|
1150
|
+
import("@contractspec/lib.ai-agent/tools/mcp-client.browser").then(({ createMcpToolsets }) => {
|
|
1151
1151
|
createMcpToolsets(mcpServers).then(({ tools, cleanup }) => {
|
|
1152
1152
|
if (!cancelled) {
|
|
1153
1153
|
setMcpTools(tools);
|
|
@@ -2777,7 +2777,7 @@ function useChat(options = {}) {
|
|
|
2777
2777
|
return;
|
|
2778
2778
|
}
|
|
2779
2779
|
let cancelled = false;
|
|
2780
|
-
import("@contractspec/lib.ai-agent/tools/mcp-client").then(({ createMcpToolsets }) => {
|
|
2780
|
+
import("@contractspec/lib.ai-agent/tools/mcp-client.browser").then(({ createMcpToolsets }) => {
|
|
2781
2781
|
createMcpToolsets(mcpServers).then(({ tools, cleanup }) => {
|
|
2782
2782
|
if (!cancelled) {
|
|
2783
2783
|
setMcpTools(tools);
|
package/dist/index.js
CHANGED
|
@@ -3171,7 +3171,7 @@ function useChat(options = {}) {
|
|
|
3171
3171
|
return;
|
|
3172
3172
|
}
|
|
3173
3173
|
let cancelled = false;
|
|
3174
|
-
import("@contractspec/lib.ai-agent/tools/mcp-client").then(({ createMcpToolsets }) => {
|
|
3174
|
+
import("@contractspec/lib.ai-agent/tools/mcp-client.browser").then(({ createMcpToolsets }) => {
|
|
3175
3175
|
createMcpToolsets(mcpServers).then(({ tools, cleanup }) => {
|
|
3176
3176
|
if (!cancelled) {
|
|
3177
3177
|
setMcpTools(tools);
|
package/dist/node/index.js
CHANGED
|
@@ -3171,7 +3171,7 @@ function useChat(options = {}) {
|
|
|
3171
3171
|
return;
|
|
3172
3172
|
}
|
|
3173
3173
|
let cancelled = false;
|
|
3174
|
-
import("@contractspec/lib.ai-agent/tools/mcp-client").then(({ createMcpToolsets }) => {
|
|
3174
|
+
import("@contractspec/lib.ai-agent/tools/mcp-client.browser").then(({ createMcpToolsets }) => {
|
|
3175
3175
|
createMcpToolsets(mcpServers).then(({ tools, cleanup }) => {
|
|
3176
3176
|
if (!cancelled) {
|
|
3177
3177
|
setMcpTools(tools);
|
|
@@ -2772,7 +2772,7 @@ function useChat(options = {}) {
|
|
|
2772
2772
|
return;
|
|
2773
2773
|
}
|
|
2774
2774
|
let cancelled = false;
|
|
2775
|
-
import("@contractspec/lib.ai-agent/tools/mcp-client").then(({ createMcpToolsets }) => {
|
|
2775
|
+
import("@contractspec/lib.ai-agent/tools/mcp-client.browser").then(({ createMcpToolsets }) => {
|
|
2776
2776
|
createMcpToolsets(mcpServers).then(({ tools, cleanup }) => {
|
|
2777
2777
|
if (!cancelled) {
|
|
2778
2778
|
setMcpTools(tools);
|
|
@@ -1142,7 +1142,7 @@ function useChat(options = {}) {
|
|
|
1142
1142
|
return;
|
|
1143
1143
|
}
|
|
1144
1144
|
let cancelled = false;
|
|
1145
|
-
import("@contractspec/lib.ai-agent/tools/mcp-client").then(({ createMcpToolsets }) => {
|
|
1145
|
+
import("@contractspec/lib.ai-agent/tools/mcp-client.browser").then(({ createMcpToolsets }) => {
|
|
1146
1146
|
createMcpToolsets(mcpServers).then(({ tools, cleanup }) => {
|
|
1147
1147
|
if (!cancelled) {
|
|
1148
1148
|
setMcpTools(tools);
|
|
@@ -2772,7 +2772,7 @@ function useChat(options = {}) {
|
|
|
2772
2772
|
return;
|
|
2773
2773
|
}
|
|
2774
2774
|
let cancelled = false;
|
|
2775
|
-
import("@contractspec/lib.ai-agent/tools/mcp-client").then(({ createMcpToolsets }) => {
|
|
2775
|
+
import("@contractspec/lib.ai-agent/tools/mcp-client.browser").then(({ createMcpToolsets }) => {
|
|
2776
2776
|
createMcpToolsets(mcpServers).then(({ tools, cleanup }) => {
|
|
2777
2777
|
if (!cancelled) {
|
|
2778
2778
|
setMcpTools(tools);
|
|
@@ -2772,7 +2772,7 @@ function useChat(options = {}) {
|
|
|
2772
2772
|
return;
|
|
2773
2773
|
}
|
|
2774
2774
|
let cancelled = false;
|
|
2775
|
-
import("@contractspec/lib.ai-agent/tools/mcp-client").then(({ createMcpToolsets }) => {
|
|
2775
|
+
import("@contractspec/lib.ai-agent/tools/mcp-client.browser").then(({ createMcpToolsets }) => {
|
|
2776
2776
|
createMcpToolsets(mcpServers).then(({ tools, cleanup }) => {
|
|
2777
2777
|
if (!cancelled) {
|
|
2778
2778
|
setMcpTools(tools);
|
|
@@ -1142,7 +1142,7 @@ function useChat(options = {}) {
|
|
|
1142
1142
|
return;
|
|
1143
1143
|
}
|
|
1144
1144
|
let cancelled = false;
|
|
1145
|
-
import("@contractspec/lib.ai-agent/tools/mcp-client").then(({ createMcpToolsets }) => {
|
|
1145
|
+
import("@contractspec/lib.ai-agent/tools/mcp-client.browser").then(({ createMcpToolsets }) => {
|
|
1146
1146
|
createMcpToolsets(mcpServers).then(({ tools, cleanup }) => {
|
|
1147
1147
|
if (!cancelled) {
|
|
1148
1148
|
setMcpTools(tools);
|
|
@@ -7,7 +7,7 @@ import type { WorkflowSpec } from '@contractspec/lib.contracts-spec/workflow';
|
|
|
7
7
|
import type { ContractsContextConfig } from '../../core/contracts-context';
|
|
8
8
|
import type { ResolvedSurfacePlan } from '@contractspec/lib.surface-runtime/runtime/resolve-bundle';
|
|
9
9
|
import type { SurfacePatchProposal } from '@contractspec/lib.surface-runtime/spec/types';
|
|
10
|
-
import type { McpClientConfig } from '@contractspec/lib.ai-agent/tools/mcp-client';
|
|
10
|
+
import type { McpClientConfig } from '@contractspec/lib.ai-agent/tools/mcp-client.browser';
|
|
11
11
|
/** Tool definition for planner integration (reserved for bundle spec 07_ai_native_chat). */
|
|
12
12
|
export interface UseChatToolDef {
|
|
13
13
|
name: string;
|
|
@@ -2772,7 +2772,7 @@ function useChat(options = {}) {
|
|
|
2772
2772
|
return;
|
|
2773
2773
|
}
|
|
2774
2774
|
let cancelled = false;
|
|
2775
|
-
import("@contractspec/lib.ai-agent/tools/mcp-client").then(({ createMcpToolsets }) => {
|
|
2775
|
+
import("@contractspec/lib.ai-agent/tools/mcp-client.browser").then(({ createMcpToolsets }) => {
|
|
2776
2776
|
createMcpToolsets(mcpServers).then(({ tools, cleanup }) => {
|
|
2777
2777
|
if (!cancelled) {
|
|
2778
2778
|
setMcpTools(tools);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/module.ai-chat",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.3",
|
|
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": "5.0.
|
|
35
|
-
"@contractspec/lib.surface-runtime": "0.3.
|
|
36
|
-
"@contractspec/lib.ai-providers": "3.5.
|
|
37
|
-
"@contractspec/lib.contracts-spec": "3.5.
|
|
38
|
-
"@contractspec/lib.workflow-composer": "3.5.
|
|
39
|
-
"@contractspec/lib.schema": "3.5.
|
|
40
|
-
"@contractspec/lib.metering": "3.5.
|
|
41
|
-
"@contractspec/lib.cost-tracking": "3.5.
|
|
42
|
-
"@contractspec/lib.design-system": "3.5.
|
|
43
|
-
"@contractspec/lib.ui-kit-web": "3.5.
|
|
34
|
+
"@contractspec/lib.ai-agent": "5.0.3",
|
|
35
|
+
"@contractspec/lib.surface-runtime": "0.3.3",
|
|
36
|
+
"@contractspec/lib.ai-providers": "3.5.3",
|
|
37
|
+
"@contractspec/lib.contracts-spec": "3.5.3",
|
|
38
|
+
"@contractspec/lib.workflow-composer": "3.5.3",
|
|
39
|
+
"@contractspec/lib.schema": "3.5.3",
|
|
40
|
+
"@contractspec/lib.metering": "3.5.3",
|
|
41
|
+
"@contractspec/lib.cost-tracking": "3.5.3",
|
|
42
|
+
"@contractspec/lib.design-system": "3.5.3",
|
|
43
|
+
"@contractspec/lib.ui-kit-web": "3.5.3",
|
|
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.5.
|
|
51
|
+
"@contractspec/tool.typescript": "3.5.3",
|
|
52
52
|
"@types/react": "^19.2.14",
|
|
53
53
|
"typescript": "^5.9.3",
|
|
54
|
-
"@contractspec/tool.bun": "3.5.
|
|
54
|
+
"@contractspec/tool.bun": "3.5.3"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"react": ">=19.2.4"
|