a2a-memory 0.12.57 → 0.12.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/adapters/anthropic.js +1 -1
- package/dist/chunking/chunker.js +1 -1
- package/dist/claude/sync.js +1 -1
- package/dist/cli/commands/add.js +1 -1
- package/dist/cli/commands/claude-sync.js +1 -1
- package/dist/cli/commands/cleanup.js +1 -1
- package/dist/cli/commands/config.js +1 -1
- package/dist/cli/commands/contextrank.js +1 -1
- package/dist/cli/commands/edit.js +1 -1
- package/dist/cli/commands/embed.js +1 -1
- package/dist/cli/commands/export.js +1 -1
- package/dist/cli/commands/extract.js +1 -1
- package/dist/cli/commands/health.js +1 -1
- package/dist/cli/commands/list.js +1 -1
- package/dist/cli/commands/migrate-chunks.js +1 -1
- package/dist/cli/commands/migrate-file-refs.js +1 -1
- package/dist/cli/commands/proficiency.js +1 -1
- package/dist/cli/commands/review.js +1 -1
- package/dist/cli/commands/rm.js +1 -1
- package/dist/cli/commands/search.js +1 -1
- package/dist/cli/commands/session-extract.js +1 -1
- package/dist/cli/commands/setup-wizard.js +1 -1
- package/dist/cli/commands/setup.js +1 -1
- package/dist/cli/commands/skill.js +1 -1
- package/dist/cli/commands/status.js +1 -1
- package/dist/cli/commands/sync.js +1 -1
- package/dist/cli/commands/team.js +1 -1
- package/dist/cli/commands/usage.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/config/manager.d.ts +5 -0
- package/dist/config/manager.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.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.js +1 -1
- package/dist/hooks/shared.js +1 -1
- package/dist/hooks/stop.js +1 -1
- package/dist/hooks/user-prompt-submit.js +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/i18n/messages.js +1 -1
- package/dist/index.js +1 -1
- package/dist/lifecycle/cleanup-scheduler.js +1 -1
- package/dist/lifecycle/cleanup.js +1 -1
- package/dist/lifecycle/consolidation.js +1 -1
- package/dist/lifecycle/contradiction.js +1 -1
- package/dist/lifecycle/embedding-backfill.js +1 -1
- package/dist/lifecycle/index.js +1 -1
- package/dist/lifecycle/injection-flush.js +1 -1
- package/dist/lifecycle/quality-scorer.js +1 -1
- package/dist/lifecycle/session-extract.js +1 -1
- package/dist/lifecycle/shadow-rebuild.js +1 -1
- package/dist/lifecycle/tiering.js +1 -1
- package/dist/llm/client.js +1 -1
- package/dist/llm/index.js +1 -1
- package/dist/proficiency/actr-engine.js +1 -1
- package/dist/proficiency/detection.js +1 -1
- package/dist/proficiency/index.js +1 -1
- package/dist/proficiency/tracker.js +1 -1
- package/dist/search/adaptive-router.js +1 -1
- package/dist/search/index.js +1 -1
- package/dist/search/injection-filter.js +1 -1
- package/dist/search/memoryrank-rerank.js +1 -1
- package/dist/search/ranker.js +1 -1
- package/dist/search/reranker.js +1 -1
- package/dist/session/parser.js +1 -1
- package/dist/skill/evaluator.js +1 -1
- package/dist/skill/index.js +1 -1
- package/dist/sync/client.js +1 -1
- package/dist/sync/encryption.js +1 -1
- package/dist/sync/index.js +1 -1
- package/dist/sync/queue.js +1 -1
- package/dist/sync/scheduler.js +1 -1
- package/dist/sync/synchronizer.js +1 -1
- package/dist/sync/team-synchronizer.js +1 -1
- package/dist/sync/vector-clock.js +1 -1
- package/dist/types/index.js +1 -1
- package/dist/utils/keychain.d.ts +12 -0
- 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(_0x4d5e7f,_0x56a93a){const _0x1ff273=_0x4d5e7f();function _0x5bdb35(_0x5bb048,_0x462767){return _0x4170(_0x462767-0x13,_0x5bb048);}function _0x147e6d(_0x2282d4,_0x393235){return _0x4170(_0x393235- -0x1a0,_0x2282d4);}while(!![]){try{const _0x2fa4ee=-parseInt(_0x5bdb35(0xe7,0x11f))/0x1*(parseInt(_0x5bdb35(0x218,0x1f6))/0x2)+parseInt(_0x147e6d(0x0,-0x42))/0x3+-parseInt(_0x5bdb35(0x19c,0x159))/0x4*(parseInt(_0x147e6d(-0x7,-0x39))/0x5)+parseInt(_0x5bdb35(0x19c,0x1fe))/0x6*(-parseInt(_0x5bdb35(0x139,0x125))/0x7)+-parseInt(_0x5bdb35(0x1f1,0x1c8))/0x8+-parseInt(_0x5bdb35(0x244,0x1f5))/0x9+parseInt(_0x5bdb35(0x1ab,0x18f))/0xa*(parseInt(_0x5bdb35(0x1b3,0x189))/0xb);if(_0x2fa4ee===_0x56a93a)break;else _0x1ff273['push'](_0x1ff273['shift']());}catch(_0x3e54b0){_0x1ff273['push'](_0x1ff273['shift']());}}}(_0x2369,0x494d9));import{filterSensitiveInfo}from'./filter.js';import{deduplicateByContent}from'./similarity.js';function _0x1bc5c5(_0x2ed58b,_0x1d5045){return _0x4170(_0x1d5045- -0x1d1,_0x2ed58b);}const STRONG_DECISION_KEYWORDS=['chose',_0x10bb6a(0x77,0xae),_0x10bb6a(0x12f,0xed),_0x10bb6a(0x2d,0x75),'rather\x20tha'+'n',_0x1bc5c5(-0x43,-0x7e),'결정했','대신'],WEAK_DECISION_KEYWORDS=[_0x10bb6a(-0x20,0x47),'strategy',_0x10bb6a(0x120,0xea),'방식','접근','전략','선택','결정'],CONVENTION_KEYWORDS=['선호','항상','무조건','습관','규칙',_0x1bc5c5(-0x5c,-0xa0),'always',_0x10bb6a(0xde,0xba),_0x10bb6a(0x76,0xb5),_0x1bc5c5(0x25,-0x8),_0x1bc5c5(-0x90,-0x83),_0x10bb6a(0x144,0xf9)],ERROR_INDICATORS=[_0x1bc5c5(-0x36,-0x70),_0x10bb6a(0x24,0x71),_0x10bb6a(0x4d,0x8f),_0x1bc5c5(-0xca,-0xc4),_0x1bc5c5(-0x34,0x16),_0x10bb6a(0xb1,0xc4),_0x10bb6a(0x10a,0xcf),'FAILED',_0x1bc5c5(-0xa8,-0x64),'Traceback',_0x10bb6a(0x87,0x49)+'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\//],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(_0x42b685){function _0x233e9c(_0x25e9ab,_0x418962){return _0x1bc5c5(_0x25e9ab,_0x418962-0x140);}function _0x329afc(_0x4ef162,_0x262c12){return _0x1bc5c5(_0x262c12,_0x4ef162-0x218);}return NOISE_PATTERNS[_0x233e9c(0x195,0x14a)](_0x4f11f5=>_0x4f11f5[_0x233e9c(0xba,0xc3)](_0x42b685));}const CATEGORY_TYPE_MAP={'error_solution':_0x1bc5c5(-0xd4,-0x88),'code_pattern':_0x1bc5c5(-0x78,-0x85),'decision':_0x10bb6a(0xfc,0x113),'context':_0x10bb6a(0xfc,0x113),'project_knowledge':_0x10bb6a(0xc7,0x79),'convention':'procedure','learning':_0x10bb6a(0x5d,0x76),'skill':_0x1bc5c5(-0x70,-0x33),'rule':'procedure'};function inferMemoryType(_0x481be5){return CATEGORY_TYPE_MAP[_0x481be5]??'fact';}export function extractMemories(_0xf72058,_0x367dd2){const _0x124e5c=Date['now'](),_0x1be408=[];let _0x11038d=0x0;const _0x24b390=_0xf72058[_0x4d193c(0x562,0x5a2)](_0x51e6d0=>{const _0x5c516b=getFullText(_0x51e6d0);return!isNoiseMessage(_0x5c516b);}),_0x361f61=extractErrorSolutions(_0x24b390,_0x367dd2);_0x1be408[_0x4d193c(0x4af,0x49e)](..._0x361f61);const _0x1172e7=extractCodePatterns(_0x24b390,_0x367dd2);_0x1be408['push'](..._0x1172e7);const _0x47322f=extractDecisions(_0x24b390,_0x367dd2);_0x1be408[_0x4d193c(0x4af,0x451)](..._0x47322f);const _0x5f29fa=extractContexts(_0x24b390,_0x367dd2);_0x1be408[_0x575247(0x297,0x252)](..._0x5f29fa);const _0x206c8b=extractConventions(_0x24b390,_0x367dd2);_0x1be408[_0x4d193c(0x4af,0x46b)](..._0x206c8b);const _0xdb796f=extractLearnings(_0x24b390,_0x367dd2);function _0x4d193c(_0x27423f,_0xab4da0){return _0x1bc5c5(_0xab4da0,_0x27423f-0x54b);}_0x1be408[_0x575247(0x297,0x299)](..._0xdb796f);for(let _0x3d367e=0x0;_0x3d367e<_0x1be408[_0x575247(0x2b7,0x28c)];_0x3d367e++){const _0x4708bc=filterSensitiveInfo(_0x1be408[_0x3d367e][_0x4d193c(0x4fc,0x503)]);_0x4708bc['matchCount']>0x0&&(_0x1be408[_0x3d367e]={..._0x1be408[_0x3d367e],'content':_0x4708bc[_0x575247(0x2a2,0x27e)]},_0x11038d+=_0x4708bc[_0x575247(0x28a,0x22f)]);}function _0x575247(_0x466213,_0x452e61){return _0x1bc5c5(_0x452e61,_0x466213-0x333);}const _0x4c8b4e=_0x1be408[_0x575247(0x34a,0x360)](_0x44b608=>_0x44b608['content'][_0x4d193c(0x4cf,0x501)]>=0x32),_0x5b82d3=_0x4c8b4e['filter'](_0x4168fd=>{function _0x18ee1c(_0x4f9007,_0x3c5c83){return _0x575247(_0x4f9007- -0x24b,_0x3c5c83);}const _0xcd9930=_0x4168fd[_0x18ee1c(0x99,0xa1)][_0x2899a3(0x3c2,0x3ba)]('\x0a')[0x0][_0x18ee1c(0x104,0x12b)]();function _0x2899a3(_0x1b1897,_0x39b25a){return _0x575247(_0x1b1897-0xd5,_0x39b25a);}return!NOISE_TITLE_PATTERNS[_0x2899a3(0x412,0x408)](_0x1e57bc=>_0x1e57bc[_0x2899a3(0x38b,0x31e)](_0xcd9930));}),_0x5a94b0=deduplicateMemories(_0x5b82d3),_0x552f02=_0x5a94b0[_0x4d193c(0x49d,0x463)](_0x16f06e=>({..._0x16f06e,'memoryType':_0x16f06e[_0x4d193c(0x53e,0x555)]??inferMemoryType(_0x16f06e['category'])})),_0x36cbe5={'sessionId':_0x24b390[0x0]?.[_0x4d193c(0x4a0,0x4a2)]?.[_0x575247(0x2ed,0x2a6)]('-')[0x0]??'unknown','projectPath':_0x367dd2,'filePath':'','messageCount':_0x24b390[_0x4d193c(0x4cf,0x487)],'startTime':_0x24b390[0x0]?.[_0x4d193c(0x4e2,0x48b)],'endTime':_0x24b390[_0x24b390[_0x4d193c(0x4cf,0x46b)]-0x1]?.[_0x575247(0x2ca,0x26b)],'sizeBytes':0x0,'modifiedAt':Date[_0x4d193c(0x48a,0x48d)]()};return{'memories':_0x552f02,'sessionInfo':_0x36cbe5,'stats':{'totalMessages':_0xf72058['length'],'extractedPatterns':_0x552f02[_0x4d193c(0x4cf,0x52f)],'filteredSensitive':_0x11038d,'processingTimeMs':Date['now']()-_0x124e5c}};}function extractErrorSolutions(_0x46831a,_0x361bc8){function _0x3db1ed(_0x115619,_0xe15080){return _0x1bc5c5(_0xe15080,_0x115619-0x3dc);}const _0x246c96=[];function _0x1c1e29(_0x4b6b85,_0x172b83){return _0x1bc5c5(_0x172b83,_0x4b6b85-0x12d);}for(let _0x2bb2b2=0x0;_0x2bb2b2<_0x46831a[_0x1c1e29(0xb1,0x89)];_0x2bb2b2++){const _0x549826=_0x46831a[_0x2bb2b2],_0x1863a1=getFullText(_0x549826),_0x5e114f=ERROR_INDICATORS['some'](_0x1b1baa=>_0x1863a1[_0x3db1ed(0x377,0x39e)](_0x1b1baa));if(!_0x5e114f)continue;const _0x4117b7=_0x1863a1[_0x3db1ed(0x396,0x34c)]('\x0a'),_0x25298c=_0x4117b7[_0x3db1ed(0x3f3,0x3b6)](_0x5ee151=>{function _0x247f92(_0x2dc6fe,_0x730fdf){return _0x3db1ed(_0x730fdf- -0x356,_0x2dc6fe);}function _0x5166d9(_0x2e85f4,_0x5b29d9){return _0x3db1ed(_0x5b29d9- -0x4db,_0x2e85f4);}const _0x23507d=_0x5ee151['trim']();return _0x5ee151['startsWith']('\x20\x20')||_0x5ee151[_0x5166d9(-0x173,-0x15b)]('\x09')||_0x23507d[_0x5166d9(-0x112,-0x15b)](_0x247f92(-0x36,0x15))||_0x23507d['startsWith'](_0x5166d9(-0x126,-0xfc))||_0x23507d[_0x247f92(-0x18,0x2a)]('class\x20')||_0x23507d[_0x247f92(0x4d,0x2a)]('const\x20')||_0x23507d['startsWith']('let\x20')||_0x23507d[_0x247f92(0x29,0x2a)](_0x247f92(0xbf,0x5f))||_0x23507d[_0x247f92(0x8d,0x2a)](_0x247f92(-0x5b,-0x2b))||_0x23507d[_0x5166d9(-0x17d,-0x15b)](_0x247f92(0xc2,0x78))||_0x23507d['startsWith'](_0x5166d9(-0x1d9,-0x191))||_0x23507d[_0x5166d9(-0x1a9,-0x15b)](_0x247f92(0x13,0x30));})[_0x3db1ed(0x360,0x3a0)];if(_0x4117b7['length']>0x0&&_0x25298c/_0x4117b7[_0x1c1e29(0xb1,0x66)]>0.5)continue;const _0xb9aad8=_0x1863a1[_0x3db1ed(0x396,0x337)]('\x0a')[_0x1c1e29(0xca,0xc7)](_0x567764=>ERROR_INDICATORS[_0x1c1e29(0x137,0xf2)](_0x35bd9d=>_0x567764[_0x1c1e29(0xc8,0x60)](_0x35bd9d)));if(!_0xb9aad8||_0xb9aad8[_0x1c1e29(0x149,0x185)]()[_0x1c1e29(0xb1,0x10b)]<0x14)continue;for(let _0x26815f=_0x2bb2b2+0x1;_0x26815f<Math['min'](_0x2bb2b2+0x5,_0x46831a[_0x3db1ed(0x360,0x36f)]);_0x26815f++){const _0x22ea01=_0x46831a[_0x26815f];if(_0x22ea01[_0x3db1ed(0x32a,0x2f5)]!==_0x1c1e29(0x8b,0x61))continue;const _0x3ae3e2=getFullText(_0x22ea01),_0x2c4608=Array[_0x3db1ed(0x330,0x320)](_0x22ea01['message'][_0x1c1e29(0xde,0x11a)])&&_0x22ea01['message'][_0x1c1e29(0xde,0x84)]['some'](_0x5653f9=>_0x5653f9[_0x3db1ed(0x32a,0x344)]==='tool_use');if(_0x2c4608||_0x3ae3e2[_0x1c1e29(0xb1,0xd4)]>0x32){const _0x509ac9=_0x1863a1[_0x1c1e29(0xa9,0xbd)](0x0,0x12c),_0x244a4d=_0x3ae3e2[_0x1c1e29(0xa9,0x42)](0x0,0x1f4);if(!_0x2c4608&&!verifySolutionRelevance(_0x509ac9,_0x244a4d))continue;_0x246c96[_0x3db1ed(0x340,0x3a9)]({'content':_0x1c1e29(0x148,0x17c)+_0x509ac9+(_0x1c1e29(0xd5,0x100)+_0x3db1ed(0x3b0,0x40c))+_0x244a4d,'category':'error_solu'+_0x3db1ed(0x328,0x2b7),'tier':'episodic','tags':extractTags(_0x1863a1,_0x3db1ed(0x36c,0x37b)),'projectPath':_0x361bc8});break;}}}return _0x246c96;}function verifySolutionRelevance(_0x10c039,_0x5d5fd2){const _0x5747e8=new Set(_0x10c039[_0x30d820(0x83,0xb8)+'e']()['split'](/\W+/)['filter'](_0xbc5aa5=>_0xbc5aa5[_0x15619c(-0x74,-0x14)]>0x3)),_0x245a22=new Set(_0x5d5fd2['toLowerCas'+'e']()[_0x15619c(-0x3e,0x27)](/\W+/)[_0x15619c(0x1f,0x5e)](_0x3ac077=>_0x3ac077[_0x15619c(-0x74,-0x94)]>0x3)),_0x2d4c1a=[..._0x5747e8]['filter'](_0x1f0043=>_0x245a22[_0x15619c(-0x57,0x18)](_0x1f0043));if(_0x2d4c1a['length']<0x2)return![];function _0x30d820(_0x21ecfa,_0x259fda){return _0x10bb6a(_0x259fda,_0x21ecfa- -0x5b);}if(isPureErrorMessage(_0x5d5fd2))return![];function _0x15619c(_0x4c32fe,_0x4f29c2){return _0x10bb6a(_0x4f29c2,_0x4c32fe- -0xf6);}return!![];}function isPureErrorMessage(_0x359ef1){const _0x97361=_0x359ef1[_0x5b08ae(0x207,0x217)]('\x0a')[_0x5b08ae(0x264,0x27a)](_0x35579e=>_0x35579e[_0x2a3ed2(0x3f7,0x3bd)]());if(_0x97361['length']===0x0)return!![];const _0x838cc8=_0x97361[_0x5b08ae(0x264,0x2b8)](_0x23c504=>/^\s*(at |File |Traceback| File "| raise |>>> )/[_0x5b08ae(0x1d0,0x23c)](_0x23c504));function _0x2a3ed2(_0x11dd31,_0x30dfd4){return _0x1bc5c5(_0x30dfd4,_0x11dd31-0x3db);}if(_0x838cc8['length']/_0x97361[_0x5b08ae(0x1d1,0x1ce)]>0.7)return!![];const _0x13b544=[_0x2a3ed2(0x39a,0x3a2),_0x5b08ae(0x223,0x254),_0x5b08ae(0x215,0x1e7),_0x5b08ae(0x256,0x238),'use','change',_0x2a3ed2(0x3c2,0x42a),_0x5b08ae(0x1bd,0x211),_0x2a3ed2(0x390,0x3c3),_0x5b08ae(0x220,0x1d2),_0x2a3ed2(0x335,0x2d5),_0x5b08ae(0x24f,0x24e),'ensure','해결','수정','변경','설치','시도','사용'];function _0x5b08ae(_0x162c7a,_0x1e7cbb){return _0x1bc5c5(_0x1e7cbb,_0x162c7a-0x24d);}const _0x4e8896=_0x359ef1[_0x5b08ae(0x22d,0x224)+'e']();return!_0x13b544[_0x2a3ed2(0x3e5,0x3da)](_0x585604=>_0x4e8896[_0x2a3ed2(0x376,0x397)](_0x585604));}function extractCodePatterns(_0x4e6d80,_0x6dcc53){const _0x437767=new Map(),_0x490fab=['Read',_0x1d8e3c(0x493,0x4d8),_0x1d8e3c(0x47e,0x4e7),_0xc9ac23(0x2c2,0x2e8),_0x1d8e3c(0x406,0x43d)];function _0x1d8e3c(_0x508282,_0x533acc){return _0x10bb6a(_0x508282,_0x533acc-0x3f2);}const _0xddace=new Map(),_0x21b3ca=new Map();for(const _0x140086 of _0x4e6d80){if(!Array['isArray'](_0x140086['message'][_0x1d8e3c(0x4f1,0x4a1)]))continue;for(const _0x2911c4 of _0x140086[_0x1d8e3c(0x447,0x469)]['content']){if(_0x2911c4[_0x1d8e3c(0x47d,0x43e)]!==_0xc9ac23(0x398,0x394)||!_0x2911c4[_0xc9ac23(0x2cd,0x311)])continue;if((_0x2911c4[_0x1d8e3c(0x4d0,0x48a)]===_0xc9ac23(0x275,0x2d0)||_0x2911c4[_0x1d8e3c(0x454,0x48a)]==='Edit')&&_0x2911c4[_0xc9ac23(0x3a6,0x36b)]){const _0x244585=_0x2911c4[_0xc9ac23(0x3b5,0x36b)][_0xc9ac23(0x264,0x2b9)];if(_0x244585){const _0x459744=_0x244585['lastIndexO'+'f']('.'),_0x1f267c=_0x459744>=0x0?_0x244585[_0x1d8e3c(0x475,0x46c)](_0x459744):'',_0x25207a=_0x244585['split']('/'),_0x18f6ab=_0x25207a[_0xc9ac23(0x28e,0x2f3)](-0x3,-0x1)['join']('/');if(_0x1f267c)_0xddace[_0xc9ac23(0x2bb,0x2cd)](_0x1f267c,(_0xddace[_0x1d8e3c(0x4d8,0x4ef)](_0x1f267c)||0x0)+0x1);if(_0x18f6ab)_0x21b3ca[_0x1d8e3c(0x46f,0x446)](_0x18f6ab,(_0x21b3ca[_0x1d8e3c(0x547,0x4ef)](_0x18f6ab)||0x0)+0x1);}}if(_0x490fab[_0xc9ac23(0x2a1,0x312)](_0x2911c4[_0xc9ac23(0x315,0x311)]))continue;const _0x2f31a5=_0x437767[_0x1d8e3c(0x500,0x4ef)](_0x2911c4[_0xc9ac23(0x2ee,0x311)])??{'count':0x0,'samples':[]};_0x2f31a5[_0x1d8e3c(0x55b,0x508)]++;if(_0x2f31a5[_0xc9ac23(0x3f1,0x384)][_0xc9ac23(0x32f,0x2fb)]<0x3&&_0x2911c4['input']){const _0x4a8bcd=JSON[_0x1d8e3c(0x4af,0x4c5)](_0x2911c4[_0x1d8e3c(0x53d,0x4e4)]);if(_0x4a8bcd[_0x1d8e3c(0x4bb,0x474)]<=0xc8)'yEArB'===_0x1d8e3c(0x4ca,0x45b)?_0x2f31a5[_0xc9ac23(0x3c4,0x384)][_0xc9ac23(0x2e5,0x2db)](_0x4a8bcd):_0x3ea21e[_0xc9ac23(0x2ad,0x312)](_0x56f5e3)&&_0x5c809e[_0x1d8e3c(0x402,0x454)](_0x1cc841);else{const _0x4d4fbf=[_0xc9ac23(0x297,0x307),_0xc9ac23(0x319,0x336),_0x1d8e3c(0x506,0x4d9),_0xc9ac23(0x35a,0x372),'config',_0xc9ac23(0x319,0x2e0),_0xc9ac23(0x388,0x362),_0x1d8e3c(0x446,0x44f),_0x1d8e3c(0x42b,0x443)],_0x7964b9=_0x4a8bcd['toLowerCas'+'e']();let _0x4b02ca=0x0;for(const _0x4c1c1f of _0x4d4fbf){const _0x14532=_0x7964b9[_0x1d8e3c(0x4dc,0x49f)](_0x4c1c1f);if(_0x14532>=0x0){_0x4b02ca=Math[_0x1d8e3c(0x502,0x4b0)](0x0,_0x14532-0x32);break;}}_0x2f31a5[_0xc9ac23(0x3a6,0x384)]['push'](_0x4a8bcd['slice'](_0x4b02ca,_0x4b02ca+0xc8));}}_0x437767['set'](_0x2911c4['name'],_0x2f31a5);}}function _0xc9ac23(_0x222d17,_0x3e184e){return _0x10bb6a(_0x222d17,_0x3e184e-0x279);}const _0x1b1d57=[];for(const [_0x3e1497,_0x837e5d]of _0x437767){if(_0x837e5d[_0x1d8e3c(0x578,0x508)]<0x5)continue;_0x1b1d57[_0x1d8e3c(0x485,0x454)]({'content':_0xc9ac23(0x32a,0x305)+_0x3e1497+_0x1d8e3c(0x463,0x4b1)+_0x837e5d[_0x1d8e3c(0x4ec,0x508)]+(_0x1d8e3c(0x482,0x4b5)+_0x1d8e3c(0x556,0x4ea))+_0x837e5d[_0x1d8e3c(0x48f,0x4fd)]['join']('\x0a'),'category':_0xc9ac23(0x280,0x2dc)+'rn','tier':_0x1d8e3c(0x42c,0x44b),'tags':[_0x3e1497,_0x1d8e3c(0x4ca,0x4eb),_0x1d8e3c(0x473,0x46e)],'projectPath':_0x6dcc53});}if(_0xddace['size']>0x0){const _0x368b35=[..._0xddace['entries']()][_0xc9ac23(0x3ee,0x38e)](([,_0x42b2e0])=>_0x42b2e0>=0x3)[_0x1d8e3c(0x485,0x466)]((_0xf3333,_0x14897a)=>_0x14897a[0x1]-_0xf3333[0x1])[_0xc9ac23(0x287,0x2f3)](0x0,0x5);if(_0x368b35[_0x1d8e3c(0x47d,0x474)]>0x0){if('jTaEV'==='jTaEV'){const _0x34b852=[..._0x21b3ca[_0xc9ac23(0x2e2,0x2f8)]()][_0xc9ac23(0x2e4,0x2ed)]((_0x544a2d,_0x59a504)=>_0x59a504[0x1]-_0x544a2d[0x1])[_0x1d8e3c(0x498,0x46c)](0x0,0x3);_0x1b1d57[_0x1d8e3c(0x489,0x454)]({'content':_0xc9ac23(0x308,0x359)+'ication\x20pa'+_0x1d8e3c(0x4ab,0x451)+_0x368b35['map'](([_0x3a09ad,_0x35150c])=>_0x3a09ad+'('+_0x35150c+')')[_0xc9ac23(0x309,0x316)](',\x20')+'.\x20'+(_0xc9ac23(0x2ac,0x2e9)+_0x1d8e3c(0x472,0x4cd)+_0x34b852[_0xc9ac23(0x32a,0x2c9)](([_0x252ec9,_0x1f9a0a])=>_0x252ec9+'('+_0x1f9a0a+')')[_0xc9ac23(0x32b,0x316)](',\x20')),'category':_0xc9ac23(0x2f7,0x2dc)+'rn','tier':'semantic','tags':['code-patte'+'rn','file-modif'+'ication',..._0x368b35[_0xc9ac23(0x302,0x2c9)](([_0x18eb02])=>_0x18eb02[_0x1d8e3c(0x402,0x44c)]('.',''))],'projectPath':_0x6dcc53});}else{const _0x4d9c5f=[..._0x5f5695['entries']()][_0x1d8e3c(0x52e,0x507)](([,_0x1e9bc9])=>_0x1e9bc9>=0x3)[_0x1d8e3c(0x458,0x466)]((_0x54cee5,_0x5e95ac)=>_0x5e95ac[0x1]-_0x54cee5[0x1])['slice'](0x0,0x5);if(_0x4d9c5f[_0xc9ac23(0x2ce,0x2fb)]>0x0){const _0x2fd21a=[..._0x5f4551['entries']()][_0xc9ac23(0x2dd,0x2ed)]((_0x197ba3,_0x115c39)=>_0x115c39[0x1]-_0x197ba3[0x1])['slice'](0x0,0x3);_0x438498['push']({'content':'Code\x20modif'+_0x1d8e3c(0x461,0x458)+'ttern:\x20'+_0x4d9c5f[_0xc9ac23(0x304,0x2c9)](([_0xc08b98,_0x1ad1de])=>_0xc08b98+'('+_0x1ad1de+')')['join'](',\x20')+'.\x20'+('Directorie'+_0xc9ac23(0x37f,0x354)+_0x2fd21a['map'](([_0x131b48,_0x3ea197])=>_0x131b48+'('+_0x3ea197+')')['join'](',\x20')),'category':'code_patte'+'rn','tier':'semantic','tags':[_0xc9ac23(0x275,0x2e3)+'rn',_0xc9ac23(0x308,0x2e1)+_0x1d8e3c(0x48a,0x4c8),..._0x4d9c5f[_0xc9ac23(0x280,0x2c9)](([_0x53dbe5])=>_0x53dbe5['replace']('.',''))],'projectPath':_0x1bb8af});}}}}return _0x1b1d57;}function extractDecisions(_0x457281,_0x2ee60f){const _0x471bdb=[];function _0x20e9ec(_0x45ac24,_0x299f85){return _0x10bb6a(_0x299f85,_0x45ac24- -0x28c);}for(const _0x32cb5e of _0x457281){const _0x4fc3d1=getFullText(_0x32cb5e);if(_0x4fc3d1[_0x31f166(0x29b,0x24c)]<0x32)continue;if(_0x4fc3d1['startsWith'](_0x20e9ec(-0x23d,-0x27c))||_0x4fc3d1[_0x31f166(0x2b2,0x2f6)]('CHANGELOG')||/v\d+\.\d+\.\d+/[_0x31f166(0x29a,0x296)](_0x4fc3d1))continue;const _0x4da295=_0x4fc3d1['replace'](/```[\s\S]*?```/g,'')[_0x20e9ec(-0x172,-0x121)]();if(!_0x4da295)continue;const _0x424244=_0x4da295[_0x20e9ec(-0x1ae,-0x20b)+'e'](),_0x20cc40=STRONG_DECISION_KEYWORDS[_0x31f166(0x32e,0x377)](_0x289b51=>_0x424244[_0x31f166(0x2b2,0x269)](_0x289b51[_0x31f166(0x2f7,0x35a)+'e']()))[_0x20e9ec(-0x20a,-0x1e6)],_0x5b3a86=WEAK_DECISION_KEYWORDS[_0x20e9ec(-0x177,-0x1af)](_0x5aa581=>_0x424244[_0x20e9ec(-0x1f3,-0x18b)](_0x5aa581[_0x31f166(0x2f7,0x33f)+'e']()))[_0x31f166(0x29b,0x23a)];if(_0x20cc40<0x1&&_0x5b3a86<0x2)continue;_0x471bdb[_0x20e9ec(-0x22a,-0x27b)]({'content':_0x4da295[_0x20e9ec(-0x212,-0x1fa)](0x0,0x320),'category':_0x31f166(0x303,0x357),'tier':_0x20e9ec(-0x233,-0x207),'tags':extractTags(_0x4da295,'decision'),'projectPath':_0x2ee60f});}function _0x31f166(_0x42a570,_0x3daa84){return _0x10bb6a(_0x3daa84,_0x42a570-0x219);}return _0x471bdb;}const CONTEXT_KEYWORDS=[_0x10bb6a(0xbf,0x117),_0x10bb6a(0xa5,0x6e),_0x1bc5c5(-0x8e,-0xb9),_0x10bb6a(0x112,0xeb)+'t',_0x1bc5c5(-0x89,-0x76)+_0x1bc5c5(-0xe1,-0xb4),'설정','설치','환경설정','초기화'],LEARNING_KEYWORDS=[_0x1bc5c5(-0xb,-0x21),_0x10bb6a(0x75,0x6b),_0x1bc5c5(-0x20,0xe),_0x1bc5c5(0x22,-0x26),_0x10bb6a(0x64,0x89)+'t',_0x1bc5c5(0x12,-0x1a),_0x10bb6a(0xa1,0xdc),'배웠','깨달','발견',_0x1bc5c5(0x40,-0x30),_0x10bb6a(0xff,0x97)];function _0x2369(){const _0x1d363c=['w0vYCM9Yxsa','DhjPBq','Dg9VBf91C2u','mJi5nJngCwzxy2i','zxHJzxb0Aw9U','z3jHCgHXBa','zg9JA2vY','BM93','C3rYAw5N','mtr4vKvJEu8','zMLSzv9WyxrO','AMvZDa','C3LZDgvT','CMvMywn0B3i','z2nW','y29UzMLNDxjL','zMfZDgfWAq','yxbWCM9Hy2G','BwLUzgvYpG','C3rHy2SGDhjHyW','DgLVBG','v2vIu2vHCMnO','DhLWzq','zgvMia','Dg9VBf9Yzxn1Ba','zgLMzIaTlwDPDa','BwfW','y2XHC3m','AxnbCNjHEq','DxvPza','C2v0','Bwf0y2HdB3vUDa','DgfNCYi6ifSIlG','v3jPDgu','BMvLzcb0BW','C2vTyw50Awm','CMvWBgfJzq','BwLNCMf0zq','yxnZAxn0yw50','zNvUy3rPB24','ChjLzMvY','DhrLCM46ia','AMvJDf9RBM93Ba','AMf2yxnJCMLWDa','ChvZAa','y29Kzv9Wyxr0zq','Cg9ZDgDYzxnXBa','BgfZDeLUzgv4tW','AwnHDgLVBIbWyq','Aw1WB3j0','zMLSzs1TB2rPzG','EuvbCKi','y29Kzs1Wyxr0zq','veLm','zM9Yia','zMLSDgvYzwq','Aw5ZDgfSBa','v2vIrMv0y2G','rgLYzwn0B3jPzq','rxjYB3i','Cg9W','neX2tKTlva','C29YDa','Aw5ZDgvHzcbVzG','zxHWzxjPzw5Jzq','BwvZC2fNzq','C3DPzNq','zMfJDa','C2XPy2u','C3r5Bgu','Dg9VBc11C2fNzq','yxDZ','zgvIDwC','zw50CMLLCW','7isG7yoD7zAi','DgvZDa','BgvUz3rO','Cgf0DgvYBI9Kzq','zxHWCMvZCW','C3fSAxrL','BNrLBNqSihrHzW','DgvK','Aw5PDgLHBgL6yq','zMLNDxjLzcbVDq','DNvL','odq0mtDjrvHjuwu','vg9VBcaI','Aw1WB3j0ia','zxjYB3i','rvjst1i','zwrNzs9JB252zq','BNrPB24PlcbJBW','CgfYC2u','y29UDgv4Da','mJu3mtKYnvf2ALHXDq','DgLTzxn0yw1W','xtOG','7j207zw07zAi','BMfTzq','Aw5JBhvKzxm','DhjHy2vIywnR','zMLUza','7l2u65oCioU4LoUHNsdSL4BSNBqPoG','AM9PBG','DhH0','AgfZ','D2vICgfJAW','y3nZ','C3rHCNrZv2L0Aa','ndi5zw1tExPO','ioUWMo2zMcaO66Ei7ygS64UK7jQ0ia','B3DSzwrNzq','cGPBu29SDxrPBW','Dgv4Da','CMv0DxjUia','ndy1otmWsvfXCMnL','uKLNrxq','CM9Szq','BgvHCM5PBMC','Aw5KzxHpzG','zgvJAwrLza','y29UDgvUDa','CMvKAxm','CMv2Awv3','BwvTB3jPzxm','Aw5ZDgvHza','7iUSioYNGoYlNEYDHcaZFJxQSjW','y29UDMvUDgLVBG','qK1ICNa','Eg1S','C3bSAxq','66gCioUWMo2zMc4kcUUmGo2zLdO','BMv2zxi','zxnSAw50','swLAv1a','zML4','Bwf4','iIb1C2vKia','rg1irMG','C+ULVcbku09oioUWSoYxTa','ANn4','ihrPBwvZlIbtyq','zMfPBgvK','B3b0Aw1PEMu','CMvZB2X2zq','AhvTyw4','y2XHC3mG','y2XHC3nPzNK','ChjVAMvJDf9RBG','ChjVy2vKDxjL','Esi6iciUlI4Ila','CgXHExDYAwDODa','7jwm6RkmioUqKa','rMfPBgvK','y2f0zwDVCNK','C2HVDwXK','BL0G','C3rYAw5NAwz5','C29SDMu','zuHRC1m','AwnHDgLVBG','DMfYia','Dw5KzxjZDg9Vza','y29UC3qG','DxbNCMfKzq','CZOG','Aw5ZAwDODa','BgvHCM5Lza','Dg9mB3DLCKnHCW','AMf2yq','q29KzsbTB2rPzG','zxbPC29KAwm','odG1mJbwthvKyMS','q0XbvurflM1K','zgLZy292zxj5','DxbKyxrL','r2XVyG','C29SDxrPB24','zxjYB3jFC29SDq','zxHWB3j0','zgvJAxnPB24','zw52AxjVBM1LBG','icjJB250zw50iG','B3b0zwqGzM9Y','BxLZCwW','ANnVBG','AwyG','BwvTB3j5vhLWzq','Aw5WDxq','DgfNCW','DhLWzxnJCMLWDa','r3jLCa','CNvSzq','ioUcMoYKKEYxKcdSNkdSMQNTLAaG7zw1','BxbSzxm6cG','Cgf0DgvYBG','C3vTBwfYAxPL','w3SIy2f0zwDVCG','AhrTBa','z2v0','yNvPBgq','y29UzMLN','BwfRzsbZDxjL','zNvUy3rPB24G','Bwf0y2G','64UK7j2mioQWNoUWNcdRJidTMztSL5dSHjW','z2L0','BvngEu8','y2LZAw9Ul3bYBW','Dhj5','C29Tzq','zgvWBg95','CMvHy3q','C2fTCgXLCW','CMvHBgL6zwq','yw5NDwXHCG','EwfTBa','mZy2ndq1ofjMA0ruCa','mNDby0Hhuq','DML0zxn0','DgLVBI9JB2rLxW','zxbPC29Kzq','rxHJzxb0Aw9U','zMLSDgvY','y291BNq','C2v0Dxa','mtC2odmYnLLYAhf0AG'];_0x2369=function(){return _0x1d363c;};return _0x2369();}function extractContexts(_0x2a2dce,_0x3d21ec){const _0x1f6796=[];function _0x256bcb(_0x3f7b63,_0x44b283){return _0x10bb6a(_0x3f7b63,_0x44b283-0x16e);}for(const _0x5ba63c of _0x2a2dce){if(_0x5ba63c['type']!==_0x5347c7(0x13e,0x19c)&&_0x5ba63c[_0x256bcb(0x164,0x1ba)]!==_0x256bcb(0x1a0,0x1b0))continue;if(_0x5ba63c['message'][_0x256bcb(0x27d,0x219)]===_0x5347c7(0x158,0x117))continue;const _0x587d7e=getFullText(_0x5ba63c);if(_0x587d7e[_0x256bcb(0x20d,0x1f0)]<0x32)continue;if(_0x587d7e[_0x256bcb(0x1a2,0x207)]('<system-re'+_0x5347c7(0x121,0x11d)))continue;if(_0x587d7e[_0x256bcb(0x255,0x207)](_0x5347c7(0x1df,0x1b8))&&_0x587d7e['length']>0x1f4)continue;const _0x32c510=_0x587d7e[_0x5347c7(0x170,0x1b3)+'e'](),_0x1f7e83=CONTEXT_KEYWORDS['filter'](_0x23d11d=>_0x32c510[_0x256bcb(0x20a,0x207)](_0x23d11d[_0x5347c7(0x1a1,0x1b3)+'e']())),_0x3c7126=_0x2a2dce[_0x256bcb(0x24d,0x21b)](_0x5ba63c);(_0x3c7126<0x3||_0x1f7e83[_0x256bcb(0x1f9,0x1f0)]>=0x2)&&_0x1f6796['push']({'content':_0x587d7e[_0x5347c7(0xff,0x14f)](0x0,0x3e8),'category':'context','tier':_0x256bcb(0x1d4,0x1c7),'tags':extractTags(_0x587d7e,'context'),'projectPath':_0x3d21ec});}function _0x5347c7(_0x2f8204,_0xff1fd9){return _0x10bb6a(_0x2f8204,_0xff1fd9-0xd5);}return _0x1f6796;}function extractConventions(_0x33deea,_0xaf091c){const _0x3d6848=[];for(const _0x585a6e of _0x33deea){if(_0x585a6e[_0x2ce8f9(0x2b2,0x24a)]!=='human'&&_0x585a6e['type']!=='assistant')continue;const _0x458dd4=getFullText(_0x585a6e);if(_0x458dd4[_0x3557ca(-0x233,-0x1cd)]<0x14)continue;if(_0x585a6e['type']==='assistant'){const _0x4bb26e=/(?:should|must|always|never|recommend|규칙|원칙|필수|금지)/i[_0x2ce8f9(0x282,0x27f)](_0x458dd4);if(!_0x4bb26e)continue;}const _0x50728e=CONVENTION_KEYWORDS['some'](_0x2fb483=>_0x458dd4[_0x2ce8f9(0x316,0x2dc)+'e']()[_0x3557ca(-0x1e7,-0x1b6)](_0x2fb483[_0x2ce8f9(0x2b0,0x2dc)+'e']()));if(!_0x50728e)continue;_0x3d6848['push']({'content':_0x458dd4[_0x3557ca(-0x1e6,-0x1d5)](0x0,0x1f4),'category':_0x2ce8f9(0x28e,0x2b3),'tier':_0x3557ca(-0x24a,-0x1f6),'tags':extractTags(_0x458dd4,_0x3557ca(-0x201,-0x19a)),'projectPath':_0xaf091c});}function _0x2ce8f9(_0x49b766,_0x2bcc80){return _0x10bb6a(_0x49b766,_0x2bcc80-0x1fe);}function _0x3557ca(_0x22840f,_0x536bc5){return _0x10bb6a(_0x22840f,_0x536bc5- -0x24f);}return _0x3d6848;}function extractLearnings(_0x19f0cc,_0x535a01){function _0x52f585(_0x41847e,_0x2c9f3b){return _0x1bc5c5(_0x2c9f3b,_0x41847e-0x23b);}function _0x21818d(_0x2c2a2c,_0x5cdd4d){return _0x1bc5c5(_0x2c2a2c,_0x5cdd4d-0x130);}const _0x343fdb=[];for(const _0x17b596 of _0x19f0cc){if(_0x17b596[_0x52f585(0x189,0x12f)]!==_0x52f585(0x204,0x1cd)&&_0x17b596['type']!==_0x52f585(0x199,0x16e))continue;const _0x1c1e79=getFullText(_0x17b596);if(_0x1c1e79[_0x52f585(0x1bf,0x227)]<0x1e)continue;const _0x124e63=LEARNING_KEYWORDS[_0x52f585(0x245,0x209)](_0x1cb5bb=>_0x1c1e79['toLowerCas'+'e']()[_0x21818d(0xbb,0xcb)](_0x1cb5bb[_0x21818d(0xcf,0x110)+'e']()));if(!_0x124e63)continue;_0x343fdb[_0x52f585(0x19f,0x1aa)]({'content':_0x1c1e79['slice'](0x0,0x320),'category':_0x52f585(0x1e9,0x1b2),'tier':_0x52f585(0x21e,0x1b1),'tags':extractTags(_0x1c1e79,_0x21818d(0x8a,0xde)),'projectPath':_0x535a01});}return _0x343fdb;}function getFullText(_0x518fdb){if(typeof _0x518fdb[_0x221fff(-0xfe,-0xb8)]['content']==='string')return _0x518fdb[_0x511efc(-0xb7,-0xe1)][_0x511efc(-0x7f,-0xde)];function _0x221fff(_0x28b27a,_0x3c4f70){return _0x1bc5c5(_0x3c4f70,_0x28b27a- -0x77);}function _0x511efc(_0x1d9638,_0x162764){return _0x1bc5c5(_0x162764,_0x1d9638- -0x30);}return _0x518fdb[_0x511efc(-0xb7,-0x126)][_0x221fff(-0xc6,-0x55)][_0x221fff(-0x125,-0xc1)](_0x34f2b0=>{function _0x4e22e6(_0x269b7a,_0x43b491){return _0x221fff(_0x43b491-0x420,_0x269b7a);}function _0x4e727b(_0x452e88,_0x459a29){return _0x221fff(_0x459a29-0x42b,_0x452e88);}if('BPlrr'!==_0x4e22e6(0x321,0x380)){if(_0x34f2b0['type']===_0x4e22e6(0x37d,0x352)&&_0x34f2b0[_0x4e727b(0x331,0x35d)])return _0x34f2b0[_0x4e22e6(0x39d,0x352)];if(_0x34f2b0[_0x4e727b(0x36d,0x302)]===_0x4e22e6(0x313,0x2f9)+'t'&&_0x34f2b0[_0x4e22e6(0x32a,0x35a)])return _0x34f2b0[_0x4e727b(0x3b6,0x365)];return'';}else _0x1a0bdc[_0x4e727b(0x39a,0x368)][_0x57fad5]={..._0x4bbdde[_0x4e727b(0x3d8,0x368)][_0x51cd6b],'category':_0x5eff17};})['filter'](Boolean)[_0x221fff(-0xd8,-0x104)]('\x0a');}const TECH_NAMES=[_0x10bb6a(0x9f,0x10a),_0x1bc5c5(-0x61,-0x74),_0x10bb6a(0xee,0x10d),_0x10bb6a(0x10e,0xf4),_0x1bc5c5(-0x72,-0x9d),'python',_0x10bb6a(0xb2,0xdf),_0x10bb6a(0x1f,0x64),_0x1bc5c5(0x24,-0x10),_0x10bb6a(0xdd,0xb0),_0x1bc5c5(-0xf3,-0xc2),'kubernetes',_0x1bc5c5(-0xa1,-0x81),_0x1bc5c5(-0x61,-0xba),_0x1bc5c5(-0x100,-0xb8),_0x1bc5c5(-0x7b,-0x7a),'next.js','node.js',_0x10bb6a(0x16a,0x104),_0x1bc5c5(-0x105,-0xc3),'rest',_0x10bb6a(0x55,0xa0),'vite',_0x1bc5c5(-0x6c,-0x43),_0x10bb6a(0x11e,0x111),_0x1bc5c5(-0xc0,-0xbd),_0x1bc5c5(-0x5f,-0x31),_0x10bb6a(0xd2,0x85)],WORK_TYPES=[_0x1bc5c5(-0x2f,0xb),_0x1bc5c5(-0x64,-0x80),_0x1bc5c5(-0x9b,-0xbb),'test',_0x1bc5c5(-0x70,-0x4d),_0x10bb6a(0x8d,0xc5),_0x1bc5c5(-0x104,-0xa3),'setup',_0x10bb6a(0x97,0xff),_0x10bb6a(0xcc,0xfe),'release',_0x10bb6a(0xc8,0xbd),'implement',_0x1bc5c5(-0x8a,-0x24)],LOW_VALUE_EXTS=new Set(['md',_0x1bc5c5(-0xc5,-0x60),_0x1bc5c5(-0x5,-0xf),'yml',_0x1bc5c5(0x3a,0x10),_0x10bb6a(0x47,0xb7),_0x10bb6a(0xcf,0xfc),_0x1bc5c5(-0x4,-0x5d)]),MEANINGFUL_EXTS=new Set(['py','ts','tsx','js',_0x10bb6a(0xa3,0xc2),'java','go','rs','rb',_0x10bb6a(0xaa,0x78),'kt']);function _0x10bb6a(_0x1dc58f,_0x3339a2){return _0x4170(_0x3339a2- -0xd3,_0x1dc58f);}function extractTags(_0x3ad38d,_0x17e74b){const _0xe30bc=[_0x17e74b],_0x5e8cf2=_0x3ad38d[_0x4c4f8a(-0x1a0,-0x1ce)](/[\w/.-]{1,200}\.\w{1,10}/g);if(_0x5e8cf2){const _0x489c4d=new Set(_0x5e8cf2[_0x4c4f8a(-0x252,-0x234)](_0x1aab6c=>_0x1aab6c[_0x4c4f8a(-0x1ea,-0x182)]('.')[_0x55ebb4(-0x17b,-0x1d0)]())[_0x4c4f8a(-0x18d,-0x14c)](_0x5c5105=>_0x5c5105['length']<=0x5&&_0x5c5105['length']>0x1)[_0x4c4f8a(-0x18d,-0x1db)](_0x172fff=>!/^\d+$/[_0x4c4f8a(-0x221,-0x286)](_0x172fff))[_0x55ebb4(-0xdc,-0x12d)](_0x306750=>!LOW_VALUE_EXTS[_0x55ebb4(-0x214,-0x1a3)](_0x306750[_0x55ebb4(-0x145,-0x164)+'e']()))[_0x55ebb4(-0x181,-0x12d)](_0x462670=>MEANINGFUL_EXTS[_0x4c4f8a(-0x203,-0x210)](_0x462670[_0x55ebb4(-0x123,-0x164)+'e']())));_0xe30bc[_0x4c4f8a(-0x240,-0x279)](...[..._0x489c4d][_0x4c4f8a(-0x228,-0x244)](0x0,0x2));}function _0x55ebb4(_0x2fd9b2,_0x47f3fc){return _0x10bb6a(_0x2fd9b2,_0x47f3fc- -0x242);}function _0x4c4f8a(_0x4d2968,_0x5db480){return _0x10bb6a(_0x5db480,_0x4d2968- -0x2a2);}const _0x5b8704=_0x3ad38d['toLowerCas'+'e']();for(const _0x5420d0 of TECH_NAMES){_0x5b8704[_0x55ebb4(-0x21b,-0x1a9)](_0x5420d0)&&_0xe30bc['push'](_0x5420d0);}for(const _0x1aa238 of WORK_TYPES){if(_0x5b8704[_0x55ebb4(-0x211,-0x1a9)](_0x1aa238)){if(_0x4c4f8a(-0x1e2,-0x1d8)!==_0x55ebb4(-0x1e5,-0x182))_0x58a19f[_0x4c4f8a(-0x197,-0x1ca)]['push'](_0x17ee19);else{_0xe30bc[_0x55ebb4(-0x1ed,-0x1e0)](_0x1aa238);break;}}}return[...new Set(_0xe30bc)][_0x55ebb4(-0xc5,-0x12d)](_0x301a1f=>_0x301a1f[_0x55ebb4(-0x182,-0x1c0)]>=0x2&&!/^\d+$/['test'](_0x301a1f))['map'](_0x540253=>_0x540253[_0x55ebb4(-0x1c8,-0x164)+'e']())[_0x4c4f8a(-0x228,-0x288)](0x0,0x5);}function deduplicateMemories(_0x4bc418){return deduplicateByContent(_0x4bc418,0.7);}const CLASSIFIABLE_CATEGORIES=[_0x1bc5c5(0x4f,-0x16)+_0x10bb6a(0x58,0x4a),_0x10bb6a(0x7e,0x63)+'rn',_0x10bb6a(0xf1,0xea),'convention',_0x1bc5c5(-0x2,-0x8),_0x10bb6a(0x7b,0xca)+_0x10bb6a(0xbe,0xa5),_0x10bb6a(0x103,0xac)];async function _llmExtractSupplemental(_0x1248cc,_0x490694,_0x59ae7c){function _0x1cd372(_0xe1ef97,_0x41ed92){return _0x1bc5c5(_0x41ed92,_0xe1ef97- -0xb1);}const _0xf5e141=_0x1248cc['slice'](-0x14),_0x59c84c=_0xf5e141[_0x16233b(0x457,0x4c7)](_0x330ab0=>{const _0x41523b=_0x330ab0[_0x513605(0x477,0x4a0)]===_0x513605(0x4f2,0x53e)?'User':'Assistant',_0x4e73b6=getFullText(_0x330ab0)[_0x14e4f8(-0x25e,-0x230)](0x0,0x1f4);function _0x513605(_0x408b51,_0xa3663f){return _0x16233b(_0x408b51-0x24,_0xa3663f);}function _0x14e4f8(_0x80255,_0x2f6d83){return _0x16233b(_0x80255- -0x6df,_0x2f6d83);}return'['+_0x41523b+_0x14e4f8(-0x242,-0x25d)+_0x4e73b6;})[_0x1cd372(-0x9a,-0x9f)](_0x4ebcf8=>_0x4ebcf8[_0x16233b(0x489,0x41c)]>0xa)[_0x1cd372(-0x112,-0xeb)]('\x0a\x0a')[_0x1cd372(-0x135,-0x11c)](0x0,0x1770);if(!_0x59c84c)return[];function _0x16233b(_0x340ba0,_0x4b0c2a){return _0x1bc5c5(_0x4b0c2a,_0x340ba0-0x505);}const _0x3290fb=_0x1cd372(-0xb4,-0x8e)+_0x16233b(0x4d3,0x479)+_0x16233b(0x4f3,0x4c8)+':\x20\x22...\x22,\x20\x22'+_0x16233b(0x45d,0x493)+'..\x22]}]',_0x184127=_0x16233b(0x50a,0x4d6)+_0x1cd372(-0xb8,-0x8e)+_0x16233b(0x4bb,0x493)+'\x20추출하세요.\x0a각각'+'\x20category('+_0x1cd372(-0xc7,-0x120)+_0x1cd372(-0x9d,-0xd1)+_0x16233b(0x48a,0x4fa)+_0x1cd372(-0xa9,-0x8e)+_0x16233b(0x467,0x4b9)+_0x16233b(0x497,0x4d9)+_0x1cd372(-0x11e,-0xfc)+_0x16233b(0x48d,0x474)+_0x16233b(0x4c8,0x4de)+_0x16233b(0x4c0,0x47f)+'\x0a'+_0x59c84c+('\x0a\x0aJSON\x20배열만'+_0x16233b(0x4ab,0x497)+_0x16233b(0x4a3,0x46d)+'\x0a')+_0x3290fb;try{if('flmyN'!==_0x16233b(0x50c,0x506)){const _0x3cf9c7=await _0x490694['complete'](_0x184127),_0x3b2765=_0x3cf9c7['replace'](/```(?:json)?\s*\n?([\s\S]*?)\n?```/g,'$1')[_0x1cd372(-0x95,-0x25)](),_0x6aa080=JSON[_0x1cd372(-0x11d,-0x16a)](_0x3b2765);if(!Array[_0x1cd372(-0x15d,-0x10e)](_0x6aa080))return[];return _0x6aa080[_0x16233b(0x51c,0x4d1)](_0xa39864=>_0xa39864['content']&&_0xa39864['content'][_0x1cd372(-0x12d,-0xe6)]>=0x32&&CLASSIFIABLE_CATEGORIES[_0x16233b(0x4a0,0x4f8)](_0xa39864[_0x1cd372(-0xdf,-0xaf)]))[_0x16233b(0x457,0x410)](_0x95f91a=>({'content':_0x95f91a[_0x16233b(0x4b6,0x470)][_0x16233b(0x481,0x47b)](0x0,0x320),'category':_0x95f91a['category'],'tier':'semantic','tags':Array[_0x16233b(0x459,0x3e7)](_0x95f91a[_0x1cd372(-0xbc,-0xcd)])?_0x95f91a[_0x16233b(0x4fa,0x4be)][_0x1cd372(-0x135,-0x197)](0x0,0x5):['llm-extrac'+_0x1cd372(-0x128,-0xe5)],'projectPath':_0x59ae7c}));}else return _0x53a0e9[_0x16233b(0x50f,0x507)](_0x5b03ab=>_0x5b03ab['test'](_0x206fe5));}catch{return[];}}function _0x4170(_0x3378fa,_0x429e97){_0x3378fa=_0x3378fa-0x10c;const _0x23693c=_0x2369();let _0x4170f0=_0x23693c[_0x3378fa];if(_0x4170['FWWsFm']===undefined){var _0x5c9cae=function(_0x4c59d4){const _0x3c6bd6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x23696c='',_0xef86f3='';for(let _0x53a0e9=0x0,_0x262fb9,_0x206fe5,_0x48d882=0x0;_0x206fe5=_0x4c59d4['charAt'](_0x48d882++);~_0x206fe5&&(_0x262fb9=_0x53a0e9%0x4?_0x262fb9*0x40+_0x206fe5:_0x206fe5,_0x53a0e9++%0x4)?_0x23696c+=String['fromCharCode'](0xff&_0x262fb9>>(-0x2*_0x53a0e9&0x6)):0x0){_0x206fe5=_0x3c6bd6['indexOf'](_0x206fe5);}for(let _0x26daae=0x0,_0x42c1f7=_0x23696c['length'];_0x26daae<_0x42c1f7;_0x26daae++){_0xef86f3+='%'+('00'+_0x23696c['charCodeAt'](_0x26daae)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xef86f3);};_0x4170['UVmuWV']=_0x5c9cae,_0x4170['AgXaQo']={},_0x4170['FWWsFm']=!![];}const _0x5d93b4=_0x23693c[0x0],_0x48bdc1=_0x3378fa+_0x5d93b4,_0x25e315=_0x4170['AgXaQo'][_0x48bdc1];return!_0x25e315?(_0x4170f0=_0x4170['UVmuWV'](_0x4170f0),_0x4170['AgXaQo'][_0x48bdc1]=_0x4170f0):_0x4170f0=_0x25e315,_0x4170f0;}export async function extractMemoriesWithLLM(_0x283a3f,_0x39dba5,_0x17ba67){const _0x27fee7=extractMemories(_0x283a3f,_0x39dba5);if(!_0x17ba67)return _0x27fee7;if(_0x27fee7[_0x370094(0x176,0x147)]['length']<=0x3&&_0x283a3f[_0x197301(-0x14a,-0x18a)]>=0xa)try{const _0x461f91=await _llmExtractSupplemental(_0x283a3f,_0x17ba67,_0x39dba5);_0x27fee7[_0x197301(-0x11a,-0x13d)][_0x370094(0x126,0xbc)](..._0x461f91);}catch{}const _0x49efd8=[_0x197301(-0x139,-0x142),_0x370094(0x1ae,0x1a7),_0x370094(0x179,0x16e)];function _0x370094(_0x173434,_0x4fdf25){return _0x1bc5c5(_0x4fdf25,_0x173434-0x1c2);}for(let _0x1b2799=0x0;_0x1b2799<_0x27fee7[_0x197301(-0x11a,-0xdd)][_0x197301(-0x14a,-0x1a5)];_0x1b2799++){if('xLune'===_0x370094(0x16e,0x13b)){const _0x352372=_0x526e72[_0x370094(0x129,0x180)+'f']('.'),_0xa1d766=_0x352372>=0x0?_0x3ed4b0[_0x197301(-0x152,-0x122)](_0x352372):'',_0x669bb4=_0x27aa44['split']('/'),_0x341385=_0x669bb4[_0x197301(-0x152,-0x12e)](-0x3,-0x1)[_0x370094(0x161,0x158)]('/');if(_0xa1d766)_0x3c2dcc[_0x197301(-0x178,-0x1d9)](_0xa1d766,(_0x2797e6[_0x197301(-0xcf,-0xca)](_0xa1d766)||0x0)+0x1);if(_0x341385)_0x663018[_0x370094(0x118,0x11b)](_0x341385,(_0x546c99[_0x370094(0x1c1,0x1aa)](_0x341385)||0x0)+0x1);}else{if(!_0x49efd8[_0x370094(0x15d,0x19a)](_0x27fee7[_0x370094(0x176,0x116)][_0x1b2799][_0x197301(-0xfc,-0x91)]))continue;try{const _0x93dcee=await _0x17ba67[_0x197301(-0x103,-0x9a)](_0x27fee7[_0x197301(-0x11a,-0xc2)][_0x1b2799]['content'],CLASSIFIABLE_CATEGORIES);if(CLASSIFIABLE_CATEGORIES['includes'](_0x93dcee)){if(_0x370094(0x180,0x1da)!==_0x197301(-0x110,-0xae)){const _0x2a5454=_0x5dc9fe['trim']();return _0x941c1c['startsWith']('\x20\x20')||_0x2a17d6[_0x197301(-0x12a,-0x120)]('\x09')||_0x2a5454[_0x197301(-0x12a,-0x192)](_0x370094(0x151,0x17b))||_0x2a5454['startsWith'](_0x370094(0x1c5,0x1dd))||_0x2a5454[_0x197301(-0x12a,-0x14c)](_0x197301(-0x104,-0xbe))||_0x2a5454[_0x197301(-0x12a,-0x15a)](_0x370094(0x19d,0x1ec))||_0x2a5454[_0x197301(-0x12a,-0x195)]('let\x20')||_0x2a5454[_0x370094(0x166,0x19f)](_0x197301(-0xf5,-0xd9))||_0x2a5454[_0x197301(-0x12a,-0x12a)](_0x370094(0x111,0xcd))||_0x2a5454[_0x197301(-0x12a,-0x15e)]('if\x20')||_0x2a5454[_0x197301(-0x12a,-0x137)]('for\x20')||_0x2a5454[_0x370094(0x166,0x1bd)](_0x197301(-0x124,-0x124));}else _0x27fee7[_0x370094(0x176,0x1d5)][_0x1b2799]={..._0x27fee7[_0x370094(0x176,0x1e6)][_0x1b2799],'category':_0x93dcee};}}catch{}}}function _0x197301(_0x177fc5,_0x4d9cc9){return _0x1bc5c5(_0x4d9cc9,_0x177fc5- -0xce);}return _0x27fee7;}const RESPONSE_META_PREFIX=/^\s*\[mode:\s/;export function isResponseFragment(_0x16a76e){function _0x5dadfc(_0x2a3bca,_0x3c90dc){return _0x10bb6a(_0x3c90dc,_0x2a3bca-0x395);}return RESPONSE_META_PREFIX[_0x5dadfc(0x416,0x41c)](_0x16a76e);}export async function summarizeSession(_0xbf4087,_0x10e318){const _0x549096=_0xbf4087[_0x172ae4(0x2f6,0x30d)](_0x2fdaed=>_0x2fdaed[_0x592b41(-0x45,-0x31)]===_0x172ae4(0x211,0x254))[_0x592b41(-0x3b,-0x2d)](_0x57a52f=>{function _0x44dffa(_0x5d8837,_0x873488){return _0x592b41(_0x873488,_0x5d8837- -0x3d);}function _0x2d8785(_0x1fefdd,_0x2fb104){return _0x592b41(_0x2fb104,_0x1fefdd-0x1bc);}if(_0x2d8785(0x1f5,0x253)===_0x44dffa(-0x4,-0x69)){if(typeof _0x57a52f['message'][_0x2d8785(0x1ee,0x25d)]===_0x2d8785(0x17d,0x18b))return _0x57a52f['message'][_0x2d8785(0x1ee,0x245)];return _0x57a52f['message'][_0x2d8785(0x1ee,0x1e4)][_0x44dffa(0x5b,-0x17)](_0x4cfa2c=>_0x4cfa2c[_0x2d8785(0x18b,0x154)]===_0x44dffa(-0x13,-0x1f)&&_0x4cfa2c[_0x2d8785(0x1e6,0x212)])['map'](_0x50217b=>_0x50217b['text'])[_0x44dffa(-0x1d,-0xf)]('\x0a');}else{const _0x484fda=new _0xba715(_0x420a9e[_0x2d8785(0x21d,0x1bf)+'e']()['split'](/\W+/)[_0x2d8785(0x254,0x202)](_0x315ffa=>_0x315ffa[_0x44dffa(-0x38,-0x3e)]>0x3)),_0x3b0d44=new _0x182341(_0x1fbb36[_0x2d8785(0x21d,0x1c5)+'e']()[_0x44dffa(-0x2,-0x5d)](/\W+/)[_0x2d8785(0x254,0x23a)](_0x21a8b4=>_0x21a8b4[_0x44dffa(-0x38,-0x9e)]>0x3)),_0x5683db=[..._0x484fda][_0x2d8785(0x254,0x2b7)](_0x57770a=>_0x3b0d44[_0x2d8785(0x1de,0x187)](_0x57770a));if(_0x5683db['length']<0x2)return![];if(_0x314db7(_0x571010))return![];return!![];}})[_0x172ae4(0x2d9,0x30d)](_0x16fb7b=>_0x16fb7b[_0x172ae4(0x226,0x27a)]>0x14)[_0x172ae4(0x2c4,0x272)](-0xa);function _0x172ae4(_0x581c20,_0x302181){return _0x1bc5c5(_0x581c20,_0x302181-0x2f6);}function _0x592b41(_0x202e5c,_0x3d738c){return _0x1bc5c5(_0x202e5c,_0x3d738c-0x81);}if(_0x549096['length']===0x0)return'';return _0x10e318[_0x592b41(0x5d,0x7d)](_0x549096);}
|
|
1
|
+
(function(_0x50afcf,_0xc501a1){function _0xc822bf(_0x2b3f4c,_0x227961){return _0x3721(_0x2b3f4c- -0x19a,_0x227961);}const _0x2936ff=_0x50afcf();function _0x24715b(_0x139bb1,_0x58b326){return _0x3721(_0x139bb1- -0x384,_0x58b326);}while(!![]){try{const _0x64456a=-parseInt(_0xc822bf(0x60,0xc1))/0x1+-parseInt(_0x24715b(-0xde,-0xee))/0x2*(-parseInt(_0xc822bf(0xfe,0x13f))/0x3)+-parseInt(_0x24715b(-0x18f,-0x1e7))/0x4+-parseInt(_0xc822bf(0x50,0x94))/0x5+-parseInt(_0x24715b(-0x13d,-0x16f))/0x6*(parseInt(_0x24715b(-0x11c,-0x132))/0x7)+parseInt(_0xc822bf(0x5d,0xaf))/0x8+parseInt(_0xc822bf(0xba,0xbc))/0x9*(parseInt(_0x24715b(-0x119,-0xe9))/0xa);if(_0x64456a===_0xc501a1)break;else _0x2936ff['push'](_0x2936ff['shift']());}catch(_0x44c854){_0x2936ff['push'](_0x2936ff['shift']());}}}(_0x31e0,0x5010a));import{filterSensitiveInfo}from'./filter.js';import{deduplicateByContent}from'./similarity.js';const STRONG_DECISION_KEYWORDS=[_0x451f5d(0x201,0x1d4),_0x451f5d(0x1a6,0x19b),'opted\x20for','instead\x20of','rather\x20tha'+'n',_0x397528(0x424,0x41f),'결정했','대신'],WEAK_DECISION_KEYWORDS=[_0x451f5d(0x167,0x153),_0x397528(0x45d,0x44d),_0x451f5d(0x19c,0x138),'방식','접근','전략','선택','결정'],CONVENTION_KEYWORDS=['선호','항상',_0x397528(0x4d2,0x51c),'습관','규칙','prefer',_0x397528(0x448,0x437),_0x451f5d(0x160,0x188),_0x397528(0x4b5,0x474),_0x451f5d(0x197,0x132),_0x451f5d(0x1f1,0x1e1),_0x451f5d(0x1c3,0x193)],ERROR_INDICATORS=[_0x451f5d(0x22e,0x20c),_0x451f5d(0x170,0x171),'ERROR',_0x397528(0x43b,0x3e8),_0x397528(0x420,0x443),_0x451f5d(0x22d,0x24a),_0x451f5d(0x19e,0x13c),_0x397528(0x443,0x48c),_0x451f5d(0x174,0x1c0),'Traceback','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\//],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(_0x5a7be8){function _0x105abf(_0x227349,_0x124c1b){return _0x397528(_0x124c1b-0x114,_0x227349);}return NOISE_PATTERNS['some'](_0x1dacad=>_0x1dacad[_0x105abf(0x4e4,0x53a)](_0x5a7be8));}const CATEGORY_TYPE_MAP={'error_solution':'experience','code_pattern':'fact','decision':'episode','context':_0x397528(0x4d7,0x48d),'project_knowledge':_0x397528(0x4d9,0x502),'convention':_0x451f5d(0x1b5,0x14d),'learning':'experience','skill':_0x451f5d(0x1b5,0x1e8),'rule':_0x397528(0x46d,0x430)};function _0x397528(_0x5e3d77,_0x2d16b2){return _0x3721(_0x5e3d77-0x23d,_0x2d16b2);}function inferMemoryType(_0x34a519){function _0x4f3d10(_0x553bb4,_0x17979b){return _0x397528(_0x553bb4- -0x4,_0x17979b);}return CATEGORY_TYPE_MAP[_0x34a519]??_0x4f3d10(0x4d5,0x4cf);}function _0x3721(_0x5bcc02,_0x2b7dea){_0x5bcc02=_0x5bcc02-0x1d9;const _0x31e00d=_0x31e0();let _0x3721e8=_0x31e00d[_0x5bcc02];if(_0x3721['SwYFDE']===undefined){var _0x5707d5=function(_0x5902e7){const _0x3eb677='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4b59f4='',_0x2b3613='';for(let _0xd6c4f3=0x0,_0x21cd80,_0x804d58,_0x421489=0x0;_0x804d58=_0x5902e7['charAt'](_0x421489++);~_0x804d58&&(_0x21cd80=_0xd6c4f3%0x4?_0x21cd80*0x40+_0x804d58:_0x804d58,_0xd6c4f3++%0x4)?_0x4b59f4+=String['fromCharCode'](0xff&_0x21cd80>>(-0x2*_0xd6c4f3&0x6)):0x0){_0x804d58=_0x3eb677['indexOf'](_0x804d58);}for(let _0x3f7f51=0x0,_0x1d817c=_0x4b59f4['length'];_0x3f7f51<_0x1d817c;_0x3f7f51++){_0x2b3613+='%'+('00'+_0x4b59f4['charCodeAt'](_0x3f7f51)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2b3613);};_0x3721['WVDFFz']=_0x5707d5,_0x3721['LdSUtQ']={},_0x3721['SwYFDE']=!![];}const _0x4ae8d1=_0x31e00d[0x0],_0xa91f3e=_0x5bcc02+_0x4ae8d1,_0x3339a6=_0x3721['LdSUtQ'][_0xa91f3e];return!_0x3339a6?(_0x3721e8=_0x3721['WVDFFz'](_0x3721e8),_0x3721['LdSUtQ'][_0xa91f3e]=_0x3721e8):_0x3721e8=_0x3339a6,_0x3721e8;}export function extractMemories(_0x4ca86d,_0x47ece9){const _0x3b60fc=Date[_0x192e15(0x66,0x25)](),_0x9742c5=[];let _0x2edb66=0x0;const _0x550157=_0x4ca86d[_0x192e15(0x35,0x35)](_0x546ea5=>{const _0x443e6a=getFullText(_0x546ea5);return!isNoiseMessage(_0x443e6a);}),_0x1ae258=extractErrorSolutions(_0x550157,_0x47ece9);_0x9742c5['push'](..._0x1ae258);const _0x4ee917=extractCodePatterns(_0x550157,_0x47ece9);_0x9742c5['push'](..._0x4ee917);const _0x7049ca=extractDecisions(_0x550157,_0x47ece9);_0x9742c5[_0x530555(-0x115,-0xc7)](..._0x7049ca);const _0x12d358=extractContexts(_0x550157,_0x47ece9);_0x9742c5[_0x192e15(-0x1e,-0x74)](..._0x12d358);const _0x2375df=extractConventions(_0x550157,_0x47ece9);_0x9742c5['push'](..._0x2375df);const _0x2a55fd=extractLearnings(_0x550157,_0x47ece9);_0x9742c5[_0x530555(-0x115,-0xea)](..._0x2a55fd);for(let _0x297e1d=0x0;_0x297e1d<_0x9742c5[_0x530555(-0x113,-0xc7)];_0x297e1d++){if(_0x530555(-0xc9,-0x103)!==_0x192e15(0x2e,-0x1b))_0x484fa7['samples'][_0x192e15(-0x1e,0x7)](_0x3f4934);else{const _0x3d1caa=filterSensitiveInfo(_0x9742c5[_0x297e1d]['content']);_0x3d1caa[_0x530555(-0xd0,-0xe5)]>0x0&&(_0x9742c5[_0x297e1d]={..._0x9742c5[_0x297e1d],'content':_0x3d1caa[_0x530555(-0x90,-0x50)]},_0x2edb66+=_0x3d1caa[_0x530555(-0xd0,-0xdb)]);}}function _0x530555(_0x81cadd,_0x186370){return _0x397528(_0x81cadd- -0x56f,_0x186370);}const _0x3d2d06=_0x9742c5[_0x192e15(0x35,0x74)](_0x36227b=>_0x36227b['content'][_0x530555(-0x113,-0x15a)]>=0x32),_0x316c68=_0x3d2d06[_0x192e15(0x35,0x66)](_0x1db742=>{function _0x5ab314(_0x22c0de,_0x3322f0){return _0x192e15(_0x3322f0- -0x149,_0x22c0de);}const _0x3f11d5=_0x1db742[_0x5ab314(-0x17b,-0x188)][_0x5ab314(-0x15d,-0xf4)]('\x0a')[0x0][_0x22b601(0xb2,0xf2)]();function _0x22b601(_0x479abe,_0x5e4a7e){return _0x192e15(_0x5e4a7e-0xc7,_0x479abe);}return!NOISE_TITLE_PATTERNS[_0x22b601(0x4b,0x94)](_0x1f36fc=>_0x1f36fc[_0x5ab314(-0x1fb,-0x19b)](_0x3f11d5));}),_0xae8bdc=deduplicateMemories(_0x316c68),_0x3b1894=_0xae8bdc[_0x192e15(-0x3e,-0xa7)](_0x2c296f=>({..._0x2c296f,'memoryType':_0x2c296f[_0x530555(-0x94,-0x74)]??inferMemoryType(_0x2c296f[_0x192e15(0xa,0x43)])}));function _0x192e15(_0x5b53e2,_0x3a3bf8){return _0x397528(_0x5b53e2- -0x478,_0x3a3bf8);}const _0x482cf6={'sessionId':_0x550157[0x0]?.[_0x192e15(-0x6,-0x43)]?.[_0x530555(-0xa2,-0x10c)]('-')[0x0]??_0x530555(-0xbf,-0x109),'projectPath':_0x47ece9,'filePath':'','messageCount':_0x550157[_0x192e15(-0x1c,0x21)],'startTime':_0x550157[0x0]?.[_0x192e15(0x28,0x8b)],'endTime':_0x550157[_0x550157['length']-0x1]?.[_0x192e15(0x28,-0x2e)],'sizeBytes':0x0,'modifiedAt':Date[_0x530555(-0x91,-0x3f)]()};return{'memories':_0x3b1894,'sessionInfo':_0x482cf6,'stats':{'totalMessages':_0x4ca86d['length'],'extractedPatterns':_0x3b1894['length'],'filteredSensitive':_0x2edb66,'processingTimeMs':Date[_0x192e15(0x66,0x4b)]()-_0x3b60fc}};}function extractErrorSolutions(_0x591ebf,_0x1f8037){function _0xd1fc53(_0x1bff90,_0x33bc92){return _0x451f5d(_0x33bc92-0x3b9,_0x1bff90);}function _0x396034(_0x48d043,_0x15a3c8){return _0x451f5d(_0x15a3c8- -0x27d,_0x48d043);}const _0x49c59c=[];for(let _0x1ac4d6=0x0;_0x1ac4d6<_0x591ebf['length'];_0x1ac4d6++){if(_0xd1fc53(0x549,0x591)===_0xd1fc53(0x56e,0x591)){const _0x2e856e=_0x591ebf[_0x1ac4d6],_0x2280a7=getFullText(_0x2e856e),_0x80222f=ERROR_INDICATORS['some'](_0x3e2727=>_0x2280a7[_0xd1fc53(0x59a,0x553)](_0x3e2727));if(!_0x80222f)continue;const _0x476416=_0x2280a7[_0x396034(-0x4e,-0x68)]('\x0a'),_0x4b9494=_0x476416[_0x396034(-0xba,-0x88)](_0x529aad=>{function _0x58383a(_0x54499e,_0x68ac0e){return _0xd1fc53(_0x54499e,_0x68ac0e- -0x6bc);}const _0x200b62=_0x529aad[_0x58383a(-0xf7,-0x118)]();function _0x17e153(_0x7f0a7,_0x5eec49){return _0xd1fc53(_0x7f0a7,_0x5eec49- -0x44f);}return _0x529aad[_0x58383a(-0x1ab,-0x190)]('\x20\x20')||_0x529aad['startsWith']('\x09')||_0x200b62[_0x58383a(-0x1d3,-0x190)](_0x17e153(0x184,0x16e))||_0x200b62[_0x17e153(0xb1,0xdd)](_0x58383a(-0x125,-0xf6))||_0x200b62[_0x17e153(0xa2,0xdd)](_0x58383a(-0x13c,-0xd4))||_0x200b62[_0x17e153(0x110,0xdd)](_0x17e153(0x104,0x154))||_0x200b62[_0x58383a(-0x1ba,-0x190)](_0x17e153(0x176,0x16f))||_0x200b62[_0x17e153(0x117,0xdd)](_0x17e153(0x118,0x13e))||_0x200b62[_0x58383a(-0x17f,-0x190)](_0x17e153(0x14d,0x13b))||_0x200b62[_0x17e153(0xb5,0xdd)](_0x17e153(0x15f,0x123))||_0x200b62['startsWith'](_0x17e153(0x128,0x15e))||_0x200b62['startsWith'](_0x17e153(0x139,0x15d));})[_0xd1fc53(0x54f,0x55d)];if(_0x476416[_0xd1fc53(0x553,0x55d)]>0x0&&_0x4b9494/_0x476416[_0x396034(-0xb8,-0xd9)]>0.5)continue;const _0x4ff6a7=_0x2280a7[_0xd1fc53(0x5b1,0x5ce)]('\x0a')[_0x396034(-0xd4,-0xe4)](_0x5ecc10=>ERROR_INDICATORS[_0xd1fc53(0x59a,0x546)](_0x6bd281=>_0x5ecc10['includes'](_0x6bd281)));if(!_0x4ff6a7||_0x4ff6a7['trim']()[_0x396034(-0xc5,-0xd9)]<0x14)continue;for(let _0x3a15e1=_0x1ac4d6+0x1;_0x3a15e1<Math[_0x396034(-0xb5,-0xc1)](_0x1ac4d6+0x5,_0x591ebf[_0xd1fc53(0x540,0x55d)]);_0x3a15e1++){const _0x5674c1=_0x591ebf[_0x3a15e1];if(_0x5674c1[_0xd1fc53(0x52a,0x58c)]!==_0x396034(-0xd1,-0xcd))continue;const _0xf6014b=getFullText(_0x5674c1),_0x1b16d5=Array[_0xd1fc53(0x4e3,0x53e)](_0x5674c1[_0xd1fc53(0x5e8,0x582)][_0x396034(-0xdd,-0xfc)])&&_0x5674c1[_0x396034(-0x68,-0xb4)][_0x396034(-0xf2,-0xfc)][_0xd1fc53(0x535,0x546)](_0x549813=>_0x549813['type']===_0x396034(-0x83,-0x54));if(_0x1b16d5||_0xf6014b[_0x396034(-0x129,-0xd9)]>0x32){const _0x286684=_0x2280a7['slice'](0x0,0x12c),_0x43f5da=_0xf6014b[_0xd1fc53(0x5f6,0x5cb)](0x0,0x1f4);if(!_0x1b16d5&&!verifySolutionRelevance(_0x286684,_0x43f5da))continue;_0x49c59c['push']({'content':_0x396034(-0xd3,-0xb9)+_0x286684+(_0x396034(-0xdf,-0xa0)+_0xd1fc53(0x5e8,0x5af))+_0x43f5da,'category':_0x396034(-0x90,-0x71)+_0xd1fc53(0x56d,0x5d2),'tier':_0x396034(-0x7e,-0x5d),'tags':extractTags(_0x2280a7,_0x396034(-0xad,-0x4f)),'projectPath':_0x1f8037});break;}}}else return _0x5dca22[_0xd1fc53(0x4ff,0x527)](_0x22c4fd);}return _0x49c59c;}function verifySolutionRelevance(_0x3c67aa,_0x3b61d6){function _0x18d3d0(_0x87dc49,_0x2f48cf){return _0x397528(_0x2f48cf- -0x4f0,_0x87dc49);}const _0x1e94fd=new Set(_0x3c67aa[_0x4b3997(0x2c1,0x2fc)+'e']()['split'](/\W+/)[_0x4b3997(0x2dc,0x2bf)](_0x36e07d=>_0x36e07d[_0x18d3d0(-0xe9,-0x94)]>0x3)),_0x464ec9=new Set(_0x3b61d6[_0x18d3d0(-0xac,-0x5e)+'e']()[_0x18d3d0(-0x73,-0x23)](/\W+/)['filter'](_0x12966a=>_0x12966a[_0x4b3997(0x28b,0x27d)]>0x3)),_0xab5bb8=[..._0x1e94fd][_0x18d3d0(-0x87,-0x43)](_0x38afcc=>_0x464ec9[_0x18d3d0(-0x4,-0x16)](_0x38afcc));if(_0xab5bb8['length']<0x2)return![];function _0x4b3997(_0x1b3e3b,_0x48f73d){return _0x397528(_0x1b3e3b- -0x1d1,_0x48f73d);}if(isPureErrorMessage(_0x3b61d6))return![];return!![];}function isPureErrorMessage(_0x35b537){function _0x50c6d0(_0x39a39c,_0x31dbe4){return _0x451f5d(_0x39a39c-0x28b,_0x31dbe4);}const _0x57add1=_0x35b537[_0x50c6d0(0x4a0,0x45e)]('\x0a')[_0x50c6d0(0x480,0x4c9)](_0x391429=>_0x391429[_0x17a21e(-0x89,-0xa4)]());if(_0x57add1[_0x17a21e(-0x11a,-0xeb)]===0x0)return!![];const _0x33c985=_0x57add1[_0x50c6d0(0x480,0x48b)](_0x3cda36=>/^\s*(at |File |Traceback| File "| raise |>>> )/[_0x50c6d0(0x3f9,0x3dc)](_0x3cda36));if(_0x33c985[_0x50c6d0(0x42f,0x45b)]/_0x57add1[_0x17a21e(-0x12b,-0xeb)]>0.7)return!![];const _0x196565=[_0x50c6d0(0x40b,0x430),_0x17a21e(-0xee,-0xc8),_0x50c6d0(0x404,0x3dc),_0x50c6d0(0x3f5,0x3e6),_0x50c6d0(0x43a,0x429),_0x50c6d0(0x453,0x468),'update',_0x50c6d0(0x456,0x48d),'instead','should',_0x17a21e(-0xca,-0x7f),_0x17a21e(-0xb8,-0x5e),_0x50c6d0(0x41f,0x483),'해결','수정','변경','설치','시도','사용'];function _0x17a21e(_0x170ab5,_0x3915c6){return _0x451f5d(_0x3915c6- -0x28f,_0x170ab5);}const _0x365ff4=_0x35b537[_0x17a21e(-0x5c,-0xb5)+'e']();return!_0x196565[_0x50c6d0(0x418,0x43a)](_0x23172b=>_0x365ff4[_0x50c6d0(0x425,0x48a)](_0x23172b));}function extractCodePatterns(_0x25a780,_0x5d627a){const _0x52d87f=new Map();function _0x19e8c3(_0x56bf79,_0x11ae1c){return _0x451f5d(_0x56bf79-0x348,_0x11ae1c);}const _0x3a844e=[_0x19e8c3(0x4b9,0x522),'Glob','Grep',_0x19e8c3(0x4db,0x4a3),_0x19e8c3(0x4e9,0x522)],_0x58da97=new Map(),_0x498066=new Map();for(const _0x598ef1 of _0x25a780){if(!Array[_0x54ee62(-0x25,-0x89)](_0x598ef1[_0x54ee62(0x1f,0x56)][_0x19e8c3(0x4c9,0x4b9)]))continue;for(const _0x5da6fd of _0x598ef1[_0x54ee62(0x1f,0x50)][_0x19e8c3(0x4c9,0x4d9)]){if('uDxnl'===_0x54ee62(0x38,0xa))_0x104804['push'](_0x5a8a3f);else{if(_0x5da6fd['type']!=='tool_use'||!_0x5da6fd['name'])continue;if((_0x5da6fd[_0x54ee62(0x52,0x75)]===_0x54ee62(0x23,0x5f)||_0x5da6fd[_0x19e8c3(0x544,0x52e)]==='Edit')&&_0x5da6fd[_0x54ee62(-0xd,-0x3d)]){if(_0x54ee62(-0x3,0x64)==='lNFDD'){const _0x21b434=_0x5da6fd[_0x54ee62(-0xd,0x8)]['file_path'];if(_0x21b434){const _0x449a94=_0x21b434[_0x19e8c3(0x54e,0x536)+'f']('.'),_0x1aad35=_0x449a94>=0x0?_0x21b434[_0x19e8c3(0x55a,0x566)](_0x449a94):'',_0x11e4c4=_0x21b434[_0x19e8c3(0x55d,0x53b)]('/'),_0x203da4=_0x11e4c4[_0x19e8c3(0x55a,0x5b8)](-0x3,-0x1)[_0x19e8c3(0x553,0x5b0)]('/');if(_0x1aad35)_0x58da97['set'](_0x1aad35,(_0x58da97[_0x54ee62(0x32,0x81)](_0x1aad35)||0x0)+0x1);if(_0x203da4)_0x498066['set'](_0x203da4,(_0x498066[_0x19e8c3(0x524,0x4ed)](_0x203da4)||0x0)+0x1);}}else{const _0x19fed3=_0x5e34d5(_0x2dc2ea[_0x443204]['content']);_0x19fed3['matchCount']>0x0&&(_0x56fb47[_0xa5e954]={..._0xd17fd4[_0x3f039c],'content':_0x19fed3['filtered']},_0x576195+=_0x19fed3[_0x54ee62(0x3d,0x2e)]);}}if(_0x3a844e['includes'](_0x5da6fd[_0x19e8c3(0x544,0x5a2)]))continue;const _0x1b4811=_0x52d87f[_0x54ee62(0x32,0x1f)](_0x5da6fd[_0x54ee62(0x52,0xa0)])??{'count':0x0,'samples':[]};_0x1b4811['count']++;if(_0x1b4811[_0x19e8c3(0x4c0,0x51e)]['length']<0x3&&_0x5da6fd[_0x19e8c3(0x4e5,0x4e7)]){const _0x33b9c8=JSON['stringify'](_0x5da6fd[_0x54ee62(-0xd,-0x22)]);if(_0x33b9c8[_0x54ee62(-0x6,0x2a)]<=0xc8)_0x1b4811[_0x19e8c3(0x4c0,0x49a)][_0x19e8c3(0x4ea,0x4cd)](_0x33b9c8);else{const _0x28d3ad=[_0x54ee62(0x84,0x93),_0x19e8c3(0x4c8,0x4ea),_0x54ee62(-0x15,-0x2),'pattern',_0x19e8c3(0x4bf,0x4b1),_0x54ee62(-0x24,-0x6f),'export',_0x54ee62(0x50,0xb4),_0x19e8c3(0x55e,0x5b3)],_0x50e307=_0x33b9c8[_0x19e8c3(0x522,0x4e8)+'e']();let _0x21fde8=0x0;for(const _0x3b8b5b of _0x28d3ad){if(_0x54ee62(0x18,-0x4b)!=='uzjqG'){const _0x3215d6=_0x50e307[_0x54ee62(-0xa,-0x3e)](_0x3b8b5b);if(_0x3215d6>=0x0){_0x21fde8=Math[_0x54ee62(0xc,0x65)](0x0,_0x3215d6-0x32);break;}}else{const _0x49aa2d=[..._0x44049f[_0x54ee62(0x7a,0xa6)]()][_0x19e8c3(0x53d,0x4ef)](([,_0x2a862f])=>_0x2a862f>=0x3)[_0x54ee62(-0x14,-0x42)]((_0x40130e,_0x4c23e7)=>_0x4c23e7[0x1]-_0x40130e[0x1])[_0x19e8c3(0x55a,0x554)](0x0,0x5);if(_0x49aa2d[_0x54ee62(-0x6,-0x18)]>0x0){const _0x3b0353=[..._0x352cd1[_0x54ee62(0x7a,0x24)]()]['sort']((_0xba708e,_0x41d17d)=>_0x41d17d[0x1]-_0xba708e[0x1])[_0x19e8c3(0x55a,0x5ae)](0x0,0x3);_0x1e7040[_0x54ee62(-0x8,-0x50)]({'content':_0x19e8c3(0x52c,0x52b)+_0x54ee62(0x45,-0x1c)+_0x19e8c3(0x55f,0x570)+_0x49aa2d['map'](([_0xcc1181,_0x4244c9])=>_0xcc1181+'('+_0x4244c9+')')[_0x54ee62(0x61,0xb1)](',\x20')+'.\x20'+(_0x19e8c3(0x4f1,0x52d)+_0x19e8c3(0x4f6,0x4e4)+_0x3b0353[_0x54ee62(-0x28,-0x2a)](([_0x4d47fa,_0x32cf08])=>_0x4d47fa+'('+_0x32cf08+')')[_0x54ee62(0x61,0x32)](',\x20')),'category':_0x54ee62(0x86,0x43)+'rn','tier':_0x54ee62(0x72,0xd2),'tags':[_0x19e8c3(0x505,0x559)+'rn',_0x19e8c3(0x550,0x4f8)+_0x54ee62(0xd,0x13),..._0x49aa2d[_0x54ee62(-0x28,-0x33)](([_0x352fe9])=>_0x352fe9[_0x54ee62(0x28,0x5b)]('.',''))],'projectPath':_0x22d9a7});}}}_0x1b4811[_0x19e8c3(0x4c0,0x4b6)][_0x19e8c3(0x4ea,0x52f)](_0x33b9c8['slice'](_0x21fde8,_0x21fde8+0xc8));}}_0x52d87f['set'](_0x5da6fd[_0x19e8c3(0x544,0x533)],_0x1b4811);}}}const _0x254279=[];for(const [_0x2afca2,_0x42e303]of _0x52d87f){if(_0x42e303['count']<0x5)continue;_0x254279[_0x54ee62(-0x8,0x3a)]({'content':_0x54ee62(-0x18,0x4d)+_0x2afca2+_0x54ee62(0x3,0x6a)+_0x42e303[_0x54ee62(0x9,-0x25)]+('\x20times.\x20Sa'+_0x19e8c3(0x4b5,0x51b))+_0x42e303[_0x54ee62(-0x32,-0x63)]['join']('\x0a'),'category':_0x19e8c3(0x578,0x514)+'rn','tier':_0x19e8c3(0x564,0x56d),'tags':[_0x2afca2,_0x54ee62(0x19,0x6e),'tool-usage'],'projectPath':_0x5d627a});}if(_0x58da97['size']>0x0){const _0x4fb4fd=[..._0x58da97[_0x54ee62(0x7a,0xa7)]()]['filter'](([,_0xe234f4])=>_0xe234f4>=0x3)[_0x19e8c3(0x4de,0x4a9)]((_0x1cf76f,_0x109984)=>_0x109984[0x1]-_0x1cf76f[0x1])[_0x19e8c3(0x55a,0x585)](0x0,0x5);if(_0x4fb4fd[_0x19e8c3(0x4ec,0x4ad)]>0x0){const _0x4369b5=[..._0x498066[_0x19e8c3(0x56c,0x589)]()]['sort']((_0x505847,_0x66256f)=>_0x66256f[0x1]-_0x505847[0x1])['slice'](0x0,0x3);_0x254279[_0x19e8c3(0x4ea,0x551)]({'content':'Code\x20modif'+_0x54ee62(0x45,0x18)+_0x19e8c3(0x55f,0x585)+_0x4fb4fd[_0x19e8c3(0x4ca,0x49d)](([_0x369032,_0x3e205f])=>_0x369032+'('+_0x3e205f+')')[_0x54ee62(0x61,0x7a)](',\x20')+'.\x20'+(_0x19e8c3(0x4f1,0x4e9)+_0x19e8c3(0x4f6,0x510)+_0x4369b5[_0x19e8c3(0x4ca,0x4c1)](([_0x31b232,_0x49a82d])=>_0x31b232+'('+_0x49a82d+')')[_0x54ee62(0x61,0x5e)](',\x20')),'category':'code_patte'+'rn','tier':_0x54ee62(0x72,0xbe),'tags':[_0x19e8c3(0x505,0x508)+'rn',_0x19e8c3(0x550,0x590)+_0x19e8c3(0x4ff,0x501),..._0x4fb4fd[_0x54ee62(-0x28,-0x60)](([_0x1c9b98])=>_0x1c9b98[_0x54ee62(0x28,-0x1)]('.',''))],'projectPath':_0x5d627a});}}function _0x54ee62(_0x5aa14a,_0x4abc8f){return _0x451f5d(_0x5aa14a- -0x1aa,_0x4abc8f);}return _0x254279;}function extractDecisions(_0x1d6736,_0x5dd7e6){function _0xe47b41(_0x424de7,_0x2b8b0c){return _0x451f5d(_0x424de7-0x2ac,_0x2b8b0c);}const _0x37ce7b=[];function _0x36faf2(_0xc3427e,_0x578b33){return _0x451f5d(_0x578b33-0x99,_0xc3427e);}for(const _0x1af352 of _0x1d6736){if(_0xe47b41(0x4b3,0x509)!=='uLSMy')return _0x4be1e0['message'][_0xe47b41(0x42d,0x426)];else{const _0xd12c35=getFullText(_0x1af352);if(_0xd12c35[_0x36faf2(0x24c,0x23d)]<0x32)continue;if(_0xd12c35['startsWith'](_0xe47b41(0x4d1,0x48d))||_0xd12c35[_0x36faf2(0x251,0x233)](_0xe47b41(0x46a,0x428))||/v\d+\.\d+\.\d+/['test'](_0xd12c35))continue;const _0x5963a1=_0xd12c35[_0xe47b41(0x47e,0x4c7)](/```[\s\S]*?```/g,'')[_0x36faf2(0x267,0x284)]();if(!_0x5963a1)continue;const _0x275895=_0x5963a1[_0x36faf2(0x25c,0x273)+'e'](),_0x127d49=STRONG_DECISION_KEYWORDS['filter'](_0x401bca=>_0x275895[_0x36faf2(0x1fc,0x233)](_0x401bca[_0x36faf2(0x26b,0x273)+'e']()))[_0xe47b41(0x450,0x4a4)],_0xc4f3d9=WEAK_DECISION_KEYWORDS[_0xe47b41(0x4a1,0x4b1)](_0x589fa8=>_0x275895['includes'](_0x589fa8[_0xe47b41(0x486,0x45b)+'e']()))[_0xe47b41(0x450,0x425)];if(_0x127d49<0x1&&_0xc4f3d9<0x2)continue;_0x37ce7b[_0xe47b41(0x44e,0x3f2)]({'content':_0x5963a1['slice'](0x0,0x320),'category':_0xe47b41(0x448,0x413),'tier':'semantic','tags':extractTags(_0x5963a1,_0xe47b41(0x448,0x3fa)),'projectPath':_0x5dd7e6});}}return _0x37ce7b;}const CONTEXT_KEYWORDS=['setup',_0x397528(0x483,0x450),_0x451f5d(0x209,0x241),_0x451f5d(0x1e9,0x220)+'t',_0x397528(0x498,0x492)+_0x397528(0x4d1,0x4be),'설정','설치',_0x397528(0x4cb,0x474),'초기화'];function _0x451f5d(_0x4ba790,_0x211162){return _0x3721(_0x4ba790- -0x7b,_0x211162);}const LEARNING_KEYWORDS=[_0x397528(0x421,0x461),'TIL','realized',_0x451f5d(0x21b,0x221),'figured\x20ou'+'t',_0x397528(0x49d,0x4dd),'insight','배웠','깨달','발견','알게\x20됐',_0x451f5d(0x20e,0x1bb)];function extractContexts(_0x2a935c,_0x314036){function _0x38862e(_0x28c1f4,_0x4a5fd0){return _0x397528(_0x28c1f4- -0x3bc,_0x4a5fd0);}const _0x53e287=[];function _0x517b04(_0x36a493,_0x3eecd6){return _0x397528(_0x36a493- -0x284,_0x3eecd6);}for(const _0x56afff of _0x2a935c){if(_0x56afff[_0x38862e(0xcf,0x7c)]!==_0x38862e(0xbc,0x125)&&_0x56afff[_0x38862e(0xcf,0x7f)]!==_0x517b04(0x1e6,0x1dc))continue;if(_0x56afff[_0x38862e(0xc5,0xac)][_0x517b04(0x19f,0x1f0)]==='system')continue;const _0x15c8a4=getFullText(_0x56afff);if(_0x15c8a4['length']<0x32)continue;if(_0x15c8a4[_0x38862e(0x96,0xfd)](_0x38862e(0xb4,0xa8)+_0x517b04(0x1dc,0x238)))continue;if(_0x15c8a4['includes'](_0x517b04(0x192,0x1f7))&&_0x15c8a4[_0x517b04(0x1d8,0x189)]>0x1f4)continue;const _0x25a67f=_0x15c8a4[_0x38862e(0xd6,0x9f)+'e'](),_0x27358d=CONTEXT_KEYWORDS[_0x517b04(0x229,0x230)](_0x5d4320=>_0x25a67f[_0x517b04(0x1ce,0x1b9)](_0x5d4320[_0x517b04(0x20e,0x1a4)+'e']())),_0x4c16e8=_0x2a935c[_0x38862e(0x9c,0x8f)](_0x56afff);(_0x4c16e8<0x3||_0x27358d[_0x38862e(0xa0,0xc6)]>=0x2)&&_0x53e287[_0x38862e(0x9e,0xd5)]({'content':_0x15c8a4[_0x517b04(0x246,0x1e5)](0x0,0x3e8),'category':_0x38862e(0x84,0x7f),'tier':_0x517b04(0x250,0x29a),'tags':extractTags(_0x15c8a4,_0x517b04(0x1bc,0x164)),'projectPath':_0x314036});}return _0x53e287;}function extractConventions(_0x587a41,_0x1f61c6){function _0x494b68(_0x242664,_0x41cea7){return _0x397528(_0x41cea7-0x1,_0x242664);}function _0x526eeb(_0xca2f34,_0x2b381a){return _0x397528(_0xca2f34-0x86,_0x2b381a);}const _0x4f7312=[];for(const _0xe8bbbe of _0x587a41){if(_0xe8bbbe[_0x494b68(0x492,0x48c)]!==_0x494b68(0x498,0x479)&&_0xe8bbbe[_0x526eeb(0x511,0x514)]!==_0x526eeb(0x4ee,0x492))continue;const _0x2069ec=getFullText(_0xe8bbbe);if(_0x2069ec[_0x494b68(0x408,0x45d)]<0x14)continue;if(_0xe8bbbe[_0x494b68(0x486,0x48c)]===_0x494b68(0x428,0x469)){if(_0x494b68(0x43c,0x434)!==_0x494b68(0x464,0x443)){const _0x1c12ef=/(?:should|must|always|never|recommend|규칙|원칙|필수|금지)/i[_0x526eeb(0x4ac,0x47a)](_0x2069ec);if(!_0x1c12ef)continue;}else return _0xd6c4f3[_0x526eeb(0x4cb,0x507)](_0x29ac15=>_0x29ac15[_0x494b68(0x431,0x427)](_0x804d58));}const _0x3e9400=CONVENTION_KEYWORDS[_0x494b68(0x43f,0x446)](_0x106527=>_0x2069ec['toLowerCas'+'e']()[_0x494b68(0x466,0x453)](_0x106527[_0x526eeb(0x518,0x51b)+'e']()));if(!_0x3e9400)continue;_0x4f7312[_0x494b68(0x48d,0x45b)]({'content':_0x2069ec[_0x526eeb(0x550,0x54c)](0x0,0x1f4),'category':_0x494b68(0x504,0x4b6),'tier':_0x494b68(0x4c4,0x4d5),'tags':extractTags(_0x2069ec,'convention'),'projectPath':_0x1f61c6});}return _0x4f7312;}function extractLearnings(_0x2fe43e,_0x3c3679){function _0x5c905c(_0x35a745,_0x54e8a7){return _0x397528(_0x54e8a7- -0x488,_0x35a745);}const _0x46de13=[];function _0x1706ec(_0x1a66a1,_0xa70eb5){return _0x397528(_0x1a66a1- -0x47f,_0xa70eb5);}for(const _0x29342f of _0x2fe43e){if(_0x29342f['type']!=='human'&&_0x29342f['type']!==_0x5c905c(0x4a,-0x20))continue;const _0xe78561=getFullText(_0x29342f);if(_0xe78561[_0x5c905c(0x17,-0x2c)]<0x1e)continue;const _0x46e96d=LEARNING_KEYWORDS[_0x5c905c(-0x1b,-0x43)](_0x1b19bf=>_0xe78561[_0x1706ec(0x13,0x6d)+'e']()[_0x5c905c(-0x5e,-0x36)](_0x1b19bf['toLowerCas'+'e']()));if(!_0x46e96d)continue;_0x46de13[_0x5c905c(0x2f,-0x2e)]({'content':_0xe78561['slice'](0x0,0x320),'category':_0x5c905c(0x19,-0x11),'tier':_0x1706ec(0x59,0x15),'tags':extractTags(_0xe78561,'learning'),'projectPath':_0x3c3679});}return _0x46de13;}function getFullText(_0xae7d1e){function _0x146a3e(_0x177be9,_0x2f2bd3){return _0x451f5d(_0x2f2bd3- -0x48,_0x177be9);}function _0x4ed673(_0x5d4f96,_0xeedd89){return _0x451f5d(_0x5d4f96-0x331,_0xeedd89);}if(typeof _0xae7d1e[_0x146a3e(0x1d1,0x181)][_0x4ed673(0x4b2,0x4fb)]===_0x4ed673(0x55d,0x53a))return _0xae7d1e[_0x4ed673(0x4fa,0x4ba)][_0x4ed673(0x4b2,0x4fb)];return _0xae7d1e['message'][_0x146a3e(0x136,0x139)][_0x4ed673(0x4b3,0x4ef)](_0x5cb423=>{function _0x105ebd(_0x5a5262,_0x5d60e0){return _0x4ed673(_0x5a5262- -0x1e0,_0x5d60e0);}function _0x207777(_0x216182,_0x161849){return _0x4ed673(_0x161849-0x10f,_0x216182);}if(_0x5cb423[_0x105ebd(0x324,0x2cd)]==='text'&&_0x5cb423[_0x105ebd(0x2e2,0x318)])return _0x5cb423[_0x207777(0x595,0x5d1)];if(_0x5cb423[_0x207777(0x672,0x613)]===_0x207777(0x697,0x63f)+'t'&&_0x5cb423[_0x207777(0x606,0x5c1)])return _0x5cb423['content'];return'';})['filter'](Boolean)[_0x146a3e(0x200,0x1c3)]('\x0a');}const TECH_NAMES=[_0x397528(0x4b8,0x4cc),_0x397528(0x499,0x4c1),'angular',_0x451f5d(0x1fe,0x23e),'javascript',_0x397528(0x496,0x4c5),'java',_0x397528(0x48f,0x49e),_0x397528(0x4c7,0x46d),'redis',_0x451f5d(0x1cf,0x1d1),'kubernetes','aws',_0x451f5d(0x198,0x184),'fastapi',_0x397528(0x4ba,0x48f),_0x397528(0x447,0x486),_0x397528(0x41b,0x467),'git',_0x451f5d(0x15f,0x102),_0x451f5d(0x1e3,0x220),'webpack',_0x451f5d(0x1e6,0x1f7),_0x397528(0x4a4,0x457),'vitest','jest',_0x397528(0x42a,0x400),_0x451f5d(0x165,0x1b3)],WORK_TYPES=['deploy',_0x451f5d(0x1c1,0x1d7),'refactor','test','review',_0x397528(0x45b,0x458),'migrate',_0x397528(0x4e2,0x4de),_0x397528(0x42f,0x400),'build',_0x397528(0x4d0,0x508),_0x451f5d(0x180,0x11b),_0x451f5d(0x21e,0x216),_0x397528(0x41a,0x45f)],LOW_VALUE_EXTS=new Set(['md',_0x397528(0x435,0x3d5),_0x451f5d(0x166,0x12f),'yml','yaml',_0x397528(0x441,0x470),'html','css']),MEANINGFUL_EXTS=new Set(['py','ts',_0x451f5d(0x1ac,0x213),'js',_0x451f5d(0x203,0x1da),_0x397528(0x4b3,0x4d6),'go','rs','rb','swift','kt']);function extractTags(_0x47de12,_0x29584b){const _0x52ac0d=[_0x29584b],_0x1a58e3=_0x47de12[_0x5288ab(0xd5,0xfe)](/[\w/.-]{1,200}\.\w{1,10}/g);function _0x36dfad(_0x3fcbfc,_0x4247f1){return _0x451f5d(_0x3fcbfc-0x23a,_0x4247f1);}function _0x5288ab(_0xfc77cb,_0x628560){return _0x451f5d(_0xfc77cb- -0xb2,_0x628560);}if(_0x1a58e3){if('ZefVL'!==_0x36dfad(0x3f5,0x43f)){if(typeof _0xe797d2['message'][_0x5288ab(0xcf,0xff)]===_0x5288ab(0x17a,0x13f))return _0x1123c5[_0x5288ab(0x117,0xb5)][_0x5288ab(0xcf,0x10d)];return _0x18cb0b[_0x5288ab(0x117,0x142)]['content'][_0x36dfad(0x42f,0x418)](_0xc1cbc2=>_0xc1cbc2['type']===_0x5288ab(0xdf,0xac)&&_0xc1cbc2[_0x36dfad(0x3cb,0x41c)])[_0x36dfad(0x3bc,0x3a0)](_0x5cf139=>_0x5cf139['text'])[_0x5288ab(0x159,0x15c)]('\x0a');}else{const _0x4134b0=new Set(_0x1a58e3[_0x36dfad(0x3bc,0x35b)](_0x2b6521=>_0x2b6521[_0x36dfad(0x44f,0x3f5)]('.')[_0x5288ab(0x113,0xf6)]())['filter'](_0x161a2f=>_0x161a2f['length']<=0x5&&_0x161a2f[_0x36dfad(0x3de,0x3e8)]>0x1)['filter'](_0x367bd2=>!/^\d+$/[_0x36dfad(0x3a8,0x373)](_0x367bd2))['filter'](_0x444de3=>!LOW_VALUE_EXTS[_0x36dfad(0x45c,0x49f)](_0x444de3[_0x36dfad(0x414,0x3c4)+'e']()))[_0x36dfad(0x42f,0x45a)](_0x403ec6=>MEANINGFUL_EXTS[_0x36dfad(0x45c,0x409)](_0x403ec6['toLowerCas'+'e']())));_0x52ac0d[_0x5288ab(0xf0,0x11c)](...[..._0x4134b0][_0x5288ab(0x160,0x106)](0x0,0x2));}}const _0x53d2b1=_0x47de12['toLowerCas'+'e']();for(const _0x7924df of TECH_NAMES){_0x53d2b1['includes'](_0x7924df)&&_0x52ac0d[_0x5288ab(0xf0,0xc4)](_0x7924df);}for(const _0x43080c of WORK_TYPES){if(_0x36dfad(0x3c6,0x40f)===_0x5288ab(0xda,0x13a)){if(_0x53d2b1['includes'](_0x43080c)){if('sdjAQ'===_0x36dfad(0x400,0x3e3)){_0x52ac0d[_0x5288ab(0xf0,0xd4)](_0x43080c);break;}else{const _0x58695a=_0x20f147[_0x36dfad(0x42f,0x457)](_0x1c5549=>_0x1c5549[_0x5288ab(0x121,0x119)]===_0x36dfad(0x3ea,0x3f8))[_0x5288ab(0xd0,0xe3)](_0x45cea0=>{function _0x16d941(_0x3564ce,_0x3c36c0){return _0x36dfad(_0x3c36c0- -0x353,_0x3564ce);}if(typeof _0x45cea0[_0x16d941(0xa8,0xb0)][_0x16d941(0xc8,0x68)]===_0x16d941(0x153,0x113))return _0x45cea0[_0x16d941(0x89,0xb0)][_0x28ea78(0x395,0x364)];function _0x28ea78(_0xac6c9f,_0x3ed425){return _0x36dfad(_0xac6c9f- -0x26,_0x3ed425);}return _0x45cea0[_0x28ea78(0x3dd,0x444)][_0x28ea78(0x395,0x355)][_0x16d941(0x125,0xdc)](_0x5e381e=>_0x5e381e[_0x28ea78(0x3e7,0x435)]===_0x16d941(0xb1,0x78)&&_0x5e381e[_0x28ea78(0x3a5,0x3b2)])['map'](_0x223f4a=>_0x223f4a[_0x16d941(0x60,0x78)])[_0x28ea78(0x41f,0x41f)]('\x0a');})[_0x5288ab(0x143,0x109)](_0x105be7=>_0x105be7[_0x36dfad(0x3de,0x41a)]>0x14)[_0x36dfad(0x44c,0x46d)](-0xa);if(_0x58695a[_0x5288ab(0xf2,0x9e)]===0x0)return'';return _0x31d2e8[_0x5288ab(0xcc,0x104)](_0x58695a);}}}else{const _0x2ef437=_0x5335d4[_0x5288ab(0xeb,0x141)][_0x5288ab(0x140,0x180)];if(_0x2ef437){const _0x1e8cfa=_0x2ef437[_0x36dfad(0x440,0x405)+'f']('.'),_0x383f36=_0x1e8cfa>=0x0?_0x2ef437['slice'](_0x1e8cfa):'',_0x27453a=_0x2ef437['split']('/'),_0x37ece6=_0x27453a['slice'](-0x3,-0x1)[_0x36dfad(0x445,0x436)]('/');if(_0x383f36)_0x231b8c[_0x36dfad(0x39e,0x3ca)](_0x383f36,(_0x53a5ad[_0x36dfad(0x416,0x3ae)](_0x383f36)||0x0)+0x1);if(_0x37ece6)_0x2d31a5['set'](_0x37ece6,(_0x5ae6dc['get'](_0x37ece6)||0x0)+0x1);}}}return[...new Set(_0x52ac0d)][_0x36dfad(0x42f,0x3ec)](_0x12d5da=>_0x12d5da[_0x36dfad(0x3de,0x37b)]>=0x2&&!/^\d+$/[_0x5288ab(0xbc,0x86)](_0x12d5da))[_0x36dfad(0x3bc,0x36b)](_0x5edbe5=>_0x5edbe5['toLowerCas'+'e']())[_0x36dfad(0x44c,0x472)](0x0,0x5);}function deduplicateMemories(_0x1d48e7){return deduplicateByContent(_0x1d48e7,0.7);}const CLASSIFIABLE_CATEGORIES=[_0x397528(0x4c4,0x4ed)+_0x451f5d(0x219,0x1bf),_0x451f5d(0x230,0x220)+'rn',_0x451f5d(0x19c,0x15b),'convention',_0x397528(0x44f,0x457),_0x451f5d(0x161,0x126)+_0x451f5d(0x18e,0x148),_0x451f5d(0x1bf,0x1be)];async function _llmExtractSupplemental(_0x38f195,_0x5b9099,_0x4964e6){const _0xc4228b=_0x38f195[_0x2ef954(-0x5c,-0x44)](-0x14),_0x3d3f98=_0xc4228b[_0x58ad0b(-0xa7,-0xbb)](_0x2207fc=>{const _0x1c7c99=_0x2207fc[_0x1e1fc7(-0x108,-0xaf)]===_0x1f3de4(-0x167,-0x1a4)?_0x1f3de4(-0x20d,-0x1b9):'Assistant';function _0x1e1fc7(_0xffa370,_0x257aa6){return _0x58ad0b(_0xffa370,_0x257aa6- -0x45);}function _0x1f3de4(_0x46f420,_0x27eded){return _0x58ad0b(_0x46f420,_0x27eded- -0x127);}const _0x56cdf9=getFullText(_0x2207fc)['slice'](0x0,0x1f4);return'['+_0x1c7c99+']:\x20'+_0x56cdf9;})[_0x58ad0b(0x2,-0x48)](_0x545675=>_0x545675['length']>0xa)['join']('\x0a\x0a')[_0x58ad0b(-0x1a,-0x2b)](0x0,0x1770);function _0x58ad0b(_0x552271,_0x2bf461){return _0x451f5d(_0x2bf461- -0x23d,_0x552271);}if(!_0x3d3f98)return[];function _0x2ef954(_0x4d86a5,_0x201bb4){return _0x451f5d(_0x4d86a5- -0x26e,_0x201bb4);}const _0x414044='[{\x22categor'+_0x2ef954(-0x5d,-0x6)+_0x58ad0b(-0xb6,-0x6d)+_0x2ef954(-0x99,-0x97)+'tags\x22:\x20[\x22.'+_0x58ad0b(-0xbe,-0x5e),_0x53807a='다음\x20개발\x20대화에서'+_0x58ad0b(-0xa1,-0xc8)+_0x58ad0b(-0x24,-0x6f)+'\x20추출하세요.\x0a각각'+_0x58ad0b(-0x42,-0x44)+_0x2ef954(-0x62,-0x2b)+_0x2ef954(-0x98,-0x30)+'pattern/de'+_0x2ef954(-0xba,-0x103)+_0x2ef954(-0x5a,-0x2f)+'edge/conve'+_0x58ad0b(-0x10f,-0xc7)+'ntent,\x20tag'+'s를\x20JSON\x20배열'+'로\x20반환.\x0a\x0a대화:'+'\x0a'+_0x3d3f98+('\x0a\x0aJSON\x20배열만'+_0x58ad0b(-0x91,-0xa2)+_0x2ef954(-0x93,-0x80)+'\x0a')+_0x414044;try{const _0x3edfa0=await _0x5b9099['complete'](_0x53807a),_0xb3f5dc=_0x3edfa0[_0x2ef954(-0x9c,-0xf3)](/```(?:json)?\s*\n?([\s\S]*?)\n?```/g,'$1')[_0x2ef954(-0x83,-0x60)](),_0x53e1a1=JSON[_0x58ad0b(0x1,-0x15)](_0xb3f5dc);if(!Array[_0x58ad0b(-0x9f,-0xb8)](_0x53e1a1))return[];return _0x53e1a1[_0x2ef954(-0x79,-0xa0)](_0x578261=>_0x578261[_0x2ef954(-0xed,-0x115)]&&_0x578261[_0x2ef954(-0xed,-0x113)]['length']>=0x32&&CLASSIFIABLE_CATEGORIES[_0x2ef954(-0xd4,-0xfc)](_0x578261['category']))[_0x2ef954(-0xec,-0x153)](_0x5e6773=>({'content':_0x5e6773['content'][_0x58ad0b(-0x23,-0x2b)](0x0,0x320),'category':_0x5e6773['category'],'tier':_0x58ad0b(-0x32,-0x21),'tags':Array[_0x2ef954(-0xe9,-0xb6)](_0x5e6773[_0x58ad0b(-0x23,-0x33)])?_0x5e6773[_0x2ef954(-0x64,-0x64)][_0x2ef954(-0x5c,-0xa6)](0x0,0x5):[_0x2ef954(-0xbd,-0xcc)+_0x2ef954(-0xc4,-0xa1)],'projectPath':_0x4964e6}));}catch{return[];}}export async function extractMemoriesWithLLM(_0x208dda,_0x4178be,_0x3739fa){const _0x2e50d8=extractMemories(_0x208dda,_0x4178be);function _0x5c569c(_0x583240,_0x8acfcb){return _0x397528(_0x583240- -0x16c,_0x8acfcb);}function _0x185224(_0xdacd96,_0x26424e){return _0x397528(_0x26424e- -0x32f,_0xdacd96);}if(!_0x3739fa)return _0x2e50d8;if(_0x2e50d8[_0x185224(0xcb,0x128)]['length']<=0x3&&_0x208dda['length']>=0xa)try{const _0x35cfed=await _llmExtractSupplemental(_0x208dda,_0x3739fa,_0x4178be);_0x2e50d8['memories'][_0x185224(0x17c,0x12b)](..._0x35cfed);}catch{}const _0x178948=[_0x185224(0x13b,0x111),'decision','convention'];for(let _0xe1e9f0=0x0;_0xe1e9f0<_0x2e50d8['memories'][_0x185224(0x15a,0x12d)];_0xe1e9f0++){if(_0x5c569c(0x343,0x35c)!=='ImBVR'){if(!_0x178948[_0x185224(0x13e,0x123)](_0x2e50d8[_0x185224(0x127,0x128)][_0xe1e9f0][_0x185224(0x11e,0x153)]))continue;try{const _0x33c12e=await _0x3739fa['classify'](_0x2e50d8[_0x5c569c(0x2eb,0x321)][_0xe1e9f0][_0x185224(0x147,0x10a)],CLASSIFIABLE_CATEGORIES);CLASSIFIABLE_CATEGORIES['includes'](_0x33c12e)&&(_0x2e50d8[_0x5c569c(0x2eb,0x32a)][_0xe1e9f0]={..._0x2e50d8[_0x185224(0x17e,0x128)][_0xe1e9f0],'category':_0x33c12e});}catch{}}else{if(typeof _0x42bfe6[_0x185224(0x1a5,0x152)][_0x185224(0xbc,0x10a)]===_0x5c569c(0x378,0x349))return _0x4b8d6d[_0x5c569c(0x315,0x2f6)]['content'];return _0x475b89['message']['content'][_0x185224(0x163,0x10b)](_0x3ff51c=>{function _0x1a429e(_0xa0613d,_0x629349){return _0x5c569c(_0x629349-0x129,_0xa0613d);}if(_0x3ff51c['type']==='text'&&_0x3ff51c[_0xfb7696(0xaf,0xd8)])return _0x3ff51c[_0x1a429e(0x438,0x406)];if(_0x3ff51c[_0x1a429e(0x4a0,0x448)]==='tool_resul'+'t'&&_0x3ff51c[_0xfb7696(0xce,0xc8)])return _0x3ff51c[_0x1a429e(0x45a,0x3f6)];function _0xfb7696(_0x424fb8,_0x110e00){return _0x5c569c(_0x110e00- -0x205,_0x424fb8);}return'';})[_0x5c569c(0x341,0x2e8)](_0xe341bb)[_0x185224(0x187,0x194)]('\x0a');}}return _0x2e50d8;}const RESPONSE_META_PREFIX=/^\s*\[mode:\s/;export function isResponseFragment(_0x192613){function _0x388345(_0x293862,_0x4841d8){return _0x397528(_0x293862-0x100,_0x4841d8);}return RESPONSE_META_PREFIX[_0x388345(0x526,0x515)](_0x192613);}export async function summarizeSession(_0x304d97,_0x503f30){function _0x374281(_0x129755,_0x5ae1e0){return _0x451f5d(_0x5ae1e0-0x1af,_0x129755);}const _0x1db92e=_0x304d97[_0x598951(0xc8,0x60)](_0x3605e6=>_0x3605e6[_0x374281(0x3e8,0x382)]===_0x598951(0x83,0xc8))['map'](_0x37aeda=>{function _0x438f0e(_0x5429b8,_0x184497){return _0x598951(_0x184497- -0x1f4,_0x5429b8);}function _0x34a117(_0x469708,_0x28e7ca){return _0x598951(_0x28e7ca- -0x1a5,_0x469708);}if(_0x34a117(-0x14c,-0x14e)==='DHxnW')return _0x4390e1[_0x38cfd9]??'fact';else{if(typeof _0x37aeda['message'][_0x438f0e(-0x1af,-0x1a0)]==='string')return _0x37aeda[_0x34a117(-0xf0,-0x109)]['content'];return _0x37aeda[_0x438f0e(-0x177,-0x158)][_0x34a117(-0x149,-0x151)][_0x34a117(-0x10b,-0xdd)](_0x3d59bb=>_0x3d59bb[_0x438f0e(-0x1b1,-0x14e)]===_0x34a117(-0x126,-0x141)&&_0x3d59bb[_0x34a117(-0x100,-0x141)])[_0x438f0e(-0x147,-0x19f)](_0x5cd712=>_0x5cd712['text'])['join']('\x0a');}})[_0x598951(0xc8,0x76)](_0x3ed264=>_0x3ed264['length']>0x14)[_0x598951(0xe5,0xeb)](-0xa);function _0x598951(_0x3a250b,_0x4bb5b7){return _0x451f5d(_0x3a250b- -0x12d,_0x4bb5b7);}if(_0x1db92e[_0x374281(0x361,0x353)]===0x0)return'';return _0x503f30[_0x374281(0x343,0x32d)](_0x1db92e);}function _0x31e0(){const _0x4a53d9=['CM9Szq','7isG7yoD7zAi','BxbSzxm6cG','DgvZDa','mJu5nJu5meXzzhjWta','rxjYB3i','uMvHza','CgXHExDYAwDODa','C3rHCNrZv2L0Aa','DhjHy2vIywnR','ioUcMoYKKEYxKcdSNkdSMQNTLAaG7zw1','BNrPB24PlcbJBW','y29UzMLN','C2fTCgXLCW','CMvZB2X2zq','mJqYnty2nenKrKfxrW','qu1iywq','nZu5mdu2r1DKsKff','DhH0','C3vTBwfYAxPL','mJe1ote3rhbQBLDZ','zML4','y29UDgvUDa','BwfW','zxHJzxb0Aw9U','Bhz2yxG','AxnbCNjHEq','Aw1WB3j0','Bwf0y2G','y29UDgv4Da','Eg1S','Efzsve4','rKfjteve','B2PYu0q','C29Tzq','B3DSzwrNzq','BMv4Dc5QCW','ywX3yxLZ','Dgv4Da','vg9VBcaI','v2vIrMv0y2G','zw5ZDxjL','C29SDxrPB24','C29YDa','CNvSzq','z2nW','zMLUza','Aw5JBhvKzxm','ioUWMo2zMcaO66Ei7ygS64UK7jQ0ia','zgvJAxnPB24','Aw5WDxq','rMfPBgvK','BwvTB3jPzxm','Aw5KzxHpzG','v2vIu2vHCMnO','ChvZAa','B3b0Aw1PEMu','BgvUz3rO','C3rYyxrLz3K','zgvJAwrLza','Be5greq','BwLUzgvYpG','rgLYzwn0B3jPzq','DgvK','vxnLCG','Dhn4','iIb1C2vKia','CZOG','DxnL','yxnZAxn0yw50','BgXTlwv4DhjHyW','C3LZDgvT','y291BNq','y2LZAw9Ul3bYBW','ChjVy2vKDxjL','Bwf4','AwnHDgLVBG','phn5C3rLBs1Yzq','AwyG','DxvPza','wMvMvKW','BwLU','y29Kzs1Wyxr0zq','q0HbtKDfte9h','BgvHCM5PBMC','AhvTyw4','zgvIDwC','wxPXvKS','Cgf0DgvYBG','w0vYCM9Yxsa','Cg9W','C2rQqve','C29SDMu','y2HHBMDL','BwvZC2fNzq','y2f0zwDVCNK','Aw5ZDgfSBa','mtK1ndjAy2D0q0C','v3jPDgu','7iUSioYNGoYlNEYDHcaZFJxQSjW','zg9JA2vY','icjJB250zw50iG','zgvMia','CMvWBgfJzq','DhLWzq','DMfYia','oIaIlI4UiIWGiG','DgLVBI9JB2rLxW','Cg9ZDgDYzxnXBa','CLDSz0m','mJyXzvLsqxnm','Dg9mB3DLCKnHCW','7l2u65oCioU4LoUHNsdSL4BSNBqPoG','z2v0','cGPBu29SDxrPBW','ChL0Ag9U','lI4Ixx1D','Aw5PDgLHBgL6yq','DNvL','BxfcvfK','CMvZDa','q29KzsbTB2rPzG','zgLZy292zxj5','DML0zq','Bwf0y2HdB3vUDa','DgLTzxn0yw1W','zw52AxjVBM1LBG','y29UC3qG','DhjPBq','zxnSAw50','otCZrvDPs1jx','BuPVrKW','AwnHDgLVBIbWyq','nta0ndCWD1DHBuD1','C3r5Bgu','zMLSzv9WyxrO','CMv0DxjUia','zM9Yia','zMLSDgvY','BL0G','D3Lot1e','Dw5RBM93BG','ignHDgvNB3j5ka','zNvUy3rPB24','AMf2yq','BMfTzq','y29UDMvUDgLVBG','DhLWzxnJCMLWDa','Dg9VBf9Yzxn1Ba','CMvHy3q','y2HVC2u','zxHWCMvZCW','ANn4','Aw1WB3j0ia','Bgv0ia','BgfZDeLUzgv4tW','DuXttxK','zMLSzs1TB2rPzG','y29UzMLNDxjL','DgfNCW','AM9PBG','zxjYB3jFC29SDq','zNvUy3rPB24G','7j207zw07zAi','BxLZCwW','BMvLzcb0BW','Esi6iciUlI4Ila','C2XPy2u','7zMy6Rk97isK7kcv','AMvJDf9RBM93Ba','C3bSAxq','y2XHC3m','DhrLCM46ia','CMvSzwfZzq','DgLVBG','66Y07kgW6Rg0','Dw5KzxjZDg9Vza','C2vTyw50Awm','m2XLDhfjqq','Aw1WBgvTzw50','zxbPC29Kzq','zxbPC29KAwm','zMfJDa','AgfZ','BwvTB3j5vhLWzq','zw50CMLLCW','zgLMzIaTlwDPDa','BM93','zMLSDgvYzwq','CgfYC2u','Dg9VBf91C2u','C2v0Dxa','mteYodK1mhzLy1vlrG','C3rYAw5N','zMfPBgvK','zxjYB3i','y2XHC3mG','y29Kzv9Wyxr0zq','BwfRzsbZDxjL','q0XbvurflM1K','z3jHCgHXBa','BMv2zxi','ChjVAMvJDf9RBG','DxbNCMfKzq','BM9Kzs5QCW','C2v0','C3fSAxrL','ANnVBG','yxbWCM9Hy2G','rxHJzxb0Aw9U','BgvHCM5Lza','Dhj5'];_0x31e0=function(){return _0x4a53d9;};return _0x31e0();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
(function(_0x56833d,_0x1ed5ec){const _0x209276=_0x56833d();function _0x187f29(_0xea7c37,_0x4fefd8){return _0x4115(_0xea7c37-0x17e,_0x4fefd8);}function _0x5ada2c(_0x54242c,_0x2538a2){return _0x4115(_0x2538a2- -0x223,_0x54242c);}while(!![]){try{const _0x529723=parseInt(_0x5ada2c(-0xdc,-0xd7))/0x1+parseInt(_0x5ada2c(-0xed,-0xe3))/0x2*(-parseInt(_0x5ada2c(-0xe1,-0xdb))/0x3)+-parseInt(_0x5ada2c(-0xdb,-0xe4))/0x4*(-parseInt(_0x5ada2c(-0xd2,-0xd6))/0x5)+-parseInt(_0x5ada2c(-0xd3,-0xd2))/0x6*(parseInt(_0x187f29(0x2d0,0x2cf))/0x7)+-parseInt(_0x5ada2c(-0xe3,-0xe6))/0x8*(parseInt(_0x5ada2c(-0xe0,-0xd8))/0x9)+-parseInt(_0x187f29(0x2bc,0x2c3))/0xa*(-parseInt(_0x5ada2c(-0xdf,-0xe1))/0xb)+parseInt(_0x187f29(0x2c7,0x2c9))/0xc;if(_0x529723===_0x1ed5ec)break;else _0x209276['push'](_0x209276['shift']());}catch(_0x4d5f5e){_0x209276['push'](_0x209276['shift']());}}}(_0x9d00,0xc537a));function _0x4115(_0x44e843,_0x31f9b3){_0x44e843=_0x44e843-0x13d;const _0x9d00eb=_0x9d00();let _0x4115ee=_0x9d00eb[_0x44e843];if(_0x4115['iHYZIg']===undefined){var _0xc12ceb=function(_0x4427d5){const _0x4f20fb='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xa1b0d2='',_0x35a6b0='';for(let _0x385c3e=0x0,_0x1b6880,_0x5227ae,_0x5c908f=0x0;_0x5227ae=_0x4427d5['charAt'](_0x5c908f++);~_0x5227ae&&(_0x1b6880=_0x385c3e%0x4?_0x1b6880*0x40+_0x5227ae:_0x5227ae,_0x385c3e++%0x4)?_0xa1b0d2+=String['fromCharCode'](0xff&_0x1b6880>>(-0x2*_0x385c3e&0x6)):0x0){_0x5227ae=_0x4f20fb['indexOf'](_0x5227ae);}for(let _0x549337=0x0,_0x391c7b=_0xa1b0d2['length'];_0x549337<_0x391c7b;_0x549337++){_0x35a6b0+='%'+('00'+_0xa1b0d2['charCodeAt'](_0x549337)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x35a6b0);};_0x4115['TPJjwy']=_0xc12ceb,_0x4115['BNMBZs']={},_0x4115['iHYZIg']=!![];}const _0x45775e=_0x9d00eb[0x0],_0x2357c9=_0x44e843+_0x45775e,_0x299297=_0x4115['BNMBZs'][_0x2357c9];return!_0x299297?(_0x4115ee=_0x4115['TPJjwy'](_0x4115ee),_0x4115['BNMBZs'][_0x2357c9]=_0x4115ee):_0x4115ee=_0x299297,_0x4115ee;}import{existsSync}from'fs';import{resolve,isAbsolute}from'path';function _0x9d00(){const _0x416216=['nej0C09xsa','zxHLyW','nZDAAKXXwui','lYHBxLXZiIDCkq','ywrK','zMLSDgvY','C3rHCNrZv2L0Aa','zNjVBq','mtC5mdC0mKLTy2Lsqq','odKZnJe3mLLzEeHVrG','CMvWBgfJzq','ndG4nJaXwfLUqxLQ','mJmXntq2txDiyxL5','nJy1mZy1mefqBvrquG','BgvUz3rO','DgvZDa','xsTClM1Kkq','nNfxD1PPza','mJuXmdiYohnOqxfxBW','mteYvunNyunL','mte2mtG5mfzmBMDUCa','nezyww9QyG'];_0x9d00=function(){return _0x416216;};return _0x9d00();}export function detectMdReferences(_0xc92e7c,_0x44b6a2){const _0x2d0719=new Set();let _0x5ef64e;function _0x27c26f(_0x35b81a,_0x279d82){return _0x4115(_0x279d82-0x1d2,_0x35b81a);}const _0x302913=/\[.*?\]\(([^)]+\.md)\)/g;while((_0x5ef64e=_0x302913['exec'](_0xc92e7c))!==null){_0x2d0719[_0x27c26f(0x313,0x316)](_0x5ef64e[0x1]);}const _0x61ccfa=/(?:Source|참조|reference|파일|문서):\s*(\S+\.md)/gi;while((_0x5ef64e=_0x61ccfa[_0x17e4fa(0x305,0x308)](_0xc92e7c))!==null){_0x2d0719['add'](_0x5ef64e[0x1]);}const _0x473af7=/\(([^)\s]+\.md)\)/g;function _0x17e4fa(_0x1c062f,_0x1f1567){return _0x4115(_0x1f1567-0x1c7,_0x1c062f);}while((_0x5ef64e=_0x473af7['exec'](_0xc92e7c))!==null){_0x2d0719[_0x17e4fa(0x301,0x30b)](_0x5ef64e[0x1]);}const _0x579897=new RegExp(escapeRegex(_0x44b6a2)+(_0x17e4fa(0x304,0x30a)+_0x27c26f(0x318,0x322)),'g');while((_0x5ef64e=_0x579897['exec'](_0xc92e7c))!==null){_0x2d0719['add'](_0x5ef64e[0x1]);}const _0x7a8ebb=/(?:^|[\s"'(])(\.\.\/?[^\s"')]+\.md|[a-zA-Z0-9_-]+\/[^\s"')]+\.md)/gm;while((_0x5ef64e=_0x7a8ebb[_0x27c26f(0x311,0x313)](_0xc92e7c))!==null){_0x2d0719[_0x27c26f(0x30b,0x316)](_0x5ef64e[0x1]);}const _0x29f37e=/"filePath"\s*:\s*"([^"]+\.md)"/g;while((_0x5ef64e=_0x29f37e[_0x17e4fa(0x30b,0x308)](_0xc92e7c))!==null){const _0x216b98=_0x5ef64e[0x1];_0x216b98[_0x27c26f(0x310,0x318)](_0x44b6a2)?_0x2d0719[_0x27c26f(0x316,0x316)](_0x216b98['slice'](_0x44b6a2[_0x27c26f(0x322,0x320)]+0x1)):_0x2d0719[_0x17e4fa(0x30d,0x30b)](_0x216b98);}return Array[_0x27c26f(0x31d,0x319)](_0x2d0719)[_0x17e4fa(0x303,0x30c)](_0x4a4613=>{let _0x40292c;isAbsolute(_0x4a4613)?_0x40292c=_0x4a4613:_0x40292c=resolve(_0x44b6a2,_0x4a4613);if(/[/\\](node_modules|\.git|dist)[/\\]/[_0xa472e(-0x1c6,-0x1c4)](_0x40292c))return![];function _0xa472e(_0x424003,_0x563702){return _0x17e4fa(_0x563702,_0x424003- -0x4dc);}return existsSync(_0x40292c);});}function escapeRegex(_0x49bd1f){function _0x4ce8a2(_0x1c1c64,_0x42a6f4){return _0x4115(_0x1c1c64- -0x320,_0x42a6f4);}return _0x49bd1f[_0x4ce8a2(-0x1d6,-0x1de)](/[.*+?^${}()|[\]\\]/g,'\x5c$&');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2b00d4,_0x461bce){function _0x1edb4e(_0x195376,_0x23ae45){return _0x5d0a(_0x23ae45-0x26,_0x195376);}function _0x131f74(_0x450e18,_0x28e6eb){return _0x5d0a(_0x450e18- -0x94,_0x28e6eb);}const _0x51e5c5=_0x2b00d4();while(!![]){try{const _0x2731bd=-parseInt(_0x1edb4e(0xe2,0xdf))/0x1+-parseInt(_0x1edb4e(0xf2,0xe4))/0x2+-parseInt(_0x1edb4e(0x104,0xfa))/0x3+-parseInt(_0x131f74(0x23,0x30))/0x4+parseInt(_0x1edb4e(0xea,0xf2))/0x5+parseInt(_0x1edb4e(0xfa,0x101))/0x6+parseInt(_0x131f74(0x43,0x3a))/0x7;if(_0x2731bd===_0x461bce)break;else _0x51e5c5['push'](_0x51e5c5['shift']());}catch(_0x3efbeb){_0x51e5c5['push'](_0x51e5c5['shift']());}}}(_0x330e,0x62849));import{SENSITIVE_PATTERNS}from'../types/index.js';function _0x5d0a(_0x36ca20,_0x4c30c6){_0x36ca20=_0x36ca20-0xb6;const _0x330e41=_0x330e();let _0x5d0a28=_0x330e41[_0x36ca20];if(_0x5d0a['wsKJkE']===undefined){var _0x53f2ca=function(_0x5e6df7){const _0x27d97d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3fdeb4='',_0x5b5473='';for(let _0x410f64=0x0,_0x45c192,_0x59dbda,_0x478f9f=0x0;_0x59dbda=_0x5e6df7['charAt'](_0x478f9f++);~_0x59dbda&&(_0x45c192=_0x410f64%0x4?_0x45c192*0x40+_0x59dbda:_0x59dbda,_0x410f64++%0x4)?_0x3fdeb4+=String['fromCharCode'](0xff&_0x45c192>>(-0x2*_0x410f64&0x6)):0x0){_0x59dbda=_0x27d97d['indexOf'](_0x59dbda);}for(let _0xab3ff0=0x0,_0x1b7ca8=_0x3fdeb4['length'];_0xab3ff0<_0x1b7ca8;_0xab3ff0++){_0x5b5473+='%'+('00'+_0x3fdeb4['charCodeAt'](_0xab3ff0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5b5473);};_0x5d0a['PKenTW']=_0x53f2ca,_0x5d0a['aaBbrH']={},_0x5d0a['wsKJkE']=!![];}const _0x3bb705=_0x330e41[0x0],_0x3636d7=_0x36ca20+_0x3bb705,_0x48c1b5=_0x5d0a['aaBbrH'][_0x3636d7];return!_0x48c1b5?(_0x5d0a28=_0x5d0a['PKenTW'](_0x5d0a28),_0x5d0a['aaBbrH'][_0x3636d7]=_0x5d0a28):_0x5d0a28=_0x48c1b5,_0x5d0a28;}function _0xb13aac(_0x3e7ac3,_0x14a462){return _0x5d0a(_0x14a462-0x122,_0x3e7ac3);}function _0x5ae9ab(_0x32f0b,_0x4b24a0){return _0x5d0a(_0x4b24a0- -0x3bd,_0x32f0b);}export const PATTERN_LABELS=[_0xb13aac(0x1fa,0x1ec)+_0x5ae9ab(-0x2fc,-0x2eb),'AWS_SECRET'+_0x5ae9ab(-0x2e5,-0x2eb),_0xb13aac(0x1e9,0x1ed)+_0xb13aac(0x1f5,0x1f4),_0x5ae9ab(-0x309,-0x2fb),'OPENAI_KEY',_0xb13aac(0x20b,0x1f8),'GITHUB_TOK'+'EN',_0xb13aac(0x1e8,0x1e2),_0x5ae9ab(-0x2e1,-0x2ef),_0xb13aac(0x1de,0x1e6)+'EN','EMAIL',_0xb13aac(0x1d4,0x1dc)+_0x5ae9ab(-0x2f6,-0x2ec),_0x5ae9ab(-0x2ee,-0x2e3)+'N',_0xb13aac(0x1e8,0x1df)+_0xb13aac(0x1ee,0x1e3),_0xb13aac(0x1f7,0x1fa),_0xb13aac(0x1e2,0x1e7),'DB_CONNECT'+_0x5ae9ab(-0x2eb,-0x2ed),_0xb13aac(0x1f3,0x1e9),_0x5ae9ab(-0x316,-0x303)+'Y_OTHER','CERTIFICAT'+'E','JWT_TOKEN',_0x5ae9ab(-0x2da,-0x2e4)+_0xb13aac(0x1e5,0x1e3),'KOREAN_SSN',_0xb13aac(0x1ff,0x1f1)];export function filterSensitiveInfo(_0x4b2c0c){function _0x577a2c(_0x145e4f,_0x4f911e){return _0xb13aac(_0x4f911e,_0x145e4f- -0x3);}let _0x4ecef2=_0x4b2c0c;function _0x26e9c6(_0x127d5b,_0x1e9bfe){return _0xb13aac(_0x127d5b,_0x1e9bfe- -0x425);}let _0x1e0495=0x0;for(let _0x15ac8a=0x0;_0x15ac8a<SENSITIVE_PATTERNS[_0x26e9c6(-0x231,-0x230)];_0x15ac8a++){const _0x241700=new RegExp(SENSITIVE_PATTERNS[_0x15ac8a]['source'],SENSITIVE_PATTERNS[_0x15ac8a][_0x26e9c6(-0x234,-0x22e)]),_0x3fe184=PATTERN_LABELS[_0x15ac8a]??_0x577a2c(0x1fb,0x1fb),_0x1541b3=_0x4ecef2[_0x26e9c6(-0x259,-0x24b)](_0x241700);_0x1541b3&&(_0x1e0495+=_0x1541b3['length'],_0x4ecef2=_0x4ecef2[_0x577a2c(0x1e2,0x1ef)](_0x241700,_0x577a2c(0x1d5,0x1cc)+_0x3fe184+']'));}return{'filtered':_0x4ecef2,'matchCount':_0x1e0495};}export function isSensitivePath(_0x1a8af1,_0x1bc8e2){function _0x2ac2fc(_0x3f9b19,_0x25cad4){return _0x5ae9ab(_0x25cad4,_0x3f9b19-0x51a);}const _0x3e8247=_0x1a8af1[_0x2ac2fc(0x226,0x222)]('/')[_0x15f9b4(0x358,0x344)]()??_0x1a8af1;function _0x15f9b4(_0x46c32a,_0x3d3abf){return _0x5ae9ab(_0x3d3abf,_0x46c32a-0x656);}for(const _0x4737f4 of _0x1bc8e2){if(_0x2ac2fc(0x23a,0x23a)===_0x2ac2fc(0x219,0x21d))_0x1460a1+=_0x46a14f['length'],_0x521a77=_0x42624c['replace'](_0xcfb1fe,_0x2ac2fc(0x213,0x21f)+_0x574868+']');else{if(_0x4737f4[_0x2ac2fc(0x225,0x233)]('*')){if(_0x2ac2fc(0x223,0x223)!==_0x2ac2fc(0x223,0x228)){if(_0x4e9484[_0x2ac2fc(0x225,0x212)]('*')){const _0x21922a=_0x4221b8[_0x2ac2fc(0x218,0x215)](0x1);if(_0x436468[_0x2ac2fc(0x22a,0x222)](_0x21922a))return!![];}else{if(_0x5c8c67[_0x2ac2fc(0x22a,0x21d)]('*')){const _0x1624b1=_0x216d65[_0x15f9b4(0x354,0x363)](0x0,-0x1);if(_0x1ce008['startsWith'](_0x1624b1))return!![];}else{if(_0x4a8663===_0x526f05)return!![];}}}else{const _0xeebb6f=_0x4737f4[_0x2ac2fc(0x218,0x20a)](0x1);if(_0x3e8247['endsWith'](_0xeebb6f))return!![];}}else{if(_0x4737f4[_0x2ac2fc(0x22a,0x21a)]('*')){const _0x39b814=_0x4737f4[_0x15f9b4(0x354,0x343)](0x0,-0x1);if(_0x3e8247[_0x15f9b4(0x361,0x353)](_0x39b814))return!![];}else{if(_0x3e8247===_0x4737f4)return!![];}}}}return![];}function _0x330e(){const _0x3e83cf=['qvbjx0Tfwq','s0vo','qvPvuKvFs0vz','CMvWBgfJzq','qKvbuKvsx1rpsW','ufLqsv9ut0TftG','BgDlzw8','rejFru5wx1zbuG','C3rHCNrZv2L0Aa','C3bSAxq','qvDtx0fdq0vtuW','r09pr0Xfx0fqsq','mJK3ndi1qK5ts09p','zw5KC1DPDgG','u0vduKvu','s09srufox0jstG','su9o','wv9su0e','x0Tfwq','BgvUz3rO','mte1mJuYmM5fDLfiCG','zMXHz3m','u1rssvbfx0Tfwq','nZm5nJG0nfHSsMPVAW','tLbnx1rps0vo','uKvguKvtsf9utW','u0Xbq0TFve9lrq','ndu2mdG3me5tAuzgEG','u0vou0Lusvzf','t05dz24','w1jfrefdvevexW','mJi3nJa2mhDmrhHTvq','Bwf0y2G','ntKZnZbJuMfeqxK','ufjjvKfurv9lrq','C2XPy2u','sxL3CKK','reLtq09srf9utW','otiWndy4Ee9IEujo','Cg9W'];_0x330e=function(){return _0x3e83cf;};return _0x330e();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x57b19c,_0x20f9cc){function _0x538f55(_0x1ca64a,_0x976654){return _0x4200(_0x1ca64a-0x2c8,_0x976654);}function _0x1b4d87(_0x10a606,_0x3d704b){return _0x4200(_0x10a606-0xc7,_0x3d704b);}const _0x4438f3=_0x57b19c();while(!![]){try{const _0x417e73=parseInt(_0x1b4d87(0x29b,0x28d))/0x1+parseInt(_0x1b4d87(0x282,0x271))/0x2*(parseInt(_0x1b4d87(0x293,0x28a))/0x3)+-parseInt(_0x1b4d87(0x2a3,0x2c2))/0x4*(-parseInt(_0x538f55(0x471,0x48d))/0x5)+parseInt(_0x538f55(0x46b,0x45d))/0x6+parseInt(_0x1b4d87(0x287,0x26d))/0x7+-parseInt(_0x538f55(0x48e,0x49c))/0x8+-parseInt(_0x1b4d87(0x269,0x28b))/0x9*(parseInt(_0x1b4d87(0x275,0x277))/0xa);if(_0x417e73===_0x20f9cc)break;else _0x4438f3['push'](_0x4438f3['shift']());}catch(_0x3dca0a){_0x4438f3['push'](_0x4438f3['shift']());}}}(_0x1be2,0x2c1d8));const DEFAULT_THRESHOLD=0.6,TRIVIAL_TOOLS=new Set([_0x16b7b9(-0xe0,-0xf1),_0x1a9cd2(-0x9b,-0x7e),_0x16b7b9(-0xb2,-0x98),'LS',_0x1a9cd2(-0xb2,-0x8d)+_0x1a9cd2(-0xa7,-0xa2),_0x16b7b9(-0xbc,-0xe4),_0x16b7b9(-0xca,-0xc8),'AskFollowu'+_0x16b7b9(-0xa1,-0x83)]),CONFIG_EXTENSIONS=new Set([_0x16b7b9(-0x9f,-0xc1),_0x16b7b9(-0xbb,-0xdd),'.yml','.toml','.ini',_0x16b7b9(-0xea,-0xe6),_0x1a9cd2(-0xe4,-0xcc),_0x16b7b9(-0xeb,-0xdd),_0x1a9cd2(-0xe5,-0x105)+'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(_0x2b0584,_0x8055a3,_0x2ea4c9=DEFAULT_THRESHOLD){const _0x4c5502=[],_0xa58092=detectErrorResolution(_0x2b0584,_0x8055a3);_0x4c5502['push']({'name':'error_reso'+_0x4014a3(0x2f1,0x2eb),'score':0.7,'matched':_0xa58092});const _0x5d3b98=_0x8055a3[_0x4dd361(-0x59,-0x76)]??detectNewFile(_0x2b0584);_0x4c5502[_0x4dd361(-0x5c,-0x44)]({'name':_0x4014a3(0x2e1,0x303)+_0x4dd361(-0x6e,-0x86),'score':0.7,'matched':_0x5d3b98});const _0x46f12a=_0x8055a3[_0x4014a3(0x302,0x30f)+'ange']??detectConfigChange(_0x2b0584,_0x8055a3);function _0x4dd361(_0x127f53,_0x364667){return _0x1a9cd2(_0x127f53-0x5b,_0x364667);}_0x4c5502[_0x4014a3(0x2fc,0x30a)]({'name':'config_cha'+_0x4014a3(0x306,0x30f),'score':0.6,'matched':_0x46f12a});const _0x5b3eab=detectCodeModification(_0x8055a3);_0x4c5502[_0x4dd361(-0x5c,-0x38)]({'name':'code_modif'+_0x4014a3(0x308,0x2fa),'score':0.5,'matched':_0x5b3eab});const _0x3b7fbd=detectTrivialAction(_0x8055a3);_0x4c5502[_0x4dd361(-0x5c,-0x4a)]({'name':_0x4014a3(0x307,0x31f)+_0x4014a3(0x2db,0x2ea),'score':-0.3,'matched':_0x3b7fbd});const _0x1cf809=detectBashImportant(_0x8055a3);_0x4c5502[_0x4dd361(-0x5c,-0x53)]({'name':_0x4014a3(0x2f4,0x309)+'tant_comma'+'nd','score':0.5,'matched':_0x1cf809});function _0x4014a3(_0x553e39,_0x3220b6){return _0x1a9cd2(_0x553e39-0x3b3,_0x3220b6);}const _0x38f80c=detectBashTrivial(_0x8055a3);_0x4c5502['push']({'name':_0x4dd361(-0x75,-0x82)+_0x4dd361(-0x91,-0x8d),'score':-0.4,'matched':_0x38f80c});const _0x23ebc2=(_0x8055a3[_0x4014a3(0x2e6,0x2c9)+_0x4dd361(-0x63,-0x42)]??0x0)>=0x3;_0x4c5502[_0x4dd361(-0x5c,-0x80)]({'name':_0x4dd361(-0x5a,-0x69)+_0x4dd361(-0x4f,-0x55),'score':0.3,'matched':_0x23ebc2});const _0x4fecf8=_0x4c5502[_0x4014a3(0x2e9,0x2e2)](_0x435bc9=>_0x435bc9[_0x4014a3(0x2df,0x2ca)])[_0x4dd361(-0x74,-0x83)]((_0x4e5afd,_0x2bb1ca)=>_0x4e5afd+_0x2bb1ca[_0x4014a3(0x300,0x30a)],0x0),_0x1fd171=Math[_0x4dd361(-0x85,-0x66)](0x0,Math[_0x4dd361(-0x76,-0x86)](0x1,_0x4fecf8));return{'totalScore':_0x1fd171,'signals':_0x4c5502,'shouldCapture':_0x1fd171>=_0x2ea4c9};}function detectErrorResolution(_0x598904,_0x581d09){function _0xab14b3(_0x248293,_0x57d26f){return _0x16b7b9(_0x248293-0x1de,_0x57d26f);}if(_0x581d09[_0xab14b3(0x13a,0x149)])return!![];const _0x47cfc7=extractTextContent(_0x598904),_0x9b290b=[_0xab14b3(0x10f,0xed),_0x584361(-0xbc,-0xd1),_0x584361(-0xf0,-0x10f),_0x584361(-0xb4,-0xad),_0xab14b3(0x118,0x11f),_0xab14b3(0xfc,0xe7),_0x584361(-0xcb,-0xcd),_0x584361(-0xb3,-0xa6),_0x584361(-0xe9,-0xd3),_0xab14b3(0x110,0x128),_0xab14b3(0x106,0x11d),_0x584361(-0xf4,-0xfd)],_0x241837=_0x9b290b[_0xab14b3(0x137,0x13c)](_0x5d675a=>_0x47cfc7[_0x584361(-0xc9,-0xb0)](_0x5d675a));if(!_0x241837)return![];const _0x18e7f6=[_0x584361(-0xc8,-0xa1),_0xab14b3(0x13c,0x11f),_0xab14b3(0xf0,0xe9),_0xab14b3(0xfd,0x122),_0x584361(-0xab,-0xc1),'해결','수정'];function _0x584361(_0x2818e1,_0x322bc6){return _0x16b7b9(_0x2818e1- -0xb,_0x322bc6);}const _0x335a37=_0x18e7f6[_0x584361(-0xb2,-0xb0)](_0x20a26b=>_0x47cfc7[_0xab14b3(0x115,0x102)+'e']()['includes'](_0x20a26b));return _0x335a37;}function detectNewFile(_0x95cdea){function _0x4dee05(_0x15461a,_0x46b5ff){return _0x16b7b9(_0x46b5ff-0x518,_0x15461a);}function _0x486662(_0x50dab9,_0x450370){return _0x16b7b9(_0x450370-0x195,_0x50dab9);}if(!Array[_0x4dee05(0x40c,0x434)](_0x95cdea[_0x486662(0xab,0xb6)]['content']))return![];return _0x95cdea['message']['content'][_0x4dee05(0x46a,0x471)](_0x854ff4=>_0x854ff4[_0x486662(0xa5,0xaf)]==='tool_use'&&_0x854ff4[_0x486662(0xcd,0xcd)]===_0x4dee05(0x449,0x46c)&&_0x854ff4[_0x486662(0xa8,0xa9)]!==undefined);}function detectConfigChange(_0x259d12,_0x20c804){if(_0x20c804['toolName']===_0x4ff9f9(-0xca,-0xf0)||_0x20c804[_0x4c73e8(-0x158,-0x143)]===_0x4c73e8(-0x13d,-0x124)){if('xWHLU'!==_0x4c73e8(-0x162,-0x13b)){if(_0x2bf83['toolName']===_0x4c73e8(-0x134,-0x11d)||_0x3f22b6[_0x4c73e8(-0x137,-0x143)]===_0x4ff9f9(-0xd1,-0xc7)){const _0x542110=_0x3c76c4(_0x4eaf63);return[..._0x564140]['some'](_0x27f483=>_0x542110[_0x4c73e8(-0x144,-0x136)](_0x27f483));}return![];}else{const _0x41fb9b=extractTextContent(_0x259d12);return[...CONFIG_EXTENSIONS][_0x4ff9f9(-0xcc,-0xc1)](_0x53d534=>_0x41fb9b['includes'](_0x53d534));}}function _0x4ff9f9(_0x4f29f4,_0x54808d){return _0x1a9cd2(_0x4f29f4- -0x28,_0x54808d);}function _0x4c73e8(_0x4e4fa2,_0x1d4bc8){return _0x1a9cd2(_0x1d4bc8- -0x7b,_0x4e4fa2);}return![];}function detectCodeModification(_0x1922e7){function _0x2a7a80(_0x5ab470,_0xfedcad){return _0x16b7b9(_0xfedcad-0x452,_0x5ab470);}if(_0x1922e7['toolName']===_0x2a7a80(0x3cc,0x3ad))return!![];function _0x1db14d(_0x17b39d,_0x58c4ec){return _0x16b7b9(_0x58c4ec-0x5da,_0x17b39d);}if(_0x1922e7['toolName']===_0x2a7a80(0x385,0x3a6)&&!_0x1922e7[_0x2a7a80(0x3a2,0x39b)])return!![];return![];}function _0x1be2(){const _0xa03913=['mJDsu3j1zfu','mte3nJG1mLvks3rkBq','DgLVBG','y29UDgvUDa','C3rYAw5N','7jEq65+SoG','Bwf0y2HLza','nZa0nZvNu3LWuhu','BMv3x2zPBgvFyW','BwLU','yMfZAf90CML2Aq','CMvKDwnL','mJa4otm3meHUreDODW','zwrPDgvKrMLSzq','zxjYB3i6','vhjHy2vIywnR','zMLSDgvY','CMvHDgLVBG','Dg9VBe5HBwu','v2vIu2vHCMnO','Dg9mB3DLCKnHCW','BMfTzq','yMfZAenVBw1HBG','rxHJzxb0Aw9UoG','Bhv0Aw9U','mJK3nZzPChrpsvq','EfDitfu','yMfZAf9PBxbVCG','q291BNq','rMfPBgvKoG','mtyXmZm4mwfIyxzgBq','Aw5JBhvKzxm','CMvZB2X2zwq','v2vIrMv0y2G','lNLHBwW','ChvZAa','mJC2mJKWnfjQsvjJsW','BxvSDgLFzMLSzq','AxnozxDgAwXL','C2nVCMu','tgLZDerPCMvJDa','AxndB25MAwDdAa','ndjkCwHLrNi','r3jLCa','rxjYB3i6','BMDL','DhjPDMLHBf9HyW','AwnHDgLVBG','x2vKAxq','v3jPDgu','mZq4nJCZB3njExzk','B3j5','zxHJzxb0Aw9UoG','rKfjteveoG','C29Tzq','Dgv4Da','rwrPDa','AgfZrxjYB3i','ndHQrMPys2W','zML4zwq','Cff1zxn0Aw9U','D29YA2fYB3vUza','lMPZB24','r2XVyG','ywXFy29TBwfUza','C29SDxrPB24','DgvZDa','Aw5WDxq','lMvUDG','lMnMzW','7jIK66wyoG','lNbYB3bLCNrPzq','lMnVBMzPzW','DhLWzq','rvjst1i6','AxnbCNjHEq','Bwf4','zMfPBgvKoG','C29SDMvK','uMvHza','BwvZC2fNzq','DhjHy2vIywnR'];_0x1be2=function(){return _0xa03913;};return _0x1be2();}function detectTrivialAction(_0x7a4c66){if(!_0x7a4c66['toolName'])return![];return TRIVIAL_TOOLS['has'](_0x7a4c66['toolName']);}function _0x16b7b9(_0x5501d5,_0x7f7d03){return _0x4200(_0x5501d5- -0x27f,_0x7f7d03);}function detectBashImportant(_0x5ba126){function _0x304d5d(_0x5e5398,_0x5a2907){return _0x1a9cd2(_0x5a2907-0x596,_0x5e5398);}if(!_0x5ba126[_0x22537a(-0x1ac,-0x189)+'d'])return![];function _0x22537a(_0x1dc1d5,_0x3cb798){return _0x1a9cd2(_0x3cb798- -0xc5,_0x1dc1d5);}return IMPORTANT_BASH['test'](_0x5ba126[_0x22537a(-0x19b,-0x189)+'d']);}function _0x1a9cd2(_0x4294f4,_0x5bedf9){return _0x4200(_0x4294f4- -0x27c,_0x5bedf9);}function detectBashTrivial(_0x503d52){function _0x29f92c(_0x511eaa,_0x2083f7){return _0x16b7b9(_0x2083f7-0x15a,_0x511eaa);}if(!_0x503d52['bashComman'+'d'])return![];return TRIVIAL_BASH[_0x29f92c(0x82,0x6d)](_0x503d52['bashComman'+'d']);}function _0x4200(_0x2c2c77,_0x519931){_0x2c2c77=_0x2c2c77-0x190;const _0x1be2a8=_0x1be2();let _0x42002e=_0x1be2a8[_0x2c2c77];if(_0x4200['wuDJUN']===undefined){var _0x5f1e90=function(_0x289a8a){const _0x27ccf9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x570cc6='',_0x252f94='';for(let _0x35ab9c=0x0,_0x3c03cd,_0x2f7259,_0x476fc5=0x0;_0x2f7259=_0x289a8a['charAt'](_0x476fc5++);~_0x2f7259&&(_0x3c03cd=_0x35ab9c%0x4?_0x3c03cd*0x40+_0x2f7259:_0x2f7259,_0x35ab9c++%0x4)?_0x570cc6+=String['fromCharCode'](0xff&_0x3c03cd>>(-0x2*_0x35ab9c&0x6)):0x0){_0x2f7259=_0x27ccf9['indexOf'](_0x2f7259);}for(let _0x48da6a=0x0,_0x14e1e6=_0x570cc6['length'];_0x48da6a<_0x14e1e6;_0x48da6a++){_0x252f94+='%'+('00'+_0x570cc6['charCodeAt'](_0x48da6a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x252f94);};_0x4200['MhDdna']=_0x5f1e90,_0x4200['chKXbZ']={},_0x4200['wuDJUN']=!![];}const _0x5400c3=_0x1be2a8[0x0],_0x458ded=_0x2c2c77+_0x5400c3,_0x35f2d5=_0x4200['chKXbZ'][_0x458ded];return!_0x35f2d5?(_0x42002e=_0x4200['MhDdna'](_0x42002e),_0x4200['chKXbZ'][_0x458ded]=_0x42002e):_0x42002e=_0x35f2d5,_0x42002e;}function extractTextContent(_0x1d4a02){function _0x31478d(_0x53e912,_0x4db5f7){return _0x16b7b9(_0x4db5f7-0x601,_0x53e912);}if(typeof _0x1d4a02[_0x41b6c0(-0x24,-0x1d)][_0x31478d(0x508,0x527)]===_0x31478d(0x543,0x528))return _0x1d4a02['message']['content'];function _0x41b6c0(_0x2df8e2,_0x235b1f){return _0x16b7b9(_0x2df8e2-0xbb,_0x235b1f);}return _0x1d4a02[_0x41b6c0(-0x24,-0xb)][_0x41b6c0(-0x1f,-0x2c)][_0x31478d(0x523,0x534)](_0x56bf3e=>_0x56bf3e[_0x41b6c0(-0x2b,-0x2b)]===_0x31478d(0x56c,0x55b)&&_0x56bf3e[_0x41b6c0(0x15,0x1b)])['map'](_0x324b79=>_0x324b79[_0x31478d(0x536,0x55b)])['join']('\x0a');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2ff8(_0x32a3e0,_0x190615){_0x32a3e0=_0x32a3e0-0x192;const _0x41bdfc=_0x41bd();let _0x2ff859=_0x41bdfc[_0x32a3e0];if(_0x2ff8['onUgQV']===undefined){var _0x264e22=function(_0x15edf1){const _0x27712e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5d787a='',_0x22fddd='';for(let _0x56562d=0x0,_0x5f145a,_0x4fd9e6,_0x347817=0x0;_0x4fd9e6=_0x15edf1['charAt'](_0x347817++);~_0x4fd9e6&&(_0x5f145a=_0x56562d%0x4?_0x5f145a*0x40+_0x4fd9e6:_0x4fd9e6,_0x56562d++%0x4)?_0x5d787a+=String['fromCharCode'](0xff&_0x5f145a>>(-0x2*_0x56562d&0x6)):0x0){_0x4fd9e6=_0x27712e['indexOf'](_0x4fd9e6);}for(let _0x3af91f=0x0,_0x1f36aa=_0x5d787a['length'];_0x3af91f<_0x1f36aa;_0x3af91f++){_0x22fddd+='%'+('00'+_0x5d787a['charCodeAt'](_0x3af91f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x22fddd);};_0x2ff8['rQnrKK']=_0x264e22,_0x2ff8['QblvXF']={},_0x2ff8['onUgQV']=!![];}const _0x40e34e=_0x41bdfc[0x0],_0x37e629=_0x32a3e0+_0x40e34e,_0x443ef3=_0x2ff8['QblvXF'][_0x37e629];return!_0x443ef3?(_0x2ff859=_0x2ff8['rQnrKK'](_0x2ff859),_0x2ff8['QblvXF'][_0x37e629]=_0x2ff859):_0x2ff859=_0x443ef3,_0x2ff859;}(function(_0x563be7,_0x55f6c3){function _0x1ce771(_0x3d3323,_0x2b63d4){return _0x2ff8(_0x3d3323- -0x2d4,_0x2b63d4);}function _0x170b8a(_0x44c518,_0x4e3a70){return _0x2ff8(_0x44c518-0x320,_0x4e3a70);}const _0x1e5329=_0x563be7();while(!![]){try{const _0x208538=-parseInt(_0x170b8a(0x4c1,0x4c3))/0x1+parseInt(_0x1ce771(-0x13c,-0x137))/0x2+-parseInt(_0x170b8a(0x4b2,0x4ab))/0x3+parseInt(_0x1ce771(-0x131,-0x12f))/0x4+parseInt(_0x1ce771(-0x134,-0x136))/0x5*(-parseInt(_0x170b8a(0x4bd,0x4c6))/0x6)+parseInt(_0x170b8a(0x4b6,0x4b4))/0x7+parseInt(_0x1ce771(-0x136,-0x130))/0x8;if(_0x208538===_0x55f6c3)break;else _0x1e5329['push'](_0x1e5329['shift']());}catch(_0x1c95a2){_0x1e5329['push'](_0x1e5329['shift']());}}}(_0x41bd,0x633df));export function jaccardSimilarity(_0x3b7e60,_0x242e11){const _0x16c7bc=new Set(tokenize(_0x3b7e60)),_0x512d90=new Set(tokenize(_0x242e11));if(_0x16c7bc[_0x7f294c(0x89,0x8d)]===0x0&&_0x512d90['size']===0x0)return 0x1;if(_0x16c7bc[_0x7f294c(0x89,0x8c)]===0x0||_0x512d90[_0x7f294c(0x89,0x88)]===0x0)return 0x0;function _0x7f294c(_0x7a2e87,_0x38baed){return _0x2ff8(_0x7a2e87- -0x10c,_0x38baed);}let _0x20e73a=0x0;for(const _0x5db2d0 of _0x16c7bc){if(_0x7f294c(0x8b,0x91)===_0x308699(0x99,0x93)){if(_0x512d90[_0x308699(0x93,0x9b)](_0x5db2d0))_0x20e73a++;}else _0x5a910a['push'](_0x1d37b7);}const _0xc7ee0a=_0x16c7bc[_0x308699(0x98,0x91)]+_0x512d90[_0x308699(0x97,0x91)]-_0x20e73a;if(_0xc7ee0a===0x0)return 0x1;function _0x308699(_0x5aa73e,_0x246753){return _0x2ff8(_0x246753- -0x104,_0x5aa73e);}return _0x20e73a/_0xc7ee0a;}export function cosineSimilarity(_0x17566a,_0x2ef1e2){if(_0x17566a[_0x5a6547(0x26a,0x269)]!==_0x2ef1e2['length']||_0x17566a[_0x5a6547(0x269,0x269)]===0x0)return 0x0;let _0x5446c5=0x0;function _0x69cd3e(_0xf469e8,_0x27a945){return _0x2ff8(_0xf469e8- -0xca,_0x27a945);}function _0x5a6547(_0x5ec1f8,_0x9fe865){return _0x2ff8(_0x9fe865-0xcf,_0x5ec1f8);}let _0xf7f35d=0x0,_0x2582f9=0x0;for(let _0xb11b17=0x0;_0xb11b17<_0x17566a[_0x5a6547(0x262,0x269)];_0xb11b17++){_0x5446c5+=_0x17566a[_0xb11b17]*_0x2ef1e2[_0xb11b17],_0xf7f35d+=_0x17566a[_0xb11b17]*_0x17566a[_0xb11b17],_0x2582f9+=_0x2ef1e2[_0xb11b17]*_0x2ef1e2[_0xb11b17];}const _0x2a6f9d=Math['sqrt'](_0xf7f35d)*Math['sqrt'](_0x2582f9);if(_0x2a6f9d===0x0)return 0x0;return _0x5446c5/_0x2a6f9d;}export function deduplicateByContent(_0x207c40,_0x154a3b=0.7){const _0x4977f1=[];function _0x2c937f(_0x31c8ab,_0x2d2904){return _0x2ff8(_0x31c8ab- -0x340,_0x2d2904);}for(const _0x5aa8ec of _0x207c40){const _0x27ed94=_0x4977f1[_0x2c937f(-0x1ac,-0x1a5)](_0x2b4fd1=>_0x2b4fd1[_0x2c937f(-0x1a4,-0x1a8)]===_0x5aa8ec[_0x1f8b2d(0x4,0xb)]&&jaccardSimilarity(_0x2b4fd1['content'],_0x5aa8ec[_0x1f8b2d(0x7,0x8)])>=_0x154a3b);!_0x27ed94&&_0x4977f1['push'](_0x5aa8ec);}function _0x1f8b2d(_0x96d5b8,_0x5163d0){return _0x2ff8(_0x5163d0- -0x191,_0x96d5b8);}return _0x4977f1;}function _0x41bd(){const _0x2c18ed=['C2L6zq','mJyXnJi0m25VAMDHrG','DePYsLG','mJqWntu4sevcrLvs','y29UDgvUDa','BgvUz3rO','zw1IzwrKAw5N','y2f0zwDVCNK','otK2mJGYAwzOtuHq','ndeWmJGWmhDnENH6uW','AgfZ','mtvoz0rjt3e','mZiXmdKXuKPVsgvN','ChvZAa','mtC5otKYogDJwu16yW','nJKZmZK5CvjLCKDP','zMLSDgvY','C29Tzq'];_0x41bd=function(){return _0x2c18ed;};return _0x41bd();}export function deduplicateByEmbedding(_0x4e3cab,_0x160903=0.8){function _0x82220c(_0x5d486b,_0x1ffb7d){return _0x2ff8(_0x5d486b- -0x330,_0x1ffb7d);}const _0x4aa0af=[];function _0x32154f(_0x5e0ddc,_0x444ef4){return _0x2ff8(_0x5e0ddc-0x4c,_0x444ef4);}for(const _0x482c51 of _0x4e3cab){if(!_0x482c51[_0x82220c(-0x195,-0x199)]){if('irpFU'==='bfUcL'){if(_0x48b222[_0x82220c(-0x191,-0x195)](_0x498dd0))_0x444b63++;}else{_0x4aa0af[_0x32154f(0x1ee,0x1f4)](_0x482c51);continue;}}const _0x5923ad=_0x4aa0af[_0x82220c(-0x19c,-0x1a3)](_0x5316a1=>_0x5316a1[_0x32154f(0x1e7,0x1ee)]&&cosineSimilarity(_0x5316a1[_0x32154f(0x1e7,0x1e4)],_0x482c51[_0x32154f(0x1e7,0x1f0)])>=_0x160903);!_0x5923ad&&_0x4aa0af['push'](_0x482c51);}return _0x4aa0af;}function tokenize(_0x3b3ac4){function _0x49bc0f(_0x452485,_0x42d3d4){return _0x2ff8(_0x42d3d4-0xe3,_0x452485);}function _0xbe10db(_0x1d1f79,_0xd6973){return _0x2ff8(_0x1d1f79-0x6b,_0xd6973);}return _0x3b3ac4['toLowerCas'+'e']()['split'](/[\s\p{P}]+/u)[_0x49bc0f(0x271,0x276)](_0x158e37=>_0x158e37[_0xbe10db(0x205,0x1fd)]>0x1);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0xe59f(){const _0x1ec127=['AMvJDa','mtjqzxLvwNC','DxjS','yxv0B19Jyxb0Dq','ndm0mZe2EfjkvKzz','C2vYDMvY','CMvHBhrPBwvjBG','ywnRAw5N','zw5HyMXLza','yxv0B0nHChr1CG','nZK4nte0Dej5EhjU','yxbPs2v5','C2vYDMvYx3n5BG','zw1IzwrKAw5N','yxv0B0LUAMvJDa','yxv0B19PBMPLyW','BgLMzwn5y2XL','mtq2nJm2nfD6zwTvBW','ndaZoty2ngL1rMnZrq','ChvZAa','nZK1mtHREfvTvvO','zw1VDgLVBL90CG','C2v0rw5HyMXLza','zxjZAw9U','mtG3otCWme9pA3riza','yxv0B1n5BMm','mtiYmZG0nujvruPdzq','zw1VDgLVBLrYyq','BMPLy3q','CNnPB24','rMvHDhvYzxm','ChjVzMLJAwvUyW','ouf1BMf0vq','y2XLyw51Ce9UuW'];_0xe59f=function(){return _0x1ec127;};return _0xe59f();}(function(_0x142678,_0x4b9b6d){const _0x303b20=_0x142678();function _0x391374(_0x103425,_0x161e15){return _0x1b37(_0x161e15- -0x7d,_0x103425);}function _0x453ed5(_0x1a015a,_0x3d7606){return _0x1b37(_0x3d7606-0x3cf,_0x1a015a);}while(!![]){try{const _0x660c6b=parseInt(_0x391374(0xea,0xf4))/0x1+-parseInt(_0x453ed5(0x529,0x536))/0x2+parseInt(_0x453ed5(0x53f,0x530))/0x3*(parseInt(_0x391374(0xf1,0xe1))/0x4)+-parseInt(_0x453ed5(0x52e,0x522))/0x5+parseInt(_0x453ed5(0x542,0x53d))/0x6+-parseInt(_0x453ed5(0x51a,0x524))/0x7+parseInt(_0x453ed5(0x542,0x53e))/0x8*(parseInt(_0x453ed5(0x51a,0x52a))/0x9);if(_0x660c6b===_0x4b9b6d)break;else _0x303b20['push'](_0x303b20['shift']());}catch(_0x25cd5b){_0x303b20['push'](_0x303b20['shift']());}}}(_0xe59f,0x4c742));function _0x1b37(_0x49dcaa,_0x50eea9){_0x49dcaa=_0x49dcaa-0x152;const _0xe59fae=_0xe59f();let _0x1b376c=_0xe59fae[_0x49dcaa];if(_0x1b37['RIcdnl']===undefined){var _0x223587=function(_0x323f7f){const _0x345e53='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x233fb2='',_0x370a21='';for(let _0x146535=0x0,_0x2b2e9c,_0x33b44b,_0xdcc4d9=0x0;_0x33b44b=_0x323f7f['charAt'](_0xdcc4d9++);~_0x33b44b&&(_0x2b2e9c=_0x146535%0x4?_0x2b2e9c*0x40+_0x33b44b:_0x33b44b,_0x146535++%0x4)?_0x233fb2+=String['fromCharCode'](0xff&_0x2b2e9c>>(-0x2*_0x146535&0x6)):0x0){_0x33b44b=_0x345e53['indexOf'](_0x33b44b);}for(let _0x17f24e=0x0,_0x22be61=_0x233fb2['length'];_0x17f24e<_0x22be61;_0x17f24e++){_0x370a21+='%'+('00'+_0x233fb2['charCodeAt'](_0x17f24e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x370a21);};_0x1b37['PSmsXO']=_0x223587,_0x1b37['ZKSfUL']={},_0x1b37['RIcdnl']=!![];}const _0x5b6695=_0xe59fae[0x0],_0x54536f=_0x49dcaa+_0x5b6695,_0x185b86=_0x1b37['ZKSfUL'][_0x54536f];return!_0x185b86?(_0x1b376c=_0x1b37['PSmsXO'](_0x1b376c),_0x1b37['ZKSfUL'][_0x54536f]=_0x1b376c):_0x1b376c=_0x185b86,_0x1b376c;}import{A2AClient}from'../sync/client.js';export function createHookClient(_0x25b603,_0x427dc3){function _0x4ec612(_0x5c4018,_0x3ecc3b){return _0x1b37(_0x3ecc3b- -0x362,_0x5c4018);}if(!_0x25b603[_0x3c8927(0x3e5,0x3f3)]?.[_0x3c8927(0x3ef,0x3f0)]||!_0x25b603['server']?.[_0x4ec612(-0x201,-0x1fa)])return null;function _0x3c8927(_0x31b6be,_0x255955){return _0x1b37(_0x255955-0x291,_0x31b6be);}const _0xb31031=new A2AClient({'baseUrl':_0x25b603[_0x4ec612(-0x1f3,-0x200)][_0x3c8927(0x3f2,0x3f0)],'apiKey':_0x25b603[_0x3c8927(0x404,0x3f3)][_0x4ec612(-0x20a,-0x1fa)],..._0x427dc3!==undefined?{'timeout':_0x427dc3}:{}}),_0x18065d=[];if(_0x25b603[_0x3c8927(0x3f4,0x3f7)+'e']?.['enabled'])_0x18065d[_0x3c8927(0x40c,0x401)](_0x4ec612(-0x1fb,-0x202)+'re');if(_0x25b603[_0x4ec612(-0x1fa,-0x1f7)]?.['enabled'])_0x18065d[_0x4ec612(-0x1e9,-0x1f2)](_0x4ec612(-0x201,-0x1f6)+'t');if(_0x25b603[_0x3c8927(0x3e1,0x3e5)]?.[_0x3c8927(0x3f0,0x3f6)])_0x18065d['push'](_0x3c8927(0x3ec,0x3fa)+'c');if(_0x25b603['embedding']?.[_0x4ec612(-0x202,-0x1fd)])_0x18065d[_0x3c8927(0x407,0x401)](_0x4ec612(-0x1fb,-0x1f8));if(_0x25b603[_0x3c8927(0x3fc,0x3fe)]?.[_0x4ec612(-0x214,-0x206)+'essionEnd'])_0x18065d[_0x3c8927(0x40b,0x401)](_0x4ec612(-0x1f8,-0x1f5));if(_0x25b603['skillConve'+_0x4ec612(-0x201,-0x20a)]?.[_0x3c8927(0x402,0x3f6)])_0x18065d['push']('skill_conv'+_0x3c8927(0x3ef,0x3e3));if(_0x25b603['proficienc'+'y']?.['enabled'])_0x18065d[_0x3c8927(0x3f9,0x401)](_0x4ec612(-0x20e,-0x208)+'y');if(_0x25b603[_0x4ec612(-0x1f0,-0x1ff)+_0x3c8927(0x3f6,0x3ee)]?.['enabled'])_0x18065d[_0x3c8927(0x406,0x401)]('realtime_i'+_0x4ec612(-0x20e,-0x20b));if(_0x25b603[_0x4ec612(-0x20e,-0x20c)+'cking']?.['enabled'])_0x18065d[_0x4ec612(-0x202,-0x1f2)](_0x3c8927(0x400,0x403)+_0x3c8927(0x3e4,0x3f5));return _0xb31031[_0x4ec612(-0x1fc,-0x1ef)+_0x4ec612(-0x20f,-0x209)](_0x18065d),_0xb31031;}
|