Skip to content

DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.

chore: remove development artifacts and obsolete preview

Bingxi Zhao (Frank)9189c08501d2
diff --git a/.dockerignore b/.dockerignore
index e1332fbd7..dcc732fbc 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -118,6 +118,8 @@ run_code_workspace/
# Development and Testing
# ============================================
develop/
+artifacts/
+.github/tdd/
.claude/
.agents/
.playwright-cli/
diff --git a/.github/tdd/mastery-group-delivery-resume.md b/.github/tdd/mastery-group-delivery-resume.md
deleted file mode 100644
index 6dde080cb..000000000
--- a/.github/tdd/mastery-group-delivery-resume.md
+++ /dev/null
@@ -1,50 +0,0 @@
-# Grouped-card delivery and exact pending-card resume
-
-## Reproduction
-
-The finish guard recognized `1. A question?` but allowed `### 1. Topic`
-followed by a question in the next paragraph. A reply could solicit several
-answers without calling mastery_quiz. Existing pending cards also lacked a
-direct re-presentation action, encouraging reconstruction in prose.
-
-Tests use generic synthetic topics and isolated stores. No private learner
-transcript, external provider inference or live learning-state edit is included.
-
-## RED / GREEN
-
-RED checkpoint 7e16a93a: 10 intended failures, 11 passes on the clean contribution.
-The root integration additionally reproduced the original captured shape before
-the fix, without exporting its content.
-
-GREEN on the clean contribution: 131 focused tests in 18.53s (21 delivery,
-31 grouped interaction, 79 existing capability neighbors). Separate root
-source-integrated scope: 137 passed in 25.89s. Counts overlap and are not
-coverage percentages or a global-suite assertion.
-
-One actual MessageList DOM test passed in clean and root worktrees: resumed
-card and cumulative partial-grade receipt in one new message restore the saved
-answer/graded lock with older history absent, keep the remaining item editable,
-submit only that item and filter private extra fields. Existing frontend
-behavior is reused; no new production UI surface is added.
-
-## Invariants and review
-
-- Exact current parent ID and eligible status are checked inside register_question.
-- Historical/stale/answered/terminal IDs and fresh-contract/resume conflicts reject.
-- Existing replies, results, question identity and credit are preserved.
-- Committed but ungraded answers require grading first; no invented UI verdict.
-- Stored partial results replay through a public-field allowlist, not private keys.
-- Explicit assessment intent plus multiple question-bearing numbered blocks
- triggers correction; ordinary explanations and quoted/code examples do not.
-- The same existing card builder, delivery callback and tool metadata are used.
-
-Independent state/security review found no blocking issue. The separate local
-preparation bridge validates remaining saved source snapshots; that bridge is
-not copied into this native contribution.
-
-## Limits
-
-The textual guard is defense in depth, not universal semantic intent detection.
-This fixes registered delivery/resumption, not question selection from a requested
-reference bank, semantic answer grading, or all model teaching decisions.
-No live-model benchmark, full coverage or billing-savings claim is made.
diff --git a/.github/tdd/mastery-memory-route.md b/.github/tdd/mastery-memory-route.md
deleted file mode 100644
index cff61a1c6..000000000
--- a/.github/tdd/mastery-memory-route.md
+++ /dev/null
@@ -1,35 +0,0 @@
-# Mastery memory: routed image-budget compatibility
-
-## Intent and reuse
-
-Derived from the integration feedback on #1910: keep the memory contribution
-compatible with the native route-aware ContextBuilder without duplicating the
-image projection or making this PR import an unavailable future helper.
-
-The existing replay_history, project_mastery_replay, deduplicate_user_images
-and token accounting functions remain the owners. Stored rows, actual replay,
-archive IDs, score/state ownership and memory validation are unchanged.
-
-## RED / GREEN checkpoints
-
-- 62bae08a: new executed tests reproduce the missing optional route argument
- and final image count disagreeing with effective request projection.
- RED in the clean contribution and extended integration: 4 failed, 1 passed.
-- 539bd80f: accept/forward optional route and count the final deduplicated
- Mastery view without changing model_history. GREEN: 20 focused tests in
- the clean contribution; the extended integration's memory scope passed 22.
-
-The new regression file covers omitted/same/changed routes, route-specific
-reasoning replay, non-mutation of records, and duplicate-image final accounting
-without a new summary call or summary-watermark write.
-
-## Scope and limits
-
-No provider inference, live learner database mutation, migration or new
-dependency. Budget figures are planning estimates, not billing or subscription
-usage measurements. The broader memory contribution remains draft pending
-representative teaching-preservation/model evaluation. Route compatibility
-does not prove every semantic detail survives summarization.
-
-#1910 owns the separate generic projected-image guard and optimized recent
-history selection; this PR is not a competing implementation of those changes.
diff --git a/.github/tdd/mastery-teaching-delivery.md b/.github/tdd/mastery-teaching-delivery.md
deleted file mode 100644
index b163f67a5..000000000
--- a/.github/tdd/mastery-teaching-delivery.md
+++ /dev/null
@@ -1,60 +0,0 @@
-# Teaching-delivery provenance: focused TDD evidence
-
-## Intent
-
-An explanation record must refer to assistant text already published in its
-runtime path, session and turn. A model's plan, private sources or reasoning
-must not stand in for delivered teaching. A short explanation does not prove
-that every part of a composite objective was taught or understood.
-
-The task was planned from the existing Mastery runtime and storage contracts.
-It introduces no database migration, extra model call or mastery-credit rule.
-
-## RED and GREEN
-
-Before implementation, running
-`python -m pytest tests/capabilities/test_mastery_teaching_delivery.py -q --tb=short`
-on the native v1.6.14 baseline executed the tests and produced **15 failed,
-1 passed**. In particular, the existing tool successfully persisted a note
-describing an explanation that had not yet been published.
-
-After implementation, running
-`python -m pytest tests/capabilities/test_mastery_teaching_delivery.py deeptutor/learning/tests/test_visual_learning_workflow.py tests/capabilities/test_mastery_loop_pipeline.py -q --tb=short`
-produced **38 passed in 9.37s** in an isolated contribution worktree after
-the independent visibility review. The added delivery suite has 18 cases
-(13 test functions with parametrization).
-
-The review found that optimistically streamed text can later be retracted by
-the native loop. Two additional regression cases initially failed before
-the snapshot was corrected. The final suite exercises the actual
-`AgentLoop._discard_deferred_output` correction and rejects that prose as
-teaching evidence, while preserving unrelated visible content.
-
-The tests use temporary learning stores and emitted stream events; no real
-learner path or inference provider is used.
-
-## Guarantees
-
-| Behavior | Proof |
-| --- | --- |
-| A future explanation cannot be recorded | The rejected call leaves isolated durable state unchanged |
-| Public fragments can supply a contiguous exact excerpt | A successful note survives store reload with event-range and turn provenance |
-| Thinking, tool results, sources and observations do not count | Each event type is independently rejected |
-| Another source, stage, path, session or turn cannot supply evidence | Scoped rejection tests preserve the explanation state |
-| Model-supplied private delivery arguments are overwritten | Capability and native-dispatch tests exercise server injection |
-| Retracted optimistic prose cannot authorize teaching records | Actual loop-retraction and matching-call visibility tests |
-| Snapshots do not expose mutable events or acquire future output | Snapshot-copy test |
-| A delivered slice is not whole-objective completion | Partial stage and unchanged mastery/evidence assertions |
-| Legacy self-reports are not retroactively certified | Legacy stage test |
-| Source-based practice and assistance still work | Existing visual-learning workflow tests |
-
-## Limits
-
-This proves publication and bounded provenance, not whether the learner read
-the text, understood it, or whether its semantic content fully teaches the
-named objective. Such interpretation remains the tutor's responsibility.
-
-Retrospective notes from an earlier turn are not supported without trusted
-delivery references. Legacy notes are preserved without changing assessment
-scores. Full-model evaluation, live UI testing and a global coverage run were
-not performed for this narrowly scoped correction.
diff --git a/.gitignore b/.gitignore
index 2bffb78d3..7a3b087c0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,6 +11,9 @@ data/
# Local development documents; public guides live in docs-for-user/.
/docs/
/design-qa.md
+# Local development screenshots, acceptance snapshots, and task reports.
+/artifacts/
+/.github/tdd/
/site/
.claude
.agents/
diff --git a/artifacts/dito-preview/dt-exp-home.png b/artifacts/dito-preview/dt-exp-home.png
deleted file mode 100644
index cf461f2f4..000000000
Binary files a/artifacts/dito-preview/dt-exp-home.png and /dev/null differ
diff --git a/artifacts/dito-preview/dt-exp-learning-navigation.png b/artifacts/dito-preview/dt-exp-learning-navigation.png
deleted file mode 100644
index 39be04b08..000000000
Binary files a/artifacts/dito-preview/dt-exp-learning-navigation.png and /dev/null differ
diff --git a/artifacts/dito-preview/dt-exp-light-home.png b/artifacts/dito-preview/dt-exp-light-home.png
deleted file mode 100644
index 7fec59663..000000000
Binary files a/artifacts/dito-preview/dt-exp-light-home.png and /dev/null differ
diff --git a/artifacts/dito-preview/dt-exp-light-learning.png b/artifacts/dito-preview/dt-exp-light-learning.png
deleted file mode 100644
index 20fabee54..000000000
Binary files a/artifacts/dito-preview/dt-exp-light-learning.png and /dev/null differ
diff --git a/artifacts/dito-preview/dt-exp-page-chrome-home.png b/artifacts/dito-preview/dt-exp-page-chrome-home.png
deleted file mode 100644
index 74f9ff23f..000000000
Binary files a/artifacts/dito-preview/dt-exp-page-chrome-home.png and /dev/null differ
diff --git a/artifacts/dito-preview/dt-exp-page-chrome-learning.png b/artifacts/dito-preview/dt-exp-page-chrome-learning.png
deleted file mode 100644
index 5518388dc..000000000
Binary files a/artifacts/dito-preview/dt-exp-page-chrome-learning.png and /dev/null differ
diff --git a/artifacts/dito-preview/dt-exp-page-chrome-writer.png b/artifacts/dito-preview/dt-exp-page-chrome-writer.png
deleted file mode 100644
index d3bb44ff2..000000000
Binary files a/artifacts/dito-preview/dt-exp-page-chrome-writer.png and /dev/null differ
diff --git a/artifacts/dito-preview/dt-exp-partner-navigation.png b/artifacts/dito-preview/dt-exp-partner-navigation.png
deleted file mode 100644
index 59fc42f33..000000000
Binary files a/artifacts/dito-preview/dt-exp-partner-navigation.png and /dev/null differ
diff --git a/artifacts/dito-preview/dt-exp-partners.png b/artifacts/dito-preview/dt-exp-partners.png
deleted file mode 100644
index 1f3be095c..000000000
Binary files a/artifacts/dito-preview/dt-exp-partners.png and /dev/null differ
diff --git a/artifacts/dito-preview/dt-exp-practice.png b/artifacts/dito-preview/dt-exp-practice.png
deleted file mode 100644
index 3fa9e0104..000000000
Binary files a/artifacts/dito-preview/dt-exp-practice.png and /dev/null differ
diff --git a/artifacts/dito-preview/dt-exp-qa.md b/artifacts/dito-preview/dt-exp-qa.md
deleted file mode 100644
index de420480c..000000000
--- a/artifacts/dito-preview/dt-exp-qa.md
+++ /dev/null
@@ -1,85 +0,0 @@
-# dt-exp integration verification
-
-Desktop application integration, 2026-10-12.
-
-## Baseline and scope
-
-`dt-exp` starts from latest local `dev`, `3cbecb247`. Its tree was verified byte-for-byte equal to the earlier local-dev snapshot `172a4d49b`; the feature commit was replayed onto the actual dev commit. Work continues in `/Users/frank/HKUDS/DeepTutor`.
-
-The production app uses its existing pages, stores, settings and agent engine. Four sidebar categories group Home, Partners, Learning and Resources. Category switches preserve the working page. Learning creation opens the original feature flows. The former `/preview` remains a separate prototype reference with isolated fixtures; production routes do not use its transport.
-
-## Data compatibility
-
-- No storage-schema migration, record-ID rewrite, directory relocation, or destructive data conversion was introduced by the navigation change.
-- Learning navigation reads each existing workspace and preserves its origin on every link. Duplicate book/question IDs in separate workspaces remain separate records.
-- Practice navigation reads compact question metadata through the existing recycle predicate; answers, attempt state and attachments remain in their original store.
-- Partner and group navigation uses existing visibility and actor-scoped session stores. Archived transcripts remain available in original history pages.
-- Session selection uses the existing continuity API; explicit manual changes update the URL so refresh resumes the selected session.
-- Learning-account restrictions remain enforced. The additive aggregate GET filters each allowed source before reading it; other dashboard operations stay gated.
-- Original settings, history organization, rename/pin/archive operations, workspaces, reading state and feature detail views remain available.
-
-## Runtime separation
-
-Preview: `http://127.0.0.1:4180/chat`; API: `http://127.0.0.1:8016`.
-All browser verification used `DEEPTUTOR_HOME=/tmp/deeptutor-dt-exp-runtime`, separate from normal user data. Test records are named with 验证. No credentials or user library were copied into this runtime. It has no configured LLM, so live generation/provider behavior was not exercised.
-
-## Browser verification
-
-Verified against a production build, with desktop layouts at 1280 and 1440 CSS pixels:
-
-- Four-category switching preserves open work; real category lists load from the API.
-- Original Settings sections remain complete; switching the isolated UI language to Chinese and applying changes succeeds.
-- Resources retains history, notebooks, journal, questions, knowledge bases, personas, skills, MCP, CLI apps and memory.
-- A reading collection created in the UI persists and can be reopened from Learning after reload.
-- Existing practice record opens the original exercise UI; submitting its correct answer shows the original grading result.
-- Books and Mastery creation open the original configuration/source-selection workflows.
-- Partner navigation opens an existing JSONL transcript with its original body. Configure remains complete.
-- Group session deep links select the exact stored discussion and load its history.
-- Task Board creates a real card and persists its move into Doing.
-- Co-Writer creates a real draft, edits Markdown, updates the preview, and reports saved state.
-- Dito defaults to Auto while retaining the original manual capability menu.
-
-Evidence: `dt-exp-practice.png`, `dt-exp-partners.png`, `dt-exp-writer.png` and `dt-exp-home.png` in this directory. Older JPGs document the earlier frontend prototype, not the integrated application's data.
-
-## Automated verification
-
-- Full WebUI Vitest baseline: 149 files, 663 tests passed; new session/navigation regression tests were additionally run after integration fixes.
-- Node suite: 1,303 tests passed.
-- Backend workspace + multi-user suites: 474 tests passed; after adding the HTTP policy regression, the focused compatibility/policy suite passed all 7 tests.
-- Type checking, API contract regeneration/check, dependency architecture, i18n checks and Ruff passed.
-- Full ESLint has no errors; existing and prototype translation warnings remain.
-- Production build succeeds; all existing route JS budgets pass after deferring unused sidebar panels/history code. Budgets were not raised.
-
-## Known limits
-
-Model-backed generation, external channels and integrations require their normal configuration and were not live-tested in the isolated runtime. This iteration uses the existing chat/tool loop for Auto; it does not claim to add a new cross-capability autonomous planning engine. Mobile refinement was explicitly deferred by the user.
-
-
-## Sidebar refinement, 2026-10-12
-
-- Partner preview is capped at three avatars in one row; group preview is capped at two rows. Each section retains its total, full-list link and creation action. Conversations scroll independently beneath fixed headings, with title and owner on separate lines.
-- Verified against isolated API data with 8 partners, 6 groups and 36 conversations, including a 1280 × 600 desktop viewport. End/Home and Show more keep the sidebar at y=0; all 36 histories remain reachable. Searching Paul finds a partner outside the initial preview. Full-list anchors land on the respective partner/group sections.
-- Learning begins with one All learning row containing the original creation menu. Records show local-calendar groups and right-aligned relative timestamps. Last-active and creation-time ordering use the original data timestamps; search covers titles, workspace names and learning types. The sorting preference persists locally.
-- Verified creation-time ordering, search, Escape to clear, switching categories without losing ordering, and the original four learning creation options. Six isolated reading records exercise distinct creation/activity dates and all date groups.
-- Next dynamic components without a loading option can suspend to the outer workspace layout. Local Suspense boundaries now contain sidebar and feature loading; category switches use a transition and retain visited panels. Removed the repeated whole-category fade and chat greeting fade. Saved sidebar width restores before paint.
-- Recent navigation snapshots remain visible during background refresh and are cleared on authentication changes. A regression verifies that an in-flight response cannot restore the previous account cache after invalidation.
-- Validation: 152 Vitest files / 671 tests and 1,303 Node tests pass. Production build, type checking, i18n, dependency architecture and all existing route budgets pass. Targeted ESLint has no errors (existing logo-alt warnings remain).
-- Evidence: dt-exp-learning-navigation.png and dt-exp-partner-navigation.png. Test records remain isolated under /tmp/deeptutor-dt-exp-runtime; no production data schema or records were changed.
-
-## Navigation identity and shared page chrome, 2026-10-13
-
-- Added Projects above workspace folders, matching Recent's visual hierarchy. Folder ordering, collapse, move/rename actions and five-row conversation limits remain intact.
-- Replaced the expanding, icon-only category pills with four stable, labelled destinations. Active state uses the selected DeepTutor theme color, a quiet tint and an animated position marker. Keyboard navigation, search, collapsed rail and retained category state are unchanged.
-- Added shared PageToolbar chrome: 52px minimum height, 20px desktop gutters, compact identity/breadcrumbs on the left and contextual actions on the right. FeaturePage/Settings page headers render their actual actions into a stable slot outside the scrollport, retaining React context and handlers. Secondary section headings stay with their content.
-- Applied the toolbar to chat, reading, mastery, writing, partner/group conversations, books, notebooks, knowledge-base details and Whisper. Partner local views now use a separate row. Settings, libraries, task board and other FeaturePage consumers inherit the same frame. Reader/editor pane controls stay local.
-- Browser QA: 1280 × 720 desktop and 1280 × 600 with a 220px sidebar. All four category labels fit; partner, group and session sections remain visible. Learning creation opens its original modal; notebook creation opens its original form; existing partner transcript and saved writing document display correctly; Settings retains its sections. Resource-page toolbar stays at y=0 / height=52 while content scrolls. A fresh tab against the final production build has no console errors.
-- Validation: 153 Vitest files / 672 tests; 1,303 Node tests; production build/type checking, i18n checks, dependency architecture and existing route budgets pass. Targeted ESLint reports no errors; five pre-existing warnings remain. Regression coverage checks that moved page actions keep their providers/state and unmount cleanly during page changes.
-- Evidence: dt-exp-page-chrome-home.png, dt-exp-page-chrome-learning.png, dt-exp-page-chrome-writer.png. Three empty projects were added only to the isolated /tmp runtime to exercise the section heading. No storage format, backend contract or real user records changed.
-
-## Restore the lighter visual baseline, 2026-10-13
-
-- Supersedes the shared page chrome and colored category treatment above, following visual feedback. Restored the pre-chrome page titles, whitespace, native workspace toolbars and single-row neutral category navigation from `2358b8d40`. Removed the extra fixed header/portal layer, added dividers and separate partner tab row.
-- Kept the Projects heading and translations. The only other visual differences from that baseline are 10px category corners and 19px icons. Partner/group limits, retained navigation, learning search and timestamp ordering remain unchanged.
-- Browser verification on the production preview: learning records and original four-option creation dialog render correctly; Home shows Projects and Recent; partner/group/session sections remain visible together, and the existing partner transcript opens with its original toolbar. No console errors were captured in the fresh preview tab.
-- Validation: 152 Vitest files / 671 tests and 1,303 Node tests pass. Production build including TypeScript and all existing route budgets pass. Targeted ESLint reports no errors, with six existing warnings. No backend or data changes.
-- Current evidence: `dt-exp-light-learning.png` and `dt-exp-light-home.png`. The earlier page-chrome images document the superseded design.
diff --git a/artifacts/dito-preview/dt-exp-writer.png b/artifacts/dito-preview/dt-exp-writer.png
deleted file mode 100644
index 456af2bb4..000000000
Binary files a/artifacts/dito-preview/dt-exp-writer.png and /dev/null differ
diff --git a/artifacts/dito-preview/home-desktop.jpg b/artifacts/dito-preview/home-desktop.jpg
deleted file mode 100644
index 067144dd2..000000000
Binary files a/artifacts/dito-preview/home-desktop.jpg and /dev/null differ
diff --git a/artifacts/dito-preview/learning-v2.jpg b/artifacts/dito-preview/learning-v2.jpg
deleted file mode 100644
index f7aa0a2bb..000000000
Binary files a/artifacts/dito-preview/learning-v2.jpg and /dev/null differ
diff --git a/artifacts/dito-preview/mobile-home.jpg b/artifacts/dito-preview/mobile-home.jpg
deleted file mode 100644
index 588020e77..000000000
Binary files a/artifacts/dito-preview/mobile-home.jpg and /dev/null differ
diff --git a/artifacts/dito-preview/partners-v2.jpg b/artifacts/dito-preview/partners-v2.jpg
deleted file mode 100644
index 1e552c5ea..000000000
Binary files a/artifacts/dito-preview/partners-v2.jpg and /dev/null differ
diff --git a/artifacts/dito-preview/prototype-qa.md b/artifacts/dito-preview/prototype-qa.md
deleted file mode 100644
index 312e18e07..000000000
--- a/artifacts/dito-preview/prototype-qa.md
+++ /dev/null
@@ -1,114 +0,0 @@
-# Dito frontend preview QA — four-category desktop iteration
-
-Result: verified for the local frontend prototype scope.
-
-Preview: http://127.0.0.1:4173/preview#learning
-
-Branch: `codex/dito-frontend-prototype`
-
-## Scope and references
-
-The user requested desktop browser work first. This iteration reorganizes the
-existing WebUI around Home, Partners, Learning and Resources. Backend execution
-and mobile refinement are outside this iteration.
-
-References are the user's three Notion sidebar captures (b205598c, 4a06d37e,
-d449b5d3) and read-only inspection of their existing Notion Chrome tab. Its
-Home/Conversation/Meeting navigation was inspected and returned to Home.
-The source conversation sidebar and the rendered Partners screenshot were
-opened in the same comparison input. This is an adaptation for DeepTutor,
-not a pixel-identical clone or a claim about Notion's source code.
-
-## Implemented behavior
-
-- Four top categories use a selected icon-and-label pill, keyboard navigation,
- quiet hover states and reduced-motion support. Switching a category changes
- the sidebar while preserving the open working document.
-- Home exposes Dito, task board, Co-Writer and agents.
-- Partners exposes configured companions, groups and independent sessions.
- Local configuration, group creation and example conversations persist.
-- Learning exposes existing records and four creation choices: book, mastery,
- practice and immersive reading. New items are explicitly local drafts with
- editable titles and notes; they are not falsely presented as generated courses.
-- Resources reuses the original Learning Space dashboard and category taxonomy.
- Detail pages are generic local previews, not the original full resource CRUD.
-- Sidebar width, selection, subtle transitions and icon alignment are scoped to
- the prototype. The full desktop layout was inspected at 1440 × 960.
-
-## Reused WebUI
-
-- AppShell, SidebarShell, resize hook, existing theme/preferences.
-- FeaturePage, PageHeader, LearningShell and LearningCardContent.
-- StandaloneComposer / ChatComposer and its existing menus.
-- ReadingProvider, ReaderPane, AnnotationList and reading controls.
-- CoWriterWorkspace editor, preview, local saving and Markdown export.
-- MasteryQuestionCard, MarkdownRenderer, Dialog and Tooltip.
-- PartnerAvatar, SpaceDashboard and AgentsHub.
-- Original Kanban page extracted unchanged into a reusable KanbanBoard;
- its normal route re-exports that component.
-
-Shared component changes are optional props with existing defaults retained.
-No backend or dependency changes were made. Primary checkout sources were not
-modified. The worktree reuses the primary checkout's installed node_modules.
-
-## Desktop evidence
-
-- [Learning with persistent records](artifacts/dito-preview/learning-v2.jpg)
-- [Partners, groups and sessions](artifacts/dito-preview/partners-v2.jpg)
-
-Prior-iteration evidence remains available for the reused reader and writer:
-
-- [Reader with Dito](artifacts/dito-preview/reader-desktop.jpg)
-- [Existing Co-Writer](artifacts/dito-preview/writer-desktop.jpg)
-
-No critical clipping or alignment issues remained in the scoped visual review.
-The full framer-motion component initially conflicted with strict LazyMotion;
-using its lightweight `m` component resolved that runtime error. Later browser
-checks showed no new application errors.
-
-## Functional verification
-
-Verified through browser interaction in this iteration:
-
-- Four-category switching, arrow-key selection, sidebar collapse and expansion.
-- Switching sidebar category preserves the open reading document.
-- Create a book draft, edit title/notes, reload, and recover the same record.
-- Configure partners; create a two-member group and a separate group session;
- send an example message and see the session title update in the sidebar.
-- Load the original task board; create a task and move it to Doing.
-- Load original AgentsHub and original resource dashboard categories.
-- Reopen the reader at its saved chapter, open the existing writer and return.
-- Open a sample book's second chapter, render its formula.
-- Answer the original practice card and see completed status in Learning.
-
-Earlier iteration verification also covered reading highlights, annotation
-navigation, quoted reading context and Co-Writer editing/save/reload/export.
-
-Engineering checks on the final code:
-
-- `npm run typecheck`: passed.
-- `npm run architecture:check`: passed, 921 modules / 2919 dependencies.
-- Targeted ESLint `--quiet`: passed. Chinese-only prototype copy still has
- the repository's normal i18n warnings.
-- `git diff --check`: passed.
-- Existing sidebar defaults, lazy history, task-board, Co-Writer integration
- and lazy notebook tests: 5 files, 12 tests passed.
-
-## Prototype boundaries
-
-`demo-transport.ts` intercepts API requests only on `/preview` and stores local
-fixtures under `deeptutor.dito-preview.v1.*`. Normal routes retain their normal
-transport. Task-board streaming is disabled only for this preview; normal
-callers keep existing behavior.
-
-Dito and partner replies are fixed examples. Models, external partner channels,
-backend capability execution, parsing and real content generation are not
-connected. Learning creation saves a draft. Resource details and totals remain
-prototype fixtures; adding a detail entry does not update the dashboard totals.
-Unsupported server operations return an explanatory response.
-
-To restart from this worktree's `web/` directory:
-
-```sh
-npm run dev -- --webpack --hostname 127.0.0.1 --port 4173
-```
diff --git a/artifacts/dito-preview/reader-desktop.jpg b/artifacts/dito-preview/reader-desktop.jpg
deleted file mode 100644
index 05be3b1e0..000000000
Binary files a/artifacts/dito-preview/reader-desktop.jpg and /dev/null differ
diff --git a/artifacts/dito-preview/writer-desktop.jpg b/artifacts/dito-preview/writer-desktop.jpg
deleted file mode 100644
index 7a53cfeaf..000000000
Binary files a/artifacts/dito-preview/writer-desktop.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/01-before-body.jpg b/artifacts/notes/block-audit/01-before-body.jpg
deleted file mode 100644
index 6e3236ef9..000000000
Binary files a/artifacts/notes/block-audit/01-before-body.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/02-before-page-link.jpg b/artifacts/notes/block-audit/02-before-page-link.jpg
deleted file mode 100644
index ec2ec63cb..000000000
Binary files a/artifacts/notes/block-audit/02-before-page-link.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-bookmark.jpg b/artifacts/notes/block-audit/actual-bookmark.jpg
deleted file mode 100644
index 19336637d..000000000
Binary files a/artifacts/notes/block-audit/actual-bookmark.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-bullet.jpg b/artifacts/notes/block-audit/actual-bullet.jpg
deleted file mode 100644
index b68ddfe2f..000000000
Binary files a/artifacts/notes/block-audit/actual-bullet.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-callout.jpg b/artifacts/notes/block-audit/actual-callout.jpg
deleted file mode 100644
index b8faaf191..000000000
Binary files a/artifacts/notes/block-audit/actual-callout.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-check.jpg b/artifacts/notes/block-audit/actual-check.jpg
deleted file mode 100644
index eddcac2b8..000000000
Binary files a/artifacts/notes/block-audit/actual-check.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-code.jpg b/artifacts/notes/block-audit/actual-code.jpg
deleted file mode 100644
index c09b00445..000000000
Binary files a/artifacts/notes/block-audit/actual-code.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-columns2.jpg b/artifacts/notes/block-audit/actual-columns2.jpg
deleted file mode 100644
index 4cf2bf71e..000000000
Binary files a/artifacts/notes/block-audit/actual-columns2.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-columns3.jpg b/artifacts/notes/block-audit/actual-columns3.jpg
deleted file mode 100644
index 5b1fa1532..000000000
Binary files a/artifacts/notes/block-audit/actual-columns3.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-columns4.jpg b/artifacts/notes/block-audit/actual-columns4.jpg
deleted file mode 100644
index 35ece22ee..000000000
Binary files a/artifacts/notes/block-audit/actual-columns4.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-columns5.jpg b/artifacts/notes/block-audit/actual-columns5.jpg
deleted file mode 100644
index 4b34eac5c..000000000
Binary files a/artifacts/notes/block-audit/actual-columns5.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-date.jpg b/artifacts/notes/block-audit/actual-date.jpg
deleted file mode 100644
index 4fa9cf07f..000000000
Binary files a/artifacts/notes/block-audit/actual-date.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-divider.jpg b/artifacts/notes/block-audit/actual-divider.jpg
deleted file mode 100644
index 69965369b..000000000
Binary files a/artifacts/notes/block-audit/actual-divider.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-embed.jpg b/artifacts/notes/block-audit/actual-embed.jpg
deleted file mode 100644
index abaa1e71f..000000000
Binary files a/artifacts/notes/block-audit/actual-embed.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-heading1.jpg b/artifacts/notes/block-audit/actual-heading1.jpg
deleted file mode 100644
index 1fb6e8957..000000000
Binary files a/artifacts/notes/block-audit/actual-heading1.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-heading2.jpg b/artifacts/notes/block-audit/actual-heading2.jpg
deleted file mode 100644
index 31d9205ae..000000000
Binary files a/artifacts/notes/block-audit/actual-heading2.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-heading3.jpg b/artifacts/notes/block-audit/actual-heading3.jpg
deleted file mode 100644
index d2f1f010f..000000000
Binary files a/artifacts/notes/block-audit/actual-heading3.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-heading4.jpg b/artifacts/notes/block-audit/actual-heading4.jpg
deleted file mode 100644
index a337d2dfc..000000000
Binary files a/artifacts/notes/block-audit/actual-heading4.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-html.jpg b/artifacts/notes/block-audit/actual-html.jpg
deleted file mode 100644
index c3c495583..000000000
Binary files a/artifacts/notes/block-audit/actual-html.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-inlineMath.jpg b/artifacts/notes/block-audit/actual-inlineMath.jpg
deleted file mode 100644
index c30d30b21..000000000
Binary files a/artifacts/notes/block-audit/actual-inlineMath.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-math-formatting.jpg b/artifacts/notes/block-audit/actual-math-formatting.jpg
deleted file mode 100644
index c6c9fe93e..000000000
Binary files a/artifacts/notes/block-audit/actual-math-formatting.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-math.jpg b/artifacts/notes/block-audit/actual-math.jpg
deleted file mode 100644
index f2e3b5ef3..000000000
Binary files a/artifacts/notes/block-audit/actual-math.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-numbered.jpg b/artifacts/notes/block-audit/actual-numbered.jpg
deleted file mode 100644
index 783f396f5..000000000
Binary files a/artifacts/notes/block-audit/actual-numbered.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-pageLink.jpg b/artifacts/notes/block-audit/actual-pageLink.jpg
deleted file mode 100644
index e5f447baf..000000000
Binary files a/artifacts/notes/block-audit/actual-pageLink.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-paragraph.jpg b/artifacts/notes/block-audit/actual-paragraph.jpg
deleted file mode 100644
index 17a16ff83..000000000
Binary files a/artifacts/notes/block-audit/actual-paragraph.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-quote.jpg b/artifacts/notes/block-audit/actual-quote.jpg
deleted file mode 100644
index 631513803..000000000
Binary files a/artifacts/notes/block-audit/actual-quote.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-table.jpg b/artifacts/notes/block-audit/actual-table.jpg
deleted file mode 100644
index 36b134268..000000000
Binary files a/artifacts/notes/block-audit/actual-table.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-taskBoard.jpg b/artifacts/notes/block-audit/actual-taskBoard.jpg
deleted file mode 100644
index 88e09cb6b..000000000
Binary files a/artifacts/notes/block-audit/actual-taskBoard.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-taskList.jpg b/artifacts/notes/block-audit/actual-taskList.jpg
deleted file mode 100644
index 19bc98841..000000000
Binary files a/artifacts/notes/block-audit/actual-taskList.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-taskTable.jpg b/artifacts/notes/block-audit/actual-taskTable.jpg
deleted file mode 100644
index 96a50f5ad..000000000
Binary files a/artifacts/notes/block-audit/actual-taskTable.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-text-formatting.jpg b/artifacts/notes/block-audit/actual-text-formatting.jpg
deleted file mode 100644
index 9f426500b..000000000
Binary files a/artifacts/notes/block-audit/actual-text-formatting.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-toc.jpg b/artifacts/notes/block-audit/actual-toc.jpg
deleted file mode 100644
index 3833719cd..000000000
Binary files a/artifacts/notes/block-audit/actual-toc.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-toggle.jpg b/artifacts/notes/block-audit/actual-toggle.jpg
deleted file mode 100644
index 648e7c4d8..000000000
Binary files a/artifacts/notes/block-audit/actual-toggle.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-toggle1.jpg b/artifacts/notes/block-audit/actual-toggle1.jpg
deleted file mode 100644
index ccb3afe36..000000000
Binary files a/artifacts/notes/block-audit/actual-toggle1.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-toggle2.jpg b/artifacts/notes/block-audit/actual-toggle2.jpg
deleted file mode 100644
index 08d19c9be..000000000
Binary files a/artifacts/notes/block-audit/actual-toggle2.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/actual-toggle3.jpg b/artifacts/notes/block-audit/actual-toggle3.jpg
deleted file mode 100644
index dcbba4858..000000000
Binary files a/artifacts/notes/block-audit/actual-toggle3.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/audit.md b/artifacts/notes/block-audit/audit.md
deleted file mode 100644
index eb0cee6b1..000000000
--- a/artifacts/notes/block-audit/audit.md
+++ /dev/null
@@ -1,153 +0,0 @@
-# 笔记块预览与实际插入验收
-
-日期:2026-10-17。代码位置:`/Users/frank/HKUDS/DeepTutor`。验收通过 CUA 操作真实浏览器,使用隔离测试服务(3796 / 8016);没有向用户正在编辑的正文插入测试内容。
-
-## 结果
-
-- 50 / 50 个菜单入口拥有专属预览,桌面逐项检查并保存完整截图;没有通用占位预览、横向溢出或示例裁切。
-- 32 / 32 类文本、结构及任务视图通过真实菜单插入、输入、保存、重新打开与布局核查。标题 1–4 为 28 / 23 / 19 / 16 px。
-- 390 × 844 下检查全部 50 种预览,未发现示例裁切;2–5 列按顺序堆叠,页面无横向溢出。
-- 320 × 568 下菜单保留完整的键盘选中行;空间不足时预览独立滚动,内容不会永久隐藏。
-- 新建公式无需再次点击即可直接输入;折叠标题先聚焦标题,分栏先聚焦第一列。
-- 浏览器最终控制台没有 error。
-
-## 修复的具体问题
-
-1. 页面链接、媒体、目录、分栏、日期、学习内容等缺少格式预览,回退成统一“文件图标+一句话”。增加有类型约束的 50 项预览清单和穷尽渲染,页面选择器也显示对应页面标题。
-2. 任务表格、看板和列表共用表格预览。改为对应的独立布局。
-3. 行内公式被 Markdown 归一化成独立公式,破坏字号和基线。预览与正文共用显式区分行内 / 独立模式的 KaTeX 渲染器,保留无效公式回显并禁用可信 HTML 命令。
-4. 新公式刚插入就失去焦点并收起输入框。避免编辑器抢焦点,并在菜单事务结束后把焦点交给表单;空公式保持可编辑。
-5. 折叠标题插入后聚焦到空正文,留下空标题。修正插入光标位置。
-6. 窄屏完全不显示预览,固定高度还会裁切闪卡、时间线等内容。提供菜单内部预览、自适应高度与短屏滚动;列表尺寸变化时重新显露选中行。
-7. 鼠标悬停预览与选中项语义不一致,筛选后可能沿用旧索引。统一选中状态,按结果集判定悬停有效性,Enter 执行当前悬停项。
-8. 正文中的中文顿号会误开菜单。中文快捷入口只在空块生效;代码块、表格单元格不再误开块插入菜单。
-9. 缺少下划线按钮、格式按钮没有选中反馈、颜色选择不能反映当前格式。补上对应交互和状态。
-10. 编辑器重新挂载可能读取旧初始内容。页面状态同步最新块快照,补充回归测试,实测热更新与重新加载后保留内容。
-11. 页面链接实际样式与预览不一致、代码预览背景不一致。统一链接图标与代码背景;书签输入归一化首尾空白。
-
-## 实际交互记录
-
-- 正文:粗体、斜体、下划线、行内代码;选中格式按钮返回正确的 aria-pressed。
-- 待办:勾选后显示完成样式。标注:切换 tip / info 样式。
-- 表格:连续 Tab 编辑六个单元格,文本落入正确单元格。
-- 普通折叠列表:展开、添加子块、收起,子内容高度为 0;折叠标题同样验证收起。
-- 目录:包含四级标题与三级折叠标题,点击跳转到对应标题并更新锚点。
-- 公式:新建后直接输入积分,Enter 渲染;行内公式改成 E=mc² 并保存。
-- 日期:原生键盘将日期改为 2026-10-20,确认保存后的块数据与显示一致。
-- 页面链接:选择目标页面,插入后 href 指向目标笔记;预览显示页面名称。
-- 网页书签 / 嵌入 / HTML:输入与保存成功;HTML 在独立沙盒中实际渲染标题、段落和粗体。
-- 任务视图:在表格创建任务,在列表勾选完成,表格状态与看板 Done 列同步。
-- 分栏:2、3、4、5 列均填写内容;桌面并排,手机依次堆叠。
-
-## 预览逐项清单
-
-每张链接都是该菜单项选中时的完整浏览器截图。
-
-| 序号 | 菜单入口 | 预览类型 | 结果 |
-|---|---|---|---|
-| 1 | Ask Dito | `ai` | [通过](preview-00-ai.jpg) |
-| 2 | Reference a source | `source` | [通过](preview-01-source.jpg) |
-| 3 | Insert favorite | `favorite` | [通过](preview-02-favorite.jpg) |
-| 4 | Paragraph | `paragraph` | [通过](preview-03-paragraph.jpg) |
-| 5 | Heading 1# | `heading` | [通过](preview-04-heading.jpg) |
-| 6 | Heading 2## | `heading_2` | [通过](preview-05-heading_2.jpg) |
-| 7 | Heading 3### | `heading_3` | [通过](preview-06-heading_3.jpg) |
-| 8 | Heading 4#### | `heading_4` | [通过](preview-07-heading_4.jpg) |
-| 9 | Bullet List- | `bullet_list` | [通过](preview-08-bullet_list.jpg) |
-| 10 | Numbered List1. | `numbered_list` | [通过](preview-09-numbered_list.jpg) |
-| 11 | Check List[] | `check_list` | [通过](preview-10-check_list.jpg) |
-| 12 | Toggle List> | `toggle_list` | [通过](preview-11-toggle_list.jpg) |
-| 13 | Quote" | `quote` | [通过](preview-12-quote.jpg) |
-| 14 | Table | `table` | [通过](preview-13-table.jpg) |
-| 15 | Divider--- | `divider` | [通过](preview-14-divider.jpg) |
-| 16 | Code Block``` | `code_block` | [通过](preview-15-code_block.jpg) |
-| 17 | Callout | `callout` | [通过](preview-16-callout.jpg) |
-| 18 | Page link | `pageLink` | [通过](preview-17-pageLink.jpg) |
-| 19 | Image | `image` | [通过](preview-18-image.jpg) |
-| 20 | Video | `video` | [通过](preview-19-video.jpg) |
-| 21 | Audio | `audio` | [通过](preview-20-audio.jpg) |
-| 22 | File | `file` | [通过](preview-21-file.jpg) |
-| 23 | Web bookmark | `bookmark` | [通过](preview-22-bookmark.jpg) |
-| 24 | Embed | `embed` | [通过](preview-23-embed.jpg) |
-| 25 | HTML | `htmlEmbed` | [通过](preview-24-htmlEmbed.jpg) |
-| 26 | Task table | `task_table` | [通过](preview-25-task_table.jpg) |
-| 27 | Task board | `task_board` | [通过](preview-26-task_board.jpg) |
-| 28 | Task list | `task_list` | [通过](preview-27-task_list.jpg) |
-| 29 | Table of contents | `toc` | [通过](preview-28-toc.jpg) |
-| 30 | Math formula$$ | `math` | [通过](preview-29-math.jpg) |
-| 31 | Toggle heading 1 | `toggle_heading_1` | [通过](preview-30-toggle_heading_1.jpg) |
-| 32 | Toggle heading 2 | `toggle_heading_2` | [通过](preview-31-toggle_heading_2.jpg) |
-| 33 | Toggle heading 3 | `toggle_heading_3` | [通过](preview-32-toggle_heading_3.jpg) |
-| 34 | 2 columns | `columns_2` | [通过](preview-33-columns_2.jpg) |
-| 35 | 3 columns | `columns_3` | [通过](preview-34-columns_3.jpg) |
-| 36 | 4 columns | `columns_4` | [通过](preview-35-columns_4.jpg) |
-| 37 | 5 columns | `columns_5` | [通过](preview-36-columns_5.jpg) |
-| 38 | Date | `date` | [通过](preview-37-date.jpg) |
-| 39 | Inline formula$…$ | `inlineMath` | [通过](preview-38-inlineMath.jpg) |
-| 40 | Diagram | `mermaid` | [通过](preview-39-mermaid.jpg) |
-| 41 | Quiz me | `quiz` | [通过](preview-40-quiz.jpg) |
-| 42 | Flash Cards | `flashcards` | [通过](preview-41-flashcards.jpg) |
-| 43 | Timeline | `timeline` | [通过](preview-42-timeline.jpg) |
-| 44 | Research | `research` | [通过](preview-43-research.jpg) |
-| 45 | Task | `task` | [通过](preview-44-task.jpg) |
-| 46 | Animation | `animation` | [通过](preview-45-animation.jpg) |
-| 47 | Concept map | `concept_map` | [通过](preview-46-concept_map.jpg) |
-| 48 | Geometry | `geogebra` | [通过](preview-47-geogebra.jpg) |
-| 49 | Generate image | `generated_image` | [通过](preview-48-generated_image.jpg) |
-| 50 | Podcast | `podcast` | [通过](preview-49-podcast.jpg) |
-
-## 实际插入逐项清单
-
-| 测试项 | 检查结果 |
-|---|---|
-| paragraph | [显示与保存通过](actual-paragraph.jpg) |
-| heading1 | [显示与保存通过](actual-heading1.jpg) |
-| heading2 | [显示与保存通过](actual-heading2.jpg) |
-| heading3 | [显示与保存通过](actual-heading3.jpg) |
-| heading4 | [显示与保存通过](actual-heading4.jpg) |
-| bullet | [显示与保存通过](actual-bullet.jpg) |
-| numbered | [显示与保存通过](actual-numbered.jpg) |
-| check | [显示与保存通过](actual-check.jpg) |
-| toggle | [显示与保存通过](actual-toggle.jpg) |
-| quote | [显示与保存通过](actual-quote.jpg) |
-| table | [显示与保存通过](actual-table.jpg) |
-| divider | [显示与保存通过](actual-divider.jpg) |
-| code | [显示与保存通过](actual-code.jpg) |
-| callout | [显示与保存通过](actual-callout.jpg) |
-| pageLink | [显示与保存通过](actual-pageLink.jpg) |
-| bookmark | [显示与保存通过](actual-bookmark.jpg) |
-| embed | [显示与保存通过](actual-embed.jpg) |
-| html | [显示与保存通过](actual-html.jpg) |
-| toc | [显示与保存通过](actual-toc.jpg) |
-| math | [显示与保存通过](actual-math.jpg) |
-| toggle1 | [显示与保存通过](actual-toggle1.jpg) |
-| toggle2 | [显示与保存通过](actual-toggle2.jpg) |
-| toggle3 | [显示与保存通过](actual-toggle3.jpg) |
-| columns2 | [显示与保存通过](actual-columns2.jpg) |
-| columns3 | [显示与保存通过](actual-columns3.jpg) |
-| columns4 | [显示与保存通过](actual-columns4.jpg) |
-| columns5 | [显示与保存通过](actual-columns5.jpg) |
-| date | [显示与保存通过](actual-date.jpg) |
-| inlineMath | [显示与保存通过](actual-inlineMath.jpg) |
-| taskTable | [显示与保存通过](actual-taskTable.jpg) |
-| taskBoard | [显示与保存通过](actual-taskBoard.jpg) |
-| taskList | [显示与保存通过](actual-taskList.jpg) |
-
-## 验证命令
-
-- `npm run typecheck`:通过。
-- `npx vitest run tests/notes-previews.spec.tsx tests/notes-model.spec.ts tests/notes-autosave.spec.tsx`:60 / 60 通过。
-- 修改范围 ESLint:0 errors;测试替身已有一条 useEffect 依赖 warning。
-- `npm run architecture:check`:通过。
-- `npm run i18n:parity`:六种语言键一致。
-- `DEEPTUTOR_NEXT_DIST_DIR=.next-notes-preview-audit npm run build`:最终代码生产构建通过。
-- `git diff --check`(本轮相关路径):通过。
-
-## 证据与范围
-
-- 修复前:`01-before-body.jpg`、`02-before-page-link.jpg`。
-- 修复后:`final-page-link-preview.jpg`、`previews-contact-1.jpg` 至 `previews-contact-5.jpg`、`actual-*.jpg`。
-- 手机:`mobile-*.jpg`,包括 390 px 全菜单逐项检查和 320 px 选中行 / 可滚动预览检查。
-- 机器可读记录:`preview-checks.json`、`narrow-checks.json`、`mobile-320-check.json`、`insertion-checks.json`。
-- 本轮覆盖显示、输入、选择、折叠、保存和重开。媒体上传与远程 AI 生成没有重新发起;学习类菜单使用非交互示例,不会因悬停而调用模型或修改任务数据。没有宣称这些远程生成流程已经在本轮端到端复测。
-- 保留仓库已有的其他工作;没有提交、推送或部署。
diff --git a/artifacts/notes/block-audit/final-page-link-preview.jpg b/artifacts/notes/block-audit/final-page-link-preview.jpg
deleted file mode 100644
index cdba12028..000000000
Binary files a/artifacts/notes/block-audit/final-page-link-preview.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-bullet.jpg b/artifacts/notes/block-audit/insert-bullet.jpg
deleted file mode 100644
index 921b5eb02..000000000
Binary files a/artifacts/notes/block-audit/insert-bullet.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-callout.jpg b/artifacts/notes/block-audit/insert-callout.jpg
deleted file mode 100644
index a49e19a17..000000000
Binary files a/artifacts/notes/block-audit/insert-callout.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-check.jpg b/artifacts/notes/block-audit/insert-check.jpg
deleted file mode 100644
index 262790f4a..000000000
Binary files a/artifacts/notes/block-audit/insert-check.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-code.jpg b/artifacts/notes/block-audit/insert-code.jpg
deleted file mode 100644
index 734e78669..000000000
Binary files a/artifacts/notes/block-audit/insert-code.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-columns2.jpg b/artifacts/notes/block-audit/insert-columns2.jpg
deleted file mode 100644
index 11ab6ddaf..000000000
Binary files a/artifacts/notes/block-audit/insert-columns2.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-columns3.jpg b/artifacts/notes/block-audit/insert-columns3.jpg
deleted file mode 100644
index e69a7712f..000000000
Binary files a/artifacts/notes/block-audit/insert-columns3.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-columns4.jpg b/artifacts/notes/block-audit/insert-columns4.jpg
deleted file mode 100644
index 6fbabd586..000000000
Binary files a/artifacts/notes/block-audit/insert-columns4.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-columns5.jpg b/artifacts/notes/block-audit/insert-columns5.jpg
deleted file mode 100644
index 835fce9ce..000000000
Binary files a/artifacts/notes/block-audit/insert-columns5.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-date.jpg b/artifacts/notes/block-audit/insert-date.jpg
deleted file mode 100644
index 653314171..000000000
Binary files a/artifacts/notes/block-audit/insert-date.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-divider.jpg b/artifacts/notes/block-audit/insert-divider.jpg
deleted file mode 100644
index 63da57e16..000000000
Binary files a/artifacts/notes/block-audit/insert-divider.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-heading1.jpg b/artifacts/notes/block-audit/insert-heading1.jpg
deleted file mode 100644
index c363cb9e8..000000000
Binary files a/artifacts/notes/block-audit/insert-heading1.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-heading2.jpg b/artifacts/notes/block-audit/insert-heading2.jpg
deleted file mode 100644
index e4cfb3444..000000000
Binary files a/artifacts/notes/block-audit/insert-heading2.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-heading3.jpg b/artifacts/notes/block-audit/insert-heading3.jpg
deleted file mode 100644
index 9aa837288..000000000
Binary files a/artifacts/notes/block-audit/insert-heading3.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-heading4.jpg b/artifacts/notes/block-audit/insert-heading4.jpg
deleted file mode 100644
index 91c115d76..000000000
Binary files a/artifacts/notes/block-audit/insert-heading4.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-inlineMath.jpg b/artifacts/notes/block-audit/insert-inlineMath.jpg
deleted file mode 100644
index fad9a939f..000000000
Binary files a/artifacts/notes/block-audit/insert-inlineMath.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-math.jpg b/artifacts/notes/block-audit/insert-math.jpg
deleted file mode 100644
index 88f5d0c8c..000000000
Binary files a/artifacts/notes/block-audit/insert-math.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-numbered.jpg b/artifacts/notes/block-audit/insert-numbered.jpg
deleted file mode 100644
index c03678eb3..000000000
Binary files a/artifacts/notes/block-audit/insert-numbered.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-paragraph.jpg b/artifacts/notes/block-audit/insert-paragraph.jpg
deleted file mode 100644
index 1840abda5..000000000
Binary files a/artifacts/notes/block-audit/insert-paragraph.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-quote.jpg b/artifacts/notes/block-audit/insert-quote.jpg
deleted file mode 100644
index 52bfecbef..000000000
Binary files a/artifacts/notes/block-audit/insert-quote.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-table.jpg b/artifacts/notes/block-audit/insert-table.jpg
deleted file mode 100644
index c55c2555d..000000000
Binary files a/artifacts/notes/block-audit/insert-table.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-toc.jpg b/artifacts/notes/block-audit/insert-toc.jpg
deleted file mode 100644
index 6c8908f0a..000000000
Binary files a/artifacts/notes/block-audit/insert-toc.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-toggle.jpg b/artifacts/notes/block-audit/insert-toggle.jpg
deleted file mode 100644
index 3a37425d4..000000000
Binary files a/artifacts/notes/block-audit/insert-toggle.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-toggle1.jpg b/artifacts/notes/block-audit/insert-toggle1.jpg
deleted file mode 100644
index 619ece24e..000000000
Binary files a/artifacts/notes/block-audit/insert-toggle1.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-toggle2.jpg b/artifacts/notes/block-audit/insert-toggle2.jpg
deleted file mode 100644
index eff2d7402..000000000
Binary files a/artifacts/notes/block-audit/insert-toggle2.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insert-toggle3.jpg b/artifacts/notes/block-audit/insert-toggle3.jpg
deleted file mode 100644
index ec61778a3..000000000
Binary files a/artifacts/notes/block-audit/insert-toggle3.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insertion-checks.json b/artifacts/notes/block-audit/insertion-checks.json
deleted file mode 100644
index fc28e7732..000000000
--- a/artifacts/notes/block-audit/insertion-checks.json
+++ /dev/null
@@ -1,514 +0,0 @@
-[
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"case-paragraph\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"case-paragraph\"><div class=\"bn-block-content\" data-content-type=\"paragraph\"><p class=\"bn-inline-content\">正文:<strong>理解一个概念</strong>,再联系<em>已有的知识</em>。</p></div></div></div>",
- "id": "paragraph",
- "overflowX": false,
- "rect": {
- "bottom": 329.296875,
- "height": 28.5,
- "left": 374,
- "right": 1178,
- "top": 300.796875,
- "width": 804,
- "x": 374,
- "y": 300.796875
- },
- "text": "正文:理解一个概念,再联系已有的知识。"
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"case-heading1\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"case-heading1\"><div class=\"bn-block-content\" data-content-type=\"heading\"><h1 class=\"bn-inline-content\">一级标题 · 学习主题</h1></div></div></div>",
- "id": "heading1",
- "overflowX": false,
- "rect": {
- "bottom": 425.796875,
- "height": 68,
- "left": 374,
- "right": 1178,
- "top": 357.796875,
- "width": 804,
- "x": 374,
- "y": 357.796875
- },
- "text": "一级标题 · 学习主题"
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"case-heading2\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"case-heading2\"><div class=\"bn-block-content\" data-content-type=\"heading\" data-level=\"2\"><h2 class=\"bn-inline-content\">二级标题 · 核心概念</h2></div></div></div>",
- "id": "heading2",
- "overflowX": false,
- "rect": {
- "bottom": 453.296875,
- "height": 60.5,
- "left": 374,
- "right": 1178,
- "top": 392.796875,
- "width": 804,
- "x": 374,
- "y": 392.796875
- },
- "text": "二级标题 · 核心概念"
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"case-heading3\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"case-heading3\"><div class=\"bn-block-content\" data-content-type=\"heading\" data-level=\"3\"><h3 class=\"bn-inline-content\">三级标题 · 推导过程</h3></div></div></div>",
- "id": "heading3",
- "overflowX": false,
- "rect": {
- "bottom": 447.296875,
- "height": 54.5,
- "left": 374,
- "right": 1178,
- "top": 392.796875,
- "width": 804,
- "x": 374,
- "y": 392.796875
- },
- "text": "三级标题 · 推导过程"
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"case-heading4\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"case-heading4\"><div class=\"bn-block-content\" data-content-type=\"heading\" data-level=\"4\"><h4 class=\"bn-inline-content\">四级标题 · 补充说明</h4></div></div></div>",
- "id": "heading4",
- "overflowX": false,
- "rect": {
- "bottom": 442.796875,
- "height": 50,
- "left": 374,
- "right": 1178,
- "top": 392.796875,
- "width": 804,
- "x": 374,
- "y": 392.796875
- },
- "text": "四级标题 · 补充说明"
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"case-bullet\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"case-bullet\"><div class=\"bn-block-content\" data-content-type=\"bulletListItem\"><p class=\"bn-inline-content\">列出一个需要探索的问题</p></div></div></div>",
- "id": "bullet",
- "overflowX": false,
- "rect": {
- "bottom": 421.296875,
- "height": 28.5,
- "left": 374,
- "right": 1178,
- "top": 392.796875,
- "width": 804,
- "x": 374,
- "y": 392.796875
- },
- "text": "列出一个需要探索的问题"
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"case-numbered\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"case-numbered\"><div class=\"bn-block-content\" data-content-type=\"numberedListItem\" data-index=\"1\"><p class=\"bn-inline-content\">定义问题与已知条件</p></div></div></div>",
- "id": "numbered",
- "overflowX": false,
- "rect": {
- "bottom": 421.296875,
- "height": 28.5,
- "left": 374,
- "right": 1178,
- "top": 392.796875,
- "width": 804,
- "x": 374,
- "y": 392.796875
- },
- "text": "定义问题与已知条件"
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"case-check\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"case-check\"><div class=\"bn-block-content\" data-content-type=\"checkListItem\" data-checked=\"true\"><div contenteditable=\"false\"><input type=\"checkbox\" checked=\"\"></div><p class=\"bn-inline-content\">完成一次练习</p></div></div></div>",
- "id": "check",
- "overflowX": false,
- "rect": {
- "bottom": 422.796875,
- "height": 30,
- "left": 374,
- "right": 1178,
- "top": 392.796875,
- "width": 804,
- "x": 374,
- "y": 392.796875
- },
- "text": "完成一次练习"
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"case-toggle\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"case-toggle\"><div class=\"bn-toggle-wrapper bn-toggle-frame\"><button class=\"bn-toggle-button\" type=\"button\" aria-label=\"Expand or collapse\" aria-expanded=\"false\"><svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 -960 960 960\" width=\"24px\" fill=\"CURRENTCOLOR\"><path d=\"M320-200v-560l440 280-440 280Z\"></path></svg></button><div class=\"bn-toggle-slot\"><div class=\"bn-block-content\" data-content-type=\"toggleListItem\"><p class=\"bn-inline-content\">展开查看推导细节</p></div><div class=\"bn-block-group\" data-node-type=\"blockGroup\"><div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"3d8431a3-c992-45f6-a099-31acd8cb6ded\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"3d8431a3-c992-45f6-a099-31acd8cb6ded\"><div class=\"bn-block-content\" data-content-type=\"paragraph\"><p class=\"bn-inline-content\">支持内容:列出假设,并逐步推导。</p></div></div></div></div></div></div></div></div>",
- "id": "toggle",
- "overflowX": false,
- "rect": {
- "bottom": 421.296875,
- "height": 28.5,
- "left": 374,
- "right": 1178,
- "top": 392.796875,
- "width": 804,
- "x": 374,
- "y": 392.796875
- },
- "text": "展开查看推导细节支持内容:列出假设,并逐步推导。"
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"case-quote\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"case-quote\"><div class=\"bn-block-content\" data-content-type=\"quote\"><blockquote class=\"bn-inline-content\">真正理解,来自建立概念之间的联系。</blockquote></div></div></div>",
- "id": "quote",
- "overflowX": false,
- "rect": {
- "bottom": 421.296875,
- "height": 28.5,
- "left": 374,
- "right": 1178,
- "top": 392.796875,
- "width": 804,
- "x": 374,
- "y": 392.796875
- },
- "text": "真正理解,来自建立概念之间的联系。"
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"case-table\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"case-table\"><div class=\"bn-block-content\" data-content-type=\"table\"><div class=\"tableWrapper\"><div class=\"tableWrapper-inner\"><table style=\"--default-cell-min-width: 120px; min-width: 360px;\"><colgroup><col><col><col></colgroup><tbody><tr><td colspan=\"1\" rowspan=\"1\"><p>概念</p></td><td colspan=\"1\" rowspan=\"1\"><p>含义</p></td><td colspan=\"1\" rowspan=\"1\"><p>示例</p></td></tr><tr><td colspan=\"1\" rowspan=\"1\"><p>导数</p></td><td colspan=\"1\" rowspan=\"1\"><p>变化率</p></td><td colspan=\"1\" rowspan=\"1\"><p>速度</p></td></tr></tbody></table></div><div class=\"table-widgets-container\" style=\"position: relative;\"></div></div></div></div></div>",
- "id": "table",
- "overflowX": false,
- "rect": {
- "bottom": 500.796875,
- "height": 108,
- "left": 374,
- "right": 1178,
- "top": 392.796875,
- "width": 804,
- "x": 374,
- "y": 392.796875
- },
- "text": "概念含义示例导数变化率速度"
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"case-divider\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"case-divider\"><div class=\"bn-block-content\" data-content-type=\"divider\" contenteditable=\"false\"><hr></div></div></div>",
- "id": "divider",
- "overflowX": false,
- "rect": {
- "bottom": 414.796875,
- "height": 22,
- "left": 374,
- "right": 1178,
- "top": 392.796875,
- "width": 804,
- "x": 374,
- "y": 392.796875
- },
- "text": ""
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"case-code\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"case-code\"><div class=\"bn-block-content\" data-content-type=\"codeBlock\"><pre><code class=\"bn-inline-content\">def learn(topic):\n return explore(topic)</code></pre></div></div></div>",
- "id": "code",
- "overflowX": false,
- "rect": {
- "bottom": 491.796875,
- "height": 99,
- "left": 374,
- "right": 1178,
- "top": 392.796875,
- "width": 804,
- "x": 374,
- "y": 392.796875
- },
- "text": "def learn(topic):\n return explore(topic)"
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"e562e41b-2d53-4e6d-a681-9d8be19f9bac\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"e562e41b-2d53-4e6d-a681-9d8be19f9bac\"><div class=\"react-renderer node-callout bn-react-node-view-renderer\"><div class=\"bn-block-content\" data-content-type=\"callout\" data-tone=\"info\" data-node-view-wrapper=\"\" style=\"white-space: normal;\"><div class=\"dt-note-callout\" data-tone=\"info\"><button contenteditable=\"false\" aria-label=\"Change callout style\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-info\" aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"10\"></circle><path d=\"M12 16v-4\"></path><path d=\"M12 8h.01\"></path></svg></button><div class=\"bn-inline-content dt-note-callout-text\" data-node-view-content=\"\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit;\">关键提示:关注概念适用的前提。</div></div></div></div></div></div></div>",
- "id": "callout",
- "overflowX": false,
- "rect": {
- "bottom": 449.796875,
- "height": 57,
- "left": 374,
- "right": 1178,
- "top": 392.796875,
- "width": 804,
- "x": 374,
- "y": 392.796875
- },
- "text": "关键提示:关注概念适用的前提。"
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"case-pageLink\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"case-pageLink\"><div class=\"bn-block-content\" data-content-type=\"paragraph\"><p class=\"bn-inline-content\"><img class=\"ProseMirror-separator\" alt=\"\"><span class=\"react-renderer node-pageLink bn-ic-react-node-view-renderer\" contenteditable=\"false\"><span as=\"span\" class=\"bn-inline-content-section\" data-inline-content-type=\"pageLink\" data-page-id=\"a6063f5c1634\" data-title=\"傅里叶学习笔记\" data-node-view-wrapper=\"\" style=\"white-space: normal;\"><a class=\"dt-note-link\" href=\"/co-writer/a6063f5c1634\">↗ 傅里叶学习笔记</a></span></span> </p></div></div></div>",
- "id": "pageLink",
- "overflowX": false,
- "rect": {
- "bottom": 421.296875,
- "height": 28.5,
- "left": 374,
- "right": 1178,
- "top": 392.796875,
- "width": 804,
- "x": 374,
- "y": 392.796875
- },
- "text": "↗ 傅里叶学习笔记 "
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"8e5808bf-92ab-43de-a91e-0b98b034c361\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"8e5808bf-92ab-43de-a91e-0b98b034c361\"><div class=\"react-renderer node-webCard bn-react-node-view-renderer\" contenteditable=\"false\"><div class=\"bn-block-content\" data-content-type=\"webCard\" data-url=\"https://en.wikipedia.org/wiki/Fourier_transform\" data-title=\"傅里叶变换\" data-description=\"从信号到频率,理解变换的核心思想。\" data-node-view-wrapper=\"\" style=\"white-space: normal;\"><div contenteditable=\"false\" class=\"dt-note-web-card\"><div class=\"dt-note-web-card-header\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"22\" height=\"22\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-globe\" aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"10\"></circle><path d=\"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20\"></path><path d=\"M2 12h20\"></path></svg><a href=\"https://en.wikipedia.org/wiki/Fourier_transform\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>傅里叶变换</strong><span>从信号到频率,理解变换的核心思想。</span><small>en.wikipedia.org <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"11\" height=\"11\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-external-link\" aria-hidden=\"true\"><path d=\"M15 3h6v6\"></path><path d=\"M10 14 21 3\"></path><path d=\"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6\"></path></svg></small></a><button aria-label=\"Edit link\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-pencil\" aria-hidden=\"true\"><path d=\"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z\"></path><path d=\"m15 5 4 4\"></path></svg></button></div></div></div></div></div></div>",
- "id": "bookmark",
- "overflowX": false,
- "rect": {
- "bottom": 508.296875,
- "height": 115.5,
- "left": 374,
- "right": 1178,
- "top": 392.796875,
- "width": 804,
- "x": 374,
- "y": 392.796875
- },
- "text": "傅里叶变换从信号到频率,理解变换的核心思想。en.wikipedia.org "
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"e1c815b9-2650-4c53-9794-0e31b2a428cf\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"e1c815b9-2650-4c53-9794-0e31b2a428cf\"><div class=\"react-renderer node-webCard bn-react-node-view-renderer\" contenteditable=\"false\"><div class=\"bn-block-content\" data-content-type=\"webCard\" data-url=\"https://example.com/\" data-title=\"嵌入页面示例\" data-mode=\"embed\" data-node-view-wrapper=\"\" style=\"white-space: normal;\"><div contenteditable=\"false\" class=\"dt-note-web-card\"><div class=\"dt-note-web-card-header\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"22\" height=\"22\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-globe\" aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"10\"></circle><path d=\"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20\"></path><path d=\"M2 12h20\"></path></svg><a href=\"https://example.com/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>嵌入页面示例</strong><span>https://example.com/</span><small>example.com <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"11\" height=\"11\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-external-link\" aria-hidden=\"true\"><path d=\"M15 3h6v6\"></path><path d=\"M10 14 21 3\"></path><path d=\"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6\"></path></svg></small></a><button aria-label=\"Edit link\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-pencil\" aria-hidden=\"true\"><path d=\"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z\"></path><path d=\"m15 5 4 4\"></path></svg></button></div><iframe title=\"嵌入页面示例\" src=\"https://example.com/\" sandbox=\"allow-scripts allow-presentation\" referrerpolicy=\"no-referrer\" loading=\"lazy\"></iframe><p class=\"dt-note-hint\">If the site blocks embedding, open the link above</p></div></div></div></div></div>",
- "id": "embed",
- "overflowX": false,
- "rect": {
- "bottom": 560.796875,
- "height": 492,
- "left": 374,
- "right": 1178,
- "top": 68.796875,
- "width": 804,
- "x": 374,
- "y": 68.796875
- },
- "text": "嵌入页面示例https://example.com/example.com If the site blocks embedding, open the link above"
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"a607edb8-8ded-415e-95cc-d0ad32535336\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"a607edb8-8ded-415e-95cc-d0ad32535336\"><div class=\"react-renderer node-htmlEmbed bn-react-node-view-renderer\" contenteditable=\"false\"><div class=\"bn-block-content\" data-content-type=\"htmlEmbed\" data-source=\"&lt;h2&gt;核心概念&lt;/h2&gt;&lt;p&gt;从信号到&lt;strong&gt;频率&lt;/strong&gt;。&lt;/p&gt;\" data-node-view-wrapper=\"\" style=\"white-space: normal;\"><div contenteditable=\"false\" class=\"dt-note-html\"><div class=\"dt-note-block-label\"><span>HTML</span><button>Edit</button></div><iframe title=\"HTML preview\" sandbox=\"\" srcdoc=\"&lt;meta http-equiv=&quot;Content-Security-Policy&quot; content=&quot;default-src 'none'; img-src https: data:; style-src 'unsafe-inline';&quot;&gt;&lt;style&gt;body{font:15px system-ui;line-height:1.6;padding:16px;overflow-wrap:anywhere}&lt;/style&gt;&lt;h2&gt;核心概念&lt;/h2&gt;&lt;p&gt;从信号到&lt;strong&gt;频率&lt;/strong&gt;。&lt;/p&gt;\"></iframe></div></div></div></div></div>",
- "id": "html",
- "overflowX": false,
- "rect": {
- "bottom": 465.796875,
- "height": 397,
- "left": 374,
- "right": 1178,
- "top": 68.796875,
- "width": 804,
- "x": 374,
- "y": 68.796875
- },
- "text": "HTMLEdit"
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"9e7f4899-67a5-4b8b-a541-edb752a5c6c6\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"9e7f4899-67a5-4b8b-a541-edb752a5c6c6\"><div class=\"react-renderer node-tableOfContents bn-react-node-view-renderer\" contenteditable=\"false\"><div class=\"bn-block-content\" data-content-type=\"tableOfContents\" data-node-view-wrapper=\"\" style=\"white-space: normal;\"><nav class=\"dt-note-toc\" contenteditable=\"false\" aria-label=\"Table of contents\"><div class=\"dt-note-block-label\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15\" height=\"15\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-list-tree\" aria-hidden=\"true\"><path d=\"M8 5h13\"></path><path d=\"M13 12h8\"></path><path d=\"M13 19h8\"></path><path d=\"M3 10a2 2 0 0 0 2 2h3\"></path><path d=\"M3 5v12a2 2 0 0 0 2 2h3\"></path></svg>Table of contents</div><a href=\"#case-heading1\" style=\"padding-inline-start: 0px;\">一级标题 · 学习主题</a><a href=\"#case-heading2\" style=\"padding-inline-start: 14px;\">二级标题 · 核心概念</a><a href=\"#case-heading3\" style=\"padding-inline-start: 28px;\">三级标题 · 推导过程</a><a href=\"#case-heading4\" style=\"padding-inline-start: 42px;\">四级标题 · 补充说明</a><a href=\"#a3b4c8b4-3a75-488f-865b-ebe16f722f0c\" style=\"padding-inline-start: 0px;\">折叠标题 1</a><a href=\"#08b086ff-fe1d-4403-9624-5d6bbfcc8ca8\" style=\"padding-inline-start: 14px;\">折叠标题 2</a><a href=\"#91debd90-3abc-484c-be4c-49095a5df658\" style=\"padding-inline-start: 28px;\">折叠标题 3</a></nav></div></div></div></div>",
- "id": "toc",
- "overflowX": false,
- "rect": {
- "bottom": 655.5859375,
- "height": 262.7890625,
- "left": 374,
- "right": 1178,
- "top": 392.796875,
- "width": 804,
- "x": 374,
- "y": 392.796875
- },
- "text": "Table of contents一级标题 · 学习主题二级标题 · 核心概念三级标题 · 推导过程四级标题 · 补充说明折叠标题 1折叠标题 2折叠标题 3"
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"4cb49c37-65f9-4a54-a790-1675cd44102e\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"4cb49c37-65f9-4a54-a790-1675cd44102e\"><div class=\"react-renderer node-math bn-react-node-view-renderer\" contenteditable=\"false\"><div class=\"bn-block-content\" data-content-type=\"math\" data-formula=\"\\frac{a}{b} + x^2\" data-node-view-wrapper=\"\" style=\"white-space: normal;\"><div class=\"dt-note-math\" contenteditable=\"false\"><button><span class=\"dt-note-formula display\"><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\"><math xmlns=\"http://www.w3.org/1998/Math/MathML\" display=\"block\"><semantics><mrow><mfrac><mi>a</mi><mi>b</mi></mfrac><mo>+</mo><msup><mi>x</mi><mn>2</mn></msup></mrow><annotation encoding=\"application/x-tex\">\\frac{a}{b} + x^2</annotation></semantics></math></span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"base\"><span class=\"strut\" style=\"height:1.7936em;vertical-align:-0.686em;\"></span><span class=\"mord\"><span class=\"mopen nulldelimiter\"></span><span class=\"mfrac\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\" style=\"height:1.1076em;\"><span style=\"top:-2.314em;\"><span class=\"pstrut\" style=\"height:3em;\"></span><span class=\"mord\"><span class=\"mord mathnormal\">b</span></span></span><span style=\"top:-3.23em;\"><span class=\"pstrut\" style=\"height:3em;\"></span><span class=\"frac-line\" style=\"border-bottom-width:0.04em;\"></span></span><span style=\"top:-3.677em;\"><span class=\"pstrut\" style=\"height:3em;\"></span><span class=\"mord\"><span class=\"mord mathnormal\">a</span></span></span></span><span class=\"vlist-s\">​</span></span><span class=\"vlist-r\"><span class=\"vlist\" style=\"height:0.686em;\"><span></span></span></span></span></span><span class=\"mclose nulldelimiter\"></span></span><span class=\"mspace\" style=\"margin-right:0.2222em;\"></span><span class=\"mbin\">+</span><span class=\"mspace\" style=\"margin-right:0.2222em;\"></span></span><span class=\"base\"><span class=\"strut\" style=\"height:0.8641em;\"></span><span class=\"mord\"><span class=\"mord mathnormal\">x</span><span class=\"msupsub\"><span class=\"vlist-t\"><span class=\"vlist-r\"><span class=\"vlist\" style=\"height:0.8641em;\"><span style=\"top:-3.113em;margin-right:0.05em;\"><span class=\"pstrut\" style=\"height:2.7em;\"></span><span class=\"sizing reset-size6 size3 mtight\"><span class=\"mord mtight\">2</span></span></span></span></span></span></span></span></span></span></span></span></span></button></div></div></div></div></div>",
- "id": "math",
- "overflowX": false,
- "rect": {
- "bottom": 469.640625,
- "height": 76.5546875,
- "left": 374,
- "right": 1178,
- "top": 393.0859375,
- "width": 804,
- "x": 374,
- "y": 393.0859375
- },
- "text": "ab+x2\\frac{a}{b} + x^2ba​+x2"
- },
- {
- "html": "<div class=\"dt-note-toggle\" data-collapsed=\"true\"><button contenteditable=\"false\" aria-label=\"Expand\" aria-expanded=\"false\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"17\" height=\"17\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-chevron-right\" aria-hidden=\"true\"><path d=\"m9 18 6-6-6-6\"></path></svg></button><div class=\"dt-note-toggle-body\" data-node-view-content=\"\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit;\"><div class=\"react-renderer node-toggleHeading bn-react-node-view-renderer\"><div class=\"bn-block-content\" data-content-type=\"toggleHeading\" data-level=\"1\" data-collapsed=\"true\" data-node-view-wrapper=\"\" style=\"white-space: normal;\"><div role=\"heading\" aria-level=\"1\" class=\"bn-inline-content dt-note-toggle-title level-1\" data-node-view-content=\"\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit;\">折叠标题 1</div></div></div></div><div class=\"bn-block-group\" data-node-type=\"blockGroup\"><div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"b7c75192-9cbf-48f2-b9fc-adff472a28e3\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"b7c75192-9cbf-48f2-b9fc-adff472a28e3\"><div class=\"bn-block-content\" data-content-type=\"paragraph\"><p class=\"bn-inline-content\">隐藏的推导:先定义变量,再展开计算。</p></div></div></div></div></div></div></div>",
- "id": "toggle1",
- "overflowX": false,
- "rect": {
- "bottom": 410.640625,
- "height": 64,
- "left": 374,
- "right": 1178,
- "top": 346.640625,
- "width": 804,
- "x": 374,
- "y": 346.640625
- },
- "text": "折叠标题 1隐藏的推导:先定义变量,再展开计算。"
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"08b086ff-fe1d-4403-9624-5d6bbfcc8ca8\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"08b086ff-fe1d-4403-9624-5d6bbfcc8ca8\"><div class=\"react-renderer node-blockContainer bn-react-node-view-renderer bn-frame-node-view\"><div data-node-view-wrapper=\"\" style=\"white-space: normal; display: contents;\"><div class=\"dt-note-toggle\" data-collapsed=\"false\"><button contenteditable=\"false\" aria-label=\"Collapse\" aria-expanded=\"true\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"17\" height=\"17\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-chevron-right\" aria-hidden=\"true\"><path d=\"m9 18 6-6-6-6\"></path></svg></button><div class=\"dt-note-toggle-body\" data-node-view-content=\"\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit;\"><div class=\"react-renderer node-toggleHeading bn-react-node-view-renderer\"><div class=\"bn-block-content\" data-content-type=\"toggleHeading\" data-node-view-wrapper=\"\" style=\"white-space: normal;\"><div role=\"heading\" aria-level=\"2\" class=\"bn-inline-content dt-note-toggle-title level-2\" data-node-view-content=\"\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit;\">折叠标题 2</div></div></div></div><div class=\"bn-block-group\" data-node-type=\"blockGroup\"><div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"b9531af0-f99a-4667-8524-fb1c3ffd051c\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"b9531af0-f99a-4667-8524-fb1c3ffd051c\"><div class=\"bn-block-content\" data-content-type=\"paragraph\"><p class=\"bn-inline-content\"><br class=\"ProseMirror-trailingBreak\"></p></div></div></div></div></div></div></div></div></div></div></div>",
- "id": "toggle2",
- "overflowX": false,
- "rect": {
- "bottom": 478.140625,
- "height": 85,
- "left": 374,
- "right": 1178,
- "top": 393.140625,
- "width": 804,
- "x": 374,
- "y": 393.140625
- },
- "text": "折叠标题 2"
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"91debd90-3abc-484c-be4c-49095a5df658\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"91debd90-3abc-484c-be4c-49095a5df658\"><div class=\"react-renderer node-blockContainer bn-react-node-view-renderer bn-frame-node-view\"><div data-node-view-wrapper=\"\" style=\"white-space: normal; display: contents;\"><div class=\"dt-note-toggle\" data-collapsed=\"false\"><button contenteditable=\"false\" aria-label=\"Collapse\" aria-expanded=\"true\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"17\" height=\"17\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-chevron-right\" aria-hidden=\"true\"><path d=\"m9 18 6-6-6-6\"></path></svg></button><div class=\"dt-note-toggle-body\" data-node-view-content=\"\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit;\"><div class=\"react-renderer node-toggleHeading bn-react-node-view-renderer\"><div class=\"bn-block-content\" data-content-type=\"toggleHeading\" data-level=\"3\" data-node-view-wrapper=\"\" style=\"white-space: normal;\"><div role=\"heading\" aria-level=\"3\" class=\"bn-inline-content dt-note-toggle-title level-3\" data-node-view-content=\"\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit;\">折叠标题 3</div></div></div></div><div class=\"bn-block-group\" data-node-type=\"blockGroup\"><div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"7278d1fd-f877-476d-8455-9e45b469bca8\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"7278d1fd-f877-476d-8455-9e45b469bca8\"><div class=\"bn-block-content\" data-content-type=\"paragraph\"><p class=\"bn-inline-content\"><br class=\"ProseMirror-trailingBreak\"></p></div></div></div></div></div></div></div></div></div></div></div>",
- "id": "toggle3",
- "overflowX": false,
- "rect": {
- "bottom": 472.140625,
- "height": 79,
- "left": 374,
- "right": 1178,
- "top": 393.140625,
- "width": 804,
- "x": 374,
- "y": 393.140625
- },
- "text": "折叠标题 3"
- },
- {
- "html": "<div class=\"react-renderer node-noteColumns bn-react-node-view-renderer bn-frame-node-view\"><div data-node-view-wrapper=\"\" style=\"white-space: normal; display: contents;\"><div class=\"dt-note-columns\" data-node-view-content=\"\" data-frame-slot=\"\" data-node-type=\"noteColumns\" data-id=\"5d532ffa-484f-4696-a268-7746cff2fd2c\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit; display: contents;\"><div class=\"react-renderer node-noteColumn bn-react-node-view-renderer bn-frame-node-view\"><div data-node-view-wrapper=\"\" style=\"white-space: normal; display: contents;\"><div class=\"dt-note-column\" data-node-view-content=\"\" data-frame-slot=\"\" data-node-type=\"noteColumn\" data-id=\"d380b231-0ad5-494c-9f07-81b6db9ff690\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit; display: contents;\"><div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"68869f16-0383-4e59-a1fe-6103944f8531\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"68869f16-0383-4e59-a1fe-6103944f8531\"><div class=\"bn-block-content\" data-content-type=\"paragraph\"><p class=\"bn-inline-content\">第一列:核心概念</p></div></div></div></div></div></div></div><div class=\"react-renderer node-noteColumn bn-react-node-view-renderer bn-frame-node-view\"><div data-node-view-wrapper=\"\" style=\"white-space: normal; display: contents;\"><div class=\"dt-note-column\" data-node-view-content=\"\" data-frame-slot=\"\" data-node-type=\"noteColumn\" data-id=\"daf44d5e-6f35-49f7-b6b9-24130fd39d09\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit; display: contents;\"><div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"3683f1f1-1dff-4da7-ac6c-3227149f6a1f\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"3683f1f1-1dff-4da7-ac6c-3227149f6a1f\"><div class=\"bn-block-content\" data-content-type=\"paragraph\"><p class=\"bn-inline-content\">第二列:推导</p></div></div></div></div></div></div></div></div></div></div></div>",
- "id": "columns2",
- "overflowX": false,
- "rect": {
- "bottom": 455.140625,
- "height": 50,
- "left": 374,
- "right": 1178,
- "top": 405.140625,
- "width": 804,
- "x": 374,
- "y": 405.140625
- },
- "text": "第一列:核心概念第二列:推导"
- },
- {
- "html": "<div class=\"react-renderer node-noteColumns bn-react-node-view-renderer bn-frame-node-view\"><div data-node-view-wrapper=\"\" style=\"white-space: normal; display: contents;\"><div class=\"dt-note-columns\" data-node-view-content=\"\" data-frame-slot=\"\" data-node-type=\"noteColumns\" data-id=\"024dc7a0-ed18-4a57-aa28-94db25cb4ff5\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit; display: contents;\"><div class=\"react-renderer node-noteColumn bn-react-node-view-renderer bn-frame-node-view\"><div data-node-view-wrapper=\"\" style=\"white-space: normal; display: contents;\"><div class=\"dt-note-column\" data-node-view-content=\"\" data-frame-slot=\"\" data-node-type=\"noteColumn\" data-id=\"82da2834-f419-4c74-9921-9de5ebdbb75b\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit; display: contents;\"><div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"95b673c5-cc3e-4fb4-b637-5c2f0f648ef9\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"95b673c5-cc3e-4fb4-b637-5c2f0f648ef9\"><div class=\"bn-block-content\" data-content-type=\"paragraph\"><p class=\"bn-inline-content\">第一列:核心概念</p></div></div></div></div></div></div></div><div class=\"react-renderer node-noteColumn bn-react-node-view-renderer bn-frame-node-view\"><div data-node-view-wrapper=\"\" style=\"white-space: normal; display: contents;\"><div class=\"dt-note-column\" data-node-view-content=\"\" data-frame-slot=\"\" data-node-type=\"noteColumn\" data-id=\"d1c652b9-cbd5-484f-ac5e-0bb25664c68e\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit; display: contents;\"><div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"a00cd7c6-f0d7-4177-95f9-9af0b650fbc1\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"a00cd7c6-f0d7-4177-95f9-9af0b650fbc1\"><div class=\"bn-block-content\" data-content-type=\"paragraph\"><p class=\"bn-inline-content\">第二列:推导</p></div></div></div></div></div></div></div><div class=\"react-renderer node-noteColumn bn-react-node-view-renderer bn-frame-node-view\"><div data-node-view-wrapper=\"\" style=\"white-space: normal; display: contents;\"><div class=\"dt-note-column\" data-node-view-content=\"\" data-frame-slot=\"\" data-node-type=\"noteColumn\" data-id=\"c82793e9-a7d7-465b-9862-e2e093306a37\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit; display: contents;\"><div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"b40f4ebc-8884-4549-b1c9-d98d84a29cd1\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"b40f4ebc-8884-4549-b1c9-d98d84a29cd1\"><div class=\"bn-block-content\" data-content-type=\"paragraph\"><p class=\"bn-inline-content\">第三列:例题</p></div></div></div></div></div></div></div></div></div></div></div>",
- "id": "columns3",
- "overflowX": false,
- "rect": {
- "bottom": 455.140625,
- "height": 50,
- "left": 374,
- "right": 1178,
- "top": 405.140625,
- "width": 804,
- "x": 374,
- "y": 405.140625
- },
- "text": "第一列:核心概念第二列:推导第三列:例题"
- },
- {
- "html": "<div class=\"react-renderer node-noteColumns bn-react-node-view-renderer bn-frame-node-view\"><div data-node-view-wrapper=\"\" style=\"white-space: normal; display: contents;\"><div class=\"dt-note-columns\" data-node-view-content=\"\" data-frame-slot=\"\" data-node-type=\"noteColumns\" data-id=\"c9c1817e-5935-4259-8c5e-f21e3351844d\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit; display: contents;\"><div class=\"react-renderer node-noteColumn bn-react-node-view-renderer bn-frame-node-view\"><div data-node-view-wrapper=\"\" style=\"white-space: normal; display: contents;\"><div class=\"dt-note-column\" data-node-view-content=\"\" data-frame-slot=\"\" data-node-type=\"noteColumn\" data-id=\"e38eb32a-e57a-489a-a316-18eb46d4f8f9\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit; display: contents;\"><div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"e6a3ad1d-c2c0-4369-9f6a-ab9d8d4e0dda\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"e6a3ad1d-c2c0-4369-9f6a-ab9d8d4e0dda\"><div class=\"bn-block-content\" data-content-type=\"paragraph\"><p class=\"bn-inline-content\">第一列:核心概念</p></div></div></div></div></div></div></div><div class=\"react-renderer node-noteColumn bn-react-node-view-renderer bn-frame-node-view\"><div data-node-view-wrapper=\"\" style=\"white-space: normal; display: contents;\"><div class=\"dt-note-column\" data-node-view-content=\"\" data-frame-slot=\"\" data-node-type=\"noteColumn\" data-id=\"26041ffa-4bfc-4c85-923c-edadbfa182f5\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit; display: contents;\"><div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"003e3900-8ce5-40e7-8187-eb233d53c580\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"003e3900-8ce5-40e7-8187-eb233d53c580\"><div class=\"bn-block-content\" data-content-type=\"paragraph\"><p class=\"bn-inline-content\">第二列:推导</p></div></div></div></div></div></div></div><div class=\"react-renderer node-noteColumn bn-react-node-view-renderer bn-frame-node-view\"><div data-node-view-wrapper=\"\" style=\"white-space: normal; display: contents;\"><div class=\"dt-note-column\" data-node-view-content=\"\" data-frame-slot=\"\" data-node-type=\"noteColumn\" data-id=\"797d9d6a-a3a8-4844-b2e2-ce46d1cbae03\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit; display: contents;\"><div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"1e1d87df-8a95-4b10-8398-a6900b2d6555\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"1e1d87df-8a95-4b10-8398-a6900b2d6555\"><div class=\"bn-block-content\" data-content-type=\"paragraph\"><p class=\"bn-inline-content\">第三列:例题</p></div></div></div></div></div></div></div><div class=\"react-renderer node-noteColumn bn-react-node-view-renderer bn-frame-node-view\"><div data-node-view-wrapper=\"\" style=\"white-space: normal; display: contents;\"><div class=\"dt-note-column\" data-node-view-content=\"\" data-frame-slot=\"\" data-node-type=\"noteColumn\" data-id=\"3b6ac6fb-15f6-4c1a-a5c0-49dd9c5e6f7e\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit; display: contents;\"><div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"a3e82fb2-c5d2-4948-a942-fd464d1e17cd\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"a3e82fb2-c5d2-4948-a942-fd464d1e17cd\"><div class=\"bn-block-content\" data-content-type=\"paragraph\"><p class=\"bn-inline-content\">第四列:练习</p></div></div></div></div></div></div></div></div></div></div></div>",
- "id": "columns4",
- "overflowX": false,
- "rect": {
- "bottom": 455.140625,
- "height": 50,
- "left": 374,
- "right": 1178,
- "top": 405.140625,
- "width": 804,
- "x": 374,
- "y": 405.140625
- },
- "text": "第一列:核心概念第二列:推导第三列:例题第四列:练习"
- },
- {
- "html": "<div class=\"react-renderer node-noteColumns bn-react-node-view-renderer bn-frame-node-view\"><div data-node-view-wrapper=\"\" style=\"white-space: normal; display: contents;\"><div class=\"dt-note-columns\" data-node-view-content=\"\" data-frame-slot=\"\" data-node-type=\"noteColumns\" data-id=\"18549e5b-219b-4914-b299-222992d6f27b\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit; display: contents;\"><div class=\"react-renderer node-noteColumn bn-react-node-view-renderer bn-frame-node-view\"><div data-node-view-wrapper=\"\" style=\"white-space: normal; display: contents;\"><div class=\"dt-note-column\" data-node-view-content=\"\" data-frame-slot=\"\" data-node-type=\"noteColumn\" data-id=\"6bcc1d4a-15c5-48a4-af1b-febc73ee3c51\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit; display: contents;\"><div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"05fad9e3-fb78-48f2-ad1b-03cbf1ce19ba\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"05fad9e3-fb78-48f2-ad1b-03cbf1ce19ba\"><div class=\"bn-block-content\" data-content-type=\"paragraph\"><p class=\"bn-inline-content\">第一列:核心概念</p></div></div></div></div></div></div></div><div class=\"react-renderer node-noteColumn bn-react-node-view-renderer bn-frame-node-view\"><div data-node-view-wrapper=\"\" style=\"white-space: normal; display: contents;\"><div class=\"dt-note-column\" data-node-view-content=\"\" data-frame-slot=\"\" data-node-type=\"noteColumn\" data-id=\"e5d8b78d-676b-405f-a8ca-728d3a8abf48\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit; display: contents;\"><div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"41e6d0e9-18a4-410c-b419-f61e3df99fab\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"41e6d0e9-18a4-410c-b419-f61e3df99fab\"><div class=\"bn-block-content\" data-content-type=\"paragraph\"><p class=\"bn-inline-content\">第二列:推导</p></div></div></div></div></div></div></div><div class=\"react-renderer node-noteColumn bn-react-node-view-renderer bn-frame-node-view\"><div data-node-view-wrapper=\"\" style=\"white-space: normal; display: contents;\"><div class=\"dt-note-column\" data-node-view-content=\"\" data-frame-slot=\"\" data-node-type=\"noteColumn\" data-id=\"b030394e-f9e4-4939-85b6-914ec66f49eb\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit; display: contents;\"><div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"1fcd5ffb-bb77-4547-a074-29e182db9c9c\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"1fcd5ffb-bb77-4547-a074-29e182db9c9c\"><div class=\"bn-block-content\" data-content-type=\"paragraph\"><p class=\"bn-inline-content\">第三列:例题</p></div></div></div></div></div></div></div><div class=\"react-renderer node-noteColumn bn-react-node-view-renderer bn-frame-node-view\"><div data-node-view-wrapper=\"\" style=\"white-space: normal; display: contents;\"><div class=\"dt-note-column\" data-node-view-content=\"\" data-frame-slot=\"\" data-node-type=\"noteColumn\" data-id=\"20ed2a80-2736-4cf3-9eed-319ad3baf064\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit; display: contents;\"><div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"480b5104-8f78-4363-8713-5e1aff50ee5b\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"480b5104-8f78-4363-8713-5e1aff50ee5b\"><div class=\"bn-block-content\" data-content-type=\"paragraph\"><p class=\"bn-inline-content\">第四列:练习</p></div></div></div></div></div></div></div><div class=\"react-renderer node-noteColumn bn-react-node-view-renderer bn-frame-node-view\"><div data-node-view-wrapper=\"\" style=\"white-space: normal; display: contents;\"><div class=\"dt-note-column\" data-node-view-content=\"\" data-frame-slot=\"\" data-node-type=\"noteColumn\" data-id=\"b93963ba-2f93-4af2-8c7a-745e981a22be\"><div data-node-view-content-react=\"\" data-node-view-wrapper=\"\" style=\"white-space: inherit; display: contents;\"><div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"0a72a73c-e2b4-46a5-bd92-437fba4de5cb\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"0a72a73c-e2b4-46a5-bd92-437fba4de5cb\"><div class=\"bn-block-content\" data-content-type=\"paragraph\"><p class=\"bn-inline-content\">第五列:总结</p></div></div></div></div></div></div></div></div></div></div></div>",
- "id": "columns5",
- "overflowX": false,
- "rect": {
- "bottom": 455.140625,
- "height": 50,
- "left": 374,
- "right": 1178,
- "top": 405.140625,
- "width": 804,
- "x": 374,
- "y": 405.140625
- },
- "text": "第一列:核心概念第二列:推导第三列:例题第四列:练习第五列:总结"
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"case-date\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"case-date\"><div class=\"bn-block-content\" data-content-type=\"paragraph\"><p class=\"bn-inline-content\"><img class=\"ProseMirror-separator\" alt=\"\"><span class=\"react-renderer node-noteDate bn-ic-react-node-view-renderer\" contenteditable=\"false\"><span as=\"span\" class=\"bn-inline-content-section\" data-inline-content-type=\"noteDate\" data-date=\"2026-10-20\" data-node-view-wrapper=\"\" style=\"white-space: normal;\"><input class=\"dt-note-date\" contenteditable=\"false\" aria-label=\"Date\" type=\"date\" value=\"2026-10-20\"></span></span> </p></div></div></div>",
- "id": "date",
- "overflowX": false,
- "rect": {
- "bottom": 422.140625,
- "height": 29,
- "left": 374,
- "right": 1178,
- "top": 393.140625,
- "width": 804,
- "x": 374,
- "y": 393.140625
- },
- "text": " "
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"case-inlineMath\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"case-inlineMath\"><div class=\"bn-block-content\" data-content-type=\"paragraph\"><p class=\"bn-inline-content\"><img class=\"ProseMirror-separator\" alt=\"\"><span class=\"react-renderer node-inlineMath bn-ic-react-node-view-renderer\" contenteditable=\"false\"><span as=\"span\" class=\"bn-inline-content-section\" data-inline-content-type=\"inlineMath\" data-formula=\"E=mc^2\" data-node-view-wrapper=\"\" style=\"white-space: normal;\"><span contenteditable=\"false\" class=\"dt-note-inline-math\"><button><span class=\"dt-note-formula\"><span class=\"katex\"><span class=\"katex-mathml\"><math xmlns=\"http://www.w3.org/1998/Math/MathML\"><semantics><mrow><mi>E</mi><mo>=</mo><mi>m</mi><msup><mi>c</mi><mn>2</mn></msup></mrow><annotation encoding=\"application/x-tex\">E=mc^2</annotation></semantics></math></span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"base\"><span class=\"strut\" style=\"height:0.6833em;\"></span><span class=\"mord mathnormal\" style=\"margin-right:0.05764em;\">E</span><span class=\"mspace\" style=\"margin-right:0.2778em;\"></span><span class=\"mrel\">=</span><span class=\"mspace\" style=\"margin-right:0.2778em;\"></span></span><span class=\"base\"><span class=\"strut\" style=\"height:0.8141em;\"></span><span class=\"mord mathnormal\">m</span><span class=\"mord\"><span class=\"mord mathnormal\">c</span><span class=\"msupsub\"><span class=\"vlist-t\"><span class=\"vlist-r\"><span class=\"vlist\" style=\"height:0.8141em;\"><span style=\"top:-3.063em;margin-right:0.05em;\"><span class=\"pstrut\" style=\"height:2.7em;\"></span><span class=\"sizing reset-size6 size3 mtight\"><span class=\"mord mtight\">2</span></span></span></span></span></span></span></span></span></span></span></span></button></span></span></span> </p></div></div></div>",
- "id": "inlineMath",
- "overflowX": false,
- "rect": {
- "bottom": 421.640625,
- "height": 28.5,
- "left": 374,
- "right": 1178,
- "top": 393.140625,
- "width": 804,
- "x": 374,
- "y": 393.140625
- },
- "text": "E=mc2E=mc^2E=mc2 "
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"7356c536-b6ef-4afd-b802-830a4c8d963b\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"7356c536-b6ef-4afd-b802-830a4c8d963b\"><div class=\"react-renderer node-taskView bn-react-node-view-renderer\" contenteditable=\"false\"><div class=\"bn-block-content\" data-content-type=\"taskView\" data-node-view-wrapper=\"\" style=\"white-space: normal;\"><div contenteditable=\"false\" class=\"dt-note-data-view\"><section><header><strong>Workspace tasks</strong><div role=\"tablist\" aria-label=\"Task view\"><button role=\"tab\" aria-selected=\"true\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-table2 lucide-table-2\" aria-hidden=\"true\"><path d=\"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18\"></path></svg>Table</button><button role=\"tab\" aria-selected=\"false\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-columns3 lucide-columns-3\" aria-hidden=\"true\"><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"></rect><path d=\"M9 3v18\"></path><path d=\"M15 3v18\"></path></svg>Board</button><button role=\"tab\" aria-selected=\"false\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-list\" aria-hidden=\"true\"><path d=\"M3 5h.01\"></path><path d=\"M3 12h.01\"></path><path d=\"M3 19h.01\"></path><path d=\"M8 5h13\"></path><path d=\"M8 12h13\"></path><path d=\"M8 19h13\"></path></svg>List</button></div></header><label class=\"dt-note-view-search\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-search\" aria-hidden=\"true\"><path d=\"m21 21-4.34-4.34\"></path><circle cx=\"11\" cy=\"11\" r=\"8\"></circle></svg><input aria-label=\"Search tasks\" placeholder=\"Search tasks\" value=\"\"></label><div class=\"dt-note-table-scroll\"><table><thead><tr><th>Task</th><th>Status</th><th>Due date</th></tr></thead><tbody><tr><td>复习傅里叶变换</td><td><select aria-label=\"Status: 复习傅里叶变换\"><option value=\"todo\">To do</option><option value=\"doing\">In progress</option><option value=\"done\">Done</option></select></td><td><input aria-label=\"Due date: 复习傅里叶变换\" type=\"date\" value=\"\"></td></tr></tbody></table></div><form class=\"dt-note-new-task\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15\" height=\"15\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-plus\" aria-hidden=\"true\"><path d=\"M5 12h14\"></path><path d=\"M12 5v14\"></path></svg><input aria-label=\"New task\" placeholder=\"New task\" value=\"\"><button disabled=\"\">Add</button></form></section></div></div></div></div></div>",
- "id": "taskTable",
- "overflowX": false,
- "rect": {
- "bottom": 610.640625,
- "height": 217.5,
- "left": 374,
- "right": 1178,
- "top": 393.140625,
- "width": 804,
- "x": 374,
- "y": 393.140625
- },
- "text": "Workspace tasksTableBoardListTaskStatusDue date复习傅里叶变换To doIn progressDoneAdd"
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"185d1c84-deea-4e70-a334-a40e0b281c20\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"185d1c84-deea-4e70-a334-a40e0b281c20\"><div class=\"react-renderer node-taskView bn-react-node-view-renderer\" contenteditable=\"false\"><div class=\"bn-block-content\" data-content-type=\"taskView\" data-view=\"board\" data-node-view-wrapper=\"\" style=\"white-space: normal;\"><div contenteditable=\"false\" class=\"dt-note-data-view\"><section><header><strong>Workspace tasks</strong><div role=\"tablist\" aria-label=\"Task view\"><button role=\"tab\" aria-selected=\"false\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-table2 lucide-table-2\" aria-hidden=\"true\"><path d=\"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18\"></path></svg>Table</button><button role=\"tab\" aria-selected=\"true\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-columns3 lucide-columns-3\" aria-hidden=\"true\"><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"></rect><path d=\"M9 3v18\"></path><path d=\"M15 3v18\"></path></svg>Board</button><button role=\"tab\" aria-selected=\"false\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-list\" aria-hidden=\"true\"><path d=\"M3 5h.01\"></path><path d=\"M3 12h.01\"></path><path d=\"M3 19h.01\"></path><path d=\"M8 5h13\"></path><path d=\"M8 12h13\"></path><path d=\"M8 19h13\"></path></svg>List</button></div></header><label class=\"dt-note-view-search\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-search\" aria-hidden=\"true\"><path d=\"m21 21-4.34-4.34\"></path><circle cx=\"11\" cy=\"11\" r=\"8\"></circle></svg><input aria-label=\"Search tasks\" placeholder=\"Search tasks\" value=\"\"></label><div class=\"dt-note-task-columns\"><div><h4>To do<span>0</span></h4></div><div><h4>In progress<span>0</span></h4></div><div><h4>Done<span>1</span></h4><article><p>复习傅里叶变换</p><select aria-label=\"Status: 复习傅里叶变换\"><option value=\"todo\">To do</option><option value=\"doing\">In progress</option><option value=\"done\">Done</option></select></article></div></div><form class=\"dt-note-new-task\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15\" height=\"15\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-plus\" aria-hidden=\"true\"><path d=\"M5 12h14\"></path><path d=\"M12 5v14\"></path></svg><input aria-label=\"New task\" placeholder=\"New task\" value=\"\"><button disabled=\"\">Add</button></form></section></div></div></div></div></div>",
- "id": "taskBoard",
- "overflowX": false,
- "rect": {
- "bottom": 673.640625,
- "height": 280.5,
- "left": 374,
- "right": 1178,
- "top": 393.140625,
- "width": 804,
- "x": 374,
- "y": 393.140625
- },
- "text": "Workspace tasksTableBoardListTo do0In progress0Done1复习傅里叶变换To doIn progressDoneAdd"
- },
- {
- "html": "<div class=\"bn-block-outer\" data-node-type=\"blockOuter\" data-id=\"0e25430d-f802-4db6-b3eb-8c20dbff265c\"><div class=\"bn-block\" data-node-type=\"blockContainer\" data-id=\"0e25430d-f802-4db6-b3eb-8c20dbff265c\"><div class=\"react-renderer node-taskView bn-react-node-view-renderer\" contenteditable=\"false\"><div class=\"bn-block-content\" data-content-type=\"taskView\" data-view=\"list\" data-node-view-wrapper=\"\" style=\"white-space: normal;\"><div contenteditable=\"false\" class=\"dt-note-data-view\"><section><header><strong>Workspace tasks</strong><div role=\"tablist\" aria-label=\"Task view\"><button role=\"tab\" aria-selected=\"false\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-table2 lucide-table-2\" aria-hidden=\"true\"><path d=\"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18\"></path></svg>Table</button><button role=\"tab\" aria-selected=\"false\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-columns3 lucide-columns-3\" aria-hidden=\"true\"><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"></rect><path d=\"M9 3v18\"></path><path d=\"M15 3v18\"></path></svg>Board</button><button role=\"tab\" aria-selected=\"true\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-list\" aria-hidden=\"true\"><path d=\"M3 5h.01\"></path><path d=\"M3 12h.01\"></path><path d=\"M3 19h.01\"></path><path d=\"M8 5h13\"></path><path d=\"M8 12h13\"></path><path d=\"M8 19h13\"></path></svg>List</button></div></header><label class=\"dt-note-view-search\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-search\" aria-hidden=\"true\"><path d=\"m21 21-4.34-4.34\"></path><circle cx=\"11\" cy=\"11\" r=\"8\"></circle></svg><input aria-label=\"Search tasks\" placeholder=\"Search tasks\" value=\"\"></label><div class=\"dt-note-task-list\"><label><input type=\"checkbox\" checked=\"\"><span>复习傅里叶变换</span><small></small></label></div><form class=\"dt-note-new-task\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15\" height=\"15\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-plus\" aria-hidden=\"true\"><path d=\"M5 12h14\"></path><path d=\"M12 5v14\"></path></svg><input aria-label=\"New task\" placeholder=\"New task\" value=\"\"><button disabled=\"\">Add</button></form></section></div></div></div></div></div>",
- "id": "taskList",
- "overflowX": false,
- "rect": {
- "bottom": 576.140625,
- "height": 183,
- "left": 374,
- "right": 1178,
- "top": 393.140625,
- "width": 804,
- "x": 374,
- "y": 393.140625
- },
- "text": "Workspace tasksTableBoardList复习傅里叶变换Add"
- }
-]
diff --git a/artifacts/notes/block-audit/insertions-contact-1.jpg b/artifacts/notes/block-audit/insertions-contact-1.jpg
deleted file mode 100644
index 8279a2120..000000000
Binary files a/artifacts/notes/block-audit/insertions-contact-1.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insertions-contact-2.jpg b/artifacts/notes/block-audit/insertions-contact-2.jpg
deleted file mode 100644
index 65931711f..000000000
Binary files a/artifacts/notes/block-audit/insertions-contact-2.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insertions-contact-3.jpg b/artifacts/notes/block-audit/insertions-contact-3.jpg
deleted file mode 100644
index 483437d4f..000000000
Binary files a/artifacts/notes/block-audit/insertions-contact-3.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/insertions-contact-4.jpg b/artifacts/notes/block-audit/insertions-contact-4.jpg
deleted file mode 100644
index 0580eda34..000000000
Binary files a/artifacts/notes/block-audit/insertions-contact-4.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/mobile-320-check.json b/artifacts/notes/block-audit/mobile-320-check.json
deleted file mode 100644
index b5122fc2a..000000000
--- a/artifacts/notes/block-audit/mobile-320-check.json
+++ /dev/null
@@ -1 +0,0 @@
-{"previewHeight":98,"previewScrollable":true,"selectedFullyVisible":true}
diff --git a/artifacts/notes/block-audit/mobile-320.jpg b/artifacts/notes/block-audit/mobile-320.jpg
deleted file mode 100644
index 5c44debb4..000000000
Binary files a/artifacts/notes/block-audit/mobile-320.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/mobile-columns.jpg b/artifacts/notes/block-audit/mobile-columns.jpg
deleted file mode 100644
index 2f68cea4c..000000000
Binary files a/artifacts/notes/block-audit/mobile-columns.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/mobile-columns_5.jpg b/artifacts/notes/block-audit/mobile-columns_5.jpg
deleted file mode 100644
index 3387bfa7b..000000000
Binary files a/artifacts/notes/block-audit/mobile-columns_5.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/mobile-flashcards.jpg b/artifacts/notes/block-audit/mobile-flashcards.jpg
deleted file mode 100644
index 62cc9d8b2..000000000
Binary files a/artifacts/notes/block-audit/mobile-flashcards.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/mobile-inlineMath.jpg b/artifacts/notes/block-audit/mobile-inlineMath.jpg
deleted file mode 100644
index fd4a4166d..000000000
Binary files a/artifacts/notes/block-audit/mobile-inlineMath.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/mobile-math.jpg b/artifacts/notes/block-audit/mobile-math.jpg
deleted file mode 100644
index 1c0a904ef..000000000
Binary files a/artifacts/notes/block-audit/mobile-math.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/mobile-pageLink.jpg b/artifacts/notes/block-audit/mobile-pageLink.jpg
deleted file mode 100644
index 4263fa5af..000000000
Binary files a/artifacts/notes/block-audit/mobile-pageLink.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/mobile-quiz.jpg b/artifacts/notes/block-audit/mobile-quiz.jpg
deleted file mode 100644
index 77a7ea751..000000000
Binary files a/artifacts/notes/block-audit/mobile-quiz.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/mobile-timeline.jpg b/artifacts/notes/block-audit/mobile-timeline.jpg
deleted file mode 100644
index 6772350c2..000000000
Binary files a/artifacts/notes/block-audit/mobile-timeline.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/narrow-checks.json b/artifacts/notes/block-audit/narrow-checks.json
deleted file mode 100644
index 62777213a..000000000
--- a/artifacts/notes/block-audit/narrow-checks.json
+++ /dev/null
@@ -1,752 +0,0 @@
-[
- {
- "kind": "ai",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 145.7890625,
- "left": 47,
- "right": 345,
- "top": 644.1015625,
- "width": 298,
- "x": 47,
- "y": 644.1015625
- }
- },
- {
- "kind": "source",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 113,
- "left": 47,
- "right": 345,
- "top": 676.890625,
- "width": 298,
- "x": 47,
- "y": 676.890625
- }
- },
- {
- "kind": "favorite",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 128.7890625,
- "left": 47,
- "right": 345,
- "top": 661.1015625,
- "width": 298,
- "x": 47,
- "y": 661.1015625
- }
- },
- {
- "kind": "paragraph",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 113,
- "left": 47,
- "right": 345,
- "top": 676.890625,
- "width": 298,
- "x": 47,
- "y": 676.890625
- }
- },
- {
- "kind": "heading",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 120.6953125,
- "left": 47,
- "right": 345,
- "top": 669.1953125,
- "width": 298,
- "x": 47,
- "y": 669.1953125
- }
- },
- {
- "kind": "heading_2",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 115.4921875,
- "left": 47,
- "right": 345,
- "top": 674.3984375,
- "width": 298,
- "x": 47,
- "y": 674.3984375
- }
- },
- {
- "kind": "heading_3",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 113,
- "left": 47,
- "right": 345,
- "top": 676.890625,
- "width": 298,
- "x": 47,
- "y": 676.890625
- }
- },
- {
- "kind": "heading_4",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 113,
- "left": 47,
- "right": 345,
- "top": 676.890625,
- "width": 298,
- "x": 47,
- "y": 676.890625
- }
- },
- {
- "kind": "bullet_list",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 125.78125,
- "left": 47,
- "right": 345,
- "top": 664.109375,
- "width": 298,
- "x": 47,
- "y": 664.109375
- }
- },
- {
- "kind": "numbered_list",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 125.78125,
- "left": 47,
- "right": 345,
- "top": 664.109375,
- "width": 298,
- "x": 47,
- "y": 664.109375
- }
- },
- {
- "kind": "check_list",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 114.390625,
- "left": 47,
- "right": 345,
- "top": 675.5,
- "width": 298,
- "x": 47,
- "y": 675.5
- }
- },
- {
- "kind": "toggle_list",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 126.5859375,
- "left": 47,
- "right": 345,
- "top": 663.3046875,
- "width": 298,
- "x": 47,
- "y": 663.3046875
- }
- },
- {
- "kind": "quote",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 113,
- "left": 47,
- "right": 345,
- "top": 676.890625,
- "width": 298,
- "x": 47,
- "y": 676.890625
- }
- },
- {
- "kind": "table",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 137,
- "left": 47,
- "right": 345,
- "top": 652.890625,
- "width": 298,
- "x": 47,
- "y": 652.890625
- }
- },
- {
- "kind": "divider",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 116.390625,
- "left": 47,
- "right": 345,
- "top": 673.5,
- "width": 298,
- "x": 47,
- "y": 673.5
- }
- },
- {
- "kind": "code_block",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 130.1953125,
- "left": 47,
- "right": 345,
- "top": 659.6953125,
- "width": 298,
- "x": 47,
- "y": 659.6953125
- }
- },
- {
- "kind": "callout",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 113,
- "left": 47,
- "right": 345,
- "top": 676.890625,
- "width": 298,
- "x": 47,
- "y": 676.890625
- }
- },
- {
- "kind": "pageLink",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 113,
- "left": 47,
- "right": 345,
- "top": 676.890625,
- "width": 298,
- "x": 47,
- "y": 676.890625
- }
- },
- {
- "kind": "image",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 155,
- "left": 47,
- "right": 345,
- "top": 634.890625,
- "width": 298,
- "x": 47,
- "y": 634.890625
- }
- },
- {
- "kind": "video",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 180.3984375,
- "left": 47,
- "right": 345,
- "top": 609.4921875,
- "width": 298,
- "x": 47,
- "y": 609.4921875
- }
- },
- {
- "kind": "audio",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 115.1953125,
- "left": 47,
- "right": 345,
- "top": 674.6953125,
- "width": 298,
- "x": 47,
- "y": 674.6953125
- }
- },
- {
- "kind": "file",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 113,
- "left": 47,
- "right": 345,
- "top": 676.890625,
- "width": 298,
- "x": 47,
- "y": 676.890625
- }
- },
- {
- "kind": "bookmark",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 148.7890625,
- "left": 47,
- "right": 345,
- "top": 641.1015625,
- "width": 298,
- "x": 47,
- "y": 641.1015625
- }
- },
- {
- "kind": "embed",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 223,
- "left": 47,
- "right": 345,
- "top": 566.890625,
- "width": 298,
- "x": 47,
- "y": 566.890625
- }
- },
- {
- "kind": "htmlEmbed",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 182.984375,
- "left": 47,
- "right": 345,
- "top": 606.90625,
- "width": 298,
- "x": 47,
- "y": 606.90625
- }
- },
- {
- "kind": "task_table",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 141,
- "left": 47,
- "right": 345,
- "top": 648.890625,
- "width": 298,
- "x": 47,
- "y": 648.890625
- }
- },
- {
- "kind": "task_board",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 128.1953125,
- "left": 47,
- "right": 345,
- "top": 661.6953125,
- "width": 298,
- "x": 47,
- "y": 661.6953125
- }
- },
- {
- "kind": "task_list",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 135.390625,
- "left": 47,
- "right": 345,
- "top": 654.5,
- "width": 298,
- "x": 47,
- "y": 654.5
- }
- },
- {
- "kind": "toc",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 147.9765625,
- "left": 47,
- "right": 345,
- "top": 641.9140625,
- "width": 298,
- "x": 47,
- "y": 641.9140625
- }
- },
- {
- "kind": "math",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 113,
- "left": 47,
- "right": 345,
- "top": 676.890625,
- "width": 298,
- "x": 47,
- "y": 676.890625
- }
- },
- {
- "kind": "toggle_heading_1",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 139.890625,
- "left": 47,
- "right": 345,
- "top": 650,
- "width": 298,
- "x": 47,
- "y": 650
- }
- },
- {
- "kind": "toggle_heading_2",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 134.6875,
- "left": 47,
- "right": 345,
- "top": 655.203125,
- "width": 298,
- "x": 47,
- "y": 655.203125
- }
- },
- {
- "kind": "toggle_heading_3",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 130.7890625,
- "left": 47,
- "right": 345,
- "top": 659.1015625,
- "width": 298,
- "x": 47,
- "y": 659.1015625
- }
- },
- {
- "kind": "columns_2",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 131,
- "left": 47,
- "right": 345,
- "top": 658.890625,
- "width": 298,
- "x": 47,
- "y": 658.890625
- }
- },
- {
- "kind": "columns_3",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 131,
- "left": 47,
- "right": 345,
- "top": 658.890625,
- "width": 298,
- "x": 47,
- "y": 658.890625
- }
- },
- {
- "kind": "columns_4",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 131,
- "left": 47,
- "right": 345,
- "top": 658.890625,
- "width": 298,
- "x": 47,
- "y": 658.890625
- }
- },
- {
- "kind": "columns_5",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 131,
- "left": 47,
- "right": 345,
- "top": 658.890625,
- "width": 298,
- "x": 47,
- "y": 658.890625
- }
- },
- {
- "kind": "date",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 113,
- "left": 47,
- "right": 345,
- "top": 676.890625,
- "width": 298,
- "x": 47,
- "y": 676.890625
- }
- },
- {
- "kind": "inlineMath",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 113,
- "left": 47,
- "right": 345,
- "top": 676.890625,
- "width": 298,
- "x": 47,
- "y": 676.890625
- }
- },
- {
- "kind": "mermaid",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 177,
- "left": 47,
- "right": 345,
- "top": 612.890625,
- "width": 298,
- "x": 47,
- "y": 612.890625
- }
- },
- {
- "kind": "quiz",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 161.59375,
- "left": 47,
- "right": 345,
- "top": 628.296875,
- "width": 298,
- "x": 47,
- "y": 628.296875
- }
- },
- {
- "kind": "flashcards",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 165.1953125,
- "left": 47,
- "right": 345,
- "top": 624.6953125,
- "width": 298,
- "x": 47,
- "y": 624.6953125
- }
- },
- {
- "kind": "timeline",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 194.5859375,
- "left": 47,
- "right": 345,
- "top": 595.3046875,
- "width": 298,
- "x": 47,
- "y": 595.3046875
- }
- },
- {
- "kind": "research",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 135.7890625,
- "left": 47,
- "right": 345,
- "top": 654.1015625,
- "width": 298,
- "x": 47,
- "y": 654.1015625
- }
- },
- {
- "kind": "task",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 164.5859375,
- "left": 47,
- "right": 345,
- "top": 625.3046875,
- "width": 298,
- "x": 47,
- "y": 625.3046875
- }
- },
- {
- "kind": "animation",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 167.59375,
- "left": 47,
- "right": 345,
- "top": 622.296875,
- "width": 298,
- "x": 47,
- "y": 622.296875
- }
- },
- {
- "kind": "concept_map",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 138.59375,
- "left": 47,
- "right": 345,
- "top": 651.296875,
- "width": 298,
- "x": 47,
- "y": 651.296875
- }
- },
- {
- "kind": "geogebra",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 176,
- "left": 47,
- "right": 345,
- "top": 613.890625,
- "width": 298,
- "x": 47,
- "y": 613.890625
- }
- },
- {
- "kind": "generated_image",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 178,
- "left": 47,
- "right": 345,
- "top": 611.890625,
- "width": 298,
- "x": 47,
- "y": 611.890625
- }
- },
- {
- "kind": "podcast",
- "overflowX": false,
- "overflowY": false,
- "rect": {
- "bottom": 789.890625,
- "height": 162.1953125,
- "left": 47,
- "right": 345,
- "top": 627.6953125,
- "width": 298,
- "x": 47,
- "y": 627.6953125
- }
- }
-]
diff --git a/artifacts/notes/block-audit/preview-00-ai.jpg b/artifacts/notes/block-audit/preview-00-ai.jpg
deleted file mode 100644
index f87cb2571..000000000
Binary files a/artifacts/notes/block-audit/preview-00-ai.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-01-source.jpg b/artifacts/notes/block-audit/preview-01-source.jpg
deleted file mode 100644
index 682e1244d..000000000
Binary files a/artifacts/notes/block-audit/preview-01-source.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-02-favorite.jpg b/artifacts/notes/block-audit/preview-02-favorite.jpg
deleted file mode 100644
index 6f5efd19c..000000000
Binary files a/artifacts/notes/block-audit/preview-02-favorite.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-03-paragraph.jpg b/artifacts/notes/block-audit/preview-03-paragraph.jpg
deleted file mode 100644
index a52d920cc..000000000
Binary files a/artifacts/notes/block-audit/preview-03-paragraph.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-04-heading.jpg b/artifacts/notes/block-audit/preview-04-heading.jpg
deleted file mode 100644
index 26e5e6bef..000000000
Binary files a/artifacts/notes/block-audit/preview-04-heading.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-05-heading_2.jpg b/artifacts/notes/block-audit/preview-05-heading_2.jpg
deleted file mode 100644
index 0204c0091..000000000
Binary files a/artifacts/notes/block-audit/preview-05-heading_2.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-06-heading_3.jpg b/artifacts/notes/block-audit/preview-06-heading_3.jpg
deleted file mode 100644
index 170c2ddb7..000000000
Binary files a/artifacts/notes/block-audit/preview-06-heading_3.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-07-heading_4.jpg b/artifacts/notes/block-audit/preview-07-heading_4.jpg
deleted file mode 100644
index 9b096bb99..000000000
Binary files a/artifacts/notes/block-audit/preview-07-heading_4.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-08-bullet_list.jpg b/artifacts/notes/block-audit/preview-08-bullet_list.jpg
deleted file mode 100644
index 4af6573d4..000000000
Binary files a/artifacts/notes/block-audit/preview-08-bullet_list.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-09-numbered_list.jpg b/artifacts/notes/block-audit/preview-09-numbered_list.jpg
deleted file mode 100644
index 5005c0bd4..000000000
Binary files a/artifacts/notes/block-audit/preview-09-numbered_list.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-10-check_list.jpg b/artifacts/notes/block-audit/preview-10-check_list.jpg
deleted file mode 100644
index b38113d0f..000000000
Binary files a/artifacts/notes/block-audit/preview-10-check_list.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-11-toggle_list.jpg b/artifacts/notes/block-audit/preview-11-toggle_list.jpg
deleted file mode 100644
index e27614ba2..000000000
Binary files a/artifacts/notes/block-audit/preview-11-toggle_list.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-12-quote.jpg b/artifacts/notes/block-audit/preview-12-quote.jpg
deleted file mode 100644
index 63a8bea0a..000000000
Binary files a/artifacts/notes/block-audit/preview-12-quote.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-13-table.jpg b/artifacts/notes/block-audit/preview-13-table.jpg
deleted file mode 100644
index 0b519e1ee..000000000
Binary files a/artifacts/notes/block-audit/preview-13-table.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-14-divider.jpg b/artifacts/notes/block-audit/preview-14-divider.jpg
deleted file mode 100644
index 6c4b422e2..000000000
Binary files a/artifacts/notes/block-audit/preview-14-divider.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-15-code_block.jpg b/artifacts/notes/block-audit/preview-15-code_block.jpg
deleted file mode 100644
index a4c1e261c..000000000
Binary files a/artifacts/notes/block-audit/preview-15-code_block.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-16-callout.jpg b/artifacts/notes/block-audit/preview-16-callout.jpg
deleted file mode 100644
index 63eae46af..000000000
Binary files a/artifacts/notes/block-audit/preview-16-callout.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-17-pageLink.jpg b/artifacts/notes/block-audit/preview-17-pageLink.jpg
deleted file mode 100644
index 74500f3a8..000000000
Binary files a/artifacts/notes/block-audit/preview-17-pageLink.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-18-image.jpg b/artifacts/notes/block-audit/preview-18-image.jpg
deleted file mode 100644
index e1e156dd6..000000000
Binary files a/artifacts/notes/block-audit/preview-18-image.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-19-video.jpg b/artifacts/notes/block-audit/preview-19-video.jpg
deleted file mode 100644
index cf8b6ee5d..000000000
Binary files a/artifacts/notes/block-audit/preview-19-video.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-20-audio.jpg b/artifacts/notes/block-audit/preview-20-audio.jpg
deleted file mode 100644
index 66c89ad32..000000000
Binary files a/artifacts/notes/block-audit/preview-20-audio.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-21-file.jpg b/artifacts/notes/block-audit/preview-21-file.jpg
deleted file mode 100644
index a2a27b608..000000000
Binary files a/artifacts/notes/block-audit/preview-21-file.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-22-bookmark.jpg b/artifacts/notes/block-audit/preview-22-bookmark.jpg
deleted file mode 100644
index 81d101e85..000000000
Binary files a/artifacts/notes/block-audit/preview-22-bookmark.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-23-embed.jpg b/artifacts/notes/block-audit/preview-23-embed.jpg
deleted file mode 100644
index 46367e3d3..000000000
Binary files a/artifacts/notes/block-audit/preview-23-embed.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-24-htmlEmbed.jpg b/artifacts/notes/block-audit/preview-24-htmlEmbed.jpg
deleted file mode 100644
index bfdea7ac7..000000000
Binary files a/artifacts/notes/block-audit/preview-24-htmlEmbed.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-25-task_table.jpg b/artifacts/notes/block-audit/preview-25-task_table.jpg
deleted file mode 100644
index e4468c9c4..000000000
Binary files a/artifacts/notes/block-audit/preview-25-task_table.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-26-task_board.jpg b/artifacts/notes/block-audit/preview-26-task_board.jpg
deleted file mode 100644
index b58eedb3e..000000000
Binary files a/artifacts/notes/block-audit/preview-26-task_board.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-27-task_list.jpg b/artifacts/notes/block-audit/preview-27-task_list.jpg
deleted file mode 100644
index 268c0ccec..000000000
Binary files a/artifacts/notes/block-audit/preview-27-task_list.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-28-toc.jpg b/artifacts/notes/block-audit/preview-28-toc.jpg
deleted file mode 100644
index f99378f1a..000000000
Binary files a/artifacts/notes/block-audit/preview-28-toc.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-29-math.jpg b/artifacts/notes/block-audit/preview-29-math.jpg
deleted file mode 100644
index 79e8e5bfc..000000000
Binary files a/artifacts/notes/block-audit/preview-29-math.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-30-toggle_heading_1.jpg b/artifacts/notes/block-audit/preview-30-toggle_heading_1.jpg
deleted file mode 100644
index 4f903d184..000000000
Binary files a/artifacts/notes/block-audit/preview-30-toggle_heading_1.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-31-toggle_heading_2.jpg b/artifacts/notes/block-audit/preview-31-toggle_heading_2.jpg
deleted file mode 100644
index 8803a8da5..000000000
Binary files a/artifacts/notes/block-audit/preview-31-toggle_heading_2.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-32-toggle_heading_3.jpg b/artifacts/notes/block-audit/preview-32-toggle_heading_3.jpg
deleted file mode 100644
index d78345602..000000000
Binary files a/artifacts/notes/block-audit/preview-32-toggle_heading_3.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-33-columns_2.jpg b/artifacts/notes/block-audit/preview-33-columns_2.jpg
deleted file mode 100644
index fbe80c46d..000000000
Binary files a/artifacts/notes/block-audit/preview-33-columns_2.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-34-columns_3.jpg b/artifacts/notes/block-audit/preview-34-columns_3.jpg
deleted file mode 100644
index fbbe03ae3..000000000
Binary files a/artifacts/notes/block-audit/preview-34-columns_3.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-35-columns_4.jpg b/artifacts/notes/block-audit/preview-35-columns_4.jpg
deleted file mode 100644
index fbcf9abb9..000000000
Binary files a/artifacts/notes/block-audit/preview-35-columns_4.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-36-columns_5.jpg b/artifacts/notes/block-audit/preview-36-columns_5.jpg
deleted file mode 100644
index e40cc1236..000000000
Binary files a/artifacts/notes/block-audit/preview-36-columns_5.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-37-date.jpg b/artifacts/notes/block-audit/preview-37-date.jpg
deleted file mode 100644
index 0d2635736..000000000
Binary files a/artifacts/notes/block-audit/preview-37-date.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-38-inlineMath.jpg b/artifacts/notes/block-audit/preview-38-inlineMath.jpg
deleted file mode 100644
index f6d4ff750..000000000
Binary files a/artifacts/notes/block-audit/preview-38-inlineMath.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-39-mermaid.jpg b/artifacts/notes/block-audit/preview-39-mermaid.jpg
deleted file mode 100644
index 48404446e..000000000
Binary files a/artifacts/notes/block-audit/preview-39-mermaid.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-40-quiz.jpg b/artifacts/notes/block-audit/preview-40-quiz.jpg
deleted file mode 100644
index a2a73cd24..000000000
Binary files a/artifacts/notes/block-audit/preview-40-quiz.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-41-flashcards.jpg b/artifacts/notes/block-audit/preview-41-flashcards.jpg
deleted file mode 100644
index d02b1fd1a..000000000
Binary files a/artifacts/notes/block-audit/preview-41-flashcards.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-42-timeline.jpg b/artifacts/notes/block-audit/preview-42-timeline.jpg
deleted file mode 100644
index f49e1500a..000000000
Binary files a/artifacts/notes/block-audit/preview-42-timeline.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-43-research.jpg b/artifacts/notes/block-audit/preview-43-research.jpg
deleted file mode 100644
index 1a4b276b2..000000000
Binary files a/artifacts/notes/block-audit/preview-43-research.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-44-task.jpg b/artifacts/notes/block-audit/preview-44-task.jpg
deleted file mode 100644
index 3c6e64c46..000000000
Binary files a/artifacts/notes/block-audit/preview-44-task.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-45-animation.jpg b/artifacts/notes/block-audit/preview-45-animation.jpg
deleted file mode 100644
index 16836c35d..000000000
Binary files a/artifacts/notes/block-audit/preview-45-animation.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-46-concept_map.jpg b/artifacts/notes/block-audit/preview-46-concept_map.jpg
deleted file mode 100644
index f1f3d9fb3..000000000
Binary files a/artifacts/notes/block-audit/preview-46-concept_map.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-47-geogebra.jpg b/artifacts/notes/block-audit/preview-47-geogebra.jpg
deleted file mode 100644
index 65ef6b5e1..000000000
Binary files a/artifacts/notes/block-audit/preview-47-geogebra.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-48-generated_image.jpg b/artifacts/notes/block-audit/preview-48-generated_image.jpg
deleted file mode 100644
index 38b83b0a5..000000000
Binary files a/artifacts/notes/block-audit/preview-48-generated_image.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-49-podcast.jpg b/artifacts/notes/block-audit/preview-49-podcast.jpg
deleted file mode 100644
index a90e327e3..000000000
Binary files a/artifacts/notes/block-audit/preview-49-podcast.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/preview-checks.json b/artifacts/notes/block-audit/preview-checks.json
deleted file mode 100644
index 3f9490587..000000000
--- a/artifacts/notes/block-audit/preview-checks.json
+++ /dev/null
@@ -1,802 +0,0 @@
-[
- {
- "clipped": false,
- "kind": "ai",
- "rect": {
- "bottom": 673.203125,
- "height": 231.2734375,
- "left": 704.5,
- "right": 928.5,
- "top": 441.9296875,
- "width": 224,
- "x": 704.5,
- "y": 441.9296875
- },
- "text": "Ask DitoExplain this concept with an example.Review changes",
- "title": "Ask Dito"
- },
- {
- "clipped": false,
- "kind": "source",
- "rect": {
- "bottom": 673.203125,
- "height": 211.890625,
- "left": 704.5,
- "right": 928.5,
- "top": 461.3125,
- "width": 224,
- "x": 704.5,
- "y": 461.3125
- },
- "text": "A useful passage, kept in context.Source · Page 12",
- "title": "Reference a source"
- },
- {
- "clipped": false,
- "kind": "favorite",
- "rect": {
- "bottom": 673.203125,
- "height": 211.890625,
- "left": 704.5,
- "right": 928.5,
- "top": 461.3125,
- "width": 224,
- "x": 704.5,
- "y": 461.3125
- },
- "text": "Saved answerKeep the key idea in sight.Source · Dito",
- "title": "Insert favorite"
- },
- {
- "clipped": false,
- "kind": "paragraph",
- "rect": {
- "bottom": 673.203125,
- "height": 192.6953125,
- "left": 704.5,
- "right": 928.5,
- "top": 480.5078125,
- "width": 224,
- "x": 704.5,
- "y": 480.5078125
- },
- "text": "Write a thought, connect it to what you know, and let the next idea follow.",
- "title": "Paragraph"
- },
- {
- "clipped": false,
- "kind": "heading",
- "rect": {
- "bottom": 673.203125,
- "height": 192.6953125,
- "left": 704.5,
- "right": 928.5,
- "top": 480.5078125,
- "width": 224,
- "x": 704.5,
- "y": 480.5078125
- },
- "text": "Heading 1Give this section a clear place in your notes.",
- "title": "Heading 1#"
- },
- {
- "clipped": false,
- "kind": "heading_2",
- "rect": {
- "bottom": 673.203125,
- "height": 192.6953125,
- "left": 704.5,
- "right": 928.5,
- "top": 480.5078125,
- "width": 224,
- "x": 704.5,
- "y": 480.5078125
- },
- "text": "Heading 2Give this section a clear place in your notes.",
- "title": "Heading 2##"
- },
- {
- "clipped": false,
- "kind": "heading_3",
- "rect": {
- "bottom": 673.203125,
- "height": 192.6953125,
- "left": 704.5,
- "right": 928.5,
- "top": 480.5078125,
- "width": 224,
- "x": 704.5,
- "y": 480.5078125
- },
- "text": "Heading 3Give this section a clear place in your notes.",
- "title": "Heading 3###"
- },
- {
- "clipped": false,
- "kind": "heading_4",
- "rect": {
- "bottom": 673.203125,
- "height": 192.6953125,
- "left": 704.5,
- "right": 928.5,
- "top": 480.5078125,
- "width": 224,
- "x": 704.5,
- "y": 480.5078125
- },
- "text": "Heading 4Give this section a clear place in your notes.",
- "title": "Heading 4####"
- },
- {
- "clipped": false,
- "kind": "bullet_list",
- "rect": {
- "bottom": 673.203125,
- "height": 192.6953125,
- "left": 704.5,
- "right": 928.5,
- "top": 480.5078125,
- "width": 224,
- "x": 704.5,
- "y": 480.5078125
- },
- "text": "Ask a questionConnect the ideasTest your understanding",
- "title": "Bullet List-"
- },
- {
- "clipped": false,
- "kind": "numbered_list",
- "rect": {
- "bottom": 673.203125,
- "height": 192.6953125,
- "left": 704.5,
- "right": 928.5,
- "top": 480.5078125,
- "width": 224,
- "x": 704.5,
- "y": 480.5078125
- },
- "text": "Ask a questionConnect the ideasTest your understanding",
- "title": "Numbered List1."
- },
- {
- "clipped": false,
- "kind": "check_list",
- "rect": {
- "bottom": 673.203125,
- "height": 192.6953125,
- "left": 704.5,
- "right": 928.5,
- "top": 480.5078125,
- "width": 224,
- "x": 704.5,
- "y": 480.5078125
- },
- "text": "Review the conceptTry an example",
- "title": "Check List[]"
- },
- {
- "clipped": false,
- "kind": "toggle_list",
- "rect": {
- "bottom": 673.203125,
- "height": 192.6953125,
- "left": 704.5,
- "right": 928.5,
- "top": 480.5078125,
- "width": 224,
- "x": 704.5,
- "y": 480.5078125
- },
- "text": "Explore the detailsHide supporting notes until you need them.",
- "title": "Toggle List>"
- },
- {
- "clipped": false,
- "kind": "quote",
- "rect": {
- "bottom": 673.203125,
- "height": 192.6953125,
- "left": 704.5,
- "right": 928.5,
- "top": 480.5078125,
- "width": 224,
- "x": 704.5,
- "y": 480.5078125
- },
- "text": "A useful passage, kept in context.",
- "title": "Quote\""
- },
- {
- "clipped": false,
- "kind": "table",
- "rect": {
- "bottom": 673.203125,
- "height": 192.6953125,
- "left": 704.5,
- "right": 928.5,
- "top": 480.5078125,
- "width": 224,
- "x": 704.5,
- "y": 480.5078125
- },
- "text": "ConceptNotesFourier transformFrequencyDerivativeRate of change",
- "title": "Table"
- },
- {
- "clipped": false,
- "kind": "divider",
- "rect": {
- "bottom": 673.203125,
- "height": 192.6953125,
- "left": 704.5,
- "right": 928.5,
- "top": 480.5078125,
- "width": 224,
- "x": 704.5,
- "y": 480.5078125
- },
- "text": "Key ideaTry an example",
- "title": "Divider---"
- },
- {
- "clipped": false,
- "kind": "code_block",
- "rect": {
- "bottom": 673.203125,
- "height": 192.6953125,
- "left": 704.5,
- "right": 928.5,
- "top": 480.5078125,
- "width": 224,
- "x": 704.5,
- "y": 480.5078125
- },
- "text": "Pythondef learn(topic):\n return explore(topic)",
- "title": "Code Block```"
- },
- {
- "clipped": false,
- "kind": "callout",
- "rect": {
- "bottom": 673.203125,
- "height": 192.6953125,
- "left": 704.5,
- "right": 928.5,
- "top": 480.5078125,
- "width": 224,
- "x": 704.5,
- "y": 480.5078125
- },
- "text": "Keep the key idea in sight.",
- "title": "Callout"
- },
- {
- "clipped": false,
- "kind": "pageLink",
- "rect": {
- "bottom": 673.203125,
- "height": 192.6953125,
- "left": 704.5,
- "right": 928.5,
- "top": 480.5078125,
- "width": 224,
- "x": 704.5,
- "y": 480.5078125
- },
- "text": "Fourier transformOpen linked page",
- "title": "Page link"
- },
- {
- "clipped": false,
- "kind": "image",
- "rect": {
- "bottom": 673.203125,
- "height": 203.6953125,
- "left": 704.5,
- "right": 928.5,
- "top": 469.5078125,
- "width": 224,
- "x": 704.5,
- "y": 469.5078125
- },
- "text": "Image caption",
- "title": "Image"
- },
- {
- "clipped": false,
- "kind": "video",
- "rect": {
- "bottom": 673.203125,
- "height": 229.09375,
- "left": 704.5,
- "right": 928.5,
- "top": 444.109375,
- "width": 224,
- "x": 704.5,
- "y": 444.109375
- },
- "text": "Learning video0:00",
- "title": "Video"
- },
- {
- "clipped": false,
- "kind": "audio",
- "rect": {
- "bottom": 673.203125,
- "height": 192.6953125,
- "left": 704.5,
- "right": 928.5,
- "top": 480.5078125,
- "width": 224,
- "x": 704.5,
- "y": 480.5078125
- },
- "text": "Audio recording0:00 / 3:24",
- "title": "Audio"
- },
- {
- "clipped": false,
- "kind": "file",
- "rect": {
- "bottom": 673.203125,
- "height": 192.6953125,
- "left": 704.5,
- "right": 928.5,
- "top": 480.5078125,
- "width": 224,
- "x": 704.5,
- "y": 480.5078125
- },
- "text": "Notes.pdfPDF · 2.4 MB",
- "title": "File"
- },
- {
- "clipped": false,
- "kind": "bookmark",
- "rect": {
- "bottom": 673.203125,
- "height": 216.6796875,
- "left": 704.5,
- "right": 928.5,
- "top": 456.5234375,
- "width": 224,
- "x": 704.5,
- "y": 456.5234375
- },
- "text": "Fourier transformFrom signals to frequencies.wikipedia.org",
- "title": "Web bookmark"
- },
- {
- "clipped": false,
- "kind": "embed",
- "rect": {
- "bottom": 673.203125,
- "height": 290.890625,
- "left": 704.5,
- "right": 928.5,
- "top": 382.3125,
- "width": 224,
- "x": 704.5,
- "y": 382.3125
- },
- "text": "Embedded pageQuestionExplore the detailsKey idea",
- "title": "Embed"
- },
- {
- "clipped": false,
- "kind": "htmlEmbed",
- "rect": {
- "bottom": 673.203125,
- "height": 250.875,
- "left": 704.5,
- "right": 928.5,
- "top": 422.328125,
- "width": 224,
- "x": 704.5,
- "y": 422.328125
- },
- "text": "HTML · PreviewKey ideaFrom signals to frequencies.f(x) → F(ω)",
- "title": "HTML"
- },
- {
- "clipped": false,
- "kind": "task_table",
- "rect": {
- "bottom": 673.203125,
- "height": 211.890625,
- "left": 704.5,
- "right": 928.5,
- "top": 461.3125,
- "width": 224,
- "x": 704.5,
- "y": 461.3125
- },
- "text": "TaskStatusReview the conceptDoneTry an exampleTo do",
- "title": "Task table"
- },
- {
- "clipped": false,
- "kind": "task_board",
- "rect": {
- "bottom": 673.203125,
- "height": 212.0859375,
- "left": 704.5,
- "right": 928.5,
- "top": 461.1171875,
- "width": 224,
- "x": 704.5,
- "y": 461.1171875
- },
- "text": "To do · 1Review the conceptDone · 1Try an example",
- "title": "Task board"
- },
- {
- "clipped": false,
- "kind": "task_list",
- "rect": {
- "bottom": 673.203125,
- "height": 211.890625,
- "left": 704.5,
- "right": 928.5,
- "top": 461.3125,
- "width": 224,
- "x": 704.5,
- "y": 461.3125
- },
- "text": "Review the conceptTry an exampleAdd task",
- "title": "Task list"
- },
- {
- "clipped": false,
- "kind": "toc",
- "rect": {
- "bottom": 673.203125,
- "height": 215.8671875,
- "left": 704.5,
- "right": 928.5,
- "top": 457.3359375,
- "width": 224,
- "x": 704.5,
- "y": 457.3359375
- },
- "text": "Table of contentsFourier transformKey ideaTry an example",
- "title": "Table of contents"
- },
- {
- "clipped": false,
- "kind": "math",
- "rect": {
- "bottom": 673.203125,
- "height": 211.890625,
- "left": 704.5,
- "right": 928.5,
- "top": 461.3125,
- "width": 224,
- "x": 704.5,
- "y": 461.3125
- },
- "text": "f(x)=x2+2x+1f(x) = x^2 + 2x + 1f(x)=x2+2x+1",
- "title": "Math formula$$"
- },
- {
- "clipped": false,
- "kind": "toggle_heading_1",
- "rect": {
- "bottom": 673.203125,
- "height": 211.890625,
- "left": 704.5,
- "right": 928.5,
- "top": 461.3125,
- "width": 224,
- "x": 704.5,
- "y": 461.3125
- },
- "text": "Heading 1Give this section a clear place in your notes.",
- "title": "Toggle heading 1"
- },
- {
- "clipped": false,
- "kind": "toggle_heading_2",
- "rect": {
- "bottom": 673.203125,
- "height": 211.890625,
- "left": 704.5,
- "right": 928.5,
- "top": 461.3125,
- "width": 224,
- "x": 704.5,
- "y": 461.3125
- },
- "text": "Heading 2Give this section a clear place in your notes.",
- "title": "Toggle heading 2"
- },
- {
- "clipped": false,
- "kind": "toggle_heading_3",
- "rect": {
- "bottom": 673.203125,
- "height": 211.890625,
- "left": 704.5,
- "right": 928.5,
- "top": 461.3125,
- "width": 224,
- "x": 704.5,
- "y": 461.3125
- },
- "text": "Heading 3Give this section a clear place in your notes.",
- "title": "Toggle heading 3"
- },
- {
- "clipped": false,
- "kind": "columns_2",
- "rect": {
- "bottom": 673.203125,
- "height": 211.890625,
- "left": 704.5,
- "right": 928.5,
- "top": 461.3125,
- "width": 224,
- "x": 704.5,
- "y": 461.3125
- },
- "text": "Ax + yBa² + b²",
- "title": "2 columns"
- },
- {
- "clipped": false,
- "kind": "columns_3",
- "rect": {
- "bottom": 673.203125,
- "height": 211.890625,
- "left": 704.5,
- "right": 928.5,
- "top": 461.3125,
- "width": 224,
- "x": 704.5,
- "y": 461.3125
- },
- "text": "Ax + yBa² + b²Cf(x)",
- "title": "3 columns"
- },
- {
- "clipped": false,
- "kind": "columns_4",
- "rect": {
- "bottom": 673.203125,
- "height": 211.890625,
- "left": 704.5,
- "right": 928.5,
- "top": 461.3125,
- "width": 224,
- "x": 704.5,
- "y": 461.3125
- },
- "text": "Ax + yBa² + b²Cf(x)D2πr",
- "title": "4 columns"
- },
- {
- "clipped": false,
- "kind": "columns_5",
- "rect": {
- "bottom": 673.203125,
- "height": 211.890625,
- "left": 704.5,
- "right": 928.5,
- "top": 461.3125,
- "width": 224,
- "x": 704.5,
- "y": 461.3125
- },
- "text": "Ax + yBa² + b²Cf(x)D2πrEE = mc²",
- "title": "5 columns"
- },
- {
- "clipped": false,
- "kind": "date",
- "rect": {
- "bottom": 673.203125,
- "height": 192.6953125,
- "left": 704.5,
- "right": 928.5,
- "top": 480.5078125,
- "width": 224,
- "x": 704.5,
- "y": 480.5078125
- },
- "text": "Review on 2026-10-17",
- "title": "Date"
- },
- {
- "clipped": false,
- "kind": "inlineMath",
- "rect": {
- "bottom": 673.203125,
- "height": 192.6953125,
- "left": 704.5,
- "right": 928.5,
- "top": 480.5078125,
- "width": 224,
- "x": 704.5,
- "y": 480.5078125
- },
- "text": "For example, x2+y2=r2x^2 + y^2 = r^2x2+y2=r2.",
- "title": "Inline formula$…$"
- },
- {
- "clipped": false,
- "kind": "mermaid",
- "rect": {
- "bottom": 673.203125,
- "height": 244.890625,
- "left": 704.5,
- "right": 928.5,
- "top": 428.3125,
- "width": 224,
- "x": 704.5,
- "y": 428.3125
- },
- "text": "QuestionExplore the detailsKey idea",
- "title": "Diagram"
- },
- {
- "clipped": false,
- "kind": "quiz",
- "rect": {
- "bottom": 673.203125,
- "height": 247.078125,
- "left": 704.5,
- "right": 928.5,
- "top": 426.125,
- "width": 224,
- "x": 704.5,
- "y": 426.125
- },
- "text": "What does a derivative measure?AFrequencyBRate of changeCheck answer",
- "title": "Quiz me"
- },
- {
- "clipped": false,
- "kind": "flashcards",
- "rect": {
- "bottom": 673.203125,
- "height": 233.0859375,
- "left": 704.5,
- "right": 928.5,
- "top": 440.1171875,
- "width": 224,
- "x": 704.5,
- "y": 440.1171875
- },
- "text": "1 / 8Fourier transformTap to reveal the answer",
- "title": "Flash Cards"
- },
- {
- "clipped": false,
- "kind": "timeline",
- "rect": {
- "bottom": 673.203125,
- "height": 262.4765625,
- "left": 704.5,
- "right": 928.5,
- "top": 410.7265625,
- "width": 224,
- "x": 704.5,
- "y": 410.7265625
- },
- "text": "1807Fourier1822Heat theory1965FFT",
- "title": "Timeline"
- },
- {
- "clipped": false,
- "kind": "research",
- "rect": {
- "bottom": 673.203125,
- "height": 211.890625,
- "left": 704.5,
- "right": 928.5,
- "top": 461.3125,
- "width": 224,
- "x": 704.5,
- "y": 461.3125
- },
- "text": "Fourier transformFrom signals to frequencies. [1][1] Sources and references",
- "title": "Research"
- },
- {
- "clipped": false,
- "kind": "task",
- "rect": {
- "bottom": 673.203125,
- "height": 232.4765625,
- "left": 704.5,
- "right": 928.5,
- "top": 440.7265625,
- "width": 224,
- "x": 704.5,
- "y": 440.7265625
- },
- "text": "Study planReview the conceptTry an exampleTo do · Task",
- "title": "Task"
- },
- {
- "clipped": false,
- "kind": "animation",
- "rect": {
- "bottom": 673.203125,
- "height": 235.484375,
- "left": 704.5,
- "right": 928.5,
- "top": 437.71875,
- "width": 224,
- "x": 704.5,
- "y": 437.71875
- },
- "text": "y=sin⁡(x)y = \\sin(x)y=sin(x)0:06 / 0:30",
- "title": "Animation"
- },
- {
- "clipped": false,
- "kind": "concept_map",
- "rect": {
- "bottom": 673.203125,
- "height": 211.890625,
- "left": 704.5,
- "right": 928.5,
- "top": 461.3125,
- "width": 224,
- "x": 704.5,
- "y": 461.3125
- },
- "text": "Fourier transformFrequencySignals",
- "title": "Concept map"
- },
- {
- "clipped": false,
- "kind": "geogebra",
- "rect": {
- "bottom": 673.203125,
- "height": 243.890625,
- "left": 704.5,
- "right": 928.5,
- "top": 429.3125,
- "width": 224,
- "x": 704.5,
- "y": 429.3125
- },
- "text": "ABCAB = AC = BC",
- "title": "Geometry"
- },
- {
- "clipped": false,
- "kind": "generated_image",
- "rect": {
- "bottom": 673.203125,
- "height": 245.890625,
- "left": 704.5,
- "right": 928.5,
- "top": 427.3125,
- "width": 224,
- "x": 704.5,
- "y": 427.3125
- },
- "text": "Image captionGenerate image",
- "title": "Generate image"
- },
- {
- "clipped": false,
- "kind": "podcast",
- "rect": {
- "bottom": 673.203125,
- "height": 230.0859375,
- "left": 704.5,
- "right": 928.5,
- "top": 443.1171875,
- "width": 224,
- "x": 704.5,
- "y": 443.1171875
- },
- "text": "Fourier transformPodcast · 3:240:00 / 3:24From signals to frequencies.",
- "title": "Podcast"
- }
-]
diff --git a/artifacts/notes/block-audit/previews-contact-1.jpg b/artifacts/notes/block-audit/previews-contact-1.jpg
deleted file mode 100644
index 5c7fe4030..000000000
Binary files a/artifacts/notes/block-audit/previews-contact-1.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/previews-contact-2.jpg b/artifacts/notes/block-audit/previews-contact-2.jpg
deleted file mode 100644
index 0074ede42..000000000
Binary files a/artifacts/notes/block-audit/previews-contact-2.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/previews-contact-3.jpg b/artifacts/notes/block-audit/previews-contact-3.jpg
deleted file mode 100644
index 2d884f3af..000000000
Binary files a/artifacts/notes/block-audit/previews-contact-3.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/previews-contact-4.jpg b/artifacts/notes/block-audit/previews-contact-4.jpg
deleted file mode 100644
index 263a58475..000000000
Binary files a/artifacts/notes/block-audit/previews-contact-4.jpg and /dev/null differ
diff --git a/artifacts/notes/block-audit/previews-contact-5.jpg b/artifacts/notes/block-audit/previews-contact-5.jpg
deleted file mode 100644
index 019272427..000000000
Binary files a/artifacts/notes/block-audit/previews-contact-5.jpg and /dev/null differ
diff --git a/artifacts/notes/design-qa.md b/artifacts/notes/design-qa.md
deleted file mode 100644
index d64692b31..000000000
--- a/artifacts/notes/design-qa.md
+++ /dev/null
@@ -1,72 +0,0 @@
-# Notebook blocks and previews — visual acceptance, 2026-10-17
-
-Final result: passed
-
-## Evidence and scope
-
-Source visual truth: user-provided Notion screenshots, especially:
-
-- `/var/folders/b3/y5m8n_7d3k54k9zccynkn0d80000gn/T/codex-clipboard-eb096b9f-d151-44e1-adb1-c18797ca4cb3.png` — basic blocks and heading hierarchy.
-- `/var/folders/b3/y5m8n_7d3k54k9zccynkn0d80000gn/T/codex-clipboard-5514480a-87f3-4a23-b289-153153e3b4fc.png` — task-list preview.
-- `/var/folders/b3/y5m8n_7d3k54k9zccynkn0d80000gn/T/codex-clipboard-dc4eab6d-4993-40c1-a54d-758dfd151c62.png` — folding headings and columns.
-
-Rendered implementation evidence:
-
-- `/Users/frank/HKUDS/DeepTutor/artifacts/notes/text-preview.jpg`
-- `/Users/frank/HKUDS/DeepTutor/artifacts/notes/mobile-final.jpg`
-- `/Users/frank/HKUDS/DeepTutor/artifacts/notes/mobile-columns.jpg`
-
-The implementation was inspected in the Codex in-app browser. Desktop capture is 1280 × 720 pixels, with a 1280 × 720 CSS viewport at 1×. Mobile content uses a 390 × 844 CSS iframe at 1× within the same desktop canvas; the capture shows its visible 720-pixel-tall region. This is a responsive browser check, not a native-phone test.
-
-The primary Notion crop is 828 × 726 pixels, approximately 2× density inferred from text/control sizes; original CSS viewport and device pixel ratio were not supplied. Source and implementation were opened together in the same comparison input. Comparison concerns menu hierarchy, state clarity and preview fidelity; it does not claim pixel equality between different products, locales or screenshot scales. Focused menus and text samples are legible in the full captures, so no additional enlargement was needed.
-
-State: light theme; desktop slash menu filtered to headings, Heading 2 selected by keyboard, preview visible; mobile document with long title, stacked columns, collapsed heading and table. Existing DeepTutor body/display typography and theme tokens are retained intentionally.
-
-## Findings and iteration history
-
-All observed P1/P2 items below were fixed and rechecked; no actionable P0/P1/P2 visual findings remain in these inspected states.
-
-| Priority | Earlier finding and impact | Fix | Post-fix evidence |
-| --- | --- | --- | --- |
-| P1 | Generic samples made text/heading/list previews misleading. | Separate paragraph, heading levels 1–4, semantic ordered/bullet lists, completed task, quote, callout and toggle samples. AI change previews retain block and inline formatting. | `text-preview.jpg`; preview formatting regression test. |
-| P2 | A long slash menu clipped its bottom controls. | Constrained popover height, scrolling list and non-scrolling footer. | `text-preview.jpg` shows the final row and close/select footer. |
-| P2 | Columns had unequal intrinsic widths. | Equal flexible tracks with minimum width zero and a responsive stacked layout. | Desktop DOM measurement: two 388 px columns in an 804 px content area with a 28 px gap; `mobile-columns.jpg`. |
-| P2 | Collapsing a heading did not hide descendants through the React wrapper. | Correct descendant visibility selector, stored collapsed state and expanded-state accessibility. | Fold action removed descendants from the accessibility tree; mobile capture shows collapsed heading above the table. |
-| P2 | Long document titles were cut off on narrow screens. | Auto-growing textarea with content sizing; Enter blurs without interfering with IME composition. | `mobile-final.jpg` shows the full title wrapped over two lines. |
-
-## Required fidelity surfaces
-
-- **Fonts and typography:** DeepTutor's existing Geist body/Lora display system is retained. Heading previews visibly distinguish size and weight; body samples use readable line height. Mobile title wraps, including Chinese text. No attempt was made to infer Notion's exact font from the raster crop.
-- **Spacing and layout:** Group labels, separators, aligned icon/label/shortcut columns, selected rows and a separate preview card follow the reference interaction structure. Menu stays inside the viewport; document columns stack at narrow width.
-- **Colors and tokens:** Existing foreground, muted foreground, surface and border variables provide quiet separators and clear selected states. The light preview card is an intentional DeepTutor adaptation of Notion's dark card. New rich-block dark-theme states were not exhaustively visually checked.
-- **Image quality and assets:** Text samples are real rendered content, not raster approximations. Standard lucide/react-icons assets are used for controls. This work does not replace any branded imagery; media-generation quality is outside this visual comparison.
-- **Copy and content:** Block-specific sample content communicates the selected element. Menus support localized labels; the illustrated desktop sample uses English labels and Chinese document content. Generated learning content uses localized kind labels.
-
-## Interaction and runtime checks
-
-- Slash search, keyboard selection/preview, block handles, fold/unfold persistence, page persistence, desktop columns and narrow layout were checked in the browser.
-- A real model turn read the note and proposed a change; accepting it persisted the result after reload. Automatic specialized-capability results are covered by mapping/conflict tests, not by live generation of every media type.
-- Main workspace was integrated without replacing unrelated concurrent changes; the normal local app is available at `http://localhost:3784/co-writer`.
-- Final integrated editor screenshot: `/Users/frank/HKUDS/DeepTutor/artifacts/notes/integrated-editor.jpg`. Existing notes render headings, quotes, lists and math. Console checked after the final reload: no new errors.
-- Integration uncovered a Turbopack development HMR loop and stalled editor loading. The current local launcher was restarted with `IS_WEBPACK_TEST=1`, selecting the same webpack mode used for successful isolated verification. This is a process-level workaround; the default project bundler setting is unchanged.
-- Legacy conversion also triggered React flushSync lifecycle warnings. Editor initialization now runs in a cancelable microtask after React commits. A fresh page load rendered the document and reported no new console errors. Temporary test servers were stopped and their copied model configuration removed.
-
-## Validation and remaining limits
-
-- Related backend regression suite: 180 passed, one warning.
-- Integrated frontend suite: 11 passed. After final title/accessibility/formatting edits, focused suite: 7 passed; typecheck and scoped ESLint passed.
-- Architecture check: no violations, 1,014 modules and 3,310 dependencies.
-- Production build succeeded. Final small title/accessibility/copy edits were additionally checked by typecheck, lint, tests and the development browser.
-- Performance-budget check is **not fully passing**: five route budgets already failed in a build of the pre-change working tree. The document editor route decreased from about 464 KB to 408 KB, within its 515 KB budget. Chat/reading integration adds some shared code; no budget thresholds were relaxed.
-- This implements useful notebook blocks, workspace task views and learning integrations. It does not claim full Notion database, external integration or collaborative-editing parity.
-
-## Implementation checklist
-
-- [x] Correct text-block and AI change previews.
-- [x] Grouped searchable insertion menu with visible footer and keyboard preview.
-- [x] Folding headings, callouts, columns, table controls, contents, bookmarks, safe embeds and task views.
-- [x] Preserve local edits on conflicting AI proposals or save revisions.
-- [x] Integrate with the existing app and inspect desktop/narrow layouts.
-- [x] Preserve evidence and document validation limits.
-
-Final result: passed
diff --git a/artifacts/notes/favorites-audit/favorites-final.jpg b/artifacts/notes/favorites-audit/favorites-final.jpg
deleted file mode 100644
index d2842d19e..000000000
Binary files a/artifacts/notes/favorites-audit/favorites-final.jpg and /dev/null differ
diff --git a/artifacts/notes/favorites-audit/fixture.json b/artifacts/notes/favorites-audit/fixture.json
deleted file mode 100644
index fa7a92195..000000000
--- a/artifacts/notes/favorites-audit/fixture.json
+++ /dev/null
@@ -1,108 +0,0 @@
-{
- "session_id": "unified_1792239246535_e22c126e",
- "collection_id": "83d7e5c6",
- "record_id": "22754e42",
- "note_id": "a8efdf7eee87",
- "first_attempt_note_id": "ae97a51b3461",
- "typed_records": [
- {
- "id": "0f1dfc6c",
- "type": "research",
- "title": "研究 · 水循环证据",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "user_query": "收藏类型交互验收",
- "output": "# 研究问题\n水在环境中如何循环?\n\n## 证据\n| 过程 | 能量 |\n| --- | --- |\n| 蒸发 | 吸热 |\n| 凝结 | 放热 |\n\n## 结论\n水循环依靠太阳能驱动。\n\n## 资料边界\n这是交互验收用的简短研究资料。",
- "metadata": {},
- "created_at": 1792241283.853882,
- "kb_name": null
- },
- {
- "id": "9ca5160e",
- "type": "question",
- "title": "题目 · 三阶段复习",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "user_query": "收藏类型交互验收",
- "output": "# 题目\n水循环的三个主要阶段是什么?\n\n- A. 蒸发、凝结和降水\n- B. 燃烧、熔化和结晶\n\n## 答案\n**A**。水从液态蒸发,水汽凝结,随后形成降水。",
- "metadata": {},
- "created_at": 1792241283.863434,
- "kb_name": null
- },
- {
- "id": "f5034ee1",
- "type": "solve",
- "title": "解题 · 水量守恒",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "user_query": "收藏类型交互验收",
- "output": "# 题目\n水池原有 10 L 水,蒸发 2 L 后剩余多少?\n\n## 解答\n$10-2=8$ L。\n\n先确定初始量,再减去蒸发量。",
- "metadata": {},
- "created_at": 1792241283.872242,
- "kb_name": null
- },
- {
- "id": "6024a065",
- "type": "reading",
- "title": "阅读 · 摘录与批注",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "user_query": "收藏类型交互验收",
- "output": "# 原文摘录\n> 水是生命活动的重要介质。\n\n## 阅读批注\n关注水的比热容和相变。\n\n## 延伸思考\n海洋如何调节温度?",
- "metadata": {},
- "created_at": 1792241283.8802218,
- "kb_name": null
- },
- {
- "id": "ad7c3961",
- "type": "video_learning",
- "title": "视频 · 时间点学习",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "user_query": "收藏类型交互验收",
- "output": "# 视频学习\n00:00 学习开始\n00:01 观察水循环\n\n## 笔记\n通过播放进度核对时间点。",
- "metadata": {
- "video_url": "/api/documents/46c793263607/assets/2987657e75cb40bba8c0d49208c609e6.mp4?dt_workspace="
- },
- "created_at": 1792241283.888254,
- "kb_name": null
- },
- {
- "id": "f8892445",
- "type": "co_writer",
- "title": "笔记 · 整理材料",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "user_query": "收藏类型交互验收",
- "output": "# 核心概念\n水循环包含三种变化。\n\n## 我的观察\n雨后水洼逐渐缩小。\n\n## 下一步\n记录每日水位。",
- "metadata": {},
- "created_at": 1792241283.895917,
- "kb_name": null
- },
- {
- "id": "17b3249c",
- "type": "tutorbot",
- "title": "伙伴 · 学习对话",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "user_query": "收藏类型交互验收",
- "output": "## User\n怎样记住水循环?\n\n## Assistant\n想象一滴水旅行:**升空、成云、落雨**。",
- "metadata": {
- "partner_name": "学习伙伴"
- },
- "created_at": 1792241283.904295,
- "kb_name": null
- },
- {
- "id": "ba719159",
- "type": "chat",
- "title": "引导学习 · 逐步理解",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "user_query": "收藏类型交互验收",
- "output": "# 学习目标\n理解水的状态变化。\n\n## 第一步\n观察杯壁水滴。\n\n## 反思\n为什么水滴出现在外壁?",
- "metadata": {
- "source": "chat",
- "capability": "mastery_path"
- },
- "created_at": 1792241283.91314,
- "kb_name": null
- }
- ],
- "archive_id": "215dbe83",
- "new_page_note_id": "ab03bf4a11c2",
- "legacy_note_id": "0c2d24985c4f",
- "legacy_content": "# 原有标题\n\n保留 **加粗** 与 $E=mc^2$。\n\n| 条目 | 数值 |\n| --- | --- |\n| A | 1 |\n\n$$\nx^2+y^2=1\n$$\n\n原文末尾校验。"
-}
diff --git a/artifacts/notes/favorites-audit/legacy_note_id.json b/artifacts/notes/favorites-audit/legacy_note_id.json
deleted file mode 100644
index 8d38f6060..000000000
--- a/artifacts/notes/favorites-audit/legacy_note_id.json
+++ /dev/null
@@ -1,209 +0,0 @@
-{
- "id": "0c2d24985c4f",
- "title": "收藏夹 · 旧笔记兼容验收",
- "content": "# 原有标题\n\n保留 **加粗** 与 $E=mc^2$。\n\n| 条目 | 数值 |\n| --- | --- |\n| A | 1 |\n\n$$\nx^2+y^2=1\n$$\n\n原文末尾校验。\n\n# 研究问题\n水在环境中如何循环?\n\n## 证据\n| 过程 | 能量 |\n| --- | --- |\n| 蒸发 | 吸热 |\n| 凝结 | 放热 |\n\n## 结论\n水循环依靠太阳能驱动。\n\n## 资料边界\n这是交互验收用的简短研究资料。\n\n[Source](/notebooks/215dbe83?record=0f1dfc6c)",
- "blocks": [
- {
- "id": "9aa0e2f5-069a-402d-94e0-c32a7081e4b3",
- "type": "heading",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left",
- "level": 1,
- "isToggleable": false
- },
- "content": [
- {
- "type": "text",
- "text": "原有标题",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "956b8a79-5b05-4713-9eda-07c4354c7485",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "保留 ",
- "styles": {}
- },
- {
- "type": "text",
- "text": "加粗",
- "styles": {
- "bold": true
- }
- },
- {
- "type": "text",
- "text": " 与 ",
- "styles": {}
- },
- {
- "type": "inlineMath",
- "props": {
- "formula": "E=mc^2"
- }
- },
- {
- "type": "text",
- "text": "。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "f13e867c-e989-427c-80ff-b75b6cc8bb96",
- "type": "table",
- "props": {
- "textColor": "default"
- },
- "content": {
- "type": "tableContent",
- "columnWidths": [
- null,
- null
- ],
- "headerRows": 1,
- "rows": [
- {
- "cells": [
- {
- "type": "tableCell",
- "content": [
- {
- "type": "text",
- "text": "条目",
- "styles": {}
- }
- ],
- "props": {
- "colspan": 1,
- "rowspan": 1,
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- }
- },
- {
- "type": "tableCell",
- "content": [
- {
- "type": "text",
- "text": "数值",
- "styles": {}
- }
- ],
- "props": {
- "colspan": 1,
- "rowspan": 1,
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- }
- }
- ]
- },
- {
- "cells": [
- {
- "type": "tableCell",
- "content": [
- {
- "type": "text",
- "text": "A",
- "styles": {}
- }
- ],
- "props": {
- "colspan": 1,
- "rowspan": 1,
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- }
- },
- {
- "type": "tableCell",
- "content": [
- {
- "type": "text",
- "text": "1",
- "styles": {}
- }
- ],
- "props": {
- "colspan": 1,
- "rowspan": 1,
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- }
- }
- ]
- }
- ]
- },
- "children": []
- },
- {
- "id": "78193efd-5cee-4a45-8e32-72b555e7492c",
- "type": "math",
- "props": {
- "formula": "x^2+y^2=1"
- },
- "children": []
- },
- {
- "id": "170bb051-b66d-4c6f-9511-e9df62b7a1d4",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "原文末尾校验。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "a984ae9a77d143b8aac19eb0720c188c",
- "type": "clip",
- "props": {
- "title": "研究 · 水循环证据",
- "markdown": "# 研究问题\n水在环境中如何循环?\n\n## 证据\n| 过程 | 能量 |\n| --- | --- |\n| 蒸发 | 吸热 |\n| 凝结 | 放热 |\n\n## 结论\n水循环依靠太阳能驱动。\n\n## 资料边界\n这是交互验收用的简短研究资料。",
- "sourceUrl": "/notebooks/215dbe83?record=0f1dfc6c",
- "sourceId": "0f1dfc6c",
- "favoriteType": "research",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": true
- },
- "children": []
- }
- ],
- "schema_version": 1,
- "revision": 3,
- "parent_id": null,
- "icon": "",
- "cover": "",
- "pinned": false,
- "applied_suggestion_ids": [],
- "created_at": 1792242251.730655,
- "updated_at": 1792242361.0827892
-}
diff --git a/artifacts/notes/favorites-audit/main-reopened-note.json b/artifacts/notes/favorites-audit/main-reopened-note.json
deleted file mode 100644
index 92dfe661e..000000000
--- a/artifacts/notes/favorites-audit/main-reopened-note.json
+++ /dev/null
@@ -1 +0,0 @@
-{"id":"a8efdf7eee87","title":"收藏夹 · 多类型与来源验收","content":"## User\n请记录水循环的三个阶段,供收藏夹流程验收。\n\n## Assistant\n## 水循环原始资料\n\n水循环包括 **蒸发、凝结和降水**。\n\n1. 太阳加热水面,液态水变成水汽。\n2. 水汽冷却凝结成云。\n3. 云滴增大后形成降水。\n\n> 原文校验:这段内容在收藏和引用后应保持不变。\n\n[Source](/notebooks/83d7e5c6?record=22754e42)\n\n## User\n请记录水循环的三个阶段,供收藏夹流程验收。\n\n## Assistant\n## 水循环原始资料\n\n水循环包括 **蒸发、凝结和降水**。\n\n1. 太阳加热水面,液态水变成水汽。\n2. 水汽冷却凝结成云。\n3. 云滴增大后形成降水。\n\n> 原文校验:这段内容在收藏和引用后应保持不变。\n\n[Source](/notebooks/83d7e5c6?record=22754e42)\n\n# 研究问题\n水在环境中如何循环?\n\n## 证据\n| 过程 | 能量 |\n| --- | --- |\n| 蒸发 | 吸热 |\n| 凝结 | 放热 |\n\n## 结论\n水循环依靠太阳能驱动。\n\n## 资料边界\n这是交互验收用的简短研究资料。\n\n[Source](/notebooks/83d7e5c6?record=0f1dfc6c)\n\n# 题目\n水循环的三个主要阶段是什么?\n\n- A. 蒸发、凝结和降水\n- B. 燃烧、熔化和结晶\n\n## 答案\n**A**。水从液态蒸发,水汽凝结,随后形成降水。\n\n[Source](/notebooks/83d7e5c6?record=9ca5160e)\n\n# 题目\n水池原有 10 L 水,蒸发 2 L 后剩余多少?\n\n## 解答\n$10-2=8$ L。\n\n先确定初始量,再减去蒸发量。\n\n[Source](/notebooks/83d7e5c6?record=f5034ee1)\n\n# 原文摘录\n> 水是生命活动的重要介质。\n\n## 阅读批注\n关注水的比热容和相变。\n\n## 延伸思考\n海洋如何调节温度?\n\n[Source](/notebooks/83d7e5c6?record=6024a065)\n\n# 视频学习\n00:00 学习开始\n00:01 观察水循环\n\n## 笔记\n通过播放进度核对时间点。\n\n[Source](/notebooks/83d7e5c6?record=ad7c3961)\n\n# 核心概念\n水循环包含三种变化。\n\n## 我的观察\n雨后水洼逐渐缩小。\n\n## 下一步\n记录每日水位。\n\n[Source](/notebooks/83d7e5c6?record=f8892445)\n\n## User\n怎样记住水循环?\n\n## Assistant\n想象一滴水旅行:**升空、成云、落雨**。\n\n[Source](/notebooks/83d7e5c6?record=17b3249c)\n\n# 学习目标\n理解水的状态变化。\n\n## 第一步\n观察杯壁水滴。\n\n## 反思\n为什么水滴出现在外壁?\n\n[Source](/notebooks/83d7e5c6?record=ba719159)","blocks":[{"id":"536a1283e1d14e9ab2e5fd6d2d268b7a","type":"clip","props":{"title":"水循环 · 已整理的收藏","markdown":"## User\n请记录水循环的三个阶段,供收藏夹流程验收。\n\n## Assistant\n## 水循环原始资料\n\n水循环包括 **蒸发、凝结和降水**。\n\n1. 太阳加热水面,液态水变成水汽。\n2. 水汽冷却凝结成云。\n3. 云滴增大后形成降水。\n\n> 原文校验:这段内容在收藏和引用后应保持不变。","sourceUrl":"/notebooks/83d7e5c6?record=22754e42","sourceId":"22754e42","favoriteType":"","summary":"","metadata":"{}","expanded":false},"children":[]},{"id":"35e811bc-e6a2-409f-bb67-73ce5cb27ee9","type":"clip","props":{"title":"水循环 · 已整理的收藏","markdown":"## User\n请记录水循环的三个阶段,供收藏夹流程验收。\n\n## Assistant\n## 水循环原始资料\n\n水循环包括 **蒸发、凝结和降水**。\n\n1. 太阳加热水面,液态水变成水汽。\n2. 水汽冷却凝结成云。\n3. 云滴增大后形成降水。\n\n> 原文校验:这段内容在收藏和引用后应保持不变。","sourceUrl":"/notebooks/83d7e5c6?record=22754e42","sourceId":"22754e42","favoriteType":"chat","summary":"验收备注:保留原文,供笔记本引用;移动后仍可返回来源。","metadata":"{\"source\":\"chat\",\"capability\":\"chat\",\"ui_language\":\"zh\",\"session_id\":\"unified_1792239246535_e22c126e\",\"total_message_count\":2,\"message_count\":2,\"selected_message_indexes\":[0,1]}","expanded":true},"children":[]},{"id":"399f4b0b-d879-4420-92cd-e6a9e68e30e0","type":"clip","props":{"title":"研究 · 水循环证据","markdown":"# 研究问题\n水在环境中如何循环?\n\n## 证据\n| 过程 | 能量 |\n| --- | --- |\n| 蒸发 | 吸热 |\n| 凝结 | 放热 |\n\n## 结论\n水循环依靠太阳能驱动。\n\n## 资料边界\n这是交互验收用的简短研究资料。","sourceUrl":"/notebooks/83d7e5c6?record=0f1dfc6c","sourceId":"0f1dfc6c","favoriteType":"research","summary":"交互验收:展开原文、返回来源、保存重开。","metadata":"{}","expanded":true},"children":[]},{"id":"2c9e9660-026b-44fd-abac-4f34adf5e42a","type":"clip","props":{"title":"题目 · 三阶段复习","markdown":"# 题目\n水循环的三个主要阶段是什么?\n\n- A. 蒸发、凝结和降水\n- B. 燃烧、熔化和结晶\n\n## 答案\n**A**。水从液态蒸发,水汽凝结,随后形成降水。","sourceUrl":"/notebooks/83d7e5c6?record=9ca5160e","sourceId":"9ca5160e","favoriteType":"question","summary":"交互验收:展开原文、返回来源、保存重开。","metadata":"{}","expanded":true},"children":[]},{"id":"fc314ab5-6270-4484-b605-aef2af8c8cd7","type":"clip","props":{"title":"解题 · 水量守恒","markdown":"# 题目\n水池原有 10 L 水,蒸发 2 L 后剩余多少?\n\n## 解答\n$10-2=8$ L。\n\n先确定初始量,再减去蒸发量。","sourceUrl":"/notebooks/83d7e5c6?record=f5034ee1","sourceId":"f5034ee1","favoriteType":"solve","summary":"交互验收:展开原文、返回来源、保存重开。","metadata":"{}","expanded":false},"children":[]},{"id":"6a29410b-bfb5-406d-8bf2-d69451af7eb0","type":"clip","props":{"title":"阅读 · 摘录与批注","markdown":"# 原文摘录\n> 水是生命活动的重要介质。\n\n## 阅读批注\n关注水的比热容和相变。\n\n## 延伸思考\n海洋如何调节温度?","sourceUrl":"/notebooks/83d7e5c6?record=6024a065","sourceId":"6024a065","favoriteType":"reading","summary":"交互验收:展开原文、返回来源、保存重开。","metadata":"{}","expanded":false},"children":[]},{"id":"da009dd0-0718-4e5a-a7f2-65d90a6c2546","type":"clip","props":{"title":"视频 · 时间点学习","markdown":"# 视频学习\n00:00 学习开始\n00:01 观察水循环\n\n## 笔记\n通过播放进度核对时间点。","sourceUrl":"/notebooks/83d7e5c6?record=ad7c3961","sourceId":"ad7c3961","favoriteType":"video_learning","summary":"交互验收:展开原文、返回来源、保存重开。","metadata":"{\"video_url\":\"/api/documents/46c793263607/assets/2987657e75cb40bba8c0d49208c609e6.mp4?dt_workspace=\"}","expanded":true},"children":[]},{"id":"e0e07e3a-02bd-4276-9e30-86c6faa32dd0","type":"clip","props":{"title":"笔记 · 整理材料","markdown":"# 核心概念\n水循环包含三种变化。\n\n## 我的观察\n雨后水洼逐渐缩小。\n\n## 下一步\n记录每日水位。","sourceUrl":"/notebooks/83d7e5c6?record=f8892445","sourceId":"f8892445","favoriteType":"co_writer","summary":"交互验收:展开原文、返回来源、保存重开。","metadata":"{}","expanded":false},"children":[]},{"id":"18bb1ac6-4be3-47ad-ba8a-78726f0b3b27","type":"clip","props":{"title":"伙伴 · 学习对话","markdown":"## User\n怎样记住水循环?\n\n## Assistant\n想象一滴水旅行:**升空、成云、落雨**。","sourceUrl":"/notebooks/83d7e5c6?record=17b3249c","sourceId":"17b3249c","favoriteType":"tutorbot","summary":"交互验收:展开原文、返回来源、保存重开。","metadata":"{\"partner_name\":\"学习伙伴\"}","expanded":false},"children":[]},{"id":"aa0040fc-75a5-47df-a2f5-7ee1cd26fe3e","type":"clip","props":{"title":"引导学习 · 逐步理解","markdown":"# 学习目标\n理解水的状态变化。\n\n## 第一步\n观察杯壁水滴。\n\n## 反思\n为什么水滴出现在外壁?","sourceUrl":"/notebooks/83d7e5c6?record=ba719159","sourceId":"ba719159","favoriteType":"chat","summary":"交互验收:展开原文、返回来源、保存重开。","metadata":"{\"source\":\"chat\",\"capability\":\"mastery_path\"}","expanded":false},"children":[]}],"schema_version":1,"revision":8,"parent_id":null,"icon":"","cover":"","pinned":false,"applied_suggestion_ids":[],"created_at":1792239955.009933,"updated_at":1792241590.059096}
diff --git a/artifacts/notes/favorites-audit/moved-source.jpg b/artifacts/notes/favorites-audit/moved-source.jpg
deleted file mode 100644
index 8e65aaa92..000000000
Binary files a/artifacts/notes/favorites-audit/moved-source.jpg and /dev/null differ
diff --git a/artifacts/notes/favorites-audit/new_page_note_id.json b/artifacts/notes/favorites-audit/new_page_note_id.json
deleted file mode 100644
index 7857b2fa1..000000000
--- a/artifacts/notes/favorites-audit/new_page_note_id.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "id": "ab03bf4a11c2",
- "title": "研究 · 水循环证据",
- "content": "# 研究问题\n水在环境中如何循环?\n\n## 证据\n| 过程 | 能量 |\n| --- | --- |\n| 蒸发 | 吸热 |\n| 凝结 | 放热 |\n\n## 结论\n水循环依靠太阳能驱动。\n\n## 资料边界\n这是交互验收用的简短研究资料。\n\n[Source](/notebooks/215dbe83?record=0f1dfc6c)",
- "blocks": [
- {
- "id": "8b6eee8422664c2cb2d371179d04c965",
- "type": "clip",
- "props": {
- "title": "研究 · 水循环证据",
- "markdown": "# 研究问题\n水在环境中如何循环?\n\n## 证据\n| 过程 | 能量 |\n| --- | --- |\n| 蒸发 | 吸热 |\n| 凝结 | 放热 |\n\n## 结论\n水循环依靠太阳能驱动。\n\n## 资料边界\n这是交互验收用的简短研究资料。",
- "sourceUrl": "/notebooks/215dbe83?record=0f1dfc6c",
- "sourceId": "0f1dfc6c",
- "favoriteType": "research",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": true
- },
- "children": []
- }
- ],
- "schema_version": 1,
- "revision": 2,
- "parent_id": null,
- "icon": "",
- "cover": "",
- "pinned": false,
- "applied_suggestion_ids": [],
- "created_at": 1792242057.559506,
- "updated_at": 1792242109.330133
-}
diff --git a/artifacts/notes/favorites-audit/note-after-insert.json b/artifacts/notes/favorites-audit/note-after-insert.json
deleted file mode 100644
index 92dfe661e..000000000
--- a/artifacts/notes/favorites-audit/note-after-insert.json
+++ /dev/null
@@ -1 +0,0 @@
-{"id":"a8efdf7eee87","title":"收藏夹 · 多类型与来源验收","content":"## User\n请记录水循环的三个阶段,供收藏夹流程验收。\n\n## Assistant\n## 水循环原始资料\n\n水循环包括 **蒸发、凝结和降水**。\n\n1. 太阳加热水面,液态水变成水汽。\n2. 水汽冷却凝结成云。\n3. 云滴增大后形成降水。\n\n> 原文校验:这段内容在收藏和引用后应保持不变。\n\n[Source](/notebooks/83d7e5c6?record=22754e42)\n\n## User\n请记录水循环的三个阶段,供收藏夹流程验收。\n\n## Assistant\n## 水循环原始资料\n\n水循环包括 **蒸发、凝结和降水**。\n\n1. 太阳加热水面,液态水变成水汽。\n2. 水汽冷却凝结成云。\n3. 云滴增大后形成降水。\n\n> 原文校验:这段内容在收藏和引用后应保持不变。\n\n[Source](/notebooks/83d7e5c6?record=22754e42)\n\n# 研究问题\n水在环境中如何循环?\n\n## 证据\n| 过程 | 能量 |\n| --- | --- |\n| 蒸发 | 吸热 |\n| 凝结 | 放热 |\n\n## 结论\n水循环依靠太阳能驱动。\n\n## 资料边界\n这是交互验收用的简短研究资料。\n\n[Source](/notebooks/83d7e5c6?record=0f1dfc6c)\n\n# 题目\n水循环的三个主要阶段是什么?\n\n- A. 蒸发、凝结和降水\n- B. 燃烧、熔化和结晶\n\n## 答案\n**A**。水从液态蒸发,水汽凝结,随后形成降水。\n\n[Source](/notebooks/83d7e5c6?record=9ca5160e)\n\n# 题目\n水池原有 10 L 水,蒸发 2 L 后剩余多少?\n\n## 解答\n$10-2=8$ L。\n\n先确定初始量,再减去蒸发量。\n\n[Source](/notebooks/83d7e5c6?record=f5034ee1)\n\n# 原文摘录\n> 水是生命活动的重要介质。\n\n## 阅读批注\n关注水的比热容和相变。\n\n## 延伸思考\n海洋如何调节温度?\n\n[Source](/notebooks/83d7e5c6?record=6024a065)\n\n# 视频学习\n00:00 学习开始\n00:01 观察水循环\n\n## 笔记\n通过播放进度核对时间点。\n\n[Source](/notebooks/83d7e5c6?record=ad7c3961)\n\n# 核心概念\n水循环包含三种变化。\n\n## 我的观察\n雨后水洼逐渐缩小。\n\n## 下一步\n记录每日水位。\n\n[Source](/notebooks/83d7e5c6?record=f8892445)\n\n## User\n怎样记住水循环?\n\n## Assistant\n想象一滴水旅行:**升空、成云、落雨**。\n\n[Source](/notebooks/83d7e5c6?record=17b3249c)\n\n# 学习目标\n理解水的状态变化。\n\n## 第一步\n观察杯壁水滴。\n\n## 反思\n为什么水滴出现在外壁?\n\n[Source](/notebooks/83d7e5c6?record=ba719159)","blocks":[{"id":"536a1283e1d14e9ab2e5fd6d2d268b7a","type":"clip","props":{"title":"水循环 · 已整理的收藏","markdown":"## User\n请记录水循环的三个阶段,供收藏夹流程验收。\n\n## Assistant\n## 水循环原始资料\n\n水循环包括 **蒸发、凝结和降水**。\n\n1. 太阳加热水面,液态水变成水汽。\n2. 水汽冷却凝结成云。\n3. 云滴增大后形成降水。\n\n> 原文校验:这段内容在收藏和引用后应保持不变。","sourceUrl":"/notebooks/83d7e5c6?record=22754e42","sourceId":"22754e42","favoriteType":"","summary":"","metadata":"{}","expanded":false},"children":[]},{"id":"35e811bc-e6a2-409f-bb67-73ce5cb27ee9","type":"clip","props":{"title":"水循环 · 已整理的收藏","markdown":"## User\n请记录水循环的三个阶段,供收藏夹流程验收。\n\n## Assistant\n## 水循环原始资料\n\n水循环包括 **蒸发、凝结和降水**。\n\n1. 太阳加热水面,液态水变成水汽。\n2. 水汽冷却凝结成云。\n3. 云滴增大后形成降水。\n\n> 原文校验:这段内容在收藏和引用后应保持不变。","sourceUrl":"/notebooks/83d7e5c6?record=22754e42","sourceId":"22754e42","favoriteType":"chat","summary":"验收备注:保留原文,供笔记本引用;移动后仍可返回来源。","metadata":"{\"source\":\"chat\",\"capability\":\"chat\",\"ui_language\":\"zh\",\"session_id\":\"unified_1792239246535_e22c126e\",\"total_message_count\":2,\"message_count\":2,\"selected_message_indexes\":[0,1]}","expanded":true},"children":[]},{"id":"399f4b0b-d879-4420-92cd-e6a9e68e30e0","type":"clip","props":{"title":"研究 · 水循环证据","markdown":"# 研究问题\n水在环境中如何循环?\n\n## 证据\n| 过程 | 能量 |\n| --- | --- |\n| 蒸发 | 吸热 |\n| 凝结 | 放热 |\n\n## 结论\n水循环依靠太阳能驱动。\n\n## 资料边界\n这是交互验收用的简短研究资料。","sourceUrl":"/notebooks/83d7e5c6?record=0f1dfc6c","sourceId":"0f1dfc6c","favoriteType":"research","summary":"交互验收:展开原文、返回来源、保存重开。","metadata":"{}","expanded":true},"children":[]},{"id":"2c9e9660-026b-44fd-abac-4f34adf5e42a","type":"clip","props":{"title":"题目 · 三阶段复习","markdown":"# 题目\n水循环的三个主要阶段是什么?\n\n- A. 蒸发、凝结和降水\n- B. 燃烧、熔化和结晶\n\n## 答案\n**A**。水从液态蒸发,水汽凝结,随后形成降水。","sourceUrl":"/notebooks/83d7e5c6?record=9ca5160e","sourceId":"9ca5160e","favoriteType":"question","summary":"交互验收:展开原文、返回来源、保存重开。","metadata":"{}","expanded":true},"children":[]},{"id":"fc314ab5-6270-4484-b605-aef2af8c8cd7","type":"clip","props":{"title":"解题 · 水量守恒","markdown":"# 题目\n水池原有 10 L 水,蒸发 2 L 后剩余多少?\n\n## 解答\n$10-2=8$ L。\n\n先确定初始量,再减去蒸发量。","sourceUrl":"/notebooks/83d7e5c6?record=f5034ee1","sourceId":"f5034ee1","favoriteType":"solve","summary":"交互验收:展开原文、返回来源、保存重开。","metadata":"{}","expanded":false},"children":[]},{"id":"6a29410b-bfb5-406d-8bf2-d69451af7eb0","type":"clip","props":{"title":"阅读 · 摘录与批注","markdown":"# 原文摘录\n> 水是生命活动的重要介质。\n\n## 阅读批注\n关注水的比热容和相变。\n\n## 延伸思考\n海洋如何调节温度?","sourceUrl":"/notebooks/83d7e5c6?record=6024a065","sourceId":"6024a065","favoriteType":"reading","summary":"交互验收:展开原文、返回来源、保存重开。","metadata":"{}","expanded":false},"children":[]},{"id":"da009dd0-0718-4e5a-a7f2-65d90a6c2546","type":"clip","props":{"title":"视频 · 时间点学习","markdown":"# 视频学习\n00:00 学习开始\n00:01 观察水循环\n\n## 笔记\n通过播放进度核对时间点。","sourceUrl":"/notebooks/83d7e5c6?record=ad7c3961","sourceId":"ad7c3961","favoriteType":"video_learning","summary":"交互验收:展开原文、返回来源、保存重开。","metadata":"{\"video_url\":\"/api/documents/46c793263607/assets/2987657e75cb40bba8c0d49208c609e6.mp4?dt_workspace=\"}","expanded":true},"children":[]},{"id":"e0e07e3a-02bd-4276-9e30-86c6faa32dd0","type":"clip","props":{"title":"笔记 · 整理材料","markdown":"# 核心概念\n水循环包含三种变化。\n\n## 我的观察\n雨后水洼逐渐缩小。\n\n## 下一步\n记录每日水位。","sourceUrl":"/notebooks/83d7e5c6?record=f8892445","sourceId":"f8892445","favoriteType":"co_writer","summary":"交互验收:展开原文、返回来源、保存重开。","metadata":"{}","expanded":false},"children":[]},{"id":"18bb1ac6-4be3-47ad-ba8a-78726f0b3b27","type":"clip","props":{"title":"伙伴 · 学习对话","markdown":"## User\n怎样记住水循环?\n\n## Assistant\n想象一滴水旅行:**升空、成云、落雨**。","sourceUrl":"/notebooks/83d7e5c6?record=17b3249c","sourceId":"17b3249c","favoriteType":"tutorbot","summary":"交互验收:展开原文、返回来源、保存重开。","metadata":"{\"partner_name\":\"学习伙伴\"}","expanded":false},"children":[]},{"id":"aa0040fc-75a5-47df-a2f5-7ee1cd26fe3e","type":"clip","props":{"title":"引导学习 · 逐步理解","markdown":"# 学习目标\n理解水的状态变化。\n\n## 第一步\n观察杯壁水滴。\n\n## 反思\n为什么水滴出现在外壁?","sourceUrl":"/notebooks/83d7e5c6?record=ba719159","sourceId":"ba719159","favoriteType":"chat","summary":"交互验收:展开原文、返回来源、保存重开。","metadata":"{\"source\":\"chat\",\"capability\":\"mastery_path\"}","expanded":false},"children":[]}],"schema_version":1,"revision":8,"parent_id":null,"icon":"","cover":"","pinned":false,"applied_suggestion_ids":[],"created_at":1792239955.009933,"updated_at":1792241590.059096}
diff --git a/artifacts/notes/favorites-audit/note-before-reopen.json b/artifacts/notes/favorites-audit/note-before-reopen.json
deleted file mode 100644
index ad822fae7..000000000
--- a/artifacts/notes/favorites-audit/note-before-reopen.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "id": "a8efdf7eee87",
- "title": "水循环 · 已整理的收藏",
- "content": "## User\n请记录水循环的三个阶段,供收藏夹流程验收。\n\n## Assistant\n## 水循环原始资料\n\n水循环包括 **蒸发、凝结和降水**。\n\n1. 太阳加热水面,液态水变成水汽。\n2. 水汽冷却凝结成云。\n3. 云滴增大后形成降水。\n\n> 原文校验:这段内容在收藏和引用后应保持不变。\n\n[Source](/notebooks/83d7e5c6?record=22754e42)",
- "blocks": [
- {
- "id": "536a1283e1d14e9ab2e5fd6d2d268b7a",
- "type": "clip",
- "props": {
- "title": "水循环 · 已整理的收藏",
- "markdown": "## User\n请记录水循环的三个阶段,供收藏夹流程验收。\n\n## Assistant\n## 水循环原始资料\n\n水循环包括 **蒸发、凝结和降水**。\n\n1. 太阳加热水面,液态水变成水汽。\n2. 水汽冷却凝结成云。\n3. 云滴增大后形成降水。\n\n> 原文校验:这段内容在收藏和引用后应保持不变。",
- "sourceUrl": "/notebooks/83d7e5c6?record=22754e42",
- "sourceId": "22754e42"
- },
- "children": []
- }
- ],
- "schema_version": 1,
- "revision": 1,
- "parent_id": null,
- "icon": "",
- "cover": "",
- "pinned": false,
- "applied_suggestion_ids": [],
- "created_at": 1792239955.009933,
- "updated_at": 1792239956.522229
-}
diff --git a/artifacts/notes/favorites-audit/persisted-types.json b/artifacts/notes/favorites-audit/persisted-types.json
deleted file mode 100644
index 8652ced92..000000000
--- a/artifacts/notes/favorites-audit/persisted-types.json
+++ /dev/null
@@ -1,166 +0,0 @@
-{
- "id": "a8efdf7eee87",
- "title": "收藏夹 · 多类型与来源验收",
- "content": "## User\n请记录水循环的三个阶段,供收藏夹流程验收。\n\n## Assistant\n## 水循环原始资料\n\n水循环包括 **蒸发、凝结和降水**。\n\n1. 太阳加热水面,液态水变成水汽。\n2. 水汽冷却凝结成云。\n3. 云滴增大后形成降水。\n\n> 原文校验:这段内容在收藏和引用后应保持不变。\n\n[Source](/notebooks/83d7e5c6?record=22754e42)\n\n## User\n请记录水循环的三个阶段,供收藏夹流程验收。\n\n## Assistant\n## 水循环原始资料\n\n水循环包括 **蒸发、凝结和降水**。\n\n1. 太阳加热水面,液态水变成水汽。\n2. 水汽冷却凝结成云。\n3. 云滴增大后形成降水。\n\n> 原文校验:这段内容在收藏和引用后应保持不变。\n\n[Source](/notebooks/83d7e5c6?record=22754e42)\n\n# 研究问题\n水在环境中如何循环?\n\n## 证据\n| 过程 | 能量 |\n| --- | --- |\n| 蒸发 | 吸热 |\n| 凝结 | 放热 |\n\n## 结论\n水循环依靠太阳能驱动。\n\n## 资料边界\n这是交互验收用的简短研究资料。\n\n[Source](/notebooks/83d7e5c6?record=0f1dfc6c)\n\n# 题目\n水循环的三个主要阶段是什么?\n\n- A. 蒸发、凝结和降水\n- B. 燃烧、熔化和结晶\n\n## 答案\n**A**。水从液态蒸发,水汽凝结,随后形成降水。\n\n[Source](/notebooks/83d7e5c6?record=9ca5160e)\n\n# 题目\n水池原有 10 L 水,蒸发 2 L 后剩余多少?\n\n## 解答\n$10-2=8$ L。\n\n先确定初始量,再减去蒸发量。\n\n[Source](/notebooks/83d7e5c6?record=f5034ee1)\n\n# 原文摘录\n> 水是生命活动的重要介质。\n\n## 阅读批注\n关注水的比热容和相变。\n\n## 延伸思考\n海洋如何调节温度?\n\n[Source](/notebooks/83d7e5c6?record=6024a065)\n\n# 视频学习\n00:00 学习开始\n00:01 观察水循环\n\n## 笔记\n通过播放进度核对时间点。\n\n[Source](/notebooks/83d7e5c6?record=ad7c3961)\n\n# 核心概念\n水循环包含三种变化。\n\n## 我的观察\n雨后水洼逐渐缩小。\n\n## 下一步\n记录每日水位。\n\n[Source](/notebooks/83d7e5c6?record=f8892445)\n\n## User\n怎样记住水循环?\n\n## Assistant\n想象一滴水旅行:**升空、成云、落雨**。\n\n[Source](/notebooks/83d7e5c6?record=17b3249c)\n\n# 学习目标\n理解水的状态变化。\n\n## 第一步\n观察杯壁水滴。\n\n## 反思\n为什么水滴出现在外壁?\n\n[Source](/notebooks/83d7e5c6?record=ba719159)",
- "blocks": [
- {
- "id": "536a1283e1d14e9ab2e5fd6d2d268b7a",
- "type": "clip",
- "props": {
- "title": "水循环 · 已整理的收藏",
- "markdown": "## User\n请记录水循环的三个阶段,供收藏夹流程验收。\n\n## Assistant\n## 水循环原始资料\n\n水循环包括 **蒸发、凝结和降水**。\n\n1. 太阳加热水面,液态水变成水汽。\n2. 水汽冷却凝结成云。\n3. 云滴增大后形成降水。\n\n> 原文校验:这段内容在收藏和引用后应保持不变。",
- "sourceUrl": "/notebooks/83d7e5c6?record=22754e42",
- "sourceId": "22754e42",
- "favoriteType": "",
- "summary": "",
- "metadata": "{}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "35e811bc-e6a2-409f-bb67-73ce5cb27ee9",
- "type": "clip",
- "props": {
- "title": "水循环 · 已整理的收藏",
- "markdown": "## User\n请记录水循环的三个阶段,供收藏夹流程验收。\n\n## Assistant\n## 水循环原始资料\n\n水循环包括 **蒸发、凝结和降水**。\n\n1. 太阳加热水面,液态水变成水汽。\n2. 水汽冷却凝结成云。\n3. 云滴增大后形成降水。\n\n> 原文校验:这段内容在收藏和引用后应保持不变。",
- "sourceUrl": "/notebooks/83d7e5c6?record=22754e42",
- "sourceId": "22754e42",
- "favoriteType": "chat",
- "summary": "验收备注:保留原文,供笔记本引用;移动后仍可返回来源。",
- "metadata": "{\"source\":\"chat\",\"capability\":\"chat\",\"ui_language\":\"zh\",\"session_id\":\"unified_1792239246535_e22c126e\",\"total_message_count\":2,\"message_count\":2,\"selected_message_indexes\":[0,1]}",
- "expanded": true
- },
- "children": []
- },
- {
- "id": "399f4b0b-d879-4420-92cd-e6a9e68e30e0",
- "type": "clip",
- "props": {
- "title": "研究 · 水循环证据",
- "markdown": "# 研究问题\n水在环境中如何循环?\n\n## 证据\n| 过程 | 能量 |\n| --- | --- |\n| 蒸发 | 吸热 |\n| 凝结 | 放热 |\n\n## 结论\n水循环依靠太阳能驱动。\n\n## 资料边界\n这是交互验收用的简短研究资料。",
- "sourceUrl": "/notebooks/83d7e5c6?record=0f1dfc6c",
- "sourceId": "0f1dfc6c",
- "favoriteType": "research",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": true
- },
- "children": []
- },
- {
- "id": "2c9e9660-026b-44fd-abac-4f34adf5e42a",
- "type": "clip",
- "props": {
- "title": "题目 · 三阶段复习",
- "markdown": "# 题目\n水循环的三个主要阶段是什么?\n\n- A. 蒸发、凝结和降水\n- B. 燃烧、熔化和结晶\n\n## 答案\n**A**。水从液态蒸发,水汽凝结,随后形成降水。",
- "sourceUrl": "/notebooks/83d7e5c6?record=9ca5160e",
- "sourceId": "9ca5160e",
- "favoriteType": "question",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": true
- },
- "children": []
- },
- {
- "id": "fc314ab5-6270-4484-b605-aef2af8c8cd7",
- "type": "clip",
- "props": {
- "title": "解题 · 水量守恒",
- "markdown": "# 题目\n水池原有 10 L 水,蒸发 2 L 后剩余多少?\n\n## 解答\n$10-2=8$ L。\n\n先确定初始量,再减去蒸发量。",
- "sourceUrl": "/notebooks/83d7e5c6?record=f5034ee1",
- "sourceId": "f5034ee1",
- "favoriteType": "solve",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "6a29410b-bfb5-406d-8bf2-d69451af7eb0",
- "type": "clip",
- "props": {
- "title": "阅读 · 摘录与批注",
- "markdown": "# 原文摘录\n> 水是生命活动的重要介质。\n\n## 阅读批注\n关注水的比热容和相变。\n\n## 延伸思考\n海洋如何调节温度?",
- "sourceUrl": "/notebooks/83d7e5c6?record=6024a065",
- "sourceId": "6024a065",
- "favoriteType": "reading",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "da009dd0-0718-4e5a-a7f2-65d90a6c2546",
- "type": "clip",
- "props": {
- "title": "视频 · 时间点学习",
- "markdown": "# 视频学习\n00:00 学习开始\n00:01 观察水循环\n\n## 笔记\n通过播放进度核对时间点。",
- "sourceUrl": "/notebooks/83d7e5c6?record=ad7c3961",
- "sourceId": "ad7c3961",
- "favoriteType": "video_learning",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{\"video_url\":\"/api/documents/46c793263607/assets/2987657e75cb40bba8c0d49208c609e6.mp4?dt_workspace=\"}",
- "expanded": true
- },
- "children": []
- },
- {
- "id": "e0e07e3a-02bd-4276-9e30-86c6faa32dd0",
- "type": "clip",
- "props": {
- "title": "笔记 · 整理材料",
- "markdown": "# 核心概念\n水循环包含三种变化。\n\n## 我的观察\n雨后水洼逐渐缩小。\n\n## 下一步\n记录每日水位。",
- "sourceUrl": "/notebooks/83d7e5c6?record=f8892445",
- "sourceId": "f8892445",
- "favoriteType": "co_writer",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "18bb1ac6-4be3-47ad-ba8a-78726f0b3b27",
- "type": "clip",
- "props": {
- "title": "伙伴 · 学习对话",
- "markdown": "## User\n怎样记住水循环?\n\n## Assistant\n想象一滴水旅行:**升空、成云、落雨**。",
- "sourceUrl": "/notebooks/83d7e5c6?record=17b3249c",
- "sourceId": "17b3249c",
- "favoriteType": "tutorbot",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{\"partner_name\":\"学习伙伴\"}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "aa0040fc-75a5-47df-a2f5-7ee1cd26fe3e",
- "type": "clip",
- "props": {
- "title": "引导学习 · 逐步理解",
- "markdown": "# 学习目标\n理解水的状态变化。\n\n## 第一步\n观察杯壁水滴。\n\n## 反思\n为什么水滴出现在外壁?",
- "sourceUrl": "/notebooks/83d7e5c6?record=ba719159",
- "sourceId": "ba719159",
- "favoriteType": "chat",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{\"source\":\"chat\",\"capability\":\"mastery_path\"}",
- "expanded": false
- },
- "children": []
- }
- ],
- "schema_version": 1,
- "revision": 8,
- "parent_id": null,
- "icon": "",
- "cover": "",
- "pinned": false,
- "applied_suggestion_ids": [],
- "created_at": 1792239955.009933,
- "updated_at": 1792241590.059096
-}
diff --git a/artifacts/notes/favorites-audit/saved-favorite.json b/artifacts/notes/favorites-audit/saved-favorite.json
deleted file mode 100644
index 258075c22..000000000
--- a/artifacts/notes/favorites-audit/saved-favorite.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "id": "83d7e5c6",
- "name": "收藏夹验收 · 收件箱",
- "description": "",
- "created_at": 1792239510.328375,
- "updated_at": 1792239664.413095,
- "records": [
- {
- "id": "22754e42",
- "type": "chat",
- "title": "水循环 · 已整理的收藏",
- "summary": "验收备注:保留原文,供笔记本引用;移动后仍可返回来源。",
- "user_query": "请记录水循环的三个阶段,供收藏夹流程验收。",
- "output": "## User\n请记录水循环的三个阶段,供收藏夹流程验收。\n\n## Assistant\n## 水循环原始资料\n\n水循环包括 **蒸发、凝结和降水**。\n\n1. 太阳加热水面,液态水变成水汽。\n2. 水汽冷却凝结成云。\n3. 云滴增大后形成降水。\n\n> 原文校验:这段内容在收藏和引用后应保持不变。",
- "metadata": {
- "source": "chat",
- "capability": "chat",
- "ui_language": "zh",
- "session_id": "unified_1792239246535_e22c126e",
- "total_message_count": 2,
- "message_count": 2,
- "selected_message_indexes": [
- 0,
- 1
- ]
- },
- "created_at": 1792239528.303999,
- "kb_name": null
- }
- ],
- "color": "#6366F1",
- "icon": "book"
-}
diff --git a/artifacts/notes/favorites-audit/ui-checks.json b/artifacts/notes/favorites-audit/ui-checks.json
deleted file mode 100644
index a7ac2111b..000000000
--- a/artifacts/notes/favorites-audit/ui-checks.json
+++ /dev/null
@@ -1,151 +0,0 @@
-{
- "expandResults": [
- {
- "title": "聊天 · 收藏原文 水循环",
- "expanded": "true",
- "body": "用户\n助手"
- },
- {
- "title": "研究 · 收藏原文 研究",
- "expanded": "true",
- "body": "目录\n研究问题\n\n水在环境中如何循环?\n\n证据\n过程\t能量\n蒸发\t吸热\n凝结\t放热\n结论\n\n水循环依靠太阳能驱动。\n\n资料边界\n\n这是交互验收用的简短研究资料。"
- },
- {
- "title": "题目 · 收藏原文 题目",
- "expanded": "true",
- "body": "题目\n\n水循环的三个主要阶段是什么?\n\nA. 蒸发、凝结和降水\nB. 燃烧、熔化和结晶\n查看答案与解析"
- },
- {
- "title": "解答 · 收藏原文 解题",
- "expanded": "true",
- "body": "题目\n\n水池原有 10 L 水,蒸发 2 L 后剩余多少?\n\n查看答案与解析"
- },
- {
- "title": "阅读 · 收藏原文 阅读",
- "expanded": "true",
- "body": "目录\n原文摘录\n\n水是生命活动的重要介质。\n\n阅读批注\n\n关注水的比热容和相变。\n\n延伸思考\n\n海洋如何调节温度?"
- },
- {
- "title": "视频学习 · 收藏原文 视频",
- "expanded": "true",
- "body": "00:00 · 学习开始\n00:01 · 观察水循环\n视频学习\n\n00:00 学习开始 00:01 观察水循环\n\n笔记\n\n通过播放进度核对时间点。"
- },
- {
- "title": "笔记本 · 收藏原文 笔记",
- "expanded": "true",
- "body": "目录\n核心概念\n\n水循环包含三种变化。\n\n我的观察\n\n雨后水洼逐渐缩小。\n\n下一步\n\n记录每日水位。"
- },
- {
- "title": "伙伴 · 收藏原文 伙伴",
- "expanded": "true",
- "body": "用户\n\n怎样记住水循环?\n\n助手\n\n想象一滴水旅行:升空、成云、落雨。"
- },
- {
- "title": "引导学习 · 收藏原文 引导学习",
- "expanded": "true",
- "body": "目录\n学习目标\n\n理解水的状态变化。\n\n第一步\n\n观察杯壁水滴。\n\n反思\n\n为什么水滴出现在外壁?"
- }
- ],
- "sourceChecks": [
- {
- "kind": "研究",
- "expanded": "true"
- },
- {
- "kind": "题目",
- "expanded": "true"
- },
- {
- "kind": "解答",
- "expanded": "true"
- },
- {
- "kind": "阅读",
- "expanded": "true"
- },
- {
- "kind": "视频学习",
- "expanded": "true"
- },
- {
- "kind": "笔记本",
- "expanded": "true"
- },
- {
- "kind": "伙伴",
- "expanded": "true"
- },
- {
- "kind": "引导学习",
- "expanded": "true"
- }
- ],
- "moveChecks": [
- {
- "kind": "研究",
- "source": "true"
- },
- {
- "kind": "题目",
- "source": "true"
- },
- {
- "kind": "解答",
- "source": "true"
- },
- {
- "kind": "阅读",
- "source": "true"
- },
- {
- "kind": "视频学习",
- "source": "true"
- },
- {
- "kind": "笔记本",
- "source": "true"
- },
- {
- "kind": "伙伴",
- "source": "true"
- },
- {
- "kind": "引导学习",
- "source": "true"
- }
- ],
- "movedLinkChecks": [
- {
- "kind": "研究",
- "expanded": "true"
- },
- {
- "kind": "题目",
- "expanded": "true"
- },
- {
- "kind": "解答",
- "expanded": "true"
- },
- {
- "kind": "阅读",
- "expanded": "true"
- },
- {
- "kind": "视频学习",
- "expanded": "true"
- },
- {
- "kind": "笔记本",
- "expanded": "true"
- },
- {
- "kind": "伙伴",
- "expanded": "true"
- },
- {
- "kind": "引导学习",
- "expanded": "true"
- }
- ]
-}
diff --git a/artifacts/notes/favorites-audit/verification.json b/artifacts/notes/favorites-audit/verification.json
deleted file mode 100644
index a18312bc5..000000000
--- a/artifacts/notes/favorites-audit/verification.json
+++ /dev/null
@@ -1,105 +0,0 @@
-{
- "branch": "dt-exp-idp",
- "frontend_unit_tests": 70,
- "note_regression_tests": 13,
- "backend_tests": 99,
- "production_build": "passed",
- "ui_types": [
- "chat",
- "research",
- "question",
- "solve",
- "reading",
- "video_learning",
- "co_writer",
- "tutorbot",
- "guided_learning"
- ],
- "fixture_provenance": "Synthetic learning data; all collection insertion, expansion, collapse, moves, source navigation and rename flows exercised in the browser. Chat capture saved through actual UI and AI summary. Other typed records prepared with local API.",
- "source_collection_renamed": "收藏夹验收 · 已归档资料",
- "note_title": "收藏夹 · 多类型与来源验收",
- "revision": 9,
- "checks": [
- {
- "type": "",
- "id": "22754e42",
- "expanded": false,
- "source_resolves": true,
- "original_matches": true,
- "sha256": "22865c01659d1e96decc3cc2bc366a3a93a34e07e1d7125b6aa0a0a8d11cf5b0"
- },
- {
- "type": "chat",
- "id": "22754e42",
- "expanded": false,
- "source_resolves": true,
- "original_matches": true,
- "sha256": "22865c01659d1e96decc3cc2bc366a3a93a34e07e1d7125b6aa0a0a8d11cf5b0"
- },
- {
- "type": "research",
- "id": "0f1dfc6c",
- "expanded": false,
- "source_resolves": true,
- "original_matches": true,
- "sha256": "58708a2d0d36609d54bd9e9455d9db7acb9b6a8f700dad63822448c98195512b"
- },
- {
- "type": "question",
- "id": "9ca5160e",
- "expanded": true,
- "source_resolves": true,
- "original_matches": true,
- "sha256": "b3bb7d9436b739524edaf0031f5b04cf30f829b93503a3bf14bb7d6a8afd9de7"
- },
- {
- "type": "solve",
- "id": "f5034ee1",
- "expanded": false,
- "source_resolves": true,
- "original_matches": true,
- "sha256": "9efd76fbd028639d2e086cad15b9966c33180065649e02f1c414db196538f0e9"
- },
- {
- "type": "reading",
- "id": "6024a065",
- "expanded": false,
- "source_resolves": true,
- "original_matches": true,
- "sha256": "812e1a16cb594dfc0d286ea605ddb2355df4faa3c06d5f5c9de6b1f7d34b7b18"
- },
- {
- "type": "video_learning",
- "id": "ad7c3961",
- "expanded": false,
- "source_resolves": true,
- "original_matches": true,
- "sha256": "eced9cbdbcd6fe1b6a0468243a96eb848fe3b1938ce6a107c30b62169f2f460c"
- },
- {
- "type": "co_writer",
- "id": "f8892445",
- "expanded": false,
- "source_resolves": true,
- "original_matches": true,
- "sha256": "d550c84d9431e936dc641d10477b45929bb365cfd437b07e127f77450c59ea6b"
- },
- {
- "type": "tutorbot",
- "id": "17b3249c",
- "expanded": false,
- "source_resolves": true,
- "original_matches": true,
- "sha256": "ff47fe8d7c7051ca5a805d391a1cea1db348e866b49965fcb19da9df00f7dcc8"
- },
- {
- "type": "chat",
- "id": "ba719159",
- "expanded": false,
- "source_resolves": true,
- "original_matches": true,
- "sha256": "b3161890bfb5f3d2c809173b5f1c0e6e372d55f72c81caadb4db30b31259ca7c"
- }
- ],
- "final_url": "http://127.0.0.1:3784/co-writer/a8efdf7eee87?dt_workspace="
-}
diff --git a/artifacts/notes/favorites-structure/after-reopen.json b/artifacts/notes/favorites-structure/after-reopen.json
deleted file mode 100644
index de440a060..000000000
--- a/artifacts/notes/favorites-structure/after-reopen.json
+++ /dev/null
@@ -1,251 +0,0 @@
-{
- "id": "60b5f3fff04b",
- "title": "收藏块 · 批量与结构验收",
- "content": "批量插入起点:收藏将放在这里之后。\n\n# 学习目标\n理解水的状态变化。\n\n## 第一步\n观察杯壁水滴。\n\n## 反思\n为什么水滴出现在外壁?\n\n[Source](/notebooks/215dbe83?record=ba719159)\n\n# 研究问题\n水在环境中如何循环?\n\n## 证据\n| 过程 | 能量 |\n| --- | --- |\n| 蒸发 | 吸热 |\n| 凝结 | 放热 |\n\n## 结论\n水循环依靠太阳能驱动。\n\n## 资料边界\n这是交互验收用的简短研究资料。\n\n[Source](/notebooks/215dbe83?record=0f1dfc6c)\n\n # 核心概念\n 水循环包含三种变化。\n \n ## 我的观察\n 雨后水洼逐渐缩小。\n \n ## 下一步\n 记录每日水位。\n \n [Source](/notebooks/215dbe83?record=f8892445)\n\n# 题目\n水循环的三个主要阶段是什么?\n\n- A. 蒸发、凝结和降水\n- B. 燃烧、熔化和结晶\n\n## 答案\n**A**。水从液态蒸发,水汽凝结,随后形成降水。\n\n[Source](/notebooks/215dbe83?record=9ca5160e)\n\n# 题目\n水池原有 10 L 水,蒸发 2 L 后剩余多少?\n\n## 解答\n$10-2=8$ L。\n\n先确定初始量,再减去蒸发量。\n\n[Source](/notebooks/215dbe83?record=f5034ee1)\n\n- 嵌套资料组\n\n 嵌套插入起点。\n\n # 研究问题\n 水在环境中如何循环?\n \n ## 证据\n | 过程 | 能量 |\n | --- | --- |\n | 蒸发 | 吸热 |\n | 凝结 | 放热 |\n \n ## 结论\n 水循环依靠太阳能驱动。\n \n ## 资料边界\n 这是交互验收用的简短研究资料。\n \n [Source](/notebooks/215dbe83?record=0f1dfc6c)\n\n # 题目\n 水循环的三个主要阶段是什么?\n \n - A. 蒸发、凝结和降水\n - B. 燃烧、熔化和结晶\n \n ## 答案\n **A**。水从液态蒸发,水汽凝结,随后形成降水。\n \n [Source](/notebooks/215dbe83?record=9ca5160e)\n\n ## User\n 怎样记住水循环?\n \n ## Assistant\n 想象一滴水旅行:**升空、成云、落雨**。\n \n [Source](/notebooks/215dbe83?record=17b3249c)\n\n # 原文摘录\n > 水是生命活动的重要介质。\n \n ## 阅读批注\n 关注水的比热容和相变。\n \n ## 延伸思考\n 海洋如何调节温度?\n \n [Source](/notebooks/215dbe83?record=6024a065)\n\n # 视频学习\n 00:00 学习开始\n 00:01 观察水循环\n \n ## 笔记\n 通过播放进度核对时间点。\n \n [Source](/notebooks/215dbe83?record=ad7c3961)\n\n正文末尾:此段必须始终保留。\n\n## User\n请记录水循环的三个阶段,供收藏夹流程验收。\n\n## Assistant\n## 水循环原始资料\n\n水循环包括 **蒸发、凝结和降水**。\n\n1. 太阳加热水面,液态水变成水汽。\n2. 水汽冷却凝结成云。\n3. 云滴增大后形成降水。\n\n> 原文校验:这段内容在收藏和引用后应保持不变。\n\n[Source](/notebooks/215dbe83?record=22754e42)",
- "blocks": [
- {
- "id": "audit-start",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "批量插入起点:收藏将放在这里之后。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "0ec53006-4b3d-475e-beaa-f6ea62f9d014",
- "type": "clip",
- "props": {
- "title": "引导学习 · 逐步理解",
- "markdown": "# 学习目标\n理解水的状态变化。\n\n## 第一步\n观察杯壁水滴。\n\n## 反思\n为什么水滴出现在外壁?",
- "sourceUrl": "/notebooks/215dbe83?record=ba719159",
- "sourceId": "ba719159",
- "favoriteType": "chat",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{\"source\":\"chat\",\"capability\":\"mastery_path\"}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "24cab4f4-f49f-4fd1-a7b4-62361d0c15b2",
- "type": "clip",
- "props": {
- "title": "研究 · 水循环证据",
- "markdown": "# 研究问题\n水在环境中如何循环?\n\n## 证据\n| 过程 | 能量 |\n| --- | --- |\n| 蒸发 | 吸热 |\n| 凝结 | 放热 |\n\n## 结论\n水循环依靠太阳能驱动。\n\n## 资料边界\n这是交互验收用的简短研究资料。",
- "sourceUrl": "/notebooks/215dbe83?record=0f1dfc6c",
- "sourceId": "0f1dfc6c",
- "favoriteType": "research",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": false
- },
- "children": [
- {
- "id": "98e3e2c1-2aa7-4824-b6cd-f6ebea631bc5",
- "type": "clip",
- "props": {
- "title": "笔记 · 整理材料",
- "markdown": "# 核心概念\n水循环包含三种变化。\n\n## 我的观察\n雨后水洼逐渐缩小。\n\n## 下一步\n记录每日水位。",
- "sourceUrl": "/notebooks/215dbe83?record=f8892445",
- "sourceId": "f8892445",
- "favoriteType": "co_writer",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": true
- },
- "children": []
- }
- ]
- },
- {
- "id": "86992c9d-c52c-411a-8ea9-850df2c03027",
- "type": "clip",
- "props": {
- "title": "题目 · 三阶段复习",
- "markdown": "# 题目\n水循环的三个主要阶段是什么?\n\n- A. 蒸发、凝结和降水\n- B. 燃烧、熔化和结晶\n\n## 答案\n**A**。水从液态蒸发,水汽凝结,随后形成降水。",
- "sourceUrl": "/notebooks/215dbe83?record=9ca5160e",
- "sourceId": "9ca5160e",
- "favoriteType": "question",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "6c0f5edc-fb00-436e-a085-2b1db2642b76",
- "type": "clip",
- "props": {
- "title": "解题 · 水量守恒",
- "markdown": "# 题目\n水池原有 10 L 水,蒸发 2 L 后剩余多少?\n\n## 解答\n$10-2=8$ L。\n\n先确定初始量,再减去蒸发量。",
- "sourceUrl": "/notebooks/215dbe83?record=f5034ee1",
- "sourceId": "f5034ee1",
- "favoriteType": "solve",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "audit-parent",
- "type": "toggleListItem",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "嵌套资料组",
- "styles": {}
- }
- ],
- "children": [
- {
- "id": "audit-child",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "嵌套插入起点。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "7fa2ed7d-fb5e-4e01-baa5-1d4156ea42ab",
- "type": "clip",
- "props": {
- "title": "研究 · 水循环证据",
- "markdown": "# 研究问题\n水在环境中如何循环?\n\n## 证据\n| 过程 | 能量 |\n| --- | --- |\n| 蒸发 | 吸热 |\n| 凝结 | 放热 |\n\n## 结论\n水循环依靠太阳能驱动。\n\n## 资料边界\n这是交互验收用的简短研究资料。",
- "sourceUrl": "/notebooks/215dbe83?record=0f1dfc6c",
- "sourceId": "0f1dfc6c",
- "favoriteType": "research",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "2e7db902-cdd1-4840-a593-4a15bdc20657",
- "type": "clip",
- "props": {
- "title": "题目 · 三阶段复习",
- "markdown": "# 题目\n水循环的三个主要阶段是什么?\n\n- A. 蒸发、凝结和降水\n- B. 燃烧、熔化和结晶\n\n## 答案\n**A**。水从液态蒸发,水汽凝结,随后形成降水。",
- "sourceUrl": "/notebooks/215dbe83?record=9ca5160e",
- "sourceId": "9ca5160e",
- "favoriteType": "question",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "fe4a830d-e1c7-4f6e-9422-a4f186c69011",
- "type": "clip",
- "props": {
- "title": "伙伴 · 学习对话",
- "markdown": "## User\n怎样记住水循环?\n\n## Assistant\n想象一滴水旅行:**升空、成云、落雨**。",
- "sourceUrl": "/notebooks/215dbe83?record=17b3249c",
- "sourceId": "17b3249c",
- "favoriteType": "tutorbot",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{\"partner_name\":\"学习伙伴\"}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "ff0a3566-dfe3-4768-8876-d834c389bb9d",
- "type": "clip",
- "props": {
- "title": "阅读 · 摘录与批注",
- "markdown": "# 原文摘录\n> 水是生命活动的重要介质。\n\n## 阅读批注\n关注水的比热容和相变。\n\n## 延伸思考\n海洋如何调节温度?",
- "sourceUrl": "/notebooks/215dbe83?record=6024a065",
- "sourceId": "6024a065",
- "favoriteType": "reading",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": true
- },
- "children": []
- },
- {
- "id": "ef4370f1-f279-4235-8128-51fb3466c06f",
- "type": "clip",
- "props": {
- "title": "视频 · 时间点学习",
- "markdown": "# 视频学习\n00:00 学习开始\n00:01 观察水循环\n\n## 笔记\n通过播放进度核对时间点。",
- "sourceUrl": "/notebooks/215dbe83?record=ad7c3961",
- "sourceId": "ad7c3961",
- "favoriteType": "video_learning",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{\"video_url\":\"/api/documents/46c793263607/assets/2987657e75cb40bba8c0d49208c609e6.mp4?dt_workspace=\"}",
- "expanded": false
- },
- "children": []
- }
- ]
- },
- {
- "id": "audit-end",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "正文末尾:此段必须始终保留。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "450f148d-cfc6-4bc4-bc21-ee50b4c367e3",
- "type": "clip",
- "props": {
- "title": "水循环 · 移动改名后原文",
- "markdown": "## User\n请记录水循环的三个阶段,供收藏夹流程验收。\n\n## Assistant\n## 水循环原始资料\n\n水循环包括 **蒸发、凝结和降水**。\n\n1. 太阳加热水面,液态水变成水汽。\n2. 水汽冷却凝结成云。\n3. 云滴增大后形成降水。\n\n> 原文校验:这段内容在收藏和引用后应保持不变。",
- "sourceUrl": "/notebooks/215dbe83?record=22754e42",
- "sourceId": "22754e42",
- "favoriteType": "chat",
- "summary": "验收备注:保留原文,供笔记本引用;移动后仍可返回来源。",
- "metadata": "{\"source\":\"chat\",\"capability\":\"chat\",\"ui_language\":\"zh\",\"session_id\":\"unified_1792239246535_e22c126e\",\"total_message_count\":2,\"message_count\":2,\"selected_message_indexes\":[0,1]}",
- "expanded": false
- },
- "children": []
- }
- ],
- "schema_version": 1,
- "revision": 24,
- "parent_id": null,
- "icon": "",
- "cover": "",
- "pinned": false,
- "applied_suggestion_ids": [],
- "created_at": 1792246032.045156,
- "updated_at": 1792246989.5201962
-}
diff --git a/artifacts/notes/favorites-structure/baseline.json b/artifacts/notes/favorites-structure/baseline.json
deleted file mode 100644
index 0665d898c..000000000
--- a/artifacts/notes/favorites-structure/baseline.json
+++ /dev/null
@@ -1,160 +0,0 @@
-{
- "id": "60b5f3fff04b",
- "title": "收藏块 · 批量与结构验收",
- "content": "批量插入起点:收藏将放在这里之后。\n\n# 研究问题\n水在环境中如何循环?\n\n## 证据\n| 过程 | 能量 |\n| --- | --- |\n| 蒸发 | 吸热 |\n| 凝结 | 放热 |\n\n## 结论\n水循环依靠太阳能驱动。\n\n## 资料边界\n这是交互验收用的简短研究资料。\n\n[Source](/notebooks/215dbe83?record=0f1dfc6c)\n\n# 题目\n水循环的三个主要阶段是什么?\n\n- A. 蒸发、凝结和降水\n- B. 燃烧、熔化和结晶\n\n## 答案\n**A**。水从液态蒸发,水汽凝结,随后形成降水。\n\n[Source](/notebooks/215dbe83?record=9ca5160e)\n\n# 题目\n水池原有 10 L 水,蒸发 2 L 后剩余多少?\n\n## 解答\n$10-2=8$ L。\n\n先确定初始量,再减去蒸发量。\n\n[Source](/notebooks/215dbe83?record=f5034ee1)\n\n- 嵌套资料组\n\n 嵌套插入起点。\n\n # 原文摘录\n > 水是生命活动的重要介质。\n \n ## 阅读批注\n 关注水的比热容和相变。\n \n ## 延伸思考\n 海洋如何调节温度?\n \n [Source](/notebooks/215dbe83?record=6024a065)\n\n # 视频学习\n 00:00 学习开始\n 00:01 观察水循环\n \n ## 笔记\n 通过播放进度核对时间点。\n \n [Source](/notebooks/215dbe83?record=ad7c3961)\n\n正文末尾:此段必须始终保留。",
- "blocks": [
- {
- "id": "audit-start",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "批量插入起点:收藏将放在这里之后。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "24cab4f4-f49f-4fd1-a7b4-62361d0c15b2",
- "type": "clip",
- "props": {
- "title": "研究 · 水循环证据",
- "markdown": "# 研究问题\n水在环境中如何循环?\n\n## 证据\n| 过程 | 能量 |\n| --- | --- |\n| 蒸发 | 吸热 |\n| 凝结 | 放热 |\n\n## 结论\n水循环依靠太阳能驱动。\n\n## 资料边界\n这是交互验收用的简短研究资料。",
- "sourceUrl": "/notebooks/215dbe83?record=0f1dfc6c",
- "sourceId": "0f1dfc6c",
- "favoriteType": "research",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "86992c9d-c52c-411a-8ea9-850df2c03027",
- "type": "clip",
- "props": {
- "title": "题目 · 三阶段复习",
- "markdown": "# 题目\n水循环的三个主要阶段是什么?\n\n- A. 蒸发、凝结和降水\n- B. 燃烧、熔化和结晶\n\n## 答案\n**A**。水从液态蒸发,水汽凝结,随后形成降水。",
- "sourceUrl": "/notebooks/215dbe83?record=9ca5160e",
- "sourceId": "9ca5160e",
- "favoriteType": "question",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "6c0f5edc-fb00-436e-a085-2b1db2642b76",
- "type": "clip",
- "props": {
- "title": "解题 · 水量守恒",
- "markdown": "# 题目\n水池原有 10 L 水,蒸发 2 L 后剩余多少?\n\n## 解答\n$10-2=8$ L。\n\n先确定初始量,再减去蒸发量。",
- "sourceUrl": "/notebooks/215dbe83?record=f5034ee1",
- "sourceId": "f5034ee1",
- "favoriteType": "solve",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "audit-parent",
- "type": "toggleListItem",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "嵌套资料组",
- "styles": {}
- }
- ],
- "children": [
- {
- "id": "audit-child",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "嵌套插入起点。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "ff0a3566-dfe3-4768-8876-d834c389bb9d",
- "type": "clip",
- "props": {
- "title": "阅读 · 摘录与批注",
- "markdown": "# 原文摘录\n> 水是生命活动的重要介质。\n\n## 阅读批注\n关注水的比热容和相变。\n\n## 延伸思考\n海洋如何调节温度?",
- "sourceUrl": "/notebooks/215dbe83?record=6024a065",
- "sourceId": "6024a065",
- "favoriteType": "reading",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "ef4370f1-f279-4235-8128-51fb3466c06f",
- "type": "clip",
- "props": {
- "title": "视频 · 时间点学习",
- "markdown": "# 视频学习\n00:00 学习开始\n00:01 观察水循环\n\n## 笔记\n通过播放进度核对时间点。",
- "sourceUrl": "/notebooks/215dbe83?record=ad7c3961",
- "sourceId": "ad7c3961",
- "favoriteType": "video_learning",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{\"video_url\":\"/api/documents/46c793263607/assets/2987657e75cb40bba8c0d49208c609e6.mp4?dt_workspace=\"}",
- "expanded": false
- },
- "children": []
- }
- ]
- },
- {
- "id": "audit-end",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "正文末尾:此段必须始终保留。",
- "styles": {}
- }
- ],
- "children": []
- }
- ],
- "schema_version": 1,
- "revision": 6,
- "parent_id": null,
- "icon": "",
- "cover": "",
- "pinned": false,
- "applied_suggestion_ids": [],
- "created_at": 1792246032.045156,
- "updated_at": 1792246194.9272041
-}
diff --git a/artifacts/notes/favorites-structure/before-reopen.json b/artifacts/notes/favorites-structure/before-reopen.json
deleted file mode 100644
index de440a060..000000000
--- a/artifacts/notes/favorites-structure/before-reopen.json
+++ /dev/null
@@ -1,251 +0,0 @@
-{
- "id": "60b5f3fff04b",
- "title": "收藏块 · 批量与结构验收",
- "content": "批量插入起点:收藏将放在这里之后。\n\n# 学习目标\n理解水的状态变化。\n\n## 第一步\n观察杯壁水滴。\n\n## 反思\n为什么水滴出现在外壁?\n\n[Source](/notebooks/215dbe83?record=ba719159)\n\n# 研究问题\n水在环境中如何循环?\n\n## 证据\n| 过程 | 能量 |\n| --- | --- |\n| 蒸发 | 吸热 |\n| 凝结 | 放热 |\n\n## 结论\n水循环依靠太阳能驱动。\n\n## 资料边界\n这是交互验收用的简短研究资料。\n\n[Source](/notebooks/215dbe83?record=0f1dfc6c)\n\n # 核心概念\n 水循环包含三种变化。\n \n ## 我的观察\n 雨后水洼逐渐缩小。\n \n ## 下一步\n 记录每日水位。\n \n [Source](/notebooks/215dbe83?record=f8892445)\n\n# 题目\n水循环的三个主要阶段是什么?\n\n- A. 蒸发、凝结和降水\n- B. 燃烧、熔化和结晶\n\n## 答案\n**A**。水从液态蒸发,水汽凝结,随后形成降水。\n\n[Source](/notebooks/215dbe83?record=9ca5160e)\n\n# 题目\n水池原有 10 L 水,蒸发 2 L 后剩余多少?\n\n## 解答\n$10-2=8$ L。\n\n先确定初始量,再减去蒸发量。\n\n[Source](/notebooks/215dbe83?record=f5034ee1)\n\n- 嵌套资料组\n\n 嵌套插入起点。\n\n # 研究问题\n 水在环境中如何循环?\n \n ## 证据\n | 过程 | 能量 |\n | --- | --- |\n | 蒸发 | 吸热 |\n | 凝结 | 放热 |\n \n ## 结论\n 水循环依靠太阳能驱动。\n \n ## 资料边界\n 这是交互验收用的简短研究资料。\n \n [Source](/notebooks/215dbe83?record=0f1dfc6c)\n\n # 题目\n 水循环的三个主要阶段是什么?\n \n - A. 蒸发、凝结和降水\n - B. 燃烧、熔化和结晶\n \n ## 答案\n **A**。水从液态蒸发,水汽凝结,随后形成降水。\n \n [Source](/notebooks/215dbe83?record=9ca5160e)\n\n ## User\n 怎样记住水循环?\n \n ## Assistant\n 想象一滴水旅行:**升空、成云、落雨**。\n \n [Source](/notebooks/215dbe83?record=17b3249c)\n\n # 原文摘录\n > 水是生命活动的重要介质。\n \n ## 阅读批注\n 关注水的比热容和相变。\n \n ## 延伸思考\n 海洋如何调节温度?\n \n [Source](/notebooks/215dbe83?record=6024a065)\n\n # 视频学习\n 00:00 学习开始\n 00:01 观察水循环\n \n ## 笔记\n 通过播放进度核对时间点。\n \n [Source](/notebooks/215dbe83?record=ad7c3961)\n\n正文末尾:此段必须始终保留。\n\n## User\n请记录水循环的三个阶段,供收藏夹流程验收。\n\n## Assistant\n## 水循环原始资料\n\n水循环包括 **蒸发、凝结和降水**。\n\n1. 太阳加热水面,液态水变成水汽。\n2. 水汽冷却凝结成云。\n3. 云滴增大后形成降水。\n\n> 原文校验:这段内容在收藏和引用后应保持不变。\n\n[Source](/notebooks/215dbe83?record=22754e42)",
- "blocks": [
- {
- "id": "audit-start",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "批量插入起点:收藏将放在这里之后。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "0ec53006-4b3d-475e-beaa-f6ea62f9d014",
- "type": "clip",
- "props": {
- "title": "引导学习 · 逐步理解",
- "markdown": "# 学习目标\n理解水的状态变化。\n\n## 第一步\n观察杯壁水滴。\n\n## 反思\n为什么水滴出现在外壁?",
- "sourceUrl": "/notebooks/215dbe83?record=ba719159",
- "sourceId": "ba719159",
- "favoriteType": "chat",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{\"source\":\"chat\",\"capability\":\"mastery_path\"}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "24cab4f4-f49f-4fd1-a7b4-62361d0c15b2",
- "type": "clip",
- "props": {
- "title": "研究 · 水循环证据",
- "markdown": "# 研究问题\n水在环境中如何循环?\n\n## 证据\n| 过程 | 能量 |\n| --- | --- |\n| 蒸发 | 吸热 |\n| 凝结 | 放热 |\n\n## 结论\n水循环依靠太阳能驱动。\n\n## 资料边界\n这是交互验收用的简短研究资料。",
- "sourceUrl": "/notebooks/215dbe83?record=0f1dfc6c",
- "sourceId": "0f1dfc6c",
- "favoriteType": "research",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": false
- },
- "children": [
- {
- "id": "98e3e2c1-2aa7-4824-b6cd-f6ebea631bc5",
- "type": "clip",
- "props": {
- "title": "笔记 · 整理材料",
- "markdown": "# 核心概念\n水循环包含三种变化。\n\n## 我的观察\n雨后水洼逐渐缩小。\n\n## 下一步\n记录每日水位。",
- "sourceUrl": "/notebooks/215dbe83?record=f8892445",
- "sourceId": "f8892445",
- "favoriteType": "co_writer",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": true
- },
- "children": []
- }
- ]
- },
- {
- "id": "86992c9d-c52c-411a-8ea9-850df2c03027",
- "type": "clip",
- "props": {
- "title": "题目 · 三阶段复习",
- "markdown": "# 题目\n水循环的三个主要阶段是什么?\n\n- A. 蒸发、凝结和降水\n- B. 燃烧、熔化和结晶\n\n## 答案\n**A**。水从液态蒸发,水汽凝结,随后形成降水。",
- "sourceUrl": "/notebooks/215dbe83?record=9ca5160e",
- "sourceId": "9ca5160e",
- "favoriteType": "question",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "6c0f5edc-fb00-436e-a085-2b1db2642b76",
- "type": "clip",
- "props": {
- "title": "解题 · 水量守恒",
- "markdown": "# 题目\n水池原有 10 L 水,蒸发 2 L 后剩余多少?\n\n## 解答\n$10-2=8$ L。\n\n先确定初始量,再减去蒸发量。",
- "sourceUrl": "/notebooks/215dbe83?record=f5034ee1",
- "sourceId": "f5034ee1",
- "favoriteType": "solve",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "audit-parent",
- "type": "toggleListItem",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "嵌套资料组",
- "styles": {}
- }
- ],
- "children": [
- {
- "id": "audit-child",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "嵌套插入起点。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "7fa2ed7d-fb5e-4e01-baa5-1d4156ea42ab",
- "type": "clip",
- "props": {
- "title": "研究 · 水循环证据",
- "markdown": "# 研究问题\n水在环境中如何循环?\n\n## 证据\n| 过程 | 能量 |\n| --- | --- |\n| 蒸发 | 吸热 |\n| 凝结 | 放热 |\n\n## 结论\n水循环依靠太阳能驱动。\n\n## 资料边界\n这是交互验收用的简短研究资料。",
- "sourceUrl": "/notebooks/215dbe83?record=0f1dfc6c",
- "sourceId": "0f1dfc6c",
- "favoriteType": "research",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "2e7db902-cdd1-4840-a593-4a15bdc20657",
- "type": "clip",
- "props": {
- "title": "题目 · 三阶段复习",
- "markdown": "# 题目\n水循环的三个主要阶段是什么?\n\n- A. 蒸发、凝结和降水\n- B. 燃烧、熔化和结晶\n\n## 答案\n**A**。水从液态蒸发,水汽凝结,随后形成降水。",
- "sourceUrl": "/notebooks/215dbe83?record=9ca5160e",
- "sourceId": "9ca5160e",
- "favoriteType": "question",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "fe4a830d-e1c7-4f6e-9422-a4f186c69011",
- "type": "clip",
- "props": {
- "title": "伙伴 · 学习对话",
- "markdown": "## User\n怎样记住水循环?\n\n## Assistant\n想象一滴水旅行:**升空、成云、落雨**。",
- "sourceUrl": "/notebooks/215dbe83?record=17b3249c",
- "sourceId": "17b3249c",
- "favoriteType": "tutorbot",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{\"partner_name\":\"学习伙伴\"}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "ff0a3566-dfe3-4768-8876-d834c389bb9d",
- "type": "clip",
- "props": {
- "title": "阅读 · 摘录与批注",
- "markdown": "# 原文摘录\n> 水是生命活动的重要介质。\n\n## 阅读批注\n关注水的比热容和相变。\n\n## 延伸思考\n海洋如何调节温度?",
- "sourceUrl": "/notebooks/215dbe83?record=6024a065",
- "sourceId": "6024a065",
- "favoriteType": "reading",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": true
- },
- "children": []
- },
- {
- "id": "ef4370f1-f279-4235-8128-51fb3466c06f",
- "type": "clip",
- "props": {
- "title": "视频 · 时间点学习",
- "markdown": "# 视频学习\n00:00 学习开始\n00:01 观察水循环\n\n## 笔记\n通过播放进度核对时间点。",
- "sourceUrl": "/notebooks/215dbe83?record=ad7c3961",
- "sourceId": "ad7c3961",
- "favoriteType": "video_learning",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{\"video_url\":\"/api/documents/46c793263607/assets/2987657e75cb40bba8c0d49208c609e6.mp4?dt_workspace=\"}",
- "expanded": false
- },
- "children": []
- }
- ]
- },
- {
- "id": "audit-end",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "正文末尾:此段必须始终保留。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "450f148d-cfc6-4bc4-bc21-ee50b4c367e3",
- "type": "clip",
- "props": {
- "title": "水循环 · 移动改名后原文",
- "markdown": "## User\n请记录水循环的三个阶段,供收藏夹流程验收。\n\n## Assistant\n## 水循环原始资料\n\n水循环包括 **蒸发、凝结和降水**。\n\n1. 太阳加热水面,液态水变成水汽。\n2. 水汽冷却凝结成云。\n3. 云滴增大后形成降水。\n\n> 原文校验:这段内容在收藏和引用后应保持不变。",
- "sourceUrl": "/notebooks/215dbe83?record=22754e42",
- "sourceId": "22754e42",
- "favoriteType": "chat",
- "summary": "验收备注:保留原文,供笔记本引用;移动后仍可返回来源。",
- "metadata": "{\"source\":\"chat\",\"capability\":\"chat\",\"ui_language\":\"zh\",\"session_id\":\"unified_1792239246535_e22c126e\",\"total_message_count\":2,\"message_count\":2,\"selected_message_indexes\":[0,1]}",
- "expanded": false
- },
- "children": []
- }
- ],
- "schema_version": 1,
- "revision": 24,
- "parent_id": null,
- "icon": "",
- "cover": "",
- "pinned": false,
- "applied_suggestion_ids": [],
- "created_at": 1792246032.045156,
- "updated_at": 1792246989.5201962
-}
diff --git a/artifacts/notes/favorites-structure/cross-level.json b/artifacts/notes/favorites-structure/cross-level.json
deleted file mode 100644
index d2ecc9732..000000000
--- a/artifacts/notes/favorites-structure/cross-level.json
+++ /dev/null
@@ -1,205 +0,0 @@
-{
- "id": "60b5f3fff04b",
- "title": "收藏块 · 批量与结构验收",
- "content": "批量插入起点:收藏将放在这里之后。\n\n# 核心概念\n水循环包含三种变化。\n\n## 我的观察\n雨后水洼逐渐缩小。\n\n## 下一步\n记录每日水位。\n\n[Source](/notebooks/215dbe83?record=f8892445)\n\n# 学习目标\n理解水的状态变化。\n\n## 第一步\n观察杯壁水滴。\n\n## 反思\n为什么水滴出现在外壁?\n\n[Source](/notebooks/215dbe83?record=ba719159)\n\n# 研究问题\n水在环境中如何循环?\n\n## 证据\n| 过程 | 能量 |\n| --- | --- |\n| 蒸发 | 吸热 |\n| 凝结 | 放热 |\n\n## 结论\n水循环依靠太阳能驱动。\n\n## 资料边界\n这是交互验收用的简短研究资料。\n\n[Source](/notebooks/215dbe83?record=0f1dfc6c)\n\n# 题目\n水循环的三个主要阶段是什么?\n\n- A. 蒸发、凝结和降水\n- B. 燃烧、熔化和结晶\n\n## 答案\n**A**。水从液态蒸发,水汽凝结,随后形成降水。\n\n[Source](/notebooks/215dbe83?record=9ca5160e)\n\n# 题目\n水池原有 10 L 水,蒸发 2 L 后剩余多少?\n\n## 解答\n$10-2=8$ L。\n\n先确定初始量,再减去蒸发量。\n\n[Source](/notebooks/215dbe83?record=f5034ee1)\n\n- 嵌套资料组\n\n 嵌套插入起点。\n\n ## User\n 怎样记住水循环?\n \n ## Assistant\n 想象一滴水旅行:**升空、成云、落雨**。\n \n [Source](/notebooks/215dbe83?record=17b3249c)\n\n # 原文摘录\n > 水是生命活动的重要介质。\n \n ## 阅读批注\n 关注水的比热容和相变。\n \n ## 延伸思考\n 海洋如何调节温度?\n \n [Source](/notebooks/215dbe83?record=6024a065)\n\n # 视频学习\n 00:00 学习开始\n 00:01 观察水循环\n \n ## 笔记\n 通过播放进度核对时间点。\n \n [Source](/notebooks/215dbe83?record=ad7c3961)\n\n正文末尾:此段必须始终保留。",
- "blocks": [
- {
- "id": "audit-start",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "批量插入起点:收藏将放在这里之后。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "98e3e2c1-2aa7-4824-b6cd-f6ebea631bc5",
- "type": "clip",
- "props": {
- "title": "笔记 · 整理材料",
- "markdown": "# 核心概念\n水循环包含三种变化。\n\n## 我的观察\n雨后水洼逐渐缩小。\n\n## 下一步\n记录每日水位。",
- "sourceUrl": "/notebooks/215dbe83?record=f8892445",
- "sourceId": "f8892445",
- "favoriteType": "co_writer",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "0ec53006-4b3d-475e-beaa-f6ea62f9d014",
- "type": "clip",
- "props": {
- "title": "引导学习 · 逐步理解",
- "markdown": "# 学习目标\n理解水的状态变化。\n\n## 第一步\n观察杯壁水滴。\n\n## 反思\n为什么水滴出现在外壁?",
- "sourceUrl": "/notebooks/215dbe83?record=ba719159",
- "sourceId": "ba719159",
- "favoriteType": "chat",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{\"source\":\"chat\",\"capability\":\"mastery_path\"}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "24cab4f4-f49f-4fd1-a7b4-62361d0c15b2",
- "type": "clip",
- "props": {
- "title": "研究 · 水循环证据",
- "markdown": "# 研究问题\n水在环境中如何循环?\n\n## 证据\n| 过程 | 能量 |\n| --- | --- |\n| 蒸发 | 吸热 |\n| 凝结 | 放热 |\n\n## 结论\n水循环依靠太阳能驱动。\n\n## 资料边界\n这是交互验收用的简短研究资料。",
- "sourceUrl": "/notebooks/215dbe83?record=0f1dfc6c",
- "sourceId": "0f1dfc6c",
- "favoriteType": "research",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "86992c9d-c52c-411a-8ea9-850df2c03027",
- "type": "clip",
- "props": {
- "title": "题目 · 三阶段复习",
- "markdown": "# 题目\n水循环的三个主要阶段是什么?\n\n- A. 蒸发、凝结和降水\n- B. 燃烧、熔化和结晶\n\n## 答案\n**A**。水从液态蒸发,水汽凝结,随后形成降水。",
- "sourceUrl": "/notebooks/215dbe83?record=9ca5160e",
- "sourceId": "9ca5160e",
- "favoriteType": "question",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "6c0f5edc-fb00-436e-a085-2b1db2642b76",
- "type": "clip",
- "props": {
- "title": "解题 · 水量守恒",
- "markdown": "# 题目\n水池原有 10 L 水,蒸发 2 L 后剩余多少?\n\n## 解答\n$10-2=8$ L。\n\n先确定初始量,再减去蒸发量。",
- "sourceUrl": "/notebooks/215dbe83?record=f5034ee1",
- "sourceId": "f5034ee1",
- "favoriteType": "solve",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "audit-parent",
- "type": "toggleListItem",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "嵌套资料组",
- "styles": {}
- }
- ],
- "children": [
- {
- "id": "audit-child",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "嵌套插入起点。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "fe4a830d-e1c7-4f6e-9422-a4f186c69011",
- "type": "clip",
- "props": {
- "title": "伙伴 · 学习对话",
- "markdown": "## User\n怎样记住水循环?\n\n## Assistant\n想象一滴水旅行:**升空、成云、落雨**。",
- "sourceUrl": "/notebooks/215dbe83?record=17b3249c",
- "sourceId": "17b3249c",
- "favoriteType": "tutorbot",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{\"partner_name\":\"学习伙伴\"}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "ff0a3566-dfe3-4768-8876-d834c389bb9d",
- "type": "clip",
- "props": {
- "title": "阅读 · 摘录与批注",
- "markdown": "# 原文摘录\n> 水是生命活动的重要介质。\n\n## 阅读批注\n关注水的比热容和相变。\n\n## 延伸思考\n海洋如何调节温度?",
- "sourceUrl": "/notebooks/215dbe83?record=6024a065",
- "sourceId": "6024a065",
- "favoriteType": "reading",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{}",
- "expanded": false
- },
- "children": []
- },
- {
- "id": "ef4370f1-f279-4235-8128-51fb3466c06f",
- "type": "clip",
- "props": {
- "title": "视频 · 时间点学习",
- "markdown": "# 视频学习\n00:00 学习开始\n00:01 观察水循环\n\n## 笔记\n通过播放进度核对时间点。",
- "sourceUrl": "/notebooks/215dbe83?record=ad7c3961",
- "sourceId": "ad7c3961",
- "favoriteType": "video_learning",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "metadata": "{\"video_url\":\"/api/documents/46c793263607/assets/2987657e75cb40bba8c0d49208c609e6.mp4?dt_workspace=\"}",
- "expanded": false
- },
- "children": []
- }
- ]
- },
- {
- "id": "audit-end",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "正文末尾:此段必须始终保留。",
- "styles": {}
- }
- ],
- "children": []
- }
- ],
- "schema_version": 1,
- "revision": 17,
- "parent_id": null,
- "icon": "",
- "cover": "",
- "pinned": false,
- "applied_suggestion_ids": [],
- "created_at": 1792246032.045156,
- "updated_at": 1792246696.4202812
-}
diff --git a/artifacts/notes/favorites-structure/final.jpg b/artifacts/notes/favorites-structure/final.jpg
deleted file mode 100644
index 6284dad00..000000000
Binary files a/artifacts/notes/favorites-structure/final.jpg and /dev/null differ
diff --git a/artifacts/notes/favorites-structure/fixture.json b/artifacts/notes/favorites-structure/fixture.json
deleted file mode 100644
index ea888b8c1..000000000
--- a/artifacts/notes/favorites-structure/fixture.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "id": "60b5f3fff04b",
- "title": "收藏块 · 批量与结构验收",
- "content": "批量插入起点:收藏将放在这里之后。\n\n- 嵌套资料组\n\n 嵌套插入起点。\n\n正文末尾:此段必须始终保留。",
- "blocks": [
- {
- "id": "audit-start",
- "type": "paragraph",
- "props": {},
- "content": "批量插入起点:收藏将放在这里之后。"
- },
- {
- "id": "audit-parent",
- "type": "toggleListItem",
- "props": {},
- "content": "嵌套资料组",
- "children": [
- {
- "id": "audit-child",
- "type": "paragraph",
- "props": {},
- "content": "嵌套插入起点。"
- }
- ]
- },
- {
- "id": "audit-end",
- "type": "paragraph",
- "props": {},
- "content": "正文末尾:此段必须始终保留。"
- }
- ],
- "schema_version": 1,
- "revision": 0,
- "parent_id": null,
- "icon": "",
- "cover": "",
- "pinned": false,
- "applied_suggestion_ids": [],
- "created_at": 1792246032.045156,
- "updated_at": 1792246032.045156
-}
diff --git a/artifacts/notes/favorites-structure/source-checks.json b/artifacts/notes/favorites-structure/source-checks.json
deleted file mode 100644
index 442b5d7f8..000000000
--- a/artifacts/notes/favorites-structure/source-checks.json
+++ /dev/null
@@ -1,47 +0,0 @@
-[
- {
- "id": "6024a065",
- "name": "阅读 阅读 · 摘录与批注",
- "expanded": "true"
- },
- {
- "id": "ba719159",
- "name": "引导学习 引导学习 · 逐步理解",
- "expanded": "true"
- },
- {
- "id": "0f1dfc6c",
- "name": "研究 研究 · 水循环证据",
- "expanded": "true"
- },
- {
- "id": "f8892445",
- "name": "笔记本 笔记 · 整理材料",
- "expanded": "true"
- },
- {
- "id": "9ca5160e",
- "name": "题目 题目 · 三阶段复习",
- "expanded": "true"
- },
- {
- "id": "f5034ee1",
- "name": "解答 解题 · 水量守恒",
- "expanded": "true"
- },
- {
- "id": "17b3249c",
- "name": "学习伙伴 伙伴 · 学习对话",
- "expanded": "true"
- },
- {
- "id": "ad7c3961",
- "name": "视频学习 视频 · 时间点学习",
- "expanded": "true"
- },
- {
- "id": "22754e42",
- "name": "聊天 水循环 · 移动改名后原文",
- "expanded": "true"
- }
-]
diff --git a/artifacts/notes/favorites-structure/sources.json b/artifacts/notes/favorites-structure/sources.json
deleted file mode 100644
index e77078d71..000000000
--- a/artifacts/notes/favorites-structure/sources.json
+++ /dev/null
@@ -1,128 +0,0 @@
-{
- "id": "215dbe83",
- "name": "收藏夹验收 · 已归档资料",
- "description": "",
- "created_at": 1792241312.976108,
- "updated_at": 1792241966.8902001,
- "records": [
- {
- "id": "22754e42",
- "type": "chat",
- "title": "水循环 · 移动改名后原文",
- "summary": "验收备注:保留原文,供笔记本引用;移动后仍可返回来源。",
- "user_query": "请记录水循环的三个阶段,供收藏夹流程验收。",
- "output": "## User\n请记录水循环的三个阶段,供收藏夹流程验收。\n\n## Assistant\n## 水循环原始资料\n\n水循环包括 **蒸发、凝结和降水**。\n\n1. 太阳加热水面,液态水变成水汽。\n2. 水汽冷却凝结成云。\n3. 云滴增大后形成降水。\n\n> 原文校验:这段内容在收藏和引用后应保持不变。",
- "metadata": {
- "source": "chat",
- "capability": "chat",
- "ui_language": "zh",
- "session_id": "unified_1792239246535_e22c126e",
- "total_message_count": 2,
- "message_count": 2,
- "selected_message_indexes": [
- 0,
- 1
- ]
- },
- "created_at": 1792239528.303999,
- "kb_name": null
- },
- {
- "id": "0f1dfc6c",
- "type": "research",
- "title": "研究 · 水循环证据",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "user_query": "收藏类型交互验收",
- "output": "# 研究问题\n水在环境中如何循环?\n\n## 证据\n| 过程 | 能量 |\n| --- | --- |\n| 蒸发 | 吸热 |\n| 凝结 | 放热 |\n\n## 结论\n水循环依靠太阳能驱动。\n\n## 资料边界\n这是交互验收用的简短研究资料。",
- "metadata": {},
- "created_at": 1792241283.853882,
- "kb_name": null
- },
- {
- "id": "9ca5160e",
- "type": "question",
- "title": "题目 · 三阶段复习",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "user_query": "收藏类型交互验收",
- "output": "# 题目\n水循环的三个主要阶段是什么?\n\n- A. 蒸发、凝结和降水\n- B. 燃烧、熔化和结晶\n\n## 答案\n**A**。水从液态蒸发,水汽凝结,随后形成降水。",
- "metadata": {},
- "created_at": 1792241283.863434,
- "kb_name": null
- },
- {
- "id": "f5034ee1",
- "type": "solve",
- "title": "解题 · 水量守恒",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "user_query": "收藏类型交互验收",
- "output": "# 题目\n水池原有 10 L 水,蒸发 2 L 后剩余多少?\n\n## 解答\n$10-2=8$ L。\n\n先确定初始量,再减去蒸发量。",
- "metadata": {},
- "created_at": 1792241283.872242,
- "kb_name": null
- },
- {
- "id": "6024a065",
- "type": "reading",
- "title": "阅读 · 摘录与批注",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "user_query": "收藏类型交互验收",
- "output": "# 原文摘录\n> 水是生命活动的重要介质。\n\n## 阅读批注\n关注水的比热容和相变。\n\n## 延伸思考\n海洋如何调节温度?",
- "metadata": {},
- "created_at": 1792241283.8802218,
- "kb_name": null
- },
- {
- "id": "ad7c3961",
- "type": "video_learning",
- "title": "视频 · 时间点学习",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "user_query": "收藏类型交互验收",
- "output": "# 视频学习\n00:00 学习开始\n00:01 观察水循环\n\n## 笔记\n通过播放进度核对时间点。",
- "metadata": {
- "video_url": "/api/documents/46c793263607/assets/2987657e75cb40bba8c0d49208c609e6.mp4?dt_workspace="
- },
- "created_at": 1792241283.888254,
- "kb_name": null
- },
- {
- "id": "f8892445",
- "type": "co_writer",
- "title": "笔记 · 整理材料",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "user_query": "收藏类型交互验收",
- "output": "# 核心概念\n水循环包含三种变化。\n\n## 我的观察\n雨后水洼逐渐缩小。\n\n## 下一步\n记录每日水位。",
- "metadata": {},
- "created_at": 1792241283.895917,
- "kb_name": null
- },
- {
- "id": "17b3249c",
- "type": "tutorbot",
- "title": "伙伴 · 学习对话",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "user_query": "收藏类型交互验收",
- "output": "## User\n怎样记住水循环?\n\n## Assistant\n想象一滴水旅行:**升空、成云、落雨**。",
- "metadata": {
- "partner_name": "学习伙伴"
- },
- "created_at": 1792241283.904295,
- "kb_name": null
- },
- {
- "id": "ba719159",
- "type": "chat",
- "title": "引导学习 · 逐步理解",
- "summary": "交互验收:展开原文、返回来源、保存重开。",
- "user_query": "收藏类型交互验收",
- "output": "# 学习目标\n理解水的状态变化。\n\n## 第一步\n观察杯壁水滴。\n\n## 反思\n为什么水滴出现在外壁?",
- "metadata": {
- "source": "chat",
- "capability": "mastery_path"
- },
- "created_at": 1792241283.91314,
- "kb_name": null
- }
- ],
- "color": "#6366F1",
- "icon": "book"
-}
diff --git a/artifacts/notes/favorites-structure/verification.json b/artifacts/notes/favorites-structure/verification.json
deleted file mode 100644
index c2d5860fa..000000000
--- a/artifacts/notes/favorites-structure/verification.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "branch": "dt-exp-idp",
- "note_id": "60b5f3fff04b",
- "clips": 11,
- "unique_sources": 9,
- "ui_checks": [
- "batch insert after text and active favorite",
- "single-step immediate undo/redo after picker closes",
- "nested batch order and undo/redo",
- "nest/unnest via block menu",
- "drag parent with entire child subtree",
- "drag nested favorite to root and undo/redo",
- "expanded state survives reopening",
- "nine source round-trips open the exact favorite"
- ],
- "persistence": {
- "full_tree_identical_after_reopen": true,
- "original_markdown_and_metadata_match_sources": true,
- "unique_block_ids": true,
- "source_ids_and_links_preserved": true
- },
- "fixes": [
- "active favorite becomes insertion anchor",
- "atomic ordered batch insertion with separate history boundary",
- "picker returns keyboard focus to document",
- "favorite controls support document undo/redo",
- "view expansion does not consume content history",
- "nest/unnest controls for atomic blocks",
- "hide lossy text conversion for non-inline blocks"
- ],
- "validation": {
- "frontend_tests": 31,
- "typecheck": "passed",
- "eslint": "passed",
- "architecture": "passed",
- "production_build": "passed",
- "production_ui": "11 clips reopened with saved expansion; nested source opened exact favorite",
- "production_persistence": "full block tree equals before-reopen snapshot"
- },
- "url": "http://127.0.0.1:3784/co-writer/60b5f3fff04b?dt_workspace="
-}
diff --git a/artifacts/notes/integrated-editor.jpg b/artifacts/notes/integrated-editor.jpg
deleted file mode 100644
index 4da252734..000000000
Binary files a/artifacts/notes/integrated-editor.jpg and /dev/null differ
diff --git a/artifacts/notes/media-learning-audit/animation-playing.jpg b/artifacts/notes/media-learning-audit/animation-playing.jpg
deleted file mode 100644
index feb933e4f..000000000
Binary files a/artifacts/notes/media-learning-audit/animation-playing.jpg and /dev/null differ
diff --git a/artifacts/notes/media-learning-audit/fixtures/learning-video.mp4 b/artifacts/notes/media-learning-audit/fixtures/learning-video.mp4
deleted file mode 100644
index ec199a44e..000000000
--- a/artifacts/notes/media-learning-audit/fixtures/learning-video.mp4
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:66c474976d5445683e0b8800368e496dadc5364254a59b062765c8244d08b36e
-size 20165
diff --git a/artifacts/notes/media-learning-audit/fixtures/photosynthesis.png b/artifacts/notes/media-learning-audit/fixtures/photosynthesis.png
deleted file mode 100644
index d0529d33f..000000000
Binary files a/artifacts/notes/media-learning-audit/fixtures/photosynthesis.png and /dev/null differ
diff --git a/artifacts/notes/media-learning-audit/fixtures/unsupported.txt b/artifacts/notes/media-learning-audit/fixtures/unsupported.txt
deleted file mode 100644
index 866ca7c01..000000000
--- a/artifacts/notes/media-learning-audit/fixtures/unsupported.txt
+++ /dev/null
@@ -1 +0,0 @@
-Unsupported upload format test
diff --git a/artifacts/notes/media-learning-audit/geometry-interactive.jpg b/artifacts/notes/media-learning-audit/geometry-interactive.jpg
deleted file mode 100644
index 1d152cc79..000000000
Binary files a/artifacts/notes/media-learning-audit/geometry-interactive.jpg and /dev/null differ
diff --git a/artifacts/notes/media-learning-audit/geometry-reopened.jpg b/artifacts/notes/media-learning-audit/geometry-reopened.jpg
deleted file mode 100644
index 7f55a36d1..000000000
Binary files a/artifacts/notes/media-learning-audit/geometry-reopened.jpg and /dev/null differ
diff --git a/artifacts/notes/media-learning-audit/image-before.jpg b/artifacts/notes/media-learning-audit/image-before.jpg
deleted file mode 100644
index 9b99d7432..000000000
Binary files a/artifacts/notes/media-learning-audit/image-before.jpg and /dev/null differ
diff --git a/artifacts/notes/media-learning-audit/inline-ai-live.jpg b/artifacts/notes/media-learning-audit/inline-ai-live.jpg
deleted file mode 100644
index ebe62747f..000000000
Binary files a/artifacts/notes/media-learning-audit/inline-ai-live.jpg and /dev/null differ
diff --git a/artifacts/notes/media-learning-audit/inline-conflict.jpg b/artifacts/notes/media-learning-audit/inline-conflict.jpg
deleted file mode 100644
index fdf6453aa..000000000
Binary files a/artifacts/notes/media-learning-audit/inline-conflict.jpg and /dev/null differ
diff --git a/artifacts/notes/media-learning-audit/inline-review-desktop.jpg b/artifacts/notes/media-learning-audit/inline-review-desktop.jpg
deleted file mode 100644
index ee51c91d8..000000000
Binary files a/artifacts/notes/media-learning-audit/inline-review-desktop.jpg and /dev/null differ
diff --git a/artifacts/notes/media-learning-audit/inline-review-mobile.jpg b/artifacts/notes/media-learning-audit/inline-review-mobile.jpg
deleted file mode 100644
index 222cac058..000000000
Binary files a/artifacts/notes/media-learning-audit/inline-review-mobile.jpg and /dev/null differ
diff --git a/artifacts/notes/media-learning-audit/inline-review-reopened.jpg b/artifacts/notes/media-learning-audit/inline-review-reopened.jpg
deleted file mode 100644
index 8f398b0eb..000000000
Binary files a/artifacts/notes/media-learning-audit/inline-review-reopened.jpg and /dev/null differ
diff --git a/artifacts/notes/media-learning-audit/learning-before.jpg b/artifacts/notes/media-learning-audit/learning-before.jpg
deleted file mode 100644
index 3d63f7b61..000000000
Binary files a/artifacts/notes/media-learning-audit/learning-before.jpg and /dev/null differ
diff --git a/artifacts/notes/media-learning-audit/media-mobile.jpg b/artifacts/notes/media-learning-audit/media-mobile.jpg
deleted file mode 100644
index a1b2778dd..000000000
Binary files a/artifacts/notes/media-learning-audit/media-mobile.jpg and /dev/null differ
diff --git a/artifacts/notes/media-learning-audit/media-saved.jpg b/artifacts/notes/media-learning-audit/media-saved.jpg
deleted file mode 100644
index 549bb92dc..000000000
Binary files a/artifacts/notes/media-learning-audit/media-saved.jpg and /dev/null differ
diff --git a/artifacts/notes/media-learning-audit/upload-retry.jpg b/artifacts/notes/media-learning-audit/upload-retry.jpg
deleted file mode 100644
index 941e3ff48..000000000
Binary files a/artifacts/notes/media-learning-audit/upload-retry.jpg and /dev/null differ
diff --git a/artifacts/notes/media-learning-audit/verification.json b/artifacts/notes/media-learning-audit/verification.json
deleted file mode 100644
index 1b2badce5..000000000
--- a/artifacts/notes/media-learning-audit/verification.json
+++ /dev/null
@@ -1,239 +0,0 @@
-{
- "date": "2026-10-17",
- "branch": "dt-exp-idp",
- "scope": "真实浏览器验证原位审批、媒体上传和 AI 学习块;仅使用独立测试笔记。",
- "inline_review": {
- "document_id": "c6a1da96041a",
- "revision": 9,
- "passed": [
- "替换、插入、删除在目标段落原位接受",
- "多条建议连续接受",
- "忽略建议不改动正文",
- "接受前立即输入的人工编辑先保存且保留",
- "人工编辑后的旧建议被阻止覆盖",
- "冲突提示在对应审批卡片内显示中文",
- "同一目标的多个建议在第一次替换后保持原位",
- "同一位置的第二轮修改及保存重开",
- "待审批建议重开后恢复,已处理建议不重复出现",
- "真实 AI 润色请求、原位审批、接受和重开"
- ],
- "saved_blocks": [
- {
- "id": "3f4f61b7-17a5-4581-b105-df47f2e1e767",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "光合作用利用光能,将水和二氧化碳转化为糖,氧气是这个过程的产物。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "review-middle",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "这里保留一段未修改的学习笔记,验证审批不会集中到文末。 人工补充:保留我的编辑。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "review-insert",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "光合作用把光能转化为化学能,储存在生成的糖中。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "ea88c517-42f9-4371-9ac0-17383f72ff7b",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "补充:光能为上述将水和二氧化碳转化为糖的过程提供能量。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "review-end",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "笔记末尾:这一段应保持不变。",
- "styles": {}
- }
- ],
- "children": []
- }
- ],
- "review_statuses": [
- {
- "id": "348528f0d0e146c49ea9d6ee884c7253",
- "block_id": "review-top",
- "operation": "replace",
- "status": "accepted"
- },
- {
- "id": "e2b3e8a3b059443b97ed42937bfccc2a",
- "block_id": "review-insert",
- "operation": "insert",
- "status": "accepted"
- },
- {
- "id": "1a0f1d4e137a45e5b0cf6b553a3767f0",
- "block_id": "review-delete",
- "operation": "delete",
- "status": "dismissed"
- },
- {
- "id": "4433507abc6f4b609e3c29f2d2713cee",
- "block_id": "review-delete",
- "operation": "delete",
- "status": "accepted"
- },
- {
- "id": "b9ef280d1ab24345ae1f17a5ae47e232",
- "block_id": "d44665a5-8de2-450b-8359-26ae03d590b3",
- "operation": "replace",
- "status": "accepted"
- },
- {
- "id": "c34f2fed67c843c3a81aec9f165885a3",
- "block_id": "review-middle",
- "operation": "replace",
- "status": "dismissed"
- },
- {
- "id": "489db693d9dd486fa83cddde26132884",
- "block_id": "review-end",
- "operation": "replace",
- "status": "dismissed"
- },
- {
- "id": "66d3220b4bd345ca8c771b500e6f27aa",
- "block_id": "review-insert",
- "operation": "replace",
- "status": "accepted"
- },
- {
- "id": "a5fb4cd3ad814d0aa49c17fd1a684153",
- "block_id": "review-insert",
- "operation": "replace",
- "status": "dismissed"
- },
- {
- "id": "ec946542f3ed4e5da65f496a4365d15d",
- "block_id": "ea88c517-42f9-4371-9ac0-17383f72ff7b",
- "operation": "replace",
- "status": "accepted"
- }
- ],
- "screenshots": [
- "inline-ai-live.jpg",
- "inline-conflict.jpg",
- "inline-review-reopened.jpg",
- "inline-review-mobile.jpg"
- ]
- },
- "media": {
- "document_id": "46c793263607",
- "passed": [
- "PNG/WAV/MP4/PDF 实际文件选择与上传",
- "不支持格式的原位报错、重开和重试",
- "音视频实际播放",
- "PDF 实际下载",
- "保存重开:图片 800 px,音频/视频均 readyState=4、2 秒",
- "390px 窄屏布局"
- ],
- "screenshots": [
- "media-saved.jpg",
- "media-mobile.jpg",
- "upload-retry.jpg"
- ]
- },
- "learning": {
- "documents": [
- "fc07c552d7ea",
- "e32ddbd18b9e"
- ],
- "passed": [
- "真实生成测验并接受、选择答案、展开解析、保存重开",
- "真实生成闪卡并接受、翻转两张、前后切换及重开",
- "时间线、概念图、Mermaid 真实生成和接受",
- "生成图片转为持久资源地址并实际加载",
- "研究大纲原位确认、真实研究、关闭后恢复待审批结果、接受和重开",
- "Manim 动画生成并接受,实际播放且重开后 readyState=4,约 3 秒",
- "GeoGebra 渲染、拖动、接受和重开;内角和动态标签另做纠正",
- "几何第二轮真实 AI 修正建议:接受、内角 90/45/45、拖动后长度 2.83→2.91、面积 2→2.35、保存重开成功",
- "语音供应商额度错误在块内显示中文提示,无账号信息泄露"
- ],
- "external_limitations": [
- "语音生成实际请求被供应商 HTTP 402 额度不足拒绝;未成功生成语音。图像生成供应商同样不可用,实际接受的插图来自绘图工具产物。"
- ],
- "screenshots": [
- "animation-playing.jpg",
- "geometry-interactive.jpg",
- "geometry-reopened.jpg"
- ]
- },
- "fixes": [
- "编辑器默认格式归一化避免误报审批冲突",
- "替换保留块 ID,保证连续审批定位",
- "审批错误原位显示",
- "审批前保存最新编辑",
- "AI 生成结果恢复及来源轮次去重",
- "上传进度、错误、重试与持久文件 URL",
- "学习块可见后保持渲染、测验预览不写入学习记录",
- "几何图样式使用 API,避免把颜色和线宽误报成命令失败"
- ],
- "checks": {
- "backend_tests": 24,
- "geometry_incremental_test": "9 passed after final style fix; total suite coverage 75",
- "production_build": "passed after final geometry style fix",
- "typescript": "passed",
- "scoped_eslint": "passed",
- "architecture": "passed",
- "i18n_parity": "passed",
- "frontend_tests": 75
- },
- "environment_note": "开发模式浏览器出现资源加载超时,剩余重开检查改用同一份代码的生产构建(3785),后端仍为本地 8000。",
- "source_reference": "https://geogebra.github.io/docs/reference/en/GeoGebra_Apps_API/"
-}
diff --git a/artifacts/notes/mobile-columns.jpg b/artifacts/notes/mobile-columns.jpg
deleted file mode 100644
index 095ed246a..000000000
Binary files a/artifacts/notes/mobile-columns.jpg and /dev/null differ
diff --git a/artifacts/notes/mobile-final.jpg b/artifacts/notes/mobile-final.jpg
deleted file mode 100644
index c8687a3c6..000000000
Binary files a/artifacts/notes/mobile-final.jpg and /dev/null differ
diff --git a/artifacts/notes/review-structure-audit/before-final-approval.json b/artifacts/notes/review-structure-audit/before-final-approval.json
deleted file mode 100644
index dfe6d32ca..000000000
--- a/artifacts/notes/review-structure-audit/before-final-approval.json
+++ /dev/null
@@ -1,122 +0,0 @@
-{
- "id": "019a3693d633",
- "title": "原位审批 · 排序与重开复验",
- "content": "- 第二节:凝结与降水\n\n 嵌套保留:降水回到河流。\n\n 嵌套内容:水汽遇冷凝结为小水滴,聚集成云。\n\n第三节:待拖动的总结。\n\n第一节:太阳能驱动蒸发,水由液态变成水汽。\n\n末尾校验:这一段始终保留。",
- "blocks": [
- {
- "id": "nested-parent",
- "type": "bulletListItem",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "第二节:凝结与降水",
- "styles": {}
- }
- ],
- "children": [
- {
- "id": "nested-keep",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "嵌套保留:降水回到河流。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "nested-child",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "嵌套内容:水汽遇冷凝结为小水滴,聚集成云。",
- "styles": {}
- }
- ],
- "children": []
- }
- ]
- },
- {
- "id": "drag-target",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "第三节:待拖动的总结。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "multi-a",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "第一节:太阳能驱动蒸发,水由液态变成水汽。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "safe-end",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "末尾校验:这一段始终保留。",
- "styles": {}
- }
- ],
- "children": []
- }
- ],
- "schema_version": 1,
- "revision": 14,
- "parent_id": null,
- "icon": "",
- "cover": "",
- "pinned": false,
- "applied_suggestion_ids": [
- "d6330055db3e4b92a531d0d5c9222823",
- "ea6e52deb68746d29546138a3f9cc1b6"
- ],
- "created_at": 1792230264.74371,
- "updated_at": 1792231096.8046741
-}
diff --git a/artifacts/notes/review-structure-audit/final-page.json b/artifacts/notes/review-structure-audit/final-page.json
deleted file mode 100644
index 9416677c7..000000000
--- a/artifacts/notes/review-structure-audit/final-page.json
+++ /dev/null
@@ -1,127 +0,0 @@
-{
- "id": "019a3693d633",
- "title": "原位审批 · 排序与重开复验",
- "content": "- 第二节:水汽凝结形成云,水以降水返回地面。\n\n 嵌套保留:降水回到河流。\n\n 嵌套内容:云滴逐渐增大,在适宜条件下形成降水。\n\n第三节:待拖动的总结。\n\n第一节:太阳能驱动蒸发,水由液态变成水汽。\n\n末尾校验:这一段始终保留。 切换页面前的补充已保存。",
- "blocks": [
- {
- "id": "nested-parent",
- "type": "bulletListItem",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "第二节:水汽凝结形成云,水以降水返回地面。",
- "styles": {}
- }
- ],
- "children": [
- {
- "id": "nested-keep",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "嵌套保留:降水回到河流。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "nested-child",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "嵌套内容:云滴逐渐增大,在适宜条件下形成降水。",
- "styles": {}
- }
- ],
- "children": []
- }
- ]
- },
- {
- "id": "drag-target",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "第三节:待拖动的总结。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "multi-a",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "第一节:太阳能驱动蒸发,水由液态变成水汽。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "safe-end",
- "type": "paragraph",
- "props": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "末尾校验:这一段始终保留。 切换页面前的补充已保存。",
- "styles": {}
- }
- ],
- "children": []
- }
- ],
- "schema_version": 1,
- "revision": 21,
- "parent_id": null,
- "icon": "",
- "cover": "",
- "pinned": false,
- "applied_suggestion_ids": [
- "d6330055db3e4b92a531d0d5c9222823",
- "ea6e52deb68746d29546138a3f9cc1b6",
- "3dd93054687f41b5ad57dcdf3cd0059a",
- "c6937c78a1bf43d99d82a78dafb05a8d",
- "5da8798ee4c64d84b0774771a21f4c0f",
- "7e34f022ffba430eaa5cdec4ca651535",
- "192ed0764a024dd1a21c2ceb57724c32"
- ],
- "created_at": 1792230264.74371,
- "updated_at": 1792231849.009674
-}
diff --git a/artifacts/notes/review-structure-audit/final-reopened.jpg b/artifacts/notes/review-structure-audit/final-reopened.jpg
deleted file mode 100644
index 17d3d3d83..000000000
Binary files a/artifacts/notes/review-structure-audit/final-reopened.jpg and /dev/null differ
diff --git a/artifacts/notes/review-structure-audit/fixture.json b/artifacts/notes/review-structure-audit/fixture.json
deleted file mode 100644
index fa8da8206..000000000
--- a/artifacts/notes/review-structure-audit/fixture.json
+++ /dev/null
@@ -1,200 +0,0 @@
-{
- "id": "c1b1b4de342b",
- "blocks": [
- {
- "id": "multi-a",
- "type": "paragraph",
- "props": {},
- "content": [
- {
- "type": "text",
- "text": "第一节:水循环从蒸发开始。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "nested-parent",
- "type": "bulletListItem",
- "props": {},
- "content": [
- {
- "type": "text",
- "text": "第二节:凝结与降水",
- "styles": {}
- }
- ],
- "children": [
- {
- "id": "nested-child",
- "type": "paragraph",
- "props": {},
- "content": [
- {
- "type": "text",
- "text": "嵌套内容:水汽凝结形成云。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "nested-keep",
- "type": "paragraph",
- "props": {},
- "content": [
- {
- "type": "text",
- "text": "嵌套保留:降水回到河流。",
- "styles": {}
- }
- ],
- "children": []
- }
- ]
- },
- {
- "id": "drag-target",
- "type": "paragraph",
- "props": {},
- "content": [
- {
- "type": "text",
- "text": "第三节:待拖动的总结。",
- "styles": {}
- }
- ],
- "children": []
- },
- {
- "id": "safe-end",
- "type": "paragraph",
- "props": {},
- "content": [
- {
- "type": "text",
- "text": "末尾校验:这一段始终保留。",
- "styles": {}
- }
- ],
- "children": []
- }
- ],
- "proposals": [
- {
- "id": "d87cfe42765a4d1289ceb4da526af67f",
- "operation": "replace",
- "block_id": "multi-a",
- "markdown": "第一节:太阳能驱动蒸发,水由液态变成水汽。",
- "blocks": [
- {
- "id": "multi-a",
- "type": "paragraph",
- "props": {},
- "content": [
- {
- "type": "text",
- "text": "第一节:太阳能驱动蒸发,水由液态变成水汽。",
- "styles": {}
- }
- ],
- "children": []
- }
- ],
- "explanation": "结构与撤销重做验收",
- "original": {
- "id": "multi-a",
- "type": "paragraph",
- "props": {},
- "content": [
- {
- "type": "text",
- "text": "第一节:水循环从蒸发开始。",
- "styles": {}
- }
- ],
- "children": []
- },
- "status": "pending",
- "source_turn_id": "",
- "created_at": 1792229652.585215
- },
- {
- "id": "fffaa86d6cc34f659b5cf2e0ec5b1127",
- "operation": "replace",
- "block_id": "nested-child",
- "markdown": "嵌套内容:水汽遇冷凝结为小水滴,聚集成云。",
- "blocks": [
- {
- "id": "nested-child",
- "type": "paragraph",
- "props": {},
- "content": [
- {
- "type": "text",
- "text": "嵌套内容:水汽遇冷凝结为小水滴,聚集成云。",
- "styles": {}
- }
- ],
- "children": []
- }
- ],
- "explanation": "结构与撤销重做验收",
- "original": {
- "id": "nested-child",
- "type": "paragraph",
- "props": {},
- "content": [
- {
- "type": "text",
- "text": "嵌套内容:水汽凝结形成云。",
- "styles": {}
- }
- ],
- "children": []
- },
- "status": "pending",
- "source_turn_id": "",
- "created_at": 1792229652.587852
- },
- {
- "id": "117642a734a744a9bd1d6f1a5090ced4",
- "operation": "replace",
- "block_id": "drag-target",
- "markdown": "第三节:蒸发、凝结与降水构成水循环。",
- "blocks": [
- {
- "id": "drag-target",
- "type": "paragraph",
- "props": {},
- "content": [
- {
- "type": "text",
- "text": "第三节:蒸发、凝结与降水构成水循环。",
- "styles": {}
- }
- ],
- "children": []
- }
- ],
- "explanation": "结构与撤销重做验收",
- "original": {
- "id": "drag-target",
- "type": "paragraph",
- "props": {},
- "content": [
- {
- "type": "text",
- "text": "第三节:待拖动的总结。",
- "styles": {}
- }
- ],
- "children": []
- },
- "status": "pending",
- "source_turn_id": "",
- "created_at": 1792229652.5904179
- }
- ]
-}
diff --git a/artifacts/notes/review-structure-audit/parent-child-inline.jpg b/artifacts/notes/review-structure-audit/parent-child-inline.jpg
deleted file mode 100644
index b84c06056..000000000
Binary files a/artifacts/notes/review-structure-audit/parent-child-inline.jpg and /dev/null differ
diff --git a/artifacts/notes/review-structure-audit/reopened-deleted-target.jpg b/artifacts/notes/review-structure-audit/reopened-deleted-target.jpg
deleted file mode 100644
index 175969f7f..000000000
Binary files a/artifacts/notes/review-structure-audit/reopened-deleted-target.jpg and /dev/null differ
diff --git a/artifacts/notes/review-structure-audit/retest.json b/artifacts/notes/review-structure-audit/retest.json
deleted file mode 100644
index df9174609..000000000
--- a/artifacts/notes/review-structure-audit/retest.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "id": "019a3693d633",
- "child": "172333a49228"
-}
diff --git a/artifacts/notes/review-structure-audit/verification.json b/artifacts/notes/review-structure-audit/verification.json
deleted file mode 100644
index bb1bcc8f2..000000000
--- a/artifacts/notes/review-structure-audit/verification.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "branch": "dt-exp-idp",
- "note_id": "019a3693d633",
- "revision": 21,
- "total_blocks_including_children": 6,
- "pending_suggestions": 0,
- "proposal_setup": "Deterministic local API fixtures; approvals, dismissals, dragging, undo/redo and navigation exercised through the in-app browser.",
- "verified": [
- "Three simultaneous proposals anchored at separate blocks, including a nested child",
- "Accepted two independent proposals; undid both separately and redid both",
- "Dragged pending top-level block to front; card followed; undo and redo preserved content",
- "Dragged a parent with nested pending review; moved the child inside its group",
- "Deleted pending child: inline card stayed near sibling and accept was disabled",
- "Undo deletion restored child and acceptance; redo disabled it again",
- "Opened a second tab after save: deleted-target review remained after the correct nested sibling",
- "Restored synthetic fixture through API after hot reload reset editor history, then accepted nested revision through UI and dismissed the other proposal",
- "Collapsed and expanded tree branches; current page and complete title available",
- "Typed a final sentence and immediately navigated to child then parent; text saved and page tree stayed open",
- "Final saved document preserves all six stable IDs and intended hierarchy",
- "Parent text-only proposal appears directly after parent text, before children; UI explains children are retained",
- "Accepted child first, then parent: latest child text and untouched sibling both retained",
- "Accepted parent first, then child: both changes and stable IDs retained",
- "Undid and redid both parent/child approvals separately; final saved order and all six blocks verified"
- ],
- "automated": {
- "frontend_tests": 78,
- "backend_tests": 30,
- "ruff": "passed",
- "eslint": "passed",
- "architecture": "passed",
- "i18n_parity": "passed",
- "typecheck": "passed",
- "production_build": ".next-notes-structure passed"
- },
- "screenshots": [
- "reopened-deleted-target.jpg",
- "final-reopened.jpg",
- "parent-child-inline.jpg"
- ]
-}
diff --git a/artifacts/notes/text-preview.jpg b/artifacts/notes/text-preview.jpg
deleted file mode 100644
index 0e104654c..000000000
Binary files a/artifacts/notes/text-preview.jpg and /dev/null differ
diff --git "a/artifacts/ulinks-research/ULinks-\347\240\224\347\251\266\346\212\245\345\221\212.md" "b/artifacts/ulinks-research/ULinks-\347\240\224\347\251\266\346\212\245\345\221\212.md"
deleted file mode 100644
index 14c58459b..000000000
--- "a/artifacts/ulinks-research/ULinks-\347\240\224\347\251\266\346\212\245\345\221\212.md"
+++ /dev/null
@@ -1,177 +0,0 @@
-# ULinks 研究报告
-
-> 研究对象:ULinks(一款面向香港浸会大学学生的校园社区 App)
-> 调研日期:2026-10-13
-> 信息来源:香港浸会大学官网、浸大学生事务处、Google Play / App Store 元数据、第三方商店情报平台(Appfigures / AppBrain / MWM)
-
----
-
-## 一、一句话结论
-
-ULinks 是**香港浸会大学 9 名在校生**做的**校内实名 + 匿名双身份的校园社区 App**,用「浸大邮箱验证」做护城河式封闭社区,核心是**选课/教授评分 + 匿名树洞 + 校园攻略 + 二手/组队**。目前是**校园明星项目**(获得校方创业比赛种子基金与官方宣传),但仍是**极小规模、零收入、未验证留存**的早期项目。
-
----
-
-## 二、身份档案
-
-| 项目 | 信息 |
-| --- | --- |
-| 产品名 | ULinks |
-| 运营主体 | UHUB LIMITED(香港注册公司) |
-| 注册地址 | Rm 02, 29/F, One Midtown, 11 Hoi Shing Road, 荃湾, 新界, 中国香港 |
-| 联系电话 | +852 5784 0433 |
-| 支持邮箱 | [email protected] ⚠️ 观感像开发者测试邮箱,却挂在正式商店页 |
-| Android 包名 | `com.uhub.ulink` |
-| 平台 | iOS + Android 双端 |
-| 首次上架 | 2026 年 4 月 28 日(App Store)/2026 年 4 月(Google Play) |
-| 最新版本 | v1.1.x(Android 端 2026-09-13 更新) |
-| 安装包体积 | Android 117 MB / iOS 123 MB(偏大) |
-| 分级 | Teen(含"用户互动""分享位置") |
-| 定位 | 「一款 HKBUer 专属的一站式校园综合服务 APP」 |
-
-**重要区分**:网上搜索 "Ulink" 会出现大量同名干扰项(如浸大官方宣传报道标题里的 "ULinks"、卡塔尔多哈某大学的 UHUB 孵化器、澳门大学项目等)。你要找的这个,运营主体就是 **UHUB LIMITED**,产权标识是 `com.uhub.ulink`。
-
----
-
-## 三、团队
-
-团队由**9 名浸大在校生**组成,跨学科、跨文化。公开出现的核心成员:
-
-| 姓名 | 年级/专业 | 角色 |
-| --- | --- | --- |
-| 周子轩 Larry Zhou Zi-xuan | 商业计算及数据分析 四年级 | 产品/对外发言,团队"理念输出者" |
-| 张正涵 Joe Zhang Zheng-han | 商业计算及数据分析 四年级 | **团队运营负责人**(负责流程设计、企业/校方/学生三方协调) |
-| 黄雅琦 Lachy Huang Ya-qi | 电影电视 三年级 | 内容/视觉方向 |
-| Woo Yong-ju | 财务学 三年级(韩国籍) | 国际生视角与需求洞察 |
-
-**观察**:团队配置是典型的"商学院 + 传媒"组合——强在 BD、内容、校方关系,弱在工程(无公开的技术合伙人或 CTO 露出)。两位核心成员都是**四年级**,2027 年毕业,这是项目最大的隐性地雷(见第七节)。
-
----
-
-## 四、产品功能拆解
-
-### 已上线功能(商店页口径)
-
-| 模块 | 具体能力 | 实质 |
-| --- | --- | --- |
-| **① 课程 & 教授评分** | 每门课有 grading / difficulty / workload 分项评分 + 综合分 + 同学评价;教授页有 teaching / grading / support 评分 | 对标"选课前查评分",是**最强刚需钩子**(add-drop 期间) |
-| **② Mask 身份 · 匿名发帖** | 双身份体系:profile 人设(交友)+ mask 别名(自由发言),两者完全隔离 | 流量引擎,但也是最大的合规风险面 |
-| **③ 校园攻略** | 新生指南、校园生活 tips,由高年级学生实测沉淀 | 内容护城河,新生获取入口 |
-| **④ 社区 + 私信** | 带话题标签的论坛(热榜讨论 / 校园情报 / 日常分享)+ 私信 | 主阵地 |
-| **⑤ 校园服务** | 储物柜(lockers)等陆续上线;官方报道中另提到**二手买卖、寻找组员** | 从"内容"走向"履约" |
-| **⑥ 验证与隐私** | 浸大邮箱验证(wall conditon)+ mask 与 profile 隔离 + 举报/拉黑 | 封闭社区的信任基座 |
-| **⑦ AI 一键翻译** | 打破语言障碍,方便本地生与非本地生交流 | AI 目前只作为**一个功能点**存在 |
-
-### 线下延伸(这是最值得注意的部分)
-
-- **与顺丰供应链合作**暑期行李寄存服务:为约 **130 名**学生处理了近 **400 箱**行李,定价刻意压低(对标市面上"不够便利或价钱高昂"的寄存)
-- **与高德地图合作**:推出**全港首个学生专属出行优惠**,为浸大学生提供独家打车优惠码
-- 获 Village CARE 颁发的 **Innovation Creative Award**
-
-> 这两件事说明团队最稀缺的能力不是写 App,而是**把学生需求翻译成企业愿意配合的线下服务**。这是纯软件团队学不来的。
-
----
-
-## 五、数据与牵引力(Traction)
-
-| 指标 | 数值 | 来源与可信度 |
-| --- | --- | --- |
-| 注册用户 | **1,000+**(约 **40%** 为本地生) | 校方官方报道(2026-09),口径为"注册",非活跃 |
-| Android 下载量 | Play 显示 "100+" 档位;第三方估算累计约 296+ | 商店档位数据,量级很小 |
-| 全球估算月下载 | **< 5K** | Appfigures(2026-08) |
-| 评分 | App Store 5.0 / 5.0(仅 **5** 条评分);Appfigures 记 4.90(10 条) | 样本量太小,不构成质量结论 |
-| 地域分布 | **香港 99%** | Appfigures |
-| 收入 | **Not Monetized(零收入)** | Appfigures |
-
-**如何读这组数**:
-- 1,000 注册 vs 下载量几百——说明相当一部分用户来自**安卓 APK 侧载**或 iOS,商店下载量不能反映真实装机
-- 40% 本地生 是个**反直觉的好信号**,说明它没变成"内地生自嗨群"
-- 但**留存、DAU、发帖密度全部未知**。校园社区产品的生死线从来不是注册数,而是"学期中段还有没有人发帖"
-
----
-
-## 六、资源与资金
-
-- **HK$20,000 种子基金**:通过浸大校内创业比赛 **"Start-up Saturday"** 获得(该比赛优胜队最高可获 HK$30,000,即他们拿到上限的 2/3)。该比赛由浸大学生事务处事业策划中心主办,背后有「洪瑞琳创业起动基金」(HK$150 万捐赠)支持
-- **StarHub 顾问指导**:浸大首个校园就业支援及创业培育中心。顾问的关键建议是"**深入走进学生的真实生活场景去验证价值主张**",直接促使团队做大范围调研并锁定定位。团队持续使用 StarHub 共创空间协作
-- **校方背书**:获浸大官网首页级报道 + 学生事务处专题报道,是校方对外讲"留学香港 / 学生创业"故事的样板案例
-
----
-
-## 七、竞争格局
-
-ULinks 并不是在真空里跑,香港校园社区赛道已经有人在做**跨校聚合**:
-
-| 玩家 | 形态 | 覆盖 | 与 ULinks 的关系 |
-| --- | --- | --- | --- |
-| **ULinks** | 单校封闭社区(邮箱验证) | 仅浸大 | 深度优先,护城河=校方关系 + 线下履约 |
-| **Triple Uni** | **跨校聚合器**(把 HKU Pupu、中大"马料水 Beeper"、科大"星尘空间站"聚到一个 App) | 港大 / 中大 / 科大 | ⚠️ **正面威胁**。它抢的是"跨校社交"心智,且主体是深圳三中视界网络科技(公司化运营,2026-04 上架) |
-| **HiByeFd** | 全匿名校园社交(8+ 港校) | 港八大 | ⚠️ 抢"匿名表达"心智,与 ULinks 的 Mask 功能直接重叠 |
-| **Dcard u life / Threads secrets / LIHKG / Telegram 换科群** | 非结构化舆论场 | 全港 | **真正的现任王者**。学生的"查课、换课、吐槽 prof"实际发生地 |
-
-**关键判断**:ULinks 的真正对手不是别的 App,而是 **Telegram 换科群 + Instagram Secrets + Dcard** 这套"免费且已成型"的草根基础设施。ULinks 要用"实名验证 + 结构化评分 + 履约服务"去替代它们,本质是**用产品秩序替换社区混沌**——做得成就有壁垒,做不成就只是"学期初热两周"。
-
----
-
-## 八、七个关键风险
-
-1. **匿名 + 教授评分 = 法律与舆论核弹**
- Mask 身份 + 教授分项评分(教学/给分/支持),一旦出现点名攻击、诽谤或隐私泄露,在香港《个人资料(私隐)条例》与诽谤法框架下,运营公司 UHUB LIMITED 是**第一责任人**;同时会立刻招致校方施压。这是产品核心玩法与合规底线的直接冲突,不是加个"举报按钮"能解决的。
-
-2. **创始团队毕业潮(最致命)**
- 两位运营核心都是四年级,2027 年毕业。校园项目的第一大死因就是"创始人毕业 = 项目猝死"。目前公开信息里**看不到任何全职化、融资、或交接机制**。
-
-3. **增长天花板写死在架构里**
- `@hkbu.edu.hk` 邮箱验证 = 信任极强,但**用户池上限就是浸大 2,900 名本科新生量级**。要破局必须跨校,而跨校就撞上 Triple Uni / HiByeFd,且**失去校方独家背书**这个最大资产。
-
-4. **零商业模式**
- 商店明确标注 Not Monetized。已露出的变现胚子有:顺丰物流履约、高德品牌合作、储物柜服务——但都是**一次性活动型收入**,不是可复制的产品化收入。
-
-5. **季节性剧烈**
- 校园社区只有 4 个流量窗口(开学 / 选课 add-drop / 考试 / 搬宿舍),其余时间静默。这要求团队有极强的节奏感与常态化内容运营,而学生团队在期末周基本停摆(团队自己也承认"兼顾期末考是最大挑战")。
-
-6. **工程与运营成熟度信号不佳**
- 正式商店页挂着 `[email protected]` 这种明显是测试用途的邮箱;安装包 117–123 MB(对功能体量偏臃肿);第三方数据源之间版本号口径不一致(1.1.0 / 1.1.5)。这些不是硬伤,但指向"缺一个成熟的工程负责人"。
-
-7. **政策与主体风险**
- 无法排除校方未来自建同类平台(学生会/资讯处完全有能力做),那时 ULinks 的"校方背书"会瞬间反转成"校方竞品"。
-
----
-
-## 九、给你的启示(DeepTutor 视角)
-
-如果我看这个项目是为了给自己的 agent-native 学习产品找参照,有三点值得抄、三点值得避:
-
-**值得抄:**
-- **邮箱验证 = 天然 gating + 高信任数据源**。它用一道验证同时解决了"用户真实性"和"归属感",成本几乎为零。教育类产品都该有类似的"身份飞轮"。
-- **线下履约建立不可复制的护城河**。顺丰行李寄存、高德打车优惠——这些"看似不务正业"的合作,反而是最难的竞品壁垒。纯 AI 产品最缺的就是这个。
-- **用校方创业资源做冷启动**。Start-up Saturday + StarHub = 免费种子资金 + 免费顾问 + 免费官方宣传位。这是给在校生创业者的**最低成本分发路径**,值得系统性研究。
-
-**值得避:**
-- **别把 AI 当功能点**。ULinks 的 AI 只是"一键翻译"。在这个赛道真正没被做的是:**选课决策助手、课业学习陪伴、基于真实课程数据的个性化规划**——这才是 AI-native 该切的地方,而不是给社区加个翻译按钮。
-- **别只在"信息聚合"上竞争**。论坛/评分/二手这些,Telegram + Dcard 已经免费提供了十几年。要有增量价值就必须是"帮你做决策"或"替你完成事情",而不只是"让你看到信息"。
-- **别让项目跟着创始人毕业**。这是校园项目的结构性宿命,唯一解法是尽早把项目"机构化"(公司化、全职化、或有明确的接棒人)。
-
----
-
-## 十、信息缺口(需要进一步验证)
-
-- MAU / DAU / 留存曲线 / 发帖活跃度 —— **完全未知**,这是判断真伪的唯一关键
-- 是否有融资、是否有全职人员、9 人团队的真实分工
-- 「课程/教授评分」的数据从哪来(学生自发填写?爬取?——若为爬取则另有隐私风险)
-- 隐私政策实际执行情况(匿名帖子在服务端是否真的与身份解耦)
-- 是否已启动跨校扩展,或与其他港校接触
-
----
-
-## 十一、主要来源
-
-1. 香港浸会大学官网《浸大学生初创团队 ULinks 助学生融入校园生活》(2026-09)
- https://www.hkbu.edu.hk/content/hongkongbaptistuniversity/zh_hk/whats-new/discover-hkbu/2026/Sep-2026/HKBU-student-startup-ULinks-connects-students-to-campus-life
-2. 浸大学生事务处《From Campus to Community: Student-Led Start-up ULinks Delivers Storage Solution with Industry Partners》
- https://sa.hkbu.edu.hk/en/career/Start-up-Support/What-s-News/From-Campus-to-Community--Student-Led-Start-up-ULinks-Delivers-Storage-Solution-with-Industry-Partners.html
-3. Google Play 商店页:ULinks(`com.uhub.ulink`,开发者 UHUB Limited)
-4. Appfigures / AppBrain / MWM Intelligence 第三方商店情报
-5. 浸大基金会《浸大获洪瑞琳小姐捐资 成立创业起动基金》(Start-up Saturday 机制与奖金上限)
- https://foundation.hkbu.edu.hk/cn/node/16107
-6. 竞品信息:Triple Uni(App Store 元数据)、HiByeFd(Unwire Launch)、DSE Best《2026 香港大学生必备 Apps》
diff --git a/docs-for-user/AGENT_SETUP.md b/docs-for-use/AGENT_SETUP.md
similarity index 100%
rename from docs-for-user/AGENT_SETUP.md
rename to docs-for-use/AGENT_SETUP.md
diff --git a/docs-for-user/CONTAINERIZATION.md b/docs-for-use/CONTAINERIZATION.md
similarity index 100%
rename from docs-for-user/CONTAINERIZATION.md
rename to docs-for-use/CONTAINERIZATION.md
diff --git a/docs-for-user/DATA_STORAGE.md b/docs-for-use/DATA_STORAGE.md
similarity index 100%
rename from docs-for-user/DATA_STORAGE.md
rename to docs-for-use/DATA_STORAGE.md
diff --git a/docs-for-user/KNOWLEDGE_MIGRATION.md b/docs-for-use/KNOWLEDGE_MIGRATION.md
similarity index 100%
rename from docs-for-user/KNOWLEDGE_MIGRATION.md
rename to docs-for-use/KNOWLEDGE_MIGRATION.md
diff --git a/docs-for-user/PRACTICE.md b/docs-for-use/PRACTICE.md
similarity index 100%
rename from docs-for-user/PRACTICE.md
rename to docs-for-use/PRACTICE.md
diff --git a/docs-for-user/READING_EXTENSIONS.md b/docs-for-use/READING_EXTENSIONS.md
similarity index 100%
rename from docs-for-user/READING_EXTENSIONS.md
rename to docs-for-use/READING_EXTENSIONS.md
diff --git a/docs-for-user/REASONING_SAFETY_CHECKLIST.md b/docs-for-use/REASONING_SAFETY_CHECKLIST.md
similarity index 100%
rename from docs-for-user/REASONING_SAFETY_CHECKLIST.md
rename to docs-for-use/REASONING_SAFETY_CHECKLIST.md
diff --git a/docs-for-user/SECURITY_GUARD.md b/docs-for-use/SECURITY_GUARD.md
similarity index 100%
rename from docs-for-user/SECURITY_GUARD.md
rename to docs-for-use/SECURITY_GUARD.md
diff --git a/docs-for-user/SOURCE_VISUALS.md b/docs-for-use/SOURCE_VISUALS.md
similarity index 100%
rename from docs-for-user/SOURCE_VISUALS.md
rename to docs-for-use/SOURCE_VISUALS.md
diff --git a/docs-for-user/VOICE_CONFIGURATION.md b/docs-for-use/VOICE_CONFIGURATION.md
similarity index 100%
rename from docs-for-user/VOICE_CONFIGURATION.md
rename to docs-for-use/VOICE_CONFIGURATION.md
diff --git a/docs-for-user/remote-hermes-backend.md b/docs-for-use/remote-hermes-backend.md
similarity index 100%
rename from docs-for-user/remote-hermes-backend.md
rename to docs-for-use/remote-hermes-backend.md
diff --git a/docs-for-user/watching-workspace.md b/docs-for-use/watching-workspace.md
similarity index 100%
rename from docs-for-user/watching-workspace.md
rename to docs-for-use/watching-workspace.md
diff --git a/docs-for-user/workspace-resources-verification.md b/docs-for-use/workspace-resources-verification.md
similarity index 100%
rename from docs-for-user/workspace-resources-verification.md
rename to docs-for-use/workspace-resources-verification.md
diff --git a/docs-for-user/workspaces.md b/docs-for-use/workspaces.md
similarity index 100%
rename from docs-for-user/workspaces.md
rename to docs-for-use/workspaces.md
diff --git a/docs-for-user/workspace-isolation-implementation.md b/docs-for-user/workspace-isolation-implementation.md
deleted file mode 100644
index 108565b06..000000000
--- a/docs-for-user/workspace-isolation-implementation.md
+++ /dev/null
@@ -1,109 +0,0 @@
-# Workspace isolation implementation audit
-
-Verified on 2026-09-19. The local production instance was rebuilt and restarted
-at http://localhost:3784 (API :8000). No remote deployment was performed.
-
-## Implemented contract
-
-- Ordinary chat, Books, Mastery Path, Reading, Watching: materials, sessions,
- progress, quiz results, generated files and caches belong to a workspace.
-- Unselected/default workspace retains historical paths and data. Previous
- folder bindings are preserved for audit and adopted into default once.
-- Custom data lives under `.deeptutor/data/` inside its registered folder;
- presented outputs remain under `outputs/`.
-- Memory, credentials, account settings and workspace registry remain global.
-- Authenticated ownership and workspace scope are checked independently.
- HTTP selectors must agree; WebSockets capture scope at connection time.
-- SDK and CLI can explicitly select a registered workspace. Background writers
- retain their original scope. Account changes discard inherited workspace scope.
-- Task-scoped URLs and full navigation between content stores clear caches. Text and attachment drafts are keyed by account, workspace and
- page, and stored before switching.
-- Shared admin books/knowledge bases retain their grant policy. Personal learning
- state is workspace-specific. Moving a granted admin catalogue is blocked until
- grants are resolved; exports remain possible.
-- Settings → Personal → Data Migration discovers supported stores and historical
- roots, previews dependency closure, exports ZIPs, migrates verified snapshots,
- retains recovery journals and recovers interrupted transfers.
-- SQLite backup includes WAL content. Numeric IDs are preserved. Nonempty target
- features and conflicting IDs block migration; initialized empty databases do
- not. Explicit output exports include orphaned files.
-- Historical request snapshots, quiz followups, attachments
- and published blobs participate in migration. PocketBase conversations and
- the accompanying local SQLite quiz store move together.
-- Cross-process activity leases exclude migrations from app writes and archive
- changes. Startup migrations skip pending recovery. Recovery settings remain
- accessible when an active workspace is unavailable.
-
-## Task assignment and navigation correction
-
-- The sidebar no longer selects a global data scope. Chat assigns a workspace
- in its composer; all four learning introductions offer selection and creation.
-- Task URLs own scope. A previous tab selection cannot silently scope a new
- homepage, settings page or task. Cross-store navigation disposes UI runtimes;
- within-feature routes retain explicit scope, including first-turn bindings.
-- Session and learning navigation explicitly aggregate this account's stores,
- tag each result with its origin, and preserve that origin for opens/mutations.
- Content APIs and history-as-context pickers remain strictly workspace-local.
-- Suggestion material collection runs off the event loop. Background and manual
- refresh share one job per store, with a 35-second total deadline; the client
- has cancellation, a 40-second deadline and distinct empty/error states.
-- Starter generation requests no hidden reasoning for its short output budget.
- The live model previously exhausted all 500 completion tokens on reasoning
- (`finish_reason=length`, zero answer characters); with this call-specific
- setting it returned three valid suggestions (`finish_reason=stop`).
-
-## Verification evidence
-
-- Task-navigation correction: 55 backend tests, 52 rendered frontend tests,
- and 29 route tests passed. Typecheck, dependency boundaries, contract generation,
- locale parity and the production build passed.
-- Browser regression on an isolated runtime verified cross-workspace history,
- opening a default transcript from a custom learning page, learning start
- selection, in-composer creation and unsent draft transfer. Empty workspaces
- render a terminal no-history message; model failures have a retry control.
-
-- Latest boundary regression: 94 passed (workspace, application, WebSocket
- binding and shared-book suites).
-- CLI/application checks: 45 passed. PocketBase/usage checks: 12 passed;
- final PocketBase migration rerun: 4 passed. Migration/HTTP checks: 17 passed.
-- Earlier larger runtime/partner regression: 159 passed; broader workspace and
- runtime regression: 132 passed. Counts overlap and are not additive.
-- TypeScript typecheck, ESLint, generated contract check and production builds
- passed. Locale parity passed; the repository-wide i18n audit still reports
- existing missing keys/UI literal notices.
-- Frontend workspace suite: 18 passed.
-- Real browser QA in an isolated data home: A/B learning dashboards and chat
- lists, full four-feature migration with two conversations, ZIP download and
- archive integrity (14 entries), text and attachment draft restoration.
-- Actual WebSocket against the QA backend rejects continuation of a conversation
- owned by a different workspace with `start_turn_rejected`.
-- Crash tests cover partial copy, session commit and recovery. These exercise
- failure paths without interrupting user data.
-- Production smoke check: 1,037 default conversations and 5 books retained;
- no pending recovery; Chinese migration page works. A real default-book preview
- found 172 dependent conversations and correctly refused the already populated
- destination without changing data. Ports 3024/8024 and QA
- build directories were cleaned up.
-- Private full-data backup verified with SHA-256 and tar listing:
- `/Users/frank/HKUDS/DeepTutor-backups/workspace-isolation-20260919-023534/`.
-
-Browser artifacts are under `output/playwright/`: `workspace-migration-production.png`,
-`workspace-attachment-restored.png`, and `workspace-draft-restored.png`.
-
-## Deliberate limits
-
-- Feature migration is an aggregate transfer, not a merge of independently
- populated feature databases. Conflicting numeric IDs are refused, not remapped.
-- Unsupported historical formats are preserved as archives, not automatically
- interpreted as current learning records. Discovery is confined to registered
- account/workspace roots; it does not search arbitrary disks.
-- PocketBase behavior is covered by repository test doubles, including mixed
- local quiz storage. No live external PocketBase service was available for QA.
-- Recovery copies consume disk space and are retained. External programs that
- bypass the app's leases must be stopped while migrating.
-- Switching drafts are local browser data; they are not cross-device draft sync.
-- Workspace partitioning is application-level data organization. Shared admin
- resources, memory and account-level usage/settings keep their stated scope.
-- The preexisting ownerless turn dated 2026-08-30 was settled through the
- application cancel command (`worker_lost`). Messages and all 1,037 sessions
- remain; there are now no nonterminal turns blocking default-store migration.
diff --git a/docs/verification/mastery-demand-source-preparation.md b/docs/verification/mastery-demand-source-preparation.md
deleted file mode 100644
index ec23b7a6d..000000000
--- a/docs/verification/mastery-demand-source-preparation.md
+++ /dev/null
@@ -1,57 +0,0 @@
-# Demand-driven source preparation follow-up
-
-Follow-up to #1902, stacked on the source/semantic assessment work in #1953.
-This branch adds source delivery and teaching-record safeguards; it does not
-replace the existing lesson preparation, retrieval, assessment or registry owners.
-
-## Contract
-
-- The Mastery loop checks the current authorized cached packet before each model
- request. Cache misses and administrative feedback never automatically start
- preparation/model calls. The existing `mastery_prepare_lesson` tool owns paid work.
-- A stale/changed packet offers explicit focused preparation on current authorized
- materials; it is not a permanent tutoring refusal or a reason to demand re-upload.
- Access, source identity and unreadability constraints remain enforced.
-- Ready partial evidence supports its useful teaching slice. It does not establish
- full objective coverage or independently authorize an arbitrary assessment.
-- Explicit successful preparation binds the teaching objective in the current turn;
- advancing the policy objective invalidates that binding. Model-supplied private
- callbacks cannot replace the runtime binder.
-- The native pre-request seam also runs on forced finish. Real source failures
- propagate rather than being converted into an empty successful fallback.
-- Prepared page pixels are transient, bounded to two views and subordinate to newer
- tool-retrieved images. Other prepared pages remain source anchors, not claims of
- current pixel inspection. Tool pairs and original learner messages are preserved.
-- Durable packet markers survive normalization so later turns can replace historical
- packets while keeping the correct archive boundary. No global history truncation
- or additional context router is introduced.
-- `mastery_note_explained` revalidates the current source evidence inside its existing
- transaction and records `coverage: partial`, without grades/mastery credit.
-
-The public-delivery quote/receipt enforcement from #1952 remains a separate,
-complementary contribution. This branch does NOT claim it proves that explanation
-text was visibly delivered. Its generic `explained` navigation stage is retained;
-the new coverage field explicitly prevents a full-objective coverage claim.
-No Chinese prompts, profile/memory projection features, or user settings changed.
-
-## Evidence
-
-- Cache/demand tests initially failed: 11 failures, one existing tool case passed.
-- Real selected-PDF teaching-record tests initially failed twice: unprepared
- teaching was accepted and partial coverage was absent.
-- Native request-boundary tests initially failed five times: the hook never ran,
- failures could be bypassed and the durable packet marker was lost.
-- The first hook implementation exposed the forced-finish catch swallowing real
- source failures; both ordinary-round and forced-finish paths now preserve them.
-- Final targeted suite: **85 passed** across demand preparation, native request
- boundary, and physical source-page/source-guard tests. All model/retrieval responses are deterministic
- fakes; PDF page identity and rendering use synthetic files in temporary stores.
-- Additional checks cover same-turn explicit recovery, focus expiry, literal learner
- quotations and archive boundaries, current access revocation, partial teaching,
- unchanged paid-call count, tool image precedence and absence of durable pixels.
-
-An optional broader run had 268 passing tests and two unrelated failures. Both
-also fail on the unchanged semantic parent: the cold-start partial-stream timeout/
-event-observation test, and a summary test requiring uninitialized `agents.yaml`
-in a fresh contribution worktree. No production workaround was added for either.
-Ruff and `git diff --check` pass for the changed Python/source/test files.
diff --git a/docs/verification/mastery-semantic-assessment.md b/docs/verification/mastery-semantic-assessment.md
deleted file mode 100644
index e68d9e842..000000000
--- a/docs/verification/mastery-semantic-assessment.md
+++ /dev/null
@@ -1,88 +0,0 @@
-# Source-bound semantic assessment
-
-This contribution is stacked on `contrib/mastery-grouped-assessment` at
-`6532c8c2` (PR #1943). It ports selected assessment symbols from the local
-integration workspace, not whole shared service/tool files.
-
-## Guarantees
-
-- Exact verified choices/equivalents stay local. Other answered free-form
- leaves share one bounded semantic request, using original authorized PDF
- pixels when needed; image fallback is disabled.
-- Question contracts bind objective, question, options, key, rubric and fresh
- source evidence. Citation quotes must exist. Original-exam provenance is
- conservative; choice keys are not inferred from an isolated letter.
-- Await happens outside the store transaction. Commit rechecks the original
- interaction/answer/objective fingerprint, lifecycle, source access and digest.
-- Provider errors write no grade. Uncertain answers are nonfinal and may be
- explicitly revised; final siblings cannot be changed. Group children do not
- create additional active-question rows or duplicate mastery credit.
-- Partial is distinct from incorrect in attempts, evidence, scheduler quality,
- question-bank entries, native cards and tutor seeds. Corrections reassess the
- saved raw learner answer, discard old key-derived aliases and repair receipts.
-- Qualitative assessment uses the actual runtime learner message, never the
- model's passed flag. Native selected-model ContextVar routing is retained.
-- Single and grouped grading failures emit recovery events, preserving drafts.
-
-## Source dependencies
-
-`lesson_evidence.py` supplies actual preparation, bounded targeted repair,
-validated cached full/partial packets and selected-source scope. `source_pages.py`
-supplies physical locators, hashes, bounded rendering and legacy BM25 page
-sidecars. Four small LlamaIndex owner changes preserve physical PDF documents,
-persist page catalogs and scope retrieval before searching. No alternate
-renderer, fake verification flag, OCR migration or global model override exists.
-
-The explicit `mastery_prepare_lesson` tool is registered and mounted. The
-automatic cache-delivery pipeline and taught-state source guard are a separate
-stacked source-preparation follow-up, not silently copied into this slice.
-Tests specific to those unported owners and the separate legacy URL alias
-migration are intentionally not included. New references use native route
-parameters `source_path`, `source_hash`, `page`, `region`.
-
-## Validation
-
-All tests use temporary synthetic records and offline provider stubs. No learner
-data was changed; no backend restart or provider-cost call was made by this port.
-
-- Initial root RED: missing semantic implementation; longer correct paraphrase,
- nonfinal revisions, partial outcomes and provider failure contracts failed.
-- Additional RED: single-card runtime failure variants produced zero recovery
- events (3 failed, 3 passed); after fix runtime suite **20 passed**.
-- Additional RED: qualitative question-bank result argument was missing (2
- failed); after fix root semantic suite **20 passed**.
-- Native backend: semantic assessment, source bridge, source pages, visual
- workflow, mastery tools, group runtime and capability suites **280 passed**;
- after adding the two qualitative-bank regressions the affected semantic/tools
- suites **100 passed**.
-- Native DOM: `npm run test:unit -- tests/mastery-question-group.spec.tsx
- tests/question-bank-picker.spec.tsx` **20 passed**. Covers uncertain leaf
- revisions, final sibling locks, single clarification retry and typed badges.
-- Native `npm run typecheck`: passed.
-- Scoped Ruff and `git diff --check`: passed.
-
-Parent review separately ran two controlled model probes: four text decisions
-and one original synthetic-pixel table decision. Those integration observations
-are not substituted for the deterministic regression suite above.
-
-## Port boundaries
-
-Service: grade/evaluate/repair/qualitative paths, group merge/result/leaf paths,
-question registration/answer revision, evidence update and mastery calculation.
-Tools: prepare/quiz/grade/assess/repair and qualitative-bank projection only.
-Loop: raw-message injection for those tools and `_grade_seed` only. Runtime:
-`_grade_submitted_card_answer` failure projection only. UI: typed result helpers,
-cards, receipt/rejection projection, bank badges and six partial translations.
-Profile, intake, memory, broad teaching guidance and delivery recovery edits
-remain in their separate contributions.
-
-## Practice-card interface follow-up
-
-The quiz schema and grouped finish nudge now accurately allow practice cards for
-all objective types. Both single and grouped CONCEPT / DESIGN cards explicitly
-retain the separate qualitative gate. No credit policy was changed. A new
-three-case regression first failed on the obsolete descriptions/missing grouped
-notice, while already proving six correct concept/design attempts did not open
-either gate. After the wording fix: root concept-contract/tools suites 83 passed;
-native concept-contract/runtime/capability suites 101 passed; scoped Ruff and
-diff checks passed.
diff --git a/web/app/preview/PreviewClient.tsx b/web/app/preview/PreviewClient.tsx
deleted file mode 100644
index a36ac7aea..000000000
--- a/web/app/preview/PreviewClient.tsx
+++ /dev/null
@@ -1,13 +0,0 @@
-'use client'
-import dynamic from 'next/dynamic'
-import { installDemoTransport } from '@/features/preview/demo-transport'
-import 'katex/dist/katex.min.css'
-import './preview.css'
-
-installDemoTransport()
-const PreviewWorkspace = dynamic(() => import('@/features/preview/PreviewWorkspace'), {
- ssr: false,
-})
-export default function PreviewClient() {
- return <PreviewWorkspace />
-}
diff --git a/web/app/preview/page.tsx b/web/app/preview/page.tsx
deleted file mode 100644
index 46e977d6b..000000000
--- a/web/app/preview/page.tsx
+++ /dev/null
@@ -1,7 +0,0 @@
-import PreviewClient from './PreviewClient'
-
-export const metadata = { title: 'DeepTutor · Dito 前端预览' }
-
-export default function PreviewPage() {
- return <PreviewClient />
-}
diff --git a/web/app/preview/preview.css b/web/app/preview/preview.css
deleted file mode 100644
index 60d001a5a..000000000
--- a/web/app/preview/preview.css
+++ /dev/null
@@ -1,1555 +0,0 @@
-/* Layout exploration only. Reader, editor, composer, cards, dialogs, themes,
- typography, icons and responsive shell come from the existing WebUI. */
-.dito-preview {
- height: 100dvh;
- color: var(--foreground);
-}
-.dito-preview button {
- -webkit-tap-highlight-color: transparent;
-}
-.dito-preview button:focus-visible,
-.dito-preview input:focus-visible {
- outline: 2px solid var(--ring);
- outline-offset: 3px;
-}
-.preview-sidebar-head {
- padding: 10px 8px 0;
-}
-.preview-sidebar-body {
- padding: 4px 8px;
-}
-.preview-nav-row {
- display: flex;
- align-items: center;
- gap: 10px;
- min-height: 35px;
- width: 100%;
- padding: 7px 10px;
- border-radius: 7px;
- font-size: 13px;
- color: var(--muted-foreground);
- text-align: left;
- transition:
- background 120ms,
- color 120ms;
-}
-.preview-nav-row > svg {
- flex-shrink: 0;
-}
-.preview-nav-row > span {
- flex: 1;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-.preview-nav-row:hover {
- background: color-mix(in srgb, var(--foreground) 4%, transparent);
- color: var(--foreground);
-}
-.preview-nav-row.is-active {
- background: color-mix(in srgb, var(--foreground) 6%, transparent);
- color: var(--foreground);
- font-weight: 500;
-}
-.preview-nav-row kbd {
- font: 10px inherit;
- color: var(--muted-foreground);
- opacity: 0.7;
- white-space: nowrap;
-}
-.preview-nav-row.is-collapsed {
- padding: 10px;
- justify-content: center;
-}
-.preview-nav-label {
- padding: 24px 10px 8px;
- font-size: 11px;
- font-weight: 500;
- color: var(--muted-foreground);
- opacity: 0.75;
-}
-.preview-sidebar-note {
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 28px 10px;
- color: var(--muted-foreground);
- font-size: 11px;
-}
-.preview-sidebar-note > svg {
- margin-left: auto;
-}
-.preview-small-dot {
- width: 5px;
- height: 5px;
- border-radius: 50%;
- background: var(--primary);
- opacity: 0.5;
-}
-.preview-sidebar-footer {
- width: 100%;
- padding: 8px 8px 14px;
-}
-.preview-new-chat {
- display: flex;
- align-items: center;
- gap: 8px;
- width: 100%;
- margin-top: 8px;
- padding: 10px 12px;
- border: 1px solid var(--border);
- border-radius: 9px;
- background: var(--background);
- font-size: 12px;
- box-shadow: 0 2px 4px #00000003;
-}
-.preview-new-chat span {
- flex: 1;
- text-align: left;
-}
-.preview-new-chat.is-collapsed {
- padding: 10px;
- justify-content: center;
-}
-.preview-new-chat:hover {
- border-color: var(--muted-foreground);
-}
-.preview-topbar {
- height: 52px;
- flex-shrink: 0;
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 14px;
- padding: 0 25px;
-}
-.preview-breadcrumb {
- display: flex;
- align-items: center;
- gap: 9px;
- min-width: 0;
- font-size: 12px;
-}
-.preview-breadcrumb button,
-.preview-breadcrumb > svg {
- color: var(--muted-foreground);
- flex-shrink: 0;
-}
-.preview-breadcrumb span {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-.preview-top-actions {
- display: flex;
- align-items: center;
- gap: 6px;
- flex-shrink: 0;
-}
-.preview-badge {
- font-size: 10px;
- color: var(--muted-foreground);
- padding: 3px 7px;
- border: 1px solid var(--border);
- border-radius: 4px;
- margin-right: 8px;
-}
-.preview-icon {
- display: flex;
- width: 28px;
- height: 28px;
- align-items: center;
- justify-content: center;
- border-radius: 5px;
- color: var(--muted-foreground);
-}
-.preview-icon:hover,
-.preview-icon.is-active {
- background: var(--muted);
- color: var(--foreground);
-}
-.preview-icon.is-active > svg {
- fill: color-mix(in srgb, var(--primary) 20%, transparent);
- color: var(--primary);
-}
-.preview-dito-toggle {
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 5px 9px;
- font-size: 12px;
- border-radius: 6px;
- border: 1px solid var(--border);
-}
-.preview-dito-toggle.is-active {
- background: var(--muted);
-}
-.preview-work-area {
- display: flex;
- flex: 1;
- min-height: 0;
- min-width: 0;
- overflow: hidden;
-}
-.preview-main {
- flex: 1;
- min-width: 0;
- min-height: 0;
- display: flex;
- flex-direction: column;
-}
-.preview-home-inner {
- max-width: 830px;
- margin: 22px auto 0;
-}
-.preview-eyebrow {
- font-size: 11px;
- letter-spacing: 0.025em;
- color: var(--muted-foreground);
- margin-bottom: 12px;
-}
-.preview-home [data-page-header] {
- margin-bottom: 25px;
-}
-.preview-home .dt-page-title {
- font-size: 30px;
-}
-.preview-home-composer {
- margin: 0 -2px;
-}
-.preview-quick-actions {
- display: flex;
- gap: 9px;
- margin-top: 15px;
- flex-wrap: wrap;
-}
-.preview-quick-actions button {
- display: flex;
- align-items: center;
- gap: 7px;
- font-size: 12px;
- color: var(--muted-foreground);
- padding: 6px 10px;
- border: 1px solid var(--border);
- border-radius: 7px;
- transition: background 120ms;
-}
-.preview-quick-actions button:hover {
- color: var(--foreground);
- background: var(--muted);
-}
-.preview-quick-actions button > svg:last-child {
- opacity: 0.4;
- margin-left: 5px;
-}
-.preview-section {
- margin-top: 45px;
-}
-.preview-section-title {
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin-bottom: 14px;
-}
-.preview-section-title h2 {
- font-size: 13px;
- font-weight: 600;
-}
-.preview-section-title button {
- display: flex;
- align-items: center;
- gap: 6px;
- font-size: 11px;
- color: var(--muted-foreground);
-}
-.preview-resume-list {
- border-top: 1px solid var(--border);
-}
-.preview-content-row {
- display: flex;
- width: 100%;
- min-width: 0;
- align-items: center;
- gap: 13px;
- padding: 16px 3px;
- text-align: left;
- border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
- border-radius: 3px;
- transition: background 120ms;
-}
-.preview-content-row:hover {
- background: color-mix(in srgb, var(--muted) 60%, transparent);
-}
-.preview-review {
- display: flex;
- align-items: center;
- gap: 14px;
- margin-top: 28px;
- padding: 18px 20px;
- border-radius: 10px;
- background: color-mix(in srgb, var(--secondary) 70%, var(--background));
-}
-.preview-review-icon {
- color: var(--muted-foreground);
-}
-.preview-review > div:nth-child(2) {
- flex: 1;
-}
-.preview-review h3 {
- font-size: 12.5px;
- font-weight: 500;
-}
-.preview-review p {
- margin-top: 5px;
- font-size: 11px;
- color: var(--muted-foreground);
-}
-.preview-home-footnote {
- margin: 25px 0 10px;
- font-size: 10.5px;
- color: var(--muted-foreground);
- text-align: center;
- opacity: 0.75;
-}
-.preview-filters {
- display: flex;
- gap: 6px;
- border-bottom: 1px solid var(--border);
- padding-bottom: 10px;
- overflow-x: auto;
-}
-.preview-filters button {
- font-size: 12px;
- color: var(--muted-foreground);
- padding: 6px 12px;
- border-radius: 6px;
- white-space: nowrap;
-}
-.preview-filters button.is-active {
- background: var(--muted);
- color: var(--foreground);
-}
-.preview-learning-grid {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
- gap: 16px;
-}
-.preview-learning-card {
- display: flex;
- align-items: center;
- flex-wrap: wrap;
- gap: 12px;
- padding: 22px;
- border: 1px solid var(--border);
- border-radius: 12px;
- text-align: left;
- transition: background 120ms;
-}
-.preview-learning-card:hover {
- background: var(--secondary);
-}
-.preview-card-meta {
- display: flex;
- align-items: center;
- justify-content: space-between;
- width: 100%;
- font-size: 11px;
- color: var(--muted-foreground);
- margin-bottom: 10px;
-}
-.preview-library-callout {
- display: flex;
- gap: 16px;
- align-items: center;
- padding: 24px;
- border: 1px solid var(--border);
- border-radius: 10px;
-}
-.preview-library-callout > div {
- flex: 1;
-}
-.preview-library-callout h3 {
- font-size: 13px;
-}
-.preview-library-callout p {
- font-size: 12px;
- color: var(--muted-foreground);
- margin-top: 6px;
-}
-.preview-library-label,
-.preview-library-row {
- display: grid;
- grid-template-columns: minmax(0, 1fr) 130px 80px;
- gap: 20px;
- width: 100%;
- padding: 16px 10px;
- border-bottom: 1px solid var(--border);
- text-align: left;
-}
-.preview-library-label {
- font-size: 11px;
- color: var(--muted-foreground);
-}
-.preview-library-row {
- font-size: 13px;
- align-items: center;
-}
-.preview-library-row:hover {
- background: var(--secondary);
-}
-.preview-library-row > span:first-child {
- display: flex;
- align-items: center;
- gap: 12px;
-}
-.preview-library-row > span:first-child > svg {
- flex-shrink: 0;
- color: var(--muted-foreground);
-}
-.preview-library-row > span:not(:first-child) {
- font-size: 11px;
- color: var(--muted-foreground);
-}
-.preview-library-summary {
- padding: 16px 10px;
- font-size: 11px;
- color: var(--muted-foreground);
-}
-.preview-search-field {
- display: flex;
- align-items: center;
- gap: 10px;
- border: 1px solid var(--border);
- padding: 8px 11px;
- border-radius: 7px;
- color: var(--muted-foreground);
-}
-.preview-search-field input {
- width: 100%;
- background: transparent;
- outline: none;
- font-size: 12px;
- color: var(--foreground);
-}
-.preview-search-field.large {
- padding: 12px;
-}
-.preview-search-field.large input {
- font-size: 14px;
-}
-.preview-search-field kbd {
- font-size: 10px;
-}
-.preview-search-results {
- margin-top: 15px;
-}
-.preview-reading-surface {
- height: 100%;
- display: flex;
- min-width: 0;
-}
-.preview-reading-outline {
- width: 172px;
- flex-shrink: 0;
- padding: 5px 10px;
- border-top: 1px solid var(--border);
-}
-.preview-reading-outline button {
- display: flex;
- align-items: baseline;
- gap: 8px;
- width: 100%;
- padding: 10px 8px;
- text-align: left;
- color: var(--muted-foreground);
- font-size: 11px;
- border-radius: 5px;
-}
-.preview-reading-outline button > span {
- font-size: 10px;
- opacity: 0.5;
-}
-.preview-reading-outline button.is-active {
- color: var(--foreground);
- background: var(--secondary);
-}
-.preview-reader {
- flex: 1;
- min-width: 0;
- height: 100%;
-}
-.preview-assistant {
- width: 360px;
- flex-shrink: 0;
- border-left: 1px solid var(--border);
- display: flex;
- flex-direction: column;
- background: var(--background);
-}
-.preview-assistant > header {
- display: flex;
- align-items: center;
- gap: 8px;
- height: 44px;
- padding: 0 15px;
- border-top: 1px solid var(--border);
-}
-.preview-assistant > header strong {
- font-size: 13px;
- font-weight: 500;
-}
-.preview-assistant > header > span {
- font-size: 10px;
- color: var(--muted-foreground);
- flex: 1;
-}
-.preview-context-chip {
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 8px 10px;
- margin: 8px 14px 0;
- border-radius: 6px;
- background: var(--secondary);
- font-size: 10px;
- color: var(--muted-foreground);
-}
-.preview-context-chip > span:first-of-type {
- flex: 1;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
-}
-.preview-context-chip > span:last-child {
- font-size: 9px;
- opacity: 0.6;
- flex-shrink: 0;
-}
-.preview-conversation {
- overflow-y: auto;
- min-height: 0;
- flex: 1;
- padding: 24px;
- scroll-behavior: smooth;
-}
-.preview-conversation-empty {
- padding-top: 45px;
-}
-.preview-conversation-empty h2 {
- font-size: 20px;
- font-weight: 500;
- margin-top: 15px;
-}
-.preview-conversation-empty p {
- font-size: 12px;
- color: var(--muted-foreground);
- line-height: 1.8;
- margin-top: 8px;
-}
-.preview-conversation-empty > div {
- margin-top: 25px;
- display: flex;
- flex-direction: column;
- gap: 7px;
- align-items: flex-start;
-}
-.preview-conversation-empty button {
- display: flex;
- align-items: center;
- gap: 12px;
- border: 1px solid var(--border);
- padding: 8px 11px;
- border-radius: 6px;
- font-size: 11px;
- text-align: left;
-}
-.preview-conversation-empty button:hover {
- background: var(--secondary);
-}
-.preview-message {
- margin-bottom: 26px;
- font-size: 13px;
-}
-.preview-message-label {
- display: flex;
- align-items: center;
- gap: 7px;
- margin-bottom: 8px;
- font-size: 11px;
- font-weight: 500;
-}
-.preview-message-label > span {
- font-size: 9px;
- font-weight: 400;
- color: var(--muted-foreground);
-}
-.preview-message.user {
- padding: 12px 14px;
- background: var(--secondary);
- border-radius: 9px;
-}
-.preview-message p {
- font-size: 13px;
- line-height: 1.85;
-}
-.preview-result-link {
- display: flex;
- align-items: center;
- gap: 8px;
- width: 100%;
- text-align: left;
- padding: 12px;
- border: 1px solid var(--border);
- border-radius: 7px;
- margin-top: 18px;
- font-size: 12px;
-}
-.preview-result-link span {
- flex: 1;
-}
-.preview-result-link:hover {
- background: var(--secondary);
-}
-.preview-panel-composer {
- padding: 8px 12px 14px;
-}
-.preview-panel-composer > p,
-.preview-chat-composer > p {
- text-align: center;
- font-size: 9px;
- color: var(--muted-foreground);
- margin-top: 8px;
-}
-.preview-quote {
- display: flex;
- gap: 8px;
- align-items: flex-start;
- padding: 8px 12px;
- border-left: 2px solid var(--primary);
- margin: 10px 12px 0;
- font-size: 11px;
- color: var(--muted-foreground);
-}
-.preview-quote > span {
- flex: 1;
- display: -webkit-box;
- -webkit-line-clamp: 3;
- -webkit-box-orient: vertical;
- overflow: hidden;
-}
-.preview-chat-page {
- display: flex;
- flex-direction: column;
- height: 100%;
- width: 100%;
- max-width: 850px;
- margin: auto;
-}
-.preview-chat-heading {
- display: flex;
- align-items: center;
- gap: 9px;
- padding: 16px 25px;
-}
-.preview-chat-heading h1 {
- font-size: 16px;
- font-weight: 500;
-}
-.preview-chat-heading span {
- flex: 1;
- font-size: 11px;
- color: var(--muted-foreground);
-}
-.preview-chat-heading button {
- padding: 6px;
-}
-.preview-chat-composer {
- padding: 12px 25px 20px;
-}
-.preview-thinking {
- display: flex;
- gap: 8px;
- align-items: center;
- font-size: 11px;
- color: var(--muted-foreground);
-}
-.preview-thinking span {
- width: 5px;
- height: 5px;
- border-radius: 50%;
- background: var(--primary);
- animation: preview-pulse 1s ease-in-out infinite;
-}
-@keyframes preview-pulse {
- 50% {
- opacity: 0.25;
- }
-}
-.preview-mastery-layout {
- display: flex;
- gap: 40px;
-}
-.preview-objectives {
- width: 195px;
- flex-shrink: 0;
-}
-.preview-objectives .preview-nav-label {
- padding: 0 0 16px;
-}
-.preview-objectives button {
- display: flex;
- align-items: center;
- gap: 9px;
- padding: 12px 6px;
- width: 100%;
- text-align: left;
- font-size: 11px;
- color: var(--muted-foreground);
- border-radius: 5px;
-}
-.preview-objectives button.is-active {
- color: var(--foreground);
- background: var(--secondary);
-}
-.preview-objectives button > span {
- width: 18px;
- font-size: 10px;
-}
-.preview-lesson {
- flex: 1;
- min-width: 0;
- max-width: 650px;
-}
-.preview-lesson h2 {
- font-family: var(--font-serif);
- font-size: 24px;
- font-weight: 500;
-}
-.preview-lesson-intro {
- margin: 18px 0 30px;
- font-size: 13px;
- line-height: 2;
- color: var(--muted-foreground);
-}
-.preview-lesson-next {
- display: flex;
- gap: 10px;
- margin-top: 25px;
-}
-.preview-start-auto {
- display: flex;
- align-items: center;
- gap: 15px;
- width: 100%;
- padding: 20px;
- border: 1px solid var(--border);
- border-radius: 10px;
- text-align: left;
-}
-.preview-start-auto > div {
- flex: 1;
-}
-.preview-start-auto strong {
- font-size: 14px;
- font-weight: 500;
-}
-.preview-start-auto p {
- margin-top: 5px;
- font-size: 12px;
- color: var(--muted-foreground);
-}
-.preview-start-auto:hover {
- background: var(--secondary);
-}
-.preview-theme-options {
- display: flex;
- gap: 10px;
-}
-.preview-theme-options button {
- display: flex;
- align-items: center;
- gap: 10px;
- padding: 12px 18px;
- border: 1px solid var(--border);
- border-radius: 8px;
- font-size: 13px;
-}
-.preview-theme-options button.is-active {
- border-color: var(--primary);
-}
-.preview-about p {
- font-size: 13px;
- line-height: 1.9;
- margin-bottom: 15px;
-}
-@media (min-width: 1600px) {
- .preview-home-inner {
- margin-top: 50px;
- }
- .preview-assistant {
- width: 390px;
- }
-}
-@media (max-width: 1250px) {
- .preview-reading-outline {
- display: none;
- }
- .preview-assistant {
- width: 335px;
- }
- .preview-mastery-layout {
- gap: 22px;
- }
- .preview-objectives {
- width: 150px;
- }
-}
-@media (max-width: 900px) {
- .preview-assistant {
- position: fixed;
- right: 0;
- bottom: 0;
- top: 52px;
- z-index: 40;
- width: min(390px, 100vw);
- box-shadow: -12px 0 40px #0000000b;
- }
-}
-@media (max-width: 767px) {
- .preview-topbar {
- height: 42px;
- padding: 0 16px;
- }
- .preview-breadcrumb > button,
- .preview-breadcrumb > svg,
- .preview-badge {
- display: none;
- }
- .preview-home-inner {
- margin-top: 5px;
- }
- .preview-home .dt-page-title {
- font-size: 27px;
- }
- .preview-home-footnote {
- line-height: 1.8;
- }
- .preview-section {
- margin-top: 30px;
- }
- .preview-review {
- padding: 14px;
- flex-wrap: wrap;
- }
- .preview-review > button {
- width: 100%;
- }
- .preview-library-callout {
- align-items: flex-start;
- flex-wrap: wrap;
- }
- .preview-library-callout > button {
- width: 100%;
- }
- .preview-library-label,
- .preview-library-row {
- grid-template-columns: minmax(0, 1fr) 80px;
- gap: 12px;
- }
- .preview-library-label > span:last-child,
- .preview-library-row > span:last-child {
- display: none;
- }
- .preview-mastery-layout {
- flex-direction: column;
- }
- .preview-objectives {
- display: flex;
- width: 100%;
- overflow: auto;
- gap: 5px;
- }
- .preview-objectives .preview-nav-label {
- display: none;
- }
- .preview-objectives button {
- white-space: nowrap;
- width: auto;
- padding: 9px 12px;
- }
- .preview-assistant {
- top: 48px;
- }
- .preview-quick-actions {
- gap: 6px;
- }
- .preview-quick-actions button {
- font-size: 11px;
- }
- .preview-quick-actions button > svg:last-child {
- display: none;
- }
-}
-@media (prefers-reduced-motion: reduce) {
- .dito-preview * {
- scroll-behavior: auto !important;
- animation: none !important;
- transition: none !important;
- }
-}
-
-.preview-home-composer > div,
-.preview-panel-composer > div,
-.preview-chat-composer > div {
- max-width: none;
- padding: 0;
-}
-
-.preview-layout {
- height: 100%;
- display: flex;
- flex-direction: column;
- overflow: hidden;
-}
-
-.preview-assistant > header > button {
- font-size: 12px;
-}
-@media (max-width: 767px) {
- .preview-nav-row {
- min-height: 44px;
- }
-}
-
-/* Category navigation: a stable document canvas with four sidebar contexts. */
-.dito-preview {
- --preview-sidebar: #f8f7f5;
- font-family:
- var(--font-sans),
- -apple-system,
- BlinkMacSystemFont,
- 'Segoe UI',
- 'PingFang SC',
- sans-serif;
-}
-.dito-preview aside[style*='--sidebar-width'] {
- background: var(--preview-sidebar);
- border-right: 1px solid color-mix(in srgb, var(--foreground) 5%, transparent);
-}
-.dark .dito-preview {
- --preview-sidebar: #222220;
-}
-.dito-preview .dt-page-title {
- font-family: inherit;
- font-weight: 650;
- letter-spacing: -0.035em;
-}
-.preview-category-bar {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 6px;
- padding: 9px 12px 8px;
- flex-shrink: 0;
-}
-.preview-category-bar [role='tablist'] {
- display: flex;
- align-items: center;
- gap: 3px;
-}
-.preview-category-bar [role='tab'] {
- display: flex;
- position: relative;
- align-items: center;
- justify-content: center;
- height: 35px;
- padding: 0 8px;
- border-radius: 22px;
- color: color-mix(in srgb, var(--foreground) 52%, transparent);
- transition:
- color 130ms,
- background 130ms,
- transform 130ms;
-}
-.preview-category-bar [role='tab'] > svg,
-.preview-category-name {
- position: relative;
- z-index: 1;
- flex-shrink: 0;
-}
-.preview-category-bar [role='tab']:hover {
- background: color-mix(in srgb, var(--foreground) 4%, transparent);
- color: var(--foreground);
-}
-.preview-category-bar [role='tab']:active {
- transform: scale(0.96);
-}
-.preview-category-bar [role='tab'].is-active {
- color: var(--foreground);
-}
-.preview-category-pill {
- position: absolute;
- inset: 0;
- border-radius: 22px;
- background: color-mix(in srgb, var(--foreground) 6%, transparent);
-}
-.preview-category-name {
- font-size: 14px;
- font-weight: 600;
- overflow: hidden;
- white-space: nowrap;
- transition:
- max-width 0.22s cubic-bezier(0.22, 1, 0.36, 1),
- opacity 0.13s,
- margin-left 0.22s;
-}
-.preview-category-bar [role='tab'].is-active .preview-category-name {
- margin-left: 7px;
-}
-.preview-category-search {
- display: flex;
- height: 34px;
- width: 30px;
- flex-shrink: 0;
- justify-content: center;
- align-items: center;
- color: var(--muted-foreground);
- border-radius: 7px;
- transition:
- background 140ms,
- color 140ms;
-}
-.preview-category-search:hover {
- background: color-mix(in srgb, var(--foreground) 5%, transparent);
- color: var(--foreground);
-}
-.preview-category-bar.is-collapsed,
-.preview-category-bar.is-collapsed [role='tablist'] {
- flex-direction: column;
-}
-.preview-category-bar.is-collapsed {
- padding: 10px 4px;
-}
-.preview-category-bar.is-collapsed .preview-category-name {
- display: none;
-}
-.preview-category-content {
- padding: 0 9px 30px;
- animation: preview-category-enter 0.18s ease-out;
-}
-@keyframes preview-category-enter {
- from {
- opacity: 0.25;
- transform: translateY(3px);
- }
- to {
- opacity: 1;
- transform: translateY(0);
- }
-}
-.preview-sidebar-section-label {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 25px 10px 7px;
- color: color-mix(in srgb, var(--foreground) 42%, transparent);
- font-size: 11.5px;
- font-weight: 550;
-}
-.preview-sidebar-section-label button {
- display: grid;
- place-items: center;
- height: 24px;
- width: 24px;
- border-radius: 5px;
- transition:
- color 130ms,
- background 130ms;
-}
-.preview-sidebar-section-label button:hover {
- color: var(--foreground);
- background: color-mix(in srgb, var(--foreground) 6%, transparent);
-}
-.preview-nav-row {
- min-height: 36px;
- font-size: 13.5px;
- gap: 10px;
- border-radius: 6px;
- padding: 8px 10px;
- color: color-mix(in srgb, var(--foreground) 73%, transparent);
- transition:
- background 140ms,
- color 140ms,
- transform 100ms;
-}
-.preview-nav-row > svg {
- color: color-mix(in srgb, var(--foreground) 45%, transparent);
-}
-.preview-nav-row:active {
- transform: scale(0.987);
-}
-.preview-nav-row small {
- color: var(--muted-foreground);
- font-size: 11px;
-}
-.preview-nav-row .preview-row-reveal {
- opacity: 0;
- transition:
- opacity 120ms,
- transform 120ms;
- transform: translateX(-2px);
-}
-.preview-nav-row:hover .preview-row-reveal,
-.preview-nav-row:focus-visible .preview-row-reveal {
- opacity: 1;
- transform: translateX(0);
-}
-.preview-sidebar-footer {
- padding: 8px 12px 16px;
-}
-.preview-new-chat {
- justify-content: center;
- height: 43px;
- border-radius: 24px;
- background: var(--background);
- box-shadow:
- 0 2px 3px #00000003,
- 0 4px 9px #00000004;
- transition:
- box-shadow 150ms,
- transform 120ms,
- background 150ms;
-}
-.preview-new-chat:hover {
- transform: translateY(-1px);
- box-shadow: 0 3px 12px #0000000b;
-}
-.preview-new-chat:active {
- transform: translateY(0);
-}
-.preview-partner-roster {
- display: flex;
- gap: 5px;
- padding: 12px 5px 18px;
- overflow-x: auto;
- scrollbar-width: thin;
-}
-.preview-partner-roster > button {
- width: 68px;
- flex-shrink: 0;
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: 9px;
- padding: 7px 3px;
- border-radius: 9px;
- transition:
- background 130ms,
- transform 130ms;
-}
-.preview-partner-roster > button:hover {
- background: color-mix(in srgb, var(--foreground) 4%, transparent);
- transform: translateY(-2px);
-}
-.preview-partner-roster > button.is-active {
- background: color-mix(in srgb, var(--foreground) 6%, transparent);
-}
-.preview-partner-roster > button > span:last-child {
- font-size: 10.5px;
- width: 100%;
- overflow: hidden;
- text-overflow: ellipsis;
- color: var(--muted-foreground);
-}
-.preview-add-avatar {
- height: 45px;
- width: 45px;
- border: 1.5px dashed var(--border);
- border-radius: 50%;
- display: grid;
- place-items: center;
- color: var(--muted-foreground);
-}
-.preview-filter-bar {
- display: flex;
- flex-wrap: wrap;
- gap: 5px;
-}
-.preview-filter-bar button {
- padding: 7px 12px;
- border-radius: 6px;
- font-size: 12px;
- color: var(--muted-foreground);
- transition:
- background 140ms,
- color 140ms;
-}
-.preview-filter-bar button:hover,
-.preview-filter-bar .is-active {
- background: var(--muted);
- color: var(--foreground);
-}
-.preview-create-learning-page .dt-page-container {
- max-width: 960px;
-}
-.preview-create-form.preview-create-learning-form {
- gap: 24px;
-}
-.preview-create-learning-form .preview-kind-picker {
- gap: 12px;
-}
-.preview-create-learning-form .preview-kind-picker button {
- padding: 18px 16px;
-}
-.preview-create-learning-form .preview-form-footer {
- padding-top: 4px;
-}
-.preview-create-form {
- display: flex;
- flex-direction: column;
- gap: 20px;
-}
-.preview-create-form label,
-.preview-field {
- display: flex;
- flex-direction: column;
- gap: 8px;
- font-size: 12px;
- font-weight: 500;
-}
-.preview-create-form input:not([type='checkbox']),
-.preview-create-form textarea,
-.preview-field input,
-.preview-field textarea {
- display: block;
- width: 100%;
- border: 1px solid var(--border);
- background: var(--background);
- padding: 10px 12px;
- border-radius: 7px;
- font-size: 13px;
- font-weight: 400;
- outline: none;
- resize: vertical;
-}
-.preview-create-form input:focus,
-.preview-create-form textarea:focus,
-.preview-field input:focus,
-.preview-field textarea:focus {
- border-color: color-mix(in srgb, var(--foreground) 35%, transparent);
- box-shadow: 0 0 0 3px color-mix(in srgb, var(--foreground) 4%, transparent);
-}
-.preview-kind-picker {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 9px;
-}
-.preview-kind-picker button {
- display: flex;
- gap: 12px;
- padding: 16px 12px;
- text-align: left;
- border: 1px solid var(--border);
- border-radius: 9px;
- align-items: center;
- color: var(--muted-foreground);
- transition:
- background 130ms,
- border-color 130ms;
-}
-.preview-kind-picker button span {
- flex: 1;
- font-size: 13px;
- color: var(--foreground);
-}
-.preview-kind-picker small {
- display: block;
- font-size: 11px;
- margin-top: 5px;
- color: var(--muted-foreground);
- line-height: 1.5;
-}
-.preview-kind-picker button.is-active {
- border-color: color-mix(in srgb, var(--foreground) 45%, transparent);
- background: var(--muted);
-}
-.preview-kind-picker button:hover {
- background: var(--muted);
-}
-.preview-form-footer {
- display: flex;
- gap: 15px;
- align-items: center;
- justify-content: space-between;
- font-size: 11px;
- color: var(--muted-foreground);
-}
-.preview-back-link {
- display: flex;
- align-items: center;
- gap: 6px;
- font-size: 12px;
- color: var(--muted-foreground);
- margin-bottom: 24px;
-}
-.preview-back-link:hover {
- color: var(--foreground);
-}
-.preview-record-draft {
- max-width: 760px;
- display: flex;
- flex-direction: column;
- gap: 22px;
-}
-.preview-draft-status {
- display: flex;
- align-items: center;
- gap: 13px;
- padding: 16px;
- border: 1px solid var(--border);
- border-radius: 9px;
- color: var(--muted-foreground);
-}
-.preview-draft-status strong {
- font-size: 13px;
- color: var(--foreground);
-}
-.preview-draft-status p {
- font-size: 12px;
- margin-top: 4px;
-}
-.preview-note-render {
- padding: 24px;
- border-radius: 9px;
- border: 1px solid var(--border);
-}
-.preview-local-note {
- display: flex;
- align-items: center;
- justify-content: center;
- gap: 5px;
- color: var(--muted-foreground);
- font-size: 11px;
- margin-top: 12px;
-}
-.preview-record-practice {
- max-width: 760px;
-}
-.preview-partner-cards {
- display: grid;
- grid-template-columns: repeat(2, minmax(0, 1fr));
- gap: 12px;
-}
-.preview-partner-cards > button {
- display: flex;
- align-items: flex-start;
- gap: 16px;
- text-align: left;
- padding: 25px 20px;
- border: 1px solid var(--border);
- border-radius: 12px;
- transition:
- background 140ms,
- border-color 140ms;
-}
-.preview-partner-cards > button:hover {
- background: var(--muted);
- border-color: color-mix(in srgb, var(--foreground) 20%, transparent);
-}
-.preview-partner-cards button > div {
- flex: 1;
-}
-.preview-partner-cards h3 {
- font-size: 15px;
- font-weight: 600;
-}
-.preview-partner-cards p {
- font-size: 12px;
- color: var(--muted-foreground);
- line-height: 1.8;
- margin: 8px 0 13px;
-}
-.preview-partner-cards small {
- font-size: 10px;
- color: var(--muted-foreground);
-}
-.preview-group-row {
- display: flex;
- align-items: center;
- gap: 17px;
- width: 100%;
- padding: 18px;
- border: 1px solid var(--border);
- border-radius: 10px;
- text-align: left;
- transition: background 140ms;
- margin-bottom: 8px;
-}
-.preview-group-row:hover {
- background: var(--muted);
-}
-.preview-group-row > span {
- flex: 1;
-}
-.preview-group-row strong {
- font-size: 13px;
- font-weight: 500;
-}
-.preview-group-row small {
- display: block;
- font-size: 11px;
- color: var(--muted-foreground);
- margin-top: 6px;
-}
-.preview-session-row {
- display: flex;
- align-items: center;
- width: 100%;
- padding: 13px 10px;
- gap: 13px;
- text-align: left;
- border-radius: 7px;
- transition: background 130ms;
- font-size: 13px;
-}
-.preview-session-row span {
- flex: 1;
-}
-.preview-session-row small {
- color: var(--muted-foreground);
- font-size: 11px;
-}
-.preview-session-row svg {
- color: var(--muted-foreground);
-}
-.preview-session-row:hover {
- background: var(--muted);
-}
-.preview-partner-detail {
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: 20px;
- padding: 25px 0 55px;
-}
-.preview-partner-detail h2 {
- font-size: 22px;
- font-weight: 600;
-}
-.preview-partner-detail p {
- color: var(--muted-foreground);
- font-size: 13px;
-}
-.preview-partner-chat {
- max-width: 760px;
- margin: 20px auto;
-}
-.preview-partner-message {
- padding: 18px 0;
-}
-.preview-partner-message > small {
- color: var(--muted-foreground);
- display: block;
- margin-bottom: 10px;
-}
-.preview-partner-message.user {
- padding: 15px 20px;
- border-radius: 12px;
- background: var(--muted);
-}
-.preview-partner-chat form {
- display: flex;
- align-items: center;
- gap: 12px;
- border: 1px solid var(--border);
- border-radius: 14px;
- padding: 12px;
- margin-top: 25px;
-}
-.preview-partner-chat form input {
- flex: 1;
- background: transparent;
- outline: none;
- padding: 5px;
- min-width: 0;
- font-size: 13px;
-}
-.preview-partner-empty,
-.preview-resource-empty {
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: 15px;
- padding: 60px 20px;
- text-align: center;
-}
-.preview-partner-empty h2,
-.preview-resource-empty h2 {
- font-size: 20px;
- font-weight: 600;
-}
-.preview-partner-empty p,
-.preview-resource-empty p {
- font-size: 13px;
- color: var(--muted-foreground);
-}
-.preview-resource-empty small {
- max-width: 380px;
- font-size: 11px;
- color: var(--muted-foreground);
- line-height: 1.8;
-}
-.preview-create-form .preview-member-choice {
- display: flex;
- flex-direction: row;
- align-items: center;
- gap: 10px;
- padding: 10px 0;
-}
-.preview-resource-entry {
- border-bottom: 1px solid var(--border);
-}
-@media (max-width: 767px) {
- .dito-preview aside[style*='--sidebar-width'] {
- width: 272px;
- }
- .preview-partner-cards {
- grid-template-columns: 1fr;
- }
- .preview-kind-picker {
- grid-template-columns: 1fr;
- }
- .preview-form-footer {
- flex-wrap: wrap;
- }
-}
-@media (prefers-reduced-motion: reduce) {
- .dito-preview *,
- .dito-preview *::before,
- .dito-preview *::after {
- animation-duration: 0.001ms !important;
- transition-duration: 0.001ms !important;
- scroll-behavior: auto !important;
- }
-}
-.dito-preview aside[style*='--sidebar-width'] {
- container-type: inline-size;
-}
-@container (max-width: 245px) {
- .preview-category-bar {
- padding-inline: 8px;
- gap: 2px;
- }
- .preview-category-bar [role='tablist'] {
- gap: 0;
- }
- .preview-category-bar [role='tab'] {
- padding-inline: 5px;
- }
- .preview-category-search {
- width: 26px;
- }
- .preview-category-bar [role='tab'].is-active .preview-category-name {
- margin-left: 4px;
- }
-}
diff --git a/web/features/preview/CollectionSurfaces.tsx b/web/features/preview/CollectionSurfaces.tsx
deleted file mode 100644
index 74563020d..000000000
--- a/web/features/preview/CollectionSurfaces.tsx
+++ /dev/null
@@ -1,724 +0,0 @@
-'use client'
-import { useState } from 'react'
-import {
- ArrowLeft,
- ArrowRight,
- Check,
- Plus,
- Settings2,
- Users,
- MessageCircle,
- Sparkles,
-} from 'lucide-react'
-import { FeaturePage, PageHeader, pageActionClass } from '@/components/layout/FeaturePage'
-import { LearningShell } from '@/components/learning/LearningShell'
-import { LearningCardContent } from '@/components/learning/LearningCard'
-import PartnerAvatar from '@/components/partners/PartnerAvatar'
-import { Dialog } from '@/shared/ui/Dialog'
-import MarkdownRenderer from '@/components/common/MarkdownRenderer'
-import { MasteryQuestionCard } from '@/components/chat/home/MasteryQuestionCard'
-import type { MasteryGradeResult } from '@/lib/mastery-question'
-import { DASHBOARD_GROUPS } from '@/components/space/dashboard-groups'
-import {
- learningKinds,
- type Collections,
- type LearningKind,
- type LearningRecord,
-} from './collections'
-import { question } from './fixtures'
-import { readDemo, writeDemo } from './demo-transport'
-
-export function LearningOverview({
- collections,
- onOpen,
-}: {
- collections: Collections
- onOpen: (r: LearningRecord) => void
-}) {
- const [kind, setKind] = useState('all')
- return (
- <LearningShell
- back={false}
- title="学习"
- subtitle="你的书籍、精通之路、练习和阅读,都在这里。"
- tabs={
- <div className="preview-filter-bar">
- {[{ id: 'all', label: '全部' }, ...learningKinds].map(k => (
- <button
- key={k.id}
- aria-pressed={kind === k.id}
- className={kind === k.id ? 'is-active' : ''}
- onClick={() => setKind(k.id)}
- >
- {k.label}
- </button>
- ))}
- </div>
- }
- >
- <div className="preview-learning-grid">
- {collections.learning
- .filter(r => kind === 'all' || r.kind === kind)
- .map(r => {
- const type = learningKinds.find(k => k.id === r.kind)!
- return (
- <button key={r.id} className="preview-learning-card" onClick={() => onOpen(r)}>
- <div className="preview-card-meta">
- <span>{type.label}</span>
- <ArrowRight size={15} />
- </div>
- <LearningCardContent
- title={r.title}
- subtitle={r.detail}
- icon={<type.icon size={23} strokeWidth={1.5} />}
- />
- </button>
- )
- })}
- </div>
- </LearningShell>
- )
-}
-export function CreateLearningPage({
- onBack,
- onCreate,
-}: {
- onBack: () => void
- onCreate: (r: LearningRecord) => void
-}) {
- const [kind, setKind] = useState<LearningKind>('book')
- const [title, setTitle] = useState('')
- const [goal, setGoal] = useState('')
- return (
- <FeaturePage className="preview-create-learning-page">
- <button className="preview-back-link" onClick={onBack}>
- <ArrowLeft size={14} />
- 返回所有学习
- </button>
- <PageHeader
- title="新建学习"
- description="选一种适合你的方式,之后都可以从学习记录里继续。"
- />
- <form
- className="preview-create-form preview-create-learning-form"
- onSubmit={e => {
- e.preventDefault()
- if (!title.trim()) return
- onCreate({
- id: crypto.randomUUID(),
- title: title.trim(),
- kind,
- detail: '刚刚创建 · 草稿',
- notes: goal,
- })
- setTitle('')
- setGoal('')
- }}
- >
- <div className="preview-kind-picker">
- {learningKinds.map(k => (
- <button
- type="button"
- key={k.id}
- aria-pressed={kind === k.id}
- onClick={() => setKind(k.id)}
- className={kind === k.id ? 'is-active' : ''}
- >
- <k.icon size={22} strokeWidth={1.5} />
- <span>
- {k.label}
- <small>{k.description}</small>
- </span>
- {kind === k.id && <Check size={15} />}
- </button>
- ))}
- </div>
- <label>
- 名称
- <input
- data-autofocus
- required
- maxLength={100}
- value={title}
- onChange={e => setTitle(e.target.value)}
- placeholder="例如:从直觉理解概率论"
- />
- </label>
- <label>
- {kind === 'reading' ? '阅读材料或笔记' : '你想学会什么?'}
- <textarea
- value={goal}
- onChange={e => setGoal(e.target.value)}
- placeholder={
- kind === 'reading'
- ? '粘贴想阅读的内容,也可以稍后添加…'
- : '写下你的目标,或留给之后慢慢补充…'
- }
- rows={3}
- />
- </label>
- <div className="preview-form-footer">
- <span>预览中创建本地草稿,保存在此浏览器。</span>
- <button className={pageActionClass()} type="submit" disabled={!title.trim()}>
- 创建{learningKinds.find(k => k.id === kind)?.label}
- <ArrowRight size={14} />
- </button>
- </div>
- </form>
- </FeaturePage>
- )
-}
-const bookChapters = [
- {
- title: '从不确定性开始',
- text: '# 从不确定性开始\n\n概率是我们描述不确定性的一种语言。\n\n想象抛一枚均匀的硬币:下一次的结果未知,但我们可以描述长期重复后,正面大约会占一半。\n\n## 一个事件,一种可能\n\n样本空间包含所有可能的结果。事件则是其中的一部分。\n\n- 抛硬币:样本空间是正面与反面。\n- 掷骰子:样本空间包含 1 到 6。\n- 掷出偶数:事件包含 2、4、6。\n\n> 先把所有可能列清楚,再讨论其中哪些结果满足条件。',
- },
- {
- title: '条件改变了什么',
- text: '# 条件改变了什么\n\n已知骰子掷出的点数是偶数,它等于 6 的概率是多少?\n\n原来的六种可能,现在只剩下 2、4、6。我们把讨论的范围缩小到了已知条件之内。\n\n$$P(A\\mid B)=\\frac{P(A\\cap B)}{P(B)}$$\n\n条件概率关心的是:在 B 已经发生的世界里,A 出现的比例。',
- },
- {
- title: '用新证据更新判断',
- text: '# 用新证据更新判断\n\n贝叶斯公式让我们在看到新证据后更新判断。\n\n$$P(A\\mid B)=\\frac{P(B\\mid A)P(A)}{P(B)}$$\n\n先验表达看到证据之前的判断。似然表达假设成立时,看到当前证据有多自然。两者一起帮助我们形成新的判断。\n\n## 试着思考\n\n当一种疾病非常罕见时,为什么阳性的检测结果仍然需要进一步确认?',
- },
-]
-export function LearningRecordSurface({
- record,
- onChange,
- onBack,
-}: {
- record: LearningRecord
- onChange: (r: LearningRecord) => void
- onBack: () => void
-}) {
- const [chapter, setChapter] = useState(() => readDemo(`chapter-${record.id}`, 0))
- const [grade, setGrade] = useState<MasteryGradeResult | null>(() =>
- readDemo(`practice-${record.id}`, null)
- )
- const kind = learningKinds.find(k => k.id === record.kind)!
- return (
- <FeaturePage>
- <button className="preview-back-link" onClick={onBack}>
- <ArrowLeft size={14} />
- 所有学习
- </button>
- <PageHeader
- title={record.title}
- description={`${kind.label} · ${record.sample ? '示例内容' : '草稿已保存在此浏览器'}`}
- />
- {record.sample && record.kind === 'book' ? (
- <div className="preview-mastery-layout">
- <nav className="preview-objectives" aria-label="书籍章节">
- <div className="preview-nav-label">目录</div>
- {bookChapters.map((c, i) => (
- <button
- key={c.title}
- className={chapter === i ? 'is-active' : ''}
- onClick={() => {
- setChapter(i)
- writeDemo(`chapter-${record.id}`, i)
- }}
- >
- <span>{String(i + 1).padStart(2, '0')}</span>
- {c.title}
- </button>
- ))}
- </nav>
- <article className="preview-lesson">
- <MarkdownRenderer content={bookChapters[chapter].text} />
- </article>
- </div>
- ) : record.sample && record.kind === 'practice' ? (
- <div className="preview-record-practice">
- <div className="preview-section-title">
- <span>巩固练习</span>
- <small>{grade ? '已完成 1 / 1' : '第 1 / 1 题'}</small>
- </div>
- <MasteryQuestionCard
- question={question}
- grade={grade}
- answered={!!grade}
- submittedAnswer={grade?.learnerAnswer || ''}
- onSubmit={p => {
- const answer = p.answers?.[0]?.text || p.text || ''
- const result: MasteryGradeResult = {
- questionId: question.questionId,
- learnerAnswer: answer,
- isCorrect: answer === 'B',
- correctLabel: 'B',
- correctBody: '(1, 0) 和 (0, 1)',
- explanation: '两个向量线性无关,且能够张成二维空间。',
- result: answer === 'B' ? 'correct' : 'incorrect',
- }
- setGrade(result)
- writeDemo(`practice-${record.id}`, result)
- return true
- }}
- />
- {grade && (
- <button
- className={pageActionClass('secondary')}
- onClick={() => {
- setGrade(null)
- writeDemo(`practice-${record.id}`, null)
- }}
- >
- 再练一次
- </button>
- )}
- </div>
- ) : (
- <div className="preview-record-draft">
- <div className="preview-draft-status">
- <kind.icon size={20} />
- <div>
- <strong>你的{kind.label}已创建</strong>
- <p>可以先整理目标和材料。自动生成内容需要接入模型。</p>
- </div>
- </div>
- <label className="preview-field">
- 名称
- <input
- value={record.title}
- onChange={e => onChange({ ...record, title: e.target.value })}
- />
- </label>
- <label className="preview-field">
- {record.kind === 'reading' ? '阅读材料' : '目标与笔记'}
- <textarea
- rows={10}
- value={record.notes}
- onChange={e => onChange({ ...record, notes: e.target.value })}
- placeholder="在这里补充内容…"
- />
- </label>
- {record.notes && (
- <div className="preview-note-render">
- <MarkdownRenderer content={record.notes} />
- </div>
- )}
- <p className="preview-local-note">
- <Check size={12} />
- 修改自动保存在此浏览器
- </p>
- </div>
- )}
- </FeaturePage>
- )
-}
-
-export type PartnerModal = 'partner' | 'group' | null
-export function PartnerSurface({
- collections: c,
- selected,
- onSelect,
- modal,
- setModal,
-}: {
- collections: Collections
- selected: string
- onSelect: (id: string) => void
- modal: PartnerModal
- setModal: (m: PartnerModal) => void
-}) {
- const [name, setName] = useState('')
- const [description, setDescription] = useState('')
- const [members, setMembers] = useState<string[]>([])
- const [editing, setEditing] = useState(false)
- const [input, setInput] = useState('')
- const session = c.sessions.find(s => s.id === selected)
- const owner = session?.owner || selected
- const partner = c.partners.find(p => p.id === owner)
- const group = c.groups.find(g => g.id === owner)
- const title = session?.title || partner?.name || group?.name || '伙伴'
- function createSession() {
- const id = crypto.randomUUID()
- c.setSessions(s => [
- { id, title: `与 ${partner?.name || group?.name} 的新会话`, owner, messages: [] },
- ...s,
- ])
- onSelect(id)
- }
- function configure() {
- setName(partner?.name || group?.name || '')
- setDescription(partner?.description || '')
- setMembers(group?.members || [])
- setEditing(true)
- setModal(partner ? 'partner' : 'group')
- }
- return (
- <>
- <FeaturePage>
- <PageHeader
- title={title}
- description={
- session
- ? `${partner?.name || group?.name} · 会话记录`
- : partner?.description ||
- (group ? '让不同的伙伴,一起参与同一个问题。' : '选择一位伙伴,或让他们一起讨论。')
- }
- action={
- selected ? (
- <div className="flex gap-2">
- <button className={pageActionClass('secondary')} onClick={() => onSelect('')}>
- <ArrowLeft size={14} />
- 所有伙伴
- </button>
- <button className={pageActionClass('secondary')} onClick={configure}>
- <Settings2 size={14} />
- 配置
- </button>
- {!session && (
- <button className={pageActionClass()} onClick={createSession}>
- <Plus size={14} />
- 新会话
- </button>
- )}
- </div>
- ) : (
- <button
- className={pageActionClass()}
- onClick={() => {
- setEditing(false)
- setName('')
- setDescription('')
- setModal('partner')
- }}
- >
- <Plus size={14} />
- 新建伙伴
- </button>
- )
- }
- />
- {!selected ? (
- <>
- <div className="preview-section-title">
- <h2>我的伙伴</h2>
- <span>{c.partners.length} 位</span>
- </div>
- <div className="preview-partner-cards">
- {c.partners.map(p => (
- <button key={p.id} onClick={() => onSelect(p.id)}>
- <PartnerAvatar name={p.name} color={p.color} size={50} />
- <div>
- <h3>{p.name}</h3>
- <p>{p.description}</p>
- <small>本地预览</small>
- </div>
- <ArrowRight size={16} />
- </button>
- ))}
- </div>
- <div className="preview-section-title mt-9">
- <h2>群组</h2>
- <button
- onClick={() => {
- setEditing(false)
- setName('')
- setModal('group')
- }}
- >
- <Plus size={14} />
- 新建群组
- </button>
- </div>
- {c.groups.map(g => (
- <button key={g.id} className="preview-group-row" onClick={() => onSelect(g.id)}>
- <Users size={23} strokeWidth={1.5} />
- <span>
- <strong>{g.name}</strong>
- <small>
- {g.members.map(id => c.partners.find(p => p.id === id)?.name).join('、')}
- </small>
- </span>
- <ArrowRight size={15} />
- </button>
- ))}
- <div className="preview-section-title mt-9">
- <h2>最近会话</h2>
- </div>
- {c.sessions.map(s => (
- <button className="preview-session-row" key={s.id} onClick={() => onSelect(s.id)}>
- <MessageIcon />
- <span>{s.title}</span>
- <small>
- {c.partners.find(p => p.id === s.owner)?.name ||
- c.groups.find(g => g.id === s.owner)?.name}
- </small>
- <ArrowRight size={14} />
- </button>
- ))}
- </>
- ) : session ? (
- <div className="preview-partner-chat">
- {session.messages.length ? (
- session.messages.map((m, i) => (
- <div key={i} className={`preview-partner-message ${m.role}`}>
- <small>{m.role === 'user' ? '你' : partner?.name || group?.name}</small>
- <MarkdownRenderer content={m.text} />
- </div>
- ))
- ) : (
- <div className="preview-partner-empty">
- <Sparkles size={27} strokeWidth={1.4} />
- <h2>从一个问题开始</h2>
- <p>这段会话会保留在伙伴栏,随时可以继续。</p>
- </div>
- )}
- <form
- onSubmit={e => {
- e.preventDefault()
- if (!input.trim()) return
- const text = input.trim()
- c.setSessions(all =>
- all.map(s =>
- s.id !== session.id
- ? s
- : {
- ...s,
- title: s.messages.length ? s.title : text.slice(0, 30),
- messages: [
- ...s.messages,
- { role: 'user', text },
- {
- role: 'assistant',
- text: `已收到「${text}」。这是会话交互示例;接入模型后,${partner?.name || '群组成员'}会在这里继续回应。`,
- },
- ],
- }
- )
- )
- setInput('')
- }}
- >
- <input
- aria-label="发送给伙伴"
- value={input}
- onChange={e => setInput(e.target.value)}
- placeholder={`与 ${partner?.name || group?.name} 聊聊…`}
- />
- <button disabled={!input.trim()} aria-label="发送" className={pageActionClass()}>
- <ArrowRight size={17} />
- </button>
- </form>
- <p className="preview-local-note">示例对话 · 未连接模型或外部渠道</p>
- </div>
- ) : (
- <>
- <div className="preview-partner-detail">
- {partner ? (
- <PartnerAvatar name={partner.name} color={partner.color} size={70} />
- ) : (
- <Users size={50} strokeWidth={1.2} />
- )}
- <h2>{partner?.name || group?.name}</h2>
- <p>
- {partner?.description ||
- group?.members.map(id => c.partners.find(p => p.id === id)?.name).join(' · ')}
- </p>
- <button className={pageActionClass()} onClick={createSession}>
- <Plus size={14} />
- 开始新会话
- </button>
- </div>
- <div className="preview-section-title">
- <h2>会话记录</h2>
- </div>
- {c.sessions
- .filter(s => s.owner === owner)
- .map(s => (
- <button className="preview-session-row" key={s.id} onClick={() => onSelect(s.id)}>
- <MessageIcon />
- <span>{s.title}</span>
- <ArrowRight size={14} />
- </button>
- ))}
- </>
- )}
- </FeaturePage>
- <Dialog
- open={!!modal}
- onClose={() => {
- setModal(null)
- setEditing(false)
- setName('')
- setDescription('')
- setMembers([])
- }}
- title={`${editing ? '配置' : '新建'}${modal === 'group' ? '群组' : '伙伴'}`}
- closeLabel="关闭"
- >
- <form
- className="preview-create-form"
- onSubmit={e => {
- e.preventDefault()
- if (!name.trim()) return
- const id = editing ? owner : crypto.randomUUID()
- if (modal === 'partner') {
- const p = { id, name: name.trim(), description, color: partner?.color || '#7a8d75' }
- c.setPartners(all =>
- editing ? all.map(old => (old.id === id ? p : old)) : [...all, p]
- )
- } else {
- const g = { id, name: name.trim(), members }
- c.setGroups(all =>
- editing ? all.map(old => (old.id === id ? g : old)) : [...all, g]
- )
- }
- setModal(null)
- setEditing(false)
- setName('')
- setDescription('')
- setMembers([])
- onSelect(id)
- }}
- >
- <label>
- 名称
- <input
- required
- maxLength={70}
- value={name}
- onChange={e => setName(e.target.value)}
- data-autofocus
- />
- </label>
- {modal === 'partner' ? (
- <label>
- 伙伴的角色
- <textarea
- rows={4}
- value={description}
- onChange={e => setDescription(e.target.value)}
- placeholder="这位伙伴擅长什么,怎样与你交流?"
- />
- </label>
- ) : (
- <fieldset>
- <legend>选择成员(至少 2 位)</legend>
- {c.partners.map(p => (
- <label className="preview-member-choice" key={p.id}>
- <input
- type="checkbox"
- checked={members.includes(p.id)}
- onChange={() =>
- setMembers(all =>
- all.includes(p.id) ? all.filter(id => id !== p.id) : [...all, p.id]
- )
- }
- />
- <PartnerAvatar name={p.name} color={p.color} size={24} />
- {p.name}
- </label>
- ))}
- </fieldset>
- )}
- <div className="preview-form-footer">
- <span>配置保存在本地预览中</span>
- <button
- className={pageActionClass()}
- disabled={!name.trim() || (modal === 'group' && members.length < 2)}
- >
- 保存
- </button>
- </div>
- </form>
- </Dialog>
- </>
- )
-}
-function MessageIcon() {
- return <MessageCircle size={17} strokeWidth={1.5} />
-}
-
-export function ResourceSurface({ href, onBack }: { href: string; onBack: () => void }) {
- const item = DASHBOARD_GROUPS.flatMap(g => g.items).find(i => i.href === href)!
- const [rows, setRows] = useState<{ id: string; name: string; text: string }[]>(() =>
- readDemo(`resources-${href}`, [])
- )
- const [adding, setAdding] = useState(false)
- const [name, setName] = useState('')
- const [text, setText] = useState('')
- const [selected, setSelected] = useState<string | null>(null)
- function save(next: typeof rows) {
- setRows(next)
- writeDemo(`resources-${href}`, next)
- }
- return (
- <FeaturePage>
- <button className="preview-back-link" onClick={onBack}>
- <ArrowLeft size={14} />
- 资料总览
- </button>
- <PageHeader
- title={item.title.zh}
- description={item.blurb.zh}
- action={
- <button className={pageActionClass('secondary')} onClick={() => setAdding(true)}>
- <Plus size={14} />
- 添加示例条目
- </button>
- }
- />
- {rows.length ? (
- rows.map(r => (
- <div className="preview-resource-entry" key={r.id}>
- <button
- className="preview-session-row"
- onClick={() => setSelected(selected === r.id ? null : r.id)}
- >
- <item.icon size={18} />
- <span>{r.name}</span>
- <ArrowRight size={14} />
- </button>
- {selected === r.id && (
- <div className="p-5">
- <MarkdownRenderer content={r.text || '尚未添加说明。'} />
- </div>
- )}
- </div>
- ))
- ) : (
- <div className="preview-resource-empty">
- <item.icon size={32} strokeWidth={1.2} />
- <h2>{item.title.zh}</h2>
- <p>{item.blurb.zh}</p>
- <small>这里继承学习空间的资源分类。预览使用独立的本地示例,不读取你的实际资料。</small>
- </div>
- )}
- <Dialog
- open={adding}
- title={`添加${item.title.zh}示例`}
- closeLabel="关闭"
- onClose={() => setAdding(false)}
- >
- <form
- className="preview-create-form"
- onSubmit={e => {
- e.preventDefault()
- const id = crypto.randomUUID()
- save([...rows, { id, name: name.trim(), text }])
- setSelected(id)
- setAdding(false)
- setName('')
- setText('')
- }}
- >
- <label>
- 名称
- <input required value={name} onChange={e => setName(e.target.value)} />
- </label>
- <label>
- 说明
- <textarea rows={4} value={text} onChange={e => setText(e.target.value)} />
- </label>
- <p className="preview-local-note">用于体验资源的组织方式,不创建真实服务或连接。</p>
- <button className={pageActionClass()} disabled={!name.trim()}>
- 添加
- </button>
- </form>
- </Dialog>
- </FeaturePage>
- )
-}
diff --git a/web/features/preview/PreviewNavigation.tsx b/web/features/preview/PreviewNavigation.tsx
deleted file mode 100644
index d9a417dee..000000000
--- a/web/features/preview/PreviewNavigation.tsx
+++ /dev/null
@@ -1,360 +0,0 @@
-'use client'
-import { useId, type ReactNode } from 'react'
-import { m, useReducedMotion } from 'framer-motion'
-import {
- Home,
- MessageCircle,
- BookOpen,
- Library,
- Search,
- Plus,
- LayoutGrid,
- Columns3,
- PenLine,
- Bot,
- ChevronRight,
- Users,
- type LucideIcon,
-} from 'lucide-react'
-import Tooltip from '@/shared/ui/Tooltip'
-import PartnerAvatar from '@/components/partners/PartnerAvatar'
-import { useSidebarDrawer } from '@/components/layout/AppShell'
-import { DASHBOARD_GROUPS } from '@/components/space/dashboard-groups'
-import { learningKinds, type Category, type Collections, type LearningRecord } from './collections'
-import type { PreviewView } from './fixtures'
-
-const categories = [
- { id: 'home', label: '主页', icon: Home },
- { id: 'partners', label: '伙伴', icon: MessageCircle },
- { id: 'learning', label: '学习', icon: BookOpen },
- { id: 'library', label: '资料', icon: Library },
-] as const
-export function CategoryTabs({
- category,
- collapsed,
- onChange,
- onSearch,
-}: {
- category: Category
- collapsed: boolean
- onChange: (c: Category) => void
- onSearch: () => void
-}) {
- const reduce = useReducedMotion()
- const id = useId()
- return (
- <div className={`preview-category-bar ${collapsed ? 'is-collapsed' : ''}`}>
- <div
- role="tablist"
- aria-label="主要栏目"
- aria-orientation={collapsed ? 'vertical' : 'horizontal'}
- >
- {categories.map((item, index) => (
- <Tooltip key={item.id} label={item.label} side="bottom">
- <button
- role="tab"
- aria-label={item.label}
- aria-selected={category === item.id}
- aria-controls="preview-category-content"
- tabIndex={category === item.id ? 0 : -1}
- onKeyDown={event => {
- const delta =
- event.key === 'ArrowRight' || event.key === 'ArrowDown'
- ? 1
- : event.key === 'ArrowLeft' || event.key === 'ArrowUp'
- ? -1
- : 0
- if (!delta && event.key !== 'Home' && event.key !== 'End') return
- event.preventDefault()
- const next =
- event.key === 'Home' ? 0 : event.key === 'End' ? 3 : (index + delta + 4) % 4
- onChange(categories[next].id)
- const buttons = event.currentTarget
- .closest('[role=tablist]')
- ?.querySelectorAll<HTMLButtonElement>('[role=tab]')
- buttons?.[next].focus()
- }}
- onClick={() => onChange(item.id)}
- className={category === item.id ? 'is-active' : ''}
- >
- {category === item.id && (
- <m.span
- layoutId={`category-pill-${id}`}
- className="preview-category-pill"
- transition={{ duration: reduce ? 0 : 0.22, ease: [0.22, 1, 0.36, 1] }}
- />
- )}
- <item.icon size={20} strokeWidth={1.65} />
- <span
- className="preview-category-name"
- style={{
- maxWidth: category === item.id && !collapsed ? 36 : 0,
- opacity: category === item.id && !collapsed ? 1 : 0,
- }}
- >
- {item.label}
- </span>
- </button>
- </Tooltip>
- ))}
- </div>
- <Tooltip label="搜索 · ⌘ K" side="bottom">
- <button className="preview-category-search" aria-label="搜索" onClick={onSearch}>
- <Search size={20} strokeWidth={1.65} />
- </button>
- </Tooltip>
- </div>
- )
-}
-export function SidebarRow({
- icon: Icon,
- label,
- active,
- onClick,
- trailing,
-}: {
- icon: LucideIcon
- label: string
- active?: boolean
- onClick: () => void
- trailing?: ReactNode
-}) {
- const drawer = useSidebarDrawer()
- return (
- <button
- className={`preview-nav-row ${active ? 'is-active' : ''}`}
- aria-current={active ? 'page' : undefined}
- onClick={() => {
- onClick()
- drawer?.close()
- }}
- >
- <Icon size={18} strokeWidth={1.6} />
- <span>{label}</span>
- {trailing}
- </button>
- )
-}
-function SectionLabel({
- label,
- action,
- onAction,
-}: {
- label: string
- action?: string
- onAction?: () => void
-}) {
- return (
- <div className="preview-sidebar-section-label">
- <span>{label}</span>
- {onAction && (
- <Tooltip label={action || '新建'}>
- <button aria-label={action || '新建'} onClick={onAction}>
- <Plus size={17} />
- </button>
- </Tooltip>
- )}
- </div>
- )
-}
-export function CategoryBody({
- category,
- collapsed,
- view,
- collections,
- activeRecord,
- activePartner,
- resourceHref,
- onGo,
- onRecord,
- onCreate,
- onPartner,
- onNewPartner,
- onNewGroup,
- onResource,
-}: {
- category: Category
- collapsed: boolean
- view: PreviewView
- collections: Collections
- activeRecord: string
- activePartner: string
- resourceHref: string
- onGo: (v: PreviewView) => void
- onRecord: (r: LearningRecord) => void
- onCreate: () => void
- onPartner: (id: string) => void
- onNewPartner: () => void
- onNewGroup: () => void
- onResource: (href: string) => void
-}) {
- const drawer = useSidebarDrawer()
- const create = () => {
- onCreate()
- drawer?.close()
- }
- const createPartner = () => {
- onNewPartner()
- drawer?.close()
- }
- const createGroup = () => {
- onNewGroup()
- drawer?.close()
- }
- const selectPartner = (id: string) => {
- onPartner(id)
- drawer?.close()
- }
- if (collapsed) return null
- return (
- <div
- key={category}
- id="preview-category-content"
- role="tabpanel"
- aria-label={`${categories.find(c => c.id === category)?.label}栏目`}
- className="preview-category-content"
- >
- {category === 'home' && (
- <>
- <SectionLabel label="我的空间" />
- <SidebarRow
- icon={Home}
- label="主页"
- active={view === 'home'}
- onClick={() => onGo('home')}
- />
- <SidebarRow
- icon={Columns3}
- label="任务看板"
- active={view === 'kanban'}
- onClick={() => onGo('kanban')}
- />
- <SidebarRow
- icon={PenLine}
- label="智能写作"
- active={view === 'writing'}
- onClick={() => onGo('writing')}
- />
- <SidebarRow
- icon={Bot}
- label="智能体"
- active={view === 'agents'}
- onClick={() => onGo('agents')}
- />
- <SectionLabel label="最近对话" />
- <SidebarRow
- icon={MessageCircle}
- label="与 Dito 对话"
- active={view === 'chat'}
- onClick={() => onGo('chat')}
- />
- </>
- )}
- {category === 'partners' && (
- <>
- <SectionLabel label="我的伙伴" action="新建伙伴" onAction={createPartner} />
- <div className="preview-partner-roster">
- {collections.partners.map(p => (
- <button
- key={p.id}
- aria-label={`打开伙伴 ${p.name}`}
- className={activePartner === p.id && view === 'partners' ? 'is-active' : ''}
- onClick={() => selectPartner(p.id)}
- >
- <PartnerAvatar name={p.name} color={p.color} size={45} />
- <span>{p.name}</span>
- </button>
- ))}
- <button onClick={createPartner} aria-label="添加伙伴">
- <span className="preview-add-avatar">
- <Plus size={23} strokeWidth={1.5} />
- </span>
- <span>新伙伴</span>
- </button>
- </div>
- <SidebarRow
- icon={LayoutGrid}
- label="所有伙伴"
- onClick={() => onPartner('')}
- active={view === 'partners' && !activePartner}
- />
- <SectionLabel label="群组" action="新建群组" onAction={createGroup} />
- {collections.groups.map(g => (
- <SidebarRow
- key={g.id}
- icon={Users}
- label={g.name}
- active={view === 'partners' && activePartner === g.id}
- onClick={() => onPartner(g.id)}
- trailing={<small>{g.members.length}</small>}
- />
- ))}
- <SectionLabel label="最近会话" />
- {collections.sessions.map(s => (
- <SidebarRow
- key={s.id}
- icon={MessageCircle}
- label={s.title}
- active={view === 'partners' && activePartner === s.id}
- onClick={() => onPartner(s.id)}
- />
- ))}
- </>
- )}
- {category === 'learning' && (
- <>
- <SidebarRow
- icon={Plus}
- label="新建学习"
- active={view === 'new-learning'}
- onClick={create}
- />
- <SidebarRow
- icon={LayoutGrid}
- label="所有学习"
- onClick={() => onGo('learning')}
- active={view === 'learning'}
- />
- <SectionLabel label="我的学习记录" />
- {collections.learning.map(r => (
- <SidebarRow
- key={r.id}
- icon={learningKinds.find(k => k.id === r.kind)!.icon}
- label={r.title}
- active={activeRecord === r.id && ['record', 'reading', 'mastery'].includes(view)}
- onClick={() => onRecord(r)}
- />
- ))}
- </>
- )}
- {category === 'library' && (
- <>
- <SectionLabel label="学习空间" />
- <SidebarRow
- icon={LayoutGrid}
- label="资料总览"
- active={view === 'library'}
- onClick={() => onGo('library')}
- />
- {DASHBOARD_GROUPS.filter(g => g.items.some(i => !i.requiresCapability)).map(g => (
- <div key={g.label.zh}>
- <SectionLabel label={g.label.zh} />
- {g.items
- .filter(i => !i.requiresCapability)
- .map(item => (
- <SidebarRow
- key={item.key}
- icon={item.icon}
- label={item.title.zh}
- active={view === 'resource' && resourceHref === item.href}
- onClick={() => onResource(item.href)}
- trailing={<ChevronRight className="preview-row-reveal" size={13} />}
- />
- ))}
- </div>
- ))}
- </>
- )}
- </div>
- )
-}
diff --git a/web/features/preview/PreviewWorkspace.tsx b/web/features/preview/PreviewWorkspace.tsx
deleted file mode 100644
index 65264e1d2..000000000
--- a/web/features/preview/PreviewWorkspace.tsx
+++ /dev/null
@@ -1,1151 +0,0 @@
-'use client'
-
-import { useCallback, useEffect, useRef, useState, type ReactNode } from 'react'
-import Image from 'next/image'
-import {
- ArrowRight,
- BookOpen,
- Check,
- ChevronRight,
- Compass,
- FileText,
- Home,
- Users,
- Bot,
- Columns3,
- Library,
- MessageSquare,
- MoreHorizontal,
- PenLine,
- Plus,
- Search,
- Settings2,
- Sparkles,
- Star,
- X,
- type LucideIcon,
-} from 'lucide-react'
-import AppShell, { useSidebarDrawer } from '@/components/layout/AppShell'
-import { SidebarShell } from '@/components/sidebar/SidebarShell'
-import { FeaturePage, PageHeader, pageActionClass } from '@/components/layout/FeaturePage'
-import SpaceDashboard from '@/components/space/SpaceDashboard'
-import { DASHBOARD_GROUPS } from '@/components/space/dashboard-groups'
-import AgentsHub from '@/components/agents/AgentsHub'
-import KanbanBoard from '@/features/tasks/components/KanbanBoard'
-import { startTaskBoardSync } from '@/lib/task-board-store'
-import { CategoryTabs, CategoryBody } from './PreviewNavigation'
-import { useCollections, type Category, type LearningRecord } from './collections'
-import {
- LearningOverview,
- CreateLearningPage,
- LearningRecordSurface,
- PartnerSurface,
- ResourceSurface,
- type PartnerModal,
-} from './CollectionSurfaces'
-import { LearningCardContent } from '@/components/learning/LearningCard'
-import StandaloneComposer, {
- type StandaloneComposerSubmission,
-} from '@/components/chat/home/StandaloneComposer'
-import { CHAT_CAPABILITIES } from '@/features/capabilities/presentation'
-import CoWriterWorkspace from '@/features/co-writer/components/CoWriterWorkspace'
-import { ReadingProvider, useReading } from '@/context/ReadingContext'
-import { AnnotationList } from '@/components/reading/AnnotationList'
-import { ReaderPane, READER_ASK_EVENT } from '@/components/reading/ReaderPane'
-import { MasteryQuestionCard } from '@/components/chat/home/MasteryQuestionCard'
-import MarkdownRenderer from '@/components/common/MarkdownRenderer'
-import { Dialog } from '@/shared/ui/Dialog'
-import Tooltip from '@/shared/ui/Tooltip'
-import { useAppShell } from '@/context/AppShellContext'
-import type { MasteryGradeResult } from '@/lib/mastery-question'
-import type { JumpRequest } from '@/components/reading/PdfDocumentView'
-import { material, objectives, previewItems, question, type PreviewView } from './fixtures'
-import { readDemo, writeDemo } from './demo-transport'
-
-const icons: Record<PreviewView, LucideIcon> = {
- home: Home,
- learning: Compass,
- 'new-learning': Plus,
- library: Library,
- reading: BookOpen,
- writing: PenLine,
- mastery: Compass,
- chat: MessageSquare,
- partners: Users,
- kanban: Columns3,
- agents: Bot,
- resource: Library,
- record: BookOpen,
-}
-const titles: Record<PreviewView, string> = {
- home: '主页',
- learning: '我的学习',
- 'new-learning': '新建学习',
- library: '资料',
- partners: '伙伴',
- kanban: '任务看板',
- agents: '智能体',
- resource: '资料',
- record: '学习记录',
- reading: material.title,
- writing: '我的研究计划',
- mastery: '线性代数,从直觉出发',
- chat: '与 Dito 对话',
-}
-const caps = CHAT_CAPABILITIES.filter(c =>
- ['', 'deep_solve', 'ask_questions', 'deep_research', 'visualize'].includes(c.value)
-).map(c =>
- c.value === ''
- ? { ...c, label: 'Auto', description: '告诉 Dito 你的目标,由它选择合适的方式', icon: Sparkles }
- : c
-)
-type Message = {
- id: string
- role: 'user' | 'assistant'
- text: string
- target?: PreviewView
- targetLabel?: string
-}
-type Messages = Partial<Record<PreviewView, Message[]>>
-
-function IconAction({
- label,
- icon: Icon,
- onClick,
- active,
-}: {
- label: string
- icon: LucideIcon
- onClick: () => void
- active?: boolean
-}) {
- return (
- <Tooltip label={label} side="bottom">
- <button
- type="button"
- aria-label={label}
- aria-pressed={active}
- onClick={onClick}
- className={`preview-icon ${active ? 'is-active' : ''}`}
- >
- <Icon size={16} strokeWidth={1.6} />
- </button>
- </Tooltip>
- )
-}
-
-function NavRow({
- icon: Icon,
- label,
- active,
- collapsed,
- onClick,
- trailing,
-}: {
- icon: LucideIcon
- label: string
- active?: boolean
- collapsed?: boolean
- onClick: () => void
- trailing?: ReactNode
-}) {
- const drawer = useSidebarDrawer()
- const row = (
- <button
- className={`preview-nav-row ${active ? 'is-active' : ''} ${collapsed ? 'is-collapsed' : ''}`}
- aria-current={active ? 'page' : undefined}
- aria-label={collapsed ? label : undefined}
- onClick={() => {
- onClick()
- drawer?.close()
- }}
- >
- <Icon size={17} strokeWidth={1.65} />
- {!collapsed && (
- <>
- <span>{label}</span>
- {trailing}
- </>
- )}
- </button>
- )
- return collapsed ? (
- <Tooltip label={label} side="right">
- {row}
- </Tooltip>
- ) : (
- row
- )
-}
-
-function ContentRow({
- item,
- onOpen,
-}: {
- item: (typeof previewItems)[number]
- onOpen: (view: PreviewView) => void
-}) {
- const Icon = icons[item.view]
- return (
- <button className="preview-content-row" onClick={() => onOpen(item.view)}>
- <LearningCardContent
- title={item.title}
- subtitle={item.detail}
- icon={<Icon size={20} strokeWidth={1.5} />}
- progress={item.progress}
- />
- <ChevronRight size={15} className="text-muted-foreground shrink-0" />
- </button>
- )
-}
-
-export default function PreviewWorkspace() {
- return (
- <ReadingProvider>
- <Workspace />
- </ReadingProvider>
- )
-}
-
-function Workspace() {
- useEffect(() => startTaskBoardSync({ stream: false }), [])
- const [view, setView] = useState<PreviewView>(() => {
- const hash = location.hash.slice(1).split('/')[0]
- return hash in titles ? (hash as PreviewView) : 'home'
- })
- const collections = useCollections()
- const [category, setCategory] = useState<Category>(() =>
- view === 'new-learning' ? 'learning' : readDemo('category', 'home')
- )
- const [activeRecord, setActiveRecord] = useState(
- () =>
- decodeURIComponent(location.hash.split('/')[1] || '') ||
- readDemo('active-record', 'attention')
- )
- const [activePartner, setActivePartner] = useState(() =>
- location.hash.startsWith('#partners/')
- ? decodeURIComponent(location.hash.slice(10))
- : readDemo('active-partner', '')
- )
- const [resourceHref, setResourceHref] = useState(() =>
- location.hash.startsWith('#resource/')
- ? decodeURIComponent(location.hash.slice(10))
- : readDemo('resource-href', '/notebooks')
- )
- const [partnerModal, setPartnerModal] = useState<PartnerModal>(null)
- useEffect(() => writeDemo('category', category), [category])
- useEffect(() => writeDemo('active-record', activeRecord), [activeRecord])
- useEffect(() => writeDemo('active-partner', activePartner), [activePartner])
- useEffect(() => writeDemo('resource-href', resourceHref), [resourceHref])
- const [assistantOpen, setAssistantOpen] = useState(() => location.hash.startsWith('#reading'))
- const [dialog, setDialog] = useState<'search' | 'settings' | 'about' | null>(null)
- const [query, setQuery] = useState('')
- const [favorites, setFavorites] = useState<string[]>(() =>
- readDemo('favorites', ['attention', 'research'])
- )
- const [messages, setMessages] = useState<Messages>(() => readDemo('messages', {}))
- const [pending, setPending] = useState<PreviewView | null>(null)
- const [mode, setMode] = useState('')
- const [quote, setQuote] = useState('')
- const [panelTab, setPanelTab] = useState<'dito' | 'annotations'>('dito')
- const [readingJump, setReadingJump] = useState<JumpRequest | null>(null)
- const [recentIds, setRecentIds] = useState<string[]>(() =>
- readDemo(
- 'recent',
- previewItems.map(item => item.id)
- )
- )
- const [savedContent, setSavedContent] = useState(() => ({
- title: readDemo('document', { title: '我的研究计划' }).title,
- locator: readDemo('position', { locator: 1 }).locator,
- }))
- const [grade, setGrade] = useState<MasteryGradeResult | null>(() => readDemo('grade', null))
- const [objective, setObjective] = useState(2)
- const responseTimer = useRef<ReturnType<typeof setTimeout> | null>(null)
- const prefillRef = useRef<((text: string) => void) | null>(null)
- const { theme, setTheme, setLanguage } = useAppShell()
- const { annotations, removeMark } = useReading()
- const go = useCallback((next: PreviewView, entity?: string) => {
- setPanelTab('dito')
- const item = previewItems.find(item => item.view === next)
- if (item) setRecentIds(ids => [item.id, ...ids.filter(id => id !== item.id)])
- setView(next)
- setCategory(
- ['learning', 'new-learning', 'reading', 'mastery', 'record'].includes(next)
- ? 'learning'
- : ['library', 'resource'].includes(next)
- ? 'library'
- : next === 'partners'
- ? 'partners'
- : 'home'
- )
- if (next === 'reading') setActiveRecord('attention')
- if (next === 'mastery') setActiveRecord('linear')
- location.hash = next + (entity ? '/' + encodeURIComponent(entity) : '')
- setDialog(null)
- setQuote('')
- setAssistantOpen(next === 'reading')
- }, [])
-
- useEffect(() => {
- setLanguage('zh')
- const onHash = () => {
- const [h, raw] = location.hash.slice(1).split('/')
- const entity = decodeURIComponent(raw || '')
- if (h in titles) {
- setView(h as PreviewView)
- if (h === 'new-learning') setCategory('learning')
- if (h === 'record' && entity) setActiveRecord(entity)
- if (h === 'partners') setActivePartner(entity)
- if (h === 'resource' && entity) setResourceHref(entity)
- }
- }
- const onKey = (e: KeyboardEvent) => {
- if ((e.metaKey || e.ctrlKey) && e.key.toLowerCase() === 'k') {
- e.preventDefault()
- setDialog(d => (d === 'search' ? null : 'search'))
- }
- }
- const onAsk = (event: Event) => {
- const data = (event as CustomEvent<{ quote: string; prompt?: string }>).detail
- setPanelTab('dito')
- setQuote(data.quote)
- setAssistantOpen(true)
- if (data.prompt) requestAnimationFrame(() => prefillRef.current?.(data.prompt || ''))
- }
- const onData = (event: Event) => {
- if (!['document', 'position'].includes((event as CustomEvent<string>).detail)) return
- setSavedContent({
- title: readDemo('document', { title: '我的研究计划' }).title,
- locator: readDemo('position', { locator: 1 }).locator,
- })
- }
- window.addEventListener('dito-preview-data', onData)
- window.addEventListener('hashchange', onHash)
- window.addEventListener('keydown', onKey)
- window.addEventListener(READER_ASK_EVENT, onAsk)
- return () => {
- window.removeEventListener('dito-preview-data', onData)
- window.removeEventListener('hashchange', onHash)
- window.removeEventListener('keydown', onKey)
- window.removeEventListener(READER_ASK_EVENT, onAsk)
- if (responseTimer.current) clearTimeout(responseTimer.current)
- }
- }, [setLanguage])
- useEffect(() => writeDemo('messages', messages), [messages])
- useEffect(() => writeDemo('favorites', favorites), [favorites])
- useEffect(() => writeDemo('recent', recentIds), [recentIds])
- useEffect(() => writeDemo('grade', grade), [grade])
-
- const cancel = () => {
- if (responseTimer.current) clearTimeout(responseTimer.current)
- setPending(null)
- }
- function send(submission: StandaloneComposerSubmission, from = view) {
- if (pending) return
- const content = submission.content.trim()
- if (!content && !submission.attachments.length) return
- const context = from === 'home' ? 'chat' : from
- const userText = `${quote ? `> ${quote}\n\n` : ''}${content}${submission.attachments.length ? `\n\n(已附 ${submission.attachments.length} 个文件;预览不解析附件)` : ''}`
- setMessages(m => ({
- ...m,
- [context]: [...(m[context] || []), { id: crypto.randomUUID(), role: 'user', text: userText }],
- }))
- setQuote('')
- setPending(context)
- if (from === 'home') go('chat')
- const selectedMode = mode
- responseTimer.current = setTimeout(() => {
- let text =
- '我们可以从一个具体问题开始。比如读懂一份材料、解释一个概念,或把一个想法整理成文稿。下面是可以继续体验的学习材料。'
- let target: PreviewView = 'reading'
- let targetLabel = '打开注意力机制笔记'
- if (from === 'reading' || /注意力|transformer|attention/i.test(content)) {
- text =
- '理解注意力,可以先记住三步:**匹配、归一化、汇总**。\n\nQuery 表达当前词需要什么,Key 表达其他词能提供什么。两者点积得到匹配分数,经过 softmax 变成权重,再对 Value 加权求和。\n\n缩放因子 $\\sqrt{d_k}$ 用来控制点积分数的波动,避免 softmax 过度集中。\n\n试着用一句话解释:为什么 Key 与 Value 要分开?'
- } else if (from === 'writing' || /写|文稿|研究计划/.test(content)) {
- text =
- '可以把研究计划按 **问题 → 假设 → 验证 → 下一步** 组织。\n\n先写清楚想解决的学习困难,再给出一个能验证的假设。最后列出本周能完成的最小实验,避免文稿只有方向、没有行动。\n\n已准备好一份示例文稿,你可以直接进入 Co-Writer 修改。'
- target = 'writing'
- targetLabel = '在 Co-Writer 中打开'
- } else if (from === 'mastery' || /练习|学习计划|线性|复习/.test(content)) {
- text =
- '我们从你已经掌握的向量和矩阵出发,继续理解 **线性无关与基**。\n\n一组基需要满足两点:能组合出空间里的所有向量,并且其中没有多余的向量。先做一道判断题,再根据答案决定下一步。'
- target = 'mastery'
- targetLabel = '开始这道练习'
- }
- if (selectedMode)
- text = `已手动选择「${caps.find(c => c.value === selectedMode)?.label}」。以下为流程示例,未执行模型调用。\n\n${text}`
- setMessages(m => ({
- ...m,
- [context]: [
- ...(m[context] || []),
- { id: crypto.randomUUID(), role: 'assistant', text, target, targetLabel },
- ],
- }))
- setPending(null)
- }, 650)
- }
-
- const items = previewItems.map(item =>
- item.view === 'writing'
- ? { ...item, title: savedContent.title }
- : item.view === 'reading'
- ? {
- ...item,
- progress: savedContent.locator / 3,
- detail: `机器学习 · 第 ${savedContent.locator} / 3 节`,
- }
- : item.view === 'mastery'
- ? {
- ...item,
- progress: grade?.isCorrect ? 0.5 : 1 / 3,
- detail: `6 个学习目标 · 已完成 ${grade?.isCorrect ? 3 : 2} 个`,
- }
- : {
- ...item,
- title:
- messages.chat
- ?.find(message => message.role === 'user')
- ?.text.split('\n')[0]
- .slice(0, 32) || item.title,
- }
- )
- const currentItem = items.find(i => i.view === view)
- const currentRecord = collections.learning.find(r => r.id === activeRecord)
- const currentTitle =
- view === 'record'
- ? currentRecord?.title || '学习记录'
- : view === 'resource'
- ? DASHBOARD_GROUPS.flatMap(g => g.items).find(i => i.href === resourceHref)?.title.zh ||
- '资料'
- : currentItem?.title || titles[view]
- const openRecord = (record: LearningRecord) => {
- setActiveRecord(record.id)
- go(
- record.sample && (record.kind === 'reading' || record.kind === 'mastery')
- ? record.kind
- : 'record',
- record.id
- )
- }
- const openPartner = (id: string) => {
- setActivePartner(id)
- go('partners', id)
- }
- const openResource = (href: string) => {
- setResourceHref(href)
- go('resource', href)
- }
- const isActivity = ['reading', 'writing', 'mastery'].includes(view)
- const star = () => {
- if (currentItem)
- setFavorites(f =>
- f.includes(currentItem.id) ? f.filter(id => id !== currentItem.id) : [...f, currentItem.id]
- )
- }
- const newChat = () => {
- cancel()
- setMessages(m => ({ ...m, chat: [] }))
- go('chat')
- }
- const composer = (context: PreviewView, hasMessages = false) => (
- <StandaloneComposer
- onSubmit={s => send(s, context)}
- onCancelStreaming={cancel}
- isStreaming={pending !== null}
- hasMessages={hasMessages}
- inputPlaceholder={
- context === 'home'
- ? '告诉 Dito,你今天想学什么、读什么,或完成什么…'
- : '问 Dito,或让它帮你继续…'
- }
- capabilities={caps}
- activeCapValue={mode}
- onSelectCapability={setMode}
- agentsAvailable={false}
- prefillInputRef={prefillRef}
- inputHeader={
- quote ? (
- <div className="preview-quote">
- <span>{quote}</span>
- <button aria-label="移除引用" onClick={() => setQuote('')}>
- <X size={13} />
- </button>
- </div>
- ) : undefined
- }
- />
- )
- const conversation = (context: PreviewView) => (
- <Conversation
- messages={messages[context] || []}
- pending={pending === context}
- context={context}
- onOpen={go}
- onPrompt={text =>
- send(
- {
- content: text,
- attachments: [],
- knowledgeBases: [],
- notebookReferences: [],
- historyReferences: [],
- bookReferences: [],
- questionNotebookReferences: [],
- memoryReferences: [],
- persona: null,
- llmSelection: null,
- subagentBudget: null,
- },
- context
- )
- }
- />
- )
-
- return (
- <div className="dito-preview">
- <AppShell
- homeHref="/preview#home"
- sidebar={
- <SidebarShell
- brandHref="/preview#home"
- initialWidth={272}
- widthStorageKey="deeptutor.dito-preview.sidebar-width"
- homeSlot={collapsed => (
- <CategoryTabs
- category={category}
- collapsed={collapsed}
- onChange={next => {
- setCategory(next)
- if (collapsed) go(next)
- }}
- onSearch={() => {
- setQuery('')
- setDialog('search')
- }}
- />
- )}
- bodySlot={collapsed => (
- <CategoryBody
- category={category}
- collapsed={collapsed}
- view={view}
- collections={collections}
- activeRecord={activeRecord}
- activePartner={activePartner}
- resourceHref={resourceHref}
- onGo={go}
- onRecord={openRecord}
- onCreate={() => go('new-learning')}
- onPartner={openPartner}
- onNewPartner={() => {
- openPartner('')
- setPartnerModal('partner')
- }}
- onNewGroup={() => {
- openPartner('')
- setPartnerModal('group')
- }}
- onResource={openResource}
- />
- )}
- footerOverride={collapsed => (
- <div className="preview-sidebar-footer">
- <NavRow
- icon={Settings2}
- label="偏好设置"
- collapsed={collapsed}
- onClick={() => setDialog('settings')}
- />
- <button
- aria-label="新对话"
- className={`preview-new-chat ${collapsed ? 'is-collapsed' : ''}`}
- onClick={newChat}
- >
- <Sparkles size={16} />
- {!collapsed && (
- <>
- <span>找 Dito 聊聊</span>
- <Plus size={15} />
- </>
- )}
- </button>
- </div>
- )}
- />
- }
- >
- <div className="preview-layout">
- <header className="preview-topbar">
- <div className="preview-breadcrumb">
- <button onClick={() => go('home')}>个人空间</button>
- <ChevronRight size={12} />
- <span>{currentTitle}</span>
- </div>
- <div className="preview-top-actions">
- <button className="preview-badge" onClick={() => setDialog('about')}>
- 交互预览
- </button>
- {currentItem && (
- <IconAction
- label={favorites.includes(currentItem.id) ? '取消收藏' : '收藏此页'}
- icon={Star}
- onClick={star}
- active={favorites.includes(currentItem.id)}
- />
- )}
- <IconAction
- label="预览说明"
- icon={MoreHorizontal}
- onClick={() => setDialog('about')}
- />
- {isActivity && (
- <button
- className={`preview-dito-toggle ${assistantOpen ? 'is-active' : ''}`}
- onClick={() => setAssistantOpen(v => !v)}
- aria-pressed={assistantOpen}
- >
- <Sparkles size={14} />
- Dito
- </button>
- )}
- </div>
- </header>
- <div className="preview-work-area">
- <div className="preview-main">
- {view === 'home' && (
- <FeaturePage className="preview-home">
- <div className="preview-home-inner">
- <div className="preview-eyebrow">你的学习,从这里继续</div>
- <PageHeader title="你好,Frank" description="今天有什么想弄明白的?" />
- <div className="preview-home-composer">{composer('home')}</div>
- <div className="preview-quick-actions">
- {[
- { label: '任务看板', icon: Columns3, view: 'kanban' },
- { label: '智能写作', icon: PenLine, view: 'writing' },
- { label: '智能体', icon: Bot, view: 'agents' },
- ].map(a => (
- <button key={a.label} onClick={() => go(a.view as PreviewView)}>
- <a.icon size={15} />
- {a.label}
- <ArrowRight size={12} />
- </button>
- ))}
- </div>
- <section className="preview-section">
- <div className="preview-section-title">
- <h2>继续上次的学习</h2>
- <button onClick={() => go('learning')}>
- 查看全部
- <ArrowRight size={13} />
- </button>
- </div>
- <div className="preview-resume-list">
- {items.slice(0, 3).map(item => (
- <ContentRow key={item.id} item={item} onOpen={go} />
- ))}
- </div>
- </section>
- <section className="preview-review">
- <div className="preview-review-icon">
- <Compass size={22} strokeWidth={1.4} />
- </div>
- <div>
- <h3>{grade?.isCorrect ? '今天的复习已完成' : '花几分钟,让理解更扎实'}</h3>
- <p>
- {grade?.isCorrect
- ? '线性无关与基 · 已掌握这道练习'
- : '线性无关与基 · 1 道待复习练习'}
- </p>
- </div>
- <button
- className={pageActionClass('secondary')}
- onClick={() => go('mastery')}
- >
- {grade?.isCorrect ? '查看练习' : '开始复习'}
- <ArrowRight size={14} />
- </button>
- </section>
- <p className="preview-home-footnote">
- Dito 会陪你阅读、思考和创作。你也可以随时自己选择学习方式。
- </p>
- </div>
- </FeaturePage>
- )}
- {view === 'learning' && (
- <LearningOverview collections={collections} onOpen={openRecord} />
- )}
- {view === 'new-learning' && (
- <CreateLearningPage
- onBack={() => go('learning')}
- onCreate={record => {
- collections.setLearning(all => [record, ...all])
- openRecord(record)
- }}
- />
- )}
- {view === 'library' && (
- <FeaturePage>
- <SpaceDashboard
- title="资料"
- description="原来的学习空间。对话、笔记、知识与能力资源,集中在这里。"
- onNavigate={openResource}
- />
- </FeaturePage>
- )}
- {view === 'resource' && (
- <ResourceSurface
- key={resourceHref}
- href={resourceHref}
- onBack={() => go('library')}
- />
- )}
- {view === 'kanban' && <KanbanBoard />}
- {view === 'agents' && (
- <FeaturePage>
- <AgentsHub />
- </FeaturePage>
- )}
- {view === 'partners' && (
- <PartnerSurface
- collections={collections}
- selected={activePartner}
- onSelect={openPartner}
- modal={partnerModal}
- setModal={setPartnerModal}
- />
- )}
- {view === 'record' && currentRecord && (
- <LearningRecordSurface
- key={currentRecord.id}
- record={currentRecord}
- onBack={() => go('learning')}
- onChange={record =>
- collections.setLearning(all => all.map(r => (r.id === record.id ? record : r)))
- }
- />
- )}
- {view === 'reading' && (
- <ReadingSurface onClose={() => go('learning')} externalJump={readingJump} />
- )}
- {view === 'writing' && (
- <CoWriterWorkspace docId="preview-research" onBack={() => go('home')} />
- )}
- {view === 'mastery' && (
- <FeaturePage className="preview-mastery">
- <PageHeader title="线性代数,从直觉出发" description="先建立直觉,再验证理解。" />
- <div className="preview-mastery-layout">
- <nav aria-label="学习目标" className="preview-objectives">
- <div className="preview-nav-label">
- 学习目标 · {grade?.isCorrect ? 3 : 2} / 6
- </div>
- {objectives.map((name, i) => (
- <button
- key={name}
- className={objective === i ? 'is-active' : ''}
- onClick={() => setObjective(i)}
- >
- <span>
- {i < 2 || (i === 2 && grade?.isCorrect) ? (
- <Check size={12} />
- ) : (
- String(i + 1).padStart(2, '0')
- )}
- </span>
- {name}
- </button>
- ))}
- </nav>
- <div className="preview-lesson">
- <div className="preview-eyebrow">
- 当前目标 {String(objective + 1).padStart(2, '0')}
- </div>
- <h2>{objectives[objective]}</h2>
- {objective === 2 ? (
- <>
- <p className="preview-lesson-intro">
- 想象你要在平面上描述一个位置。两个方向互不重复的向量,就能通过缩放和相加,到达平面上的任意一点。这样的两个向量构成一组基。
- </p>
- <MasteryQuestionCard
- question={question}
- grade={grade}
- answered={grade !== null}
- submittedAnswer={grade?.learnerAnswer || ''}
- onSubmit={p => {
- const answer = p.answers?.[0]?.text || p.text || ''
- setGrade({
- questionId: question.questionId,
- learnerAnswer: answer,
- isCorrect: answer === 'B',
- correctLabel: 'B',
- correctBody: '(1, 0) 和 (0, 1)',
- explanation:
- '这两个向量线性无关,且可以组合出二维平面中的任意向量。A 的两个向量共线,C 包含零向量,都不能张成整个平面。',
- result: answer === 'B' ? 'correct' : 'incorrect',
- })
- return true
- }}
- />
- {grade && (
- <div className="preview-lesson-next">
- <button
- className={pageActionClass('secondary')}
- onClick={() => setGrade(null)}
- >
- 再试一次
- </button>
- <button className={pageActionClass()} onClick={() => setObjective(3)}>
- 下一目标
- <ArrowRight size={14} />
- </button>
- </div>
- )}
- </>
- ) : (
- <>
- <p className="preview-lesson-intro">
- {
- [
- '把向量看成一个方向和一段距离。通过缩放与相加,我们可以组合出新的向量。',
- '一个矩阵描述了空间如何变换。它的每一列,都告诉你一个基向量被送到了哪里。',
- '',
- '有些向量经过变换后方向保持不变,它们就是特征向量。对应的缩放倍数就是特征值。',
- '正交投影把一个向量分成沿着某个方向的部分,以及与这个方向垂直的部分。',
- '从一个实际数据问题开始,观察矩阵如何表达关系,投影如何简化信息。',
- ][objective]
- }
- </p>
- <button
- className={pageActionClass('secondary')}
- onClick={() => setAssistantOpen(true)}
- >
- <Sparkles size={14} />让 Dito 帮我理解
- </button>
- {objective !== 2 && (
- <button
- className="ml-3 text-sm underline underline-offset-4"
- onClick={() => setObjective(2)}
- >
- 回到练习
- </button>
- )}
- </>
- )}
- </div>
- </div>
- </FeaturePage>
- )}
- {view === 'chat' && (
- <div className="preview-chat-page">
- <div className="preview-chat-heading">
- <Sparkles size={17} />
- <h1>Dito</h1>
- <span>你的通用学习助手</span>
- <button onClick={newChat} aria-label="清空并开始新对话">
- <Plus size={16} />
- </button>
- </div>
- {conversation('chat')}
- <div className="preview-chat-composer">
- {composer('chat', !!messages.chat?.length)}
- <p>示例对话 · 未连接模型</p>
- </div>
- </div>
- )}
- </div>
- {isActivity && assistantOpen && (
- <aside className="preview-assistant" aria-label="Dito 学习助手">
- <header>
- <Sparkles size={16} />
- <button
- className={panelTab === 'dito' ? 'font-semibold' : 'text-muted-foreground'}
- onClick={() => setPanelTab('dito')}
- >
- Dito
- </button>
- {view === 'reading' && (
- <button
- className={
- panelTab === 'annotations' ? 'font-semibold' : 'text-muted-foreground'
- }
- onClick={() => setPanelTab('annotations')}
- >
- 批注 {annotations.length || ''}
- </button>
- )}
- <span />
- <IconAction icon={X} label="关闭 Dito" onClick={() => setAssistantOpen(false)} />
- </header>
- <div className="preview-context-chip">
- <FileText size={13} />
- <span>{currentTitle}</span>
- <span>当前内容</span>
- </div>
- {panelTab === 'annotations' && view === 'reading' ? (
- <div className="min-h-0 flex-1 mt-3">
- <AnnotationList
- annotations={annotations}
- unit="section"
- activeId={null}
- onSelect={mark =>
- setReadingJump({
- locator: mark.locator,
- quote: mark.quote,
- nonce: Date.now(),
- })
- }
- onDelete={mark => {
- void removeMark(mark)
- }}
- />
- </div>
- ) : (
- <>
- {conversation(view)}
- <div className="preview-panel-composer">
- {composer(view, true)}
- <p>示例对话 · 未连接模型</p>
- </div>
- </>
- )}
- </aside>
- )}
- </div>
- </div>
- </AppShell>
- <Dialog
- open={dialog === 'search'}
- title="搜索你的空间"
- onClose={() => setDialog(null)}
- closeLabel="关闭搜索"
- >
- <div className="preview-search-field large">
- <Search size={18} />
- <input
- data-autofocus
- aria-label="搜索内容"
- placeholder="搜索材料、文稿、学习路径…"
- value={query}
- onChange={e => setQuery(e.target.value)}
- />
- <kbd>Esc</kbd>
- </div>
- <div className="preview-search-results">
- {collections.learning
- .filter(r => r.title.includes(query) || r.kind.includes(query))
- .map(r => (
- <button key={r.id} className="preview-session-row" onClick={() => openRecord(r)}>
- <BookOpen size={17} />
- <span>{r.title}</span>
- <ArrowRight size={14} />
- </button>
- ))}
- {items
- .filter(i => ['writing', 'chat'].includes(i.view))
- .filter(
- i => i.title.toLowerCase().includes(query.toLowerCase()) || i.kind.includes(query)
- )
- .map(item => (
- <ContentRow key={item.id} item={item} onOpen={go} />
- ))}
- {!collections.learning.some(r => r.title.includes(query)) &&
- !items.some(
- i => i.title.toLowerCase().includes(query.toLowerCase()) || i.kind.includes(query)
- ) && <p>没有匹配内容</p>}
- </div>
- </Dialog>
- <Dialog
- open={dialog === 'settings'}
- title="偏好设置"
- description="沿用 DeepTutor 现有的主题与侧栏设置。"
- onClose={() => setDialog(null)}
- closeLabel="关闭"
- >
- <h3 className="text-sm mb-3">外观</h3>
- <div className="preview-theme-options">
- {[
- { value: 'snow', label: '简白' },
- { value: 'light', label: '暖纸' },
- { value: 'dark', label: '深色' },
- ].map(item => (
- <button
- aria-pressed={theme === item.value}
- key={item.value}
- onClick={() => setTheme(item.value as typeof theme)}
- className={theme === item.value ? 'is-active' : ''}
- >
- {item.label}
- {theme === item.value && <Check size={14} />}
- </button>
- ))}
- </div>
- <p className="mt-6 text-xs text-muted-foreground leading-6">
- 侧栏支持拖动调整宽度、收起与展开。搜索快捷键为 ⌘ / Ctrl
- K。文稿、阅读位置、批注、收藏和示例对话保存在当前浏览器。
- </p>
- </Dialog>
- <Dialog
- open={dialog === 'about'}
- title="这一版在探索什么"
- onClose={() => setDialog(null)}
- closeLabel="关闭"
- >
- <div className="preview-about">
- <p>四个栏目:主页、伙伴、学习、资料。</p>
- <p>
- 顶部切换侧栏内容,保留当前正在看的页面。主页放
- Dito、任务看板、智能写作和智能体;伙伴放配置、群组和会话;学习保留四种学习记录;资料继承学习空间。
- </p>
- <p>
- 这一版直接复用现有 WebUI
- 的侧栏外壳、页面布局、输入框、沉浸式阅读器、Co-Writer、任务看板、智能体页面、学习空间总览、练习题卡和弹窗。
- </p>
- <p className="text-muted-foreground">
- 这是独立 worktree 中的前端预览。内容是示例,Dito
- 使用固定演示回复;编辑、阅读、批注和练习可交互。新建学习保存为草稿,资源详情是分类交互示例。模型调用、外部渠道、文件解析和
- Word 导出尚未连接。
- </p>
- </div>
- </Dialog>
- </div>
- )
-}
-
-function Conversation({
- messages,
- pending,
- context,
- onOpen,
- onPrompt,
-}: {
- messages: Message[]
- pending: boolean
- context: PreviewView
- onOpen: (view: PreviewView) => void
- onPrompt: (text: string) => void
-}) {
- const end = useRef<HTMLDivElement>(null)
- useEffect(() => {
- end.current?.scrollIntoView({ block: 'nearest', behavior: 'smooth' })
- }, [messages, pending])
- const suggestions =
- context === 'reading'
- ? ['解释一下注意力机制', '帮我梳理这份材料']
- : context === 'writing'
- ? ['帮我完善研究计划', '这份文稿可以怎么组织?']
- : context === 'mastery'
- ? ['用直觉解释线性无关', '我想复习一下']
- : ['带我读懂注意力机制', '帮我写一份研究计划', '我想复习线性代数']
- return (
- <div className="preview-conversation">
- {!messages.length && (
- <div className="preview-conversation-empty">
- <Image src="/brand/color-logo.png" alt="" width={38} height={38} />
- <h2>{context === 'chat' ? '想从哪里开始?' : '我就在这里'}</h2>
- <p>
- {context === 'chat'
- ? '提一个问题,或告诉我你想完成什么。'
- : '围绕当前内容提问,或一起找找下一步。'}
- </p>
- <div>
- {suggestions.map(prompt => (
- <button key={prompt} onClick={() => onPrompt(prompt)}>
- {prompt}
- <ArrowRight size={13} />
- </button>
- ))}
- </div>
- </div>
- )}
- {messages.map(message => (
- <div key={message.id} className={`preview-message ${message.role}`}>
- <div className="preview-message-label">
- {message.role === 'assistant' ? (
- <>
- <Sparkles size={13} />
- Dito<span>示例回复</span>
- </>
- ) : (
- '你'
- )}
- </div>
- <MarkdownRenderer content={message.text} />
- {message.target && context !== message.target && (
- <button className="preview-result-link" onClick={() => onOpen(message.target!)}>
- <FileText size={17} />
- <span>{message.targetLabel}</span>
- <ArrowRight size={15} />
- </button>
- )}
- </div>
- ))}
- {pending && (
- <div className="preview-thinking" role="status">
- <span />
- Dito 正在整理示例…
- </div>
- )}
- <div ref={end} />
- </div>
- )
-}
-
-function ReadingSurface({
- onClose,
- externalJump,
-}: {
- onClose: () => void
- externalJump: JumpRequest | null
-}) {
- const { openMaterial } = useReading()
- const [jump, setJump] = useState<JumpRequest | null>(() => ({
- locator: readDemo('position', { locator: 1 }).locator,
- nonce: Date.now(),
- }))
- const [locator, setLocator] = useState(() => readDemo('position', { locator: 1 }).locator)
- const [ready, setReady] = useState(false)
- useEffect(() => {
- let alive = true
- void openMaterial(material).then(() => {
- if (alive) setReady(true)
- })
- return () => {
- alive = false
- }
- }, [openMaterial])
- return (
- <div className="preview-reading-surface">
- <div className="preview-reading-outline">
- <div className="preview-nav-label">目录</div>
- {material.outline.map(row => (
- <button
- key={row.locator}
- className={locator === row.locator ? 'is-active' : ''}
- onClick={() => setJump({ locator: row.locator, nonce: Date.now() })}
- >
- <span>0{row.locator}</span>
- {row.title}
- </button>
- ))}
- </div>
- <div className="preview-reader">
- {ready ? (
- <ReaderPane
- onClose={onClose}
- ownAnnotationList={false}
- externalJump={
- externalJump && externalJump.nonce > (jump?.nonce || 0) ? externalJump : jump
- }
- onLocatorChange={setLocator}
- />
- ) : (
- <div role="status" className="p-8 text-sm text-muted-foreground">
- 正在打开阅读材料…
- </div>
- )}
- </div>
- </div>
- )
-}
diff --git a/web/features/preview/collections.ts b/web/features/preview/collections.ts
deleted file mode 100644
index 1be9cee45..000000000
--- a/web/features/preview/collections.ts
+++ /dev/null
@@ -1,147 +0,0 @@
-import { useEffect, useState } from 'react'
-import { BookOpen, Compass, ClipboardList, LibraryBig } from 'lucide-react'
-import { readDemo, writeDemo } from './demo-transport'
-
-export type Category = 'home' | 'partners' | 'learning' | 'library'
-export type LearningKind = 'book' | 'mastery' | 'practice' | 'reading'
-export const learningKinds = [
- { id: 'book', label: '书籍', icon: LibraryBig, description: '把一个主题组织成一本专属的书' },
- { id: 'mastery', label: '精通之路', icon: Compass, description: '循序渐进,直到真正掌握' },
- { id: 'practice', label: '练习', icon: ClipboardList, description: '用练习检验理解,安排复习' },
- {
- id: 'reading',
- label: '沉浸式阅读',
- icon: BookOpen,
- description: '专注阅读,在原文中提问和批注',
- },
-] as const
-export type LearningRecord = {
- id: string
- title: string
- kind: LearningKind
- detail: string
- notes: string
- sample?: boolean
-}
-export const initialLearning: LearningRecord[] = [
- {
- id: 'attention',
- title: '理解 Transformer 的注意力机制',
- kind: 'reading',
- detail: '机器学习 · 第 1 / 3 节',
- notes: '',
- sample: true,
- },
- {
- id: 'linear',
- title: '线性代数,从直觉出发',
- kind: 'mastery',
- detail: '6 个目标 · 已完成 2 个',
- notes: '',
- sample: true,
- },
- {
- id: 'book',
- title: '概率论的直觉',
- kind: 'book',
- detail: '书籍 · 3 个章节',
- notes: '',
- sample: true,
- },
- {
- id: 'practice',
- title: '向量与空间 · 巩固练习',
- kind: 'practice',
- detail: '练习 · 1 道待复习',
- notes: '',
- sample: true,
- },
-]
-export type DemoPartner = { id: string; name: string; description: string; color: string }
-export type DemoGroup = { id: string; name: string; members: string[] }
-export type DemoSession = {
- id: string
- title: string
- owner: string
- messages: { role: 'user' | 'assistant'; text: string }[]
-}
-export function useCollections() {
- const [learning, setLearning] = useState(() => readDemo('learning-records', initialLearning))
- const [partners, setPartners] = useState<DemoPartner[]>(() =>
- readDemo('partners', [
- {
- id: 'saturday',
- name: 'Saturday',
- description: '一起研究、整理想法,推进你的每一天。',
- color: '#7a8d75',
- },
- {
- id: 'socrates',
- name: 'Socrates',
- description: '通过追问,帮你把一个问题想明白。',
- color: '#b38d73',
- },
- ])
- )
- const [groups, setGroups] = useState<DemoGroup[]>(() =>
- readDemo('partner-groups', [
- { id: 'research', name: '研究讨论室', members: ['saturday', 'socrates'] },
- ])
- )
- const [sessions, setSessions] = useState<DemoSession[]>(() =>
- readDemo('partner-sessions', [
- {
- id: 'session-one',
- title: '梳理本周的研究方向',
- owner: 'saturday',
- messages: [
- {
- role: 'assistant',
- text: '这是一段示例会话。可以继续讨论研究问题,或打开右上角的伙伴配置。',
- },
- ],
- },
- {
- id: 'session-two',
- title: '关于学习反馈的讨论',
- owner: 'research',
- messages: [
- {
- role: 'assistant',
- text: '这是研究讨论室的示例记录。Saturday 和 Socrates 将从不同的角度参与讨论。',
- },
- ],
- },
- ])
- )
- useEffect(() => writeDemo('learning-records', learning), [learning])
- useEffect(() => writeDemo('partners', partners), [partners])
- useEffect(() => writeDemo('partner-groups', groups), [groups])
- useEffect(() => writeDemo('partner-sessions', sessions), [sessions])
- const records = learning.map(record => {
- if (record.id === 'attention')
- return {
- ...record,
- detail: `机器学习 · 第 ${readDemo('position', { locator: 1 }).locator} / 3 节`,
- }
- if (record.id === 'linear')
- return {
- ...record,
- detail: `6 个目标 · 已完成 ${readDemo<{ isCorrect?: boolean } | null>('grade', null)?.isCorrect ? 3 : 2} 个`,
- }
- if (record.id === 'practice' && readDemo('practice-practice', null))
- return { ...record, detail: '练习 · 本轮已完成' }
- return record
- })
- return {
- learning: records,
- setLearning,
- partners,
- setPartners,
- groups,
- setGroups,
- sessions,
- setSessions,
- }
-}
-export type Collections = ReturnType<typeof useCollections>
diff --git a/web/features/preview/demo-transport.ts b/web/features/preview/demo-transport.ts
deleted file mode 100644
index fb214d248..000000000
--- a/web/features/preview/demo-transport.ts
+++ /dev/null
@@ -1,222 +0,0 @@
-/** Browser-only fixtures for /preview. No request on this route reaches a backend.
- * Existing reader/editor/composer APIs remain unchanged. Local writes use their
- * own preview namespace; navigating away restores normal fetch behavior.
- */
-import { browserStorage } from '@/shared/storage'
-import { initialDocument, material, readingUnits } from './fixtures'
-import { DEFAULT_TASK_COLORS, type TaskBoard } from '@/lib/task-board-api'
-import type { AnnotationItem } from '@/lib/reading-api'
-
-const PREFIX = 'deeptutor.dito-preview.v1.'
-export function readDemo<T>(key: string, fallback: T): T {
- try {
- return JSON.parse(browserStorage.readRaw('local', PREFIX + key) || 'null') ?? fallback
- } catch {
- return fallback
- }
-}
-export function writeDemo(key: string, value: unknown) {
- try {
- browserStorage.writeRaw('local', PREFIX + key, JSON.stringify(value))
- window.dispatchEvent(new CustomEvent('dito-preview-data', { detail: key }))
- } catch {
- /* Memory-only preview if storage is unavailable. */
- }
-}
-const json = (value: unknown, status = 200) =>
- new Response(JSON.stringify(value), { status, headers: { 'Content-Type': 'application/json' } })
-let installed = false
-
-export function installDemoTransport() {
- if (typeof window === 'undefined' || installed) return
- installed = true
- const realFetch = window.fetch.bind(window)
- window.fetch = async (input, init) => {
- const url = new URL(input instanceof Request ? input.url : String(input), location.href)
- if (location.pathname !== '/preview' || !url.pathname.startsWith('/api/'))
- return realFetch(input, init)
- const path = url.pathname
- const method = init?.method || (input instanceof Request ? input.method : 'GET')
- const rawBody =
- init?.body ??
- (input instanceof Request && method !== 'GET' ? await input.clone().text() : undefined)
- const body = typeof rawBody === 'string' ? JSON.parse(rawBody || '{}') : {}
- if (path.startsWith('/api/task-board')) {
- const board = readDemo<TaskBoard>('task-board', {
- cards: [
- {
- id: 'task-1',
- title: '整理注意力机制的阅读笔记',
- note: '从 Query、Key、Value 三个角色开始。',
- status: 'doing',
- archived: false,
- created_at: new Date().toISOString(),
- updated_at: new Date().toISOString(),
- workspace_id: null,
- due_date: null,
- },
- {
- id: 'task-2',
- title: '完成线性代数巩固练习',
- note: '',
- status: 'todo',
- archived: false,
- created_at: new Date().toISOString(),
- updated_at: new Date().toISOString(),
- workspace_id: null,
- due_date: null,
- },
- ],
- colors: DEFAULT_TASK_COLORS,
- session_links: [],
- revision: 0,
- })
- if (method === 'POST' && path.endsWith('/cards'))
- board.cards.push({
- id: crypto.randomUUID(),
- title: String(body.title),
- note: '',
- status: 'todo',
- archived: false,
- created_at: new Date().toISOString(),
- updated_at: new Date().toISOString(),
- workspace_id: null,
- due_date: typeof body.due_date === 'string' ? body.due_date : null,
- })
- if (method === 'PATCH')
- board.cards = board.cards.map(card =>
- card.id === path.split('/').pop()
- ? { ...card, ...body, updated_at: new Date().toISOString() }
- : card
- )
- if (method === 'PUT' && path.endsWith('/colors')) board.colors = body.colors
- if (method !== 'GET') {
- board.revision++
- writeDemo('task-board', board)
- }
- return json(board)
- }
- if (path === '/api/subagents/detect') return json({ backends: [] })
- if (path === '/api/imports/chat-history') return json({ sessions: [] })
- if (path === '/api/capabilities/registered') return json({ capabilities: [] })
- if (path === '/api/skills/list') return json({ skills: [] })
- if (path === '/api/space/cli-apps/apps')
- return json({ apps: [], access: { unrestricted: false, exec_denied: true } })
- if (path.startsWith('/api/space/mcp')) return json({ servers: {}, user: null })
- if (path === '/api/settings/ui') return json({ language: 'zh', response_language: 'zh' })
- if (path === '/api/auth/status')
- return json({ enabled: false, authenticated: true, user_id: 'dito-preview' })
- if (path === '/api/settings/workspace/registrations') return json({ workspaces: [] })
- if (path === '/api/settings/llm-options')
- return json({
- active: { profile_id: 'preview', model_id: 'demo' },
- options: [
- {
- profile_id: 'preview',
- model_id: 'demo',
- model: '示例模型',
- model_name: '演示模型',
- profile_name: '本地预览',
- provider: 'demo',
- is_active_default: true,
- },
- ],
- })
- if (path === '/api/knowledge-bases/list') return json([])
- if (path === '/api/subagents/settings') return json({ backends: {}, default_consult_budget: 3 })
- if (path === '/api/subagents/connections') return json({ connections: [] })
- if (path === '/api/settings/chat-attachments')
- return json({ max_files: 10, max_file_size_mb: 20, max_total_size_mb: 50 })
- if (path === '/api/notebooks') return json({ notebooks: [] })
- if (path === '/api/reading/extensions') return json([])
- if (path.startsWith('/api/reading/materials/preview-attention')) {
- const suffix = path.replace('/api/reading/materials/preview-attention', '')
- if (!suffix) return json(material)
- if (suffix.startsWith('/units/')) {
- const locator = Number(suffix.split('/').pop())
- return json({ locator, unit: 'section', text: readingUnits[locator - 1] || '' })
- }
- if (suffix === '/media') return json([])
- if (suffix === '/position') {
- const previous = readDemo('position', {
- locator: 1,
- source_anchor: '',
- percentage: 0,
- updated_at: 0,
- })
- const position =
- method === 'PUT' ? { ...previous, ...body, updated_at: Date.now() / 1000 } : previous
- if (method === 'PUT') writeDemo('position', position)
- return json(position)
- }
- if (suffix.startsWith('/annotations')) {
- let marks = readDemo<AnnotationItem[]>('annotations', [])
- if (method === 'PUT') {
- const mark = {
- ...body,
- annotation_id: body.annotation_id || crypto.randomUUID(),
- author: 'user',
- created_at: Date.now() / 1000,
- updated_at: Date.now() / 1000,
- rects: body.rects || [],
- source_anchor: body.source_anchor || '',
- note: body.note || '',
- } as AnnotationItem
- marks = [...marks.filter(m => m.annotation_id !== mark.annotation_id), mark]
- writeDemo('annotations', marks)
- return json(mark)
- }
- if (method === 'DELETE') {
- writeDemo(
- 'annotations',
- marks.filter(m => m.annotation_id !== suffix.split('/').pop())
- )
- return json({ deleted: true })
- }
- return json(marks)
- }
- if (suffix === '/export')
- return new Response(readingUnits.join('\n\n---\n\n'), {
- headers: {
- 'Content-Type': 'text/markdown',
- 'Content-Disposition': 'attachment; filename="attention-notes.md"',
- },
- })
- if (suffix === '/quiz/rewards') return json({ rewards: [], total_stars: 0 })
- if (suffix === '/bookmarks') return json({ bookmarks: [] })
- }
- if (path === '/api/documents/preview-research') {
- const doc = readDemo('document', initialDocument)
- const updated =
- method === 'PUT'
- ? {
- ...doc,
- ...Object.fromEntries(Object.entries(body).filter(([, v]) => v !== null)),
- updated_at: Date.now() / 1000,
- }
- : doc
- if (method === 'PUT') writeDemo('document', updated)
- return json(updated)
- }
- if (path.startsWith('/api/documents/actions/')) {
- // Do not fake LLM edits: existing UI surfaces this actionable response.
- return json(
- { detail: '此预览未连接模型。可以直接编辑文稿,或在 Dito 侧栏体验示例对话。' },
- 501
- )
- }
- if (path === '/api/documents/export/docx')
- return json({ detail: 'Word 导出需要后端;此预览可以编辑和自动保存文稿。' }, 501)
- if (method === 'GET' && /personas|memory|sessions|question-notebook|books/.test(path))
- return json({
- items: [],
- sessions: [],
- personas: [],
- entries: [],
- total: 0,
- books: [],
- files: [],
- })
- return json({ detail: '此功能需要后端服务,当前是前端交互预览。' }, 501)
- }
-}
diff --git a/web/features/preview/fixtures.ts b/web/features/preview/fixtures.ts
deleted file mode 100644
index 6a5983bfa..000000000
--- a/web/features/preview/fixtures.ts
+++ /dev/null
@@ -1,176 +0,0 @@
-import type { MaterialDetail } from '@/lib/reading-api'
-import type { MasteryQuestion } from '@/lib/mastery-question'
-
-export type PreviewView =
- | 'home'
- | 'learning'
- | 'new-learning'
- | 'library'
- | 'reading'
- | 'writing'
- | 'mastery'
- | 'chat'
- | 'partners'
- | 'kanban'
- | 'agents'
- | 'resource'
- | 'record'
-export const previewItems: {
- id: string
- title: string
- kind: string
- view: PreviewView
- detail: string
- progress?: number
-}[] = [
- {
- id: 'attention',
- title: '理解 Transformer 的注意力机制',
- kind: '沉浸式阅读',
- view: 'reading',
- detail: '机器学习 · 第 1 / 3 节',
- progress: 0.33,
- },
- {
- id: 'linear',
- title: '线性代数,从直觉出发',
- kind: '引导式学习',
- view: 'mastery',
- detail: '6 个学习目标 · 已完成 2 个',
- progress: 0.33,
- },
- {
- id: 'research',
- title: '我的研究计划',
- kind: 'Co-Writer',
- view: 'writing',
- detail: '研究笔记 · 今天编辑',
- },
- {
- id: 'chat',
- title: '与 Dito 对话',
- kind: '对话',
- view: 'chat',
- detail: '通用助手 · Auto 模式',
- },
-]
-
-export const readingUnits = [
- `# 理解 Transformer 的注意力机制
-
-> 学习笔记 · 从一个句子开始理解注意力
-
-## 01 为什么需要注意力?
-
-读到「小猫没有跨过围栏,因为它太高了」,你会自然地知道「它」指的是围栏。我们理解一个词时,会回看句子中与它相关的部分。
-
-注意力机制做的就是类似的事:让每一个词主动寻找与自己相关的信息,并决定应该关注多少。
-
-## 把句子想成一次讨论
-
-每个词都有三个角色:
-
-- **Query(查询)**:我现在需要什么信息?
-- **Key(键)**:我能提供哪一类信息?
-- **Value(值)**:我实际携带的信息是什么?
-
-Query 与每个 Key 的匹配程度决定关注的权重,再用这些权重对 Value 加权求和。
-
-## 核心公式
-
-$$\\operatorname{Attention}(Q,K,V)=\\operatorname{softmax}\\left(\\frac{QK^T}{\\sqrt{d_k}}\\right)V$$
-
-先匹配,再归一化,最后汇总。把这三步记住,就抓住了注意力机制的主线。
-
-**边读边想**:如果所有词的匹配分数都一样,最后得到的输出会是什么?
-
-你可以选中一句话做批注,也可以直接向右侧的 Dito 提问。`,
- `# 从匹配分数到注意力权重
-
-## 02 缩放与归一化
-
-Query 和 Key 的点积是匹配分数。当向量的维数变大时,点积的波动也会增大。直接放进 softmax 容易让权重过于集中。
-
-因此我们除以维数的平方根,让分数处于更稳定的范围。
-
-## 一个小例子
-
-假设匹配分数是 2、1、0,经过 softmax 后,权重大约是 0.665、0.245、0.090。
-
-最匹配的词贡献最多,但其他词的信息仍然保留。
-
-## 试着解释
-
-请用自己的话解释:为什么不能直接用原始的点积作为加权系数?`,
- `# 多头注意力:从不同角度理解
-
-## 03 不同的问题,不同的关注点
-
-同一句话里,一个头可能关注语法依赖,另一个头可能关注语义关系。它们各自在投影后的空间里计算注意力,再把结果组合起来。
-
-## 回顾这条主线
-
-1. 一个词用 Query 表达需求。
-2. 用 Key 匹配其他位置。
-3. 对分数缩放、归一化。
-4. 汇总 Value,得到新的表示。
-
-**下一步**:做一道小练习,看看你能不能把这个过程解释清楚。`,
-]
-
-export const material: MaterialDetail = {
- material_id: 'preview-attention',
- filename: 'attention-notes.md',
- title: previewItems[0].title,
- unit: 'section',
- unit_count: 3,
- mime: 'text/markdown',
- byte_size: 2400,
- char_count: 1200,
- created_at: 1791792000,
- has_raw_view: false,
- render_mode: 'text',
- content_format: 'web_markdown',
- extractor: 'preview',
- annotation_count: 0,
- revision: 1,
- outline: ['为什么需要注意力?', '缩放与归一化', '多头注意力'].map((title, i) => ({
- locator: i + 1,
- title,
- level: 1,
- synthesised: false,
- })),
- outline_text: '',
- unit_refs: [],
-}
-
-export const initialDocument = {
- id: 'preview-research',
- title: '我的研究计划',
- created_at: 1791792000,
- updated_at: 1791792000,
- content: `# 我的研究计划\n\n## 研究问题\n\n如何帮助学习者把零散的知识,转变成能够解释和应用的理解?\n\n## 初步想法\n\n从阅读一篇材料开始,在关键位置记录疑问,再通过针对性的练习确认理解。让阅读、笔记与练习围绕同一个学习目标展开。\n\n## 本周安排\n\n- [x] 整理注意力机制的阅读笔记\n- [ ] 比较三种学习反馈方式\n- [ ] 完成第一版实验设计\n\n## 需要继续探索\n\n1. 怎样发现学习者真正没理解的地方?\n2. 怎样安排复习,而不打断学习节奏?\n3. 怎样让助手的建议保留足够的自主选择?\n`,
-}
-
-export const objectives = [
- '向量与线性组合',
- '矩阵作为一种变换',
- '线性无关与基',
- '特征值与特征向量',
- '正交投影',
- '把直觉用在实际问题里',
-]
-export const question: MasteryQuestion = {
- questionId: 'preview-basis',
- prompt: '在二维平面中,哪一组向量可以构成一组基?',
- questionType: 'multiple_choice',
- objectiveName: '线性无关与基',
- difficulty: 'easy',
- attempt: 1,
- allowFreeText: false,
- options: [
- { label: 'A', body: '(1, 0) 和 (2, 0)' },
- { label: 'B', body: '(1, 0) 和 (0, 1)' },
- { label: 'C', body: '(0, 0) 和 (1, 1)' },
- ],
-}
diff --git a/web/scripts/probe-right-edge.mjs b/web/scripts/probe-right-edge.mjs
deleted file mode 100644
index f5f588884..000000000
--- a/web/scripts/probe-right-edge.mjs
+++ /dev/null
@@ -1,22 +0,0 @@
-import { chromium } from "playwright";
-
-const URL = "http://localhost:3784/chat";
-const VW = 1440;
-const VH = 900;
-
-const browser = await chromium.launch();
-const page = await browser.newPage({
- viewport: { width: VW, height: VH },
- deviceScaleFactor: 2,
-});
-await page.goto(URL, { waitUntil: "networkidle" });
-await page.waitForTimeout(1500);
-
-// Rightmost 70 CSS px, full height — any right-edge shadow shows as a
-// darkening gradient in this narrow strip.
-await page.screenshot({
- path: "/tmp/right-strip.png",
- clip: { x: VW - 70, y: 0, width: 70, height: VH },
-});
-console.log("saved /tmp/right-strip.png");
-await browser.close();
diff --git a/web/tests/preview-create-learning.spec.tsx b/web/tests/preview-create-learning.spec.tsx
deleted file mode 100644
index 015e4a193..000000000
--- a/web/tests/preview-create-learning.spec.tsx
+++ /dev/null
@@ -1,90 +0,0 @@
-import { fireEvent, render, screen } from '@testing-library/react'
-import { expect, it, vi } from 'vitest'
-import { CategoryBody } from '@/features/preview/PreviewNavigation'
-import {
- CreateLearningPage,
- LearningOverview,
-} from '@/features/preview/CollectionSurfaces'
-import { initialLearning, type Collections } from '@/features/preview/collections'
-import { initI18n } from '@/i18n/init'
-
-initI18n('en')
-
-const collections: Collections = {
- learning: initialLearning,
- setLearning: vi.fn(),
- partners: [],
- setPartners: vi.fn(),
- groups: [],
- setGroups: vi.fn(),
- sessions: [],
- setSessions: vi.fn(),
-}
-
-it('keeps learning creation out of the overview', () => {
- render(<LearningOverview collections={collections} onOpen={vi.fn()} />)
-
- expect(screen.queryByRole('button', { name: '新建学习' })).not.toBeInTheDocument()
- expect(screen.queryByText('开始一段新的学习')).not.toBeInTheDocument()
-})
-
-it('shows one active creation entry at the top of the learning sidebar', () => {
- const onCreate = vi.fn()
- render(
- <CategoryBody
- category="learning"
- collapsed={false}
- view="new-learning"
- collections={collections}
- activeRecord=""
- activePartner=""
- resourceHref=""
- onGo={vi.fn()}
- onRecord={vi.fn()}
- onCreate={onCreate}
- onPartner={vi.fn()}
- onNewPartner={vi.fn()}
- onNewGroup={vi.fn()}
- onResource={vi.fn()}
- />
- )
-
- const create = screen.getByRole('button', { name: '新建学习' })
- const overview = screen.getByRole('button', { name: '所有学习' })
- expect(screen.getAllByRole('button', { name: '新建学习' })).toHaveLength(1)
- expect(screen.queryByText('个性化学习')).not.toBeInTheDocument()
- expect(create).toHaveAttribute('aria-current', 'page')
- expect(create.compareDocumentPosition(overview) & Node.DOCUMENT_POSITION_FOLLOWING).toBeTruthy()
-
- fireEvent.click(create)
- expect(onCreate).toHaveBeenCalledOnce()
-})
-
-it('creates the selected learning kind from the standalone page', () => {
- const onBack = vi.fn()
- const onCreate = vi.fn()
- render(<CreateLearningPage onBack={onBack} onCreate={onCreate} />)
-
- expect(screen.getByRole('heading', { name: '新建学习' })).toBeInTheDocument()
- expect(screen.queryByRole('dialog')).not.toBeInTheDocument()
- expect(screen.getByRole('button', { name: '创建书籍' })).toBeDisabled()
-
- fireEvent.click(screen.getByRole('button', { name: /精通之路/ }))
- fireEvent.change(screen.getByLabelText('名称'), { target: { value: ' 线性代数基础 ' } })
- fireEvent.change(screen.getByLabelText('你想学会什么?'), {
- target: { value: '理解向量与矩阵' },
- })
- fireEvent.click(screen.getByRole('button', { name: '创建精通之路' }))
-
- expect(onCreate).toHaveBeenCalledWith(
- expect.objectContaining({
- title: '线性代数基础',
- kind: 'mastery',
- notes: '理解向量与矩阵',
- detail: '刚刚创建 · 草稿',
- })
- )
-
- fireEvent.click(screen.getByRole('button', { name: '返回所有学习' }))
- expect(onBack).toHaveBeenCalledOnce()
-})