Commit graph

449 commits

Author SHA1 Message Date
Darkatse
f990f778c9 feat(agent): Add Agent Skill management and read tools
- Add file-backed Skill storage with import preview, install, export, source refs, and safe file reads
- Expose the Skill Host API and embedded Preset/Character Skill import prompts
- Register skill.list and skill.read in the Agent tool loop
- Cover archive roundtrips, source cleanup, symlink safety, and API contracts
- Refresh Agent docs around the current Skill capability boundary
2026-05-02 22:10:49 -04:00
Darkatse
20a42e722b refactor(agent): Unify Responses WebSocket transport with HttpClientPool 2026-05-02 15:09:39 -04:00
Darkatse
30fb766f44 feat(agent): Add Responses provider state continuation
- Add run-scoped provider_state for Agent model calls, including
session tracking, message cursors, native continuation metadata, and
OpenAI Responses previous_response_id handling.

- Route OpenAI Responses through WebSocket sessions with incremental
Agent inputs, strip internal provider state from upstream/log payloads,
and persist per-round model responses for diagnostics.

- Document the current Custom OpenAI Responses and Agent provider_state
contracts, replacing stale phase-oriented notes with current behavior.
2026-05-02 02:42:38 -04:00
Darkatse
06cfe0115a feat(agent): Add Phase 2D canonical model gateway
- Route Agent model calls through canonical request and response IR
- Add ChatCompletionExchange for typed normalized responses without splitting legacy generation
- Preserve provider-native metadata for Claude, Gemini, Responses, and Interactions
- Harden tool call ID handling and provider-specific schema adaptation
- Update Agent architecture docs for Phase 2D contracts and follow-up work
2026-05-01 23:10:05 -04:00
Darkatse
b83c1646f3 Revert "Merge pull request #35 from SeveredLine/main"
This reverts commit 76edb45871, reversing
changes made to 7cc89e2fd9.
2026-04-30 12:54:59 -04:00
Darkatse
caf8c8870c Revert "refactor (a11y): Rework screen reader assistance"
This reverts commit 3403377f5e.
2026-04-30 12:54:56 -04:00
Darkatse
d2420cc180 feat(agent): Add Phase 2C context read tools
Add read-only Agent tools for inspecting current chat context and
run-scoped World Info activation.

- Register chat_search, chat_read_messages, and worldinfo_read_activated
- Add message-indexed JSONL readers for character and group chats
- Return chat search snippets with stable message refs instead of full text
- Capture dry-run World Info activation in Agent prompt snapshots
- Keep World Info tool output focused on entry name, lorebook, and content
- Wire context tools through the existing registry, dispatcher, journal, and tool result flow
- Add coverage for chat message reads, chat search dispatch, and activated World Info reads
2026-04-28 23:41:21 -04:00
Darkatse
81ef9f3b73 feat(agent): Add persistent workspace projections
- Add manifest-driven workspace roots with chat-scoped persist projections
- Snapshot persist state at run start and promote changes only after finalizeCommit
- Detect persistent workspace conflicts during commit preparation
- Journal persistent projection, prepare, and commit events
- Split agent workspace tools and file repository storage into focused modules
- Update Agent docs and current-state notes for persist semantics
2026-04-28 22:11:37 -04:00
C.J. Wu
0e6cf681fd
Merge pull request #36 from Darkatse/main
Align with main branch
2026-04-28 20:57:47 -04:00
C.J. Wu
d370489204
Merge branch 'next/2.0.0' into main 2026-04-28 20:57:25 -04:00
Darkatse
3403377f5e refactor (a11y): Rework screen reader assistance
- Isolate Screen Reader Assistance behind explicit lifecycle and event contracts
- Add accessible landmarks, keyboard activation, live status updates, and module-owned sort controls
- Localize new accessibility strings for Chinese locales
- Clarify onboarding accessibility option for low-vision users
- Add accessibility smoke checklist and contract coverage
2026-04-28 20:55:12 -04:00
C.J. Wu
76edb45871
Merge pull request #35 from SeveredLine/main
无障碍
2026-04-28 16:08:47 -04:00
SeveredLine
919e8cea04 a11y 2026-04-28 13:44:03 +08:00
Darkatse
ba57373318 feat(agent): Add Phase 2B workspace read/write tools
- Add workspace list, read, write, patch, and finish tool support
- Track full-read state before applying precise workspace patches
- Persist tool arguments/results and checkpoint workspace mutations
- Return recoverable tool errors to the model for self-correction
- Raise agent tool loop limit to support longer multi-step runs
- Update Agent docs and Host ABI notes for the Phase 2B baseline
2026-04-26 23:34:42 -04:00
Darkatse
528b3b51c5 feat(agent): Add Phase 2A tool loop foundation
- Implement the minimal Rust-owned agent tool loop with workspace write and
finish tools, prompt snapshot execution, checkpoints, run events, and commit
preparation/finalization.

- Add the frontend dry-run prompt snapshot adapter and explicit agent start
entrypoints for legacy Generate integration and manual prompt snapshots. Keep
legacy Generate and ToolManager behavior unchanged outside agent mode.

- Document the Phase 2A contract, current limitations, workspace layout, event
flow, and manual smoke-test workflow.
2026-04-26 19:58:26 -04:00
Darkatse
f76139f961 feat(agent): Agent Phase 1 runtime foundation
- Introduce the Agent domain model, run/workspace/checkpoint repositories,
and a file-backed workspace store with event journaling.

- Wire the runtime service into Tauri commands and expose the frontend Agent
API for starting, observing, cancelling, reading, and committing runs.

