@surf-kit/agent 0.2.0 → 0.2.2

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 (47) hide show
  1. package/LICENSE +184 -12
  2. package/README.md +1 -1
  3. package/dist/agent-identity/index.cjs +1 -0
  4. package/dist/agent-identity/index.cjs.map +1 -1
  5. package/dist/agent-identity/index.js +2 -0
  6. package/dist/agent-identity/index.js.map +1 -1
  7. package/dist/chat/index.cjs +1 -0
  8. package/dist/chat/index.cjs.map +1 -1
  9. package/dist/chat/index.js +2 -0
  10. package/dist/chat/index.js.map +1 -1
  11. package/dist/confidence/index.cjs +1 -0
  12. package/dist/confidence/index.cjs.map +1 -1
  13. package/dist/confidence/index.js +2 -0
  14. package/dist/confidence/index.js.map +1 -1
  15. package/dist/feedback/index.cjs +1 -0
  16. package/dist/feedback/index.cjs.map +1 -1
  17. package/dist/feedback/index.js +2 -0
  18. package/dist/feedback/index.js.map +1 -1
  19. package/dist/hooks.cjs +1 -0
  20. package/dist/hooks.cjs.map +1 -1
  21. package/dist/hooks.js +2 -0
  22. package/dist/hooks.js.map +1 -1
  23. package/dist/index.cjs +5 -4
  24. package/dist/index.cjs.map +1 -1
  25. package/dist/index.js +6 -4
  26. package/dist/index.js.map +1 -1
  27. package/dist/layouts/index.cjs +1 -0
  28. package/dist/layouts/index.cjs.map +1 -1
  29. package/dist/layouts/index.js +2 -0
  30. package/dist/layouts/index.js.map +1 -1
  31. package/dist/mcp/index.cjs +5 -4
  32. package/dist/mcp/index.cjs.map +1 -1
  33. package/dist/mcp/index.js +6 -4
  34. package/dist/mcp/index.js.map +1 -1
  35. package/dist/response/index.cjs +1 -0
  36. package/dist/response/index.cjs.map +1 -1
  37. package/dist/response/index.js +2 -0
  38. package/dist/response/index.js.map +1 -1
  39. package/dist/sources/index.cjs +1 -0
  40. package/dist/sources/index.cjs.map +1 -1
  41. package/dist/sources/index.js +2 -0
  42. package/dist/sources/index.js.map +1 -1
  43. package/dist/streaming/index.cjs +1 -0
  44. package/dist/streaming/index.cjs.map +1 -1
  45. package/dist/streaming/index.js +2 -0
  46. package/dist/streaming/index.js.map +1 -1
  47. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  // src/chat/AgentChat/AgentChat.tsx
2
4
  import { twMerge as twMerge8 } from "tailwind-merge";
3
5
 
@@ -2355,8 +2357,8 @@ var container = cva(
2355
2357
  {
2356
2358
  variants: {
2357
2359
  status: {
2358
- pending: "border-neutral-200 bg-neutral-50",
2359
- running: "border-sky-200 bg-sky-50",
2360
+ pending: "border-border bg-surface",
2361
+ running: "border-status-info-subtle bg-status-info-subtle/30",
2360
2362
  success: "border-status-success-subtle bg-status-success-subtle/30",
2361
2363
  error: "border-status-error-subtle bg-status-error-subtle/30"
2362
2364
  }
@@ -2446,7 +2448,7 @@ function MCPToolCall({ call, isExpanded = false, onToggleExpand, className }) {
2446
2448
  /* @__PURE__ */ jsx39(
2447
2449
  "pre",
2448
2450
  {
2449
- className: "text-xs font-mono text-text-primary bg-neutral-100 rounded p-2 overflow-x-auto whitespace-pre-wrap",
2451
+ className: "text-xs font-mono text-text-primary bg-surface-sunken rounded p-2 overflow-x-auto whitespace-pre-wrap",
2450
2452
  "data-testid": "mcp-tool-result",
2451
2453
  children: typeof call.result === "string" ? call.result : JSON.stringify(call.result, null, 2)
2452
2454
  }
@@ -2524,7 +2526,7 @@ function MCPResourceView({ resource, className }) {
2524
2526
  ) : isTextMime(mimeType) ? /* @__PURE__ */ jsx40(
2525
2527
  "pre",
2526
2528
  {
2527
- className: "text-xs font-mono text-text-primary bg-neutral-100 rounded p-2 overflow-x-auto whitespace-pre-wrap",
2529
+ className: "text-xs font-mono text-text-primary bg-surface-sunken rounded p-2 overflow-x-auto whitespace-pre-wrap",
2528
2530
  "data-testid": "mcp-resource-code",
2529
2531
  children: typeof content === "string" ? content : "[Binary data]"
2530
2532
  }