Skip to content

feat(patents): add stilta connector to @hasna/connectors#283

Open
andrei-hasna wants to merge 1 commit into
mainfrom
station02-claude/open-connectors/c6351ec0-00ea-43bc-b0f2-bcf5cc5e17e4-3f5f0bc8
Open

feat(patents): add stilta connector to @hasna/connectors#283
andrei-hasna wants to merge 1 commit into
mainfrom
station02-claude/open-connectors/c6351ec0-00ea-43bc-b0f2-bcf5cc5e17e4-3f5f0bc8

Conversation

@andrei-hasna

Copy link
Copy Markdown
Contributor

Summary

Adds the Stilta patents / prior-art research connector as a first-class open-connectors package (@hasna/connect-stilta) under connectors/stilta, and registers it in the Patents & IP category.

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 shared accounting-rest / web-scraping-rest helpers, no browser-use / scraper dependency).

What's included

  • Standalone fetch-based client with API-key (Bearer) auth and optional base-URL override
  • Typed Stilta API wrapper: searchPatents (POST /patents/search), getPatent (GET /patents/{patentId}), listResearchJobs, createResearchJob, getResearchJob, and rawRequest
  • Commander CLI (connect-stilta) with patent, research-job, raw, profile, and config command groups
  • Multi-profile config utils under ~/.hasna/connectors/connect-stilta/
  • Docs (README/CLAUDE/AGENTS/GEMINI), placeholder-only .env.example
  • Registry entry appended to src/lib/connectors/patents-ip.ts

Validation

  • bun run typecheck (connector) ✅
  • bun run build (connector) ✅
  • CLI --help smoke tests ✅
  • Root tsc --noEmit
  • bun test src/index.test.ts — 56 pass ✅
  • getConnector('stilta') / getConnector('connect-stilta') resolve; searchConnectors('prior-art') matches ✅
  • No secrets, internal references (platform-alumia, accounting-rest, etc.), or scraper deps

🤖 Generated with Claude Code

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>
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