log-llm-config 1.3.46 → 1.3.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
1
2
|
import { complianceRunnerRunnerLine, hookLogAppendSection } from './log_config_files/runtime/hook_logger.js';
|
|
2
3
|
import { runComplianceCheck } from './log_config_files/runtime/compliance_check.js';
|
|
4
|
+
import { loadEndpointBase, getEndpointSource } from './log_config_files/sender/endpoint_config.js';
|
|
3
5
|
(async () => {
|
|
4
6
|
hookLogAppendSection('compliance_check_runner (background sync + check)');
|
|
5
7
|
complianceRunnerRunnerLine('compliance_check_runner: start');
|
|
8
|
+
complianceRunnerRunnerLine(`compliance_check_runner: debug env OPTIMUS_ENVIRONMENT=${process.env.OPTIMUS_ENVIRONMENT ?? ''} OPTIMUS_ENDPOINT=${process.env.OPTIMUS_ENDPOINT ?? ''} cwd=${process.cwd()} argv=${JSON.stringify(process.argv)}`);
|
|
9
|
+
complianceRunnerRunnerLine(`compliance_check_runner: debug endpoint source=${getEndpointSource()} resolved=${loadEndpointBase()}`);
|
|
6
10
|
try {
|
|
7
11
|
await runComplianceCheck();
|
|
8
12
|
complianceRunnerRunnerLine('compliance_check_runner: finished ok');
|