kontexta 4.3.1 → 4.3.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 (158) hide show
  1. package/bundle/standalone/CHANGELOG.md +6 -0
  2. package/bundle/standalone/apps/web/.next/BUILD_ID +1 -1
  3. package/bundle/standalone/apps/web/.next/app-build-manifest.json +129 -129
  4. package/bundle/standalone/apps/web/.next/app-path-routes-manifest.json +23 -23
  5. package/bundle/standalone/apps/web/.next/build-manifest.json +3 -3
  6. package/bundle/standalone/apps/web/.next/prerender-manifest.json +20 -20
  7. package/bundle/standalone/apps/web/.next/required-server-files.json +4 -4
  8. package/bundle/standalone/apps/web/.next/server/app/_not-found/page.js +2 -2
  9. package/bundle/standalone/apps/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  10. package/bundle/standalone/apps/web/.next/server/app/_not-found.html +1 -1
  11. package/bundle/standalone/apps/web/.next/server/app/_not-found.rsc +3 -3
  12. package/bundle/standalone/apps/web/.next/server/app/api/about/route.js +1 -1
  13. package/bundle/standalone/apps/web/.next/server/app/api/about/route_client-reference-manifest.js +1 -1
  14. package/bundle/standalone/apps/web/.next/server/app/api/auth/login/route.js +1 -1
  15. package/bundle/standalone/apps/web/.next/server/app/api/auth/login/route_client-reference-manifest.js +1 -1
  16. package/bundle/standalone/apps/web/.next/server/app/api/auth/logout/route.js +1 -1
  17. package/bundle/standalone/apps/web/.next/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
  18. package/bundle/standalone/apps/web/.next/server/app/api/auth/setup/route.js +1 -1
  19. package/bundle/standalone/apps/web/.next/server/app/api/auth/setup/route_client-reference-manifest.js +1 -1
  20. package/bundle/standalone/apps/web/.next/server/app/api/auth/status/route.js +1 -1
  21. package/bundle/standalone/apps/web/.next/server/app/api/auth/status/route_client-reference-manifest.js +1 -1
  22. package/bundle/standalone/apps/web/.next/server/app/api/auth/token/route.js +1 -1
  23. package/bundle/standalone/apps/web/.next/server/app/api/auth/token/route_client-reference-manifest.js +1 -1
  24. package/bundle/standalone/apps/web/.next/server/app/api/calendar/conflicts/route.js +1 -1
  25. package/bundle/standalone/apps/web/.next/server/app/api/calendar/conflicts/route_client-reference-manifest.js +1 -1
  26. package/bundle/standalone/apps/web/.next/server/app/api/calendar/entities/[id]/route.js +1 -1
  27. package/bundle/standalone/apps/web/.next/server/app/api/calendar/entities/[id]/route_client-reference-manifest.js +1 -1
  28. package/bundle/standalone/apps/web/.next/server/app/api/calendar/entities/route.js +1 -1
  29. package/bundle/standalone/apps/web/.next/server/app/api/calendar/entities/route_client-reference-manifest.js +1 -1
  30. package/bundle/standalone/apps/web/.next/server/app/api/calendar/events/[id]/route.js +1 -1
  31. package/bundle/standalone/apps/web/.next/server/app/api/calendar/events/[id]/route_client-reference-manifest.js +1 -1
  32. package/bundle/standalone/apps/web/.next/server/app/api/calendar/events/route.js +1 -1
  33. package/bundle/standalone/apps/web/.next/server/app/api/calendar/events/route_client-reference-manifest.js +1 -1
  34. package/bundle/standalone/apps/web/.next/server/app/api/calendar/ics/route.js +1 -1
  35. package/bundle/standalone/apps/web/.next/server/app/api/calendar/ics/route_client-reference-manifest.js +1 -1
  36. package/bundle/standalone/apps/web/.next/server/app/api/calendar/links/route.js +1 -1
  37. package/bundle/standalone/apps/web/.next/server/app/api/calendar/links/route_client-reference-manifest.js +1 -1
  38. package/bundle/standalone/apps/web/.next/server/app/api/calendar/settings/route.js +1 -1
  39. package/bundle/standalone/apps/web/.next/server/app/api/calendar/settings/route_client-reference-manifest.js +1 -1
  40. package/bundle/standalone/apps/web/.next/server/app/api/clip/route.js +1 -1
  41. package/bundle/standalone/apps/web/.next/server/app/api/clip/route_client-reference-manifest.js +1 -1
  42. package/bundle/standalone/apps/web/.next/server/app/api/docker-config/route.js +1 -1
  43. package/bundle/standalone/apps/web/.next/server/app/api/docker-config/route_client-reference-manifest.js +1 -1
  44. package/bundle/standalone/apps/web/.next/server/app/api/export/zip/route.js +1 -1
  45. package/bundle/standalone/apps/web/.next/server/app/api/export/zip/route_client-reference-manifest.js +1 -1
  46. package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/download/route.js +1 -1
  47. package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/download/route_client-reference-manifest.js +1 -1
  48. package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/export-pdf/route.js +1 -1
  49. package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/export-pdf/route_client-reference-manifest.js +1 -1
  50. package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/history/restore/route.js +1 -1
  51. package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/history/restore/route_client-reference-manifest.js +1 -1
  52. package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/history/route.js +1 -1
  53. package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/history/route_client-reference-manifest.js +1 -1
  54. package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/move/route.js +1 -1
  55. package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/move/route_client-reference-manifest.js +1 -1
  56. package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/route.js +1 -1
  57. package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/route_client-reference-manifest.js +1 -1
  58. package/bundle/standalone/apps/web/.next/server/app/api/files/route.js +1 -1
  59. package/bundle/standalone/apps/web/.next/server/app/api/files/route_client-reference-manifest.js +1 -1
  60. package/bundle/standalone/apps/web/.next/server/app/api/files/upload/route.js +1 -1
  61. package/bundle/standalone/apps/web/.next/server/app/api/files/upload/route_client-reference-manifest.js +1 -1
  62. package/bundle/standalone/apps/web/.next/server/app/api/folders/route.js +1 -1
  63. package/bundle/standalone/apps/web/.next/server/app/api/folders/route_client-reference-manifest.js +1 -1
  64. package/bundle/standalone/apps/web/.next/server/app/api/git/remote/route.js +1 -1
  65. package/bundle/standalone/apps/web/.next/server/app/api/git/remote/route_client-reference-manifest.js +1 -1
  66. package/bundle/standalone/apps/web/.next/server/app/api/git/sync-all/route.js +1 -1
  67. package/bundle/standalone/apps/web/.next/server/app/api/git/sync-all/route_client-reference-manifest.js +1 -1
  68. package/bundle/standalone/apps/web/.next/server/app/api/hands/test-pattern/route.js +1 -1
  69. package/bundle/standalone/apps/web/.next/server/app/api/hands/test-pattern/route_client-reference-manifest.js +1 -1
  70. package/bundle/standalone/apps/web/.next/server/app/api/hands/validate/route.js +1 -1
  71. package/bundle/standalone/apps/web/.next/server/app/api/hands/validate/route_client-reference-manifest.js +1 -1
  72. package/bundle/standalone/apps/web/.next/server/app/api/health/route.js +1 -1
  73. package/bundle/standalone/apps/web/.next/server/app/api/health/route_client-reference-manifest.js +1 -1
  74. package/bundle/standalone/apps/web/.next/server/app/api/install-snippets/route.js +2 -2
  75. package/bundle/standalone/apps/web/.next/server/app/api/install-snippets/route_client-reference-manifest.js +1 -1
  76. package/bundle/standalone/apps/web/.next/server/app/api/mcp-tools/route.js +1 -1
  77. package/bundle/standalone/apps/web/.next/server/app/api/mcp-tools/route_client-reference-manifest.js +1 -1
  78. package/bundle/standalone/apps/web/.next/server/app/api/profile/route.js +1 -1
  79. package/bundle/standalone/apps/web/.next/server/app/api/profile/route_client-reference-manifest.js +1 -1
  80. package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/hands-config/route.js +1 -1
  81. package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/hands-config/route_client-reference-manifest.js +1 -1
  82. package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/journal-config/route.js +1 -1
  83. package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/journal-config/route_client-reference-manifest.js +1 -1
  84. package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/journal-status/route.js +1 -1
  85. package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/journal-status/route_client-reference-manifest.js +1 -1
  86. package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/onboard/route.js +1 -1
  87. package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/onboard/route_client-reference-manifest.js +1 -1
  88. package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/refresh/route.js +1 -1
  89. package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/refresh/route_client-reference-manifest.js +1 -1
  90. package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/route.js +1 -1
  91. package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/route_client-reference-manifest.js +1 -1
  92. package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/sync/route.js +1 -1
  93. package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/sync/route_client-reference-manifest.js +1 -1
  94. package/bundle/standalone/apps/web/.next/server/app/api/projects/onboard/route.js +1 -1
  95. package/bundle/standalone/apps/web/.next/server/app/api/projects/onboard/route_client-reference-manifest.js +1 -1
  96. package/bundle/standalone/apps/web/.next/server/app/api/projects/route.js +1 -1
  97. package/bundle/standalone/apps/web/.next/server/app/api/projects/route_client-reference-manifest.js +1 -1
  98. package/bundle/standalone/apps/web/.next/server/app/api/publish/html/route.js +1 -1
  99. package/bundle/standalone/apps/web/.next/server/app/api/publish/html/route_client-reference-manifest.js +1 -1
  100. package/bundle/standalone/apps/web/.next/server/app/api/publish/route.js +1 -1
  101. package/bundle/standalone/apps/web/.next/server/app/api/publish/route_client-reference-manifest.js +1 -1
  102. package/bundle/standalone/apps/web/.next/server/app/api/refresh/route.js +1 -1
  103. package/bundle/standalone/apps/web/.next/server/app/api/refresh/route_client-reference-manifest.js +1 -1
  104. package/bundle/standalone/apps/web/.next/server/app/api/reindex/route.js +1 -1
  105. package/bundle/standalone/apps/web/.next/server/app/api/reindex/route_client-reference-manifest.js +1 -1
  106. package/bundle/standalone/apps/web/.next/server/app/api/search/route.js +1 -1
  107. package/bundle/standalone/apps/web/.next/server/app/api/search/route_client-reference-manifest.js +1 -1
  108. package/bundle/standalone/apps/web/.next/server/app/api/tags/route.js +1 -1
  109. package/bundle/standalone/apps/web/.next/server/app/api/tags/route_client-reference-manifest.js +1 -1
  110. package/bundle/standalone/apps/web/.next/server/app/api/ws-config/route.js +1 -1
  111. package/bundle/standalone/apps/web/.next/server/app/api/ws-config/route_client-reference-manifest.js +1 -1
  112. package/bundle/standalone/apps/web/.next/server/app/apple-icon.png/route.js +1 -1
  113. package/bundle/standalone/apps/web/.next/server/app/calendar/page.js +2 -2
  114. package/bundle/standalone/apps/web/.next/server/app/calendar/page.js.nft.json +1 -1
  115. package/bundle/standalone/apps/web/.next/server/app/calendar/page_client-reference-manifest.js +1 -1
  116. package/bundle/standalone/apps/web/.next/server/app/favicon.ico/route.js +1 -1
  117. package/bundle/standalone/apps/web/.next/server/app/icon.png/route.js +1 -1
  118. package/bundle/standalone/apps/web/.next/server/app/login/page.js +2 -2
  119. package/bundle/standalone/apps/web/.next/server/app/login/page_client-reference-manifest.js +1 -1
  120. package/bundle/standalone/apps/web/.next/server/app/page.js +3 -3
  121. package/bundle/standalone/apps/web/.next/server/app/page.js.nft.json +1 -1
  122. package/bundle/standalone/apps/web/.next/server/app/page_client-reference-manifest.js +1 -1
  123. package/bundle/standalone/apps/web/.next/server/app/preview/motifs/page.js +3 -3
  124. package/bundle/standalone/apps/web/.next/server/app/preview/motifs/page_client-reference-manifest.js +1 -1
  125. package/bundle/standalone/apps/web/.next/server/app/preview/motifs.html +2 -2
  126. package/bundle/standalone/apps/web/.next/server/app/preview/motifs.rsc +3 -3
  127. package/bundle/standalone/apps/web/.next/server/app-paths-manifest.json +23 -23
  128. package/bundle/standalone/apps/web/.next/server/chunks/2151.js +1 -1
  129. package/bundle/standalone/apps/web/.next/server/chunks/3668.js +2 -2
  130. package/bundle/standalone/apps/web/.next/server/chunks/6680.js +1 -0
  131. package/bundle/standalone/apps/web/.next/server/middleware-build-manifest.js +1 -1
  132. package/bundle/standalone/apps/web/.next/server/next-font-manifest.js +1 -1
  133. package/bundle/standalone/apps/web/.next/server/next-font-manifest.json +1 -1
  134. package/bundle/standalone/apps/web/.next/server/pages/404.html +1 -1
  135. package/bundle/standalone/apps/web/.next/server/pages/500.html +1 -1
  136. package/bundle/standalone/apps/web/.next/server/server-reference-manifest.json +1 -1
  137. package/bundle/standalone/apps/web/.next/static/chunks/app/_not-found/page-6565c12f025c6338.js +1 -0
  138. package/bundle/standalone/apps/web/.next/static/chunks/app/calendar/{page-180fba7a5e149d79.js → page-c2b69b100c786dc4.js} +1 -1
  139. package/bundle/standalone/apps/web/.next/static/chunks/app/{layout-9a9569fc88cd95d2.js → layout-50d1052f9326c7ff.js} +1 -1
  140. package/bundle/standalone/apps/web/.next/static/chunks/app/login/page-a6fe2c4740cdd5c7.js +1 -0
  141. package/bundle/standalone/apps/web/.next/static/chunks/app/{page-2b151d30cb29d2e5.js → page-0dc6192830ae65e6.js} +1 -1
  142. package/bundle/standalone/apps/web/.next/static/chunks/{main-app-20d292116f434ff3.js → main-app-57f658242c7d6c8b.js} +1 -1
  143. package/bundle/standalone/apps/web/package.json +4 -4
  144. package/bundle/standalone/apps/web/server.js +1 -1
  145. package/bundle/standalone/apps/web/src/lib/mcp-tools.json +1 -1
  146. package/bundle/standalone/node_modules/kontexta-mcp/package.json +1 -1
  147. package/bundle/standalone/node_modules/kxta-core/package.json +1 -1
  148. package/bundle/standalone/node_modules/kxta-publish/dist/index.js +0 -0
  149. package/bundle/standalone/node_modules/kxta-publish/package.json +2 -2
  150. package/bundle/standalone/package.json +1 -1
  151. package/dist/index.js +1 -1
  152. package/dist/{start-RCW7AKUK.js → start-MCG73ATY.js} +6 -1
  153. package/package.json +1 -1
  154. package/bundle/standalone/apps/web/.next/server/chunks/5186.js +0 -1
  155. package/bundle/standalone/apps/web/.next/static/chunks/app/_not-found/page-972b01bf23ed0942.js +0 -1
  156. package/bundle/standalone/apps/web/.next/static/chunks/app/login/page-d299785546ea6ab6.js +0 -1
  157. /package/bundle/standalone/apps/web/.next/static/{TwaiLte1NHCp3gRYUc-go → FQ4ncHomPr7biizG6ufGX}/_buildManifest.js +0 -0
  158. /package/bundle/standalone/apps/web/.next/static/{TwaiLte1NHCp3gRYUc-go → FQ4ncHomPr7biizG6ufGX}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7358],{38937:()=>{},85297:(e,s,n)=>{Promise.resolve().then(n.t.bind(n,17518,23)),Promise.resolve().then(n.t.bind(n,43319,23)),Promise.resolve().then(n.t.bind(n,23733,23)),Promise.resolve().then(n.t.bind(n,80062,23)),Promise.resolve().then(n.t.bind(n,23670,23)),Promise.resolve().then(n.t.bind(n,18558,23)),Promise.resolve().then(n.t.bind(n,21660,23)),Promise.resolve().then(n.t.bind(n,10335,23)),Promise.resolve().then(n.bind(n,3870))}},e=>{var s=s=>e(e.s=s);e.O(0,[9922,5159],()=>(s(49714),s(85297))),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7358],{38937:()=>{},99502:(e,s,n)=>{Promise.resolve().then(n.t.bind(n,17518,23)),Promise.resolve().then(n.t.bind(n,43319,23)),Promise.resolve().then(n.t.bind(n,23733,23)),Promise.resolve().then(n.t.bind(n,80062,23)),Promise.resolve().then(n.t.bind(n,23670,23)),Promise.resolve().then(n.t.bind(n,18558,23)),Promise.resolve().then(n.t.bind(n,21660,23)),Promise.resolve().then(n.t.bind(n,10335,23)),Promise.resolve().then(n.bind(n,3870))}},e=>{var s=s=>e(e.s=s);e.O(0,[9922,5159],()=>(s(49714),s(99502))),_N_E=e.O()}]);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kxta-web",
