Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 18 additions & 6 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,41 @@
"short_name": "PromptPilot",
"version": "1.0.0",
"description": "AI Prompt Copilot β€” Grammarly-style prompt enhancement. Select any text, click the PromptPilot icon, get expert-level structured prompts instantly.",

"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'none'; base-uri 'none'; connect-src 'self' https://generativelanguage.googleapis.com https://api.groq.com https://api.openai.com; img-src 'self' data:; style-src 'self' 'unsafe-inline';"
},

"permissions": [
"storage",
"contextMenus",
"activeTab",
"scripting",
"commands"
],

"host_permissions": [
"https://generativelanguage.googleapis.com/*",
"https://api.groq.com/*",
"https://api.openai.com/*",
"<all_urls>"
],
],

"action": {
"default_popup": "index.html",
"default_title": "PromptPilot AI",
"default_icon": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
}
},

"background": {
"service_worker": "src/background.js",
"type": "module"
},

"content_scripts": [
{
"matches": ["<all_urls>"],
Expand All @@ -38,6 +47,7 @@
"all_frames": false
}
],

"commands": {
"enhance-selection": {
"suggested_key": {
Expand All @@ -47,15 +57,17 @@
"description": "Enhance selected text with PromptPilot AI"
}
},

"icons": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
},

"web_accessible_resources": [
{
"resources": ["icons/*.png"],
"matches": ["<all_urls>"]
}
]
}
}
10 changes: 5 additions & 5 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { exportHistoryAsJSON, generateHistoryMarkdown } from './exportUtils';
import BackupControls from './BackupControls';

<BackupControls />;
// βœ… Remove the floating <BackupControls />
// βœ… Remove the BackupControls import entirely (it's handled inside SettingsScreen already)
// βœ… Group all imports together at the top

import TemplateManager from "./components/TemplateManager";
import { useState, useRef, useEffect, useCallback } from 'react';
import { exportHistoryAsJSON, generateHistoryMarkdown } from './exportUtils';
import TemplateManager from "./components/TemplateManager";
import { versioningService } from './versioningService';
import {
PromptsList,
Expand Down
Loading