agentty 0.1.13 → 0.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,9 +5,52 @@ 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.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [v0.1.14] - 2026-02-21
9
+
10
+ ### Added
11
+
12
+ - **Stats:** Add activity heatmap to the Stats tab.
13
+ - **Stats:** Track per-model session usage and render usage summaries.
14
+ - **Settings:** Add settings tab and persist default model.
15
+ - **Diff View:** Split diff view into file list and content panels with file explorer navigation.
16
+ - **Diff View:** Render changed files as a tree in the file explorer.
17
+ - **Diff View:** Filter diff view content by selected file explorer item.
18
+ - **Site:** Add agentty.xyz documentation site with GitHub Pages deployment workflow.
19
+
20
+ ### Changed
21
+
22
+ - **Architecture:** Refactor codebase into domain, infrastructure, and UI state modules.
23
+ - **Architecture:** Move tab state into a dedicated tab manager.
24
+ - **Session List:** Group sessions by merge queue and separate archived sessions with placeholders.
25
+ - **Session List:** Align session navigation with grouped list order.
26
+ - **Session Output:** Render session output and user prompt blocks as markdown.
27
+ - **Session Output:** Preserve multiline user prompt block spacing and verbatim rendering.
28
+ - **Merge Queue:** Queue session merges in FIFO order and handle queued sessions across app and UI.
29
+ - **Merge Queue:** Advance merge queue progression and retry on git index lock failures.
30
+ - **Merge:** Treat already-applied squash merges as successful.
31
+ - **Rebase:** Harden rebase assist loop against partially resolved conflicts.
32
+ - **Output:** Task service batches streamed output before flushing.
33
+ - **Output:** Separate streamed response messages for Codex output spacing.
34
+ - **Models:** Load default session model from persisted setting.
35
+ - **Models:** Use npm semver for version checks and restore version display in status bar.
36
+ - **Prompt:** Handle multiline paste and control-key newlines in prompt input.
37
+ - **Site:** Redesign landing page with dark terminal theme, Tailwind CSS v4, and theme selector.
38
+ - **Deps:** Bump dependency versions.
39
+
40
+ ### Fixed
41
+
42
+ - **Build:** Fix refactor regressions and restore build stability after module restructure.
43
+
44
+ ### Contributors
45
+
46
+ - @andagaev
47
+ - @dependabot[bot]
48
+ - @minev-dev
49
+
8
50
  ## [v0.1.13] - 2026-02-19
9
51
 
10
52
  ### Added
53
+
11
54
  - **Session Output:** Render styled markdown in session chat output.
12
55
  - **Session Output:** Switch to stream-json output and parse Gemini stream events.
13
56
  - **Session Output:** Extract session output into dedicated UI component.
@@ -16,6 +59,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
59
  - **Models:** Add verbose flag to Claude stream-json commands.
17
60
 
18
61
  ### Changed
62
+
19
63
  - **Session Metadata:** Move session status to output panel title and metadata to chat input border.
20
64
  - **Session Titles:** Persist session title and summary from squash commit message.
21
65
  - **Session Titles:** Use full prompt as session title for new sessions.
@@ -27,21 +71,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
27
71
  - **NPM:** Update package name to `agentty` in docs and badges.
28
72
 
29
73
  ### Fixed
74
+
30
75
  - **UI:** Fix session list table column layout constraints.
31
76
  - **Runtime:** Add shutdown signal to event reader thread for cleaner exit.
32
77
 
33
78
  ### Contributors
79
+
34
80
  - @andagaev
35
81
  - @minev-dev
36
82
 
37
83
  ## [v0.1.12] - 2026-02-19
38
84
 
39
85
  ### Added
86
+
40
87
  - **Session UX:** Added a delete confirmation mode with selectable actions for session deletion.
41
88
  - **Output Streaming:** Added a live single-line progress indicator in chat and spacing before the first streamed response chunk.
