a2a-memory 0.12.67 → 0.12.69
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/measure.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.js +1 -1
- package/dist/config/prompt-hook.js +1 -1
- package/dist/contextrank/ac-matcher.js +1 -1
- 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/contextrank/since-store.js +1 -1
- package/dist/db/database.d.ts +17 -0
- package/dist/db/database.js +1 -1
- package/dist/db/integrity-marker.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.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.d.ts +18 -0
- 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/channel-metrics.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/file-mode.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 +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x4bf71c,_0x49bfa7){const _0x8ba273=_0x4bf71c();function _0x365173(_0x406306,_0x46fc42){return _0x238f(_0x406306-0x1ef,_0x46fc42);}function _0x367419(_0x156ac1,_0x466588){return _0x238f(_0x466588-0x267,_0x156ac1);}while(!![]){try{const _0x455201=-parseInt(_0x365173(0x397,0x348))/0x1+-parseInt(_0x367419(0x42e,0x45b))/0x2*(-parseInt(_0x367419(0x451,0x44a))/0x3)+parseInt(_0x367419(0x3eb,0x40c))/0x4*(parseInt(_0x367419(0x4ac,0x44d))/0x5)+-parseInt(_0x367419(0x4c6,0x4aa))/0x6*(-parseInt(_0x365173(0x409,0x444))/0x7)+-parseInt(_0x367419(0x48c,0x488))/0x8+parseInt(_0x365173(0x438,0x490))/0x9*(parseInt(_0x367419(0x43a,0x41c))/0xa)+parseInt(_0x365173(0x469,0x451))/0xb*(parseInt(_0x367419(0x474,0x4cf))/0xc);if(_0x455201===_0x49bfa7)break;else _0x8ba273['push'](_0x8ba273['shift']());}catch(_0x38aadf){_0x8ba273['push'](_0x8ba273['shift']());}}}(_0x47aa,0x875fa));function _0x47aa(){const _0x1741e1=['CMvWBgfJzq','DgLVBG','y291BNq','AM9PBG','q0XbvurflM1K','r2XVyG','nta4oxLxDwryCq','BgvUz3rO','B3b0zwqGzM9Y','DNvL','CMvKAxm','AxnbCNjHEq','zML4','ntm5mti4ogjnANDyrq','Cgf0DgvYBG','y2XHC3mG','zgvMia','zw52AxjVBM1LBG','BMvLzcb0BW','C3rYyxrLz3K','Bwf0y2HdB3vUDa','zxjYB3jFC29SDq','BxbSzxm6cG','Aw1WBgvTzw50','DMfYia','AMf2yq','CgfYC2u','AgrIzNK','B3DSzwrNzq','C3rHCNrZv2L0Aa','qwfpC2e','C2XPy2u','r3jLCa','C29Tzq','DhLWzxnJCMLWDa','BL0G','wNn5zNi','Aw5PDgLHBgL6yq','y2XHC3m','zgLMzIaTlwDPDa','Aw5ZDgfSBa','C3rYAw5NAwz5','Bwf4','y29UDgv4Da','EwX3DLa','q0HbtKDfte9h','CMvMywn0B3i','mJa3nKDHr211ua','CM9Szq','C2HVDwXK','B0DwsMK','DxbKyxrL','xtOG','mJC2otu3DM1KAM9n','y29TCgXLDgu','oIaIlI4UiIWGiG','sNHRrhm','y29UDMvUDgLVBG','Dg9VBc11C2fNzq','ywX3yxLZ','yNvPBgq','ugnQtKS','BwLU','zxbPC29Kzq','y29Kzv9Wyxr0zq','Dg9mB3DLCKnHCW','y29UC3qG','ANn4','zMfPBgvK','BwfW','C29YDa','CMv0DxjUia','ioY2LoY2No2vMoYeUoYALc4k6Rcb6Rcb','66gCioUWMo2zMc4kcUUmGo2zLdO','C3rYAw5N','C2v0','7jwm6RkmioUqKa','Cgf0DgvYBI9Kzq','rwrPDa','DgfNCYi6ifSIlG','Aw5ZDgvHzcbVzG','7zMy6Rk97isK7kcv','Aw5KzxHpzG','CNvSzq','mJu1oteYy2TWCKzk','z1jxzKm','iIb1C2vKia','BNrLBNqSihrHzW','CMvZB2X2zq','lI4Ixx1D','yxDZ','zxjYB3i','BgvHCM5PBMC','7lsi6RIW7zMu','Aw5WDxq','veLm','EwfTBa','Cg9ZDgDYzxnXBa','y29UDgvUDa','zgvIDwC','ChjVAMvJDf9RBG','D2vICgfJAW','mtK4t1rJENbs','CMf0AgvYihrOyq','Bgv0ia','zMLSDgvYzwq','BxLZCwW','DgLVBI9JB2rLxW','BM9Kzs5QCW','zMLNDxjLzcbVDq','AhvTyw4','zwrNzs9JB252zq','C3bSAxq','Aw1WB3j0ia','zMLSDgvY','y2XHC3nPzNK','ChjLzMvY','Dhn4','wLz5tvq','BgfZDeLUzgv4tW','B3b0Aw1PEMu','q29KzsbTB2rPzG','y29UzMLN','ngHbvMnxDG','Aw5ZDgvHza','BwvZC2fNzq','otmWnZm3uMzRshnU','BwvTB3j5vhLWzq','7l2u65oCioU4LoUHNsdSL4BSNBqPoG','DxvPza','AgfZ','rxHJzxb0Aw9U','C+ULVcbku09oioUWSoYxTa','zxHWB3j0','BNrPB24PlcbJBW','y3nZ','AhrTBa','zNvUy3rPB24G','swXqq0e','mtCWzvHQr2Xt','CMvZDa','DxbNCMfKzq','7j207zw07zAi','zxHWCMvZCW','cGPBu29SDxrPBW','DgfNCW','zNvUy3rPB24','DgvK','BMfTzq','Aw1WB3j0','zxnSAw50','zxHWzxjPzw5Jzq','y29Kzs1Wyxr0zq','vg9VBcaI','vhjHy2vIywnR','z3jHCgHXBa','ChvZAa','66Y07kgW6Rg0','yxbWCM9Hy2G','zxbPC29KAwm','z2nW','DgLTzxn0yw1W','CMvHBgL6zwq','CgXHExDYAwDODa','z2v0','qxHQuLu','BgvHCM5Lza','DhH0','C3rHy2SGDhjHyW','Dhj5','ignHDgvNB3j5ka','DhjHy2vIywnR','y2HHBMDL','C2vTyw50Awm','Dgv4Da','rKfjteve','Dg9VBf9Yzxn1Ba','CMvSzwfZzq','6RkW7kcv7zAi','AwyG','C3r5Bgu','zw50CMLLCW','AwnHDgLVBIbWyq','Dw5KzxjZDg9Vza','7iUSioYNGoYlNEYDHcaZFJxQSjW','m2DOv21Ava','zxHJzxb0Aw9U','Dg9VBf91C2u','mZi1odC0mfPdDwz5Da','AMf2yxnJCMLWDa','zgLZy292zxj5','DgvZDa','C2fTCgXLCW','y29UzMLNDxjL','C29SDxrPB24','rvjst1i','zgvWBg95','zM9Yia','BM93','z2L0','surVvK8','BMv4Dc5QCW','nJK3nJC4C05rzMnI','y2rcBhi','C3DPzNq','DhrLCM46ia','7isG7yoD7zAi','ChjVy2vKDxjL','Cg9W','AMvZDa','y2f0zwDVCNK','zMfJDa','cGPku09oioUWSoYxToUNJa','BwvTB3jPzxm','ihrPBwvZlIbtyq','DhjPBq','w0vYCM9Yxsa','zgvJAxnPB24','yxnZAxn0yw50','CMv2Awv3','C3vTBwfYAxPL','zgvJAwrLza','yw5NDwXHCG','Aw5JBhvKzxm','zg9JA2vY','y2HVC2u','DhLWzq','y3DzvMW','v2vIrMv0y2G','A3vIzxjUzxrLCW','Ew1S','qxnZAxn0yw50','phn5C3rLBs1Yzq','AwnHDgLVBG'];_0x47aa=function(){return _0x1741e1;};return _0x47aa();}import{filterSensitiveInfo}from'./filter.js';import{deduplicateByContent}from'./similarity.js';const STRONG_DECISION_KEYWORDS=[_0xa4f400(-0x164,-0x14a),_0x1b416(-0xf,-0x33),_0xa4f400(-0x153,-0x12e),_0x1b416(0x9f,0x2a),_0x1b416(-0x5,0x41)+'n',_0x1b416(-0xb7,-0x42),_0x1b416(0x14,-0x5e),'대신'],WEAK_DECISION_KEYWORDS=[_0xa4f400(-0x1a7,-0x132),_0xa4f400(-0x148,-0x1ab),_0xa4f400(-0x16c,-0x11b),'방식','접근','전략','선택','결정'],CONVENTION_KEYWORDS=['선호','항상',_0x1b416(-0xc3,-0x73),'습관','규칙',_0xa4f400(-0x1d1,-0x1da),_0xa4f400(-0x120,-0x142),'never',_0x1b416(0x3c,0x13),_0x1b416(0x70,0x2d),_0x1b416(-0x95,-0x5c),_0xa4f400(-0x14d,-0x158)];function _0xa4f400(_0x57c236,_0x1c1825){return _0x238f(_0x57c236- -0x36f,_0x1c1825);}const ERROR_INDICATORS=[_0xa4f400(-0x100,-0xc5),'Error',_0x1b416(-0xa1,-0x4d),_0x1b416(-0x2,-0x56),_0x1b416(-0x50,-0x8d),_0xa4f400(-0x117,-0xd9),'Failed',_0xa4f400(-0x196,-0x1af),_0xa4f400(-0x19a,-0x199),_0xa4f400(-0x1ab,-0x211),_0xa4f400(-0x19d,-0x19e)+'e','에러','오류','실패'],NOISE_PATTERNS=[/This session is being continued from a previous conversation/,/Base directory for this skill:/,/Tool use was interrupted/,/<system-reminder>/,/pre-push hook/i,/A plan file exists from plan mode at:/,/Running backend tests/,/The following skills? (?:are|were) (?:available|invoked)/,/Called the (?:Read|Write|Edit|Glob|Grep|Bash) tool with the following input/,/Result of calling the \w+ tool/,/^Tool: (?:Edit|Read|Write|Glob|Grep|Bash)\b/,/^Tool use was rejected/,/^File (?:created|updated|written) successfully/,/^No files found$/,/^The file .+ has been (?:updated|created) successfully/,/^Tool: (?:Edit|Read|Write|Glob|Grep|Bash|MCP)/i,/^(?:Called|Result of calling) the \w+ tool/i,/^File (?:created|modified|deleted):/i,/^\d+ (?:file|files) (?:found|matched|updated|deleted)/i,/^(?:Read|Edit|Write|Glob|Grep|Bash) tool/i,/^Searching for /i,/^Found \d+ (?:result|results|match|matches)/i,/^File: \//,/^\{"filePath"/,/^\{"file_path"/,/\/var\/folders\//,/\/tmp\//,/^(?:\[Error\]\s*)?Shell cwd was reset to /,/^(?:\[Error\]\s*)?Another Claude session sent a message:/,/^(?:\[Error\]\s*)?<persisted-output>/],NOISE_TITLE_PATTERNS=[/^Tool: /i,/^File (?:created|updated|deleted|modified)/i,/^(?:Read|Edit|Write|Glob|Grep|Bash) /i,/^Result of /i,/^\[(?:Tool|System)\]/i,/^(?:Called|Calling) the \w+ tool/i];export function isNoiseMessage(_0x26666f){function _0x5ccda8(_0x267976,_0x4fa0f3){return _0xa4f400(_0x267976-0x437,_0x4fa0f3);}return NOISE_PATTERNS['some'](_0x50c634=>_0x50c634[_0x5ccda8(0x2b1,0x300)](_0x26666f));}const CATEGORY_TYPE_MAP={'error_solution':_0xa4f400(-0x1ae,-0x1f0),'code_pattern':_0xa4f400(-0x172,-0x1e1),'decision':_0xa4f400(-0x11c,-0xff),'context':_0xa4f400(-0x11c,-0x162),'project_knowledge':_0xa4f400(-0x172,-0x16e),'convention':_0xa4f400(-0x176,-0x153),'learning':_0x1b416(-0x6,-0x79),'skill':_0x1b416(0xd,-0x41),'rule':'procedure'};function _0x238f(_0x58b049,_0x2eae89){_0x58b049=_0x58b049-0x198;const _0x47aabb=_0x47aa();let _0x238ff5=_0x47aabb[_0x58b049];if(_0x238f['ShQOPN']===undefined){var _0x48f153=function(_0x346b2f){const _0x135c58='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2fd130='',_0x3639bf='';for(let _0x48ed8f=0x0,_0x11a33e,_0x990f0c,_0x5ecdfd=0x0;_0x990f0c=_0x346b2f['charAt'](_0x5ecdfd++);~_0x990f0c&&(_0x11a33e=_0x48ed8f%0x4?_0x11a33e*0x40+_0x990f0c:_0x990f0c,_0x48ed8f++%0x4)?_0x2fd130+=String['fromCharCode'](0xff&_0x11a33e>>(-0x2*_0x48ed8f&0x6)):0x0){_0x990f0c=_0x135c58['indexOf'](_0x990f0c);}for(let _0x45113c=0x0,_0x591996=_0x2fd130['length'];_0x45113c<_0x591996;_0x45113c++){_0x3639bf+='%'+('00'+_0x2fd130['charCodeAt'](_0x45113c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3639bf);};_0x238f['zCTvxV']=_0x48f153,_0x238f['iUarPW']={},_0x238f['ShQOPN']=!![];}const _0x592ffb=_0x47aabb[0x0],_0x1ff73b=_0x58b049+_0x592ffb,_0x1ac010=_0x238f['iUarPW'][_0x1ff73b];return!_0x1ac010?(_0x238ff5=_0x238f['zCTvxV'](_0x238ff5),_0x238f['iUarPW'][_0x1ff73b]=_0x238ff5):_0x238ff5=_0x1ac010,_0x238ff5;}function inferMemoryType(_0x1aa796){function _0x26da18(_0x33af6f,_0x20bc03){return _0x1b416(_0x33af6f,_0x20bc03- -0x118);}return CATEGORY_TYPE_MAP[_0x1aa796]??_0x26da18(-0x157,-0x155);}export function extractMemories(_0x9eb0bb,_0x5802d1){const _0x4505e3=Date[_0x5c852c(0xd4,0xba)](),_0xf05a7=[];let _0x53e3e9=0x0;const _0x4261f0=_0x9eb0bb[_0x2e146f(-0x17a,-0x10c)](_0x5eb90d=>{function _0x19a109(_0x361933,_0x264352){return _0x5c852c(_0x264352-0x35c,_0x361933);}function _0x33b83e(_0x13ade0,_0x1a3aae){return _0x5c852c(_0x1a3aae-0xa4,_0x13ade0);}if('gRWfC'===_0x19a109(0x452,0x4a9)){const _0x4fdad8=getFullText(_0x5eb90d);return!isNoiseMessage(_0x4fdad8);}else return _0x48ed8f[_0x19a109(0x44d,0x475)](_0x44c2b3=>_0x44c2b3[_0x33b83e(0x145,0x171)](_0x990f0c));}),_0x89977=extractErrorSolutions(_0x4261f0,_0x5802d1);_0xf05a7[_0x5c852c(0xaa,0x88)](..._0x89977);const _0x3aa0d4=extractCodePatterns(_0x4261f0,_0x5802d1);_0xf05a7['push'](..._0x3aa0d4);const _0x323564=extractDecisions(_0x4261f0,_0x5802d1);_0xf05a7[_0x2e146f(-0x150,-0x116)](..._0x323564);const _0x3ed424=extractContexts(_0x4261f0,_0x5802d1);_0xf05a7[_0x5c852c(0xaa,0x3b)](..._0x3ed424);const _0x207915=extractConventions(_0x4261f0,_0x5802d1);_0xf05a7[_0x5c852c(0xaa,0x82)](..._0x207915);function _0x5c852c(_0xcbd51e,_0x4f6f09){return _0xa4f400(_0xcbd51e-0x253,_0x4f6f09);}function _0x2e146f(_0x1731d3,_0xff813e){return _0xa4f400(_0x1731d3-0x59,_0xff813e);}const _0xbdfa74=extractLearnings(_0x4261f0,_0x5802d1);_0xf05a7[_0x2e146f(-0x150,-0x115)](..._0xbdfa74);for(let _0x30782c=0x0;_0x30782c<_0xf05a7[_0x2e146f(-0xfb,-0x102)];_0x30782c++){if(_0x5c852c(0x113,0x14d)===_0x2e146f(-0xd6,-0x13d))_0x2b70ba[_0x5c852c(0xe3,0xfe)][_0x313d41]={..._0x494b39['memories'][_0x3c01d9],'category':_0x23faae};else{const _0x4c7b9d=filterSensitiveInfo(_0xf05a7[_0x30782c][_0x2e146f(-0xa0,-0x61)]);if(_0x4c7b9d[_0x5c852c(0x10c,0x13b)]>0x0){if(_0x5c852c(0x135,0x127)!=='vluxI')_0xf05a7[_0x30782c]={..._0xf05a7[_0x30782c],'content':_0x4c7b9d[_0x2e146f(-0x99,-0xc6)]},_0x53e3e9+=_0x4c7b9d[_0x5c852c(0x10c,0xa5)];else return[];}}}const _0xd25718=_0xf05a7['filter'](_0x21b559=>_0x21b559[_0x2e146f(-0xa0,-0xdd)][_0x5c852c(0xff,0xbd)]>=0x32),_0x311e14=_0xd25718[_0x2e146f(-0x17a,-0x157)](_0x32199b=>{function _0x42012c(_0x1c0091,_0x20e881){return _0x5c852c(_0x1c0091-0x2ec,_0x20e881);}function _0x1a9791(_0x4eed8e,_0x1ea40f){return _0x5c852c(_0x4eed8e- -0x1a5,_0x1ea40f);}const _0x39d1fa=_0x32199b[_0x42012c(0x446,0x434)][_0x42012c(0x36a,0x390)]('\x0a')[0x0][_0x42012c(0x3d1,0x3ff)]();return!NOISE_TITLE_PATTERNS['some'](_0x526357=>_0x526357[_0x42012c(0x3b9,0x3f4)](_0x39d1fa));}),_0x5b9c6b=deduplicateMemories(_0x311e14),_0x2fadec=_0x5b9c6b[_0x5c852c(0x13d,0x186)](_0x2322f0=>({..._0x2322f0,'memoryType':_0x2322f0[_0x5c852c(0x8d,0x6f)]??inferMemoryType(_0x2322f0[_0x5c852c(0xe0,0xc4)])})),_0x212fcc={'sessionId':_0x4261f0[0x0]?.[_0x5c852c(0x8f,0xa3)]?.[_0x5c852c(0x7e,0x14)]('-')[0x0]??'unknown','projectPath':_0x5802d1,'filePath':'','messageCount':_0x4261f0[_0x2e146f(-0xfb,-0x8b)],'startTime':_0x4261f0[0x0]?.[_0x5c852c(0xaf,0x4a)],'endTime':_0x4261f0[_0x4261f0[_0x2e146f(-0xfb,-0xdc)]-0x1]?.['timestamp'],'sizeBytes':0x0,'modifiedAt':Date[_0x5c852c(0xd4,0x144)]()};return{'memories':_0x2fadec,'sessionInfo':_0x212fcc,'stats':{'totalMessages':_0x9eb0bb[_0x2e146f(-0xfb,-0xe3)],'extractedPatterns':_0x2fadec['length'],'filteredSensitive':_0x53e3e9,'processingTimeMs':Date['now']()-_0x4505e3}};}function extractErrorSolutions(_0x4daf46,_0x5c9914){const _0x119cc8=[];function _0x30d592(_0x5af72f,_0xcae802){return _0x1b416(_0x5af72f,_0xcae802-0x371);}for(let _0x5d493c=0x0;_0x5d493c<_0x4daf46[_0x30d592(0x3a2,0x352)];_0x5d493c++){const _0x7f2f4f=_0x4daf46[_0x5d493c],_0x5a2ffb=getFullText(_0x7f2f4f),_0x437607=ERROR_INDICATORS[_0x42ebf6(0x607,0x5d2)](_0x5a90ae=>_0x5a2ffb[_0x30d592(0x377,0x340)](_0x5a90ae));if(!_0x437607)continue;const _0x1809a0=_0x5a2ffb[_0x30d592(0x2c1,0x2d1)]('\x0a'),_0x3e1014=_0x1809a0['filter'](_0x3acdf5=>{const _0x40edb5=_0x3acdf5[_0x42764b(0xaa,0x6c)]();function _0x3ad825(_0x2bc4bf,_0x54848b){return _0x30d592(_0x2bc4bf,_0x54848b-0x229);}function _0x42764b(_0xe22354,_0x380ce9){return _0x30d592(_0xe22354,_0x380ce9- -0x2cc);}return _0x3acdf5[_0x42764b(0xf6,0x9c)]('\x20\x20')||_0x3acdf5[_0x3ad825(0x55d,0x591)]('\x09')||_0x40edb5[_0x42764b(0x37,0x9c)](_0x42764b(0x69,0x6))||_0x40edb5['startsWith'](_0x3ad825(0x4f1,0x513))||_0x40edb5['startsWith'](_0x42764b(0xe0,0x8e))||_0x40edb5[_0x3ad825(0x5d0,0x591)](_0x42764b(0xb7,0xc1))||_0x40edb5['startsWith'](_0x3ad825(0x5e3,0x5dc))||_0x40edb5[_0x3ad825(0x5a4,0x591)](_0x42764b(0xb9,0x97))||_0x40edb5[_0x42764b(0xe9,0x9c)](_0x3ad825(0x5c6,0x584))||_0x40edb5[_0x42764b(0x52,0x9c)](_0x42764b(-0x24,0x48))||_0x40edb5['startsWith']('for\x20')||_0x40edb5[_0x42764b(0x6d,0x9c)]('return\x20');})[_0x30d592(0x300,0x352)];if(_0x1809a0[_0x42ebf6(0x5ed,0x57d)]>0x0&&_0x3e1014/_0x1809a0[_0x42ebf6(0x5ed,0x638)]>0.5)continue;const _0x14d53d=_0x5a2ffb[_0x30d592(0x2b1,0x2d1)]('\x0a')['find'](_0x202732=>ERROR_INDICATORS[_0x30d592(0x3d1,0x36c)](_0x2f7ee8=>_0x202732[_0x42ebf6(0x5db,0x62a)](_0x2f7ee8)));if(!_0x14d53d||_0x14d53d[_0x30d592(0x30f,0x338)]()['length']<0x14)continue;for(let _0x10b482=_0x5d493c+0x1;_0x10b482<Math[_0x30d592(0x330,0x389)](_0x5d493c+0x5,_0x4daf46[_0x30d592(0x2fb,0x352)]);_0x10b482++){const _0x4b994e=_0x4daf46[_0x10b482];if(_0x4b994e[_0x30d592(0x315,0x343)]!==_0x42ebf6(0x5d6,0x5b8))continue;const _0x32ec52=getFullText(_0x4b994e),_0x3d54d6=Array[_0x42ebf6(0x5f1,0x650)](_0x4b994e[_0x30d592(0x26f,0x2de)][_0x30d592(0x3a0,0x3ad)])&&_0x4b994e[_0x30d592(0x29b,0x2de)][_0x30d592(0x419,0x3ad)]['some'](_0xfcf382=>_0xfcf382['type']===_0x30d592(0x368,0x31c));if(_0x3d54d6||_0x32ec52['length']>0x32){const _0x57c3a3=_0x5a2ffb[_0x30d592(0x34c,0x36a)](0x0,0x12c),_0x4b5f5b=_0x32ec52['slice'](0x0,0x1f4);if(!_0x3d54d6&&!verifySolutionRelevance(_0x57c3a3,_0x4b5f5b))continue;_0x119cc8[_0x42ebf6(0x598,0x54f)]({'content':_0x30d592(0x2d3,0x339)+_0x57c3a3+(_0x30d592(0x2b8,0x2f1)+_0x30d592(0x31c,0x36e))+_0x4b5f5b,'category':_0x30d592(0x385,0x360)+_0x30d592(0x312,0x34c),'tier':_0x30d592(0x2e2,0x300),'tags':extractTags(_0x5a2ffb,'error'),'projectPath':_0x5c9914});break;}}}function _0x42ebf6(_0x566645,_0x55694a){return _0x1b416(_0x55694a,_0x566645-0x60c);}return _0x119cc8;}function verifySolutionRelevance(_0x125233,_0x275cd3){function _0x5b0462(_0x1a43f8,_0x3a6189){return _0xa4f400(_0x1a43f8-0x6ae,_0x3a6189);}const _0x15dbd2=new Set(_0x125233[_0x5b0462(0x594,0x59e)+'e']()['split'](/\W+/)[_0x5b0462(0x4db,0x4af)](_0x526663=>_0x526663[_0x34ade1(0x3c0,0x430)]>0x3)),_0x4c3b95=new Set(_0x275cd3[_0x34ade1(0x47b,0x46a)+'e']()[_0x34ade1(0x35b,0x3af)](/\W+/)[_0x5b0462(0x4db,0x4be)](_0x19eeac=>_0x19eeac[_0x34ade1(0x498,0x430)]>0x3)),_0x4f9480=[..._0x15dbd2][_0x5b0462(0x4db,0x4e5)](_0x335534=>_0x4c3b95[_0x34ade1(0x37f,0x3c1)](_0x335534));if(_0x4f9480['length']<0x2)return![];if(isPureErrorMessage(_0x275cd3))return![];function _0x34ade1(_0x1b7f8a,_0x4d475f){return _0xa4f400(_0x4d475f-0x584,_0x1b7f8a);}return!![];}function isPureErrorMessage(_0x55a09a){const _0x505030=_0x55a09a[_0x3d210a(0x230,0x273)]('\x0a')[_0x3d210a(0x232,0x272)](_0x39a769=>_0x39a769['trim']());if(_0x505030[_0x4fa2b1(0x25f,0x2a7)]===0x0)return!![];function _0x4fa2b1(_0x322f3f,_0xfa001a){return _0x1b416(_0x322f3f,_0xfa001a-0x2c6);}const _0x4d51aa=_0x505030['filter'](_0x510e50=>/^\s*(at |File |Traceback| File "| raise |>>> )/[_0x4fa2b1(0x2c2,0x275)](_0x510e50));if(_0x4d51aa[_0x3d210a(0x2b1,0x23f)]/_0x505030[_0x4fa2b1(0x26d,0x2a7)]>0.7)return!![];function _0x3d210a(_0xbb787c,_0x3f09e9){return _0x1b416(_0x3f09e9,_0xbb787c-0x2d0);}const _0x5f4518=[_0x4fa2b1(0x298,0x2ac),'solve',_0x4fa2b1(0x2aa,0x2f8),_0x3d210a(0x269,0x1f6),'use',_0x4fa2b1(0x243,0x262),_0x4fa2b1(0x2bc,0x2d3),_0x4fa2b1(0x2ed,0x2c8),_0x3d210a(0x23c,0x24f),_0x4fa2b1(0x2a6,0x2d1),_0x4fa2b1(0x24c,0x2b2),'make\x20sure','ensure','해결','수정','변경','설치','시도','사용'],_0x4abab9=_0x55a09a['toLowerCas'+'e']();return!_0x5f4518[_0x4fa2b1(0x2c5,0x2c1)](_0x103760=>_0x4abab9[_0x4fa2b1(0x2d1,0x295)](_0x103760));}function _0x1b416(_0x2d518f,_0xd86e25){return _0x238f(_0xd86e25- -0x23a,_0x2d518f);}function extractCodePatterns(_0x47cbfa,_0x40cbdc){const _0x5df5eb=new Map(),_0x32571b=['Read',_0x48add3(0x2a2,0x301),_0xcb463c(0x177,0x136),_0x48add3(0x358,0x2f6),'WebSearch'];function _0x48add3(_0x281e11,_0x2b6ac1){return _0xa4f400(_0x2b6ac1-0x457,_0x281e11);}const _0x486f41=new Map(),_0x44e9a0=new Map();function _0xcb463c(_0x21374f,_0x305df9){return _0xa4f400(_0x305df9-0x271,_0x21374f);}for(const _0x131c5c of _0x47cbfa){if(!Array[_0xcb463c(0x150,0x121)](_0x131c5c['message'][_0x48add3(0x37b,0x35e)]))continue;for(const _0x1265bf of _0x131c5c[_0xcb463c(0x4f,0xa9)]['content']){if(_0x1265bf[_0xcb463c(0x144,0x10e)]!==_0xcb463c(0x80,0xe7)||!_0x1265bf[_0xcb463c(0xa4,0xc0)])continue;if((_0x1265bf[_0xcb463c(0x6e,0xc0)]==='Write'||_0x1265bf[_0x48add3(0x23b,0x2a6)]===_0x48add3(0x3a7,0x34a))&&_0x1265bf[_0x48add3(0x3c4,0x35a)]){if('Zsyfr'===_0xcb463c(0x17d,0x13a)){const _0x1c40ec=_0x1265bf[_0xcb463c(0x1cf,0x174)]['file_path'];if(_0x1c40ec){const _0x1146e5=_0x1c40ec[_0x48add3(0x265,0x289)+'f']('.'),_0x357987=_0x1146e5>=0x0?_0x1c40ec[_0x48add3(0x376,0x31b)](_0x1146e5):'',_0x513c02=_0x1c40ec[_0xcb463c(0x104,0x9c)]('/'),_0x1ee37e=_0x513c02[_0xcb463c(0x190,0x135)](-0x3,-0x1)[_0xcb463c(0xae,0x119)]('/');if(_0x357987)_0x486f41[_0x48add3(0x312,0x347)](_0x357987,(_0x486f41[_0x48add3(0x270,0x2b6)](_0x357987)||0x0)+0x1);if(_0x1ee37e)_0x44e9a0[_0x48add3(0x317,0x347)](_0x1ee37e,(_0x44e9a0['get'](_0x1ee37e)||0x0)+0x1);}}else{const _0x3299a0=_0x138663[_0x48add3(0x2ab,0x289)+'f']('.'),_0x33d7a3=_0x3299a0>=0x0?_0x4557cf[_0x48add3(0x301,0x31b)](_0x3299a0):'',_0x55f593=_0x3f7931[_0xcb463c(0x10e,0x9c)]('/'),_0x11554f=_0x55f593[_0xcb463c(0x107,0x135)](-0x3,-0x1)[_0x48add3(0x2eb,0x2ff)]('/');if(_0x33d7a3)_0x28bdc2[_0x48add3(0x32c,0x347)](_0x33d7a3,(_0x5b762d['get'](_0x33d7a3)||0x0)+0x1);if(_0x11554f)_0x31da03[_0xcb463c(0xee,0x161)](_0x11554f,(_0x48e984[_0x48add3(0x2ba,0x2b6)](_0x11554f)||0x0)+0x1);}}if(_0x32571b[_0x48add3(0x34e,0x2f1)](_0x1265bf[_0xcb463c(0xf2,0xc0)]))continue;const _0x238687=_0x5df5eb[_0xcb463c(0x97,0xd0)](_0x1265bf[_0x48add3(0x293,0x2a6)])??{'count':0x0,'samples':[]};_0x238687['count']++;if(_0x238687[_0xcb463c(0x8f,0xec)][_0xcb463c(0x11c,0x11d)]<0x3&&_0x1265bf[_0xcb463c(0x159,0x174)]){const _0x189f2e=JSON[_0xcb463c(0x158,0x13f)](_0x1265bf[_0x48add3(0x387,0x35a)]);if(_0x189f2e[_0x48add3(0x343,0x303)]<=0xc8)_0x238687[_0x48add3(0x270,0x2d2)][_0xcb463c(0x7a,0xc8)](_0x189f2e);else{if(_0xcb463c(0x10a,0xb6)!==_0x48add3(0x31f,0x2b7)){const _0x3835e4=[_0x48add3(0x35e,0x357),_0xcb463c(0x186,0x122),_0x48add3(0x30e,0x2d4),_0x48add3(0x2b3,0x30a),_0x48add3(0x24e,0x28c),_0xcb463c(0xbe,0xc1),_0x48add3(0x28e,0x297),_0x48add3(0x314,0x2a4),_0x48add3(0x2f9,0x322)],_0xccdbb4=_0x189f2e[_0xcb463c(0xea,0x157)+'e']();let _0x1137b0=0x0;for(const _0x405121 of _0x3835e4){if('GDbgh'!==_0xcb463c(0xee,0x10f)){const _0x1132cb=_0xccdbb4[_0x48add3(0x332,0x34e)](_0x405121);if(_0x1132cb>=0x0){_0x1137b0=Math[_0x48add3(0x2f7,0x326)](0x0,_0x1132cb-0x32);break;}}else return _0x87de55['message'][_0x48add3(0x3a6,0x35e)];}_0x238687[_0xcb463c(0x116,0xec)][_0xcb463c(0x117,0xc8)](_0x189f2e[_0xcb463c(0x10c,0x135)](_0x1137b0,_0x1137b0+0xc8));}else{const _0x262220=_0x2dac57[_0x48add3(0x2e5,0x2e9)]();return _0xb48e08[_0x48add3(0x313,0x319)]('\x20\x20')||_0x484cc9[_0x48add3(0x38e,0x319)]('\x09')||_0x262220[_0xcb463c(0xfa,0x133)]('import\x20')||_0x262220[_0xcb463c(0x178,0x133)](_0x48add3(0x228,0x29b))||_0x262220[_0x48add3(0x329,0x319)](_0xcb463c(0xd5,0x125))||_0x262220['startsWith'](_0x48add3(0x30c,0x33e))||_0x262220[_0xcb463c(0x162,0x133)]('let\x20')||_0x262220[_0xcb463c(0x121,0x133)]('var\x20')||_0x262220[_0x48add3(0x31b,0x319)](_0x48add3(0x2d6,0x30c))||_0x262220[_0xcb463c(0xdf,0x133)]('if\x20')||_0x262220[_0x48add3(0x33e,0x319)](_0xcb463c(0x148,0xf1))||_0x262220[_0xcb463c(0x167,0x133)](_0xcb463c(0x118,0x15d));}}}_0x5df5eb[_0xcb463c(0x1c5,0x161)](_0x1265bf[_0xcb463c(0x55,0xc0)],_0x238687);}}const _0x1db8a6=[];for(const [_0x2aae83,_0x4af255]of _0x5df5eb){if(_0x4af255[_0xcb463c(0x121,0x118)]<0x5)continue;_0x1db8a6[_0x48add3(0x2fc,0x2ae)]({'content':_0x48add3(0x25e,0x2ab)+_0x2aae83+_0xcb463c(0x164,0x16c)+_0x4af255[_0xcb463c(0x14d,0x118)]+(_0xcb463c(0x168,0x102)+_0x48add3(0x30d,0x312))+_0x4af255[_0x48add3(0x2ea,0x2d2)][_0x48add3(0x2a9,0x2ff)]('\x0a'),'category':_0x48add3(0x364,0x33c)+'rn','tier':_0x48add3(0x2ba,0x2bf),'tags':[_0x2aae83,_0x48add3(0x371,0x30a),_0x48add3(0x2d4,0x336)],'projectPath':_0x40cbdc});}if(_0x486f41['size']>0x0){const _0x39c75f=[..._0x486f41[_0xcb463c(0xb8,0xe1)]()][_0x48add3(0x2d7,0x284)](([,_0x383228])=>_0x383228>=0x3)[_0xcb463c(0x128,0x15c)]((_0x183ff0,_0x116145)=>_0x116145[0x1]-_0x183ff0[0x1])['slice'](0x0,0x5);if(_0x39c75f[_0x48add3(0x32d,0x303)]>0x0){const _0x27ee01=[..._0x44e9a0[_0xcb463c(0xaf,0xe1)]()][_0x48add3(0x338,0x342)]((_0x3617bd,_0xc9fe8f)=>_0xc9fe8f[0x1]-_0x3617bd[0x1])[_0xcb463c(0x17b,0x135)](0x0,0x3);_0x1db8a6['push']({'content':_0x48add3(0x230,0x28b)+_0xcb463c(0x87,0xe2)+_0x48add3(0x2fc,0x2df)+_0x39c75f[_0x48add3(0x39b,0x341)](([_0x30b431,_0x46e966])=>_0x30b431+'('+_0x46e966+')')[_0x48add3(0x2f4,0x2ff)](',\x20')+'.\x20'+('Directorie'+'s:\x20'+_0x27ee01[_0x48add3(0x39d,0x341)](([_0xcf838b,_0x2c951a])=>_0xcf838b+'('+_0x2c951a+')')[_0x48add3(0x2b2,0x2ff)](',\x20')),'category':_0x48add3(0x2f2,0x33c)+'rn','tier':_0x48add3(0x27e,0x2bf),'tags':[_0xcb463c(0xf2,0xc4)+'rn','file-modif'+_0xcb463c(0xa6,0x115),..._0x39c75f['map'](([_0x339a51])=>_0x339a51[_0x48add3(0x31c,0x2fc)]('.',''))],'projectPath':_0x40cbdc});}}return _0x1db8a6;}function extractDecisions(_0x125ace,_0x56395e){const _0x1390c4=[];for(const _0x291549 of _0x125ace){const _0x49f7fc=getFullText(_0x291549);if(_0x49f7fc[_0x4a311f(0x2a3,0x276)]<0x32)continue;if(_0x49f7fc['startsWith'](_0x242da9(0x56d,0x533))||_0x49f7fc[_0x242da9(0x53b,0x4e2)](_0x4a311f(0x2c9,0x2c8))||/v\d+\.\d+\.\d+/[_0x242da9(0x51b,0x521)](_0x49f7fc))continue;const _0x2eb664=_0x49f7fc[_0x4a311f(0x29c,0x2a0)](/```[\s\S]*?```/g,'')[_0x242da9(0x533,0x576)]();if(!_0x2eb664)continue;const _0x28d182=_0x2eb664['toLowerCas'+'e'](),_0x34777e=STRONG_DECISION_KEYWORDS[_0x4a311f(0x224,0x1c1)](_0x55a37c=>_0x28d182[_0x242da9(0x53b,0x593)](_0x55a37c[_0x242da9(0x587,0x5d2)+'e']()))[_0x4a311f(0x2a3,0x2d7)],_0x47a331=WEAK_DECISION_KEYWORDS['filter'](_0x3e29f1=>_0x28d182[_0x4a311f(0x291,0x279)](_0x3e29f1[_0x242da9(0x587,0x5d8)+'e']()))['length'];if(_0x34777e<0x1&&_0x47a331<0x2)continue;_0x1390c4[_0x4a311f(0x24e,0x27a)]({'content':_0x2eb664[_0x4a311f(0x2bb,0x2c5)](0x0,0x320),'category':_0x242da9(0x535,0x4da),'tier':_0x242da9(0x509,0x497),'tags':extractTags(_0x2eb664,'decision'),'projectPath':_0x56395e});}function _0x4a311f(_0x50fefa,_0x62a25b){return _0x1b416(_0x62a25b,_0x50fefa-0x2c2);}function _0x242da9(_0x15c42e,_0x56531f){return _0x1b416(_0x56531f,_0x15c42e-0x56c);}return _0x1390c4;}const CONTEXT_KEYWORDS=['setup',_0xa4f400(-0x133,-0x123),_0xa4f400(-0x184,-0x133),_0xa4f400(-0x14a,-0x188)+'t',_0x1b416(0x24,-0x1)+_0xa4f400(-0x15a,-0x169),'설정','설치',_0xa4f400(-0x10a,-0xb9),_0xa4f400(-0xfe,-0xc7)],LEARNING_KEYWORDS=[_0xa4f400(-0x19f,-0x14d),_0x1b416(0x6c,0x39),_0xa4f400(-0x1a3,-0x1d4),_0xa4f400(-0x18e,-0x18b),_0xa4f400(-0xee,-0xf6)+'t',_0x1b416(-0x11,-0x52),'insight','배웠','깨달','발견',_0xa4f400(-0x10f,-0xf2),_0xa4f400(-0x1b7,-0x1ff)];function extractContexts(_0x4c7d09,_0x3bf506){function _0x55de6d(_0x504ed3,_0x210edd){return _0x1b416(_0x210edd,_0x504ed3-0xd9);}const _0x16be5b=[];for(const _0x2981b4 of _0x4c7d09){if(_0x2981b4[_0x5d6810(0x124,0x155)]!==_0x5d6810(0xb0,0x125)&&_0x2981b4[_0x55de6d(0xab,0xae)]!=='system')continue;if(_0x2981b4['message'][_0x5d6810(0x15c,0x1a2)]==='system')continue;const _0x41db65=getFullText(_0x2981b4);if(_0x41db65[_0x5d6810(0x133,0x10f)]<0x32)continue;if(_0x41db65[_0x55de6d(0xa8,0x7f)](_0x55de6d(0xb1,0x47)+'minder>'))continue;if(_0x41db65[_0x5d6810(0x121,0x130)](_0x5d6810(0x130,0x121))&&_0x41db65[_0x55de6d(0xba,0xea)]>0x1f4)continue;const _0xd9df8a=_0x41db65[_0x55de6d(0xf4,0x129)+'e'](),_0x55bcf2=CONTEXT_KEYWORDS[_0x55de6d(0x3b,0x31)](_0x884c1d=>_0xd9df8a[_0x55de6d(0xa8,0x37)](_0x884c1d[_0x55de6d(0xf4,0xde)+'e']())),_0x1b0600=_0x4c7d09['indexOf'](_0x2981b4);(_0x1b0600<0x3||_0x55bcf2[_0x55de6d(0xba,0xac)]>=0x2)&&('ctNMf'!=='ctNMf'?_0x291abf[_0x5d6810(0xde,0x81)](_0x3896a1):_0x16be5b['push']({'content':_0x41db65[_0x55de6d(0xd2,0x133)](0x0,0x3e8),'category':_0x5d6810(0x157,0x131),'tier':_0x5d6810(0xef,0xd1),'tags':extractTags(_0x41db65,'context'),'projectPath':_0x3bf506}));}function _0x5d6810(_0x57f5af,_0x16dd45){return _0x1b416(_0x16dd45,_0x57f5af-0x152);}return _0x16be5b;}function extractConventions(_0x4913bf,_0x38bba0){function _0x2e3430(_0x339cdc,_0x2e8dfa){return _0xa4f400(_0x2e8dfa-0x4f8,_0x339cdc);}const _0x2ce984=[];for(const _0x51c514 of _0x4913bf){if(_0x2e3430(0x36a,0x37b)===_0x3421f4(0x11,-0x4e))return _0x1c35c6[_0x50f37e]??_0x3421f4(-0xd0,-0x9d);else{if(_0x51c514['type']!==_0x3421f4(-0xb7,-0x102)&&_0x51c514[_0x3421f4(-0x34,-0x8e)]!==_0x2e3430(0x402,0x38d))continue;const _0x30af53=getFullText(_0x51c514);if(_0x30af53[_0x2e3430(0x3b1,0x3a4)]<0x14)continue;if(_0x51c514[_0x3421f4(-0x99,-0x8e)]===_0x3421f4(-0xdb,-0x96)){const _0x67cbc2=/(?:should|must|always|never|recommend|규칙|원칙|필수|금지)/i['test'](_0x30af53);if(!_0x67cbc2)continue;}const _0x14ceec=CONVENTION_KEYWORDS[_0x2e3430(0x37a,0x3be)](_0x544385=>_0x30af53['toLowerCas'+'e']()[_0x3421f4(-0x50,-0x91)](_0x544385[_0x2e3430(0x3f5,0x3de)+'e']()));if(!_0x14ceec)continue;_0x2ce984[_0x3421f4(-0xe5,-0xd4)]({'content':_0x30af53['slice'](0x0,0x1f4),'category':_0x3421f4(-0x40,-0x4d),'tier':'semantic','tags':extractTags(_0x30af53,'convention'),'projectPath':_0x38bba0});}}function _0x3421f4(_0x1a535c,_0x5ccbc3){return _0xa4f400(_0x5ccbc3-0xd5,_0x1a535c);}return _0x2ce984;}function extractLearnings(_0x348e34,_0x48a65e){function _0x4e5bce(_0x4185b1,_0x355e11){return _0x1b416(_0x355e11,_0x4185b1-0x1e9);}function _0x596d0e(_0x41a2d3,_0x2dc689){return _0x1b416(_0x41a2d3,_0x2dc689- -0x27);}const _0x10bf77=[];for(const _0x5ca545 of _0x348e34){if(_0x5ca545[_0x596d0e(-0x7b,-0x55)]!==_0x596d0e(-0x9c,-0xc9)&&_0x5ca545[_0x4e5bce(0x1bb,0x1db)]!==_0x596d0e(-0x2e,-0x5d))continue;const _0x514d8f=getFullText(_0x5ca545);if(_0x514d8f['length']<0x1e)continue;const _0x4b88b9=LEARNING_KEYWORDS[_0x596d0e(0x15,-0x2c)](_0x1723ed=>_0x514d8f[_0x596d0e(0x33,-0xc)+'e']()[_0x4e5bce(0x1b8,0x16c)](_0x1723ed['toLowerCas'+'e']()));if(!_0x4b88b9)continue;_0x10bf77[_0x4e5bce(0x175,0x1af)]({'content':_0x514d8f['slice'](0x0,0x320),'category':_0x4e5bce(0x21f,0x226),'tier':_0x596d0e(-0x59,-0x98),'tags':extractTags(_0x514d8f,_0x4e5bce(0x21f,0x273)),'projectPath':_0x48a65e});}return _0x10bf77;}function getFullText(_0x14fb32){function _0x368816(_0x5de3e4,_0x4dcab3){return _0x1b416(_0x5de3e4,_0x4dcab3- -0x3);}function _0xbbab35(_0x328763,_0x47ce3f){return _0x1b416(_0x328763,_0x47ce3f-0x1d8);}if(typeof _0x14fb32[_0x368816(-0xef,-0x96)][_0xbbab35(0x212,0x214)]===_0xbbab35(0x187,0x1fc))return _0x14fb32[_0xbbab35(0x106,0x145)][_0x368816(-0x3c,0x39)];return _0x14fb32['message'][_0xbbab35(0x248,0x214)][_0x368816(-0x4f,0x1c)](_0x450ec3=>{function _0x3ec17a(_0x2b9e0a,_0x493c53){return _0x368816(_0x2b9e0a,_0x493c53- -0x20);}function _0x1c39e6(_0x4adde4,_0x319044){return _0x368816(_0x4adde4,_0x319044- -0x48);}if(_0x450ec3[_0x3ec17a(-0xb3,-0x51)]===_0x1c39e6(-0x52,-0xad)&&_0x450ec3[_0x3ec17a(-0xbf,-0x85)])return _0x450ec3[_0x1c39e6(-0x7f,-0xad)];if(_0x450ec3[_0x3ec17a(-0x85,-0x51)]==='tool_resul'+'t'&&_0x450ec3[_0x1c39e6(0x5f,-0xf)])return _0x450ec3['content'];return'';})[_0x368816(-0xbe,-0xa1)](Boolean)[_0x368816(0x16,-0x26)]('\x0a');}const TECH_NAMES=['react',_0x1b416(0x23,-0x1d),_0x1b416(-0x54,-0x32),_0xa4f400(-0x139,-0x104),_0xa4f400(-0x188,-0x18a),'python',_0x1b416(-0x52,-0xd),_0x1b416(0x87,0x3b),_0x1b416(-0xd,0x44),_0xa4f400(-0x151,-0x171),_0xa4f400(-0x165,-0x1ad),_0xa4f400(-0x160,-0x17f),_0xa4f400(-0x101,-0x16d),_0xa4f400(-0x1a5,-0x177),'fastapi',_0x1b416(-0xa4,-0x81),_0xa4f400(-0x17c,-0x13e),_0xa4f400(-0xef,-0x151),_0xa4f400(-0x17e,-0x1dd),_0xa4f400(-0x1aa,-0x1c0),_0xa4f400(-0x1b9,-0x165),_0x1b416(0x5d,0x3f),'vite',_0x1b416(-0xa5,-0x7a),'vitest',_0xa4f400(-0x174,-0x140),_0xa4f400(-0x1a2,-0x1bf),'sqlite'],WORK_TYPES=[_0x1b416(-0x33,-0x4c),_0xa4f400(-0xf8,-0xda),_0x1b416(0x73,0x8),'test',_0x1b416(-0x25,-0x35),_0x1b416(-0x79,-0x98),'migrate','setup',_0x1b416(-0x3a,-0x96),_0xa4f400(-0x11f,-0x13d),_0x1b416(-0xce,-0x5f),'fix',_0x1b416(0x1,-0xf),_0x1b416(-0x85,-0x83)],LOW_VALUE_EXTS=new Set(['md',_0xa4f400(-0x19e,-0x206),'json',_0xa4f400(-0x15f,-0x118),_0x1b416(0x81,0x3a),'xml',_0xa4f400(-0x1bd,-0x1f2),_0xa4f400(-0x1be,-0x1ab)]),MEANINGFUL_EXTS=new Set(['py','ts',_0xa4f400(-0x1d0,-0x23f),'js',_0xa4f400(-0x118,-0x140),_0xa4f400(-0x142,-0x159),'go','rs','rb',_0xa4f400(-0x179,-0x12c),'kt']);function extractTags(_0x202889,_0x4a8dae){function _0x2ff0cd(_0xea4e35,_0x4e6553){return _0xa4f400(_0x4e6553-0x487,_0xea4e35);}const _0x1837e2=[_0x4a8dae],_0x4592da=_0x202889['match'](/[\w/.-]{1,200}\.\w{1,10}/g);if(_0x4592da){const _0x1fba6d=new Set(_0x4592da[_0x4cbdb7(0x602,0x5c7)](_0x37f838=>_0x37f838['split']('.')[_0x4cbdb7(0x5a3,0x537)]())['filter'](_0x2216b7=>_0x2216b7[_0x4cbdb7(0x5c4,0x596)]<=0x5&&_0x2216b7['length']>0x1)[_0x4cbdb7(0x545,0x519)](_0xac1f31=>!/^\d+$/[_0x2ff0cd(0x2a1,0x301)](_0xac1f31))[_0x2ff0cd(0x277,0x2b4)](_0x489237=>!LOW_VALUE_EXTS[_0x4cbdb7(0x555,0x522)](_0x489237[_0x4cbdb7(0x5fe,0x58c)+'e']()))['filter'](_0x1aa672=>MEANINGFUL_EXTS[_0x4cbdb7(0x555,0x58c)](_0x1aa672[_0x2ff0cd(0x364,0x36d)+'e']())));_0x1837e2[_0x4cbdb7(0x56f,0x545)](...[..._0x1fba6d][_0x2ff0cd(0x2f6,0x34b)](0x0,0x2));}const _0xe2b0f2=_0x202889[_0x2ff0cd(0x37b,0x36d)+'e']();for(const _0x16f569 of TECH_NAMES){_0xe2b0f2['includes'](_0x16f569)&&_0x1837e2['push'](_0x16f569);}for(const _0x5b7b0a of WORK_TYPES){if(_0xe2b0f2[_0x4cbdb7(0x5b2,0x60d)](_0x5b7b0a)){if(_0x2ff0cd(0x356,0x34a)==='BHypr')_0x33fa2f[_0x4cbdb7(0x5b2,0x5c6)](_0xf4ea80)&&_0x34ef22['push'](_0x479f27);else{_0x1837e2[_0x2ff0cd(0x278,0x2de)](_0x5b7b0a);break;}}}function _0x4cbdb7(_0x412a4b,_0x3d236f){return _0xa4f400(_0x412a4b-0x718,_0x3d236f);}return[...new Set(_0x1837e2)][_0x2ff0cd(0x27a,0x2b4)](_0x12d3c9=>_0x12d3c9[_0x2ff0cd(0x311,0x333)]>=0x2&&!/^\d+$/[_0x4cbdb7(0x592,0x5c5)](_0x12d3c9))[_0x4cbdb7(0x602,0x643)](_0xedf388=>_0xedf388['toLowerCas'+'e']())[_0x2ff0cd(0x3bf,0x34b)](0x0,0x5);}function deduplicateMemories(_0x46ed55){return deduplicateByContent(_0x46ed55,0.7);}const CLASSIFIABLE_CATEGORIES=['error_solu'+_0xa4f400(-0x15a,-0x140),_0x1b416(-0x3c,0x1a)+'rn',_0x1b416(0x1f,-0x37),'convention','rule',_0x1b416(0x2d,0x3e)+_0x1b416(-0x5,-0xa),'learning'];async function _llmExtractSupplemental(_0x5b554b,_0x414146,_0xa1457a){function _0x197b40(_0x23cbca,_0x12daf8){return _0xa4f400(_0x12daf8-0x5c6,_0x23cbca);}const _0x1bf7db=_0x5b554b[_0x5c45a8(0x4fa,0x533)](-0x14);function _0x5c45a8(_0x33615c,_0x3c2fd9){return _0xa4f400(_0x33615c-0x636,_0x3c2fd9);}const _0x21e252=_0x1bf7db[_0x197b40(0x4e1,0x4b0)](_0x18d05f=>{const _0x4ca050=_0x18d05f['type']===_0x379d8b(0x401,0x3b3)?'User':_0x44c602(0x29b,0x2a3);function _0x44c602(_0x12cba4,_0x796f06){return _0x5c45a8(_0x796f06- -0x235,_0x12cba4);}function _0x379d8b(_0x18daf6,_0x55d3d6){return _0x5c45a8(_0x18daf6- -0x5e,_0x55d3d6);}const _0x3c13c4=getFullText(_0x18d05f)[_0x44c602(0x310,0x2c5)](0x0,0x1f4);return'['+_0x4ca050+_0x44c602(0x320,0x2da)+_0x3c13c4;})[_0x197b40(0x42b,0x3f3)](_0x236c2f=>_0x236c2f[_0x197b40(0x4d5,0x472)]>0xa)[_0x5c45a8(0x4de,0x526)]('\x0a\x0a')[_0x197b40(0x4df,0x48a)](0x0,0x1770);if(!_0x21e252)return[];const _0x29f74e='[{\x22categor'+'y\x22:\x20\x22...\x22,'+'\x20\x22content\x22'+_0x197b40(0x4f6,0x4a2)+_0x197b40(0x465,0x4ba)+_0x197b40(0x4c8,0x4c4),_0x2cec0b='다음\x20개발\x20대화에서'+'\x20나중에\x20유용할\x20핵'+_0x197b40(0x3ce,0x439)+_0x197b40(0x4e5,0x4b3)+_0x5c45a8(0x49b,0x45a)+_0x5c45a8(0x4f0,0x4ec)+_0x197b40(0x48e,0x4d6)+_0x197b40(0x44c,0x4b8)+'cision/pro'+'ject_knowl'+_0x5c45a8(0x460,0x456)+_0x5c45a8(0x477,0x457)+_0x5c45a8(0x532,0x511)+_0x5c45a8(0x475,0x416)+_0x197b40(0x44f,0x4b4)+'\x0a'+_0x21e252+(_0x197b40(0x44c,0x455)+'\x20반환\x20(마크다운\x20'+_0x5c45a8(0x471,0x431)+'\x0a')+_0x29f74e;try{const _0x5e52c3=await _0x414146[_0x5c45a8(0x511,0x4e5)](_0x2cec0b),_0xff3e45=_0x5e52c3[_0x197b40(0x44c,0x46b)](/```(?:json)?\s*\n?([\s\S]*?)\n?```/g,'$1')[_0x5c45a8(0x4c8,0x46b)](),_0x23eec3=JSON[_0x197b40(0x466,0x485)](_0xff3e45);if(!Array[_0x5c45a8(0x4e6,0x51a)](_0x23eec3))return[];return _0x23eec3[_0x5c45a8(0x463,0x41f)](_0xe91319=>_0xe91319[_0x5c45a8(0x53d,0x52d)]&&_0xe91319[_0x5c45a8(0x53d,0x588)][_0x5c45a8(0x4e2,0x4e3)]>=0x32&&CLASSIFIABLE_CATEGORIES[_0x5c45a8(0x4d0,0x4c9)](_0xe91319[_0x5c45a8(0x4c3,0x48f)]))[_0x5c45a8(0x520,0x509)](_0x12dc1e=>({'content':_0x12dc1e[_0x197b40(0x48f,0x4cd)][_0x197b40(0x470,0x48a)](0x0,0x320),'category':_0x12dc1e[_0x5c45a8(0x4c3,0x48c)],'tier':_0x5c45a8(0x49e,0x440),'tags':Array[_0x197b40(0x41c,0x476)](_0x12dc1e[_0x5c45a8(0x482,0x443)])?_0x12dc1e[_0x197b40(0x45e,0x412)][_0x5c45a8(0x4fa,0x520)](0x0,0x5):['llm-extrac'+_0x197b40(0x450,0x414)],'projectPath':_0xa1457a}));}catch{return[];}}export async function extractMemoriesWithLLM(_0x47ed54,_0x422985,_0x1cac21){function _0x224c4e(_0x3e3bce,_0x40b445){return _0xa4f400(_0x3e3bce-0x34,_0x40b445);}const _0x2f55ee=extractMemories(_0x47ed54,_0x422985);if(!_0x1cac21)return _0x2f55ee;if(_0x2f55ee[_0x224c4e(-0x13c,-0x19d)][_0x224c4e(-0x120,-0x102)]<=0x3&&_0x47ed54[_0x1f0979(0x184,0x1c1)]>=0xa){if(_0x1f0979(0x15f,0x146)===_0x224c4e(-0xf5,-0x15f)){const _0x3e2325=_0x568cf1(_0x3dc9e4);return!_0x3965c6(_0x3e2325);}else try{const _0x38a082=await _llmExtractSupplemental(_0x47ed54,_0x1cac21,_0x422985);_0x2f55ee[_0x1f0979(0x179,0x1a5)][_0x1f0979(0x152,0x16c)](..._0x38a082);}catch{}}function _0x1f0979(_0x569a21,_0x3902bb){return _0xa4f400(_0x3902bb-0x315,_0x569a21);}const _0x290720=[_0x1f0979(0x20d,0x1e5),_0x224c4e(-0x138,-0x135),_0x224c4e(-0xee,-0x88)];for(let _0x5b2382=0x0;_0x5b2382<_0x2f55ee[_0x1f0979(0x156,0x1a5)][_0x224c4e(-0x120,-0x10e)];_0x5b2382++){if(!_0x290720['includes'](_0x2f55ee[_0x224c4e(-0x13c,-0x17a)][_0x5b2382][_0x224c4e(-0x13f,-0x194)]))continue;try{const _0x189f1c=await _0x1cac21[_0x1f0979(0x13c,0x143)](_0x2f55ee[_0x1f0979(0x1d0,0x1a5)][_0x5b2382][_0x1f0979(0x1c3,0x21c)],CLASSIFIABLE_CATEGORIES);CLASSIFIABLE_CATEGORIES['includes'](_0x189f1c)&&(_0x2f55ee[_0x224c4e(-0x13c,-0x110)][_0x5b2382]={..._0x2f55ee[_0x224c4e(-0x13c,-0x13b)][_0x5b2382],'category':_0x189f1c});}catch{}}return _0x2f55ee;}const RESPONSE_META_PREFIX=/^\s*\[mode:\s/;export function isResponseFragment(_0x349858){function _0x3bbd53(_0x108f4d,_0x444051){return _0x1b416(_0x444051,_0x108f4d-0x190);}return RESPONSE_META_PREFIX[_0x3bbd53(0x13f,0x1ae)](_0x349858);}export async function summarizeSession(_0x5c8e19,_0x2550e3){const _0x3cb6d8=_0x5c8e19[_0x75efd2(-0x240,-0x24a)](_0x377d4b=>_0x377d4b[_0x75efd2(-0x231,-0x1da)]===_0x420460(0x5b6,0x5df))[_0x75efd2(-0x202,-0x18d)](_0xc922ab=>{function _0x343e4e(_0x41514b,_0x17d7b8){return _0x420460(_0x41514b,_0x17d7b8- -0x3a6);}function _0x342abb(_0x45badb,_0x34dac3){return _0x420460(_0x45badb,_0x34dac3- -0x4e4);}if(_0x342abb(0x11f,0xec)!==_0x342abb(0xd4,0xec)){if(_0x56e55d[_0x342abb(0x143,0x103)]===_0x342abb(0x8b,0xcf)&&_0x17ad4c[_0x342abb(0x125,0xcf)])return _0xb9e4b9[_0x342abb(0xc7,0xcf)];if(_0x1fae79[_0x343e4e(0x1d4,0x241)]===_0x342abb(0xdc,0xd1)+'t'&&_0x28eb79['content'])return _0x4fd5e7[_0x342abb(0x106,0x16d)];return'';}else{if(typeof _0xc922ab[_0x343e4e(0x197,0x1dc)][_0x343e4e(0x2db,0x2ab)]==='string')return _0xc922ab[_0x343e4e(0x1aa,0x1dc)][_0x342abb(0x1b3,0x16d)];return _0xc922ab[_0x343e4e(0x1b6,0x1dc)][_0x342abb(0x136,0x16d)][_0x343e4e(0x19b,0x1d1)](_0x32814d=>_0x32814d['type']==='text'&&_0x32814d['text'])[_0x342abb(0x150,0x150)](_0x3aadb6=>_0x3aadb6['text'])[_0x342abb(0xca,0x10e)]('\x0a');}})[_0x420460(0x597,0x577)](_0x489955=>_0x489955[_0x75efd2(-0x1b3,-0x1cb)]>0x14)['slice'](-0xa);function _0x75efd2(_0x13cdcb,_0x200d69){return _0xa4f400(_0x200d69- -0x77,_0x13cdcb);}function _0x420460(_0x4a3389,_0x12ceef){return _0xa4f400(_0x12ceef-0x74a,_0x4a3389);}if(_0x3cb6d8[_0x420460(0x65f,0x5f6)]===0x0)return'';return _0x2550e3[_0x420460(0x64c,0x5e1)](_0x3cb6d8);}
|
|
1
|
+
(function(_0x1c6148,_0x53ff5d){function _0x23a5f8(_0x50efd9,_0x255b8a){return _0x431c(_0x255b8a- -0x258,_0x50efd9);}function _0x4174e2(_0x106fe3,_0x55fab3){return _0x431c(_0x106fe3-0x178,_0x55fab3);}const _0x17e813=_0x1c6148();while(!![]){try{const _0x55977c=-parseInt(_0x23a5f8(-0xea,-0x8b))/0x1*(-parseInt(_0x4174e2(0x331,0x368))/0x2)+-parseInt(_0x23a5f8(-0x8e,-0x49))/0x3+-parseInt(_0x23a5f8(-0xba,-0xae))/0x4*(parseInt(_0x23a5f8(-0xd9,-0xa0))/0x5)+parseInt(_0x4174e2(0x33c,0x2d1))/0x6*(parseInt(_0x4174e2(0x329,0x347))/0x7)+parseInt(_0x23a5f8(-0x77,-0xdb))/0x8+-parseInt(_0x4174e2(0x3a7,0x392))/0x9+parseInt(_0x23a5f8(-0x43,-0xb2))/0xa;if(_0x55977c===_0x53ff5d)break;else _0x17e813['push'](_0x17e813['shift']());}catch(_0x63f065){_0x17e813['push'](_0x17e813['shift']());}}}(_0x580e,0x798e2));function _0x231197(_0x2999bc,_0x19b3e7){return _0x431c(_0x2999bc-0x21a,_0x19b3e7);}import{filterSensitiveInfo}from'./filter.js';import{deduplicateByContent}from'./similarity.js';const STRONG_DECISION_KEYWORDS=[_0x231197(0x3f0,0x3b2),'decided','opted\x20for',_0x231197(0x3c2,0x3d8),_0x231197(0x42f,0x3db)+'n',_0xc49e3a(0x3aa,0x3e1),'결정했','대신'],WEAK_DECISION_KEYWORDS=[_0x231197(0x374,0x3d3),'strategy',_0xc49e3a(0x396,0x38d),'방식','접근','전략','선택','결정'],CONVENTION_KEYWORDS=['선호','항상',_0xc49e3a(0x347,0x356),'습관','규칙',_0x231197(0x3ce,0x382),_0xc49e3a(0x3f2,0x3e2),'never',_0x231197(0x373,0x322),_0x231197(0x370,0x35e),'style','pattern'],ERROR_INDICATORS=[_0xc49e3a(0x3e3,0x42d),_0x231197(0x39f,0x380),_0xc49e3a(0x40d,0x46f),_0x231197(0x447,0x444),_0xc49e3a(0x385,0x359),_0x231197(0x3fb,0x444),_0xc49e3a(0x3d7,0x426),_0x231197(0x39c,0x3d5),_0xc49e3a(0x3b0,0x386),_0x231197(0x41b,0x45e),'stack\x20trac'+'e','에러','오류','실패'],NOISE_PATTERNS=[/This session is being continued from a previous conversation/,/Base directory for this skill:/,/Tool use was interrupted/,/<system-reminder>/,/pre-push hook/i,/A plan file exists from plan mode at:/,/Running backend tests/,/The following skills? (?:are|were) (?:available|invoked)/,/Called the (?:Read|Write|Edit|Glob|Grep|Bash) tool with the following input/,/Result of calling the \w+ tool/,/^Tool: (?:Edit|Read|Write|Glob|Grep|Bash)\b/,/^Tool use was rejected/,/^File (?:created|updated|written) successfully/,/^No files found$/,/^The file .+ has been (?:updated|created) successfully/,/^Tool: (?:Edit|Read|Write|Glob|Grep|Bash|MCP)/i,/^(?:Called|Result of calling) the \w+ tool/i,/^File (?:created|modified|deleted):/i,/^\d+ (?:file|files) (?:found|matched|updated|deleted)/i,/^(?:Read|Edit|Write|Glob|Grep|Bash) tool/i,/^Searching for /i,/^Found \d+ (?:result|results|match|matches)/i,/^File: \//,/^\{"filePath"/,/^\{"file_path"/,/\/var\/folders\//,/\/tmp\//,/^(?:\[Error\]\s*)?Shell cwd was reset to /,/^(?:\[Error\]\s*)?Another Claude session sent a message:/,/^(?:\[Error\]\s*)?<persisted-output>/],NOISE_TITLE_PATTERNS=[/^Tool: /i,/^File (?:created|updated|deleted|modified)/i,/^(?:Read|Edit|Write|Glob|Grep|Bash) /i,/^Result of /i,/^\[(?:Tool|System)\]/i,/^(?:Called|Calling) the \w+ tool/i];export function isNoiseMessage(_0x5ccd9a){function _0xa3c445(_0xe639a3,_0x548aa1){return _0x231197(_0xe639a3- -0x303,_0x548aa1);}function _0x3400ce(_0x5337ba,_0x301457){return _0x231197(_0x5337ba-0x6a,_0x301457);}return NOISE_PATTERNS[_0xa3c445(0x120,0xee)](_0x78879d=>_0x78879d[_0xa3c445(0xa8,0xc6)](_0x5ccd9a));}const CATEGORY_TYPE_MAP={'error_solution':_0xc49e3a(0x41b,0x41b),'code_pattern':_0xc49e3a(0x3c6,0x384),'decision':_0x231197(0x414,0x47e),'context':'episode','project_knowledge':_0x231197(0x3f9,0x39d),'convention':'procedure','learning':_0x231197(0x44e,0x4ba),'skill':'procedure','rule':'procedure'};function inferMemoryType(_0x42ec9a){function _0x155be6(_0x1c7586,_0x4254c8){return _0x231197(_0x4254c8- -0x30b,_0x1c7586);}return CATEGORY_TYPE_MAP[_0x42ec9a]??_0x155be6(0x144,0xee);}export function extractMemories(_0x52fd2d,_0x539d59){const _0xb96523=Date[_0x580709(-0x1e6,-0x1a4)](),_0x4820ed=[];let _0x149d66=0x0;const _0x4ae9b6=_0x52fd2d['filter'](_0xa9325f=>{const _0x2f5687=getFullText(_0xa9325f);return!isNoiseMessage(_0x2f5687);}),_0x4d3570=extractErrorSolutions(_0x4ae9b6,_0x539d59);_0x4820ed['push'](..._0x4d3570);const _0x1ec5c6=extractCodePatterns(_0x4ae9b6,_0x539d59);_0x4820ed[_0x491c85(0x211,0x227)](..._0x1ec5c6);function _0x580709(_0x4cf42e,_0x433281){return _0xc49e3a(_0x433281- -0x5a6,_0x4cf42e);}const _0x1c6595=extractDecisions(_0x4ae9b6,_0x539d59);_0x4820ed[_0x491c85(0x1f8,0x227)](..._0x1c6595);const _0x2a63e4=extractContexts(_0x4ae9b6,_0x539d59);_0x4820ed['push'](..._0x2a63e4);const _0x2cc986=extractConventions(_0x4ae9b6,_0x539d59);_0x4820ed[_0x580709(-0x13c,-0x19c)](..._0x2cc986);const _0x3e42e1=extractLearnings(_0x4ae9b6,_0x539d59);_0x4820ed[_0x580709(-0x1f7,-0x19c)](..._0x3e42e1);for(let _0x1ea6bf=0x0;_0x1ea6bf<_0x4820ed[_0x580709(-0x24d,-0x1e2)];_0x1ea6bf++){const _0x472fe8=filterSensitiveInfo(_0x4820ed[_0x1ea6bf]['content']);_0x472fe8[_0x491c85(0x19d,0x1e4)]>0x0&&(_0x4820ed[_0x1ea6bf]={..._0x4820ed[_0x1ea6bf],'content':_0x472fe8['filtered']},_0x149d66+=_0x472fe8[_0x580709(-0x1e0,-0x1df)]);}const _0x1df2e1=_0x4820ed[_0x580709(-0x1cc,-0x1f7)](_0x38882f=>_0x38882f['content'][_0x580709(-0x237,-0x1e2)]>=0x32);function _0x491c85(_0x4f8c91,_0x53cc3e){return _0xc49e3a(_0x53cc3e- -0x1e3,_0x4f8c91);}const _0x19bde0=_0x1df2e1[_0x491c85(0x1c5,0x1cc)](_0x17cf74=>{function _0x59b5e1(_0x230501,_0x1d3af1){return _0x491c85(_0x230501,_0x1d3af1-0x20a);}const _0x3b2e2e=_0x17cf74[_0x59b5e1(0x3db,0x41e)][_0x59b5e1(0x3e8,0x426)]('\x0a')[0x0][_0x59b5e1(0x412,0x3df)]();function _0x2e0169(_0x920eaf,_0x6e8c6a){return _0x491c85(_0x920eaf,_0x6e8c6a- -0x17e);}return!NOISE_TITLE_PATTERNS[_0x59b5e1(0x468,0x417)](_0x3efed1=>_0x3efed1['test'](_0x3b2e2e));}),_0x39b640=deduplicateMemories(_0x19bde0),_0xc9add4=_0x39b640[_0x580709(-0x178,-0x1bb)](_0xc7c908=>({..._0xc7c908,'memoryType':_0xc7c908[_0x491c85(0x1ac,0x161)]??inferMemoryType(_0xc7c908[_0x580709(-0x19f,-0x1b7)])})),_0x579ff2={'sessionId':_0x4ae9b6[0x0]?.[_0x580709(-0x21f,-0x1ec)]?.[_0x580709(-0x15e,-0x1a7)]('-')[0x0]??'unknown','projectPath':_0x539d59,'filePath':'','messageCount':_0x4ae9b6[_0x580709(-0x241,-0x1e2)],'startTime':_0x4ae9b6[0x0]?.[_0x580709(-0x1e2,-0x18c)],'endTime':_0x4ae9b6[_0x4ae9b6['length']-0x1]?.[_0x580709(-0x187,-0x18c)],'sizeBytes':0x0,'modifiedAt':Date[_0x491c85(0x1c0,0x21f)]()};return{'memories':_0xc9add4,'sessionInfo':_0x579ff2,'stats':{'totalMessages':_0x52fd2d['length'],'extractedPatterns':_0xc9add4['length'],'filteredSensitive':_0x149d66,'processingTimeMs':Date[_0x580709(-0x158,-0x1a4)]()-_0xb96523}};}function extractErrorSolutions(_0x32be13,_0xb96370){const _0x8a2153=[];for(let _0x259012=0x0;_0x259012<_0x32be13['length'];_0x259012++){const _0x4da4a2=_0x32be13[_0x259012],_0x2a06f1=getFullText(_0x4da4a2),_0x40545c=ERROR_INDICATORS[_0x14395c(-0xab,-0xa5)](_0x2b3fc3=>_0x2a06f1[_0x14395c(-0xa0,-0x6c)](_0x2b3fc3));if(!_0x40545c)continue;const _0x3d908d=_0x2a06f1[_0x3b8c58(0x153,0x18b)]('\x0a'),_0x3c71c5=_0x3d908d[_0x14395c(-0xec,-0x13d)](_0x4edbad=>{function _0x5b3416(_0x4892bb,_0x58cb52){return _0x3b8c58(_0x58cb52-0x39d,_0x4892bb);}const _0xcfa282=_0x4edbad[_0x5b3416(0x4ea,0x4a9)]();function _0x357e92(_0x48815a,_0x2c664a){return _0x3b8c58(_0x48815a-0x402,_0x2c664a);}return _0x4edbad[_0x357e92(0x4a9,0x4e0)]('\x20\x20')||_0x4edbad[_0x5b3416(0x492,0x444)]('\x09')||_0xcfa282[_0x357e92(0x4a9,0x4b4)](_0x5b3416(0x47d,0x49f))||_0xcfa282[_0x357e92(0x4a9,0x467)](_0x5b3416(0x4dd,0x4c2))||_0xcfa282[_0x357e92(0x4a9,0x4c5)]('class\x20')||_0xcfa282[_0x5b3416(0x3e3,0x444)]('const\x20')||_0xcfa282[_0x5b3416(0x3fe,0x444)](_0x357e92(0x564,0x585))||_0xcfa282[_0x357e92(0x4a9,0x4c8)](_0x357e92(0x4d3,0x4ce))||_0xcfa282[_0x5b3416(0x452,0x444)](_0x5b3416(0x492,0x4be))||_0xcfa282[_0x5b3416(0x3e6,0x444)](_0x5b3416(0x512,0x4d0))||_0xcfa282[_0x357e92(0x4a9,0x468)](_0x5b3416(0x548,0x506))||_0xcfa282[_0x5b3416(0x478,0x444)](_0x357e92(0x4dc,0x46c));})[_0x14395c(-0xd7,-0xe0)];if(_0x3d908d['length']>0x0&&_0x3c71c5/_0x3d908d[_0x3b8c58(0x118,0xd7)]>0.5)continue;const _0x4f7872=_0x2a06f1[_0x14395c(-0x9c,-0xad)]('\x0a')[_0x3b8c58(0xbc,0x9e)](_0x517095=>ERROR_INDICATORS['some'](_0x328288=>_0x517095[_0x3b8c58(0x14f,0xeb)](_0x328288)));if(!_0x4f7872||_0x4f7872[_0x14395c(-0xe3,-0x83)]()['length']<0x14)continue;for(let _0x3579a6=_0x259012+0x1;_0x3579a6<Math[_0x3b8c58(0x13a,0x14b)](_0x259012+0x5,_0x32be13['length']);_0x3579a6++){const _0x4ae183=_0x32be13[_0x3579a6];if(_0x4ae183[_0x3b8c58(0xb0,0x6e)]!==_0x3b8c58(0xaf,0x54))continue;const _0x34b068=getFullText(_0x4ae183),_0x336f9d=Array[_0x14395c(-0x14d,-0x15f)](_0x4ae183['message'][_0x14395c(-0xa4,-0x9b)])&&_0x4ae183['message']['content'][_0x14395c(-0xab,-0x54)](_0x3f64af=>_0x3f64af[_0x14395c(-0x13f,-0x114)]===_0x14395c(-0xd8,-0x147));if(_0x336f9d||_0x34b068[_0x3b8c58(0x118,0xf0)]>0x32){const _0x105363=_0x2a06f1[_0x14395c(-0x126,-0x169)](0x0,0x12c),_0x58a75d=_0x34b068['slice'](0x0,0x1f4);if(!_0x336f9d&&!verifySolutionRelevance(_0x105363,_0x58a75d))continue;_0x8a2153['push']({'content':_0x3b8c58(0x14e,0x18f)+_0x105363+('\x0a\x0a[Solutio'+_0x3b8c58(0x93,0xfe))+_0x58a75d,'category':_0x3b8c58(0xb9,0x105)+'tion','tier':_0x14395c(-0xc5,-0xf8),'tags':extractTags(_0x2a06f1,_0x14395c(-0xb8,-0xf0)),'projectPath':_0xb96370});break;}}}function _0x14395c(_0x3fbccc,_0x24f2b6){return _0x231197(_0x3fbccc- -0x4ce,_0x24f2b6);}function _0x3b8c58(_0x4a6649,_0x60c273){return _0x231197(_0x4a6649- -0x2df,_0x60c273);}return _0x8a2153;}function verifySolutionRelevance(_0x5a375b,_0x4b3337){const _0x116b16=new Set(_0x5a375b[_0x498b63(0x1cf,0x1e3)+'e']()[_0x498b63(0x235,0x1c6)](/\W+/)[_0x498b63(0x1e5,0x1f7)](_0x5224ef=>_0x5224ef[_0x498b63(0x1fa,0x1d2)]>0x3));function _0xf46eb6(_0x2fef8c,_0x633ef2){return _0xc49e3a(_0x633ef2-0x10,_0x2fef8c);}const _0x4ebac9=new Set(_0x4b3337[_0xf46eb6(0x396,0x3a9)+'e']()[_0xf46eb6(0x453,0x40f)](/\W+/)['filter'](_0x58b418=>_0x58b418['length']>0x3)),_0x1350c5=[..._0x116b16][_0xf46eb6(0x39f,0x3bf)](_0x18da19=>_0x4ebac9[_0xf46eb6(0x3ef,0x3ee)](_0x18da19));if(_0x1350c5[_0x498b63(0x1fa,0x253)]<0x2)return![];function _0x498b63(_0x1c72b2,_0x31b173){return _0xc49e3a(_0x1c72b2- -0x1ca,_0x31b173);}if(isPureErrorMessage(_0x4b3337))return![];return!![];}function isPureErrorMessage(_0x44f744){const _0x103af3=_0x44f744[_0x1e2bd2(-0xb5,-0xcf)]('\x0a')['filter'](_0x5ef78a=>_0x5ef78a[_0x523e13(0x3bf,0x42f)]());if(_0x103af3[_0x523e13(0x496,0x43b)]===0x0)return!![];const _0x5a8661=_0x103af3[_0x1e2bd2(-0x11f,-0x11f)](_0x2cda8a=>/^\s*(at |File |Traceback| File "| raise |>>> )/['test'](_0x2cda8a));if(_0x5a8661[_0x523e13(0x3f5,0x43b)]/_0x103af3[_0x1e2bd2(-0x116,-0x10a)]>0.7)return!![];const _0x2a3f0a=[_0x523e13(0x390,0x3dd),_0x1e2bd2(-0xf9,-0xf3),_0x1e2bd2(-0xac,-0x10d),_0x523e13(0x43e,0x402),_0x1e2bd2(-0xd2,-0xf9),_0x523e13(0x4ab,0x475),_0x523e13(0x402,0x451),_0x523e13(0x4ba,0x465),_0x523e13(0x3d9,0x3e9),_0x523e13(0x402,0x401),'need\x20to',_0x523e13(0x3b0,0x3c1),_0x1e2bd2(-0x131,-0x188),'해결','수정','변경','설치','시도','사용'];function _0x1e2bd2(_0x1569ef,_0x42b926){return _0x231197(_0x42b926- -0x501,_0x1569ef);}function _0x523e13(_0x26b7c2,_0x54d777){return _0x231197(_0x54d777-0x44,_0x26b7c2);}const _0x25a7f2=_0x44f744['toLowerCas'+'e']();return!_0x2a3f0a[_0x1e2bd2(-0x137,-0xde)](_0x59925c=>_0x25a7f2['includes'](_0x59925c));}function _0x580e(){const _0x247858=['ChjLzMvY','Bwf0y2G','Dg9VBc11C2fNzq','BwvTB3jPzxm','mJq2mdy0nwfrte1rsG','mZi3nJG4CKnOBNrK','uMvHza','zgLZy292zxj5','zxHWB3j0','weHLCLq','A3vIzxjUzxrLCW','w3SIy2f0zwDVCG','DgfNCYi6ifSIlG','phn5C3rLBs1Yzq','AMf2yq','7isG7yoD7zAi','ntuZodCXnevrA0nQsq','C3DPzNq','C2v0','Aw1WB3j0ia','zMLSDgvY','DhjHy2vIywnR','ignHDgvNB3j5ka','CMvMywn0B3i','y29UDgv4Da','ngvZzgH4BW','yNvPBgq','DhLWzxnJCMLWDa','BwvZC2fNzq','DhjPBq','Dw5KzxjZDg9Vza','DxvPza','oIaIlI4UiIWGiG','C+ULVcbku09oioUWSoYxTa','y2HVC2u','veLm','Aw5ZAwDODa','zxHWCMvZCW','CMvZB2X2zq','zwrNzs9JB252zq','Dg9VBf91C2u','BgvUz3rO','xtOG','zMfJDa','Bwf0y2HdB3vUDa','zMfPBgvK','C3LZDgvT','C29SDxrPB24','AMvJDf9RBM93Ba','Dg9VBf9Yzxn1Ba','zgvMia','yxDZ','zgvIDwC','DxbNCMfKzq','zNvUy3rPB24G','zg9JA2vY','qxnZAxn0yw50','BgvHCM5PBMC','DxnL','zxbPC29KAwm','rMfPBgvK','BwLUzgvYpG','BgvHCM5Lza','DxbKyxrL','C29SDMu','AwnHDgLVBG','q0XbvurflM1K','AgfZ','AwyG','z2nW','zxbPC29Kzq','C3vTBwfYAxPL','zxjYB3i','zMfZDgfWAq','Aw1WB3j0','BwLU','Dgv4Da','vhjHy2vIywnR','AhrTBa','ioY2LoY2No2vMoYeUoYALc4k6Rcb6Rcb','BwfW','CMvWBgfJzq','Aw5KzxHpzG','Aw5ZDgfSBa','y2f0zwDVCNK','C29Tzq','y29UzMLN','ywX3yxLZ','Cgf0DgvYBG','Dw9NqKW','BM9Kzs5QCW','mtq4ntq0n2HhBxHJtG','y29UDgvUDa','y2XHC3m','C3fSAxrL','w0vYCM9Yxsa','Aw5JBhvKzxm','CMf0AgvYihrOyq','wMPZz2K','y2HHBMDL','C3bSAxq','CgXHExDYAwDODa','rMvAugK','BM93','Aw1WBgvTzw50','rhznsLC','DgvK','BNrPB24PlcbJBW','C3rYAw5N','Bwf4','y2XHC3nPzNK','ChvZAa','zxnSAw50','lI4Ixx1D','rvjst1i','Bgv0ia','ioUWMo2zMcaO66Ei7ygS64UK7jQ0ia','zMLNDxjLzcbVDq','Cg9W','q29KzsbTB2rPzG','Cgf0DgvYBI9Kzq','zxHJzxb0Aw9U','zM9Yia','odaYodKWoxjysvP4qq','DhrLCM46ia','DML0zq','DgfNCW','DgLTzxn0yw1W','zxHWzxjPzw5Jzq','zw52AxjVBM1LBG','7lsi6RIW7zMu','CNvSzq','AwnHDgLVBIbWyq','BL0G','y29UDMvUDgLVBG','yxbWCM9Hy2G','v2vIu2vHCMnO','iIb1C2vKia','BwvTB3j5vhLWzq','DgLVBG','zw5ZDxjL','66Y07kgW6Rg0','BgXTlwv4DhjHyW','DML0zxn0','BwfRzsbZDxjL','D2vICgfJAW','Eg1S','DvHLrxm','AxnbCNjHEq','AMf2yxnJCMLWDa','AhvTyw4','t3Dpy2q','Ew1S','C3rHCNrZv2L0Aa','EfzLywm','ioUcMoYKKEYxKcdSNkdSMQNTLAaG7zw1','z3jHCgHXBa','BMfTzq','t3jgDwS','C2fTCgXLCW','Dhn4','yxnZAxn0yw50','DhLWzq','C2L6zq','y2LZAw9Ul3bYBW','vu1Iwwi','y291BNq','vg9VBcaI','rgLYzwn0B3jPzq','y29UC3qG','mZq0ndy4mhPrtwT1Cq','zxjYB3jFC29SDq','zML4','icjJB250zw50iG','zMLUza','rKfjteve','zgLMzIaTlwDPDa','7l2u65oCioU4LoUHNsdSL4BSNBqPoG','rxjYB3i','ANn4','z2L0','Aw5WDxq','BwLNCMf0zq','zMLSzs1TB2rPzG','Aw5ZDgvHza','BgfZDeLUzgv4tW','C2v0Dxa','C2XPy2u','y29UzMLNDxjL','DNvL','DgvZDa','v2vIrMv0y2G','CZOG','C3rYAw5NAwz5','AM9PBG','DMfYia','C2vTyw50Awm','ChjVAMvJDf9RBG','y29TCgXLDgu','zw50CMLLCW','y29Kzv9Wyxr0zq','7jwm6RkmioUqKa','z2v0','rxHJzxb0Aw9U','CMv0DxjUia','CMvZDa','CgfYC2u','r3jLCa','C2HVDwXK','Dhj5','7iUSioYNGoYlNEYDHcaZFJxQSjW','mZy4mtG5mgHzANHpqW','r2XVyG','Aw5ZDgvHzcbVzG','CMvSzwfZzq','nfHnsKvwsq','ANnVBG','B3b0Aw1PEMu','DhH0','q0HbtKDfte9h','zgvJAxnPB24','ChL0Ag9U','n3Plyu92rG','Dg9mB3DLCKnHCW','BMv4Dc5QCW'];_0x580e=function(){return _0x247858;};return _0x580e();}function extractCodePatterns(_0x552ff3,_0x4078d4){const _0x1f01df=new Map(),_0x44d03f=[_0x35ca31(0x2c5,0x2e7),_0x35ca31(0x2b2,0x284),_0x35ca31(0x2ad,0x295),_0x35ca31(0x29d,0x2ce),_0x35ca31(0x266,0x20c)];function _0x35ca31(_0x45b3db,_0x247d42){return _0x231197(_0x45b3db- -0x10f,_0x247d42);}const _0x17f563=new Map(),_0x1795ea=new Map();for(const _0x21f4a9 of _0x552ff3){if(_0x35ca31(0x318,0x339)===_0x35ca31(0x318,0x372)){if(!Array[_0x20f5c0(0x17c,0x18d)](_0x21f4a9[_0x35ca31(0x2db,0x2f6)][_0x35ca31(0x31b,0x30b)]))continue;for(const _0x37c62b of _0x21f4a9[_0x35ca31(0x2db,0x300)][_0x35ca31(0x31b,0x301)]){if(_0x35ca31(0x321,0x2e5)==='ySRtl')_0x1c0723[_0x35ca31(0x32e,0x352)](_0x11b4bb);else{if(_0x37c62b[_0x35ca31(0x280,0x2b4)]!==_0x35ca31(0x2e7,0x2d4)||!_0x37c62b[_0x20f5c0(0x167,0x196)])continue;if((_0x37c62b['name']==='Write'||_0x37c62b[_0x35ca31(0x27b,0x2ce)]==='Edit')&&_0x37c62b[_0x35ca31(0x293,0x2ed)]){if(_0x20f5c0(0x14d,0x197)===_0x20f5c0(0x1fe,0x240)){const _0x52ef1c=_0x447fbb[_0x35ca31(0x2dc,0x272)]();return _0xeb6e4e[_0x35ca31(0x277,0x240)]('\x20\x20')||_0x573acb[_0x35ca31(0x277,0x28d)]('\x09')||_0x52ef1c['startsWith'](_0x35ca31(0x2d2,0x32c))||_0x52ef1c['startsWith'](_0x20f5c0(0x219,0x210))||_0x52ef1c['startsWith']('class\x20')||_0x52ef1c['startsWith'](_0x35ca31(0x287,0x229))||_0x52ef1c[_0x35ca31(0x277,0x23d)](_0x20f5c0(0x205,0x24d))||_0x52ef1c['startsWith'](_0x20f5c0(0x19f,0x1bc))||_0x52ef1c[_0x20f5c0(0x1c3,0x192)](_0x20f5c0(0x238,0x20c))||_0x52ef1c['startsWith']('if\x20')||_0x52ef1c[_0x20f5c0(0x166,0x192)](_0x20f5c0(0x226,0x254))||_0x52ef1c[_0x35ca31(0x277,0x27d)](_0x20f5c0(0x1ef,0x1c5));}else{const _0x3e9e58=_0x37c62b[_0x20f5c0(0x155,0x1ae)]['file_path'];if(_0x3e9e58){const _0x56c15b=_0x3e9e58[_0x35ca31(0x297,0x271)+'f']('.'),_0xbdc051=_0x56c15b>=0x0?_0x3e9e58[_0x35ca31(0x299,0x232)](_0x56c15b):'',_0x3b0606=_0x3e9e58[_0x35ca31(0x323,0x34a)]('/'),_0x3758ed=_0x3b0606[_0x35ca31(0x299,0x268)](-0x3,-0x1)[_0x20f5c0(0x169,0x1bb)]('/');if(_0xbdc051)_0x17f563['set'](_0xbdc051,(_0x17f563['get'](_0xbdc051)||0x0)+0x1);if(_0x3758ed)_0x1795ea[_0x20f5c0(0x1f7,0x1ec)](_0x3758ed,(_0x1795ea[_0x35ca31(0x2a8,0x2c8)](_0x3758ed)||0x0)+0x1);}}}if(_0x44d03f[_0x35ca31(0x31f,0x360)](_0x37c62b[_0x35ca31(0x27b,0x289)]))continue;const _0x52cda5=_0x1f01df[_0x35ca31(0x2a8,0x317)](_0x37c62b['name'])??{'count':0x0,'samples':[]};_0x52cda5[_0x20f5c0(0x174,0x19f)]++;if(_0x52cda5['samples'][_0x35ca31(0x2e8,0x2c0)]<0x3&&_0x37c62b[_0x35ca31(0x293,0x2ce)]){const _0x5c109f=JSON[_0x35ca31(0x29f,0x2ab)](_0x37c62b[_0x35ca31(0x293,0x287)]);if(_0x5c109f[_0x35ca31(0x2e8,0x28a)]<=0xc8)_0x52cda5['samples'][_0x35ca31(0x32e,0x318)](_0x5c109f);else{const _0x372fbe=['error',_0x20f5c0(0x183,0x1a5),_0x20f5c0(0x1ba,0x209),_0x35ca31(0x317,0x36b),_0x35ca31(0x315,0x2c0),_0x20f5c0(0x203,0x224),_0x20f5c0(0x229,0x1e2),'function',_0x35ca31(0x31c,0x337)],_0x2145c8=_0x5c109f[_0x35ca31(0x2bd,0x27e)+'e']();let _0x2c0728=0x0;for(const _0x2fabee of _0x372fbe){if(_0x20f5c0(0x235,0x1e3)!==_0x35ca31(0x283,0x2a5)){const _0x2bf867=_0x2145c8[_0x20f5c0(0x270,0x22c)](_0x2fabee);if(_0x2bf867>=0x0){if(_0x20f5c0(0x1e4,0x193)===_0x20f5c0(0x1c8,0x193)){_0x2c0728=Math[_0x20f5c0(0x1e7,0x247)](0x0,_0x2bf867-0x32);break;}else{const _0x15ae02=_0x52a51d[_0x35ca31(0x297,0x2b7)+'f']('.'),_0x3d995a=_0x15ae02>=0x0?_0x29a754['slice'](_0x15ae02):'',_0x427593=_0x314774[_0x35ca31(0x323,0x305)]('/'),_0x4f81a3=_0x427593['slice'](-0x3,-0x1)[_0x35ca31(0x2a0,0x231)]('/');if(_0x3d995a)_0x1e8700['set'](_0x3d995a,(_0x120e30[_0x20f5c0(0x1d3,0x1c3)](_0x3d995a)||0x0)+0x1);if(_0x4f81a3)_0x385e1e[_0x35ca31(0x2d1,0x2eb)](_0x4f81a3,(_0x6196f0['get'](_0x4f81a3)||0x0)+0x1);}}}else{const _0x23b085=_0x108bcd['content'][_0x35ca31(0x323,0x2dc)]('\x0a')[0x0]['trim']();return!_0x2fa36d[_0x20f5c0(0x20f,0x22f)](_0x91b193=>_0x91b193[_0x20f5c0(0x17f,0x1b7)](_0x23b085));}}_0x52cda5[_0x35ca31(0x27d,0x298)]['push'](_0x5c109f[_0x20f5c0(0x181,0x1b4)](_0x2c0728,_0x2c0728+0xc8));}}_0x1f01df[_0x20f5c0(0x1cd,0x1ec)](_0x37c62b['name'],_0x52cda5);}}}else _0x49d4d7[_0x20f5c0(0x28c,0x23a)](_0x2a9d8a)&&_0x1caa4c[_0x35ca31(0x32e,0x2c7)](_0x2036fd);}const _0x561189=[];function _0x20f5c0(_0x4e6818,_0x95d76d){return _0x231197(_0x95d76d- -0x1f4,_0x4e6818);}for(const [_0x581ea5,_0x1a7458]of _0x1f01df){if(_0x1a7458[_0x35ca31(0x284,0x22e)]<0x5)continue;_0x561189[_0x20f5c0(0x294,0x249)]({'content':_0x35ca31(0x285,0x269)+_0x581ea5+_0x20f5c0(0x143,0x182)+_0x1a7458[_0x35ca31(0x284,0x244)]+('\x20times.\x20Sa'+'mples:\x0a')+_0x1a7458[_0x20f5c0(0x1d4,0x198)][_0x20f5c0(0x17f,0x1bb)]('\x0a'),'category':_0x35ca31(0x2a6,0x304)+'rn','tier':_0x20f5c0(0x156,0x1bd),'tags':[_0x581ea5,_0x35ca31(0x317,0x2fb),_0x20f5c0(0x1ff,0x1dc)],'projectPath':_0x4078d4});}if(_0x17f563[_0x20f5c0(0x1e5,0x19c)]>0x0){const _0x26d7e3=[..._0x17f563[_0x20f5c0(0x1c9,0x1c0)]()]['filter'](([,_0x5818de])=>_0x5818de>=0x3)['sort']((_0x3fb256,_0x433516)=>_0x433516[0x1]-_0x3fb256[0x1])[_0x20f5c0(0x1c3,0x1b4)](0x0,0x5);if(_0x26d7e3['length']>0x0){const _0x504b8b=[..._0x1795ea['entries']()]['sort']((_0xf6ef1d,_0xa0fb4c)=>_0xa0fb4c[0x1]-_0xf6ef1d[0x1])['slice'](0x0,0x3);_0x561189[_0x35ca31(0x32e,0x2eb)]({'content':_0x20f5c0(0x20c,0x251)+_0x20f5c0(0x118,0x17d)+_0x20f5c0(0x21b,0x256)+_0x26d7e3['map'](([_0x15e2b2,_0x225e2f])=>_0x15e2b2+'('+_0x225e2f+')')['join'](',\x20')+'.\x20'+(_0x35ca31(0x286,0x2e6)+_0x20f5c0(0x1a3,0x1b9)+_0x504b8b[_0x20f5c0(0x280,0x22a)](([_0x4dc657,_0x1887fa])=>_0x4dc657+'('+_0x1887fa+')')[_0x35ca31(0x2a0,0x2d8)](',\x20')),'category':_0x35ca31(0x2a6,0x24e)+'rn','tier':_0x35ca31(0x2a2,0x24d),'tags':['code-patte'+'rn',_0x35ca31(0x295,0x238)+_0x20f5c0(0x1f4,0x21b),..._0x26d7e3[_0x35ca31(0x30f,0x338)](([_0x9f04ac])=>_0x9f04ac['replace']('.',''))],'projectPath':_0x4078d4});}}return _0x561189;}function extractDecisions(_0x325e02,_0x5b42a8){const _0x1e64ac=[];function _0x329a30(_0x3a2547,_0x5ad17a){return _0xc49e3a(_0x3a2547- -0x23e,_0x5ad17a);}function _0x6cd1bb(_0x258c95,_0x11bf9d){return _0xc49e3a(_0x11bf9d-0x158,_0x258c95);}for(const _0x54cf74 of _0x325e02){const _0x1ee8a5=getFullText(_0x54cf74);if(_0x1ee8a5[_0x329a30(0x186,0x1c2)]<0x32)continue;if(_0x1ee8a5[_0x6cd1bb(0x44c,0x4ab)](_0x329a30(0x12c,0x16c))||_0x1ee8a5[_0x329a30(0x1bd,0x1cb)](_0x329a30(0x157,0x17d))||/v\d+\.\d+\.\d+/[_0x329a30(0x13a,0x127)](_0x1ee8a5))continue;const _0x412b78=_0x1ee8a5[_0x329a30(0x1ae,0x1e7)](/```[\s\S]*?```/g,'')['trim']();if(!_0x412b78)continue;const _0x5951e8=_0x412b78['toLowerCas'+'e'](),_0x13600c=STRONG_DECISION_KEYWORDS[_0x329a30(0x171,0x16d)](_0x36097f=>_0x5951e8['includes'](_0x36097f[_0x6cd1bb(0x495,0x4f1)+'e']()))[_0x329a30(0x186,0x1a4)],_0x457a98=WEAK_DECISION_KEYWORDS[_0x6cd1bb(0x554,0x507)](_0x5b13e7=>_0x5951e8[_0x329a30(0x1bd,0x1dc)](_0x5b13e7[_0x329a30(0x15b,0x1b5)+'e']()))[_0x6cd1bb(0x4db,0x51c)];if(_0x13600c<0x1&&_0x457a98<0x2)continue;_0x1e64ac[_0x6cd1bb(0x53c,0x562)]({'content':_0x412b78[_0x329a30(0x137,0x17b)](0x0,0x320),'category':_0x329a30(0x158,0x116),'tier':_0x6cd1bb(0x4bd,0x4d6),'tags':extractTags(_0x412b78,_0x6cd1bb(0x4f5,0x4ee)),'projectPath':_0x5b42a8});}return _0x1e64ac;}const CONTEXT_KEYWORDS=[_0x231197(0x3a7,0x3df),'install',_0x231197(0x3a9,0x3d5),_0x231197(0x36e,0x34a)+'t','initializa'+_0x231197(0x378,0x352),'설정','설치','환경설정',_0x231197(0x36f,0x366)],LEARNING_KEYWORDS=[_0x231197(0x40c,0x435),_0xc49e3a(0x3be,0x3c6),'realized',_0x231197(0x3ec,0x3c4),_0xc49e3a(0x410,0x423)+'t',_0x231197(0x3d5,0x393),_0x231197(0x3f2,0x448),'배웠','깨달','발견',_0xc49e3a(0x383,0x378),'이해했'];function extractContexts(_0x15c4cf,_0x5ee882){function _0x2f1110(_0x454e2d,_0x1becf3){return _0xc49e3a(_0x1becf3-0x94,_0x454e2d);}const _0x45665e=[];function _0x2dde1d(_0x4395f6,_0x405bb2){return _0xc49e3a(_0x405bb2-0x4d,_0x4395f6);}for(const _0x4008bf of _0x15c4cf){if(_0x4008bf[_0x2f1110(0x40b,0x3f0)]!=='human'&&_0x4008bf[_0x2dde1d(0x38f,0x3a9)]!==_0x2dde1d(0x3c9,0x416))continue;if(_0x4008bf[_0x2dde1d(0x39f,0x404)]['role']===_0x2f1110(0x3fb,0x45d))continue;const _0x5c1420=getFullText(_0x4008bf);if(_0x5c1420[_0x2dde1d(0x453,0x411)]<0x32)continue;if(_0x5c1420['includes'](_0x2f1110(0x498,0x43c)+_0x2f1110(0x453,0x46c)))continue;if(_0x5c1420[_0x2f1110(0x485,0x48f)](_0x2f1110(0x40b,0x471))&&_0x5c1420[_0x2f1110(0x41f,0x458)]>0x1f4)continue;const _0xa1fdc4=_0x5c1420[_0x2dde1d(0x39e,0x3e6)+'e'](),_0x558802=CONTEXT_KEYWORDS[_0x2f1110(0x43d,0x443)](_0x15a4bb=>_0xa1fdc4[_0x2dde1d(0x46f,0x448)](_0x15a4bb[_0x2dde1d(0x3a6,0x3e6)+'e']())),_0x33e467=_0x15c4cf[_0x2dde1d(0x45d,0x43a)](_0x4008bf);(_0x33e467<0x3||_0x558802[_0x2dde1d(0x3b4,0x411)]>=0x2)&&_0x45665e[_0x2f1110(0x4e2,0x49e)]({'content':_0x5c1420[_0x2f1110(0x402,0x409)](0x0,0x3e8),'category':_0x2f1110(0x45e,0x447),'tier':'semantic','tags':extractTags(_0x5c1420,_0x2f1110(0x481,0x447)),'projectPath':_0x5ee882});}return _0x45665e;}function _0x431c(_0x5edb0f,_0x3cefd2){_0x5edb0f=_0x5edb0f-0x154;const _0x580e68=_0x580e();let _0x431c70=_0x580e68[_0x5edb0f];if(_0x431c['YlIPBW']===undefined){var _0x151b0a=function(_0xedab1b){const _0x36cef7='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x147f27='',_0x27a40b='';for(let _0x308485=0x0,_0x22685c,_0x35912f,_0x2f3650=0x0;_0x35912f=_0xedab1b['charAt'](_0x2f3650++);~_0x35912f&&(_0x22685c=_0x308485%0x4?_0x22685c*0x40+_0x35912f:_0x35912f,_0x308485++%0x4)?_0x147f27+=String['fromCharCode'](0xff&_0x22685c>>(-0x2*_0x308485&0x6)):0x0){_0x35912f=_0x36cef7['indexOf'](_0x35912f);}for(let _0x5c6bbc=0x0,_0x27e11d=_0x147f27['length'];_0x5c6bbc<_0x27e11d;_0x5c6bbc++){_0x27a40b+='%'+('00'+_0x147f27['charCodeAt'](_0x5c6bbc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x27a40b);};_0x431c['MNGaoz']=_0x151b0a,_0x431c['MmzhFn']={},_0x431c['YlIPBW']=!![];}const _0x151f15=_0x580e68[0x0],_0x416ac2=_0x5edb0f+_0x151f15,_0x192382=_0x431c['MmzhFn'][_0x416ac2];return!_0x192382?(_0x431c70=_0x431c['MNGaoz'](_0x431c70),_0x431c['MmzhFn'][_0x416ac2]=_0x431c70):_0x431c70=_0x192382,_0x431c70;}function extractConventions(_0x710dfa,_0x5ca37a){function _0x2a2689(_0x49a618,_0x4a1d53){return _0x231197(_0x4a1d53-0x115,_0x49a618);}const _0x59bbed=[];for(const _0x18377a of _0x710dfa){if(_0x18377a['type']!==_0x2a2689(0x461,0x498)&&_0x18377a[_0x26c10b(0x423,0x485)]!=='assistant')continue;const _0x4f69cb=getFullText(_0x18377a);if(_0x4f69cb[_0x26c10b(0x48b,0x47e)]<0x14)continue;if(_0x18377a['type']===_0x26c10b(0x422,0x45d)){const _0x58177d=/(?:should|must|always|never|recommend|규칙|원칙|필수|금지)/i[_0x2a2689(0x479,0x4c0)](_0x4f69cb);if(!_0x58177d)continue;}const _0x50a7d6=CONVENTION_KEYWORDS[_0x2a2689(0x597,0x538)](_0x2edd49=>_0x4f69cb['toLowerCas'+'e']()[_0x2a2689(0x552,0x543)](_0x2edd49[_0x2a2689(0x4d9,0x4e1)+'e']()));if(!_0x50a7d6)continue;_0x59bbed['push']({'content':_0x4f69cb[_0x26c10b(0x43c,0x465)](0x0,0x1f4),'category':_0x2a2689(0x4e9,0x488),'tier':'semantic','tags':extractTags(_0x4f69cb,_0x2a2689(0x496,0x488)),'projectPath':_0x5ca37a});}function _0x26c10b(_0x126824,_0x7f2306){return _0x231197(_0x126824-0x94,_0x7f2306);}return _0x59bbed;}function _0xc49e3a(_0x5ec981,_0x589049){return _0x431c(_0x5ec981-0x1e7,_0x589049);}function extractLearnings(_0x1a2e4e,_0x38310b){const _0x162acd=[];function _0x494478(_0x791c33,_0x14d7d2){return _0x231197(_0x14d7d2-0x72,_0x791c33);}function _0x1324cd(_0x41e13c,_0x5324ea){return _0x231197(_0x5324ea- -0x2c1,_0x41e13c);}for(const _0x1cfe5e of _0x1a2e4e){if(_0x1cfe5e['type']!==_0x1324cd(0xe5,0xc2)&&_0x1cfe5e[_0x1324cd(0xe3,0xce)]!=='assistant')continue;const _0x4736a6=getFullText(_0x1cfe5e);if(_0x4736a6['length']<0x1e)continue;const _0x5d6e97=LEARNING_KEYWORDS['some'](_0x501cf3=>_0x4736a6[_0x494478(0x3fc,0x43e)+'e']()[_0x1324cd(0x10c,0x16d)](_0x501cf3[_0x494478(0x42e,0x43e)+'e']()));if(!_0x5d6e97)continue;_0x162acd[_0x1324cd(0x1de,0x17c)]({'content':_0x4736a6[_0x494478(0x3b0,0x41a)](0x0,0x320),'category':'learning','tier':_0x494478(0x43c,0x47b),'tags':extractTags(_0x4736a6,_0x1324cd(0x186,0x146)),'projectPath':_0x38310b});}return _0x162acd;}function getFullText(_0x214ab0){function _0x8d21a7(_0xfb8fed,_0x59da20){return _0xc49e3a(_0xfb8fed- -0x22c,_0x59da20);}if(typeof _0x214ab0[_0x27e23e(0x3b5,0x3a2)][_0x8d21a7(0x1cb,0x1f4)]===_0x27e23e(0x3ed,0x3f2))return _0x214ab0[_0x27e23e(0x350,0x3a2)][_0x8d21a7(0x1cb,0x1bd)];function _0x27e23e(_0x58bc51,_0x4f441d){return _0xc49e3a(_0x4f441d- -0x15,_0x58bc51);}return _0x214ab0[_0x8d21a7(0x18b,0x1a2)][_0x8d21a7(0x1cb,0x1b7)][_0x8d21a7(0x1bf,0x195)](_0x2b1cdd=>{function _0x728e0f(_0x199028,_0x520b9b){return _0x27e23e(_0x520b9b,_0x199028- -0x2fb);}function _0xcf659b(_0x21e98b,_0x59f8c4){return _0x27e23e(_0x59f8c4,_0x21e98b- -0x98);}if(_0x2b1cdd[_0xcf659b(0x2af,0x296)]===_0xcf659b(0x33a,0x327)&&_0x2b1cdd[_0x728e0f(0xd7,0xaf)])return _0x2b1cdd[_0xcf659b(0x33a,0x318)];if(_0x2b1cdd[_0xcf659b(0x2af,0x31f)]===_0x728e0f(0xbc,0x77)+'t'&&_0x2b1cdd[_0x728e0f(0xe7,0x135)])return _0x2b1cdd[_0xcf659b(0x34a,0x31e)];return'';})[_0x8d21a7(0x183,0x117)](Boolean)['join']('\x0a');}const TECH_NAMES=['react',_0x231197(0x3aa,0x3d1),'angular',_0x231197(0x3e9,0x3f6),_0xc49e3a(0x34f,0x2de),_0x231197(0x3ca,0x41c),'java','postgresql','mysql','redis',_0xc49e3a(0x3d2,0x435),_0xc49e3a(0x3a5,0x361),_0x231197(0x401,0x406),_0x231197(0x413,0x40d),_0xc49e3a(0x3e4,0x437),_0xc49e3a(0x3c0,0x3a2),_0x231197(0x3cd,0x373),_0xc49e3a(0x3f5,0x420),_0x231197(0x3a1,0x409),_0x231197(0x389,0x3ec),_0x231197(0x3ba,0x3ba),_0xc49e3a(0x34b,0x384),_0x231197(0x44b,0x465),_0xc49e3a(0x40b,0x43f),_0xc49e3a(0x349,0x2ec),'jest',_0x231197(0x433,0x426),_0xc49e3a(0x3f9,0x3e0)],WORK_TYPES=['deploy',_0x231197(0x402,0x3da),_0xc49e3a(0x3b2,0x3b5),_0x231197(0x3ab,0x38a),'review',_0x231197(0x3c6,0x3cd),_0xc49e3a(0x370,0x326),_0xc49e3a(0x374,0x362),_0x231197(0x424,0x44b),_0xc49e3a(0x3b5,0x394),_0xc49e3a(0x390,0x37e),_0xc49e3a(0x366,0x3c8),_0x231197(0x436,0x445),_0xc49e3a(0x3d0,0x3bf)],LOW_VALUE_EXTS=new Set(['md',_0xc49e3a(0x394,0x335),_0x231197(0x3c5,0x3e1),_0xc49e3a(0x352,0x355),'yaml',_0xc49e3a(0x34c,0x2e9),_0x231197(0x41c,0x42f),'css']),MEANINGFUL_EXTS=new Set(['py','ts',_0x231197(0x38d,0x3cc),'js',_0xc49e3a(0x36d,0x3a4),_0x231197(0x3dc,0x3d7),'go','rs','rb',_0x231197(0x3df,0x3ff),'kt']);function extractTags(_0x4acb4f,_0x513103){const _0x971d45=[_0x513103];function _0x154a55(_0x3e0f66,_0x3ec1ad){return _0x231197(_0x3e0f66-0x158,_0x3ec1ad);}const _0x43ab92=_0x4acb4f[_0x154a55(0x527,0x526)](/[\w/.-]{1,200}\.\w{1,10}/g);if(_0x43ab92){const _0x3f5184=new Set(_0x43ab92['map'](_0x507d84=>_0x507d84[_0x1e52a5(0x2ac,0x2a3)]('.')[_0x154a55(0x59c,0x5d8)]())[_0x1e52a5(0x25c,0x232)](_0xf4609f=>_0xf4609f['length']<=0x5&&_0xf4609f[_0x1e52a5(0x271,0x283)]>0x1)[_0x1e52a5(0x25c,0x1f7)](_0xd1b0c3=>!/^\d+$/[_0x154a55(0x503,0x4f4)](_0xd1b0c3))[_0x1e52a5(0x25c,0x252)](_0x419cec=>!LOW_VALUE_EXTS['has'](_0x419cec['toLowerCas'+'e']()))[_0x154a55(0x53a,0x4f6)](_0x596cca=>MEANINGFUL_EXTS[_0x1e52a5(0x28b,0x22c)](_0x596cca['toLowerCas'+'e']())));_0x971d45['push'](...[..._0x3f5184][_0x154a55(0x500,0x4b5)](0x0,0x2));}const _0x504916=_0x4acb4f[_0x154a55(0x524,0x534)+'e']();for(const _0xc813bc of TECH_NAMES){_0x504916['includes'](_0xc813bc)&&_0x971d45['push'](_0xc813bc);}for(const _0x8383ac of WORK_TYPES){if(_0x1e52a5(0x2b1,0x2c9)!=='cuqFR'){if(_0x504916[_0x154a55(0x586,0x51e)](_0x8383ac)){_0x971d45[_0x1e52a5(0x2b7,0x2bd)](_0x8383ac);break;}}else{const _0x5dd20c=new _0x3760c0(_0x545c46['map'](_0x8bc7e0=>_0x8bc7e0[_0x154a55(0x58a,0x56b)]('.')[_0x154a55(0x59c,0x608)]())[_0x154a55(0x53a,0x4fd)](_0x38eb61=>_0x38eb61[_0x154a55(0x54f,0x5ac)]<=0x5&&_0x38eb61[_0x154a55(0x54f,0x50d)]>0x1)[_0x154a55(0x53a,0x54f)](_0x226918=>!/^\d+$/['test'](_0x226918))[_0x1e52a5(0x25c,0x21e)](_0x1ef2b5=>!_0x23431d['has'](_0x1ef2b5['toLowerCas'+'e']()))[_0x1e52a5(0x25c,0x290)](_0x17004c=>_0x15b039[_0x1e52a5(0x28b,0x244)](_0x17004c[_0x1e52a5(0x246,0x248)+'e']())));_0x186fce['push'](...[..._0x5dd20c][_0x154a55(0x500,0x514)](0x0,0x2));}}function _0x1e52a5(_0x5e2614,_0x3fac22){return _0x231197(_0x5e2614- -0x186,_0x3fac22);}return[...new Set(_0x971d45)][_0x154a55(0x53a,0x527)](_0x8addc6=>_0x8addc6['length']>=0x2&&!/^\d+$/[_0x154a55(0x503,0x563)](_0x8addc6))[_0x1e52a5(0x298,0x227)](_0x24d7cc=>_0x24d7cc[_0x154a55(0x524,0x537)+'e']())[_0x1e52a5(0x222,0x1e1)](0x0,0x5);}function deduplicateMemories(_0x34eaa1){return deduplicateByContent(_0x34eaa1,0.7);}const CLASSIFIABLE_CATEGORIES=[_0x231197(0x398,0x3a8)+_0xc49e3a(0x345,0x377),'code_patte'+'rn','decision',_0xc49e3a(0x340,0x3a2),_0x231197(0x370,0x30a),_0xc49e3a(0x37f,0x399)+'owledge','learning'];async function _llmExtractSupplemental(_0x1eb314,_0xfef473,_0xac103b){function _0x14aac3(_0x91f671,_0x59874a){return _0xc49e3a(_0x91f671- -0x211,_0x59874a);}const _0x303364=_0x1eb314[_0x4ce7c8(-0x1b4,-0x1e6)](-0x14);function _0x4ce7c8(_0x367349,_0x3be9fc){return _0xc49e3a(_0x3be9fc- -0x55b,_0x367349);}const _0x2f5849=_0x303364[_0x4ce7c8(-0x1bb,-0x170)](_0x47a333=>{function _0x3e0a0a(_0x3a2184,_0x16ea29){return _0x4ce7c8(_0x16ea29,_0x3a2184-0x4d6);}const _0x2de84e=_0x47a333[_0x3a5541(0x103,0x13d)]===_0x3e0a0a(0x2cb,0x305)?'User':_0x3e0a0a(0x34e,0x335);function _0x3a5541(_0x37d9e5,_0x3e7392){return _0x4ce7c8(_0x3e7392,_0x37d9e5-0x302);}const _0x4d4e0d=getFullText(_0x47a333)['slice'](0x0,0x1f4);return'['+_0x2de84e+_0x3e0a0a(0x340,0x321)+_0x4d4e0d;})[_0x4ce7c8(-0x16d,-0x1ac)](_0x1a4ee0=>_0x1a4ee0[_0x4ce7c8(-0x18a,-0x197)]>0xa)['join']('\x0a\x0a')[_0x4ce7c8(-0x1e9,-0x1e6)](0x0,0x1770);if(!_0x2f5849)return[];const _0x10f81a=_0x4ce7c8(-0x186,-0x1b5)+'y\x22:\x20\x22...\x22,'+_0x4ce7c8(-0x220,-0x1f4)+_0x14aac3(0x1aa,0x1a1)+_0x4ce7c8(-0x214,-0x1b4)+_0x4ce7c8(-0x1b6,-0x14f),_0x517560='다음\x20개발\x20대화에서'+_0x14aac3(0x144,0x139)+_0x4ce7c8(-0x1f2,-0x1cf)+_0x14aac3(0x1d9,0x223)+_0x4ce7c8(-0x1ec,-0x1aa)+_0x4ce7c8(-0x1be,-0x1f6)+'tion/code_'+_0x14aac3(0x202,0x264)+_0x4ce7c8(-0x1f8,-0x1fd)+_0x4ce7c8(-0x138,-0x190)+_0x4ce7c8(-0x1a3,-0x199)+_0x14aac3(0x1f5,0x1f8)+'ntent,\x20tag'+_0x14aac3(0x1ab,0x1df)+'로\x20반환.\x0a\x0a대화:'+'\x0a'+_0x2f5849+('\x0a\x0aJSON\x20배열만'+_0x4ce7c8(-0x1ab,-0x14c)+_0x14aac3(0x15a,0x112)+'\x0a')+_0x10f81a;try{const _0x4e6da2=await _0xfef473[_0x4ce7c8(-0x1c9,-0x1db)](_0x517560),_0x58b320=_0x4e6da2[_0x4ce7c8(-0x159,-0x16f)](/```(?:json)?\s*\n?([\s\S]*?)\n?```/g,'$1')['trim'](),_0x99f452=JSON[_0x14aac3(0x177,0x169)](_0x58b320);if(!Array[_0x14aac3(0x13d,0x112)](_0x99f452))return[];return _0x99f452['filter'](_0x38a433=>_0x38a433[_0x14aac3(0x1e6,0x1cd)]&&_0x38a433[_0x14aac3(0x1e6,0x254)][_0x14aac3(0x1b3,0x163)]>=0x32&&CLASSIFIABLE_CATEGORIES[_0x4ce7c8(-0x108,-0x160)](_0x38a433[_0x14aac3(0x1de,0x180)]))[_0x14aac3(0x1da,0x247)](_0x41cb9f=>({'content':_0x41cb9f[_0x4ce7c8(-0x1d2,-0x164)][_0x4ce7c8(-0x20f,-0x1e6)](0x0,0x320),'category':_0x41cb9f['category'],'tier':_0x4ce7c8(-0x1a6,-0x1dd),'tags':Array['isArray'](_0x41cb9f['tags'])?_0x41cb9f[_0x14aac3(0x208,0x226)][_0x4ce7c8(-0x1e3,-0x1e6)](0x0,0x5):[_0x14aac3(0x137,0x12c)+_0x4ce7c8(-0x11a,-0x156)],'projectPath':_0xac103b}));}catch{return[];}}export async function extractMemoriesWithLLM(_0x457ac2,_0x3efc39,_0x3ec055){function _0x3e394a(_0x50dc14,_0x3a0d03){return _0xc49e3a(_0x3a0d03- -0x439,_0x50dc14);}const _0x1f9506=extractMemories(_0x457ac2,_0x3efc39);if(!_0x3ec055)return _0x1f9506;if(_0x1f9506[_0x2a0566(0x1c7,0x18e)][_0x2a0566(0x1ae,0x1b4)]<=0x3&&_0x457ac2['length']>=0xa)try{const _0x165910=await _llmExtractSupplemental(_0x457ac2,_0x3ec055,_0x3efc39);_0x1f9506[_0x3e394a(-0x8b,-0x9b)]['push'](..._0x165910);}catch{}const _0x4e99d2=[_0x2a0566(0x17b,0x1a3),_0x2a0566(0x186,0x186),_0x3e394a(-0x11b,-0xf9)];for(let _0x31fa68=0x0;_0x31fa68<_0x1f9506['memories'][_0x2a0566(0x1bb,0x1b4)];_0x31fa68++){if(!_0x4e99d2[_0x3e394a(-0x90,-0x3e)](_0x1f9506['memories'][_0x31fa68]['category']))continue;try{if(_0x3e394a(-0xcb,-0xec)!==_0x2a0566(0x18e,0x13d))return _0x1e8a68[_0x2a0566(0x166,0x168)](_0x1cdabf);else{const _0x6b5482=await _0x3ec055[_0x2a0566(0x1d7,0x1f9)](_0x1f9506['memories'][_0x31fa68][_0x2a0566(0x206,0x1e7)],CLASSIFIABLE_CATEGORIES);if(CLASSIFIABLE_CATEGORIES[_0x3e394a(-0x68,-0x3e)](_0x6b5482)){if(_0x2a0566(0x159,0x141)!==_0x2a0566(0x1a2,0x141))return _0x308485[_0x2a0566(0x1f4,0x1e0)](_0x136eb5=>_0x136eb5['test'](_0x35912f));else _0x1f9506[_0x3e394a(-0x89,-0x9b)][_0x31fa68]={..._0x1f9506[_0x2a0566(0x1b9,0x18e)][_0x31fa68],'category':_0x6b5482};}}}catch{}}function _0x2a0566(_0x66e382,_0xa38e0d){return _0xc49e3a(_0xa38e0d- -0x210,_0x66e382);}return _0x1f9506;}const RESPONSE_META_PREFIX=/^\s*\[mode:\s/;export function isResponseFragment(_0x1e29ac){function _0x225d66(_0x22b375,_0x2b74e5){return _0xc49e3a(_0x22b375- -0x3da,_0x2b74e5);}return RESPONSE_META_PREFIX[_0x225d66(-0x62,-0x91)](_0x1e29ac);}export async function summarizeSession(_0x41bbfa,_0x2e4004){const _0x4a3699=_0x41bbfa[_0x571f66(0x1,0x6f)](_0xa26d92=>_0xa26d92[_0x571f66(-0x1,0x1c)]==='assistant')[_0x571f66(0x71,0xab)](_0x2db6c3=>{if(typeof _0x2db6c3[_0x153cc3(0x8,0x2a)][_0x153cc3(0x39,0x6a)]===_0xc85453(-0x15a,-0x1b6))return _0x2db6c3[_0x153cc3(0x46,0x2a)][_0x153cc3(0xac,0x6a)];function _0x153cc3(_0x8d46aa,_0x2e2b90){return _0x571f66(_0x8d46aa,_0x2e2b90- -0x4d);}function _0xc85453(_0x4080d7,_0x3e0e5b){return _0x571f66(_0x4080d7,_0x3e0e5b- -0x27d);}return _0x2db6c3[_0xc85453(-0x1e7,-0x206)][_0xc85453(-0x16d,-0x1c6)][_0xc85453(-0x261,-0x20e)](_0x1e2ac0=>_0x1e2ac0[_0xc85453(-0x2ab,-0x261)]===_0x153cc3(-0x12,0x5a)&&_0x1e2ac0[_0xc85453(-0x1e1,-0x1d6)])['map'](_0x55ccf3=>_0x55ccf3['text'])[_0x153cc3(-0x7b,-0x11)]('\x0a');})['filter'](_0xa9506d=>_0xa9506d[_0x4d5ee2(-0x1ad,-0x1a7)]>0x14)[_0x571f66(-0x8,0x35)](-0xa);function _0x571f66(_0x122379,_0x50e4dc){return _0x231197(_0x50e4dc- -0x373,_0x122379);}function _0x4d5ee2(_0x2b0b19,_0xcc6b4a){return _0x231197(_0x2b0b19- -0x5a4,_0xcc6b4a);}if(_0x4a3699[_0x571f66(0x1b,0x84)]===0x0)return'';return _0x2e4004[_0x4d5ee2(-0x18f,-0x168)](_0x4a3699);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x4fc6(){const _0x35f326=['ywrK','mtGYmZuZmLHwu3fhBq','ndGYyxLAyMDP','zxHLyW','neHwy29vyG','DgvZDa','mJGYmgvWCeTksa','zNjVBq','CMvWBgfJzq','ntu2mJGZmgLnCuzkta','ntrYCKLNs3m','mJyZmdq2q1Hmy2zh','otyXnJm1r3LMuhv6','mZeYmZyWAvLUAfPn','xcqM','C2XPy2u','mtKWndaXm1zrsgrMua','q0ziAhi','C3rHCNrZv2L0Aa','lYHBxLXZiIDCkq'];_0x4fc6=function(){return _0x35f326;};return _0x4fc6();}(function(_0xa35e3c,_0x311828){function _0x3928fa(_0x443978,_0x5302f9){return _0x18ea(_0x443978- -0x395,_0x5302f9);}const _0x49c96f=_0xa35e3c();function _0x23d926(_0x59383f,_0x3c376c){return _0x18ea(_0x3c376c- -0x298,_0x59383f);}while(!![]){try{const _0xc0aa78=parseInt(_0x3928fa(-0x264,-0x25a))/0x1*(parseInt(_0x23d926(-0x16b,-0x16b))/0x2)+parseInt(_0x23d926(-0x168,-0x16c))/0x3*(parseInt(_0x23d926(-0x172,-0x169))/0x4)+-parseInt(_0x23d926(-0x166,-0x161))/0x5+-parseInt(_0x23d926(-0x16d,-0x163))/0x6*(parseInt(_0x3928fa(-0x25f,-0x263))/0x7)+parseInt(_0x23d926(-0x165,-0x160))/0x8+parseInt(_0x23d926(-0x167,-0x15d))/0x9+-parseInt(_0x23d926(-0x16e,-0x164))/0xa;if(_0xc0aa78===_0x311828)break;else _0x49c96f['push'](_0x49c96f['shift']());}catch(_0x37b7fb){_0x49c96f['push'](_0x49c96f['shift']());}}}(_0x4fc6,0x6e2b6));import{existsSync}from'fs';function _0x18ea(_0x2978f7,_0x54fff8){_0x2978f7=_0x2978f7-0x12a;const _0x4fc693=_0x4fc6();let _0x18eaf5=_0x4fc693[_0x2978f7];if(_0x18ea['WduYyc']===undefined){var _0x271574=function(_0x1a0e15){const _0x50dbb1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x363800='',_0x3fd00a='';for(let _0x5a5cc4=0x0,_0x2d7f8b,_0x1a6703,_0x298ae8=0x0;_0x1a6703=_0x1a0e15['charAt'](_0x298ae8++);~_0x1a6703&&(_0x2d7f8b=_0x5a5cc4%0x4?_0x2d7f8b*0x40+_0x1a6703:_0x1a6703,_0x5a5cc4++%0x4)?_0x363800+=String['fromCharCode'](0xff&_0x2d7f8b>>(-0x2*_0x5a5cc4&0x6)):0x0){_0x1a6703=_0x50dbb1['indexOf'](_0x1a6703);}for(let _0x2c3cb5=0x0,_0x3efe8a=_0x363800['length'];_0x2c3cb5<_0x3efe8a;_0x2c3cb5++){_0x3fd00a+='%'+('00'+_0x363800['charCodeAt'](_0x2c3cb5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3fd00a);};_0x18ea['gnqYTI']=_0x271574,_0x18ea['qchZrL']={},_0x18ea['WduYyc']=!![];}const _0x29001f=_0x4fc693[0x0],_0x5bf763=_0x2978f7+_0x29001f,_0x3a7a5e=_0x18ea['qchZrL'][_0x5bf763];return!_0x3a7a5e?(_0x18eaf5=_0x18ea['gnqYTI'](_0x18eaf5),_0x18ea['qchZrL'][_0x5bf763]=_0x18eaf5):_0x18eaf5=_0x3a7a5e,_0x18eaf5;}import{resolve,isAbsolute}from'path';export function detectMdReferences(_0x5a523b,_0x5a7ac6){function _0x4faed1(_0x2f0f8c,_0x20423d){return _0x18ea(_0x20423d-0x70,_0x2f0f8c);}const _0x432b9a=new Set();let _0x3f0cfc;const _0x408ae3=/\[.*?\]\(([^)]+\.md)\)/g;while((_0x3f0cfc=_0x408ae3[_0x4faed1(0x19c,0x19e)](_0x5a523b))!==null){_0x432b9a[_0x4faed1(0x19b,0x19b)](_0x3f0cfc[0x1]);}const _0x212e83=/(?:Source|참조|reference|파일|문서):\s*(\S+\.md)/gi;function _0xe639b0(_0x41dc1e,_0x29d00f){return _0x18ea(_0x41dc1e- -0x200,_0x29d00f);}while((_0x3f0cfc=_0x212e83[_0xe639b0(-0xd2,-0xd3)](_0x5a523b))!==null){'CFHhr'===_0x4faed1(0x1af,0x1ac)?_0x432b9a[_0x4faed1(0x191,0x19b)](_0x3f0cfc[0x1]):_0xfedd2[_0x4faed1(0x194,0x19b)](_0x2bbea6[0x1]);}const _0x2a4b31=/\(([^)\s]+\.md)\)/g;while((_0x3f0cfc=_0x2a4b31[_0xe639b0(-0xd2,-0xd5)](_0x5a523b))!==null){_0x432b9a[_0xe639b0(-0xd5,-0xd9)](_0x3f0cfc[0x1]);}const _0x55fe21=new RegExp(escapeRegex(_0x5a7ac6)+(_0xe639b0(-0xd6,-0xdb)+']+\x5c.md)'),'g');while((_0x3f0cfc=_0x55fe21['exec'](_0x5a523b))!==null){_0x432b9a[_0x4faed1(0x1a4,0x19b)](_0x3f0cfc[0x1]);}const _0x5cab5a=/(?:^|[\s"'(])(\.\.\/?[^\s"')]+\.md|[a-zA-Z0-9_-]+\/[^\s"')]+\.md)/gm;while((_0x3f0cfc=_0x5cab5a[_0x4faed1(0x198,0x19e)](_0x5a523b))!==null){_0x432b9a['add'](_0x3f0cfc[0x1]);}const _0x50701e=/"filePath"\s*:\s*"([^"]+\.md)"/g;while((_0x3f0cfc=_0x50701e['exec'](_0x5a523b))!==null){const _0x3e5448=_0x3f0cfc[0x1];_0x3e5448[_0xe639b0(-0xc3,-0xbc)](_0x5a7ac6)?_0x432b9a[_0xe639b0(-0xd5,-0xdb)](_0x3e5448[_0x4faed1(0x1ad,0x1aa)](_0x5a7ac6['length']+0x1)):_0x432b9a[_0xe639b0(-0xd5,-0xcc)](_0x3e5448);}return Array[_0x4faed1(0x1a9,0x1a2)](_0x432b9a)['filter'](_0x241a3d=>{let _0x1b017c;isAbsolute(_0x241a3d)?_0x1b017c=_0x241a3d:_0x1b017c=resolve(_0x5a7ac6,_0x241a3d);function _0x4b8e39(_0x32054e,_0x287b36){return _0x4faed1(_0x287b36,_0x32054e- -0x181);}if(/[/\\](node_modules|\.git|dist)[/\\]/[_0x4b8e39(0x1f,0x15)](_0x1b017c))return![];return existsSync(_0x1b017c);});}function escapeRegex(_0x19a3f1){function _0xd3621f(_0x43c29a,_0x2c4d2c){return _0x18ea(_0x2c4d2c-0x9d,_0x43c29a);}function _0x244191(_0x9565a,_0x53b2eb){return _0x18ea(_0x9565a- -0x2de,_0x53b2eb);}return _0x19a3f1[_0xd3621f(0x1d3,0x1d0)](/[.*+?^${}()|[\]\\]/g,_0xd3621f(0x1dd,0x1d6));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
(function(_0x45d637,_0x3385c1){const _0x4f5cce=_0x45d637();function _0x458bce(_0x2dc19a,_0x441364){return _0x3e9c(_0x2dc19a- -0xd3,_0x441364);}function _0x548997(_0x4b100e,_0x17ea16){return _0x3e9c(_0x17ea16- -0x3f,_0x4b100e);}while(!![]){try{const _0x291a65=parseInt(_0x548997(0x88,0x73))/0x1+-parseInt(_0x458bce(0x3,0x6))/0x2*(parseInt(_0x548997(0x96,0x86))/0x3)+-parseInt(_0x548997(0x9e,0x8f))/0x4+parseInt(_0x548997(0x6b,0x7e))/0x5*(parseInt(_0x548997(0x92,0x7d))/0x6)+parseInt(_0x458bce(-0x7,0x0))/0x7+-parseInt(_0x458bce(-0x24,-0x2a))/0x8+-parseInt(_0x548997(0x64,0x79))/0x9;if(_0x291a65===_0x3385c1)break;else _0x4f5cce['push'](_0x4f5cce['shift']());}catch(_0x1596da){_0x4f5cce['push'](_0x4f5cce['shift']());}}}(_0x3484,0x3a00d));function _0x394785(_0x36a10f,_0x12706){return _0x3e9c(_0x12706- -0x59,_0x36a10f);}import{SENSITIVE_PATTERNS}from'../types/index.js';function _0x3e9c(_0x47d8bb,_0x1e7d16){_0x47d8bb=_0x47d8bb-0xaf;const _0x3484c8=_0x3484();let _0x3e9c9f=_0x3484c8[_0x47d8bb];if(_0x3e9c['KFzNdP']===undefined){var _0xeb6dc9=function(_0x46a247){const _0x5bc769='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x214fcd='',_0x256aa3='';for(let _0x3b3c3b=0x0,_0x26a3e4,_0x22b134,_0x230609=0x0;_0x22b134=_0x46a247['charAt'](_0x230609++);~_0x22b134&&(_0x26a3e4=_0x3b3c3b%0x4?_0x26a3e4*0x40+_0x22b134:_0x22b134,_0x3b3c3b++%0x4)?_0x214fcd+=String['fromCharCode'](0xff&_0x26a3e4>>(-0x2*_0x3b3c3b&0x6)):0x0){_0x22b134=_0x5bc769['indexOf'](_0x22b134);}for(let _0x494b63=0x0,_0x1c55a9=_0x214fcd['length'];_0x494b63<_0x1c55a9;_0x494b63++){_0x256aa3+='%'+('00'+_0x214fcd['charCodeAt'](_0x494b63)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x256aa3);};_0x3e9c['GbrnRy']=_0xeb6dc9,_0x3e9c['SMUpne']={},_0x3e9c['KFzNdP']=!![];}const _0x26cee0=_0x3484c8[0x0],_0x108780=_0x47d8bb+_0x26cee0,_0x4c3428=_0x3e9c['SMUpne'][_0x108780];return!_0x4c3428?(_0x3e9c9f=_0x3e9c['GbrnRy'](_0x3e9c9f),_0x3e9c['SMUpne'][_0x108780]=_0x3e9c9f):_0x3e9c9f=_0x4c3428,_0x3e9c9f;}function _0x3484(){const _0x2b2678=['qvDtx1nfq1jfva','s09srufox1nttG','C3rHCNrZv2L0Aa','w1jfrefdvevexW','u1rssvbfx0Tfwq','nJCYnJn3rhDOu1i','yNfhCMC','u3zVCKu','s0vz','tfjfBNu','CMvWBgfJzq','sLDux1rps0vo','otKYmZa2ve9LuwjK','ufLqsv9ut0TftG','odCWmZyWzeHsugjV','u0vou0Lusvzf','qvbjx0Tfwq','reLtq09srf9utW','tLbnx1rps0vo','ufjjvKfurv9lrq','t1bftKfjx0Tfwq','zMXHz3m','ngLwB1HNwG','wv9su0e','u0vduKvu','mZy1mdaWt2XfzxHM','C2XPy2u','rejFru5wx1zbuG','mZq4odaYv0PwBur6','qvPvuKvFs0vz','rejFq09otKvdva','x0Tfwq','su9o','rhzHDui','mJe0oduYnxDsAMXIyq','u0Xbq0TFve9lrq','BgvUz3rO','wv9pveHfuG','nKvuAuLiuG','mtq2otaXnwP6Bfnkwa','qu5usfjpueLdxW','uKvguKvtsf9utW'];_0x3484=function(){return _0x2b2678;};return _0x3484();}function _0x5f407a(_0x55b631,_0x2baf3a){return _0x3e9c(_0x2baf3a- -0x1d9,_0x55b631);}export const PATTERN_LABELS=['AWS_ACCESS'+_0x5f407a(-0x118,-0x124),_0x394785(0x74,0x67)+'_KEY','GOOGLE_API'+_0x5f407a(-0x122,-0x124),_0x394785(0x57,0x5a),_0x5f407a(-0x113,-0x105),_0x5f407a(-0x105,-0x115),'GITHUB_TOK'+'EN',_0x5f407a(-0x10a,-0x109),_0x5f407a(-0xfa,-0x101),'BEARER_TOK'+'EN','EMAIL',_0x5f407a(-0x10d,-0x106)+_0x5f407a(-0xf2,-0x102),_0x394785(0x6e,0x60)+'N',_0x5f407a(-0x112,-0x108)+'KEN',_0x5f407a(-0xfe,-0x107),_0x394785(0x82,0x74),_0x394785(0x57,0x5b)+_0x5f407a(-0x12a,-0x123),_0x5f407a(-0x116,-0x128),_0x5f407a(-0x109,-0x106)+_0x394785(0x60,0x62),'CERTIFICAT'+'E',_0x394785(0x5f,0x72),_0x5f407a(-0x124,-0x11a)+'KEN',_0x394785(0x5e,0x68),'KOREAN_BRN',_0x394785(0x76,0x65)+_0x394785(0x6f,0x6f)];export function filterSensitiveInfo(_0x3bf05b){let _0x5b625a=_0x3bf05b,_0x320448=0x0;for(let _0x5a596b=0x0;_0x5a596b<SENSITIVE_PATTERNS[_0x38f104(0x9e,0xa9)];_0x5a596b++){const _0x52bee5=new RegExp(SENSITIVE_PATTERNS[_0x5a596b]['source'],SENSITIVE_PATTERNS[_0x5a596b][_0x5eeb19(0x238,0x22f)]),_0x1b64ce=PATTERN_LABELS[_0x5a596b]??_0x5eeb19(0x21f,0x229),_0x34c480=_0x5b625a['match'](_0x52bee5);if(_0x34c480){if(_0x38f104(0x9b,0xa9)!==_0x38f104(0xab,0xb5))_0x320448+=_0x34c480[_0x5eeb19(0x226,0x214)],_0x5b625a=_0x5b625a[_0x5eeb19(0x223,0x224)](_0x52bee5,_0x5eeb19(0x22b,0x21d)+_0x1b64ce+']');else{const _0x537fac=_0x1019c3[_0x38f104(0x94,0x7f)](0x0,-0x1);if(_0x1379b5[_0x5eeb19(0x229,0x21c)](_0x537fac))return!![];}}}function _0x5eeb19(_0x170442,_0x490696){return _0x5f407a(_0x170442,_0x490696-0x333);}function _0x38f104(_0x446cbb,_0x2cbb1b){return _0x5f407a(_0x2cbb1b,_0x446cbb-0x1bd);}return{'filtered':_0x5b625a,'matchCount':_0x320448};}export function isSensitivePath(_0x468916,_0x36252c){function _0x12dd10(_0x5af01f,_0x510e4e){return _0x5f407a(_0x5af01f,_0x510e4e-0x545);}function _0x4a3a04(_0x314dfb,_0x1113cd){return _0x5f407a(_0x314dfb,_0x1113cd-0x465);}const _0xb5fed3=_0x468916['split']('/')['pop']()??_0x468916;for(const _0x347120 of _0x36252c){if(_0x4a3a04(0x35c,0x355)===_0x12dd10(0x435,0x432))_0x44efb0+=_0x5ada5b[_0x4a3a04(0x331,0x346)],_0x13121d=_0x3db1fe[_0x4a3a04(0x366,0x356)](_0x286819,'[REDACTED_'+_0x2b5617+']');else{if(_0x347120[_0x12dd10(0x42b,0x42e)]('*')){const _0x77fb6b=_0x347120['slice'](0x1);if(_0xb5fed3['endsWith'](_0x77fb6b))return!![];}else{if(_0x347120['endsWith']('*')){const _0x3e2237=_0x347120[_0x12dd10(0x40e,0x41c)](0x0,-0x1);if(_0xb5fed3['startsWith'](_0x3e2237))return!![];}else{if(_0xb5fed3===_0x347120)return!![];}}}}return![];}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x3c77cf,_0x1cc50d){const _0x28f095=_0x3c77cf();function _0x1b42c7(_0x118fb7,_0x27de6b){return _0x5945(_0x118fb7- -0x70,_0x27de6b);}function _0x3ffb6a(_0x20b459,_0x3d722d){return _0x5945(_0x3d722d-0x397,_0x20b459);}while(!![]){try{const _0xd82977=parseInt(_0x3ffb6a(0x44d,0x455))/0x1*(-parseInt(_0x3ffb6a(0x402,0x415))/0x2)+-parseInt(_0x3ffb6a(0x445,0x457))/0x3+parseInt(_0x3ffb6a(0x441,0x42c))/0x4*(parseInt(_0x3ffb6a(0x436,0x428))/0x5)+-parseInt(_0x1b42c7(0x1b,0x1e))/0x6+parseInt(_0x3ffb6a(0x423,0x41d))/0x7*(-parseInt(_0x3ffb6a(0x453,0x456))/0x8)+-parseInt(_0x1b42c7(0x33,0x1e))/0x9+parseInt(_0x3ffb6a(0x412,0x429))/0xa;if(_0xd82977===_0x1cc50d)break;else _0x28f095['push'](_0x28f095['shift']());}catch(_0x39dea3){_0x28f095['push'](_0x28f095['shift']());}}}(_0x111b,0x64428));const DEFAULT_THRESHOLD=0.6;function _0x590988(_0x335aaa,_0x1d898d){return _0x5945(_0x1d898d-0x1c1,_0x335aaa);}function _0x5945(_0x28920c,_0x4f1350){_0x28920c=_0x28920c-0x77;const _0x111b32=_0x111b();let _0x59454c=_0x111b32[_0x28920c];if(_0x5945['KAgEQz']===undefined){var _0x4134b8=function(_0x106910){const _0x44bea1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2ed11a='',_0x28b5ba='';for(let _0x3d12c3=0x0,_0x17bf0b,_0x1719f8,_0x35b456=0x0;_0x1719f8=_0x106910['charAt'](_0x35b456++);~_0x1719f8&&(_0x17bf0b=_0x3d12c3%0x4?_0x17bf0b*0x40+_0x1719f8:_0x1719f8,_0x3d12c3++%0x4)?_0x2ed11a+=String['fromCharCode'](0xff&_0x17bf0b>>(-0x2*_0x3d12c3&0x6)):0x0){_0x1719f8=_0x44bea1['indexOf'](_0x1719f8);}for(let _0x1881a0=0x0,_0x9b0998=_0x2ed11a['length'];_0x1881a0<_0x9b0998;_0x1881a0++){_0x28b5ba+='%'+('00'+_0x2ed11a['charCodeAt'](_0x1881a0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x28b5ba);};_0x5945['mijuyY']=_0x4134b8,_0x5945['fkEiDE']={},_0x5945['KAgEQz']=!![];}const _0x9b6f6e=_0x111b32[0x0],_0x4f3a57=_0x28920c+_0x9b6f6e,_0x2adb95=_0x5945['fkEiDE'][_0x4f3a57];return!_0x2adb95?(_0x59454c=_0x5945['mijuyY'](_0x59454c),_0x5945['fkEiDE'][_0x4f3a57]=_0x59454c):_0x59454c=_0x2adb95,_0x59454c;}const TRIVIAL_TOOLS=new Set(['Read',_0x57c385(-0xe,0x9),_0x590988(0x26c,0x26c),'LS',_0x590988(0x25f,0x242)+_0x590988(0x26d,0x278),_0x590988(0x21f,0x243),_0x590988(0x27c,0x270),_0x590988(0x225,0x23a)+_0x57c385(-0x32,-0x10)]),CONFIG_EXTENSIONS=new Set(['.json','.yaml',_0x590988(0x248,0x26d),_0x590988(0x291,0x27e),_0x57c385(-0x1f,0x1),'.cfg',_0x57c385(0x21,0x4),_0x590988(0x232,0x257),_0x590988(0x281,0x263)+'s']),IMPORTANT_BASH=/\b(git\s+(commit|push|merge|rebase)|npm\s+(install|build|publish)|docker|railway|kubectl)\b/i,TRIVIAL_BASH=/^\s*(ls|cat|pwd|echo|cd|head|tail|wc)\b/;export function scoreSignificance(_0x1b7a20,_0x3d5b2a,_0x222ed5=DEFAULT_THRESHOLD){const _0x26be7e=[],_0x3562de=detectErrorResolution(_0x1b7a20,_0x3d5b2a);_0x26be7e[_0x1a6142(-0x1bc,-0x1b5)]({'name':'error_reso'+_0x1a6142(-0x1ca,-0x1bd),'score':0.7,'matched':_0x3562de});const _0x31ee61=_0x3d5b2a['isNewFile']??detectNewFile(_0x1b7a20);_0x26be7e[_0x1a6142(-0x1d9,-0x1b5)]({'name':_0x1a6142(-0x20b,-0x1f3)+'reation','score':0.7,'matched':_0x31ee61});const _0x4fd41a=_0x3d5b2a[_0x156771(-0xf4,-0x110)+'ange']??detectConfigChange(_0x1b7a20,_0x3d5b2a);_0x26be7e['push']({'name':_0x156771(-0xef,-0x101)+_0x156771(-0xcd,-0xc7),'score':0.6,'matched':_0x4fd41a});const _0x13b775=detectCodeModification(_0x3d5b2a);_0x26be7e[_0x1a6142(-0x197,-0x1b5)]({'name':_0x1a6142(-0x1a0,-0x1aa)+_0x1a6142(-0x1f6,-0x1dc),'score':0.5,'matched':_0x13b775});const _0x3ccb86=detectTrivialAction(_0x3d5b2a);_0x26be7e[_0x156771(-0xbe,-0xd3)]({'name':_0x156771(-0xcf,-0xe8)+_0x156771(-0xc7,-0xcc),'score':-0.3,'matched':_0x3ccb86});const _0x419df4=detectBashImportant(_0x3d5b2a);_0x26be7e[_0x156771(-0xbe,-0xc0)]({'name':'bash_impor'+_0x156771(-0xcb,-0xee)+'nd','score':0.5,'matched':_0x419df4});const _0x36a1d5=detectBashTrivial(_0x3d5b2a);_0x26be7e[_0x1a6142(-0x198,-0x1b5)]({'name':'bash_trivi'+_0x1a6142(-0x1b0,-0x1ce),'score':-0.4,'matched':_0x36a1d5});const _0x39e92c=(_0x3d5b2a['editedFile'+_0x156771(-0xe0,-0xc6)]??0x0)>=0x3;_0x26be7e[_0x1a6142(-0x1b9,-0x1b5)]({'name':_0x1a6142(-0x1b8,-0x1d0)+'_edit','score':0.3,'matched':_0x39e92c});const _0xab589d=_0x26be7e[_0x156771(-0xed,-0x109)](_0x35a3c3=>_0x35a3c3['matched'])['reduce']((_0x44f528,_0x46e9df)=>_0x44f528+_0x46e9df[_0x156771(-0xfa,-0xe4)],0x0);function _0x1a6142(_0x4b587b,_0x3e0d11){return _0x590988(_0x4b587b,_0x3e0d11- -0x42c);}function _0x156771(_0xe4c50e,_0x10104c){return _0x590988(_0x10104c,_0xe4c50e- -0x335);}const _0x45f3b3=Math[_0x1a6142(-0x19f,-0x1b6)](0x0,Math['min'](0x1,_0xab589d));return{'totalScore':_0x45f3b3,'signals':_0x26be7e,'shouldCapture':_0x45f3b3>=_0x222ed5};}function detectErrorResolution(_0x48b7bc,_0x2668e7){if(_0x2668e7[_0x3337db(0x201,0x1ff)])return!![];function _0x2ff9f4(_0x3266fc,_0x2fc1bd){return _0x57c385(_0x2fc1bd,_0x3266fc-0x223);}const _0x178650=extractTextContent(_0x48b7bc);function _0x3337db(_0x26be81,_0x259d00){return _0x57c385(_0x26be81,_0x259d00-0x217);}const _0x74c51c=[_0x3337db(0x244,0x243),_0x3337db(0x21b,0x221),_0x2ff9f4(0x22b,0x234),_0x2ff9f4(0x220,0x21d),_0x3337db(0x21b,0x205),_0x3337db(0x22b,0x23a),'Failed:',_0x3337db(0x22b,0x242),_0x3337db(0x243,0x222),_0x2ff9f4(0x230,0x22d),_0x2ff9f4(0x247,0x22d),_0x2ff9f4(0x21e,0x21d)],_0x28091c=_0x74c51c['some'](_0x244b32=>_0x178650[_0x2ff9f4(0x245,0x269)](_0x244b32));if(!_0x28091c)return![];const _0x49bf8a=[_0x3337db(0x25b,0x240),_0x3337db(0x22a,0x20c),_0x2ff9f4(0x248,0x262),_0x3337db(0x239,0x230),_0x2ff9f4(0x217,0x1f1),'해결','수정'],_0x5d7803=_0x49bf8a['some'](_0x14690d=>_0x178650[_0x3337db(0x24a,0x244)+'e']()[_0x3337db(0x21e,0x239)](_0x14690d));return _0x5d7803;}function detectNewFile(_0x479087){if(!Array['isArray'](_0x479087[_0x2468dd(-0x175,-0x15f)][_0x2468dd(-0x151,-0x131)]))return![];function _0x22efd3(_0xe309c8,_0x4276a7){return _0x590988(_0xe309c8,_0x4276a7- -0x46a);}function _0x2468dd(_0x8fd980,_0x5c3431){return _0x590988(_0x5c3431,_0x8fd980- -0x3d4);}return _0x479087[_0x22efd3(-0x1fb,-0x20b)][_0x2468dd(-0x151,-0x16c)]['some'](_0x42119d=>_0x42119d[_0x22efd3(-0x1ef,-0x1f9)]===_0x2468dd(-0x169,-0x181)&&_0x42119d[_0x22efd3(-0x226,-0x22d)]===_0x2468dd(-0x172,-0x198)&&_0x42119d['input']!==undefined);}function detectConfigChange(_0x30bf4c,_0x1ac5d5){if(_0x1ac5d5[_0x47748e(0x2cc,0x2bd)]===_0x47748e(0x2e3,0x2be)||_0x1ac5d5[_0x2f5b3a(0x23a,0x24c)]===_0x47748e(0x2e5,0x2da)){const _0x39f367=extractTextContent(_0x30bf4c);return[...CONFIG_EXTENSIONS][_0x47748e(0x2d2,0x2dc)](_0x3103b0=>_0x39f367[_0x47748e(0x2f5,0x2d9)](_0x3103b0));}function _0x2f5b3a(_0x13f8be,_0x5b2042){return _0x57c385(_0x5b2042,_0x13f8be-0x241);}function _0x47748e(_0x3aca0b,_0x2cbce3){return _0x57c385(_0x2cbce3,_0x3aca0b-0x2d3);}return![];}function detectCodeModification(_0x8831e7){if(_0x8831e7[_0x2d60fc(-0x241,-0x242)]==='Edit')return!![];function _0x2d60fc(_0x3b375a,_0x590ec0){return _0x57c385(_0x3b375a,_0x590ec0- -0x23b);}function _0x105aef(_0xf4fc15,_0x517ac3){return _0x57c385(_0x517ac3,_0xf4fc15- -0x1a8);}if(_0x8831e7[_0x105aef(-0x1af,-0x1ac)]===_0x2d60fc(-0x22d,-0x229)&&!_0x8831e7['isNewFile'])return!![];return![];}function detectTrivialAction(_0x32b52a){if(!_0x32b52a[_0x4f5bc2(-0x10,0xb)])return![];function _0x4f5bc2(_0x1f5bf5,_0x3af869){return _0x590988(_0x1f5bf5,_0x3af869- -0x23e);}function _0xac623b(_0x5594f0,_0x26c7b0){return _0x590988(_0x26c7b0,_0x5594f0- -0x276);}return TRIVIAL_TOOLS[_0xac623b(-0x3a,-0x27)](_0x32b52a['toolName']);}function _0x57c385(_0x54322b,_0x44d4ee){return _0x5945(_0x44d4ee- -0x8f,_0x54322b);}function _0x111b(){const _0x60c7ed=['v2vIu2vHCMnO','DhLWzq','Aw5JBhvKzxm','zMfPBgvKoG','7jEq65+SoG','C29SDxrPB24','Bwf4','ChvZAa','B3j5','CMvZB2X2zwq','DgvZDa','rKfjteveoG','zxjYB3i6','Dg9mB3DLCKnHCW','lNrVBwW','mtu3wNjJA3nS','ntmYofn5vuHtqG','mtiYmZu1ze9Ysen4','y29Kzv9TB2rPzG','y29UDgvUDa','AgfZrxjYB3i','BMv3x2zPBgvFyW','qxnRrM9SBg93Dq','C2nVCMu','AgfZ','BMfTzq','rxHJzxb0Aw9UoG','nZG3ohrrsuHhyq','Cff1zxn0Aw9U','AxndB25MAwDdAa','tgLZDerPCMvJDa','v2vIrMv0y2G','D29YA2fYB3vUza','zML4zwq','y29UzMLNx2nOyq','ndGWmKnwre51CG','zMLSDgvY','Dg9VBe5HBwu','AM9PBG','7jIK66wyoG','mJeXodi5nejcshjpDG','zxHJzxb0Aw9UoG','BwfW','C29Tzq','AwnHDgLVBG','lMLUAq','mtbRrxvOrK8','mtG5mJGYmtbmBNPHzfG','lMnVBMzPzW','q291BNq','nJCXndq0v0Tszezc','lMvUDG','rvjst1i6','r2XVyG','rxjYB3i6','DhjHy2vIywnR','BxvSDgLFzMLSzq','vhjHy2vIywnR','ywXFy29TBwfUza','BwvZC2fNzq','rwrPDa','C3rYAw5N','v3jPDgu','lNbYB3bLCNrPzq','mZeZodCXngrMBxjiyW','yMfZAenVBw1HBG','DhjPDMLHBf9HyW','Dgv4Da','BMDL','C29SDMvK','DgfUDf9JB21Tyq','Dg9VBf91C2u','r3jLCa','lNLTBa','DgLVBG','Bhv0Aw9U'];_0x111b=function(){return _0x60c7ed;};return _0x111b();}function detectBashImportant(_0x7e4817){function _0x11f9db(_0x3efd6e,_0xe617e1){return _0x57c385(_0xe617e1,_0x3efd6e- -0x2d8);}function _0x3c6e8a(_0x56555a,_0x556628){return _0x57c385(_0x556628,_0x56555a-0x3c8);}if(!_0x7e4817[_0x3c6e8a(0x3dd,0x3d8)+'d'])return![];return IMPORTANT_BASH[_0x3c6e8a(0x3f2,0x408)](_0x7e4817[_0x3c6e8a(0x3dd,0x3d0)+'d']);}function detectBashTrivial(_0x5e1022){function _0x206a13(_0x369851,_0x308ca5){return _0x590988(_0x369851,_0x308ca5-0x176);}function _0x2e4f4e(_0xe1766d,_0x2c363b){return _0x590988(_0xe1766d,_0x2c363b- -0x4ce);}if(!_0x5e1022['bashComman'+'d'])return![];return TRIVIAL_BASH[_0x206a13(0x3fd,0x3f0)](_0x5e1022[_0x2e4f4e(-0x25d,-0x269)+'d']);}function extractTextContent(_0x11f499){function _0xc20371(_0x5a9952,_0x332755){return _0x590988(_0x332755,_0x5a9952-0x133);}if(typeof _0x11f499[_0xc20371(0x392,0x3b4)][_0xc20371(0x3b6,0x3c6)]===_0x3ca626(0x111,0x127))return _0x11f499['message']['content'];function _0x3ca626(_0x353060,_0x14af26){return _0x590988(_0x14af26,_0x353060- -0x150);}return _0x11f499[_0xc20371(0x392,0x385)][_0x3ca626(0x133,0x150)]['filter'](_0xd86e00=>_0xd86e00[_0x3ca626(0x121,0x132)]===_0xc20371(0x39a,0x39c)&&_0xd86e00[_0x3ca626(0x117,0x11b)])[_0x3ca626(0xfe,0x113)](_0x4fee85=>_0x4fee85[_0x3ca626(0x117,0x136)])[_0xc20371(0x37d,0x372)]('\x0a');}
|
|
1
|
+
function _0x1d3a6f(_0x494147,_0x353260){return _0x68b8(_0x353260- -0x2a7,_0x494147);}(function(_0x168e6e,_0x2a90c6){function _0x287d45(_0x1472d6,_0x41e79d){return _0x68b8(_0x41e79d- -0xcd,_0x1472d6);}const _0x4ca142=_0x168e6e();function _0x4c1b50(_0x4a8d94,_0xed7eb0){return _0x68b8(_0xed7eb0-0x124,_0x4a8d94);}while(!![]){try{const _0x429d50=parseInt(_0x4c1b50(0x302,0x2e0))/0x1+-parseInt(_0x287d45(0xf1,0xd0))/0x2+parseInt(_0x287d45(0xe7,0xc2))/0x3*(parseInt(_0x287d45(0xb2,0xc1))/0x4)+parseInt(_0x287d45(0xb0,0xac))/0x5*(parseInt(_0x287d45(0xd4,0xd1))/0x6)+-parseInt(_0x287d45(0x10e,0xf6))/0x7+parseInt(_0x4c1b50(0x2cf,0x2bb))/0x8*(-parseInt(_0x4c1b50(0x2c2,0x2cb))/0x9)+-parseInt(_0x287d45(0xef,0xf3))/0xa;if(_0x429d50===_0x2a90c6)break;else _0x4ca142['push'](_0x4ca142['shift']());}catch(_0x9bc3ee){_0x4ca142['push'](_0x4ca142['shift']());}}}(_0x1946,0xde888));const DEFAULT_THRESHOLD=0.6,TRIVIAL_TOOLS=new Set([_0x7e19b9(0x241,0x221),_0x1d3a6f(-0xcd,-0xf6),_0x7e19b9(0x247,0x249),'LS',_0x7e19b9(0x24f,0x26c)+_0x7e19b9(0x24e,0x260),_0x7e19b9(0x232,0x218),_0x7e19b9(0x233,0x21f),_0x7e19b9(0x22b,0x238)+_0x7e19b9(0x234,0x227)]),CONFIG_EXTENSIONS=new Set(['.json',_0x1d3a6f(-0x14d,-0x129),_0x7e19b9(0x231,0x239),_0x1d3a6f(-0xd2,-0xf2),_0x7e19b9(0x21b,0x1f6),_0x1d3a6f(-0xf3,-0xff),_0x1d3a6f(-0xbb,-0xe5),'.env',_0x1d3a6f(-0x115,-0xed)+'s']),IMPORTANT_BASH=/\b(git\s+(commit|push|merge|rebase)|npm\s+(install|build|publish)|docker|railway|kubectl)\b/i,TRIVIAL_BASH=/^\s*(ls|cat|pwd|echo|cd|head|tail|wc)\b/;export function scoreSignificance(_0x1edbd6,_0x74a323,_0x11d8da=DEFAULT_THRESHOLD){function _0x3f5487(_0xcafc41,_0x31435b){return _0x1d3a6f(_0xcafc41,_0x31435b- -0xd6);}const _0x441046=[],_0x374b4a=detectErrorResolution(_0x1edbd6,_0x74a323);_0x441046['push']({'name':_0x3f5487(-0x206,-0x20b)+_0x411214(0x45e,0x454),'score':0.7,'matched':_0x374b4a});const _0x24176a=_0x74a323[_0x3f5487(-0x1e6,-0x1c5)]??detectNewFile(_0x1edbd6);_0x441046[_0x3f5487(-0x1db,-0x1cf)]({'name':_0x411214(0x450,0x442)+_0x411214(0x460,0x43b),'score':0.7,'matched':_0x24176a});const _0x4fa39b=_0x74a323[_0x411214(0x44b,0x43a)+_0x411214(0x446,0x427)]??detectConfigChange(_0x1edbd6,_0x74a323);_0x441046[_0x411214(0x46a,0x443)]({'name':_0x3f5487(-0x1e9,-0x1de)+_0x3f5487(-0x1de,-0x207),'score':0.6,'matched':_0x4fa39b});const _0x16d460=detectCodeModification(_0x74a323);_0x441046[_0x3f5487(-0x1f4,-0x1cf)]({'name':'code_modif'+_0x411214(0x446,0x426),'score':0.5,'matched':_0x16d460});const _0x19c9d8=detectTrivialAction(_0x74a323);_0x441046[_0x411214(0x443,0x443)]({'name':_0x411214(0x43e,0x438)+_0x411214(0x401,0x420),'score':-0.3,'matched':_0x19c9d8});function _0x411214(_0x4c4c2f,_0x183243){return _0x1d3a6f(_0x4c4c2f,_0x183243-0x53c);}const _0x5bf3f0=detectBashImportant(_0x74a323);_0x441046[_0x3f5487(-0x1d5,-0x1cf)]({'name':_0x3f5487(-0x1d5,-0x1dc)+'tant_comma'+'nd','score':0.5,'matched':_0x5bf3f0});const _0x16655d=detectBashTrivial(_0x74a323);_0x441046[_0x411214(0x45c,0x443)]({'name':_0x3f5487(-0x20c,-0x1fe)+_0x411214(0x432,0x41c),'score':-0.4,'matched':_0x16655d});const _0x150963=(_0x74a323[_0x411214(0x43c,0x429)+'Count']??0x0)>=0x3;_0x441046[_0x411214(0x41e,0x443)]({'name':_0x3f5487(-0x1e7,-0x209)+'_edit','score':0.3,'matched':_0x150963});const _0x586421=_0x441046[_0x411214(0x42e,0x406)](_0x4d7c67=>_0x4d7c67['matched'])[_0x411214(0x403,0x422)]((_0x32ee7d,_0x3d6e44)=>_0x32ee7d+_0x3d6e44[_0x411214(0x41e,0x425)],0x0),_0x1bfdcc=Math[_0x411214(0x446,0x440)](0x0,Math[_0x411214(0x423,0x415)](0x1,_0x586421));return{'totalScore':_0x1bfdcc,'signals':_0x441046,'shouldCapture':_0x1bfdcc>=_0x11d8da};}function detectErrorResolution(_0x467cf8,_0x21186e){function _0x281190(_0x2891b9,_0x211ad3){return _0x7e19b9(_0x211ad3- -0xb9,_0x2891b9);}if(_0x21186e['hasError'])return!![];const _0x3ff123=extractTextContent(_0x467cf8),_0x51342a=[_0x44a6d7(0x42b,0x417),_0x281190(0x188,0x160),_0x44a6d7(0x43e,0x467),_0x281190(0x184,0x181),_0x44a6d7(0x423,0x416),_0x281190(0x183,0x192),_0x281190(0x1bd,0x1a0),_0x281190(0x187,0x174),_0x44a6d7(0x420,0x407),_0x44a6d7(0x421,0x419),_0x281190(0x186,0x175),_0x281190(0x1ba,0x191)],_0x9b0db=_0x51342a[_0x44a6d7(0x446,0x41f)](_0x366dca=>_0x3ff123[_0x281190(0x191,0x16b)](_0x366dca));if(!_0x9b0db)return![];const _0x3f2a40=['resolved',_0x44a6d7(0x422,0x404),_0x281190(0x166,0x163),_0x281190(0x12f,0x152),'workaround','해결','수정'],_0x5a1909=_0x3f2a40[_0x44a6d7(0x446,0x46a)](_0x1834bf=>_0x3ff123[_0x281190(0x1a8,0x19c)+'e']()[_0x281190(0x180,0x16b)](_0x1834bf));function _0x44a6d7(_0x153b8d,_0x543baf){return _0x7e19b9(_0x153b8d-0x20e,_0x543baf);}return _0x5a1909;}function _0x68b8(_0x532aac,_0x5d9775){_0x532aac=_0x532aac-0x171;const _0x1946ce=_0x1946();let _0x68b805=_0x1946ce[_0x532aac];if(_0x68b8['XyhHYN']===undefined){var _0x1ed489=function(_0x38348c){const _0x17ddd9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x249559='',_0x3aa725='';for(let _0x14d73c=0x0,_0x3e4e34,_0x1423db,_0x1a440a=0x0;_0x1423db=_0x38348c['charAt'](_0x1a440a++);~_0x1423db&&(_0x3e4e34=_0x14d73c%0x4?_0x3e4e34*0x40+_0x1423db:_0x1423db,_0x14d73c++%0x4)?_0x249559+=String['fromCharCode'](0xff&_0x3e4e34>>(-0x2*_0x14d73c&0x6)):0x0){_0x1423db=_0x17ddd9['indexOf'](_0x1423db);}for(let _0x238eee=0x0,_0x13594a=_0x249559['length'];_0x238eee<_0x13594a;_0x238eee++){_0x3aa725+='%'+('00'+_0x249559['charCodeAt'](_0x238eee)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3aa725);};_0x68b8['SqYKsE']=_0x1ed489,_0x68b8['PaxvOz']={},_0x68b8['XyhHYN']=!![];}const _0x536708=_0x1946ce[0x0],_0x250a81=_0x532aac+_0x536708,_0x3f9958=_0x68b8['PaxvOz'][_0x250a81];return!_0x3f9958?(_0x68b805=_0x68b8['SqYKsE'](_0x68b805),_0x68b8['PaxvOz'][_0x250a81]=_0x68b805):_0x68b805=_0x3f9958,_0x68b805;}function detectNewFile(_0x336e6a){function _0x2c319a(_0x444cb6,_0x9ddb40){return _0x1d3a6f(_0x444cb6,_0x9ddb40-0x593);}function _0x400607(_0x549aa7,_0x138a1b){return _0x1d3a6f(_0x549aa7,_0x138a1b-0x2d3);}if(!Array[_0x400607(0x205,0x1e7)](_0x336e6a[_0x2c319a(0x491,0x49c)][_0x2c319a(0x473,0x46e)]))return![];return _0x336e6a[_0x400607(0x1d9,0x1dc)][_0x400607(0x1c9,0x1ae)][_0x400607(0x1b1,0x1cc)](_0x3a1d8b=>_0x3a1d8b[_0x2c319a(0x49a,0x496)]===_0x400607(0x1ba,0x1b4)&&_0x3a1d8b[_0x400607(0x1e7,0x1e0)]===_0x400607(0x1aa,0x1a1)&&_0x3a1d8b['input']!==undefined);}function detectConfigChange(_0x56dcac,_0x10001e){function _0x3113fd(_0x26dc9d,_0x4feeb3){return _0x1d3a6f(_0x4feeb3,_0x26dc9d-0x113);}function _0x4f5cb1(_0x3c8e53,_0x346bba){return _0x1d3a6f(_0x3c8e53,_0x346bba-0x39e);}if(_0x10001e[_0x3113fd(-0x1c,-0x1b)]==='Edit'||_0x10001e[_0x3113fd(-0x1c,-0x1a)]===_0x3113fd(-0x1f,-0x19)){if(_0x4f5cb1(0x25c,0x281)===_0x4f5cb1(0x278,0x281)){const _0x3828da=extractTextContent(_0x56dcac);return[...CONFIG_EXTENSIONS]['some'](_0x1fa993=>_0x3828da[_0x4f5cb1(0x25c,0x283)](_0x1fa993));}else return _0x500cb5[_0x3113fd(0x1c,-0xa)][_0x3113fd(-0x12,-0x11)];}return![];}function _0x7e19b9(_0x4792a5,_0x17c24e){return _0x68b8(_0x4792a5-0x98,_0x17c24e);}function detectCodeModification(_0x1fe073){function _0x312859(_0x515759,_0x5df3ee){return _0x7e19b9(_0x5df3ee- -0x94,_0x515759);}if(_0x1fe073[_0x312859(0x157,0x17c)]===_0x312859(0x195,0x1bd))return!![];function _0x1cf964(_0x8c84e9,_0x1cebe9){return _0x7e19b9(_0x8c84e9- -0x81,_0x1cebe9);}if(_0x1fe073[_0x1cf964(0x18f,0x17a)]===_0x312859(0x15f,0x179)&&!_0x1fe073[_0x312859(0x1a7,0x1bc)])return!![];return![];}function detectTrivialAction(_0x42f836){function _0x431bc5(_0x2274fd,_0x4242b0){return _0x7e19b9(_0x2274fd-0xa4,_0x4242b0);}function _0x39c030(_0x13a55f,_0x36d400){return _0x7e19b9(_0x36d400-0xf9,_0x13a55f);}if(!_0x42f836[_0x39c030(0x300,0x309)])return![];return TRIVIAL_TOOLS['has'](_0x42f836[_0x431bc5(0x2b4,0x2d1)]);}function detectBashImportant(_0x1aa684){function _0x36f261(_0x21f3b0,_0x54e69f){return _0x7e19b9(_0x54e69f-0x46,_0x21f3b0);}function _0xf3fdbb(_0x3f01d1,_0x357ef7){return _0x7e19b9(_0x357ef7- -0x3eb,_0x3f01d1);}if(!_0x1aa684['bashComman'+'d'])return![];return IMPORTANT_BASH[_0xf3fdbb(-0x1b6,-0x195)](_0x1aa684[_0xf3fdbb(-0x1be,-0x1af)+'d']);}function detectBashTrivial(_0x19767a){function _0x2ec5db(_0x378231,_0x3cd183){return _0x7e19b9(_0x3cd183-0x33a,_0x378231);}function _0x4669ca(_0x3dc8f9,_0x5c36d9){return _0x7e19b9(_0x3dc8f9- -0x43c,_0x5c36d9);}if(!_0x19767a[_0x2ec5db(0x58d,0x576)+'d'])return![];return TRIVIAL_BASH['test'](_0x19767a[_0x4669ca(-0x200,-0x1fe)+'d']);}function extractTextContent(_0xbf4e2f){function _0xee785e(_0x1d722f,_0x553f4e){return _0x7e19b9(_0x553f4e- -0x316,_0x1d722f);}function _0x132169(_0x2bac27,_0x5dd0d0){return _0x7e19b9(_0x2bac27-0x9,_0x5dd0d0);}if(typeof _0xbf4e2f[_0x132169(0x251,0x235)][_0x132169(0x223,0x22e)]===_0x132169(0x218,0x242))return _0xbf4e2f[_0x132169(0x251,0x245)]['content'];return _0xbf4e2f[_0xee785e(-0xd6,-0xce)]['content'][_0x132169(0x212,0x1f6)](_0x87cb8e=>_0x87cb8e[_0x132169(0x24b,0x22c)]==='text'&&_0x87cb8e[_0x132169(0x227,0x1fe)])[_0xee785e(-0xec,-0xd2)](_0x872835=>_0x872835[_0x132169(0x227,0x220)])[_0x132169(0x22a,0x224)]('\x0a');}function _0x1946(){const _0x2c7a49=['Dg9VBe5HBwu','mtmYota2nxbSD1nxra','DhjHy2vIywnR','vhjHy2vIywnR','zML4zwq','rxHJzxb0Aw9UoG','lNLHBwW','yMfZAf90CML2Aq','BwLU','rxjYB3i6','y29UDgvUDa','lMLUAq','C29SDxrPB24','zxjYB3i6','Dgv4Da','ywXFy29TBwfUza','Dg9VBf91C2u','AM9PBG','EeDeEva','DgLVBG','Aw5JBhvKzxm','CMvKDwnL','mJe4nty3mKPOA09nAa','m2HevMDnrW','C2nVCMu','AwnHDgLVBG','yw5Nzq','qxnRrM9SBg93Dq','zwrPDgvKrMLSzq','rKfjteveoG','7jEq65+SoG','ohfMEwTMCa','rvjst1i6','lNLTBa','v2vIrMv0y2G','v2vIu2vHCMnO','Cff1zxn0Aw9U','mte2nJK2EujKueHH','mZbcAg9XzMi','y29UzMLNx2nOyq','C29Tzq','yMfZAf9PBxbVCG','zxHJzxb0Aw9UoG','DhjPDMLHBf9HyW','yMfZAenVBw1HBG','AxndB25MAwDdAa','CMvHDgLVBG','mtm4mduZnJfVC0X2Dxm','lMnMzW','uMvHza','DhLWzq','Bwf4','BwfW','BMv3x2zPBgvFyW','ChvZAa','r3jLCa','BwvZC2fNzq','r2XVyG','7jIK66wyoG','zMfPBgvKoG','BMfTzq','lNrVBwW','B3j5','tgLZDerPCMvJDa','AxnozxDgAwXL','rwrPDa','lNbYB3bLCNrPzq','AxnbCNjHEq','mtC3ntu2mNfnruLPuW','Dg9mB3DLCKnHCW','DgvZDa','Bhv0Aw9U','mti5mdG2mgvpt0H0yW','rMfPBgvKoG','lMnVBMzPzW','nZeYnZmWmMvbB09hEa','zMLSDgvY','zxjYB3jFCMvZBW','C29SDMvK','BxvSDgLFzMLSzq','v3jPDgu','BMDL','C3rYAw5N'];_0x1946=function(){return _0x2c7a49;};return _0x1946();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x4f76(_0x716a7c,_0x74a042){_0x716a7c=_0x716a7c-0x10e;const _0xdd1643=_0xdd16();let _0x4f7672=_0xdd1643[_0x716a7c];if(_0x4f76['yNOCYK']===undefined){var _0x3d2077=function(_0xa53e3b){const _0x1e82aa='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x540921='',_0x262197='';for(let _0x35d116=0x0,_0x67b069,_0x34cd97,_0x2713ca=0x0;_0x34cd97=_0xa53e3b['charAt'](_0x2713ca++);~_0x34cd97&&(_0x67b069=_0x35d116%0x4?_0x67b069*0x40+_0x34cd97:_0x34cd97,_0x35d116++%0x4)?_0x540921+=String['fromCharCode'](0xff&_0x67b069>>(-0x2*_0x35d116&0x6)):0x0){_0x34cd97=_0x1e82aa['indexOf'](_0x34cd97);}for(let _0x1c0794=0x0,_0x175dd3=_0x540921['length'];_0x1c0794<_0x175dd3;_0x1c0794++){_0x262197+='%'+('00'+_0x540921['charCodeAt'](_0x1c0794)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x262197);};_0x4f76['vQphja']=_0x3d2077,_0x4f76['iTHdDK']={},_0x4f76['yNOCYK']=!![];}const _0x2890f9=_0xdd1643[0x0],_0x168638=_0x716a7c+_0x2890f9,_0x3e74ea=_0x4f76['iTHdDK'][_0x168638];return!_0x3e74ea?(_0x4f7672=_0x4f76['vQphja'](_0x4f7672),_0x4f76['iTHdDK'][_0x168638]=_0x4f7672):_0x4f7672=_0x3e74ea,_0x4f7672;}(function(_0x2240eb,_0x47d5b5){function _0x56418c(_0x447271,_0x30eedc){return _0x4f76(_0x30eedc- -0x38e,_0x447271);}const _0x105b9c=_0x2240eb();function _0x289488(_0x1d071f,_0x5005b1){return _0x4f76(_0x5005b1-0xbd,_0x1d071f);}while(!![]){try{const _0x5243c3=-parseInt(_0x56418c(-0x271,-0x27b))/0x1+-parseInt(_0x56418c(-0x271,-0x27c))/0x2*(parseInt(_0x56418c(-0x265,-0x26a))/0x3)+-parseInt(_0x56418c(-0x274,-0x26d))/0x4*(-parseInt(_0x289488(0x1cc,0x1d8))/0x5)+parseInt(_0x56418c(-0x289,-0x280))/0x6+parseInt(_0x56418c(-0x270,-0x272))/0x7*(parseInt(_0x56418c(-0x27a,-0x278))/0x8)+-parseInt(_0x56418c(-0x26f,-0x276))/0x9*(-parseInt(_0x56418c(-0x271,-0x26c))/0xa)+-parseInt(_0x56418c(-0x278,-0x275))/0xb;if(_0x5243c3===_0x47d5b5)break;else _0x105b9c['push'](_0x105b9c['shift']());}catch(_0x281283){_0x105b9c['push'](_0x105b9c['shift']());}}}(_0xdd16,0xe243e));export function jaccardSimilarity(_0x176af7,_0x3e4e86){function _0x1a027a(_0x8eccb9,_0xd4c10d){return _0x4f76(_0x8eccb9-0x269,_0xd4c10d);}function _0x10513f(_0x143294,_0x5197e5){return _0x4f76(_0x5197e5- -0x1b9,_0x143294);}const _0x44ccc9=new Set(tokenize(_0x176af7)),_0x43ebf1=new Set(tokenize(_0x3e4e86));if(_0x44ccc9[_0x10513f(-0x9d,-0x9a)]===0x0&&_0x43ebf1[_0x1a027a(0x388,0x392)]===0x0)return 0x1;if(_0x44ccc9[_0x1a027a(0x388,0x380)]===0x0||_0x43ebf1[_0x10513f(-0xa0,-0x9a)]===0x0)return 0x0;let _0x5625f1=0x0;for(const _0x5d59bc of _0x44ccc9){if('fCYfn'!==_0x1a027a(0x38c,0x392))_0x291f01['push'](_0xf2b6d5);else{if(_0x43ebf1['has'](_0x5d59bc))_0x5625f1++;}}const _0x23ddb8=_0x44ccc9[_0x1a027a(0x388,0x382)]+_0x43ebf1[_0x10513f(-0x9d,-0x9a)]-_0x5625f1;if(_0x23ddb8===0x0)return 0x1;return _0x5625f1/_0x23ddb8;}export function cosineSimilarity(_0x481948,_0x4c1b08){if(_0x481948[_0x156bca(0xfd,0xfe)]!==_0x4c1b08['length']||_0x481948[_0x552e80(-0x51,-0x5c)]===0x0)return 0x0;function _0x156bca(_0x52bb8b,_0x233d1f){return _0x4f76(_0x52bb8b- -0x23,_0x233d1f);}let _0x85bffa=0x0,_0x2c84b2=0x0,_0x331522=0x0;for(let _0x25ad69=0x0;_0x25ad69<_0x481948['length'];_0x25ad69++){_0x85bffa+=_0x481948[_0x25ad69]*_0x4c1b08[_0x25ad69],_0x2c84b2+=_0x481948[_0x25ad69]*_0x481948[_0x25ad69],_0x331522+=_0x4c1b08[_0x25ad69]*_0x4c1b08[_0x25ad69];}const _0x93f025=Math['sqrt'](_0x2c84b2)*Math[_0x156bca(0xf2,0xe7)](_0x331522);if(_0x93f025===0x0)return 0x0;function _0x552e80(_0x2cd384,_0x1b4283){return _0x4f76(_0x2cd384- -0x171,_0x1b4283);}return _0x85bffa/_0x93f025;}export function deduplicateByContent(_0x1eda7f,_0x49b4e6=0.7){function _0x3dad1d(_0x38f974,_0x42c878){return _0x4f76(_0x42c878- -0x168,_0x38f974);}function _0x1ce89d(_0x5b98ec,_0x5923ce){return _0x4f76(_0x5b98ec-0x89,_0x5923ce);}const _0x19bbef=[];for(const _0x3a1da8 of _0x1eda7f){const _0x2ddb03=_0x19bbef['some'](_0x5300ac=>_0x5300ac[_0x3dad1d(-0x51,-0x51)]===_0x3a1da8['category']&&jaccardSimilarity(_0x5300ac[_0x3dad1d(-0x59,-0x54)],_0x3a1da8['content'])>=_0x49b4e6);!_0x2ddb03&&_0x19bbef[_0x3dad1d(-0x4f,-0x4a)](_0x3a1da8);}return _0x19bbef;}function _0xdd16(){const _0x1a685c=['C29Tzq','nfn6wvn2sG','mtu4otu4n1DRyxDsAq','y29UDgvUDa','C3fYDa','nda3nda4sLHmswvu','y2f0zwDVCNK','mtqYote4ndDAA3jKq1K','ntu0mdiWnwjPAePbzG','qxbtr1u','otCWmZG1C2ThAvPN','otHMqurgAgu','zw1IzwrKAw5N','ChvZAa','C2L6zq','BgvUz3rO','mJreA3fJreW','mtbPwhHUque','zKnzzM4','mtm2mZq1oeDbz0LVrG','mJC4mtuYmMT5tLr6uW','Dg9mB3DLCKnHCW','C3bSAxq'];_0xdd16=function(){return _0x1a685c;};return _0xdd16();}export function deduplicateByEmbedding(_0x5006c8,_0x5a07ea=0.8){function _0x51928a(_0x35812c,_0x213e6b){return _0x4f76(_0x35812c-0xc1,_0x213e6b);}const _0x18d1b2=[];function _0x819368(_0x6bac76,_0x2060ce){return _0x4f76(_0x2060ce- -0x35a,_0x6bac76);}for(const _0x11a78e of _0x5006c8){if(!_0x11a78e[_0x819368(-0x245,-0x23d)]){_0x18d1b2[_0x819368(-0x244,-0x23c)](_0x11a78e);continue;}const _0x27fbb8=_0x18d1b2[_0x51928a(0x1d2,0x1db)](_0x20eb6a=>_0x20eb6a[_0x819368(-0x247,-0x23d)]&&cosineSimilarity(_0x20eb6a[_0x51928a(0x1de,0x1e1)],_0x11a78e[_0x51928a(0x1de,0x1d8)])>=_0x5a07ea);!_0x27fbb8&&('ApSGU'!==_0x51928a(0x1db,0x1d8)?(_0x115ad5+=_0x512fd4[_0x5e45c9]*_0x81b093[_0x14d25f],_0x4fda94+=_0x96699a[_0x179b13]*_0x810eda[_0x4b2ffb],_0x3b6cd1+=_0x120742[_0x67070a]*_0x5e149e[_0xd9a734]):_0x18d1b2[_0x819368(-0x240,-0x23c)](_0x11a78e));}return _0x18d1b2;}function tokenize(_0x3a4e58){function _0x57c624(_0x3f4166,_0x48798f){return _0x4f76(_0x48798f- -0x2bd,_0x3f4166);}function _0x3d988f(_0x42e397,_0x2115d7){return _0x4f76(_0x42e397-0x315,_0x2115d7);}return _0x3a4e58[_0x3d988f(0x424,0x419)+'e']()[_0x3d988f(0x425,0x41c)](/[\s\p{P}]+/u)['filter'](_0x4d03e6=>_0x4d03e6[_0x3d988f(0x435,0x436)]>0x1);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x301b(_0x2252ef,_0x1ab01c){_0x2252ef=_0x2252ef-0x1b5;const _0x5acf01=_0x5acf();let _0x301b45=_0x5acf01[_0x2252ef];if(_0x301b['yvlLUt']===undefined){var _0x134992=function(_0x47f723){const _0x4b047b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x529852='',_0x200b95='';for(let _0x451c3f=0x0,_0x3f7c33,_0x5ac969,_0x470c22=0x0;_0x5ac969=_0x47f723['charAt'](_0x470c22++);~_0x5ac969&&(_0x3f7c33=_0x451c3f%0x4?_0x3f7c33*0x40+_0x5ac969:_0x5ac969,_0x451c3f++%0x4)?_0x529852+=String['fromCharCode'](0xff&_0x3f7c33>>(-0x2*_0x451c3f&0x6)):0x0){_0x5ac969=_0x4b047b['indexOf'](_0x5ac969);}for(let _0x364be3=0x0,_0x2e819b=_0x529852['length'];_0x364be3<_0x2e819b;_0x364be3++){_0x200b95+='%'+('00'+_0x529852['charCodeAt'](_0x364be3)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x200b95);};_0x301b['teuKtS']=_0x134992,_0x301b['nOgDMK']={},_0x301b['yvlLUt']=!![];}const _0x16e04d=_0x5acf01[0x0],_0x5dc587=_0x2252ef+_0x16e04d,_0x3da3db=_0x301b['nOgDMK'][_0x5dc587];return!_0x3da3db?(_0x301b45=_0x301b['teuKtS'](_0x301b45),_0x301b['nOgDMK'][_0x5dc587]=_0x301b45):_0x301b45=_0x3da3db,_0x301b45;}(function(_0x2ce06a,_0x8ce31c){const _0x346492=_0x2ce06a();function _0x176753(_0x2fd7c5,_0x31a9cf){return _0x301b(_0x31a9cf- -0x5d,_0x2fd7c5);}function _0x1a4458(_0x1dbeee,_0x4f016d){return _0x301b(_0x1dbeee- -0x14e,_0x4f016d);}while(!![]){try{const _0xfea81a=parseInt(_0x176753(0x169,0x171))/0x1*(-parseInt(_0x1a4458(0x6d,0x5d))/0x2)+parseInt(_0x1a4458(0x7e,0x7e))/0x3+parseInt(_0x176753(0x173,0x16b))/0x4+-parseInt(_0x176753(0x159,0x15b))/0x5*(-parseInt(_0x1a4458(0x6e,0x6f))/0x6)+-parseInt(_0x1a4458(0x74,0x81))/0x7+-parseInt(_0x1a4458(0x83,0x74))/0x8+-parseInt(_0x1a4458(0x7d,0x7c))/0x9*(-parseInt(_0x176753(0x161,0x161))/0xa);if(_0xfea81a===_0x8ce31c)break;else _0x346492['push'](_0x346492['shift']());}catch(_0x29f671){_0x346492['push'](_0x346492['shift']());}}}(_0x5acf,0xcf9f5));import{A2AClient}from'../sync/client.js';export function createHookClient(_0x13ed3a,_0x41bd62){if(!_0x13ed3a[_0x49559a(0x1bf,0x1c2)]?.[_0x12238b(-0x192,-0x18e)]||!_0x13ed3a[_0x12238b(-0x16b,-0x16f)]?.[_0x12238b(-0x176,-0x186)])return null;const _0x59a6e0=new A2AClient({'baseUrl':_0x13ed3a[_0x49559a(0x1ca,0x1c2)][_0x12238b(-0x18c,-0x18e)],'apiKey':_0x13ed3a[_0x49559a(0x1b6,0x1c2)]['apiKey'],..._0x41bd62!==undefined?{'timeout':_0x41bd62}:{}}),_0x251bed=[];if(_0x13ed3a[_0x49559a(0x1ac,0x1b8)+'e']?.[_0x12238b(-0x165,-0x16e)])_0x251bed[_0x49559a(0x1b9,0x1c1)]('auto_captu'+'re');if(_0x13ed3a[_0x49559a(0x195,0x1a4)]?.[_0x49559a(0x1bf,0x1c3)])_0x251bed[_0x12238b(-0x178,-0x170)](_0x49559a(0x19f,0x1ad)+'t');if(_0x13ed3a['autoSync']?.[_0x12238b(-0x169,-0x16e)])_0x251bed[_0x49559a(0x1d1,0x1c1)](_0x49559a(0x1a5,0x1a8)+'c');function _0x49559a(_0x4bb44a,_0x16c9f2){return _0x301b(_0x16c9f2- -0x12,_0x4bb44a);}if(_0x13ed3a['embedding']?.['enabled'])_0x251bed[_0x12238b(-0x17f,-0x170)](_0x49559a(0x195,0x1a5));if(_0x13ed3a[_0x12238b(-0x18d,-0x17e)]?.[_0x12238b(-0x18a,-0x182)+'essionEnd'])_0x251bed[_0x49559a(0x1ce,0x1c1)](_0x12238b(-0x172,-0x17e));if(_0x13ed3a[_0x49559a(0x1b9,0x1b5)+'rsion']?.[_0x12238b(-0x167,-0x16e)])_0x251bed['push'](_0x12238b(-0x164,-0x16d)+_0x49559a(0x1bc,0x1bd));function _0x12238b(_0x4e1d11,_0x39e2f4){return _0x301b(_0x39e2f4- -0x343,_0x4e1d11);}if(_0x13ed3a[_0x12238b(-0x184,-0x183)+'y']?.['enabled'])_0x251bed[_0x49559a(0x1b7,0x1c1)](_0x49559a(0x1b3,0x1ae)+'y');if(_0x13ed3a[_0x49559a(0x1c8,0x1be)+_0x12238b(-0x199,-0x18a)]?.[_0x49559a(0x1be,0x1c3)])_0x251bed[_0x12238b(-0x165,-0x170)](_0x49559a(0x1ac,0x1bb)+'nject');if(_0x13ed3a[_0x49559a(0x1b1,0x1b4)+'cking']?.['enabled'])_0x251bed['push'](_0x12238b(-0x184,-0x17a)+_0x49559a(0x1a7,0x1b2));return _0x59a6e0[_0x49559a(0x1ac,0x1b1)+_0x12238b(-0x16d,-0x171)](_0x251bed),_0x59a6e0;}function _0x5acf(){const _0x506fb5=['ntq0mJmWouTHsuTVBq','mZGXmJeYn2n1s3zWzG','CMvHBhrPBwvFAq','mti3mtGXngL6EvLQzW','zxjZAw9U','CMvHBhrPBwvjBG','ote3nde4nePJwgv0rW','rMvHDhvYzxm','ChvZAa','C2vYDMvY','zw5HyMXLza','C2TPBgXFy29UDG','DxjS','yxv0B0LUAMvJDa','zw1IzwrKAw5N','nJi0mZv3DufzBLK','AMvJDa','C2vYDMvYx3n5BG','mM5IAgTSvq','mtq0vvzLv0Lb','yxbPs2v5','ndbfzhjXDwy','yxv0B19PBMPLyW','ChjVzMLJAwvUyW','y2XLyw51Ce9UuW','oti4odeXofjJtMPhzG','C2v0rw5HyMXLza','ywnRAw5N','BgLMzwn5y2XL','zw1VDgLVBLrYyq','C2TPBgXdB252zq','mJqYnJCYnezLBuTjra','zw1VDgLVBL90CG','yxv0B0nHChr1CG'];_0x5acf=function(){return _0x506fb5;};return _0x5acf();}
|