d91eef7a4b
The FC-side control surface the operator asked for: Settings → Tagging → "GPU agent". Generate/reveal/copy/rotate the agent bearer token (with the FC URL to point the agent at), see the live job-queue depth (pending/in-flight/done/ errored, polled), and a "Queue character embedding (CCIP)" button that triggers the library backfill. Plain-HTTP-safe copy (copyText resolves on success, throws on fail). Closes the "how do I get the token in the UI" gap. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ttrj5P7upUTueSfoJcxEqa
108 lines
3.2 KiB
Vue
108 lines
3.2 KiB
Vue
<template>
|
|
<div class="fc-maint">
|
|
<p class="fc-muted text-body-2 mb-5">
|
|
One-off backfills, tagging config and storage tools. The ML backfill and
|
|
centroid recompute also run nightly; the allowlist auto-applies accepted
|
|
tags. Click a tile to open it.
|
|
</p>
|
|
|
|
<section class="fc-section">
|
|
<h3 class="fc-section__title">Backfills & reprocessing</h3>
|
|
<p class="fc-section__hint">Re-run tagging, thumbnails, extraction and DB upkeep.</p>
|
|
<div class="fc-tile-grid">
|
|
<MLBackfillCard />
|
|
<CentroidRecomputeCard />
|
|
<ThumbnailBackfillCard />
|
|
<ArchiveReextractCard />
|
|
<MissingFileRepairCard />
|
|
<DbMaintenanceCard />
|
|
</div>
|
|
</section>
|
|
|
|
<section class="fc-section">
|
|
<h3 class="fc-section__title">Tagging</h3>
|
|
<p class="fc-section__hint">
|
|
Suggestion thresholds, the auto-apply allowlist and tag aliases.
|
|
</p>
|
|
<div class="fc-tile-stack">
|
|
<MLThresholdSliders />
|
|
<HeadsCard />
|
|
<GpuAgentCard />
|
|
<AllowlistTable />
|
|
<AliasTable />
|
|
<TagEvalCard />
|
|
</div>
|
|
</section>
|
|
|
|
<section class="fc-section">
|
|
<h3 class="fc-section__title">Storage</h3>
|
|
<p class="fc-section__hint">Database + image backups and restore.</p>
|
|
<div class="fc-tile-stack">
|
|
<BackupCard />
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { onMounted, onUnmounted } from 'vue'
|
|
|
|
import MLBackfillCard from './MLBackfillCard.vue'
|
|
import CentroidRecomputeCard from './CentroidRecomputeCard.vue'
|
|
import ThumbnailBackfillCard from './ThumbnailBackfillCard.vue'
|
|
import ArchiveReextractCard from './ArchiveReextractCard.vue'
|
|
import MissingFileRepairCard from './MissingFileRepairCard.vue'
|
|
import DbMaintenanceCard from './DbMaintenanceCard.vue'
|
|
import MLThresholdSliders from './MLThresholdSliders.vue'
|
|
import HeadsCard from './HeadsCard.vue'
|
|
import GpuAgentCard from './GpuAgentCard.vue'
|
|
import AllowlistTable from './AllowlistTable.vue'
|
|
import AliasTable from './AliasTable.vue'
|
|
import TagEvalCard from './TagEvalCard.vue'
|
|
import BackupCard from './BackupCard.vue'
|
|
import { useSystemActivityStore } from '../../stores/systemActivity.js'
|
|
|
|
// Poll queue depths so each task tile's QueueStatusBar shows live pending
|
|
// counts — the operator can see a backfill is already queued/running before
|
|
// re-triggering it.
|
|
const activity = useSystemActivityStore()
|
|
let qTimer = null
|
|
onMounted(() => {
|
|
activity.loadQueues()
|
|
qTimer = setInterval(() => {
|
|
if (!document.hidden) activity.loadQueues()
|
|
}, 4000)
|
|
})
|
|
onUnmounted(() => {
|
|
if (qTimer) { clearInterval(qTimer); qTimer = null }
|
|
})
|
|
</script>
|
|
|
|
<style scoped>
|
|
.fc-section { margin-bottom: 24px; }
|
|
.fc-section__title {
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
color: rgb(var(--v-theme-accent));
|
|
margin-bottom: 2px;
|
|
}
|
|
.fc-section__hint {
|
|
font-size: 0.8rem;
|
|
color: rgb(var(--v-theme-on-surface-variant));
|
|
margin-bottom: 12px;
|
|
}
|
|
.fc-tile-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
gap: 14px;
|
|
align-items: start;
|
|
}
|
|
.fc-tile-stack {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
</style>
|