3
- "version": "4.3.1",
3
+ "version": "4.3.2",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "next dev --turbopack",
@@ -26,9 +26,9 @@
26
26
  "archiver": "^7.0.1",
27
27
  "better-sqlite3": "^12.10.0",
28
28
  "jsdom": "^29.1.1",
29
- "kontexta-mcp": "4.3.1",
30
- "kxta-core": "4.3.1",
31
- "kxta-publish": "4.3.1",
29
+ "kontexta-mcp": "4.3.2",
30
+ "kxta-core": "4.3.2",
31
+ "kxta-publish": "4.3.2",
32
32
  "lucide-react": "^1.21.0",
33
33
  "mermaid": "^11",
34
34
  "next": "^15.3.0",
@@ -9,7 +9,7 @@ const currentPort = parseInt(process.env.PORT, 10) || 3000
9
9
  const hostname = process.env.HOSTNAME || '0.0.0.0'
10
10
 
11
11
  let keepAliveTimeout = parseInt(process.env.KEEP_ALIVE_TIMEOUT, 10)
12
- const nextConfig = {"env":{},"eslint":{"ignoreDuringBuilds":false},"typescript":{"ignoreBuildErrors":false,"tsconfigPath":"tsconfig.json"},"typedRoutes":false,"distDir":"./.next","cleanDistDir":true,"assetPrefix":"","cacheMaxMemorySize":52428800,"configOrigin":"next.config.ts","useFileSystemPublicRoutes":true,"generateEtags":true,"pageExtensions":["tsx","ts","jsx","js"],"poweredByHeader":true,"compress":true,"images":{"deviceSizes":[640,750,828,1080,1200,1920,2048,3840],"imageSizes":[16,32,48,64,96,128,256,384],"path":"/_next/image","loader":"default","loaderFile":"","domains":[],"disableStaticImages":false,"minimumCacheTTL":60,"formats":["image/webp"],"maximumResponseBody":50000000,"dangerouslyAllowSVG":false,"contentSecurityPolicy":"script-src 'none'; frame-src 'none'; sandbox;","contentDispositionType":"attachment","remotePatterns":[],"unoptimized":false},"devIndicators":{"position":"bottom-left"},"onDemandEntries":{"maxInactiveAge":60000,"pagesBufferLength":5},"amp":{"canonicalBase":""},"basePath":"","sassOptions":{},"trailingSlash":false,"i18n":null,"productionBrowserSourceMaps":false,"excludeDefaultMomentLocales":true,"serverRuntimeConfig":{},"publicRuntimeConfig":{},"reactProductionProfiling":false,"reactStrictMode":null,"reactMaxHeadersLength":6000,"httpAgentOptions":{"keepAlive":true},"logging":{},"compiler":{},"expireTime":31536000,"staticPageGenerationTimeout":60,"output":"standalone","modularizeImports":{"@mui/icons-material":{"transform":"@mui/icons-material/{{member}}"},"lodash":{"transform":"lodash/{{member}}"}},"outputFileTracingRoot":"/Users/safiyudeen.saidumuha/projects/kontexta","allowedDevOrigins":["*.cloudworkstations.dev","*.cluster-*.cloudworkstations.dev"],"experimental":{"useSkewCookie":false,"cacheLife":{"default":{"stale":300,"revalidate":900,"expire":4294967294},"seconds":{"stale":30,"revalidate":1,"expire":60},"minutes":{"stale":300,"revalidate":60,"expire":3600},"hours":{"stale":300,"revalidate":3600,"expire":86400},"days":{"stale":300,"revalidate":86400,"expire":604800},"weeks":{"stale":300,"revalidate":604800,"expire":2592000},"max":{"stale":300,"revalidate":2592000,"expire":4294967294}},"cacheHandlers":{},"cssChunking":true,"multiZoneDraftMode":false,"appNavFailHandling":false,"prerenderEarlyExit":true,"serverMinification":true,"serverSourceMaps":false,"linkNoTouchStart":false,"caseSensitiveRoutes":false,"clientSegmentCache":false,"clientParamParsing":false,"dynamicOnHover":false,"preloadEntriesOnStart":true,"clientRouterFilter":true,"clientRouterFilterRedirects":false,"fetchCacheKeyPrefix":"","middlewarePrefetch":"flexible","optimisticClientCache":true,"manualClientBasePath":false,"cpus":9,"memoryBasedWorkersCount":false,"imgOptConcurrency":null,"imgOptTimeoutInSeconds":7,"imgOptMaxInputPixels":268402689,"imgOptSequentialRead":null,"imgOptSkipMetadata":null,"isrFlushToDisk":true,"workerThreads":false,"optimizeCss":false,"nextScriptWorkers":false,"scrollRestoration":false,"externalDir":false,"disableOptimizedLoading":false,"gzipSize":true,"craCompat":false,"esmExternals":true,"fullySpecified":false,"swcTraceProfiling":false,"forceSwcTransforms":false,"largePageDataBytes":128000,"typedEnv":false,"parallelServerCompiles":false,"parallelServerBuildTraces":false,"ppr":false,"authInterrupts":false,"webpackMemoryOptimizations":false,"optimizeServerReact":true,"viewTransition":false,"routerBFCache":false,"removeUncaughtErrorAndRejectionListeners":false,"validateRSCRequestHeaders":false,"staleTimes":{"dynamic":0,"static":300},"serverComponentsHmrCache":true,"staticGenerationMaxConcurrency":8,"staticGenerationMinPagesPerWorker":25,"cacheComponents":false,"inlineCss":false,"useCache":false,"globalNotFound":false,"devtoolSegmentExplorer":true,"browserDebugInfoInTerminal":false,"optimizeRouterScrolling":false,"middlewareClientMaxBodySize":10485760,"optimizePackageImports":["lucide-react","date-fns","lodash-es","ramda","antd","react-bootstrap","ahooks","@ant-design/icons","@headlessui/react","@headlessui-float/react","@heroicons/react/20/solid","@heroicons/react/24/solid","@heroicons/react/24/outline","@visx/visx","@tremor/react","rxjs","@mui/material","@mui/icons-material","recharts","react-use","effect","@effect/schema","@effect/platform","@effect/platform-node","@effect/platform-browser","@effect/platform-bun","@effect/sql","@effect/sql-mssql","@effect/sql-mysql2","@effect/sql-pg","@effect/sql-sqlite-node","@effect/sql-sqlite-bun","@effect/sql-sqlite-wasm","@effect/sql-sqlite-react-native","@effect/rpc","@effect/rpc-http","@effect/typeclass","@effect/experimental","@effect/opentelemetry","@material-ui/core","@material-ui/icons","@tabler/icons-react","mui-core","react-icons/ai","react-icons/bi","react-icons/bs","react-icons/cg","react-icons/ci","react-icons/di","react-icons/fa","react-icons/fa6","react-icons/fc","react-icons/fi","react-icons/gi","react-icons/go","react-icons/gr","react-icons/hi","react-icons/hi2","react-icons/im","react-icons/io","react-icons/io5","react-icons/lia","react-icons/lib","react-icons/lu","react-icons/md","react-icons/pi","react-icons/ri","react-icons/rx","react-icons/si","react-icons/sl","react-icons/tb","react-icons/tfi","react-icons/ti","react-icons/vsc","react-icons/wi"],"trustHostHeader":false,"isExperimentalCompile":false},"htmlLimitedBots":"[\\w-]+-Google|Google-[\\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight","bundlePagesRouterDependencies":false,"configFileName":"next.config.ts","serverExternalPackages":["better-sqlite3","archiver","jsdom","oniguruma","re2","kontexta-mcp","kxta-core","kxta-publish","kxta-publish/render/pdf"],"outputFileTracingIncludes":{"**/*":["../../packages/core/src/agent-rules/rules-block.md","../../packages/core/src/db/migrations/*.sql","../../CHANGELOG.md","./../../node_modules/.pnpm/pdfkit@0.19.1/node_modules/pdfkit/js/data/*.afm"]},"turbopack":{"root":"/Users/safiyudeen.saidumuha/projects/kontexta"}}
12
+ const nextConfig = {"env":{},"eslint":{"ignoreDuringBuilds":false},"typescript":{"ignoreBuildErrors":false,"tsconfigPath":"tsconfig.json"},"typedRoutes":false,"distDir":"./.next","cleanDistDir":true,"assetPrefix":"","cacheMaxMemorySize":52428800,"configOrigin":"next.config.ts","useFileSystemPublicRoutes":true,"generateEtags":true,"pageExtensions":["tsx","ts","jsx","js"],"poweredByHeader":true,"compress":true,"images":{"deviceSizes":[640,750,828,1080,1200,1920,2048,3840],"imageSizes":[16,32,48,64,96,128,256,384],"path":"/_next/image","loader":"default","loaderFile":"","domains":[],"disableStaticImages":false,"minimumCacheTTL":60,"formats":["image/webp"],"maximumResponseBody":50000000,"dangerouslyAllowSVG":false,"contentSecurityPolicy":"script-src 'none'; frame-src 'none'; sandbox;","contentDispositionType":"attachment","remotePatterns":[],"unoptimized":false},"devIndicators":{"position":"bottom-left"},"onDemandEntries":{"maxInactiveAge":60000,"pagesBufferLength":5},"amp":{"canonicalBase":""},"basePath":"","sassOptions":{},"trailingSlash":false,"i18n":null,"productionBrowserSourceMaps":false,"excludeDefaultMomentLocales":true,"serverRuntimeConfig":{},"publicRuntimeConfig":{},"reactProductionProfiling":false,"reactStrictMode":null,"reactMaxHeadersLength":6000,"httpAgentOptions":{"keepAlive":true},"logging":{},"compiler":{},"expireTime":31536000,"staticPageGenerationTimeout":60,"output":"standalone","modularizeImports":{"@mui/icons-material":{"transform":"@mui/icons-material/{{member}}"},"lodash":{"transform":"lodash/{{member}}"}},"outputFileTracingRoot":"/home/runner/work/kontexta/kontexta","allowedDevOrigins":["*.cloudworkstations.dev","*.cluster-*.cloudworkstations.dev"],"experimental":{"useSkewCookie":false,"cacheLife":{"default":{"stale":300,"revalidate":900,"expire":4294967294},"seconds":{"stale":30,"revalidate":1,"expire":60},"minutes":{"stale":300,"revalidate":60,"expire":3600},"hours":{"stale":300,"revalidate":3600,"expire":86400},"days":{"stale":300,"revalidate":86400,"expire":604800},"weeks":{"stale":300,"revalidate":604800,"expire":2592000},"max":{"stale":300,"revalidate":2592000,"expire":4294967294}},"cacheHandlers":{},"cssChunking":true,"multiZoneDraftMode":false,"appNavFailHandling":false,"prerenderEarlyExit":true,"serverMinification":true,"serverSourceMaps":false,"linkNoTouchStart":false,"caseSensitiveRoutes":false,"clientSegmentCache":false,"clientParamParsing":false,"dynamicOnHover":false,"preloadEntriesOnStart":true,"clientRouterFilter":true,"clientRouterFilterRedirects":false,"fetchCacheKeyPrefix":"","middlewarePrefetch":"flexible","optimisticClientCache":true,"manualClientBasePath":false,"cpus":3,"memoryBasedWorkersCount":false,"imgOptConcurrency":null,"imgOptTimeoutInSeconds":7,"imgOptMaxInputPixels":268402689,"imgOptSequentialRead":null,"imgOptSkipMetadata":null,"isrFlushToDisk":true,"workerThreads":false,"optimizeCss":false,"nextScriptWorkers":false,"scrollRestoration":false,"externalDir":false,"disableOptimizedLoading":false,"gzipSize":true,"craCompat":false,"esmExternals":true,"fullySpecified":false,"swcTraceProfiling":false,"forceSwcTransforms":false,"largePageDataBytes":128000,"typedEnv":false,"parallelServerCompiles":false,"parallelServerBuildTraces":false,"ppr":false,"authInterrupts":false,"webpackMemoryOptimizations":false,"optimizeServerReact":true,"viewTransition":false,"routerBFCache":false,"removeUncaughtErrorAndRejectionListeners":false,"validateRSCRequestHeaders":false,"staleTimes":{"dynamic":0,"static":300},"serverComponentsHmrCache":true,"staticGenerationMaxConcurrency":8,"staticGenerationMinPagesPerWorker":25,"cacheComponents":false,"inlineCss":false,"useCache":false,"globalNotFound":false,"devtoolSegmentExplorer":true,"browserDebugInfoInTerminal":false,"optimizeRouterScrolling":false,"middlewareClientMaxBodySize":10485760,"optimizePackageImports":["lucide-react","date-fns","lodash-es","ramda","antd","react-bootstrap","ahooks","@ant-design/icons","@headlessui/react","@headlessui-float/react","@heroicons/react/20/solid","@heroicons/react/24/solid","@heroicons/react/24/outline","@visx/visx","@tremor/react","rxjs","@mui/material","@mui/icons-material","recharts","react-use","effect","@effect/schema","@effect/platform","@effect/platform-node","@effect/platform-browser","@effect/platform-bun","@effect/sql","@effect/sql-mssql","@effect/sql-mysql2","@effect/sql-pg","@effect/sql-sqlite-node","@effect/sql-sqlite-bun","@effect/sql-sqlite-wasm","@effect/sql-sqlite-react-native","@effect/rpc","@effect/rpc-http","@effect/typeclass","@effect/experimental","@effect/opentelemetry","@material-ui/core","@material-ui/icons","@tabler/icons-react","mui-core","react-icons/ai","react-icons/bi","react-icons/bs","react-icons/cg","react-icons/ci","react-icons/di","react-icons/fa","react-icons/fa6","react-icons/fc","react-icons/fi","react-icons/gi","react-icons/go","react-icons/gr","react-icons/hi","react-icons/hi2","react-icons/im","react-icons/io","react-icons/io5","react-icons/lia","react-icons/lib","react-icons/lu","react-icons/md","react-icons/pi","react-icons/ri","react-icons/rx","react-icons/si","react-icons/sl","react-icons/tb","react-icons/tfi","react-icons/ti","react-icons/vsc","react-icons/wi"],"trustHostHeader":false,"isExperimentalCompile":false},"htmlLimitedBots":"[\\w-]+-Google|Google-[\\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight","bundlePagesRouterDependencies":false,"configFileName":"next.config.ts","serverExternalPackages":["better-sqlite3","archiver","jsdom","oniguruma","re2","kontexta-mcp","kxta-core","kxta-publish","kxta-publish/render/pdf"],"outputFileTracingIncludes":{"**/*":["../../packages/core/src/agent-rules/rules-block.md","../../packages/core/src/db/migrations/*.sql","../../CHANGELOG.md","./../../node_modules/.pnpm/pdfkit@0.19.1/node_modules/pdfkit/js/data/*.afm"]},"turbopack":{"root":"/home/runner/work/kontexta/kontexta"}}
13
13
 
