mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-26 13:19:34 +07:00
🐛 fix: upgrade desktop agent-browser to v0.20.1 and default native mode (#12985)
* 🐛 fix(desktop): update bundled agent-browser to v0.20.1 and align native-mode docs Upgrade desktop bundled agent-browser to 0.20.1 and remove obsolete AGENT_BROWSER_NATIVE runtime override since native mode is now default. Update builtin agent-browser skill descriptions to reflect the new default behavior. Made-with: Cursor * ✨ feat: enable agent-browser skill on Windows desktop Made-with: Cursor * 🔧 refactor: remove isWindows from ToolAvailabilityContext interface Updated the ToolAvailabilityContext interface to remove the isWindows property, simplifying the context checks in the isBuiltinSkillAvailableInCurrentEnv function. Signed-off-by: Innei <tukon479@gmail.com> --------- Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
@@ -5,7 +5,7 @@ import path from 'node:path';
|
||||
import { pipeline } from 'node:stream/promises';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
|
||||
const VERSION = '0.17.0';
|
||||
const VERSION = '0.20.1';
|
||||
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
const binDir = path.join(__dirname, '..', 'resources', 'bin');
|
||||
|
||||
@@ -93,9 +93,6 @@ export class App {
|
||||
const pathSep = process.platform === 'win32' ? ';' : ':';
|
||||
process.env.PATH = `${process.env.PATH}${pathSep}${binDir}`;
|
||||
|
||||
// Use native mode (pure Rust/CDP) so agent-browser works without Node.js
|
||||
process.env.AGENT_BROWSER_NATIVE = '1';
|
||||
|
||||
logger.debug('Initializing App');
|
||||
// Initialize store manager
|
||||
this.storeManager = new StoreManager(this);
|
||||
|
||||
Reference in New Issue
Block a user