agentty 0.1.14 → 0.2.0

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,6 +5,54 @@ 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.2.0] - 2026-02-22
9
+
10
+ ### Added
11
+
12
+ - **Plan:** Add iterative plan question flow with per-question answer options.
13
+ - **Sync:** Run branch sync in background with loading popup and outcome display.
14
+ - **Sync:** Add session branch sync action with sync-blocked popup.
15
+ - **Sync:** Add assisted conflict resolution for sync main rebase.
16
+ - **Stats:** Add Codex usage limits to stats dashboard.
17
+ - **Stats:** Persist session-creation activity and render by local day.
18
+ - **Stats:** Persist and display all-time model usage and longest session duration.
19
+ - **Help:** Help system uses state-aware action projection.
20
+ - **Dev Server:** Add editable Dev Server setting and run when opening session tmux window.
21
+ - **UX:** Add `h`/`l` shortcuts for confirmation selection.
22
+
23
+ ### Changed
24
+
25
+ - **Architecture:** Refactor agent infrastructure into provider modules.
26
+ - **Architecture:** Split git infrastructure and UI utilities into focused modules.
27
+ - **Architecture:** Inject `GitClient` into app workflows and isolate multi-command git tests.
28
+ - **Refactor:** Move file indexing into infra module and parse using `pulldown-cmark`.
29
+ - **Refactor:** Rename state, file, and mode modules for clarity.
30
+ - **Refactor:** Move module roots from `mod.rs` to sibling files.
31
+ - **Sync:** Add project and branch context to sync popups.
32
+ - **Sync:** Sync main branch by pushing after rebase.
33
+ - **Plan:** Improve plan follow-ups and Codex stats limit rendering.
34
+ - **UX:** Use shared confirmation mode for quit and session deletion.
35
+ - **UX:** Confirmation prompts default to "No" selection.
36
+ - **UX:** Hide open-worktree shortcut for done sessions and restrict view actions while running.
37
+ - **Commit:** Preserve a single evolving session commit.
38
+ - **Search:** Prioritize basename matches in file list fuzzy scoring.
39
+
40
+ ### Fixed
41
+
42
+ - **Codex:** Fix app-server error status recovery and wait for responses before parsing limits.
43
+ - **Stability:** Fix launch and lint regressions after rebase.
44
+ - **UI:** Deduplicate list background rendering and reset grouped session table offset.
45
+
46
+ ### Removed
47
+
48
+ - **Refactor:** Remove orphaned top-level source files from `src/`.
49
+ - **Refactor:** Remove `pr-testing` directory references.
50
+
51
+ ### Contributors
52
+
53
+ - @andagaev
54
+ - @minev-dev
55
+
8
56
  ## [v0.1.14] - 2026-02-21
9
57
 
10
58
  ### Added
@@ -303,7 +351,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
303
351
  - **Diff View:** Show all file changes in diff view.
304
352
  - **Status:** Show status as text in session list and chat title.
305
353
  - **Health:** Added version normalization for agent checks.
306
- - **Testing:** Added `pr-testing` directory to root index.
307
354
 
308
355
  ### Changed
309
356
 
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  A terminal UI tool for managing agents, built with Rust and [Ratatui](https://ratatui.rs).
6
6
 
7
- ![Demo](/docs/demo/demo.gif)
7
+ ![Demo](/docs/assets/demo/demo.gif)
8
8
 
9
9
  ## Installation
10
10
 
@@ -61,10 +61,21 @@ selection becomes the default for newly created sessions.
61
61
  - After a plan response in chat view, an inline action bar appears:
62
62
  - `Implement the plan`: switches that session to `auto_edit` and sends an implementation prompt.
63
63
  - `Type feedback`: opens prompt input so you can send feedback while keeping `plan` mode.
64
- - Use `Left` / `Right` arrows to choose and `Enter` to confirm.
64
+ - Use `Up` / `Down` arrows to choose and `Enter` to confirm.
65
65
  - The active mode is shown in the session chat title.
66
66
  - Changes are persisted for that session and used as defaults for future sessions.
67
67
 
68
+ ## Codex Sessions
69
+
70
+ - Codex sessions run through a persistent per-session `codex app-server` connection.
71
+ - Each Agentty session keeps one Codex thread open across replies.
72
+ - If the app-server connection fails, Agentty retries by restarting Codex app-server with a new thread.
73
+ - When a Codex thread is reset, Agentty replays the session transcript in the next turn prompt so implementation can continue with prior context.
74
+ - Codex session modes map to app-server permissions:
75
+ - `plan`: `approvalPolicy=on-request` and read-only sandbox. Pre-action file/command requests are declined.
76
+ - `auto_edit`: `approvalPolicy=on-request` and workspace-write sandbox. Pre-action file/command requests are accepted.
77
+ - `autonomous`: `approvalPolicy=never` and danger-full-access sandbox. If a pre-action request still appears, it is accepted for the session.
78
+
68
79
  ## Features
69
80
 
70
81
  ### Git Worktree Integration
@@ -75,6 +86,9 @@ Agentty creates isolated worktrees for each session:
75
86
  - **Separate Working Directory:** Sessions work in isolated directories under `~/.agentty/wt/`
76
87
  - **Diff View:** Press `d` in the chat view to see real-time changes made by the agent
77
88
  - **Rebase Action:** Press `r` in the chat view to rebase the session branch onto its base branch
89
+ - **Sync Action:** Press `s` in the session list to run session sync (`pull --rebase` + `push`) for review sessions
90
+ - Sync is available only when the active project branch is `main`
91
+ - Sync is blocked until `main` has no uncommitted changes
78
92
  - **Automatic Cleanup:** Worktrees and branches are automatically removed when sessions are deleted
79
93
 
80
94
  This allows agents to work on code changes without affecting your main working directory.
@@ -87,7 +101,8 @@ This allows agents to work on code changes without affecting your main working d
87
101
 
88
102
  ### Stats Activity Heatmap
89
103
 
90
- - The `Stats` tab now includes a GitHub-style activity heatmap for session creation activity over the last 53 weeks.
104
+ - The `Stats` tab now includes a GitHub-style activity heatmap for persisted session-creation activity over the last 53 weeks.
105
+ - Heatmap history is retained even after deleting old sessions.
91
106
  - Heatmap intensity scales with daily session counts and now includes month labels for easier timeline scanning.
92
107
  - A right-side summary panel highlights favorite model usage, the longest session duration, and per-model input/output token totals.
93
108
  - The per-session token table and overall totals remain available below the heatmap.
@@ -23,7 +23,7 @@
23
23
  "hasInstallScript": true,
24
24
  "license": "Apache-2.0",
25
25
  "name": "agentty",
26
- "version": "0.1.14"
26
+ "version": "0.2.0"
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.14"
518
+ "version": "0.2.0"
519
519
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "artifactDownloadUrl": "https://github.com/opencloudtool/agentty/releases/download/v0.1.14",
2
+ "artifactDownloadUrl": "https://github.com/opencloudtool/agentty/releases/download/v0.2.0",
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.14",
66
+ "version": "0.2.0",
67
67
  "volta": {
68
68
  "node": "18.14.1",
69
69
  "npm": "9.5.0"