Update to version 1.1.0 with tab_list timeout fixes and enhanced documentation

- Fixed tab_list timeout issue on Chrome by increasing content script timeout from 1s to 3s
- Updated all package.json and manifest files to version 1.1.0
- Set check_content_script default to false to avoid timeouts
- Enhanced DXT build script with comprehensive installation guide and GitHub repo links
- Fixed OpenDia logo path in README.md
- Updated tool examples and documentation to reflect timeout improvements

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Aaron Elijah Mars
2025-07-20 23:43:30 +02:00
parent 0b09201160
commit daa4b55ee5
10 changed files with 70 additions and 38 deletions

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "OpenDia",
"version": "1.0.6",
"version": "1.1.0",
"description": "Connect your browser to AI models",
"icons": {
"16": "icons/icon-16.png",

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "OpenDia",
"version": "1.0.6",
"version": "1.1.0",
"description": "Connect your browser to AI models",
"applications": {
"gecko": {

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "OpenDia",
"version": "1.0.6",
"version": "1.1.0",
"description": "Connect your browser to AI models",
"icons": {
"16": "icon-16.png",

View File

@@ -1,12 +1,12 @@
{
"name": "opendia-extension",
"version": "1.0.5",
"version": "1.0.6",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "opendia-extension",
"version": "1.0.5",
"version": "1.0.6",
"license": "MIT",
"dependencies": {
"webextension-polyfill": "^0.12.0"

View File

@@ -1,6 +1,6 @@
{
"name": "opendia-extension",
"version": "1.0.6",
"version": "1.1.0",
"description": "Connect your browser to AI models",
"scripts": {
"build": "node build.js",

View File

@@ -358,7 +358,7 @@ async function getTabContentScriptStatus(tabId) {
}
const response = await new Promise((resolve, reject) => {
const timeout = setTimeout(() => resolve(null), 1000);
const timeout = setTimeout(() => resolve(null), 3000); // Increase to 3 seconds
browser.tabs.sendMessage(tabId, { action: 'ping' }, (response) => {
clearTimeout(timeout);
resolve(response);
@@ -382,12 +382,12 @@ function getAvailableTools() {
/*
🎯 BACKGROUND TAB WORKFLOW GUIDE:
1. DISCOVER TABS: Use tab_list with check_content_script=true to see all tabs and their IDs
1. DISCOVER TABS: Use tab_list with check_content_script=false to see all tabs and their IDs
2. TARGET SPECIFIC TABS: Add tab_id parameter to any tool to work on background tabs
3. MULTI-TAB OPERATIONS: Process multiple tabs without switching between them
Example Multi-Tab Workflow:
- tab_list({check_content_script: true}) → Get tab IDs and readiness status
- tab_list({check_content_script: false}) → Get tab IDs quickly
- page_analyze({intent_hint: "article", tab_id: 12345}) → Analyze background research tab
- page_extract_content({content_type: "article", tab_id: 12345}) → Extract content without switching
- get_selected_text({tab_id: 67890}) → Get quotes from another background tab
@@ -689,8 +689,8 @@ function getAvailableTools() {
inputSchema: {
type: "object",
examples: [
{ check_content_script: true }, // RECOMMENDED: Check which tabs are ready for background operations
{ current_window_only: false, check_content_script: true } // Check all tabs across windows
{ check_content_script: false }, // RECOMMENDED: Default false to avoid timeouts
{ current_window_only: false, check_content_script: false } // Get all tabs across windows
],
properties: {
current_window_only: {