42
89
  - **Agent Runtime:** Added Codex output streaming during non-interactive runs and follow-up actions for plan mode replies.
43
90
 
44
91
  ### Changed
92
+
45
93
  - **Git Runtime:** Completed async `git` module transition to `spawn_blocking` and updated call sites.
46
94
  - **Session Model:** Refactored sessions to derive `AgentKind` from `AgentModel`, removed the session `agent` column, and migrated legacy PR statuses to `Review`.
47
95
  - **Merge/Rebase:** Improved merge and rebase robustness by auto-committing pending changes before merge/rebase and broadening auto-commit assistance handling.
@@ -50,16 +98,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
50
98
  - **Config:** Removed `npm-scope` from `dist-workspace.toml`.
51
99
 
52
100
  ### Removed
101
+
53
102
  - **Pull Requests:** Removed pull request functionality.
54
103
  - **UI Cleanup:** Removed delete confirmation bottom hints.
55
104
 
56
105
  ### Contributors
106
+
57
107
  - @andagaev
58
108
  - @minev-dev
59
109
 
60
110
  ## [v0.1.11] - 2026-02-16
61
111
 
62
112
  ### Added
113
+
63
114
  - **Permissions:** Add per-session permission mode toggle and `Plan` permission mode with denial-gated response parsing.
64
115
  - **Session Control:** Add `Ctrl+c` to stop running agent sessions.
65
116
  - **Prompt History:** Implement prompt history navigation with up/down arrows.
@@ -70,6 +121,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
70
121
  - **Terminal Summaries:** Persist terminal summaries for session outcomes.
71
122
 
72
123
  ### Changed
124
+
73
125
  - **Architecture:** Refactor app into manager composition with event-driven session state updates and reducer-based routing for git status, PR control, and session mutations.
74
126
  - **Architecture:** Split session module and centralize lookups; separate session snapshots from runtime handles.
75
127
  - **Session Defaults:** New sessions inherit the latest session's agent, model, and permission mode.
@@ -82,20 +134,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
82
134
  - **Docs:** Document app module architecture and public API docs; add cargo install instructions to README.
83
135
 
84
136
  ### Removed
137
+
85
138
  - **Health Module:** Remove health check module and wiring.
86
139
 
87
140
  ### Contributors
141
+
88
142
  - @andagaev
89
143
  - @minev-dev
90
144
 
91
145
  ## [v0.1.10] - 2026-02-15
92
146
 
93
147
  ### Added
148
+
94
149
  - **Review Workflow:** Added an explicit `Merging` session status and a review-session rebase action.
95
150
  - **Session UX:** Added read-only controls for done sessions and a `/clear` slash command.
96
151
  - **Help UI:** Added a `?` keybinding with an updated overlay and descriptive slash-command menu.
97
152
 
98
153
  ### Changed
154
+
99
155
  - **Session List:** Split session metadata into `Project`, `Model`, and `Status` columns with dynamic width sizing.
100
156
  - **Runtime:** Run session commands through per-session workers and restore interrupted sessions into `Review`.
101
157
  - **Stats:** Accumulate token usage over time and preserve stats after `/clear`.
@@ -103,6 +159,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
103
159
  - **UI Cleanup:** Removed agent labels from session list rows and session chat titles.
104
160
 
105
161
  ### Contributors
162
+
106
163
  - @andagaev
107
164
  - @dependabot[bot]
108
165
  - @minev-dev
@@ -110,55 +167,66 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
110
167
  ## [v0.1.9] - 2026-02-13
111
168
 
112
169
  ### Added
170
+
113
171
  - **Diff View:** Added diff content wrapping to render long changed lines without truncation.
114
172
  - **Diff View:** Added structured parsing with line-number gutters (`old│new`) for unified diffs.
115
173
  - **Docs:** Added a demo GIF to the README and documented GIF generation with VHS.
116
174
 
117
175
  ### Changed
