Skip to content
Closed
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
18 changes: 0 additions & 18 deletions .github/workflows/pre-release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,6 @@ jobs:
name: Chromium_Build_${{ steps.current-time.outputs.formattedTime }}
path: build/chromium/*

- uses: actions/upload-artifact@v4
with:
name: Firefox_Build_${{ steps.current-time.outputs.formattedTime }}
path: build/firefox/*

- uses: actions/upload-artifact@v4
with:
name: Chromium_Build_WithoutKatex_${{ steps.current-time.outputs.formattedTime }}
path: build/chromium-without-katex-and-tiktoken/*

- uses: actions/upload-artifact@v4
with:
name: Firefox_Build_WithoutKatex_${{ steps.current-time.outputs.formattedTime }}
path: build/firefox-without-katex-and-tiktoken/*

- uses: marvinpinto/[email protected]
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
Expand All @@ -60,6 +45,3 @@ jobs:
title: "Development Build"
files: |
build/chromium.zip
build/firefox.zip
build/chromium-without-katex-and-tiktoken.zip
build/firefox-without-katex-and-tiktoken.zip
21 changes: 0 additions & 21 deletions .github/workflows/tagged-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@ jobs:
field: version
value: ${{ env.VERSION }}

- name: Update manifest.v2.json version
uses: jossef/[email protected]
with:
file: src/manifest.v2.json
field: version
value: ${{ env.VERSION }}

- name: Push files
continue-on-error: true
run: |
Expand All @@ -50,22 +43,8 @@ jobs:
node-version: 20
- run: npm ci

- uses: actions/setup-python@v6
with:
python-version: '3.10' # for appdmg
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 16.2
- run: sed -i '' "s/0.0.0/${{ env.VERSION }}/g" safari/project.pre.patch
- run: sed -i '' "s/0.0.0/${{ env.VERSION }}/g" safari/project.patch
- run: npm run build:safari

- run: |
gh release upload ${{github.ref_name}} build/chromium.zip
gh release upload ${{github.ref_name}} build/firefox.zip
gh release upload ${{github.ref_name}} build/safari.dmg
gh release upload ${{github.ref_name}} build/chromium-without-katex-and-tiktoken.zip
gh release upload ${{github.ref_name}} build/firefox-without-katex-and-tiktoken.zip

- run: |
gh release edit ${{github.ref_name}} --draft=false
16 changes: 5 additions & 11 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,15 @@ Always reference these instructions first and fall back to search or bash comman
- Analyze bundle: `npm run analyze` -- Inspects the size of webpack output files.
- Format code: `npm run pretty` -- uses Prettier to format all JS/JSX/CSS files. Run this before linting.
- Lint code: `npm run lint` -- uses ESLint.
- Safari build: `npm run build:safari` (see Platform-Specific Instructions for details)

### Build Output Structure

Production build creates multiple variants in `build/` directory:
Production build creates output in `build/` directory:

- `chromium/` - Chromium-based browsers (Chrome, Edge) with full features
- `firefox/` - Firefox with manifest v2
- `chromium-without-katex-and-tiktoken/` - Minimal build without math rendering and token encoding
- `firefox-without-katex-and-tiktoken/` - Minimal Firefox build without math rendering and token encoding
- Distribution artifacts:
- Chromium: `build/chromium.zip`
- Firefox: `build/firefox.zip`
- Safari: `Fission - ChatBox.app` and `safari.dmg` (see Safari Build section for details)
- Distribution artifact: `build/chromium.zip`

Note: This is a Chrome-only build. Firefox and Safari variants have been removed for simplified development.

## Architecture Overview

Expand All @@ -46,8 +41,7 @@ The project uses Preact (for React-like components), SCSS (for styling), and Web
### Manifests

- `src/manifest.json` - Manifest v3 for Chromium browsers (Chrome, Edge, Opera, etc.)
- `src/manifest.v2.json` - Manifest v2 for Firefox (current status; future MV3 migration may change this)
- Background runs as service worker (MV3) vs background page (MV2)
- Background runs as service worker (MV3)
- Different permission models between manifest versions

## Testing and Validation
Expand Down
140 changes: 0 additions & 140 deletions README_IN.md

This file was deleted.

138 changes: 0 additions & 138 deletions README_JA.md

This file was deleted.

Loading