feat(patents): add stilta connector to @hasna/connectors#283
Open
andrei-hasna wants to merge 1 commit into
Open
feat(patents): add stilta connector to @hasna/connectors#283andrei-hasna wants to merge 1 commit into
andrei-hasna wants to merge 1 commit into
Conversation
Add the Stilta patents / prior-art research connector as a first-class open-connectors package under connectors/stilta (@hasna/connect-stilta). Rebuilt cleanly against the public Stilta REST API (api.stilta.com/v1) and existing connector patterns rather than copied from the source: standalone fetch-based Bearer/API-key client, commander CLI, typed API wrapper, and multi-profile config utils. Covers patent search (POST /patents/search), get patent, list/create/get research jobs, and arbitrary raw requests. Registers the connector under the existing "Patents & IP" category. Placeholder-only .env.example; no secrets, internal references, or browser scraping dependencies. Co-Authored-By: Claude Opus 4.8 <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.
Summary
Adds the Stilta patents / prior-art research connector as a first-class open-connectors package (
@hasna/connect-stilta) underconnectors/stilta, and registers it in thePatents & IPcategory.Rebuilt cleanly against the public Stilta REST API (
https://api.stilta.com/v1) and existing open-connectors patterns — not copied from the source platform package (no sharedaccounting-rest/web-scraping-resthelpers, no browser-use / scraper dependency).What's included
fetch-based client with API-key (Bearer) auth and optional base-URL overrideStiltaAPI wrapper:searchPatents(POST /patents/search),getPatent(GET /patents/{patentId}),listResearchJobs,createResearchJob,getResearchJob, andrawRequestconnect-stilta) withpatent,research-job,raw,profile, andconfigcommand groups~/.hasna/connectors/connect-stilta/.env.examplesrc/lib/connectors/patents-ip.tsValidation
bun run typecheck(connector) ✅bun run build(connector) ✅--helpsmoke tests ✅tsc --noEmit✅bun test src/index.test.ts— 56 pass ✅getConnector('stilta')/getConnector('connect-stilta')resolve;searchConnectors('prior-art')matches ✅platform-alumia,accounting-rest, etc.), or scraper deps🤖 Generated with Claude Code