Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
42 changes: 0 additions & 42 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ members = [
"src/apps/server",
"src/apps/relay-server",
"src/apps/miniapp-market-server",
"src/apps/skin-market-server",
"src/crates/interfaces/acp",
"src/crates/interfaces/app-server",
"src/crates/interfaces/app-server-client",
Expand Down Expand Up @@ -37,7 +36,6 @@ members = [
"src/crates/services/legacy-migration",
"src/crates/services/legacy-migration-adapters",
"src/crates/services/miniapp-market-service",
"src/crates/services/skin-market-service",
"src/crates/services/relay-service",
"src/crates/services/page-function-runtime",
"src/crates/services/terminal",
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Install and reuse the apps you build, or explore the [Mini App Marketplace](http

- **Build a specialist agent.** Choose a model, define its role, and equip it with the tools and workflows it needs for motion comic production, visual design, code review, or your own field.
- **Connect tools and workflows.** Connect tools through MCP, turn repeatable processes into Skills, and use Hooks to customize how tasks run.
- **Change the interface and source.** Install [skins](https://market.openbitfun.com/skin/) for a new look, or modify the UI, tools, and runtime source to build your own version of OpenBitFun.
- **Change the interface and source.** Choose a built-in theme, or modify the UI, tools, and runtime source to build your own version of OpenBitFun.

**You can ask OpenBitFun's Code Agent to modify and extend OpenBitFun itself.**

Expand Down Expand Up @@ -133,7 +133,7 @@ Getting there means making long-running tasks more reliable, the runtime more ef

**Share what you build, offer feedback, or contribute code to help shape OpenBitFun.**

Share your use cases and experience, contribute agents, Skills, Mini Apps, or skins, or help improve the docs, interface, and runtime. Ideas and questions are welcome in this repository's Issues and Discussions. See the [contribution guide](./CONTRIBUTING.md) for the development workflow.
Share your use cases and experience, contribute agents, Skills, or Mini Apps, or help improve the docs, interface, and runtime. Ideas and questions are welcome in this repository's Issues and Discussions. See the [contribution guide](./CONTRIBUTING.md) for the development workflow.

<details>
<summary>Download, setup, and running from source</summary>
Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ OpenBitFun 是一个高度可定制的开源 Agent 工作台,让任务按你

- **定制专属 Agent。** 围绕漫剧创作、视觉设计、代码评审等领域,选择模型、设定角色,组合需要的工具与工作方法。
- **接入工具与流程。** 通过 MCP 连接专业工具,把常用工作方法保存为 Skills,用 Hooks 扩展任务执行流程。
- **改变界面与源码。** 安装[皮肤](https://market.openbitfun.com/skin/)调整外观,也可以修改 UI、工具与 Runtime 源码,构建自己的 OpenBitFun。
- **改变界面与源码。** 选择内置主题调整外观,也可以修改 UI、工具与 Runtime 源码,构建自己的 OpenBitFun。

**你可以直接让 OpenBitFun 的 Code Agent 修改和扩展 OpenBitFun 本身。**

Expand Down
2 changes: 0 additions & 2 deletions deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ own environment before running commands.
| --- | --- |
| [market-data-migration/](market-data-migration/README.md) | Legacy market data migration tooling |
| [miniapp-market/](miniapp-market/README.md) | MiniApp market |
| [skin-market/](skin-market/README.md) | Skin market |
| [relay-v1/](relay-v1/README.md) | Versioned Relay deployment |
| [outbound-mail/](outbound-mail/README.md) | Send-only Postfix/OpenDKIM: auth integration, DNS, maintenance and rollback |
| [model-router/](model-router/README.md) | Client-side router launcher and system prompt |
Expand All @@ -20,7 +19,6 @@ Component source guides:

- Relay: [`src/apps/relay-server/README.md`](../src/apps/relay-server/README.md)
- MiniApp market server: [`src/apps/miniapp-market-server/README.md`](../src/apps/miniapp-market-server/README.md)
- Skin market service: [`src/crates/services/skin-market-service/README.md`](../src/crates/services/skin-market-service/README.md)

For deployment changes, read the relevant component guide and keep every
example hostname, path, and credential as a placeholder.
1 change: 0 additions & 1 deletion deploy/market-data-migration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ python3 -m unittest test_migrate_market_data_v1.py
## Related guides

- MiniApp market: [`../miniapp-market/README.md`](../miniapp-market/README.md)
- Skin market: [`../skin-market/README.md`](../skin-market/README.md)
- Relay: [`../relay-v1/README.md`](../relay-v1/README.md) and
[`../../src/apps/relay-server/README.md`](../../src/apps/relay-server/README.md)
- Outbound mail: [`../outbound-mail/README.md`](../outbound-mail/README.md)
11 changes: 3 additions & 8 deletions deploy/miniapp-market/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ MiniApp 市场网页源码在 `src/miniapp-market-web/`,后端入口在

不要单独上传 `dist/`,也不要在服务器上直接改源码。

Skin 市场复用本服务的 GitHub OAuth、桌面 token 和 Web 会话别名。修改
`miniapp-market-service/src/auth.rs`、`routes.rs` 或 OAuth 回跳参数时,必须同时
验证 Skin 的“我的投稿”和“审核”接口;Skin 容器只能通过它自己的部署手册和
专用 checkout 更新,不能从 MiniApp Compose 项目重建。

## 部署边界

本目录只能部署 MiniApp 市场。如果同一主机上还运行 Relay、官网或其他服务,不要
Expand Down Expand Up @@ -497,8 +492,8 @@ backup root;不要放宽该保护。

GitHub OAuth App 的注册 callback 为
`https://auth.example.com/api/v1/auth/github/callback`。统一入口将 code/state 原样转交市场的兼容完成端点;只有市场
host 写入两组 host-only Cookie(`/miniapp` 与 `/skin`),然后桌面授权跳转到
独立完成页;不要通过 `Domain=.example.com` 扩大 Cookie 信任范围。桌面
host 写入 host-only Cookie(`/miniapp`),然后桌面授权跳转到独立完成页;不要通过
`Domain=.example.com` 扩大 Cookie 信任范围。桌面
poll token 仍受一次性 transaction secret 约束。旧市场 API 与旧完成页路径保留,
已有安装无需手动迁移。

Expand All @@ -515,7 +510,7 @@ API 的 Relay/客户端。两个市场各自的网页仍在所属 Compose 项目
## 邮箱验证码发布补充

邮箱登录与 GitHub 登录是独立账号,不自动绑定或合并。部署前需同时验证身份服务、
当前版本 Relay 和 Skin 身份消费者;保留旧 GitHub 数字账号及旧授权启动行为。
当前版本 Relay 身份消费者;保留旧 GitHub 数字账号及旧授权启动行为。
客户端使用 `methods=all` 主动选择统一登录页,旧客户端继续走原 GitHub URL。

SMTP 配置单独存放在 `/etc/openbitfun-miniapp-market/smtp.env`,root:root 0600,
Expand Down
46 changes: 0 additions & 46 deletions deploy/miniapp-market/nginx-market.conf
Original file line number Diff line number Diff line change
Expand Up @@ -37,58 +37,12 @@ server {
proxy_read_timeout 60s;
}

location = /skin {
return 308 https://market.example.com/skin/;
}

location ^~ /skin/ {
client_max_body_size 100m;
error_page 413 = @skin_payload_too_large;
error_page 429 = @skin_rate_limited;
limit_req zone=skin_market_api burst=30 nodelay;
limit_req zone=skin_market_upload burst=2 nodelay;
limit_req_status 429;
limit_conn skin_market_connections 8;
limit_conn_status 429;

proxy_pass http://127.0.0.1:9720;
proxy_http_version 1.1;
proxy_request_buffering off;
proxy_buffering on;

proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto https;
# The http-level Skin config accepts XFF only from the explicit WAF
# peer set. Forward one normalized address instead of the caller chain.
proxy_set_header X-Real-IP $skin_market_client_address;
proxy_set_header X-Forwarded-For $skin_market_client_address;
proxy_set_header X-Request-ID $request_id;

proxy_connect_timeout 5s;
proxy_send_timeout 300s;
proxy_read_timeout 300s;
}

location @market_payload_too_large {
default_type application/json;
add_header X-Request-ID $request_id always;
return 413 '{"error":{"code":"payload_too_large","message":"Uploads must not exceed 25 MiB.","requestId":"$request_id"}}';
}

location @skin_payload_too_large {
default_type application/json;
add_header X-Request-ID $request_id always;
return 413 '{"error":{"code":"payload_too_large","message":"Appearance uploads must not exceed 96 MiB.","requestId":"$request_id"}}';
}

location @skin_rate_limited {
internal;
default_type application/json;
add_header X-Request-ID $request_id always;
return 429 '{"error":{"code":"rate_limited","message":"Too many Skin market requests. Retry shortly.","requestId":"$request_id"}}';
}

location / {
return 404;
}
Expand Down
Loading
Loading