@herjarsa/omo-meta-governor 0.48.0 → 0.49.1

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/README.md CHANGED
@@ -602,6 +602,9 @@ All configuration lives under the `meta_governor` key in
602
602
  |-------|------|---------|-------------|
603
603
  | `saveDecisions` | boolean | `true` | Whether to save decision records. |
604
604
  | `saveLessons` | boolean | `true` | Whether to save lessons. |
605
+ | `autoRemember.enabled` | boolean | `true` | v0.49.1: kill-switch for the Phase 4 auto-remember prompt (warn/escalate/stop → agentmemory_memory_save). Set `false` to disable it entirely. |
606
+ | `autoRemember.cooldownMs` | number | `300000` | v0.49.1: min ms between two auto-remember fires in the same session. |
607
+ | `autoRemember.dedupe` | boolean | `true` | v0.49.1: identical content is never re-queued in the same session. |
605
608
 
606
609
  ### `modelOverride`
607
610
 
@@ -35,6 +35,15 @@ export interface NotificationContext {
35
35
  * Use this for: chat.system.transform output, chat.messages.transform output,
36
36
  * and any other text the agent will read.
37
37
  */
38
+ /**
39
+ * FASE 10 — Visible Markdown frame so the user can SEE plugin directives in the TUI.
40
+ *
41
+ * OpenCode 1.x's TUI renders Markdown (headers, code blocks, horizontal rules).
42
+ * We sandwich the directive body in a visual box so the user immediately
43
+ * recognizes "this is from omo-meta-governor, not from the agent". The LLM still
44
+ * sees the existing HTML markers (DO NOT TREAT AS TASK) so it doesn't mistake
45
+ * the directive for a real task.
46
+ */
38
47
  export declare function wrapInformational(text: string, ctx: NotificationContext): string;
39
48
  /**
40
49
  * Build brief status text for the USER'S TUI notification (session.prompt).
package/dist/config.d.ts CHANGED
@@ -58,6 +58,12 @@ export interface MetaGovernorPluginConfig {
58
58
  maxLessonsPerSession?: number;
59
59
  saveDecisions?: boolean;
60
60
  saveLessons?: boolean;
61
+ /** v0.49.1: anti-loop guard for the Phase 4 auto-remember prompt. */
62
+ autoRemember?: {
63
+ enabled?: boolean;
64
+ cooldownMs?: number;
65
+ dedupe?: boolean;
66
+ };
61
67
  };
62
68
  /** Model override for MetaGovernor internal LLM usage. */
63
69
  modelOverride?: ModelOverrideConfig;