Commit graph

23 commits

Author SHA1 Message Date
Darkatse
c899f6405d refactor(database): integrate TriviumDB through a native adapter
Move database ownership, blocking IO and TQL binding into tt-adapter-triviumdb
and upgrade the native engine to 0.8.8. Preserve the plugin API capabilities
with awaited open, numeric IDs and explicit shared-namespace lifecycle.

Coordinate archive IO with database maintenance and restore each namespace
as a complete file group. Keep behavior tests for persistence, parameter
binding, transactions and recovery instead of per-method forwarding tests.

Validated with pnpm run check and tauri-pilot against the macOS app using
the real data root; temporary test namespaces were removed afterward.
2026-09-18 01:42:56 -04:00
Darkatse
a996402de7 docs(agent): simplify and consolidate framework documentation 2026-09-06 20:53:05 -04:00
Darkatse
605ae1b7fd refactor(agent): commit live workspace without checkpoints 2026-08-18 16:20:05 -04:00
Darkatse
206acdeaa7 feat(mcp): add tool execution to legacy generation 2026-08-10 00:19:16 -04:00
Darkatse
6d942b30c0 feat(mcp): persist shared tool catalog snapshots 2026-08-09 02:35:47 -04:00
Darkatse
fc1ebb025e feat(mcp): add explicit user tool test calls 2026-08-09 01:01:02 -04:00
Darkatse
b7670ec6c2 docs(mcp): document the M1 architecture 2026-08-08 02:19:10 -04:00
Darkatse
17c263f67f feat(agent): add run history listing summaries 2026-06-13 23:56:40 +08:00
Darkatse
9bd40b3ff6 feat(agent): wire model target bindings and SubAgent profile controls 2026-05-29 23:47:05 +08:00
Darkatse
1c4c86c99a feat(agent): sync scoped Skills with portable presets and cards 2026-05-21 22:22:36 +08:00
Darkatse
90e612b1a4 feat(agent): add file search and ranged reads
- Add workspace.search_files and skill.search so agents can discover relevant
content in visible workspace files and installed Skills before reading.

- Extend workspace.read_file and skill.read with line and character range reads
for large files, and wire the new capabilities through tool specs, dispatcher,
profile defaults, prompt hints, host Skill APIs, docs, and tests.
2026-05-04 00:44:01 -04:00
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
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
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
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
38497149e4 feat (api): Add mobile layout API 2026-04-05 23:20:02 -04:00
Darkatse
3129362b92 feat(api): Provide a global API for extension storage. 2026-04-04 18:34:10 -04:00
Darkatse
edc72ae889 feat (API): Expose WorldInfo and Dev APIs 2026-03-27 23:48:14 -04:00
Darkatse
36410f8bf5 doc: update TauriTavern Chat API Documents 2026-03-20 21:39:20 -04:00
Darkatse
6fe1c0a20a feat (api): Added a dedicated TauriTavern chat API, to facilitate use by authors of memory-related extensions. 2026-03-20 20:01:33 -04:00