feat(chat): Plaza 一键发布 + publication RPC 错误映射 #5

Merged
tkmind merged 3 commits from feature/rpc-publication-errors into main 2026-07-05 12:01:44 +00:00

3 Commits

Author SHA1 Message Date
john 8755928405 fix(mindspace): expose findPageBySourceMessage on remote pageService adapter.
Quick Plaza publish resolves existing chat pages by session/message id; production remote adapter rejected the RPC because the binding contract omitted this method.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-05 19:58:42 +08:00
john 3318c04490 feat(chat): add one-click Plaza publish for HTML page messages.
Speed up the quick-plaza path with session snapshot reads, publish timeouts, and a modal fix so parent re-renders no longer abort in-flight requests.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-05 19:58:39 +08:00
john 53eb0014ba fix(mindspace): map publication RPC errors to HTTP status codes
Return 404/401/403 from MindSpace RPC for known publication errors and
preserve error codes through the Portal remote adapter.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-05 19:44:58 +08:00