hebbian 0.5.1 → 0.5.3

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.
@@ -2160,6 +2160,7 @@ function extractCorrections(messages) {
2160
2160
  if (text.trim().endsWith("?")) continue;
2161
2161
  if (/^<[a-zA-Z]/.test(text.trim())) continue;
2162
2162
  if (/^Base directory for this skill:/i.test(text.trim())) continue;
2163
+ if (/^[•·▸▶\-\*]\s/.test(text.trim())) continue;
2163
2164
  const correction = detectCorrection(text);
2164
2165
  if (correction) {
2165
2166
  corrections.push(correction);
@@ -2358,12 +2359,15 @@ var init_digest = __esm({
2358
2359
  /^no[,.\s!]/i,
2359
2360
  /\bdon[''\u2019]?t\s+use\b/i,
2360
2361
  /\bavoid\b/i,
2361
- // Korean negation
2362
+ // Korean negation — specific verb forms only to avoid matching incidental 않/대신 in explanations
2362
2363
  /하지\s*마/,
2363
2364
  /안\s*돼/,
2364
- /대신/,
2365
2365
  /쓰지\s*마/,
2366
- /않/
2366
+ /[가-힣]+지\s*마/,
2367
+ /하지\s*않/,
2368
+ // "do not" specifically
2369
+ /쓰지\s*않/
2370
+ // "do not use" specifically
2367
2371
  ];
2368
2372
  AFFIRMATION_PATTERNS = [
2369
2373
  /\balways\b/i,
@@ -3056,7 +3060,7 @@ var init_doctor = __esm({
3056
3060
  init_constants();
3057
3061
  import { parseArgs } from "util";
3058
3062
  import { resolve as resolve3 } from "path";
3059
- var VERSION = "0.5.0";
3063
+ var VERSION = "0.5.3";
3060
3064
  var HELP = `
3061
3065
  hebbian v${VERSION} \u2014 Folder-as-neuron brain for any AI agent.
3062
3066