opencode-plugin-mimic 0.1.6 → 0.1.8

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.
package/dist/index.js CHANGED
@@ -2294,7 +2294,7 @@ var ObservationLog = class {
2294
2294
  // src/modules/observation/observer.ts
2295
2295
  var MAX_INSTINCTS_PER_RUN = 5;
2296
2296
  var OBSERVER_COOLDOWN_MS = 10 * 60 * 1e3;
2297
- var DEFAULT_OBSERVER_MODEL = "opencode/glm-4.7-free";
2297
+ var DEFAULT_OBSERVER_MODEL = "glm-4.7";
2298
2298
  var DEFAULT_OBSERVER_PROVIDER = "opencode";
2299
2299
  function buildObserverPrompt(input) {
2300
2300
  const patternsSummary = input.patterns.slice(0, 20).map((p) => `- [${p.type}] ${p.description} (${p.count}x, surfaced: ${p.surfaced})`).join("\n");
@@ -2703,6 +2703,9 @@ async function surfacePatterns(ctx) {
2703
2703
  });
2704
2704
  break;
2705
2705
  case "tool":
2706
+ if (BUILTIN_TOOLS.has(pattern.description)) {
2707
+ continue;
2708
+ }
2706
2709
  suggestion = ctx.i18n.t("suggest.tool", {
2707
2710
  pattern: pattern.description,
2708
2711
  count: pattern.count