Skip to content

Release 0.3.2: count exclude_leadgen default, CLI flag parity, cookbook - #18

Merged
yudelevi merged 6 commits into
mainfrom
development
Sep 3, 2026
Merged

Release 0.3.2: count exclude_leadgen default, CLI flag parity, cookbook#18
yudelevi merged 6 commits into
mainfrom
development

Conversation

@yudelevi

@yudelevi yudelevi commented Sep 3, 2026

Copy link
Copy Markdown
Contributor
  • CountParams.exclude_leadgen defaults to False, matching the platform /count hotfix (platform MR !813).
  • CLI gains a flag for every SDK request field, with an ast-based parity test so new fields can't ship without one.
  • examples/ cookbook of runnable GTM recipes.

Greptile Summary

The PR releases SDK and CLI version 0.3.2, aligns the count lead-generation exclusion default with the platform, expands CLI request-field parity, and adds runnable cookbook examples.

  • Changes CountParams.exclude_leadgen to default to False.
  • Adds CLI options and parity tests for SDK request fields.
  • Adds GTM workflow examples and synchronized package metadata.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
packages/discolike-cli/src/discolike_cli/discover.py The count command now uses help text that correctly states lead-generation exclusion is off by default, while discover retains its separate on-by-default wording.
packages/discolike/src/discolike/_generated/requests.py CountParams.exclude_leadgen now defaults to false while DiscoverParams remains true, matching the intended endpoint-specific behavior.
packages/discolike-cli/tests/test_discover.py Tests cover forwarding the newly exposed discovery and count flags, including explicit lead-generation exclusion values.
packages/discolike-cli/tests/test_sdk_parity.py Adds AST-based coverage to keep CLI options aligned with SDK request fields.
packages/discolike-cli/pyproject.toml Updates the CLI release to 0.3.2 and keeps its exact SDK dependency aligned.
packages/discolike/pyproject.toml Updates SDK package metadata for the 0.3.2 release.

Reviews (2): Last reviewed commit: "cli: count --exclude-leadgen help says o..." | Re-trigger Greptile

Six new scripts plus CLI one-liners covering the searches the API page
shows: seed-domain TAM, icp_prompt search, phrase match with count
first, CRM export enrichment, contacts at discovered companies, and an
agent opening the account through signup(). README is now one table
of script, purpose, and run command.
Regenerated against the platform spec; the SDK was sending true on every
count and narrowing results the caller never filtered out.
discover and count gained variance, min-similarity, consensus,
inclusion-query-id, language, social, subdomain, start-date, redirect,
exclude-leadgen and the auto-* toggles; contacts search, count, and
discover gained the full filter set; match gained per-column flags for
file mode and min-match-confidence; append and segment take query-id;
extract accepts --domain.

test_sdk_parity.py walks every build_request site with ast and fails
on any unforwarded field, so a new SDK field cannot ship without its
flag. icp_text stays out on purpose (dropped in 0.1.1 for icp_prompt)
and dict-typed fields remain --param only; both are allowlisted by
name.
@yudelevi yudelevi changed the title SDK: count exclude_leadgen default, CLI flag parity, cookbook Release 0.3.2: count exclude_leadgen default, CLI flag parity, cookbook Sep 3, 2026
Comment thread packages/discolike-cli/src/discolike_cli/discover.py
The count command reused the discover help text, which says the
exclusion is on by default. CountParams now defaults it to false.
@yudelevi

yudelevi commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

@greptileai review

@yudelevi
yudelevi merged commit 605c193 into main Sep 3, 2026
14 of 15 checks passed
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.

1 participant