{"version":3,"sources":["/Users/shyun/comcom/ain-enterprise/ain-adk/dist/cjs/chunk-JUXNQ42D.cjs","../../src/services/prompts/pii-filter.ts"],"names":["piiFilterPrompt"],"mappings":"AAAA;ACEA,MAAA,SAAe,eAAA,CAAgB,YAAA,EAA4B;AAC1D,EAAA,MAAMA,iBAAAA,EACJ,sBAAM,YAAA,2BAAc,cAAA,mBAAe,CAAA,6BAAG,kBAAA,0BAAA,CAAqB,IAAA,GAC5D,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oCAAA,CAAA;AAmBD,EAAA,OAAOA,gBAAAA;AACR;AAEA,IAAO,mBAAA,EAAQ,eAAA;ADJf;AACA;AACE;AACF,gDAAC","file":"/Users/shyun/comcom/ain-enterprise/ain-adk/dist/cjs/chunk-JUXNQ42D.cjs","sourcesContent":[null,"import type { MemoryModule } from \"@/modules\";\n\nasync function piiFilterPrompt(memoryModule: MemoryModule) {\n\tconst piiFilterPrompt =\n\t\t(await memoryModule?.getAgentMemory()?.getPIIFilterPrompt?.()) ||\n\t\t`You are a PII (Personally Identifiable Information) filter.\nYour task is to detect and mask any personal information in the given text.\n\nRules:\n- Replace detected PII with \"***\"\n- PII includes: names, phone numbers, resident registration numbers, email addresses, physical addresses, credit card numbers, bank account numbers, passport numbers, driver's license numbers\n- Do NOT change any other part of the text\n- Do NOT add explanations or commentary\n- Return ONLY the masked text\n- If no PII is found, return the original text exactly as-is\n- Preserve the original formatting, line breaks, and structure\n\nExamples:\n- \"홍길동에게 연락주세요\" → \"***에게 연락주세요\"\n- \"전화번호는 010-1234-5678입니다\" → \"전화번호는 ***입니다\"\n- \"이메일: user@example.com\" → \"이메일: ***\"\n- \"주민번호 900101-1234567\" → \"주민번호 ***\"\n- \"No PII here\" → \"No PII here\"`;\n\n\treturn piiFilterPrompt;\n}\n\nexport default piiFilterPrompt;\n"]}