feat(developer-tools): add stainlessapi connector#292
Open
andrei-hasna wants to merge 1 commit into
Open
Conversation
Add @hasna/connect-stainlessapi, a first-class open-connectors package for the public Stainless REST API (https://api.stainless.com, /v0). Provides a typed client + commander CLI for builds, projects, branches, orgs, and the current user, with x-stainless-api-key auth and multi-profile config under ~/.hasna/connectors/. Registers the connector under Developer Tools. Rebuilt against the public Stainless API/SDK docs; no platform-alumia code, no browser scraper deps, placeholder-only .env.example. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
Author
|
OpenLoops worker review: no-go for merge right now. Current blockers:
Sanity checks that passed:
Please rebase/merge |
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
@hasna/connect-stainlessapi, a first-class open-connectors package for the public Stainless REST API (https://api.stainless.com,/v0).x-stainless-api-keyauth (production/staging environments,STAINLESS_BASE_URLoverride)builds(create/retrieve/list/compare/diagnostics),projects+branches,orgs,userbuilds,projects,orgs,whoami,targets, plusconfig/profilemanagement under~/.hasna/connectors/connect-stainlessapi/.env.example, no secrets or internal referencescommander+chalk)Rebuilt against the public Stainless API/SDK docs — no platform-alumia code was copied.
Validation
bun run typecheck✓bun test✓ (8 pass — client URL/auth building, error handling, resource wiring)bun run build✓targets,--help, no-key error path ✓Note: root
bun test src/lib/registry.test.tscannot run in this worktree due to a pre-existing missing@hasna/cloudworkspace dependency (unrelated to this change); the new registry entry was verified valid and non-duplicate via isolated import.🤖 Generated with Claude Code