agentgui 1.0.970 → 1.0.971
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 +6 -0
- package/PUNCHLIST-DESIGN-14.md +43 -0
- package/package.json +1 -1
- package/site/app/vendor/anentrypoint-design/247420.css +137 -36
- package/site/app/vendor/anentrypoint-design/247420.js +12 -12
- package/site/theme.mjs +19 -15
package/site/theme.mjs
CHANGED
|
@@ -15,6 +15,10 @@ const escapeJson = (obj) => JSON.stringify(obj)
|
|
|
15
15
|
.replace(new RegExp('\\u2028', 'g'), '\\u2028').replace(new RegExp('\\u2029', 'g'), '\\u2029');
|
|
16
16
|
|
|
17
17
|
const SDK_URL = 'https://unpkg.com/anentrypoint-design@latest/dist/247420.js';
|
|
18
|
+
// Render-blocking CSS counterpart of SDK_URL so the kit base surface + .site-*
|
|
19
|
+
// classes paint BEFORE the module's installStyles() runs (no FOUC). All design
|
|
20
|
+
// content lives in the kit; this template carries no inline <style>.
|
|
21
|
+
const CSS_URL = 'https://unpkg.com/anentrypoint-design@latest/dist/247420.css';
|
|
18
22
|
const THIS_DIR = dirname(fileURLToPath(import.meta.url));
|
|
19
23
|
|
|
20
24
|
const landingClient = `
|
|
@@ -27,16 +31,16 @@ const { site, nav, page } = data;
|
|
|
27
31
|
function Hero() {
|
|
28
32
|
if (!page || !page.hero) return null;
|
|
29
33
|
return C.Panel({
|
|
30
|
-
|
|
31
|
-
children: h('div', {
|
|
32
|
-
C.Heading({ level: 1,
|
|
34
|
+
class: 'site-panel',
|
|
35
|
+
children: h('div', { class: 'site-hero' },
|
|
36
|
+
C.Heading({ level: 1, class: 'site-hero-h', children: page.hero.heading || site.title }),
|
|
33
37
|
page.hero.subheading ? C.Lede({ children: page.hero.subheading }) : null,
|
|
34
|
-
page.hero.body ? h('p', {
|
|
35
|
-
(page.hero.badges && page.hero.badges.length) ? h('div', {
|
|
38
|
+
page.hero.body ? h('p', { class: 'site-hero-body' }, page.hero.body) : null,
|
|
39
|
+
(page.hero.badges && page.hero.badges.length) ? h('div', { class: 'site-chip-row' },
|
|
36
40
|
...page.hero.badges.map((b, i) => C.Chip({ key: 'b' + i, children: b.label }))
|
|
37
41
|
) : null,
|
|
38
|
-
(page.hero.ctas && page.hero.ctas.length) ? h('div', {
|
|
39
|
-
...page.hero.ctas.map((c, i) => C.Btn({ key: 'c' + i, href: c.href,
|
|
42
|
+
(page.hero.ctas && page.hero.ctas.length) ? h('div', { class: 'site-cta-row' },
|
|
43
|
+
...page.hero.ctas.map((c, i) => C.Btn({ key: 'c' + i, href: c.href, variant: c.primary ? 'primary' : 'default', children: c.label }))
|
|
40
44
|
) : null
|
|
41
45
|
)
|
|
42
46
|
});
|
|
@@ -54,7 +58,7 @@ function Features() {
|
|
|
54
58
|
}));
|
|
55
59
|
return C.Panel({
|
|
56
60
|
title: page.features.heading || 'features',
|
|
57
|
-
|
|
61
|
+
class: 'site-panel',
|
|
58
62
|
children: rows
|
|
59
63
|
});
|
|
60
64
|
}
|
|
@@ -70,8 +74,8 @@ function Quickstart() {
|
|
|
70
74
|
});
|
|
71
75
|
return C.Panel({
|
|
72
76
|
title: page.quickstart.heading || 'quick start',
|
|
73
|
-
|
|
74
|
-
children: h('div', {
|
|
77
|
+
class: 'site-panel',
|
|
78
|
+
children: h('div', { class: 'site-cli' }, ...lineNodes)
|
|
75
79
|
});
|
|
76
80
|
}
|
|
77
81
|
|
|
@@ -82,7 +86,7 @@ function Footer() {
|
|
|
82
86
|
h('span', { class: 'item' }, '·'),
|
|
83
87
|
h('a', { class: 'item', href: 'https://247420.xyz' }, '247420.xyz'),
|
|
84
88
|
h('span', { class: 'spread' }),
|
|
85
|
-
site.repo ? h('a', { class: 'item', href: site.repo }, 'source
|
|
89
|
+
site.repo ? h('a', { class: 'item', href: site.repo }, 'source ->') : null
|
|
86
90
|
);
|
|
87
91
|
}
|
|
88
92
|
|
|
@@ -112,7 +116,7 @@ function Footer() {
|
|
|
112
116
|
h('span', { class: 'item' }, '·'),
|
|
113
117
|
h('a', { class: 'item', href: 'https://247420.xyz' }, '247420.xyz'),
|
|
114
118
|
h('span', { class: 'spread' }),
|
|
115
|
-
site.repo ? h('a', { class: 'item', href: site.repo }, 'source
|
|
119
|
+
site.repo ? h('a', { class: 'item', href: site.repo }, 'source ->') : null
|
|
116
120
|
);
|
|
117
121
|
}
|
|
118
122
|
|
|
@@ -120,10 +124,10 @@ const App = C.AppShell({
|
|
|
120
124
|
topbar: C.Topbar({ brand: '247420', leaf: site.title || '', items: navItems }),
|
|
121
125
|
crumb: C.Crumb({ trail: ['247420', site.title || ''], leaf: page.title || '' }),
|
|
122
126
|
main: C.Panel({
|
|
123
|
-
|
|
127
|
+
class: 'site-panel',
|
|
124
128
|
children: h('iframe', {
|
|
125
129
|
src: page.embedSrc,
|
|
126
|
-
|
|
130
|
+
class: 'site-embed',
|
|
127
131
|
title: page.title || ''
|
|
128
132
|
})
|
|
129
133
|
}),
|
|
@@ -140,7 +144,7 @@ const renderHtml = ({ site, nav, page, clientScript }) => `<!DOCTYPE html>
|
|
|
140
144
|
<title>${escapeHtml(page.title || site.title)}${site.tagline ? ' - ' + escapeHtml(site.tagline) : ''}</title>
|
|
141
145
|
<meta name="description" content="${escapeHtml(page.description || site.description || site.tagline || site.title)}" />
|
|
142
146
|
<script type="importmap">{"imports":{"anentrypoint-design":"${SDK_URL}"}}</script>
|
|
143
|
-
<
|
|
147
|
+
<link rel="stylesheet" href="${CSS_URL}" />
|
|
144
148
|
</head>
|
|
145
149
|
<body>
|
|
146
150
|
<div id="app"></div>
|