Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
221 commits
Select commit Hold shift + click to select a range
47ea877
refactor: use utility function getSidebarWidth
BibekBhusal0 Jul 24, 2025
c587846
feat: track findbar coors and dimensions
BibekBhusal0 Jul 24, 2025
677a6f6
refactor: renamed browserBot to browseBot and importing it
BibekBhusal0 Jul 24, 2025
4aa2da7
feat: Refactor AI chat with streaming and tools
BibekBhusal0 Jul 25, 2025
3f97fef
docs: Update readme with build step and technologies
BibekBhusal0 Jul 25, 2025
b1b32ba
feat(llm): Enhance debugging and logging
BibekBhusal0 Jul 25, 2025
f183c3d
chore: Update theme.json
github-actions[bot] Jul 25, 2025
0ffa0b8
chore: Auto format
github-actions[bot] Jul 25, 2025
a094a0e
feat(llm): Improve streaming and citation handling
BibekBhusal0 Jul 25, 2025
7822d3f
fix: citation response
BibekBhusal0 Jul 25, 2025
66e61ea
chore: Add chokidar-cli and update build scripts
BibekBhusal0 Jul 25, 2025
b57ab21
chore: Auto format
github-actions[bot] Jul 25, 2025
e58c103
feat(findbar): Implement message streaming and abort
BibekBhusal0 Jul 25, 2025
b6f83e2
fix: abort while closing findbar
BibekBhusal0 Jul 25, 2025
007d606
refactor(llm): consolidate LLM providers
BibekBhusal0 Jul 25, 2025
213ff15
fix: style consistency in streaming message
BibekBhusal0 Jul 25, 2025
ccb45c5
feat(llm): update available LLM models
BibekBhusal0 Jul 25, 2025
ae21d10
feat(llm): add support for more LLM providers
BibekBhusal0 Jul 25, 2025
1fca7a1
refactor(llm): consolidate preference access
BibekBhusal0 Jul 25, 2025
8fe30f6
refactor(llm): consolidate provider logic
BibekBhusal0 Jul 25, 2025
3d2518a
fix: url for claude api
BibekBhusal0 Jul 25, 2025
465e835
chore: Update theme.json
github-actions[bot] Jul 25, 2025
f9a348a
chore: Auto format
github-actions[bot] Jul 25, 2025
4509827
update xai api key url
BibekBhusal0 Jul 26, 2025
148004e
fix: ollma API key not saving
BibekBhusal0 Jul 26, 2025
f22add3
error handling for saving pref in settings
BibekBhusal0 Jul 26, 2025
9b3563e
feat(llm): update ollama models list
BibekBhusal0 Jul 26, 2025
1a51c91
info added for ollama api key
BibekBhusal0 Jul 26, 2025
d6ebb7e
refactor: use export const for findbar
BibekBhusal0 Jul 26, 2025
b1433f3
feat(llm): add Claude, Grok and Perplexity models
BibekBhusal0 Jul 26, 2025
81864ed
remove gpt audio model
BibekBhusal0 Jul 26, 2025
a03fea4
feat: add stream in preferences.json
BibekBhusal0 Jul 26, 2025
7aa56c4
feat: hide stream if citation is enabled
BibekBhusal0 Jul 26, 2025
58e029f
chore: Auto format
github-actions[bot] Jul 26, 2025
9cdbb1d
remove alternate search keymap
BibekBhusal0 Jul 26, 2025
e2dfe1d
feat: add hotkeys to close and switch tabs
BibekBhusal0 Jul 26, 2025
98826b4
remove dimension calculations for tools dilague
BibekBhusal0 Jul 27, 2025
05d8dc1
use css variables for findbar coors and dim
BibekBhusal0 Jul 27, 2025
ff5c239
psudo bg-test
BibekBhusal0 Aug 12, 2025
d627a7e
psudo bg finally appears
BibekBhusal0 Aug 12, 2025
a7cec1d
pseudo-bg working correctly in findbar
BibekBhusal0 Aug 19, 2025
e716e61
typo fix
BibekBhusal0 Aug 19, 2025
c0ad837
feat: psudo bg for settings and tool confirmaion
BibekBhusal0 Aug 19, 2025
5a7cd24
feat: add pseudo bg options in settings
BibekBhusal0 Aug 19, 2025
5df1380
refactor: improve tool creation and parameters
BibekBhusal0 Aug 20, 2025
cf90e1f
chore: Update theme.json
github-actions[bot] Aug 20, 2025
56d2a56
chore: Auto format
github-actions[bot] Aug 20, 2025
da997e7
refactor: use class for creating object
BibekBhusal0 Aug 20, 2025
4b48855
merging
BibekBhusal0 Aug 20, 2025
5810eb0
update all packages to latest version and url AI (not working)
BibekBhusal0 Aug 21, 2025
8068d41
chore: Update theme.json
github-actions[bot] Aug 21, 2025
c5f03c6
typo fix and add getter and setter for pseudo bg
BibekBhusal0 Aug 21, 2025
c2852e0
typo fix style
BibekBhusal0 Aug 21, 2025
1861166
feat: url bar AI mode added (still not working tho)
BibekBhusal0 Aug 22, 2025
653399b
refactor: Convert urlBarLLM to class for better control
BibekBhusal0 Aug 22, 2025
aefbe7e
chore: Update theme.json
github-actions[bot] Aug 22, 2025
ca7f366
chore: Update npm install command in workflow
BibekBhusal0 Aug 22, 2025
59ffc4d
merging local and origin
BibekBhusal0 Aug 22, 2025
1f3bafb
only install prettier in formatting script(workflow)
BibekBhusal0 Aug 22, 2025
52f420f
chore: Auto format
github-actions[bot] Aug 22, 2025
4c8adc7
update pseudo bg to work in every possible combination
BibekBhusal0 Aug 22, 2025
33cdc7e
feat: model provider update include GPT 5
BibekBhusal0 Aug 23, 2025
15ccfe4
fix: urlbar class initialization
BibekBhusal0 Aug 23, 2025
cc049ab
recursively adding ask button in url bar
BibekBhusal0 Aug 23, 2025
2974aa5
feat(urlbar): Enhance AI mode and add close functionality
BibekBhusal0 Aug 23, 2025
8b0ec05
feat(urlbar): Improve AI mode and ask button
BibekBhusal0 Aug 23, 2025
b31e14e
feat(urlbar): Add ask button styling and visibility control
BibekBhusal0 Aug 23, 2025
c653730
urlbar icon during ai mode
BibekBhusal0 Aug 23, 2025
e4762fc
chore: Update theme.json
github-actions[bot] Aug 23, 2025
67bbc59
chore: Auto format
github-actions[bot] Aug 23, 2025
80f0a81
fix: navigational links handling better way
BibekBhusal0 Aug 23, 2025
2ef4df4
chore: Auto format
github-actions[bot] Aug 23, 2025
3e46aed
Merge branch 'vercel' into dev
BibekBhusal0 Aug 23, 2025
6728167
chore: Auto format
github-actions[bot] Aug 23, 2025
989b541
fix: remove export line
BibekBhusal0 Aug 23, 2025
e84ede8
fix: update findbar dimensions in streaming
BibekBhusal0 Aug 23, 2025
3d2805d
fix: dont update dimensions when not required
BibekBhusal0 Aug 23, 2025
02a49fd
refactor(findbar-ai): Update findbar dimensions logic
BibekBhusal0 Aug 23, 2025
d4aecdb
refactor: removing logs
BibekBhusal0 Aug 23, 2025
466c2ab
AI will change this message
BibekBhusal0 Aug 23, 2025
b39ffdb
chore: Auto format
github-actions[bot] Aug 23, 2025
7ef56ae
fix: updating findbar llm provider in initial interface
BibekBhusal0 Aug 24, 2025
7031977
chore: Update theme.json
github-actions[bot] Aug 24, 2025
5c150fe
chore: Auto format
github-actions[bot] Aug 24, 2025
e722f1f
fix: import
BibekBhusal0 Aug 24, 2025
40cd548
updating packages to latest
BibekBhusal0 Aug 26, 2025
915e2fe
refactor(findbar-ai): Remove setSystemPrompt and use direct assignment
BibekBhusal0 Aug 26, 2025
9fe39ac
feat: Integrate AI directly into URL bar
BibekBhusal0 Aug 26, 2025
a199097
update all packages to latest version
BibekBhusal0 Aug 26, 2025
609c954
fix: providing schema correctly to AI
BibekBhusal0 Aug 26, 2025
02b9af4
refactor(findbar-ai): Allow direct tool execution
BibekBhusal0 Aug 26, 2025
afcddb8
chore: Update theme.json
github-actions[bot] Aug 26, 2025
f84fd0c
chore: Auto format
github-actions[bot] Aug 26, 2025
c9c711b
chore: Update Node.js version and dependencies in workflow
BibekBhusal0 Aug 26, 2025
b978de3
fix: syntax of yml
BibekBhusal0 Aug 26, 2025
25c27e4
chore: update packages
BibekBhusal0 Sep 5, 2025
d6b0741
fix: marked path
BibekBhusal0 Sep 5, 2025
80cb627
fix: reference error
BibekBhusal0 Sep 5, 2025
a5c4eb6
fix: handle highlight timeout properly
BibekBhusal0 Sep 5, 2025
75a82bd
chore: Update theme.json
github-actions[bot] Sep 5, 2025
b266f7b
chore: Auto format
github-actions[bot] Sep 5, 2025
a1d1b18
feat(urlbar): enhance AI operation feedback
BibekBhusal0 Sep 10, 2025
beb5de0
refactor(llm): modularize tool definitions and prompts
BibekBhusal0 Sep 11, 2025
66a7a3b
feat(llm): introduce tab and workspace management
BibekBhusal0 Sep 11, 2025
57373e9
feat(urlbar): make AI feature toggleable
BibekBhusal0 Sep 11, 2025
b940f47
refactor(findbar-ai): scope preferences with prefix
BibekBhusal0 Sep 11, 2025
2d910c0
feat(urlbar): add preference for AI feature toggle
BibekBhusal0 Sep 11, 2025
f1cbd19
feat(llm): add essentials tab management and split view grid type
BibekBhusal0 Sep 11, 2025
078cb54
update packages to latest version
BibekBhusal0 Sep 11, 2025
ab3ab02
feat(findbar-ai): enhance AI model support and browser control
BibekBhusal0 Sep 11, 2025
7864fe8
update css prefs
BibekBhusal0 Sep 11, 2025
41ab321
chore: Update theme.json
github-actions[bot] Sep 11, 2025
f952828
chore: Auto format
github-actions[bot] Sep 11, 2025
1c718c8
feat(llm): add `showToast` tool for UI feedback
BibekBhusal0 Sep 11, 2025
c95b993
chore(llm): Add development notes and TODOs
BibekBhusal0 Sep 11, 2025
943bdeb
update npm packages to latest version
BibekBhusal0 Sep 13, 2025
b5216b8
fix pref pseudo bg
BibekBhusal0 Sep 13, 2025
f896984
refactor(findbar-ai): modularize CSS styles
BibekBhusal0 Sep 13, 2025
9fdd826
fix: prefs in settings
BibekBhusal0 Sep 13, 2025
cab0aa3
refactor(findbar-ai): Extract pseudo-background styles
BibekBhusal0 Sep 13, 2025
aaa7d59
refactor(llm): Implement robust tab ID management
BibekBhusal0 Sep 15, 2025
d60b156
refactor(llm): Modularize LLM architecture and scope instance
BibekBhusal0 Sep 15, 2025
fe4a6fd
refactor(llm): Centralize LLM parameter handling
BibekBhusal0 Sep 15, 2025
bb340f0
chore: Update theme.json
github-actions[bot] Sep 15, 2025
290b260
chore: Auto format
github-actions[bot] Sep 15, 2025
936b45a
using span tag for citation links
BibekBhusal0 Sep 15, 2025
db5befb
fallback to v3 of zod no errors during instaillation
BibekBhusal0 Sep 15, 2025
3ea37e4
refactor(llm): Decouple tool execution logic
BibekBhusal0 Sep 19, 2025
aa8870c
chore: Update theme.json
github-actions[bot] Sep 20, 2025
2b67147
chore: Auto format
github-actions[bot] Sep 20, 2025
f78e8cc
get all tabs also give name of workspace
BibekBhusal0 Sep 20, 2025
5aca11f
add tool to create tab folder
BibekBhusal0 Sep 20, 2025
7c91a73
new function : sendMessageAndToolCalls
BibekBhusal0 Sep 20, 2025
c02f11b
feat: sendMessageAndToolCalls also handle stream
BibekBhusal0 Sep 20, 2025
cf55a65
feat: provide user friendly name for tool calls
BibekBhusal0 Sep 20, 2025
5e6252b
refactor: remove name parameter from function createTool
BibekBhusal0 Sep 20, 2025
9659108
feat: change default tools
BibekBhusal0 Sep 20, 2025
6d92dba
refactor(llm): streamline tool prompting and stream handling
BibekBhusal0 Sep 20, 2025
7d669db
revert: remove function `sendMessageAndToolCalls`
BibekBhusal0 Sep 20, 2025
59c52b9
chore: Auto format
github-actions[bot] Sep 20, 2025
08a6107
fix: update url bar to remove `sendMessageAndToolCalls`
BibekBhusal0 Sep 20, 2025
bc23d6e
fix: streaming errors
BibekBhusal0 Sep 20, 2025
796cb64
refactor(init): centralize AI feature startup
BibekBhusal0 Sep 21, 2025
c0f2391
feat(command-palette): Integrate with Zen Command Palette
BibekBhusal0 Sep 21, 2025
32bb5ce
feat: making error bold
BibekBhusal0 Sep 21, 2025
b0c992e
fix: streaming error
BibekBhusal0 Sep 21, 2025
34c40bb
chore: Update theme.json
github-actions[bot] Sep 21, 2025
3f1015d
chore: Auto format
github-actions[bot] Sep 21, 2025
2daff15
update: system prompt
BibekBhusal0 Sep 21, 2025
f9bf6a1
feat: also provide info about tab in current workspace in get all tab…
BibekBhusal0 Sep 21, 2025
adc0b1c
update: readme.md file
BibekBhusal0 Sep 21, 2025
15dd651
chore: Auto format
github-actions[bot] Sep 21, 2025
19000b3
docs: update credits and acknowledgements
BibekBhusal0 Sep 21, 2025
f5d6173
feat: new commands for command palette
BibekBhusal0 Sep 22, 2025
a97bb60
feat(browse-bot): include better condition for command palette commands
BibekBhusal0 Sep 22, 2025
5a18ffa
refactor: using listeners to handle close/open of findbar
BibekBhusal0 Sep 24, 2025
f77d23d
refactor: updateing findmatches display
BibekBhusal0 Sep 24, 2025
3bacfec
refactor: minor changes
BibekBhusal0 Sep 25, 2025
1728759
docs: include proper attribution
BibekBhusal0 Sep 25, 2025
6dc1e81
chore: Update theme.json
github-actions[bot] Sep 25, 2025
73fead6
chore: Auto format
github-actions[bot] Sep 25, 2025
31db6f4
chore: updating all packages to latest version
BibekBhusal0 Sep 28, 2025
a259c0b
feat: allow changing default message in context menu
BibekBhusal0 Sep 30, 2025
d7b018c
chore: Update theme.json
github-actions[bot] Sep 30, 2025
5e7878b
chore: Auto format
github-actions[bot] Sep 30, 2025
3ac011d
update packages to latest version
BibekBhusal0 Oct 3, 2025
c3709ce
hiding pseudo bg correctly
BibekBhusal0 Oct 5, 2025
98eae98
fix: update findbar dimensions properly
BibekBhusal0 Oct 5, 2025
27b3f6b
chore: Update theme.json
github-actions[bot] Oct 5, 2025
f0c7a4f
chore: Auto format
github-actions[bot] Oct 5, 2025
b870917
fix: update dimension in expended
BibekBhusal0 Oct 8, 2025
2ad6aed
fix(browse-bot): only update dimensions while dragging if pseudo bg i…
BibekBhusal0 Oct 8, 2025
5b3e873
refactor(browse-bot): replace acrylic shadow with border
BibekBhusal0 Oct 8, 2025
54dcefe
include markdown styles in css file
BibekBhusal0 Oct 8, 2025
b6c02e5
chore: Update theme.json
github-actions[bot] Oct 8, 2025
e45d7f7
chore: Auto format
github-actions[bot] Oct 8, 2025
f55cd08
feat: remember findbar width
BibekBhusal0 Oct 8, 2025
eb794a5
refactor(browse-bot): simplify select element with HTML and not using…
BibekBhusal0 Oct 9, 2025
00d12f2
refactor(browse-bot): update settings sections
BibekBhusal0 Oct 9, 2025
729c127
refactor(browse-bot): option to select background style
BibekBhusal0 Oct 9, 2025
ef35424
fix(browse-bot): use css variables to update background
BibekBhusal0 Oct 9, 2025
d1f0161
feat(browse-bot): dynamic hiding of elements
BibekBhusal0 Oct 9, 2025
89356b7
refactor(browse-bot): rename god mode to agentic mode
BibekBhusal0 Oct 9, 2025
4479c24
refactor(browse-bot): move css variables to style.css
BibekBhusal0 Oct 9, 2025
60cea2c
fix(browsebot): pseudo bg width
BibekBhusal0 Oct 9, 2025
93f07df
feat(browse-bot): set remember dimensions to true by default
BibekBhusal0 Oct 9, 2025
ce8d294
fix(browse-bot): pseudo bg tabs on right
BibekBhusal0 Oct 9, 2025
0a83199
optimization: dont calculating width if pseudo bg is disabled
BibekBhusal0 Oct 9, 2025
aebac62
fix: no snap animation if pseudo bg
BibekBhusal0 Oct 9, 2025
3e570f8
chore: Update theme.json
github-actions[bot] Oct 9, 2025
582f4ca
chore: Auto format
github-actions[bot] Oct 9, 2025
093c68d
fix: main window not defined
BibekBhusal0 Oct 9, 2025
7ab77f4
feat(browseBot): update minimal mode styles
BibekBhusal0 Oct 9, 2025
a5476e3
chore: updating all packages to latest version
BibekBhusal0 Oct 9, 2025
92b4259
chore: install crossenv (so that i dont have to install packages ever…
BibekBhusal0 Oct 9, 2025
b0e9337
chore: Auto format
github-actions[bot] Oct 9, 2025
7bfba84
feat(urlbar-ai): hide suggestion in ai mode
BibekBhusal0 Oct 10, 2025
0841f88
feat: add attribute ai thinking in url bar
BibekBhusal0 Oct 10, 2025
3b6388a
feat(urlbar-ai): update settings to include url bar animations and su…
BibekBhusal0 Oct 10, 2025
50741f0
feat: hiding url bar settings dynimically in settings
BibekBhusal0 Oct 10, 2025
5ca99a6
refactor: update comments
BibekBhusal0 Oct 10, 2025
9ab6b70
feat(urlbar-ai): animation whien ai mode is active (from arc-2.0)
BibekBhusal0 Oct 10, 2025
555c08a
Shine animation when AI thinking
BibekBhusal0 Oct 10, 2025
9f80968
chore: Update theme.json
github-actions[bot] Oct 10, 2025
4c68c92
chore: Auto format
github-actions[bot] Oct 10, 2025
5efcad1
fix: prevent pressing tab in command mode
BibekBhusal0 Oct 10, 2025
9762b54
refactor: moving some code down
BibekBhusal0 Oct 10, 2025
1200312
fix(urlbar-ai): not closing url bar in toggling AI mode
BibekBhusal0 Oct 10, 2025
23be542
feat(urlbar-ai): better animations
BibekBhusal0 Oct 10, 2025
508e15a
refactor: making fonts bigger
BibekBhusal0 Oct 10, 2025
76c1454
fix(urlbar-ai): hiding suggestions
BibekBhusal0 Oct 10, 2025
3c25b76
feat: clear URL bar while switching to ai mode
BibekBhusal0 Oct 10, 2025
6320186
chore: Auto format
github-actions[bot] Oct 10, 2025
c01a8a6
fix(urlbar-ai): update system prompt
BibekBhusal0 Oct 11, 2025
7dd079e
fix(browse-bot): multiple tool calls in row
BibekBhusal0 Oct 11, 2025
fbbfad7
docs(browse-bot): include beta version warning
BibekBhusal0 Oct 11, 2025
d06663b
feat(browse-bot): improve message
BibekBhusal0 Oct 11, 2025
f83e27a
feat(findbar-ai): tool call feedback in to user
BibekBhusal0 Oct 11, 2025
73fd8d3
fix: updating dimensions while resizing
BibekBhusal0 Oct 11, 2025
8e4e1ad
chore: Update theme.json
github-actions[bot] Oct 11, 2025
8102ad6
chore: Auto format
github-actions[bot] Oct 11, 2025
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
8 changes: 6 additions & 2 deletions .github/workflows/bundle-findbar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '18'
cache: 'npm'

- name: Install dependencies
run: npm install
run: |
npm cache clean --force
rm -rf node_modules package-lock.json
npm config set registry https://registry.npmjs.org/
npm install --legacy-peer-deps

- name: Bundle JavaScript
run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/update-theme-and-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ permissions:
on:
push:
branches:
- main
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -113,7 +112,7 @@ jobs:
cache: 'npm'

- name: Install dependencies
run: npm install
run: npm install --global prettier

- name: Run Prettier
run: npm run format
Expand Down
76 changes: 76 additions & 0 deletions findbar-ai/browse-bot.uc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
import { urlbarAI } from "./urlbar.uc.js";
import { browseBotFindbar } from "./findbar-ai.uc.js";
import { PREFS, debugLog, debugError } from "./utils/prefs.js";
import { SettingsModal } from "./settings.js";

function setupCommandPaletteIntegration(retryCount = 0) {
if (window.ZenCommandPalette) {
debugLog("Integrating with Zen Command Palette...");

window.ZenCommandPalette.addCommands([
{
key: "browsebot:summarize",
label: "Summarize Page",
command: () => {
browseBotFindbar.expanded = true;
browseBotFindbar.sendMessage("Summarize the current page");
browseBotFindbar.focusPrompt();
},
condition: () => PREFS.enabled,
icon: "chrome://global/skin/icons/highlights.svg",
tags: ["AI", "Summarize", "BrowseBot", "findbar"],
},
{
key: "browsebot:settings",
label: "Open BrowseBot Settings",
command: () => SettingsModal.show(),
icon: "chrome://global/skin/icons/settings.svg",
tags: ["AI", "BrowseBot", "Settings"],
},
{
key: "browsebot:urlbarAi",
label: "Toggle URL bar AI mode",
command: () => urlbarAI.toggleAIMode(),
condition: () => urlbarAI.enabled,
icon: "chrome://global/skin/icons/highlights.svg",
tags: ["AI", "BrowseBot", "URL", "Command"],
},
{
key: "browsebot:expand-findbar",
label: "Expand findbar AI",
command: () => (browseBotFindbar.expanded = true),
condition: () => PREFS.enabled,
icon: "chrome://global/skin/icons/highlights.svg",
tags: ["AI", "BrowseBot", "findbar"],
},
]);

debugLog("Zen Command Palette integration successful.");
} else {
debugLog("Zen Command Palette not found, retrying in 1000ms");
if (retryCount < 10) {
setTimeout(() => setupCommandPaletteIntegration(retryCount + 1), 1000);
} else {
debugError("Could not integrate with Zen Command Palette after 10 retries.");
}
}
}

UC_API.Runtime.startupFinished().then(() => {
// Init findbar-AI
browseBotFindbar.init();
UC_API.Prefs.addListener(
PREFS.ENABLED,
browseBotFindbar.handleEnabledChange.bind(browseBotFindbar)
);
window.browseBotFindbar = browseBotFindbar;

// Init URL bar-AI
urlbarAI.init();
urlbarAI._prefListener = UC_API.Prefs.addListener(
PREFS.URLBAR_AI_ENABLED,
urlbarAI.handlePrefChange.bind(urlbarAI)
);

setupCommandPaletteIntegration();
});
Loading