a2a-memory 0.12.49 → 0.12.51
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 +1 -1
- package/dist/adapters/anthropic.js +1 -1
- package/dist/chunking/chunker.js +1 -1
- package/dist/claude/sync.js +1 -1
- package/dist/cli/commands/add.js +1 -1
- package/dist/cli/commands/claude-sync.js +1 -1
- package/dist/cli/commands/cleanup.js +1 -1
- package/dist/cli/commands/config.js +1 -1
- package/dist/cli/commands/contextrank.js +1 -1
- package/dist/cli/commands/edit.js +1 -1
- package/dist/cli/commands/embed.js +1 -1
- package/dist/cli/commands/export.js +1 -1
- package/dist/cli/commands/extract.js +1 -1
- package/dist/cli/commands/health.js +1 -1
- package/dist/cli/commands/list.js +1 -1
- package/dist/cli/commands/migrate-chunks.js +1 -1
- package/dist/cli/commands/migrate-file-refs.js +1 -1
- package/dist/cli/commands/proficiency.js +1 -1
- package/dist/cli/commands/review.js +1 -1
- package/dist/cli/commands/rm.js +1 -1
- package/dist/cli/commands/search.js +1 -1
- package/dist/cli/commands/session-extract.js +1 -1
- package/dist/cli/commands/setup-wizard.js +1 -1
- package/dist/cli/commands/setup.js +1 -1
- package/dist/cli/commands/skill.js +1 -1
- package/dist/cli/commands/status.js +1 -1
- package/dist/cli/commands/sync.js +1 -1
- package/dist/cli/commands/team.js +1 -1
- package/dist/cli/commands/usage.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/config/manager.d.ts +1 -0
- package/dist/config/manager.js +1 -1
- package/dist/contextrank/edge-builder.d.ts +27 -0
- package/dist/contextrank/edge-builder.js +1 -1
- package/dist/contextrank/rank-builder.js +1 -1
- package/dist/contextrank/signal-builder.js +1 -1
- package/dist/db/database.js +1 -1
- package/dist/db/usage-spool.js +1 -1
- package/dist/embedding/e5-provider.js +1 -1
- package/dist/embedding/index.js +1 -1
- package/dist/embedding/local-provider.js +1 -1
- package/dist/embedding/openai-provider.js +1 -1
- package/dist/embedding/quantization.js +1 -1
- package/dist/extraction/dedup-manager.js +1 -1
- package/dist/extraction/emotion-filter.js +1 -1
- package/dist/extraction/extractor.js +1 -1
- package/dist/extraction/file-reference.js +1 -1
- package/dist/extraction/filter.d.ts +1 -0
- package/dist/extraction/filter.js +1 -1
- package/dist/extraction/scorer.js +1 -1
- package/dist/extraction/similarity.js +1 -1
- package/dist/hooks/client-factory.js +1 -1
- package/dist/hooks/post-tool-use.js +1 -1
- package/dist/hooks/pre-compact.js +1 -1
- package/dist/hooks/session-end.js +1 -1
- package/dist/hooks/session-start.js +1 -1
- package/dist/hooks/shared.js +1 -1
- package/dist/hooks/stop.js +1 -1
- package/dist/hooks/user-prompt-submit.js +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/i18n/messages.js +1 -1
- package/dist/index.js +1 -1
- package/dist/lifecycle/cleanup-scheduler.js +1 -1
- package/dist/lifecycle/cleanup.js +1 -1
- package/dist/lifecycle/consolidation.js +1 -1
- package/dist/lifecycle/contradiction.js +1 -1
- package/dist/lifecycle/embedding-backfill.js +1 -1
- package/dist/lifecycle/index.js +1 -1
- package/dist/lifecycle/injection-flush.js +1 -1
- package/dist/lifecycle/quality-scorer.js +1 -1
- package/dist/lifecycle/session-extract.js +1 -1
- package/dist/lifecycle/shadow-rebuild.js +1 -1
- package/dist/lifecycle/tiering.js +1 -1
- package/dist/llm/client.js +1 -1
- package/dist/llm/index.js +1 -1
- package/dist/proficiency/actr-engine.js +1 -1
- package/dist/proficiency/detection.js +1 -1
- package/dist/proficiency/index.js +1 -1
- package/dist/proficiency/tracker.js +1 -1
- package/dist/search/adaptive-router.js +1 -1
- package/dist/search/index.js +1 -1
- package/dist/search/injection-filter.js +1 -1
- package/dist/search/memoryrank-rerank.js +1 -1
- package/dist/search/ranker.js +1 -1
- package/dist/search/reranker.js +1 -1
- package/dist/session/parser.js +1 -1
- package/dist/skill/evaluator.js +1 -1
- package/dist/skill/index.js +1 -1
- package/dist/sync/client.js +1 -1
- package/dist/sync/encryption.js +1 -1
- package/dist/sync/index.js +1 -1
- package/dist/sync/queue.js +1 -1
- package/dist/sync/scheduler.js +1 -1
- package/dist/sync/synchronizer.js +1 -1
- package/dist/sync/team-synchronizer.js +1 -1
- package/dist/sync/vector-clock.js +1 -1
- package/dist/types/index.js +1 -1
- package/dist/utils/keychain.js +1 -1
- package/dist/utils/logger.js +1 -1
- package/dist/utils/test-isolation.js +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x4a4eb4,_0x211882){function _0xb8026d(_0x584c56,_0x28c985){return _0x3cc4(_0x584c56- -0x256,_0x28c985);}const _0x4c2e4e=_0x4a4eb4();function _0x3c8527(_0x20a90d,_0xf6663a){return _0x3cc4(_0x20a90d-0x91,_0xf6663a);}while(!![]){try{const _0xacfabd=parseInt(_0xb8026d(-0x96,-0x80))/0x1*(parseInt(_0xb8026d(-0x89,-0x5a))/0x2)+-parseInt(_0xb8026d(-0xcf,-0xf4))/0x3+parseInt(_0x3c8527(0x22d,0x22e))/0x4*(-parseInt(_0xb8026d(-0x25,-0x1e))/0x5)+parseInt(_0x3c8527(0x34f,0x306))/0x6*(-parseInt(_0xb8026d(-0x13,-0x4d))/0x7)+parseInt(_0xb8026d(-0xef,-0xf1))/0x8+parseInt(_0x3c8527(0x2e8,0x383))/0x9*(-parseInt(_0xb8026d(-0x4,0x85))/0xa)+parseInt(_0x3c8527(0x2e2,0x34a))/0xb*(parseInt(_0xb8026d(0x2f,0x29))/0xc);if(_0xacfabd===_0x211882)break;else _0x4c2e4e['push'](_0x4c2e4e['shift']());}catch(_0x51b330){_0x4c2e4e['push'](_0x4c2e4e['shift']());}}}(_0x4942,0x92cdc));import{getSharedDb,closeSharedDb,normalizeHookInput}from'./shared.js';import{ConfigManager}from'../config/manager.js';import{scoreSignificance}from'../extraction/scorer.js';import{filterSensitiveInfo}from'../extraction/filter.js';function _0x4942(){const _0x106482=['B25SEq','C3rHBMrHCMq','C2vJB25Kx3vWDa','D2LSBa','D2fYBG','Ew5Jzwq','nuTjqwr0Aq','zxrLza','y29Kzv9Wyxr0zq','Dg9ju09tDhjPBG','C2vTyw50Awm','BxmSignSyxvKzq','BxbSzxrLzcaODa','qxv0BY1Jyxb0Dq','B3vY','vfPlCK0','BgLKyxrLza','zxjYB3jFC29SDq','y21K','CMuGzgLZywjSzq','Bwf5','Dhj1BMnHDgvK','B3rOzxi','B2XKu3rYAw5N','mtu3mtvSz3LAs0y','CM9YoG','z3jLCa','B3rHBdOG','Bg9Nz2LUzW','CgfYC2u','C3rKzxjY','BwL0xq','Ahr0CdO0mdq','DhvYzwq','BMmGzgvMzxjYzq','zgf0yq','BMfTzq','ignVBNrLBNq','mJG4mtG1ntLhtufnAeC','mtiWELz2yKDU','B2jQzwn0','ANvZDa','zxbPC29Kzq','Aw5N','ntuXmtC4v054txPv','B3DSzwrNzq','EYjZDgrVDxqIoG','zxjYB3i6','zMjeyLm','zMfJDa','revmrvrfigLUDG','C3rYAw5NAwz5','l3rTCc8','rxHJzxb0Aw9U','lcbZEw5JoIa','zgvJAwrLza','iNvWDgLTzv9Zzq','twvTB3j5igfICW','BxmGFcbJB25MAq','C3LUyY5QCW','cLTpDxrWDxrDia','CNvSzq','u3HZvwy','yM90Aa','twvTB3j5ihnHDG','iMnVBNrLBNqI','zxzLCNK','w2eYyv0Gug9ZDa','ihnRAwXS','DgfZAW','BwvHBMLUz2z1Ba','DhvZ','zMLSzvbHDgG','Dg9VBeLUChv0','vg9VBfvZzsbLCG','zw5KC1DPDgG','EMnkAeK','Bw9Yzq','vhjHy2vIywnR','Bg9JywW','zxHPDa','v0TsAM4','C2vYDMvY','Ew1S','CMvJB3jKsw5Qzq','C2vZC2LVBKLK','Efv4u1a','EYjMAwXLugf0Aa','wwPkCg8','BgXT','mtjjAerusK0','v2vIrMv0y2G','C29Tzq','C3bSAxq','ig9Mig1LCMDLia','zMfSC2u','rNjVEMvUihnUyq','DhjHy2vIywnR','z3rO','yxjL','qxv0BY1ZEw5Jia','DMfSDwf0B3iUAG','C2v0','BwLNAhq','D2vUDcb3AxrO','DgvZDa','A2v5D29Yzhm','BwvYz2vdB250zq','ywn0Aw9U','lNrVBwW','Ew91CG','CMvJB3jKrxH0CG','y3jLyxrLzcbZDq','B3jIzwqGAw50BW','8j+uJsbBuhjLlunVBq','ywXZBW','AwnHDguP','zgvJAxnPB24','zfbHDgnOiG','u3LUy0nVDw50','twvTB3j5ihnRAq','ExrXEKO','C2TPChbLzcaOCa','vvbeqvrf','vg9VBfvZzsbJBW','y2nLC3nMDwXSEq','EwfTBa','iNn0yxr1CYi6iG','DgfIBgu','DgHL','ugf0y2G','DhLWzq','rKfjteve','ChjVy2vKDxjL','zxjYB3i','lMLUAq','yxbW','w0vYCM9Yxsa','DgHYB3vNAa','rw1IzwrKAw5Nia','BMv3u3rYAw5N','iNn0CNvJDhvYzq','zNvSBhK','BxmSigrLzhvWoG','DgHLBq','C3rYDwn0DxjLza','lMnMzW','mJy1ohDer0LiCa','wufwuu0','CM90zwn0zwqGyq','y29UDMvUDgLVBG','AxnbCNjHEq','zcb0BYbtzxnZAq','wNner0C','A2v5D29Yze1HCa','lMvUDG','Bw9ZDa','DxbKyxrLtwvTBW','zwfJAa','sg9VAYbJB21WBa','ug9ZDfrVB2XvCW','D291BgrczuXLBG','yxv0B0nHChr1CG','CM91BMq','Dg9V','CMvWBgfJzq','C3rYAw5N','z2v0','ywjVDMu','u2TPBgW','C29YDa','B3j5ihn5BMmGzG','revmrvrf','yxrLCW','C2f2zuvTyMvKza','A0fMEuO','igL0zw1Zxsa','zMLSzv9WyxrO','BgvUz3rO','mta5ndiXnNzUq05HBq','C2HVDwXK','DgfYz2v0twvTBW','Ahr0CdOYmda','DhjPBq','Aw5JBhvKzxm','y2vuAhjLC2HVBa','zNjVBq','ChjVAMvJDfbHDa','CgvUzgLUzW','ywn0Aw9UrxzHBa','uMvHza','tgfHELq','C3vJAa','lI4VC2TPBgWVzq','y29UDgvUDa','zMfPBgvK','zgvIDwC','zgvK','yKfgt24','zMv3','BMCVAw5KzxGUAG','Cgf0Aa','iokaLcbHDxrVlxn5','C3rKB3v0','Eg1S','CNbOvgS','ChjVDMLKzxi','yMvMB3jL','AgfZ','Cej6ueO','C3jJ','mJiWnZq3mKf0ruHguG','y2f0zwDVCNK','Bwf0y2G','ANnVBG','lMPZB24','CNnPB24','CMvZB2X2zq','zhvYAw5N','AM9PBG','twvTB3j5ignHCa','ywjZB3jIsw50BW','zxiGzgvSzxrLkq','l3zHCI9MB2XKzq','CNmV','DgHHBG','ywjVDxq','C2fTzq','EYjMAwXLx3bHDa','C2LNBMLMAwnHBG','C3rHCNrZv2L0Aa','v3jPDgu','nJa0odG4EgH1tMfQ','y2fU','C2v0u3LUy1n0yq','ChvZAa','zw50CMLLCW','BM9Uzq','DxnLlNrZ','Dg90ywXty29Yzq','rwrPDa','iM5LD1n0CMLUzW','lNLHBwW','r2XVyG','BNvSBa','y29TBwfUza','ywjZB3jIzwq','Aw50BW','ChLIqKy','DgHLAxi','zw4GC3vJy2vZCW','DgLVBG','tK9pua','BMnHDguP','yxnZAxn0yw50','y29UDgv4Da','zMLSDgvY','C3nLDcK','zxHWzxjPzw5Jzq','s2vdzgq','u3bOEuG','zMX1C2G','zM9Y','zMLSDgvYzwq','Aw1LoG','Bwu6','yxv0B1n5BMm','C2LVBG','mxLuuMzfzW','q2XHDwrLig1LBq','D2vIzMv0y2G','y29T','Dg9VBfjLC3vSDa','ugX0ANq','BM93','y29Uy2f0','C2LTAwXHCML0Eq','D2fZ','D2vYzq','C2vSzwn0zwq','Dg9VBe5HBwu','otiYmJK0EeHZrxzi','ChjVAMvJDf9RBG','ihnVzNqTAw52yq','AgvHBhrOEsi','weLyrKC','DgHPCW','C2HVDa','BwvZC2fNzq','u2vUC2L0AxzLia','l3rLC3qV','DMfSDwu','Dg1dt1i','zxbPC29KAwm','Exflu0W','yxblwgq','C2TPBgW','BgvHCM5PBMC','AhrTBa','yw5K','qxv0B1n5BMm','BgLZDe1LBw9YAq','Cg9ZDc10B29Slq','ywLSzwq','u3LUyZOG','rxjYB3i6','CeDeywu','yMvLBG','vvzJEgC','z2XVyG','D3jPDgu','zMLSzsb3CML0Da','Cg9W','vg9VBcbLDMfSDq','y29UzhmI','lI4U','DhH0','zwqP','zNjVEMvUu25HCa','qMfZAa','quvhr0y','w0eYqv0Gug9ZDa','iM9Szfn0CMLUzW','BxmSigrIoIa','ywXS','BgLZDa','twvTB3j5ignYzq','r3jLCa','ChnOB3qGBw9Kzq','C2XPy2u','Dg9mB3DLCKnHCW','C2TPBgXdB252zq','ENvoveq','zwqGAw5ZDgvHza','ig1LBw9YAwvZ','BwfW','DxrMltG','yxjNDG','z3vPzgvSAw5L','D2vIC2vHCMnO','y3jLyxrLtwvTBW','zw1VCNK6ig5Via','D29YA2LUzW','Aw5MBW','t2XKig1LBw9YEq','u3DgEgq','Ew91','icHbrfiTmdmZkq','Dg9tDhjPBMC','lNLTBa','zxHJzxb0Aw9U','DgfNCW','vgfZAW','sg9VAYbZDgfYDa','BKT6yu0','B3j5igzPBguGCW','Aw5Qzwn0zwrlzq','AgLZ','AgvY','y291Bgq','qLn0vNy','D291Bgq','BNjvrNC','DgHHDa','lI9ZAgfYzwqUAG','rgvKDxaGzgvJAq','ChvZAgvK','y3nZ','zw5HyMXLza','w2eYyv0Gqxv0BW','qure','zw1IzwrKAw5N','DhjPz2DLCNm','zw1Izwq','DhvYzwqGkgfMDa'];_0x4942=function(){return _0x106482;};return _0x4942();}import{DedupManager}from'../extraction/dedup-manager.js';import{isProtectedFromCleanup}from'../lifecycle/cleanup.js';import{createLogger}from'../utils/logger.js';import{isClaudeMemoryFile}from'../claude/sync.js';import{createHookClient}from'./client-factory.js';import{SyncQueue}from'../sync/queue.js';const CATEGORY_TYPE_MAP={'error_solution':_0x49c2f5(0x110,0x194),'code_pattern':'fact','decision':_0x49c2f5(0x282,0x233),'context':_0x5ad0fb(0x1ba,0x15f),'project_knowledge':_0x49c2f5(0x28c,0x23a),'convention':'procedure','learning':_0x49c2f5(0x20e,0x194),'skill':_0x5ad0fb(0x200,0x1ba),'rule':_0x5ad0fb(0x24c,0x1ba)},AUTO_SYNC_THRESHOLD=0x14,AUTO_SYNC_TIMEOUT_MS=0x2710;export async function handlePostToolUse(_0x49ce95){function _0x2ce488(_0x597ac1,_0x46a090){return _0x5ad0fb(_0x46a090,_0x597ac1- -0x53);}const _0x36aae0=performance['now'](),_0x4331b9=new ConfigManager()['load'](),_0x210fb5=performance[_0x521cfc(0x4fe,0x510)]();function _0x521cfc(_0x579e42,_0x2017c8){return _0x5ad0fb(_0x579e42,_0x2017c8-0x440);}const _0x42109d=createLogger(_0x2ce488(0x182,0x153)+'e',_0x4331b9[_0x521cfc(0x51e,0x591)]);try{_0x42109d[_0x521cfc(0x601,0x555)](_0x2ce488(0xcc,0x187)+'ed',{'toolName':_0x49ce95[_0x2ce488(0x83,0x8d)]});if(!_0x4331b9['autoCaptur'+'e'][_0x521cfc(0x5a3,0x56e)]){_0x42109d[_0x521cfc(0x4fb,0x555)](_0x521cfc(0x5aa,0x582)+_0x2ce488(0xf5,0xb3)+'d');return;}if(!_0x4331b9[_0x521cfc(0x6a4,0x617)+'e'][_0x2ce488(0xdf,0x66)][_0x2ce488(0x23,0x6f)](_0x49ce95['toolName'])){_0x42109d['debug']('Tool\x20not\x20i'+'n\x20triggers',{'toolName':_0x49ce95[_0x521cfc(0x48c,0x516)]});return;}const _0x42e550=extractFilePath(_0x49ce95[_0x2ce488(0x12b,0xaf)]);if(_0x42e550&&isSensitiveFile(_0x42e550,_0x4331b9['autoCaptur'+'e']['excludePat'+'terns'])){_0x42109d[_0x521cfc(0x55d,0x555)](_0x2ce488(0x8c,0xe0)+'file\x20exclu'+_0x521cfc(0x4db,0x4c3),{'filePath':_0x42e550});return;}if(_0x42e550&&isClaudeMemoryFile(_0x42e550)&&(_0x49ce95[_0x2ce488(0x83,0x92)]===_0x2ce488(0x52,0x73)||_0x49ce95[_0x521cfc(0x4e5,0x516)]==='Edit')){if(_0x2ce488(0xd3,0x89)==='BStVv'){const _0xd5daad=performance['now']();try{const _0x1ff62e=getSharedDb(_0x4331b9['db']['path']),{syncClaudeMd:_0x594479}=await import('../claude/'+_0x521cfc(0x59a,0x5b0));await _0x594479(_0x1ff62e,{'claudeMdPath':_0x42e550,'projectPath':_0x49ce95['projectPat'+'h']});const _0x4dbcad=performance[_0x521cfc(0x4bf,0x510)](),_0x3fdb23=Math[_0x521cfc(0x688,0x618)](_0x4dbcad-_0x36aae0),_0x8afaab=Math['round'](_0x4dbcad-_0xd5daad),_0x1e1a9d=Math[_0x521cfc(0x5a5,0x618)](_0x210fb5-_0x36aae0);process[_0x521cfc(0x574,0x593)]['write']('[A2A]\x20Post'+'ToolUse\x20co'+_0x2ce488(0xee,0xcd)+_0x2ce488(0xfd,0xa4)+_0x3fdb23+(_0x2ce488(0x11c,0x192)+'g:\x20')+_0x1e1a9d+(_0x2ce488(0xed,0x19d)+_0x521cfc(0x49b,0x52e))+_0x8afaab+'ms)\x0a'),_0x42109d[_0x2ce488(0xc2,0xd)](_0x2ce488(0x78,0x6c)+_0x2ce488(0xce,0x22)+_0x521cfc(0x5aa,0x57a),{'filePath':_0x42e550});}catch(_0x5aeab8){_0x42109d[_0x2ce488(0xe6,0x115)](_0x521cfc(0x4cc,0x50b)+_0x2ce488(0x18d,0xeb)+_0x521cfc(0x511,0x52d),{'error':_0x5aeab8 instanceof Error?_0x5aeab8[_0x2ce488(0x8b,0xa3)]:String(_0x5aeab8)});}return;}else _0x4b4634[_0x521cfc(0x648,0x623)+_0x2ce488(0x10d,0x63)](_0x38db1c['id'],_0x380725);}const _0x536fa6=performance[_0x521cfc(0x4a0,0x510)](),_0x1ae315={'uuid':_0x49ce95[_0x521cfc(0x5e5,0x5ca)],'type':_0x2ce488(0x69,-0x3a),'message':{'role':_0x521cfc(0x500,0x4fc),'content':_0x49ce95[_0x2ce488(0x7b,0x30)]},'timestamp':new Date()[_0x2ce488(0xeb,0x62)+'g']()},_0x18ed0f=_0x49ce95[_0x2ce488(0x83,-0x29)]===_0x2ce488(0x52,-0x29),_0x1efd17=_0x42e550?isConfigFile(_0x42e550):![],_0x6818ad=detectActualError(_0x49ce95[_0x2ce488(0x7b,0xa8)],_0x49ce95['toolInput']);let _0xbb4b3b;if(_0x49ce95[_0x2ce488(0x83,-0xa)]==='Bash'&&_0x49ce95['toolInput']){if(_0x521cfc(0x5a4,0x50f)==='Pltjt')try{const _0x455112=typeof _0x49ce95['toolInput']===_0x2ce488(0x188,0xcc)?JSON[_0x521cfc(0x5ae,0x592)](_0x49ce95[_0x521cfc(0x63e,0x5be)]):_0x49ce95[_0x2ce488(0x12b,0x181)];_0xbb4b3b=_0x455112?.['command']??_0x455112?.[_0x521cfc(0x5d9,0x587)]??(typeof _0x455112===_0x521cfc(0x5d7,0x61b)?_0x455112:undefined);}catch{_0xbb4b3b=typeof _0x49ce95['toolInput']==='string'?_0x49ce95['toolInput']:undefined;}else _0xf73930=_0x521cfc(0x5e8,0x57f);}const _0x56fa7f=scoreSignificance(_0x1ae315,{'toolName':_0x49ce95[_0x2ce488(0x83,0x26)],'isNewFile':_0x18ed0f,'isConfigChange':_0x1efd17,'hasError':_0x6818ad,'bashCommand':_0xbb4b3b},_0x4331b9[_0x2ce488(0x184,0x120)+'e'][_0x521cfc(0x4f7,0x4e3)+_0x2ce488(0x24,0x4d)+'d']),_0x3a74e9=performance['now'](),_0x5571e2=_0x4331b9[_0x521cfc(0x609,0x617)+'e'][_0x2ce488(0x50,0x59)+_0x2ce488(0x24,-0x86)+'d']*0.5;_0x42109d[_0x521cfc(0x5cd,0x555)](_0x521cfc(0x556,0x537)+'ated',{'toolName':_0x49ce95[_0x2ce488(0x83,0x127)],'score':_0x56fa7f['totalScore'],'shouldCapture':_0x56fa7f[_0x2ce488(0x5a,-0x5f)]>=_0x5571e2});if(_0x56fa7f[_0x2ce488(0x5a,-0x3e)]<_0x5571e2){if(_0x2ce488(0x138,0xe7)===_0x521cfc(0x5cc,0x5cb))return;else _0xa9f6ac[_0x2ce488(0xc2,0x14c)](_0x521cfc(0x637,0x5d9)+_0x2ce488(0xd9,0xb9),{'pushed':_0x2c593c[_0x521cfc(0x5a3,0x56c)],'pending':_0x646ed8}),_0x10f38b[_0x521cfc(0x5bd,0x5fb)]('[a2a]\x20Auto'+'-synced\x20'+_0x1793fc[_0x521cfc(0x564,0x56c)]+'\x20memories');}const _0xa8c321=determineCategory(_0x49ce95,_0x6818ad),_0x2d0acd=buildContent(_0x49ce95);if(!_0x2d0acd){_0x42109d[_0x521cfc(0x549,0x555)]('Skipping\x20m'+_0x2ce488(0xc0,0x175)+_0x2ce488(0x128,0x182)+_0x521cfc(0x5f1,0x59a),{'toolName':_0x49ce95[_0x521cfc(0x58b,0x516)]});return;}const _0x20322d=filterSensitiveInfo(_0x2d0acd);let _0x29b6a4;if(_0x6818ad)_0x29b6a4=_0x2ce488(0x90,0x10a);else{if(_0x56fa7f[_0x521cfc(0x51b,0x4ed)]<_0x4331b9[_0x2ce488(0x184,0x149)+'e'][_0x2ce488(0x50,-0x4e)+_0x2ce488(0x24,-0x1d)+'d'])_0x29b6a4=_0x521cfc(0x4a6,0x554);else{if(_0x521cfc(0x590,0x560)!==_0x521cfc(0x54b,0x53e))_0x29b6a4='semantic';else{const _0x1a6aef=typeof _0x17f68b[_0x2ce488(0x12b,0x115)]===_0x521cfc(0x655,0x61b)?_0x5ec642[_0x521cfc(0x648,0x592)](_0x23be0f[_0x2ce488(0x12b,0x148)]):_0xb477a1['toolInput'];_0x581229=_0x1a6aef?.[_0x2ce488(0x60,0xf5)]??_0x1a6aef?.['cmd']??(typeof _0x1a6aef===_0x2ce488(0x188,0x235)?_0x1a6aef:_0x871782);}}}const _0x374c7f={'content':_0x20322d[_0x521cfc(0x4a7,0x505)],'category':_0xa8c321,'tier':_0x29b6a4,'tags':buildTags(_0x49ce95),'projectPath':_0x49ce95[_0x521cfc(0x457,0x4b9)+'h'],'sessionId':_0x49ce95['sessionId'],'memoryType':CATEGORY_TYPE_MAP[_0xa8c321]??_0x521cfc(0x4f6,0x5a6)},_0x409a6b=getSharedDb(_0x4331b9['db'][_0x521cfc(0x4de,0x4c7)]),_0x3295b0=performance[_0x521cfc(0x57d,0x510)](),_0x13b7e3=new DedupManager(),_0x9c604d=_0x13b7e3['findCandid'+_0x2ce488(0x18f,0x169)](_0x409a6b[_0x521cfc(0x57f,0x52b)+'es']({'projectPath':_0x49ce95[_0x2ce488(0x26,0x79)+'h'],'limit':0x32,'excludeParents':!![]}),_0xa8c321,_0x49ce95[_0x2ce488(0x26,-0x1e)+'h']),_0x12ab1c=_0x13b7e3['decide'](_0x20322d[_0x521cfc(0x494,0x505)],_0x9c604d),_0x51a11b=performance[_0x2ce488(0x7d,0xde)]();_0x42109d[_0x521cfc(0x4c8,0x555)](_0x521cfc(0x4b1,0x56b)+_0x521cfc(0x57d,0x509),{'action':_0x12ab1c[_0x521cfc(0x62e,0x5e1)],'similarity':_0x12ab1c[_0x2ce488(0x7f,0x2)]});const _0x4c5d43=performance[_0x521cfc(0x5ba,0x510)]();let _0x2703b8;try{switch(_0x12ab1c[_0x2ce488(0x14e,0xb3)]){case _0x2ce488(0x67,0xb8):_0x42109d['info'](_0x2ce488(0x15a,0x137)+'pped\x20(dupl'+_0x521cfc(0x534,0x5e9),{'similarity':_0x12ab1c[_0x2ce488(0x7f,0x39)]});return;case _0x521cfc(0x57c,0x5f0):if(_0x12ab1c[_0x2ce488(0x20,-0x23)+'ry']){const _0x3767ca=_0x13b7e3[_0x521cfc(0x59c,0x5e0)+'nt'](_0x12ab1c[_0x521cfc(0x50c,0x4b3)+'ry'][_0x521cfc(0x572,0x4c0)],_0x20322d[_0x2ce488(0x72,-0x31)]);if(_0x3767ca[_0x521cfc(0x5c5,0x58a)]){_0x2703b8=_0x409a6b['createMemo'+'ry'](_0x374c7f);_0x29b6a4!==_0x2ce488(0xc1,0xc1)&&_0x409a6b['setSyncSta'+_0x521cfc(0x603,0x5bc)](_0x2703b8['id'],null,_0x521cfc(0x461,0x4ba));_0x42109d[_0x2ce488(0xc2,0x105)](_0x521cfc(0x540,0x5b5)+_0x2ce488(0xb8,0xa9)+_0x2ce488(0x140,0x11a)+'(would\x20tru'+_0x521cfc(0x473,0x4fb),{'targetId':_0x12ab1c[_0x2ce488(0x20,0x2e)+'ry']['id'],'newId':_0x2703b8['id'],'targetLength':_0x12ab1c[_0x2ce488(0x20,0x74)+'ry'][_0x521cfc(0x53a,0x4c0)]['length'],'wouldBeLength':_0x3767ca[_0x521cfc(0x696,0x616)+_0x521cfc(0x58e,0x5d7)]});break;}_0x409a6b[_0x2ce488(0x17f,0x131)+'ry'](_0x12ab1c[_0x521cfc(0x54c,0x4b3)+'ry']['id'],{'content':_0x3767ca[_0x2ce488(0x2d,0xc9)],'tags':[...new Set([..._0x12ab1c['targetMemo'+'ry'][_0x2ce488(0xca,0xf0)]||[],...buildTags(_0x49ce95)])]}),_0x42109d[_0x2ce488(0xc2,0x10f)]('Memory\x20upd'+'ated\x20(merg'+_0x521cfc(0x4e0,0x53b),{'memoryId':_0x12ab1c[_0x521cfc(0x460,0x4b3)+'ry']['id']});}return;case'DELETE':{if(_0x12ab1c[_0x2ce488(0x20,0x1f)+'ry']){if(_0x2ce488(0x12e,0x15d)!=='tDOqh'){if(isProtectedFromCleanup(_0x12ab1c['targetMemo'+'ry'])){if(_0x521cfc(0x537,0x51b)!==_0x521cfc(0x489,0x51b))return _0x521cfc(0x497,0x527);else _0x42109d[_0x521cfc(0x5ad,0x555)]('DELETE\x20inv'+'alidation\x20'+_0x2ce488(0x15c,0x115)+_0x2ce488(0x177,0x1c5)+'sset)',{'memoryId':_0x12ab1c['targetMemo'+'ry']['id'],'category':_0x12ab1c['targetMemo'+'ry'][_0x521cfc(0x4b8,0x4d2)]});}else _0x409a6b[_0x521cfc(0x604,0x612)+'ry'](_0x12ab1c['targetMemo'+'ry']['id'],{'invalidAt':new Date()[_0x2ce488(0xeb,0xd4)+'g']()}),_0x42109d[_0x521cfc(0x4f8,0x555)](_0x2ce488(0xc3,0xe7)+_0x2ce488(0x86,0xaa)+_0x2ce488(0xf2,0x16c),{'memoryId':_0x12ab1c[_0x521cfc(0x547,0x4b3)+'ry']['id']});}else return _0x43aabb[_0x2ce488(0xb4,0xe4)](0x0,0x1f4);}_0x2703b8=_0x409a6b[_0x521cfc(0x57a,0x552)+'ry'](_0x374c7f);_0x29b6a4!=='working'&&_0x409a6b[_0x521cfc(0x48a,0x4e8)+_0x521cfc(0x667,0x5bc)](_0x2703b8['id'],null,_0x521cfc(0x488,0x4ba));_0x42109d['info'](_0x521cfc(0x519,0x4da)+_0x521cfc(0x4bc,0x574)+_0x2ce488(0x49,0xe9),{'category':_0xa8c321,'memoryId':_0x2703b8['id']});break;}case _0x521cfc(0x4c1,0x570):default:_0x2703b8=_0x409a6b[_0x2ce488(0xbf,0x1f)+'ry'](_0x374c7f);_0x29b6a4!==_0x2ce488(0xc1,0x27)&&_0x409a6b[_0x2ce488(0x55,0x74)+'tus'](_0x2703b8['id'],null,_0x2ce488(0x27,0x6));_0x42109d[_0x2ce488(0xc2,0x139)](_0x521cfc(0x41f,0x4da)+_0x521cfc(0x4da,0x596),{'category':_0xa8c321,'memoryId':_0x2703b8['id']});break;}}catch(_0x161c1c){if(_0x521cfc(0x522,0x525)!==_0x2ce488(0x38,-0x15)){const _0x6e748e=_0x161c1c instanceof Error?_0x161c1c:new Error(String(_0x161c1c));_0x42109d[_0x521cfc(0x62f,0x5fb)]('Memory\x20cre'+'ation\x20fail'+'ed',_0x6e748e,{'category':_0xa8c321});}else try{_0x16f6e4['recordExtr'+_0x521cfc(0x535,0x4bb)]({'memoryId':_0x10cf69['id'],'sessionId':_0x566483[_0x521cfc(0x67d,0x5ca)],'significanceScore':_0x14bbe0[_0x2ce488(0x5a,0xd1)],'dedupAction':_0x437fc7[_0x2ce488(0x14e,0x183)],'tier':_0x4b9a87});}catch{}}const _0x31c045=performance['now']();if(_0x2703b8&&_0x4331b9[_0x521cfc(0x56c,0x571)]?.[_0x2ce488(0xdb,0x154)]&&_0x4331b9[_0x521cfc(0x4f4,0x571)][_0x521cfc(0x4cf,0x4cc)]===_0x521cfc(0x64c,0x5c4))try{const {createEmbeddingProvider:_0x5ea31a}=await import('../embeddi'+_0x2ce488(0x33,0x8b)+'s'),_0x30cf35=_0x5ea31a(_0x4331b9[_0x521cfc(0x585,0x571)],_0x4331b9[_0x521cfc(0x600,0x5ce)]),_0x3a35cc=await Promise[_0x521cfc(0x549,0x4d7)](_0x30cf35[_0x521cfc(0x5b5,0x573)](_0x2703b8[_0x521cfc(0x55e,0x4c0)]));Array[_0x521cfc(0x59a,0x60c)](_0x3a35cc)&&_0x409a6b[_0x521cfc(0x5b6,0x623)+_0x521cfc(0x606,0x5a0)](_0x2703b8['id'],_0x3a35cc);}catch(_0x6fd874){_0x42109d['warn'](_0x521cfc(0x609,0x600)+_0x521cfc(0x4d1,0x4c1),{'error':_0x6fd874 instanceof Error?_0x6fd874[_0x2ce488(0x8b,0xd4)]:String(_0x6fd874)});}try{const _0x291d23=_0x409a6b['getLatestI'+'njection'](_0x49ce95[_0x521cfc(0x66e,0x5ca)]);if(_0x291d23&&_0x291d23[_0x521cfc(0x5a7,0x562)+'ywords']){if(_0x2ce488(0x6e,0xdc)!=='nCugE'){const _0x58deff=(_0x49ce95[_0x2ce488(0x83,0xc6)]+'\x20'+JSON[_0x2ce488(0x115,0x94)](_0x49ce95['toolInput'])+'\x20'+String(_0x49ce95[_0x521cfc(0x540,0x50e)]))['toLowerCas'+'e'](),{parseInjectedKeywords:_0x5bc872}=await import(_0x521cfc(0x61b,0x56a)+'s'),_0x1f96e7=_0x5bc872(_0x291d23[_0x2ce488(0xcf,0x1f)+'ywords']);let _0x400e0b=[],_0x3c362e=[];if(_0x1f96e7['isMap']){for(const [_0x58345e,_0x457ded]of Object[_0x521cfc(0x59e,0x4ea)](_0x1f96e7[_0x2ce488(0x17c,0x1b4)])){const _0x3e6748=_0x457ded[_0x521cfc(0x462,0x4fe)](_0x3a97d5=>_0x58deff[_0x2ce488(0x23,0x60)](_0x3a97d5));_0x3e6748[_0x2ce488(0x1d,-0x2e)]>0x0&&(_0x400e0b[_0x521cfc(0x56e,0x4e9)](..._0x3e6748),_0x3c362e[_0x521cfc(0x540,0x4e9)](_0x58345e));}_0x400e0b=[...new Set(_0x400e0b)],_0x3c362e=[...new Set(_0x3c362e)];}else _0x400e0b=_0x1f96e7[_0x2ce488(0x14c,0x13c)][_0x521cfc(0x51a,0x4fe)](_0x12a44d=>_0x58deff['includes'](_0x12a44d));_0x400e0b['length']>0x0&&_0x409a6b[_0x2ce488(0x136,0x1e9)+'ctionHit'](_0x291d23['id'],_0x400e0b,_0x49ce95['toolName'],_0x3c362e);}else return _0x521cfc(0x677,0x5ea);}}catch{}if(_0x2703b8&&(_0x12ab1c[_0x521cfc(0x645,0x5e1)]==='ADD'||_0x12ab1c[_0x521cfc(0x667,0x5e1)]===_0x2ce488(0x18e,0x238)))try{_0x409a6b[_0x2ce488(0x151,0xb0)+'actionEval']({'memoryId':_0x2703b8['id'],'sessionId':_0x49ce95[_0x521cfc(0x577,0x5ca)],'significanceScore':_0x56fa7f[_0x521cfc(0x481,0x4ed)],'dedupAction':_0x12ab1c[_0x521cfc(0x5d7,0x5e1)],'tier':_0x29b6a4});}catch{}if(_0x2703b8&&_0x2703b8['embedding']&&_0x4331b9[_0x521cfc(0x523,0x549)+_0x521cfc(0x4eb,0x4d6)]?.[_0x2ce488(0xdb,0x48)])try{const {SkillEvaluator:_0xcf592c}=await import(_0x2ce488(0x2c,0x6d)+_0x2ce488(0x147,0x1dd)+'s'),_0x57ae8b=new _0xcf592c(_0x409a6b,_0x4331b9),_0x3d7d78=_0x57ae8b[_0x2ce488(0x48,0x70)+_0x521cfc(0x5e8,0x61e)](_0x2703b8);_0x3d7d78[_0x2ce488(0x61,-0x22)]&&_0x42109d[_0x2ce488(0xc2,0x124)](_0x521cfc(0x541,0x5ae)+_0x2ce488(0x153,0x1dd)+_0x521cfc(0x522,0x5b9),{'memoryId':_0x2703b8['id'],'skillId':_0x3d7d78['skillId']});}catch{}const _0x318e93=performance['now']();let _0x5083f4=0x0;const _0x47c4c4=_0x4331b9[_0x521cfc(0x585,0x53c)+_0x521cfc(0x513,0x51d)]?.[_0x2ce488(0xdb,0xdd)]!==![]&&_0x4331b9[_0x2ce488(0xa9,0xe)+'shot']?.['midSession'+_0x2ce488(0x97,0x51)]!==!![];if(_0x4331b9[_0x2ce488(0x75,0x115)]?.[_0x521cfc(0x4e7,0x56e)]&&_0x4331b9[_0x2ce488(0x134,0x9b)]?.['apiKey']&&!_0x47c4c4){try{const _0x3d6a43=_0x409a6b['getPending'+_0x521cfc(0x59e,0x5ec)]();if(_0x3d6a43>=AUTO_SYNC_THRESHOLD){const _0x239995=createHookClient(_0x4331b9);if(_0x239995){if(_0x2ce488(0x176,0x1aa)===_0x2ce488(0x133,0xdd)){if(typeof _0x5df9a5[_0x521cfc(0x528,0x4af)]==='string')return _0x1d6140[_0x521cfc(0x40a,0x4af)];if(typeof _0x2654ab[_0x521cfc(0x4d5,0x4c7)]===_0x521cfc(0x659,0x61b))return _0x1cd69d[_0x521cfc(0x566,0x4c7)];}else{const _0x3b9dab=new SyncQueue(_0x409a6b,_0x239995),_0xb4d7fe=await _0x3b9dab[_0x2ce488(0x70,0x7b)]({'timeoutMs':AUTO_SYNC_TIMEOUT_MS});_0xb4d7fe[_0x521cfc(0x5b7,0x56c)]>0x0&&(_0x42109d['info'](_0x521cfc(0x621,0x5d9)+_0x2ce488(0xd9,0xf6),{'pushed':_0xb4d7fe['pushed'],'pending':_0x3d6a43}),console[_0x2ce488(0x168,0x1bd)](_0x2ce488(0xdc,0x186)+'-synced\x20'+_0xb4d7fe['pushed']+_0x521cfc(0x553,0x54c)));}}}}catch(_0x136b06){'mJybo'==='WMOQy'?_0x36ec83=_0x2ce488(0xc1,0xad):_0x42109d['warn'](_0x521cfc(0x542,0x5d9)+_0x2ce488(0x2e,-0x35),{'error':_0x136b06 instanceof Error?_0x136b06[_0x2ce488(0x8b,0x81)]:String(_0x136b06)});}_0x5083f4=Math[_0x521cfc(0x5b5,0x618)](performance[_0x521cfc(0x59e,0x510)]()-_0x318e93);}else _0x4331b9[_0x2ce488(0x75,0x49)]?.[_0x2ce488(0xdb,0x10c)]&&_0x4331b9['server']?.['apiKey']&&_0x47c4c4&&(_0x521cfc(0x574,0x530)!==_0x521cfc(0x499,0x530)?_0x3baa5c(_0x2b5510[_0x2ce488(0x20,0x87)+'ry'])?_0x49051f['info'](_0x521cfc(0x4f0,0x5a7)+'alidation\x20'+_0x2ce488(0x15c,0x135)+'rotected\x20a'+_0x521cfc(0x581,0x4ff),{'memoryId':_0x41120a[_0x2ce488(0x20,0x76)+'ry']['id'],'category':_0x53f23d[_0x521cfc(0x4f3,0x4b3)+'ry'][_0x521cfc(0x45f,0x4d2)]}):(_0x2ab7e4['updateMemo'+'ry'](_0xa6f55f[_0x521cfc(0x54b,0x4b3)+'ry']['id'],{'invalidAt':new _0x37971f()[_0x521cfc(0x4c7,0x57e)+'g']()}),_0x3e54ee[_0x521cfc(0x505,0x555)]('Old\x20memory'+_0x521cfc(0x51e,0x519)+'lidated',{'memoryId':_0x477b38['targetMemo'+'ry']['id']})):_0x42109d[_0x2ce488(0x2f,0xe9)](_0x2ce488(0x142,0x1df)+_0x521cfc(0x4d0,0x546)+_0x521cfc(0x551,0x559)+_0x2ce488(0x35,-0x65)+_0x2ce488(0x104,0x178)+_0x521cfc(0x659,0x60d)+'onEnd'));const _0x19e309=Math['round'](performance[_0x521cfc(0x4f4,0x510)]()-_0x36aae0),_0x532440=Math[_0x521cfc(0x598,0x618)](_0x210fb5-_0x36aae0),_0x22b24a=Math[_0x521cfc(0x5a1,0x618)](_0x3a74e9-_0x536fa6),_0x1a2d9b=Math[_0x521cfc(0x58d,0x618)](_0x51a11b-_0x3295b0),_0x2ac550=Math['round'](_0x31c045-_0x4c5d43),_0x139bae=_0x5083f4>0x0?_0x2ce488(0x118,0x1a4)+_0x5083f4+'ms':'';process[_0x521cfc(0x5bc,0x593)][_0x2ce488(0xa1,0xec)](_0x2ce488(0xac,0xad)+_0x2ce488(0x15e,0x130)+'mpleted\x20(t'+'otal:\x20'+_0x19e309+(_0x521cfc(0x5e0,0x5af)+'g:\x20')+_0x532440+('ms,\x20signif'+'icance:\x20')+_0x22b24a+(_0x2ce488(0x171,0xf5)+'\x20')+_0x1a2d9b+_0x521cfc(0x5c5,0x541)+_0x2ac550+'ms'+_0x139bae+')\x0a'),_0x42109d[_0x521cfc(0x4e4,0x555)](_0x521cfc(0x5f7,0x614)+_0x2ce488(0xe9,0x5c),{'durationMs':_0x19e309});}finally{_0x42109d[_0x521cfc(0x56b,0x503)]();}}function _0x5ad0fb(_0x11f296,_0x28a3b3){return _0x3cc4(_0x28a3b3- -0xf6,_0x11f296);}function extractFilePath(_0x5421d4){function _0x1bd7ef(_0x39e763,_0x2ee794){return _0x5ad0fb(_0x2ee794,_0x39e763-0x4a5);}let _0x2c2eca=_0x5421d4;function _0x3acebf(_0x441973,_0x1fb009){return _0x5ad0fb(_0x1fb009,_0x441973-0x377);}if(typeof _0x2c2eca==='string'){if(_0x3acebf(0x49f,0x44a)===_0x3acebf(0x49f,0x4b0))try{_0x2c2eca=JSON[_0x3acebf(0x4c9,0x489)](_0x2c2eca);}catch{if('PfScL'!==_0x3acebf(0x3f4,0x3b9))return null;else try{_0x2a2ff0=_0x1d7366['parse'](_0x478d4c);}catch{return null;}}else return _0x1bd7ef(0x562,0x51b);}if(typeof _0x2c2eca===_0x1bd7ef(0x602,0x5c5)&&_0x2c2eca!==null){if(typeof _0x2c2eca['file_path']===_0x3acebf(0x552,0x5d7))return _0x2c2eca[_0x1bd7ef(0x514,0x45f)];if(typeof _0x2c2eca[_0x3acebf(0x3fe,0x45c)]===_0x1bd7ef(0x680,0x65b))return _0x2c2eca[_0x1bd7ef(0x52c,0x552)];}return null;}function isSensitiveFile(_0x2f7349,_0x443c4c){function _0x178b65(_0x456636,_0xf6f210){return _0x49c2f5(_0xf6f210,_0x456636-0x1e4);}const _0xb9d60b=_0x2f7349['split']('/')[_0x178b65(0x3ae,0x3e2)]()??'';function _0x40b549(_0x21f229,_0x4ae100){return _0x49c2f5(_0x21f229,_0x4ae100- -0x380);}return _0x443c4c[_0x40b549(-0xa2,-0x11b)](_0x17bc51=>{function _0x32f78b(_0x37dab8,_0x488026){return _0x178b65(_0x37dab8- -0x46d,_0x488026);}if(_0x17bc51['startsWith']('*'))return _0xb9d60b['endsWith'](_0x17bc51['slice'](0x1));function _0x203079(_0x8a4e8a,_0x4a646d){return _0x178b65(_0x4a646d-0x1b2,_0x8a4e8a);}if(_0x17bc51[_0x203079(0x59c,0x5ea)]('*'))return _0xb9d60b[_0x32f78b(-0x111,-0x106)](_0x17bc51[_0x203079(0x4e2,0x571)](0x0,-0x1));return _0xb9d60b===_0x17bc51;});}function isConfigFile(_0x19d9e1){function _0x5e9486(_0x29bd0b,_0x50d7d1){return _0x49c2f5(_0x29bd0b,_0x50d7d1-0x313);}const _0x8a3dc7=['.json',_0x35cd90(0x3db,0x398),_0x5e9486(0x5bd,0x502),_0x35cd90(0x4cd,0x548),_0x35cd90(0x4fb,0x532),_0x35cd90(0x4e7,0x540),_0x35cd90(0x4f2,0x4fe)];function _0x35cd90(_0x2bba31,_0x47c153){return _0x49c2f5(_0x47c153,_0x2bba31-0x257);}return _0x8a3dc7['some'](_0x2ad143=>_0x19d9e1[_0x5e9486(0x4d1,0x567)](_0x2ad143));}function detectActualError(_0x1234ad,_0x4bc51b){if(_0x1234ad[_0x4e37ed(-0x124,-0x18e)]<0xc8)return![];const _0x7908f4=_0x4bc51b?.[_0xfbce57(0x479,0x404)];if(_0x7908f4===_0x4e37ed(-0x22c,-0x182))return![];const _0xa1f940=_0x1234ad['toLowerCas'+'e']();function _0xfbce57(_0x5d8518,_0x10c71d){return _0x49c2f5(_0x10c71d,_0x5d8518-0x2cf);}const _0x9de069=[_0xfbce57(0x507,0x4f5),_0xfbce57(0x492,0x4db),'ERROR:',_0xfbce57(0x4bf,0x53c),_0x4e37ed(-0x52,-0x94),'failed:','Failed:',_0xfbce57(0x55c,0x5c7),_0xfbce57(0x539,0x4ff),_0x4e37ed(-0x12a,-0x7b)];function _0x4e37ed(_0x5d440b,_0x125e96){return _0x49c2f5(_0x5d440b,_0x125e96- -0x2d2);}const _0x3533c4=_0x9de069[_0x4e37ed(-0x53,-0x6d)](_0xe99f2b=>_0x1234ad[_0x4e37ed(-0x1ab,-0x188)](_0xe99f2b)||_0xa1f940[_0xfbce57(0x419,0x4b7)](_0xe99f2b[_0x4e37ed(-0x18e,-0xf6)+'e']()));if(!_0x3533c4)return![];const _0xaa3f48=_0x4bc51b?.[_0x4e37ed(-0x149,-0x18f)]||_0x4bc51b?.[_0x4e37ed(-0x101,-0x177)]||'';if(_0xaa3f48[_0xfbce57(0x4ab,0x51a)+'e']()[_0x4e37ed(-0x10e,-0x188)](_0x4e37ed(-0x1a,-0x43))&&!_0x9de069[_0xfbce57(0x4aa,0x490)](0x2)[_0x4e37ed(0xc,-0x6d)](_0x5d11ab=>_0xa1f940[_0xfbce57(0x419,0x378)](_0x5d11ab[_0xfbce57(0x4ab,0x506)+'e']())))return![];return!![];}function _0x49c2f5(_0x41bfd5,_0x38c2e8){return _0x3cc4(_0x38c2e8- -0x22,_0x41bfd5);}const LEARNING_KEYWORDS_RE=/(?:learned|배웠|깨달|교훈|실수.*통해|TIL|today I learned|새로.*알게|이해.*됐|이해하게|발견.*했|mistake.*from|lesson|시행착오|주의사항|함정|pitfall|gotcha|삽질|해결.*방법|원인.*파악|root cause|workaround|우회|다음번|앞으로|기억해|remember)/i;function determineCategory(_0x1afc98,_0x44bc19){if(_0x44bc19)return _0x1dab49(0x190,0x1fa)+_0x1dab49(0x103,0x9c);const _0x5f425e=_0x1afc98['toolResult']['toLowerCas'+'e']();function _0x3f78ff(_0x67ebd9,_0x4bb6b7){return _0x49c2f5(_0x4bb6b7,_0x67ebd9- -0x1c9);}function _0x1dab49(_0xe54f1b,_0xb194ef){return _0x49c2f5(_0xb194ef,_0xe54f1b- -0x8a);}const _0x532f41=_0x1afc98[_0x3f78ff(-0x27,0x4b)];if(_0x1afc98[_0x3f78ff(-0x1f,-0x72)]===_0x1dab49(0x147,0x176)){const _0x5aa9ba=/^\[master |^\[main |^{"stdout":|^=== \d+\.|^\s*\d+ files? changed/m[_0x3f78ff(0xa9,0xe8)](_0x1afc98[_0x1dab49(0x118,0x122)]);if(_0x5aa9ba)return _0x3f78ff(-0x38,-0xec);const _0x474dc1=['chose',_0x1dab49(0x1b6,0x257),'opted\x20for',_0x1dab49(0x11f,0x17c),'picked',_0x1dab49(0x1e7,0x252)];if(_0x474dc1[_0x3f78ff(0x9c,0xa)](_0x3b5900=>_0x5f425e['includes'](_0x3b5900)))return'decision';const _0x52eac1=[_0x3f78ff(0xd6,0x166),_0x3f78ff(0x41,-0x1),'pattern',_0x1dab49(0x1bc,0x10f),_0x1dab49(0x15a,0x16d),'best\x20pract'+'ice'];if(_0x52eac1[_0x1dab49(0x1db,0x182)](_0x52b0ed=>_0x5f425e[_0x1dab49(0xc0,0x159)](_0x52b0ed)))return _0x1dab49(0x215,0x27b);if(LEARNING_KEYWORDS_RE[_0x1dab49(0x1e8,0x12e)](_0x532f41))return'learning';}if(_0x1afc98[_0x1dab49(0x120,0x19b)]===_0x3f78ff(-0x79,0x19)||_0x1afc98[_0x3f78ff(-0x1f,-0xaa)]==='Grep'||_0x1afc98['toolName']===_0x3f78ff(-0x44,-0x1b))return _0x1dab49(0x107,0xfc);if(_0x1afc98[_0x1dab49(0x120,0x1b8)]===_0x1dab49(0xef,0x193)||_0x1afc98[_0x3f78ff(-0x1f,0x37)]==='Edit'){const _0x8a1223=extractFilePath(_0x1afc98[_0x1dab49(0x1c8,0x1ff)]),_0x20b8ba=_0x1afc98['toolResult'];if(_0x8a1223&&(_0x8a1223['includes'](_0x3f78ff(-0x15,0x3e))||_0x8a1223[_0x1dab49(0xc0,0x83)](_0x3f78ff(0x74,0xf4)))){if(_0x1dab49(0xd9,0xf3)!==_0x1dab49(0xd9,0x2d))try{const _0x2f681e=typeof _0x33de0b[_0x1dab49(0x1c8,0x22a)]===_0x3f78ff(0xe6,0x186)?_0x4652d7[_0x1dab49(0x19c,0x166)](_0x54cbc4[_0x1dab49(0x1c8,0x1ff)]):_0x464a79[_0x3f78ff(0x89,0x12)];_0x9bdfd0=_0x2f681e?.[_0x1dab49(0xfd,0x176)]??_0x2f681e?.[_0x3f78ff(0x52,-0x15)]??(typeof _0x2f681e===_0x1dab49(0x225,0x1d5)?_0x2f681e:_0x38aaf2);}catch{_0xb45801=typeof _0x2f876f[_0x1dab49(0x1c8,0x222)]===_0x1dab49(0x225,0x1e8)?_0x1125f7[_0x1dab49(0x1c8,0x13d)]:_0xe5bcdf;}else return'context';}if(_0x20b8ba['length']<0x32||_0x20b8ba['toLowerCas'+'e']()[_0x3f78ff(-0x7f,0x2d)](_0x1dab49(0x13f,0x102)+_0x1dab49(0x102,0x196)+_0x1dab49(0x20d,0x162))||_0x20b8ba[_0x3f78ff(0x13,-0x71)+'e']()[_0x3f78ff(-0x7f,-0x53)]('file\x20creat'+'ed')||_0x20b8ba[_0x1dab49(0x152,0x16c)+'e']()[_0x1dab49(0xc0,0xdd)](_0x1dab49(0x1ef,0x1e0)+_0x3f78ff(0xbd,0x8f)))return _0x3f78ff(-0x38,-0xf4);if(LEARNING_KEYWORDS_RE[_0x3f78ff(0xa9,0x8e)](_0x20b8ba))return _0x1dab49(0x131,0xbd);return'code_patte'+'rn';}return _0x3f78ff(-0x38,-0x83);}function _0x3cc4(_0x3dfe9a,_0x4825a0){_0x3dfe9a=_0x3dfe9a-0x163;const _0x49428f=_0x4942();let _0x3cc4e9=_0x49428f[_0x3dfe9a];if(_0x3cc4['ymXJnO']===undefined){var _0x252d02=function(_0x3ff4cf){const _0x569042='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x18719a='',_0x5e99e9='';for(let _0xe2c6d8=0x0,_0x5888dc,_0xd2ad92,_0x3c8d6c=0x0;_0xd2ad92=_0x3ff4cf['charAt'](_0x3c8d6c++);~_0xd2ad92&&(_0x5888dc=_0xe2c6d8%0x4?_0x5888dc*0x40+_0xd2ad92:_0xd2ad92,_0xe2c6d8++%0x4)?_0x18719a+=String['fromCharCode'](0xff&_0x5888dc>>(-0x2*_0xe2c6d8&0x6)):0x0){_0xd2ad92=_0x569042['indexOf'](_0xd2ad92);}for(let _0x43c42e=0x0,_0xea0f86=_0x18719a['length'];_0x43c42e<_0xea0f86;_0x43c42e++){_0x5e99e9+='%'+('00'+_0x18719a['charCodeAt'](_0x43c42e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5e99e9);};_0x3cc4['oTSJww']=_0x252d02,_0x3cc4['dULtjU']={},_0x3cc4['ymXJnO']=!![];}const _0x4e6b19=_0x49428f[0x0],_0x1f77a2=_0x3dfe9a+_0x4e6b19,_0x12352c=_0x3cc4['dULtjU'][_0x1f77a2];return!_0x12352c?(_0x3cc4e9=_0x3cc4['oTSJww'](_0x3cc4e9),_0x3cc4['dULtjU'][_0x1f77a2]=_0x3cc4e9):_0x3cc4e9=_0x12352c,_0x3cc4e9;}export function buildContent(_0x4280c3){const _0x2c090e=extractFilePath(_0x4280c3[_0x20d7ef(0x173,0x1a5)]);let _0x4f77e2=_0x4280c3[_0x34d167(0x377,0x42b)][_0x34d167(0x427,0x464)](0x0,0x5dc)[_0x20d7ef(0x155,0x9c)]();(_0x4280c3[_0x34d167(0x3c9,0x433)]===_0x20d7ef(0xb0,0xd5)||_0x4280c3[_0x34d167(0x4bb,0x433)]===_0x34d167(0x35b,0x402))&&_0x4f77e2['startsWith']('{')&&(_0x4f77e2=stripDiffContent(_0x4f77e2));_0x4280c3[_0x20d7ef(0xe8,0xfd)]===_0x34d167(0x452,0x45a)&&_0x4f77e2[_0x20d7ef(0x145,0xcb)]('{')&&(_0x4f77e2=extractBashContent(_0x4f77e2));_0x4f77e2[_0x20d7ef(0x18,0x97)]>0x1f4&&(_0x4f77e2['startsWith']('{')||_0x4f77e2['startsWith']('['))&&(_0x34d167(0x5a3,0x52b)===_0x20d7ef(0x94,0x13e)?(_0x2a7c74[_0x20d7ef(0x1ac,0x1f9)+'ry'](_0x182a25[_0x20d7ef(-0x4,0x9a)+'ry']['id'],{'invalidAt':new _0x3baa69()[_0x20d7ef(0x202,0x165)+'g']()}),_0x465ad9['info']('Old\x20memory'+_0x34d167(0x460,0x436)+'lidated',{'memoryId':_0x312d95[_0x34d167(0x481,0x3d0)+'ry']['id']})):_0x4f77e2=summarizeJsonResult(_0x4f77e2));function _0x20d7ef(_0x54f359,_0x54809b){return _0x49c2f5(_0x54f359,_0x54809b- -0xad);}function _0x34d167(_0x4af1bd,_0x3a3e67){return _0x49c2f5(_0x4af1bd,_0x3a3e67-0x289);}_0x4f77e2=_0x4f77e2['slice'](0x0,0x3e8)[_0x34d167(0x392,0x3d2)]();if(!_0x4f77e2||isNoiseResult(_0x4f77e2)){if('wxhSJ'!==_0x34d167(0x4ee,0x4d0))return'';else{const _0x200f00=[_0x20d7ef(0xe8,0xbc),_0x20d7ef(0x102,0xd7),_0x20d7ef(0x1bc,0x142),_0x20d7ef(0x12e,0x1c9),_0x34d167(0x48a,0x52d),_0x20d7ef(0x173,0x1e3),'.cfg'];return _0x200f00[_0x20d7ef(0x132,0x1b8)](_0x195623=>_0x150d70[_0x20d7ef(0x1ae,0x1a7)](_0x195623));}}const _0x3bcb8=[];if(_0x2c090e)_0x3bcb8[_0x34d167(0x402,0x406)]('File:\x20'+_0x2c090e);_0x3bcb8[_0x34d167(0x4a8,0x406)](_0x4f77e2);const _0x5959fd=_0x3bcb8[_0x20d7ef(0xc3,0xc0)]('\x0a');if(_0x5959fd['length']<0x14)return'';return _0x5959fd;}function stripDiffContent(_0x5b2c18){function _0x1a0c36(_0x4b0b54,_0x1365a6){return _0x5ad0fb(_0x1365a6,_0x4b0b54-0x2ea);}function _0x2a2c13(_0x1dfb2a,_0x4a19ff){return _0x5ad0fb(_0x4a19ff,_0x1dfb2a-0x354);}try{const _0x4e7fe4=JSON[_0x1a0c36(0x43c,0x4e0)](_0x5b2c18);if(_0x4e7fe4[_0x2a2c13(0x4a0,0x533)]||_0x4e7fe4[_0x1a0c36(0x4ab,0x53f)]||_0x4e7fe4[_0x2a2c13(0x51a,0x46c)+_0x2a2c13(0x50b,0x580)]||_0x4e7fe4[_0x1a0c36(0x4a2,0x508)]&&_0x4e7fe4[_0x1a0c36(0x467,0x4fa)]&&typeof _0x4e7fe4[_0x1a0c36(0x36a,0x413)]===_0x1a0c36(0x4c5,0x558)){if(_0x2a2c13(0x416,0x460)!=='Vafue')return'';else _0x226052=_0x4ea1a0(_0x17d280);}return _0x5b2c18;}catch{if(_0x5b2c18[_0x2a2c13(0x3ca,0x42b)](_0x2a2c13(0x454,0x471)+'\x22')||_0x5b2c18[_0x2a2c13(0x3ca,0x41d)](_0x2a2c13(0x403,0x492)+'\x22')||_0x5b2c18[_0x1a0c36(0x360,0x3e7)](_0x2a2c13(0x516,0x468)+_0x1a0c36(0x495,0x4eb))||_0x5b2c18[_0x2a2c13(0x3ca,0x389)]('\x22type\x22')&&_0x5b2c18['includes']('\x22filePath\x22')&&_0x5b2c18[_0x1a0c36(0x360,0x3b3)](_0x2a2c13(0x4ca,0x49e)))return'';return _0x5b2c18;}}function extractBashContent(_0x5f2e45){function _0x936b6d(_0x3e240d,_0x56f34a){return _0x5ad0fb(_0x56f34a,_0x3e240d- -0x114);}function _0x22d26a(_0x5d19dd,_0x4fb392){return _0x5ad0fb(_0x4fb392,_0x5d19dd- -0x2a);}try{if(_0x936b6d(-0x90,-0x13d)===_0x22d26a(0x5a,0x38)){const _0x34828c=JSON['parse'](_0x5f2e45),_0x594776=(_0x34828c[_0x936b6d(-0x8b,-0x6)]||'')['trim'](),_0x164d7a=(_0x34828c[_0x936b6d(0x3f,0x6f)]||'')[_0x936b6d(-0x9f,-0xb1)]();if(_0x164d7a&&_0x164d7a['length']>0xa){if('Cneco'!==_0x936b6d(0x9a,0xfc))return _0x936b6d(0xaa,0x1)+_0x164d7a[_0x22d26a(0xdd,0xbc)](0x0,0x1f4)+(_0x594776?_0x936b6d(0x5d,-0x25)+_0x594776[_0x22d26a(0xdd,0x53)](0x0,0x12c):'');else{for(const [_0x2f1931,_0x3e2746]of _0x2fa9b8[_0x22d26a(0x80,0x6f)](_0x4d6a11[_0x22d26a(0x1a5,0x1f6)])){const _0x4072e1=_0x3e2746[_0x936b6d(-0x56,-0xf6)](_0x301ea3=>_0x32f384['includes'](_0x301ea3));_0x4072e1[_0x936b6d(-0xa4,-0x97)]>0x0&&(_0x217161[_0x22d26a(0x7f,0x117)](..._0x4072e1),_0x1267cc[_0x936b6d(-0x6b,-0x66)](_0x2f1931));}_0x5650b7=[...new _0x2d6aaf(_0x4981af)],_0x595f30=[...new _0x1073a5(_0x1e289e)];}}if(_0x594776)return _0x594776[_0x22d26a(0xdd,0xc1)](0x0,0x3e8);return _0x5f2e45['slice'](0x0,0x1f4);}else return'';}catch{if(_0x22d26a(0xba,0x66)===_0x936b6d(-0xa7,0x8))_0x595daf=typeof _0x46afbb[_0x22d26a(0x154,0xd1)]===_0x936b6d(0xc7,0xac)?_0x112a5e[_0x936b6d(0x6a,-0x1c)]:_0x4cc32d;else return _0x5f2e45[_0x936b6d(-0xd,0x20)](0x0,0x3e8);}}function summarizeJsonResult(_0x3f5203){function _0x108d63(_0x2e629a,_0x54d91b){return _0x5ad0fb(_0x2e629a,_0x54d91b-0x23e);}function _0x355b15(_0x145ba5,_0x3c70cc){return _0x5ad0fb(_0x145ba5,_0x3c70cc- -0x131);}try{const _0x4550ec=JSON[_0x108d63(0x313,0x390)](_0x3f5203);if(Array[_0x355b15(0xd8,0x9b)](_0x4550ec))return'Taxfy'!==_0x108d63(0x444,0x3a3)?'[Array:\x20'+_0x4550ec[_0x108d63(0x338,0x2ae)]+_0x355b15(-0x16c,-0xc3)+JSON['stringify'](_0x4550ec[0x0])[_0x108d63(0x2e1,0x345)](0x0,0xc8)+_0x108d63(0x2c6,0x337):'';const _0xd8cb13=Object['keys'](_0x4550ec)[_0x108d63(0x3ce,0x345)](0x0,0xa),_0x692d39=_0xd8cb13[_0x108d63(0x3cd,0x34b)](_0x127ee1=>{const _0x19d29c=_0x4550ec[_0x127ee1];function _0x5d55a2(_0x7ed8c9,_0x78948a){return _0x108d63(_0x7ed8c9,_0x78948a- -0x12b);}function _0x3facdc(_0x1cd5e7,_0x12e933){return _0x108d63(_0x1cd5e7,_0x12e933- -0x67);}const _0x418add=typeof _0x19d29c==='string'?_0x19d29c[_0x5d55a2(0x241,0x21a)](0x0,0x50):JSON[_0x5d55a2(0x213,0x27b)](_0x19d29c)[_0x3facdc(0x270,0x2de)](0x0,0x50);return _0x127ee1+':\x20'+_0x418add;})[_0x108d63(0x383,0x2d7)](',\x20');return _0x692d39[_0x108d63(0x3a3,0x345)](0x0,0x320);}catch{if(_0x355b15(-0x1c,0x5c)==='YjJpo')return _0x3f5203[_0x355b15(-0xb,-0x2a)](0x0,0x1f4);else{const _0x2acaef=_0x191a13[_0x355b15(0xc7,0xa9)](/\.[^.]+$/,'');_0x2acaef[_0x355b15(-0xc1,-0xc1)]>0x2&&!_0x15329f[_0x108d63(0x343,0x2cc)](_0x2acaef[_0x355b15(0x39,-0x29)+'e']())&&_0x33433a[_0x355b15(-0x64,-0x88)](_0x2acaef);}}}function isNoiseResult(_0x1e11c7){const _0x1c81d0=_0x1e11c7[_0x1a332d(0x353,0x2d2)]();if(_0x1c81d0[_0x1a332d(0x382,0x3dd)](_0x1a332d(0x441,0x486)))return!![];if(_0x1c81d0[_0x1a332d(0x382,0x322)](_0x4b9771(0x7e,0xe6)+'\x22')||_0x1c81d0[_0x4b9771(-0x6a,-0x11c)]('{\x22file_pat'+'h\x22'))return!![];if(_0x1c81d0['includes']('/var/folde'+_0x1a332d(0x37c,0x406)))return!![];if(_0x1c81d0[_0x1a332d(0x382,0x412)]('first_upti'+_0x1a332d(0x3a5,0x2f5))||_0x1c81d0[_0x1a332d(0x382,0x3d8)]('second_upt'+_0x4b9771(-0x48,-0x4d)))return!![];if(_0x1c81d0[_0x1a332d(0x382,0x436)](_0x4b9771(-0x9a,-0xcd))||_0x1c81d0[_0x4b9771(-0x6a,-0xd3)](_0x1a332d(0x433,0x4e6)))return!![];if(_0x1c81d0[_0x1a332d(0x382,0x418)](_0x1a332d(0x485,0x418)+_0x4b9771(0x46,0x94)))return!![];const _0x5ebe66=_0x1c81d0[_0x1a332d(0x3e5,0x3dd)](0x0,0xc8);if(_0x5ebe66[_0x1a332d(0x354,0x2ab)](_0x4b9771(0xa6,-0x4)+_0x1a332d(0x3b8,0x40f))&&_0x5ebe66[_0x1a332d(0x354,0x2f9)]('\x22uptime_se'+_0x4b9771(-0x16,-0x60)))return!![];const _0x498687=_0x1c81d0[_0x1a332d(0x470,0x3d3)]('\x0a',0x1)[0x0];function _0x1a332d(_0x2707fd,_0x7c55b4){return _0x5ad0fb(_0x7c55b4,_0x2707fd-0x2de);}const _0x2eb714=[/브랜치로\s*전환합니다$/,/^Switched to (?:a new )?branch ['"]/,/^Merge made by /,/^\[[\w/.\-]+\s+[0-9a-f]{7,}\]/,/^npm (?:notice|WARN|info|ERR)/,/^[\w.\-]+\.\d+\.[a-z0-9]+@[\w-]+\s+\|/,/^=== \d+\./,/^https?:\/\/[\w.\-]+\/\S+\s+URL에서$/,/^(?:FAIL\s{2}|(?:FAIL|PASS)\s+tests?\/)/,/⎯{4,}/,/^Test Files\s+\d/,/^[A-Z][A-Z0-9_]*(?:=\d+)?$/,/^={3}[^=]{0,60}={3}$/,/\x1b\[[0-9;]*m/,/^이미 .*(?:있습니다|상태입니다)/,/^브랜치가 .*(?:상태입니다|업데이트)/,/^\s*\d+ files? changed, /,/^\s*(?:create|delete) mode \d{6} /,/^[0-9a-f]{7,40} (?:\[|Merge |docs|feat|fix|chore|test|refactor|perf|ci|build|ops|style)\b/,/^To \S+\.git$/,/^\s*\* \[new (?:tag|branch)\]/,/^\s*[├└]──\s/,/^\d+\.\d+\.\d+$/,/^(?!(?:19|20)\d\d:\s)\d{1,5}[:→]/];if(_0x2eb714['some'](_0x386ce6=>_0x386ce6[_0x1a332d(0x47c,0x4f9)](_0x498687)))return!![];const _0x5e9543=[/^File (?:created|updated|written|modified|deleted)(?: successfully)?\.?$/i,/^(?:File )?(?:written|created|saved) successfully\.?$/i,/^(?:No|0) (?:files?|changes?) /i,/^\d+ files? (?:found|matched|updated|deleted)\.?$/i,/^(?:Success|Done|OK|Created|Updated|Deleted)\.?$/i];function _0x4b9771(_0x4a93ad,_0x4b81dd){return _0x5ad0fb(_0x4b81dd,_0x4a93ad- -0x10e);}return _0x5e9543[_0x4b9771(0x83,0x7f)](_0x376965=>_0x376965[_0x4b9771(0x90,0xb3)](_0x1c81d0));}const TAG_BLOCKLIST=new Set(['id',_0x49c2f5(0x24b,0x1a1),_0x5ad0fb(0x136,0x1bd),_0x49c2f5(0x204,0x2b0),_0x5ad0fb(0x129,0x19b),_0x49c2f5(0x115,0x164),_0x49c2f5(0x307,0x289),_0x49c2f5(0x331,0x28a),'to','in','of','a','is',_0x49c2f5(0x178,0x198),_0x49c2f5(0x109,0x1a4),'add',_0x49c2f5(0x292,0x22d),_0x49c2f5(0x189,0x1b5),_0x5ad0fb(0xe2,0x10d),_0x5ad0fb(0xf,0x75),'type',_0x5ad0fb(0xd3,0x158),_0x49c2f5(0x18a,0x1d7),'new',_0x49c2f5(0x27b,0x272),_0x49c2f5(0x211,0x27e),_0x5ad0fb(0xd0,0x146)+'tion',_0x5ad0fb(0xe6,0x13d)+'rn','context',_0x5ad0fb(0x15b,0x1cb),_0x5ad0fb(0x171,0xe6),_0x49c2f5(0x1e4,0x1bb),_0x49c2f5(0x1d3,0x1ac)+_0x5ad0fb(0x179,0x162),_0x5ad0fb(-0xd,0xa5),_0x49c2f5(0x1a4,0x182),'Bash','Read',_0x49c2f5(0x221,0x185),_0x5ad0fb(0x178,0x105),_0x5ad0fb(0xf1,0x11e),_0x5ad0fb(0x1a1,0x190),'WebSearch',_0x49c2f5(0x1e0,0x1c8),'edit','bash','read',_0x49c2f5(0x185,0x1c7),_0x5ad0fb(0xea,0x14f),_0x49c2f5(0x281,0x24e),_0x49c2f5(0x1e3,0x1a0),_0x49c2f5(0x158,0x1e5)]),STOPWORDS=new Set([_0x49c2f5(0x229,0x28a),_0x5ad0fb(0x136,0xe9),_0x49c2f5(0x1c3,0x26c),_0x49c2f5(0x207,0x1a7),_0x5ad0fb(0x16d,0xd4),_0x5ad0fb(0x148,0xf1),'have','has','had',_0x5ad0fb(0x1c8,0x138),_0x49c2f5(0x235,0x1fb),_0x49c2f5(0x1d1,0x1f9),_0x5ad0fb(-0x1c,0x72),_0x5ad0fb(0x1ea,0x149),_0x49c2f5(0x31d,0x270),'shall',_0x49c2f5(0x1ca,0x17b),_0x49c2f5(0x1e2,0x1b0),_0x49c2f5(0x1fa,0x1fd),'its','for',_0x5ad0fb(-0x21,0x78),'with',_0x49c2f5(0x1ba,0x189),_0x5ad0fb(0x198,0x1bf),_0x49c2f5(0x1f4,0x16c),'after',_0x49c2f5(0x1ce,0x161),_0x49c2f5(0x217,0x174),_0x5ad0fb(0x1ba,0x1dd),_0x49c2f5(0x260,0x1d6),_0x49c2f5(0x289,0x2a7),_0x5ad0fb(0x12a,0x177),_0x49c2f5(0x2ba,0x248),_0x49c2f5(0x1f0,0x159),_0x49c2f5(0x1ac,0x256),_0x5ad0fb(0x18e,0x1d1),_0x49c2f5(0x1a7,0x21f),_0x5ad0fb(0x138,0x191),_0x5ad0fb(0x27,0x7e),_0x49c2f5(0x19d,0x209),'own',_0x49c2f5(0xc7,0x175),_0x49c2f5(0x124,0x173),_0x5ad0fb(0x1c6,0x1d9),'very',_0x49c2f5(0x2ba,0x232),_0x49c2f5(0x1f1,0x27c),'true',_0x5ad0fb(0xf7,0x194),_0x5ad0fb(0xdf,0xb2),_0x5ad0fb(0x9f,0xab),'undefined','they',_0x5ad0fb(0x220,0x1c5),_0x49c2f5(0x20d,0x18b),_0x5ad0fb(0x181,0x1a3),_0x5ad0fb(0xa1,0x123),_0x5ad0fb(0x18d,0x124),_0x49c2f5(0x21e,0x217),_0x49c2f5(0x1cc,0x1ec),'we']),WORD_RE=/[A-Za-z가-힣][A-Za-z가-힣0-9_]{2,30}/g;function extractKeywords(_0x47a77b,_0x2836a7=0x3){const _0x32dafd=_0x47a77b[_0x9733ff(0x4d4,0x552)+'e']();function _0x9733ff(_0x2e4504,_0x2e476f){return _0x49c2f5(_0x2e4504,_0x2e476f-0x376);}function _0x3911cd(_0xe7c282,_0x162576){return _0x49c2f5(_0xe7c282,_0x162576-0xf6);}const _0x5e9e9e=_0x32dafd[_0x9733ff(0x437,0x4dd)](WORD_RE)||[],_0x16a009=new Map();for(const _0x482bb4 of _0x5e9e9e){if(_0x482bb4['length']<0x3)continue;if(STOPWORDS['has'](_0x482bb4))continue;if(TAG_BLOCKLIST['has'](_0x482bb4))continue;_0x16a009[_0x9733ff(0x67a,0x5e5)](_0x482bb4,(_0x16a009[_0x3911cd(0x351,0x3a6)](_0x482bb4)||0x0)+0x1);}return[..._0x16a009['entries']()][_0x3911cd(0x359,0x3a9)]((_0x131b6a,_0x1f4b3e)=>_0x1f4b3e[0x1]-_0x131b6a[0x1])[_0x3911cd(0x382,0x2d1)](0x0,_0x2836a7)[_0x9733ff(0x5d2,0x557)](([_0xbc1ce9])=>_0xbc1ce9);}function buildTags(_0x6e4ce6){const _0x2d7197=[];function _0x56de42(_0x1aca81,_0x282796){return _0x49c2f5(_0x1aca81,_0x282796- -0x19e);}const _0x45f594=extractFilePath(_0x6e4ce6['toolInput']);if(_0x45f594){if(_0x56de42(0x3,-0x14)===_0x1d20de(0x213,0x161)){const _0x2e4c5e=_0x45f594[_0x1d20de(0x2ef,0x3a0)]('/')[_0x1d20de(0x21b,0x192)](Boolean),_0x1738b9=_0x2e4c5e[_0x1d20de(0x264,0x307)](-0x3)['filter'](_0x46d626=>_0x46d626['length']>0x2&&!TAG_BLOCKLIST[_0x1d20de(0x1eb,0x281)](_0x46d626[_0x56de42(-0x6a,0x3e)+'e']()));for(const _0x46a43d of _0x1738b9[_0x56de42(0xd2,0x3d)](0x0,0x2)){if(_0x1d20de(0x23f,0x1a9)!==_0x1d20de(0x23f,0x2b9))return _0x2f8f88['slice'](0x0,0x3e8);else{const _0xeb212d=_0x46a43d['replace'](/\.[^.]+$/,'');_0xeb212d[_0x1d20de(0x1cd,0x1ba)]>0x2&&!TAG_BLOCKLIST[_0x56de42(-0x2c,-0x3c)](_0xeb212d[_0x56de42(0xca,0x3e)+'e']())&&_0x2d7197[_0x1d20de(0x206,0x26b)](_0xeb212d);}}const _0x7cc8b1=_0x45f594[_0x1d20de(0x2ef,0x348)]('.')['pop']();if(_0x7cc8b1){const _0x6c1005=_0x7cc8b1[_0x1d20de(0x265,0x25e)+'e']();if(!/^\d+$/[_0x56de42(0x165,0xd4)](_0x7cc8b1)&&_0x7cc8b1[_0x56de42(-0xfb,-0x5a)]>0x2&&!TAG_BLOCKLIST[_0x56de42(-0xda,-0x3c)](_0x6c1005)){if(_0x1d20de(0x2a1,0x282)===_0x56de42(-0x2a,0x7a)){const _0x2b108f=['md',_0x1d20de(0x257,0x25f),_0x56de42(-0xb6,-0x36),_0x1d20de(0x2e5,0x28f),_0x1d20de(0x310,0x387),_0x1d20de(0x1e7,0x20c),_0x56de42(-0x88,0x1e),_0x56de42(0xbf,0x63)];!_0x2b108f[_0x1d20de(0x1d3,0x23c)](_0x6c1005)&&_0x2d7197[_0x56de42(-0x6a,-0x21)](_0x7cc8b1);}else{const _0x200436=_0x168264[_0x56de42(0x11,-0x55)]();if(_0x200436[_0x1d20de(0x201,0x27a)]('{\x22stdout\x22:'))return!![];if(_0x200436[_0x56de42(-0xa4,-0x26)](_0x1d20de(0x2e9,0x296)+'\x22')||_0x200436[_0x1d20de(0x201,0x29f)](_0x56de42(-0x7e,-0x28)+'h\x22'))return!![];if(_0x200436[_0x56de42(-0x94,-0x54)](_0x56de42(-0x2e,-0x2d)+_0x1d20de(0x1fb,0x1d0)))return!![];if(_0x200436[_0x1d20de(0x201,0x250)]('first_upti'+_0x56de42(-0xe,-0x3))||_0x200436[_0x1d20de(0x201,0x25c)](_0x56de42(0x73,0x6d)+_0x56de42(0x5d,-0x4)))return!![];if(_0x200436['startsWith'](_0x1d20de(0x1d1,0x131))||_0x200436['startsWith']('http:404'))return!![];if(_0x200436['startsWith']('🔍\x20[Pre-Com'+_0x56de42(0x51,0x8a)))return!![];const _0x102cb0=_0x200436[_0x56de42(-0x21,0x3d)](0x0,0xc8);if(_0x102cb0[_0x56de42(0x14,-0x54)](_0x56de42(0xbe,0xea)+_0x56de42(-0x90,0x10))&&_0x102cb0[_0x56de42(0x5b,-0x54)](_0x56de42(0x85,0xa3)+'conds\x22'))return!![];const _0x3c052f=_0x200436[_0x56de42(0x31,0xc8)]('\x0a',0x1)[0x0],_0x501d69=[/브랜치로\s*전환합니다$/,/^Switched to (?:a new )?branch ['"]/,/^Merge made by /,/^\[[\w/.\-]+\s+[0-9a-f]{7,}\]/,/^npm (?:notice|WARN|info|ERR)/,/^[\w.\-]+\.\d+\.[a-z0-9]+@[\w-]+\s+\|/,/^=== \d+\./,/^https?:\/\/[\w.\-]+\/\S+\s+URL에서$/,/^(?:FAIL\s{2}|(?:FAIL|PASS)\s+tests?\/)/,/⎯{4,}/,/^Test Files\s+\d/,/^[A-Z][A-Z0-9_]*(?:=\d+)?$/,/^={3}[^=]{0,60}={3}$/,/\x1b\[[0-9;]*m/,/^이미 .*(?:있습니다|상태입니다)/,/^브랜치가 .*(?:상태입니다|업데이트)/,/^\s*\d+ files? changed, /,/^\s*(?:create|delete) mode \d{6} /,/^[0-9a-f]{7,40} (?:\[|Merge |docs|feat|fix|chore|test|refactor|perf|ci|build|ops|style)\b/,/^To \S+\.git$/,/^\s*\* \[new (?:tag|branch)\]/,/^\s*[├└]──\s/,/^\d+\.\d+\.\d+$/,/^(?!(?:19|20)\d\d:\s)\d{1,5}[:→]/];if(_0x501d69[_0x56de42(0xfb,0xc7)](_0x1f02d0=>_0x1f02d0['test'](_0x3c052f)))return!![];const _0x26223d=[/^File (?:created|updated|written|modified|deleted)(?: successfully)?\.?$/i,/^(?:File )?(?:written|created|saved) successfully\.?$/i,/^(?:No|0) (?:files?|changes?) /i,/^\d+ files? (?:found|matched|updated|deleted)\.?$/i,/^(?:Success|Done|OK|Created|Updated|Deleted)\.?$/i];return _0x26223d['some'](_0x11c6c5=>_0x11c6c5[_0x1d20de(0x2fb,0x370)](_0x200436));}}}}else{const _0x1b9ad5=_0x346791 instanceof _0x27b1bd?_0x25ffd2:new _0x28faef(_0x370d98(_0x5caa14));_0x5ab5e3[_0x1d20de(0x318,0x373)](_0x56de42(0xbf,0x3a)+'ation\x20fail'+'ed',_0x1b9ad5,{'category':_0x4f4fae});}}function _0x1d20de(_0x188c71,_0x3d3264){return _0x49c2f5(_0x3d3264,_0x188c71-0x89);}if(_0x2d7197[_0x1d20de(0x1cd,0x167)]===0x0){const _0x397c15=extractKeywords(_0x6e4ce6[_0x56de42(-0x1e,0x4)],0x3);_0x2d7197['push'](..._0x397c15);}return _0x2d7197;}export async function main(){const _0x36bc31=[];for await(const _0x3396d4 of process['stdin']){_0x36bc31[_0x13aea0(0x1b4,0x1f6)](_0x3396d4);}const _0xe8313e=Buffer[_0x5686fd(0x5a6,0x615)](_0x36bc31)[_0x5686fd(0x5ef,0x69a)](_0x13aea0(0x219,0x182))[_0x13aea0(0x180,0xfc)]();function _0x13aea0(_0x4d7bb4,_0x554c34){return _0x49c2f5(_0x554c34,_0x4d7bb4-0x37);}function _0x5686fd(_0x3be34e,_0x260fb3){return _0x49c2f5(_0x260fb3,_0x3be34e-0x401);}!_0xe8313e&&process[_0x5686fd(0x65a,0x601)](0x0);try{const _0x2fd610=JSON[_0x5686fd(0x627,0x63b)](_0xe8313e),_0x2822b6=normalizeHookInput(_0x2fd610);await handlePostToolUse(_0x2822b6);}catch(_0x21b86c){if(_0x13aea0(0x1fd,0x15c)!==_0x13aea0(0x215,0x2b1))console[_0x5686fd(0x690,0x6bd)](_0x5686fd(0x64d,0x692)+_0x5686fd(0x654,0x624)+_0x5686fd(0x623,0x5b3),_0x21b86c instanceof Error?_0x21b86c[_0x5686fd(0x5b3,0x5a2)]:_0x21b86c),process[_0x13aea0(0x290,0x272)](0x0);else return _0x13aea0(0x1f2,0x1d0);}finally{closeSharedDb();}}const isMainModule=process[_0x49c2f5(0x21d,0x1e3)][0x1]?.[_0x49c2f5(0x299,0x254)](_0x5ad0fb(0x12d,0xec)+'use.js')||process[_0x5ad0fb(0x114,0x10f)][0x1]?.[_0x49c2f5(0x28d,0x254)](_0x49c2f5(0x23a,0x1c0)+_0x5ad0fb(0x60,0xac));isMainModule&&main();
|
|
1
|
+
(function(_0x2e5acc,_0x41e4c6){const _0x2b0895=_0x2e5acc();function _0x2261ab(_0x53d3aa,_0x221d1a){return _0x17e7(_0x53d3aa-0x3bc,_0x221d1a);}function _0x80c1fa(_0x2e41b1,_0x560494){return _0x17e7(_0x560494- -0x22e,_0x2e41b1);}while(!![]){try{const _0x34ea6e=parseInt(_0x80c1fa(-0x89,-0x6f))/0x1+parseInt(_0x80c1fa(-0x38,-0x42))/0x2+parseInt(_0x80c1fa(-0x79,-0x18))/0x3*(-parseInt(_0x80c1fa(-0xab,-0x99))/0x4)+parseInt(_0x2261ab(0x4f4,0x502))/0x5+parseInt(_0x80c1fa(-0xdc,-0xf8))/0x6*(-parseInt(_0x80c1fa(-0x9b,0x13))/0x7)+-parseInt(_0x2261ab(0x562,0x5c6))/0x8*(-parseInt(_0x80c1fa(-0x15,-0x57))/0x9)+parseInt(_0x80c1fa(0x43,0x14))/0xa*(-parseInt(_0x2261ab(0x50e,0x4e1))/0xb);if(_0x34ea6e===_0x41e4c6)break;else _0x2b0895['push'](_0x2b0895['shift']());}catch(_0x8d3d4b){_0x2b0895['push'](_0x2b0895['shift']());}}}(_0x1248,0x6fa7a));import{getSharedDb,closeSharedDb,normalizeHookInput}from'./shared.js';import{ConfigManager}from'../config/manager.js';import{scoreSignificance}from'../extraction/scorer.js';function _0x17e7(_0x343a28,_0xd585b1){_0x343a28=_0x343a28-0xe5;const _0x1248f4=_0x1248();let _0x17e7d9=_0x1248f4[_0x343a28];if(_0x17e7['EfvVrz']===undefined){var _0xaee94b=function(_0x56b30a){const _0x233236='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2543d1='',_0x44e9f7='';for(let _0x4337ee=0x0,_0x4d5c79,_0x41c1bf,_0x15d53d=0x0;_0x41c1bf=_0x56b30a['charAt'](_0x15d53d++);~_0x41c1bf&&(_0x4d5c79=_0x4337ee%0x4?_0x4d5c79*0x40+_0x41c1bf:_0x41c1bf,_0x4337ee++%0x4)?_0x2543d1+=String['fromCharCode'](0xff&_0x4d5c79>>(-0x2*_0x4337ee&0x6)):0x0){_0x41c1bf=_0x233236['indexOf'](_0x41c1bf);}for(let _0x3d26d3=0x0,_0x1801ad=_0x2543d1['length'];_0x3d26d3<_0x1801ad;_0x3d26d3++){_0x44e9f7+='%'+('00'+_0x2543d1['charCodeAt'](_0x3d26d3)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x44e9f7);};_0x17e7['aPwiPt']=_0xaee94b,_0x17e7['Lppkap']={},_0x17e7['EfvVrz']=!![];}const _0x50728e=_0x1248f4[0x0],_0x4e53d3=_0x343a28+_0x50728e,_0xc8f996=_0x17e7['Lppkap'][_0x4e53d3];return!_0xc8f996?(_0x17e7d9=_0x17e7['aPwiPt'](_0x17e7d9),_0x17e7['Lppkap'][_0x4e53d3]=_0x17e7d9):_0x17e7d9=_0xc8f996,_0x17e7d9;}function _0x34e750(_0xa9fee7,_0x233205){return _0x17e7(_0x233205-0x342,_0xa9fee7);}function _0x2a31c1(_0x5c0172,_0x45aa87){return _0x17e7(_0x45aa87-0x30d,_0x5c0172);}import{filterSensitiveInfo}from'../extraction/filter.js';import{DedupManager}from'../extraction/dedup-manager.js';import{isProtectedFromCleanup}from'../lifecycle/cleanup.js';import{createLogger}from'../utils/logger.js';import{isClaudeMemoryFile}from'../claude/sync.js';import{createHookClient}from'./client-factory.js';import{SyncQueue}from'../sync/queue.js';const CATEGORY_TYPE_MAP={'error_solution':'experience','code_pattern':_0x2a31c1(0x405,0x410),'decision':_0x34e750(0x465,0x4c2),'context':_0x34e750(0x575,0x4c2),'project_knowledge':'fact','convention':_0x2a31c1(0x5ae,0x538),'learning':'experience','skill':_0x34e750(0x5fe,0x56d),'rule':_0x34e750(0x5fc,0x56d)},AUTO_SYNC_THRESHOLD=0x14,AUTO_SYNC_TIMEOUT_MS=0x2710;export async function handlePostToolUse(_0x578fff){const _0x2f9e7a=performance[_0x21a929(0x397,0x38e)](),_0x39af48=new ConfigManager()['load']();function _0x47d8b7(_0xeec29,_0x1735b7){return _0x2a31c1(_0x1735b7,_0xeec29- -0x2a0);}const _0x5a0ba9=performance[_0x21a929(0x434,0x38e)](),_0xb00e95=createLogger(_0x47d8b7(0x20f,0x175)+'e',_0x39af48[_0x21a929(0x30b,0x365)]);function _0x21a929(_0x1fa20a,_0x231bc5){return _0x2a31c1(_0x1fa20a,_0x231bc5- -0x160);}try{_0xb00e95[_0x21a929(0x2d2,0x2c0)](_0x47d8b7(0x1a8,0x1f8)+'ed',{'toolName':_0x578fff['toolName']});if(!_0x39af48[_0x47d8b7(0x1b9,0x1be)+'e']['enabled']){_0xb00e95['info'](_0x21a929(0x3a3,0x358)+'re\x20disable'+'d');return;}if(!_0x39af48[_0x21a929(0x265,0x2f9)+'e'][_0x47d8b7(0x249,0x22b)][_0x21a929(0x3f9,0x377)](_0x578fff['toolName'])){_0xb00e95['debug'](_0x21a929(0x3e9,0x3fa)+_0x21a929(0x2cc,0x37a),{'toolName':_0x578fff[_0x47d8b7(0x2b2,0x299)]});return;}const _0x356a0b=extractFilePath(_0x578fff['toolInput']);if(_0x356a0b&&isSensitiveFile(_0x356a0b,_0x39af48[_0x47d8b7(0x1b9,0x234)+'e'][_0x21a929(0x2d8,0x308)+_0x47d8b7(0x1f5,0x162)])){_0xb00e95[_0x47d8b7(0x180,0x186)](_0x21a929(0x3a3,0x317)+_0x21a929(0x3cc,0x34e)+_0x21a929(0x3c4,0x376),{'filePath':_0x356a0b});return;}if(_0x356a0b&&isClaudeMemoryFile(_0x356a0b)&&(_0x578fff['toolName']===_0x47d8b7(0x228,0x2b8)||_0x578fff['toolName']===_0x47d8b7(0x2ad,0x272))){const _0x4fdd9b=performance[_0x47d8b7(0x24e,0x258)]();try{const _0x21bb39=getSharedDb(_0x39af48['db']['path']),{syncClaudeMd:_0x5eac3d}=await import(_0x21a929(0x3f6,0x352)+_0x47d8b7(0x26d,0x263));await _0x5eac3d(_0x21bb39,{'claudeMdPath':_0x356a0b,'projectPath':_0x578fff[_0x47d8b7(0x216,0x245)+'h']});const _0x1cfae5=performance[_0x21a929(0x40a,0x38e)](),_0x26da71=Math[_0x21a929(0x329,0x2f3)](_0x1cfae5-_0x2f9e7a),_0x5b749c=Math[_0x47d8b7(0x1b3,0x167)](_0x1cfae5-_0x4fdd9b),_0x5b6c08=Math[_0x21a929(0x34e,0x2f3)](_0x5a0ba9-_0x2f9e7a);process[_0x47d8b7(0x26c,0x292)][_0x21a929(0x3c5,0x3d2)](_0x21a929(0x2c2,0x301)+'ToolUse\x20co'+_0x21a929(0x3bc,0x323)+_0x21a929(0x39b,0x2f5)+_0x26da71+(_0x21a929(0x3be,0x398)+_0x47d8b7(0x223,0x1fd))+_0x5b6c08+(_0x47d8b7(0x1fa,0x224)+'Sync:\x20')+_0x5b749c+_0x21a929(0x2fa,0x2db)),_0xb00e95[_0x21a929(0x30d,0x2c0)](_0x21a929(0x314,0x2ec)+_0x47d8b7(0x15f,0x206)+'ynced',{'filePath':_0x356a0b});}catch(_0x267e41){_0xb00e95[_0x47d8b7(0x1d2,0x1ed)]('Claude\x20mem'+_0x47d8b7(0x168,0x159)+_0x21a929(0x415,0x378),{'error':_0x267e41 instanceof Error?_0x267e41[_0x21a929(0x444,0x3a7)]:String(_0x267e41)});}return;}const _0x4becc6=performance[_0x21a929(0x427,0x38e)](),_0x163637={'uuid':_0x578fff[_0x47d8b7(0x1c9,0x165)],'type':'assistant','message':{'role':_0x47d8b7(0x1e7,0x1ed),'content':_0x578fff[_0x21a929(0x349,0x3f8)]},'timestamp':new Date()['toISOStrin'+'g']()},_0x3eb118=_0x578fff[_0x21a929(0x46a,0x3f2)]===_0x47d8b7(0x228,0x2ce),_0xc7040c=_0x356a0b?isConfigFile(_0x356a0b):![],_0x264c5c=detectActualError(_0x578fff[_0x21a929(0x3f6,0x3f8)],_0x578fff[_0x21a929(0x33b,0x321)]);let _0x5de6e9;if(_0x578fff[_0x47d8b7(0x2b2,0x319)]===_0x21a929(0x3d4,0x3dc)&&_0x578fff['toolInput'])try{const _0x565216=typeof _0x578fff[_0x21a929(0x32d,0x321)]===_0x47d8b7(0x175,0x15c)?JSON[_0x21a929(0x252,0x2e9)](_0x578fff['toolInput']):_0x578fff['toolInput'];_0x5de6e9=_0x565216?.['command']??_0x565216?.[_0x47d8b7(0x1a7,0x221)]??(typeof _0x565216===_0x21a929(0x359,0x2b5)?_0x565216:undefined);}catch{_0x47d8b7(0x24c,0x2d2)===_0x47d8b7(0x24c,0x257)?_0x5de6e9=typeof _0x578fff[_0x47d8b7(0x1e1,0x1da)]===_0x21a929(0x2a0,0x2b5)?_0x578fff[_0x21a929(0x397,0x321)]:undefined:_0x201150();}const _0x88cff4=scoreSignificance(_0x163637,{'toolName':_0x578fff[_0x21a929(0x358,0x3f2)],'isNewFile':_0x3eb118,'isConfigChange':_0xc7040c,'hasError':_0x264c5c,'bashCommand':_0x5de6e9},_0x39af48[_0x21a929(0x2dc,0x2f9)+'e'][_0x47d8b7(0x193,0x185)+_0x47d8b7(0x1ae,0x1da)+'d']),_0x2e7180=performance['now'](),_0xa951f1=_0x39af48[_0x21a929(0x36e,0x2f9)+'e'][_0x47d8b7(0x193,0x1f0)+_0x21a929(0x315,0x2ee)+'d']*0.5;_0xb00e95[_0x47d8b7(0x180,0xc9)]('Tool\x20evalu'+'ated',{'toolName':_0x578fff[_0x21a929(0x36a,0x3f2)],'score':_0x88cff4[_0x21a929(0x316,0x35f)],'shouldCapture':_0x88cff4['totalScore']>=_0xa951f1});if(_0x88cff4['totalScore']<_0xa951f1)return;const _0x593eed=determineCategory(_0x578fff,_0x264c5c),_0x313ab9=buildContent(_0x578fff);if(!_0x313ab9){if(_0x47d8b7(0x2bd,0x305)!=='BcjgV')try{_0x4fae2e=_0x3adbfd['parse'](_0x32a708);}catch{return null;}else{_0xb00e95[_0x21a929(0x374,0x2c0)](_0x21a929(0x38a,0x3a3)+'emory:\x20no\x20'+_0x47d8b7(0x194,0x227)+'\x20content',{'toolName':_0x578fff[_0x21a929(0x4a6,0x3f2)]});return;}}const _0xfcfd8e=filterSensitiveInfo(_0x313ab9);let _0x261183;if(_0x264c5c)_0x261183=_0x47d8b7(0x19f,0x1b8);else _0x88cff4[_0x21a929(0x346,0x35f)]<_0x39af48[_0x47d8b7(0x1b9,0x163)+'e'][_0x47d8b7(0x193,0x1ba)+_0x47d8b7(0x1ae,0x162)+'d']?_0x47d8b7(0x167,0xe9)==='zxBHm'?_0x261183='working':_0x340dd0[_0x47d8b7(0x1d2,0x1bb)]('Embedding\x20'+_0x47d8b7(0x24d,0x2d9),{'error':_0x19a00e instanceof _0x9d310e?_0x3e4f34['message']:_0x25d585(_0x27e5eb)}):_0x261183=_0x21a929(0x2f5,0x30d);const _0x1bae1b={'content':_0xfcfd8e['filtered'],'category':_0x593eed,'tier':_0x261183,'tags':buildTags(_0x578fff),'projectPath':_0x578fff['projectPat'+'h'],'sessionId':_0x578fff[_0x47d8b7(0x1c9,0x202)],'memoryType':CATEGORY_TYPE_MAP[_0x593eed]??_0x21a929(0x260,0x2b0)},_0x3747c1=getSharedDb(_0x39af48['db']['path']),_0x4eb8ea=performance[_0x21a929(0x349,0x38e)](),_0x5ad2f2=new DedupManager(),_0x3504bf=_0x5ad2f2[_0x21a929(0x281,0x2ce)+'ates'](_0x3747c1[_0x47d8b7(0x18f,0x16a)+'es']({'projectPath':_0x578fff[_0x47d8b7(0x216,0x19c)+'h'],'limit':0x32,'excludeParents':!![]}),_0x593eed,_0x578fff[_0x47d8b7(0x216,0x237)+'h']),_0x387f1a=_0x5ad2f2['decide'](_0xfcfd8e[_0x21a929(0x327,0x2f0)],_0x3504bf),_0x57f530=performance[_0x47d8b7(0x24e,0x2a3)]();_0xb00e95[_0x47d8b7(0x180,0x19b)]('Dedup\x20deci'+'sion',{'action':_0x387f1a[_0x47d8b7(0x221,0x1c9)],'similarity':_0x387f1a['similarity']});const _0x2085da=performance[_0x47d8b7(0x24e,0x1a7)]();let _0x3e7a4f;try{switch(_0x387f1a[_0x47d8b7(0x221,0x2d6)]){case _0x21a929(0x33e,0x2b8):_0xb00e95[_0x47d8b7(0x180,0xe2)](_0x47d8b7(0x185,0x228)+_0x47d8b7(0x17a,0x19f)+_0x47d8b7(0x26b,0x2e4),{'similarity':_0x387f1a[_0x47d8b7(0x200,0x276)]});return;case _0x47d8b7(0x19e,0xf4):if(_0x387f1a[_0x47d8b7(0x197,0xeb)+'ry']){const _0x32b61f=_0x5ad2f2['mergeConte'+'nt'](_0x387f1a[_0x21a929(0x25c,0x2d7)+'ry'][_0x47d8b7(0x2b1,0x34f)],_0xfcfd8e[_0x21a929(0x316,0x2f0)]);if(_0x32b61f[_0x47d8b7(0x284,0x1f2)]){_0x3e7a4f=_0x3747c1[_0x21a929(0x340,0x298)+'ry'](_0x1bae1b);_0x261183!==_0x47d8b7(0x25a,0x2f3)&&_0x3747c1[_0x21a929(0x24f,0x2ed)+'tus'](_0x3e7a4f['id'],null,_0x21a929(0x264,0x2b3));_0xb00e95['info'](_0x21a929(0x2cc,0x2a5)+_0x21a929(0x2c4,0x33b)+_0x21a929(0x3fb,0x3da)+_0x21a929(0x447,0x3e5)+_0x47d8b7(0x1f8,0x21e),{'targetId':_0x387f1a[_0x47d8b7(0x197,0x179)+'ry']['id'],'newId':_0x3e7a4f['id'],'targetLength':_0x387f1a['targetMemo'+'ry'][_0x21a929(0x36a,0x3f1)]['length'],'wouldBeLength':_0x32b61f[_0x47d8b7(0x16f,0x17e)+_0x47d8b7(0x1e6,0x1f7)]});break;}_0x3747c1[_0x47d8b7(0x2b3,0x2ff)+'ry'](_0x387f1a[_0x47d8b7(0x197,0x16c)+'ry']['id'],{'content':_0x32b61f[_0x47d8b7(0x2b1,0x200)],'tags':[...new Set([..._0x387f1a[_0x21a929(0x2be,0x2d7)+'ry'][_0x47d8b7(0x192,0x215)]||[],...buildTags(_0x578fff)])]}),_0xb00e95[_0x21a929(0x237,0x2c0)](_0x21a929(0x2b1,0x2fc)+'ated\x20(merg'+'ed)',{'memoryId':_0x387f1a[_0x21a929(0x295,0x2d7)+'ry']['id']});}return;case _0x47d8b7(0x179,0x10a):{if(_0x47d8b7(0x29f,0x25d)===_0x21a929(0x36d,0x334))return _0x27f0b1[_0x47d8b7(0x22d,0x225)](0x0,0x3e8);else{_0x387f1a[_0x47d8b7(0x197,0x245)+'ry']&&(isProtectedFromCleanup(_0x387f1a[_0x47d8b7(0x197,0x194)+'ry'])?_0xb00e95['info'](_0x47d8b7(0x1da,0x13f)+_0x21a929(0x3ca,0x32e)+_0x47d8b7(0x255,0x20a)+'rotected\x20a'+_0x47d8b7(0x1a6,0x177),{'memoryId':_0x387f1a[_0x47d8b7(0x197,0x173)+'ry']['id'],'category':_0x387f1a[_0x21a929(0x264,0x2d7)+'ry'][_0x21a929(0x385,0x3cc)]}):(_0x3747c1['updateMemo'+'ry'](_0x387f1a[_0x21a929(0x2c5,0x2d7)+'ry']['id'],{'invalidAt':new Date()[_0x47d8b7(0x230,0x1e7)+'g']()}),_0xb00e95['info'](_0x47d8b7(0x201,0x202)+'\x20soft-inva'+_0x47d8b7(0x15a,0x1a0),{'memoryId':_0x387f1a['targetMemo'+'ry']['id']})));_0x3e7a4f=_0x3747c1['createMemo'+'ry'](_0x1bae1b);if(_0x261183!==_0x21a929(0x329,0x39a)){if(_0x21a929(0x366,0x2c2)==='xtxTI')_0x3747c1[_0x47d8b7(0x1ad,0x1d5)+_0x21a929(0x241,0x293)](_0x3e7a4f['id'],null,_0x47d8b7(0x173,0x1f0));else return'';}_0xb00e95[_0x21a929(0x23b,0x2c0)]('Memory\x20cap'+_0x21a929(0x390,0x3c0)+'er\x20delete)',{'category':_0x593eed,'memoryId':_0x3e7a4f['id']});break;}}case _0x47d8b7(0x22e,0x2ca):default:_0x3e7a4f=_0x3747c1[_0x21a929(0x1ee,0x298)+'ry'](_0x1bae1b);_0x261183!==_0x21a929(0x316,0x39a)&&_0x3747c1[_0x21a929(0x275,0x2ed)+_0x21a929(0x224,0x293)](_0x3e7a4f['id'],null,_0x47d8b7(0x173,0x17a));_0xb00e95[_0x47d8b7(0x180,0x1b9)](_0x21a929(0x2f7,0x39d)+_0x21a929(0x338,0x351),{'category':_0x593eed,'memoryId':_0x3e7a4f['id']});break;}}catch(_0x1dbf16){const _0xfcd2d4=_0x1dbf16 instanceof Error?_0x1dbf16:new Error(String(_0x1dbf16));_0xb00e95[_0x21a929(0x37d,0x2ea)]('Memory\x20cre'+_0x21a929(0x3d9,0x3e3)+'ed',_0xfcd2d4,{'category':_0x593eed});}const _0x50d66c=performance[_0x47d8b7(0x24e,0x203)]();if(_0x3e7a4f&&_0x39af48[_0x21a929(0x3c1,0x380)]?.['enabled']&&_0x39af48['embedding'][_0x47d8b7(0x2bb,0x2c2)]===_0x47d8b7(0x27a,0x257))try{if(_0x47d8b7(0x261,0x220)===_0x21a929(0x3dd,0x3a1)){const {createEmbeddingProvider:_0x4bca94}=await import(_0x21a929(0x426,0x392)+'ng/index.j'+'s'),_0x22b814=_0x4bca94(_0x39af48[_0x21a929(0x3df,0x380)],_0x39af48[_0x21a929(0x353,0x3a2)]),_0xb6f542=await Promise[_0x21a929(0x36a,0x31b)](_0x22b814[_0x47d8b7(0x2a2,0x203)](_0x3e7a4f[_0x47d8b7(0x2b1,0x333)]));Array[_0x47d8b7(0x1f0,0x1f1)](_0xb6f542)&&_0x3747c1['saveEmbedd'+'ing'](_0x3e7a4f['id'],_0xb6f542);}else{const _0x10bdd0=_0xdf9e5b[_0x21a929(0x3a9,0x3e9)+'e']();if(!/^\d+$/[_0x47d8b7(0x2b6,0x25e)](_0x268200)&&_0x13efa0['length']>0x2&&!_0xc97357['has'](_0x10bdd0)){const _0x3682a2=['md',_0x21a929(0x37c,0x2fe),_0x47d8b7(0x152,0x177),_0x21a929(0x337,0x296),_0x21a929(0x231,0x2c4),'xml',_0x21a929(0x214,0x2be),_0x47d8b7(0x1e0,0x254)];!_0x3682a2[_0x47d8b7(0x237,0x2ea)](_0x10bdd0)&&_0x42c248[_0x21a929(0x342,0x310)](_0x327256);}}}catch(_0x203457){_0xb00e95[_0x21a929(0x354,0x312)](_0x21a929(0x372,0x373)+'failed',{'error':_0x203457 instanceof Error?_0x203457[_0x21a929(0x3d9,0x3a7)]:String(_0x203457)});}try{const _0x16171e=_0x3747c1[_0x47d8b7(0x290,0x337)+'njection'](_0x578fff[_0x47d8b7(0x1c9,0x114)]);if(_0x16171e&&_0x16171e[_0x47d8b7(0x274,0x266)+_0x21a929(0x3d5,0x339)]){const _0x8ffc=(_0x578fff[_0x47d8b7(0x2b2,0x2c7)]+'\x20'+JSON[_0x21a929(0x3a2,0x3d1)](_0x578fff[_0x21a929(0x3c2,0x321)])+'\x20'+String(_0x578fff[_0x47d8b7(0x2b8,0x31a)]))[_0x47d8b7(0x2a9,0x2be)+'e'](),{parseInjectedKeywords:_0x4d14ef}=await import(_0x47d8b7(0x22a,0x1de)+'s'),_0x30ca47=_0x4d14ef(_0x16171e[_0x21a929(0x305,0x3b4)+_0x21a929(0x34b,0x339)]);let _0x5c2d6d=[],_0x1c2d4d=[];if(_0x30ca47[_0x21a929(0x347,0x385)]){for(const [_0x4bb42a,_0x352943]of Object['entries'](_0x30ca47[_0x21a929(0x3bd,0x31c)])){const _0x395dbf=_0x352943[_0x47d8b7(0x279,0x279)](_0x3029a6=>_0x8ffc[_0x21a929(0x40a,0x377)](_0x3029a6));if(_0x395dbf['length']>0x0){if(_0x47d8b7(0x204,0x1f1)===_0x21a929(0x3ee,0x344))_0x5c2d6d[_0x21a929(0x28b,0x310)](..._0x395dbf),_0x1c2d4d[_0x21a929(0x2c1,0x310)](_0x4bb42a);else{const _0x4a21c7=_0x49e8ed['split']('/')[_0x21a929(0x342,0x382)]()??'';return _0x3a2de5[_0x21a929(0x345,0x3cb)](_0x482204=>{if(_0x482204[_0x4d815b(-0xc1,-0xce)]('*'))return _0x4a21c7[_0x4d815b(0x2b,-0x43)](_0x482204['slice'](0x1));if(_0x482204[_0x4d815b(0x3d,-0x43)]('*'))return _0x4a21c7['startsWith'](_0x482204[_0xd6159d(0x2d,-0x32)](0x0,-0x1));function _0x4d815b(_0xb0d470,_0x333c16){return _0x47d8b7(_0x333c16- -0x2d8,_0xb0d470);}function _0xd6159d(_0x41984f,_0x50056d){return _0x47d8b7(_0x41984f- -0x200,_0x50056d);}return _0x4a21c7===_0x482204;});}}}_0x5c2d6d=[...new Set(_0x5c2d6d)],_0x1c2d4d=[...new Set(_0x1c2d4d)];}else _0x5c2d6d=_0x30ca47[_0x47d8b7(0x2ac,0x33f)]['filter'](_0x5bbad5=>_0x8ffc[_0x47d8b7(0x237,0x2d2)](_0x5bbad5));_0x5c2d6d[_0x21a929(0x357,0x2eb)]>0x0&&_0x3747c1['recordInje'+_0x47d8b7(0x264,0x1dc)](_0x16171e['id'],_0x5c2d6d,_0x578fff[_0x47d8b7(0x2b2,0x312)],_0x1c2d4d);}}catch{}if(_0x3e7a4f&&(_0x387f1a[_0x21a929(0x310,0x361)]===_0x47d8b7(0x22e,0x2b0)||_0x387f1a[_0x47d8b7(0x221,0x270)]==='DELETE')){if(_0x21a929(0x2ef,0x367)===_0x21a929(0x3a8,0x34c))_0x212113['recordInje'+'ctionHit'](_0x2ae63f['id'],_0x2f381b,_0x165b62[_0x47d8b7(0x2b2,0x254)],_0x1dbfb9);else try{_0x3747c1[_0x21a929(0x3ac,0x357)+_0x47d8b7(0x203,0x1b4)]({'memoryId':_0x3e7a4f['id'],'sessionId':_0x578fff[_0x21a929(0x275,0x309)],'significanceScore':_0x88cff4[_0x47d8b7(0x21f,0x18d)],'dedupAction':_0x387f1a[_0x47d8b7(0x221,0x279)],'tier':_0x261183});}catch{}}if(_0x3e7a4f&&_0x3e7a4f[_0x21a929(0x348,0x380)]&&_0x39af48[_0x47d8b7(0x177,0x1a7)+_0x47d8b7(0x1c6,0x1d0)]?.[_0x21a929(0x29b,0x31e)]){if(_0x21a929(0x3ae,0x3dd)!=='LgfZh')try{const {SkillEvaluator:_0x31470b}=await import(_0x21a929(0x2b0,0x364)+_0x21a929(0x265,0x314)+'s'),_0xf5054f=new _0x31470b(_0x3747c1,_0x39af48),_0x369865=_0xf5054f[_0x21a929(0x2ed,0x2d0)+_0x47d8b7(0x22f,0x2ca)](_0x3e7a4f);_0x369865[_0x47d8b7(0x273,0x21c)]&&_0xb00e95[_0x21a929(0x2e6,0x2c0)](_0x47d8b7(0x27b,0x1d2)+'orbed\x20into'+_0x21a929(0x350,0x38a),{'memoryId':_0x3e7a4f['id'],'skillId':_0x369865[_0x21a929(0x30e,0x37f)]});}catch{}else{if(_0x438048[_0x21a929(0x2e0,0x34a)]('*'))return _0x264a62['endsWith'](_0x2cd8c0[_0x47d8b7(0x22d,0x2c3)](0x1));if(_0x253b1d['endsWith']('*'))return _0x15a94a[_0x21a929(0x390,0x34a)](_0x20df15['slice'](0x0,-0x1));return _0x471750===_0x4ff992;}}const _0x484da5=performance[_0x21a929(0x3ec,0x38e)]();let _0x102775=0x0;const _0x24732e=_0x39af48[_0x47d8b7(0x17f,0x109)+_0x47d8b7(0x1e2,0x215)]?.[_0x21a929(0x276,0x31e)]!==![]&&_0x39af48['frozenSnap'+_0x47d8b7(0x1e2,0x249)]?.['midSession'+_0x21a929(0x3b7,0x3a8)]!==!![];if(_0x39af48['autoSync']?.[_0x47d8b7(0x1de,0x281)]&&_0x39af48[_0x47d8b7(0x1b4,0x196)]?.[_0x47d8b7(0x159,0x1bb)]&&!_0x24732e){try{const _0x413619=_0x3747c1['getPending'+'SyncCount']();if(_0x413619>=AUTO_SYNC_THRESHOLD){const _0x14575d=createHookClient(_0x39af48);if(_0x14575d){if('lauCQ'!=='dPYMn'){const _0x1ce280=new SyncQueue(_0x3747c1,_0x14575d),_0x3d7fcf=await _0x1ce280['flush']({'timeoutMs':AUTO_SYNC_TIMEOUT_MS});_0x3d7fcf[_0x47d8b7(0x154,0x159)]>0x0&&(_0xb00e95[_0x21a929(0x2a0,0x2c0)](_0x21a929(0x374,0x366)+_0x21a929(0x292,0x294),{'pushed':_0x3d7fcf[_0x21a929(0x262,0x294)],'pending':_0x413619}),console[_0x21a929(0x37d,0x2ea)](_0x21a929(0x3b7,0x3ca)+_0x21a929(0x377,0x32c)+_0x3d7fcf[_0x47d8b7(0x154,0x174)]+_0x21a929(0x33e,0x2c6)));}else{if(typeof _0x8b4827[_0x47d8b7(0x27e,0x265)]===_0x21a929(0x22c,0x2b5))return _0x343ddc[_0x21a929(0x3ff,0x3be)];if(typeof _0x4e93c0[_0x47d8b7(0x1eb,0x1bd)]===_0x21a929(0x343,0x2b5))return _0x510674[_0x47d8b7(0x1eb,0x136)];}}}}catch(_0x3b0b41){_0xb00e95[_0x21a929(0x2f3,0x312)](_0x21a929(0x3d6,0x366)+_0x47d8b7(0x24d,0x239),{'error':_0x3b0b41 instanceof Error?_0x3b0b41[_0x47d8b7(0x267,0x1ff)]:String(_0x3b0b41)});}_0x102775=Math['round'](performance[_0x21a929(0x301,0x38e)]()-_0x484da5);}else _0x39af48[_0x47d8b7(0x241,0x203)]?.[_0x47d8b7(0x1de,0x1c6)]&&_0x39af48[_0x47d8b7(0x1b4,0x1e3)]?.['apiKey']&&_0x24732e&&_0xb00e95[_0x47d8b7(0x1bd,0x213)]('Frozen\x20sna'+_0x47d8b7(0x1a1,0x168)+_0x47d8b7(0x21e,0x16d)+_0x21a929(0x2f3,0x374)+_0x47d8b7(0x174,0xda)+_0x21a929(0x3ba,0x3f4)+_0x47d8b7(0x1c0,0x1a1));const _0xeb7428=Math['round'](performance['now']()-_0x2f9e7a),_0x18c42d=Math[_0x21a929(0x25d,0x2f3)](_0x5a0ba9-_0x2f9e7a),_0x51f281=Math['round'](_0x2e7180-_0x4becc6),_0x3bc748=Math[_0x21a929(0x2f4,0x2f3)](_0x57f530-_0x4eb8ea),_0x408da1=Math[_0x47d8b7(0x1b3,0x219)](_0x50d66c-_0x2085da),_0x1f8e2a=_0x102775>0x0?',\x20sync:\x20'+_0x102775+'ms':'';process[_0x21a929(0x43c,0x3ac)][_0x21a929(0x42a,0x3d2)]('[A2A]\x20Post'+_0x21a929(0x356,0x2ab)+_0x21a929(0x2d4,0x323)+_0x47d8b7(0x1b5,0x21e)+_0xeb7428+(_0x21a929(0x42c,0x398)+_0x21a929(0x3a1,0x363))+_0x18c42d+(_0x21a929(0x40c,0x3f5)+_0x47d8b7(0x286,0x316))+_0x51f281+(_0x47d8b7(0x270,0x2c7)+'\x20')+_0x3bc748+_0x47d8b7(0x21b,0x28a)+_0x408da1+'ms'+_0x1f8e2a+')\x0a'),_0xb00e95[_0x47d8b7(0x180,0x125)](_0x21a929(0x35f,0x3d3)+_0x21a929(0x417,0x3bf),{'durationMs':_0xeb7428});}finally{_0xb00e95[_0x21a929(0x39b,0x2e4)]();}}function extractFilePath(_0x595ecf){let _0x238c1f=_0x595ecf;if(typeof _0x238c1f===_0x1b16ae(0x5b,0x47))try{_0x238c1f=JSON['parse'](_0x238c1f);}catch{if(_0x1b16ae(0xd0,0xc0)==='oVwVy')return null;else _0x3a73ca[_0x1b16ae(0x93,0x4e)+'tus'](_0x1d2c18['id'],null,'pending');}if(typeof _0x238c1f==='object'&&_0x238c1f!==null){if(typeof _0x238c1f['file_path']===_0x1b3bf3(0x39b,0x405))return _0x238c1f[_0x1b3bf3(0x52a,0x50e)];if(typeof _0x238c1f[_0x1b3bf3(0x4fd,0x47b)]===_0x1b16ae(0x5b,-0x5))return _0x238c1f[_0x1b16ae(0xd1,0x13b)];}function _0x1b3bf3(_0x178d54,_0x76bb95){return _0x2a31c1(_0x178d54,_0x76bb95- -0x10);}function _0x1b16ae(_0x57fb63,_0x2159ea){return _0x2a31c1(_0x2159ea,_0x57fb63- -0x3ba);}return null;}function isSensitiveFile(_0x5eb4eb,_0xc7059e){function _0x549866(_0x3d9977,_0x34e1c6){return _0x2a31c1(_0x34e1c6,_0x3d9977- -0x1c8);}function _0x2cf15a(_0x3b1300,_0x343255){return _0x2a31c1(_0x343255,_0x3b1300- -0x3bb);}const _0x5378fc=_0x5eb4eb[_0x2cf15a(0x9c,0x6d)]('/')[_0x2cf15a(0x127,0xe9)]()??'';return _0xc7059e[_0x2cf15a(0x170,0xd5)](_0x1ef605=>{if(_0x1ef605[_0x4a5ddd(-0x1f8,-0x20c)]('*'))return _0x5378fc['endsWith'](_0x1ef605[_0x3f5bec(0x1eb,0x231)](0x1));if(_0x1ef605[_0x3f5bec(0x2e7,0x299)]('*'))return _0x5378fc['startsWith'](_0x1ef605[_0x4a5ddd(-0x1d5,-0x1f4)](0x0,-0x1));function _0x4a5ddd(_0x508f2e,_0x20ab97){return _0x2cf15a(_0x508f2e- -0x2e7,_0x20ab97);}function _0x3f5bec(_0x104a16,_0x1fcbca){return _0x2cf15a(_0x1fcbca-0x11f,_0x104a16);}return _0x5378fc===_0x1ef605;});}function isConfigFile(_0x226af8){const _0x3453e7=['.json',_0x5c7b93(0x21b,0x28d),'.yml','.toml',_0x398bbf(-0x221,-0x1eb),_0x5c7b93(0x17e,0x1a7),_0x5c7b93(0x1e0,0x1e3)];function _0x5c7b93(_0x3eeeb6,_0x23d565){return _0x2a31c1(_0x3eeeb6,_0x23d565- -0x24e);}function _0x398bbf(_0x12a6ba,_0x258774){return _0x2a31c1(_0x12a6ba,_0x258774- -0x64d);}return _0x3453e7['some'](_0x3d7a0b=>_0x226af8[_0x5c7b93(0x39d,0x2e7)](_0x3d7a0b));}function detectActualError(_0x483cb6,_0x239e7f){if(_0x483cb6[_0x40414a(0x27,0x2a)]<0xc8)return![];function _0x2ca2db(_0x465c96,_0x29d213){return _0x34e750(_0x465c96,_0x29d213- -0xcf);}const _0x26e2f0=_0x239e7f?.[_0x2ca2db(0x4eb,0x4b8)];if(_0x26e2f0==='Read')return![];const _0x220047=_0x483cb6[_0x2ca2db(0x54c,0x4af)+'e']();function _0x40414a(_0x18614d,_0x571988){return _0x34e750(_0x18614d,_0x571988- -0x456);}const _0x595d2d=[_0x40414a(0x4f,0x94),_0x40414a(-0x3,0x9b),_0x2ca2db(0x367,0x3d1),_0x40414a(-0x80,-0x23),_0x2ca2db(0x4f9,0x44e),_0x2ca2db(0x3f0,0x475),_0x40414a(0xb5,0xf5),_0x40414a(0x157,0xd5),_0x40414a(0x31,0xe4),_0x40414a(0x99,0x104)],_0x4ba75f=_0x595d2d[_0x2ca2db(0x4cd,0x491)](_0x1dd551=>_0x483cb6['includes'](_0x1dd551)||_0x220047['includes'](_0x1dd551[_0x40414a(0x18a,0x128)+'e']()));if(!_0x4ba75f)return![];const _0x198f35=_0x239e7f?.[_0x40414a(0x115,0xfd)]||_0x239e7f?.[_0x40414a(-0x3,0x6a)]||'';if(_0x198f35['toLowerCas'+'e']()['includes']('error')&&!_0x595d2d[_0x40414a(0xe7,0xac)](0x2)[_0x40414a(0x14d,0x10a)](_0xabada6=>_0x220047[_0x2ca2db(0x3e8,0x43d)](_0xabada6[_0x40414a(0x19a,0x128)+'e']())))return![];return!![];}const LEARNING_KEYWORDS_RE=/(?:learned|배웠|깨달|교훈|실수.*통해|TIL|today I learned|새로.*알게|이해.*됐|이해하게|발견.*했|mistake.*from|lesson|시행착오|주의사항|함정|pitfall|gotcha|삽질|해결.*방법|원인.*파악|root cause|workaround|우회|다음번|앞으로|기억해|remember)/i;function _0x1248(){const _0x2b7aba=['BxbREhe','DxrMltG','B3DSzwrNzq','zw1Izwq','yxrPB24GzMfPBa','y2nLC3nMDwXSEq','khDVDwXKihrYDq','Ew91CG','zfbHDgnOiG','ywjVDMu','Dg9mB3DLCKnHCW','Ahr0CdO0mdq','C29YDa','A2v5D29Yzhm','rwrPDa','mtmWotDOB1rSCeO','mZGZmdC3mfjxC1bbuW','Ahr0CdOYmda','y29UDgvUDa','Dg9VBe5HBwu','DxbKyxrLtwvTBW','zcb0BYbtzxnZAq','BxmSihnPz25PzG','DgvZDa','DgfIBgu','Dg9VBfjLC3vSDa','Bwf0y2G','vg9VBcbUB3qGAq','ChjVDMLKzxi','8j+uJsbBuhjLlunVBq','qMnQz1y','uMvHza','ANnVBG','DhvZ','ChvZAgvK','lMLUAq','Ew1S','DgLVBG','y3jLyxrLtwvTBW','yxbPs2v5','BgLKyxrLza','DgHYB3vNAa','ChjVAMvJDf9RBG','Dhj1zq','zxHJzxb0Aw9U','B3j5igzPBguGCW','B3vY','DwDotu4','Bwf5','BgvHCM5PBMC','w0vYCM9Yxsa','twvTB3j5ihnHDG','y29TBwfUza','ENHcsg0','B3j5ihn5BMmGzG','y0fYBM8','iM9Szfn0CMLUzW','vg9VBfvZzsbJBW','iNvWDgLTzv9Zzq','CgLJA2vK','y2fU','D291BgrczuXLBG','zMfJDa','zgvJAwrLza','Bwu6','CgvUzgLUzW','BMmGzgvMzxjYzq','C3rYAw5N','yMvLBG','C2TPBgXdB252zq','tK9pua','revmrvrf','ChbLzcaOzhvWBa','zNjVBq','y29UDMvUDgLVBG','iNn0CNvJDhvYzq','AhrTBa','zNjVEMvUu25HCa','Aw5MBW','zMLSzsbJCMvHDa','Ehr4veK','rfHmC3i','EwfTBa','twvTB3j5ihnRAq','ig1LBw9YAwvZ','y291Bgq','svr0wMm','ywDmrMq','Eg1S','DgHHDa','AM9PBG','C2vJB25Kx3vWDa','zMLUzenHBMrPza','BgLZDe1LBw9YAq','ywjZB3jIsw50BW','lMnMzW','DgfNCW','C2LNBMLMAwnHBG','BwvHBMLUz2z1Ba','C2fTzq','AxrZ','DgfYz2v0twvTBW','Bw9ZDa','D2L0Aa','zhvYAw5N','BxmPcG','zMLSzvbHDgG','l3rLC3qV','vvbeqvrf','zxbPC29KAwm','DhjPBq','ChnOB3qGBw9Kzq','yMvZDcbWCMfJDa','mty3nfzPrgHKBW','zMX1C2G','mJa1mteYmgPHsNreDa','C3nLDcK','y21K','sg9VAYbZDgfYDa','CgfYC2u','zxjYB3i','BgvUz3rO','q2XHDwrLig1LBq','C2v0u3LUy1n0yq','y2vuAhjLC2HVBa','EYjMAwXLugf0Aa','zMLSDgvYzwq','DgHLBq','C3rHBMrHCMq','CM91BMq','C2vYDMvY','B3rHBdOG','yxjL','C3bSAxq','zMLSzsb3CML0Da','yxv0B0nHChr1CG','z3jLCa','zgf0yq','twvTB3j5ihvWza','zgvIDwC','DhH0','mJjuvLLLAwm','B25fBMq','w0eYqv0Gug9ZDa','lMvUDG','zxzLCNK','iM5LD1n0CMLUzW','AgvHBhrOEsi','CNnPB24','z2v0','zxHJBhvKzvbHDa','C2vZC2LVBKLK','iMzPBgvqyxrOiG','rvjst1i6','iNr5CguI','C2vTyw50Awm','AwnL','zwrPDa','ChvZAa','vgfZAW','D2fYBG','y29UDgv4Da','DMfSDwf0B3iUAG','DgHPCW','y3rryuq','u2vUC2L0AxzLia','CNmV','l3zHCI9MB2XKzq','revmrvrfigLUDG','CMvZB2X2zq','A2v5D29Yze1HCa','D2vIzMv0y2G','zw5HyMXLza','DgHLEq','y3nZ','Dg9VBeLUChv0','C2HVDa','BxbSzxrLzcaODa','DgHL','zxjYB3jFC29SDq','z3rO','yxnZAxn0yw50','C3vJAa','y3jLyxrLzcbZDq','B1z3vNK','Cgf0Aa','lxn5BMnLzca','zxbPC29Kzq','ywXPzgf0Aw9Uia','tMfIvxG','AxnbCNjHEq','yxjNDG','C3rKB3v0','D2LSBa','z0jHEKO','DgvYBNm','zw4GC3vJy2vZCW','C3jJ','BMnHDguP','ExDVCMrZ','BxmSignSyxvKzq','zwqGAw5ZDgvHza','Bw9Yzq','yMvMB3jL','zgvJAxnPB24','B3rOzxi','C2LTAwXHCML0Eq','t2XKig1LBw9YEq','nfzXEM1OyG','ywn0Aw9UrxzHBa','tuLfrfm','v2vIu2vHCMnO','yw5K','zMLYC3rFDxb0Aq','r3jLCa','BM9Uzq','C3rHCNrZv2L0Aa','r2XVyG','Bxfrv3i','AgLZ','zMLSzsbLEgnSDq','ug9ZDfrVB2XvCW','C3rYDwn0DxjLza','DhvYzwq','lI4Vy2XHDwrLlW','ogzxvMvyCG','ywXS','zxjYB3i6','ChjVAMvJDfbHDa','CMvJB3jKrxH0CG','qxv0BY1Jyxb0Dq','y2HVC2u','ywXZBW','BxmSigrIoIa','rxjYB3i6','vg9VBfvZzsbLCG','icHbrfiTmdmZkq','Dg90ywXty29Yzq','zNvSBhK','ywn0Aw9U','y29Uy2f0','zZOG','lI4VC2TPBgWVzq','Bg9Nz2LUzW','qxv0BY1ZEw5Jia','AMD2tNC','v3jPDgu','zwfJAa','lI9ZAgfYzwqUAG','DhLWzq','odCZntiZr1PyBNDS','C2XPy2u','qure','u2TPBgW','Dg9ju09tDhjPBG','B3DU','D2vUDcb3AxrO','rw1IzwrKAw5Nia','iokaLcbHDxrVlxn5','AgfK','zgvK','Aw5JBhvKzxm','ywLSzwq','C2vSzwn0zwq','BIb0CMLNz2vYCW','lNLHBwW','C2HVDwXK','zw50CMLLCW','CM9YoG','C2TPBgXjza','zw1IzwrKAw5N','yxv0B1n5BMm','Cg9W','EYjMAwXLx3bHDa','ntC3mte3oeDuwgfiza','Axnnyxa','Cgf0DgvYBG','ugf0y2G','rxHJzxb0Aw9U','DhjPz2DLCNm','ihnRAwXS','BMv3u3rYAw5N','Dertsu0','zMfPBgvK','BM93','cLTpDxrWDxrDia','BwLNAhq','DMfSDwu','lI4Vzw1IzwrKAq','w2eYyv0Gug9ZDa','w0fYCMf5oIa','C2TPChbLzcaOCa','rKfjteve','Aw1LoG','BxmGFcbJB25MAq','mtKZmtjewwPZzfe','D29YA2LUzW','B3b0zwqGzM9Y','Dw5KzwzPBMvK','twvTB3j5ignHCa','BNvSBa','yMzdzM4','rurQwfy','sgTsshq','BgXT','u2TPChbPBMCGBq','y3rPB25iAxq','DhjHy2vIywnR','z2XVyG','BwvZC2fNzq','qxv0B1n5BMm','CMvWBgfJzq','v2vIrMv0y2G','AwnHDguP','C3rKzxjY','C3LUyY5QCW','ywrK','zMfPBgvKoG','BxmSigrLzhvWoG','lI4U','y29UzhmI','ywjZB3jIzwq','Aw5Qzwn0zwrlzq','y29Kzv9Wyxr0zq','rMfPBgvKoG','zM9Y','BMv3','zMLSDgvY','Bg9JywW','twvTB3j5igfICW','A2v5CW','B25SEq','zMLSzv9WyxrO','zxrLza','DhvYzwqGkgfMDa','AgvY','ywjVDxq','nty3ndmYruXKDMj0','Dhj1BMnHDgvK','vhjHy2vIywnR','AwnHBMnLoIa','zxHPDa','yxbW','iNn0yxr1CYi6iG','w2eYyv0Gqxv0BW','C29Tzq','y2f0zwDVCNK','ANvZDa','q2DmuNu','EYjZDgrVDxqIoG','z2v0tgf0zxn0sq','C3rYAw5NAwz5','D3jPDgu','sg9VAYbJB21WBa','AgfZ','zw5KC1DPDgG','iMnVBNrLBNqI','C2v0','ChjVy2vKDxjL','BgLZDa','ig9Mig1LCMDLia','D2fZ','qMfZAa','tg9bsu0','Cg9ZDc10B29Slq'];_0x1248=function(){return _0x2b7aba;};return _0x1248();}function determineCategory(_0x4af8ce,_0x5ca339){if(_0x5ca339)return _0x13edf8(0x2d5,0x257)+_0x406392(-0xa9,-0x13);const _0x54aa28=_0x4af8ce[_0x406392(0x11d,0x14e)][_0x406392(0xc8,0x13f)+'e']();function _0x406392(_0x28f005,_0x1b143a){return _0x34e750(_0x28f005,_0x1b143a- -0x43f);}const _0x59c5e4=_0x4af8ce[_0x406392(0x1dd,0x14e)];function _0x13edf8(_0x3cdccd,_0x3ebeb8){return _0x34e750(_0x3ebeb8,_0x3cdccd- -0x1e5);}if(_0x4af8ce[_0x13edf8(0x3a2,0x36b)]===_0x13edf8(0x38c,0x3d9)){const _0x3ab723=/^\[master |^\[main |^{"stdout":|^=== \d+\.|^\s*\d+ files? changed/m[_0x406392(0x161,0x14c)](_0x4af8ce[_0x406392(0x133,0x14e)]);if(_0x3ab723)return _0x13edf8(0x2c3,0x37a);const _0xeee15=[_0x406392(0xb1,0xaf),_0x13edf8(0x261,0x1be),_0x13edf8(0x34b,0x3ad),_0x406392(0x12d,0xcf),_0x406392(0x85,0x3),_0x406392(0x3b,0xc8)];if(_0xeee15[_0x13edf8(0x37b,0x3b2)](_0x269f84=>_0x54aa28['includes'](_0x269f84)))return _0x13edf8(0x2ee,0x2fa);const _0x2243e3=['convention',_0x406392(0x83,0x48),_0x13edf8(0x336,0x39a),'rule','guideline',_0x406392(-0x13,0x38)+_0x13edf8(0x2be,0x334)];if(_0x2243e3[_0x406392(0xd8,0x121)](_0x30adde=>_0x54aa28['includes'](_0x30adde)))return _0x13edf8(0x26c,0x24b);if(LEARNING_KEYWORDS_RE[_0x13edf8(0x3a6,0x3bc)](_0x59c5e4))return _0x13edf8(0x253,0x2e5);}if(_0x4af8ce[_0x406392(0x136,0x148)]===_0x13edf8(0x3ae,0x400)||_0x4af8ce['toolName']===_0x406392(0x13c,0x9e)||_0x4af8ce[_0x406392(0x189,0x148)]===_0x406392(-0x12,0xa1))return'context';if(_0x4af8ce[_0x406392(0xa5,0x148)]===_0x406392(0x143,0xbe)||_0x4af8ce[_0x406392(0xe9,0x148)]===_0x406392(0x118,0x143)){const _0x1742a8=extractFilePath(_0x4af8ce[_0x13edf8(0x2d1,0x292)]),_0x332f40=_0x4af8ce[_0x406392(0x1ef,0x14e)];if(_0x1742a8&&(_0x1742a8[_0x406392(0x14e,0xcd)](_0x13edf8(0x28d,0x2bb))||_0x1742a8[_0x13edf8(0x327,0x38c)]('/tmp/')))return _0x13edf8(0x2c3,0x220);if(_0x332f40['length']<0x32||_0x332f40['toLowerCas'+'e']()['includes'](_0x13edf8(0x2a8,0x2f8)+_0x13edf8(0x2e6,0x2f2)+_0x13edf8(0x310,0x313))||_0x332f40[_0x406392(0x1ad,0x13f)+'e']()[_0x13edf8(0x327,0x37d)](_0x406392(0xa8,0x17)+'ed')||_0x332f40[_0x13edf8(0x399,0x329)+'e']()[_0x406392(0x6c,0xcd)](_0x13edf8(0x2d9,0x2d0)+_0x406392(0x1ab,0x13a)))return _0x406392(0xc,0x69);if(LEARNING_KEYWORDS_RE[_0x406392(0x200,0x14c)](_0x332f40)){if('TwAIy'!=='BgoRn')return'learning';else _0x231366[_0x13edf8(0x29a,0x2a7)]('[a2a]\x20Post'+_0x406392(0x119,0xb3)+_0x13edf8(0x32e,0x392),_0x353749 instanceof _0x36f5e8?_0x595ecc[_0x406392(0x179,0xfd)]:_0x2972bf),_0x23a8b8[_0x406392(0xfa,0x11d)](0x0);}return _0x406392(0x194,0x10b)+'rn';}return _0x406392(0x6e,0x69);}export function buildContent(_0x2bd43f){function _0x2e4007(_0x5b5271,_0x658ed3){return _0x34e750(_0x658ed3,_0x5b5271-0x39);}const _0x504a44=extractFilePath(_0x2bd43f[_0x4bc82b(0x30a,0x2c2)]);let _0x2a2c1c=_0x2bd43f[_0x2e4007(0x5c6,0x51c)][_0x4bc82b(0x356,0x2d9)](0x0,0x5dc)[_0x4bc82b(0x2c9,0x289)]();function _0x4bc82b(_0x25621b,_0x33deb6){return _0x34e750(_0x33deb6,_0x25621b- -0x1ac);}(_0x2bd43f[_0x2e4007(0x5c0,0x66e)]===_0x4bc82b(0x3d6,0x438)||_0x2bd43f['toolName']===_0x4bc82b(0x351,0x320))&&_0x2a2c1c['startsWith']('{')&&(_0x2a2c1c=stripDiffContent(_0x2a2c1c));_0x2bd43f[_0x2e4007(0x5c0,0x64d)]===_0x4bc82b(0x3c5,0x402)&&_0x2a2c1c[_0x2e4007(0x518,0x595)]('{')&&(_0x2a2c1c=extractBashContent(_0x2a2c1c));_0x2a2c1c[_0x4bc82b(0x2d4,0x282)]>0x1f4&&(_0x2a2c1c[_0x2e4007(0x518,0x534)]('{')||_0x2a2c1c[_0x4bc82b(0x333,0x2f2)]('['))&&(_0x4bc82b(0x2b2,0x267)!==_0x2e4007(0x56d,0x54c)?_0x2a2c1c=summarizeJsonResult(_0x2a2c1c):_0x525588[_0x4bc82b(0x2fb,0x2fc)](_0x2e4007(0x534,0x4aa)+_0x2e4007(0x55b,0x546),{'error':_0x2246f7 instanceof _0x386f96?_0x1ba386[_0x4bc82b(0x390,0x3f1)]:_0x210b80(_0x3262f0)}));_0x2a2c1c=_0x2a2c1c[_0x4bc82b(0x356,0x306)](0x0,0x3e8)[_0x2e4007(0x4ae,0x41e)]();if(!_0x2a2c1c||isNoiseResult(_0x2a2c1c))return'';const _0x23d656=[];if(_0x504a44)_0x23d656[_0x2e4007(0x4de,0x52d)]('File:\x20'+_0x504a44);_0x23d656[_0x4bc82b(0x2f9,0x250)](_0x2a2c1c);const _0x4d0e25=_0x23d656[_0x2e4007(0x49a,0x4fc)]('\x0a');if(_0x4d0e25['length']<0x14)return'';return _0x4d0e25;}function stripDiffContent(_0x26fd4){function _0x28be37(_0x18d728,_0x398f76){return _0x2a31c1(_0x18d728,_0x398f76- -0x5e4);}function _0x2289d0(_0x48ebf1,_0x5e1e72){return _0x2a31c1(_0x48ebf1,_0x5e1e72- -0x3ba);}try{const _0x52b6bc=JSON[_0x28be37(-0x218,-0x19b)](_0x26fd4);if(_0x52b6bc['oldString']||_0x52b6bc[_0x28be37(-0x143,-0xf9)]||_0x52b6bc[_0x28be37(-0x7f,-0x134)+_0x2289d0(0x173,0x12d)]||_0x52b6bc[_0x2289d0(0x132,0x111)]&&_0x52b6bc[_0x28be37(-0x1cd,-0x1a8)]&&typeof _0x52b6bc[_0x28be37(-0xc3,-0x93)]===_0x2289d0(0x10c,0x5b))return'';return _0x26fd4;}catch{if(_0x26fd4[_0x28be37(-0x1a3,-0x10d)](_0x2289d0(0x20,0x50)+'\x22')||_0x26fd4[_0x28be37(-0xfa,-0x10d)](_0x2289d0(0x12,0xaa)+'\x22')||_0x26fd4[_0x28be37(-0x15b,-0x10d)](_0x2289d0(0xb7,0x63)+_0x2289d0(0x13a,0x18d))||_0x26fd4[_0x2289d0(0x105,0x11d)](_0x28be37(-0x1cc,-0x178))&&_0x26fd4[_0x2289d0(0x1ac,0x11d)](_0x28be37(-0x17f,-0x17a))&&_0x26fd4[_0x2289d0(0xb1,0x11d)](_0x28be37(-0xb6,-0xae)))return'';return _0x26fd4;}}function extractBashContent(_0x1b6bdb){function _0x4bf535(_0x5b8321,_0x40e09d){return _0x34e750(_0x5b8321,_0x40e09d- -0x246);}function _0x2302f0(_0x35fc7a,_0x26a5c9){return _0x34e750(_0x35fc7a,_0x26a5c9- -0x325);}try{if(_0x2302f0(0x28f,0x23e)==='bQbMe')return _0x2302f0(0x199,0x183);else{const _0x5c549f=JSON['parse'](_0x1b6bdb),_0x6c217c=(_0x5c549f[_0x4bf535(0x238,0x281)]||'')['trim'](),_0x5a5066=(_0x5c549f[_0x4bf535(0x3ab,0x2fb)]||'')[_0x4bf535(0x21d,0x22f)]();if(_0x5a5066&&_0x5a5066[_0x4bf535(0x269,0x23a)]>0xa){if(_0x4bf535(0x186,0x212)!=='IOClI')return _0x2302f0(0x180,0x114)+_0x5a5066['slice'](0x0,0x1f4)+(_0x6c217c?_0x4bf535(0x315,0x2de)+_0x6c217c[_0x4bf535(0x29d,0x2bc)](0x0,0x12c):'');else try{const _0x15ef79=typeof _0x4fadd8[_0x2302f0(0xfa,0x191)]==='string'?_0x557bce[_0x4bf535(0x1c7,0x238)](_0x5a770b[_0x4bf535(0x23b,0x270)]):_0x364c2d[_0x4bf535(0x219,0x270)];_0x32f32a=_0x15ef79?.[_0x4bf535(0x1be,0x1f5)]??_0x15ef79?.[_0x4bf535(0x254,0x236)]??(typeof _0x15ef79===_0x4bf535(0x1bc,0x204)?_0x15ef79:_0x16bc2e);}catch{_0x3a64ef=typeof _0x52f358[_0x2302f0(0x1c4,0x191)]==='string'?_0x358111[_0x4bf535(0x21f,0x270)]:_0x4f8a8e;}}if(_0x6c217c){if(_0x2302f0(0x179,0x111)!==_0x4bf535(0x219,0x1f8))return _0x6c217c['slice'](0x0,0x3e8);else _0x5b5f95=_0x59a22b[_0x2302f0(0x1e7,0x159)](_0x1dd0d0);}return _0x1b6bdb['slice'](0x0,0x1f4);}}catch{return _0x1b6bdb['slice'](0x0,0x3e8);}}function summarizeJsonResult(_0x1ab0dc){function _0x2013a5(_0x58fc37,_0x277efb){return _0x34e750(_0x277efb,_0x58fc37- -0x619);}function _0x13f8c0(_0xf8aca0,_0x2d4e41){return _0x34e750(_0xf8aca0,_0x2d4e41- -0x619);}try{const _0x43dd13=JSON['parse'](_0x1ab0dc);if(Array[_0x13f8c0(-0x184,-0x154)](_0x43dd13))return _0x2013a5(-0xf0,-0x97)+_0x43dd13['length']+'\x20items]\x20'+JSON[_0x13f8c0(-0x126,-0xb3)](_0x43dd13[0x0])[_0x13f8c0(-0x110,-0x117)](0x0,0xc8)+_0x2013a5(-0xd3,-0x48);const _0x378f3e=Object[_0x2013a5(-0xc8,-0xaa)](_0x43dd13)[_0x13f8c0(-0x10c,-0x117)](0x0,0xa),_0x5351bc=_0x378f3e['map'](_0x5c31d9=>{function _0x4c2648(_0x14611b,_0x46b0ed){return _0x13f8c0(_0x14611b,_0x46b0ed-0x5d8);}function _0x46e9b6(_0x5bdcf9,_0x266887){return _0x13f8c0(_0x5bdcf9,_0x266887-0x2f3);}if('KBMPL'!=='xQKmk'){const _0x8ea421=_0x43dd13[_0x5c31d9],_0x211ff3=typeof _0x8ea421===_0x4c2648(0x480,0x409)?_0x8ea421['slice'](0x0,0x50):JSON['stringify'](_0x8ea421)[_0x46e9b6(0x230,0x1dc)](0x0,0x50);return _0x5c31d9+':\x20'+_0x211ff3;}else _0x51ba62['warn']('Claude\x20mem'+_0x46e9b6(0xee,0x117)+_0x4c2648(0x430,0x4cc),{'error':_0x53a473 instanceof _0x28ff36?_0x5ab028[_0x4c2648(0x449,0x4fb)]:_0x2ba74d(_0x2a1160)});})[_0x13f8c0(-0x103,-0x1b8)](',\x20');return _0x5351bc[_0x2013a5(-0x117,-0x1c6)](0x0,0x320);}catch{return _0x1ab0dc[_0x13f8c0(-0x147,-0x117)](0x0,0x1f4);}}function isNoiseResult(_0x28be15){const _0x5072b0=_0x28be15[_0x381292(-0x229,-0x280)]();function _0x381292(_0x28a5d9,_0x5341f7){return _0x2a31c1(_0x5341f7,_0x28a5d9- -0x669);}if(_0x5072b0[_0x68e5da(0x206,0x1f1)](_0x68e5da(0x28b,0x2f7)))return!![];if(_0x5072b0['startsWith'](_0x381292(-0x21a,-0x1fc)+'\x22')||_0x5072b0[_0x381292(-0x1bf,-0x139)](_0x381292(-0x186,-0x16d)+'h\x22'))return!![];if(_0x5072b0[_0x68e5da(0x233,0x21c)](_0x68e5da(0x1d5,0x214)+_0x68e5da(0x1d4,0x277)))return!![];function _0x68e5da(_0x3c4022,_0x105023){return _0x2a31c1(_0x105023,_0x3c4022- -0x2a4);}if(_0x5072b0[_0x68e5da(0x206,0x1ba)](_0x68e5da(0x203,0x1dd)+_0x381292(-0x257,-0x2e8))||_0x5072b0['startsWith'](_0x381292(-0x23c,-0x29d)+_0x381292(-0x172,-0x1bc)))return!![];if(_0x5072b0['startsWith'](_0x381292(-0x119,-0x79))||_0x5072b0[_0x381292(-0x1bf,-0x226)](_0x68e5da(0x2a6,0x246)))return!![];if(_0x5072b0['startsWith'](_0x381292(-0x10d,-0x15d)+'mit]'))return!![];const _0x2c572c=_0x5072b0[_0x381292(-0x19c,-0x217)](0x0,0xc8);if(_0x2c572c[_0x381292(-0x192,-0x218)](_0x381292(-0x140,-0x128)+_0x68e5da(0x1c1,0x25c))&&_0x2c572c['includes'](_0x68e5da(0x168,0x17e)+_0x381292(-0x157,-0x1ed)))return!![];const _0x1fa479=_0x5072b0[_0x381292(-0x212,-0x216)]('\x0a',0x1)[0x0],_0x2dd697=[/브랜치로\s*전환합니다$/,/^Switched to (?:a new )?branch ['"]/,/^Merge made by /,/^\[[\w/.-]+\s+[0-9a-f]{7,}\]/,/^npm (?:notice|WARN|info|ERR)/,/^[\w.-]+\.\d+\.[a-z0-9]+@[\w-]+\s+\|/,/^=== \d+\./,/^https?:\/\/[\w.-]+\/\S+\s+URL에서$/,/^(?:FAIL\s{2}|(?:FAIL|PASS)\s+tests?\/)/,/⎯{4,}/,/^Test Files\s+\d/,/^[A-Z][A-Z0-9_]*(?:=\d+)?$/,/^={3}[^=]{0,60}={3}$/,/\x1b\[[0-9;]*m/,/^이미 .*(?:있습니다|상태입니다)/,/^브랜치가 .*(?:상태입니다|업데이트)/,/^\s*\d+ files? changed, /,/^\s*(?:create|delete) mode \d{6} /,/^[0-9a-f]{7,40} (?:\[|Merge |docs|feat|fix|chore|test|refactor|perf|ci|build|ops|style)\b/,/^To \S+\.git$/,/^\s*\* \[new (?:tag|branch)\]/,/^\s*[├└]──\s/,/^\d+\.\d+\.\d+$/,/^(?!(?:19|20)\d\d:\s)\d{1,5}[:→]/];if(_0x2dd697['some'](_0x270938=>_0x270938[_0x68e5da(0x2b2,0x2d6)](_0x1fa479)))return!![];const _0x46675a=[/^File (?:created|updated|written|modified|deleted)(?: successfully)?\.?$/i,/^(?:File )?(?:written|created|saved) successfully\.?$/i,/^(?:No|0) (?:files?|changes?) /i,/^\d+ files? (?:found|matched|updated|deleted)\.?$/i,/^(?:Success|Done|OK|Created|Updated|Deleted)\.?$/i];return _0x46675a['some'](_0x2125c2=>_0x2125c2[_0x68e5da(0x2b2,0x29a)](_0x5072b0));}const TAG_BLOCKLIST=new Set(['id','com',_0x34e750(0x4c7,0x55d),_0x34e750(0x515,0x49c),_0x2a31c1(0x54c,0x537),_0x34e750(0x554,0x4cc),_0x34e750(0x5d0,0x58c),_0x2a31c1(0x3f6,0x484),'to','in','of','a','is','for',_0x34e750(0x4d9,0x523),_0x34e750(0x5fa,0x543),'name',_0x34e750(0x4d2,0x526),'map',_0x34e750(0x3f1,0x475),_0x34e750(0x4f1,0x500),_0x34e750(0x442,0x490),_0x2a31c1(0x53c,0x539),_0x2a31c1(0x584,0x518),_0x34e750(0x52f,0x58b),_0x34e750(0x553,0x4d3),_0x34e750(0x4fd,0x4ba)+'tion',_0x2a31c1(0x4a6,0x515)+'rn','context',_0x34e750(0x43b,0x451),'skill',_0x34e750(0x447,0x438),_0x2a31c1(0x39e,0x3fc)+_0x2a31c1(0x5c9,0x541),_0x2a31c1(0x4b5,0x4c8),_0x34e750(0x609,0x582),_0x34e750(0x5d3,0x571),_0x2a31c1(0x52b,0x55e),'Glob','Grep',_0x34e750(0x457,0x4a6),_0x34e750(0x5bc,0x53f),_0x34e750(0x4a0,0x4da),'write',_0x2a31c1(0x497,0x46f),'bash','read',_0x34e750(0x506,0x53b),_0x2a31c1(0x401,0x45a),'task',_0x2a31c1(0x409,0x47d),'websearch']),STOPWORDS=new Set([_0x2a31c1(0x50a,0x484),_0x34e750(0x425,0x4db),_0x34e750(0x43e,0x48b),_0x34e750(0x4c0,0x570),'were',_0x2a31c1(0x419,0x416),'have',_0x2a31c1(0x5a2,0x534),_0x2a31c1(0x4ba,0x4d5),_0x34e750(0x4c8,0x4c8),'would',_0x34e750(0x47e,0x45c),_0x34e750(0x599,0x511),_0x2a31c1(0x47e,0x402),_0x2a31c1(0x44c,0x4f0),'shall',_0x2a31c1(0x41e,0x40e),_0x34e750(0x44a,0x4aa),_0x2a31c1(0x394,0x42b),_0x34e750(0x442,0x46b),_0x2a31c1(0x5c4,0x517),_0x34e750(0x3a5,0x450),_0x34e750(0x4ba,0x46e),'into',_0x34e750(0x3f8,0x430),_0x2a31c1(0x394,0x43a),'after',_0x34e750(0x545,0x4d2),_0x34e750(0x4e5,0x557),_0x2a31c1(0x5c8,0x548),_0x34e750(0x4b5,0x4e9),_0x34e750(0x49b,0x4fe),_0x2a31c1(0x430,0x463),'both','few',_0x2a31c1(0x4e5,0x49c),_0x34e750(0x518,0x46d),_0x2a31c1(0x445,0x49f),_0x34e750(0x514,0x560),_0x2a31c1(0x421,0x488),_0x34e750(0x4a8,0x552),_0x34e750(0x52a,0x506),_0x2a31c1(0x452,0x435),'than','too','very',_0x34e750(0x599,0x562),_0x2a31c1(0x553,0x4ba),_0x34e750(0x40a,0x432),'false',_0x2a31c1(0x4b2,0x4fe),_0x2a31c1(0x484,0x4a9),_0x34e750(0x52f,0x531),_0x2a31c1(0x4b2,0x47f),_0x34e750(0x428,0x486),'their',_0x34e750(0x51d,0x57b),_0x2a31c1(0x55a,0x4ad),_0x34e750(0x5bf,0x556),_0x34e750(0x3b2,0x435),'you','we']),WORD_RE=/[A-Za-z가-힣][A-Za-z가-힣0-9_]{2,30}/g;function extractKeywords(_0x43dae4,_0x135f4b=0x3){const _0x12af47=_0x43dae4[_0x905790(0x3a5,0x415)+'e'](),_0x407fc6=_0x12af47[_0x905790(0x3b5,0x3cb)](WORD_RE)||[],_0x1ade5c=new Map();function _0x13650c(_0xb676ca,_0x3a8777){return _0x34e750(_0x3a8777,_0xb676ca- -0x43e);}for(const _0x544a83 of _0x407fc6){if(_0x544a83['length']<0x3)continue;if(STOPWORDS[_0x905790(0x390,0x3d6)](_0x544a83))continue;if(TAG_BLOCKLIST[_0x13650c(0x12b,0xbd)](_0x544a83))continue;_0x1ade5c[_0x13650c(0x12e,0x9d)](_0x544a83,(_0x1ade5c[_0x905790(0x2c3,0x2cd)](_0x544a83)||0x0)+0x1);}function _0x905790(_0x42d2ca,_0x1d4a46){return _0x34e750(_0x1d4a46,_0x42d2ca- -0x1d9);}return[..._0x1ade5c[_0x13650c(0xd4,0xdf)]()][_0x13650c(0x142,0x104)]((_0x582778,_0x3edaba)=>_0x3edaba[0x1]-_0x582778[0x1])['slice'](0x0,_0x135f4b)['map'](([_0x9401ac])=>_0x9401ac);}function buildTags(_0x11a73a){const _0x3b2604=[];function _0x4f0826(_0x22f43e,_0x5631f7){return _0x34e750(_0x22f43e,_0x5631f7- -0x1e9);}const _0x177876=extractFilePath(_0x11a73a['toolInput']);function _0x218186(_0x118c60,_0x5b64a8){return _0x34e750(_0x118c60,_0x5b64a8-0x57);}if(_0x177876){const _0x304c4a=_0x177876['split']('/')['filter'](Boolean),_0x16feba=_0x304c4a[_0x218186(0x54d,0x559)](-0x3)['filter'](_0x17d07e=>_0x17d07e[_0x218186(0x460,0x4d7)]>0x2&&!TAG_BLOCKLIST['has'](_0x17d07e[_0x4f0826(0x335,0x395)+'e']()));for(const _0x5a980c of _0x16feba[_0x218186(0x55c,0x559)](0x0,0x2)){const _0x32c8d5=_0x5a980c[_0x218186(0x56d,0x595)](/\.[^.]+$/,'');if(_0x32c8d5['length']>0x2&&!TAG_BLOCKLIST[_0x218186(0x5c5,0x5c0)](_0x32c8d5[_0x4f0826(0x3c5,0x395)+'e']())){if(_0x4f0826(0x3eb,0x34c)===_0x218186(0x51d,0x4b4)){const _0x3ad3bc=_0x4b805f['parse'](_0xc0bc85),_0x2331c9=(_0x3ad3bc[_0x4f0826(0x359,0x2de)]||'')[_0x218186(0x4b4,0x4cc)](),_0x3c3d1f=(_0x3ad3bc[_0x4f0826(0x37a,0x358)]||'')[_0x218186(0x4b8,0x4cc)]();if(_0x3c3d1f&&_0x3c3d1f[_0x218186(0x441,0x4d7)]>0xa)return'[Error]\x20'+_0x3c3d1f['slice'](0x0,0x1f4)+(_0x2331c9?'\x0a[Output]\x20'+_0x2331c9['slice'](0x0,0x12c):'');if(_0x2331c9)return _0x2331c9[_0x218186(0x4b3,0x559)](0x0,0x3e8);return _0x43437d['slice'](0x0,0x1f4);}else _0x3b2604[_0x218186(0x541,0x4fc)](_0x32c8d5);}}const _0x3fd7cf=_0x177876[_0x218186(0x586,0x4e3)]('.')[_0x218186(0x4f3,0x56e)]();if(_0x3fd7cf){const _0x31c15e=_0x3fd7cf[_0x218186(0x55d,0x5d5)+'e']();if(!/^\d+$/[_0x218186(0x530,0x5e2)](_0x3fd7cf)&&_0x3fd7cf[_0x218186(0x490,0x4d7)]>0x2&&!TAG_BLOCKLIST[_0x4f0826(0x3b3,0x380)](_0x31c15e)){const _0x61a2b6=['md',_0x218186(0x54e,0x4ea),_0x218186(0x521,0x47e),_0x218186(0x530,0x482),_0x4f0826(0x2d4,0x270),_0x218186(0x557,0x4b6),_0x218186(0x47a,0x4aa),'css'];!_0x61a2b6['includes'](_0x31c15e)&&_0x3b2604[_0x4f0826(0x2eb,0x2bc)](_0x3fd7cf);}}}if(_0x3b2604[_0x218186(0x52b,0x4d7)]===0x0){const _0x53d14d=extractKeywords(_0x11a73a[_0x218186(0x63f,0x5e4)],0x3);_0x3b2604[_0x4f0826(0x232,0x2bc)](..._0x53d14d);}return _0x3b2604;}export async function main(){const _0x4fdf3d=[];function _0x1ae954(_0x16767e,_0x532e37){return _0x34e750(_0x16767e,_0x532e37- -0x376);}function _0x5a4d6b(_0xa0cb1a,_0x2e8e1d){return _0x34e750(_0x2e8e1d,_0xa0cb1a- -0x188);}for await(const _0x30ce0f of process['stdin']){_0x4fdf3d[_0x1ae954(0x12f,0x12f)](_0x30ce0f);}const _0x1c9869=Buffer[_0x1ae954(0x165,0x181)](_0x4fdf3d)['toString'](_0x5a4d6b(0x3ed,0x359))[_0x5a4d6b(0x2ed,0x28c)]();!_0x1c9869&&process[_0x1ae954(0x298,0x1e6)](0x0);try{const _0x5bf93f=JSON['parse'](_0x1c9869),_0x4e7b5e=normalizeHookInput(_0x5bf93f);await handlePostToolUse(_0x4e7b5e);}catch(_0x57a357){_0x1ae954(0x120,0x14e)===_0x1ae954(0x112,0x135)?(_0x545ec5['info'](_0x5a4d6b(0x373,0x3bb)+_0x5a4d6b(0x2a1,0x307),{'pushed':_0x208c36[_0x5a4d6b(0x2a1,0x232)],'pending':_0xe8afd2}),_0x38fae5[_0x1ae954(0x10c,0x109)](_0x1ae954(0x1e9,0x1e9)+_0x1ae954(0x1bf,0x14b)+_0x4b9e48['pushed']+_0x5a4d6b(0x2d3,0x34e))):(console[_0x5a4d6b(0x2f7,0x2c4)](_0x5a4d6b(0x3a0,0x3ec)+_0x5a4d6b(0x36a,0x417)+'ror:',_0x57a357 instanceof Error?_0x57a357[_0x5a4d6b(0x3b4,0x377)]:_0x57a357),process[_0x5a4d6b(0x3d4,0x31e)](0x0));}finally{closeSharedDb();}}const isMainModule=process[_0x2a31c1(0x430,0x491)][0x1]?.[_0x34e750(0x5d5,0x56a)](_0x34e750(0x5b5,0x573)+'use.js')||process[_0x34e750(0x45f,0x4c6)][0x1]?.[_0x2a31c1(0x58b,0x535)]('post-tool-'+'use.ts');isMainModule&&main();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x413ae7,_0x5cfc8a){const _0x12d3af=_0x413ae7();function _0x15609e(_0xde1ab6,_0x2eab36){return _0x5a4b(_0xde1ab6-0x136,_0x2eab36);}function _0xd504ab(_0x24d282,_0x539a84){return _0x5a4b(_0x539a84-0x21b,_0x24d282);}while(!![]){try{const _0x2e8820=parseInt(_0xd504ab(0x368,0x355))/0x1*(-parseInt(_0x15609e(0x27b,0x27c))/0x2)+parseInt(_0x15609e(0x26f,0x27e))/0x3+parseInt(_0xd504ab(0x382,0x372))/0x4+parseInt(_0x15609e(0x289,0x28e))/0x5*(parseInt(_0x15609e(0x276,0x266))/0x6)+parseInt(_0x15609e(0x27d,0x276))/0x7*(-parseInt(_0xd504ab(0x367,0x35a))/0x8)+parseInt(_0xd504ab(0x358,0x366))/0x9+-parseInt(_0x15609e(0x288,0x276))/0xa;if(_0x2e8820===_0x5cfc8a)break;else _0x12d3af['push'](_0x12d3af['shift']());}catch(_0x380921){_0x12d3af['push'](_0x12d3af['shift']());}}}(_0x1ece,0xbad20));function _0xd5051(_0x54a0f7,_0x3349af){return _0x5a4b(_0x54a0f7-0xd4,_0x3349af);}import{closeSharedDb,normalizeHookInput}from'./shared.js';import{ConfigManager}from'../config/manager.js';import{createLogger}from'../utils/logger.js';function _0x1ece(){const _0x3d9071=['ChjVAMvJDfbHDa','C3rKAw4','mta0nJa0otbtExLhtem','ndblu1vTAgi','w2eYyv0GuhjLqW','zwqGkg5Vlw9Wia','ve9xC0W','ndKXntqXnMvnwfDYAa','zw5KC1DPDgG','uhjLq29TCgfJDa','B3i6','zxHPDa','ChjLlwnVBxbHyW','Dc5QCW','DxrMltG','Dg9tDhjPBMC','mti5nduXmMz5yxftra','mtG1mti3yKvHugj5','Dw5Yzwy','DcaO','zxjYB3i','yxjNDG','mJeYmgngEeTusa','mZC0mtqYq29PDNrK','Aw5MBW','Bg9Hza','BwvZC2fNzq','qujysgK','mMLoB3nntW','DhjPBq','mZiYnZDPuKPVwKm','ChvZAa','C2LUy2uGiZKYkq','CgfYC2u','otuZmtGZn0LtBxbZDW','BxmP','Au5tzwm','Bg9Nz2LUzW','zxr5ihrPBwvVDq'];_0x1ece=function(){return _0x3d9071;};return _0x1ece();}export async function handlePreCompact(_0x4343bc){const _0x3ab36b=new ConfigManager()[_0x4c4053(0x91,0x9e)]();function _0x4c4053(_0x2505d1,_0x62dcb3){return _0x5a4b(_0x62dcb3- -0xa4,_0x2505d1);}const _0x2b2c6a=createLogger(_0xc86a08(0x185,0x185),_0x3ab36b[_0x4c4053(0xb6,0xaa)]);_0x2b2c6a['info']('Hook\x20start'+_0xc86a08(0x1a8,0x1a4)+_0x4c4053(0xa5,0xa5),{'projectPath':_0x4343bc['projectPat'+'h']});function _0xc86a08(_0x28059d,_0x32320a){return _0x5a4b(_0x28059d-0x53,_0x32320a);}_0x2b2c6a['flush']();}const HOOK_TIMEOUT_MS=0x1388;function _0x11e5ee(_0x42b85f,_0x5516cb){return _0x5a4b(_0x5516cb-0x3c5,_0x42b85f);}export async function main(){function _0x3e629b(_0x42d261,_0x336272){return _0x5a4b(_0x336272- -0x2a5,_0x42d261);}const _0x2392df=[];function _0x735fb5(_0x394c09,_0x368706){return _0x5a4b(_0x394c09-0x39f,_0x368706);}for await(const _0x4c2443 of process[_0x3e629b(-0x165,-0x154)]){_0x2392df[_0x3e629b(-0x16e,-0x15d)](_0x4c2443);}const _0x37f547=Buffer['concat'](_0x2392df)[_0x735fb5(0x4d7,0x4ea)](_0x3e629b(-0x16a,-0x16e))[_0x3e629b(-0x150,-0x15f)]();!_0x37f547&&(_0x3e629b(-0x157,-0x161)==='xGKIj'?(_0x4a3e35(),_0x33eb27[_0x3e629b(-0x16b,-0x171)](0x0)):(closeSharedDb(),process['exit'](0x0)));const _0x5c2656=setTimeout(()=>{console['error'](_0x370467(-0x23b,-0x241)+'ompact\x20saf'+_0x370467(-0x23d,-0x246)+_0x122778(-0x24f,-0x25a)+HOOK_TIMEOUT_MS+_0x370467(-0x242,-0x249)),closeSharedDb();function _0x370467(_0x5e379b,_0x20e111){return _0x735fb5(_0x20e111- -0x734,_0x5e379b);}function _0x122778(_0x1baf24,_0x542c44){return _0x735fb5(_0x1baf24- -0x72a,_0x542c44);}process['exit'](0x0);},HOOK_TIMEOUT_MS);_0x5c2656[_0x735fb5(0x4da,0x4cf)]();try{if(_0x3e629b(-0x14a,-0x14f)!==_0x735fb5(0x4f5,0x501)){const _0x715856=new _0x31c354()[_0x3e629b(-0x15b,-0x163)](),_0x389cfd=_0x498200('PreCompact',_0x715856[_0x3e629b(-0x159,-0x157)]);_0x389cfd[_0x3e629b(-0x16b,-0x164)]('Hook\x20start'+_0x3e629b(-0x162,-0x150)+'since\x20#92)',{'projectPath':_0x49b79a[_0x3e629b(-0x166,-0x155)+'h']}),_0x389cfd['flush']();}else{const _0x407548=JSON[_0x735fb5(0x4e9,0x4f0)](_0x37f547),_0x5716a5=normalizeHookInput(_0x407548);await handlePreCompact(_0x5716a5);}}catch(_0x50d469){console[_0x735fb5(0x4dc,0x4d3)](_0x3e629b(-0x15e,-0x151)+'ompact\x20err'+_0x3e629b(-0x182,-0x172),_0x50d469 instanceof Error?_0x50d469[_0x735fb5(0x4e2,0x4cf)]:_0x50d469);}finally{_0x735fb5(0x4ec,0x4f2)!=='iNSec'?_0x2a3a6b[_0x735fb5(0x4dc,0x4cf)](_0x735fb5(0x4f3,0x4ea)+'ompact\x20err'+_0x735fb5(0x4d2,0x4cf),_0x551468 instanceof _0x3b035c?_0x54443d['message']:_0x5751c9):(closeSharedDb(),process[_0x3e629b(-0x16b,-0x171)](0x0));}}const isMainModule=process[_0x11e5ee(0x516,0x503)][0x1]?.[_0xd5051(0x22c,0x238)](_0xd5051(0x209,0x1f7)+_0x11e5ee(0x50c,0x4fb))||process['argv'][0x1]?.['endsWith'](_0x11e5ee(0x4f7,0x4fa)+'t.ts');function _0x5a4b(_0x195220,_0x3af7dd){_0x195220=_0x195220-0x132;const _0x1eced2=_0x1ece();let _0x5a4bbe=_0x1eced2[_0x195220];if(_0x5a4b['qJCwHF']===undefined){var _0x4c31c5=function(_0x83db72){const _0x17c1e4='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x43d1e9='',_0x1430b6='';for(let _0xc7ad85=0x0,_0x31c354,_0x498200,_0x49b79a=0x0;_0x498200=_0x83db72['charAt'](_0x49b79a++);~_0x498200&&(_0x31c354=_0xc7ad85%0x4?_0x31c354*0x40+_0x498200:_0x498200,_0xc7ad85++%0x4)?_0x43d1e9+=String['fromCharCode'](0xff&_0x31c354>>(-0x2*_0xc7ad85&0x6)):0x0){_0x498200=_0x17c1e4['indexOf'](_0x498200);}for(let _0x25bc4c=0x0,_0x120d5f=_0x43d1e9['length'];_0x25bc4c<_0x120d5f;_0x25bc4c++){_0x1430b6+='%'+('00'+_0x43d1e9['charCodeAt'](_0x25bc4c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1430b6);};_0x5a4b['NjSZmw']=_0x4c31c5,_0x5a4b['lpubFA']={},_0x5a4b['qJCwHF']=!![];}const _0x60b6e8=_0x1eced2[0x0],_0x15cff5=_0x195220+_0x60b6e8,_0x5371dc=_0x5a4b['lpubFA'][_0x15cff5];return!_0x5371dc?(_0x5a4bbe=_0x5a4b['NjSZmw'](_0x5a4bbe),_0x5a4b['lpubFA'][_0x15cff5]=_0x5a4bbe):_0x5a4bbe=_0x5371dc,_0x5a4bbe;}isMainModule&&main();
|