0.32.0: myna newsletter track connect <site>, on every surface - #98
Merged
Merged
Conversation
…, on every surface connectTracking reads the project's tracking id and secret from CrawlProof's new GET /api/v1/email-tracking/<site>?secret=1 with the token myna already holds (myna crawlproof login), switches tracking on when it is off, and keeps the id in settings and the secret in the vault. CLI: myna newsletter track connect <site>. TUI: /newsletter track <site>. Desktop: Connect tracking. MCP: myna_newsletter_track_connect. Needs crawlproof.com#268 deployed. Co-Authored-By: Claude Opus 5.5 (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.
The myna half of "email tracking on every surface". It depends on profullstack/crawlproof.com#268 (the email-tracking API) being merged and deployed; until then
connectanswersCrawlProof: 404.connectTracking(site):GET /api/v1/email-tracking/<site>?secret=1, using the CrawlProof token myna already holds (myna crawlproof login);POST …/enableif it's off;No more copying a secret out of the dashboard.
myna newsletter track connect moshcode.sh/newsletter track moshcode.shmyna_newsletter_track_connect(28 tools now)Tests
packages/core/test/newsletter-connect.test.tsagainst a faked CrawlProof: switched on when off, not touched again when on, a 404 explained, no token → "myna crawlproof login".node --check.🤖 Generated with Claude Code