diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index d8d844a..0000000 Binary files a/.DS_Store and /dev/null differ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..9049dc6 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,32 @@ +name: CI + +on: + pull_request: + push: + branches: [main] + +permissions: + contents: read + +jobs: + validate: + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v7 + - uses: actions/setup-node@v7 + with: + node-version: "22" + - name: Validate extension JavaScript + run: | + node --check background.js + node --check content.js + node --check popup.js + node --input-type=module --check < proxy/worker.js + - name: Validate manifest + run: node -e 'JSON.parse(require("node:fs").readFileSync("manifest.json", "utf8"))' + - name: Validate native-host and packaging scripts + run: | + python3 -m py_compile native-host/smile-bridge.py + bash -n native-host/install.sh + bash -n scripts/build-prototype-package.sh diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..91b1608 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Maxim Grachev + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 816b370..31007e8 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ > Ask AI about any GitHub, GitLab, or Bitbucket repo. Get instant summaries, chat with AI about the code, then install with one click using Claude Code, Cursor, Codex, or your own tools. ![Ask your GIT](https://img.shields.io/badge/Ask_your-GIT_%E2%9A%A1-blueviolet?style=for-the-badge) -![Version](https://img.shields.io/badge/version-3.0.1-blue?style=flat-square) +![Version](https://img.shields.io/badge/version-3.0.4-blue?style=flat-square) ![Platform](https://img.shields.io/badge/platform-Chrome-green?style=flat-square) ![License](https://img.shields.io/badge/license-MIT-yellow?style=flat-square)