176
+
118
177
  - **Diff View:** Compare against each session's base branch so review shows all accumulated changes.
119
178
  - **Workflow:** Simplified commit flow by auto-committing after agent iterations and removing manual commit mode.
120
179
  - **Release Docs:** Added contributor-list requirements and examples to the release workflow documentation.
121
180
 
122
181
  ### Contributors
182
+
123
183
  - @minev-dev
124
184
 
125
185
  ## [v0.1.8] - 2026-02-13
126
186
 
127
187
  ### Added
188
+
128
189
  - **Onboarding:** Added a full-screen onboarding page shown when no sessions exist.
129
190
  - **Tests:** Added onboarding behavior coverage for app state, list mode `Enter` handling, and UI rendering conditions.
130
191
 
131
192
  ### Changed
193
+
132
194
  - **UX:** Pressing `Enter` from the onboarding view now creates a new session and opens prompt mode directly.
133
195
  - **Error Handling:** Session creation errors in list mode are now surfaced instead of being silently ignored.
134
196
  - **UI:** Kept the footer visible during onboarding and simplified session list rendering to consistently use the table layout.
135
197
 
136
198
  ### Contributors
199
+
137
200
  - @minev-dev
138
201
 
139
202
  ## [v0.1.7] - 2026-02-12
140
203
 
141
204
  ### Added
205
+
142
206
  - **UI:** Show session worktree path and branch in the footer bar for better context awareness.
143
207
  - **UI:** Display commit count in the session chat title.
144
208
  - **Stats:** Add session token usage statistics to the Stats page.
145
209
 
146
210
  ### Changed
211
+
147
212
  - **Persistence:** Moved application data directory from `/var/tmp/.agentty` to `~/.agentty` for better persistence and standard compliance.
148
213
  - **UX:** Renamed "Roadmap" tab to "Stats" to better reflect its content.
149
214
  - **UX:** Use shortened 8-character UUIDs for session folders and git branches to reduce clutter.
150
215
  - **Internal:** Standardized session ID variable naming across the codebase.
151
216
 
152
217
  ### Contributors
218
+
153
219
  - @andagaev
154
220
  - @minev-dev
155
221
 
156
222
  ## [v0.1.6] - 2026-02-10
157
223
 
158
224
  ### Added
225
+
159
226
  - **Session Status:** Added a `Committing` status to make commit progress explicit in the session lifecycle.
160
227
 
161
228
  ### Changed
229
+
162
230
  - **Persistence:** Persist session prompt/output history in SQLite and load it on startup so chat history survives app reloads.
163
231
  - **Session Output:** Parse agent JSON output and display only the response message in session output.
164
232
  - **GitHub Integration:** Parse GitHub PR responses using typed serde structs and move GitHub CLI logic into a dedicated `gh` module.
@@ -167,21 +235,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
167
235
  - **Documentation:** Extract git commit guidance into the shared skills documentation.
168
236
 
169
237
  ### Fixed
238
+
170
239
  - **Tests:** Stabilized merge cleanup testing to avoid environment-dependent blocking during release verification.
171
240
 
172
241
  ### Contributors
242
+
173
243
  - @andagaev
174
244
  - @minev-dev
175
245
 
176
246
  ## [v0.1.5] - 2026-02-08
177
247
 
178
248
  ### Added
249
+
179
250
  - **Tests:** Added runtime mode handler coverage tests.
180
251
  - **Documentation:** Added local `AGENTS.md` files and enforced folder index checks.
181
252
  - **Documentation:** Added Context7-first rule for retrieving latest tool info.
182
253
  - **Documentation:** Documented dependency injection testability guidance.
183
254
 
184
255
  ### Changed
256
+
185
257
  - **Architecture:** Modularized app and runtime into focused modules (`app/` and `runtime/`).
186
258
  - **Runtime:** Injected event source into the runtime event loop for better testability.
187
259
  - **Session:** Made agent and model configurations session-scoped.
