@jiangxiaosheng/digital-agent-platform 1.0.0 → 1.0.2

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.
Files changed (302) hide show
  1. package/.next/BUILD_ID +1 -0
  2. package/.next/app-build-manifest.json +316 -0
  3. package/.next/app-path-routes-manifest.json +1 -0
  4. package/.next/build-manifest.json +33 -0
  5. package/.next/cache/.rscinfo +1 -0
  6. package/.next/cache/.tsbuildinfo +1 -0
  7. package/.next/cache/eslint/.cache_1bmmeh3 +1 -0
  8. package/.next/cache/webpack/client-production/0.pack +0 -0
  9. package/.next/cache/webpack/client-production/index.pack +0 -0
  10. package/.next/cache/webpack/edge-server-production/0.pack +0 -0
  11. package/.next/cache/webpack/edge-server-production/index.pack +0 -0
  12. package/.next/cache/webpack/server-production/0.pack +0 -0
  13. package/.next/cache/webpack/server-production/index.pack +0 -0
  14. package/.next/diagnostics/build-diagnostics.json +6 -0
  15. package/.next/diagnostics/framework.json +1 -0
  16. package/.next/export-marker.json +1 -0
  17. package/.next/images-manifest.json +1 -0
  18. package/.next/next-minimal-server.js.nft.json +1 -0
  19. package/.next/next-server.js.nft.json +1 -0
  20. package/.next/package.json +1 -0
  21. package/.next/prerender-manifest.json +1 -0
  22. package/.next/react-loadable-manifest.json +1 -0
  23. package/.next/required-server-files.json +1 -0
  24. package/.next/routes-manifest.json +1 -0
  25. package/.next/server/app/[locale]/agents/[id]/chat/page.js +1 -0
  26. package/.next/server/app/[locale]/agents/[id]/chat/page.js.nft.json +1 -0
  27. package/.next/server/app/[locale]/agents/[id]/chat/page_client-reference-manifest.js +1 -0
  28. package/.next/server/app/[locale]/agents/[id]/edit/page.js +1 -0
  29. package/.next/server/app/[locale]/agents/[id]/edit/page.js.nft.json +1 -0
  30. package/.next/server/app/[locale]/agents/[id]/edit/page_client-reference-manifest.js +1 -0
  31. package/.next/server/app/[locale]/agents/new/page.js +1 -0
  32. package/.next/server/app/[locale]/agents/new/page.js.nft.json +1 -0
  33. package/.next/server/app/[locale]/agents/new/page_client-reference-manifest.js +1 -0
  34. package/.next/server/app/[locale]/agents/page.js +1 -0
  35. package/.next/server/app/[locale]/agents/page.js.nft.json +1 -0
  36. package/.next/server/app/[locale]/agents/page_client-reference-manifest.js +1 -0
  37. package/.next/server/app/[locale]/knowledge/page.js +1 -0
  38. package/.next/server/app/[locale]/knowledge/page.js.nft.json +1 -0
  39. package/.next/server/app/[locale]/knowledge/page_client-reference-manifest.js +1 -0
  40. package/.next/server/app/[locale]/page.js +1 -0
  41. package/.next/server/app/[locale]/page.js.nft.json +1 -0
  42. package/.next/server/app/[locale]/page_client-reference-manifest.js +1 -0
  43. package/.next/server/app/[locale]/settings/page.js +1 -0
  44. package/.next/server/app/[locale]/settings/page.js.nft.json +1 -0
  45. package/.next/server/app/[locale]/settings/page_client-reference-manifest.js +1 -0
  46. package/.next/server/app/_not-found/page.js +1 -0
  47. package/.next/server/app/_not-found/page.js.nft.json +1 -0
  48. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -0
  49. package/.next/server/app/_not-found.html +1 -0
  50. package/.next/server/app/_not-found.meta +8 -0
  51. package/.next/server/app/_not-found.rsc +12 -0
  52. package/.next/server/app/api/agents/[id]/route.js +1 -0
  53. package/.next/server/app/api/agents/[id]/route.js.nft.json +1 -0
  54. package/.next/server/app/api/agents/[id]/route_client-reference-manifest.js +1 -0
  55. package/.next/server/app/api/agents/route.js +1 -0
  56. package/.next/server/app/api/agents/route.js.nft.json +1 -0
  57. package/.next/server/app/api/agents/route_client-reference-manifest.js +1 -0
  58. package/.next/server/app/api/auth-config/test/route.js +1 -0
  59. package/.next/server/app/api/auth-config/test/route.js.nft.json +1 -0
  60. package/.next/server/app/api/auth-config/test/route_client-reference-manifest.js +1 -0
  61. package/.next/server/app/api/bash-output/route.js +1 -0
  62. package/.next/server/app/api/bash-output/route.js.nft.json +1 -0
  63. package/.next/server/app/api/bash-output/route_client-reference-manifest.js +1 -0
  64. package/.next/server/app/api/chat/[agentId]/route.js +5 -0
  65. package/.next/server/app/api/chat/[agentId]/route.js.nft.json +1 -0
  66. package/.next/server/app/api/chat/[agentId]/route_client-reference-manifest.js +1 -0
  67. package/.next/server/app/api/env-vars/[key]/route.js +1 -0
  68. package/.next/server/app/api/env-vars/[key]/route.js.nft.json +1 -0
  69. package/.next/server/app/api/env-vars/[key]/route_client-reference-manifest.js +1 -0
  70. package/.next/server/app/api/env-vars/route.js +1 -0
  71. package/.next/server/app/api/env-vars/route.js.nft.json +1 -0
  72. package/.next/server/app/api/env-vars/route_client-reference-manifest.js +1 -0
  73. package/.next/server/app/api/env-vars/scan/route.js +1 -0
  74. package/.next/server/app/api/env-vars/scan/route.js.nft.json +1 -0
  75. package/.next/server/app/api/env-vars/scan/route_client-reference-manifest.js +1 -0
  76. package/.next/server/app/api/file-serve/route.js +1 -0
  77. package/.next/server/app/api/file-serve/route.js.nft.json +1 -0
  78. package/.next/server/app/api/file-serve/route_client-reference-manifest.js +1 -0
  79. package/.next/server/app/api/fs/browse/route.js +1 -0
  80. package/.next/server/app/api/fs/browse/route.js.nft.json +1 -0
  81. package/.next/server/app/api/fs/browse/route_client-reference-manifest.js +1 -0
  82. package/.next/server/app/api/knowledge/[id]/documents/[docId]/route.js +60 -0
  83. package/.next/server/app/api/knowledge/[id]/documents/[docId]/route.js.nft.json +1 -0
  84. package/.next/server/app/api/knowledge/[id]/documents/[docId]/route_client-reference-manifest.js +1 -0
  85. package/.next/server/app/api/knowledge/[id]/route.js +1 -0
  86. package/.next/server/app/api/knowledge/[id]/route.js.nft.json +1 -0
  87. package/.next/server/app/api/knowledge/[id]/route_client-reference-manifest.js +1 -0
  88. package/.next/server/app/api/knowledge/[id]/upload/route.js +62 -0
  89. package/.next/server/app/api/knowledge/[id]/upload/route.js.nft.json +1 -0
  90. package/.next/server/app/api/knowledge/[id]/upload/route_client-reference-manifest.js +1 -0
  91. package/.next/server/app/api/knowledge/route.js +1 -0
  92. package/.next/server/app/api/knowledge/route.js.nft.json +1 -0
  93. package/.next/server/app/api/knowledge/route_client-reference-manifest.js +1 -0
  94. package/.next/server/app/api/knowledge/search/route.js +1 -0
  95. package/.next/server/app/api/knowledge/search/route.js.nft.json +1 -0
  96. package/.next/server/app/api/knowledge/search/route_client-reference-manifest.js +1 -0
  97. package/.next/server/app/api/models/route.js +1 -0
  98. package/.next/server/app/api/models/route.js.nft.json +1 -0
  99. package/.next/server/app/api/models/route_client-reference-manifest.js +1 -0
  100. package/.next/server/app/api/models-config/route.js +1 -0
  101. package/.next/server/app/api/models-config/route.js.nft.json +1 -0
  102. package/.next/server/app/api/models-config/route_client-reference-manifest.js +1 -0
  103. package/.next/server/app/api/models-config/test/route.js +1 -0
  104. package/.next/server/app/api/models-config/test/route.js.nft.json +1 -0
  105. package/.next/server/app/api/models-config/test/route_client-reference-manifest.js +1 -0
  106. package/.next/server/app/api/sessions/[agentId]/[sessionId]/route.js +1 -0
  107. package/.next/server/app/api/sessions/[agentId]/[sessionId]/route.js.nft.json +1 -0
  108. package/.next/server/app/api/sessions/[agentId]/[sessionId]/route_client-reference-manifest.js +1 -0
  109. package/.next/server/app/api/sessions/[agentId]/route.js +1 -0
  110. package/.next/server/app/api/sessions/[agentId]/route.js.nft.json +1 -0
  111. package/.next/server/app/api/sessions/[agentId]/route_client-reference-manifest.js +1 -0
  112. package/.next/server/app/api/sessions/history/route.js +1 -0
  113. package/.next/server/app/api/sessions/history/route.js.nft.json +1 -0
  114. package/.next/server/app/api/sessions/history/route_client-reference-manifest.js +1 -0
  115. package/.next/server/app/api/settings/route.js +1 -0
  116. package/.next/server/app/api/settings/route.js.nft.json +1 -0
  117. package/.next/server/app/api/settings/route_client-reference-manifest.js +1 -0
  118. package/.next/server/app/api/skills/[name]/route.js +1 -0
  119. package/.next/server/app/api/skills/[name]/route.js.nft.json +1 -0
  120. package/.next/server/app/api/skills/[name]/route_client-reference-manifest.js +1 -0
  121. package/.next/server/app/api/skills/install/route.js +1 -0
  122. package/.next/server/app/api/skills/install/route.js.nft.json +1 -0
  123. package/.next/server/app/api/skills/install/route_client-reference-manifest.js +1 -0
  124. package/.next/server/app/api/skills/route.js +1 -0
  125. package/.next/server/app/api/skills/route.js.nft.json +1 -0
  126. package/.next/server/app/api/skills/route_client-reference-manifest.js +1 -0
  127. package/.next/server/app/api/skills/search/route.js +1 -0
  128. package/.next/server/app/api/skills/search/route.js.nft.json +1 -0
  129. package/.next/server/app/api/skills/search/route_client-reference-manifest.js +1 -0
  130. package/.next/server/app/api/tts/route.js +8 -0
  131. package/.next/server/app/api/tts/route.js.nft.json +1 -0
  132. package/.next/server/app/api/tts/route_client-reference-manifest.js +1 -0
  133. package/.next/server/app/api/voice-provider/route.js +1 -0
  134. package/.next/server/app/api/voice-provider/route.js.nft.json +1 -0
  135. package/.next/server/app/api/voice-provider/route_client-reference-manifest.js +1 -0
  136. package/.next/server/app/api/workspace-files/route.js +1 -0
  137. package/.next/server/app/api/workspace-files/route.js.nft.json +1 -0
  138. package/.next/server/app/api/workspace-files/route_client-reference-manifest.js +1 -0
  139. package/.next/server/app/index.html +1 -0
  140. package/.next/server/app/index.meta +9 -0
  141. package/.next/server/app/index.rsc +13 -0
  142. package/.next/server/app/page.js +1 -0
  143. package/.next/server/app/page.js.nft.json +1 -0
  144. package/.next/server/app/page_client-reference-manifest.js +1 -0
  145. package/.next/server/app-paths-manifest.json +40 -0
  146. package/.next/server/chunks/1285.js +1 -0
  147. package/.next/server/chunks/2112.js +1 -0
  148. package/.next/server/chunks/2961.js +1 -0
  149. package/.next/server/chunks/3651.js +1 -0
  150. package/.next/server/chunks/407.js +1 -0
  151. package/.next/server/chunks/4125.js +1 -0
  152. package/.next/server/chunks/4127.js +1 -0
  153. package/.next/server/chunks/4907.js +1 -0
  154. package/.next/server/chunks/5051.js +1 -0
  155. package/.next/server/chunks/5452.js +1 -0
  156. package/.next/server/chunks/5994.js +13 -0
  157. package/.next/server/chunks/6777.js +1 -0
  158. package/.next/server/chunks/7368.js +1 -0
  159. package/.next/server/chunks/7627.js +6 -0
  160. package/.next/server/chunks/763.js +1 -0
  161. package/.next/server/chunks/7682.js +1 -0
  162. package/.next/server/chunks/8403.js +3 -0
  163. package/.next/server/chunks/8405.js +12 -0
  164. package/.next/server/chunks/9251.js +1 -0
  165. package/.next/server/edge-runtime-webpack.js +2 -0
  166. package/.next/server/edge-runtime-webpack.js.map +1 -0
  167. package/.next/server/functions-config-manifest.json +1 -0
  168. package/.next/server/interception-route-rewrite-manifest.js +1 -0
  169. package/.next/server/middleware-build-manifest.js +1 -0
  170. package/.next/server/middleware-manifest.json +32 -0
  171. package/.next/server/middleware-react-loadable-manifest.js +1 -0
  172. package/.next/server/next-font-manifest.js +1 -0
  173. package/.next/server/next-font-manifest.json +1 -0
  174. package/.next/server/pages/404.html +1 -0
  175. package/.next/server/pages/500.html +1 -0
  176. package/.next/server/pages/_app.js +1 -0
  177. package/.next/server/pages/_app.js.nft.json +1 -0
  178. package/.next/server/pages/_document.js +1 -0
  179. package/.next/server/pages/_document.js.nft.json +1 -0
  180. package/.next/server/pages/_error.js +1 -0
  181. package/.next/server/pages/_error.js.nft.json +1 -0
  182. package/.next/server/pages-manifest.json +1 -0
  183. package/.next/server/server-reference-manifest.js +1 -0
  184. package/.next/server/server-reference-manifest.json +1 -0
  185. package/.next/server/src/middleware.js +14 -0
  186. package/.next/server/src/middleware.js.map +1 -0
  187. package/.next/server/webpack-runtime.js +1 -0
  188. package/.next/static/VoyTtGCQMPGM_4nEMWYg5/_buildManifest.js +1 -0
  189. package/.next/static/VoyTtGCQMPGM_4nEMWYg5/_ssgManifest.js +1 -0
  190. package/.next/static/chunks/1517-9c89c425ac486877.js +2 -0
  191. package/.next/static/chunks/1868-9f3e42aa5a6ea9d2.js +1 -0
  192. package/.next/static/chunks/2733-714d0e6cd51477c7.js +1 -0
  193. package/.next/static/chunks/3259-52b0aabc8fbba4a9.js +1 -0
  194. package/.next/static/chunks/3923-e04a628626d77a16.js +1 -0
  195. package/.next/static/chunks/4bd1b696-c90310bf0ab1fbc7.js +1 -0
  196. package/.next/static/chunks/5663-7b816438e0166950.js +1 -0
  197. package/.next/static/chunks/6742-ad22486f7c4c8592.js +1 -0
  198. package/.next/static/chunks/7200-c9c613d1b11207fb.js +1 -0
  199. package/.next/static/chunks/8173-6258ed62b7084bda.js +1 -0
  200. package/.next/static/chunks/8313-cd4e4ad40e185f1c.js +1 -0
  201. package/.next/static/chunks/app/[locale]/agents/[id]/chat/page-95dc12875cda0b9c.js +1 -0
  202. package/.next/static/chunks/app/[locale]/agents/[id]/edit/page-8d0cc73c7aff7774.js +1 -0
  203. package/.next/static/chunks/app/[locale]/agents/new/page-aeaa197c0ccfd2f9.js +1 -0
  204. package/.next/static/chunks/app/[locale]/agents/page-243c454594122944.js +1 -0
  205. package/.next/static/chunks/app/[locale]/knowledge/page-7b4b6aa0a07d7da3.js +1 -0
  206. package/.next/static/chunks/app/[locale]/layout-48d759d6db5dd8ae.js +1 -0
  207. package/.next/static/chunks/app/[locale]/page-b9ea4f8cf8aeb0f1.js +1 -0
  208. package/.next/static/chunks/app/[locale]/settings/page-71d67c3b9f712584.js +1 -0
  209. package/.next/static/chunks/app/_not-found/page-f97d2843fca4f7e9.js +1 -0
  210. package/.next/static/chunks/app/api/agents/[id]/route-2c9f12e90dc8bc05.js +1 -0
  211. package/.next/static/chunks/app/api/agents/route-e227ba4be09c8ea2.js +1 -0
  212. package/.next/static/chunks/app/api/auth-config/test/route-1a6a754ae71e89f0.js +1 -0
  213. package/.next/static/chunks/app/api/bash-output/route-0bfb3c0f9ff5859a.js +1 -0
  214. package/.next/static/chunks/app/api/chat/[agentId]/route-f7318b5c8e97f243.js +1 -0
  215. package/.next/static/chunks/app/api/env-vars/[key]/route-567c08ee1be81799.js +1 -0
  216. package/.next/static/chunks/app/api/env-vars/route-146d3ab2015e6fe6.js +1 -0
  217. package/.next/static/chunks/app/api/env-vars/scan/route-2910d42f96d76168.js +1 -0
  218. package/.next/static/chunks/app/api/file-serve/route-76913780801418d4.js +1 -0
  219. package/.next/static/chunks/app/api/fs/browse/route-85da11c8b91bfc41.js +1 -0
  220. package/.next/static/chunks/app/api/knowledge/[id]/documents/[docId]/route-db2e1804b71004c5.js +1 -0
  221. package/.next/static/chunks/app/api/knowledge/[id]/route-501735d3dfb2e743.js +1 -0
  222. package/.next/static/chunks/app/api/knowledge/[id]/upload/route-fb036c262ee843f0.js +1 -0
  223. package/.next/static/chunks/app/api/knowledge/route-f5adfe5daf2e157c.js +1 -0
  224. package/.next/static/chunks/app/api/knowledge/search/route-54c8135ac355fe2e.js +1 -0
  225. package/.next/static/chunks/app/api/models/route-9e102c5352543aea.js +1 -0
  226. package/.next/static/chunks/app/api/models-config/route-ad2d0c9262659d68.js +1 -0
  227. package/.next/static/chunks/app/api/models-config/test/route-272aea5aa29f1429.js +1 -0
  228. package/.next/static/chunks/app/api/sessions/[agentId]/[sessionId]/route-4ed9dc6ddb3b98da.js +1 -0
  229. package/.next/static/chunks/app/api/sessions/[agentId]/route-2fa7611378376ed4.js +1 -0
  230. package/.next/static/chunks/app/api/sessions/history/route-5a455eb0be9b3a33.js +1 -0
  231. package/.next/static/chunks/app/api/settings/route-969f9ac513905ffe.js +1 -0
  232. package/.next/static/chunks/app/api/skills/[name]/route-7df36eded75e7234.js +1 -0
  233. package/.next/static/chunks/app/api/skills/install/route-0ab555085d740ab8.js +1 -0
  234. package/.next/static/chunks/app/api/skills/route-e5affcfa067cf550.js +1 -0
  235. package/.next/static/chunks/app/api/skills/search/route-b5b24854e46bb392.js +1 -0
  236. package/.next/static/chunks/app/api/tts/route-8186cb3d5316250e.js +1 -0
  237. package/.next/static/chunks/app/api/voice-provider/route-df0bb3cf19b0296c.js +1 -0
  238. package/.next/static/chunks/app/api/workspace-files/route-2abf9592333cfebc.js +1 -0
  239. package/.next/static/chunks/app/layout-4af7a40b1f262149.js +1 -0
  240. package/.next/static/chunks/app/page-6c018b7c1e2b97bc.js +1 -0
  241. package/.next/static/chunks/framework-a08059d19b5ea91c.js +1 -0
  242. package/.next/static/chunks/main-294df54c69003650.js +1 -0
  243. package/.next/static/chunks/main-app-07be5f69ef8a336a.js +1 -0
  244. package/.next/static/chunks/pages/_app-00b41aece417ee52.js +1 -0
  245. package/.next/static/chunks/pages/_error-6b43ce36a8d09a61.js +1 -0
  246. package/.next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
  247. package/.next/static/chunks/webpack-9b9d7723f8078270.js +1 -0
  248. package/.next/static/css/632ce3b5496b50af.css +1 -0
  249. package/.next/static/css/7e7d96b1e6991756.css +1 -0
  250. package/.next/static/media/19cfc7226ec3afaa-s.woff2 +0 -0
  251. package/.next/static/media/21350d82a1f187e9-s.woff2 +0 -0
  252. package/.next/static/media/8e9860b6e62d6359-s.woff2 +0 -0
  253. package/.next/static/media/ba9851c3c22cd980-s.woff2 +0 -0
  254. package/.next/static/media/c5fe6dc8356a8c31-s.woff2 +0 -0
  255. package/.next/static/media/df0a9ae256c0569c-s.woff2 +0 -0
  256. package/.next/static/media/e4af272ccee01ff0-s.p.woff2 +0 -0
  257. package/.next/trace +35 -0
  258. package/.next/types/app/[locale]/agents/[id]/chat/page.ts +84 -0
  259. package/.next/types/app/[locale]/agents/[id]/edit/page.ts +84 -0
  260. package/.next/types/app/[locale]/agents/new/page.ts +84 -0
  261. package/.next/types/app/[locale]/agents/page.ts +84 -0
  262. package/.next/types/app/[locale]/knowledge/page.ts +84 -0
  263. package/.next/types/app/[locale]/page.ts +84 -0
  264. package/.next/types/app/[locale]/settings/page.ts +84 -0
  265. package/.next/types/app/api/agents/[id]/route.ts +347 -0
  266. package/.next/types/app/api/agents/route.ts +347 -0
  267. package/.next/types/app/api/auth-config/test/route.ts +347 -0
  268. package/.next/types/app/api/bash-output/route.ts +347 -0
  269. package/.next/types/app/api/chat/[agentId]/route.ts +347 -0
  270. package/.next/types/app/api/env-vars/[key]/route.ts +347 -0
  271. package/.next/types/app/api/env-vars/route.ts +347 -0
  272. package/.next/types/app/api/env-vars/scan/route.ts +347 -0
  273. package/.next/types/app/api/file-serve/route.ts +347 -0
  274. package/.next/types/app/api/fs/browse/route.ts +347 -0
  275. package/.next/types/app/api/knowledge/[id]/documents/[docId]/route.ts +347 -0
  276. package/.next/types/app/api/knowledge/[id]/route.ts +347 -0
  277. package/.next/types/app/api/knowledge/[id]/upload/route.ts +347 -0
  278. package/.next/types/app/api/knowledge/route.ts +347 -0
  279. package/.next/types/app/api/knowledge/search/route.ts +347 -0
  280. package/.next/types/app/api/models/route.ts +347 -0
  281. package/.next/types/app/api/models-config/route.ts +347 -0
  282. package/.next/types/app/api/models-config/test/route.ts +347 -0
  283. package/.next/types/app/api/sessions/[agentId]/[sessionId]/route.ts +347 -0
  284. package/.next/types/app/api/sessions/[agentId]/route.ts +347 -0
  285. package/.next/types/app/api/sessions/history/route.ts +347 -0
  286. package/.next/types/app/api/settings/route.ts +347 -0
  287. package/.next/types/app/api/skills/[name]/route.ts +347 -0
  288. package/.next/types/app/api/skills/install/route.ts +347 -0
  289. package/.next/types/app/api/skills/route.ts +347 -0
  290. package/.next/types/app/api/skills/search/route.ts +347 -0
  291. package/.next/types/app/api/tts/route.ts +347 -0
  292. package/.next/types/app/api/voice-provider/route.ts +347 -0
  293. package/.next/types/app/api/workspace-files/route.ts +347 -0
  294. package/.next/types/app/layout.ts +84 -0
  295. package/.next/types/app/page.ts +84 -0
  296. package/.next/types/cache-life.d.ts +141 -0
  297. package/.next/types/package.json +1 -0
  298. package/bin/dap.js +85 -0
  299. package/package.json +15 -1
  300. package/src/types/agent.ts +4 -0
  301. package/eslint.config.mjs +0 -20
  302. package/next-env.d.ts +0 -5
