Skip to content

Release v0.0.2

Choose a tag to compare

@github-actions github-actions released this 12 Apr 10:17
· 38 commits to master since this release

What's Changed

  • fix by fmt (135b297)
  • fix by clippy (9c4acc4)
  • fix fmt (505f910)
  • fix (7627122)
  • refact (ca692c6)
  • test: add regression smoke and pin default daemon port (3671e1b)
  • maint: classify adapters and fix zhihu search parsing (c5e5639)
  • fix: load popup script from correct extension path (f0c8892)
  • fix: surface actual extension daemon connection state (8ccbc3d)
  • fix: avoid blocking popup on port auto-detection (f4fcdf0)
  • fix: preserve manually pinned extension daemon ports (ac0ea03)
  • fix: honor daemon port changes across cli and extension (070746a)
  • fix: raise daemon body limit and auto-detect daemon ports (721bd93)
  • debug: add global api response dumping (3d577e8)
  • perf: use bg_fetch for zhihu read-only APIs (2dcf32f)

安装

一键安装脚本(推荐)

curl -fsSL https://github.com/forechoandlook/opencli_rs_plus/releases/download/v0.0.2/install.sh | bash

脚本会自动检测平台,下载 opencli 二进制并安装 adapters。

手动安装

1. 下载 opencli 二进制

平台 文件
macOS Apple Silicon opencli-macos-arm64
Linux x86_64 opencli-linux-x86_64
Windows x86_64 opencli-windows-x86_64.exe
# macOS 示例
curl -L .../opencli-macos-arm64 -o opencli
chmod +x opencli
sudo mv opencli /usr/local/bin/

2. 安装 adapters(必须)

mkdir -p ~/.opencli-rs
curl -L .../adapters.tar.gz | tar -xz -C ~/.opencli-rs/

3. 安装 Chrome 扩展(必须)

下载 opencli-extension.zip,在 Chrome chrome://extensions 开启开发者模式,
解压后点击「加载已解压的扩展程序」选择 dist/ 目录。

4. 安装 summaries(可选,AI 搜索用)

curl -L .../summaries.tar.gz | tar -xz -C ~/.opencli-rs/

使用

opencli zhihu hot           # 执行 adapter
opencli daemon              # 启动调度 daemon
opencli status              # 查看 daemon 状态
opencli job list            # 管理定时任务