From 219a8aa0a7e376081f0f91d9850b8144c8ba39f0 Mon Sep 17 00:00:00 2001 From: HaroldLeo <18252213+HaroldLeo@users.noreply.github.com> Date: Thu, 29 Oct 2026 22:05:37 -0700 Subject: [PATCH] registry: add AWS Bedrock SSO (#508) Lists the third-party npm package magpie-aws-bedrock-sso (provider id bedrock-sso): Amazon Bedrock's Claude and GPT models through an AWS CLI profile (SSO / IAM Identity Center), SigV4-signed, no Bedrock API key. Reviewed at 5a66cee: registry.json only (+3 -1), based on current main. The entry has package, name, providers and en/zh summary, no "community" flag, as the other third-party listings (officeace-auth, @hoptoper/*). bedrock-sso doesn't collide with magpie's bedrock / bedrock-mantle presets. Package read in full from npm pack magpie-aws-bedrock-sso@0.3.3 (sha512 matches npm's dist.integrity; 9 files: index.mjs, lib/{credentials, sigv4,models,converse,eventstream}.mjs, README, LICENSE, package.json). No dependencies, no install/postinstall scripts, no telemetry. Requests go only to bedrock-runtime..amazonaws.com (fetch refuses any other host, port, query or redirect; region is regex-checked) and bedrock..amazonaws.com/inference-profiles for the model list. Credentials come from `aws configure export-credentials`, `aws sts get-caller-identity` and `aws sso login`, run through execFile/spawn with argument arrays; they are kept in memory only. Files read: section names of ~/.aws/config and ~/.aws/credentials, and magpie's ~/.cache/magpie/ models.json. Nothing is written. Not a relay: Bedrock is the vendor's own platform. Run on mote at 5a66cee: a registry check (JSON parses, 61 entries, unique packages and provider ids, en/zh summaries), HOME=$(mktemp -d) bun test (3718 pass, 8 skip, 0 fail) and bun scripts/check.mjs (all ok). Not tried: the package itself with real AWS credentials. --- registry.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/registry.json b/registry.json index b64ac71..e06d412 100644 --- a/registry.json +++ b/registry.json @@ -130,6 +130,8 @@ "en": "Tencent Cloud OrcaTerm (遨驰终端) AI assistant models — DeepSeek, Hunyuan, GLM, Kimi — on the account's monthly question allowance. Unofficial; the README sets out the terms.", "zh": "用腾讯云遨驰终端(OrcaTerm)AI 助手的模型——DeepSeek、混元、GLM、Kimi——走账号每月问答额度。非官方,条款风险见 README。" } - } + }, + { "package": "magpie-aws-bedrock-sso", "name": "AWS Bedrock SSO", "providers": ["bedrock-sso"], + "summary": { "en": "Use Amazon Bedrock Claude and GPT models with your AWS CLI profile, including SSO / IAM Identity Center. SigV4 authentication; no Bedrock API key needed.", "zh": "使用 AWS CLI 配置(支持 SSO / IAM Identity Center)接入 Amazon Bedrock 的 Claude 和 GPT 模型,通过 SigV4 签名,无需 Bedrock API 密钥。" } } ] }