7 Commits
Author SHA1 Message Date
xming521andClaude Opus 5.5 61ac1b7e4a refactor(ui): say 板块 instead of 领域 in Chinese text
The life areas of the portrait (饮食, 恋爱与婚姻, ...) read oddly as 领域.
The web UI, CLI stages, server errors, MCP text, docs/zh and the settings
template now say 板块, and the summary page is 板块总结. English keeps
domain. Prompts and `domain` identifiers are unchanged so the LLM cache
stays valid.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 22:40:23 +08:00
xming521andClaude Opus 5.5 ee60a089ac feat(web): English UI with a 中/EN switch
The web UI only spoke Chinese. Its copy now lives in i18next catalogs
(zh-CN as the source, en as the translation) read through typed
selectors. The language follows the browser until the 中/EN switch in
the top bar or on the sign-in page saves a choice. Switching relabels
the map and keeps the selection.

Server errors shown in the UI carry a `code` that the page words in its
own language, while `detail` keeps the Chinese text for other clients.
The summary view sends a failure as data instead of a sentence, and the
source chat no longer sends a speaker label.

Tests check that both catalogs share keys, variables and tags, and
ESLint rejects Chinese text in web/src outside the catalogs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 00:55:40 +08:00
xming521andClaude Opus 5.5 9690b1bb1f refactor(agent): drop compat paths for earlier agent data
Agent features have no users yet, so code kept only for earlier runs, checkpoints, auth databases
and config layouts goes.

- distill: per-sample build_prompt/render_chat, the resume-time current_state re-filter and the
  input_writeback skip with its overwrite plumbing
- codex_exec takes every request setting from codex_exec_args. agent_distill_args
  batch_size/timeout/max_tokens apply to the api backend only, and AgentDistillArgs loses
  model/effort/command/sandbox
- organize_memories: --preferences-only, peer keys without chat_with_id and summaries without
  peer_relations.json. The context window lookup normalizes llm_provider like the distill config
- auth: the user_version migration of the generated-password scheme
- the review store, harness profile tree, domain summaries and web atlas expect domains
- source_chat: origins without kind
- tests that only covered removed behaviour are dropped. Review, web auth and server tests left
  stale by the shared-password rewrite set the password through /api/auth/setup, and the template
  cooldown assertion matches 20.0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 19:52:32 +08:00
xming521andClaude Opus 5.5 2484b4f288 feat(web): domain summary page
- #/summary, linked from the mode switch, lists each domain's summary under a privacy cap
  (public or normal) with generate, edit, approve and reject
- stale summaries are marked and leave the export until regenerated and approved
- the export panel shows the text to paste into a personal assistant

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 19:08:02 +08:00
xming521andClaude Opus 5.5 ab7f4c500e feat(web): privacy levels and tags in review, staggered domain rings
- facts and evidence show their privacy level, the overview shows the level spread in scope,
  and level toggles narrow the review list
- fact cards list their sources' extraction tags, the most shared first
- "全选" takes the whole filtered list and confirms when it includes facts not shown yet
- with eight or more domains the clusters alternate between an inner and an outer ring without
  overlapping; domain colours follow one OKLCH hue walk
- the synthetic demo profile gains domains, privacy levels and source tags

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 20:37:55 +08:00
xming521andClaude Opus 5.5 5845555529 feat(web): canvas profile atlas with night intro, and a domain view
- Replace the G6 graph with a canvas atlas engine (paint, node looks,
  metrics, flow lines), an entrance animation and a first-visit night
  intro; drop @antv/g6.
- Add a 按维度/按领域 switch in the left panel. Profiles organized by
  domain regroup the same facts as domain → topic → attribute, with
  fixed domain colours, domain descriptions, and the dimension named on
  each review card. Profiles without domains keep the dimension view.
- Rebuild weclone/web/dist and un-ignore web/tests/*.test.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 19:13:01 +08:00
xming521andClaude Opus 5.5 ad288b7bd7 Refactor profile web UI into atlas/review modules and improve graph layout
- Split the frontend into atlas/ and review/ modules with a shared api client,
  and add Prettier, ESLint and node tests for graph layout and data helpers
- Lay out expanded dimensions as separate clusters around the root
- Let the force simulation cool slowly after a node drag instead of stopping abruptly
- Reopening the collapsed root resets the map to its initial layout
- Use one loading screen style for the page and canvas loading states
- Clear stale errors when retrying fact history
- Rebuild weclone/web/dist

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 20:09:16 +08:00