Skip to content

[pull] main from oomol-lab:main - #17

Merged
pull[bot] merged 1 commit into
LJAYi:mainfrom
oomol-lab:main
Jul 27, 2026
Merged

[pull] main from oomol-lab:main#17
pull[bot] merged 1 commit into
LJAYi:mainfrom
oomol-lab:main

Conversation

@pull

@pull pull Bot commented Jul 27, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

## Summary / 概要

- Add a locally executable Upstash Redis provider backed by the official
REST API.
- 新增基于 Upstash 官方 REST API 的本地可执行 Redis Provider。

## Changes / 改动内容

- Add custom credentials with estUrl and secret estToken, validated
through PING.
- 新增 
estUrl 与敏感 
estToken 凭据,并使用 PING 校验连接。

- Add seven string-key actions: get, set, delete, exists, expire, tl,
and single-page scan.
- 新增 7 个字符串键操作:get、set、delete、exists、expire、	tl 和单页 scan。

- Support atomic SET key value [EX seconds] [NX|XX] writes and preserve
Redis TTL semantics.
- 支持原子 SET key value [EX seconds] [NX|XX] 写入,并保留 Redis TTL 语义。

- Restrict REST URLs to public https://*.upstash.io root endpoints and
route requests through the injected SSRF-protected fetcher.
- REST URL 仅允许公网 https://*.upstash.io 根路径端点,所有请求均使用注入的 SSRF 防护 Fetch。

- Handle timeouts, cancellation, JSON response envelopes, upstream
errors, and non-JSON error bodies while preserving relevant HTTP status
codes.
- 处理超时、取消、JSON 响应包络、上游错误和非 JSON 错误响应,并保留关键 HTTP 状态码。

## Validation / 验证

- scripts/generate-catalog.ts
- 
pm run typecheck
- �itest run - 57 files and 548 tests passed
- Mock Fetch smoke tests for credential validation, command encoding,
output normalization, URL validation, and non-JSON upstream errors

## Notes / 说明

- No npm dependencies or shared runtime changes were added.
- 未新增 npm 依赖,也未修改共享运行时。

- package-lock.json is intentionally excluded because it is unrelated
local user work.
- package-lock.json 为无关的本地用户修改,未包含在本 PR 中。

---------

Co-authored-by: Kevin Cui <bh@bugs.cc>
@pull pull Bot locked and limited conversation to collaborators Jul 27, 2026
@pull pull Bot added the ⤵️ pull label Jul 27, 2026
@pull
pull Bot merged commit 97ca60a into LJAYi:main Jul 27, 2026
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant