Skip to content

Modernize Clippy with clippyjs library#936

Open
azayrahmad wants to merge 3 commits into
mainfrom
feat/modernize-clippy-with-clippyjs-4353048988539944079
Open

Modernize Clippy with clippyjs library#936
azayrahmad wants to merge 3 commits into
mainfrom
feat/modernize-clippy-with-clippyjs-4353048988539944079

Conversation

@azayrahmad

Copy link
Copy Markdown
Owner

This change replaces the legacy, manually managed Clippy implementation with the modern clippyjs library. It preserves all custom AzOS features like interactive input balloons and Text-to-Speech integration while adding support for word-by-word streaming of AI responses. Legacy assets in public/clippy have been removed in favor of the npm package.


PR created automatically by Jules for task 4353048988539944079 started by @azayrahmad

google-labs-jules Bot and others added 3 commits March 6, 2026 06:28
- Integrated `clippyjs` as a dependency.
- Created `src/apps/clippy/clippy-service.js` to handle agent initialization and port custom extensions (`ask`, `speakAndAnimate`, `speakStream`).
- Refactored `src/apps/clippy/clippy.js` to use the new service and support AI response streaming.
- Removed legacy scripts and styles from `index.html`.
- Deleted `public/clippy/` directory and local assets.
- Verified functionality via Playwright E2E tests.

Co-authored-by: azayrahmad <10110227+azayrahmad@users.noreply.github.com>
…anup

- Integrated `clippyjs` as a dependency.
- Created `src/apps/clippy/clippy-service.js` with ported extensions (ask, speakAndAnimate, speakStream).
- Refactored `src/apps/clippy/clippy.js` to use `clippyjs` and fixed agent switching logic.
- Improved `src/apps/clippy/clippy-app.js` cleanup to properly dispose agents.
- Removed legacy assets in `public/clippy/` and script references in `index.html`.

Co-authored-by: azayrahmad <10110227+azayrahmad@users.noreply.github.com>
…sues

- Replace legacy local Clippy with `clippyjs` npm package.
- Centralize agent management and extensions in `src/apps/clippy/clippy-service.js`.
- Fix agent switching to properly await hide animation and dispose old agents.
- Fix Busy State persistence and clear active states on agent transition.
- Fix "Ask Clippy" balloon auto-closing by pausing the hide timeout.
- Fix looping animations (e.g., "Thinking") to end when speech completes.
- Implement word-by-word streaming for AI responses using `speakStream`.
- Remove obsolete local assets and script tags.

Co-authored-by: azayrahmad <10110227+azayrahmad@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant