@uluops/setup 0.2.0
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 +178 -0
- package/assets/agents/api-contract-validator-agent.md +960 -0
- package/assets/agents/aristotle-analyst-agent.md +705 -0
- package/assets/agents/aristotle-explorer-agent.md +152 -0
- package/assets/agents/aristotle-forecaster-agent.md +666 -0
- package/assets/agents/aristotle-validator-agent.md +667 -0
- package/assets/agents/assumption-excavator-agent.md +1354 -0
- package/assets/agents/code-auditor-agent.md +1061 -0
- package/assets/agents/code-optimizer-agent.md +876 -0
- package/assets/agents/code-validator-agent.md +846 -0
- package/assets/agents/docs-validator-agent.md +490 -0
- package/assets/agents/frontend-validator-agent.md +844 -0
- package/assets/agents/mcp-validator-agent.md +827 -0
- package/assets/agents/pre-implementation-architect-agent.md +1036 -0
- package/assets/agents/prompt-engineer-agent.md +1158 -0
- package/assets/agents/prompt-pattern-analyzer-agent.md +907 -0
- package/assets/agents/prompt-quality-validator-agent.md +1018 -0
- package/assets/agents/public-interface-validator-agent.md +951 -0
- package/assets/agents/release-readiness-agent.md +482 -0
- package/assets/agents/security-analyst-agent.md +1093 -0
- package/assets/agents/test-architect-agent.md +861 -0
- package/assets/agents/type-safety-validator-agent.md +932 -0
- package/assets/agents/workflow-synthesis-agent.md +836 -0
- package/assets/commands/agents/api-contract.md +135 -0
- package/assets/commands/agents/architect.md +135 -0
- package/assets/commands/agents/aristotle-analyst.md +115 -0
- package/assets/commands/agents/aristotle-explorer.md +92 -0
- package/assets/commands/agents/aristotle-forecaster.md +114 -0
- package/assets/commands/agents/aristotle-validator.md +114 -0
- package/assets/commands/agents/assumption-excavator.md +114 -0
- package/assets/commands/agents/audit.md +136 -0
- package/assets/commands/agents/docs-validate.md +133 -0
- package/assets/commands/agents/frontend.md +135 -0
- package/assets/commands/agents/mcp-validate.md +136 -0
- package/assets/commands/agents/optimize.md +133 -0
- package/assets/commands/agents/pattern-analyzer.md +126 -0
- package/assets/commands/agents/prompt-quality.md +134 -0
- package/assets/commands/agents/prompt-validate.md +135 -0
- package/assets/commands/agents/public-interface.md +134 -0
- package/assets/commands/agents/release.md +135 -0
- package/assets/commands/agents/security.md +137 -0
- package/assets/commands/agents/test-review.md +136 -0
- package/assets/commands/agents/type-safety.md +135 -0
- package/assets/commands/agents/validate.md +134 -0
- package/assets/commands/agents/workflow-synthesis.md +101 -0
- package/assets/commands/workflows/aristotle.md +543 -0
- package/assets/commands/workflows/post-implementation.md +577 -0
- package/assets/commands/workflows/pre-implementation.md +670 -0
- package/assets/commands/workflows/prompt-audit.md +754 -0
- package/assets/commands/workflows/ship.md +721 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +436 -0
- package/dist/lib/config-merger.d.ts +26 -0
- package/dist/lib/config-merger.js +63 -0
- package/dist/lib/file-ops.d.ts +23 -0
- package/dist/lib/file-ops.js +86 -0
- package/dist/lib/hash.d.ts +1 -0
- package/dist/lib/hash.js +4 -0
- package/dist/lib/manifest.d.ts +16 -0
- package/dist/lib/manifest.js +34 -0
- package/dist/lib/paths.d.ts +14 -0
- package/dist/lib/paths.js +49 -0
- package/dist/lib/settings-merger.d.ts +43 -0
- package/dist/lib/settings-merger.js +91 -0
- package/dist/steps/agents.d.ts +8 -0
- package/dist/steps/agents.js +14 -0
- package/dist/steps/auth.d.ts +12 -0
- package/dist/steps/auth.js +80 -0
- package/dist/steps/commands.d.ts +9 -0
- package/dist/steps/commands.js +69 -0
- package/dist/steps/detect.d.ts +9 -0
- package/dist/steps/detect.js +30 -0
- package/dist/steps/mcp.d.ts +6 -0
- package/dist/steps/mcp.js +40 -0
- package/dist/steps/metrics.d.ts +22 -0
- package/dist/steps/metrics.js +176 -0
- package/dist/steps/shell.d.ts +2 -0
- package/dist/steps/shell.js +48 -0
- package/dist/steps/signup.d.ts +13 -0
- package/dist/steps/signup.js +92 -0
- package/dist/steps/verify.d.ts +10 -0
- package/dist/steps/verify.js +184 -0
- package/dist/test/auth.test.d.ts +1 -0
- package/dist/test/auth.test.js +43 -0
- package/dist/test/config-io.test.d.ts +1 -0
- package/dist/test/config-io.test.js +56 -0
- package/dist/test/config-merger.test.d.ts +1 -0
- package/dist/test/config-merger.test.js +94 -0
- package/dist/test/detect.test.d.ts +1 -0
- package/dist/test/detect.test.js +25 -0
- package/dist/test/file-ops.test.d.ts +1 -0
- package/dist/test/file-ops.test.js +100 -0
- package/dist/test/hash.test.d.ts +1 -0
- package/dist/test/hash.test.js +14 -0
- package/dist/test/manifest.test.d.ts +1 -0
- package/dist/test/manifest.test.js +78 -0
- package/dist/test/paths.test.d.ts +1 -0
- package/dist/test/paths.test.js +30 -0
- package/dist/test/settings-merger.test.d.ts +1 -0
- package/dist/test/settings-merger.test.js +167 -0
- package/dist/test/shell-profile.test.d.ts +1 -0
- package/dist/test/shell-profile.test.js +40 -0
- package/dist/test/shell.test.d.ts +1 -0
- package/dist/test/shell.test.js +71 -0
- package/dist/test/signup.test.d.ts +1 -0
- package/dist/test/signup.test.js +83 -0
- package/package.json +36 -0
package/README.md
ADDED
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
**[UluOps](https://uluops.ai)** · Operating Intelligence as Infrastructure
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# @uluops/setup
|
|
6
|
+
|
|
7
|
+
Zero-friction installer for [UluOps](https://uluops.ai) + Claude Code. One command sets up MCP servers, agents, and slash commands.
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
npx @uluops/setup
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## What it does
|
|
14
|
+
|
|
15
|
+
| Artifact | Count | Destination |
|
|
16
|
+
|----------|-------|-------------|
|
|
17
|
+
| MCP servers | 2 | `~/.claude.json` |
|
|
18
|
+
| Agent definitions | 22 | `~/.claude/agents/` |
|
|
19
|
+
| Slash commands | 27 | `~/.claude/commands/` |
|
|
20
|
+
|
|
21
|
+
The installer validates your API key, writes MCP config for the tracker and registry servers, copies pre-rendered agent and command definitions, and runs a health check against both APIs.
|
|
22
|
+
|
|
23
|
+
## Usage
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
npx @uluops/setup
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
You'll be prompted for your API key (get one at [app.uluops.ai/settings/api-keys](https://app.uluops.ai/settings/api-keys)). Everything else uses smart defaults — no other prompts.
|
|
30
|
+
|
|
31
|
+
**New to UluOps?** Create an account without leaving the terminal:
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
npx @uluops/setup --signup
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
You'll be prompted for email and password. Account + API key are created automatically.
|
|
38
|
+
|
|
39
|
+
**Restart Claude Code after setup to load agents.**
|
|
40
|
+
|
|
41
|
+
### API key resolution
|
|
42
|
+
|
|
43
|
+
The installer checks these sources in order:
|
|
44
|
+
|
|
45
|
+
1. `--api-key <key>` flag
|
|
46
|
+
2. `ULUOPS_API_KEY` environment variable
|
|
47
|
+
3. `~/.uluops/credentials.json` (existing CLI auth)
|
|
48
|
+
4. Interactive prompt
|
|
49
|
+
|
|
50
|
+
### Options
|
|
51
|
+
|
|
52
|
+
```
|
|
53
|
+
npx @uluops/setup [options]
|
|
54
|
+
|
|
55
|
+
--api-key <key> API key (skip prompt)
|
|
56
|
+
--signup Create account from terminal (email + password)
|
|
57
|
+
--scope <mode> MCP config scope: "global" or "local" (default: global)
|
|
58
|
+
--local-defs Save definitions to ./uluops/ instead of ~/.claude/
|
|
59
|
+
--shell Write API key export to shell profile
|
|
60
|
+
--skip-validation Accept API key without server verification
|
|
61
|
+
--list Show available agents and workflows without installing
|
|
62
|
+
--verify Check existing installation health (no changes)
|
|
63
|
+
--uninstall Remove all UluOps-managed artifacts
|
|
64
|
+
--dry-run Show what would happen without making changes
|
|
65
|
+
-y, --yes Skip confirmations
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Examples
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
# New user — create account + install in one shot
|
|
72
|
+
npx @uluops/setup --signup
|
|
73
|
+
|
|
74
|
+
# Non-interactive (CI/automation)
|
|
75
|
+
npx @uluops/setup --api-key ulr_abc123 -y
|
|
76
|
+
|
|
77
|
+
# Local MCP config (project-scoped)
|
|
78
|
+
npx @uluops/setup --scope local
|
|
79
|
+
|
|
80
|
+
# Preview without changes
|
|
81
|
+
npx @uluops/setup --dry-run --api-key ulr_abc123
|
|
82
|
+
|
|
83
|
+
# Persist API key in shell profile (~/.zshrc, ~/.bashrc, etc.)
|
|
84
|
+
npx @uluops/setup --shell
|
|
85
|
+
|
|
86
|
+
# Preview what's included without installing
|
|
87
|
+
npx @uluops/setup --list
|
|
88
|
+
|
|
89
|
+
# Check existing installation
|
|
90
|
+
npx @uluops/setup --verify
|
|
91
|
+
|
|
92
|
+
# Clean removal
|
|
93
|
+
npx @uluops/setup --uninstall
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
## What's included
|
|
97
|
+
|
|
98
|
+
### Workflows
|
|
99
|
+
|
|
100
|
+
| Command | Description |
|
|
101
|
+
|---------|-------------|
|
|
102
|
+
| `/workflows:pre-implementation` | Design review before coding |
|
|
103
|
+
| `/workflows:post-implementation` | Iterative validation loop |
|
|
104
|
+
| `/workflows:ship` | Final gate before shipping |
|
|
105
|
+
| `/workflows:prompt-audit` | Audit agent prompts |
|
|
106
|
+
| `/workflows:aristotle` | Four-phase Aristotelian analysis |
|
|
107
|
+
|
|
108
|
+
### Agents
|
|
109
|
+
|
|
110
|
+
| Command | Focus | Model |
|
|
111
|
+
|---------|-------|-------|
|
|
112
|
+
| `/agents:validate` | Code quality | sonnet |
|
|
113
|
+
| `/agents:type-safety` | TypeScript | sonnet |
|
|
114
|
+
| `/agents:test-review` | Test quality | sonnet |
|
|
115
|
+
| `/agents:optimize` | Performance | sonnet |
|
|
116
|
+
| `/agents:frontend` | React/a11y | sonnet |
|
|
117
|
+
| `/agents:mcp-validate` | MCP compliance | sonnet |
|
|
118
|
+
| `/agents:architect` | Design review | sonnet |
|
|
119
|
+
| `/agents:audit` | Runtime bugs | opus |
|
|
120
|
+
| `/agents:security` | OWASP | sonnet |
|
|
121
|
+
| `/agents:api-contract` | API alignment | sonnet |
|
|
122
|
+
| `/agents:release` | Publish ready | sonnet |
|
|
123
|
+
| `/agents:public-interface` | README/exports | sonnet |
|
|
124
|
+
| `/agents:docs-validate` | Documentation | sonnet |
|
|
125
|
+
| `/agents:prompt-validate` | Prompt review | sonnet |
|
|
126
|
+
| `/agents:prompt-quality` | Prompt quality | sonnet |
|
|
127
|
+
| `/agents:pattern-analyzer` | Patterns | sonnet |
|
|
128
|
+
| `/agents:aristotle-explorer` | Categories | opus |
|
|
129
|
+
| `/agents:aristotle-analyst` | Four causes | opus |
|
|
130
|
+
| `/agents:aristotle-validator` | Teleology | opus |
|
|
131
|
+
| `/agents:aristotle-forecaster` | Potentiality | opus |
|
|
132
|
+
| `/agents:assumption-excavator` | Assumptions | sonnet |
|
|
133
|
+
| `/agents:workflow-synthesis` | Cross-agent synthesis | opus |
|
|
134
|
+
|
|
135
|
+
> This is the starter set. Browse 135+ agents at [registry.uluops.ai](https://registry.uluops.ai).
|
|
136
|
+
|
|
137
|
+
### MCP servers
|
|
138
|
+
|
|
139
|
+
Both servers use `npx -y` so there's no global install required:
|
|
140
|
+
|
|
141
|
+
- **uluops-tracker** — Validation run tracking, issue management, analytics
|
|
142
|
+
- **uluops-registry** — Agent definition registry, versioning, rendering
|
|
143
|
+
|
|
144
|
+
## How updates work
|
|
145
|
+
|
|
146
|
+
Re-running `npx @uluops/setup` is safe and idempotent:
|
|
147
|
+
|
|
148
|
+
- Unchanged files are skipped (content hash comparison)
|
|
149
|
+
- Updated files are overwritten
|
|
150
|
+
- Removed definitions are cleaned up
|
|
151
|
+
- Your custom agents and non-UluOps MCP servers are never touched
|
|
152
|
+
|
|
153
|
+
A manifest at `~/.claude/uluops-manifest.json` tracks what was installed.
|
|
154
|
+
|
|
155
|
+
## Uninstall
|
|
156
|
+
|
|
157
|
+
```
|
|
158
|
+
npx @uluops/setup --uninstall
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
Removes only UluOps-managed files: agents, commands, MCP config entries, and shell profile export (if `--shell` was used). Your custom agents and other MCP servers are preserved.
|
|
162
|
+
|
|
163
|
+
## Requirements
|
|
164
|
+
|
|
165
|
+
- Node.js >= 18
|
|
166
|
+
- [Claude Code](https://docs.anthropic.com/en/docs/claude-code) installed
|
|
167
|
+
- UluOps API key ([get one here](https://app.uluops.ai/settings/api-keys))
|
|
168
|
+
|
|
169
|
+
> **Global install:** If you install globally with `npm i -g @uluops/setup`, the binary is `uluops-setup`.
|
|
170
|
+
|
|
171
|
+
## Platform support
|
|
172
|
+
|
|
173
|
+
| Platform | Status |
|
|
174
|
+
|----------|--------|
|
|
175
|
+
| Linux | Supported |
|
|
176
|
+
| macOS | Supported |
|
|
177
|
+
| WSL2 | Supported |
|
|
178
|
+
| Windows (native) | Not yet supported |
|