agentic-ui-kit 0.5.1 → 0.7.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 (33) hide show
  1. package/dist/core.js +2 -2
  2. package/dist/index.js +918 -120
  3. package/dist/{src-Ce7xTfGU.js → src-D01l3nBc.js} +1 -1
  4. package/dist/styles.css +1 -1
  5. package/dist/tailwind.css +44 -1
  6. package/dist/types/core/src/events.d.ts +2 -0
  7. package/dist/types/core/src/visualize.d.ts +1 -1
  8. package/dist/types/react/src/components/attachments.d.ts +4 -1
  9. package/dist/types/react/src/components/chat-list.d.ts +4 -0
  10. package/dist/types/react/src/components/composer.d.ts +7 -1
  11. package/dist/types/react/src/components/context-meter.d.ts +24 -0
  12. package/dist/types/react/src/components/context-panel.d.ts +5 -0
  13. package/dist/types/react/src/components/copy-field.d.ts +15 -0
  14. package/dist/types/react/src/components/dictation.d.ts +73 -0
  15. package/dist/types/react/src/components/effort-slider.d.ts +1 -1
  16. package/dist/types/react/src/components/markdown.d.ts +19 -2
  17. package/dist/types/react/src/components/model-picker.d.ts +6 -1
  18. package/dist/types/react/src/components/tools.d.ts +7 -2
  19. package/dist/types/react/src/hooks/sidebar-state.d.ts +6 -0
  20. package/dist/types/react/src/hooks/sse-transport.d.ts +7 -1
  21. package/dist/types/react/src/hooks/use-chat.d.ts +14 -1
  22. package/dist/types/react/src/index.d.ts +11 -5
  23. package/dist/types/react/src/primitives/button.d.ts +11 -3
  24. package/dist/types/react/src/primitives/cx.d.ts +3 -0
  25. package/dist/types/react/src/primitives/icons.d.ts +6 -0
  26. package/dist/types/react/src/primitives/labels.d.ts +28 -0
  27. package/dist/types/react/src/primitives/menu.d.ts +23 -5
  28. package/dist/types/react/src/primitives/overlay.d.ts +13 -1
  29. package/dist/types/react/src/primitives/segmented-control.d.ts +30 -5
  30. package/dist/types/react/src/views/app-shell.d.ts +31 -3
  31. package/dist/types/react/src/views/chat-view.d.ts +6 -2
  32. package/dist/types/react/src/views/sidebar.d.ts +31 -5
  33. package/package.json +3 -2
package/dist/core.js CHANGED
@@ -1,7 +1,7 @@
1
- import { A as awaitingToolCalls, C as widgetLoaderMessages, D as toBlocks, E as isActivityPart, F as settleToolCall, I as parsePartialJson, L as salvageJson, M as outputTokens, N as reduceEvents, O as activityTokens, P as resolveEffort, S as widgetFrameLoader, T as readEventStream, _ as replacedId, a as readUiValue, b as resolveReplaces, c as uiMarkupGuide, d as isStateRef, f as matchesSchema, g as uiActionSchema, h as schemaErrors, i as parseUiMarkup, j as estimateTokens, k as applyEvent, l as uiMarkupLanguage, m as renderUiToolName, n as checkUiMarkupCode, o as showUiTool, p as renderUiTool, r as findUiBlocks, s as showUiToolName, t as checkUiMarkup, u as checkUiTree, v as replacesGuide, w as formatEvent, x as withCallId, y as replacesProperty } from "./src-Ce7xTfGU.js";
1
+ import { A as awaitingToolCalls, C as widgetLoaderMessages, D as toBlocks, E as isActivityPart, F as settleToolCall, I as parsePartialJson, L as salvageJson, M as outputTokens, N as reduceEvents, O as activityTokens, P as resolveEffort, S as widgetFrameLoader, T as readEventStream, _ as replacedId, a as readUiValue, b as resolveReplaces, c as uiMarkupGuide, d as isStateRef, f as matchesSchema, g as uiActionSchema, h as schemaErrors, i as parseUiMarkup, j as estimateTokens, k as applyEvent, l as uiMarkupLanguage, m as renderUiToolName, n as checkUiMarkupCode, o as showUiTool, p as renderUiTool, r as findUiBlocks, s as showUiToolName, t as checkUiMarkup, u as checkUiTree, v as replacesGuide, w as formatEvent, x as withCallId, y as replacesProperty } from "./src-D01l3nBc.js";
2
2
  // ../core/src/visualize.ts
3
3
  /**
4
- * The visualize preset: a tool the model calls to draw an interactive visual inline (like claude.ai's
4
+ * The visualize preset: a tool the model calls to draw an interactive visual inline (similar to claude.ai's
5
5
  * visualize tool), and the design guide to put in the system prompt. The kit's `show_widget` tool view feeds
6
6
  * the streaming `widget_code` into a sandboxed WidgetFrame. The backend runs the tool as a no-op ("shown").
7
7
  */