Add side panel issue creation workflow
Build / build (push) Successful in 11s

This commit is contained in:
2026-07-17 15:45:30 -05:00
parent 85379f42f3
commit dcc800fdfc
20 changed files with 1312 additions and 373 deletions
+28 -4
View File
@@ -40,12 +40,30 @@ function chromeExtensionManifest(mode: string): Plugin {
manifest_version: 3,
name: "Silma AI Aide",
version: "0.1.0",
description: "A Vite-powered popup for Gitea-backed Silma AI aide workflows.",
description: "A Vite-powered side panel for Gitea-backed Silma AI aide workflows.",
icons: {
16: "icons/icon-16.png",
32: "icons/icon-32.png",
48: "icons/icon-48.png",
128: "icons/icon-128.png"
},
action: {
default_title: "Silma AI Aide",
default_popup: "index.html"
default_icon: {
16: "icons/icon-16.png",
32: "icons/icon-32.png",
48: "icons/icon-48.png",
128: "icons/icon-128.png"
}
},
permissions: ["storage"],
background: {
service_worker: "assets/background.js",
type: "module"
},
side_panel: {
default_path: "index.html"
},
permissions: ["activeTab", "sidePanel", "storage", "tabs"],
host_permissions: getGiteaHostPermissions(env.VITE_GITEA_BASE_URL)
};
@@ -64,8 +82,14 @@ export default defineConfig(({ mode }) => ({
outDir: "dist",
emptyOutDir: true,
rollupOptions: {
output: {
entryFileNames: "assets/[name].js",
chunkFileNames: "assets/[name]-[hash].js",
assetFileNames: "assets/[name]-[hash][extname]"
},
input: {
popup: resolve(__dirname, "index.html")
background: resolve(__dirname, "src/background.ts"),
sidePanel: resolve(__dirname, "index.html")
}
}
}