@@ -0,0 +1 @@
1
+ {"version":1,"files":["../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../chunks/2961.js","../../../../../chunks/5051.js","../../../../../chunks/5994.js","../../../../../chunks/7368.js","../../../../../chunks/8403.js","../../../../../chunks/9251.js","../../../../../webpack-runtime.js","page_client-reference-manifest.js"]}
@@ -0,0 +1 @@
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/[locale]/agents/[id]/chat/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"260":{"*":{"id":"52124","name":"*","chunks":[],"async":false}},"1594":{"*":{"id":"12362","name":"*","chunks":[],"async":false}},"1724":{"*":{"id":"48157","name":"*","chunks":[],"async":false}},"2328":{"*":{"id":"57174","name":"*","chunks":[],"async":false}},"3866":{"*":{"id":"87190","name":"*","chunks":[],"async":false}},"3893":{"*":{"id":"48726","name":"*","chunks":[],"async":false}},"3927":{"*":{"id":"77413","name":"*","chunks":[],"async":false}},"4547":{"*":{"id":"33875","name":"*","chunks":[],"async":false}},"4835":{"*":{"id":"88903","name":"*","chunks":[],"async":false}},"4988":{"*":{"id":"20502","name":"*","chunks":[],"async":false}},"5244":{"*":{"id":"84178","name":"*","chunks":[],"async":false}},"6037":{"*":{"id":"87531","name":"*","chunks":[],"async":false}},"6213":{"*":{"id":"61365","name":"*","chunks":[],"async":false}},"7033":{"*":{"id":"66959","name":"*","chunks":[],"async":false}},"9789":{"*":{"id":"51890","name":"*","chunks":[],"async":false}},"9981":{"*":{"id":"12392","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/client-page.js":{"id":7033,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/client-page.js":{"id":7033,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/client-segment.js":{"id":4547,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/client-segment.js":{"id":4547,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/error-boundary.js":{"id":4835,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":4835,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":2328,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":2328,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/layout-router.js":{"id":5244,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/layout-router.js":{"id":5244,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/render-from-template-context.js":{"id":3866,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":3866,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/lib/metadata/metadata-boundary.js":{"id":6213,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/lib/metadata/metadata-boundary.js":{"id":6213,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/globals.css":{"id":347,"name":"*","chunks":["7177","static/chunks/app/layout-4af7a40b1f262149.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next-intl/dist/esm/shared/NextIntlClientProvider.js":{"id":9981,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/font/google/target.css?{\"path\":\"src/app/[locale]/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":3127,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/components/layout/sidebar.tsx":{"id":4988,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/components/providers.tsx":{"id":1724,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/new/page.tsx":{"id":1594,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/[id]/chat/page.tsx":{"id":3927,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","5663","static/chunks/5663-7b816438e0166950.js","6765","static/chunks/app/%5Blocale%5D/agents/%5Bid%5D/chat/page-95dc12875cda0b9c.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/knowledge/page.tsx":{"id":6037,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/settings/page.tsx":{"id":9789,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/page.tsx":{"id":3893,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","3259","static/chunks/3259-52b0aabc8fbba4a9.js","8173","static/chunks/8173-6258ed62b7084bda.js","1296","static/chunks/app/%5Blocale%5D/agents/page-243c454594122944.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/[id]/edit/page.tsx":{"id":260,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/duan/files/pi-web/digital-agent-platform/src/":[],"/Users/duan/files/pi-web/digital-agent-platform/src/app/layout":[{"inlined":false,"path":"static/css/632ce3b5496b50af.css"}],"/Users/duan/files/pi-web/digital-agent-platform/src/app/page":[],"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/layout":[{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/page":[],"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/page":[],"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/[id]/chat/page":[]},"rscModuleMapping":{"260":{"*":{"id":"98992","name":"*","chunks":[],"async":false}},"347":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"1594":{"*":{"id":"77438","name":"*","chunks":[],"async":false}},"1724":{"*":{"id":"90835","name":"*","chunks":[],"async":false}},"2328":{"*":{"id":"40802","name":"*","chunks":[],"async":false}},"3866":{"*":{"id":"48530","name":"*","chunks":[],"async":false}},"3893":{"*":{"id":"59087","name":"*","chunks":[],"async":false}},"3927":{"*":{"id":"21702","name":"*","chunks":[],"async":false}},"4547":{"*":{"id":"34863","name":"*","chunks":[],"async":false}},"4835":{"*":{"id":"25155","name":"*","chunks":[],"async":false}},"4988":{"*":{"id":"27994","name":"*","chunks":[],"async":false}},"5244":{"*":{"id":"9350","name":"*","chunks":[],"async":false}},"6037":{"*":{"id":"40729","name":"*","chunks":[],"async":false}},"6213":{"*":{"id":"88921","name":"*","chunks":[],"async":false}},"7033":{"*":{"id":"13219","name":"*","chunks":[],"async":false}},"9789":{"*":{"id":"28660","name":"*","chunks":[],"async":false}},"9981":{"*":{"id":"35387","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
@@ -0,0 +1 @@
1
+ (()=>{var e={};e.id=3627,e.ids=[3627],e.modules={10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},96745:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>i.a,__next_app__:()=>u,pages:()=>p,routeModule:()=>c,tree:()=>d});var s=r(70260),a=r(28203),n=r(25155),i=r.n(n),o=r(67292),l={};for(let e in o)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>o[e]);r.d(t,l);let d=["",{children:["[locale]",{children:["agents",{children:["[id]",{children:["edit",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,98992)),"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/[id]/edit/page.tsx"]}]},{}]},{}]},{}]},{layout:[()=>Promise.resolve().then(r.bind(r,51341)),"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/layout.tsx"]}]},{layout:[()=>Promise.resolve().then(r.bind(r,71354)),"/Users/duan/files/pi-web/digital-agent-platform/src/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,19937,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(r.t.bind(r,69116,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(r.t.bind(r,41485,23)),"next/dist/client/components/unauthorized-error"]}],p=["/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/[id]/edit/page.tsx"],u={require:r,loadChunk:()=>Promise.resolve()},c=new s.AppPageRouteModule({definition:{kind:a.RouteKind.APP_PAGE,page:"/[locale]/agents/[id]/edit/page",pathname:"/[locale]/agents/[id]/edit",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:d}})},50865:(e,t,r)=>{Promise.resolve().then(r.bind(r,98992))},41137:(e,t,r)=>{Promise.resolve().then(r.bind(r,52124))},52124:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>p});var s=r(45512),a=r(58009),n=r(79334),i=r(29362),o=r(52706),l=r(54125),d=r(39400);function p({params:e}){let t=(0,i.useTranslations)("agents"),r=(0,i.useTranslations)("common"),p=(0,i.useLocale)(),u=(0,n.useRouter)(),[c,g]=(0,a.useState)(null),[m,f]=(0,a.useState)(!1),x=async e=>{if(c){f(!0);try{await fetch(`/api/agents/${c.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),u.push(`/${p}/agents`)}finally{f(!1)}}};return c?(0,s.jsxs)("div",{className:"p-6 max-w-2xl mx-auto min-h-full bg-gradient-to-br from-gray-50 to-gray-100 dark:from-slate-900 dark:to-slate-900",children:[(0,s.jsxs)("div",{className:"mb-6 flex items-center gap-3",children:[(0,s.jsx)(d.$,{variant:"ghost",size:"icon",onClick:()=>u.back(),className:"neo-button hover:scale-110 transition-transform",children:(0,s.jsx)(o.A,{className:"h-5 w-5"})}),(0,s.jsx)("h1",{className:"text-2xl font-bold text-gray-800 dark:text-white",children:t("editConfig")})]}),(0,s.jsx)(l.S,{initialValues:c,onSave:x,saving:m,submitLabel:r("save")})]}):(0,s.jsx)("div",{className:"flex items-center justify-center h-full text-gray-600 dark:text-muted-foreground",children:r("loading")})}},98992:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});let s=(0,r(46760).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/[id]/edit/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/[id]/edit/page.tsx","default")}};var t=require("../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[5994,8403,5051,763,1285,2112,9251,4125],()=>r(96745));module.exports=s})();
@@ -0,0 +1 @@
1
+ {"version":1,"files":["../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../chunks/1285.js","../../../../../chunks/2112.js","../../../../../chunks/2961.js","../../../../../chunks/4125.js","../../../../../chunks/5051.js","../../../../../chunks/5994.js","../../../../../chunks/7368.js","../../../../../chunks/763.js","../../../../../chunks/8403.js","../../../../../chunks/9251.js","../../../../../webpack-runtime.js","page_client-reference-manifest.js"]}
@@ -0,0 +1 @@
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/[locale]/agents/[id]/edit/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"260":{"*":{"id":"52124","name":"*","chunks":[],"async":false}},"1594":{"*":{"id":"12362","name":"*","chunks":[],"async":false}},"1724":{"*":{"id":"48157","name":"*","chunks":[],"async":false}},"2328":{"*":{"id":"57174","name":"*","chunks":[],"async":false}},"3866":{"*":{"id":"87190","name":"*","chunks":[],"async":false}},"3893":{"*":{"id":"48726","name":"*","chunks":[],"async":false}},"3927":{"*":{"id":"77413","name":"*","chunks":[],"async":false}},"4547":{"*":{"id":"33875","name":"*","chunks":[],"async":false}},"4835":{"*":{"id":"88903","name":"*","chunks":[],"async":false}},"4988":{"*":{"id":"20502","name":"*","chunks":[],"async":false}},"5244":{"*":{"id":"84178","name":"*","chunks":[],"async":false}},"6037":{"*":{"id":"87531","name":"*","chunks":[],"async":false}},"6213":{"*":{"id":"61365","name":"*","chunks":[],"async":false}},"7033":{"*":{"id":"66959","name":"*","chunks":[],"async":false}},"9789":{"*":{"id":"51890","name":"*","chunks":[],"async":false}},"9981":{"*":{"id":"12392","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/client-page.js":{"id":7033,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/client-page.js":{"id":7033,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/client-segment.js":{"id":4547,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/client-segment.js":{"id":4547,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/error-boundary.js":{"id":4835,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":4835,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":2328,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":2328,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/layout-router.js":{"id":5244,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/layout-router.js":{"id":5244,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/render-from-template-context.js":{"id":3866,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":3866,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/lib/metadata/metadata-boundary.js":{"id":6213,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/lib/metadata/metadata-boundary.js":{"id":6213,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/globals.css":{"id":347,"name":"*","chunks":["7177","static/chunks/app/layout-4af7a40b1f262149.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next-intl/dist/esm/shared/NextIntlClientProvider.js":{"id":9981,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/font/google/target.css?{\"path\":\"src/app/[locale]/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":3127,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/components/layout/sidebar.tsx":{"id":4988,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/components/providers.tsx":{"id":1724,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/new/page.tsx":{"id":1594,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/[id]/chat/page.tsx":{"id":3927,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/knowledge/page.tsx":{"id":6037,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/settings/page.tsx":{"id":9789,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/page.tsx":{"id":3893,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","3259","static/chunks/3259-52b0aabc8fbba4a9.js","8173","static/chunks/8173-6258ed62b7084bda.js","1296","static/chunks/app/%5Blocale%5D/agents/page-243c454594122944.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/[id]/edit/page.tsx":{"id":260,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","3259","static/chunks/3259-52b0aabc8fbba4a9.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","6742","static/chunks/6742-ad22486f7c4c8592.js","2733","static/chunks/2733-714d0e6cd51477c7.js","3923","static/chunks/3923-e04a628626d77a16.js","3627","static/chunks/app/%5Blocale%5D/agents/%5Bid%5D/edit/page-8d0cc73c7aff7774.js"],"async":false}},"entryCSSFiles":{"/Users/duan/files/pi-web/digital-agent-platform/src/":[],"/Users/duan/files/pi-web/digital-agent-platform/src/app/layout":[{"inlined":false,"path":"static/css/632ce3b5496b50af.css"}],"/Users/duan/files/pi-web/digital-agent-platform/src/app/page":[],"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/layout":[{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/page":[],"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/page":[],"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/[id]/edit/page":[]},"rscModuleMapping":{"260":{"*":{"id":"98992","name":"*","chunks":[],"async":false}},"347":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"1594":{"*":{"id":"77438","name":"*","chunks":[],"async":false}},"1724":{"*":{"id":"90835","name":"*","chunks":[],"async":false}},"2328":{"*":{"id":"40802","name":"*","chunks":[],"async":false}},"3866":{"*":{"id":"48530","name":"*","chunks":[],"async":false}},"3893":{"*":{"id":"59087","name":"*","chunks":[],"async":false}},"3927":{"*":{"id":"21702","name":"*","chunks":[],"async":false}},"4547":{"*":{"id":"34863","name":"*","chunks":[],"async":false}},"4835":{"*":{"id":"25155","name":"*","chunks":[],"async":false}},"4988":{"*":{"id":"27994","name":"*","chunks":[],"async":false}},"5244":{"*":{"id":"9350","name":"*","chunks":[],"async":false}},"6037":{"*":{"id":"40729","name":"*","chunks":[],"async":false}},"6213":{"*":{"id":"88921","name":"*","chunks":[],"async":false}},"7033":{"*":{"id":"13219","name":"*","chunks":[],"async":false}},"9789":{"*":{"id":"28660","name":"*","chunks":[],"async":false}},"9981":{"*":{"id":"35387","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
@@ -0,0 +1 @@
1
+ (()=>{var e={};e.id=2469,e.ids=[2469],e.modules={10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},4793:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>o.a,__next_app__:()=>c,pages:()=>p,routeModule:()=>u,tree:()=>d});var s=r(70260),a=r(28203),n=r(25155),o=r.n(n),i=r(67292),l={};for(let e in i)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>i[e]);r.d(t,l);let d=["",{children:["[locale]",{children:["agents",{children:["new",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,77438)),"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/new/page.tsx"]}]},{}]},{}]},{layout:[()=>Promise.resolve().then(r.bind(r,51341)),"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/layout.tsx"]}]},{layout:[()=>Promise.resolve().then(r.bind(r,71354)),"/Users/duan/files/pi-web/digital-agent-platform/src/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,19937,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(r.t.bind(r,69116,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(r.t.bind(r,41485,23)),"next/dist/client/components/unauthorized-error"]}],p=["/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/new/page.tsx"],c={require:r,loadChunk:()=>Promise.resolve()},u=new s.AppPageRouteModule({definition:{kind:a.RouteKind.APP_PAGE,page:"/[locale]/agents/new/page",pathname:"/[locale]/agents/new",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:d}})},83723:(e,t,r)=>{Promise.resolve().then(r.bind(r,77438))},59747:(e,t,r)=>{Promise.resolve().then(r.bind(r,12362))},12362:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var s=r(45512),a=r(58009),n=r(79334),o=r(29362),i=r(52706),l=r(54125),d=r(39400),p=r(68473);function c(){let e=(0,o.useTranslations)("agents"),t=(0,o.useTranslations)("common"),r=(0,o.useLocale)(),c=(0,n.useRouter)(),[u,g]=(0,a.useState)(!1),m=async e=>{g(!0);try{let t=await fetch("/api/agents",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),s=await t.json();c.push(`/${r}/agents/${s.id}/chat`)}finally{g(!1)}};return(0,s.jsxs)("div",{className:"p-6 max-w-2xl mx-auto min-h-full bg-gradient-to-br from-gray-50 to-gray-100 dark:from-slate-900 dark:to-slate-900",children:[(0,s.jsxs)("div",{className:"mb-6 flex items-center gap-3",children:[(0,s.jsx)(d.$,{variant:"ghost",size:"icon",onClick:()=>c.back(),className:"neo-button hover:scale-110 transition-transform",children:(0,s.jsx)(i.A,{className:"h-5 w-5"})}),(0,s.jsx)("div",{children:(0,s.jsx)("h1",{className:"text-2xl font-bold text-gray-800 dark:text-white",children:e("new")})})]}),(0,s.jsx)(l.S,{initialValues:p.k,onSave:m,saving:u,submitLabel:t("create")})]})}},77438:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});let s=(0,r(46760).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/new/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/new/page.tsx","default")}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[5994,8403,5051,763,1285,2112,9251,4125],()=>r(4793));module.exports=s})();
@@ -0,0 +1 @@
1
+ {"version":1,"files":["../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../package.json","../../../../chunks/1285.js","../../../../chunks/2112.js","../../../../chunks/2961.js","../../../../chunks/4125.js","../../../../chunks/5051.js","../../../../chunks/5994.js","../../../../chunks/7368.js","../../../../chunks/763.js","../../../../chunks/8403.js","../../../../chunks/9251.js","../../../../webpack-runtime.js","page_client-reference-manifest.js"]}
@@ -0,0 +1 @@
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/[locale]/agents/new/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"260":{"*":{"id":"52124","name":"*","chunks":[],"async":false}},"1594":{"*":{"id":"12362","name":"*","chunks":[],"async":false}},"1724":{"*":{"id":"48157","name":"*","chunks":[],"async":false}},"2328":{"*":{"id":"57174","name":"*","chunks":[],"async":false}},"3866":{"*":{"id":"87190","name":"*","chunks":[],"async":false}},"3893":{"*":{"id":"48726","name":"*","chunks":[],"async":false}},"3927":{"*":{"id":"77413","name":"*","chunks":[],"async":false}},"4547":{"*":{"id":"33875","name":"*","chunks":[],"async":false}},"4835":{"*":{"id":"88903","name":"*","chunks":[],"async":false}},"4988":{"*":{"id":"20502","name":"*","chunks":[],"async":false}},"5244":{"*":{"id":"84178","name":"*","chunks":[],"async":false}},"6037":{"*":{"id":"87531","name":"*","chunks":[],"async":false}},"6213":{"*":{"id":"61365","name":"*","chunks":[],"async":false}},"7033":{"*":{"id":"66959","name":"*","chunks":[],"async":false}},"9789":{"*":{"id":"51890","name":"*","chunks":[],"async":false}},"9981":{"*":{"id":"12392","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/client-page.js":{"id":7033,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/client-page.js":{"id":7033,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/client-segment.js":{"id":4547,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/client-segment.js":{"id":4547,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/error-boundary.js":{"id":4835,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":4835,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":2328,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":2328,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/layout-router.js":{"id":5244,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/layout-router.js":{"id":5244,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/render-from-template-context.js":{"id":3866,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":3866,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/lib/metadata/metadata-boundary.js":{"id":6213,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/lib/metadata/metadata-boundary.js":{"id":6213,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/globals.css":{"id":347,"name":"*","chunks":["7177","static/chunks/app/layout-4af7a40b1f262149.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next-intl/dist/esm/shared/NextIntlClientProvider.js":{"id":9981,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/font/google/target.css?{\"path\":\"src/app/[locale]/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":3127,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/components/layout/sidebar.tsx":{"id":4988,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/components/providers.tsx":{"id":1724,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/new/page.tsx":{"id":1594,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","3259","static/chunks/3259-52b0aabc8fbba4a9.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","6742","static/chunks/6742-ad22486f7c4c8592.js","2733","static/chunks/2733-714d0e6cd51477c7.js","3923","static/chunks/3923-e04a628626d77a16.js","2469","static/chunks/app/%5Blocale%5D/agents/new/page-aeaa197c0ccfd2f9.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/[id]/chat/page.tsx":{"id":3927,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/knowledge/page.tsx":{"id":6037,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/settings/page.tsx":{"id":9789,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/page.tsx":{"id":3893,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","3259","static/chunks/3259-52b0aabc8fbba4a9.js","8173","static/chunks/8173-6258ed62b7084bda.js","1296","static/chunks/app/%5Blocale%5D/agents/page-243c454594122944.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/[id]/edit/page.tsx":{"id":260,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/duan/files/pi-web/digital-agent-platform/src/":[],"/Users/duan/files/pi-web/digital-agent-platform/src/app/layout":[{"inlined":false,"path":"static/css/632ce3b5496b50af.css"}],"/Users/duan/files/pi-web/digital-agent-platform/src/app/page":[],"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/layout":[{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/page":[],"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/page":[],"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/new/page":[]},"rscModuleMapping":{"260":{"*":{"id":"98992","name":"*","chunks":[],"async":false}},"347":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"1594":{"*":{"id":"77438","name":"*","chunks":[],"async":false}},"1724":{"*":{"id":"90835","name":"*","chunks":[],"async":false}},"2328":{"*":{"id":"40802","name":"*","chunks":[],"async":false}},"3866":{"*":{"id":"48530","name":"*","chunks":[],"async":false}},"3893":{"*":{"id":"59087","name":"*","chunks":[],"async":false}},"3927":{"*":{"id":"21702","name":"*","chunks":[],"async":false}},"4547":{"*":{"id":"34863","name":"*","chunks":[],"async":false}},"4835":{"*":{"id":"25155","name":"*","chunks":[],"async":false}},"4988":{"*":{"id":"27994","name":"*","chunks":[],"async":false}},"5244":{"*":{"id":"9350","name":"*","chunks":[],"async":false}},"6037":{"*":{"id":"40729","name":"*","chunks":[],"async":false}},"6213":{"*":{"id":"88921","name":"*","chunks":[],"async":false}},"7033":{"*":{"id":"13219","name":"*","chunks":[],"async":false}},"9789":{"*":{"id":"28660","name":"*","chunks":[],"async":false}},"9981":{"*":{"id":"35387","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
@@ -0,0 +1 @@
1
+ (()=>{var e={};e.id=1296,e.ids=[1296],e.modules={10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},84693:(e,t,s)=>{"use strict";s.r(t),s.d(t,{GlobalError:()=>l.a,__next_app__:()=>m,pages:()=>c,routeModule:()=>x,tree:()=>o});var a=s(70260),r=s(28203),n=s(25155),l=s.n(n),i=s(67292),d={};for(let e in i)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(d[e]=()=>i[e]);s.d(t,d);let o=["",{children:["[locale]",{children:["agents",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(s.bind(s,59087)),"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(s.bind(s,51341)),"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/layout.tsx"]}]},{layout:[()=>Promise.resolve().then(s.bind(s,71354)),"/Users/duan/files/pi-web/digital-agent-platform/src/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(s.t.bind(s,19937,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(s.t.bind(s,69116,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(s.t.bind(s,41485,23)),"next/dist/client/components/unauthorized-error"]}],c=["/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/page.tsx"],m={require:s,loadChunk:()=>Promise.resolve()},x=new a.AppPageRouteModule({definition:{kind:r.RouteKind.APP_PAGE,page:"/[locale]/agents/page",pathname:"/[locale]/agents",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:o}})},44912:(e,t,s)=>{Promise.resolve().then(s.bind(s,59087))},54640:(e,t,s)=>{Promise.resolve().then(s.bind(s,48726))},18741:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(41680).A)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},49656:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(41680).A)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},48726:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>b});var a=s(45512),r=s(29362),n=s(28531),l=s.n(n),i=s(58009),d=s(18741),o=s(50236);let c=(0,s(41680).A)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);var m=s(94520),x=s(49656),u=s(39400),p=s(44195);let f=i.forwardRef(({className:e,...t},s)=>(0,a.jsx)("div",{ref:s,className:(0,p.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));f.displayName="Card",i.forwardRef(({className:e,...t},s)=>(0,a.jsx)("div",{ref:s,className:(0,p.cn)("flex flex-col space-y-1.5 p-6",e),...t})).displayName="CardHeader",i.forwardRef(({className:e,...t},s)=>(0,a.jsx)("h3",{ref:s,className:(0,p.cn)("text-lg font-semibold leading-none tracking-tight",e),...t})).displayName="CardTitle",i.forwardRef(({className:e,...t},s)=>(0,a.jsx)("p",{ref:s,className:(0,p.cn)("text-sm text-muted-foreground",e),...t})).displayName="CardDescription";let h=i.forwardRef(({className:e,...t},s)=>(0,a.jsx)("div",{ref:s,className:(0,p.cn)("p-6 pt-0",e),...t}));h.displayName="CardContent";let g=i.forwardRef(({className:e,...t},s)=>(0,a.jsx)("div",{ref:s,className:(0,p.cn)("flex items-center p-6 pt-0",e),...t}));g.displayName="CardFooter";var v=s(43264);function b(){let e=(0,r.useTranslations)("agents"),t=(0,r.useTranslations)("common"),s=(0,r.useLocale)(),[n,p]=(0,i.useState)([]),[b,y]=(0,i.useState)(null),j=async()=>{b&&(await fetch(`/api/agents/${b.id}`,{method:"DELETE"}),p(e=>e.filter(e=>e.id!==b.id)),y(null))};return(0,a.jsxs)("div",{className:"p-6",children:[(0,a.jsxs)("div",{className:"mb-6 flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"text-2xl font-bold text-gray-800 dark:text-white",children:e("title")}),(0,a.jsx)("p",{className:"text-sm text-gray-600 dark:text-muted-foreground mt-1",children:e("subtitle")})]}),(0,a.jsx)(l(),{href:`/${s}/agents/new`,children:(0,a.jsxs)(u.$,{className:"neo-button bg-gradient-to-r from-blue-500 to-indigo-500 dark:from-cyan-600 dark:to-blue-600 hover:from-blue-600 hover:to-indigo-600 dark:hover:from-cyan-500 dark:hover:to-blue-500 text-white shadow-lg",children:[(0,a.jsx)(d.A,{className:"mr-2 h-4 w-4"}),e("new")]})})]}),0===n.length?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center py-24 text-center",children:[(0,a.jsx)("div",{className:"neo-card w-20 h-20 rounded-2xl bg-white dark:bg-secondary flex items-center justify-center mb-4",children:(0,a.jsx)(o.A,{className:"h-10 w-10 text-gray-400 dark:text-muted-foreground"})}),(0,a.jsx)("h3",{className:"text-lg font-medium text-gray-800 dark:text-white",children:e("empty")}),(0,a.jsx)("p",{className:"mt-2 text-sm text-gray-600 dark:text-muted-foreground max-w-sm",children:e("emptyHint")}),(0,a.jsx)(l(),{href:`/${s}/agents/new`,className:"mt-4",children:(0,a.jsxs)(u.$,{variant:"outline",className:"neo-button text-gray-800 dark:text-white hover:text-blue-600 dark:hover:text-cyan-400",children:[(0,a.jsx)(d.A,{className:"mr-2 h-4 w-4"}),e("new")]})})]}):(0,a.jsx)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",children:n.map(t=>(0,a.jsxs)(f,{className:"group relative border transition-all hover:border-zinc-300 dark:hover:border-zinc-600 hover:shadow-lg hover:-translate-y-0.5 cursor-default",children:[(0,a.jsx)(h,{className:"pt-6",children:(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("div",{className:"flex h-12 w-12 items-center justify-center rounded-xl bg-secondary text-2xl flex-shrink-0 group-hover:scale-105 transition-transform",children:t.avatar}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("h3",{className:"font-semibold truncate",children:t.name}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1 line-clamp-2",children:t.description||"—"}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground mt-2 font-mono",children:[t.model.provider,"/",t.model.modelId]})]})]})}),(0,a.jsxs)(g,{className:"gap-2 pt-0",children:[(0,a.jsx)(l(),{href:`/${s}/agents/${t.id}/chat`,className:"flex-1",children:(0,a.jsxs)(u.$,{size:"sm",className:"w-full",children:[(0,a.jsx)(c,{className:"mr-1 h-3 w-3"}),e("chat")]})}),(0,a.jsx)(l(),{href:`/${s}/agents/${t.id}/edit`,children:(0,a.jsx)(u.$,{size:"sm",variant:"outline",children:(0,a.jsx)(m.A,{className:"h-3 w-3"})})}),(0,a.jsx)(u.$,{size:"sm",variant:"ghost",className:"text-destructive hover:text-destructive",onClick:()=>y(t),children:(0,a.jsx)(x.A,{className:"h-3 w-3"})})]})]},t.id))}),(0,a.jsx)(v.lG,{open:!!b,onOpenChange:e=>!e&&y(null),children:(0,a.jsxs)(v.Cf,{children:[(0,a.jsxs)(v.c7,{children:[(0,a.jsx)(v.L3,{children:t("confirmDelete")}),(0,a.jsx)(v.rr,{children:e("deleteConfirm",{name:b?.name??""})})]}),(0,a.jsxs)(v.Es,{children:[(0,a.jsx)(u.$,{variant:"outline",onClick:()=>y(null),children:t("cancel")}),(0,a.jsx)(u.$,{variant:"destructive",onClick:j,children:t("delete")})]})]})})]})}},39400:(e,t,s)=>{"use strict";s.d(t,{$:()=>o});var a=s(45512),r=s(58009),n=s(12705),l=s(21643),i=s(44195);let d=(0,l.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),o=r.forwardRef(({className:e,variant:t,size:s,asChild:r=!1,...l},o)=>{let c=r?n.DX:"button";return(0,a.jsx)(c,{className:(0,i.cn)(d({variant:t,size:s,className:e})),ref:o,...l})});o.displayName="Button"},43264:(e,t,s)=>{"use strict";s.d(t,{Cf:()=>x,Es:()=>p,L3:()=>f,c7:()=>u,lG:()=>d,rr:()=>h});var a=s(45512),r=s(58009),n=s(27553),l=s(44269),i=s(44195);let d=n.bL;n.l9;let o=n.ZL,c=n.bm,m=r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(n.hJ,{ref:s,className:(0,i.cn)("fixed inset-0 z-50 bg-black/60 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));m.displayName=n.hJ.displayName;let x=r.forwardRef(({className:e,children:t,...s},r)=>(0,a.jsxs)(o,{children:[(0,a.jsx)(m,{}),(0,a.jsxs)(n.UC,{ref:r,className:(0,i.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 rounded-lg",e),...s,children:[t,(0,a.jsx)(c,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring disabled:pointer-events-none",children:(0,a.jsx)(l.A,{className:"h-4 w-4"})})]})]}));x.displayName=n.UC.displayName;let u=({className:e,...t})=>(0,a.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});u.displayName="DialogHeader";let p=({className:e,...t})=>(0,a.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});p.displayName="DialogFooter";let f=r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(n.hE,{ref:s,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",e),...t}));f.displayName=n.hE.displayName;let h=r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(n.VY,{ref:s,className:(0,i.cn)("text-sm text-muted-foreground",e),...t}));h.displayName=n.VY.displayName},59087:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>a});let a=(0,s(46760).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/page.tsx","default")}};var t=require("../../../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),a=t.X(0,[5994,8403,5051,763,9251],()=>s(84693));module.exports=a})();
@@ -0,0 +1 @@
1
+ {"version":1,"files":["../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../package.json","../../../chunks/2961.js","../../../chunks/5051.js","../../../chunks/5994.js","../../../chunks/7368.js","../../../chunks/763.js","../../../chunks/8403.js","../../../chunks/9251.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]}
@@ -0,0 +1 @@
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/[locale]/agents/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"260":{"*":{"id":"52124","name":"*","chunks":[],"async":false}},"1594":{"*":{"id":"12362","name":"*","chunks":[],"async":false}},"1724":{"*":{"id":"48157","name":"*","chunks":[],"async":false}},"2328":{"*":{"id":"57174","name":"*","chunks":[],"async":false}},"3866":{"*":{"id":"87190","name":"*","chunks":[],"async":false}},"3893":{"*":{"id":"48726","name":"*","chunks":[],"async":false}},"3927":{"*":{"id":"77413","name":"*","chunks":[],"async":false}},"4547":{"*":{"id":"33875","name":"*","chunks":[],"async":false}},"4835":{"*":{"id":"88903","name":"*","chunks":[],"async":false}},"4988":{"*":{"id":"20502","name":"*","chunks":[],"async":false}},"5244":{"*":{"id":"84178","name":"*","chunks":[],"async":false}},"6037":{"*":{"id":"87531","name":"*","chunks":[],"async":false}},"6213":{"*":{"id":"61365","name":"*","chunks":[],"async":false}},"7033":{"*":{"id":"66959","name":"*","chunks":[],"async":false}},"9789":{"*":{"id":"51890","name":"*","chunks":[],"async":false}},"9981":{"*":{"id":"12392","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/client-page.js":{"id":7033,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/client-page.js":{"id":7033,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/client-segment.js":{"id":4547,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/client-segment.js":{"id":4547,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/error-boundary.js":{"id":4835,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":4835,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":2328,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":2328,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/layout-router.js":{"id":5244,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/layout-router.js":{"id":5244,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/render-from-template-context.js":{"id":3866,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":3866,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/lib/metadata/metadata-boundary.js":{"id":6213,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/lib/metadata/metadata-boundary.js":{"id":6213,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/globals.css":{"id":347,"name":"*","chunks":["7177","static/chunks/app/layout-4af7a40b1f262149.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next-intl/dist/esm/shared/NextIntlClientProvider.js":{"id":9981,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/font/google/target.css?{\"path\":\"src/app/[locale]/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":3127,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/components/layout/sidebar.tsx":{"id":4988,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/components/providers.tsx":{"id":1724,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/new/page.tsx":{"id":1594,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/[id]/chat/page.tsx":{"id":3927,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/knowledge/page.tsx":{"id":6037,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/settings/page.tsx":{"id":9789,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/page.tsx":{"id":3893,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","3259","static/chunks/3259-52b0aabc8fbba4a9.js","8173","static/chunks/8173-6258ed62b7084bda.js","1296","static/chunks/app/%5Blocale%5D/agents/page-243c454594122944.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/[id]/edit/page.tsx":{"id":260,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/duan/files/pi-web/digital-agent-platform/src/":[],"/Users/duan/files/pi-web/digital-agent-platform/src/app/layout":[{"inlined":false,"path":"static/css/632ce3b5496b50af.css"}],"/Users/duan/files/pi-web/digital-agent-platform/src/app/page":[],"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/layout":[{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/page":[],"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/page":[]},"rscModuleMapping":{"260":{"*":{"id":"98992","name":"*","chunks":[],"async":false}},"347":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"1594":{"*":{"id":"77438","name":"*","chunks":[],"async":false}},"1724":{"*":{"id":"90835","name":"*","chunks":[],"async":false}},"2328":{"*":{"id":"40802","name":"*","chunks":[],"async":false}},"3866":{"*":{"id":"48530","name":"*","chunks":[],"async":false}},"3893":{"*":{"id":"59087","name":"*","chunks":[],"async":false}},"3927":{"*":{"id":"21702","name":"*","chunks":[],"async":false}},"4547":{"*":{"id":"34863","name":"*","chunks":[],"async":false}},"4835":{"*":{"id":"25155","name":"*","chunks":[],"async":false}},"4988":{"*":{"id":"27994","name":"*","chunks":[],"async":false}},"5244":{"*":{"id":"9350","name":"*","chunks":[],"async":false}},"6037":{"*":{"id":"40729","name":"*","chunks":[],"async":false}},"6213":{"*":{"id":"88921","name":"*","chunks":[],"async":false}},"7033":{"*":{"id":"13219","name":"*","chunks":[],"async":false}},"9789":{"*":{"id":"28660","name":"*","chunks":[],"async":false}},"9981":{"*":{"id":"35387","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
@@ -0,0 +1 @@
1
+ (()=>{var e={};e.id=886,e.ids=[886],e.modules={10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},79433:(e,t,a)=>{"use strict";a.r(t),a.d(t,{GlobalError:()=>d.a,__next_app__:()=>u,pages:()=>c,routeModule:()=>x,tree:()=>i});var s=a(70260),r=a(28203),n=a(25155),d=a.n(n),l=a(67292),o={};for(let e in l)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(o[e]=()=>l[e]);a.d(t,o);let i=["",{children:["[locale]",{children:["knowledge",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(a.bind(a,40729)),"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/knowledge/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(a.bind(a,51341)),"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/layout.tsx"]}]},{layout:[()=>Promise.resolve().then(a.bind(a,71354)),"/Users/duan/files/pi-web/digital-agent-platform/src/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(a.t.bind(a,19937,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(a.t.bind(a,69116,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(a.t.bind(a,41485,23)),"next/dist/client/components/unauthorized-error"]}],c=["/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/knowledge/page.tsx"],u={require:a,loadChunk:()=>Promise.resolve()},x=new s.AppPageRouteModule({definition:{kind:r.RouteKind.APP_PAGE,page:"/[locale]/knowledge/page",pathname:"/[locale]/knowledge",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:i}})},95642:(e,t,a)=>{Promise.resolve().then(a.bind(a,40729))},64098:(e,t,a)=>{Promise.resolve().then(a.bind(a,87531))},18741:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});let s=(0,a(41680).A)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},16873:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});let s=(0,a(41680).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},49656:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});let s=(0,a(41680).A)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},87531:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>y});var s=a(45512),r=a(58009),n=a(29362),d=a(18741),l=a(4269),o=a(49656);let i=(0,a(41680).A)("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);var c=a(61075),u=a(16873),x=a(39400),m=a(77722),p=a(52628),h=a(75002),f=a(43264),g=a(37637),b=a(44195);function y(){let e=(0,n.useTranslations)("knowledge"),t=(0,n.useTranslations)("common"),[a,y]=(0,r.useState)([]),[v,j]=(0,r.useState)(null),[k,w]=(0,r.useState)([]),[N,C]=(0,r.useState)(!1),[P,A]=(0,r.useState)(""),[E,S]=(0,r.useState)(""),[R,T]=(0,r.useState)(!1),[_,$]=(0,r.useState)(""),[z,q]=(0,r.useState)([]),[D,M]=(0,r.useState)(!1),J=(0,r.useRef)(null);(0,r.useRef)(null);let U=async()=>{let e=await fetch("/api/knowledge",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:P,description:E})}),t=await e.json();y(e=>[t,...e]),A(""),S(""),C(!1),j(t)},O=async e=>{await fetch(`/api/knowledge/${e}`,{method:"DELETE"}),y(t=>t.filter(t=>t.id!==e)),v?.id===e&&j(null)},B=async e=>{if(!v)return;T(!0);let t=new FormData;t.append("file",e),await fetch(`/api/knowledge/${v.id}/upload`,{method:"POST",body:t}),T(!1),fetch(`/api/knowledge/${v.id}`).then(e=>e.json()).then(e=>w(e.documents))},G=async e=>{await fetch(`/api/knowledge/${v.id}/documents/${e}`,{method:"DELETE"}),w(t=>t.filter(t=>t.id!==e))},L=async()=>{if(!v||!_.trim())return;M(!0);let e=await fetch("/api/knowledge/search",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({kbIds:[v.id],query:_})});q(await e.json()),M(!1)};return(0,s.jsxs)("div",{className:"flex h-full bg-white dark:bg-slate-900",children:[(0,s.jsxs)("div",{className:"w-64 flex-shrink-0 border-r border-gray-200 dark:border-slate-700/50 flex flex-col bg-[hsl(var(--neo-bg))] dark:bg-slate-900/95",children:[(0,s.jsxs)("div",{className:"p-3 border-b border-gray-200 dark:border-slate-700/50 flex items-center justify-between",children:[(0,s.jsx)("h2",{className:"font-semibold text-sm text-gray-800 dark:text-white",children:e("title")}),(0,s.jsx)(x.$,{size:"icon",variant:"ghost",className:"h-7 w-7 neo-button hover:scale-110 transition-transform",onClick:()=>C(!0),children:(0,s.jsx)(d.A,{className:"h-4 w-4"})})]}),(0,s.jsx)(g.F,{className:"flex-1",children:(0,s.jsx)("div",{className:"p-2 space-y-1",children:0===a.length?(0,s.jsxs)("div",{className:"py-8 text-center",children:[(0,s.jsx)("div",{className:"neo-card w-12 h-12 mx-auto rounded-xl bg-white dark:bg-slate-800/50 flex items-center justify-center mb-2",children:(0,s.jsx)(l.A,{className:"h-6 w-6 text-gray-400 dark:text-muted-foreground"})}),(0,s.jsx)("p",{className:"text-xs text-gray-600 dark:text-muted-foreground",children:e("empty")})]}):a.map(t=>(0,s.jsxs)("div",{className:(0,b.cn)("group relative flex items-center justify-between rounded-lg px-3 py-2.5 cursor-pointer transition-all",v?.id===t.id?"neo-card-inset bg-blue-50 dark:bg-[#57BE6B]/20 border border-blue-200 dark:border-[#57BE6B]/60 shadow-sm":"neo-button border border-transparent hover:border-gray-300 dark:hover:border-zinc-700 hover:scale-[1.02]"),onClick:()=>j(t),children:[v?.id===t.id&&(0,s.jsx)("span",{className:"absolute left-0 top-1/2 -translate-y-1/2 w-[3px] h-5 rounded-r-full bg-blue-500 dark:bg-[#57BE6B]"}),(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsx)("p",{className:"text-sm font-medium truncate text-gray-800 dark:text-white",children:t.name}),(0,s.jsxs)("p",{className:"text-xs text-gray-600 dark:text-muted-foreground",children:[t.documentCount," ",e("documents")]})]}),(0,s.jsx)(x.$,{size:"icon",variant:"ghost",className:"h-6 w-6 opacity-0 group-hover:opacity-100 text-destructive hover:text-destructive flex-shrink-0 hover:scale-110 transition-all",onClick:e=>{e.stopPropagation(),O(t.id)},children:(0,s.jsx)(o.A,{className:"h-3 w-3"})})]},t.id))})})]}),(0,s.jsx)("div",{className:"flex-1 min-w-0 overflow-auto bg-gradient-to-br from-gray-50 to-gray-100 dark:from-slate-900 dark:via-slate-900 dark:to-slate-900",children:v?(0,s.jsxs)("div",{className:"p-6 space-y-6 max-w-3xl",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"text-xl font-bold text-gray-800 dark:text-white",children:v.name}),(0,s.jsxs)("p",{className:"text-sm text-gray-600 dark:text-muted-foreground",children:[v.documentCount," ",e("documents")," \xb7 ",v.chunkCount," ",e("chunks")]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("input",{ref:J,type:"file",accept:".pdf,.docx,.txt,.md",className:"hidden",onChange:e=>{let t=e.target.files?.[0];t&&B(t)}}),(0,s.jsxs)(x.$,{variant:"outline",disabled:R,onClick:()=>J.current?.click(),className:"neo-button bg-gradient-to-r from-blue-500 to-indigo-500 dark:from-cyan-600 dark:to-blue-600 hover:from-blue-600 hover:to-indigo-600 dark:hover:from-cyan-500 dark:hover:to-blue-500 text-white border-0",children:[(0,s.jsx)(i,{className:"mr-2 h-4 w-4"}),R?t("loading"):e("uploadDoc")]})]})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(p.J,{className:"text-gray-700 dark:text-gray-300",children:e("documents")}),0===k.length?(0,s.jsxs)("div",{className:"neo-card rounded-lg border-2 border-dashed border-gray-300 dark:border-slate-700 p-8 text-center bg-white dark:bg-slate-800/30",children:[(0,s.jsx)("div",{className:"neo-card w-12 h-12 mx-auto rounded-xl bg-white dark:bg-slate-800/50 flex items-center justify-center mb-2",children:(0,s.jsx)(c.A,{className:"h-6 w-6 text-gray-400 dark:text-muted-foreground"})}),(0,s.jsx)("p",{className:"text-sm text-gray-600 dark:text-muted-foreground",children:e("uploadHint")})]}):k.map(t=>(0,s.jsxs)("div",{className:"neo-card flex items-center gap-3 rounded-lg px-4 py-2.5 bg-white dark:bg-slate-800/50 hover:scale-[1.01] transition-transform",children:[(0,s.jsx)(c.A,{className:"h-4 w-4 text-blue-500 dark:text-cyan-400 flex-shrink-0"}),(0,s.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,s.jsx)("p",{className:"text-sm font-medium truncate text-gray-800 dark:text-white",children:t.filename}),(0,s.jsx)("p",{className:"text-xs text-gray-600 dark:text-muted-foreground",children:"processing"===t.status?(0,s.jsx)("span",{className:"animate-pulse",children:e("processing")}):`${t.chunkCount} chunks`})]}),(0,s.jsx)(x.$,{size:"icon",variant:"ghost",className:"h-7 w-7 text-destructive hover:text-destructive hover:scale-110 transition-transform",onClick:()=>G(t.id),children:(0,s.jsx)(o.A,{className:"h-3 w-3"})})]},t.id))]}),(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsx)(p.J,{className:"text-gray-700 dark:text-gray-300",children:e("searchTest")}),(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)(m.p,{value:_,onChange:e=>$(e.target.value),placeholder:e("searchPlaceholder"),onKeyDown:e=>"Enter"===e.key&&L(),className:"neo-card bg-white dark:bg-slate-800/50"}),(0,s.jsx)(x.$,{variant:"outline",onClick:L,disabled:D,className:"neo-button hover:scale-105 transition-transform",children:(0,s.jsx)(u.A,{className:"h-4 w-4"})})]}),z.length>0&&(0,s.jsx)("div",{className:"space-y-2",children:z.map((t,a)=>(0,s.jsxs)("div",{className:"neo-card rounded-lg p-3 text-sm bg-white dark:bg-slate-800/50",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,s.jsx)("span",{className:"text-xs text-gray-600 dark:text-muted-foreground",children:t.filename}),(0,s.jsxs)("span",{className:"text-xs text-blue-600 dark:text-cyan-400 font-medium",children:[e("relevance"),": ",(100*t.score).toFixed(1),"%"]})]}),(0,s.jsx)("p",{className:"text-sm text-gray-700 dark:text-gray-300 line-clamp-4",children:t.content})]},a))}),0===z.length&&_&&!D&&(0,s.jsx)("p",{className:"text-sm text-gray-600 dark:text-muted-foreground",children:e("noResults")})]})]}):(0,s.jsx)("div",{className:"flex h-full items-center justify-center text-center",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"neo-card w-20 h-20 mx-auto rounded-2xl bg-white dark:bg-slate-800/50 flex items-center justify-center mb-3",children:(0,s.jsx)(l.A,{className:"h-10 w-10 text-gray-400 dark:text-muted-foreground"})}),(0,s.jsx)("p",{className:"text-gray-600 dark:text-muted-foreground",children:e("emptyHint")})]})})}),(0,s.jsx)(f.lG,{open:N,onOpenChange:C,children:(0,s.jsxs)(f.Cf,{children:[(0,s.jsx)(f.c7,{children:(0,s.jsx)(f.L3,{children:e("new")})}),(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsxs)("div",{className:"space-y-1.5",children:[(0,s.jsx)(p.J,{children:e("form.name")}),(0,s.jsx)(m.p,{value:P,onChange:e=>A(e.target.value),placeholder:e("form.namePlaceholder")})]}),(0,s.jsxs)("div",{className:"space-y-1.5",children:[(0,s.jsx)(p.J,{children:t("description")}),(0,s.jsx)(h.T,{value:E,onChange:e=>S(e.target.value),placeholder:e("form.descriptionPlaceholder"),rows:3})]})]}),(0,s.jsxs)(f.Es,{children:[(0,s.jsx)(x.$,{variant:"outline",onClick:()=>C(!1),className:"neo-button",children:t("cancel")}),(0,s.jsx)(x.$,{onClick:U,disabled:!P.trim(),className:"neo-button bg-gradient-to-r from-blue-500 to-indigo-500 dark:from-cyan-600 dark:to-blue-600 hover:from-blue-600 hover:to-indigo-600 dark:hover:from-cyan-500 dark:hover:to-blue-500 text-white",children:t("create")})]})]})})]})}},39400:(e,t,a)=>{"use strict";a.d(t,{$:()=>i});var s=a(45512),r=a(58009),n=a(12705),d=a(21643),l=a(44195);let o=(0,d.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),i=r.forwardRef(({className:e,variant:t,size:a,asChild:r=!1,...d},i)=>{let c=r?n.DX:"button";return(0,s.jsx)(c,{className:(0,l.cn)(o({variant:t,size:a,className:e})),ref:i,...d})});i.displayName="Button"},43264:(e,t,a)=>{"use strict";a.d(t,{Cf:()=>x,Es:()=>p,L3:()=>h,c7:()=>m,lG:()=>o,rr:()=>f});var s=a(45512),r=a(58009),n=a(27553),d=a(44269),l=a(44195);let o=n.bL;n.l9;let i=n.ZL,c=n.bm,u=r.forwardRef(({className:e,...t},a)=>(0,s.jsx)(n.hJ,{ref:a,className:(0,l.cn)("fixed inset-0 z-50 bg-black/60 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));u.displayName=n.hJ.displayName;let x=r.forwardRef(({className:e,children:t,...a},r)=>(0,s.jsxs)(i,{children:[(0,s.jsx)(u,{}),(0,s.jsxs)(n.UC,{ref:r,className:(0,l.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 rounded-lg",e),...a,children:[t,(0,s.jsx)(c,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring disabled:pointer-events-none",children:(0,s.jsx)(d.A,{className:"h-4 w-4"})})]})]}));x.displayName=n.UC.displayName;let m=({className:e,...t})=>(0,s.jsx)("div",{className:(0,l.cn)("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});m.displayName="DialogHeader";let p=({className:e,...t})=>(0,s.jsx)("div",{className:(0,l.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});p.displayName="DialogFooter";let h=r.forwardRef(({className:e,...t},a)=>(0,s.jsx)(n.hE,{ref:a,className:(0,l.cn)("text-lg font-semibold leading-none tracking-tight",e),...t}));h.displayName=n.hE.displayName;let f=r.forwardRef(({className:e,...t},a)=>(0,s.jsx)(n.VY,{ref:a,className:(0,l.cn)("text-sm text-muted-foreground",e),...t}));f.displayName=n.VY.displayName},77722:(e,t,a)=>{"use strict";a.d(t,{p:()=>d});var s=a(45512),r=a(58009),n=a(44195);let d=r.forwardRef(({className:e,type:t,...a},r)=>(0,s.jsx)("input",{type:t,className:(0,n.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...a}));d.displayName="Input"},52628:(e,t,a)=>{"use strict";a.d(t,{J:()=>l});var s=a(45512),r=a(58009),n=a(92405),d=a(44195);let l=r.forwardRef(({className:e,...t},a)=>(0,s.jsx)(n.b,{ref:a,className:(0,d.cn)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",e),...t}));l.displayName=n.b.displayName},75002:(e,t,a)=>{"use strict";a.d(t,{T:()=>d});var s=a(45512),r=a(58009),n=a(44195);let d=r.forwardRef(({className:e,...t},a)=>(0,s.jsx)("textarea",{className:(0,n.cn)("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...t}));d.displayName="Textarea"},40729:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>s});let s=(0,a(46760).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/knowledge/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/knowledge/page.tsx","default")},92405:(e,t,a)=>{"use strict";a.d(t,{b:()=>l});var s=a(58009),r=a(30830),n=a(45512),d=Object.defineProperty,l=s.forwardRef(d(function(e,t){return(0,n.jsx)(r.sG.label,{...e,ref:t,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}})},"name",{value:"Label",configurable:!0}))}};var t=require("../../../webpack-runtime.js");t.C(e);var a=e=>t(t.s=e),s=t.X(0,[5994,8403,5051,763,9251],()=>a(79433));module.exports=s})();
@@ -0,0 +1 @@
1
+ {"version":1,"files":["../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../package.json","../../../chunks/2961.js","../../../chunks/5051.js","../../../chunks/5994.js","../../../chunks/7368.js","../../../chunks/763.js","../../../chunks/8403.js","../../../chunks/9251.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]}
@@ -0,0 +1 @@
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/[locale]/knowledge/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"260":{"*":{"id":"52124","name":"*","chunks":[],"async":false}},"1594":{"*":{"id":"12362","name":"*","chunks":[],"async":false}},"1724":{"*":{"id":"48157","name":"*","chunks":[],"async":false}},"2328":{"*":{"id":"57174","name":"*","chunks":[],"async":false}},"3866":{"*":{"id":"87190","name":"*","chunks":[],"async":false}},"3893":{"*":{"id":"48726","name":"*","chunks":[],"async":false}},"3927":{"*":{"id":"77413","name":"*","chunks":[],"async":false}},"4547":{"*":{"id":"33875","name":"*","chunks":[],"async":false}},"4835":{"*":{"id":"88903","name":"*","chunks":[],"async":false}},"4988":{"*":{"id":"20502","name":"*","chunks":[],"async":false}},"5244":{"*":{"id":"84178","name":"*","chunks":[],"async":false}},"6037":{"*":{"id":"87531","name":"*","chunks":[],"async":false}},"6213":{"*":{"id":"61365","name":"*","chunks":[],"async":false}},"7033":{"*":{"id":"66959","name":"*","chunks":[],"async":false}},"9789":{"*":{"id":"51890","name":"*","chunks":[],"async":false}},"9981":{"*":{"id":"12392","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/client-page.js":{"id":7033,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/client-page.js":{"id":7033,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/client-segment.js":{"id":4547,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/client-segment.js":{"id":4547,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/error-boundary.js":{"id":4835,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":4835,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":2328,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":2328,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/layout-router.js":{"id":5244,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/layout-router.js":{"id":5244,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/render-from-template-context.js":{"id":3866,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":3866,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/lib/metadata/metadata-boundary.js":{"id":6213,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/lib/metadata/metadata-boundary.js":{"id":6213,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/globals.css":{"id":347,"name":"*","chunks":["7177","static/chunks/app/layout-4af7a40b1f262149.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next-intl/dist/esm/shared/NextIntlClientProvider.js":{"id":9981,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/font/google/target.css?{\"path\":\"src/app/[locale]/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":3127,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/components/layout/sidebar.tsx":{"id":4988,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/components/providers.tsx":{"id":1724,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/new/page.tsx":{"id":1594,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/[id]/chat/page.tsx":{"id":3927,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/knowledge/page.tsx":{"id":6037,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","3259","static/chunks/3259-52b0aabc8fbba4a9.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","886","static/chunks/app/%5Blocale%5D/knowledge/page-7b4b6aa0a07d7da3.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/settings/page.tsx":{"id":9789,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/page.tsx":{"id":3893,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/[id]/edit/page.tsx":{"id":260,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/duan/files/pi-web/digital-agent-platform/src/":[],"/Users/duan/files/pi-web/digital-agent-platform/src/app/layout":[{"inlined":false,"path":"static/css/632ce3b5496b50af.css"}],"/Users/duan/files/pi-web/digital-agent-platform/src/app/page":[],"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/layout":[{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/page":[],"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/knowledge/page":[]},"rscModuleMapping":{"260":{"*":{"id":"98992","name":"*","chunks":[],"async":false}},"347":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"1594":{"*":{"id":"77438","name":"*","chunks":[],"async":false}},"1724":{"*":{"id":"90835","name":"*","chunks":[],"async":false}},"2328":{"*":{"id":"40802","name":"*","chunks":[],"async":false}},"3866":{"*":{"id":"48530","name":"*","chunks":[],"async":false}},"3893":{"*":{"id":"59087","name":"*","chunks":[],"async":false}},"3927":{"*":{"id":"21702","name":"*","chunks":[],"async":false}},"4547":{"*":{"id":"34863","name":"*","chunks":[],"async":false}},"4835":{"*":{"id":"25155","name":"*","chunks":[],"async":false}},"4988":{"*":{"id":"27994","name":"*","chunks":[],"async":false}},"5244":{"*":{"id":"9350","name":"*","chunks":[],"async":false}},"6037":{"*":{"id":"40729","name":"*","chunks":[],"async":false}},"6213":{"*":{"id":"88921","name":"*","chunks":[],"async":false}},"7033":{"*":{"id":"13219","name":"*","chunks":[],"async":false}},"9789":{"*":{"id":"28660","name":"*","chunks":[],"async":false}},"9981":{"*":{"id":"35387","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
@@ -0,0 +1 @@
1
+ (()=>{var e={};e.id=465,e.ids=[465],e.modules={10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},62017:(e,r,t)=>{"use strict";t.r(r),t.d(r,{GlobalError:()=>i.a,__next_app__:()=>u,pages:()=>p,routeModule:()=>c,tree:()=>d});var s=t(70260),a=t(28203),n=t(25155),i=t.n(n),o=t(67292),l={};for(let e in o)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>o[e]);t.d(r,l);let d=["",{children:["[locale]",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(t.bind(t,45330)),"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/page.tsx"]}]},{layout:[()=>Promise.resolve().then(t.bind(t,51341)),"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/layout.tsx"]}]},{layout:[()=>Promise.resolve().then(t.bind(t,71354)),"/Users/duan/files/pi-web/digital-agent-platform/src/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(t.t.bind(t,19937,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(t.t.bind(t,69116,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(t.t.bind(t,41485,23)),"next/dist/client/components/unauthorized-error"]}],p=["/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/page.tsx"],u={require:t,loadChunk:()=>Promise.resolve()},c=new s.AppPageRouteModule({definition:{kind:a.RouteKind.APP_PAGE,page:"/[locale]/page",pathname:"/[locale]",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:d}})},96487:()=>{},78335:()=>{},45330:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>a});var s=t(31831);async function a({params:e}){let{locale:r}=await e;(0,s.redirect)(`/${r}/agents`)}}};var r=require("../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[5994,8403,5051,9251],()=>t(62017));module.exports=s})();
@@ -0,0 +1 @@
1
+ {"version":1,"files":["../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/package.json","../../../../package.json","../../../package.json","../../chunks/2961.js","../../chunks/5051.js","../../chunks/5994.js","../../chunks/7368.js","../../chunks/8403.js","../../chunks/9251.js","../../webpack-runtime.js","page_client-reference-manifest.js"]}
@@ -0,0 +1 @@
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/[locale]/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"260":{"*":{"id":"52124","name":"*","chunks":[],"async":false}},"1594":{"*":{"id":"12362","name":"*","chunks":[],"async":false}},"1724":{"*":{"id":"48157","name":"*","chunks":[],"async":false}},"2328":{"*":{"id":"57174","name":"*","chunks":[],"async":false}},"3866":{"*":{"id":"87190","name":"*","chunks":[],"async":false}},"3893":{"*":{"id":"48726","name":"*","chunks":[],"async":false}},"3927":{"*":{"id":"77413","name":"*","chunks":[],"async":false}},"4547":{"*":{"id":"33875","name":"*","chunks":[],"async":false}},"4835":{"*":{"id":"88903","name":"*","chunks":[],"async":false}},"4988":{"*":{"id":"20502","name":"*","chunks":[],"async":false}},"5244":{"*":{"id":"84178","name":"*","chunks":[],"async":false}},"6037":{"*":{"id":"87531","name":"*","chunks":[],"async":false}},"6213":{"*":{"id":"61365","name":"*","chunks":[],"async":false}},"7033":{"*":{"id":"66959","name":"*","chunks":[],"async":false}},"9789":{"*":{"id":"51890","name":"*","chunks":[],"async":false}},"9981":{"*":{"id":"12392","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/client-page.js":{"id":7033,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/client-page.js":{"id":7033,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/client-segment.js":{"id":4547,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/client-segment.js":{"id":4547,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/error-boundary.js":{"id":4835,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":4835,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":2328,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":2328,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/layout-router.js":{"id":5244,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/layout-router.js":{"id":5244,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/client/components/render-from-template-context.js":{"id":3866,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":3866,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/lib/metadata/metadata-boundary.js":{"id":6213,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/dist/esm/lib/metadata/metadata-boundary.js":{"id":6213,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/globals.css":{"id":347,"name":"*","chunks":["7177","static/chunks/app/layout-4af7a40b1f262149.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next-intl/dist/esm/shared/NextIntlClientProvider.js":{"id":9981,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/node_modules/next/font/google/target.css?{\"path\":\"src/app/[locale]/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":3127,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/components/layout/sidebar.tsx":{"id":4988,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/components/providers.tsx":{"id":1724,"name":"*","chunks":["8313","static/chunks/8313-cd4e4ad40e185f1c.js","1868","static/chunks/1868-9f3e42aa5a6ea9d2.js","8173","static/chunks/8173-6258ed62b7084bda.js","7200","static/chunks/7200-c9c613d1b11207fb.js","8450","static/chunks/app/%5Blocale%5D/layout-48d759d6db5dd8ae.js"],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/new/page.tsx":{"id":1594,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/[id]/chat/page.tsx":{"id":3927,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/knowledge/page.tsx":{"id":6037,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/settings/page.tsx":{"id":9789,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/page.tsx":{"id":3893,"name":"*","chunks":[],"async":false},"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/agents/[id]/edit/page.tsx":{"id":260,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/duan/files/pi-web/digital-agent-platform/src/":[],"/Users/duan/files/pi-web/digital-agent-platform/src/app/layout":[{"inlined":false,"path":"static/css/632ce3b5496b50af.css"}],"/Users/duan/files/pi-web/digital-agent-platform/src/app/page":[],"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/layout":[{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/duan/files/pi-web/digital-agent-platform/src/app/[locale]/page":[]},"rscModuleMapping":{"260":{"*":{"id":"98992","name":"*","chunks":[],"async":false}},"347":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"1594":{"*":{"id":"77438","name":"*","chunks":[],"async":false}},"1724":{"*":{"id":"90835","name":"*","chunks":[],"async":false}},"2328":{"*":{"id":"40802","name":"*","chunks":[],"async":false}},"3866":{"*":{"id":"48530","name":"*","chunks":[],"async":false}},"3893":{"*":{"id":"59087","name":"*","chunks":[],"async":false}},"3927":{"*":{"id":"21702","name":"*","chunks":[],"async":false}},"4547":{"*":{"id":"34863","name":"*","chunks":[],"async":false}},"4835":{"*":{"id":"25155","name":"*","chunks":[],"async":false}},"4988":{"*":{"id":"27994","name":"*","chunks":[],"async":false}},"5244":{"*":{"id":"9350","name":"*","chunks":[],"async":false}},"6037":{"*":{"id":"40729","name":"*","chunks":[],"async":false}},"6213":{"*":{"id":"88921","name":"*","chunks":[],"async":false}},"7033":{"*":{"id":"13219","name":"*","chunks":[],"async":false}},"9789":{"*":{"id":"28660","name":"*","chunks":[],"async":false}},"9981":{"*":{"id":"35387","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}