Major changes: - New frontend (platform/web/): Vite + React 18 + TypeScript + Tailwind - 4-module navigation: 数据送标 / 模型管理 / 车队管理 / 系统管理 - Data catalog with charts (DMS/ADAS/Lane 3-tab view) - Quality review workflow (标注质检): Good/Fine/Bad scoring with auto-advance - Audit enhancements: batch operations, rejection categories, Feishu notifications - Operation audit log (操作日志) - World model simulation studio (仿真工坊) - Dataset version management with snapshots and diff - ADAS 7-class dataset integration (138K images organized + compressed) - User management with Feishu integration and pagination - CRUD/search/filter on all pages, card layout redesign - PIL-optimized image overlay rendering - Auto-snapshot on build, in_review workflow stage - Removed embedded algorithm code (now in workspace)
30 lines
1.2 KiB
Markdown
30 lines
1.2 KiB
Markdown
# HSAP 飞书集成(内网开发说明)
|
||
|
||
操作手册:[FEISHU_BITABLE_OPS.md](./FEISHU_BITABLE_OPS.md)
|
||
|
||
## 架构
|
||
|
||
- **入站**:无 Webhook(飞书云访问不到内网)
|
||
- **出站**:`tenant_access_token` 调用 Bitable API 回写记录
|
||
- **轮询**:`FEISHU_BITABLE_SYNC_INTERVAL_SEC`(默认 120s)或 `POST /api/v1/integrations/feishu/bitable/sync`
|
||
|
||
## 模块
|
||
|
||
| 路径 | 说明 |
|
||
|------|------|
|
||
| `platform/as_platform/integrations/feishu_bitable.py` | API 客户端、列映射 |
|
||
| `platform/as_platform/integrations/feishu_bitable_sync.py` | HSAP→表同步 |
|
||
| `platform/as_platform/integrations/feishu_bitable_ingest.py` | 待落盘→analyze→promote |
|
||
| `platform/as_platform/integrations/feishu_notify.py` | 群文本通知(可选) |
|
||
| `platform/as_platform/jobs/feishu_bitable_sync.py` | `run_sync_cycle()` 后台轮询 |
|
||
| `platform/as_platform/api/feishu_routes.py` | status / sync / ingest / backfill-hints |
|
||
|
||
## 权限
|
||
|
||
- `POST .../sync`、`GET .../backfill-hints`:需 `write:labeling_assign` 或 `*`
|
||
|
||
## Phase
|
||
|
||
- **A**(默认):回写 Inbox路径、HSAP进度、活动ID、状态、链接
|
||
- **B**:`FEISHU_BITABLE_AUTO_INGEST=1` 时轮询「待落盘」→ analyze → promote;或 `POST .../bitable/ingest`
|