@agent-relay/dashboard 2.0.84 → 2.0.86
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.
- package/out/404.html +1 -1
- package/out/_next/static/chunks/{1028-da5d75e35d1420f1.js → 1028-53c5a7e2453505f8.js} +1 -1
- package/out/_next/static/chunks/{5118-7e8ada2df38eef07.js → 5118-de1c8f968feab8e2.js} +1 -1
- package/out/about.html +1 -1
- package/out/about.txt +1 -1
- package/out/app/onboarding.html +1 -1
- package/out/app/onboarding.txt +1 -1
- package/out/app.html +1 -1
- package/out/app.txt +2 -2
- package/out/blog/go-to-bed-wake-up-to-a-finished-product.html +1 -1
- package/out/blog/go-to-bed-wake-up-to-a-finished-product.txt +1 -1
- package/out/blog/let-them-cook-multi-agent-orchestration.html +1 -1
- package/out/blog/let-them-cook-multi-agent-orchestration.txt +1 -1
- package/out/blog.html +1 -1
- package/out/blog.txt +1 -1
- package/out/careers.html +1 -1
- package/out/careers.txt +1 -1
- package/out/changelog.html +1 -1
- package/out/changelog.txt +1 -1
- package/out/cloud/link.html +1 -1
- package/out/cloud/link.txt +2 -2
- package/out/complete-profile.html +1 -1
- package/out/complete-profile.txt +1 -1
- package/out/connect-repos.html +1 -1
- package/out/connect-repos.txt +1 -1
- package/out/contact.html +1 -1
- package/out/contact.txt +1 -1
- package/out/dev/cli-tools.html +1 -1
- package/out/dev/cli-tools.txt +2 -2
- package/out/dev/log-viewer.html +1 -1
- package/out/dev/log-viewer.txt +1 -1
- package/out/docs.html +1 -1
- package/out/docs.txt +1 -1
- package/out/history.html +1 -1
- package/out/history.txt +2 -2
- package/out/index.html +1 -1
- package/out/index.txt +2 -2
- package/out/login.html +1 -1
- package/out/login.txt +1 -1
- package/out/metrics.html +1 -1
- package/out/metrics.txt +2 -2
- package/out/pricing.html +1 -1
- package/out/pricing.txt +1 -1
- package/out/privacy.html +1 -1
- package/out/privacy.txt +1 -1
- package/out/providers/setup/claude.html +1 -1
- package/out/providers/setup/claude.txt +1 -1
- package/out/providers/setup/codex.html +1 -1
- package/out/providers/setup/codex.txt +1 -1
- package/out/providers/setup/cursor.html +1 -1
- package/out/providers/setup/cursor.txt +1 -1
- package/out/providers.html +1 -1
- package/out/providers.txt +1 -1
- package/out/security.html +1 -1
- package/out/security.txt +1 -1
- package/out/signup.html +1 -1
- package/out/signup.txt +1 -1
- package/out/terms.html +1 -1
- package/out/terms.txt +1 -1
- package/package.json +1 -1
- package/src/components/hooks/useMessages.ts +8 -5
- package/src/components/hooks/useThread.ts +4 -2
- package/src/components/hooks/useWebSocket.ts +1 -1
- package/src/lib/api.ts +4 -1
- /package/out/_next/static/{g3G0LMdB7lxcrU5mdM54m → 2BWmI-66Pm2lpI_cbat7z}/_buildManifest.js +0 -0
- /package/out/_next/static/{g3G0LMdB7lxcrU5mdM54m → 2BWmI-66Pm2lpI_cbat7z}/_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(
|
|
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 };
|
|
File without changes
|
|
File without changes
|