@surf-kit/agent 0.2.2 → 0.4.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 (51) hide show
  1. package/dist/chat/index.cjs +733 -222
  2. package/dist/chat/index.cjs.map +1 -1
  3. package/dist/chat/index.d.cts +13 -7
  4. package/dist/chat/index.d.ts +13 -7
  5. package/dist/chat/index.js +715 -204
  6. package/dist/chat/index.js.map +1 -1
  7. package/dist/{chat-ChYl2XjV.d.cts → chat-BRY3xGg_.d.cts} +11 -2
  8. package/dist/{chat--OifhIRe.d.ts → chat-CcKc6OAR.d.ts} +11 -2
  9. package/dist/{hooks-BGs8-4GK.d.ts → hooks-BLeiVk-x.d.ts} +22 -5
  10. package/dist/{hooks-DLfF18IU.d.cts → hooks-CSGGLd7j.d.cts} +22 -5
  11. package/dist/hooks.cjs +160 -85
  12. package/dist/hooks.cjs.map +1 -1
  13. package/dist/hooks.d.cts +3 -3
  14. package/dist/hooks.d.ts +3 -3
  15. package/dist/hooks.js +160 -85
  16. package/dist/hooks.js.map +1 -1
  17. package/dist/index.cjs +794 -283
  18. package/dist/index.cjs.map +1 -1
  19. package/dist/index.d.cts +3 -3
  20. package/dist/index.d.ts +3 -3
  21. package/dist/index.js +758 -247
  22. package/dist/index.js.map +1 -1
  23. package/dist/layouts/index.cjs +754 -243
  24. package/dist/layouts/index.cjs.map +1 -1
  25. package/dist/layouts/index.d.cts +1 -1
  26. package/dist/layouts/index.d.ts +1 -1
  27. package/dist/layouts/index.js +733 -222
  28. package/dist/layouts/index.js.map +1 -1
  29. package/dist/mcp/index.cjs +1 -1
  30. package/dist/mcp/index.cjs.map +1 -1
  31. package/dist/mcp/index.js +2 -2
  32. package/dist/mcp/index.js.map +1 -1
  33. package/dist/response/index.cjs +100 -15
  34. package/dist/response/index.cjs.map +1 -1
  35. package/dist/response/index.d.cts +2 -2
  36. package/dist/response/index.d.ts +2 -2
  37. package/dist/response/index.js +99 -14
  38. package/dist/response/index.js.map +1 -1
  39. package/dist/sources/index.cjs +30 -1
  40. package/dist/sources/index.cjs.map +1 -1
  41. package/dist/sources/index.js +30 -1
  42. package/dist/sources/index.js.map +1 -1
  43. package/dist/streaming/index.cjs +213 -93
  44. package/dist/streaming/index.cjs.map +1 -1
  45. package/dist/streaming/index.d.cts +4 -3
  46. package/dist/streaming/index.d.ts +4 -3
  47. package/dist/streaming/index.js +183 -73
  48. package/dist/streaming/index.js.map +1 -1
  49. package/dist/{streaming-DfT22A0z.d.cts → streaming-BHPXnwwo.d.cts} +3 -1
  50. package/dist/{streaming-DbQxScpi.d.ts → streaming-C6mbU7My.d.ts} +3 -1
  51. package/package.json +17 -5
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { A as AgentInfo, a as AgentResponse, C as ConfidenceBreakdown, S as Source, V as VerificationResult } from './agent-BNSmiexZ.cjs';
2
- export { C as ChatError, a as ChatMessage, b as ConversationSummary } from './chat-ChYl2XjV.cjs';
3
- export { S as StreamEvent, a as StreamState } from './streaming-DfT22A0z.cjs';
4
- export { A as AgentChatActions, a as AgentChatConfig, b as AgentChatState, c as AgentThemeResult, C as CharacterDrainResult, d as Conversation, F as FeedbackPayload, e as FeedbackState, U as UseConversationOptions, f as UseFeedbackOptions, g as UseStreamingOptions } from './hooks-DLfF18IU.cjs';
2
+ export { C as ChatError, a as ChatMessage, b as ConversationSummary } from './chat-BRY3xGg_.cjs';
3
+ export { S as StreamEvent, a as StreamState } from './streaming-BHPXnwwo.cjs';
4
+ export { A as AgentChatActions, a as AgentChatConfig, b as AgentChatState, c as AgentThemeResult, C as CharacterDrainResult, d as Conversation, F as FeedbackPayload, e as FeedbackState, U as UseConversationOptions, f as UseFeedbackOptions, g as UseStreamingOptions } from './hooks-CSGGLd7j.cjs';
5
5
  export { M as MCPApprovalDialog, a as MCPApprovalDialogProps, b as MCPResource, c as MCPResourceView, d as MCPResourceViewProps, e as MCPServerInfo, f as MCPServerStatus, g as MCPServerStatusProps, h as MCPToolCall, i as MCPToolCallData, j as MCPToolCallProps, k as MCPToolStatus } from './index-BazLnae1.cjs';
