@contractspec/module.ai-chat 4.3.5 → 4.3.7
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 +62 -370
- package/dist/adapters/ai-sdk-bundle-adapter.d.ts +1 -1
- package/dist/adapters/index.d.ts +1 -1
- package/dist/browser/context/index.js +93 -93
- package/dist/browser/core/index.js +308 -307
- package/dist/browser/index.js +3803 -3801
- package/dist/browser/presentation/components/index.js +2617 -2618
- package/dist/browser/presentation/hooks/index.js +476 -476
- package/dist/browser/presentation/index.js +2474 -2475
- package/dist/browser/providers/index.js +7 -7
- package/dist/context/index.d.ts +1 -1
- package/dist/context/index.js +93 -93
- package/dist/core/agent-tools-adapter.d.ts +1 -1
- package/dist/core/chat-service.d.ts +4 -4
- package/dist/core/create-chat-route.d.ts +1 -1
- package/dist/core/create-completion-route.d.ts +15 -0
- package/dist/core/export-formatters.d.ts +1 -1
- package/dist/core/index.d.ts +6 -6
- package/dist/core/index.js +308 -307
- package/dist/core/local-storage-conversation-store.d.ts +1 -1
- package/dist/core/surface-planner-tools.d.ts +2 -2
- package/dist/core/workflow-tools.d.ts +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.js +3803 -3801
- package/dist/node/context/index.js +93 -93
- package/dist/node/core/index.js +308 -307
- package/dist/node/index.js +3803 -3801
- package/dist/node/presentation/components/index.js +2617 -2618
- package/dist/node/presentation/hooks/index.js +476 -476
- package/dist/node/presentation/index.js +2474 -2475
- package/dist/node/providers/index.js +7 -7
- package/dist/presentation/components/ChainOfThought.d.ts +1 -1
- package/dist/presentation/components/ChatExportToolbar.d.ts +1 -1
- package/dist/presentation/components/ChatSidebar.d.ts +1 -1
- package/dist/presentation/components/ChatWithExport.d.ts +1 -1
- package/dist/presentation/components/index.d.ts +11 -11
- package/dist/presentation/components/index.js +2617 -2618
- package/dist/presentation/hooks/index.d.ts +4 -4
- package/dist/presentation/hooks/index.js +476 -476
- package/dist/presentation/hooks/useChat.d.ts +6 -6
- package/dist/presentation/hooks/useConversations.d.ts +1 -1
- package/dist/presentation/hooks/useProviders.d.ts +1 -1
- package/dist/presentation/index.js +2474 -2475
- package/dist/providers/index.d.ts +2 -2
- package/dist/providers/index.js +7 -7
- package/package.json +15 -15
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { ConversationStore } from '../../core/conversation-store';
|
|
3
|
-
import type { ThinkingLevel } from '../../core/thinking-levels';
|
|
1
|
+
import type { McpClientConfig } from '@contractspec/lib.ai-agent/tools/mcp-client.browser';
|
|
4
2
|
import { type ModelSelector, type ProviderMode, type ProviderName } from '@contractspec/lib.ai-providers';
|
|
5
|
-
import type { WorkflowComposer } from '@contractspec/lib.workflow-composer';
|
|
6
3
|
import type { WorkflowSpec } from '@contractspec/lib.contracts-spec/workflow';
|
|
7
|
-
import type { ContractsContextConfig } from '../../core/contracts-context';
|
|
8
4
|
import type { ResolvedSurfacePlan } from '@contractspec/lib.surface-runtime/runtime/resolve-bundle';
|
|
9
5
|
import type { SurfacePatchProposal } from '@contractspec/lib.surface-runtime/spec/types';
|
|
10
|
-
import type {
|
|
6
|
+
import type { WorkflowComposer } from '@contractspec/lib.workflow-composer';
|
|
7
|
+
import type { ContractsContextConfig } from '../../core/contracts-context';
|
|
8
|
+
import type { ConversationStore } from '../../core/conversation-store';
|
|
9
|
+
import type { ChatAttachment, ChatConversation, ChatMessage } from '../../core/message-types';
|
|
10
|
+
import type { ThinkingLevel } from '../../core/thinking-levels';
|
|
11
11
|
/** Tool definition for planner integration (reserved for bundle spec 07_ai_native_chat). */
|
|
12
12
|
export interface UseChatToolDef {
|
|
13
13
|
name: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ChatConversation } from '../../core/message-types';
|
|
2
1
|
import type { ConversationStore } from '../../core/conversation-store';
|
|
2
|
+
import type { ChatConversation } from '../../core/message-types';
|
|
3
3
|
export interface UseConversationsOptions {
|
|
4
4
|
store: ConversationStore;
|
|
5
5
|
projectId?: string;
|