← Về thư mục
📄 / / profiles / r-and-d / raw_evidence / OpenAI4S / frontend / src / features / README.md

frontend/src/features

中文说明

Lane-owned feature modules. Each F-series item adds its own subdirectory and does not edit another lane's files. Per-lane domain modules. F-08 adds the pure-function kernels; later items add components/<area>/ and islands/ beside this tree, and only import stores/ (F-05) rather than editing it.

Subdirectories

Directory Responsibility
csv/ RFC-4180-ish CSV/TSV parser. Converges parseDelimited / csvFields / parseTable.
customize/ F-19 Customize tab state machine, timer lease, API client, vendor helpers.
md/ renderMd / mdInline / esc chain and the unified mdHighlight scanner.
messages/ F-10 message stream: framed history, dual-node markdown, StreamingPre, rAF scroll.
scrub/ publicText credential redaction.
sessions/ F-13 dashboard / projects / sessions, paging, share/import-export, hint + disconnect banner.
stream/ appendLiveOutput 1MB cap.
theme/ Light/dark/system preference. data-theme is the only runtime source of truth.
icons/ The one line-icon table the sessions and chrome icon helpers draw from, plus a coverage test over every painted name.
chrome/ F-20: team mode, modal focus trap, ⌘K palette, upload/notes/mic, layout, column resizers.
ws/ WebSocket cursor protocol, handler registry, connectWS.
artifacts/ F-17 Files + version cache + scientific renderer glue (M-03).
notebook/ Notebook dock: cell merge/live protocol, CellList keyed by producing_cell_id, kernel chips/REPL.
timeline/ F-15 Action Timeline: sanitize* / merge, virtualized ledger island, workbench WS.
autocomplete/ F-12 composer (@/#/) and editor autocomplete. Keywords from F-08 editorKeywords.
send/ F-11 send chain, turn tickets, step/plan/permission/candidate cards, admission tracker.
attention/ M-02 Dashboard attention cards: B-05 GET /attention, closed-set local navigation, 4s visible-page poll.
execution/ F-16 executed-code view, variable inspector, Provenance tab, fork 409 presentation.
onboarding/ M-01 first-run wizard: four-step machine, skip/checklist, capability badges.
table/ M-04 table Schema / Distribution / Export. B-07 /table/profile + /table/export.csv; approximate is explicit; flag=0 falls back to the sheet.