You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(core): implement unified service layer and automation API
Introduce a centralized `TaskService` to act as the single source of truth
for the TUI, Lua plugin system, and CLI. This architectural overhaul
enables a stable automation API and a robust event-driven plugin
ecosystem.
- **Core Architecture**: Refactored internal logic to use `TaskService`
instead of direct repository access, decoupling storage from business
logic.
- **Automation API**: Added a new `kairo api` subcommand providing
stable JSON-based control for external scripting and CI/CD integration.
- **Plugin System**:
- Implemented a unified Lua engine with full CRUD access and event
hooks (`task_create`, `task_update`, `task_delete`, `app_start`,
`app_stop`).
- Standardized plugin structure for custom commands and views.
- **UI Improvements**:
- Resolved background rendering bleed-through by adding explicit
ANSI background colors to all styles and spacers.
- Added dynamic view shortcuts (1-9) and a dedicated tag filter key (`f`).
- **DevOps**: Updated GoReleaser configuration with modern schema and
Homebrew formula support.
- Tag input not closable
Fixes#4
-script API idea
Fixes#5
Copy file name to clipboardExpand all lines: CHANGELOG.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,31 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [1.1.0]
9
+
10
+
### Added
11
+
-**Unified Extensibility System**: A shared task service layer for TUI, Lua, and CLI.
12
+
-**Automation CLI API**: Stable `kairo api` command for external scripting and JSON integration.
13
+
-**Enhanced Lua Plugin System**:
14
+
- Full Task CRUD access via `kairo` module.
15
+
- Event Hook System subscribing to `task_create`, `task_update`, `task_delete`, `app_start`, and `app_stop`.
16
+
- Improved Plugin Host with robust error handling and unified engine.
17
+
-**App Lifecycle Events**: Proper emission of start/stop events for plugin orchestration.
18
+
-**Dynamic View Shortcuts**: `1-9` keys now switch to the corresponding tab index, working for all built-in and plugin-provided views.
19
+
-**Specific Tag Filter Key**: `f` now specifically switches to the Tag View and opens the filter input modal.
20
+
21
+
### Fixed
22
+
-**Background Rendering Bleed-Through**: Resolved a visual bug where the terminal's default background color showed through in whitespace regions, creating inconsistent visuals across the entire viewport.
23
+
-**Root Cause**: Inline spacer strings (`strings.Repeat(" ", N)`) in the header, footer, and task rows were plain text without ANSI background escape codes. Additionally, multiple Lip Gloss styles (`Muted`, `Accent`, `Badge*`, `Tab*`) were defined without `.Background()`, causing their ANSI reset codes to clear the container's background.
24
+
- Added explicit `.Background(t.Bg)` to all content-level styles (`Muted`, `Accent`, `TabActive`, `TabInactive`, `Badge`, `BadgeGood`, `BadgeWarn`, `BadgeBad`, `BadgeMuted`).
25
+
- Wrapped all inline spacer strings in styled renders with the theme background color.
26
+
- Added background to the detail view outer container.
27
+
- The fix is robust across resizing, scrolling, theme switching, and all UI modes.
28
+
### Changed
29
+
- Refactored internal architecture to use `TaskService` as the single source of truth.
30
+
- Standardized Lua plugin structure with metadata, commands, and views.
31
+
- Improved CLI consistency with new `api` subcommand flags and JSON support.
🧩 **Extensible** — Lua-based plugins for custom workflows
32
+
🧩 **Extensible** — Unified Lua plugin system and CLI automation API
32
33
📱 **Responsive Layout** — Gracefully adapts to any terminal size
34
+
🤖 **Automation-Friendly** — Headless API for external scripts and CI/CD
33
35
34
36
Built with [Bubble Tea](https://github.com/charmbracelet/bubbletea) (TUI framework), [Lip Gloss](https://github.com/charmbracelet/lipgloss) (terminal styling), and SQLite (local storage).
35
37
@@ -39,16 +41,86 @@ Built with [Bubble Tea](https://github.com/charmbracelet/bubbletea) (TUI framewo
0 commit comments