mirror of
https://github.com/ZSeven-W/openpencil.git
synced 2026-06-01 03:14:29 +07:00
ChatRequest gains an attachments field; ChatState carries a per-turn thinking mode, effort level and staged attachments (capped at 4 files / 5 MiB, attachment-only sends allowed). The chat panel grows a controls row (thinking / effort / attach) and a dedicated attachment-chip row, with hit-test and paint sharing one input-block origin. All five providers consume the knobs — Claude maps thinking onto the SDK token budget, Copilot onto reasoning_effort, the CLI / built-in transports prepend an in-band directive, the HTTP transport adds body fields; attachments spill to a private per-turn temp dir (cleaned on drop) or inline base64. Also wires op-ai-skills into the built-in provider and op-acp in as the AcpProvider chat backend. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||