@agent-relay/dashboard 2.0.84 → 2.0.85

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 (66) hide show
  1. package/out/404.html +1 -1
  2. package/out/_next/static/chunks/{1028-da5d75e35d1420f1.js → 1028-53c5a7e2453505f8.js} +1 -1
  3. package/out/_next/static/chunks/{5118-7e8ada2df38eef07.js → 5118-de1c8f968feab8e2.js} +1 -1
  4. package/out/about.html +1 -1
  5. package/out/about.txt +1 -1
  6. package/out/app/onboarding.html +1 -1
  7. package/out/app/onboarding.txt +1 -1
  8. package/out/app.html +1 -1
  9. package/out/app.txt +2 -2
  10. package/out/blog/go-to-bed-wake-up-to-a-finished-product.html +1 -1
  11. package/out/blog/go-to-bed-wake-up-to-a-finished-product.txt +1 -1
  12. package/out/blog/let-them-cook-multi-agent-orchestration.html +1 -1
  13. package/out/blog/let-them-cook-multi-agent-orchestration.txt +1 -1
  14. package/out/blog.html +1 -1
  15. package/out/blog.txt +1 -1
  16. package/out/careers.html +1 -1
  17. package/out/careers.txt +1 -1
  18. package/out/changelog.html +1 -1
  19. package/out/changelog.txt +1 -1
  20. package/out/cloud/link.html +1 -1
  21. package/out/cloud/link.txt +2 -2
  22. package/out/complete-profile.html +1 -1
  23. package/out/complete-profile.txt +1 -1
  24. package/out/connect-repos.html +1 -1
  25. package/out/connect-repos.txt +1 -1
  26. package/out/contact.html +1 -1
  27. package/out/contact.txt +1 -1
  28. package/out/dev/cli-tools.html +1 -1
  29. package/out/dev/cli-tools.txt +2 -2
  30. package/out/dev/log-viewer.html +1 -1
  31. package/out/dev/log-viewer.txt +1 -1
  32. package/out/docs.html +1 -1
  33. package/out/docs.txt +1 -1
  34. package/out/history.html +1 -1
  35. package/out/history.txt +2 -2
  36. package/out/index.html +1 -1
  37. package/out/index.txt +2 -2
  38. package/out/login.html +1 -1
  39. package/out/login.txt +1 -1
  40. package/out/metrics.html +1 -1
  41. package/out/metrics.txt +2 -2
  42. package/out/pricing.html +1 -1
  43. package/out/pricing.txt +1 -1
  44. package/out/privacy.html +1 -1
  45. package/out/privacy.txt +1 -1
  46. package/out/providers/setup/claude.html +1 -1
  47. package/out/providers/setup/claude.txt +1 -1
  48. package/out/providers/setup/codex.html +1 -1
  49. package/out/providers/setup/codex.txt +1 -1
  50. package/out/providers/setup/cursor.html +1 -1
  51. package/out/providers/setup/cursor.txt +1 -1
  52. package/out/providers.html +1 -1
  53. package/out/providers.txt +1 -1
  54. package/out/security.html +1 -1
  55. package/out/security.txt +1 -1
  56. package/out/signup.html +1 -1
  57. package/out/signup.txt +1 -1
  58. package/out/terms.html +1 -1
  59. package/out/terms.txt +1 -1
  60. package/package.json +1 -1
  61. package/src/components/hooks/useMessages.ts +8 -5
  62. package/src/components/hooks/useThread.ts +4 -2
  63. package/src/components/hooks/useWebSocket.ts +1 -1
  64. package/src/lib/api.ts +4 -1
  65. /package/out/_next/static/{g3G0LMdB7lxcrU5mdM54m → 49XhcS8k_e8607S7KBMwA}/_buildManifest.js +0 -0
  66. /package/out/_next/static/{g3G0LMdB7lxcrU5mdM54m → 49XhcS8k_e8607S7KBMwA}/_ssgManifest.js +0 -0
package/src/lib/api.ts CHANGED
@@ -1102,11 +1102,14 @@ export const api = {
1102
1102
  async postReply(
1103
1103
  messageId: string,
1104
1104
  text: string,
1105
+ to?: string,
1105
1106
  ): Promise<ApiResponse<Message>> {
1106
1107
  try {
1108
+ const body: Record<string, string> = { text };
1109
+ if (to) body['to'] = to;
1107
1110
  const response = await apiFetch(
1108
1111
  getApiUrl(`/api/messages/${encodeURIComponent(messageId)}/replies`),
1109
- { method: 'POST', body: JSON.stringify({ text }) },
1112
+ { method: 'POST', body: JSON.stringify(body) },
1110
1113
  );
1111
1114
  const data = await response.json();
1112
1115
  if (response.ok) return { success: true, data: data.data ?? data };