chore: remove runtime-generated files from git tracking

Remove build.sh generated symlinks and runtime files from git:
- conf/config.json (runtime config)
- stop.sh, start.sh, sage.service (runtime scripts)
- wwwroot/* symlinks (module links created by build.sh)

These files are already in .gitignore and should not be tracked.
This commit is contained in:
yumoqing 2026-05-29 22:00:12 +08:00
parent 78da8bd3d9
commit 4a8f52a3f1
27 changed files with 8 additions and 170 deletions

8
.gitignore vendored
View File

@ -67,8 +67,16 @@ wwwroot/pricing
wwwroot/product_management wwwroot/product_management
wwwroot/rag wwwroot/rag
wwwroot/rbac wwwroot/rbac
wwwroot/reallife_asset
wwwroot/shell_theme.css wwwroot/shell_theme.css
wwwroot/shell_theme.js wwwroot/shell_theme.js
wwwroot/supplychain wwwroot/supplychain
wwwroot/uapi wwwroot/uapi
wwwroot/unipay wwwroot/unipay
wwwroot/voucher
# Runtime generated files (created by build.sh)
conf/config.json
stop.sh
start.sh
sage.service

View File

@ -1,126 +0,0 @@
{
"password_key":"!@#$%^&*(*&^%$QWERTYUIqwertyui234567",
"logopath": "$[workdir]$/conf/logo.png",
"woa_handler_id":"woa_subscribe_type",
"logger":{
"name":"sage",
"levelname":"warning",
"logfile":"$[workdir]$/logs/sage.log"
},
"tpacs":{
"cnprod":{
"get_tpac_balance_url": "https://www.opencomputing.cn/cntoai/get_user_balance.dspy",
"tpac_accounting_url": "https://www.opencomputing.cn/cntoai/process_user_billing.dspy"
},
"ncmatchdemo":{
"get_tpac_balance_url": "https://www.ncmatch.cn/cntoai/get_user_balance.dspy",
"tpac_accounting_url": "https://www.ncmatch.cn/cntoai/process_user_billing.dspy"
},
"cndemo": {
"get_tpac_balance_url": "https://dev.opencomputing.cn/cntoai/get_user_balance.dspy",
"tpac_accounting_url": "https://dev.opencomputing.cn/cntoai/process_user_billing.dspy"
}
},
"pay":{
"alipay":{
"public_key_file":"$[workdir]$/conf/alipay/public.txt",
"private_key_file":"$[workdir]$/conf/alipay/private.txt",
"appid":"2021005111636494",
"callback":"https://sage.opencomputing.cn/api/callback/alipay"
},
"paypal":{
"mode":"sandbox",
"client_id":"myid",
"client_secret":"mysecret",
"return_url":"ret_url",
"cancel_url":"cancel_url"
}
},
"skills_path": "$[workdir]$/skills",
"filesroot":"$[workdir]$/files",
"databases":{
"sage":{
"driver":"mysql",
"kwargs":{
"user":"test",
"db":"sage",
"password":"SS+C1MDMJrslBwGzYIv3nQ==",
"charset": "utf8mb4",
"host":"db"
}
}
},
"zmq_url": "tcp://127.0.0.1:5555",
"website":{
"paths":[
["$[workdir]$/wwwroot",""]
],
"client_max_size":1000000000,
"host":"0.0.0.0",
"port":9080,
"coding":"utf-8",
"ssl_gg":{
"crtfile":"$[workdir]$/conf/www.bsppo.com.pem",
"keyfile":"$[workdir]$/conf/www.bsppo.com.key"
},
"indexes":[
"index.html",
"index.tmpl",
"index.ui",
"index.dspy",
"index.md"
],
"startswiths":[
{
"leading":"/idfile",
"registerfunction":"idfile"
},{
"leading":"/i18n_getmsgs",
"registerfunction":"i18n"
}
],
"processors":[
[".ws","ws"],
[".wss","ws"],
[".xterm","xterm"],
[".proxy","proxy"],
[".llm", "llm"],
[".llms", "llms"],
[".llma", "llma"],
[".xlsxds","xlsxds"],
[".sqlds","sqlds"],
[".tmpl.js","tmpl"],
[".tmpl.css","tmpl"],
[".html.tmpl","tmpl"],
[".bcrud", "bricks_crud"],
[".tmpl","tmpl"],
[".app","app"],
[".bui","bui"],
[".ui","bui"],
[".dspy","dspy"],
[".md","md"]
],
"rsakey":{
"privatekey":"$[workdir]$/conf/rsa_private_key.pem",
"publickey":"$[workdir]$/conf/rsa_public_key.pem"
},
"session_max_time":3000,
"session_issue_time":2500,
"session_redis":{
"url":"redis://127.0.0.1:6379"
}
},
"langMapping":{
"zh-Hans-CN":"zh-cn",
"zh-CN":"zh-cn",
"en-us":"en",
"en-US":"en"
},
"module_cache":{
"rbac":true,
"pricing":true,
"uapi":true
}
}

View File

@ -1,16 +0,0 @@
[Unit]
Wants=systemd-networkd.service
[Service]
User=hermesai
Group=hermesai
Type=forking
WorkingDirectory=/home/hermesai/repos/sage
ExecStart=/home/hermesai/repos/sage/start.sh
ExecStop=/home/hermesai/repos/sage/stop.sh
StandardOutput=append:/var/log/sage/sage.log
StandardError=append:/var/log/sage/sage.log
SyslogIdentifier=sage
[Install]
WantedBy=multi-user.target

View File

@ -1,4 +0,0 @@
#!/usr/bin/bash
cd /home/hermesai/repos/sage
/home/hermesai/repos/sage/py3/bin/python /home/hermesai/repos/sage/app/sage.py -p 9180 -w /home/hermesai/repos/sage &
exit 0

View File

@ -1,2 +0,0 @@
PID=$(lsof -t -i:9180)
kill -9 $PID

View File

@ -1 +0,0 @@
/home/hermesai/repos/sage/pkgs/accounting/wwwroot

View File

@ -1 +0,0 @@
/home/hermesai/repos/sage/pkgs/appbase/wwwroot

View File

@ -1 +0,0 @@
../../bricks/dist

View File

@ -1 +0,0 @@
/home/hermesai/repos/sage/pkgs/charge/wwwroot

View File

@ -1 +0,0 @@
/home/hermesai/repos/sage/pkgs/dapi/wwwroot

View File

@ -1 +0,0 @@
/home/hermesai/repos/sage/pkgs/discount/wwwroot

View File

@ -1 +0,0 @@
/home/hermesai/repos/sage/pkgs/filemgr/wwwroot

View File

@ -1 +0,0 @@
/home/hermesai/repos/sage/pkgs/harnessed_agent/wwwroot

View File

@ -1 +0,0 @@
/home/hermesai/repos/sage/pkgs/harnessed_reasoning/wwwroot

View File

@ -1 +0,0 @@
../pkgs/hermes-web-cli/wwwroot

View File

@ -1 +0,0 @@
/home/hermesai/repos/sage/pkgs/llmage/wwwroot

View File

@ -1 +0,0 @@
/home/hermesai/repos/sage/pkgs/msp/wwwroot

View File

@ -1 +0,0 @@
/home/hermesai/repos/sage/pkgs/platformbiz/wwwroot

View File

@ -1 +0,0 @@
/home/hermesai/repos/sage/pkgs/pricing/wwwroot

View File

@ -1 +0,0 @@
/home/hermesai/repos/sage/pkgs/rag/wwwroot

View File

@ -1 +0,0 @@
/home/hermesai/repos/sage/pkgs/rbac/wwwroot

View File

@ -1 +0,0 @@
/home/hermesai/repos/reallife_asset/wwwroot

View File

@ -1 +0,0 @@
../../dashboard_for_sage/wwwroot/shell_theme.css

View File

@ -1 +0,0 @@
../../dashboard_for_sage/wwwroot/shell_theme.js

View File

@ -1 +0,0 @@
/home/hermesai/repos/sage/pkgs/supplychain/wwwroot

View File

@ -1 +0,0 @@
/home/hermesai/repos/sage/pkgs/uapi/wwwroot

View File

@ -1 +0,0 @@
/home/hermesai/repos/sage/pkgs/unipay/wwwroot