agentui-wc 0.1.59 → 0.1.61
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/AGENTS.md +9 -9
- package/README.md +3 -3
- package/dist/AGENTS.md +9 -9
- package/dist/README.md +3 -3
- package/dist/component-schema.json +1 -1
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -1949,12 +1949,12 @@ element.innerHTML = `<span>${userName}</span>`; // XSS RISK!
|
|
|
1949
1949
|
## File Structure
|
|
1950
1950
|
```
|
|
1951
1951
|
dist/
|
|
1952
|
-
├── agentui.esm.js # Full ESM bundle (
|
|
1953
|
-
├── agentui.min.js # Full IIFE bundle (
|
|
1954
|
-
├── agentui.css # Combined CSS (
|
|
1952
|
+
├── agentui.esm.js # Full ESM bundle (173 KB)
|
|
1953
|
+
├── agentui.min.js # Full IIFE bundle (174 KB)
|
|
1954
|
+
├── agentui.css # Combined CSS (90 KB)
|
|
1955
1955
|
├── agentui.d.ts # TypeScript definitions
|
|
1956
1956
|
├── routes/ # Route Bundles (Modern)
|
|
1957
|
-
│ ├── shell.js # App Shell (Navbar, Theme, Bus) - 5 KB
|
|
1957
|
+
│ ├── shell.js # App Shell (Navbar, Theme, Bus) - 13 KB raw / 5 KB gzip
|
|
1958
1958
|
│ ├── home.js # Home route components
|
|
1959
1959
|
│ ├── chunk-*.js # Shared dependencies (deduplicated)
|
|
1960
1960
|
│ ├── route-deps.json # Auto-generated page dependencies
|
|
@@ -2080,7 +2080,7 @@ For Modern performance, use the **App Shell** pattern. Load the critical shell f
|
|
|
2080
2080
|
|
|
2081
2081
|
| Bundle | Content | Size (gzip) |
|
|
2082
2082
|
|--------|---------|-------------|
|
|
2083
|
-
| `shell.js` | Navbar, Theme, EventBus, Toasts | ~5 KB |
|
|
2083
|
+
| `shell.js` | Navbar, Theme, EventBus, Toasts | ~5 KB gzip |
|
|
2084
2084
|
| `home.js` | Landing page components | ~2 KB |
|
|
2085
2085
|
| `forms.js` | (Example) Input, Button, Checkbox | ~7 KB |
|
|
2086
2086
|
|
|
@@ -2092,7 +2092,7 @@ For Modern performance, use the **App Shell** pattern. Load the critical shell f
|
|
|
2092
2092
|
---
|
|
2093
2093
|
|
|
2094
2094
|
## Performance Metrics
|
|
2095
|
-
- **Bundle size:**
|
|
2095
|
+
- **Bundle size:** 173 KB full / ~20 KB initial shell (gzipped: 60 KB total / ~20 KB initial)
|
|
2096
2096
|
- **Lighthouse:** 100% Performance, 100% Accessibility, 100% SEO, 100% Best Practices
|
|
2097
2097
|
- **EventBus:** 111M ops/sec (LightBus emitSync)
|
|
2098
2098
|
- **Virtual List:** Handles 10K+ items at 60fps
|
|
@@ -3117,8 +3117,8 @@ All hash links must have focusable targets:
|
|
|
3117
3117
|
<link rel="stylesheet" href="https://unpkg.com/agentui-wc@latest/dist/agentui.css">
|
|
3118
3118
|
|
|
3119
3119
|
<!-- Pinned version (recommended for production) -->
|
|
3120
|
-
<script type="module" src="https://unpkg.com/agentui-wc@0.1.
|
|
3121
|
-
<link rel="stylesheet" href="https://unpkg.com/agentui-wc@0.1.
|
|
3120
|
+
<script type="module" src="https://unpkg.com/agentui-wc@0.1.59/dist/agentui.esm.js"></script>
|
|
3121
|
+
<link rel="stylesheet" href="https://unpkg.com/agentui-wc@0.1.59/dist/agentui.css">
|
|
3122
3122
|
```
|
|
3123
3123
|
|
|
3124
3124
|
---
|
|
@@ -3135,4 +3135,4 @@ All hash links must have focusable targets:
|
|
|
3135
3135
|
|
|
3136
3136
|
---
|
|
3137
3137
|
|
|
3138
|
-
*Last updated: v0.1.
|
|
3138
|
+
*Last updated: v0.1.59 - 2026-02-08*
|
package/README.md
CHANGED
|
@@ -75,7 +75,7 @@ AgentUI is built on four ideas:
|
|
|
75
75
|
| **Bundle** | 60KB gzipped (JS+CSS), all 50 components | Tree-shake to ~20KB, then add deps |
|
|
76
76
|
| **Performance** | Lighthouse 100/100/100/100 ([verify](https://pagespeed.web.dev/analysis?url=https://giuseppescottolavina.github.io/AgentUI/demo/)) | Varies |
|
|
77
77
|
| **Dependencies** | Zero. Forever. | npm audit anxiety |
|
|
78
|
-
| **Tests** | 1300+ tests, 0 failures
|
|
78
|
+
| **Tests** | 1300+ tests (unit + E2E), 0 unit failures | Coverage varies |
|
|
79
79
|
| **Memory** | Managed listeners (AbortController), zero leaks verified | Framework-dependent |
|
|
80
80
|
| **Security** | Every component XSS-audited, CSP-compatible, no `eval()` | Trust your deps |
|
|
81
81
|
| **Stability** | W3C Web Components — no migration treadmill | React 16→17→18→19... |
|
|
@@ -117,13 +117,13 @@ AgentUI is in **alpha** (v0.1.x). Here's an honest look at where we are:
|
|
|
117
117
|
- ARIA roles, keyboard navigation, and 48px minimum touch targets
|
|
118
118
|
|
|
119
119
|
**Performance**
|
|
120
|
-
- 60KB total gzipped (
|
|
120
|
+
- 60KB total gzipped (47KB JS + 13KB CSS) — includes all 50 components
|
|
121
121
|
- Route-based lazy loading with Speculation Rules API prefetching
|
|
122
122
|
- Lighthouse 100/100/100/100 on demo site ([verify it yourself](https://pagespeed.web.dev/analysis?url=https://giuseppescottolavina.github.io/AgentUI/demo/))
|
|
123
123
|
- 500 component DOM instantiation in <8ms, 500 updates in <3ms
|
|
124
124
|
|
|
125
125
|
**Engineering**
|
|
126
|
-
- 1300+
|
|
126
|
+
- 1300+ tests (868 unit + E2E), zero unit failures, across 99 test files
|
|
127
127
|
- Every component XSS-audited — `escapeHTML()` on all user-facing content
|
|
128
128
|
- Zero runtime dependencies — zero supply chain risk
|
|
129
129
|
- Managed event listeners via AbortController — verified zero memory leaks
|
package/dist/AGENTS.md
CHANGED
|
@@ -1949,12 +1949,12 @@ element.innerHTML = `<span>${userName}</span>`; // XSS RISK!
|
|
|
1949
1949
|
## File Structure
|
|
1950
1950
|
```
|
|
1951
1951
|
dist/
|
|
1952
|
-
├── agentui.esm.js # Full ESM bundle (
|
|
1953
|
-
├── agentui.min.js # Full IIFE bundle (
|
|
1954
|
-
├── agentui.css # Combined CSS (
|
|
1952
|
+
├── agentui.esm.js # Full ESM bundle (173 KB)
|
|
1953
|
+
├── agentui.min.js # Full IIFE bundle (174 KB)
|
|
1954
|
+
├── agentui.css # Combined CSS (90 KB)
|
|
1955
1955
|
├── agentui.d.ts # TypeScript definitions
|
|
1956
1956
|
├── routes/ # Route Bundles (Modern)
|
|
1957
|
-
│ ├── shell.js # App Shell (Navbar, Theme, Bus) - 5 KB
|
|
1957
|
+
│ ├── shell.js # App Shell (Navbar, Theme, Bus) - 13 KB raw / 5 KB gzip
|
|
1958
1958
|
│ ├── home.js # Home route components
|
|
1959
1959
|
│ ├── chunk-*.js # Shared dependencies (deduplicated)
|
|
1960
1960
|
│ ├── route-deps.json # Auto-generated page dependencies
|
|
@@ -2080,7 +2080,7 @@ For Modern performance, use the **App Shell** pattern. Load the critical shell f
|
|
|
2080
2080
|
|
|
2081
2081
|
| Bundle | Content | Size (gzip) |
|
|
2082
2082
|
|--------|---------|-------------|
|
|
2083
|
-
| `shell.js` | Navbar, Theme, EventBus, Toasts | ~5 KB |
|
|
2083
|
+
| `shell.js` | Navbar, Theme, EventBus, Toasts | ~5 KB gzip |
|
|
2084
2084
|
| `home.js` | Landing page components | ~2 KB |
|
|
2085
2085
|
| `forms.js` | (Example) Input, Button, Checkbox | ~7 KB |
|
|
2086
2086
|
|
|
@@ -2092,7 +2092,7 @@ For Modern performance, use the **App Shell** pattern. Load the critical shell f
|
|
|
2092
2092
|
---
|
|
2093
2093
|
|
|
2094
2094
|
## Performance Metrics
|
|
2095
|
-
- **Bundle size:**
|
|
2095
|
+
- **Bundle size:** 173 KB full / ~20 KB initial shell (gzipped: 60 KB total / ~20 KB initial)
|
|
2096
2096
|
- **Lighthouse:** 100% Performance, 100% Accessibility, 100% SEO, 100% Best Practices
|
|
2097
2097
|
- **EventBus:** 111M ops/sec (LightBus emitSync)
|
|
2098
2098
|
- **Virtual List:** Handles 10K+ items at 60fps
|
|
@@ -3117,8 +3117,8 @@ All hash links must have focusable targets:
|
|
|
3117
3117
|
<link rel="stylesheet" href="https://unpkg.com/agentui-wc@latest/dist/agentui.css">
|
|
3118
3118
|
|
|
3119
3119
|
<!-- Pinned version (recommended for production) -->
|
|
3120
|
-
<script type="module" src="https://unpkg.com/agentui-wc@0.1.
|
|
3121
|
-
<link rel="stylesheet" href="https://unpkg.com/agentui-wc@0.1.
|
|
3120
|
+
<script type="module" src="https://unpkg.com/agentui-wc@0.1.59/dist/agentui.esm.js"></script>
|
|
3121
|
+
<link rel="stylesheet" href="https://unpkg.com/agentui-wc@0.1.59/dist/agentui.css">
|
|
3122
3122
|
```
|
|
3123
3123
|
|
|
3124
3124
|
---
|
|
@@ -3135,4 +3135,4 @@ All hash links must have focusable targets:
|
|
|
3135
3135
|
|
|
3136
3136
|
---
|
|
3137
3137
|
|
|
3138
|
-
*Last updated: v0.1.
|
|
3138
|
+
*Last updated: v0.1.59 - 2026-02-08*
|
package/dist/README.md
CHANGED
|
@@ -75,7 +75,7 @@ AgentUI is built on four ideas:
|
|
|
75
75
|
| **Bundle** | 60KB gzipped (JS+CSS), all 50 components | Tree-shake to ~20KB, then add deps |
|
|
76
76
|
| **Performance** | Lighthouse 100/100/100/100 ([verify](https://pagespeed.web.dev/analysis?url=https://giuseppescottolavina.github.io/AgentUI/demo/)) | Varies |
|
|
77
77
|
| **Dependencies** | Zero. Forever. | npm audit anxiety |
|
|
78
|
-
| **Tests** | 1300+ tests, 0 failures
|
|
78
|
+
| **Tests** | 1300+ tests (unit + E2E), 0 unit failures | Coverage varies |
|
|
79
79
|
| **Memory** | Managed listeners (AbortController), zero leaks verified | Framework-dependent |
|
|
80
80
|
| **Security** | Every component XSS-audited, CSP-compatible, no `eval()` | Trust your deps |
|
|
81
81
|
| **Stability** | W3C Web Components — no migration treadmill | React 16→17→18→19... |
|
|
@@ -117,13 +117,13 @@ AgentUI is in **alpha** (v0.1.x). Here's an honest look at where we are:
|
|
|
117
117
|
- ARIA roles, keyboard navigation, and 48px minimum touch targets
|
|
118
118
|
|
|
119
119
|
**Performance**
|
|
120
|
-
- 60KB total gzipped (
|
|
120
|
+
- 60KB total gzipped (47KB JS + 13KB CSS) — includes all 50 components
|
|
121
121
|
- Route-based lazy loading with Speculation Rules API prefetching
|
|
122
122
|
- Lighthouse 100/100/100/100 on demo site ([verify it yourself](https://pagespeed.web.dev/analysis?url=https://giuseppescottolavina.github.io/AgentUI/demo/))
|
|
123
123
|
- 500 component DOM instantiation in <8ms, 500 updates in <3ms
|
|
124
124
|
|
|
125
125
|
**Engineering**
|
|
126
|
-
- 1300+
|
|
126
|
+
- 1300+ tests (868 unit + E2E), zero unit failures, across 99 test files
|
|
127
127
|
- Every component XSS-audited — `escapeHTML()` on all user-facing content
|
|
128
128
|
- Zero runtime dependencies — zero supply chain risk
|
|
129
129
|
- Managed event listeners via AbortController — verified zero memory leaks
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"title": "AgentUI Component Schema",
|
|
5
5
|
"description": "Machine-readable schema for AI agent component discovery",
|
|
6
6
|
"version": "0.1.4",
|
|
7
|
-
"generatedAt": "2026-02-
|
|
7
|
+
"generatedAt": "2026-02-08T07:28:40.248Z",
|
|
8
8
|
"componentCount": 50,
|
|
9
9
|
"components": {
|
|
10
10
|
"au-card": {
|