{"version":3,"file":"api/controllers/share.mjs","sources":["webpack://@agent-tars/server/./src/api/controllers/share.ts"],"sourcesContent":["/*\n * Copyright (c) 2025 Bytedance, Inc. and its affiliates.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { Request, Response } from 'express';\nimport { AgentTARSServer } from '../../server';\nimport { ShareService } from '../../services';\n\n/**\n * Get share configuration\n */\nexport function getShareConfig(req: Request, res: Response) {\n  const server = req.app.locals.server as AgentTARSServer;\n  const shareService = new ShareService(server.appConfig, server.storageProvider);\n  res.status(200).json(shareService.getShareConfig());\n}\n"],"names":["getShareConfig","req","res","server","shareService","ShareService"],"mappings":";;;;;AAYO,SAASA,eAAeC,GAAY,EAAEC,GAAa;IACxD,MAAMC,SAASF,IAAI,GAAG,CAAC,MAAM,CAAC,MAAM;IACpC,MAAMG,eAAe,IAAIC,aAAaF,OAAO,SAAS,EAAEA,OAAO,eAAe;IAC9ED,IAAI,MAAM,CAAC,KAAK,IAAI,CAACE,aAAa,cAAc;AAClD"}