Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
Binary file added .DS_Store
Binary file not shown.
618 changes: 618 additions & 0 deletions .cursor/plans/workflow瘦身与降本方案_9fbf757f.plan.md

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
KIMI_APIKEY=sk-JresGkysSinygUJ1jbq5vRygue3ZPwlNlNUZONUxwhK4vnrh
NETINSIGHT_USER=bjtutrs
NETINSIGHT_PASS=trs@300229
SONA_NETINSIGHT_NO_PROXY=true
NETINSIGHT_HEADLESS=false
SONA_LLM_TIMEOUT_SEC=600
SONA_LLM_MAX_RETRIES=3
SONA_NEO4J_URI=bolt://127.0.0.1:7687
SONA_NEO4J_USER=neo4j
SONA_NEO4J_PASSWORD=bjtu1234
15 changes: 12 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@
# SONA_NETINSIGHT_LOGIN_TIMEOUT_MS=90000
# SONA_NETINSIGHT_NO_PROXY=false

# Playwright 浏览器目录(NetInsight / weibo 回退抓取)。不设则默认:<项目根>/.cache/ms-playwright
# 首次请在项目根执行:.venv/bin/python scripts/install_playwright_browsers.py
# PLAYWRIGHT_BROWSERS_PATH=

# -----------------------------------------------------------------------------
# 四、微博智搜 weibo_aisearch(Cookie 与抓取行为)
# -----------------------------------------------------------------------------
Expand Down Expand Up @@ -111,10 +115,15 @@
# SONA_EVENT_WORKFLOW_DEBUG=false
# SONA_DEBUG_LOG_PATH=

# Graph RAG / Neo4j(可选)
# SONA_NEO4J_URI=neo4j://127.0.0.1:7687
# Graph RAG / Neo4j(可选;启用时需本机有可连的 Neo4j,Bolt 默认 7687)
# 一键启动(与 config/config.yaml 里 graph_rag.auth 默认 neo4j/bjtu1234 一致):
# docker compose -f docker-compose.neo4j.yml up -d
# URI 与密码也可只用环境变量覆盖(不配则用 config.yaml):
# SONA_NEO4J_URI=bolt://127.0.0.1:7687
# SONA_NEO4J_USER=neo4j
# SONA_NEO4J_PASSWORD=
# SONA_NEO4J_PASSWORD=bjtu1234
# 关闭 Graph RAG(不设 Neo4j 时可避免连接报错):SONA_ENABLE_GRAPH_RAG=false
# 或在 config.yaml 设 graph_rag.enabled: false(SONA_ENABLE_GRAPH_RAG=auto 或未设置时生效)
# SONA_ENABLE_GRAPH_RAG=auto

# -----------------------------------------------------------------------------
Expand Down
14 changes: 4 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,6 @@ secrets/
*.sublime-project
*.sublime-workspace

# Cursor / local editor artifacts
.cursor/plans/
.cursor/debug*.log

# Local sync snapshots / backups
.sync_backup/

# Jupyter Notebook
.ipynb_checkpoints
*.ipynb
Expand All @@ -76,8 +69,8 @@ logs/
*.log
*.log.*

# Eval artifacts
eval_results/
# Playwright 浏览器缓存(默认在项目内,避免与系统缓存 revision 不一致)
.cache/

