Misaka_Company
5e4889e845
docs: sync docs with current package layout and auto-ingest hook
...
- config.example.yaml: replace stale site_yunda/main_router with new
module paths (sites.yunda, runtime)
- CLAUDE.md: add ingest-one to DB CLI list; new subsection documenting
the download->PostgreSQL auto-ingest hook (_persist_to_db, ingest_task,
ingest_state, /status.ingest, auto_ingest config)
- README.md: store tree comment lists all 5 CLI commands (add ingest-one)
- docs: /status row notes the ingest field; anneng CDP guide snippet
gets timeout=15
- cli/server.py: docstring run command -> python -m inbound_verify.cli.server
Co-Authored-By: Claude <noreply@anthropic.com >
2026-07-24 12:35:54 +08:00
Misaka_Company
f61f52bcbe
docs: align docs with post-restructure package layout
...
Update README tree (compare.py + domain.py), CLAUDE.md module refs, and the three docs/ deep-dives to the current inbound_verify package (compare/domain/sites/cli). Correct the statistics review report's methodology to the current 口径 (应到=交接件数, 实到=直接数单号去重, 未到=应到−实到) per compare.py docstring; remove ghost-script references in the CDP guide.
Co-Authored-By: Claude <noreply@anthropic.com >
2026-07-24 10:12:40 +08:00
Misaka_Company
a07b9b435b
docs: update README/CLAUDE.md for package layout; add Tier 1 spec and plan
...
Rewrite run commands to python -m inbound_verify.* (and console_script aliases); add pip install -e . to env prep; refresh the directory tree. Also commit the design spec and Tier 1 implementation plan under docs/superpowers/.
Co-Authored-By: Claude <noreply@anthropic.com >
2026-07-23 12:21:45 +08:00
Misaka
66bd8af421
阶段1:服务化骨架(FastAPI + Playwright worker + 任务队列)
...
- 新增 runtime.py:抽离共享核心 launch_and_prepare / dispatch_task / run_heartbeat /
probe_* / launch_anneng / RuntimeContext,常量 SITES_CONFIG 等;main_router 复用
- 新增 server.py:FastAPI(主线程)+ Playwright worker(独立线程)+ 任务队列;
API:POST/GET /tasks、GET /status、GET /data/{file}(防路径穿越)
- state_store:加 task_history 表 + create/update/get/list 接口
- 5 站点 with_retry 改为返回 True/False,供 dispatch_task 判成败
- main_router:重写为复用 runtime 的交互模式(行为不变)
- requirements:加 fastapi、uvicorn
- CLAUDE.md:补充运行模式与共享核心架构说明
线程模型:主线程 FastAPI 不碰 Playwright,worker 线程独占 page,经 Queue + SQLite 通信。
Co-Authored-By: Claude <noreply@anthropic.com >
2026-07-17 00:04:39 +08:00
Misaka
55e9e9e931
顺心站点支持双账号(双归属地)下载与融合
...
- main_router: 顺心在同一窗口开两个标签页登录两个归属地账号;就绪轮询、
初始弹窗、菜单 [1][2]、自动化测试均改为按 page 列表处理
- site_shunxin: download 入口改为接收 page 列表;新增 shunxin_belonging
读归属地、shunxin_merge_final 融合两账号数据;impl 加 out_tag 参数化
各账号产物文件名;两账号同归属地时去重校验中止以防数据翻倍
- expected_undelivered: 零改动(融合后产物仍为同名文件)
- 更新 CLAUDE.md / README.md 文档说明
Co-Authored-By: Claude <noreply@anthropic.com >
2026-07-15 22:36:58 +08:00
Misaka
75abbdf14c
Add websocket-client to requirements; sync docs
...
site_anneng 的 CDP 驱动用到 websocket-client,此前 requirements.txt 缺漏,
需额外手动安装。补进 requirements.txt,并把 README/CLAUDE 里"暂未列入"的
临时提示改为"已包含"。
Co-Authored-By: Claude <noreply@anthropic.com >
2026-07-14 22:48:07 +08:00
Misaka
c6a23febc0
Add README and CLAUDE.md project docs
...
- README.md:面向使用者的项目说明(站点/流程、环境、配置、运行、架构、输出)。
- CLAUDE.md:面向后续开发的关键命令与非显而易见的跨文件架构与约定。
Co-Authored-By: Claude <noreply@anthropic.com >
2026-07-14 22:38:21 +08:00