ur-agent 1.22.2 → 1.22.4
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 +69 -0
- package/QUALITY.md +1 -0
- package/README.md +22 -5
- package/dist/cli.js +4986 -2363
- package/docs/AGENT_FEATURES.md +33 -0
- package/docs/AGENT_UPGRADE_1.18.0.md +4 -2
- package/docs/CONFIGURATION.md +3 -2
- package/docs/DEVELOPMENT.md +1 -0
- package/docs/USAGE.md +6 -0
- package/documentation/index.html +1 -1
- package/extensions/vscode-ur-inline-diffs/package.json +1 -1
- package/package.json +2 -1
package/docs/AGENT_FEATURES.md
CHANGED
|
@@ -4,6 +4,11 @@ This page tracks the agent-platform additions that were prioritized after
|
|
|
4
4
|
comparing UR with current Codex, Claude Code, Copilot, and Jules-style agent
|
|
5
5
|
workflows.
|
|
6
6
|
|
|
7
|
+
UR's intended advantage is not being another generic coding agent. It is a
|
|
8
|
+
reproducible autonomous software engineering agent: every substantial task can
|
|
9
|
+
be driven as `spec -> plan -> patch -> test -> report -> rollback`, with the
|
|
10
|
+
spec as the durable source of truth and command evidence as the success gate.
|
|
11
|
+
|
|
7
12
|
## Commands
|
|
8
13
|
|
|
9
14
|
```sh
|
|
@@ -59,6 +64,13 @@ ur spec run auth-refactor --all
|
|
|
59
64
|
ur spec verify auth-refactor
|
|
60
65
|
```
|
|
61
66
|
|
|
67
|
+
## v1.22.3 Additions
|
|
68
|
+
|
|
69
|
+
| Addition | Surface | What it adds |
|
|
70
|
+
| --- | --- | --- |
|
|
71
|
+
| Executable skill directories | `ur skill list\|show\|run\|init`, `src/skills/skillSpec.ts` | A `.ur/skills/<name>/` directory with `skill.yaml` compiles into a `WorkflowSpec`. Supports `instructions.md`, `scripts/`, `templates/`, and `checklists/`. Step prompts support `$ARGUMENTS`, `$0..$N`, and `$ARGUMENTS[N]`. |
|
|
72
|
+
| Semantic repo index | `ur code-index repo build\|status\|search\|symbols\|callers\|tests\|docs\|configs`, `src/utils/codeIndex/repoIndex.ts` | Offline, dependency-free indexes under `.ur/code-index/`: `repo.json`, `symbols.json`, `calls.json`, `tests.json`, `docs.json`, `configs.json`. Classifies files, extracts symbols, records intra-file calls, maps tests, and indexes doc refs and config keys. |
|
|
73
|
+
|
|
62
74
|
## v1.22.2 Additions
|
|
63
75
|
|
|
64
76
|
| Addition | Surface | What it adds |
|
|
@@ -78,6 +90,13 @@ ur spec verify auth-refactor
|
|
|
78
90
|
| Rich task decomposition | `ur crew create|run|plan ... --decompose`, `src/services/agents/decomposer.ts` | Splits large goals into atomic subtasks with goal, files touched, risk level (low/medium/high), tests required, and rollback point. Deterministic fallback + optional LLM-driven JSON decomposition. |
|
|
79
91
|
| Parallel specialized subagents | `ur pattern parallel "<task>" --execute`, `src/services/agents/patterns.ts` | Bug finder, patch writer, test writer, security auditor, and style reviewer run in parallel via the workflow executor, then a synthesizer merges results into one plan. |
|
|
80
92
|
|
|
93
|
+
The spec-first path is the default reliability story: `ur spec init` turns a
|
|
94
|
+
request into requirements/design/tasks, `ur spec run --all` applies atomic
|
|
95
|
+
tasks, and `ur spec verify` requires compile proof, test proof, lint proof,
|
|
96
|
+
diff proof, and runtime proof. The AgentKernel keeps planner, executor,
|
|
97
|
+
verifier, critic, memory manager, tool router, and permission guard as separate
|
|
98
|
+
components instead of one giant prompt.
|
|
99
|
+
|
|
81
100
|
## v1.21.0 Additions
|
|
82
101
|
|
|
83
102
|
| Addition | Surface | What it adds |
|
|
@@ -100,6 +119,20 @@ ur spec verify auth-refactor
|
|
|
100
119
|
| Test-runner tool | `TestRunner` | Auto-detect and run project tests. |
|
|
101
120
|
| Database tool | `Database` | SQL queries against SQLite, Postgres, MySQL, and DuckDB. |
|
|
102
121
|
|
|
122
|
+
## Core Agent Primitives
|
|
123
|
+
|
|
124
|
+
UR documents the same core primitives that Cursor-style agent products expose,
|
|
125
|
+
while keeping them project-local and manifest-backed:
|
|
126
|
+
|
|
127
|
+
| Primitive | UR surface | Project-backed source |
|
|
128
|
+
| --- | --- | --- |
|
|
129
|
+
| Agent | `ur`, `ur agents`, `ur crew`, `ur bg`, `ur agent-templates` | `.ur/agents/`, `AGENTS.md`, `UR.md` |
|
|
130
|
+
| Rules | `ur context-pack scan`, `ur safety`, `ur guardrails`, `ur hooks` | `AGENTS.md`, `UR.md`, `.cursor/rules/*.mdc`, `.cursorrules`, `.ur/safety-policy.json`, `.ur/guardrails.json`, `.ur/hooks.json` |
|
|
131
|
+
| MCP | `ur mcp`, built-in MCP server mode, MCP tools/resources | `.mcp.json`, `.ur/mcp/`, plugin manifests |
|
|
132
|
+
| Skills | `/skills`, `/create-skill`, bundled skills, plugin skills | `.ur/skills/`, user skills, plugin skill folders |
|
|
133
|
+
| CLI | `ur --help`, `ur -p`, `ur exec`, `ur acp`, workflow subcommands | `package.json` scripts, `.ur/project-manifest.json`, `.ur/verify.json` |
|
|
134
|
+
| Models | `ur model`, `ur model-doctor`, model router, Ollama discovery | Ollama endpoint, settings, `OLLAMA_MODEL`, model metadata cache |
|
|
135
|
+
|
|
103
136
|
## v1.19.0 Additions
|
|
104
137
|
|
|
105
138
|
| Addition | Surface | What it adds |
|
|
@@ -34,10 +34,12 @@ ur tf-loop detect
|
|
|
34
34
|
|
|
35
35
|
```sh
|
|
36
36
|
bun run typecheck
|
|
37
|
+
bun run lint
|
|
37
38
|
bun test test/testFirstLoop.test.ts
|
|
38
39
|
node ./bin/ur.js test-first --help
|
|
39
40
|
node ./bin/ur.js test-first detect
|
|
40
41
|
```
|
|
41
42
|
|
|
42
|
-
If
|
|
43
|
-
instead of inventing a command.
|
|
43
|
+
If an external project has no lint script, `test-first` reports lint as a
|
|
44
|
+
missing phase instead of inventing a command. UR itself now exposes
|
|
45
|
+
`bun run lint`, so local quality detection includes compile, test, and lint.
|
package/docs/CONFIGURATION.md
CHANGED
|
@@ -178,8 +178,9 @@ ur context-pack compress
|
|
|
178
178
|
Generated files:
|
|
179
179
|
|
|
180
180
|
- `.ur/project-manifest.json` — architecture manifest from Project DNA,
|
|
181
|
-
|
|
182
|
-
|
|
181
|
+
package scripts, instruction files, Cursor-style rules, `.ur/verify.json`,
|
|
182
|
+
`.ur/safety-policy.json`, MCP config, editor settings, workflow files, and
|
|
183
|
+
other manifests.
|
|
183
184
|
- `.ur/context/architecture.md` — human-readable architecture summary.
|
|
184
185
|
- `.ur/context/task-memory.jsonl` — decisions, constraints, commands, diffs,
|
|
185
186
|
and notes.
|
package/docs/DEVELOPMENT.md
CHANGED
package/docs/USAGE.md
CHANGED
|
@@ -162,6 +162,8 @@ UR includes slash commands and CLI subcommands for common workflows:
|
|
|
162
162
|
- `ur safety ...` to inspect project shell safety policy and preview command risk
|
|
163
163
|
- `ur context-pack ...` to summarize architecture and persist project memory (decisions, constraints, commands, diffs, architecture, preferences, attempts, accepted, rejected)
|
|
164
164
|
- `ur code-index watch` to keep the local semantic code index fresh
|
|
165
|
+
- `ur code-index repo build` to build a richer semantic repo index (files, symbols, calls, tests, docs, configs)
|
|
166
|
+
- `ur skill init ...` and `ur skill run ...` for executable skill workflows
|
|
165
167
|
- `ur memory retention ...` to prune project-local memory by TTL, max entries, and decay
|
|
166
168
|
- `ur spec ...` to scaffold requirements, design, and tasks, run a spec task list, and verify with strict proof gates
|
|
167
169
|
- `ur escalate ...` to plan, run, or ask an oracle model for hard tasks
|
|
@@ -197,6 +199,10 @@ ur arena "implement a debounce helper" --agents 2 --dry-run
|
|
|
197
199
|
ur escalate run "refactor the cache layer" --force-oracle --dry-run
|
|
198
200
|
ur test-first detect
|
|
199
201
|
ur test-first --dry-run
|
|
202
|
+
ur skill init security-review
|
|
203
|
+
ur skill run security-review "src/auth.ts"
|
|
204
|
+
ur code-index repo build
|
|
205
|
+
ur code-index repo search "rate limiter"
|
|
200
206
|
ur test-first install
|
|
201
207
|
ur safety status
|
|
202
208
|
ur safety check --command "rm -rf build"
|
package/documentation/index.html
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
<main id="content" class="content">
|
|
44
44
|
<header class="topbar">
|
|
45
45
|
<div>
|
|
46
|
-
<p class="eyebrow">Version 1.22.
|
|
46
|
+
<p class="eyebrow">Version 1.22.3</p>
|
|
47
47
|
<h1>UR Agent Documentation</h1>
|
|
48
48
|
<p class="lead">A practical, tutorial-style reference for installing, configuring, automating, extending, and operating UR Agent.</p>
|
|
49
49
|
</div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ur-agent",
|
|
3
|
-
"version": "1.22.
|
|
3
|
+
"version": "1.22.4",
|
|
4
4
|
"description": "UR terminal coding agent CLI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "bun@1.3.14",
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"bundle": "node scripts/bundle.mjs",
|
|
42
42
|
"release:check": "node scripts/release-check.mjs",
|
|
43
43
|
"typecheck": "bun run tsc --noEmit",
|
|
44
|
+
"lint": "node scripts/lint.mjs",
|
|
44
45
|
"test": "bun test",
|
|
45
46
|
"smoke": "node ./bin/ur.js --version",
|
|
46
47
|
"secrets:scan": "bash scripts/secret-scan.sh",
|