Skip to content

Commit b05004f

Browse files
committed
Add release dates and 'latest' command
- Add ReleasedAt field to changelog entries - Parse dates from GitHub Releases API (published_at) - Parse dates from Copilot changelog headers - Fetch Claude changelog date via GitHub commits API - Display dates in output: 'Claude Code 2.0.73 (2025-12-19)' - Add 'aic latest' command to show all releases from last 24h - Fetch all sources in parallel for 'latest' command - Update README with new features
1 parent 8f134a1 commit b05004f

File tree

2 files changed

+261
-27
lines changed

2 files changed

+261
-27
lines changed

README.md

Lines changed: 65 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ go build -o aic
4545

4646
```bash
4747
aic <source> [flags]
48+
aic latest [flags]
4849
```
4950

5051
### Examples
@@ -55,6 +56,37 @@ aic codex -json # Latest Codex changelog as JSON
5556
aic opencode -list # List all OpenCode versions
5657
aic gemini -version 0.1.0 # Specific Gemini CLI version
5758
aic copilot -md # Latest Copilot changelog as markdown
59+
aic latest # All releases from last 24 hours
60+
aic latest -json # Recent releases as JSON
61+
```
62+
63+
## Commands
64+
65+
### `aic latest`
66+
67+
Show releases from all sources in the last 24 hours, sorted by release date (newest first).
68+
69+
```
70+
$ aic latest
71+
OpenAI Codex 0.76.0 (2025-12-19)
72+
----------------------------------------
73+
74+
[New Features]
75+
* Add a macOS DMG build target
76+
* Add /ps command
77+
...
78+
79+
OpenCode 1.0.170 (2025-12-19)
80+
----------------------------------------
81+
82+
[TUI]
83+
* User messages as markdown with toggle
84+
...
85+
86+
Claude Code 2.0.73 (2025-12-19)
87+
----------------------------------------
88+
* Added clickable `[Image #N]` links
89+
...
5890
```
5991

6092
## Flags
@@ -72,24 +104,44 @@ aic copilot -md # Latest Copilot changelog as markdown
72104

73105
### Plain text (default)
74106

107+
Output includes release date and section headers (when available):
108+
75109
```
76-
$ aic claude
77-
Claude Code 2.0.73
110+
$ aic opencode
111+
OpenCode 1.0.170 (2025-12-19)
78112
----------------------------------------
79-
* Added clickable `[Image #N]` links that open attached images
80-
* Fixed slow input history cycling
81-
* Improved theme picker UI
113+
114+
[TUI]
115+
* User messages as markdown with toggle
116+
* Implement smooth scrolling for autocomplete dropdown
117+
118+
[Desktop]
119+
* Fixed error handling
120+
* Separate prompt history for shell
82121
```
83122

84123
### JSON output
85124

86125
```
87-
$ aic codex -json
126+
$ aic opencode -json
88127
{
89-
"version": "0.0.1",
90-
"changes": [
91-
"Initial release",
92-
"Added support for..."
128+
"version": "1.0.170",
129+
"released_at": "2025-12-19T15:30:00Z",
130+
"sections": [
131+
{
132+
"name": "TUI",
133+
"changes": [
134+
"User messages as markdown with toggle",
135+
"Implement smooth scrolling..."
136+
]
137+
},
138+
{
139+
"name": "Desktop",
140+
"changes": [
141+
"Fixed error handling",
142+
"Separate prompt history for shell"
143+
]
144+
}
93145
]
94146
}
95147
```
@@ -98,9 +150,9 @@ $ aic codex -json
98150

99151
```
100152
$ aic opencode -list
101-
0.2.0
102-
0.1.9
103-
0.1.8
153+
1.0.170
154+
1.0.169
155+
1.0.168
104156
...
105157
```
106158

0 commit comments

Comments
 (0)