freebuff-auth

DSH PLUGIN模型与账号接入

仓库 MYCF711/freebuff-auth

模型与账号接入 L4 · 沙盒安装通过 安全审查:低风险 可信度:银 可安装插件
安装这个插件

freebuff-auth 是 MYCF711 维护的 模型与账号接入 类 DSH 可安装插件, 仓库为 MYCF711/freebuff-auth,许可证 MIT。 下面按「装什么、怎么装、验没验过、跑起来要注意什么」逐项列出。

一句话选型结论

按资料字段整理

freebuff-auth 是模型与账号接入类的 DSH 可安装插件,验证等级 L4 · 沙盒安装通过,安全审查为低风险,有可直接复制的安装命令。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类模型与账号接入 收录类型可安装插件 验证等级L4 · 沙盒安装通过 安全审查低风险
验证等级 L4 L4 · 沙盒安装通过
GitHub 星标 0 复刻 未标注 · 未关闭 issue 未标注
最近更新 2026-10-24 创建于 未标注
README 7.5 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add github:MYCF711/freebuff-auth#v0.3.0-beta.1
  1. 1
    确认版本与运行环境

    仓库没有标注兼容版本与 Node.js 要求,先确认你的 DSH 版本能装,再继续。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本未标注版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名未发布到 npm可用 npm view 查看包信息

能做什么

模型与账号接入
字段来自项目仓库与公开索引,中文说明由本站标注

适用场景

智能体编排

验证等级与安全审查

L4 · 沙盒安装通过
自动化流程结论,不是人工审核
验证等级L4 · 沙盒安装通过安装命令在隔离沙盒内真实执行成功,无依赖错误
安全审查低风险静态分析结论,未标注不代表已通过审查
仓库健康度活跃按仓库活跃度与最近更新时间给出
可信度银综合仓库活跃度与验证结果

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 验证等级 L4:在沙盒里真实装过,依赖能装上,不是纸面声明。
  • 静态安全审查为低风险,没有发现明显可疑行为。
  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有声明 Node.js 版本要求,版本不匹配可能装不上。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在模型与账号接入场景里给 DSH 补能力的人。
  • 想装完就能用、不想自己排依赖的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
freebuff-auth当前 L4 · 沙盒安装通过 低风险 0 未标注 有
archify L4 · 沙盒安装通过 低风险 8.0 万 未标注 有
DeepSeek-Reasonix L4 · 沙盒安装通过 低风险 3.6 万 未标注 有
nocobase L3 · 安装规范通过 低风险 2.5 万 0.1.1-rc.2 无
learn-harness-engineering L4 · 沙盒安装通过 低风险 2.0 万 未标注 有
dsh-our-free-model 未做沙盒验证 未标注 8,064 未标注 无

仓库档案

模型与账号接入
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方MYCF711仓库 freebuff-auth · 默认分支 未标注
分类模型与账号接入ai
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言未标注仓库主语言
许可证MIT商用或二次分发前请确认条款原文
星标 / 复刻 / issue0 / 未标注 / 未标注收录时的数值,非实时
创建 / 更新未标注 · 2026-10-24最后推送 未标注
本站收录2026-10-30首次进入本站目录的时间

README 全文

7.5 KB
作者原文,中文版优先;只做安全转义,不改内容

Freebuff provider for magpie & DeepSeek Harness

Freebuff's free models in magpie and
DeepSeek Harness — through the account's own
browser sign-in, with a multi-account pool that rotates when a daily quota
runs out, and streaming tool calls.

Freebuff is Codebuff's free tier. It costs nothing to use, but the allowance is
small and time-boxed: 5 freebucks buys a one-hour session, one account gets 25
freebucks a day.

Unofficial. Not affiliated with Codebuff or Freebuff.

> Status: beta (0.3.0-beta.1). The tool-calling path is implemented and
> covered by 38 assertions, and its wire format was checked against Freebuff's
> own client — but it has not been exercised end to end against a live
> Freebuff account (the one available during development is suspended).
> Install with @beta; the stable tag is held until that test runs.


The three packages

One repo, one protocol core, two thin shells:

freebuff-core ──┬──> magpie-freebuff-provider
└──> dsh-freebuff-provider
Package What it is Install into
freebuff-core Protocol core: device signing, catalog, session admission, SSE tool-call parsing, message normalization. Not installed directly — both shells depend on it. —
magpie-freebuff-provider magpie / OpenCode plugin: exports the config / auth / provider hooks. magpie, OpenCode
dsh-freebuff-provider DSH bundle + local gateway: an OpenAI-compatible endpoint on 127.0.0.1:8937. DeepSeek Harness

Why two shells and not one package: magpie wants a plugin object with hooks;
DSH wants an HTTP endpoint it talks OpenAI to. The protocol underneath — device
signature, session admission, account rotation, tool-call parsing — is identical,
so it lives once in freebuff-core.


Install

Published to npm, as @beta:

Package
freebuff-core protocol core, inlined inside both packages — not installed separately
magpie-freebuff-provider magpie / OpenCode
dsh-freebuff-provider DeepSeek Harness

magpie

magpie plugin add magpie-freebuff-provider@beta
magpie plugin login freebuff

Or from a packed tarball:

npm pack --workspace magpie-freebuff-provider --pack-destination dist
magpie plugin add ./dist/magpie-freebuff-provider-0.3.0-beta.1.tgz

DeepSeek Harness

dsh plugin --profile desktop add dsh-freebuff-provider@beta

The package ships a gateway binary. Start it:

npx freebuff-gateway
# or
node node_modules/dsh-freebuff-provider/gateway.mjs

