agentty 0.1.14 → 0.2.1

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,81 @@ 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.1] - 2026-02-22
9
+
10
+ ### Added
11
+
12
+ - **Session Output:** Add toggle to switch between summary and full output for completed sessions.
13
+ - **Release:** Require explicit confirmation for version bump type in release skill.
14
+ - **Runtime:** Track active turn ID to prevent race conditions during turn completion.
15
+
16
+ ### Changed
17
+
18
+ - **Architecture:** Refactor UI routing and overlays into dedicated modules and centralize frame drawing.
19
+ - **Session:** Defer session cleanup and load at-mention entries asynchronously for faster startup.
20
+ - **Git:** Retry git commands on index lock contention and simplify session view handling.
21
+ - **Settings:** Only persist default model when the "last-used" option is enabled.
22
+ - **Rebase:** Improve recovery from stale metadata during rebase assist.
23
+ - **Permissions:** Consolidate permission handling into a single "Auto Edit" mode.
24
+
25
+ ### Removed
26
+
27
+ - **Permissions:** Remove legacy permission mode column from database and UI.
28
+ - **Permissions:** Remove non-auto permission modes and plan follow-up functionality.
29
+
30
+ ### Contributors
31
+
32
+ - @andagaev
33
+ - @minev-dev
34
+
35
+ ## [v0.2.0] - 2026-02-22
36
+
37
+ ### Added
38
+
39
+ - **Plan:** Add iterative plan question flow with per-question answer options.
40
+ - **Sync:** Run branch sync in background with loading popup and outcome display.
41
+ - **Sync:** Add session branch sync action with sync-blocked popup.
42
+ - **Sync:** Add assisted conflict resolution for sync main rebase.
43
+ - **Stats:** Add Codex usage limits to stats dashboard.
44
+ - **Stats:** Persist session-creation activity and render by local day.
45
+ - **Stats:** Persist and display all-time model usage and longest session duration.
46
+ - **Help:** Help system uses state-aware action projection.
47
+ - **Dev Server:** Add editable Dev Server setting and run when opening session tmux window.
48
+ - **UX:** Add `h`/`l` shortcuts for confirmation selection.
49
+
50
+ ### Changed
51
+
52
+ - **Architecture:** Refactor agent infrastructure into provider modules.
53
+ - **Architecture:** Split git infrastructure and UI utilities into focused modules.
54
+ - **Architecture:** Inject `GitClient` into app workflows and isolate multi-command git tests.
55
+ - **Refactor:** Move file indexing into infra module and parse using `pulldown-cmark`.
56
+ - **Refactor:** Rename state, file, and mode modules for clarity.
57
+ - **Refactor:** Move module roots from `mod.rs` to sibling files.
58
+ - **Sync:** Add project and branch context to sync popups.
59
+ - **Sync:** Sync main branch by pushing after rebase.
60
+ - **Plan:** Improve plan follow-ups and Codex stats limit rendering.
61
+ - **UX:** Use shared confirmation mode for quit and session deletion.
62
+ - **UX:** Confirmation prompts default to "No" selection.
63
+ - **UX:** Hide open-worktree shortcut for done sessions and restrict view actions while running.
64
+ - **Commit:** Preserve a single evolving session commit.
65
+ - **Search:** Prioritize basename matches in file list fuzzy scoring.
66
+
67
+ ### Fixed
68
+
69
+ - **Codex:** Fix app-server error status recovery and wait for responses before parsing limits.
70
+ - **Stability:** Fix launch and lint regressions after rebase.
71
+ - **UI:** Deduplicate list background rendering and reset grouped session table offset.
72
+
73
+ ### Removed
74
+
75
+ - **Refactor:** Remove orphaned top-level source files from `src/`.
76
+ - **Refactor:** Remove `pr-testing` directory references.
77
+
78
+ ### Contributors
79
+
80
+ - @andagaev
81
+ - @minev-dev
82
+
8
83
  ## [v0.1.14] - 2026-02-21
9
84
 
10
85
  ### Added
@@ -303,7 +378,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
303
378
  - **Diff View:** Show all file changes in diff view.
304
379
  - **Status:** Show status as text in session list and chat title.
305
380
  - **Health:** Added version normalization for agent checks.
306
- - **Testing:** Added `pr-testing` directory to root index.
307
381
 
308
382
  ### Changed
309
383
 
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
 
