freddie 0.0.60 → 0.0.62
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/package.json +1 -1
- package/src/web/app.js +0 -35
- package/src/web/index.html +7 -4
package/package.json
CHANGED
package/src/web/app.js
CHANGED
|
@@ -22,7 +22,6 @@ const ROUTES = [
|
|
|
22
22
|
{ path: '#/skills', label: 'Skills', glyph: '◈' },
|
|
23
23
|
{ path: '#/config', label: 'Config', glyph: '⚙' },
|
|
24
24
|
{ path: '#/env', label: 'Keys', glyph: '⚿' },
|
|
25
|
-
{ path: '#/docs', label: 'Documentation', glyph: '✎' },
|
|
26
25
|
{ path: '#/tools', label: 'Tools', glyph: '⚒' },
|
|
27
26
|
{ path: '#/batch', label: 'Batch', glyph: '⊞' },
|
|
28
27
|
{ path: '#/gateway', label: 'Gateway', glyph: '⇌' },
|
|
@@ -377,40 +376,6 @@ const PAGES = {
|
|
|
377
376
|
]
|
|
378
377
|
},
|
|
379
378
|
|
|
380
|
-
'#/docs': async () => [
|
|
381
|
-
Section({ title: '// documentation', children: [
|
|
382
|
-
Panel({ title: 'freddie — open JS agent harness', children: h('div', {},
|
|
383
|
-
h('p', { style: 'margin-bottom:16px;opacity:0.75;line-height:1.6' },
|
|
384
|
-
'Built on pi-mono, xstate, floosie, and anentrypoint-design. 70+ tools, 18 gateway platforms, 12 bundled skills.'),
|
|
385
|
-
Receipt({ rows: [
|
|
386
|
-
['agent loop', 'xstate + @mariozechner/pi-agent-core'],
|
|
387
|
-
['provider layer', '@mariozechner/pi-ai (Anthropic / OpenAI / Groq)'],
|
|
388
|
-
['gateway', '18 platform adapters (telegram, discord, slack, …)'],
|
|
389
|
-
['tools', '11 built-ins + auto-discovered from src/tools/'],
|
|
390
|
-
['dashboard', 'anentrypoint-design webjsx'],
|
|
391
|
-
] })) }),
|
|
392
|
-
Panel({ title: 'Links', children: h('div', {},
|
|
393
|
-
RowLink({ code: '↗', title: 'GitHub · AnEntrypoint/freddie', href: 'https://github.com/AnEntrypoint/freddie' }),
|
|
394
|
-
RowLink({ code: '↗', title: 'API health', href: '/api/health' }),
|
|
395
|
-
RowLink({ code: '↗', title: 'Debug — all subsystems', href: '/api/debug-all' }),
|
|
396
|
-
RowLink({ code: '↗', title: 'anentrypoint-design', href: 'https://anentrypoint.io/design' }),
|
|
397
|
-
) }),
|
|
398
|
-
Panel({ title: 'Quick reference', children: Receipt({ rows: [
|
|
399
|
-
['interactive REPL', 'freddie run'],
|
|
400
|
-
['dashboard', 'freddie dashboard --port 3000'],
|
|
401
|
-
['gateway', 'freddie gateway --port 4000'],
|
|
402
|
-
['list tools', 'freddie tools'],
|
|
403
|
-
['list skills', 'freddie skills'],
|
|
404
|
-
['manage profiles', 'freddie profile list'],
|
|
405
|
-
['run batch', 'freddie batch prompts.txt'],
|
|
406
|
-
['search sessions', 'freddie search "my query"'],
|
|
407
|
-
]}) }),
|
|
408
|
-
] }),
|
|
409
|
-
Panel({ title: 'Recent changelog', children: Changelog({ entries: [
|
|
410
|
-
{ date: '2026-05-01', ver: 'v0.0.1', msg: 'Initial release — 70 tools, 18 gateway platforms, 12 bundled skills' },
|
|
411
|
-
{ date: '2026-05-01', ver: 'v0.1.0', msg: 'Dashboard routes: #/tools #/batch #/gateway, anentrypoint-design pro-rata upgrade' },
|
|
412
|
-
]}) }),
|
|
413
|
-
],
|
|
414
379
|
}
|
|
415
380
|
|
|
416
381
|
async function pageSessionDetail(id) {
|
package/src/web/index.html
CHANGED
|
@@ -71,6 +71,7 @@ html[data-theme="dark"] .ds-247420 {
|
|
|
71
71
|
|
|
72
72
|
.ds-247420, .ds-247420 * {
|
|
73
73
|
font-family: Nunito, -apple-system, system-ui, sans-serif;
|
|
74
|
+
box-sizing: border-box;
|
|
74
75
|
}
|
|
75
76
|
.ds-247420 h1, .ds-247420 h2, .ds-247420 h3, .ds-247420 h4, .ds-247420 h5, .ds-247420 h6 {
|
|
76
77
|
font-family: 'Archivo Black', sans-serif;
|
|
@@ -149,9 +150,11 @@ html[data-theme="dark"] .ds-247420 {
|
|
|
149
150
|
.ds-247420 .row-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
|
|
150
151
|
.ds-247420 .row-form input { flex: 1; min-width: 140px; padding: 10px 12px !important; }
|
|
151
152
|
|
|
152
|
-
.ds-247420 .chat { display: flex; flex-direction: column; height: 100%; }
|
|
153
|
-
.ds-247420 .chat .chat-thread { flex: 1;
|
|
154
|
-
.ds-247420 .chat .chat-composer { padding-top: 12px; border-top: 1px solid var(--panel-2); }
|
|
153
|
+
.ds-247420 .chat { display: flex; flex-direction: column; height: 100%; min-height: 0; box-sizing: border-box; }
|
|
154
|
+
.ds-247420 .chat .chat-thread { flex: 1 1 0; min-height: 0; overflow-y: auto; }
|
|
155
|
+
.ds-247420 .chat .chat-composer { flex: 0 0 auto; padding-top: 12px; border-top: 1px solid var(--panel-2); box-sizing: border-box; }
|
|
156
|
+
.ds-247420 .chat .chat-composer textarea,
|
|
157
|
+
.ds-247420 .chat .chat-composer input { box-sizing: border-box; width: 100%; max-width: 100%; }
|
|
155
158
|
|
|
156
159
|
.ds-247420 .chip { border-radius: 6px; padding: 4px 10px; font-size: 12px; font-weight: 600; display: inline-block; }
|
|
157
160
|
.ds-247420 .chip.ok { background: var(--green); color: white; }
|
|
@@ -161,7 +164,7 @@ html[data-theme="dark"] .ds-247420 {
|
|
|
161
164
|
.ds-247420 a { color: var(--link); text-decoration: none; }
|
|
162
165
|
.ds-247420 a:hover { text-decoration: underline; }
|
|
163
166
|
|
|
164
|
-
#app { padding: 16px 20px; }
|
|
167
|
+
#app { padding: 16px 20px; box-sizing: border-box; }
|
|
165
168
|
</style>
|
|
166
169
|
</head>
|
|
167
170
|
<body>
|