Skip to content

0.2.0: dncState / dncComplainer options, deprecate dncOther; context7.json - #1

Merged
tjkcc merged 2 commits into
mainfrom
context7
Oct 3, 2026
Merged

tjkcc merged 2 commits into
mainfrom
context7

Conversation

@tjkcc

@tjkcc tjkcc commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Two things, both ahead of the Context7 submission so the index reflects the current API:

DNC split (0.2.0). The REST API now exposes the free DNC scrub as two independent flags, dncState and dncComplainer, with dncOther kept only as a deprecated alias. The client exposes both as their own options, translates the legacy option into the two new flags on the wire (existing code keeps working, nothing deprecated is ever sent), types the new dncStateChecked / dncComplainerChecked response fields, and the README states coverage as it is today: 38 states plus DC, and absent fields mean not checked, never clear. Tests cover the new options and the alias translation.

context7.json with the title, description and agent-facing rules (phone format, server-side key, string-typed fields, action/deliverable as the recommendation, when to pass the IP, add-on credit costs, DNC semantics, retry/429, credits), written against the SDK as shipped in this PR.

Release: merge, then publish a GitHub release tagged v0.2.0; the existing Publish workflow pushes to the registry via trusted publishing.

🤖 Generated with Claude Code

tjkcc and others added 2 commits October 3, 2026 10:32
Title, description and agent-facing rules for the Context7 index
(context7.com): phone format, server-side key, string-typed fields,
action/deliverable as the recommendation, when to pass ip, add-on
credit costs, DNC coverage semantics, retry/429 handling, credits.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
The API split the free DNC scrub into two independent checks (state
registries, national complainer list) and kept dncOther only as a
deprecated alias. The client now exposes both as their own options,
translates the old flag into the two new ones on the wire so existing
code keeps working, types the new dncStateChecked / dncComplainerChecked
fields, and the README states coverage as it is today (38 states plus
DC; absent fields mean not checked, never clear). Context7 rules updated
to match.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@tjkcc tjkcc changed the title Add context7.json for Context7 indexing 0.2.0: dncState / dncComplainer options, deprecate dncOther; context7.json Oct 3, 2026
@tjkcc
tjkcc merged commit 7a433a5 into main Oct 3, 2026
3 checks passed
@tjkcc
tjkcc deleted the context7 branch October 3, 2026 17:47
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