4 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
a2a8e0199a Fix Android workflow SDK setup package selection
Co-authored-by: ReVax-2007 <152216732+ReVax-2007@users.noreply.github.com>
2026-09-16 21:28:06 +00:00
copilot-swe-agent[bot]
ca00312695 Initial plan 2026-09-16 21:24:42 +00:00
Xavier Voet
239dd0ad35 Merge pull request #6 from ReVax-2007/feature/new-integrations
## Summary

Adds the new integration and mobile-readiness features for Cipher Master.

## Changes

- Added bundled JSON quote fallback at `src-tauri/data/quotes.json`
- Updated Rust quote generation to use the fallback library when Ollama is unavailable
- Refreshed the responsive frontend UI
- Added Discord slash-command starter integration
- Added `/cipher`, `/hint`, and `/solution`
- Made Discord hints and solutions ephemeral
- Added Discord Developer Portal setup documentation
- Added Android packaging instructions
- Updated Tauri application version to `1.1.0`
- Updated README and integration documentation

## Discord Setup

The Discord integration includes:

- `integrations/discord-bot/index.js`
- `integrations/discord-bot/register-commands.js`
- `integrations/discord-bot/package.json`

Supported commands:

- `/cipher`
- `/hint`
- `/solution`

## Release

- Release tag: `v1.1.0`
- Feature branch: `feature/new-integrations`

## Validation

- Discord JavaScript syntax validated
- Quote JSON validated
- Rust diagnostics checked
- Committed diff passes `git diff --check`

## Android Note

The documentation includes the Tauri Android initialization and build commands. The current release workflow still produces desktop artifacts only. Android project initialization and Android CI packaging should be added separately before publishing an Android binary.
2026-09-16 17:16:40 -04:00
Xavier Voet
7cddbcedf2 Merge pull request #5 from ReVax-2007/feature/fill-in-the-blank
feat: add fill-in-the-blank cipher mode
2026-09-16 14:01:41 -04:00

View File

@@ -49,3 +49,60 @@ jobs:
releaseBody: 'Download the compiled standalone application binaries below.'
releaseDraft: true
prerelease: false
android:
name: Android APK and AAB
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '17'
- name: Setup Android SDK
uses: android-actions/setup-android@v3
with:
packages: ''
- name: Install Android SDK packages
run: sdkmanager "platform-tools" "platforms;android-35" "build-tools;35.0.0" "ndk;27.2.12479018"
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: aarch64-linux-android, armv7-linux-androideabi, i686-linux-android, x86_64-linux-android
- name: Install Tauri CLI
run: cargo install tauri-cli --version '^2.0' --locked
- name: Initialize Android project
working-directory: src-tauri
run: cargo tauri android init
- name: Build Android packages
working-directory: src-tauri
run: cargo tauri android build --apk --aab
- name: Upload Android packages
uses: actions/upload-artifact@v4
with:
name: cipher-master-android-${{ github.ref_name }}
path: |
src-tauri/gen/android/app/build/outputs/apk/**/*.apk
src-tauri/gen/android/app/build/outputs/bundle/**/*.aab
if-no-files-found: error
- name: Attach Android packages to GitHub release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
src-tauri/gen/android/app/build/outputs/apk/**/*.apk
src-tauri/gen/android/app/build/outputs/bundle/**/*.aab
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}