diff options
| author | Michelle Tilley <michelle@michelletilley.net> | 2026-04-21 10:32:54 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-21 10:32:54 -0700 |
| commit | 0f20ee4eb871907defe7848f0d3e2203cfff057e (patch) | |
| tree | cda9034c4c6e7b5ecf0fe957978284e9138b80ff /crates/atuin-ai/migrations/20260417000000_add_session_metadata.sql | |
| parent | chore: Clarified note about regular expressions matching in path. (#3427) (diff) | |
| download | atuin-0f20ee4eb871907defe7848f0d3e2203cfff057e.zip | |
feat: AI tool rendering overhaul + edit_file tool (#3423)
Overhaul of how AI tool calls are modeled, rendered, and displayed in
the Atuin AI TUI. Fixes bugs in shell command output capture, implements
the `edit_file` tool with full safety infrastructure, and adds a diff
preview for edits.
Diffstat (limited to 'crates/atuin-ai/migrations/20260417000000_add_session_metadata.sql')
| -rw-r--r-- | crates/atuin-ai/migrations/20260417000000_add_session_metadata.sql | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crates/atuin-ai/migrations/20260417000000_add_session_metadata.sql b/crates/atuin-ai/migrations/20260417000000_add_session_metadata.sql new file mode 100644 index 00000000..f97dfd1b --- /dev/null +++ b/crates/atuin-ai/migrations/20260417000000_add_session_metadata.sql @@ -0,0 +1,9 @@ +CREATE TABLE IF NOT EXISTS session_metadata ( + session_id TEXT NOT NULL, + key TEXT NOT NULL, + value TEXT NOT NULL, + updated_at INTEGER NOT NULL, + + PRIMARY KEY (session_id, key), + FOREIGN KEY (session_id) REFERENCES sessions(id) +); |
