Files
rhema-claw/web/claw/app/components/settings/AboutPage.vue
T
vhaudiquet 49e323987c
android / debug (push) Failing after 2s
android / release (push) Failing after 2s
ci / checks (push) Failing after 2s
ci / test (push) Failing after 1s
ci / chart (push) Failing after 2s
ci / docker (push) Failing after 1s
ci / web (push) Failing after 1s
ci / publish-edge-images (deploy/docker/claw.Dockerfile, rhema-claw) (push) Skipped
ci / publish-edge-images (deploy/docker/ui.Dockerfile, rhema-claw-ui) (push) Skipped
ci / publish-edge-chart (push) Skipped
fix(web/claw): drop the About callout that repeats the page
The info callout opened the page with 'This is the claw's web client'
and three sentences about mirroring one daemon. The subtitle and the
Stack card already carry those facts: the Daemon row names rhema-claw
as the resident agent serving this UI, and the subtitle says the page
describes the surface the client speaks. The callout read as a caption
for a page that explains itself.

nuxt typecheck passes; About renders without the callout.
2026-12-01 20:10:35 +01:00

169 lines
5.3 KiB
Vue

<script setup lang="ts">
// The About page: what this client and the daemon behind it are, and
// which public routes the client speaks. Static facts, the claw's own
// version is not on the wire, so none is claimed.
defineProps<{
/** null while /healthz has not answered yet. */
clawUp: boolean | null
/** The uploaded identity logo, when the claw has one. */
logoUrl: string | null
}>()
// The routes this client actually calls; the full surface lives in
// crates/rhema-claw/src/http.rs.
const routes = [
{ method: 'GET', path: '/healthz', note: 'liveness, open without a token' },
{ method: 'GET', path: '/v1/sessions', note: 'the dispatch-key inventory' },
{ method: 'POST', path: '/v1/sessions', note: 'create an interactive session from a name' },
{ method: 'DELETE', path: '/v1/sessions/{key}', note: 'delete a session and its turn history' },
{ method: 'POST', path: '/v1/sessions/{key}/pause', note: "hold a key's dispatch" },
{ method: 'POST', path: '/v1/sessions/{key}/resume', note: 'lift the hold' },
{ method: 'POST', path: '/v1/sessions/{key}/abort', note: 'cut the live turn, or drop the queue' },
{ method: 'POST', path: '/v1/sessions/{key}/messages', note: 'message ingest, 202 + stream' },
{ method: 'GET', path: '/v1/sessions/{key}/events', note: 'the turn-event stream (SSE)' },
{ method: 'POST', path: '/v1/consents/{id}', note: 'answer a consent (a secret or a grant)' },
{ method: 'DELETE', path: '/v1/consents/{id}', note: 'deny or cancel a consent' },
{ method: 'GET', path: '/v1/attachments/{id}', note: "an attachment's bytes" },
{ method: 'GET', path: '/v1/providers', note: 'constructible backends + active pair' },
{ method: 'PUT', path: '/v1/providers/active', note: 'switch the backend, persisted' },
{ method: 'PUT', path: '/v1/providers/{kind}/credentials', note: 'add a backend or replace its login' },
{ method: 'DELETE', path: '/v1/providers/{kind}', note: 'drop a backend from the roster' },
{ method: 'GET', path: '/v1/providers/{kind}/models', note: "a kind's live model listing" },
{ method: 'GET', path: '/v1/bootstrap/files', note: 'the identity documents, live' },
{ method: 'PUT', path: '/v1/bootstrap/{kind}', note: 'save SOUL.md or USER.md' },
{ method: 'GET', path: '/v1/skills', note: "installed skills, triggers, and paths" },
{ method: 'PUT', path: '/v1/skills/{name}', note: "flip one skill's off switch" },
{ method: 'GET', path: '/v1/mcp', note: "the MCP client's servers and mute set" },
]
</script>
<template>
<div class="page">
<PageHeader title="About" subtitle="Identity, the engine behind it, and the surface this client speaks" />
<div class="scroll">
<div class="identity">
<img class="avatar" :src="logoUrl ?? '/rhema-logo.png'" alt="" />
<div>
<h2>Rhema</h2>
<p>ῥῆμα, "the spoken word": words that do things.</p>
</div>
</div>
<SettingCard title="Stack" meta="read-only">
<SettingRow title="Daemon" description="The resident agent serving this UI.">
<span class="mono">rhema-claw</span>
</SettingRow>
<SettingRow title="Engine" description="The step engine every turn runs through.">
<span class="mono">rhema-core</span>
</SettingRow>
<SettingRow title="Web client" description="This dashboard: Nuxt 4, one static bundle.">
<span class="mono">rhema-claw-web 0.1.0</span>
</SettingRow>
<SettingRow title="Claw status" description="What /healthz last answered.">
<span class="status" :class="clawUp === null ? 'idle' : clawUp ? 'ok' : 'error'">
{{ clawUp === null ? 'checking' : clawUp ? 'up' : 'down' }}
</span>
</SettingRow>
</SettingCard>
<SettingCard title="API surface" meta="the routes this client calls">
<div v-for="route in routes" :key="`${route.method} ${route.path}`" class="route">
<span class="method mono">{{ route.method }}</span>
<span class="path mono">{{ route.path }}</span>
<span class="note">{{ route.note }}</span>
</div>
</SettingCard>
</div>
</div>
</template>
<style scoped>
.status {
color: var(--faint);
font-size: var(--fs-meta);
}
.status.ok {
color: var(--accent);
}
.status.error {
color: var(--danger);
}
.page {
display: flex;
flex-direction: column;
min-height: 0;
min-width: 0;
flex: 1;
}
.scroll {
flex: 1;
overflow-y: auto;
padding: 0 var(--sp-8) var(--sp-10);
display: flex;
flex-direction: column;
gap: var(--sp-4);
width: 100%;
max-width: 880px;
margin: 0 auto;
}
.identity {
display: flex;
align-items: center;
gap: var(--sp-4);
padding: var(--sp-1);
}
.avatar {
width: 56px;
height: 56px;
object-fit: contain;
flex: none;
}
.identity h2 {
margin: 0;
font-size: var(--fs-title);
}
.identity p {
margin: var(--sp-1) 0 0;
color: var(--muted);
}
.route {
display: flex;
align-items: baseline;
gap: var(--sp-3);
padding: var(--sp-2) var(--sp-4);
}
.method {
flex: none;
width: 44px;
color: var(--accent);
font-size: var(--fs-small);
}
.path {
color: var(--text);
font-size: var(--fs-meta);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.note {
flex: 1;
text-align: right;
color: var(--muted);
font-size: var(--fs-small);
min-width: 0;
}
</style>