openpencil/crates
Kayshen-X 62c5f02f0a refactor(editor): migrate AIChat panel onto op-editor-core chat state
`AIChatPlaceholder` + the model-picker dropdown now read op-editor-core
types directly:

- `ChatState` / `ChatRole` / `ChatMessage` / `ModelEntry` /
  `AgentProvider` swap from shell-core (`document::*` /
  `chat_models::*` / `agent_settings_state::*`) to
  `op_editor_core::chat::*`.
- `AIChatPlaceholder::from_editor[_at]` takes `&EditorState`, reading
  `state.chat` + resolving chrome labels through `editor_state_ext`'s
  `translate` / `theme_for` instead of `Document::t` / `Document::theme`.

Both hosts' paint + click + press call sites feed `&EditorState`. The
desktop model-discovery worker keeps emitting shell-core `ModelEntry`s,
already translated to op-editor-core's at the `editor_state.chat`
write boundary in `model_discovery.rs` — no change needed there.
2026-05-16 20:59:39 +08:00
..
op-editor-core fix(editor): address host-migration review concerns (stale-doc hit-tests, dirty-mark, legacy load, view-state persist, fill payload) 2026-05-16 19:53:08 +08:00
op-i18n fix(i18n): point convert-locales.py output at the op-i18n crate 2026-05-16 14:25:58 +08:00
op-pen-loader feat(op-editor-core,op-pen-loader): host-migration prerequisites (fill-type, chat-model, layer-collapse, panel predicates, reverse enum bridge) 2026-05-16 18:54:04 +08:00
openpencil-desktop fix(editor): address host-migration review concerns (stale-doc hit-tests, dirty-mark, legacy load, view-state persist, fill payload) 2026-05-16 19:53:08 +08:00
openpencil-shell-core refactor(editor): migrate AIChat panel onto op-editor-core chat state 2026-05-16 20:59:39 +08:00
openpencil-shell-native refactor(editor): migrate AIChat panel onto op-editor-core chat state 2026-05-16 20:59:39 +08:00
openpencil-shell-web refactor(editor): migrate AIChat panel onto op-editor-core chat state 2026-05-16 20:59:39 +08:00
wasm-libc-shim style(shell): cargo fmt --all (rustfmt-clean) 2026-05-10 18:47:33 +08:00
CLAUDE.md docs: fix stale i18n + renderer paths flagged by Codex review 2026-05-16 15:45:54 +08:00