- Derive workspaces from stable chat identity while keeping each run isolated,
and make unsupported Phase 1 paths fail fast.

- Document the Agent architecture, API contract, workspace model, LLM gateway,
tool/MCP boundaries, and implementation plan.
2026-04-26 14:28:08 -04:00
Darkatse
5e3430ceda fix (tts): Move Grok and MiMo TTS routing behind backend command 2026-04-26 11:23:30 -04:00
C.J. Wu
e547dd45c7
Merge pull request #33 from Darkatse/main
Add Mimo And Grok TTS to Next/2.0.0
2026-04-26 11:02:10 -04:00
C.J. Wu
7cc89e2fd9
Merge pull request #32 from Darkatse/next/2.0.0
align with next/2.0.0
2026-04-26 11:01:08 -04:00
C.J. Wu
8f284a672d
Merge pull request #31 from RAMU324E/codex/pr-mimo-grok-clean
feat: 添加 MiMo TTS 和 Grok TTS 支持
2026-04-26 10:59:44 -04:00
RAMU324E
d69c5fa0cb add mimo and grok tts support 2026-04-26 18:45:16 +08:00
Darkatse
f49a401c43 fix (theme): Apply SmartTheme colors deterministically on startup 2026-04-26 01:50:15 -04:00
Darkatse
ec1c9304b9 fix (tts): Handle incomplete Web Speech API support as a warning 2026-04-25 13:38:40 -04:00
Darkatse
303153cbf1 fix (ios): Add dark and tinted app icon variants 2026-04-25 12:24:05 -04:00
Darkatse
aa52400feb fix (sync): Allow larger LAN sync plan payloads 2026-04-25 01:32:00 -04:00
Darkatse
9cf35523e5 chore (i18n): Update i18n strings related to "Attach to existing message". 2026-04-25 00:15:11 -04:00
Darkatse
890c64655c fix (chat): Prevent failed chat loads from overwriting history with a fresh greeting 2026-04-24 23:36:49 -04:00
C.J. Wu
9b683f720f
Merge pull request #28 from Darkatse/main
align with main branch
2026-04-24 22:54:42 -04:00
Darkatse
e1b67af0bf fix (deepseek): Adhere to DeepSeek specifications; if tool_calls are present, normalize the reasoning_content within all assistant message. 2026-04-24 22:53:28 -04:00
Darkatse
2aa352dc85 Fix (Claude): Disable Claude contract detection for custom Claude instances. 2026-04-24 22:24:59 -04:00
C.J. Wu
ad07b8697f
Merge pull request #27 from Darkatse/main
Align main changes
2026-04-24 20:10:23 -04:00
Darkatse
aff24b82f2 fix (prompt): Fix parts deviating from the upstream contract following the introduction of ATTACH_EXISTING. 2026-04-24 20:07:08 -04:00
C.J. Wu
6d918d46ad
Merge pull request #26 from Moeblack/feat/attach-prompt-to-existing-message
支持将提示词附着到已有聊天消息
2026-04-24 19:31:42 -04:00
moeblack
8588005309 feat: 支持将提示词附着到已有聊天消息 2026-04-24 16:34:43 +08:00
C.J. Wu
8d76910137
Merge pull request #25 from Darkatse/next/2.0.0
bump version to 1.6.5
2026-04-24 00:51:49 -04:00
Darkatse
6794a39f8f chore (version): bump version to 1.6.5 2026-04-24 00:50:56 -04:00
Darkatse
4de9b6753b chore (format): cargo fmt 2026-04-24 00:50:12 -04:00
Darkatse
c930648cb9 perf (chat files): Optimize the fast path for empty queries when managing chat files, and optimize the summary scanner. 2026-04-24 00:49:36 -04:00
Darkatse
1ab4290995 feat (api): add DeepSeek-V4 Series 2026-04-24 00:04:22 -04:00
Darkatse
aeeef41fe3 feat (Character): Linked WorldInfo is also deleted when a character is removed. 2026-04-23 00:01:50 -04:00
Darkatse
f7ea4bf2a7 fix(persona): normalize restored descriptors and backfill empty persona descriptions 2026-04-22 22:39:58 -04:00
Darkatse
538009ddd2 fix (extension): implement translate extension by wiring /api/translate/* routes to Rust backend with provider 2026-04-22 21:28:16 -04:00
Darkatse
b42da64af4 chore (extension): add translate extension 2026-04-22 16:32:44 -04:00
Darkatse
eb37a4cfdc fix (Android): fix Android IME scroll jump by avoiding transient textarea height collapse 2026-04-21 22:57:56 -04:00
Darkatse
845a5be013 fix (frontend): Fix fetch AbortSignal semantics to prevent blank prompt-viewer message floor 2026-04-21 21:57:56 -04:00
Darkatse
8e95a5812c fix (iOS): Add iOS Local Network permission description for LAN Sync 2026-04-21 21:11:31 -04:00
Darkatse
80a2f869dd chore (extension): add tts extension 2026-04-21 20:46:56 -04:00
Darkatse
27f17098a2 fix (Android): Fix Android IME routing to ignore non-text inputs (e.g., checkboxes) and add regression tests 2026-04-21 20:21:24 -04:00
Darkatse
48dda6eb1a fix (Android): Path import error 2026-04-21 18:19:39 -04:00
Darkatse
0ecad338a2 fix (character): Lazy-repair invalid character create_date on read and persist fix to PNG metadata 2026-04-21 18:00:50 -04:00