chore: add untracked stacks, scripts, and agent configs
- New stacks: beads-server, hermes-agent - Terragrunt tiers.tf for infra, phpipam, status-page - Secrets symlinks for vault, phpipam, hermes-agent - Scripts: cluster_manager, image_pull, containerd pullthrough setup - Frigate config, audiblez-web app source, n8n workflows dir - Claude agent: service-upgrade, reference: upgrade-config.json - Removed: claudeception skill, excalidraw empty submodule, temp listings [ci skip] Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
bd41bb9230
commit
bcad200a23
44 changed files with 3819 additions and 0 deletions
|
|
@ -0,0 +1,28 @@
|
|||
import { writable } from 'svelte/store';
|
||||
|
||||
function createJobsStore() {
|
||||
const { subscribe, set, update } = writable([]);
|
||||
|
||||
return {
|
||||
subscribe,
|
||||
set,
|
||||
add: (job) => update(jobs => [...jobs, job]),
|
||||
updateJob: (jobId, updates) => update(jobs =>
|
||||
jobs.map(j => j.id === jobId ? { ...j, ...updates } : j)
|
||||
),
|
||||
remove: (jobId) => update(jobs => jobs.filter(j => j.id !== jobId)),
|
||||
refresh: async () => {
|
||||
try {
|
||||
const response = await fetch('/api/jobs');
|
||||
if (response.ok) {
|
||||
const jobs = await response.json();
|
||||
set(jobs);
|
||||
}
|
||||
} catch (e) {
|
||||
console.error('Failed to fetch jobs:', e);
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
export const jobs = createJobsStore();
|
||||
Loading…
Add table
Add a link
Reference in a new issue