@@ -190,17 +262,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
190
262
  - **Refactor:** Refactored long handlers to enforce clippy line limits.
191
263
 
192
264
  ### Contributors
265
+
193
266
  - @minev-dev
194
267
 
195
268
  ## [v0.1.4] - 2026-02-08
196
269
 
197
270
  ### Added
271
+
198
272
  - **Session Identity:** Migrated session IDs to UUIDs for stable identification.
199
273
  - **Session Management:** Added a forward-only migration system for schema changes.
200
274
  - **UI:** Added nullable title support to sessions.
201
275
  - **UI:** Improved chat input with indentation preservation on wrapped lines.
202
276
 
203
277
  ### Changed
278
+
204
279
  - **Session Ordering:** Sessions are now strictly ordered by `updated_at` (latest first).
205
280
  - **Performance:** Implemented incremental session state refresh to reduce database load.
206
281
  - **UX:** Moved prompt cursor by visual wrapped lines for better navigation.
@@ -210,16 +285,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
210
285
  - **Database:** Use multiline SQL strings for better query readability.
211
286
 
212
287
  ### Removed
288
+
213
289
  - Removed project-filtered session loader.
214
290
  - Removed git worktree suffix from initial session prompt.
215
291
  - Removed Reply mode; unified into session chat page.
216
292
 
217
293
  ### Contributors
294
+
218
295
  - @minev-dev
219
296
 
220
297
  ## [v0.1.3] - 2026-02-08
221
298
 
222
299
  ### Added
300
+
223
301
  - **Backends:** Added Codex backend support.
224
302
  - **Project Management:** Added project switching with automatic sibling discovery.
225
303
  - **Diff View:** Show all file changes in diff view.
@@ -228,6 +306,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
228
306
  - **Testing:** Added `pr-testing` directory to root index.
229
307
 
230
308
  ### Changed
309
+
231
310
  - **Concurrency:** Converted event loop to async to fix TUI freezing on macOS.
232
311
  - **Input:** Improved multiline input editing.
233
312
  - **Workflow:** Enforced review-based session status transitions.
@@ -236,16 +315,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
236
315
  - **Formatting:** Added code formatting rules and applied to `ag-xtask`.
237
316
 
238
317
  ### Fixed
318
+
239
319
  - Fixed UI freezing on macOS during agent execution.
240
320
  - Clarified git worktree requirements in README.
241
321
 
242
322
  ### Contributors
323
+
243
324
  - @andagaev
244
325
  - @minev-dev
245
326
 
246
327
  ## [v0.1.2] - 2026-02-08
247
328
 
248
329
  ### Added
330
+
249
331
  - **GitHub Integration:** Added 'p' command to create GitHub Pull Requests (draft by default).
250
332
  - **GitHub Integration:** Added GitHub CLI health check with nested auth sub-check.
251
333
  - **UI:** Centralized icons into a reusable `Icon` enum.
@@ -253,6 +335,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
253
335
  - **Database:** Persist session status to the database.
254
336
 
255
337
  ### Changed
338
+
256
339
  - **UX:** Use `/` selector in command palette dropdowns.
257
340
  - **UX:** Ensure exactly one blank line before the spinner in chat view.
258
341
  - **Health:** Rename Claude health check label to Claude Code.
@@ -260,14 +343,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
260
343
  - **Internal:** Optimize quality gates for AI agents.
261
344
 
262
345
  ### Removed
346
+
263
347
  - Remove custom Gemini configuration creation.
264
348
 
265
349
  ### Contributors
350
+
266
351
  - @minev-dev
267
352
 
268
353
  ## [v0.1.1] - 2026-02-08
269
354
 
270
355
  ### Added
356
+
271
357
  - **Database:** Introduce SQLite via SQLx for session metadata.
272
358
  - **UI:** Add command palette with agents selection.
273
359
  - **UI:** Add health check splash screen via `/health` command.
