ur-agent 1.23.3 → 1.24.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/CHANGELOG.md +25 -2
- package/CONTRIBUTING.md +21 -0
- package/LICENSE +1 -1
- package/QUALITY.md +5 -2
- package/README.md +83 -16
- package/RELEASE.md +54 -0
- package/SECURITY.md +22 -0
- package/bin/ur.js +5 -5
- package/dist/cli.js +5423 -4655
- package/docs/AGENT_FEATURES.md +8 -0
- package/docs/AGENT_UPGRADE_1.15.0.md +1 -1
- package/docs/AGENT_UPGRADE_1.16.0.md +1 -1
- package/docs/AGENT_UPGRADE_1.17.0.md +1 -1
- package/docs/AGENT_UPGRADE_1.18.0.md +1 -1
- package/docs/AGENT_UPGRADE_1.19.0.md +1 -1
- package/docs/AGENT_UPGRADE_1.20.0.md +1 -1
- package/docs/AGENT_UPGRADE_1.21.0.md +1 -1
- package/docs/AGENT_UPGRADE_1.22.0.md +1 -1
- package/docs/CODE_FEATURE_INVENTORY.md +9 -3
- package/docs/DEVELOPMENT.md +8 -4
- package/docs/USAGE.md +18 -1
- package/docs/VALIDATION.md +4 -4
- package/docs/plugins.md +52 -0
- package/documentation/README.md +2 -2
- package/documentation/app.js +5 -5
- package/documentation/assets/ur-architecture.svg +1 -1
- package/documentation/index.html +15 -11
- package/package.json +11 -6
- package/plugins/bunBundleDev.ts +32 -0
- package/plugins/community/.gitkeep +1 -0
- package/plugins/core/README.md +69 -0
- package/plugins/core/code-review/.ur-plugin/plugin.json +13 -0
- package/plugins/core/code-review/README.md +37 -0
- package/plugins/core/code-review/commands/code-review.md +47 -0
- package/plugins/core/engineering-discipline/.ur-plugin/plugin.json +33 -0
- package/plugins/core/engineering-discipline/README.md +21 -0
- package/plugins/core/engineering-discipline/commands/discipline-check.md +25 -0
- package/plugins/core/engineering-discipline/skills/reproducible-release/SKILL.md +31 -0
- package/plugins/core/engineering-discipline/templates/release-verifier.md +18 -0
- package/plugins/core/engineering-discipline/validators/release-gate.json +7 -0
- package/plugins/core/evaluate-response/.ur-plugin/plugin.json +13 -0
- package/plugins/core/evaluate-response/README.md +42 -0
- package/plugins/core/evaluate-response/commands/evaluate-response.md +61 -0
- package/plugins/core/explain-error/.ur-plugin/plugin.json +13 -0
- package/plugins/core/explain-error/README.md +32 -0
- package/plugins/core/explain-error/commands/explain-error.md +37 -0
- package/plugins/core/git-summary/.ur-plugin/plugin.json +13 -0
- package/plugins/core/git-summary/README.md +29 -0
- package/plugins/core/git-summary/commands/git-summary.md +27 -0
- package/plugins/core/github/.ur-plugin/plugin.json +31 -0
- package/plugins/core/github/README.md +37 -0
- package/plugins/core/github/commands/gh-issues.md +19 -0
- package/plugins/core/github/commands/gh-pr-create.md +19 -0
- package/plugins/core/github/commands/gh-pr-review.md +37 -0
- package/plugins/core/github/commands/gh-repo-health.md +23 -0
- package/plugins/core/github/skills/github-workflow/SKILL.md +53 -0
- package/plugins/core/gitlab/.ur-plugin/plugin.json +39 -0
- package/plugins/core/gitlab/README.md +39 -0
- package/plugins/core/gitlab/commands/gl-issues.md +19 -0
- package/plugins/core/gitlab/commands/gl-mr-create.md +19 -0
- package/plugins/core/gitlab/commands/gl-mr-review.md +36 -0
- package/plugins/core/gitlab/commands/gl-pipeline.md +21 -0
- package/plugins/core/gitlab/skills/gitlab-workflow/SKILL.md +63 -0
- package/plugins/core/hello/.ur-plugin/plugin.json +13 -0
- package/plugins/core/hello/README.md +45 -0
- package/plugins/core/hello/commands/hello.md +16 -0
- package/plugins/core/huggingface/.ur-plugin/plugin.json +36 -0
- package/plugins/core/huggingface/README.md +36 -0
- package/plugins/core/huggingface/commands/hf-dataset-search.md +19 -0
- package/plugins/core/huggingface/commands/hf-download.md +23 -0
- package/plugins/core/huggingface/commands/hf-model-card.md +23 -0
- package/plugins/core/huggingface/commands/hf-model-search.md +20 -0
- package/plugins/core/huggingface/skills/huggingface-workflow/SKILL.md +70 -0
- package/plugins/core/miro/.ur-plugin/plugin.json +27 -0
- package/plugins/core/miro/README.md +39 -0
- package/plugins/core/miro/commands/miro-board.md +17 -0
- package/plugins/core/miro/commands/miro-diagram.md +20 -0
- package/plugins/core/miro/commands/miro-export.md +18 -0
- package/plugins/core/miro/commands/miro-stickies.md +19 -0
- package/plugins/core/miro/skills/miro-workflow/SKILL.md +54 -0
- package/plugins/core/obsidian/.ur-plugin/plugin.json +42 -0
- package/plugins/core/obsidian/README.md +42 -0
- package/plugins/core/obsidian/commands/backlinks.md +22 -0
- package/plugins/core/obsidian/commands/daily-note.md +29 -0
- package/plugins/core/obsidian/commands/moc.md +24 -0
- package/plugins/core/obsidian/commands/second-brain.md +37 -0
- package/plugins/core/obsidian/commands/vault-search.md +20 -0
- package/plugins/core/obsidian/skills/second-brain/SKILL.md +86 -0
- package/plugins/core/powerpoint/.ur-plugin/plugin.json +26 -0
- package/plugins/core/powerpoint/README.md +35 -0
- package/plugins/core/powerpoint/commands/pptx-from-md.md +18 -0
- package/plugins/core/powerpoint/commands/pptx-new.md +21 -0
- package/plugins/core/powerpoint/commands/pptx-review.md +32 -0
- package/plugins/core/powerpoint/commands/pptx-theme.md +18 -0
- package/plugins/core/powerpoint/skills/deck-craft/SKILL.md +60 -0
- package/plugins/core/release-notes/.ur-plugin/plugin.json +13 -0
- package/plugins/core/release-notes/README.md +28 -0
- package/plugins/core/release-notes/commands/release-notes.md +56 -0
- package/plugins/core/skill-forge/.ur-plugin/plugin.json +13 -0
- package/plugins/core/skill-forge/README.md +37 -0
- package/plugins/core/skill-forge/commands/forge-skill.md +47 -0
- package/plugins/core/skill-forge/commands/skill-refine.md +19 -0
- package/plugins/core/skill-forge/skills/skill-authoring/SKILL.md +84 -0
- package/plugins/core/word/.ur-plugin/plugin.json +26 -0
- package/plugins/core/word/README.md +37 -0
- package/plugins/core/word/commands/docx-edit.md +18 -0
- package/plugins/core/word/commands/docx-from-md.md +19 -0
- package/plugins/core/word/commands/docx-new.md +22 -0
- package/plugins/core/word/commands/docx-review.md +29 -0
- package/plugins/core/word/skills/document-craft/SKILL.md +61 -0
- package/plugins/examples/README.md +12 -0
- package/plugins/examples/command-template/.ur-plugin/plugin.json +12 -0
- package/plugins/examples/command-template/README.md +9 -0
- package/plugins/examples/command-template/commands/example.md +7 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.24.1
|
|
4
|
+
|
|
5
|
+
- Add legal multi-provider auth/provider management for subscription CLI, API-key, and local runtime access paths.
|
|
6
|
+
- Add provider doctor/status/config commands, provider-aware status bar display, and explicit no-token-scraping safety policy.
|
|
7
|
+
|
|
8
|
+
## 1.24.0
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- Plugin marketplace capability metadata for MCP tools, executable skills,
|
|
12
|
+
templates, validators, language adapters, LSP servers, hooks, agents, and
|
|
13
|
+
commands.
|
|
14
|
+
- Bundled `engineering-discipline` reference plugin with `/discipline-check`,
|
|
15
|
+
`reproducible-release`, release-verifier template, release-gate validator,
|
|
16
|
+
and Markdown language-adapter metadata.
|
|
17
|
+
- Release readiness test that keeps production bundle, release, package, and
|
|
18
|
+
global-install GitHub checks behind successful Bun tests.
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
- npm package now includes `plugins/` and documents the
|
|
22
|
+
marketplace surfaces in the npm README.
|
|
23
|
+
- UR product positioning is documented as an autonomous engineering workflow
|
|
24
|
+
engine for plan, execute, test, verify, document, benchmark, and reproduce.
|
|
25
|
+
|
|
3
26
|
## 1.23.3
|
|
4
27
|
|
|
5
28
|
### Fixed
|
|
@@ -746,7 +769,7 @@
|
|
|
746
769
|
agent identity, and multimodal workflows. The report includes source
|
|
747
770
|
references for each trend.
|
|
748
771
|
- **A2A Agent Card export.** New `ur a2a card` CLI command and `/a2a-card`
|
|
749
|
-
slash command print UR
|
|
772
|
+
slash command print UR-AGENT Card metadata for discovery by A2A-aware tools.
|
|
750
773
|
- **Professional trend docs.** `docs/AGENT_TRENDS.md` documents the coverage
|
|
751
774
|
matrix, source/trust policy, and prioritized roadmap.
|
|
752
775
|
|
|
@@ -788,7 +811,7 @@
|
|
|
788
811
|
discovery is unavailable.
|
|
789
812
|
- **Repository metadata now matches production.** Package metadata, docs, bundled
|
|
790
813
|
issue links, marketplace defaults, and GitHub workflow templates now point to
|
|
791
|
-
`Maitham16/UR
|
|
814
|
+
`Maitham16/UR`.
|
|
792
815
|
|
|
793
816
|
### Added
|
|
794
817
|
- **Release consistency gate.** `bun run release:check` verifies package,
|
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Contributing to UR-AGENT
|
|
2
|
+
|
|
3
|
+
Use the project scripts before opening a pull request:
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
bun install
|
|
7
|
+
bun test
|
|
8
|
+
bun run typecheck
|
|
9
|
+
bun run lint
|
|
10
|
+
bun run build
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Keep changes scoped and update documentation for public behavior. Do not commit
|
|
14
|
+
local runtime state, secrets, generated caches, or private `.ur/` data.
|
|
15
|
+
|
|
16
|
+
Plugin contributions should start in `plugins/community/` or from
|
|
17
|
+
`plugins/examples/command-template/`. First-party plugins that ship in releases
|
|
18
|
+
belong in `plugins/core/` and must be listed in `.ur-plugin/marketplace.json`.
|
|
19
|
+
|
|
20
|
+
Release work must follow `RELEASE.md` and must not claim success without command
|
|
21
|
+
evidence.
|
package/LICENSE
CHANGED
package/QUALITY.md
CHANGED
|
@@ -16,7 +16,8 @@ bun run bundle
|
|
|
16
16
|
bun run smoke
|
|
17
17
|
bun run secrets:scan
|
|
18
18
|
bun run release:check
|
|
19
|
-
|
|
19
|
+
bun run package:check
|
|
20
|
+
npm publish --dry-run
|
|
20
21
|
```
|
|
21
22
|
|
|
22
23
|
For project-specific feature work, `ur test-first detect` shows the detected
|
|
@@ -30,7 +31,9 @@ the repo architecture and manifest-derived command set; `ur context-pack
|
|
|
30
31
|
compress` preserves task decisions, constraints, commands, and diffs.
|
|
31
32
|
|
|
32
33
|
`bun run release:check` is also wired into `prepack`, so stale bundles and
|
|
33
|
-
version drift fail before packaging.
|
|
34
|
+
version drift fail before packaging. The GitHub workflow must keep production
|
|
35
|
+
bundle, release, package, and global-install checks after the Bun test step;
|
|
36
|
+
do not tag or publish until that workflow is green.
|
|
34
37
|
|
|
35
38
|
## Documentation Gate
|
|
36
39
|
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# UR
|
|
1
|
+
# UR-AGENT
|
|
2
2
|
|
|
3
3
|
<p align="center">
|
|
4
|
-
<strong>
|
|
4
|
+
<strong>Autonomous engineering workflow engine for reproducible software work.</strong>
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
@@ -10,10 +10,13 @@
|
|
|
10
10
|
<a href="./QUALITY.md"><img alt="quality gate" src="https://img.shields.io/badge/quality-release%20gated-brightgreen.svg"></a>
|
|
11
11
|
</p>
|
|
12
12
|
|
|
13
|
-
UR
|
|
14
|
-
autonomous software engineering agent
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
UR-AGENT is a Bun and TypeScript autonomous engineering workflow engine: a
|
|
14
|
+
reproducible autonomous software engineering agent built for disciplined local
|
|
15
|
+
and CI-driven work. It is not only chat, autocomplete, or code edits: UR is
|
|
16
|
+
built to plan, execute, test, verify, document, benchmark, and reproduce
|
|
17
|
+
software work. It opens a stateful interactive terminal session by default, can
|
|
18
|
+
run one-shot prompts for scripts, and includes workflow commands for
|
|
19
|
+
specification-driven development,
|
|
17
20
|
multi-agent execution, test-first quality loops, CI repair loops, background
|
|
18
21
|
agents, MCP servers, plugins, skills, memory, permission safety policy,
|
|
19
22
|
project context packing, verification, and local model routing.
|
|
@@ -52,8 +55,10 @@ handing work off to other tools or agents when needed.
|
|
|
52
55
|
- **Verification and provenance.** Use `ur test-first`, the built-in verifier,
|
|
53
56
|
`/verify`, `.ur/verify.json`, `ur artifacts`, `ur claim-ledger`, and `/trace`
|
|
54
57
|
to make results easier to inspect.
|
|
55
|
-
- **Extensible tool surface.** Add MCP
|
|
56
|
-
|
|
58
|
+
- **Extensible tool surface.** Add MCP tools, plugin marketplace entries,
|
|
59
|
+
executable skills, reusable templates, deterministic validators, language
|
|
60
|
+
adapters, LSP servers, role modes, custom agents, IDE diff bundles, A2A
|
|
61
|
+
endpoints, and local knowledge indexes.
|
|
57
62
|
|
|
58
63
|
## Quick Start
|
|
59
64
|
|
|
@@ -79,12 +84,13 @@ Install the global `ur` command:
|
|
|
79
84
|
```sh
|
|
80
85
|
npm install -g ur-agent
|
|
81
86
|
ur --version
|
|
87
|
+
ur --help
|
|
82
88
|
```
|
|
83
89
|
|
|
84
90
|
Install directly from GitHub when you want this repository build:
|
|
85
91
|
|
|
86
92
|
```sh
|
|
87
|
-
bun add -g github:Maitham16/UR
|
|
93
|
+
bun add -g github:Maitham16/UR
|
|
88
94
|
ur --version
|
|
89
95
|
```
|
|
90
96
|
|
|
@@ -113,6 +119,18 @@ ur --continue
|
|
|
113
119
|
ur --resume
|
|
114
120
|
```
|
|
115
121
|
|
|
122
|
+
Check for npm updates:
|
|
123
|
+
|
|
124
|
+
```sh
|
|
125
|
+
ur upgrade
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
Source checkouts report:
|
|
129
|
+
|
|
130
|
+
```text
|
|
131
|
+
Development build detected. To update, pull latest source or install from npm.
|
|
132
|
+
```
|
|
133
|
+
|
|
116
134
|
Choose a model or Ollama host:
|
|
117
135
|
|
|
118
136
|
```sh
|
|
@@ -163,21 +181,59 @@ as first-class subcommands in the shipped CLI.
|
|
|
163
181
|
| `ur model-doctor` | Inspect Ollama models and report likely agent capabilities. |
|
|
164
182
|
| `ur model-route` | Recommend a local model for a task by capability fit. |
|
|
165
183
|
| `ur mcp` | Configure and manage Model Context Protocol servers. |
|
|
166
|
-
| `ur plugin` | Install, update, enable, disable, and validate UR plugins. |
|
|
184
|
+
| `ur plugin` | Install, update, enable, disable, and validate UR plugins that can add MCP tools, skills, templates, validators, language adapters, LSP servers, agents, hooks, output styles, and commands. |
|
|
167
185
|
| `ur role-mode` | Install built-in Architect, Code, Debug, and Ask role modes. |
|
|
168
186
|
| `ur acp` | Start/stop/status the Agent Communication Protocol server for IDE extensions. |
|
|
169
187
|
| `ur exec` | Run one or more prompts in non-interactive mode with optional concurrency. |
|
|
170
188
|
| `ur ide diff` | Capture editor-readable inline diff bundles. |
|
|
171
|
-
| `ur a2a card` | Print UR
|
|
189
|
+
| `ur a2a card` | Print UR-AGENT Card metadata for agent interoperability. |
|
|
172
190
|
| `ur a2a serve` | Start an opt-in local A2A task server with bearer or delegation auth. |
|
|
173
191
|
| `ur sdk` | Show programmatic headless usage and scaffold SDK examples. |
|
|
174
192
|
|
|
193
|
+
### Status Bar
|
|
194
|
+
|
|
195
|
+
Interactive sessions show a compact bottom status bar when the terminal supports
|
|
196
|
+
it. It is hidden in CI, dumb terminals, non-interactive mode, and assistant
|
|
197
|
+
viewer mode.
|
|
198
|
+
|
|
199
|
+
Example:
|
|
200
|
+
|
|
201
|
+
```text
|
|
202
|
+
UR-AGENT v1.24.0 | model: qwen3-coder:480b-cloud | mode: ask | branch: main | tasks: idle | Update: 1.23.3 -> 1.24.0 available
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
If a custom status-line hook is configured, UR-AGENT uses that hook output
|
|
206
|
+
instead of the built-in bar.
|
|
207
|
+
|
|
175
208
|
New slash skills run agentic work in isolated git worktrees with clean commits and PR output:
|
|
176
209
|
`/debug-v2`, `/refactor`, `/paper-implementation`, `/benchmark`, `/security-review`, `/dockerize`, `/latex-paper`.
|
|
177
210
|
Install matching agent templates with `ur agent-templates install`.
|
|
178
211
|
|
|
179
212
|
New built-in tools (exposed through MCP and the ACP server): GitHub, API, Browser, Docker, TestRunner, Database. File-system and terminal tools are already built in (FileRead, FileEdit, FileWrite, Glob, Grep, Bash, PowerShell).
|
|
180
213
|
|
|
214
|
+
### Plugin Marketplace
|
|
215
|
+
|
|
216
|
+
UR plugins are trusted local extension bundles. A marketplace entry can install
|
|
217
|
+
commands, MCP tools, executable skills, reusable templates, deterministic
|
|
218
|
+
validators, language adapters, LSP server metadata, agents, hooks, and output
|
|
219
|
+
styles. The bundled `engineering-discipline` reference plugin demonstrates the
|
|
220
|
+
full extension contract with a `/discipline-check` command, a
|
|
221
|
+
`reproducible-release` skill, a release-verifier template, a release-gate
|
|
222
|
+
validator, and Markdown language-adapter metadata.
|
|
223
|
+
|
|
224
|
+
```sh
|
|
225
|
+
ur plugin list
|
|
226
|
+
ur plugin install engineering-discipline@ur-plugins-official
|
|
227
|
+
ur plugin install hello@ur-plugins-official
|
|
228
|
+
ur plugin update <plugin>
|
|
229
|
+
ur plugin disable <plugin>
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
The npm package includes `README.md`, `QUALITY.md`, `docs/`, `documentation/`,
|
|
233
|
+
and `plugins/`, so the npm package page and installed artifact both carry the
|
|
234
|
+
marketplace documentation, core plugins, community staging directory, and
|
|
235
|
+
example plugin template. See [Plugin Guide](docs/plugins.md).
|
|
236
|
+
|
|
181
237
|
UR also documents the core Cursor-style agent primitives as first-class,
|
|
182
238
|
project-backed features: Agent surfaces (`ur`, `ur agents`, `ur crew`, `ur bg`),
|
|
183
239
|
Rules (`AGENTS.md`, `UR.md`, `.cursor/rules/*.mdc`, `.cursorrules`, safety and
|
|
@@ -238,7 +294,6 @@ UR reads repository instructions and local runtime state from project files:
|
|
|
238
294
|
- `UR.local.md` is for private local instructions.
|
|
239
295
|
- `.ur/skills/` stores project skills.
|
|
240
296
|
- `.ur/agents/` stores custom agents and role modes.
|
|
241
|
-
- `.ur/specs/`, `.ur/artifacts/`, `.ur/automations/`, `.ur/test-first/`,
|
|
242
297
|
- `.ur/safety-policy.json` configures project shell safety rules for read,
|
|
243
298
|
write, execute, and network command classes.
|
|
244
299
|
- `.ur/project-manifest.json` and `.ur/context/` hold architecture summaries,
|
|
@@ -270,7 +325,9 @@ settings, generated indexes, memory, logs, and secrets out of Git.
|
|
|
270
325
|
agents, A2A, analytics, sync, and API integration.
|
|
271
326
|
- `extensions/vscode-ur-inline-diffs/` contains the VS Code inline diff review
|
|
272
327
|
extension.
|
|
273
|
-
- `
|
|
328
|
+
- `plugins/core/` contains first-party marketplace plugins.
|
|
329
|
+
- `plugins/community/` stages contributed plugins.
|
|
330
|
+
- `plugins/examples/` contains plugin templates users can copy.
|
|
274
331
|
|
|
275
332
|
## Safety Model
|
|
276
333
|
|
|
@@ -324,16 +381,22 @@ Build and verify a release:
|
|
|
324
381
|
bun run typecheck
|
|
325
382
|
bun run lint
|
|
326
383
|
bun test
|
|
327
|
-
bun run
|
|
384
|
+
bun run build
|
|
328
385
|
bun run smoke
|
|
329
386
|
bun run secrets:scan
|
|
330
387
|
bun run release:check
|
|
388
|
+
bun run package:check
|
|
331
389
|
npm pack --dry-run
|
|
390
|
+
npm publish --dry-run
|
|
332
391
|
```
|
|
333
392
|
|
|
334
393
|
`dist/cli.js` is intentionally tracked because GitHub installs use the bundled
|
|
335
394
|
CLI. Rebuild it after source, version, or macro changes.
|
|
336
395
|
|
|
396
|
+
The GitHub workflow runs production bundle, smoke, release, package, and global
|
|
397
|
+
install checks only after the Bun test step succeeds. Do not publish or tag a
|
|
398
|
+
release until that GitHub run is green.
|
|
399
|
+
|
|
337
400
|
## Documentation
|
|
338
401
|
|
|
339
402
|
- [Usage Guide](docs/USAGE.md)
|
|
@@ -346,7 +409,11 @@ CLI. Rebuild it after source, version, or macro changes.
|
|
|
346
409
|
- [1.18.0 Upgrade Notes](docs/AGENT_UPGRADE_1.18.0.md)
|
|
347
410
|
- [1.17.0 Upgrade Notes](docs/AGENT_UPGRADE_1.17.0.md)
|
|
348
411
|
- [Development Guide](docs/DEVELOPMENT.md)
|
|
412
|
+
- [Plugin Guide](docs/plugins.md)
|
|
349
413
|
- [Validation Runbook](docs/VALIDATION.md)
|
|
414
|
+
- [Release Runbook](RELEASE.md)
|
|
415
|
+
- [Contributing](CONTRIBUTING.md)
|
|
416
|
+
- [Security](SECURITY.md)
|
|
350
417
|
- [Static Documentation Site](documentation/index.html)
|
|
351
418
|
|
|
352
419
|
The `examples/` directory includes prompt and workflow examples for coding,
|
|
@@ -354,8 +421,8 @@ research, browser, image, video, MCP, memory, and agent-platform tasks.
|
|
|
354
421
|
|
|
355
422
|
## License
|
|
356
423
|
|
|
357
|
-
UR
|
|
358
|
-
[UR
|
|
424
|
+
UR-AGENT is released under the
|
|
425
|
+
[UR-AGENT Non-Commercial Self-Responsibility License](LICENSE).
|
|
359
426
|
|
|
360
427
|
Personal, educational, research, evaluation, and other non-commercial use is
|
|
361
428
|
permitted. Commercial use requires prior written permission from Maitham
|
package/RELEASE.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# UR-AGENT release runbook
|
|
2
|
+
|
|
3
|
+
Release target:
|
|
4
|
+
|
|
5
|
+
- GitHub: `https://github.com/Maitham16/UR.git`
|
|
6
|
+
- npm package: `ur-agent`
|
|
7
|
+
- CLI binary: `ur`
|
|
8
|
+
|
|
9
|
+
## Required checks
|
|
10
|
+
|
|
11
|
+
Run from the repository root:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
bun install
|
|
15
|
+
bun test
|
|
16
|
+
bun run typecheck
|
|
17
|
+
bun run lint
|
|
18
|
+
bun run build
|
|
19
|
+
node ./bin/ur.js --version
|
|
20
|
+
node ./bin/ur.js --help
|
|
21
|
+
node ./bin/ur.js upgrade
|
|
22
|
+
npm pack --dry-run
|
|
23
|
+
npm publish --dry-run
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Also verify:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
git remote -v
|
|
30
|
+
npm whoami
|
|
31
|
+
npm view ur-agent@$(node -p "require('./package.json').version") version
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
If `npm whoami` fails, run:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npm login
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Do not publish if the package version already exists on npm.
|
|
41
|
+
|
|
42
|
+
## Publish
|
|
43
|
+
|
|
44
|
+
Only after every check passes and the working tree is clean:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
git add .
|
|
48
|
+
git commit -m "chore: polish UR-AGENT production release"
|
|
49
|
+
git push origin master
|
|
50
|
+
npm publish
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
If the remote default branch is not `master`, push the checked-out release
|
|
54
|
+
branch instead.
|
package/SECURITY.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Security Policy
|
|
2
|
+
|
|
3
|
+
Report security issues privately to the maintainer before opening a public
|
|
4
|
+
issue.
|
|
5
|
+
|
|
6
|
+
## Supported release
|
|
7
|
+
|
|
8
|
+
Only the latest npm release of `ur-agent` is supported for security fixes.
|
|
9
|
+
|
|
10
|
+
## Handling secrets
|
|
11
|
+
|
|
12
|
+
Do not commit API keys, tokens, private URLs, credentials, local `.ur/` run
|
|
13
|
+
state, shell history, or generated logs. Run the repository secret scan before
|
|
14
|
+
release:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
bun run secrets:scan
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
UR-AGENT can execute commands and load plugins. Treat plugins as trusted code,
|
|
21
|
+
review MCP server configuration before enabling it, and use permission modes or
|
|
22
|
+
sandboxes for risky workflows.
|
package/bin/ur.js
CHANGED
|
@@ -33,7 +33,7 @@ const packageName =
|
|
|
33
33
|
const issuesUrl =
|
|
34
34
|
typeof packageMetadata.bugs?.url === 'string'
|
|
35
35
|
? packageMetadata.bugs.url
|
|
36
|
-
: 'https://github.com/Maitham16/UR
|
|
36
|
+
: 'https://github.com/Maitham16/UR/issues'
|
|
37
37
|
|
|
38
38
|
const bun = process.env.BUN_BIN || process.env.BUN_EXECUTABLE || 'bun'
|
|
39
39
|
const ollamaModel =
|
|
@@ -72,13 +72,13 @@ function readJson(req) {
|
|
|
72
72
|
function buildAgentCard(baseUrl) {
|
|
73
73
|
return {
|
|
74
74
|
protocolVersion: '0.3.0',
|
|
75
|
-
name: 'UR
|
|
75
|
+
name: 'UR-AGENT',
|
|
76
76
|
description:
|
|
77
77
|
'Local-first terminal coding agent powered through the local Ollama app, with MCP tools, custom agents, browser workflows, memory, verifier gates, and permission controls.',
|
|
78
78
|
url: `${baseUrl}/a2a`,
|
|
79
79
|
version,
|
|
80
80
|
documentationUrl:
|
|
81
|
-
'https://github.com/Maitham16/UR
|
|
81
|
+
'https://github.com/Maitham16/UR/blob/master/docs/AGENT_TRENDS.md',
|
|
82
82
|
capabilities: {
|
|
83
83
|
streaming: true,
|
|
84
84
|
pushNotifications: false,
|
|
@@ -88,7 +88,7 @@ function buildAgentCard(baseUrl) {
|
|
|
88
88
|
defaultOutputModes: ['text/plain', 'text/markdown', 'application/json'],
|
|
89
89
|
provider: {
|
|
90
90
|
organization: 'Maitham Al-rubaye',
|
|
91
|
-
url: 'https://github.com/Maitham16/UR
|
|
91
|
+
url: 'https://github.com/Maitham16/UR',
|
|
92
92
|
},
|
|
93
93
|
skills: [
|
|
94
94
|
{
|
|
@@ -258,7 +258,7 @@ const child = spawn(bun, args, {
|
|
|
258
258
|
child.on('error', error => {
|
|
259
259
|
if (error.code === 'ENOENT') {
|
|
260
260
|
console.error(
|
|
261
|
-
'
|
|
261
|
+
'UR-AGENT requires Bun to run. Install Bun from https://bun.sh, then retry.',
|
|
262
262
|
)
|
|
263
263
|
process.exit(1)
|
|
264
264
|
}
|