ur-agent 1.37.0 → 1.37.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/README.md +2 -0
- package/dist/cli.js +143 -67
- package/docs/CONFIGURATION.md +2 -0
- package/docs/IDE.md +9 -2
- package/docs/providers.md +2 -0
- package/extensions/vscode-ur-inline-diffs/README.md +11 -2
- package/extensions/vscode-ur-inline-diffs/media/ur.svg +3 -4
- package/extensions/vscode-ur-inline-diffs/out/extension.js +367 -129
- package/extensions/vscode-ur-inline-diffs/package.json +41 -2
- package/package.json +1 -1
package/docs/IDE.md
CHANGED
|
@@ -78,8 +78,9 @@ applied or rejected:
|
|
|
78
78
|
|
|
79
79
|
The bundled **UR Inline Diffs** extension is the professional IDE integration
|
|
80
80
|
for VS Code, Cursor, and Windsurf. It adds a UR container to the Activity Bar
|
|
81
|
-
with
|
|
82
|
-
card, an agent options panel,
|
|
81
|
+
with three views, **Chat**, **Inline Diffs**, and **Actions**, plus a chat
|
|
82
|
+
panel, a status card, an agent options panel, a provider/model picker, and a
|
|
83
|
+
searchable command palette.
|
|
83
84
|
|
|
84
85
|
Install it with `ur ide install` (offers the bundled VSIX) or from the
|
|
85
86
|
packaged `.vsix`. The extension is bundled inside this repository and
|
|
@@ -105,6 +106,12 @@ at the end. If the underlying `ur` process exits with an error, the panel
|
|
|
105
106
|
shows an error banner — it never fabricates a success message when the run
|
|
106
107
|
failed.
|
|
107
108
|
|
|
109
|
+
The **Chat** view in the UR sidebar exposes **New Chat**, **Open Chat**,
|
|
110
|
+
**Search Actions**, **Pick Model**, and editor-context actions when an editor
|
|
111
|
+
or selection is available. **UR: Pick Model** uses the provider-first model
|
|
112
|
+
catalog from the CLI and saves the selected provider/model pair through the
|
|
113
|
+
same validation path as `/model`.
|
|
114
|
+
|
|
108
115
|
**Permission prompts.** When a turn wants to use a tool that needs approval,
|
|
109
116
|
UR emits a `control_request` message in the same stream. The chat panel shows
|
|
110
117
|
an inline Allow/Deny prompt and writes the decision back as a
|
package/docs/providers.md
CHANGED
|
@@ -88,6 +88,7 @@ ur provider status
|
|
|
88
88
|
ur provider doctor
|
|
89
89
|
ur provider doctor codex-cli
|
|
90
90
|
ur provider doctor agy
|
|
91
|
+
ur provider models [provider] --json
|
|
91
92
|
# Subscription CLI logins (official vendor CLIs):
|
|
92
93
|
ur auth chatgpt
|
|
93
94
|
ur auth claude
|
|
@@ -100,6 +101,7 @@ ur config set provider gemini-api
|
|
|
100
101
|
ur config set provider openrouter
|
|
101
102
|
ur config set provider openai-compatible
|
|
102
103
|
ur config set model <model>
|
|
104
|
+
ur provider select-model <provider> <model> --json
|
|
103
105
|
ur config set base_url <url>
|
|
104
106
|
ur config set provider.fallback ollama
|
|
105
107
|
```
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
The professional UR IDE integration for VS Code, Cursor, and Windsurf: chat,
|
|
4
4
|
inline diff review, an actions panel, an agent status card, a searchable
|
|
5
|
-
command palette, and an agent options panel — all
|
|
6
|
-
already on your machine.
|
|
5
|
+
command palette, a provider/model picker, and an agent options panel — all
|
|
6
|
+
backed by the `ur` CLI already on your machine.
|
|
7
7
|
|
|
8
8
|
UR-AGENT packages this extension from the repository as a local VSIX when the
|
|
9
9
|
CLI installs the public IDE integration. It does not depend on an unpublished
|
|
@@ -15,6 +15,11 @@ in a terminal. Everything below requires the UR CLI on your `PATH`.
|
|
|
15
15
|
|
|
16
16
|
## Chat
|
|
17
17
|
|
|
18
|
+
The UR Activity Bar contains a **Chat** view with visible buttons for **New
|
|
19
|
+
Chat**, **Open Chat**, **Pick Model**, and editor-context actions when a file
|
|
20
|
+
or selection is active. You do not need to know command palette commands to
|
|
21
|
+
start a conversation.
|
|
22
|
+
|
|
18
23
|
**UR: New Chat** / **UR: Open Chat** open a chat panel that streams UR's
|
|
19
24
|
response as it's generated, over the same NDJSON `stream-json` contract the
|
|
20
25
|
CLI uses for scripted runs. Tool calls, tool results, and permission prompts
|
|
@@ -33,6 +38,10 @@ and **UR: Generate Tests for Selection** (also on the editor right-click
|
|
|
33
38
|
menu) open the same chat panel with a structured prompt built from the
|
|
34
39
|
current selection; they are not a separate code path from chat.
|
|
35
40
|
|
|
41
|
+
**UR: Pick Model** opens a provider-first picker, then a model picker scoped to
|
|
42
|
+
that provider. Saving the choice goes through the same provider/model
|
|
43
|
+
validation as `/model`.
|
|
44
|
+
|
|
36
45
|
## Inline diffs and actions panel
|
|
37
46
|
|
|
38
47
|
Create a bundle from the UR CLI:
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0
|
|
2
|
-
<
|
|
3
|
-
<path d="
|
|
4
|
-
<path d="M36 16h12v8h-7v7h-5V16z" fill="#64d2ff"/>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-label="UR">
|
|
2
|
+
<path fill="currentColor" d="M4 3h3v10.2c0 2.7 1.8 4.4 5 4.4s5-1.7 5-4.4V3h3v10.2C20 17.6 16.9 21 12 21s-8-3.4-8-7.8V3z"/>
|
|
3
|
+
<path fill="currentColor" d="M13.5 3H20v3h-3.5v3.5h-3V3z"/>
|
|
5
4
|
</svg>
|