@@ -275,12 +361,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
275
361
  - **Docs:** Add installation guide to README.
276
362
 
277
363
  ### Changed
364
+
278
365
  - **Async:** Convert sync DB wrapper and thread spawns to native async.
279
366
  - **Tooling:** Replace `cargo-machete` with `cargo-shear` in quality gates.
280
367
  - **UI:** Use tilde for home directory in footer.
281
368
  - **Internal:** Reorder struct fields by visibility and name.
282
369
 
283
370
  ### Contributors
371
+
284
372
  - @andagaev
285
373
  - @minev-dev
286
374
 
@@ -289,6 +377,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
289
377
  - Initial release.
290
378
 
291
379
  ### Contributors
380
+
292
381
  - @andagaev
293
382
  - @dependabot[bot]
294
383
  - @minev-dev
package/README.md CHANGED
@@ -85,10 +85,17 @@ This allows agents to work on code changes without affecting your main working d
85
85
  - Supported formatting includes headings, bold/italic text, inline code, fenced code blocks, lists, blockquotes, and horizontal rules.
86
86
  - User prompt lines (` › ...`) remain visually distinct in cyan bold styling.
87
87
 
88
+ ### Stats Activity Heatmap
89
+
90
+ - The `Stats` tab now includes a GitHub-style activity heatmap for session creation activity over the last 53 weeks.
91
+ - Heatmap intensity scales with daily session counts and now includes month labels for easier timeline scanning.
92
+ - A right-side summary panel highlights favorite model usage, the longest session duration, and per-model input/output token totals.
93
+ - The per-session token table and overall totals remain available below the heatmap.
94
+
88
95
  ### Version Update Notice
89
96
 
90
- - On startup, Agentty checks for the latest stable release tag from GitHub.
91
- - If a newer version exists, an inline `New version vX.Y.Z available` notice is shown:
97
+ - On startup, Agentty checks npmjs for the latest `agentty` version.
98
+ - If a newer version exists, an inline `vX.Y.Z version available update with npm i -g agentty@latest` notice is shown:
92
99
  - in the top status bar next to the current version
93
100
  - on the onboarding screen when there are no sessions
94
101
 
@@ -100,6 +107,18 @@ cd agentty
100
107
  cargo run # Builds and runs the 'agentty' binary
101
108
  ```
102
109
 
110
+ ## Website
111
+
112
+ `agentty.xyz` is a Zola site stored in `docs/site/` and deployed through GitHub Pages.
113
+
114
+ ```sh
115
+ # Preview locally
116
+ zola serve --root docs/site
117
+
118
+ # Build static output
119
+ zola build --root docs/site
120
+ ```
121
+
103
122
  ## Development
104
123
 
105
124
  ```sh
@@ -23,7 +23,7 @@
23
23
  "hasInstallScript": true,
24
24
  "license": "Apache-2.0",
25
25
  "name": "agentty",
26
- "version": "0.1.13"
26
+ "version": "0.1.14"
27
27
  },
28
28
  "node_modules/@isaacs/balanced-match": {
29
29
  "engines": {
@@ -515,5 +515,5 @@
515
515
  }
516
516
  },
517
517
  "requires": true,
518
- "version": "0.1.13"
518
+ "version": "0.1.14"
519
519
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "artifactDownloadUrl": "https://github.com/opencloudtool/agentty/releases/download/v0.1.13",
2
+ "artifactDownloadUrl": "https://github.com/opencloudtool/agentty/releases/download/v0.1.14",
3
3
  "author": "Vladimir Minev",
4
4
  "bin": {
5
5
  "agentty": "run-agentty.js"
@@ -63,7 +63,7 @@
63
63
  "zipExt": ".tar.xz"
64
64
  }
65
65
  },
66
- "version": "0.1.13",
66
+ "version": "0.1.14",
67
67
  "volta": {
68
68
  "node": "18.14.1",
69
69
  "npm": "9.5.0"