@hyperfixi/mcp-server 2.6.0 → 2.7.0

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.
@@ -162,19 +162,19 @@ function expand_(str, max, isTop) {
162
162
  }
163
163
  let N;
164
164
  if (isSequence && n[0] !== void 0 && n[1] !== void 0) {
165
- const x = numeric(n[0]);
165
+ const x2 = numeric(n[0]);
166
166
  const y = numeric(n[1]);
167
167
  const width = Math.max(n[0].length, n[1].length);
168
168
  let incr = n.length === 3 && n[2] !== void 0 ? Math.max(Math.abs(numeric(n[2])), 1) : 1;
169
169
  let test = lte;
170
- const reverse = y < x;
170
+ const reverse = y < x2;
171
171
  if (reverse) {
172
172
  incr *= -1;
173
173
  test = gte;
174
174
  }
175
175
  const pad = n.some(isPadded);
176
176
  N = [];
177
- for (let i = x; test(i, y) && N.length < max; i += incr) {
177
+ for (let i = x2; test(i, y) && N.length < max; i += incr) {
178
178
  let c;
179
179
  if (isAlphaSequence) {
180
180
  c = String.fromCharCode(i);
@@ -280,7 +280,7 @@ var parseClass = (glob2, position) => {
280
280
  }
281
281
  }
282
282
  if (c === "[" && !escaping) {
283
- for (const [cls, [unip, u3, neg]] of Object.entries(posixClasses)) {
283
+ for (const [cls, [unip, u, neg]] of Object.entries(posixClasses)) {
284
284
  if (glob2.startsWith(cls, i)) {
285
285
  if (rangeStart) {
286
286
  return ["$.", false, glob2.length - pos, true];
@@ -290,7 +290,7 @@ var parseClass = (glob2, position) => {
290
290
  negs.push(unip);
291
291
  else
292
292
  ranges.push(unip);
293
- uflag = uflag || u3;
293
+ uflag = uflag || u;
294
294
  continue WHILE;
295
295
  }
296
296
  }
@@ -1812,33 +1812,33 @@ import { tracingChannel as G, channel as P } from "diagnostics_channel";
1812
1812
  var S = P("lru-cache:metrics");
1813
1813
  var W = G("lru-cache");
1814
1814
  var L = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date;
1815
- var D = () => S.hasSubscribers || W.hasSubscribers;
1815
+ var R = () => S.hasSubscribers || W.hasSubscribers;
1816
1816
  var U = /* @__PURE__ */ new Set();
1817
1817
  var M = typeof process == "object" && process ? process : {};
1818
- var k = (u3, e, t, i) => {
1819
- typeof M.emitWarning == "function" ? M.emitWarning(u3, e, t, i) : console.error(`[${t}] ${e}: ${u3}`);
1818
+ var k = (d3, e, t, i) => {
1819
+ typeof M.emitWarning == "function" ? M.emitWarning(d3, e, t, i) : console.error(`[${t}] ${e}: ${d3}`);
1820
1820
  };
1821
- var H = (u3) => !U.has(u3);
1822
- var T = (u3) => !!u3 && u3 === Math.floor(u3) && u3 > 0 && isFinite(u3);
1823
- var j = (u3) => T(u3) ? u3 <= Math.pow(2, 8) ? Uint8Array : u3 <= Math.pow(2, 16) ? Uint16Array : u3 <= Math.pow(2, 32) ? Uint32Array : u3 <= Number.MAX_SAFE_INTEGER ? O : null : null;
1821
+ var H = (d3) => !U.has(d3);
1822
+ var T = (d3) => !!d3 && d3 === Math.floor(d3) && d3 > 0 && isFinite(d3);
1823
+ var j = (d3) => T(d3) ? d3 <= Math.pow(2, 8) ? Uint8Array : d3 <= Math.pow(2, 16) ? Uint16Array : d3 <= Math.pow(2, 32) ? Uint32Array : d3 <= Number.MAX_SAFE_INTEGER ? O : null : null;
1824
1824
  var O = class extends Array {
1825
1825
  constructor(e) {
1826
1826
  super(e), this.fill(0);
1827
1827
  }
1828
1828
  };
1829
- var R = class u {
1829
+ var x = class d {
1830
1830
  heap;
1831
1831
  length;
1832
1832
  static #o = false;
1833
1833
  static create(e) {
1834
1834
  let t = j(e);
1835
1835
  if (!t) return [];
1836
- u.#o = true;
1837
- let i = new u(e, t);
1838
- return u.#o = false, i;
1836
+ d.#o = true;
1837
+ let i = new d(e, t);
1838
+ return d.#o = false, i;
1839
1839
  }
1840
1840
  constructor(e, t) {
1841
- if (!u.#o) throw new TypeError("instantiate Stack using Stack.create(n)");
1841
+ if (!d.#o) throw new TypeError("instantiate Stack using Stack.create(n)");
1842
1842
  this.heap = new t(e), this.length = 0;
1843
1843
  }
1844
1844
  push(e) {
@@ -1848,7 +1848,7 @@ var R = class u {
1848
1848
  return this.heap[--this.length];
1849
1849
  }
1850
1850
  };
1851
- var I = class u2 {
1851
+ var I = class d2 {
1852
1852
  #o;
1853
1853
  #c;
1854
1854
  #S;
@@ -1894,7 +1894,7 @@ var I = class u2 {
1894
1894
  #T;
1895
1895
  #U;
1896
1896
  #f;
1897
- #x;
1897
+ #D;
1898
1898
  static unsafeExposeInternals(e) {
1899
1899
  return { starts: e.#F, ttls: e.#d, autopurgeTimers: e.#g, sizes: e.#_, keyMap: e.#s, keyList: e.#i, valList: e.#t, next: e.#l, prev: e.#u, get head() {
1900
1900
  return e.#a;
@@ -1930,30 +1930,30 @@ var I = class u2 {
1930
1930
  return this.#w;
1931
1931
  }
1932
1932
  constructor(e) {
1933
- let { max: t = 0, ttl: i, ttlResolution: s = 1, ttlAutopurge: n, updateAgeOnGet: r, updateAgeOnHas: h, allowStale: a, dispose: o, onInsert: d, disposeAfter: y, noDisposeOnSet: _, noUpdateTTL: c, maxSize: g = 0, maxEntrySize: f = 0, sizeCalculation: b, fetchMethod: l, memoMethod: w, noDeleteOnFetchRejection: F, noDeleteOnStaleGet: m, allowStaleOnFetchRejection: p, allowStaleOnFetchAbort: A, ignoreFetchAbort: z, backgroundFetchSize: C = 1, perf: E } = e;
1933
+ let { max: t = 0, ttl: i, ttlResolution: s = 1, ttlAutopurge: n, updateAgeOnGet: o, updateAgeOnHas: l, allowStale: h, dispose: r, onInsert: c, disposeAfter: m, noDisposeOnSet: _, noUpdateTTL: u, maxSize: g = 0, maxEntrySize: f = 0, sizeCalculation: y, fetchMethod: a, memoMethod: w, noDeleteOnFetchRejection: F, noDeleteOnStaleGet: b, allowStaleOnFetchRejection: p, allowStaleOnFetchAbort: A, ignoreFetchAbort: z, backgroundFetchSize: C = 1, perf: E } = e;
1934
1934
  if (this.backgroundFetchSize = C, E !== void 0 && typeof E?.now != "function") throw new TypeError("perf option must have a now() method if specified");
1935
1935
  if (this.#m = E ?? L, t !== 0 && !T(t)) throw new TypeError("max option must be a nonnegative integer");
1936
1936
  let v = t ? j(t) : Array;
1937
1937
  if (!v) throw new Error("invalid max value: " + t);
1938
- if (this.#o = t, this.#c = g, this.maxEntrySize = f || this.#c, this.sizeCalculation = b, this.sizeCalculation) {
1938
+ if (this.#o = t, this.#c = g, this.maxEntrySize = f || this.#c, this.sizeCalculation = y, this.sizeCalculation) {
1939
1939
  if (!this.#c && !this.maxEntrySize) throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");
1940
1940
  if (typeof this.sizeCalculation != "function") throw new TypeError("sizeCalculation set to non-function");
1941
1941
  }
1942
1942
  if (w !== void 0 && typeof w != "function") throw new TypeError("memoMethod must be a function if defined");
1943
- if (this.#I = w, l !== void 0 && typeof l != "function") throw new TypeError("fetchMethod must be a function if specified");
1944
- if (this.#M = l, this.#U = !!l, this.#s = /* @__PURE__ */ new Map(), this.#i = Array.from({ length: t }).fill(void 0), this.#t = Array.from({ length: t }).fill(void 0), this.#l = new v(t), this.#u = new v(t), this.#a = 0, this.#h = 0, this.#y = R.create(t), this.#n = 0, this.#b = 0, typeof o == "function" && (this.#S = o), typeof d == "function" && (this.#O = d), typeof y == "function" ? (this.#w = y, this.#r = []) : (this.#w = void 0, this.#r = void 0), this.#T = !!this.#S, this.#x = !!this.#O, this.#f = !!this.#w, this.noDisposeOnSet = !!_, this.noUpdateTTL = !!c, this.noDeleteOnFetchRejection = !!F, this.allowStaleOnFetchRejection = !!p, this.allowStaleOnFetchAbort = !!A, this.ignoreFetchAbort = !!z, this.maxEntrySize !== 0) {
1943
+ if (this.#I = w, a !== void 0 && typeof a != "function") throw new TypeError("fetchMethod must be a function if specified");
1944
+ if (this.#M = a, this.#U = !!a, this.#s = /* @__PURE__ */ new Map(), this.#i = Array.from({ length: t }).fill(void 0), this.#t = Array.from({ length: t }).fill(void 0), this.#l = new v(t), this.#u = new v(t), this.#a = 0, this.#h = 0, this.#y = x.create(t), this.#n = 0, this.#b = 0, typeof r == "function" && (this.#S = r), typeof c == "function" && (this.#O = c), typeof m == "function" ? (this.#w = m, this.#r = []) : (this.#w = void 0, this.#r = void 0), this.#T = !!this.#S, this.#D = !!this.#O, this.#f = !!this.#w, this.noDisposeOnSet = !!_, this.noUpdateTTL = !!u, this.noDeleteOnFetchRejection = !!F, this.allowStaleOnFetchRejection = !!p, this.allowStaleOnFetchAbort = !!A, this.ignoreFetchAbort = !!z, this.maxEntrySize !== 0) {
1945
1945
  if (this.#c !== 0 && !T(this.#c)) throw new TypeError("maxSize must be a positive integer if specified");
1946
1946
  if (!T(this.maxEntrySize)) throw new TypeError("maxEntrySize must be a positive integer if specified");
1947
1947
  this.#X();
1948
1948
  }
1949
- if (this.allowStale = !!a, this.noDeleteOnStaleGet = !!m, this.updateAgeOnGet = !!r, this.updateAgeOnHas = !!h, this.ttlResolution = T(s) || s === 0 ? s : 1, this.ttlAutopurge = !!n, this.ttl = i || 0, this.ttl) {
1949
+ if (this.allowStale = !!h, this.noDeleteOnStaleGet = !!b, this.updateAgeOnGet = !!o, this.updateAgeOnHas = !!l, this.ttlResolution = T(s) || s === 0 ? s : 1, this.ttlAutopurge = !!n, this.ttl = i || 0, this.ttl) {
1950
1950
  if (!T(this.ttl)) throw new TypeError("ttl must be a positive integer if specified");
1951
1951
  this.#k();
1952
1952
  }
1953
1953
  if (this.#o === 0 && this.ttl === 0 && this.#c === 0) throw new TypeError("At least one of max, maxSize, or ttl is required");
1954
1954
  if (!this.ttlAutopurge && !this.#o && !this.#c) {
1955
- let x = "LRU_CACHE_UNBOUNDED";
1956
- H(x) && (U.add(x), k("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.", "UnboundedCacheWarning", x, u2));
1955
+ let D = "LRU_CACHE_UNBOUNDED";
1956
+ H(D) && (U.add(D), k("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.", "UnboundedCacheWarning", D, d2));
1957
1957
  }
1958
1958
  }
1959
1959
  getRemainingTTL(e) {
@@ -1963,51 +1963,54 @@ var I = class u2 {
1963
1963
  let e = new O(this.#o), t = new O(this.#o);
1964
1964
  this.#d = e, this.#F = t;
1965
1965
  let i = this.ttlAutopurge ? Array.from({ length: this.#o }) : void 0;
1966
- this.#g = i, this.#H = (h, a, o = this.#m.now()) => {
1967
- t[h] = a !== 0 ? o : 0, e[h] = a, s(h, a);
1968
- }, this.#D = (h) => {
1966
+ this.#g = i, this.#H = (h, r, c = this.#m.now()) => {
1967
+ t[h] = r !== 0 ? c : 0, e[h] = r, s(h, r);
1968
+ }, this.#R = (h) => {
1969
1969
  t[h] = e[h] !== 0 ? this.#m.now() : 0, s(h, e[h]);
1970
1970
  };
1971
- let s = this.ttlAutopurge ? (h, a) => {
1972
- if (i?.[h] && (clearTimeout(i[h]), i[h] = void 0), a && a !== 0 && i) {
1973
- let o = setTimeout(() => {
1974
- this.#p(h) && this.#E(this.#i[h], "expire");
1975
- }, a + 1);
1976
- o.unref && o.unref(), i[h] = o;
1971
+ let s = this.ttlAutopurge ? (h, r) => {
1972
+ if (i?.[h] && (clearTimeout(i[h]), i[h] = void 0), r && r !== 0 && i) {
1973
+ let c = setTimeout(() => {
1974
+ this.#p(h) ? (this.#E(this.#i[h], "expire"), i[h] = void 0) : s(h, l(h));
1975
+ }, r + 1);
1976
+ c.unref && c.unref(), i[h] = c;
1977
1977
  }
1978
1978
  } : () => {
1979
1979
  };
1980
- this.#v = (h, a) => {
1981
- if (e[a]) {
1982
- let o = e[a], d = t[a];
1983
- if (!o || !d) return;
1984
- h.ttl = o, h.start = d, h.now = n || r();
1985
- let y = h.now - d;
1986
- h.remainingTTL = o - y;
1980
+ this.#v = (h, r) => {
1981
+ if (e[r]) {
1982
+ let c = e[r], m = t[r];
1983
+ if (!c || !m) return;
1984
+ h.ttl = c, h.start = m, h.now = n || o();
1985
+ let _ = h.now - m;
1986
+ h.remainingTTL = c - _;
1987
1987
  }
1988
1988
  };
1989
- let n = 0, r = () => {
1989
+ let n = 0, o = () => {
1990
1990
  let h = this.#m.now();
1991
1991
  if (this.ttlResolution > 0) {
1992
1992
  n = h;
1993
- let a = setTimeout(() => n = 0, this.ttlResolution);
1994
- a.unref && a.unref();
1993
+ let r = setTimeout(() => n = 0, this.ttlResolution);
1994
+ r.unref && r.unref();
1995
1995
  }
1996
1996
  return h;
1997
1997
  };
1998
1998
  this.getRemainingTTL = (h) => {
1999
- let a = this.#s.get(h);
2000
- if (a === void 0) return 0;
2001
- let o = e[a], d = t[a];
2002
- if (!o || !d) return 1 / 0;
2003
- let y = (n || r()) - d;
2004
- return o - y;
2005
- }, this.#p = (h) => {
2006
- let a = t[h], o = e[h];
2007
- return !!o && !!a && (n || r()) - a > o;
1999
+ let r = this.#s.get(h);
2000
+ return r === void 0 ? 0 : l(r);
2001
+ };
2002
+ let l = (h) => {
2003
+ let r = e[h], c = t[h];
2004
+ if (!r || !c) return 1 / 0;
2005
+ let m = (n || o()) - c;
2006
+ return r - m;
2007
+ };
2008
+ this.#p = (h) => {
2009
+ let r = t[h], c = e[h];
2010
+ return !!c && !!r && (n || o()) - r > c;
2008
2011
  };
2009
2012
  }
2010
- #D = () => {
2013
+ #R = () => {
2011
2014
  };
2012
2015
  #v = () => {
2013
2016
  };
@@ -2016,7 +2019,7 @@ var I = class u2 {
2016
2019
  #p = () => false;
2017
2020
  #X() {
2018
2021
  let e = new O(this.#o);
2019
- this.#b = 0, this.#_ = e, this.#R = (t) => {
2022
+ this.#b = 0, this.#_ = e, this.#x = (t) => {
2020
2023
  this.#b -= e[t], e[t] = 0;
2021
2024
  }, this.#N = (t, i, s, n) => {
2022
2025
  if (!T(s)) {
@@ -2035,7 +2038,7 @@ var I = class u2 {
2035
2038
  this.#b += e[t], s && (s.entrySize = i, s.totalCalculatedSize = this.#b);
2036
2039
  };
2037
2040
  }
2038
- #R = (e) => {
2041
+ #x = (e) => {
2039
2042
  };
2040
2043
  #j = (e, t, i) => {
2041
2044
  };
@@ -2110,10 +2113,10 @@ var I = class u2 {
2110
2113
  if (s === void 0) return;
2111
2114
  let n = { value: s };
2112
2115
  if (this.#d && this.#F) {
2113
- let r = this.#d[t], h = this.#F[t];
2114
- if (r && h) {
2115
- let a = r - (this.#m.now() - h);
2116
- n.ttl = a, n.start = Date.now();
2116
+ let o = this.#d[t], l = this.#F[t];
2117
+ if (o && l) {
2118
+ let h = o - (this.#m.now() - l);
2119
+ n.ttl = h, n.start = Date.now();
2117
2120
  }
2118
2121
  }
2119
2122
  return this.#_ && (n.size = this.#_[t]), n;
@@ -2123,13 +2126,13 @@ var I = class u2 {
2123
2126
  for (let t of this.#A({ allowStale: true })) {
2124
2127
  let i = this.#i[t], s = this.#t[t], n = this.#e(s) ? s.__staleWhileFetching : s;
2125
2128
  if (n === void 0 || i === void 0) continue;
2126
- let r = { value: n };
2129
+ let o = { value: n };
2127
2130
  if (this.#d && this.#F) {
2128
- r.ttl = this.#d[t];
2129
- let h = this.#m.now() - this.#F[t];
2130
- r.start = Math.floor(Date.now() - h);
2131
+ o.ttl = this.#d[t];
2132
+ let l = this.#m.now() - this.#F[t];
2133
+ o.start = Math.floor(Date.now() - l);
2131
2134
  }
2132
- this.#_ && (r.size = this.#_[t]), e.unshift([i, r]);
2135
+ this.#_ && (o.size = this.#_[t]), e.unshift([i, o]);
2133
2136
  }
2134
2137
  return e;
2135
2138
  }
@@ -2150,30 +2153,30 @@ var I = class u2 {
2150
2153
  return s && S.hasSubscribers && S.publish(s), n;
2151
2154
  }
2152
2155
  #W(e, t, i, s) {
2153
- let { ttl: n = this.ttl, start: r, noDisposeOnSet: h = this.noDisposeOnSet, sizeCalculation: a = this.sizeCalculation, status: o } = i, d = this.#e(t);
2154
- if (t === void 0) return o && (o.set = "deleted"), this.delete(e), this;
2155
- let { noUpdateTTL: y = this.noUpdateTTL } = i;
2156
- o && !d && (o.value = t);
2157
- let _ = this.#N(e, t, i.size || 0, a, o);
2158
- if (this.maxEntrySize && _ > this.maxEntrySize) return this.#E(e, "set"), o && (o.set = "miss", o.maxEntrySizeExceeded = true), this;
2159
- let c = this.#n === 0 ? void 0 : this.#s.get(e);
2160
- if (c === void 0) c = this.#n === 0 ? this.#h : this.#y.length !== 0 ? this.#y.pop() : this.#n === this.#o ? this.#G(false) : this.#n, this.#i[c] = e, this.#t[c] = t, this.#s.set(e, c), this.#l[this.#h] = c, this.#u[c] = this.#h, this.#h = c, this.#n++, this.#j(c, _, o), o && (o.set = "add"), y = false, this.#x && !d && this.#O?.(t, e, "add");
2156
+ let { ttl: n = this.ttl, start: o, noDisposeOnSet: l = this.noDisposeOnSet, sizeCalculation: h = this.sizeCalculation, status: r } = i, c = this.#e(t);
2157
+ if (t === void 0) return r && (r.set = "deleted"), this.delete(e), this;
2158
+ let { noUpdateTTL: m = this.noUpdateTTL } = i;
2159
+ r && !c && (r.value = t);
2160
+ let _ = this.#N(e, t, i.size || 0, h, r);
2161
+ if (this.maxEntrySize && _ > this.maxEntrySize) return this.#E(e, "set"), r && (r.set = "miss", r.maxEntrySizeExceeded = true), this;
2162
+ let u = this.#n === 0 ? void 0 : this.#s.get(e);
2163
+ if (u === void 0) u = this.#n === 0 ? this.#h : this.#y.length !== 0 ? this.#y.pop() : this.#n === this.#o ? this.#G(false) : this.#n, this.#i[u] = e, this.#t[u] = t, this.#s.set(e, u), this.#l[this.#h] = u, this.#u[u] = this.#h, this.#h = u, this.#n++, this.#j(u, _, r), r && (r.set = "add"), m = false, this.#D && !c && this.#O?.(t, e, "add");
2161
2164
  else {
2162
- this.#L(c);
2163
- let g = this.#t[c];
2165
+ this.#L(u);
2166
+ let g = this.#t[u];
2164
2167
  if (t !== g) {
2165
- if (!h) if (this.#e(g)) {
2168
+ if (!l) if (this.#e(g)) {
2166
2169
  g !== s && g.__abortController.abort(new Error("replaced"));
2167
2170
  let { __staleWhileFetching: f } = g;
2168
2171
  f !== void 0 && f !== t && (this.#T && this.#S?.(f, e, "set"), this.#f && this.#r?.push([f, e, "set"]));
2169
2172
  } else this.#T && this.#S?.(g, e, "set"), this.#f && this.#r?.push([g, e, "set"]);
2170
- if (this.#R(c), this.#j(c, _, o), this.#t[c] = t, !d) {
2171
- let f = g && this.#e(g) ? g.__staleWhileFetching : g, b = f === void 0 ? "add" : t !== f ? "replace" : "update";
2172
- o && (o.set = b, f !== void 0 && (o.oldValue = f)), this.#x && this.onInsert?.(t, e, b);
2173
+ if (this.#x(u), this.#j(u, _, r), this.#t[u] = t, !c) {
2174
+ let f = g && this.#e(g) ? g.__staleWhileFetching : g, y = f === void 0 ? "add" : t !== f ? "replace" : "update";
2175
+ r && (r.set = y, f !== void 0 && (r.oldValue = f)), this.#D && this.onInsert?.(t, e, y);
2173
2176
  }
2174
- } else d || (o && (o.set = "update"), this.#x && this.onInsert?.(t, e, "update"));
2177
+ } else c || (r && (r.set = "update"), this.#D && this.onInsert?.(t, e, "update"));
2175
2178
  }
2176
- if (n !== 0 && !this.#d && this.#k(), this.#d && (y || this.#H(c, n, r), o && this.#v(o, c)), !h && this.#f && this.#r) {
2179
+ if (n !== 0 && !this.#d && this.#k(), this.#d && (m || this.#H(u, n, o), r && this.#v(r, u)), !l && this.#f && this.#r) {
2177
2180
  let g = this.#r, f;
2178
2181
  for (; f = g?.shift(); ) this.#w?.(...f);
2179
2182
  }
@@ -2197,8 +2200,8 @@ var I = class u2 {
2197
2200
  #G(e) {
2198
2201
  let t = this.#a, i = this.#i[t], s = this.#t[t], n = this.#e(s);
2199
2202
  n && s.__abortController.abort(new Error("evicted"));
2200
- let r = n ? s.__staleWhileFetching : s;
2201
- return (this.#T || this.#f) && r !== void 0 && (this.#T && this.#S?.(r, i, "evict"), this.#f && this.#r?.push([r, i, "evict"])), this.#R(t), this.#g?.[t] && (clearTimeout(this.#g[t]), this.#g[t] = void 0), e && (this.#i[t] = void 0, this.#t[t] = void 0, this.#y.push(t)), this.#n === 1 ? (this.#a = this.#h = 0, this.#y.length = 0) : this.#a = this.#l[t], this.#s.delete(i), this.#n--, t;
2203
+ let o = n ? s.__staleWhileFetching : s;
2204
+ return (this.#T || this.#f) && o !== void 0 && (this.#T && this.#S?.(o, i, "evict"), this.#f && this.#r?.push([o, i, "evict"])), this.#x(t), this.#g?.[t] && (clearTimeout(this.#g[t]), this.#g[t] = void 0), e && (this.#i[t] = void 0, this.#t[t] = void 0, this.#y.push(t)), this.#n === 1 ? (this.#a = this.#h = 0, this.#y.length = 0) : this.#a = this.#l[t], this.#s.delete(i), this.#n--, t;
2202
2205
  }
2203
2206
  has(e, t = {}) {
2204
2207
  let { status: i = S.hasSubscribers ? {} : void 0 } = t;
@@ -2209,15 +2212,15 @@ var I = class u2 {
2209
2212
  #Y(e, t = {}) {
2210
2213
  let { updateAgeOnHas: i = this.updateAgeOnHas, status: s } = t, n = this.#s.get(e);
2211
2214
  if (n !== void 0) {
2212
- let r = this.#t[n];
2213
- if (this.#e(r) && r.__staleWhileFetching === void 0) return false;
2215
+ let o = this.#t[n];
2216
+ if (this.#e(o) && o.__staleWhileFetching === void 0) return false;
2214
2217
  if (this.#p(n)) s && (s.has = "stale", this.#v(s, n));
2215
- else return i && this.#D(n), s && (s.has = "hit", this.#v(s, n)), true;
2218
+ else return i && this.#R(n), s && (s.has = "hit", this.#v(s, n)), true;
2216
2219
  } else s && (s.has = "miss");
2217
2220
  return false;
2218
2221
  }
2219
2222
  peek(e, t = {}) {
2220
- let { status: i = D() ? {} : void 0 } = t;
2223
+ let { status: i = R() ? {} : void 0 } = t;
2221
2224
  i && (i.op = "peek", i.key = e, i.cache = this), t.status = i;
2222
2225
  let s = this.#J(e, t);
2223
2226
  return S.hasSubscribers && S.publish(i), s;
@@ -2228,32 +2231,32 @@ var I = class u2 {
2228
2231
  i && (i.peek = n === void 0 ? "miss" : "stale");
2229
2232
  return;
2230
2233
  }
2231
- let r = this.#t[n], h = this.#e(r) ? r.__staleWhileFetching : r;
2232
- return i && (h !== void 0 ? (i.peek = "hit", i.value = h) : i.peek = "miss"), h;
2234
+ let o = this.#t[n], l = this.#e(o) ? o.__staleWhileFetching : o;
2235
+ return i && (l !== void 0 ? (i.peek = "hit", i.value = l) : i.peek = "miss"), l;
2233
2236
  }
2234
2237
  #P(e, t, i, s) {
2235
2238
  let n = t === void 0 ? void 0 : this.#t[t];
2236
2239
  if (this.#e(n)) return n;
2237
- let r = new AbortController(), { signal: h } = i;
2238
- h?.addEventListener("abort", () => r.abort(h.reason), { signal: r.signal });
2239
- let a = { signal: r.signal, options: i, context: s }, o = (f, b = false) => {
2240
- let { aborted: l } = r.signal, w = i.ignoreFetchAbort && f !== void 0, F = i.ignoreFetchAbort || !!(i.allowStaleOnFetchAbort && f !== void 0);
2241
- if (i.status && (l && !b ? (i.status.fetchAborted = true, i.status.fetchError = r.signal.reason, w && (i.status.fetchAbortIgnored = true)) : i.status.fetchResolved = true), l && !w && !b) return y(r.signal.reason, F);
2242
- let m = c, p = this.#t[t];
2243
- return (p === c || p === void 0 && w && b) && (f === void 0 ? m.__staleWhileFetching !== void 0 ? this.#t[t] = m.__staleWhileFetching : this.#E(e, "fetch") : (i.status && (i.status.fetchUpdated = true), this.#W(e, f, a.options, m))), f;
2244
- }, d = (f) => (i.status && (i.status.fetchRejected = true, i.status.fetchError = f), y(f, false)), y = (f, b) => {
2245
- let { aborted: l } = r.signal, w = l && i.allowStaleOnFetchAbort, F = w || i.allowStaleOnFetchRejection, m = F || i.noDeleteOnFetchRejection, p = c;
2246
- if (this.#t[t] === c && (!m || !b && p.__staleWhileFetching === void 0 ? this.#E(e, "fetch") : w || (this.#t[t] = p.__staleWhileFetching)), F) return i.status && p.__staleWhileFetching !== void 0 && (i.status.returnedStale = true), p.__staleWhileFetching;
2240
+ let o = new AbortController(), { signal: l } = i;
2241
+ l?.addEventListener("abort", () => o.abort(l.reason), { signal: o.signal });
2242
+ let h = { signal: o.signal, options: i, context: s }, r = (f, y = false) => {
2243
+ let { aborted: a } = o.signal, w = i.ignoreFetchAbort && f !== void 0, F = i.ignoreFetchAbort || !!(i.allowStaleOnFetchAbort && f !== void 0);
2244
+ if (i.status && (a && !y ? (i.status.fetchAborted = true, i.status.fetchError = o.signal.reason, w && (i.status.fetchAbortIgnored = true)) : i.status.fetchResolved = true), a && !w && !y) return m(o.signal.reason, F);
2245
+ let b = u, p = this.#t[t];
2246
+ return (p === u || p === void 0 && w && y) && (f === void 0 ? b.__staleWhileFetching !== void 0 ? this.#t[t] = b.__staleWhileFetching : this.#E(e, "fetch") : (i.status && (i.status.fetchUpdated = true), this.#W(e, f, h.options, b))), f;
2247
+ }, c = (f) => (i.status && (i.status.fetchRejected = true, i.status.fetchError = f), m(f, false)), m = (f, y) => {
2248
+ let { aborted: a } = o.signal, w = a && i.allowStaleOnFetchAbort, F = w || i.allowStaleOnFetchRejection, b = F || i.noDeleteOnFetchRejection, p = u;
2249
+ if (this.#t[t] === u && (!b || !y && p.__staleWhileFetching === void 0 ? this.#E(e, "fetch") : w || (this.#t[t] = p.__staleWhileFetching)), F) return i.status && p.__staleWhileFetching !== void 0 && (i.status.returnedStale = true), p.__staleWhileFetching;
2247
2250
  if (p.__returned === p) throw f;
2248
- }, _ = (f, b) => {
2249
- let l = this.#M?.(e, n, a);
2250
- r.signal.addEventListener("abort", () => {
2251
- (!i.ignoreFetchAbort || i.allowStaleOnFetchAbort) && (f(void 0), i.allowStaleOnFetchAbort && (f = (w) => o(w, true)));
2252
- }), l && l instanceof Promise ? l.then((w) => f(w === void 0 ? void 0 : w), b) : l !== void 0 && f(l);
2251
+ }, _ = (f, y) => {
2252
+ let a = this.#M?.(e, n, h);
2253
+ o.signal.addEventListener("abort", () => {
2254
+ (!i.ignoreFetchAbort || i.allowStaleOnFetchAbort) && (f(void 0), i.allowStaleOnFetchAbort && (f = (w) => r(w, true)));
2255
+ }), a && a instanceof Promise ? a.then((w) => f(w === void 0 ? void 0 : w), y) : a !== void 0 && f(a);
2253
2256
  };
2254
2257
  i.status && (i.status.fetchDispatched = true);
2255
- let c = new Promise(_).then(o, d), g = Object.assign(c, { __abortController: r, __staleWhileFetching: n, __returned: void 0 });
2256
- return t === void 0 ? (this.#W(e, g, { ...a.options, status: void 0 }), t = this.#s.get(e)) : this.#t[t] = g, g;
2258
+ let u = new Promise(_).then(r, c), g = Object.assign(u, { __abortController: o, __staleWhileFetching: n, __returned: void 0 });
2259
+ return t === void 0 ? (this.#W(e, g, { ...h.options, status: void 0 }), t = this.#s.get(e)) : this.#t[t] = g, g;
2257
2260
  }
2258
2261
  #e(e) {
2259
2262
  if (!this.#U) return false;
@@ -2261,34 +2264,34 @@ var I = class u2 {
2261
2264
  return !!t && t instanceof Promise && t.hasOwnProperty("__staleWhileFetching") && t.__abortController instanceof AbortController;
2262
2265
  }
2263
2266
  fetch(e, t = {}) {
2264
- let i = W.hasSubscribers, { status: s = D() ? {} : void 0 } = t;
2267
+ let i = W.hasSubscribers, { status: s = R() ? {} : void 0 } = t;
2265
2268
  t.status = s, s && t.context && (s.context = t.context);
2266
2269
  let n = this.#B(e, t);
2267
2270
  return s && i && (s.trace = true, W.tracePromise(() => n, s).catch(() => {
2268
2271
  })), n;
2269
2272
  }
2270
2273
  async #B(e, t = {}) {
2271
- let { allowStale: i = this.allowStale, updateAgeOnGet: s = this.updateAgeOnGet, noDeleteOnStaleGet: n = this.noDeleteOnStaleGet, ttl: r = this.ttl, noDisposeOnSet: h = this.noDisposeOnSet, size: a = 0, sizeCalculation: o = this.sizeCalculation, noUpdateTTL: d = this.noUpdateTTL, noDeleteOnFetchRejection: y = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection: _ = this.allowStaleOnFetchRejection, ignoreFetchAbort: c = this.ignoreFetchAbort, allowStaleOnFetchAbort: g = this.allowStaleOnFetchAbort, context: f, forceRefresh: b = false, status: l, signal: w } = t;
2272
- if (l && (l.op = "fetch", l.key = e, b && (l.forceRefresh = true), l.cache = this), !this.#U) return l && (l.fetch = "get"), this.#C(e, { allowStale: i, updateAgeOnGet: s, noDeleteOnStaleGet: n, status: l });
2273
- let F = { allowStale: i, updateAgeOnGet: s, noDeleteOnStaleGet: n, ttl: r, noDisposeOnSet: h, size: a, sizeCalculation: o, noUpdateTTL: d, noDeleteOnFetchRejection: y, allowStaleOnFetchRejection: _, allowStaleOnFetchAbort: g, ignoreFetchAbort: c, status: l, signal: w }, m = this.#s.get(e);
2274
- if (m === void 0) {
2275
- l && (l.fetch = "miss");
2276
- let p = this.#P(e, m, F, f);
2274
+ let { allowStale: i = this.allowStale, updateAgeOnGet: s = this.updateAgeOnGet, noDeleteOnStaleGet: n = this.noDeleteOnStaleGet, ttl: o = this.ttl, noDisposeOnSet: l = this.noDisposeOnSet, size: h = 0, sizeCalculation: r = this.sizeCalculation, noUpdateTTL: c = this.noUpdateTTL, noDeleteOnFetchRejection: m = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection: _ = this.allowStaleOnFetchRejection, ignoreFetchAbort: u = this.ignoreFetchAbort, allowStaleOnFetchAbort: g = this.allowStaleOnFetchAbort, context: f, forceRefresh: y = false, status: a, signal: w } = t;
2275
+ if (a && (a.op = "fetch", a.key = e, y && (a.forceRefresh = true), a.cache = this), !this.#U) return a && (a.fetch = "get"), this.#C(e, { allowStale: i, updateAgeOnGet: s, noDeleteOnStaleGet: n, status: a });
2276
+ let F = { allowStale: i, updateAgeOnGet: s, noDeleteOnStaleGet: n, ttl: o, noDisposeOnSet: l, size: h, sizeCalculation: r, noUpdateTTL: c, noDeleteOnFetchRejection: m, allowStaleOnFetchRejection: _, allowStaleOnFetchAbort: g, ignoreFetchAbort: u, status: a, signal: w }, b = this.#s.get(e);
2277
+ if (b === void 0) {
2278
+ a && (a.fetch = "miss");
2279
+ let p = this.#P(e, b, F, f);
2277
2280
  return p.__returned = p;
2278
2281
  } else {
2279
- let p = this.#t[m];
2282
+ let p = this.#t[b];
2280
2283
  if (this.#e(p)) {
2281
2284
  let v = i && p.__staleWhileFetching !== void 0;
2282
- return l && (l.fetch = "inflight", v && (l.returnedStale = true)), v ? p.__staleWhileFetching : p.__returned = p;
2285
+ return a && (a.fetch = "inflight", v && (a.returnedStale = true)), v ? p.__staleWhileFetching : p.__returned = p;
2283
2286
  }
2284
- let A = this.#p(m);
2285
- if (!b && !A) return l && (l.fetch = "hit"), this.#L(m), s && this.#D(m), l && this.#v(l, m), p;
2286
- let z = this.#P(e, m, F, f), E = z.__staleWhileFetching !== void 0 && i;
2287
- return l && (l.fetch = A ? "stale" : "refresh", E && A && (l.returnedStale = true)), E ? z.__staleWhileFetching : z.__returned = z;
2287
+ let A = this.#p(b);
2288
+ if (!y && !A) return a && (a.fetch = "hit"), this.#L(b), s && this.#R(b), a && this.#v(a, b), p;
2289
+ let z = this.#P(e, b, F, f), E = z.__staleWhileFetching !== void 0 && i;
2290
+ return a && (a.fetch = A ? "stale" : "refresh", E && A && (a.returnedStale = true)), E ? z.__staleWhileFetching : z.__returned = z;
2288
2291
  }
2289
2292
  }
2290
2293
  forceFetch(e, t = {}) {
2291
- let i = W.hasSubscribers, { status: s = D() ? {} : void 0 } = t;
2294
+ let i = W.hasSubscribers, { status: s = R() ? {} : void 0 } = t;
2292
2295
  t.status = s, s && t.context && (s.context = t.context);
2293
2296
  let n = this.#K(e, t);
2294
2297
  return s && i && (s.trace = true, W.tracePromise(() => n, s).catch(() => {
@@ -2308,12 +2311,12 @@ var I = class u2 {
2308
2311
  #Q(e, t = {}) {
2309
2312
  let i = this.#I;
2310
2313
  if (!i) throw new Error("no memoMethod provided to constructor");
2311
- let { context: s, status: n, forceRefresh: r, ...h } = t;
2312
- n && r && (n.forceRefresh = true);
2313
- let a = this.#C(e, h), o = r || a === void 0;
2314
- if (n && (n.memo = o ? "miss" : "hit", o || (n.value = a)), !o) return a;
2315
- let d = i(e, a, { options: h, context: s });
2316
- return n && (n.value = d), this.#W(e, d, h), d;
2314
+ let { context: s, status: n, forceRefresh: o, ...l } = t;
2315
+ n && o && (n.forceRefresh = true);
2316
+ let h = this.#C(e, l), r = o || h === void 0;
2317
+ if (n && (n.memo = r ? "miss" : "hit", r || (n.value = h)), !r) return h;
2318
+ let c = i(e, h, { options: l, context: s });
2319
+ return n && (n.value = c), this.#W(e, c, l), c;
2317
2320
  }
2318
2321
  get(e, t = {}) {
2319
2322
  let { status: i = S.hasSubscribers ? {} : void 0 } = t;
@@ -2322,13 +2325,13 @@ var I = class u2 {
2322
2325
  return i && (s !== void 0 && (i.value = s), S.hasSubscribers && S.publish(i)), s;
2323
2326
  }
2324
2327
  #C(e, t = {}) {
2325
- let { allowStale: i = this.allowStale, updateAgeOnGet: s = this.updateAgeOnGet, noDeleteOnStaleGet: n = this.noDeleteOnStaleGet, status: r } = t, h = this.#s.get(e);
2326
- if (h === void 0) {
2327
- r && (r.get = "miss");
2328
+ let { allowStale: i = this.allowStale, updateAgeOnGet: s = this.updateAgeOnGet, noDeleteOnStaleGet: n = this.noDeleteOnStaleGet, status: o } = t, l = this.#s.get(e);
2329
+ if (l === void 0) {
2330
+ o && (o.get = "miss");
2328
2331
  return;
2329
2332
  }
2330
- let a = this.#t[h], o = this.#e(a);
2331
- return r && this.#v(r, h), this.#p(h) ? o ? (r && (r.get = "stale-fetching"), i && a.__staleWhileFetching !== void 0 ? (r && (r.returnedStale = true), a.__staleWhileFetching) : void 0) : (n || this.#E(e, "expire"), r && (r.get = "stale"), i ? (r && (r.returnedStale = true), a) : void 0) : (r && (r.get = o ? "fetching" : "hit"), this.#L(h), s && this.#D(h), o ? a.__staleWhileFetching : a);
2333
+ let h = this.#t[l], r = this.#e(h);
2334
+ return o && this.#v(o, l), this.#p(l) ? r ? (o && (o.get = "stale-fetching"), i && h.__staleWhileFetching !== void 0 ? (o && (o.returnedStale = true), h.__staleWhileFetching) : void 0) : (n || this.#E(e, "expire"), o && (o.get = "stale"), i ? (o && (o.returnedStale = true), h) : void 0) : (o && (o.get = r ? "fetching" : "hit"), this.#L(l), s && this.#R(l), r ? h.__staleWhileFetching : h);
2332
2335
  }
2333
2336
  #$(e, t) {
2334
2337
  this.#u[t] = e, this.#l[e] = t;
@@ -2344,17 +2347,17 @@ var I = class u2 {
2344
2347
  let i = false;
2345
2348
  if (this.#n !== 0) {
2346
2349
  let s = this.#s.get(e);
2347
- if (s !== void 0) if (this.#g?.[s] && (clearTimeout(this.#g?.[s]), this.#g[s] = void 0), i = true, this.#n === 1) this.#q(t);
2350
+ if (s !== void 0) if (this.#g?.[s] && (clearTimeout(this.#g[s]), this.#g[s] = void 0), i = true, this.#n === 1) this.#q(t);
2348
2351
  else {
2349
- this.#R(s);
2352
+ this.#x(s);
2350
2353
  let n = this.#t[s];
2351
2354
  if (this.#e(n) ? n.__abortController.abort(new Error("deleted")) : (this.#T || this.#f) && (this.#T && this.#S?.(n, e, t), this.#f && this.#r?.push([n, e, t])), this.#s.delete(e), this.#i[s] = void 0, this.#t[s] = void 0, s === this.#h) this.#h = this.#u[s];
2352
2355
  else if (s === this.#a) this.#a = this.#l[s];
2353
2356
  else {
2354
- let r = this.#u[s];
2355
- this.#l[r] = this.#l[s];
2356
- let h = this.#l[s];
2357
- this.#u[h] = this.#u[s];
2357
+ let o = this.#u[s];
2358
+ this.#l[o] = this.#l[s];
2359
+ let l = this.#l[s];
2360
+ this.#u[l] = this.#u[s];
2358
2361
  }
2359
2362
  this.#n--, this.#y.push(s);
2360
2363
  }
package/dist/index.js CHANGED
@@ -4962,7 +4962,8 @@ function findSimilarPatterns(code) {
4962
4962
  // src/tools/profiles.ts
4963
4963
  import {
4964
4964
  tryGetProfile,
4965
- getRegisteredLanguages
4965
+ getRegisteredLanguages,
4966
+ getKeywordTranslations
4966
4967
  } from "@lokascript/semantic";
4967
4968
  var profileTools = [
4968
4969
  {
@@ -5199,12 +5200,15 @@ function handleGetKeywordTranslations(args) {
5199
5200
  const keyword = args.keyword;
5200
5201
  const targetLanguages = args.languages;
5201
5202
  const languages = targetLanguages || getRegisteredLanguages();
5202
- const translations = {};
5203
+ const resolved = /* @__PURE__ */ new Map();
5203
5204
  for (const lang of languages) {
5204
5205
  const profile = tryGetProfile(lang);
5205
- if (!profile) continue;
5206
- const kw = profile.keywords?.[keyword];
5207
- translations[lang] = formatKeyword(kw);
5206
+ if (profile) resolved.set(lang, profile.code);
5207
+ }
5208
+ const byCode = getKeywordTranslations(keyword, [...new Set(resolved.values())]);
5209
+ const translations = {};
5210
+ for (const [lang, code] of resolved) {
5211
+ translations[lang] = formatKeyword(byCode[code]);
5208
5212
  }
5209
5213
  return {
5210
5214
  content: [
@@ -7973,7 +7977,7 @@ function createInlineExtractor() {
7973
7977
  const fs = await import("fs");
7974
7978
  const path = await import("path");
7975
7979
  const crypto = await import("crypto");
7976
- const { glob } = await import("./esm-QBB5EI36.js");
7980
+ const { glob } = await import("./esm-YPGJSQ36.js");
7977
7981
  const globs = [
7978
7982
  "**/*.html",
7979
7983
  "**/*.htm",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperfixi/mcp-server",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
4
4
  "description": "Model Context Protocol server for HyperFixi hyperscript development",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -9,11 +9,11 @@
9
9
  },
10
10
  "scripts": {
11
11
  "build": "tsup src/index.ts --format esm --dts",
12
- "prebuild": "../../scripts/ensure-fresh.sh ../compilation-service ../semantic ../framework ../intent ../domain-config ../planner",
12
+ "prebuild": "../../scripts/ensure-fresh.sh ../compilation-service ../semantic ../framework ../intent ../domain-config ../domain-learn ../planner",
13
13
  "start": "node dist/index.js",
14
14
  "dev": "tsx src/index.ts",
15
15
  "dev:watch": "tsx watch src/index.ts",
16
- "pretest": "../../scripts/ensure-fresh.sh ../compilation-service ../semantic ../framework ../intent ../domain-config ../planner",
16
+ "pretest": "../../scripts/ensure-fresh.sh ../compilation-service ../semantic ../framework ../intent ../domain-config ../domain-learn ../planner",
17
17
  "test": "vitest",
18
18
  "typecheck": "tsc --noEmit",
19
19
  "service:setup": "echo 'Copy com.lokascript.mcp-server.plist.example to com.lokascript.mcp-server.plist and update paths, then run service:install'",
@@ -37,30 +37,31 @@
37
37
  "author": "LokaScript Contributors",
38
38
  "license": "MIT",
39
39
  "dependencies": {
40
- "@hyperfixi/patterns-reference": "^2.6.0",
41
- "@lokascript/compilation-service": "^2.6.0",
42
- "@lokascript/domain-config": "^2.6.0",
43
- "@lokascript/framework": "^2.6.0",
44
- "@lokascript/planner": "^2.6.0",
45
- "@lokascript/semantic": "^2.6.0",
40
+ "@hyperfixi/patterns-reference": "^2.7.0",
41
+ "@lokascript/compilation-service": "^2.7.0",
42
+ "@lokascript/domain-config": "^2.7.0",
43
+ "@lokascript/framework": "^2.7.0",
44
+ "@lokascript/planner": "^2.7.0",
45
+ "@lokascript/semantic": "^2.7.0",
46
46
  "@modelcontextprotocol/sdk": "^1.25.0",
47
47
  "yaml": "^2.8.3"
48
48
  },
49
49
  "peerDependencies": {
50
- "@hyperfixi/core": "^2.6.0",
51
- "@hyperfixi/patterns-reference": "^2.6.0",
52
- "@hyperfixi/server-bridge": "^2.6.0",
53
- "@lokascript/compilation-service": "^2.6.0",
54
- "@lokascript/domain-bdd": "^2.6.0",
55
- "@lokascript/domain-behaviorspec": "^2.6.0",
56
- "@lokascript/domain-flow": "^2.6.0",
57
- "@lokascript/domain-jsx": "^2.6.0",
58
- "@lokascript/domain-llm": "^2.6.0",
59
- "@lokascript/domain-sql": "^2.6.0",
60
- "@lokascript/domain-todo": "^2.6.0",
61
- "@lokascript/domain-voice": "^2.6.0",
62
- "@lokascript/framework": "^2.6.0",
63
- "@lokascript/semantic": "^2.6.0"
50
+ "@hyperfixi/core": "^2.7.0",
51
+ "@hyperfixi/patterns-reference": "^2.7.0",
52
+ "@hyperfixi/server-bridge": "^2.7.0",
53
+ "@lokascript/compilation-service": "^2.7.0",
54
+ "@lokascript/domain-bdd": "^2.7.0",
55
+ "@lokascript/domain-behaviorspec": "^2.7.0",
56
+ "@lokascript/domain-flow": "^2.7.0",
57
+ "@lokascript/domain-jsx": "^2.7.0",
58
+ "@lokascript/domain-learn": "^2.7.0",
59
+ "@lokascript/domain-llm": "^2.7.0",
60
+ "@lokascript/domain-sql": "^2.7.0",
61
+ "@lokascript/domain-todo": "^2.7.0",
62
+ "@lokascript/domain-voice": "^2.7.0",
63
+ "@lokascript/framework": "^2.7.0",
64
+ "@lokascript/semantic": "^2.7.0"
64
65
  },
65
66
  "peerDependenciesMeta": {
66
67
  "@lokascript/compilation-service": {
@@ -90,6 +91,9 @@
90
91
  "@lokascript/domain-jsx": {
91
92
  "optional": true
92
93
  },
94
+ "@lokascript/domain-learn": {
95
+ "optional": true
96
+ },
93
97
  "@lokascript/domain-flow": {
94
98
  "optional": true
95
99
  },
@@ -107,20 +111,21 @@
107
111
  }
108
112
  },
109
113
  "devDependencies": {
110
- "@hyperfixi/core": "^2.6.0",
111
- "@hyperfixi/patterns-reference": "^2.6.0",
112
- "@hyperfixi/server-bridge": "^2.6.0",
113
- "@lokascript/compilation-service": "^2.6.0",
114
- "@lokascript/domain-bdd": "^2.6.0",
115
- "@lokascript/domain-behaviorspec": "^2.6.0",
116
- "@lokascript/domain-flow": "^2.6.0",
117
- "@lokascript/domain-jsx": "^2.6.0",
118
- "@lokascript/domain-llm": "^2.6.0",
119
- "@lokascript/domain-sql": "^2.6.0",
120
- "@lokascript/domain-todo": "^2.6.0",
121
- "@lokascript/domain-voice": "^2.6.0",
122
- "@lokascript/framework": "^2.6.0",
123
- "@lokascript/semantic": "^2.6.0",
114
+ "@hyperfixi/core": "^2.7.0",
115
+ "@hyperfixi/patterns-reference": "^2.7.0",
116
+ "@hyperfixi/server-bridge": "^2.7.0",
117
+ "@lokascript/compilation-service": "^2.7.0",
118
+ "@lokascript/domain-bdd": "^2.7.0",
119
+ "@lokascript/domain-behaviorspec": "^2.7.0",
120
+ "@lokascript/domain-flow": "^2.7.0",
121
+ "@lokascript/domain-jsx": "^2.7.0",
122
+ "@lokascript/domain-learn": "^2.7.0",
123
+ "@lokascript/domain-llm": "^2.7.0",
124
+ "@lokascript/domain-sql": "^2.7.0",
125
+ "@lokascript/domain-todo": "^2.7.0",
126
+ "@lokascript/domain-voice": "^2.7.0",
127
+ "@lokascript/framework": "^2.7.0",
128
+ "@lokascript/semantic": "^2.7.0",
124
129
  "@types/node": "^20.0.0",
125
130
  "tsup": "^8.0.0",
126
131
  "tsx": "^4.0.0",