Then point a DSH provider at it. Add to ~/.dsh/profiles//cordis.patch.yml:

- id: llm-pi-ai
name: "@deepseek-ai/dsh-llm-pi-ai"
config:
providers:
freebuff:
displayName: Freebuff
apiKeyEnv: FREEBUFF_LOCAL_KEY
api: openai-completions
baseURL: http://127.0.0.1:8937/v1
models:
- id: freebuff/solar-pro4
name: Solar Pro 4 · 0fb
contextWindow: 1048576
maxTokens: 32768
input: [text, image]
set FREEBUFF_LOCAL_KEY=local-freebuff

patchEntry() in dsh-freebuff-provider generates this block programmatically
if you would rather not hand-write it:

import { patchEntry } from 'dsh-freebuff-provider'
console.log(JSON.stringify(patchEntry(8937), null, 2))

Sign-in

Two ways, both work in magpie and in the gateway:

Browser sign-in. Freebuff's own login page opens; sign in and the account is
picked up. Repeat to add more accounts — the pool holds them all.

Token. Paste an existing Freebuff authToken (a 36-character UUID). Sends
nothing at sign-in, so it works headless. Get it from
~/.config/manicode/credentials.json → default.authToken, written by the
official CLI after one sign-in.


Models

Captured from the account's catalog at call time, so it follows what Freebuff
actually offers. Locked rows (paid plans) are filtered out.

The four 0fb models cost no freebucks but still consume one of the day's
session windows. The 5fb–20fb models spend freebucks.

Tool calls stream through: tools, tool_choice and parallel_tool_calls go
to Freebuff; tool_calls come back as standard OpenAI deltas.


Quota

  1. 5 freebucks = one hour. Fixed, non-pausable, non-refundable.
  2. 25 freebucks a day, resets at Pacific midnight (≈15:00 Beijing).
    At most 5 sessions per account per day.
  3. One premium session at a time per account. Opening a second takes the
    first away.

The plugin never opens a session it cannot pay for: a model priced above the
remaining balance is blocked with a readable reason. 0fb models stay openable
at zero balance.


Running both hosts at once

Don't share one Freebuff account between them. Freebuff allows one session
per account, so magpie and the DSH gateway using the same account will take each
other's session away — you will see a stream of 409s.

Pick one:

  • One host only. Disable the other (magpie plugin off freebuff, or stop the
    gateway).
  • Two accounts. Sign a different Freebuff account into each.

There is also a second, quieter cost: each shell generates its own Ed25519 device
key, so one account talking through both looks like two machines. That is one of
the patterns that gets an account flagged.


Keeping the account alive

  • One client per account — not the plugin, the desktop app and the CLI at once.
  • Do not rebuild the device key. It is created once and reused; replacing it
    registers a new device.
  • Space out model switches. Several within a minute is the kind of pattern
    that draws attention.
  • 403 account_suspended means the account is gone. Stop; do not keep
    probing. Appeal through the Freebuff account page.

Troubleshooting

What you see What it means
403 free_mode_cli_required The request did not look like the official CLI's — usually a header set that drifted.
403 account_suspended Suspended, not rate-limited. Stop and appeal.
402 Out of credits Daily freebucks gone; resets at Pacific midnight.
409 session_model_mismatch Session was opened for another model; the plugin re-opens it.
429 rate_limited Per-model daily call count; retryAfterMs says how long.
No models listed Not signed in yet, or the catalog call failed.
magpie shows 0 models config did not run, or the static table was overwritten.

Develop

npm install          # links the three workspaces
npm test             # 26 assertions across all three packages
npm run pack:all     # tarballs into dist/

scripts/test-installed.mjs additionally installs the tarballs into a scratch
directory and re-checks them, so packaging mistakes surface before publishing.


Notes on the protocol

Requests are signed with an Ed25519 device key over a six-line payload: version,
method, path, timestamp, body SHA-256, fetch id. The user message content is an
array of {type:"text",text} parts rather than a bare string, and role:"tool"
carries an underscore tool_call_id — both match what Freebuff's own client
sends. Sessions are released on the /attempt endpoint, which is what the
official client uses; the other one invalidates the whole session chain.


License

MIT. See LICENSE.

常见问题

5 问
答案由本站依据条目字段整理,不引用上游原文
freebuff-auth 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add github:MYCF711/freebuff-auth#v0.3.0-beta.1` 即可。

freebuff-auth 的验证等级是什么意思?

L4 · 沙盒安装通过。安装命令在隔离沙盒内真实执行成功,无依赖错误

freebuff-auth 安全吗?

低风险。

freebuff-auth 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

freebuff-auth 用的是什么许可证?

上游标注为 MIT。商用或二次分发前请到仓库确认许可证原文。

模型与账号接入
按星标排序,可作替代方案

archify

archify

从仓库或系统描述生成经过校验的自包含交互式架构图、流程图、时序图、数据流图和生命周期图。

L4 · 沙盒安装通过 8.0 万 星

nocobase

nocobase

L3 · 安装规范通过 2.5 万 星

dsh-our-free-model

dsh-our-free-model

为 DeepSeek Harness 挂载免登录、免 API Key 的免费前沿模型通道,装完即用,并附用量看板与 OpenAI 兼容本地转

未标注验证等级 8,064 星

dsh-purge

dsh-purge

dsh-purge 是一款 DeepSeek Harness 设置插件,可修改默认副本、权限策略和工具限制,并添加规则卡片以分组应用补丁,支

L5 · 运行验证通过 4,573 星

MYCF711 的其它插件

4 个

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 —。