log-llm-config 1.3.46 → 1.3.48

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,3 +1,4 @@
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';
3
4
  (async () => {
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  /**
2
3
  * Synchronous pre-prompt gate: local compliance only (stdout = single JSON line for IDE hooks).
3
4
  * stderr must stay clean; logs go via hookRunLog (file).
@@ -110,6 +111,7 @@ export async function runCompliancePromptGate() {
110
111
  return;
111
112
  }
112
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}`);
113
115
  if (fixed > 0) {
114
116
  // Wait for all server reports before exiting so the POST lands.
115
117
  await Promise.allSettled(reportPromises);
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  /**
2
3
  * CLI: read one JSON line from stdin (same shape as compliance_prompt_gate stdout for __optimus_autofix),
3
4
  * parse restart_commands[], allowlist each in TS, spawn detached. Invoked by optimus-compliance-check.sh only.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "log-llm-config",
3
- "version": "1.3.46",
3
+ "version": "1.3.48",
4
4
  "description": "CLI helpers for logging hardware UUIDs and posting startup payloads to Optimus Security.",
5
5
  "type": "module",
6
6
  "bin": {