anentrypoint-design 0.0.84 → 0.0.85
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 +7 -8
- package/dist/247420.app.js +4 -4
- package/dist/247420.css +7 -8
- package/dist/247420.js +21 -21
- package/package.json +1 -1
- package/src/components/freddie/pages-chat.js +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anentrypoint-design",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.85",
|
|
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",
|
|
@@ -73,25 +73,25 @@ export async function chat(h0) {
|
|
|
73
73
|
Hero({ title: 'chat', body: 'talk to the agent. pick a working dir, optional skill, optional provider.', accent: cs.sessionId ? 'session '+cs.sessionId.slice(0,8) : 'new session' }),
|
|
74
74
|
Panel({ title: 'chat', right: h('button', { class: 'btn-primary', onclick: ev => { ev.preventDefault(); newSession(); } }, '+ new'), children: [
|
|
75
75
|
h('form', { class: 'fd-chat-form', onsubmit: sendChat },
|
|
76
|
-
h('label', { class: 'fd-label' }, '
|
|
76
|
+
h('label', { class: 'fd-label' }, 'working directory'),
|
|
77
77
|
h('input', { name: 'cwd', type: 'text', placeholder: 'e.g. C:/dev/myproject', value: cs.cwd, oninput: ev => { cs.cwd = ev.target.value; } }),
|
|
78
78
|
h('div', { class: 'fd-row' },
|
|
79
79
|
h('div', { class: 'fd-col' },
|
|
80
|
-
h('label', { class: 'fd-label' }, '
|
|
80
|
+
h('label', { class: 'fd-label' }, 'skill'),
|
|
81
81
|
h('select', { name: 'skill', onchange: ev => { cs.skill = ev.target.value; } },
|
|
82
82
|
h('option', { value: '' }, '— no skill —'),
|
|
83
83
|
...Object.entries(byCat).map(([cat, ss]) => h('optgroup', { label: cat }, ...ss.map(s => h('option', { value: s.name, selected: cs.skill === s.name ? 'true' : null }, skillLabel(s)))))
|
|
84
84
|
)
|
|
85
85
|
),
|
|
86
86
|
h('div', { class: 'fd-col' },
|
|
87
|
-
h('label', { class: 'fd-label' }, '
|
|
87
|
+
h('label', { class: 'fd-label' }, 'provider'),
|
|
88
88
|
h('select', { name: 'provider', onchange: ev => { cs.provider = ev.target.value; } },
|
|
89
89
|
h('option', { value: '' }, configured.length ? '— auto —' : '— none configured —'),
|
|
90
90
|
...configured.map(p => h('option', { value: p.name, selected: cs.provider === p.name ? 'true' : null }, (p.available ? '● ' : '○ ') + p.name))
|
|
91
91
|
)
|
|
92
92
|
),
|
|
93
93
|
h('div', { class: 'fd-col' },
|
|
94
|
-
h('label', { class: 'fd-label' }, '
|
|
94
|
+
h('label', { class: 'fd-label' }, 'model'),
|
|
95
95
|
h('input', { name: 'model', type: 'text', placeholder: 'default', value: cs.model, oninput: ev => { cs.model = ev.target.value; } })
|
|
96
96
|
)
|
|
97
97
|
),
|