feat: add DictionaryPredictor to text expander engine#354
Merged
bartekplus merged 8 commits intomasterfrom Mar 27, 2026
Merged
Conversation
Enable user-provided custom dictionary words in the text expander Presage profile, allowing predictions from the user dictionary even without a language engine enabled. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Update @mlc-ai/web-runtime to 0.24.0-dev2 - Update typescript-eslint to 8.57.2 - Add nick-fields/retry@v3 for unit tests to handle intermittent JSDOM failures on Linux CI runners Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
SuggestionManager tests consistently fail on ubuntu CI with bun 1.3.10 due to dynamic import resolution issues with query string nonces. Bumping to 1.3.11 (matching local dev version) to resolve. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Reverting the emscripten-rebuilt JS and wasm back to master versions to test whether these files are causing SuggestionManager test failures on Linux CI. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Revert dependency updates, bun version bump, and libpresage.js/wasm to master. Only keep presage.xml template changes, textExpander.data, and CI retry wrapper. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…tignore Re-run rebuild_all.py --repack to generate matching libpresage.js/wasm for the updated textExpander presage.xml that includes DefaultDictionaryPredictor. Also add .claude/ to .gitignore. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Update @mlc-ai/web-runtime to 0.24.0-dev2 - Update typescript-eslint to 8.57.2 - Bump bun to 1.3.11 in CI - Isolate SuggestionManager.test.ts into its own bun test process to work around dynamic import issues on updated ubuntu runners - Add nick-fields/retry@v3 for unit tests Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Remove nick-fields/retry (failures are deterministic, not flaky). Isolate utils.test.ts into its own bun process alongside SuggestionManager.test.ts to work around JSDOM shadow DOM focus behavior differences on updated ubuntu-24.04 runners. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
DefaultDictionaryPredictorto the text expander Presage profile, enabling user-provided custom dictionary words to be suggested even without a language engine enabledPREFIX_ONLY_MODEsetting that was missing from the templateTest plan
🤖 Generated with Claude Code