Commit Graph
103 Commits
Author SHA1 Message Date
Steven Enamakel cfd0f841fe fix(release): adjust argument parsing for OpenHuman binary in release workflow
- Updated the release workflow to ensure the `--bin OpenHuman` argument is correctly passed to Cargo by adding an additional separator. This change addresses an issue with Yarn v1 stripping the argument layer, improving the build process for standalone binaries.
2026-03-26 19:20:21 -07:00
Steven Enamakel 44bcf3f26c chore: enhance release workflow and update Cargo.toml for standalone binaries
- Commented out macOS build configurations in the release workflow to focus on ensuring the flow works correctly.
- Added steps to build and upload standalone CLI binaries for `openhuman-core` and `openhuman-cli`.
- Updated `Cargo.toml` to require the `standalone-bins` feature for both binaries, streamlining the build process.
2026-03-26 18:51:54 -07:00
Steven Enamakel 851f2308bd refactor: remove Tauri integration and update tools discovery mechanism
- Eliminated the Tauri integration files and related functions to streamline the tools discovery process.
- Updated the tools discovery logic to utilize a mock registry instead of relying on Tauri, enhancing compatibility and simplifying the workflow.
- Adjusted comments in the release workflow to reflect the changes in tools discovery and removed references to the now-removed Tauri binary.
2026-03-26 18:29:44 -07:00
Steven Enamakel 30e355ddd1 chore: refine macOS release workflow and clean up Cargo.toml
- Updated comments in the GitHub Actions release workflow to clarify the handling of feature-gated binaries for macOS codesigning.
- Removed unnecessary required features for `openhuman-core` and `openhuman-cli` in Cargo.toml to streamline the configuration.
2026-03-26 18:05:49 -07:00
Steven Enamakel 97d0e33330 chore: update Tauri signing keys and enhance macOS release workflow
- Modified the Tauri signing key configuration in the GitHub Actions workflow to allow fallback to an updater private key if the primary key is not set.
- Added comments in the release workflow to clarify the handling of app binaries and feature-gated helper binaries for macOS codesigning.
- Updated the public key in the Tauri configuration for the updater plugin to a new value for improved security.
2026-03-26 17:55:31 -07:00
Steven Enamakel 52ba6b9614 feat: add macOS ARM64 build workflow and script
- Introduced a new GitHub Actions workflow for building Tauri applications on macOS Apple Silicon (aarch64).
- Created a script to facilitate local execution of the macOS ARM64 build process, including handling secrets and environment variables.
- Updated existing workflows to replace the APPLE_APP_SPECIFIC_PASSWORD with a more generic APPLE_PASSWORD for consistency.
- Modified example secrets file to reflect the new password structure.
2026-03-26 17:33:08 -07:00
Steven Enamakel 34fed764ee chore: optimize Cargo.lock handling in GitHub workflows
- Added a step to generate a fingerprint for Cargo.lock, skipping the first 7 lines to focus on dependency changes.
- Updated caching strategy for Cargo registry and git sources to utilize the new fingerprint for improved cache efficiency.
2026-03-26 17:14:24 -07:00
Steven EnamakelandGitHub bfaabd3b86 fix/rename (#20)
* chore: update AlphaHuman version to 0.49.3 and configure updater plugin in tauri.conf.json

- Bumped the AlphaHuman package version in Cargo.lock to 0.49.3.
- Added updater configuration in tauri.conf.json to enable automatic updates with specified endpoints.

* refactor: rename AlphaHuman to OpenHuman across the codebase

- Updated all instances of "AlphaHuman" to "OpenHuman" in comments, tooltips, and constants to reflect the new branding.
- Adjusted relevant documentation and prompts to ensure consistency with the new name.

* refactor: update documentation and configurations to reflect OpenHuman branding

- Replaced all instances of "AlphaHuman" with "OpenHuman" in documentation, comments, and configuration files to ensure consistency with the new branding.
- Updated deep link URLs and related authentication flows to use the new "openhuman://" scheme.
- Adjusted paths and references in the skills system and other related files to align with the new project name.te

* refactor: standardize OpenHuman references and update configurations

- Replaced all instances of "AlphaHuman" with "OpenHuman" across documentation, comments, and configuration files to maintain branding consistency.
- Updated URLs and paths to reflect the new "openhuman://" scheme.
- Adjusted environment variable names and related settings to align with the new project identity.
- Enhanced documentation for clarity and accuracy regarding the OpenHuman framework.r

* chore: update subproject commit reference in skills directory

* refactor: update backend URL to reflect new service domain

- Changed default backend URL from "https://api.openhuman.xyz" to "https://api.tinyhumans.ai" in both JavaScript and Rust configuration files.
- Ensured consistency across the codebase regarding the new backend service endpoint.

* feat: introduce identity and migration modules for OpenHuman

- Added a new identity module to support AIEOS v1.1 JSON format, including structures for identity, psychology, linguistics, motivations, capabilities, physicality, history, and interests.
- Implemented a migration module to facilitate data migration from OpenClaw memory, including SQLite and Markdown sources, with detailed reporting on migration statistics and warnings.
- Established utility functions for handling multimodal content and image processing within the OpenHuman framework.
- Enhanced the agent system with new dispatcher and classifier functionalities to improve tool management and message classification.

* chore: remove Android project files and configurations

- Deleted various Android project files including .editorconfig, .gitignore, build.gradle.kts, gradle.properties, and others to clean up the project structure.
- Removed all related resources, layouts, and source files from the Android app directory to streamline the codebase.
- This cleanup is part of a larger effort to refactor and simplify the project structure.

* refactor: update login flow and remove Telegram integration

- Removed the TelegramLoginButton component and its references from the OAuthLoginSection, streamlining the login options.
- Updated the AppRoutes to remove the login route, reflecting changes in the authentication flow.
- Enhanced the RotatingTetrahedronCanvas component with improved geometry and lighting effects for better visual presentation.
- Adjusted the TypewriterGreeting component's styling for consistency.
- Cleaned up the Welcome page to integrate the OAuthLoginSection directly, improving user experience.

* chore: update subproject commit reference in skills directory

* chore: update test configurations and improve test assertions

- Modified test scripts in package.json to use a specific Vitest configuration file for consistency.
- Updated assertions in loader tests to ensure loading durations are non-negative.
- Enhanced tool loading tests to clarify expected behavior regarding localStorage and cache management.
- Adjusted agent tool registry tests to improve error handling and ensure accurate statistics.
- Refined device detection tests to reflect updated fallback URLs.

* fix: enhance parameter formatting and remove unused components

- Updated the `formatParameters` function to handle cases where schema properties are empty, returning a more informative response.
- Deleted the `DownloadScreen` component and associated device detection utilities to streamline the codebase and remove unused functionality.
- Adjusted tests to reflect changes in the tool loading and agent tool registry, ensuring accuracy in assertions.

* chore: simplify Vitest configuration by removing unused include patterns

- Updated the Vitest configuration to remove unnecessary test file patterns, streamlining the test setup for better clarity and maintainability.

* refactor: update paths and comments for AI configuration and file watching

- Modified Vite configuration to ignore only the `src-tauri` directory.
- Updated logging messages to reflect the correct path for writing AI configuration files.
- Adjusted fetch calls in the file watcher to use the new path for `TOOLS.md`.
- Revised comments and logic in Rust code to clarify the handling of AI configuration file paths, including legacy fallback options.

* chore: remove unused updater secrets from GitHub Actions workflow

- Deleted UPDATER_GIST_URL and UPDATER_GIST_ID environment variables from the package-and-publish workflow, streamlining the configuration.

* chore: comment out Vitest thresholds for clarity

- Commented out the thresholds section in the Vitest configuration to improve clarity and maintainability, as it is currently not in use.

* ran formatter

* chore: update updater public key in tauri configuration

- Replaced the existing public key in the updater plugin configuration with a new value to ensure proper functionality and security.

* chore: update ESLint configuration and refactor components

- Added `localStorage` and `sessionStorage` as readonly globals in ESLint configuration for better linting support.
- Removed unused imports from `SkillsPanel.tsx` to clean up the code.
- Changed the type of `watcherInterval` in `file-watcher.ts` for improved type safety.
- Refactored toast management logic in `Intelligence.tsx` to enhance clarity and maintainability.
- Simplified import statements in `IntelligenceProvider.tsx` for consistency.
- Streamlined object property shorthand in `agentToolRegistry.ts` for cleaner code.

* refactor: improve error handling and type safety in Intelligence component

- Enhanced toast notification logic to defer state updates, preventing potential issues with setState in effects.
- Updated the source filter dispatch to use a more specific type for improved type safety.

* refactor: enhance type safety across various components and services

- Updated type definitions from `any` to `unknown` in multiple files to improve type safety and prevent potential runtime errors.
- Refactored state management in `TauriCommandsPanel` to use more specific types.
- Adjusted context and parameters in several interfaces to ensure consistent typing.
- Added ESLint directive to `polyfills.ts` for intentional global assignments.
- Streamlined type handling in utility functions and API responses for better clarity and maintainability.

* refactor: streamline import statements and improve code clarity

- Consolidated import statements in `agentToolRegistry.ts` and `intelligenceSlice.ts` for better readability.
- Simplified the `createTestStore` function in `test-utils.tsx` to enhance code conciseness.
- Cleaned up the `isExecutionStepProgressEvent` function in `intelligence-chat-api.ts` for improved clarity and maintainability.
2026-03-26 17:04:46 -07:00
Steven Enamakel e5abaa1829 chore: add skills dependencies installation step in release workflow
- Included a new step to install dependencies for the skills directory in the GitHub Actions release workflow to ensure all necessary packages are available for the build process.
2026-03-26 15:45:26 -07:00
Steven Enamakel 8bebad6b39 chore: update release workflow job name for clarity
- Renamed the cleanup job in the GitHub Actions workflow to better reflect its purpose of removing releases and tags if the build fails.
- Updated the version of the AlphaHuman package in Cargo.lock to 0.49.1.
2026-03-26 15:42:52 -07:00
Steven Enamakel e37a6ad672 chore: add cleanup job for failed releases in GitHub Actions workflow
- Introduced a new job to remove GitHub releases and associated tags if the build artifacts fail or are cancelled after a successful release creation.
- Implemented error handling for invalid release IDs and missing tags during the cleanup process.
2026-03-26 15:41:19 -07:00
Steven Enamakel eafd2127e3 chore: downgrade tauri-action version in workflows
- Updated the tauri-action version from v1 to v0.6.2 in both package-and-publish.yml and release.yml workflows for compatibility reasons.
2026-03-26 15:40:10 -07:00
Steven Enamakel af15285fc8 chore: update release workflows to include production environment
- Added 'Production' environment specification to the create-release and build jobs in the GitHub Actions workflow.
2026-03-26 15:10:05 -07:00
Steven Enamakel 2b157615a6 chore: update workflows and configuration
- Added `tauri.key` and `tauri.key.pub` to .gitignore.
- Removed Telegram-related environment variables from CLAUDE.md and documentation.
- Updated GitHub Actions workflows to use the latest version of `tauri-action`.
- Deleted legacy version bump workflow and added a new changelog update workflow.
- Introduced a script for testing release workflows locally.
2026-03-26 14:57:29 -07:00
Steven Enamakel 036e91c45f chore: update workflows and configuration for project rebranding
- Removed Telegram-related environment variables from workflows.
- Updated GitHub repository references in workflows to reflect new project ownership.
- Changed default skills GitHub repository in configuration to align with rebranding.
2026-03-26 14:40:16 -07:00
Steven Enamakel 15a6279aa8 refactor: update workflows and documentation
- Removed outdated workflows for lander deployment and PR creation from develop to main.
- Updated build workflow to trigger on push events.
- Renamed version bump workflow to indicate it's legacy.
- Simplified CLAUDE.md by removing unnecessary introductory text.
2026-03-26 14:26:09 -07:00
Steven EnamakelandGitHub 99d8691212 Update package.json and GitHub workflows for consistency and improvements (#9)
- Removed packageManager entry from package.json for cleaner configuration.
- Standardized quotes in build.yml and create-develop-to-main-pr.yml for consistency.
- Updated GitHub Actions to use the correct token in create-develop-to-main-pr.yml.
2026-03-25 23:37:13 -07:00
Steven Enamakel d51f67445c Merge branch 'develop' of github.com:tinyhumansai/openhuman into develop 2026-03-20 20:05:23 -07:00
Steven Enamakel 6d43a6d518 chore: update GitHub Actions workflows and documentation
- Modified build.yml to trigger on changes in 'src/**' and 'src-tauri/**' paths.
- Standardized quotes in package-and-publish.yml for consistency.
- Updated README.md and SUMMARY.md to reflect new branding and added new sections for platform and privacy.
- Introduced new documentation files for platform availability and privacy/security features.
2026-03-19 11:26:56 -07:00
Steven Enamakel 5d82a9eda0 refactor: update project branding from AlphaHuman to OpenHuman across the application
- Renamed all instances of "AlphaHuman" to "OpenHuman" in various components, pages, and files.
- Updated links and email addresses to reflect the new OpenHuman branding.
- Ensured consistency in messaging and branding throughout the application.
2026-03-19 11:25:39 -07:00
Steven Enamakel 72242468fa fix: correct typo in README and update Node.js version in CI workflow
- Fixed the spelling of "reminisces" in the README.md file.
- Updated Node.js version from 20 to 24 in the GitHub Actions workflow for lander pages.
- Changed yarn install command to use --non-interactive for smoother CI execution.
2026-03-19 10:52:16 -07:00
Steven Enamakel 97358a4ea6 refactor: rename project from AlphaHuman to OpenHuman and update configurations
- Deleted obsolete .mcp.json file.
- Updated ESLint and test configurations to reflect new file paths.
- Changed title and branding in index.html and README.md to OpenHuman.
- Adjusted package.json scripts for testing with new configuration files.
- Modified E2E test scripts to use updated WebDriverIO configuration paths.
- Added new TypeScript configuration files for E2E testing and Vitest.
2026-03-19 10:48:08 -07:00
Steven Enamakel 82c209b252 feat: initialize Next.js landing page with essential configurations and components
- Added .gitignore to exclude unnecessary files and directories.
- Created ESLint configuration for code quality enforcement.
- Set up Next.js configuration file for project settings.
- Established package.json with dependencies for React, Next.js, and TypeScript.
- Configured PostCSS for Tailwind CSS integration.
- Developed foundational components including layout, global styles, and animated backgrounds.
- Implemented feedback system components for user interaction and feedback management.
- Added README for project documentation and setup instructions.
2026-03-19 10:38:38 -07:00
Steven EnamakelandGitHub 1916bb9033 Feat/gitbooks (#1)
* added gitbooks

* add: create TODO.md for upcoming features and improvements

- Documented tasks including skill downloads, JSON-RPC state management, and custom MCP server integration.
- Outlined payment flow integration and various skill enhancements.
- Added checklist for upcoming Android version and background processes.

* refactor: update ESLint configuration and adjust module import path

- Removed 'deploy/**' from ESLint ignore patterns to ensure better linting coverage.
- Changed the module import path in the GitHub Actions workflow from 'deploy/prepareTauriConfig.js' to 'scripts/prepareTauriConfig.js' for improved organization.
2026-03-19 10:27:31 -07:00
ad9d001261 Feat/e2e appium mac2 (#116)
* Replace Playwright with Appium mac2 + WebDriverIO for E2E testing and add unit tests

- Remove Playwright config and old e2e/ directory
- Add WebDriverIO + Appium mac2 driver for true native macOS app testing
- Add wdio.conf.ts with platform-aware app path detection
- Add scripts/e2e.sh to manage Appium lifecycle under Node 24
- Add E2E smoke, navigation, and Tauri integration specs
- Add tsconfig.e2e.json for E2E test TypeScript config
- Add unit tests for components, store slices, selectors, services, and utils
- Add test infrastructure (setup.ts, MSW handlers, test-utils)
- Update vitest.config.ts with coverage thresholds and setup
- Update package.json scripts and dependencies

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Update skills submodule to latest

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Add complete E2E login flow test with mock server and onboarding walkthrough

Implements end-to-end testing of the full deep link auth → onboarding → home
flow using Appium mac2, WebDriverIO, and a local HTTP/WebSocket mock server.

Key additions:
- Mock server (port 18473) with all API routes + Socket.IO/Engine.IO WebSocket
  handler to prevent Rust SocketManager crashes
- Deep link helpers to trigger alphahuman:// URLs via macOS `open` command
- Element helpers using XPath selectors (not iOS predicates, which crash on
  mac2 with non-string attributes) and W3C pointer actions for clicking
  WKWebView content (standard element.click() doesn't trigger DOM handlers)
- Login flow spec: 11 tests covering auth deep link, API call verification,
  all 4 onboarding steps, and home page arrival
- Dedicated e2e-build.sh script with cargo clean + mock URL injection
- Cache cleanup and mock URL verification in e2e.sh

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Harden E2E tests and fix config issues from PR review

- e2e.sh: fail fast when dist bundle is missing instead of silently skipping
- setup.ts: add React type import for PersistGate mock annotation
- app-helpers: throw descriptive error on waitForAppReady timeout
- element-helpers: XPath quote escaping via concat() for special chars
- login-flow: fail explicitly when invite code step retry doesn't advance
- smoke.spec: replace no-op assertion with real session ID checks
- vite/vitest configs: remove unused @alphahuman/skill-types alias and
  dead path/fileURLToPath imports

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Add TypeScript types to E2E element helpers and configure ESLint for E2E files

Remove blanket eslint-disable/ts-nocheck from element-helpers.ts, add explicit
TypeScript types with ChainablePromiseElement import, and add ESLint config block
for test/e2e/ files using tsconfig.e2e.json with WebDriverIO/Mocha globals.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Fix CI submodule checkout by adding XGH_TOKEN_READ secret

The skills submodule is a private repo that requires authentication.
The build and package-android workflows were missing the token that
package-and-publish already had.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Fix CI: install skills deps, format with Prettier, lower coverage thresholds

- build.yml: add skills dependency install step and remove redundant
  frontend build (tauri build already runs build:app via beforeBuildCommand)
- Run Prettier --write on all 32 files with formatting drift
- Lower vitest coverage thresholds to match actual coverage (~20%)
  until test coverage improves organically

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Remove stray globals.d.ts that failed Prettier check

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Fix ESLint parsing for wdio.conf.ts and type remaining E2E helpers

- Add wdio.conf.ts to ESLint E2E config block so TS parser covers it
- Remove blanket eslint-disable/ts-nocheck from deep-link-helpers.ts
  and app-helpers.ts, add explicit TypeScript types

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Fix unnecessary regex escape in useSettingsNavigation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Ghost Scripter <ghostscripter@zerolend.xyz>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 17:10:06 +05:30
Steven Enamakel c26d8242cb chore: update GitHub Actions workflows to trigger on version bump completion 2026-02-13 04:27:53 +05:30
Steven Enamakel 5d9e20cb67 chore: comment out workflow_run sections in GitHub Actions for package workflows 2026-02-13 02:46:47 +05:30
Steven Enamakel 5c746d5da5 chore: add environment condition for production deployment in GitHub Actions workflow 2026-02-13 01:00:03 +05:30
Steven Enamakel ab90f1e176 chore: update GitHub Actions workflow to trigger on main branch push 2026-02-13 00:55:39 +05:30
Steven EnamakelandGitHub c54404bfe1 Fix TDLib client lifecycle and skill status handling (#99)
* Refactor skill management and enhance TDLib client handling

- Updated skill registration logic to retain skills with Error and Stopped statuses for better UI feedback and restart capability.
- Improved TDLib client management by introducing a flag to prevent concurrent client creation during destruction, ensuring proper resource cleanup and database lock handling.
- Enhanced error handling in TDLib client destruction process to ensure graceful shutdown and resource release.

* Update skills subproject reference and enhance connection status handling

- Updated the subproject commit reference in the skills directory.
- Modified connection status checks in `SkillsGrid.tsx` and `hooks.ts` to account for 'stopping' state, improving the accuracy of skill status reporting.
- Added handling for 'stopped' and 'pending' statuses in `SkillProvider.tsx` to reset UI state appropriately.

* Update skills subproject commit reference to latest version
2026-02-11 13:14:12 +05:30
Steven Enamakel 471e745fad Update GitHub Actions token in package-and-publish.yml for enhanced security
- Replaced the XGITHUB_TOKEN with XGH_TOKEN_READ in the package-and-publish.yml workflow to improve security practices.
2026-02-11 03:01:20 +05:30
Steven Enamakel 008d450c94 Update subproject commit reference in skills directory and standardize quotation marks in workflow configuration
- Updated the subproject commit reference in the skills directory.
- Standardized quotation marks in the package-and-publish.yml workflow for consistency.
- Added token configuration for GitHub actions to enhance security.
2026-02-11 02:56:54 +05:30
Steven Enamakel fa5c21d303 Standardize quotation styles in workflow files and remove unnecessary branch from pull request configuration
- Updated quotation marks in the package-and-publish.yml workflow for consistency.
- Removed the 'develop' branch from the pull_request section in package-android.yml to streamline the workflow configuration.
2026-02-10 16:45:49 +05:30
Steven Enamakel 123f1a5914 Merge branch 'feat/skills-ping' into develop 2026-02-10 16:42:38 +05:30
Steven Enamakel fa41d90c2d Update subproject commit reference and enhance GitHub workflows
- Updated the subproject commit reference in the skills directory.
- Modified the build workflow to enable submodule fetching.
- Standardized quotation styles in the package-and-publish workflow for consistency.
- Refactored the `setSkillOAuthCredential` function for improved readability.
- Added an attribute to the `Error` variant in the `SkillMessage` enum to suppress warnings for unused code.
2026-02-10 16:41:29 +05:30
6df6877b96 Add skill ping/health-check system (#85)
* Refactor BillingPanel to use updated user usage structure

- Changed the usage data source in BillingPanel from activeTeam to user, aligning with the new IUserUsage interface.
- Updated the display of token usage percentage and progress bar to reflect the new usage metrics (spentThisCycleUsd and cycleBudgetUsd).
- Cleaned up commented-out code and improved layout for better readability and user experience.

* Add skill ping/health-check system for connection monitoring

Periodic (5-min) onPing() calls verify skill service connections are
healthy. Auth errors stop the skill; network errors update connection
status while keeping the skill running for retry. Skills without onPing
are treated as healthy (backward compatible).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Move skill ping/health-check from frontend to Rust backend

The frontend ping loop only runs while React is active, but the Rust
backend keeps skills running independently. This adds a PingScheduler
(modeled after CronScheduler) that pings all running skills every 5
minutes from a background Tokio task and acts on auth/network failures.
The redundant frontend ping loop is removed since SkillProvider already
listens for the Tauri events the Rust scheduler emits.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Refactor package-and-publish workflow for consistency

Updated formatting in the package-and-publish.yml file to use consistent quotation styles for strings. Removed unnecessary branch entry from the pull_request section to streamline the workflow configuration.

* Update logging configuration and adjust ping interval for improved performance

- Enhanced logging setup in `lib.rs` to allow customizable verbosity and color-coded output based on log levels and tags.
- Reduced ping interval in `ping_scheduler.rs` from 5 minutes to 1 minute for more frequent health checks on skills.
- Added functionality to suppress TDLib's native C++ logs based on environment variable settings in `manager.rs`.

* Update subproject commit reference in skills directory and remove logging from get_session_token function for improved security

* Enhance error handling in skill message processing

- Added a new `Error` variant to the `SkillMessage` enum to notify skills of errors from async operations, including error type, message, source, and recoverability.
- Updated the `handle_message` function to handle `SkillMessage::Error`, invoking the `onError` JavaScript handler and logging any failures in the handler execution.
- Updated subproject commit reference in the skills directory.

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 16:24:47 +05:30
Steven Enamakel d191deb0bf Refactor package-and-publish workflow for consistency
Updated formatting in the package-and-publish.yml file to use consistent quotation styles for strings. Removed unnecessary branch entry from the pull_request section to streamline the workflow configuration.
2026-02-10 11:22:28 +05:30
Steven Enamakel 6ae0043ab1 Refactor agent motto formatting and enhance workflow YAML files
- Updated the motto formatting in multiple agent markdown files to use italics for consistency.
- Modified YAML files for package and publish workflows to standardize quotation marks and improve readability.
- Ensured no newlines at the end of files were added during the updates.
2026-02-09 09:30:24 +05:30
Steven Enamakel 8e530940dd Update subproject commit and remove obsolete GitHub Actions workflows
- Updated the subproject commit reference in the skills directory.
- Deleted the deploy-gh-pages.yml workflow as it is no longer needed.
- Modified package-and-publish.yml to include a release body in the draft release creation step.
- Removed ARCHITECTURE.md and README.md files from the publish directory as part of the cleanup.
2026-02-08 02:38:50 +05:30
Steven Enamakel 9e88195c74 Update subproject reference and clean up GitHub Actions workflows
- Updated the subproject reference in the `skills` file to the latest commit.
- Standardized quotes in the `deploy-gh-pages.yml` and `package-android.yml` workflows for consistency.
- Removed unused Telegram API credentials from environment variables in workflows and example configuration files to streamline the setup.
2026-02-05 22:27:34 +05:30
Steven Enamakel f8f202c494 Add Telegram API credentials to GitHub Actions workflow
- Included `TELEGRAM_API_ID` and `TELEGRAM_API_HASH` as environment variables in the `package-and-publish.yml` workflow to facilitate Telegram integration.
- Removed the `dotenvy` dependency from `Cargo.toml` and `Cargo.lock` to streamline the project and eliminate unnecessary packages.
2026-02-05 22:19:37 +05:30
Steven EnamakelandGitHub ceb03fb2bc Fix/prod build (#51)
* chore: add CI secrets management and local testing script

- Added ci-secrets.example.json to provide a template for CI secrets configuration.
- Introduced test-ci-local.sh script to facilitate local testing of the package-and-publish workflow using act.
- Updated .gitignore to exclude the actual ci-secrets.json file containing sensitive tokens.

* chore: enhance local testing and environment loading scripts

- Added scripts to load environment variables from .env and JSON files, improving local development setup.
- Introduced ci-event.json to simulate GitHub event payloads for local CI testing.
- Updated test-ci-local.sh to utilize the new event JSON for better integration with local testing workflows.
- Modified .gitignore to include ci-secrets.local.json for local secret management.

* chore: enhance environment loading and improve V8 memory management

- Updated load-env.sh to conditionally load ci-secrets.local.json and set APPLE_PASSWORD for notarization.
- Introduced a delay in auto-starting skills to prevent memory spikes during initialization.
- Adjusted V8 runtime memory settings to minimize initial heap allocation, reducing the risk of OOM errors.

* chore: update version bump workflow to modify tauri.conf.json

- Changed the version update process to reflect changes in tauri.conf.json instead of Cargo.toml.
- Adjusted the commit message to indicate the inclusion of tauri.conf.json in the version bump process.

* chore: migrate from V8 to QuickJS runtime and update related configurations

- Replaced V8 runtime references with QuickJS throughout the codebase, including updates to initialization and error handling.
- Modified package.json to change the build command for macOS to source environment variables correctly.
- Updated Cargo.toml to remove deno_core dependency and include rquickjs with appropriate features.
- Cleaned up unused V8-related code and comments in the runtime modules.
- Adjusted skill manifest checks to support QuickJS compatibility.

* refactor: implement QuickJS runtime and remove V8 references

- Replaced V8 engine with QuickJS in the runtime module, updating related imports and initialization logic.
- Introduced new `qjs_engine.rs` and `qjs_skill_instance.rs` files to handle QuickJS-specific functionality.
- Removed the deprecated `v8_skill_instance.rs` and associated V8-related code.
- Updated JavaScript bootstrap code to align with QuickJS operations and APIs.
- Adjusted documentation and comments to reflect the transition to QuickJS.

* refactor: update IdbStorage to use parking_lot::Mutex for improved concurrency

- Changed the connection management in IdbStorage from RwLock to parking_lot::Mutex for better performance.
- Updated related methods to reflect the new locking mechanism, enhancing the efficiency of database operations.
- Adjusted the IdbOpenResult struct to include serde::Serialize for potential serialization needs.

* refactor: update QuickJS skill instance and timer management

- Modified memory limit and stack size settings in QjsSkillInstance to be asynchronous, improving performance.
- Cleaned up imports in qjs_ops.rs by removing unused dependencies and enhancing function definitions for clarity.
- Refactored timer management functions for better readability and efficiency, including renaming and restructuring comments.

* chore: update package.json scripts and clean up build.rs

- Added a new script for running the Tauri app with environment variable loading.
- Simplified the macOS development command to use a dedicated build script.
- Removed unnecessary environment variable logging from build.rs to streamline the build process.
- Cleaned up commented-out sections in the GitHub Actions workflow for Android packaging.
2026-02-05 19:29:21 +05:30
Steven Enamakel a4b61d305d chore: enhance macOS bundling process for TDLib
- Updated the package-and-publish.yml workflow to utilize Tauri's native bundling for TDLib on macOS, removing the need for post-build scripts.
- Modified build.rs to copy TDLib and its dependencies to the libraries/ directory, ensuring they are included in the app bundle.
- Updated tauri.conf.json to reference the newly bundled TDLib and its dependencies.
- Added entries to .gitignore for the new libraries directory.
2026-02-05 15:24:41 +05:30
Steven Enamakel 3e19e9542a fix: correct indentation for push trigger in package-android.yml
- Adjusted the indentation of the push trigger section in the package-android.yml workflow to ensure proper YAML formatting and functionality.
2026-02-05 14:43:10 +05:30
Steven Enamakel 57d5478ac2 fix: adjust workflow_run and pull_request triggers in package-android.yml
- Reformatted the workflow_run and pull_request sections for clarity and consistency in the package-android.yml workflow, ensuring proper trigger conditions for CI processes.
2026-02-05 14:42:56 +05:30
Steven Enamakel 8ba6636341 chore: standardize quote styles and add new scripts for macOS app handling
- Updated quote styles in package-and-publish.yml for consistency by converting single quotes to double quotes.
- Introduced new scripts: recreate-dmg-macos.sh for DMG recreation after TDLib bundling and resign-macos.sh for re-signing the macOS app bundle, ensuring proper code signing after modifications.
2026-02-05 14:36:58 +05:30
Steven Enamakel f1bf78aafc fix: update DMG creation paths in CI workflow
- Adjusted the paths for locating the app bundle and original DMG in the package-and-publish.yml workflow to reflect the new directory structure introduced by Tauri v2, ensuring correct DMG recreation.
2026-02-05 14:03:50 +05:30
Steven Enamakel 2f99dec73d fix: update Google Play upload condition in CI workflow
- 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.
2026-02-05 01:14:59 +05:30
Steven Enamakel 484a99ea8f fix: correct conditional syntax in Google Play upload step
- 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.
2026-02-05 01:13:15 +05:30
Steven Enamakel 00301b3bd9 chore: unify quote styles in package-android.yml
- Standardized quote styles in the package-android.yml workflow by converting single quotes to double quotes for consistency across descriptions and configuration options.
2026-02-05 01:11:35 +05:30