feat: OpenMesh 基础平台与 MD/PDF 转换技能
Some checks failed
CI / pytest (push) Has been cancelled
CI / gui-unit (push) Has been cancelled
CI / gui-e2e (push) Has been cancelled

- 后端: coworker 智能体框架, WS API, 文件上传, 附件处理
- 前端: Open WebUI, 文件全量走 upload API (含 MD/TXT/JSON 等文本类)
- 技能: md-to-office (pandoc + wkhtmltopdf)
- 修复: 上传文件路径丢失, Agent 搜索浪费, 输出文件跑到 uploads/
- 打包: PyInstaller one-dir, 预打包 pandoc/wkhtmltopdf/chromium
This commit is contained in:
2026-09-13 23:41:04 +08:00
commit 6f402ffcee
638 changed files with 154534 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 KiB

24
docs/config.example.toml Normal file
View File

@@ -0,0 +1,24 @@
# coworker config — copy to one of:
# ~/.config/coworker/config.toml (global)
# <your-project>/.coworker/config.toml (per-workspace, overrides global)
#
# All keys are optional; unset keys fall back to built-in defaults.
model = "gpt-5.5" # default model id (override per session in the UI/CLI)
mode = "interactive" # plan | interactive | auto | custom
max_iterations = 12 # max model<->tool iterations per turn before stopping
# Commands auto-allowed without an approval prompt (prefix match).
allowed_commands = [
"ls", "cat", "pwd", "grep", "find",
"git status", "git diff", "git log",
"python3", "pytest", "node", "npm",
]
# In "custom" permission mode, these tools are auto-approved (everything else still
# asks). e.g. auto-accept file edits but keep asking before running shell commands.
auto_allow = ["write_file", "replace_in_file", "apply_patch", "apply_unified_diff"]
# Server (openworker-server) bind address.
host = "127.0.0.1"
port = 8765