@@ -42,29 +42,36 @@ npx agentty
42
42
 
43
43
  ## Session Agent, Model, and Permission Mode
44
44
 
45
- Agent, model, and permission mode are configured per session, and the latest
46
- selection becomes the default for newly created sessions.
45
+ Agent, model, and permission mode are configured per session.
47
46
 
48
- - New sessions start with the most recently used `agent` + `model` +
49
- `permission_mode`.
47
+ - New sessions start with the configured `Default Model` value from `Settings`
48
+ plus the most recently used `permission_mode`.
50
49
  - On a fresh setup (no previous session changes), defaults are `gemini` +
51
50
  `gemini-3-flash-preview` + `auto_edit`.
52
51
  - In prompt mode, type `/model` as the first input token to open the multistep picker:
53
52
  - choose agent (`gemini`, `codex`, `claude`)
54
53
  - choose model from that agent's curated model list
54
+ - In `Settings` -> `Default Model`, select `Last used model as default` to
55
+ persist model switches as the next-session default across app restarts.
55
56
  - In prompt mode, press `Up` / `Down` to iterate previously sent messages for the active session and quickly resend/edit them.
56
- - Press `Shift+Tab` in chat view or prompt mode to toggle permission mode for the current session.
57
57
  - Permission modes:
58
58
  - `auto_edit` (default): runs with standard edit permissions.
59
- - `autonomous`: runs with elevated autonomy (backend-specific flags such as `--yolo` or skipping permission prompts).
60
- - `plan`: asks the agent for a detailed plan instead of implementation.
61
59
  - After a plan response in chat view, an inline action bar appears:
62
60
  - `Implement the plan`: switches that session to `auto_edit` and sends an implementation prompt.
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.
61
+ - `Type feedback`: opens prompt input so you can send feedback without changing permission mode.
62
+ - Use `Up` / `Down` arrows to choose and `Enter` to confirm.
65
63
  - The active mode is shown in the session chat title.
66
64
  - Changes are persisted for that session and used as defaults for future sessions.
67
65
 
66
+ ## Codex Sessions
67
+
68
+ - Codex sessions run through a persistent per-session `codex app-server` connection.
69
+ - Each Agentty session keeps one Codex thread open across replies.
70
+ - If the app-server connection fails, Agentty retries by restarting Codex app-server with a new thread.
71
+ - When a Codex thread is reset, Agentty replays the session transcript in the next turn prompt so implementation can continue with prior context.
72
+ - Codex session modes map to app-server permissions:
73
+ - `auto_edit`: `approvalPolicy=on-request` and workspace-write sandbox. Pre-action file/command requests are accepted.
74
+
68
75
  ## Features
69
76
 
70
77
  ### Git Worktree Integration
@@ -75,6 +82,9 @@ Agentty creates isolated worktrees for each session:
75
82
  - **Separate Working Directory:** Sessions work in isolated directories under `~/.agentty/wt/`
76
83
  - **Diff View:** Press `d` in the chat view to see real-time changes made by the agent
77
84
  - **Rebase Action:** Press `r` in the chat view to rebase the session branch onto its base branch
85
+ - **Sync Action:** Press `s` in the session list to run session sync (`pull --rebase` + `push`) for review sessions
86
+ - Sync is available only when the active project branch is `main`
87
+ - Sync is blocked until `main` has no uncommitted changes
78
88
  - **Automatic Cleanup:** Worktrees and branches are automatically removed when sessions are deleted
79
89
 
80
90
  This allows agents to work on code changes without affecting your main working directory.
@@ -87,7 +97,8 @@ This allows agents to work on code changes without affecting your main working d
87
97
 
88
98
  ### Stats Activity Heatmap
89
99
 
90
- - The `Stats` tab now includes a GitHub-style activity heatmap for session creation activity over the last 53 weeks.
100
+ - The `Stats` tab now includes a GitHub-style activity heatmap for persisted session-creation activity over the last 53 weeks.
101
+ - Heatmap history is retained even after deleting old sessions.
91
102
  - Heatmap intensity scales with daily session counts and now includes month labels for easier timeline scanning.
92
103
  - A right-side summary panel highlights favorite model usage, the longest session duration, and per-model input/output token totals.
93
104
  - 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.1"
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.1"
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.1",
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.1",
67
67
  "volta": {
68
68
  "node": "18.14.1",
69
69
  "npm": "9.5.0"