-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrelease-notes.html
More file actions
198 lines (172 loc) · 8.37 KB
/
release-notes.html
File metadata and controls
198 lines (172 loc) · 8.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Release Notes — RAPP Brainstem</title>
<meta name="description" content="RAPP Brainstem release notes and changelog.">
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background: #0d1117; color: #e6edf3;
min-height: 100vh; padding: 48px 24px;
display: flex; flex-direction: column; align-items: center;
}
a { color: #58a6ff; text-decoration: none; }
a:hover { text-decoration: underline; }
code {
font-family: "SF Mono", "Fira Code", monospace; font-size: 13px;
background: #161b22; padding: 2px 6px; border-radius: 4px;
}
.container { max-width: 720px; width: 100%; }
.nav {
display: flex; align-items: center; gap: 16px;
margin-bottom: 48px; font-size: 14px;
}
.nav .back { color: #8b949e; }
.nav .sep { color: #30363d; }
.page-header { margin-bottom: 48px; }
.page-header h1 { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.page-header p { color: #8b949e; font-size: 16px; }
.release {
background: #161b22; border: 1px solid #21262d; border-radius: 12px;
margin-bottom: 32px; overflow: hidden;
}
.release-header {
padding: 20px 24px; border-bottom: 1px solid #21262d;
display: flex; align-items: baseline; gap: 12px;
}
.release-version {
font-size: 22px; font-weight: 700;
font-family: "SF Mono", "Fira Code", monospace;
}
.release-date { color: #8b949e; font-size: 13px; }
.release-tag {
font-size: 11px; font-weight: 600; padding: 3px 10px;
border-radius: 12px; text-transform: uppercase; letter-spacing: 0.5px;
background: #238636; color: #fff;
}
.release-body { padding: 24px; }
.release-body h3 {
font-size: 15px; font-weight: 600; margin-bottom: 12px;
color: #58a6ff; display: flex; align-items: center; gap: 8px;
}
.release-body ul {
margin: 0 0 24px 20px; font-size: 14px; line-height: 1.8; color: #c9d1d9;
}
.release-body ul:last-child { margin-bottom: 0; }
.release-body li { margin-bottom: 4px; }
.release-body .highlight {
background: #1f6feb1a; border-left: 3px solid #1f6feb;
padding: 12px 16px; border-radius: 0 8px 8px 0;
margin-bottom: 24px; font-size: 14px; color: #c9d1d9; line-height: 1.6;
}
.links {
margin-top: 32px; text-align: center; font-size: 13px; color: #484f58;
}
.links a { margin: 0 12px; }
</style>
</head>
<body>
<div class="container">
<div class="nav">
<a class="back" href="index.html">← Home</a>
<span class="sep">/</span>
<span>Release Notes</span>
<span class="sep">/</span>
<a href="blog.html">Engineering Blog</a>
</div>
<div class="page-header">
<h1>📋 Release Notes</h1>
<p>Changelog for the RAPP Brainstem project.</p>
</div>
<!-- ── v0.6.0 ── -->
<div class="release">
<div class="release-header">
<span class="release-version">v0.6.0</span>
<span class="release-date">April 11, 2026</span>
<span class="release-tag">Latest</span>
</div>
<div class="release-body">
<div class="highlight">
Account switching, auth reliability, and diagnostics privacy. You can now switch GitHub accounts without restarting, and the login flow handles wrong-account scenarios gracefully instead of hanging forever.
</div>
<h3>🔄 Account Switcher</h3>
<ul>
<li>New <strong>Switch Account</strong> option in the header — change GitHub accounts without restarting the server.</li>
<li>Clears all cached tokens (GitHub, Copilot, disk) and starts a fresh device code flow immediately.</li>
</ul>
<h3>🔐 Auth Race Condition Fix</h3>
<ul>
<li>Fixed: signing in with a non-Copilot account then switching to the correct account left the UI stuck on "Waiting for authorization..." forever.</li>
<li>Root cause: background poll thread and client poll raced to call <code>poll_device_code()</code>. Now uses a single-writer pattern — the bg thread is the sole caller, the client reads a shared result.</li>
<li><code>NO_COPILOT_ACCESS</code> errors now surface in the UI with the username and links to <strong>Switch Account</strong> or <strong>Sign up for Copilot</strong>.</li>
<li>Client-side poll now times out after 15 minutes (matching GitHub's device code expiry) instead of polling forever.</li>
<li>Stale Copilot session cache is cleared when starting a new login flow.</li>
</ul>
<h3>🏷️ Version in Header</h3>
<ul>
<li>The brainstem version now displays in the chat UI header — no more guessing which version you're running.</li>
</ul>
<h3>🔒 Diagnostics Privacy</h3>
<ul>
<li>The <strong>Get Help</strong> report now scrubs <code>user_code</code>, <code>device_code</code>, and <code>session_id</code> from diagnostics before publishing to GitHub issues.</li>
</ul>
<h3>🔧 Other Fixes</h3>
<ul>
<li>Friendly error message when GitHub API quota is exceeded.</li>
<li>Installer handles force-push divergence and kills existing server on port 7071 before starting.</li>
<li>400 error fallback and <code>gh</code> CLI issue creation when API token lacks repo scope.</li>
<li>Better error telemetry throughout the auth and diagnostics pipeline.</li>
</ul>
</div>
</div>
<!-- ── v0.1.0 ── -->
<div class="release">
<div class="release-header">
<span class="release-version">v0.1.0</span>
<span class="release-date">March 5, 2026</span>
</div>
<div class="release-body">
<div class="highlight">
First versioned release. Focuses the brainstem on <strong>local-first, stateless agent execution</strong> and adds auto-upgrade support to the one-liner installers.
</div>
<h3>🎯 Local-Only Agents</h3>
<ul>
<li>Removed the remote agent system — no more hot-loading agents from GitHub repos at runtime.</li>
<li>Only <code>*_agent.py</code> files directly in the <code>agents/</code> folder are discovered and loaded.</li>
<li>Subdirectories like <code>agents/experimental/</code> are intentionally excluded from auto-discovery.</li>
<li>Removed the <strong>⚡ Sources</strong> sidebar panel, all <code>/repos/*</code> API endpoints, and associated JS/CSS from the chat UI.</li>
</ul>
<h3>🔄 Stateless Agent Loading</h3>
<ul>
<li>Agents now load fresh on every request — no in-memory cache between calls.</li>
<li>Removed <code>_agents_cache</code> and <code>reload_agents()</code> — the brainstem is fully stateless per invocation.</li>
<li>Makes local development and debugging faster: edit an agent file, hit the endpoint, see the change immediately.</li>
</ul>
<h3>📦 Version Tracking & Auto-Upgrade</h3>
<ul>
<li>Added <code>rapp_brainstem/VERSION</code> file as the single source of truth for the current version.</li>
<li>New <code>GET /version</code> endpoint returns <code>{"version": "0.1.0"}</code>.</li>
<li>Version now included in <code>GET /health</code> response and server startup banner.</li>
<li>The <code>install.sh</code> and <code>install.ps1</code> one-liner scripts now compare the local <code>VERSION</code> against the remote one hosted on GitHub.</li>
<li>If the local version matches the remote, the installer exits with <strong>"Already up to date"</strong> — no unnecessary re-cloning.</li>
<li>If the remote version is newer, the installer proceeds with a full upgrade (git pull + pip install).</li>
</ul>
<h3>🔧 Other Improvements</h3>
<ul>
<li>Improved <code>/health</code> endpoint: returns <code>200</code> with <code>"status": "unauthenticated"</code> when the Copilot token is missing, instead of a 500 error. The chat UI shows the login overlay instead of failing silently.</li>
<li>GitHub token refresh and caching improvements (from upstream).</li>
<li>Copilot Studio converter agent moved to <code>agents/experimental/</code> (excluded from auto-discovery).</li>
</ul>
</div>
</div>
</div>
<div class="links">
<a href="index.html">Home</a>
<a href="blog.html">Engineering Blog</a>
<a href="https://github.com/kody-w/rapp-installer">GitHub</a>
</div>
</body>
</html>