youiyoux 0.0.0-stage → 0.1.2
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/LICENSE +21 -0
- package/README.md +35 -2
- package/dist/chunks/chunk-3ZHGONNA.js +21797 -0
- package/dist/chunks/chunk-CLNMVQZJ.js +5044 -0
- package/dist/chunks/chunk-E4HNK7VF.js +47 -0
- package/dist/chunks/chunk-FUB7B3VK.js +1242 -0
- package/dist/chunks/chunk-S7UV34H5.js +87 -0
- package/dist/chunks/chunk-UHPK62Q5.js +2740 -0
- package/dist/chunks/chunk-ZLRFD5JI.js +28355 -0
- package/dist/chunks/src-4KFNL3MY.js +231 -0
- package/dist/chunks/src-7ENJHYG4.js +2083 -0
- package/dist/chunks/src-B742AYFC.js +335 -0
- package/dist/chunks/src-VEHGMKYV.js +79 -0
- package/dist/chunks/src-WQWYJ6IQ.js +17490 -0
- package/dist/packages/cli/bin/youi.js +2 -0
- package/dist/schema/youi.baseline.schema.json +165 -0
- package/dist/schema/youi.component.schema.json +391 -0
- package/dist/schema/youi.config.schema.json +99 -0
- package/dist/schema/youi.detect.schema.json +388 -0
- package/dist/schema/youi.inventory.schema.json +1284 -0
- package/dist/schema/youi.library.schema.json +353 -0
- package/dist/schema/youi.lock.schema.json +103 -0
- package/dist/schema/youi.migration.schema.json +156 -0
- package/dist/schema/youi.project.schema.json +285 -0
- package/dist/schema/youi.rule.schema.json +179 -0
- package/dist/schema/youi.tokens.schema.json +1956 -0
- package/dist/schema/youi.usage.schema.json +470 -0
- package/dist/tailwind-worker.js +76 -0
- package/dist/youi.js +15 -0
- package/dist/youiyoux.js +18 -0
- package/package.json +56 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Aleksey Pelletier
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,36 @@
|
|
|
1
|
-
#
|
|
1
|
+
# youiyoux
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**Your agent rebuilds components you already have. youiyoux catches it.**
|
|
4
|
+
|
|
5
|
+
UI context and verification for coding agents: it tells the agent what your repo already has before
|
|
6
|
+
it writes UI, then checks what it wrote.
|
|
7
|
+
|
|
8
|
+
```sh
|
|
9
|
+
npx youiyoux # scan this repo
|
|
10
|
+
npx youiyoux path/to/repo # or another one; --out <dir> writes elsewhere
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
No config, no account. You get:
|
|
14
|
+
|
|
15
|
+
- `youiyoux-report.html`: near-duplicate components and which to keep, hardcoded values your theme already has, off-library imports, and the top fixes with their next steps. One offline page.
|
|
16
|
+
- `youiyoux-card.png`: a 1200×630 card with the headline numbers.
|
|
17
|
+
- `youiyoux-summary.md`: paste it into a PR or issue.
|
|
18
|
+
|
|
19
|
+
## For your agent
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
npx youiyoux agents install # rule in AGENTS.md + CLAUDE.md, MCP server for Claude Code + Codex
|
|
23
|
+
npx youiyoux hooks install # check after each Claude Code edit, and at git commit
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
- `ui_find_component` (MCP): before writing a component, the existing one with its import, props and a real usage.
|
|
27
|
+
- `npx youiyoux check --diff`: after UI edits, what the change adds, each with its fix.
|
|
28
|
+
- `ui_render` (MCP) or `npx youiyoux render <file>`: screenshots light and dark, accessibility issues, a diff against base.
|
|
29
|
+
|
|
30
|
+
## Privacy
|
|
31
|
+
|
|
32
|
+
Runs locally; nothing is uploaded, no telemetry. The report includes relative paths, component names, class lists, counts and rendered images when available. No source lines unless `--include-code`; home paths, usernames, env values and credentials are stripped. Rendered looks need a headless Chromium (`--render` offers to download it, ~100 MB, once); specimen images are cached in `~/.cache/youiyoux/specimens`.
|
|
33
|
+
|
|
34
|
+
Node 20 or later. The `youi` bin is a silent alias.
|
|
35
|
+
|
|
36
|
+
Docs, agent reference and source: [github.com/ap9000/youiyoux](https://github.com/ap9000/youiyoux)
|