feat: OpenMesh 基础平台与 MD/PDF 转换技能
- 后端: 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:
34
coworker/teams/__init__.py
Normal file
34
coworker/teams/__init__.py
Normal file
@@ -0,0 +1,34 @@
|
||||
"""Agent teams substrate. Two append-only stores, one record discipline:
|
||||
the board log (space-scoped — a board lives and dies with its team) and the
|
||||
journal store (case-keyed — knowledge that outlives boards and teams)."""
|
||||
|
||||
from .journal import JournalStore
|
||||
from .model import (
|
||||
Actor,
|
||||
AuthorityError,
|
||||
BoardError,
|
||||
BoardNotFoundError,
|
||||
ChainError,
|
||||
ItemState,
|
||||
Role,
|
||||
)
|
||||
from .store import TeamStore
|
||||
from .tools import board_tools, journal_tools
|
||||
|
||||
__all__ = [
|
||||
"Actor",
|
||||
"AuthorityError",
|
||||
"BoardError",
|
||||
"BoardNotFoundError",
|
||||
"ChainError",
|
||||
"ItemState",
|
||||
"JournalStore",
|
||||
"Role",
|
||||
"TeamStore",
|
||||
"board_tools",
|
||||
"journal_tools",
|
||||
]
|
||||
|
||||
# BoardDialect / LocalDialect / RemoteDialect live in .dialect, BoardTokens in
|
||||
# .tokens — imported directly by their consumers (CLI, MCP server, `/v1/board`)
|
||||
# to keep this package root light for the common in-app path.
|
||||
Reference in New Issue
Block a user