插件中心

HTTP 文件客户端(.http)

v1.0.0

warren · Apache-2.0 · 更新于 2026年11月25日

简介

polaris-api(com.polaris.api)的社区 fork,自 v0.3.0 起独立维护——不是上游插件的新版本,版本号也是另一条线(上游停在 0.2.0)。保留上游的 Rust reqwest sidecar,但把多 tab 工作台换成「文件即真源」的 .http 编辑器:磁盘上的 .http / .rest 文件是唯一真源(同目录的 wpa-workspace.json 只决定挂载哪些文件),同一份文件在 IDEA、VS Code、DBX 里看到的是同一批请求。原位源码编辑:语法高亮、JSON 折叠、请求目录、自动保存(原子写、按请求段落替换,不整文件重写;外部改过就放弃本次保存而不是覆盖)。每个请求左侧 ▶ 一点即发;按接口记录调用历史(_history/,每接口最近 10 条)与完整请求/响应快照(_results/,每接口最近 10 份,更早的轮转);multipart/form-data 支持原样字节的文件分片;SSE 流式响应与 WebSocket 会话和 HTTP 共用同一个 tab。

httpapiresthttp-fileidedebuggingnetworkwebsocket

权限

2 项权限

host.eventshost.storage

权限代码在安装时授予,此处按 manifest 原文展示。

在 DBX 中安装

点击“在 DBX 中安装”并在应用中确认即可。也可以手动安装:打开 DBX 插件中心,选择“从 URL 安装”,粘贴对应平台的链接——安装前会校验制品签名。

在 DBX 中安装
平台大小SHA-256下载
macOS(Apple Silicon)1.7 MB034b90eca58a0698…下载
macOS(Intel)1.8 MB1be410a3f68a7014…下载
Linux(ARM64)1.8 MBffa3aaac3946771a…下载
Linux(x64)1.8 MBbaddc02a03e60a6c…下载
Windows(x64)1.8 MBcb3273a11ca50924…下载

版本历史

  • v1.0.02026年11月25日最新

    1.0.0 — first stable release of this fork; feature freeze, fixes only afterwards. This submission replaces the withdrawn 0.6.4 candidate: that one shipped the transitional 0.6.x data model (single-key JSON storage + results/*.json), which would have forced a migration on anyone who installed it. No version of this fork was ever listed or signed, so nothing has to be migrated now. - Listing text and icon are this fork's own: "HTTP File Client (.http)" vs upstream's "polaris-api", teal page + fold icon vs upstream's purple/blue plate, and the first sentence of the description says it is a community fork that is not an update to upstream. Version numbers are this fork's own history (0.1 -> 1.0.0) and cannot be compared with upstream 0.2.0; this is one release over three days, not a burst of version bumps. - Derivative of misxzaiz/polaris-api v0.2.0 (Apache-2.0): the package root now ships LICENSE and NOTICE; NOTICE keeps the upstream copyright, names v0.2.0 as the base, and lists the changes (Apache-2.0 section 4). - File-first workbench: the .http file is the only source of truth; wpa-workspace.json only maps what is mounted. Autosave writes atomically and replaces a single request paragraph, aborting when the file changed underneath. - Identity comments # @file_id / # @interface_id (plain comments, meaningless to other tools) drive per-interface history: _history/<file>/<interface>.jsonl keeps the last 10 calls, _results/ keeps the last 10 full snapshots per interface. - History and results panels: every recorded call can open the exact request/response of that call; entries whose snapshot was rotated away say so instead of failing. - WebSocket connect/send/frames in the same tab as HTTP; multipart/form-data with byte-exact file parts; streamed SSE responses. - Editor caret alignment: the highlight layer no longer changes glyph advance, so clicking and deleting act on the character you see.