Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
181 commits
Select commit Hold shift + click to select a range
b7ce5e2
Merge pull request #1 from mozilla-firefox/main
AdamKershner Aug 12, 2025
967d2e6
Customize Firefox new tab page: Change search placeholder and section…
Aug 12, 2025
26f1cd5
Merge pull request #2 from mozilla-firefox/main
AdamKershner Aug 13, 2025
99d74de
Add custom Kahana branding with custom logo and app name
Aug 14, 2025
828136b
Merge pull request #3 from mozilla-firefox/main
AdamKershner Aug 14, 2025
a4801ec
Merge pull request #4 from Kahana-LLC/adam-august-updates
AdamKershner Aug 14, 2025
472e89e
Update branding to 'Oasis' with custom logo and wordmark\n\n- Changed…
Aug 14, 2025
9dc0bf3
Add pyrightconfig.json for development tooling and update Firefox Oas…
Aug 15, 2025
744c8e0
Update Firefox Oasis branding with new gradient icon and branding assets
Aug 15, 2025
d2cf347
Merge pull request #5 from mozilla-firefox/main
AdamKershner Aug 15, 2025
fb37cc4
Merge pull request #6 from Kahana-LLC/adam-august-updates
AdamKershner Aug 15, 2025
8b97917
Merge pull request #7 from mozilla-firefox/main
AdamKershner Aug 19, 2025
62a2fc5
Add Oasis branding: Update custom branding files with Oasis logo and …
Aug 19, 2025
2fc81ad
Merge pull request #8 from Kahana-LLC/adam-august-updates
AdamKershner Aug 19, 2025
a2676c2
Update preferences dropdown to show 'Oasis Home (Default)' instead of…
Aug 19, 2025
2eb0a14
Update support section to use Mozilla branding instead of Firefox
Aug 19, 2025
62081a9
Update privacy page to use Oasis branding instead of Firefox/Mozilla
Aug 19, 2025
82bd614
Update sync page to redirect to Kahana website for mobile/AR/VR info
Aug 19, 2025
cf3ea35
Change Firefox Labs to Experimental in settings
Aug 19, 2025
eda0e05
Transform More from Mozilla page to Enterprise page with Kahana links
Aug 19, 2025
5fadc4a
Merge pull request #9 from mozilla-firefox/main
AdamKershner Aug 19, 2025
7fc8e59
Merge branch 'main' into adam-august-updates
AdamKershner Aug 19, 2025
56add09
Merge pull request #10 from Kahana-LLC/adam-august-updates
AdamKershner Aug 19, 2025
1bb3662
Merge pull request #11 from mozilla-firefox/main
AdamKershner Aug 20, 2025
eeb7214
Merge pull request #12 from mozilla-firefox/main
AdamKershner Aug 21, 2025
963f991
Merge pull request #13 from mozilla-firefox/main
AdamKershner Aug 21, 2025
799e66c
Merge pull request #14 from mozilla-firefox/main
AdamKershner Aug 22, 2025
61249d3
Merge pull request #15 from mozilla-firefox/main
AdamKershner Aug 22, 2025
c340a35
Merge pull request #16 from mozilla-firefox/main
AdamKershner Aug 23, 2025
d03dd2e
Merge pull request #17 from mozilla-firefox/main
AdamKershner Aug 23, 2025
628cf05
Merge pull request #18 from mozilla-firefox/main
AdamKershner Aug 23, 2025
01b2588
Add Oasis Browser branding and release build configuration
Aug 24, 2025
8d1c828
Merge pull request #19 from mozilla-firefox/main
AdamKershner Aug 24, 2025
11106cc
Merge pull request #20 from Kahana-LLC/oasis-branding-release
AdamKershner Aug 24, 2025
7e07365
Add comprehensive developer guide for new contributors
Aug 24, 2025
ebeed4b
Add v1.1.0 release plan and build fixes for critical XPCOM issues
Aug 24, 2025
13dfe89
Fix critical XPCOM and packaging issues for Oasis Browser v1.1.0
Aug 24, 2025
6676fa5
Add v1.1.0 release summary document
Aug 24, 2025
0634304
Merge pull request #21 from mozilla-firefox/main
AdamKershner Aug 24, 2025
79c332d
Merge pull request #22 from Kahana-LLC/release/mac-v1.1.0
AdamKershner Aug 24, 2025
452ccff
Merge pull request #23 from mozilla-firefox/main
AdamKershner Aug 25, 2025
4f40983
AI assistant - Initial commit
Naveen015 Aug 26, 2025
3ad334f
Removed env from push
Naveen015 Aug 26, 2025
418e3b9
Merge pull request #24 from mozilla-firefox/main
AdamKershner Aug 26, 2025
06fd24e
Merge branch 'main' into naveen-updates
AdamKershner Aug 26, 2025
19cbac3
Merge pull request #25 from Kahana-LLC/naveen-updates
AdamKershner Aug 26, 2025
4edcdce
Merge pull request #26 from mozilla-firefox/main
AdamKershner Aug 27, 2025
3e30452
Merge upstream Firefox main branch
Sep 2, 2025
1e8ae52
Merge branch 'main' into mozilla-firefox-main
AdamKershner Sep 2, 2025
dc7b5c7
Merge pull request #28 from Kahana-LLC/mozilla-firefox-main
AdamKershner Sep 2, 2025
b582a96
Transform Firefox Oasis to redirect users to Kahana ecosystem
Sep 2, 2025
94e7542
Merge pull request #29 from mozilla-firefox/main
AdamKershner Sep 2, 2025
473618e
Merge pull request #30 from Kahana-LLC/feature/documentation-update-l…
AdamKershner Sep 2, 2025
65f3d37
Merge pull request #31 from mozilla-firefox/main
AdamKershner Sep 3, 2025
d414a20
Merge pull request #32 from mozilla-firefox/main
AdamKershner Sep 3, 2025
d053fb8
Merge pull request #33 from mozilla-firefox/main
AdamKershner Sep 3, 2025
bb3bd35
Save local changes before upstream merge
Sep 4, 2025
dca917f
Merge upstream Firefox changes
Sep 4, 2025
090819b
Merge upstream Firefox changes from mozilla-firefox:main
Sep 8, 2025
1a0af8a
Merge upstream Firefox main branch - resolve conflict in privacy.inc.…
Sep 9, 2025
66f70c5
Merge pull request #37 from mozilla-firefox/main
AdamKershner Sep 9, 2025
c72265d
Merge pull request #38 from mozilla-firefox/main
AdamKershner Sep 10, 2025
c3d6a81
Merge pull request #39 from mozilla-firefox/main
AdamKershner Sep 10, 2025
0632b51
Hub Commands, chat memory
Naveen015 Sep 11, 2025
5b602d4
Merge pull request #40 from mozilla-firefox/main
AdamKershner Sep 11, 2025
5dc0925
Merge pull request #41 from mozilla-firefox/main
AdamKershner Sep 12, 2025
595053a
Merge pull request #42 from mozilla-firefox/main
AdamKershner Sep 12, 2025
e464322
Fix XML parsing error in preferences page
AdamKershner Sep 12, 2025
f56a686
Merge pull request #43 from Kahana-LLC/fix-xml-parsing-error
AdamKershner Sep 12, 2025
2d75c06
Release v1.2.0: Complete build and packaging system
AdamKershner Sep 12, 2025
b355abf
Merge pull request #44 from Kahana-LLC/release-v1.2.0
AdamKershner Sep 12, 2025
f1a07cd
Merge pull request #45 from mozilla-firefox/main
AdamKershner Sep 14, 2025
a77cd8e
Merge pull request #46 from mozilla-firefox/main
AdamKershner Sep 15, 2025
0e4e9a3
Add comprehensive notarization documentation and scripts
AdamKershner Sep 15, 2025
d0cf3a5
Merge pull request #47 from Kahana-LLC/release-v1.2.0
AdamKershner Sep 15, 2025
016c3f2
Merge pull request #48 from mozilla-firefox/main
AdamKershner Sep 15, 2025
237ed82
Merge pull request #49 from mozilla-firefox/main
AdamKershner Sep 16, 2025
af27190
Merge pull request #50 from mozilla-firefox/main
AdamKershner Sep 17, 2025
4e9cbb6
Merge pull request #51 from mozilla-firefox/main
AdamKershner Sep 22, 2025
7192cb1
Merge pull request #52 from mozilla-firefox/main
AdamKershner Sep 23, 2025
21a4f13
gemini updates
Naveen015 Sep 25, 2025
79a9056
Merge upstream Mozilla Firefox main branch
AdamKershner Sep 30, 2025
f4fea83
Merge remote-tracking branch 'origin/main'
AdamKershner Sep 30, 2025
b1f1547
Hubs page and AWS setup
Naveen015 Oct 1, 2025
51d86f9
Merge upstream Mozilla Firefox main branch (PR #54)
AdamKershner Oct 2, 2025
61afd5f
Merge Naveen updates (PR #55)
AdamKershner Oct 2, 2025
418aa69
Revert "Naveen updates"
AdamKershner Oct 2, 2025
48f49c5
Merge pull request #56 from Kahana-LLC/revert-55-naveen-updates
AdamKershner Oct 2, 2025
86c9c1c
Deleted .env
Naveen015 Oct 2, 2025
5292940
AWS Client update
Naveen015 Oct 2, 2025
59d9ee9
Merge pull request #57 from mozilla-firefox/main
AdamKershner Oct 2, 2025
50073f7
Merge naveen-updates branch with AWS-based assistant architecture
AdamKershner Oct 2, 2025
34cb13a
Merge pull request #59 from mozilla-firefox/main
AdamKershner Oct 4, 2025
c0d6bb0
Merge pull request #60 from mozilla-firefox/main
AdamKershner Oct 6, 2025
e1bba4d
Merge upstream main into local main
AdamKershner Oct 8, 2025
d1ffbeb
Merge branch 'main' of https://github.com/Kahana-LLC/firefox-oasis
AdamKershner Oct 8, 2025
ebb6db7
Fix authentication status check and UI updates
AdamKershner Oct 9, 2025
0cda6da
Merge pull request #62 from mozilla-firefox/main
AdamKershner Oct 9, 2025
89b8893
Merge pull request #63 from Kahana-LLC/authentication-features
AdamKershner Oct 9, 2025
1624c88
Merge pull request #64 from mozilla-firefox/main
AdamKershner Oct 10, 2025
b90f85e
Merge pull request #65 from mozilla-firefox/main
AdamKershner Oct 13, 2025
179463b
Merge pull request #66 from mozilla-firefox/main
AdamKershner Oct 15, 2025
40fe519
Add Firefox-specific authentication implementation
AdamKershner Oct 15, 2025
408c767
SECURITY FIX: Remove exposed Supabase credentials
AdamKershner Oct 15, 2025
0e71289
Revert: Restore Supabase credentials - anon key is safe for public repos
AdamKershner Oct 15, 2025
aefbfd3
Merge pull request #67 from Kahana-LLC/feature/new-ui-updates
AdamKershner Oct 15, 2025
c009ba8
Merge pull request #68 from mozilla-firefox/main
AdamKershner Oct 16, 2025
0c2c111
feat: Add authentication system and improve AI assistant functionality
AdamKershner Oct 16, 2025
c472c0d
Merge pull request #69 from Kahana-LLC/feature/development-work
AdamKershner Oct 16, 2025
abb3706
Merge upstream Firefox changes (437 commits)
AdamKershner Oct 16, 2025
44f29b1
Merge branch 'main' of https://github.com/Kahana-LLC/firefox-oasis
AdamKershner Oct 16, 2025
89fe596
Merge pull request #71 from mozilla-firefox/main
AdamKershner Oct 21, 2025
3e7f657
Fix Supabase authentication
Naveen015 Oct 21, 2025
5c7183d
Moved Assistant to Sidebar
Naveen015 Oct 22, 2025
76e3ebd
Fixed Chat route
Naveen015 Oct 23, 2025
1d90dfa
Bug Fix - chat node; Simplified prompts
Naveen015 Oct 23, 2025
3ff8b54
Merge pull request #72 from mozilla-firefox/main
AdamKershner Oct 23, 2025
668297d
Merge pull request #73 from Kahana-LLC/naveen-updates
AdamKershner Oct 23, 2025
5b05963
Fixed Graph recursion
Naveen015 Oct 24, 2025
6ac06f3
Merge upstream mozilla-firefox/main into main
AdamKershner Oct 27, 2025
244b926
Merge pull request #75 from mozilla-firefox/main
AdamKershner Oct 27, 2025
1ab0aaa
Merge pull request #76 from Kahana-LLC/naveen-updates
AdamKershner Oct 27, 2025
2a8419c
context update
Oct 27, 2025
bf3ab5f
context length and tts updates
Oct 28, 2025
366abd7
Merge pull request #77 from mozilla-firefox/main
AdamKershner Oct 28, 2025
c422abd
Merge upstream/main into main: resolve search preferences conflict by…
AdamKershner Oct 30, 2025
16ec78c
Merge ashwin_updates into main (prefer PR changes)
AdamKershner Oct 31, 2025
ac829c4
Assistant sidebar: load bootstrap in browser.xhtml and integrate with…
AdamKershner Oct 31, 2025
eae00ff
Merge pull request #83 from mozilla-firefox/main
AdamKershner Nov 3, 2025
257ed21
Merge pull request #84 from mozilla-firefox/main
AdamKershner Nov 4, 2025
9b9f2a7
Merge pull request #85 from mozilla-firefox/main
AdamKershner Nov 4, 2025
236286e
Merge pull request #86 from mozilla-firefox/main
AdamKershner Nov 7, 2025
479ea30
splitview, hubs integration with firefox bookmarks
Nov 11, 2025
1b0b069
Merge pull request #87 from mozilla-firefox/main
AdamKershner Nov 13, 2025
1907df3
Merge pull request #88 from mozilla-firefox/main
AdamKershner Nov 13, 2025
594f24a
Merge pull request #82 from Kahana-LLC/feature/assistant-sidebar-and-…
AdamKershner Nov 13, 2025
1b7b689
Merge pull request #89 from Kahana-LLC/ashwin_updates_1
AdamKershner Nov 13, 2025
97899c8
Merge pull request #90 from mozilla-firefox/main
AdamKershner Nov 14, 2025
24df2a7
DEBUG: assistant.ui.js and preview.html — still debugging, DO NOT MERGE
blackhat955 Nov 16, 2025
5e67572
Merge PR #92: merge upstream from mozilla-firefox/main (438 commits)
AdamKershner Nov 18, 2025
4058d8f
Update branding with Kahana logo and remove 'Check authentication' fr…
AdamKershner Nov 19, 2025
9b851de
Merge pull request #93 from Kahana-LLC/test-release-1.0
AdamKershner Nov 19, 2025
f080f50
Merge upstream main: resolve conflict in main.inc.xhtml
AdamKershner Nov 19, 2025
4dc5513
Merge pull request #95 from mozilla-firefox/main
AdamKershner Nov 20, 2025
2aff667
fixed AI Assistant's send, mic icons and background theme
likhithaguggilla Nov 20, 2025
ad7224f
Merge PR #96: merge upstream from mozilla-firefox:main
AdamKershner Nov 21, 2025
06f3773
Merge PR #97: Debug/assistant preview fix icons
AdamKershner Nov 21, 2025
b792597
Revert "Debug/assistant preview fix icons 2025 11 20"
AdamKershner Nov 21, 2025
62822ad
Merge pull request #98 from Kahana-LLC/revert-97-debug/assistant-prev…
AdamKershner Nov 21, 2025
22eed1f
Merge pull request #99 from mozilla-firefox/main
AdamKershner Nov 24, 2025
f2f1628
Fix login persistence, implicit any error, and missing resources
Naveen015 Nov 24, 2025
9d3d000
Fix login persistence across windows using Services.logins
Naveen015 Nov 24, 2025
882f13d
Merge pull request #101 from Kahana-LLC/fix-login-persistence
AdamKershner Nov 24, 2025
0cc21ac
Merge pull request #100 from mozilla-firefox/main
AdamKershner Nov 24, 2025
b535624
Merge pull request #102 from mozilla-firefox/main
AdamKershner Nov 25, 2025
58b742f
Merge pull request #103 from mozilla-firefox/main
AdamKershner Dec 1, 2025
f7e97d1
Merge branch 'pr-104'
AdamKershner Dec 11, 2025
181af3a
Add floating/draggable assistant overlay and remove Check Authenticat…
AdamKershner Dec 11, 2025
721a1f9
Merge pull request #105 from Kahana-LLC/feature/assistant-ui-improvem…
AdamKershner Dec 11, 2025
3e7603a
feat: replace embedding search with MiniSearch and improve hub indexing
Dec 11, 2025
357e66d
Merge pull request #106: merge upstream
AdamKershner Dec 12, 2025
96aca3c
chore: stop tracking node_modules and update build artifacts
Dec 13, 2025
c2a330a
chore: update package dependencies and build bundle
Dec 13, 2025
4d7fb03
Oasis branding changes
aj0671 Dec 13, 2025
e939dca
Merge PR #106: merge upstream
AdamKershner Dec 15, 2025
5de2a59
Merge PR #107: Oasis branding changes
AdamKershner Dec 16, 2025
55f0fb5
Merge PR #108: merge upstream
AdamKershner Dec 16, 2025
7de1e1b
Merge PR #109: Oasis Assistant MiniSearch improvements
AdamKershner Dec 16, 2025
e51cb80
Merge pull request #110 from mozilla-firefox/main
AdamKershner Dec 16, 2025
0730b7a
Redesign assistant UI with clean header and updated color scheme
Dec 18, 2025
3ba6363
Add bubble chat UI with authentication banner
Dec 18, 2025
f57d8b3
Merge pull request #111 from mozilla-firefox/main
AdamKershner Dec 18, 2025
a8897ee
added feedback button
SAIDEEP1216 Dec 19, 2025
5df1832
UI Updates: Enhanced Oasis AI Assistant interface
SAIDEEP1216 Dec 25, 2025
5ffb8cf
Merge pull request #112 from Kahana-LLC/UI_Updates_1
AdamKershner Dec 26, 2025
e9362cb
Fix jittery floating window drag
Dec 26, 2025
4c4f8f9
Add empty state with welcome image and text to assistant chat
Dec 26, 2025
b71cdfa
Merge PR #113: Upstream Firefox updates
AdamKershner Dec 28, 2025
5d2effb
Merge pull request #113 from mozilla-firefox/main
AdamKershner Dec 29, 2025
aa30cc8
Merge pull request #114 from Kahana-LLC/UI_Updates_1
AdamKershner Dec 29, 2025
ebb1dcc
add mixpanel to track mic, auth, click, any more for more detail che…
blackhat955 Dec 30, 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
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ tags
*.gcov
*.tsbuildinfo
compile_commands.json
*.env

# emacs backup files in any directory.
# lint-ignore-next-line: syntax-difference
Expand Down Expand Up @@ -393,6 +394,10 @@ toolkit/crashreporter/minidump-analyzer/target/
# Ignore mozperftest artifacts folder
/artifacts/

# Distribution packages (generated files)
Oasis-Browser-*.dmg
Oasis-Browser-*.zip

# Ignore personal preferences files
CLAUDE.local.md

Expand Down
Binary file added .lto.o/0.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/1.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/10.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/100.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/101.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/102.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/103.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/104.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/105.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/106.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/107.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/108.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/109.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/11.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/12.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/13.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/14.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/15.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/16.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/17.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/18.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/19.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/2.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/20.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/21.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/22.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/23.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/24.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/25.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/26.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/27.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/28.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/29.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/3.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/30.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/31.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/32.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/33.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/34.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/35.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/36.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/37.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/38.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/39.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/4.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/40.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/41.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/42.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/43.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/44.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/45.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/46.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/47.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/48.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/49.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/5.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/50.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/51.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/52.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/53.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/54.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/55.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/56.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/57.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/58.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/59.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/6.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/60.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/61.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/62.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/63.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/64.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/65.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/66.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/67.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/68.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/69.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/7.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/70.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/71.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/72.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/73.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/74.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/75.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/76.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/77.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/78.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/79.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/8.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/80.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/81.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/82.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/83.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/84.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/85.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/86.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/87.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/88.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/89.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/9.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/90.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/91.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/92.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/93.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/94.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/95.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/96.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/97.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/98.arm64.lto.o
Binary file not shown.
Binary file added .lto.o/99.arm64.lto.o
Binary file not shown.
293 changes: 293 additions & 0 deletions BUILD_GUIDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,293 @@
# Firefox Oasis Browser Build Guide

This guide explains how to build the Firefox Oasis browser with the AI assistant feature enabled.

## Prerequisites

- macOS (tested on macOS 24.6.0)
- Node.js and npm installed
- Python 3
- Git
- Sufficient disk space (Firefox builds require several GB)

## Overview

Building the Firefox Oasis browser involves two main steps:

1. **Building the AI Assistant Bundle** - Compiles TypeScript code into a JavaScript bundle
2. **Building the Firefox Browser** - Compiles the entire browser with your customizations

## Step 1: Build the AI Assistant Bundle

The AI assistant is a separate TypeScript/JavaScript project that needs to be built before building the browser.

### Navigate to the Assistant Build Directory

```bash
cd browser/base/content/assistant/build
```

### Install Dependencies

```bash
npm install
```

This installs the required dependencies including:
- esbuild (for bundling)
- TypeScript
- AWS SDK dependencies
- LangChain dependencies
- Supabase client

**Important**: If you see platform-specific errors (e.g., Windows binaries on macOS), delete `node_modules` and run `npm install` again. The build system will install the correct binaries for your platform.

### Build the Assistant Bundle

```bash
npm run build
```

This runs `node esbuild.config.mjs` which:
- Compiles TypeScript files in `src/`
- Bundles all dependencies
- Outputs `assistant.bundle.js` in the parent directory (`browser/base/content/assistant/`)

You should see output like:
```
../assistant.bundle.js 1.9mb ⚠️
⚡ Done in 66ms
```

### Troubleshooting Assistant Build

- **Platform mismatch error**: If you get errors about wrong platform binaries, delete `node_modules` and run `npm install` again
- **Missing script error**: Make sure you're in the `build` subdirectory, not the `assistant` directory

## Step 2: Build the Firefox Browser

### Navigate to Firefox Root Directory

```bash
cd /path/to/firefox-oasis
```

### Important: Branding Asset Fix

Before building, ensure the branding asset file exists:

```bash
# If it doesn't exist, copy it from another branding directory
cp browser/branding/unofficial/Assets.car browser/branding/custom/Assets.car
```

This file is required for the macOS build. Without it, the build will fail with:
```
cp: /path/to/browser/branding/custom/Assets.car: No such file or directory
```

### Run the Build

```bash
./mach build
```

**Note**: Always run `mach` commands from the Firefox root directory. Do not run them from subdirectories.

The build process will:
- Configure the build system
- Compile C++, Rust, and JavaScript code
- Link libraries
- Package the browser

### Build Time and Resources

- **Time**: Expect 10-20 minutes depending on your hardware
- **CPU**: Uses parallel jobs based on available cores and memory
- **Warnings**: You may see compiler warnings (e.g., deprecated API warnings on macOS). These are typically safe to ignore.

### Successful Build Output

You should see:
```
Your build was successful!
To view a profile of the build, run |mach resource-usage|
To take your build for a test drive, run: |mach run|
```

### Troubleshooting Browser Build

- **Permission errors with mach**: Remove stale lock files:
```bash
rm -f ~/.mozbuild/srcdirs/firefox-oasis-*/_virtualenvs/mach.lock
```
- **Missing Assets.car**: See "Branding Asset Fix" above
- **Build failures**: Check the error output. Common issues include:
- Missing dependencies
- Platform-specific build issues
- Disk space issues

## Step 3: Access the AI Assistant

After successfully building the browser, launch it:

```bash
./mach run
```

### Opening the Assistant Sidebar

The AI assistant is integrated as a sidebar panel. You can open it in three ways:

#### Method 1: Toolbar Button
1. Look for the "Oasis Assistant" button in the browser toolbar
2. If not visible, right-click the toolbar → Customize Toolbar → drag the Assistant button to your toolbar
3. Click the button to toggle the sidebar

#### Method 2: View Menu
1. Go to **View** → **Sidebar** → **Oasis Assistant**
2. The sidebar will open on the left side of the browser

#### Method 3: Keyboard Shortcut
- If configured, use the keyboard shortcut for `viewOasisAssistantSidebar`

### Assistant Interface

The assistant sidebar displays:
- **Authentication section** at the top with Sign In/Sign Up buttons
- **Chat log area** in the middle
- **Input field** at the bottom with:
- Text input for questions
- Send button
- Stop button (during responses)
- Clear Context button
- Microphone button (for voice input)

### Using the Assistant

1. **Sign In**: Click "Sign In" and authenticate using:
- Email/password
- Google OAuth
2. **Ask Questions**: Type your question in the input field and press Enter or click Send
3. **Voice Input**: Click the microphone button to record voice input (requires authentication)
4. **Clear Context**: Click "Clear Context" to start a fresh conversation

## Architecture Overview

### File Structure

```
firefox-oasis/
├── browser/
│ ├── base/
│ │ ├── content/
│ │ │ └── assistant/
│ │ │ ├── assistant.xhtml # Assistant UI
│ │ │ ├── assistant.bundle.js # Compiled bundle (from build step)
│ │ │ ├── assistant.ui.js # UI logic
│ │ │ ├── bootstrap.js # Button integration
│ │ │ └── build/
│ │ │ ├── src/ # TypeScript source
│ │ │ ├── package.json
│ │ │ └── esbuild.config.mjs
│ │ └── jar.mn # Resource registration
│ └── components/
│ └── sidebar/
│ └── browser-sidebar.js # Sidebar registration
```

### Integration Points

1. **Sidebar Registration**: `browser/components/sidebar/browser-sidebar.js` registers the assistant as a sidebar panel
2. **Preference**: `browser.sidebar.oasis_assistant.enabled` (default: `true`) in `browser/app/profile/firefox.js`
3. **Toolbar Button**: `browser/base/content/navigator-toolbox.inc.xhtml` defines the assistant button
4. **Bootstrap**: `browser/base/content/assistant/bootstrap.js` wires the button to the sidebar controller

### Build Process Flow

```
1. Developer edits TypeScript in assistant/build/src/
2. Run npm run build → compiles to assistant.bundle.js
3. Run mach build → includes bundle in browser.jar
4. Run mach run → browser loads with assistant sidebar
```

## Common Issues and Solutions

### Issue: Assistant bundle not updating
**Solution**: Make sure you rebuild the bundle after code changes:
```bash
cd browser/base/content/assistant/build && npm run build
```

### Issue: Sidebar doesn't appear
**Solution**:
1. Check that preference is enabled: `browser.sidebar.oasis_assistant.enabled` should be `true`
2. Check browser console for errors (Cmd+Shift+J on macOS)
3. Verify the sidebar is registered in `browser-sidebar.js`

### Issue: Assistant button doesn't work
**Solution**:
1. Check that `bootstrap.js` is loaded in `browser.xhtml`
2. Check browser console for JavaScript errors
3. Try accessing via View menu instead

### Issue: Authentication doesn't work
**Solution**:
1. Check browser console for authentication errors
2. Verify Supabase configuration in `assistant/build/src/config/env.ts`
3. Check network connectivity to Supabase

## Development Workflow

For active development:

1. **Edit Assistant Code**:
```bash
cd browser/base/content/assistant/build
# Edit files in src/
npm run build
```

2. **Test Changes**:
```bash
cd /path/to/firefox-oasis
./mach run
```

3. **For Browser Code Changes**:
```bash
# After editing browser code
./mach build
./mach run
```

## Quick Reference

```bash
# Full build workflow
cd browser/base/content/assistant/build
npm install
npm run build
cd /path/to/firefox-oasis
./mach build
./mach run

# Quick rebuild of assistant only
cd browser/base/content/assistant/build && npm run build

# Quick rebuild of browser (after code changes)
cd /path/to/firefox-oasis && ./mach build
```

## Additional Resources

- Firefox Build Documentation: https://firefox-source-docs.mozilla.org/setup/
- Assistant Source Code: `browser/base/content/assistant/build/src/`
- Sidebar System: `browser/components/sidebar/browser-sidebar.js`

---

**Last Updated**: Based on build process tested October 2024
**Tested On**: macOS 24.6.0, Firefox Oasis build system

46 changes: 46 additions & 0 deletions README_NOTARIZATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# 🍎 Oasis Browser - Release & Notarization

## 🎯 Quick Start for Team Members

### For Release & Notarization:
```bash
# Navigate to the notarization directory
cd notarization

# Follow the complete guide
open docs/NOTARIZATION_SUCCESS_GUIDE.md
```

### Prerequisites:
1. **Apple Developer Account** with Developer ID Application certificate
2. **Certificate File** (`developer_id.p12`) - Place in `notarization/` directory
3. **App Store Connect API Key** for notarization
4. **Built Firefox Application** in `obj-*/dist/` directory

## 📚 Complete Documentation

### 🏆 Main Guide
- **[notarization/docs/NOTARIZATION_SUCCESS_GUIDE.md](notarization/docs/NOTARIZATION_SUCCESS_GUIDE.md)** - Complete 50+ page guide

### 🛠️ Quick Commands
```bash
# Run notarization
cd notarization && ./scripts/resolve_symlinks_and_sign.sh

# Test before notarization
cd notarization && ./scripts/pre_notarization_test.sh
```

## 🔐 Security Notes

- **Certificate files are NOT in the repository** (security)
- **Place your `developer_id.p12` in `notarization/` directory**
- **Set permissions**: `chmod 600 notarization/developer_id.p12`

## ✅ Success Rate: 100%

The notarization process has been fully tested and documented with a 100% success rate.

---

**For complete instructions, see**: [notarization/README.md](notarization/README.md)
Loading