Removed unwanted files marked in .gitignore

This commit is contained in:
gsxdsm
2026-04-01 21:25:08 -07:00
parent fbf749a525
commit 2778027423
856 changed files with 2357 additions and 133439 deletions

View File

@@ -71,7 +71,7 @@ export function getMergeStrategy(settings: Pick<Settings, "mergeStrategy">): Non
}
export function getTaskBranchName(taskId: string): string {
return `kb/${taskId.toLowerCase()}`;
return `fusion/${taskId.toLowerCase()}`;
}
function buildPullRequestTitle(task: Pick<TaskDetail, "id" | "title">): string {
@@ -643,25 +643,29 @@ export async function runDashboard(port: number, opts: { paused?: boolean; dev?:
// Kick off the first retry after the current poll interval
scheduleMergeRetry();
process.on("SIGINT", () => {
const shutdown = () => {
stuckTaskDetector.stop();
triage.stop();
scheduler.stop();
cronRunner.stop();
notifier.stop();
if (mergeRetryTimer) clearTimeout(mergeRetryTimer);
store.stopWatching();
store.close();
process.exit(0);
});
};
process.on("SIGINT", shutdown);
process.on("SIGTERM", shutdown);
}
// Dev mode: simplified SIGINT handler (no engine components)
// Dev mode: simplified shutdown handlers (no engine components)
if (opts.dev) {
process.on("SIGINT", () => {
const devShutdown = () => {
notifier.stop();
store.stopWatching();
store.close();
process.exit(0);
});
};
process.on("SIGINT", devShutdown);
process.on("SIGTERM", devShutdown);
}
const server = app.listen(selectedPort);

View File

@@ -4,7 +4,7 @@ import { getStore } from "../project-resolver.js";
// ── Status Labels for Display ───────────────────────────────────────────────
const MISSION_STATUS_LABELS: Record<MissionStatus, string> = {
const MISSION_STATUS_LABELS: Record<string, string> = {
planning: "Planning",
active: "Active",
blocked: "Blocked",

View File

@@ -1,4 +1,4 @@
import { GlobalSettingsStore, type Settings, DEFAULT_SETTINGS } from "@fusion/core";
import { GlobalSettingsStore, type Settings, type GlobalSettings, DEFAULT_SETTINGS } from "@fusion/core";
import { resolveProject } from "../project-context.js";
// Settings that can be updated via CLI
@@ -120,12 +120,8 @@ export function parseValue(key: ValidSettingKey, value: string): unknown {
function formatSettingValue(
key: keyof Settings,
value: unknown,
settings: Settings
_settings: GlobalSettings | Settings
): string {
if (key === "githubTokenConfigured") {
return value ? "(configured)" : "(not configured)";
}
if (Array.isArray(value)) {
return value.length > 0 ? `[${value.join(", ")}]` : "[]";
}
@@ -201,10 +197,6 @@ export async function runSettingsShow(projectName?: string): Promise<void> {
title: "Notifications",
keys: ["ntfyEnabled", "ntfyTopic"],
},
{
title: "GitHub",
keys: ["githubTokenConfigured"],
},
{
title: "AI Model",
keys: ["defaultProvider", "defaultModelId", "defaultThinkingLevel"],
@@ -212,14 +204,15 @@ export async function runSettingsShow(projectName?: string): Promise<void> {
];
for (const group of settingGroups) {
const hasValues = group.keys.some((key) => settings[key as keyof Settings] !== undefined);
const settingsRecord = settings as Record<string, unknown>;
const hasValues = group.keys.some((key) => settingsRecord[key] !== undefined);
if (!hasValues) continue;
console.log();
console.log(` ${group.title}:`);
for (const key of group.keys) {
const value = settings[key as keyof Settings];
const value = settingsRecord[key];
const label = getSettingLabel(key);
const formattedValue = formatSettingValue(key as keyof Settings, value, settings);
console.log(` ${label.padEnd(25)} ${formattedValue}`);