opencode-sonarqube 0.1.15 → 0.1.16

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -19432,6 +19432,12 @@ function formatActionPrompt(result, config2) {
19432
19432
  }
19433
19433
  function createIdleHook(getConfig, getDirectory) {
19434
19434
  return async function handleSessionIdle() {
19435
+ try {
19436
+ const { appendFileSync } = await import("node:fs");
19437
+ const dir = getDirectory();
19438
+ appendFileSync("/tmp/sonarqube-plugin-debug.log", `${new Date().toISOString()} [IDLE-HOOK] getDirectory()=${dir}
19439
+ `);
19440
+ } catch {}
19435
19441
  const rawConfig = getConfig()?.["sonarqube"];
19436
19442
  const config2 = loadConfig(rawConfig);
19437
19443
  if (!isAnalysisEnabled(config2)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-sonarqube",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "OpenCode Plugin for SonarQube integration - Enterprise-level code quality from the start",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -38,7 +38,7 @@
38
38
  "homepage": "https://github.com/mguttmann/opencode-sonarqube#readme",
39
39
  "dependencies": {
40
40
  "@opencode-ai/plugin": "^1.1.34",
41
- "opencode-sonarqube": "0.1.14",
41
+ "opencode-sonarqube": "0.1.15",
42
42
  "zod": "^3.24.0"
43
43
  },
44
44
  "devDependencies": {