feat(tat): add Terminal Activity Tracker v1 with local SQLite storage and shell hooks#1
Draft
cto-new[bot] wants to merge 1 commit intomasterfrom
Draft
feat(tat): add Terminal Activity Tracker v1 with local SQLite storage and shell hooks#1cto-new[bot] wants to merge 1 commit intomasterfrom
cto-new[bot] wants to merge 1 commit intomasterfrom
Conversation
…torage and shell hooks This initial MVP introduces a private, local terminal activity tracker that records commands executed in shells (Zsh and Bash) and stores metadata in a local SQLite database. It provides a minimal CLI for initialization, enabling/disabling tracking, and searching past commands, with extensible architecture for future features. - Adds SQLite-backed models (Session, Command, Output) and storage glue with migrations - Implements core CLI: init, enable, disable, status, search, start, record, and install-shell - Introduces shell integration via preexec/postexec hooks for Bash and Zsh - Stores data locally under ~/.tat/tat.db and exposes privacy controls (TAT_DISABLE) - Adds install-shell and shell hook scripts to ~/.tat Breaking changes: none
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Introduce Terminal Activity Tracker v1 as a private, local tool that records terminal commands and stores metadata in a local SQLite database. It provides a minimal CLI to initialize, enable/disable, and search, and includes shell integration to capture execution metadata.
Details
Warning: Task VM test is not passing, cto.new will perform much better if you fix the setup