- 新增 auth_token 配置项:非 loopback 绑定强制认证,loopback 可选加固 - 新增 auth.rs:loopback 判定(IpAddr 解析)、常量时间 token 比较、RFC 6750 Bearer 解析 - 新增 Bearer token 中间件(/api/*)与 WebSocket ?token= 校验 - 新增 CORS layer:loopback 镜像 Origin 防 DNS rebinding,非 loopback permissive - 修复 .gitignore 遗漏 tests/test.env,补充通用 *.env 规则 - 修复前端 experts/skills/subagents.ts 直接 fetch 不带 token(13 处),统一走 authedFetch - config.json host 从 0.0.0.0 改回 127.0.0.1 - mask_config/save_config 处理 auth_token 掩码与保留 - ConnectionTab/GatewayTab 增加认证 token 配置入口
43 lines
443 B
Plaintext
43 lines
443 B
Plaintext
# Rust
|
|
target
|
|
|
|
# Frontend
|
|
web/node_modules
|
|
web/dist
|
|
web/*.log
|
|
web/.env
|
|
web/.env.*
|
|
web/.cache
|
|
web/coverage
|
|
web/*.local
|
|
|
|
# Secrets — never commit real credentials
|
|
*.env
|
|
!*.env.example
|
|
tests/test.env
|
|
|
|
# Build output
|
|
static
|
|
|
|
# IDE & Tools
|
|
reference/**
|
|
.playwright-cli/
|
|
.venv
|
|
.claude
|
|
.agents
|
|
.qoder
|
|
|
|
# Project specific
|
|
AGENTS.md
|
|
CLAUDE.md
|
|
PicoBot.code-workspace
|
|
.picobot
|
|
output
|
|
.python-version
|
|
pyproject.toml
|
|
uv.lock
|
|
node_modules
|
|
logs
|
|
dist
|
|
.trae
|