ur-agent 1.68.4 → 1.68.9

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
@@ -1,5 +1,85 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.68.9
4
+
5
+ - Narrowed that allowlist entry from `ur.com` to `ur.com/docs`. Replacing a
6
+ docs-only host with a bare domain widened what WebFetch retrieves without
7
+ asking, on a list whose own header warns that broad entries are dangerous
8
+ where a host may serve user-supplied content — and the domain in question
9
+ does not exist yet, so whatever ends up hosted there would have inherited
10
+ that trust. The matcher enforces path-segment boundaries, so `/docs-evil/x`
11
+ does not match. Caught by `apiTool`, which asserted the old entry.
12
+
13
+ ## 1.68.8
14
+
15
+ - The bundled `ur-guide` agent no longer answers UR questions out of another
16
+ product's documentation. It instructed the model to fetch
17
+ `https://docs.claude.com/llms.txt` and present it to users as "UR SDK docs"
18
+ and "UR API docs", including the line "Agent SDK docs are part of the UR API
19
+ documentation at the same URL". Its other source, `docs.ur.dev`, was never
20
+ served. Both now resolve to `https://ur.com/docs`.
21
+ - Replaced the remaining 33 `docs.ur.dev` links across MCP help, the security
22
+ dialog, keybindings, settings validation tips, preflight checks and the
23
+ feedback survey. Two sandbox dialogs had been pointing their href at the new
24
+ domain while still displaying the old one.
25
+ - `docs.ur.dev` in the WebFetch preapproved-host allowlist now points at
26
+ ur.com. Changed on its own: it is a hostname the fetch tool trusts, not a
27
+ link.
28
+ - `KNOWN_AGENTS` listed `ur-code-guide`; the registered agent type is
29
+ `ur-guide`. A workflow naming the real agent was warned as unknown, while the
30
+ listed name would have been accepted despite resolving to nothing.
31
+ - Removed a dead `UR_CODE_DOCS_MAP_URL` export from `constants/prompts.ts` —
32
+ a duplicate of the live constant, imported by nothing.
33
+ - Added `test/docsUrlIntegrity.test.ts`, including a check that a link's
34
+ displayed text matches where it actually goes.
35
+
36
+ ## 1.68.7
37
+
38
+ - Corrected the ur.ai -> ur.com replacement, which had rewritten identifiers as
39
+ well as URLs. `'ur.ai'` served two roles in this codebase: a domain in links
40
+ such as `https://ur.ai/settings/billing`, and a discriminant value in
41
+ `authTokenSource === 'ur.ai'`, `authMethod = 'ur.ai'` and
42
+ `source: 'ur.ai' as const`. A blanket replace changed both, which typechecked
43
+ and looked internally consistent but altered command availability — one
44
+ command that should have been hidden became visible, caught by
45
+ `commandRegistryIntegrity`. The 39 URLs now point at ur.com; the 11 auth
46
+ discriminants are back to their original values, which also keeps any
47
+ `"ur.ai"` already persisted in a user's auth state matching.
48
+
49
+ ## 1.68.6
50
+
51
+ - An oversized Ollama request now recovers instead of only explaining itself.
52
+ 1.68.3 reported "this request was 19.6 MB" clearly and then left the user to
53
+ run /compact by hand. UR already had both halves of the fix — `isMediaSizeError`
54
+ and `stripImagesFromMessages` — but both were wired to reactive compact's
55
+ retry, and REACTIVE_COMPACT is not compiled into any shipped build, so neither
56
+ was reachable. `isMediaSizeError` and `isMediaSizeErrorMessage` had no callers
57
+ at all outside their own file.
58
+ - On a body-size rejection the request is retried once with images from earlier
59
+ turns removed, keeping the most recent one. Stale attachments are the usual
60
+ bulk and the least valuable part of it: only the newest is normally still
61
+ under discussion.
62
+ - The retry is announced with both sizes and says to re-attach an earlier image
63
+ if it is needed. Dropping a user's attachments silently would be the same
64
+ invisible behaviour being fixed everywhere else.
65
+ - No retry is attempted when there is at most one image-bearing message, since
66
+ it would resend identical bytes and fail identically.
67
+
68
+ ## 1.68.5
69
+
70
+ - Replaced every `ur.ai` reference in `src/` with `ur.com` (202 sites, 0 left).
71
+ Note what these are: most are upstream URL structures carried into the fork —
72
+ `/settings/billing`, `/settings/connectors`, `/upgrade/max`, `/chrome`,
73
+ `/chrome/reconnect`, `/admin-settings/usage`, and desktop auto-update
74
+ redirects like `/api/desktop/darwin/universal/dmg/latest/redirect`. Changing
75
+ the domain does not make those endpoints exist; it moves them to a domain UR
76
+ will control. The features behind them still need a backend or removal.
77
+ - `test/tipsAreReal.test.ts` still forbids `ur.ai` and `ur.com` in tips, since
78
+ the domain is not serving yet. Relax that deliberately once it is.
79
+ - Corrected a comment in that test which claimed both domains "have no DNS
80
+ records". That came from a lookup run where `github.com` and `example.com`
81
+ fail identically — the environment had no DNS — so it was never evidence.
82
+
3
83
  ## 1.68.4
4
84
 
5
85
  - The status line now reports subagents running in the current turn: