- Modified the condition for uploading AAB files to Google Play in package-android.yml to check for the GOOGLE_PLAY_UPLOAD_ENABLED variable instead of the GOOGLE_PLAY_SERVICE_ACCOUNT_JSON secret, ensuring proper configuration for the upload process.
- Fixed the conditional syntax in the package-android.yml workflow to ensure proper evaluation of the GOOGLE_PLAY_SERVICE_ACCOUNT_JSON secret before uploading the AAB to Google Play.
- Standardized quote styles in the package-android.yml workflow by converting single quotes to double quotes for consistency across descriptions and configuration options.
- Updated quote styles in the package-android.yml workflow for consistency, changing double quotes to single quotes in descriptions and configuration options.
- Added push and pull request triggers for the develop branch in package-android.yml to enhance CI automation.
- Standardized quote styles in the workflow configuration for consistency.
- Added support for caching node modules in the skills directory to improve build performance.
- Introduced steps to install and build skills dependencies within the Android CI workflow.
- Updated the package-and-publish.yml to improve macOS app re-signing by adding certificate handling and keychain management.
- Modified package-android.yml to transition from APK to AAB packaging, including updates to artifact handling and Google Play upload.
- Enhanced the bundle-tdlib-macos.sh script to fix binary rpaths, ensuring proper runtime behavior of bundled frameworks.
- Enhanced the version-bump.yml workflow to automatically update the version in package.json and Cargo.toml files.
- Implemented logic to compute the new minor version and create a single commit and tag for both npm and Cargo.
- Ensured the workflow prevents triggering itself by including [skip ci] in the commit message.
- Updated quote styles in package-and-publish.yml and package-android.yml for consistency.
- Introduced a new workflow to automatically update the changelog based on commits since the last version tag.
- Updated the package-and-publish.yml to support target-specific builds for macOS, including bundling and re-signing of TDLib.
- Added a new workflow for packaging and publishing Android APKs, triggered by version bumps and pull requests, ensuring independent build processes for Android and desktop platforms.
- Added a push trigger for the develop branch in the package-and-publish.yml file to enable automated workflows on code changes.
- Included the develop branch in the pull request trigger to ensure CI checks are performed for both main and develop branches.
- Updated the re-signing condition in the package-and-publish.yml file to always execute for macOS, regardless of the presence of a signing identity.
- Added a check to skip re-signing if no signing identity is provided, enhancing the robustness of the CI workflow.
- Modified the re-signing logic to iterate over all bundled dylibs, ensuring that all necessary files are signed correctly.
- Updated the condition for re-signing the macOS app in the package-and-publish.yml file to use the correct syntax for accessing secrets, ensuring proper functionality during the CI process.
- Added a new script to bundle TDLib dylib and its dependencies into the macOS app, addressing the "Library not loaded" crash.
- Updated package.json to include new build and dev commands that utilize the TDLib bundling script.
- Enhanced the CI workflow to include steps for bundling TDLib and re-signing the app after modifications, ensuring proper notarization.
- Updated package.json to include new scripts for bundling TDLib dylib during macOS builds.
- Enhanced CI workflow to automate the bundling and re-signing of the macOS app after TDLib integration, addressing "Library not loaded" issues.
- Introduced a new script for managing TDLib dependencies and ensuring proper installation paths within the app bundle.
- Added support for caching node modules in the skills directory to optimize build times.
- Included steps for installing and building skills dependencies within the CI workflow.
- Updated the MediaPipeLlmBridge.kt file to clarify supported parameters in the MediaPipe LLM Inference API, improving documentation and code clarity.
- Added a macOS deployment target of 10.15 in the package-and-publish.yml workflow to ensure compatibility with std::filesystem used by llama.cpp.
- Updated tauri.conf.json to set the minimum system version for macOS to 10.15, aligning with the new deployment requirements.
- Integrated the @tauri-apps/plugin-os to detect mobile platforms (Android and iOS) in both ModelDownloadProgress and SkillsGrid components.
- Updated rendering logic to display mobile-specific messages, indicating that certain features are available only on desktop.
- Enhanced package.json and yarn.lock to include the new plugin dependency for platform detection.
- Adjusted capabilities configuration to support the new plugin across desktop and mobile platforms.
- Updated the package-and-publish.yml file to use single quotes consistently for strings, enhancing readability and maintaining style consistency across the workflow configuration.
- Minor adjustments made to the args section for macOS and Ubuntu platforms to align with the new quoting style.
- Deleted the setup steps for creating a Python sidecar binary in both build.yml and package-and-publish.yml workflows.
- Removed the associated script for symlinking the system Python to the sidecar path, simplifying the CI configuration.
- Updated package installation steps to exclude Python dependencies, streamlining the build process.
- Updated the package-and-publish.yml file to include a new step for installing OpenMP on macOS platforms.
- This addition enhances the build process for llama-cpp-sys, ensuring compatibility and performance improvements for macOS users.
- Updated the package-and-publish.yml file to refine the conditions for publishing based on the branch and version checks.
- Ensured that the publishing job only triggers on the main branch when the version is set to publish and not skipped, improving the reliability of the CI process.
- Modified the package-and-publish.yml file to implement conditional environment settings for the Production environment based on the branch.
- Standardized quote usage throughout the workflow configuration for improved consistency and readability.
- Adjusted the args section for macOS and Ubuntu platforms to align with the new quoting style.
- Updated the package-and-publish.yml file to use single quotes consistently for strings, enhancing readability and maintaining style consistency across the workflow configuration.
- Minor adjustments made to the args section for macOS and Ubuntu platforms to align with the new quoting style.
- Updated quotes in the package-and-publish.yml file for consistency, changing single quotes to double quotes.
- Commented out the package-android job to disable Android APK packaging in the CI workflow temporarily.
* chore: bump version to 0.20.0 [skip ci]
* chore: bump version to 0.21.0 [skip ci]
* Add workflow to build and package Android APK
* fix: fix package-android job issues in CI workflow
- Add PR branch ref to checkout step for consistent behavior
- Add missing frontend build step with VITE_* env vars before Android build
- Split APK build into signed/unsigned steps to avoid signing with missing keystore
- Add environment: Production for access to environment-scoped secrets/variables
- Fix wrong auth token ($GH_TOKEN -> $XGH_TOKEN) in release asset upload
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix: fix package-android job issues in CI workflow
- Add PR branch ref to checkout step for consistent behavior
- Add missing frontend build step with VITE_* env vars before Android build
- Split APK build into signed/unsigned steps to avoid signing with missing keystore
- Add environment: Production for access to environment-scoped secrets/variables
- Fix wrong auth token ($GH_TOKEN -> $XGH_TOKEN) in release asset upload
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Steven Enamakel <31011319+senamakel@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
- Improved the logic for cleaning up application names by removing version and tag patterns more effectively.
- Ensured that double separators and trailing/leading separators are properly handled.
- Enhanced the package-and-publish workflow to clean up the application name by removing version and tag patterns.
- Updated the installer name from "Telegram Air" to "AlphaHuman" in the DMG creation script.
- Changed the publish directory from './deploy' to './dist' to align with the new build output structure.
- This adjustment ensures that the correct files are deployed to GitHub Pages.
- Added 'cname' for custom domain support and set 'force_orphan' to true for deployment.
- These changes enhance the deployment process for GitHub Pages by ensuring proper domain handling.
- Updated quotes in the deploy-gh-pages.yml file for consistency, changing double quotes to single quotes.
- This change improves readability and maintains uniformity across the workflow configuration.
- Introduced a new workflow to automate deployment to GitHub Pages upon successful completion of the version bump workflow.
- Configured steps for checking out code, setting up Node.js, installing dependencies, building the frontend, and deploying to both the gh-pages and main branches.
This addition enhances the deployment process and ensures that the latest changes are reflected on GitHub Pages automatically.
- Standardized quotes in YAML files for better readability.
- Introduced a new workflow to automatically update the changelog on pushes to the develop branch, enhancing project documentation.
- Added architecture and README files to provide an overview of the project and its features.
These changes improve the maintainability and clarity of the project workflows and documentation.
- Changed project name from 'tauri-app' to 'AlphaHuman' in Cargo.toml and Cargo.lock.
- Updated project description to reflect the new branding.
- Adjusted version extraction in the GitHub Actions workflow to use the version from package.json instead of Cargo.toml.
These changes align the project with its new identity and improve the workflow configuration.
- Set the owner and repo fields directly in the package-and-publish job to 'alphahumanxyz' and 'alphahuman', respectively.
- This change simplifies the workflow configuration by removing dependencies on previous steps for these values.
These updates enhance the clarity and maintainability of the workflow.
- Added 'Production' environment specification to the package-and-publish job for improved clarity.
- Introduced GITHUB_TOKEN from secrets to the environment variables to enhance token management.
These changes contribute to a more secure and organized workflow configuration.
- Removed the redundant GITHUB_TOKEN variable from the package-and-publish job to streamline the workflow configuration.
- Ensured that the GITHUB_TOKEN is consistently set in the environment variables.
These changes enhance the clarity and maintainability of the workflow.
- Added GITHUB_TOKEN to the environment variables for the package-and-publish job to enhance token management.
- Removed redundant githubToken variable to streamline the workflow configuration.
These changes improve the security and clarity of the workflow.
- Updated cache keys in both build and package-and-publish workflows to reference 'src-tauri/Cargo.lock' instead of using a wildcard pattern.
- Changed quotes from single to double for consistency across the workflows.
These changes enhance clarity and maintainability of the workflow configurations.
- Added 'Production' environment specification to the create-release, package-tauri, and publish-release jobs for clarity.
- Included XGH_TOKEN in the environment variables for create-release and publish-release jobs to streamline token management.
These updates improve the workflow's structure and security for release processes.
- Changed the tag name format to remove the "air_" prefix for consistency.
- Added environment variables for Telegram bot and Sentry integration to the build step.
These updates enhance the workflow's clarity and functionality.
- Updated quotes from single to double in the GitHub Actions package-and-publish workflow for consistency.
- Adjusted environment variable names for clarity.
These changes improve code readability and maintainability across the workflow.
- Changed double quotes to single quotes in the GitHub Actions build workflow for consistency.
- Commented out the pre-push script commands to prevent execution while maintaining the structure for future reference.
These changes improve code readability and maintainability.
- Standardized quotes in the build workflow for consistency.
- Enhanced error handling in the package-and-publish workflow by checking HTTP response codes for release creation and publishing.
- Updated authorization headers to use "Bearer" token format for API requests, improving security and compliance with GitHub's API standards.
These changes improve the reliability and security of the release process.
- Added installation of Python dependencies in both build and package-and-publish workflows.
- Implemented setup for Python sidecar binary for Linux and macOS platforms.
- Introduced caching for Cargo registry and build artifacts to optimize build times.
These changes enhance the CI/CD process by improving dependency management and build efficiency.
- Changed the environment variable for publishing to use `XGH_TOKEN` instead of `GH_TOKEN` for authentication.
- Updated the `PUBLISH_REPO` variable to specify the repository directly.
- Adjusted echo messages and curl commands to reflect the new token usage, ensuring proper functionality during the release process.
These changes enhance the security and clarity of the publishing workflow.
* ran prettier
* Refactor ESLint configuration to use ES module syntax and enhance TypeScript support
- Converted CommonJS `require` statements to ES module `import` syntax for better compatibility with modern JavaScript.
- Added new paths to ignore in ESLint configuration to exclude additional directories.
- Updated TypeScript file patterns to be more specific, improving linting accuracy.
- Adjusted React hooks rules to allow certain patterns, enhancing flexibility in component design.
These changes improve the maintainability and clarity of the ESLint configuration, aligning it with current best practices.
* Refactor ESLint configuration to use ES module syntax and enhance TypeScript support
- Converted CommonJS `require` statements to ES module `import` syntax for better compatibility with modern JavaScript.
- Added new paths to ignore in ESLint configuration to exclude additional directories.
- Updated TypeScript file patterns to be more specific, improving linting accuracy.
- Introduced new React hooks rules and adjusted existing rules for better adherence to best practices.
- Made minor adjustments to import statements across various files for consistency and clarity.
These changes improve the overall linting setup and ensure better code quality across the project.
* Refactor import statements across multiple files for consistency
- Updated import statements to use TypeScript's `type` syntax for type imports, enhancing clarity and consistency across the codebase.
- Consolidated imports from the same module into single statements, improving readability and maintainability.
These changes streamline the code structure and align with best practices for TypeScript imports.
* Refactor import statements in memory manager for improved clarity
- Updated import statements to consolidate type imports and enhance readability.
- Removed redundant imports, streamlining the code structure in the memory manager file.
These changes align with best practices for TypeScript imports and improve maintainability.
* Add Husky for pre-commit and pre-push hooks
- Introduced Husky to manage Git hooks, enhancing the development workflow.
- Added pre-commit and pre-push scripts to enforce code formatting and linting checks before commits and pushes.
- Updated package.json to include Husky as a dependency and added a prepare script for setup.
These changes improve code quality and ensure adherence to formatting and linting standards during the development process.
* Refactor import statements for improved clarity and consistency
- Updated import statements across multiple files to consolidate type imports and enhance readability.
- Adjusted the order of imports for better organization and alignment with best practices in TypeScript.
These changes streamline the code structure and improve maintainability throughout the project.
* ran formatter
* Refactor import statements and improve code formatting across multiple files
- Consolidated and reordered import statements for better clarity and consistency in `SkillsGrid.tsx`, `SkillProvider.tsx`, and `index.ts`.
- Enhanced readability by adjusting formatting and removing redundant lines.
- These changes align with best practices for TypeScript imports and improve overall maintainability of the codebase.
* Refactor and optimize code in multiple components
- Removed redundant properties from the `STATUS_DISPLAY` object in `SkillsGrid.tsx` to streamline status handling.
- Consolidated import statements in `SettingsModal.tsx` for improved organization.
- Simplified state management and error handling in `BillingPanel.tsx`, enhancing performance and readability.
- Added `REHYDRATE` import to `index.ts` for better state persistence management.
These changes improve code clarity, maintainability, and align with best practices in TypeScript development.
* Consolidate import statements in SettingsModal.tsx for improved organization
* Add Prettier and ESLint checks to typecheck workflow
- Integrated a Prettier formatting check to ensure code style consistency.
- Added an ESLint step to enforce code quality and catch potential issues.
- These enhancements improve the development workflow by automating formatting and linting checks during the typecheck process.
* Add activeSkillDescription state to ConnectionsPanel and ConnectStep
- Introduced activeSkillDescription state in both ConnectionsPanel and ConnectStep components to store and manage skill descriptions.
- Updated the SkillSetupModal to accept skillDescription as a prop, enhancing the modal's functionality and data handling.
These changes improve the user experience by providing more detailed information about skills during the connection setup process.
* Enhance pre-push hook to include TypeScript compile check
- Added a TypeScript compile check to the pre-push script, ensuring that code compiles successfully before pushing.
- Updated error handling to include compile errors alongside formatting and linting issues, providing clearer feedback to developers.
These changes improve the reliability of the codebase by preventing non-compiling code from being pushed.
* Update GitHub workflows for pull request handling and publishing logic
- Modified the package-and-publish workflow to support pull request events, ensuring proper handling of branches.
- Adjusted the SHOULD_PUBLISH environment variable to differentiate between pull requests and main branch events.
- Updated the pr-protection workflow to focus solely on the main branch, removing references to the master branch.
These changes enhance the CI/CD process by refining branch handling and improving clarity in workflow conditions.
- Changed the workflow trigger from push events on the main branches to a workflow_run event that activates upon the completion of the "Version Bump" workflow.
- This adjustment streamlines the CI/CD process by ensuring that packaging and publishing only occur after version updates are finalized.
These changes enhance the automation and reliability of the deployment pipeline.