sage/wwwroot/check_rf.dspy
yumoqing 3481d80f24 feat: track wwwroot/ in git for simpler deployment
Remove wwwroot/ from .gitignore so production deployment is just git pull.

Changes:
- wwwroot/index.ui: Shell layout with sidebar and main content
- wwwroot/global_menu.ui: Global navigation menu (22 modules)
- wwwroot/dashboard_for_sage/: Dashboard widgets and stats
- wwwroot/product_management/: Product management pages
- Module symlinks (accounting, rbac, bricks, etc.)

Ignored: .DS_Store, *.bak, tmp/
2026-05-27 19:00:46 +08:00

18 lines
444 B
Plaintext

import json
from appPublic.registerfunction import RegisterFunction
from appPublic.log import debug
rf = RegisterFunction()
funcs = list(rf.registKW.keys())
debug(f'check_rf: Registered functions: {funcs}')
# Try to call password directly
pw_func = rf.get('password')
debug(f'check_rf: password function = {pw_func}')
result = {
'functions': funcs,
'has_password': pw_func is not None
}
return json.dumps(result, ensure_ascii=False)