Conversation
…ontext The detailed-translation and advice models intermittently surfaced reusable patterns (chunks) drawn from the surrounding `context` rather than the user's marked selection. e.g. selecting "improvements are included" returned "related to" and "based on", which appear only in the context paragraph. Add a deterministic guardrail, `filterChunksToSelection`, that drops any chunk whose text does not appear (case- and whitespace-insensitively) inside the marked `phrase`, and apply it to both `getDetailedTranslation` and `getTranslationAdvice`. Also harden both prompts to state explicitly that the context is only for disambiguating meaning and must never be a source of chunks. https://claude.ai/code/session_01UTb6tc1wE8UyWxCKvBHmwT
… setup-stripe-pricing stripe.products.update merges metadata, so keys you stop sending linger on the product. Removing a tier feature bullet left orphaned feature_<n> keys, and the lenient display parser renders every feature_<n> it finds, so deleted bullets kept showing on the pricing page. Clear every existing key to "" (Stripe deletes empty-valued keys) before overlaying the desired set, making the product metadata an authoritative rewrite. Also refresh the Reader card copy. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…sion-on-translation-function_Navid-Shad fix(translation): only extract chunks from the marked text, not its c…
Contributor
Author
|
🎉 This PR is included in version 1.0.0-dev.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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
This PR includes a fix to the subscription logic by rewriting Stripe product metadata authoritatively in the setup-stripe-pricing process. It also resolves an issue in the translation functionality by extracting chunks only from the specifically marked text rather than its surrounding context. Additionally, documentation has been enhanced with the addition of ClickUp-based branching and pull request guidelines in the CLAUDE.md file.
🔗 Related Tasks
#86exw91re - Fix chunks confusion on translation function (Navid Shad)
📝 Additional Details
📜 Commit List