14
14
  process.env.__NEXT_PRIVATE_STANDALONE_CONFIG = JSON.stringify(nextConfig)
15
15
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-08-10T19:41:22.485Z",
2
+ "generatedAt": "2026-08-10T20:20:51.113Z",
3
3
  "tools": [
4
4
  {
5
5
  "name": "journal_append",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kontexta-mcp",
3
- "version": "4.3.1",
3
+ "version": "4.3.2",
4
4
  "description": "The local Brain and Hands for AI coding agents (MCP Server)",
5
5
  "keywords": [
6
6
  "mcp",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kxta-core",
3
- "version": "4.3.1",
3
+ "version": "4.3.2",
4
4
  "description": "Core context and command engines for Kontexta",
5
5
  "private": true,
6
6
  "type": "module",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kxta-publish",
3
- "version": "4.3.1",
3
+ "version": "4.3.2",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "bin": {
@@ -17,7 +17,7 @@
17
17
  "html-to-pdfmake": "^2.5.33",
18
18
  "js-yaml": "^4.1.0",
19
19
  "jsdom": "^29.1.1",
20
- "kxta-core": "4.3.1",
20
+ "kxta-core": "4.3.2",
21
21
  "markdown-it": "^14.1.0",
22
22
  "pdfmake": "^0.3.11"
23
23
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kontexta",
3
- "version": "4.3.1",
3
+ "version": "4.3.2",
4
4
  "rulesVersion": "2.3.0",
5
5
  "type": "module",
6
6
  "author": "Safiyu",
package/dist/index.js CHANGED
@@ -34,7 +34,7 @@ Usage:
34
34
  process.exit(await runDoctor());
35
35
  }
36
36
  if (arg === "start") {
37
- const { runStart } = await import("./start-RCW7AKUK.js");
37
+ const { runStart } = await import("./start-MCG73ATY.js");
38
38
  await runStart();
39
39
  process.exit(0);
40
40
  }
@@ -80,7 +80,12 @@ async function runStart() {
80
80
  ...process.env,
81
81
  PORT: String(port),
82
82
  KONTEXTA_DATA_DIR: data.path,
83
- HOSTNAME: "127.0.0.1"
83
+ HOSTNAME: "127.0.0.1",
84
+ // Tell the dashboard how it was installed. Without this, detectInstall()
85
+ // falls through to "source" (no docker marker, no npm_execpath on a
86
+ // direct node spawn) and the config snippets point at the bundled
87
+ // node_modules copy of kontexta-mcp instead of the npx command.
88
+ KONTEXTA_INSTALL_HINT: "npm"
84
89
  }
85
90
  });
86
91
  let exited = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kontexta",
3
- "version": "4.3.1",
3
+ "version": "4.3.2",
4
4
  "description": "One-click local dashboard + MCP server for AI coding agents",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -1 +0,0 @@
1
- exports.id=5186,exports.ids=[5186],exports.modules={361:(a,b,c)=>{"use strict";c.d(b,{T:()=>f});var d=c(25108),e=c(42052);function f({open:a,onClose:b,onConfirm:c,title:f,message:g,confirmLabel:h="Confirm",cancelLabel:i="Cancel",destructive:j=!1,loading:k=!1}){return(0,d.jsxs)(e.l,{open:a,onClose:b,title:f,children:[(0,d.jsx)("div",{className:"text-sm text-[var(--text-secondary)]",children:g}),(0,d.jsxs)("div",{className:"flex justify-end gap-2 mt-5",children:[(0,d.jsx)("button",{type:"button",className:"btn btn-md",onClick:b,disabled:k,children:i}),(0,d.jsx)("button",{type:"button",className:`btn btn-md ${j?"btn-destructive":"btn-primary"}`,onClick:c,disabled:k,children:k?"…":h})]})]})}},6296:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>p,metadata:()=>o});var d=c(18234),e=c(94155),f=c.n(e),g=c(59984),h=c.n(g),i=c(13058),j=c.n(i),k=c(90078),l=c.n(k),m=c(41801);c(99807);var n=c(70474);let o={title:"Kontexta"};function p({children:a}){return(0,d.jsx)("html",{lang:"en",suppressHydrationWarning:!0,children:(0,d.jsx)("body",{className:`${f().variable} ${h().variable} ${j().variable} ${l().variable} font-sans antialiased`,children:(0,d.jsxs)(n.ThemeProvider,{children:[a,(0,d.jsx)(m.Toaster,{position:"bottom-right",gap:8,offset:24,toastOptions:{style:{background:"var(--bg-secondary)",color:"var(--text-primary)",border:"1px solid var(--border)"},className:"text-sm"}})]})})})}},16040:(a,b,c)=>{"use strict";c.d(b,{BE:()=>i,Er:()=>h,Sg:()=>j,T1:()=>k,T5:()=>l});var d=c(77598),e=c.n(d),f=c(28684);function g(){if(globalThis.__kontextaSessionSecret)return globalThis.__kontextaSessionSecret;let a=null;try{a=(0,f.getSetting)("auth_session_secret")}catch{return globalThis.__kontextaTmpSessionSecret??(globalThis.__kontextaTmpSessionSecret=e().randomBytes(32).toString("hex"))}return a||(a=e().randomBytes(32).toString("hex"),(0,f.setSetting)("auth_session_secret",a)),globalThis.__kontextaSessionSecret=a,a}function h(a){let b=e().randomBytes(32).toString("hex");return{hash:e().scryptSync(a,b,64).toString("hex"),salt:b}}function i(a,b,c){let d=e().scryptSync(a,c,64).toString("hex");return e().timingSafeEqual(Buffer.from(b,"hex"),Buffer.from(d,"hex"))}function j(a){let b=g(),c=Buffer.from(JSON.stringify(a)).toString("base64"),d=e().createHmac("sha256",b).update(c).digest("hex");return`${c}.${d}`}function k(a){let b=!1;try{b="true"===(0,f.getSetting)("auth_trust_proxy_headers")}catch{b=!1}if(!b)return"direct";let c=a.headers.get("x-forwarded-for");if(c){let a=c.split(",")[0].trim();if(a)return a}let d=a.headers.get("x-real-ip");return d?d.trim():"direct"}function l(a){let b=null;try{b=(0,f.getSetting)("auth_password_hash")}catch{return!0}if(!b)return!0;let c=!1;try{c="true"===(0,f.getSetting)("auth_trust_proxy_headers")}catch{c=!1}let d=c?a.headers.get("x-forwarded-for")?.split(",")[0].trim()??a.headers.get("x-real-ip")??void 0:void 0,h=!1;if("cookies"in a&&"function"==typeof a.cookies.get)h=!!a.cookies.get("kontexta_locked")?.value;else{let b=a.headers.get("cookie");b&&(h=/(?:^|;\s*)kontexta_locked=1/.test(b))}if(!h&&function(a){let b=null;try{b=(0,f.getSetting)("auth_bypass_ips")}catch{return!1}if(!b)return!1;let c=b.split(",").map(a=>a.trim());return!!(a&&c.includes(a)||(c.includes("127.0.0.1")||c.includes("localhost")||c.includes("*"))&&("127.0.0.1"===a||"::1"===a||"localhost"===a))}(d))return!0;let i=null;if("cookies"in a&&"function"==typeof a.cookies.get)i=a.cookies.get("kontexta_session")?.value;else{let b=a.headers.get("cookie");if(b){let a=b.match(/(?:^|;\s*)kontexta_session=([^;]+)/);if(a)try{i=decodeURIComponent(a[1])}catch{i=a[1]}}}return!!(i&&function(a){try{let[b,c]=a.split(".");if(!b||!c)return null;let d=g(),f=e().createHmac("sha256",d).update(b).digest("hex"),h=Buffer.from(c,"hex"),i=Buffer.from(f,"hex");if(h.length!==i.length||!e().timingSafeEqual(h,i))return null;let j=JSON.parse(Buffer.from(b,"base64").toString("utf-8"));if("number"!=typeof j?.t||Date.now()-j.t>2592e6)return null;return j}catch{return null}}(i))}},16704:(a,b,c)=>{"use strict";c.d(b,{ThemeProvider:()=>f});var d=c(25108),e=c(16250);function f({children:a}){return(0,d.jsx)(e.N,{attribute:"class",defaultTheme:"dark",enableSystem:!0,themes:["light","dark","blueprint"],children:a})}},28691:(a,b,c)=>{"use strict";c.d(b,{G:()=>f,n:()=>e});var d=c(28684);let e=(0,d.getDataDir)();function f(){(0,d.resetDataDirCache)(),e=(0,d.getDataDir)(),(0,d.ensureDataDir)(),globalThis.__kontextaDb||(0,d.getDatabase)()}},36847:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,28450,23)),Promise.resolve().then(c.t.bind(c,51645,23)),Promise.resolve().then(c.t.bind(c,20909,23)),Promise.resolve().then(c.t.bind(c,92612,23)),Promise.resolve().then(c.t.bind(c,64060,23)),Promise.resolve().then(c.t.bind(c,83840,23)),Promise.resolve().then(c.t.bind(c,12216,23)),Promise.resolve().then(c.t.bind(c,90657,23)),Promise.resolve().then(c.t.bind(c,53192,23))},42052:(a,b,c)=>{"use strict";c.d(b,{l:()=>g});var d=c(25108),e=c(2085),f=c(13505);function g({open:a,onClose:b,title:c,description:g,widthClass:h="max-w-md",hideHeader:i=!1,positionClass:j="left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2",children:k}){return(0,d.jsx)(e.bL,{open:a,onOpenChange:a=>{a||b()},children:(0,d.jsxs)(e.ZL,{children:[(0,d.jsx)(e.hJ,{className:"fixed inset-0 z-[var(--z-modal)] bg-black/60 backdrop-blur-sm animate-fade-in"}),(0,d.jsx)(e.UC,{className:`fixed ${j} z-[var(--z-modal)] focus:outline-none`,children:(0,d.jsxs)("div",{className:`relative w-[92vw] ${h} rounded-xl border border-[var(--border)] bg-[var(--bg-primary)] shadow-2xl animate-scale-in max-h-[85vh] flex flex-col`,children:[i?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(e.hE,{className:"sr-only",children:c}),(0,d.jsx)(e.bm,{className:"btn btn-icon-sm absolute right-3 top-3 z-10","aria-label":"Close",children:(0,d.jsx)(f.A,{className:"w-4 h-4","aria-hidden":!0})})]}):(0,d.jsxs)("div",{className:"flex items-center justify-between px-5 pt-4 pb-3 border-b border-[var(--border)] shrink-0",children:[(0,d.jsx)(e.hE,{className:"text-sm font-bold text-[var(--text-primary)] font-title",children:c}),(0,d.jsx)(e.bm,{className:"btn btn-icon-sm","aria-label":"Close",children:(0,d.jsx)(f.A,{className:"w-4 h-4","aria-hidden":!0})})]}),g?(0,d.jsx)(e.VY,{className:"px-5 pt-3 text-xs text-[var(--text-secondary)]",children:g}):(0,d.jsx)(e.VY,{className:"sr-only",children:c}),(0,d.jsx)("div",{className:"p-5 overflow-y-auto",children:k})]})})]})})}},52680:(a,b,c)=>{Promise.resolve().then(c.bind(c,16704)),Promise.resolve().then(c.bind(c,75947))},65122:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>e});var d=c(55939);let e=async a=>[{type:"image/png",sizes:"32x32",url:(0,d.fillMetadataSegment)(".",await a.params,"icon.png")+"?369c2ac0c93dd8eb"}]},65336:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>e});var d=c(55939);let e=async a=>[{type:"image/x-icon",sizes:"16x16",url:(0,d.fillMetadataSegment)(".",await a.params,"favicon.ico")+""}]},65832:(a,b,c)=>{Promise.resolve().then(c.bind(c,70474)),Promise.resolve().then(c.bind(c,41801))},70474:(a,b,c)=>{"use strict";c.d(b,{ThemeProvider:()=>d});let d=(0,c(13522).registerClientReference)(function(){throw Error("Attempted to call ThemeProvider() from the server but ThemeProvider is 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/safiyudeen.saidumuha/projects/kontexta/apps/web/src/components/theme/theme-provider.tsx","ThemeProvider")},90314:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>e});var d=c(55939);let e=async a=>[{type:"image/png",sizes:"256x256",url:(0,d.fillMetadataSegment)(".",await a.params,"apple-icon.png")+"?44240bdecabd1cc9"}]},96679:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,17504,23)),Promise.resolve().then(c.t.bind(c,7715,23)),Promise.resolve().then(c.t.bind(c,24575,23)),Promise.resolve().then(c.t.bind(c,57074,23)),Promise.resolve().then(c.t.bind(c,94854,23)),Promise.resolve().then(c.t.bind(c,68506,23)),Promise.resolve().then(c.t.bind(c,41634,23)),Promise.resolve().then(c.t.bind(c,74775,23)),Promise.resolve().then(c.bind(c,5010))},99807:()=>{}};
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9492],{8336:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=l(14915),n=l(60982),o=function(){return(0,r.jsx)("html",{children:(0,r.jsx)("body",{children:(0,r.jsx)(n.HTTPAccessErrorFallback,{status:404,message:"This page could not be found."})})})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},60982:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HTTPAccessErrorFallback",{enumerable:!0,get:function(){return o}});let r=l(14915),n=l(92473);function o(e){let{status:t,message:l}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:t+": "+l}),(0,r.jsx)("div",{style:n.styles.error,children:(0,r.jsxs)("div",{children:[(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}),(0,r.jsx)("h1",{className:"next-error-h1",style:n.styles.h1,children:t}),(0,r.jsx)("div",{style:n.styles.desc,children:(0,r.jsx)("h2",{style:n.styles.h2,children:l})})]})})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},80393:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_not-found/page",function(){return l(8336)}])},92473:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"styles",{enumerable:!0,get:function(){return l}});let l={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block"},h1:{display:"inline-block",margin:"0 20px 0 0",padding:"0 23px 0 0",fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:14,fontWeight:400,lineHeight:"49px",margin:0}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}},e=>{e.O(0,[9922,5159,7358],()=>e(e.s=80393)),_N_E=e.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4520],{7395:(e,t,a)=>{"use strict";a.d(t,{H:()=>o});var r=a(14915);let s={sm:{lightSrc:"/logo.png",darkSrc:"/logo-dark.png",imgClass:"h-[56px] w-auto",floatClass:"",particles:[],orbitRadius:0},lg:{lightSrc:"/logo.png",darkSrc:"/logo-dark.png",imgClass:"h-[150px] w-auto",floatClass:"animate-[logo-float-lg_3s_ease-in-out_infinite]",particles:[{size:6,color:"#C2410C",opacity:.75,duration:5,reverse:!1,delay:0},{size:4,color:"#D4A050",opacity:.55,duration:7,reverse:!0,delay:-3},{size:3,color:"#FFD49A",opacity:.45,duration:9,reverse:!1,delay:-5}],orbitRadius:70}};function o(e){let{size:t}=e,{lightSrc:a,darkSrc:o,imgClass:n,floatClass:c,particles:l,orbitRadius:i}=s[t];return(0,r.jsxs)("div",{className:"relative inline-flex flex-shrink-0 overflow-visible",children:[(0,r.jsx)("img",{src:a,alt:"Kontexta",className:"block dark:hidden ".concat(n," object-contain ").concat(c)}),(0,r.jsx)("img",{src:o,alt:"Kontexta",className:"hidden dark:block ".concat(n," object-contain ").concat(c)}),l.map((e,t)=>(0,r.jsx)("span",{className:"absolute rounded-full bp-keep-round pointer-events-none",style:{width:e.size,height:e.size,backgroundColor:e.color,opacity:e.opacity,top:"calc(50% - ".concat(i,"px)"),left:"calc(50% - ".concat(e.size/2,"px)"),transformOrigin:"".concat(e.size/2,"px ").concat(i,"px"),animation:"logo-orbit ".concat(e.duration,"s linear infinite").concat(e.reverse?" reverse":""),animationDelay:"".concat(e.delay,"s")}},t))]})}},30300:(e,t,a)=>{"use strict";var r=a(15852);a.o(r,"useRouter")&&a.d(t,{useRouter:function(){return r.useRouter}}),a.o(r,"useSearchParams")&&a.d(t,{useSearchParams:function(){return r.useSearchParams}})},59413:(e,t,a)=>{"use strict";a.d(t,{LoginClient:()=>c});var r=a(14915),s=a(65347),o=a(30300),n=a(7395);function c(e){let{isSetupRequired:t}=e,a=(0,o.useRouter)(),[c,l]=(0,s.useState)(""),[i,d]=(0,s.useState)("127.0.0.1, localhost"),[u,x]=(0,s.useState)(!1),[p,m]=(0,s.useState)(""),[h,b]=(0,s.useState)(!1),g=async e=>{e.preventDefault(),m(""),b(!0);try{let e,r=t?{password:c,bypassIps:i,trustProxyHeaders:u}:{password:c},s=await fetch(t?"/api/auth/setup":"/api/auth/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});try{e=await s.json()}catch(e){throw Error("Server returned invalid JSON (status ".concat(s.status,"). Check browser console for details."))}if(!s.ok)throw Error(e.error||"Authentication failed (".concat(s.status,")"));a.push(t?"/?setup=1":"/")}catch(e){m(e.message||"An unexpected error occurred. Check browser console.")}finally{b(!1)}};return(0,r.jsxs)("div",{className:"bp-grid min-h-screen bg-[var(--bg-primary)] flex flex-col items-center justify-center p-4",children:[(0,r.jsxs)("div",{className:"bp-dashed w-full max-w-md bg-[var(--bg-secondary)] border border-[var(--border)] rounded-2xl shadow-2xl overflow-hidden",children:[(0,r.jsxs)("div",{className:"p-8 pb-6 text-center border-b border-[var(--border)] bg-gradient-to-b from-[var(--bg-tertiary)] to-transparent",children:[(0,r.jsx)("div",{className:"flex justify-center mb-6",children:(0,r.jsx)(n.H,{size:"sm"})}),(0,r.jsx)("h1",{className:"text-2xl font-bold text-[var(--accent)] mb-2 tracking-wide font-[family-name:var(--font-title)]",children:t?"Secure Kontexta":"Welcome Back"}),(0,r.jsx)("p",{className:"text-[var(--text-secondary)] text-sm",children:t?"Set a master password to protect your knowledge base from unauthorized network access.":"Enter your master password to access your knowledge base."})]}),(0,r.jsxs)("form",{onSubmit:g,className:"p-8 space-y-6",children:[p&&(0,r.jsx)("div",{className:"p-3 rounded-lg bg-[var(--danger-soft)] border border-[var(--danger)]/20 text-[var(--danger)] text-sm text-center",children:p}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)("label",{className:"text-xs font-bold text-[var(--text-secondary)] uppercase tracking-wider",children:"Master Password"}),(0,r.jsx)("input",{type:"password",value:c,onChange:e=>l(e.target.value),placeholder:"••••••••",className:"w-full bg-[var(--bg-primary)] border border-[var(--border)] rounded-lg px-4 py-3 text-[var(--text-primary)] focus:outline-none focus:border-[var(--accent)] focus:ring-1 focus:ring-[var(--accent)] transition-all",required:!0,minLength:4,autoFocus:!0})]}),t&&(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)("label",{className:"text-xs font-bold text-[var(--text-secondary)] uppercase tracking-wider",children:"Bypass Authentication For (IPs)"}),(0,r.jsx)("input",{type:"text",value:i,onChange:e=>d(e.target.value),placeholder:"127.0.0.1, localhost",className:"w-full bg-[var(--bg-primary)] border border-[var(--border)] rounded-lg px-4 py-3 text-[var(--text-primary)] focus:outline-none focus:border-[var(--accent)] focus:ring-1 focus:ring-[var(--accent)] transition-all text-sm font-mono"}),(0,r.jsx)("p",{className:"text-xs text-[var(--text-tertiary)] mt-1",children:'Comma-separated list of IPs. Leave "127.0.0.1, localhost" to skip login when accessing from the same machine.'}),(0,r.jsxs)("label",{className:"flex items-start gap-2 mt-3 cursor-pointer select-none",children:[(0,r.jsx)("input",{type:"checkbox",checked:u,onChange:e=>x(e.target.checked),className:"mt-0.5 accent-[var(--accent)]"}),(0,r.jsxs)("span",{className:"text-xs text-[var(--text-secondary)] leading-snug",children:["Trust ",(0,r.jsx)("code",{className:"font-mono",children:"X-Forwarded-For"})," headers",(0,r.jsx)("span",{className:"block text-[var(--text-tertiary)] mt-0.5",children:"Only enable this if Kontexta sits behind a reverse proxy you control (nginx, Caddy, Cloudflare Tunnel). Without a proxy, any caller on the network can spoof these headers and bypass auth."})]})]})]}),(0,r.jsx)("button",{type:"submit",disabled:h,className:"btn btn-md btn-primary w-full",children:h?(0,r.jsxs)("svg",{className:"animate-spin h-5 w-5",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,r.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,r.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}):t?"Initialize Security":"Unlock"})]})]}),(0,r.jsx)("div",{className:"mt-8 text-center text-xs text-[var(--text-tertiary)] font-mono",children:"Kontexta Secure Enclave"})]})}},60716:(e,t,a)=>{Promise.resolve().then(a.bind(a,59413))}},e=>{e.O(0,[9922,5159,7358],()=>e(e.s=60716)),_N_E=e.O()}]);