anentrypoint-design 0.0.96 → 0.0.98
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/app-shell.css +53 -8
- package/colors_and_type.css +9 -0
- package/dist/247420.app.js +4 -4
- package/dist/247420.css +62 -8
- package/dist/247420.js +21 -21
- package/package.json +1 -1
- package/src/components/content.js +17 -14
- package/src/components/freddie/pages-config-edit.js +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anentrypoint-design",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.98",
|
|
4
4
|
"description": "247420 design system SDK — webjsx + modified ripple-ui, single-file ESM bundle for reproducible use of the AnEntrypoint design.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/247420.js",
|
|
@@ -91,7 +91,9 @@ export function WorksList({ works = [], openedIndex = -1, onToggle }) {
|
|
|
91
91
|
class: 'work-detail',
|
|
92
92
|
'data-work-index': String(i)
|
|
93
93
|
},
|
|
94
|
-
h('
|
|
94
|
+
h('div', { class: 'ds-prose' },
|
|
95
|
+
h('p', { class: 'ds-work-body' }, w.body)
|
|
96
|
+
),
|
|
95
97
|
h('div', { class: 'ds-work-actions' },
|
|
96
98
|
Btn({ primary: true, href: w.href || '#', children: 'open ↗' }),
|
|
97
99
|
Btn({ href: w.source || '#', children: 'source' })
|
|
@@ -110,17 +112,16 @@ export function WritingList({ posts = [] }) {
|
|
|
110
112
|
});
|
|
111
113
|
}
|
|
112
114
|
|
|
113
|
-
export function Manifesto({ paragraphs = [], maxWidth
|
|
114
|
-
return
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
});
|
|
115
|
+
export function Manifesto({ paragraphs = [], maxWidth }) {
|
|
116
|
+
return h('div', {
|
|
117
|
+
class: 'ds-prose ds-manifesto',
|
|
118
|
+
'data-max-width': maxWidth ? String(maxWidth) : null
|
|
119
|
+
},
|
|
120
|
+
...paragraphs.map((p, i) => h('p', {
|
|
121
|
+
key: i,
|
|
122
|
+
class: 'ds-manifesto-para' + (p.dim ? ' dim' : '')
|
|
123
|
+
}, p.text || p))
|
|
124
|
+
);
|
|
124
125
|
}
|
|
125
126
|
|
|
126
127
|
export function Kpi({ items = [] }) {
|
|
@@ -178,8 +179,10 @@ export function HomeView({ state, onNav, onToggleWork, works, posts, manifesto,
|
|
|
178
179
|
|
|
179
180
|
export function ProjectView({ project, copied, onCopy }) {
|
|
180
181
|
return [
|
|
181
|
-
|
|
182
|
-
|
|
182
|
+
h('div', { class: 'ds-prose' },
|
|
183
|
+
Heading({ level: 1, children: project.name }),
|
|
184
|
+
Lede({ children: project.tagline })
|
|
185
|
+
),
|
|
183
186
|
Heading({ level: 3, children: 'install' }),
|
|
184
187
|
Install({ cmd: project.install, copied, onCopy }),
|
|
185
188
|
Heading({ level: 3, children: 'receipt' }),
|
|
@@ -8,6 +8,9 @@ const KNOWN_FIELDS = [
|
|
|
8
8
|
{ key: 'display.skin', label: 'skin', kind: 'skin' },
|
|
9
9
|
{ key: 'display.tool_progress_command', label: 'tool progress command', kind: 'bool' },
|
|
10
10
|
{ key: 'display.background_process_notifications', label: 'bg notifications', kind: 'enum', options: ['all','errors','none'] },
|
|
11
|
+
{ key: 'providers.freddie.baseUrl', label: 'freddie URL (thebird → freddie)', kind: 'string', nullable: true },
|
|
12
|
+
{ key: 'providers.openai.baseUrl', label: 'acptoapi URL (freddie → acptoapi)', kind: 'string', nullable: true },
|
|
13
|
+
{ key: 'providers.openai.model', label: 'default LLM model', kind: 'string', nullable: true },
|
|
11
14
|
{ key: 'agent.provider', label: 'agent provider', kind: 'string' },
|
|
12
15
|
{ key: 'agent.model', label: 'agent model', kind: 'modelDropdown' },
|
|
13
16
|
{ key: 'agent.max_iterations', label: 'max iterations', kind: 'number' },
|