opencode-usage-coach 0.13.4 → 0.13.5

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 +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -16,7 +16,7 @@ function initDomain(stateDir) {
16
16
  if (basename(dirname(stateDir)) === "projects") {
17
17
  SHARED_DIR = join(dirname(dirname(stateDir)), "shared");
18
18
  } else {
19
- SHARED_DIR = join(stateDir, "_shared");
19
+ SHARED_DIR = join(stateDir, "shared");
20
20
  }
21
21
  }
22
22
  var nodesFile = () => join(BASE_DIR, "nodes.ndjson");
@@ -2307,6 +2307,9 @@ ${rules}
2307
2307
  ---
2308
2308
 
2309
2309
  ` + prefix;
2310
+ log(`generate domain HIT: ${nodes.length} nodes, ${edges.length} edges (kw=[${keywords.join(",")}])`);
2311
+ } else {
2312
+ log(`generate domain MISS: 0 nodes (kw=[${keywords.join(",")}])`);
2310
2313
  }
2311
2314
  }
2312
2315
  } catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-usage-coach",
3
- "version": "0.13.4",
3
+ "version": "0.13.5",
4
4
  "description": "opencode closed-loop usage coach — quota SENSE -> coaching DECIDE -> loop ACT + TUI integration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",