@michael-joseph-miller/ant-bot 0.2.1 → 0.2.3

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
@@ -4,6 +4,33 @@ All notable changes to ant-bot are recorded here. The format follows
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and versions follow
5
5
  [semantic versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.2.3] — 2026-08-24
8
+
9
+ ### Fixed
10
+
11
+ - **"Start fresh" looked like it did nothing.** It cleared the conversation in the database, but
12
+ the open thread kept rendering the copy it already had, so the screen did not change. The
13
+ `thread.updated` event the daemon publishes was a no-op in the web client — it now drops the
14
+ cached transcript and the view refetches.
15
+
16
+ ### Added
17
+
18
+ - Guidance for connectors that need an interactive sign-in rather than a static token: the
19
+ `claude` CLI can complete an OAuth flow for an MCP server (`claude mcp login`), which is the
20
+ only route for endpoints that will not accept a header credential. See USER-GUIDE §11.
21
+
22
+ ## [0.2.2] — 2026-08-24
23
+
24
+ ### Fixed
25
+
26
+ - **`antbot update` could never see a new version.** The registry request asked for
27
+ `application/vnd.npm.install-v1+json`, which npm serves only for the full packument — on the
28
+ `/latest` endpoint it answers `406`, which the caller reported as "could not reach the npm
29
+ registry". So the update check has failed since the first release, and the once-a-day notice in
30
+ `status` and `doctor` never fired. The header is gone, and `fetchLatestVersion` now has tests of
31
+ its own; every previous test injected a fake fetch, which is exactly how the one function that
32
+ talks to the network went unexercised.
33
+
7
34
  ## [0.2.1] — 2026-08-24
8
35
 
9
36
  ### Added
package/README.md CHANGED
@@ -281,9 +281,9 @@ Current totals, as run against this checkout:
281
281
  |---|---|---|
282
282
  | `@antbot/contract` | 1 | 34 |
283
283
  | `@antbot/daemon` | 23 | 537 |
284
- | `@antbot/ui` | 9 | 85 |
285
- | `@antbot/cli` | 8 | 133 |
286
- | **Total** | **41** | **789** |
284
+ | `@antbot/ui` | 9 | 86 |
285
+ | `@antbot/cli` | 8 | 139 |
286
+ | **Total** | **41** | **796** |
287
287
 
288
288
  ## Status / not built
289
289
 
package/dist/index.js CHANGED
@@ -1494,10 +1494,7 @@ async function fetchLatestVersion(timeoutMs = 3e3) {
1494
1494
  const ac = new AbortController();
1495
1495
  const timer = setTimeout(() => ac.abort(), timeoutMs);
1496
1496
  try {
1497
- const res = await fetch(REGISTRY_URL, {
1498
- signal: ac.signal,
1499
- headers: { accept: "application/vnd.npm.install-v1+json" }
1500
- });
1497
+ const res = await fetch(REGISTRY_URL, { signal: ac.signal });
1501
1498
  if (!res.ok) return null;
1502
1499
  const body = await res.json();
1503
1500
  return typeof body.version === "string" ? body.version : null;