[PR #59] [CLOSED] feat: Persist the input history between runs. #9521

Closed
opened 2026-02-16 18:13:42 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/59
Author: @Artmann
Created: 5/25/2025
Status: Closed

Base: devHead: artmann/persist-message-history2


📝 Commits (2)

  • 8eb2c08 feat: Persist the input history between runs.
  • e4f9c6f add symlink

📊 Changes

11 files changed (+1062 additions, -98 deletions)

View changed files

📝 internal/app/app.go (+5 -0)
📝 internal/db/db.go (+94 -54)
internal/db/migrations/20250526000000_user_input_history.sql (+19 -0)
📝 internal/db/models.go (+7 -0)
📝 internal/db/querier.go (+4 -0)
internal/db/sql/user_input_history.sql (+26 -0)
internal/db/user_input_history.sql.go (+103 -0)
internal/history/input_history.go (+365 -0)
internal/history/input_history_test.go (+403 -0)
📝 internal/tui/components/chat/editor.go (+35 -44)
test (+1 -0)

📄 Description

Saves the user's input history in a session to the database.

Fixes #57


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/59 **Author:** [@Artmann](https://github.com/Artmann) **Created:** 5/25/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `artmann/persist-message-history2` --- ### 📝 Commits (2) - [`8eb2c08`](https://github.com/anomalyco/opencode/commit/8eb2c0840be288457eb057f7d168b6dc410e2e14) feat: Persist the input history between runs. - [`e4f9c6f`](https://github.com/anomalyco/opencode/commit/e4f9c6fecfd3ce62770d0a92d9dad7edfa0c7abb) add symlink ### 📊 Changes **11 files changed** (+1062 additions, -98 deletions) <details> <summary>View changed files</summary> 📝 `internal/app/app.go` (+5 -0) 📝 `internal/db/db.go` (+94 -54) ➕ `internal/db/migrations/20250526000000_user_input_history.sql` (+19 -0) 📝 `internal/db/models.go` (+7 -0) 📝 `internal/db/querier.go` (+4 -0) ➕ `internal/db/sql/user_input_history.sql` (+26 -0) ➕ `internal/db/user_input_history.sql.go` (+103 -0) ➕ `internal/history/input_history.go` (+365 -0) ➕ `internal/history/input_history_test.go` (+403 -0) 📝 `internal/tui/components/chat/editor.go` (+35 -44) ➕ `test` (+1 -0) </details> ### 📄 Description Saves the user's input history in a session to the database. Fixes #57 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:13:42 -05:00
yindo closed this issue 2026-02-16 18:13:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9521