feat(FN-3766): add cli press sqlite store and credential helpers

Implements SQLite-based storage and credential management for the CLI printing press plugin, including type definitions, a persistent `cli-press-store`, and credential helpers, with updated routes, tests, and documentation.

Fusion-Task-Id: FN-3766
This commit is contained in:
Fusion
2026-05-10 18:11:03 -07:00
committed by gsxdsm
parent 7883a0f499
commit 1e76f247e4
11 changed files with 1004 additions and 98 deletions

View File

@@ -1,5 +1,6 @@
import { definePlugin } from "@fusion/plugin-sdk";
import { createCliPrintingPressRoutes } from "./routes/wizard-routes.js";
import { ensureCliPressSchema } from "./store/cli-press-store.js";
const plugin = definePlugin({
manifest: {
@@ -9,7 +10,9 @@ const plugin = definePlugin({
description: "Guided wizard for drafting external service CLI definitions",
},
state: "installed",
hooks: {},
hooks: {
onSchemaInit: ensureCliPressSchema,
},
routes: createCliPrintingPressRoutes(),
dashboardViews: [
{
@@ -35,3 +38,5 @@ export default plugin;
export { CliPrintingPressWizardView } from "./dashboard-view.js";
export { CliPrintingPressManageView } from "./manage-view.js";
export { CliPrintingPressTestRunner } from "./run/TestRunnerPanel.js";
export { createCliPressStore, ensureCliPressSchema } from "./store/cli-press-store.js";
export * from "./store/cli-press-types.js";