diff --git a/wwwroot/accounting b/wwwroot/accounting new file mode 120000 index 0000000..04a78ff --- /dev/null +++ b/wwwroot/accounting @@ -0,0 +1 @@ +/home/hermesai/repos/sage/pkgs/accounting/wwwroot \ No newline at end of file diff --git a/wwwroot/appbase b/wwwroot/appbase new file mode 120000 index 0000000..e2fe645 --- /dev/null +++ b/wwwroot/appbase @@ -0,0 +1 @@ +/home/hermesai/repos/sage/pkgs/appbase/wwwroot \ No newline at end of file diff --git a/wwwroot/bricks b/wwwroot/bricks new file mode 120000 index 0000000..682d4ae --- /dev/null +++ b/wwwroot/bricks @@ -0,0 +1 @@ +/home/hermesai/repos/bricks/dist \ No newline at end of file diff --git a/wwwroot/charge b/wwwroot/charge new file mode 120000 index 0000000..cfa2b55 --- /dev/null +++ b/wwwroot/charge @@ -0,0 +1 @@ +/home/hermesai/repos/sage/pkgs/charge/wwwroot \ No newline at end of file diff --git a/wwwroot/check_rf.dspy b/wwwroot/check_rf.dspy new file mode 100644 index 0000000..ca08846 --- /dev/null +++ b/wwwroot/check_rf.dspy @@ -0,0 +1,17 @@ +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) diff --git a/wwwroot/dapi b/wwwroot/dapi new file mode 120000 index 0000000..c7d9afb --- /dev/null +++ b/wwwroot/dapi @@ -0,0 +1 @@ +/home/hermesai/repos/sage/pkgs/dapi/wwwroot \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/accounting_errors.ui b/wwwroot/dashboard_for_sage/accounting_errors.ui new file mode 120000 index 0000000..e9dde16 --- /dev/null +++ b/wwwroot/dashboard_for_sage/accounting_errors.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/accounting_errors.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/api/get_today_usage.dspy b/wwwroot/dashboard_for_sage/api/get_today_usage.dspy new file mode 120000 index 0000000..07513b2 --- /dev/null +++ b/wwwroot/dashboard_for_sage/api/get_today_usage.dspy @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/api/get_today_usage.dspy \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/api/get_top_models.dspy b/wwwroot/dashboard_for_sage/api/get_top_models.dspy new file mode 120000 index 0000000..ea72535 --- /dev/null +++ b/wwwroot/dashboard_for_sage/api/get_top_models.dspy @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/api/get_top_models.dspy \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/api/get_user_stats.dspy b/wwwroot/dashboard_for_sage/api/get_user_stats.dspy new file mode 120000 index 0000000..56adf70 --- /dev/null +++ b/wwwroot/dashboard_for_sage/api/get_user_stats.dspy @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/api/get_user_stats.dspy \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/api/top_models.dspy b/wwwroot/dashboard_for_sage/api/top_models.dspy new file mode 120000 index 0000000..986a2f5 --- /dev/null +++ b/wwwroot/dashboard_for_sage/api/top_models.dspy @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/api/top_models.dspy \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/chart_top_models.ui b/wwwroot/dashboard_for_sage/chart_top_models.ui new file mode 120000 index 0000000..cb3099f --- /dev/null +++ b/wwwroot/dashboard_for_sage/chart_top_models.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/chart_top_models.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/concurrent_users.ui b/wwwroot/dashboard_for_sage/concurrent_users.ui new file mode 120000 index 0000000..1f2cfb5 --- /dev/null +++ b/wwwroot/dashboard_for_sage/concurrent_users.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/concurrent_users.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/global_menu.ui b/wwwroot/dashboard_for_sage/global_menu.ui new file mode 120000 index 0000000..de5bbc3 --- /dev/null +++ b/wwwroot/dashboard_for_sage/global_menu.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/global_menu.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/index.ui b/wwwroot/dashboard_for_sage/index.ui new file mode 120000 index 0000000..a0af8f2 --- /dev/null +++ b/wwwroot/dashboard_for_sage/index.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/index.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/menu.ui b/wwwroot/dashboard_for_sage/menu.ui new file mode 120000 index 0000000..96ec011 --- /dev/null +++ b/wwwroot/dashboard_for_sage/menu.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/menu.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/scripts/dashboard_refresh.js b/wwwroot/dashboard_for_sage/scripts/dashboard_refresh.js new file mode 120000 index 0000000..93427fd --- /dev/null +++ b/wwwroot/dashboard_for_sage/scripts/dashboard_refresh.js @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/scripts/dashboard_refresh.js \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/shell.ui b/wwwroot/dashboard_for_sage/shell.ui new file mode 120000 index 0000000..16ae57d --- /dev/null +++ b/wwwroot/dashboard_for_sage/shell.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/shell.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/shell_theme.css b/wwwroot/dashboard_for_sage/shell_theme.css new file mode 120000 index 0000000..893a2b3 --- /dev/null +++ b/wwwroot/dashboard_for_sage/shell_theme.css @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/shell_theme.css \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/shell_theme.js b/wwwroot/dashboard_for_sage/shell_theme.js new file mode 120000 index 0000000..50c524d --- /dev/null +++ b/wwwroot/dashboard_for_sage/shell_theme.js @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/shell_theme.js \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/stat_active_users.ui b/wwwroot/dashboard_for_sage/stat_active_users.ui new file mode 120000 index 0000000..26131c9 --- /dev/null +++ b/wwwroot/dashboard_for_sage/stat_active_users.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/stat_active_users.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/stat_concurrent.ui b/wwwroot/dashboard_for_sage/stat_concurrent.ui new file mode 120000 index 0000000..092c37f --- /dev/null +++ b/wwwroot/dashboard_for_sage/stat_concurrent.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/stat_concurrent.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/stat_errors.ui b/wwwroot/dashboard_for_sage/stat_errors.ui new file mode 120000 index 0000000..2004c85 --- /dev/null +++ b/wwwroot/dashboard_for_sage/stat_errors.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/stat_errors.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/stat_new_users_month.ui b/wwwroot/dashboard_for_sage/stat_new_users_month.ui new file mode 120000 index 0000000..e522f4d --- /dev/null +++ b/wwwroot/dashboard_for_sage/stat_new_users_month.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/stat_new_users_month.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/stat_today_amount.ui b/wwwroot/dashboard_for_sage/stat_today_amount.ui new file mode 120000 index 0000000..02f5802 --- /dev/null +++ b/wwwroot/dashboard_for_sage/stat_today_amount.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/stat_today_amount.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/stat_today_usage.ui b/wwwroot/dashboard_for_sage/stat_today_usage.ui new file mode 120000 index 0000000..e3bea15 --- /dev/null +++ b/wwwroot/dashboard_for_sage/stat_today_usage.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/stat_today_usage.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/stat_total_orgs.ui b/wwwroot/dashboard_for_sage/stat_total_orgs.ui new file mode 120000 index 0000000..d5bd76b --- /dev/null +++ b/wwwroot/dashboard_for_sage/stat_total_orgs.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/stat_total_orgs.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/stat_total_users.ui b/wwwroot/dashboard_for_sage/stat_total_users.ui new file mode 120000 index 0000000..d66dae7 --- /dev/null +++ b/wwwroot/dashboard_for_sage/stat_total_users.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/stat_total_users.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/table_top_providers_amount.ui b/wwwroot/dashboard_for_sage/table_top_providers_amount.ui new file mode 120000 index 0000000..0d269ce --- /dev/null +++ b/wwwroot/dashboard_for_sage/table_top_providers_amount.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/table_top_providers_amount.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/table_top_providers_count.ui b/wwwroot/dashboard_for_sage/table_top_providers_count.ui new file mode 120000 index 0000000..fdb166f --- /dev/null +++ b/wwwroot/dashboard_for_sage/table_top_providers_count.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/table_top_providers_count.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/table_top_users.ui b/wwwroot/dashboard_for_sage/table_top_users.ui new file mode 120000 index 0000000..39cff6b --- /dev/null +++ b/wwwroot/dashboard_for_sage/table_top_users.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/table_top_users.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/table_top_users_amount.ui b/wwwroot/dashboard_for_sage/table_top_users_amount.ui new file mode 120000 index 0000000..5a93f91 --- /dev/null +++ b/wwwroot/dashboard_for_sage/table_top_users_amount.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/table_top_users_amount.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/table_top_users_count.ui b/wwwroot/dashboard_for_sage/table_top_users_count.ui new file mode 120000 index 0000000..e643a0b --- /dev/null +++ b/wwwroot/dashboard_for_sage/table_top_users_count.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/table_top_users_count.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/today_amount.ui b/wwwroot/dashboard_for_sage/today_amount.ui new file mode 120000 index 0000000..8d9d0e5 --- /dev/null +++ b/wwwroot/dashboard_for_sage/today_amount.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/today_amount.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/today_usage.ui b/wwwroot/dashboard_for_sage/today_usage.ui new file mode 120000 index 0000000..0028dcf --- /dev/null +++ b/wwwroot/dashboard_for_sage/today_usage.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/today_usage.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/top_models_chart.ui b/wwwroot/dashboard_for_sage/top_models_chart.ui new file mode 120000 index 0000000..32d7c5a --- /dev/null +++ b/wwwroot/dashboard_for_sage/top_models_chart.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/top_models_chart.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/top_users_amount.ui b/wwwroot/dashboard_for_sage/top_users_amount.ui new file mode 120000 index 0000000..31ba11c --- /dev/null +++ b/wwwroot/dashboard_for_sage/top_users_amount.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/top_users_amount.ui \ No newline at end of file diff --git a/wwwroot/dashboard_for_sage/total_users.ui b/wwwroot/dashboard_for_sage/total_users.ui new file mode 120000 index 0000000..34a88e3 --- /dev/null +++ b/wwwroot/dashboard_for_sage/total_users.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/total_users.ui \ No newline at end of file diff --git a/wwwroot/discount b/wwwroot/discount new file mode 120000 index 0000000..f9cbdf6 --- /dev/null +++ b/wwwroot/discount @@ -0,0 +1 @@ +/home/hermesai/repos/sage/pkgs/discount/wwwroot \ No newline at end of file diff --git a/wwwroot/exec_migrate.dspy b/wwwroot/exec_migrate.dspy new file mode 100644 index 0000000..51c0208 --- /dev/null +++ b/wwwroot/exec_migrate.dspy @@ -0,0 +1,44 @@ +dbname = get_module_dbname('llmage') +db = DBPools() +async with db.sqlorContext(dbname) as sor: + # Create table + sql = """ + CREATE TABLE IF NOT EXISTS llm_catalog_rel ( + id VARCHAR(32) NOT NULL PRIMARY KEY, + llmid VARCHAR(32) NOT NULL, + llmcatelogid VARCHAR(32) NOT NULL, + INDEX idx_llm (llmid), + INDEX idx_catelog (llmcatelogid) + ) + """ + try: + await sor.sqlExe(sql, {}) + print("Table llm_catalog_rel created or exists.") + except Exception as e: + print(f"Create table error: {e}") + + # Migrate data + sql = "select id, llmcatelogid from llm where llmcatelogid is not null and llmcatelogid != ''" + rows = await sor.sqlExe(sql, {}) + print(f"Found {len(rows)} records to migrate.") + + for r in rows: + data = { + 'llmid': r['id'], + 'llmcatelogid': r['llmcatelogid'] + } + try: + await sor.C('llm_catalog_rel', data) + except Exception as e: + print(f"Insert error: {e}") + + print("Migration complete.") + + # Drop column + try: + await sor.sqlExe("alter table llm drop column llmcatelogid", {}) + print("Column llmcatelogid dropped.") + except Exception as e: + print(f"Drop column error: {e}") + +return {'status': 'ok'} diff --git a/wwwroot/filemgr b/wwwroot/filemgr new file mode 120000 index 0000000..de3b622 --- /dev/null +++ b/wwwroot/filemgr @@ -0,0 +1 @@ +/home/hermesai/repos/sage/pkgs/filemgr/wwwroot \ No newline at end of file diff --git a/wwwroot/global_menu.ui b/wwwroot/global_menu.ui new file mode 100644 index 0000000..b8d66a7 --- /dev/null +++ b/wwwroot/global_menu.ui @@ -0,0 +1,175 @@ +{% set roles = get_user_roles(get_user()) %} +{ + "widgettype": "Menu", + "id": "global_nav_menu", + "options": { + "width": "100%", + "height": "100%", + "bgcolor": "#111827", + "items": [ + { + "name": "dashboard", + "label": "仪表盘", + "icon": "fa fa-dashboard", + "url": "{{entire_url('/dashboard_for_sage/index.ui')}}", + "target": "app.sage_main_content" + }, +{% if get_user() %} + { + "name": "unified_dashboard", + "label": "统一仪表板", + "icon": "fa fa-chart-line", + "url": "{{entire_url('/unified_dashboard/index.ui')}}", + "target": "app.sage_main_content" + }, + { + "name": "integrated_crm_app", + "label": "CRM系统", + "icon": "fa fa-handshake", + "url": "{{entire_url('/integrated_crm_app/index.ui')}}", + "target": "app.sage_main_content" + }, + { + "name": "customer_management", + "label": "客户管理", + "icon": "fa fa-users", + "url": "{{entire_url('/customer_management/index.ui')}}", + "target": "app.sage_main_content" + }, + { + "name": "opportunity_management", + "label": "商机管理", + "icon": "fa fa-briefcase", + "url": "{{entire_url('/opportunity_management/index.ui')}}", + "target": "app.sage_main_content" + }, + { + "name": "contract_management", + "label": "合同管理", + "icon": "fa fa-file-contract", + "url": "{{entire_url('/contract_management/index.ui')}}", + "target": "app.sage_main_content" + }, + { + "name": "product_management", + "label": "产品管理", + "icon": "fa fa-cubes", + "url": "{{entire_url('/product_management/index.ui')}}", + "target": "app.sage_main_content" + }, + { + "name": "supplychain", + "label": "供销链管理", + "icon": "fa fa-truck", + "url": "{{entire_url('/supplychain/index.ui')}}", + "target": "app.sage_main_content" + }, + { + "name": "pricing", + "label": "定价管理", + "icon": "fa fa-money-bill", + "url": "{{entire_url('/pricing/index.ui')}}", + "target": "app.sage_main_content" + }, + { + "name": "discount", + "label": "折扣管理", + "icon": "fa fa-percent", + "url": "{{entire_url('/discount/promote.ui')}}", + "target": "app.sage_main_content" + }, + { + "name": "financial_management", + "label": "财务管理", + "icon": "fa fa-calculator", + "url": "{{entire_url('/financial_management/index.ui')}}", + "target": "app.sage_main_content" + }, + { + "name": "workflow_approval", + "label": "工作流审批", + "icon": "fa fa-tasks", + "url": "{{entire_url('/workflow_approval/index.ui')}}", + "target": "app.sage_main_content" + }, + { + "name": "llmage", + "label": "LLM 模型管理", + "icon": "fa fa-brain", + "url": "{{entire_url('/llmage/index.ui')}}", + "target": "app.sage_main_content" + }, + { + "name": "rag", + "label": "知识库管理", + "icon": "fa fa-database", + "url": "{{entire_url('/rag/index.ui')}}", + "target": "app.sage_main_content" + }, + { + "name": "cpcc", + "label": "算力中心管理", + "icon": "fa fa-server", + "url": "{{entire_url('/cpcc/index.ui')}}", + "target": "app.sage_main_content" + }, + { + "name": "msp", + "label": "运维管理", + "icon": "fa fa-tools", + "url": "{{entire_url('/msp/index.ui')}}", + "target": "app.sage_main_content" + }, +{% endif %} +{% if 'reseller.operator' in roles or 'owner.superuser' in roles %} + { + "name": "platformbiz", + "label": "平台业务", + "icon": "fa fa-building", + "url": "{{entire_url('/platformbiz/index.ui')}}", + "target": "app.sage_main_content" + }, +{% endif %} +{% if 'reseller.accountant' in roles or 'owner.superuser' in roles %} + { + "name": "accounting", + "label": "计费管理", + "icon": "fa fa-coins", + "url": "{{entire_url('/accounting/index.ui')}}", + "target": "app.sage_main_content" + }, +{% endif %} +{% if get_user() %} + { + "name": "rbac", + "label": "用户与权限", + "icon": "fa fa-user-shield", + "url": "{{entire_url('/rbac/index.ui')}}", + "target": "app.sage_main_content" + }, + { + "name": "entcms", + "label": "内容管理", + "icon": "fa fa-newspaper", + "url": "{{entire_url('/cms/entcms/index.ui')}}", + "target": "app.sage_main_content" + }, + { + "name": "dingdingflow", + "label": "钉钉审批", + "icon": "fa fa-mobile-alt", + "url": "{{entire_url('/cms/dingdingflow/index.ui')}}", + "target": "app.sage_main_content" + }, +{% endif %} + { + "name": "hermes_web_cli", + "label": "AI Agent", + "icon": "fa fa-robot", + "url": "{{entire_url('/hermes-web-cli/index.ui')}}", + "target": "app.sage_main_content" + } + ], + "menuitem_css": "menuitem" + } +} diff --git a/wwwroot/harnessed_agent b/wwwroot/harnessed_agent new file mode 120000 index 0000000..5b2bbe5 --- /dev/null +++ b/wwwroot/harnessed_agent @@ -0,0 +1 @@ +../../harnessed_agent/wwwroot \ No newline at end of file diff --git a/wwwroot/harnessed_reasoning b/wwwroot/harnessed_reasoning new file mode 120000 index 0000000..75bcd3f --- /dev/null +++ b/wwwroot/harnessed_reasoning @@ -0,0 +1 @@ +../../harnessed_reasoning/wwwroot \ No newline at end of file diff --git a/wwwroot/hermes-web-cli b/wwwroot/hermes-web-cli new file mode 120000 index 0000000..80529c4 --- /dev/null +++ b/wwwroot/hermes-web-cli @@ -0,0 +1 @@ +/home/hermesai/repos/sage/pkgs/hermes-web-cli/wwwroot \ No newline at end of file diff --git a/wwwroot/llmage b/wwwroot/llmage new file mode 120000 index 0000000..f6e66b3 --- /dev/null +++ b/wwwroot/llmage @@ -0,0 +1 @@ +/home/hermesai/repos/sage/pkgs/llmage/wwwroot \ No newline at end of file diff --git a/wwwroot/msp b/wwwroot/msp new file mode 120000 index 0000000..cf5cfa6 --- /dev/null +++ b/wwwroot/msp @@ -0,0 +1 @@ +/home/hermesai/repos/sage/pkgs/msp/wwwroot \ No newline at end of file diff --git a/wwwroot/platformbiz b/wwwroot/platformbiz new file mode 120000 index 0000000..a47c2cb --- /dev/null +++ b/wwwroot/platformbiz @@ -0,0 +1 @@ +/home/hermesai/repos/sage/pkgs/platformbiz/wwwroot \ No newline at end of file diff --git a/wwwroot/pricing b/wwwroot/pricing new file mode 120000 index 0000000..75f4db4 --- /dev/null +++ b/wwwroot/pricing @@ -0,0 +1 @@ +/home/hermesai/repos/sage/pkgs/pricing/wwwroot \ No newline at end of file diff --git a/wwwroot/product_management/api/category_options.dspy b/wwwroot/product_management/api/category_options.dspy new file mode 120000 index 0000000..f4d8c77 --- /dev/null +++ b/wwwroot/product_management/api/category_options.dspy @@ -0,0 +1 @@ +/home/hermesai/repos/product_management/wwwroot/api/category_options.dspy \ No newline at end of file diff --git a/wwwroot/product_management/api/product_brief.dspy b/wwwroot/product_management/api/product_brief.dspy new file mode 120000 index 0000000..d5290ae --- /dev/null +++ b/wwwroot/product_management/api/product_brief.dspy @@ -0,0 +1 @@ +/home/hermesai/repos/product_management/wwwroot/api/product_brief.dspy \ No newline at end of file diff --git a/wwwroot/product_management/api/product_category_create.dspy b/wwwroot/product_management/api/product_category_create.dspy new file mode 120000 index 0000000..6f6b696 --- /dev/null +++ b/wwwroot/product_management/api/product_category_create.dspy @@ -0,0 +1 @@ +/home/hermesai/repos/product_management/wwwroot/api/product_category_create.dspy \ No newline at end of file diff --git a/wwwroot/product_management/api/product_category_delete.dspy b/wwwroot/product_management/api/product_category_delete.dspy new file mode 120000 index 0000000..6a2d80c --- /dev/null +++ b/wwwroot/product_management/api/product_category_delete.dspy @@ -0,0 +1 @@ +/home/hermesai/repos/product_management/wwwroot/api/product_category_delete.dspy \ No newline at end of file diff --git a/wwwroot/product_management/api/product_category_update.dspy b/wwwroot/product_management/api/product_category_update.dspy new file mode 120000 index 0000000..836bf86 --- /dev/null +++ b/wwwroot/product_management/api/product_category_update.dspy @@ -0,0 +1 @@ +/home/hermesai/repos/product_management/wwwroot/api/product_category_update.dspy \ No newline at end of file diff --git a/wwwroot/product_management/api/product_create.dspy b/wwwroot/product_management/api/product_create.dspy new file mode 120000 index 0000000..ffb0d93 --- /dev/null +++ b/wwwroot/product_management/api/product_create.dspy @@ -0,0 +1 @@ +/home/hermesai/repos/product_management/wwwroot/api/product_create.dspy \ No newline at end of file diff --git a/wwwroot/product_management/api/product_delete.dspy b/wwwroot/product_management/api/product_delete.dspy new file mode 120000 index 0000000..721f134 --- /dev/null +++ b/wwwroot/product_management/api/product_delete.dspy @@ -0,0 +1 @@ +/home/hermesai/repos/product_management/wwwroot/api/product_delete.dspy \ No newline at end of file diff --git a/wwwroot/product_management/api/product_detail.dspy b/wwwroot/product_management/api/product_detail.dspy new file mode 120000 index 0000000..b2c3564 --- /dev/null +++ b/wwwroot/product_management/api/product_detail.dspy @@ -0,0 +1 @@ +/home/hermesai/repos/product_management/wwwroot/api/product_detail.dspy \ No newline at end of file diff --git a/wwwroot/product_management/api/product_purchase.dspy b/wwwroot/product_management/api/product_purchase.dspy new file mode 120000 index 0000000..92011f2 --- /dev/null +++ b/wwwroot/product_management/api/product_purchase.dspy @@ -0,0 +1 @@ +/home/hermesai/repos/product_management/wwwroot/api/product_purchase.dspy \ No newline at end of file diff --git a/wwwroot/product_management/api/product_type_config_create.dspy b/wwwroot/product_management/api/product_type_config_create.dspy new file mode 120000 index 0000000..b64a6fe --- /dev/null +++ b/wwwroot/product_management/api/product_type_config_create.dspy @@ -0,0 +1 @@ +/home/hermesai/repos/product_management/wwwroot/api/product_type_config_create.dspy \ No newline at end of file diff --git a/wwwroot/product_management/api/product_type_config_delete.dspy b/wwwroot/product_management/api/product_type_config_delete.dspy new file mode 120000 index 0000000..d12cb9f --- /dev/null +++ b/wwwroot/product_management/api/product_type_config_delete.dspy @@ -0,0 +1 @@ +/home/hermesai/repos/product_management/wwwroot/api/product_type_config_delete.dspy \ No newline at end of file diff --git a/wwwroot/product_management/api/product_type_config_update.dspy b/wwwroot/product_management/api/product_type_config_update.dspy new file mode 120000 index 0000000..3653b38 --- /dev/null +++ b/wwwroot/product_management/api/product_type_config_update.dspy @@ -0,0 +1 @@ +/home/hermesai/repos/product_management/wwwroot/api/product_type_config_update.dspy \ No newline at end of file diff --git a/wwwroot/product_management/api/product_update.dspy b/wwwroot/product_management/api/product_update.dspy new file mode 120000 index 0000000..08fc626 --- /dev/null +++ b/wwwroot/product_management/api/product_update.dspy @@ -0,0 +1 @@ +/home/hermesai/repos/product_management/wwwroot/api/product_update.dspy \ No newline at end of file diff --git a/wwwroot/product_management/api/product_use.dspy b/wwwroot/product_management/api/product_use.dspy new file mode 120000 index 0000000..7f4ccfe --- /dev/null +++ b/wwwroot/product_management/api/product_use.dspy @@ -0,0 +1 @@ +/home/hermesai/repos/product_management/wwwroot/api/product_use.dspy \ No newline at end of file diff --git a/wwwroot/product_management/category_manage.ui b/wwwroot/product_management/category_manage.ui new file mode 120000 index 0000000..421de06 --- /dev/null +++ b/wwwroot/product_management/category_manage.ui @@ -0,0 +1 @@ +/home/hermesai/repos/product_management/wwwroot/category_manage.ui \ No newline at end of file diff --git a/wwwroot/product_management/index.ui b/wwwroot/product_management/index.ui new file mode 120000 index 0000000..bfb5101 --- /dev/null +++ b/wwwroot/product_management/index.ui @@ -0,0 +1 @@ +/home/hermesai/repos/product_management/wwwroot/index.ui \ No newline at end of file diff --git a/wwwroot/product_management/menu.ui b/wwwroot/product_management/menu.ui new file mode 120000 index 0000000..53703ec --- /dev/null +++ b/wwwroot/product_management/menu.ui @@ -0,0 +1 @@ +/home/hermesai/repos/product_management/wwwroot/menu.ui \ No newline at end of file diff --git a/wwwroot/product_management/product_category_tree b/wwwroot/product_management/product_category_tree new file mode 120000 index 0000000..01d1fab --- /dev/null +++ b/wwwroot/product_management/product_category_tree @@ -0,0 +1 @@ +/home/hermesai/repos/product_management/wwwroot/product_category_tree \ No newline at end of file diff --git a/wwwroot/product_management/product_list b/wwwroot/product_management/product_list new file mode 120000 index 0000000..c9732ca --- /dev/null +++ b/wwwroot/product_management/product_list @@ -0,0 +1 @@ +/home/hermesai/repos/product_management/wwwroot/product_list \ No newline at end of file diff --git a/wwwroot/product_management/product_manage.ui b/wwwroot/product_management/product_manage.ui new file mode 120000 index 0000000..313e22a --- /dev/null +++ b/wwwroot/product_management/product_manage.ui @@ -0,0 +1 @@ +/home/hermesai/repos/product_management/wwwroot/product_manage.ui \ No newline at end of file diff --git a/wwwroot/product_management/product_type_config_list b/wwwroot/product_management/product_type_config_list new file mode 120000 index 0000000..c7b1984 --- /dev/null +++ b/wwwroot/product_management/product_type_config_list @@ -0,0 +1 @@ +/home/hermesai/repos/product_management/wwwroot/product_type_config_list \ No newline at end of file diff --git a/wwwroot/product_management/product_type_config_manage.ui b/wwwroot/product_management/product_type_config_manage.ui new file mode 120000 index 0000000..4b1ab3e --- /dev/null +++ b/wwwroot/product_management/product_type_config_manage.ui @@ -0,0 +1 @@ +/home/hermesai/repos/product_management/wwwroot/product_type_config_manage.ui \ No newline at end of file diff --git a/wwwroot/rag b/wwwroot/rag new file mode 120000 index 0000000..1ac33d3 --- /dev/null +++ b/wwwroot/rag @@ -0,0 +1 @@ +/home/hermesai/repos/sage/pkgs/rag/wwwroot \ No newline at end of file diff --git a/wwwroot/rbac b/wwwroot/rbac new file mode 120000 index 0000000..3f6c124 --- /dev/null +++ b/wwwroot/rbac @@ -0,0 +1 @@ +/home/hermesai/repos/sage/pkgs/rbac/wwwroot \ No newline at end of file diff --git a/wwwroot/shell.ui b/wwwroot/shell.ui new file mode 120000 index 0000000..16ae57d --- /dev/null +++ b/wwwroot/shell.ui @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/shell.ui \ No newline at end of file diff --git a/wwwroot/shell_theme.css b/wwwroot/shell_theme.css new file mode 120000 index 0000000..893a2b3 --- /dev/null +++ b/wwwroot/shell_theme.css @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/shell_theme.css \ No newline at end of file diff --git a/wwwroot/shell_theme.js b/wwwroot/shell_theme.js new file mode 120000 index 0000000..50c524d --- /dev/null +++ b/wwwroot/shell_theme.js @@ -0,0 +1 @@ +/home/hermesai/repos/dashboard_for_sage/wwwroot/shell_theme.js \ No newline at end of file diff --git a/wwwroot/supplychain b/wwwroot/supplychain new file mode 120000 index 0000000..bc3bd63 --- /dev/null +++ b/wwwroot/supplychain @@ -0,0 +1 @@ +/home/hermesai/repos/supplychain/wwwroot \ No newline at end of file diff --git a/wwwroot/test_rf.dspy b/wwwroot/test_rf.dspy new file mode 100644 index 0000000..65525bf --- /dev/null +++ b/wwwroot/test_rf.dspy @@ -0,0 +1,10 @@ +import json +from appPublic.registerfunction import RegisterFunction +from appPublic.log import debug + +rf = RegisterFunction() +funcs = list(rf.registKW.keys()) +debug(f'Registered functions: {funcs}') + +result = {'functions': funcs} +return json.dumps(result, ensure_ascii=False) diff --git a/wwwroot/uapi b/wwwroot/uapi new file mode 120000 index 0000000..5cb16d6 --- /dev/null +++ b/wwwroot/uapi @@ -0,0 +1 @@ +/home/hermesai/repos/sage/pkgs/uapi/wwwroot \ No newline at end of file diff --git a/wwwroot/unipay b/wwwroot/unipay new file mode 120000 index 0000000..4e2e2de --- /dev/null +++ b/wwwroot/unipay @@ -0,0 +1 @@ +/home/hermesai/repos/sage/pkgs/unipay/wwwroot \ No newline at end of file