.vite/build/index.chunk-Capk5y1W.js
CommonJS require inside a catch fallbackArray access with an arithmetic index
SHA-2567afc667b583eb546830d02b482fecd15da844ae28689ac1c9898c7920ec95187
MaleculeH₂(DbOs)
Evidence
1"use strict";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"612f3fafc24aa4c10d0d896a8f16a1f2bdd834fb"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="512b6bdc-6b95-4ada-92e5-8fd1c3c1fe6c",e._sentryDebugIdIdentifier="sentry-dbid-512b6bdc-6b95-4ada-92e5-8fd1c3c1fe6c")})()}catch{}require("./index.chunk-BDFzGIym.js");const e=require("./index.chunk-CWZQG0Ka.js"),t=require("./index.chunk-YxjoFnxU.js");let n=require("node:path"),r=require("node:fs/promises");var i="project_memory_read",a="project_memory_write",o="MEMORY.md",s=262144,c=s,l=200,u={file:e.NR().max(255).optional().describe( …
1:3261… ,!0))}let u=[];try{u=(await(0,r.readdir)(c.dir,{withFileTypes:!0})).filter((e=>e.isFile()&&/\.md$/i.test(e.name))).map((e=>e.name)).sort(),u.length>l&&(u=u.slice(0,l))}catch(t){t.code!=="ENOENT"&&e.WL.warn("[space-memory] readdir failed:",t)}let d=await e.bo …
1:5957… ait o(i,a)}catch(r){if(r instanceof e.IR){let i=r.issues.map((e=>`${e.path.join(".")||"(root)"}: ${e.message}`)).join("; ");return e.Mc(t.a(`${n} input invalid: ${i}. Check the tool schema.`,!0),"input_invalid")}ret …
1:6240… ailed.`,!0)}}}}var b={validateMemoryFilename:m};exports._test=b,exports.buildRemoteSpaceMemoryTools=y;
2//# sourceMappingURL=index.chunk-Capk5y1W.js.map