@surf-kit/agent 0.2.2 → 0.3.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 +625 -204
  2. package/dist/chat/index.cjs.map +1 -1
  3. package/dist/chat/index.d.cts +11 -6
  4. package/dist/chat/index.d.ts +11 -6
  5. package/dist/chat/index.js +606 -185
  6. package/dist/chat/index.js.map +1 -1
  7. package/dist/{chat--OifhIRe.d.ts → chat-BIIDOGrD.d.ts} +10 -1
  8. package/dist/{chat-ChYl2XjV.d.cts → chat-CGamM7Mz.d.cts} +10 -1
  9. package/dist/{hooks-DLfF18IU.d.cts → hooks-B1NYoLLs.d.cts} +21 -5
  10. package/dist/{hooks-BGs8-4GK.d.ts → hooks-CTeEqnBQ.d.ts} +21 -5
  11. package/dist/hooks.cjs +126 -81
  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 +126 -81
  16. package/dist/hooks.js.map +1 -1
  17. package/dist/index.cjs +686 -265
  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 +645 -224
  22. package/dist/index.js.map +1 -1
  23. package/dist/layouts/index.cjs +646 -225
  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 +622 -201
  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 +66 -12
  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 +64 -10
  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 +202 -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 +172 -73
  48. package/dist/streaming/index.js.map +1 -1
  49. package/dist/{streaming-DbQxScpi.d.ts → streaming-Bx-ff2tt.d.ts} +1 -1
  50. package/dist/{streaming-DfT22A0z.d.cts → streaming-x7umFHoP.d.cts} +1 -1
  51. package/package.json +15 -4
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-CGamM7Mz.cjs';
3
+ export { S as StreamEvent, a as StreamState } from './streaming-x7umFHoP.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-B1NYoLLs.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-BIIDOGrD.js';
3
+ export { S as StreamEvent, a as StreamState } from './streaming-Bx-ff2tt.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-CTeEqnBQ.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';