ur-agent 1.13.5 → 1.13.6
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 +14 -0
- package/README.md +1 -0
- package/dist/cli.js +78 -78
- package/docs/VALIDATION.md +1 -1
- package/documentation/README.md +18 -0
- package/documentation/app.js +625 -0
- package/documentation/assets/ur-architecture.svg +67 -0
- package/documentation/index.html +374 -0
- package/documentation/styles.css +575 -0
- package/package.json +2 -1
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1120" height="560" viewBox="0 0 1120 560" role="img" aria-labelledby="title desc">
|
|
2
|
+
<title id="title">UR Agent runtime architecture</title>
|
|
3
|
+
<desc id="desc">A diagram showing users, the UR CLI, project context, tools, agent orchestration, local Ollama models, and outputs.</desc>
|
|
4
|
+
<defs>
|
|
5
|
+
<linearGradient id="panel" x1="0" x2="1" y1="0" y2="1">
|
|
6
|
+
<stop offset="0" stop-color="#f8fafc"/>
|
|
7
|
+
<stop offset="1" stop-color="#eef6f3"/>
|
|
8
|
+
</linearGradient>
|
|
9
|
+
<filter id="shadow" x="-10%" y="-10%" width="120%" height="130%">
|
|
10
|
+
<feDropShadow dx="0" dy="12" stdDeviation="14" flood-color="#10201b" flood-opacity=".14"/>
|
|
11
|
+
</filter>
|
|
12
|
+
<marker id="arrow" viewBox="0 0 12 12" refX="10" refY="6" markerWidth="10" markerHeight="10" orient="auto">
|
|
13
|
+
<path d="M2 2 L10 6 L2 10 Z" fill="#2f6f63"/>
|
|
14
|
+
</marker>
|
|
15
|
+
</defs>
|
|
16
|
+
<rect width="1120" height="560" rx="28" fill="url(#panel)"/>
|
|
17
|
+
<g filter="url(#shadow)">
|
|
18
|
+
<rect x="48" y="64" width="180" height="104" rx="16" fill="#ffffff" stroke="#d8e4df"/>
|
|
19
|
+
<text x="72" y="102" font-family="Inter, Arial, sans-serif" font-size="20" font-weight="700" fill="#14231f">User</text>
|
|
20
|
+
<text x="72" y="132" font-family="Inter, Arial, sans-serif" font-size="14" fill="#49615b">Terminal, CI,</text>
|
|
21
|
+
<text x="72" y="152" font-family="Inter, Arial, sans-serif" font-size="14" fill="#49615b">webhook, SDK</text>
|
|
22
|
+
|
|
23
|
+
<rect x="314" y="52" width="244" height="128" rx="18" fill="#ffffff" stroke="#cfe0da"/>
|
|
24
|
+
<text x="344" y="94" font-family="Inter, Arial, sans-serif" font-size="22" font-weight="800" fill="#14231f">UR CLI</text>
|
|
25
|
+
<text x="344" y="126" font-family="Inter, Arial, sans-serif" font-size="14" fill="#49615b">Interactive TUI, `ur -p`,</text>
|
|
26
|
+
<text x="344" y="146" font-family="Inter, Arial, sans-serif" font-size="14" fill="#49615b">slash commands, workflows</text>
|
|
27
|
+
|
|
28
|
+
<rect x="672" y="52" width="200" height="128" rx="18" fill="#ffffff" stroke="#cfe0da"/>
|
|
29
|
+
<text x="702" y="94" font-family="Inter, Arial, sans-serif" font-size="22" font-weight="800" fill="#14231f">Ollama</text>
|
|
30
|
+
<text x="702" y="126" font-family="Inter, Arial, sans-serif" font-size="14" fill="#49615b">Local endpoint, model</text>
|
|
31
|
+
<text x="702" y="146" font-family="Inter, Arial, sans-serif" font-size="14" fill="#49615b">routing, embeddings</text>
|
|
32
|
+
|
|
33
|
+
<rect x="64" y="274" width="220" height="150" rx="18" fill="#ffffff" stroke="#d8e4df"/>
|
|
34
|
+
<text x="94" y="314" font-family="Inter, Arial, sans-serif" font-size="20" font-weight="800" fill="#14231f">Project Context</text>
|
|
35
|
+
<text x="94" y="346" font-family="Inter, Arial, sans-serif" font-size="14" fill="#49615b">UR.md, AGENTS.md,</text>
|
|
36
|
+
<text x="94" y="366" font-family="Inter, Arial, sans-serif" font-size="14" fill="#49615b">.ur/ settings, memory,</text>
|
|
37
|
+
<text x="94" y="386" font-family="Inter, Arial, sans-serif" font-size="14" fill="#49615b">knowledge, workflows</text>
|
|
38
|
+
|
|
39
|
+
<rect x="362" y="260" width="270" height="178" rx="20" fill="#ffffff" stroke="#cfe0da"/>
|
|
40
|
+
<text x="396" y="302" font-family="Inter, Arial, sans-serif" font-size="21" font-weight="800" fill="#14231f">Agent Orchestration</text>
|
|
41
|
+
<text x="396" y="334" font-family="Inter, Arial, sans-serif" font-size="14" fill="#49615b">Patterns, crews, goals,</text>
|
|
42
|
+
<text x="396" y="354" font-family="Inter, Arial, sans-serif" font-size="14" fill="#49615b">automations, evals,</text>
|
|
43
|
+
<text x="396" y="374" font-family="Inter, Arial, sans-serif" font-size="14" fill="#49615b">A2A delegation</text>
|
|
44
|
+
|
|
45
|
+
<rect x="730" y="260" width="300" height="178" rx="20" fill="#ffffff" stroke="#cfe0da"/>
|
|
46
|
+
<text x="764" y="302" font-family="Inter, Arial, sans-serif" font-size="21" font-weight="800" fill="#14231f">Tools And Outputs</text>
|
|
47
|
+
<text x="764" y="334" font-family="Inter, Arial, sans-serif" font-size="14" fill="#49615b">Read/Edit/Bash, MCP, plugins,</text>
|
|
48
|
+
<text x="764" y="354" font-family="Inter, Arial, sans-serif" font-size="14" fill="#49615b">PRs, docs, reports, tests,</text>
|
|
49
|
+
<text x="764" y="374" font-family="Inter, Arial, sans-serif" font-size="14" fill="#49615b">published artifacts</text>
|
|
50
|
+
</g>
|
|
51
|
+
<g fill="none" stroke="#2f6f63" stroke-width="3" marker-end="url(#arrow)">
|
|
52
|
+
<path d="M228 116 H304"/>
|
|
53
|
+
<path d="M558 116 H660"/>
|
|
54
|
+
<path d="M436 180 V248"/>
|
|
55
|
+
<path d="M314 328 H294"/>
|
|
56
|
+
<path d="M632 348 H718"/>
|
|
57
|
+
<path d="M868 260 V190"/>
|
|
58
|
+
</g>
|
|
59
|
+
<g font-family="Inter, Arial, sans-serif" font-size="13" fill="#31514a">
|
|
60
|
+
<text x="248" y="102">commands</text>
|
|
61
|
+
<text x="590" y="102">chat/embed</text>
|
|
62
|
+
<text x="454" y="220">plans</text>
|
|
63
|
+
<text x="300" y="314">context</text>
|
|
64
|
+
<text x="654" y="334">tools</text>
|
|
65
|
+
<text x="888" y="224">results</text>
|
|
66
|
+
</g>
|
|
67
|
+
</svg>
|
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<title>UR Agent Documentation</title>
|
|
7
|
+
<meta name="description" content="Professional documentation, tutorials, examples, and command reference for UR Agent.">
|
|
8
|
+
<link rel="stylesheet" href="styles.css">
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<a class="skip-link" href="#content">Skip to content</a>
|
|
12
|
+
|
|
13
|
+
<aside class="sidebar" aria-label="Primary navigation">
|
|
14
|
+
<div class="brand">
|
|
15
|
+
<div class="brand-mark" aria-hidden="true">UR</div>
|
|
16
|
+
<div>
|
|
17
|
+
<strong>UR Agent</strong>
|
|
18
|
+
<span>Documentation</span>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<label class="search-box">
|
|
23
|
+
<span>Search docs</span>
|
|
24
|
+
<input id="globalSearch" type="search" placeholder="Try workflow, model, PR, A2A">
|
|
25
|
+
</label>
|
|
26
|
+
|
|
27
|
+
<nav class="nav-list" id="sectionNav">
|
|
28
|
+
<a href="#overview">Overview</a>
|
|
29
|
+
<a href="#quickstart">Quickstart</a>
|
|
30
|
+
<a href="#architecture">Architecture</a>
|
|
31
|
+
<a href="#mental-model">Mental Model</a>
|
|
32
|
+
<a href="#features">Feature Map</a>
|
|
33
|
+
<a href="#tutorials">Tutorials</a>
|
|
34
|
+
<a href="#commands">Command Reference</a>
|
|
35
|
+
<a href="#slash">Slash Commands</a>
|
|
36
|
+
<a href="#configuration">Configuration</a>
|
|
37
|
+
<a href="#project-files">Project Files</a>
|
|
38
|
+
<a href="#examples">Examples</a>
|
|
39
|
+
<a href="#troubleshooting">Troubleshooting</a>
|
|
40
|
+
</nav>
|
|
41
|
+
</aside>
|
|
42
|
+
|
|
43
|
+
<main id="content" class="content">
|
|
44
|
+
<header class="topbar">
|
|
45
|
+
<div>
|
|
46
|
+
<p class="eyebrow">Version 1.13.6</p>
|
|
47
|
+
<h1>UR Agent Documentation</h1>
|
|
48
|
+
<p class="lead">A practical, tutorial-style reference for installing, configuring, automating, extending, and operating UR Agent.</p>
|
|
49
|
+
</div>
|
|
50
|
+
<div class="topbar-actions">
|
|
51
|
+
<a class="button" href="#quickstart">Start</a>
|
|
52
|
+
<a class="button secondary" href="#commands">Commands</a>
|
|
53
|
+
</div>
|
|
54
|
+
</header>
|
|
55
|
+
|
|
56
|
+
<section id="overview" class="section">
|
|
57
|
+
<div class="section-heading">
|
|
58
|
+
<p class="eyebrow">What UR Is</p>
|
|
59
|
+
<h2>Terminal coding agent with local-first model routing</h2>
|
|
60
|
+
<p>UR runs from the terminal, uses the local Ollama app for model calls, and combines project context, tools, MCP, plugins, skills, workflows, automations, and agent orchestration into one CLI.</p>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="stat-grid">
|
|
63
|
+
<article>
|
|
64
|
+
<strong>Local-first runtime</strong>
|
|
65
|
+
<span>Model traffic goes through the local Ollama endpoint. Local and Ollama Cloud-backed models exposed by the app are valid.</span>
|
|
66
|
+
</article>
|
|
67
|
+
<article>
|
|
68
|
+
<strong>Interactive and headless</strong>
|
|
69
|
+
<span>Use <code>ur</code> for iterative work or <code>ur -p</code> for scripts, CI, webhooks, SDK calls, and agent handoffs.</span>
|
|
70
|
+
</article>
|
|
71
|
+
<article>
|
|
72
|
+
<strong>Agent platform</strong>
|
|
73
|
+
<span>Workflows, patterns, crews, goals, evals, memory, knowledge, A2A, provenance, and templates are first-class commands.</span>
|
|
74
|
+
</article>
|
|
75
|
+
<article>
|
|
76
|
+
<strong>Release checks</strong>
|
|
77
|
+
<span>Typecheck, tests, bundle verification, smoke, package checks, and secret scan are part of the release path.</span>
|
|
78
|
+
</article>
|
|
79
|
+
</div>
|
|
80
|
+
</section>
|
|
81
|
+
|
|
82
|
+
<section id="quickstart" class="section">
|
|
83
|
+
<div class="section-heading">
|
|
84
|
+
<p class="eyebrow">Install And Run</p>
|
|
85
|
+
<h2>Quickstart</h2>
|
|
86
|
+
<p>Install from npm, verify the binary, then choose interactive or print mode.</p>
|
|
87
|
+
</div>
|
|
88
|
+
<div class="steps">
|
|
89
|
+
<article class="step">
|
|
90
|
+
<span>1</span>
|
|
91
|
+
<h3>Install</h3>
|
|
92
|
+
<pre><code>npm install -g ur-agent
|
|
93
|
+
ur --version</code></pre>
|
|
94
|
+
</article>
|
|
95
|
+
<article class="step">
|
|
96
|
+
<span>2</span>
|
|
97
|
+
<h3>Start a session</h3>
|
|
98
|
+
<pre><code>ur
|
|
99
|
+
ur --model qwen3-coder:480b-cloud</code></pre>
|
|
100
|
+
</article>
|
|
101
|
+
<article class="step">
|
|
102
|
+
<span>3</span>
|
|
103
|
+
<h3>Run once in scripts</h3>
|
|
104
|
+
<pre><code>ur -p "Summarize this repository"
|
|
105
|
+
ur -p --output-format json "Review the current diff"</code></pre>
|
|
106
|
+
</article>
|
|
107
|
+
</div>
|
|
108
|
+
<div class="callout">
|
|
109
|
+
<strong>Runtime requirement</strong>
|
|
110
|
+
<p>UR expects Bun and a local Ollama app/server at <code>http://localhost:11434/api</code>. Set <code>OLLAMA_MODEL</code> or <code>UR_MODEL</code> to force a model; otherwise UR routes from the models exposed by Ollama.</p>
|
|
111
|
+
</div>
|
|
112
|
+
</section>
|
|
113
|
+
|
|
114
|
+
<section id="architecture" class="section">
|
|
115
|
+
<div class="section-heading">
|
|
116
|
+
<p class="eyebrow">Runtime</p>
|
|
117
|
+
<h2>Architecture</h2>
|
|
118
|
+
<p>The CLI is the control plane. Project context and <code>.ur</code> assets feed agent orchestration, which uses local Ollama models and approved tools to produce code, docs, PRs, reports, and automation outputs.</p>
|
|
119
|
+
</div>
|
|
120
|
+
<figure class="diagram">
|
|
121
|
+
<img src="assets/ur-architecture.svg" alt="UR Agent runtime architecture diagram">
|
|
122
|
+
</figure>
|
|
123
|
+
</section>
|
|
124
|
+
|
|
125
|
+
<section id="mental-model" class="section">
|
|
126
|
+
<div class="section-heading">
|
|
127
|
+
<p class="eyebrow">How To Think About It</p>
|
|
128
|
+
<h2>Mental model</h2>
|
|
129
|
+
</div>
|
|
130
|
+
<div class="concept-grid">
|
|
131
|
+
<article>
|
|
132
|
+
<h3>Session</h3>
|
|
133
|
+
<p>A conversation with tools, project context, slash commands, memory, and resumable history.</p>
|
|
134
|
+
</article>
|
|
135
|
+
<article>
|
|
136
|
+
<h3>Headless run</h3>
|
|
137
|
+
<p><code>ur -p</code> executes one prompt and exits. This is the base for automations, evals, triggers, SDK calls, and A2A tasks.</p>
|
|
138
|
+
</article>
|
|
139
|
+
<article>
|
|
140
|
+
<h3>Project context</h3>
|
|
141
|
+
<p><code>UR.md</code>, <code>AGENTS.md</code>, <code>.ur/agents</code>, <code>.ur/workflows</code>, memory, knowledge, and settings shape behavior.</p>
|
|
142
|
+
</article>
|
|
143
|
+
<article>
|
|
144
|
+
<h3>Permission boundary</h3>
|
|
145
|
+
<p>Tool access is controlled by permission mode, allowed/disallowed tools, sandbox settings, and user approval.</p>
|
|
146
|
+
</article>
|
|
147
|
+
<article>
|
|
148
|
+
<h3>Agent orchestration</h3>
|
|
149
|
+
<p>Patterns, workflows, crews, goals, automations, and evals coordinate multiple specialized runs.</p>
|
|
150
|
+
</article>
|
|
151
|
+
<article>
|
|
152
|
+
<h3>Evidence and verification</h3>
|
|
153
|
+
<p>Self-review, verifier gates, evals, claim ledgers, browser QA, and traces help keep outputs auditable.</p>
|
|
154
|
+
</article>
|
|
155
|
+
</div>
|
|
156
|
+
</section>
|
|
157
|
+
|
|
158
|
+
<section id="features" class="section">
|
|
159
|
+
<div class="section-heading">
|
|
160
|
+
<p class="eyebrow">Capabilities</p>
|
|
161
|
+
<h2>Feature map</h2>
|
|
162
|
+
<p>Each group below links the major UR surfaces to when you should use them.</p>
|
|
163
|
+
</div>
|
|
164
|
+
<div id="featureGrid" class="feature-grid"></div>
|
|
165
|
+
</section>
|
|
166
|
+
|
|
167
|
+
<section id="tutorials" class="section">
|
|
168
|
+
<div class="section-heading">
|
|
169
|
+
<p class="eyebrow">Tutorials</p>
|
|
170
|
+
<h2>Complete workflows</h2>
|
|
171
|
+
<p>Use these as practical starting points for the agent features.</p>
|
|
172
|
+
</div>
|
|
173
|
+
<div class="tutorials">
|
|
174
|
+
<article>
|
|
175
|
+
<h3>Ship a coding change through PR</h3>
|
|
176
|
+
<ol>
|
|
177
|
+
<li>Start with <code>ur</code> and make the implementation.</li>
|
|
178
|
+
<li>Run <code>ur agent-task status</code> to see branch and task state.</li>
|
|
179
|
+
<li>Run <code>ur agent-task diff</code> for the working diff summary.</li>
|
|
180
|
+
<li>Dry-run PR creation: <code>ur agent-task pr --create --dry-run</code>.</li>
|
|
181
|
+
<li>Create only after review passes: <code>ur agent-task pr --create</code>.</li>
|
|
182
|
+
</ol>
|
|
183
|
+
<pre><code>ur agent-task status
|
|
184
|
+
ur agent-task diff
|
|
185
|
+
ur agent-task pr --create --dry-run</code></pre>
|
|
186
|
+
</article>
|
|
187
|
+
|
|
188
|
+
<article>
|
|
189
|
+
<h3>Run a checkpointed workflow</h3>
|
|
190
|
+
<ol>
|
|
191
|
+
<li>Create a sample workflow under <code>.ur/workflows</code>.</li>
|
|
192
|
+
<li>Validate and inspect the DAG.</li>
|
|
193
|
+
<li>Run it offline first, then live with a concurrency cap.</li>
|
|
194
|
+
</ol>
|
|
195
|
+
<pre><code>ur workflow init release
|
|
196
|
+
ur workflow validate release
|
|
197
|
+
ur workflow graph release --ascii
|
|
198
|
+
ur workflow run release --dry-run
|
|
199
|
+
ur workflow run release --live --concurrency 2</code></pre>
|
|
200
|
+
</article>
|
|
201
|
+
|
|
202
|
+
<article>
|
|
203
|
+
<h3>Use a multi-agent pattern</h3>
|
|
204
|
+
<ol>
|
|
205
|
+
<li>List patterns: PEER, DOE, concurrent, handoff, debate.</li>
|
|
206
|
+
<li>Preview the plan for your task.</li>
|
|
207
|
+
<li>Save or execute the compiled workflow.</li>
|
|
208
|
+
</ol>
|
|
209
|
+
<pre><code>ur pattern list
|
|
210
|
+
ur pattern show peer
|
|
211
|
+
ur pattern run peer "Refactor auth and verify tests" --save
|
|
212
|
+
ur pattern run concurrent "Audit browser QA" --execute --dry-run</code></pre>
|
|
213
|
+
</article>
|
|
214
|
+
|
|
215
|
+
<article>
|
|
216
|
+
<h3>Build a project knowledge base</h3>
|
|
217
|
+
<ol>
|
|
218
|
+
<li>Add curated files, directories, and notes.</li>
|
|
219
|
+
<li>Build lexical or embedding indexes.</li>
|
|
220
|
+
<li>Search with provenance.</li>
|
|
221
|
+
</ol>
|
|
222
|
+
<pre><code>ur knowledge add docs --label docs
|
|
223
|
+
ur knowledge add --note "Release requires bundle, smoke, package check"
|
|
224
|
+
ur knowledge build
|
|
225
|
+
ur knowledge search "release checks"</code></pre>
|
|
226
|
+
</article>
|
|
227
|
+
|
|
228
|
+
<article>
|
|
229
|
+
<h3>Coordinate a headless crew</h3>
|
|
230
|
+
<ol>
|
|
231
|
+
<li>Create a crew from a long goal.</li>
|
|
232
|
+
<li>Add or inspect tasks.</li>
|
|
233
|
+
<li>Run workers in dry-run mode first.</li>
|
|
234
|
+
</ol>
|
|
235
|
+
<pre><code>ur crew create docs --goal "Document every public agent feature"
|
|
236
|
+
ur crew show docs
|
|
237
|
+
ur crew run docs --workers 3 --dry-run</code></pre>
|
|
238
|
+
</article>
|
|
239
|
+
|
|
240
|
+
<article>
|
|
241
|
+
<h3>Install recurring automations</h3>
|
|
242
|
+
<ol>
|
|
243
|
+
<li>Create project-local automation specs.</li>
|
|
244
|
+
<li>Dry-run due jobs.</li>
|
|
245
|
+
<li>Install a resident scheduler when ready.</li>
|
|
246
|
+
</ol>
|
|
247
|
+
<pre><code>ur automation create nightly --schedule "0 9 * * 1-5" --prompt "Review open tasks"
|
|
248
|
+
ur automation run-due --dry-run
|
|
249
|
+
ur automation install --platform launchd --interval 300
|
|
250
|
+
ur automation status</code></pre>
|
|
251
|
+
</article>
|
|
252
|
+
</div>
|
|
253
|
+
</section>
|
|
254
|
+
|
|
255
|
+
<section id="commands" class="section">
|
|
256
|
+
<div class="section-heading">
|
|
257
|
+
<p class="eyebrow">Reference</p>
|
|
258
|
+
<h2>CLI command reference</h2>
|
|
259
|
+
<p>The table covers the public top-level commands from <code>ur --help</code>, with examples and common next steps.</p>
|
|
260
|
+
</div>
|
|
261
|
+
<div class="toolbar">
|
|
262
|
+
<div class="filter-group" id="commandFilters" aria-label="Command category filters"></div>
|
|
263
|
+
<button class="button secondary compact" id="clearFilters" type="button">Clear</button>
|
|
264
|
+
</div>
|
|
265
|
+
<div id="commandGrid" class="command-grid"></div>
|
|
266
|
+
</section>
|
|
267
|
+
|
|
268
|
+
<section id="slash" class="section">
|
|
269
|
+
<div class="section-heading">
|
|
270
|
+
<p class="eyebrow">Interactive Mode</p>
|
|
271
|
+
<h2>Slash and local commands</h2>
|
|
272
|
+
<p>Inside an interactive session, use <code>/help</code> to see what is enabled for your context. These are the main command families shipped by the repo.</p>
|
|
273
|
+
</div>
|
|
274
|
+
<div id="slashGrid" class="reference-grid"></div>
|
|
275
|
+
</section>
|
|
276
|
+
|
|
277
|
+
<section id="configuration" class="section">
|
|
278
|
+
<div class="section-heading">
|
|
279
|
+
<p class="eyebrow">Operate Safely</p>
|
|
280
|
+
<h2>Configuration and security</h2>
|
|
281
|
+
</div>
|
|
282
|
+
<div class="reference-grid">
|
|
283
|
+
<article>
|
|
284
|
+
<h3>Models</h3>
|
|
285
|
+
<pre><code>OLLAMA_MODEL=qwen3-coder:480b-cloud ur
|
|
286
|
+
UR_MODEL=qwen3-coder:480b-cloud ur
|
|
287
|
+
ur --model qwen2.5-coder:latest</code></pre>
|
|
288
|
+
<p><code>OLLAMA_MODEL</code> wins over <code>UR_MODEL</code>. Without either, UR routes from local Ollama model inventory.</p>
|
|
289
|
+
</article>
|
|
290
|
+
<article>
|
|
291
|
+
<h3>Permissions</h3>
|
|
292
|
+
<pre><code>ur -p --allowed-tools "Read,Edit,Bash(git:*)" \
|
|
293
|
+
--disallowed-tools "Bash(rm:*)" \
|
|
294
|
+
"Review the current diff"</code></pre>
|
|
295
|
+
<p>Use explicit tool boundaries for automation. Reserve <code>--dangerously-skip-permissions</code> for disposable sandboxes.</p>
|
|
296
|
+
</article>
|
|
297
|
+
<article>
|
|
298
|
+
<h3>Verifier</h3>
|
|
299
|
+
<pre><code>UR_VERIFIER_MODE=strict
|
|
300
|
+
UR_VERIFIER_MODE=loose
|
|
301
|
+
UR_VERIFIER_MODE=off
|
|
302
|
+
UR_VERIFIER_AUTO_SUBAGENT=1</code></pre>
|
|
303
|
+
<p>L1 gates catch false done claims and loops. <code>/verify</code> manually runs deeper verification.</p>
|
|
304
|
+
</article>
|
|
305
|
+
<article>
|
|
306
|
+
<h3>MCP and plugins</h3>
|
|
307
|
+
<pre><code>ur mcp list
|
|
308
|
+
ur mcp add-json local-tools '{"command":"node","args":["server.js"]}'
|
|
309
|
+
ur plugin list
|
|
310
|
+
ur plugin install <plugin></code></pre>
|
|
311
|
+
<p>MCP servers and plugins expand tool access. Treat them as trusted code.</p>
|
|
312
|
+
</article>
|
|
313
|
+
</div>
|
|
314
|
+
</section>
|
|
315
|
+
|
|
316
|
+
<section id="project-files" class="section">
|
|
317
|
+
<div class="section-heading">
|
|
318
|
+
<p class="eyebrow">Workspace Layout</p>
|
|
319
|
+
<h2>Project files UR understands</h2>
|
|
320
|
+
</div>
|
|
321
|
+
<div id="fileGrid" class="reference-grid"></div>
|
|
322
|
+
</section>
|
|
323
|
+
|
|
324
|
+
<section id="examples" class="section">
|
|
325
|
+
<div class="section-heading">
|
|
326
|
+
<p class="eyebrow">Examples</p>
|
|
327
|
+
<h2>Copy-ready examples</h2>
|
|
328
|
+
<p>Use these snippets as templates for common workflows.</p>
|
|
329
|
+
</div>
|
|
330
|
+
<div id="exampleGrid" class="examples-grid"></div>
|
|
331
|
+
</section>
|
|
332
|
+
|
|
333
|
+
<section id="troubleshooting" class="section">
|
|
334
|
+
<div class="section-heading">
|
|
335
|
+
<p class="eyebrow">Debugging</p>
|
|
336
|
+
<h2>Troubleshooting</h2>
|
|
337
|
+
</div>
|
|
338
|
+
<div class="reference-grid">
|
|
339
|
+
<article>
|
|
340
|
+
<h3>Installed version is old</h3>
|
|
341
|
+
<pre><code>npm uninstall -g ur-agent
|
|
342
|
+
npm install -g ur-agent@latest --registry=https://registry.npmjs.org/
|
|
343
|
+
hash -r
|
|
344
|
+
which -a ur
|
|
345
|
+
ur --version</code></pre>
|
|
346
|
+
</article>
|
|
347
|
+
<article>
|
|
348
|
+
<h3>Ollama model not found</h3>
|
|
349
|
+
<pre><code>ollama list
|
|
350
|
+
ur model-doctor
|
|
351
|
+
ur model-route "Fix a TypeScript test failure"</code></pre>
|
|
352
|
+
</article>
|
|
353
|
+
<article>
|
|
354
|
+
<h3>Automation did not run</h3>
|
|
355
|
+
<pre><code>ur automation list
|
|
356
|
+
ur automation status
|
|
357
|
+
ur automation run-due --dry-run
|
|
358
|
+
ur automation daemon --once --dry-run</code></pre>
|
|
359
|
+
</article>
|
|
360
|
+
<article>
|
|
361
|
+
<h3>Need evidence of what happened</h3>
|
|
362
|
+
<pre><code>/trace 20
|
|
363
|
+
ur agent-inspect --file session.jsonl
|
|
364
|
+
ur eval report starter
|
|
365
|
+
ur claim-ledger validate</code></pre>
|
|
366
|
+
</article>
|
|
367
|
+
</div>
|
|
368
|
+
</section>
|
|
369
|
+
</main>
|
|
370
|
+
|
|
371
|
+
<button class="back-to-top" id="backToTop" type="button" aria-label="Back to top">Top</button>
|
|
372
|
+
<script src="app.js"></script>
|
|
373
|
+
</body>
|
|
374
|
+
</html>
|