@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
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* AI SDK tools for workflow creation via chat.
|
|
3
3
|
* Leverages @contractspec/lib.workflow-composer for validation and composition.
|
|
4
4
|
*/
|
|
5
|
-
import { type ToolSet } from 'ai';
|
|
6
5
|
import type { WorkflowSpec } from '@contractspec/lib.contracts-spec/workflow';
|
|
7
6
|
import { WorkflowComposer } from '@contractspec/lib.workflow-composer';
|
|
7
|
+
import { type ToolSet } from 'ai';
|
|
8
8
|
export interface WorkflowToolsConfig {
|
|
9
9
|
/** Base workflows keyed by meta.key for compose and validate */
|
|
10
10
|
baseWorkflows: WorkflowSpec[];
|
package/dist/index.d.ts
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
* ContractSpec Vibe Coding Chat - AI-powered conversational coding assistant.
|
|
5
5
|
*/
|
|
6
6
|
export { AiChatFeature } from './ai-chat.feature';
|
|
7
|
+
export { type CreateAiSdkBundleAdapterDeps, createAiSdkBundleAdapter, } from './adapters';
|
|
8
|
+
export * from './ai-chat.feature';
|
|
9
|
+
export * from './ai-chat.operations';
|
|
10
|
+
export * from './context';
|
|
11
|
+
export { type ChatAgentAdapter, createChatAgentAdapter, } from './core/agent-adapter';
|
|
12
|
+
export * from './events';
|
|
7
13
|
export * from './presentation';
|
|
14
|
+
export { ChatContainer, ChatExportToolbar, ChatInput, ChatMessage as ChatMessageComponent, ChatSidebar, ChatWithExport, ChatWithSidebar, ThinkingLevelPicker, } from './presentation/components';
|
|
15
|
+
export { useChat, useConversations, useMessageSelection, useProviders, } from './presentation/hooks';
|
|
8
16
|
export * from './providers';
|
|
9
|
-
export * from './context';
|
|
10
17
|
export * from './schema';
|
|
11
|
-
export * from './ai-chat.operations';
|
|
12
|
-
export * from './events';
|
|
13
|
-
export * from './ai-chat.feature';
|
|
14
|
-
export { ChatContainer, ChatMessage as ChatMessageComponent, ChatInput, ChatExportToolbar, ChatWithExport, ChatSidebar, ChatWithSidebar, ThinkingLevelPicker, } from './presentation/components';
|
|
15
|
-
export { useChat, useProviders, useMessageSelection, useConversations, } from './presentation/hooks';
|
|
16
|
-
export { createAiSdkBundleAdapter, type CreateAiSdkBundleAdapterDeps, } from './adapters';
|
|
17
|
-
export { createChatAgentAdapter, type ChatAgentAdapter, } from './core/agent-adapter';
|