log-llm-config 1.3.47 → 1.3.51

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,12 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { complianceRunnerRunnerLine, hookLogAppendSection } from './log_config_files/runtime/hook_logger.js';
3
3
  import { runComplianceCheck } from './log_config_files/runtime/compliance_check.js';
4
- import { loadEndpointBase, getEndpointSource } from './log_config_files/sender/endpoint_config.js';
5
4
  (async () => {
6
5
  hookLogAppendSection('compliance_check_runner (background sync + check)');
7
6
  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()}`);
10
7
  try {
11
8
  await runComplianceCheck();
12
9
  complianceRunnerRunnerLine('compliance_check_runner: finished ok');
@@ -111,6 +111,7 @@ export async function runCompliancePromptGate() {
111
111
  return;
112
112
  }
113
113
  const { fixed, appliedViolations = [], restartCommands, failedViolations, reportPromises, deferredSqlitePending, } = applyAutofixViolations(status.violations);
114
+ hookRunLog(`compliance_prompt_gate: autofix result ide=${ide} fixed=${fixed} applied=${appliedViolations.length} failed=${failedViolations.length} restart_commands=${restartCommands.length} deferred_sqlite_pending=${deferredSqlitePending}`);
114
115
  if (fixed > 0) {
115
116
  // Wait for all server reports before exiting so the POST lands.
116
117
  await Promise.allSettled(reportPromises);
package/dist/tofu.js CHANGED
@@ -30,7 +30,7 @@ function readEnvironment() {
30
30
  const __dirname = path.dirname(fileURLToPath(import.meta.url));
31
31
  const isDevelopment = readEnvironment() === "development";
32
32
  // In development: resolve local optimus-tofu dist relative to this file.
33
- // dist/tofu.js → ../.. → npx_packages/staging/ → optimus-tofu/dist/index.js
33
+ // dist/tofu.js → ../.. → npx_packages/production/ → optimus-tofu/dist/index.js
34
34
  const localTofuPath = path.join(__dirname, "../../optimus-tofu/dist/index.js");
35
35
  const tofu = (isDevelopment
36
36
  ? await import(localTofuPath)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "log-llm-config",
3
- "version": "1.3.47",
3
+ "version": "1.3.51",
4
4
  "description": "CLI helpers for logging hardware UUIDs and posting startup payloads to Optimus Security.",
5
5
  "type": "module",
6
6
  "bin": {