Skip to content

feat: tag keyless signup links from the CLI - #288

Merged
Max17190 merged 1 commit into
mainfrom
feat/tag-keyless-signup-links
Sep 29, 2026
Merged

Max17190 merged 1 commit into
mainfrom
feat/tag-keyless-signup-links

Conversation

@Max17190

@Max17190 Max17190 commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

Why

The API links keyless prompts to signup tagged utm_source=keyless&utm_medium=api, and the CLI prints the API's message as is. Accounts created from a CLI prompt would therefore be counted as API signups.

Summary

  • withCliSignupTag (src/utils/client.ts) rewrites utm_source=keyless&utm_medium=api to utm_medium=cli in the errors the CLI prints for keyless requests:
    • keylessRequest and keylessGet (scrape, search, research, developer)
    • interact and interact stop
    • parse
  • Messages without the keyless signup link are unchanged.

Test Plan

  • pnpm type-check
  • pnpm build && pnpm test: 644 passing, including the new src/__tests__/utils/client.test.ts, which fails when the rewrite is disabled.

Summary by cubic

Retags the signup link in keyless error messages from utm_medium=api to utm_medium=cli, so accounts created from CLI prompts are attributed to the CLI rather than the API.

  • Applies to keyless errors from scrape, search, research, developer, interact, interact stop, and parse.
  • Messages without the keyless signup link are unchanged.

Written for commit 2f47787. Summary will update on new commits.

Review in cubic

The API links keyless prompts to signup with utm_source=keyless&utm_medium=api. The CLI now rewrites utm_medium to cli in the errors it prints for keyless scrape, search, parse, interact, research and developer requests, so accounts created from the CLI are attributed to the CLI.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Shadow auto-approve: would auto-approve. Retags the keyless signup link in CLI error messages from utm_medium=api to utm_medium=cli; a focused, test-covered fix limited to error text with no unrelated behavior changes.

Re-trigger cubic

@Max17190
Max17190 merged commit bd8dd3f into main Sep 29, 2026
8 checks passed
@Max17190
Max17190 deleted the feat/tag-keyless-signup-links branch September 29, 2026 20:36
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.

2 participants