feat(mindspace): add page quota grace write and local delivery guardrails.
Memind CI / Test, build, and release guards (pull_request) Failing after 18s

Centralize page HTML quota checks with grace-write semantics across page
services and workspace tools, keep localhost MindSpace links clickable in
chat display, and expand Page Data/static-page skill plus local dev docs
for quota, delivery URLs, and native Aider/OpenHands tooling.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-07-30 10:27:16 +08:00
parent b553107817
commit 371900bae5
18 changed files with 503 additions and 39 deletions
+10
View File
@@ -80,3 +80,13 @@ test('deriveAssistantFacingText keeps user-facing replies with public links', ()
'页面已生成:[AI 机器人研究报告 2026](https://m.tkmind.cn/MindSpace/john/public/ai-robot-report.html)';
assert.equal(deriveAssistantFacingText(external), external);
});
test('deriveAssistantFacingText keeps local MindSpace deliverable links clickable', () => {
const localMarkdown =
'日记本就绪:[打开日记本](http://127.0.0.1:8081/MindSpace/32035858-9a20-425b-89da-c118ef0779aa/public/diary.html)';
assert.equal(deriveAssistantFacingText(localMarkdown), localMarkdown);
const localBare =
'本地预览:http://127.0.0.1:5173/MindSpace/john/public/survey.html';
assert.equal(deriveAssistantFacingText(localBare), localBare);
});