# Sandbox - 任务产出(按任务 ID 隔离)
sandbox/
Expand Down Expand Up @@ -109,4 +102,5 @@ Desktop.ini
*.temp
*.bak
*.swp
*~
*~.venv/
.venv/
7,123 changes: 7,123 additions & 0 deletions .sync_backup/local_snapshots/snapshot-20260416-010510/all_vs_head.diff

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
feature-analysis
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"\350\210\206\346\203\205\346\267\261\345\272\246\345\210\206\346\236\220/references/wiki/01_\347\262\211\345\272\225\346\266\262\345\260\206\345\206\233\344\272\213\344\273\266\345\206\215\345\215\207\347\272\247_\347\275\221\345\217\213\346\200\200\347\226\221\345\217\215\345\215\216\345\212\277\345\212\233\345\205\245\344\276\265_\345\274\240\345\207\214\350\265\253\346\201\220\350\242\253\345\275\223\347\202\256\347\201\260.md"
"\350\210\206\346\203\205\346\267\261\345\272\246\345\210\206\346\236\220/references/wiki/02__\347\262\211\345\272\225\346\266\262\345\260\206\345\206\233_\344\270\216_\345\253\214\351\270\237\345\220\265\347\232\204\351\253\230\344\270\211\347\224\237_\350\277\231\344\270\252\346\227\266\344\273\243_\345\210\260\345\272\225\345\234\250\345\220\265\344\273\200\344\271\210.md"
"\350\210\206\346\203\205\346\267\261\345\272\246\345\210\206\346\236\220/references/wiki/03__\344\270\200\344\270\252\345\255\220\345\204\277\351\203\275\346\262\241\346\234\211_\344\271\237\346\230\257\346\234\211.md"
"\350\210\206\346\203\205\346\267\261\345\272\246\345\210\206\346\236\220/references/wiki/04_\345\215\225\344\276\235\347\272\257\350\277\216\346\235\245\347\232\204\344\270\200\347\263\273\345\210\227\351\233\267\351\234\206\344\271\213\351\224\244.md"
"\350\210\206\346\203\205\346\267\261\345\272\246\345\210\206\346\236\220/references/wiki/05_\345\277\253\350\256\257_\345\216\277\345\247\224\344\271\246\350\256\260_6\347\247\222\350\207\264\350\276\236_\350\265\260\347\272\242\347\275\221\347\273\234.md"
"\350\210\206\346\203\205\346\267\261\345\272\246\345\210\206\346\236\220/references/wiki/06_\344\270\200\350\265\267\351\225\277\345\244\247\347\232\204\347\272\246\345\256\232.md"
"\350\210\206\346\203\205\346\267\261\345\272\246\345\210\206\346\236\220/references/wiki/07__\345\246\202\344\275\225\345\221\242_\345\217\210\350\203\275\346\200\216_\347\234\237\347\232\204\345\220\227.md"
"\350\210\206\346\203\205\346\267\261\345\272\246\345\210\206\346\236\220/references/wiki/08_\345\271\277\344\270\234\347\234\201\346\267\261\345\234\263\345\270\202\347\246\217\347\224\260\345\214\2722024-2025\345\255\246\345\271\264\345\205\253\345\271\264\347\272\247\344\270\213\345\255\246\346\234\237\346\234\237\346\234\253\350\257\255\346\226\207\350\257\225\351\242\230.md"
"\350\210\206\346\203\205\346\267\261\345\272\246\345\210\206\346\236\220/references/wiki/09_\350\210\206\346\203\205\345\272\224\345\257\271\344\270\215\350\203\275\346\255\242\344\272\216_\346\221\206\344\272\213\345\256\236.md"
"\350\210\206\346\203\205\346\267\261\345\272\246\345\210\206\346\236\220/references/wiki/10_\347\210\261\344\270\212_\346\265\231\346\261\237\345\256\243\344\274\240_\347\232\204\345\207\240\344\270\252\347\220\206\347\224\261.md"
"\350\210\206\346\203\205\346\267\261\345\272\246\345\210\206\346\236\220/references/wiki/11_\345\234\260\346\226\271\350\210\206\346\203\205\345\244\204\347\275\256\345\267\245\344\275\234\346\200\235\350\267\257\347\232\204\350\275\254\345\217\230.md"
"\350\210\206\346\203\205\346\267\261\345\272\246\345\210\206\346\236\220/references/wiki/12_\346\226\260\345\233\275\346\240\207\345\244\247\345\217\215\350\275\254_\345\267\245\344\277\241\351\203\250\346\230\216\347\241\256_\350\200\201\347\231\276\345\247\223\350\246\201\344\273\200\344\271\210_\345\260\261\351\200\240\344\273\200\344\271\210\346\240\267\347\232\204\347\224\265\347\223\266\350\275\246.md"
"\350\210\206\346\203\205\346\267\261\345\272\246\345\210\206\346\236\220/references/wiki/13_\344\270\215\350\203\275\346\224\276\347\272\265_\351\245\255\345\234\210_\350\202\206\346\204\217_\345\206\262\345\241\224.md"
"\350\210\206\346\203\205\346\267\261\345\272\246\345\210\206\346\236\220/references/wiki/14_\346\237\220\351\241\266\346\265\201\347\262\211\344\270\235\345\233\240\345\234\237\350\261\206\346\263\245\347\201\253\351\270\241\351\235\242\346\211\260\344\271\261\344\274\201\344\270\232\347\273\217\350\220\245\347\247\251\345\272\217\350\242\253\345\256\230\345\252\222\346\214\202\344\272\206.md"
"\350\210\206\346\203\205\346\267\261\345\272\246\345\210\206\346\236\220/references/wiki/15_\345\205\250\347\275\221\351\203\275\345\234\250\345\277\203\347\226\274\345\205\250\347\272\242\345\251\265_\345\215\264\350\277\230\346\234\211\344\272\272\344\270\215\350\202\257\346\224\276\350\277\207\345\245\271.md"
"\350\210\206\346\203\205\346\267\261\345\272\246\345\210\206\346\236\220/references/wiki/16_\345\233\233\346\234\210\347\203\255\347\202\271\345\205\250\346\231\257_\347\203\237\347\201\253\346\260\224\344\270\216\345\244\247\345\233\275\351\207\215\345\231\250\345\220\214\351\242\221_\346\257\217\344\270\200\344\273\266\351\203\275\345\200\274\345\276\227\345\205\263\346\263\250.md"
"\350\210\206\346\203\205\346\267\261\345\272\246\345\210\206\346\236\220/references/wiki/18_26\345\271\264\345\205\255\346\211\200\345\244\247\345\255\246\346\234\254\347\247\221\346\213\233\347\224\237\351\235\242\350\257\225\351\242\230\345\222\214\347\255\224\346\241\210\345\210\206\346\236\220_36\351\201\223\351\242\230\345\267\262\346\212\274\344\270\25523\351\201\223_\350\277\231\344\272\233\351\242\230\345\205\266\344\273\226\345\244\247\345\255\246\345\217\257\350\203\275\350\277\230\344\274\232\345\206\215\345\207\272.md"
"\350\210\206\346\203\205\346\267\261\345\272\246\345\210\206\346\236\220/references/wiki/19_\345\205\201\350\256\270\350\207\252\345\267\261_\346\227\240\350\203\275.md"
"\350\210\206\346\203\205\346\267\261\345\272\246\345\210\206\346\236\220/references/wiki/20_\345\245\275\345\245\275\344\274\221\346\201\257\344\270\215\350\257\245\350\277\231\344\271\210\351\232\276.md"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a01833f627e5386111ec2f624909e7f985292f6b
Loading