提交“

This commit is contained in:
zlwu committed 2026-05-30 14:03:11 +08:00
1 parent 69ee0f505c
commit 9b88581450
614 files changed
+90318 -689022

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
# 山峡多系统现状(OpenSpec 摘要)
完整 SHALL 见:`openspec/changes/zkxw-engineering-standards/specs/ecosystem-landscape/spec.md`
## SQL 模型快照(`shanxia2.0/docs/sql/`)
| 文件 | 系统 | 典型库名 |
|------|------|----------|
| `dibang.sql` | 地磅系统 | dibang-test |
| `shanxia2.0.sql` | 山峡一体化门户(本仓库) | shanxia2.0 |
| `sx.sql` | 山峡 CRM | sx |
## 代码仓库
| 系统 | 路径 | 栈 |
|------|------|-----|
| 一体化门户 | `shanxia2.0/`(当前仓库) | Python backend + web-admin + miniprogram |
| 山峡 CRM | `shanxia/crm/`(并列仓库) | `crm/backend/` Java RuoYi;`crm/web/` Vue3 |
开发 CRM 或查 `crm_*` 表时勿改 `shanxia2.0/backend/`;开发门户时勿用 `sx.sql` 作本库唯一依据。
+6
View File
@@ -0,0 +1,6 @@
{
"$schema": "https://opencode.ai/config.json",
"plugin": [
".opencode/plugins/graphify.js"
]
}
+22
View File
@@ -0,0 +1,22 @@
// graphify OpenCode plugin
// Injects a knowledge graph reminder before bash tool calls when the graph exists.
import { existsSync } from "fs";
import { join } from "path";
export const GraphifyPlugin = async ({ directory }) => {
let reminded = false;
return {
"tool.execute.before": async (input, output) => {
if (reminded) return;
if (!existsSync(join(directory, "graphify-out", "graph.json"))) return;
if (input.tool === "bash") {
output.args.command =
'echo "[graphify] Knowledge graph available. Read graphify-out/GRAPH_REPORT.md for god nodes and architecture context before searching files." && ' +
output.args.command;
reminded = true;
}
},
};
};