6
6
  export { AgentChat, AgentChatProps, ConversationList, ConversationListProps, MessageBubble, MessageBubbleProps, MessageComposer, MessageComposerProps, MessageThread, MessageThreadProps, WelcomeScreen, WelcomeScreenProps } from './chat/index.cjs';
7
7
  export { AgentResponseProps, AgentResponse as AgentResponseView, ErrorResponse, ErrorResponseProps, FollowUpChips, FollowUpChipsProps, ResponseMessage, ResponseMessageProps, StructuredResponse, StructuredResponseProps } from './response/index.cjs';
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { A as AgentInfo, a as AgentResponse, C as ConfidenceBreakdown, S as Source, V as VerificationResult } from './agent-BNSmiexZ.js';
2
- export { C as ChatError, a as ChatMessage, b as ConversationSummary } from './chat--OifhIRe.js';
3
- export { S as StreamEvent, a as StreamState } from './streaming-DbQxScpi.js';
4
- export { A as AgentChatActions, a as AgentChatConfig, b as AgentChatState, c as AgentThemeResult, C as CharacterDrainResult, d as Conversation, F as FeedbackPayload, e as FeedbackState, U as UseConversationOptions, f as UseFeedbackOptions, g as UseStreamingOptions } from './hooks-BGs8-4GK.js';
2
+ export { C as ChatError, a as ChatMessage, b as ConversationSummary } from './chat-CcKc6OAR.js';
3
+ export { S as StreamEvent, a as StreamState } from './streaming-C6mbU7My.js';
4
+ export { A as AgentChatActions, a as AgentChatConfig, b as AgentChatState, c as AgentThemeResult, C as CharacterDrainResult, d as Conversation, F as FeedbackPayload, e as FeedbackState, U as UseConversationOptions, f as UseFeedbackOptions, g as UseStreamingOptions } from './hooks-BLeiVk-x.js';
5
5
  export { M as MCPApprovalDialog, a as MCPApprovalDialogProps, b as MCPResource, c as MCPResourceView, d as MCPResourceViewProps, e as MCPServerInfo, f as MCPServerStatus, g as MCPServerStatusProps, h as MCPToolCall, i as MCPToolCallData, j as MCPToolCallProps, k as MCPToolStatus } from './index-BazLnae1.js';
6
6
  export { AgentChat, AgentChatProps, ConversationList, ConversationListProps, MessageBubble, MessageBubbleProps, MessageComposer, MessageComposerProps, MessageThread, MessageThreadProps, WelcomeScreen, WelcomeScreenProps } from './chat/index.js';
7
7
  export { AgentResponseProps, AgentResponse as AgentResponseView, ErrorResponse, ErrorResponseProps, FollowUpChips, FollowUpChipsProps, ResponseMessage, ResponseMessageProps, StructuredResponse, StructuredResponseProps } from './response/index.js';