Consolidate PolyTerm updates: premium removal, lazy CLI, bug fixes#5
Merged
NYTEMODEONLY merged 3 commits intomainfrom Mar 14, 2026
Merged
Consolidate PolyTerm updates: premium removal, lazy CLI, bug fixes#5NYTEMODEONLY merged 3 commits intomainfrom
NYTEMODEONLY merged 3 commits intomainfrom
Conversation
PolyTerm is fully free and open source — no paywalls, no tiers. Renamed "Premium Features" to "Advanced Analytics" in README and TUI guide, replaced premium conversion metrics with feature adoption rate, updated positioning to "MIT-licensed, no paywalls", corrected test count to 650+, and deleted the stale roadmap.md which was entirely a premium monetization strategy document. Co-Authored-By: Paperclip <noreply@paperclip.ing>
Replace eager import of 70+ command modules with a LazyGroup that loads each command only when invoked. Reduces polyterm startup time significantly for commands like --version and --help. Config import is also deferred until the CLI context is created. Co-Authored-By: Paperclip <noreply@paperclip.ing>
The _get_config_class() caching mechanism interacted poorly with unittest.mock.patch on Python 3.10, causing the real Config class to be used instead of the mock. Fix: make cli() respect pre-set config in ctx.obj, and inject mocks via Click's obj parameter instead of patching the module-level Config variable. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Co-Authored-By: Paperclip <noreply@paperclip.ing>
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
roadmap.md(669-line premium monetization strategy). Updated positioning to "MIT-licensed, no paywalls."LazyGroup— commands load only when invoked. Significant startup time improvement for--version,--help, and single-command usage.--hourssemantics, CLOB socket leak prevention, portfolio analytics fallback, news feed caching, Atom feed parsing, cluster timing hot path, fractional timestamps.COMPETITIVE_GAP.md,EXECUTION_ROADMAP.md,TODO_BACKLOG.md,CONTRIBUTING.md, CI workflow.Test plan
--versionand--helpload without importing all commandspolyterm monitor --once,polyterm whales,polyterm news🤖 Generated with Claude Code