idea-manager 1.3.5 → 1.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +5 -5
- package/.next/build-manifest.json +13 -13
- package/.next/next-minimal-server.js.nft.json +1 -1
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.json +3 -3
- package/.next/required-server-files.js +2 -0
- package/.next/required-server-files.json +2 -0
- package/.next/server/app/_global-error/page.js +3 -10
- package/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -2
- package/.next/server/app/_global-error.html +2 -2
- package/.next/server/app/_global-error.meta +2 -1
- package/.next/server/app/_global-error.rsc +7 -7
- package/.next/server/app/_global-error.segments/_full.segment.rsc +7 -7
- package/.next/server/app/_global-error.segments/{__PAGE__.segment.rsc → _global-error/__PAGE__.segment.rsc} +2 -2
- package/.next/server/app/_global-error.segments/_global-error.segment.rsc +4 -0
- package/.next/server/app/_global-error.segments/_head.segment.rsc +3 -3
- package/.next/server/app/_global-error.segments/_index.segment.rsc +3 -3
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js +6 -13
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -2
- package/.next/server/app/_not-found.html +2 -2
- package/.next/server/app/_not-found.rsc +11 -9
- package/.next/server/app/_not-found.segments/_full.segment.rsc +11 -9
- package/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
- package/.next/server/app/_not-found.segments/_index.segment.rsc +4 -4
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +4 -2
- package/.next/server/app/api/archive/route.js +83 -6
- package/.next/server/app/api/archive/route.js.nft.json +1 -1
- package/.next/server/app/api/archive/route_client-reference-manifest.js +1 -2
- package/.next/server/app/api/filesystem/route.js +1 -6
- package/.next/server/app/api/filesystem/route.js.nft.json +1 -1
- package/.next/server/app/api/filesystem/route_client-reference-manifest.js +1 -2
- package/.next/server/app/api/filesystem/tree/route.js +1 -6
- package/.next/server/app/api/filesystem/tree/route.js.nft.json +1 -1
- package/.next/server/app/api/filesystem/tree/route_client-reference-manifest.js +1 -2
- package/.next/server/app/api/global-memo/route.js +77 -6
- package/.next/server/app/api/global-memo/route.js.nft.json +1 -1
- package/.next/server/app/api/global-memo/route_client-reference-manifest.js +1 -2
- package/.next/server/app/api/health/route.js +1 -6
- package/.next/server/app/api/health/route.js.nft.json +1 -1
- package/.next/server/app/api/health/route_client-reference-manifest.js +1 -2
- package/.next/server/app/api/projects/[id]/apply-distribute/route.js +97 -6
- package/.next/server/app/api/projects/[id]/apply-distribute/route.js.nft.json +1 -1
- package/.next/server/app/api/projects/[id]/apply-distribute/route_client-reference-manifest.js +1 -2
- package/.next/server/app/api/projects/[id]/auto-distribute/route.js +45 -6
- package/.next/server/app/api/projects/[id]/auto-distribute/route.js.nft.json +1 -1
- package/.next/server/app/api/projects/[id]/auto-distribute/route_client-reference-manifest.js +1 -2
- package/.next/server/app/api/projects/[id]/brainstorm/route.js +77 -6
- package/.next/server/app/api/projects/[id]/brainstorm/route.js.nft.json +1 -1
- package/.next/server/app/api/projects/[id]/brainstorm/route_client-reference-manifest.js +1 -2
- package/.next/server/app/api/projects/[id]/git-sync/route.js +77 -6
- package/.next/server/app/api/projects/[id]/git-sync/route.js.nft.json +1 -1
- package/.next/server/app/api/projects/[id]/git-sync/route_client-reference-manifest.js +1 -2
- package/.next/server/app/api/projects/[id]/route.js +77 -6
- package/.next/server/app/api/projects/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/projects/[id]/route_client-reference-manifest.js +1 -2
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/route.js +91 -6
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/route.js.nft.json +1 -1
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/route_client-reference-manifest.js +1 -2
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/chat/route.js +22 -6
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/chat/route.js.nft.json +1 -1
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/chat/route_client-reference-manifest.js +1 -2
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/prompt/route.js +77 -6
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/prompt/route.js.nft.json +1 -1
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/prompt/route_client-reference-manifest.js +1 -2
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/route.js +83 -6
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/route.js.nft.json +1 -1
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/route_client-reference-manifest.js +1 -2
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/route.js +83 -6
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/route.js.nft.json +1 -1
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/route_client-reference-manifest.js +1 -2
- package/.next/server/app/api/projects/[id]/sub-projects/route.js +91 -6
- package/.next/server/app/api/projects/[id]/sub-projects/route.js.nft.json +1 -1
- package/.next/server/app/api/projects/[id]/sub-projects/route_client-reference-manifest.js +1 -2
- package/.next/server/app/api/projects/route.js +77 -6
- package/.next/server/app/api/projects/route.js.nft.json +1 -1
- package/.next/server/app/api/projects/route_client-reference-manifest.js +1 -2
- package/.next/server/app/api/sync/route.js +77 -7
- package/.next/server/app/api/sync/route.js.nft.json +1 -1
- package/.next/server/app/api/sync/route_client-reference-manifest.js +1 -2
- package/.next/server/app/index.html +2 -2
- package/.next/server/app/index.rsc +13 -13
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/index.segments/_full.segment.rsc +13 -13
- package/.next/server/app/index.segments/_head.segment.rsc +4 -4
- package/.next/server/app/index.segments/_index.segment.rsc +4 -4
- package/.next/server/app/index.segments/_tree.segment.rsc +4 -4
- package/.next/server/app/page.js +23 -15
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -2
- package/.next/server/app/projects/[id]/page.js +6 -15
- package/.next/server/app/projects/[id]/page.js.nft.json +1 -1
- package/.next/server/app/projects/[id]/page_client-reference-manifest.js +1 -2
- package/.next/server/app-paths-manifest.json +5 -5
- package/.next/server/chunks/445.js +22 -0
- package/.next/server/chunks/471.js +13 -0
- package/.next/server/chunks/482.js +1 -0
- package/.next/server/chunks/806.js +77 -0
- package/.next/server/chunks/813.js +1 -0
- package/.next/server/middleware-build-manifest.js +1 -21
- package/.next/server/middleware-manifest.json +2 -2
- package/.next/server/middleware-react-loadable-manifest.js +1 -0
- package/.next/server/next-font-manifest.js +1 -1
- package/.next/server/next-font-manifest.json +1 -19
- package/.next/server/pages/404.html +2 -2
- package/.next/server/pages/500.html +2 -2
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -5
- package/.next/server/webpack-runtime.js +1 -0
- package/.next/static/chunks/151-332d463cd8bd4db6.js +1 -0
- package/.next/static/chunks/4bd1b696-096d35a2bd1da3af.js +1 -0
- package/.next/static/chunks/794-37dad9bbc14b04b8.js +2 -0
- package/.next/static/chunks/app/_global-error/page-fd75b71b49e9729e.js +1 -0
- package/.next/static/chunks/app/_not-found/page-abee8833f317bce2.js +1 -0
- package/.next/static/chunks/app/api/archive/route-fd75b71b49e9729e.js +1 -0
- package/.next/static/chunks/app/api/filesystem/route-fd75b71b49e9729e.js +1 -0
- package/.next/static/chunks/app/api/filesystem/tree/route-fd75b71b49e9729e.js +1 -0
- package/.next/static/chunks/app/api/global-memo/route-fd75b71b49e9729e.js +1 -0
- package/.next/static/chunks/app/api/health/route-fd75b71b49e9729e.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/apply-distribute/route-fd75b71b49e9729e.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/auto-distribute/route-fd75b71b49e9729e.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/brainstorm/route-fd75b71b49e9729e.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/git-sync/route-fd75b71b49e9729e.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/route-fd75b71b49e9729e.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/sub-projects/[subId]/route-fd75b71b49e9729e.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/chat/route-fd75b71b49e9729e.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/prompt/route-fd75b71b49e9729e.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/route-fd75b71b49e9729e.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/sub-projects/[subId]/tasks/route-fd75b71b49e9729e.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/sub-projects/route-fd75b71b49e9729e.js +1 -0
- package/.next/static/chunks/app/api/projects/route-fd75b71b49e9729e.js +1 -0
- package/.next/static/chunks/app/api/sync/route-fd75b71b49e9729e.js +1 -0
- package/.next/static/chunks/app/layout-52917f6c941a9818.js +1 -0
- package/.next/static/chunks/app/page-6bd6387a28d57acb.js +18 -0
- package/.next/static/chunks/app/projects/[id]/page-822db6c758e612c4.js +1 -0
- package/.next/static/chunks/framework-75892d61b920805f.js +1 -0
- package/.next/static/chunks/main-app-35159df8e1c56fc3.js +1 -0
- package/.next/static/chunks/main-f1d55fffd3cc9809.js +5 -0
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-fd75b71b49e9729e.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-fd75b71b49e9729e.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/global-error-25a0b2af2b25843d.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-fd75b71b49e9729e.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-fd75b71b49e9729e.js +1 -0
- package/.next/static/chunks/webpack-046a553649a22885.js +1 -0
- package/.next/static/css/cd2b29b661e5554a.css +3 -0
- package/.next/static/pg-uaAz_0WfqjOVXsPpiN/_buildManifest.js +1 -0
- package/.next/trace +3 -1
- package/.next/trace-build +1 -1
- package/.next/types/app/api/archive/route.ts +350 -0
- package/.next/types/app/api/filesystem/route.ts +350 -0
- package/.next/types/app/api/filesystem/tree/route.ts +350 -0
- package/.next/types/app/api/global-memo/route.ts +350 -0
- package/.next/types/app/api/health/route.ts +350 -0
- package/.next/types/app/api/projects/[id]/apply-distribute/route.ts +350 -0
- package/.next/types/app/api/projects/[id]/auto-distribute/route.ts +350 -0
- package/.next/types/app/api/projects/[id]/brainstorm/route.ts +350 -0
- package/.next/types/app/api/projects/[id]/git-sync/route.ts +350 -0
- package/.next/types/app/api/projects/[id]/route.ts +350 -0
- package/.next/types/app/api/projects/[id]/sub-projects/[subId]/route.ts +350 -0
- package/.next/types/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/chat/route.ts +350 -0
- package/.next/types/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/prompt/route.ts +350 -0
- package/.next/types/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/route.ts +350 -0
- package/.next/types/app/api/projects/[id]/sub-projects/[subId]/tasks/route.ts +350 -0
- package/.next/types/app/api/projects/[id]/sub-projects/route.ts +350 -0
- package/.next/types/app/api/projects/route.ts +350 -0
- package/.next/types/app/api/sync/route.ts +350 -0
- package/.next/types/app/layout.ts +86 -0
- package/.next/types/app/page.ts +86 -0
- package/.next/types/app/projects/[id]/page.ts +86 -0
- package/.next/types/package.json +1 -0
- package/package.json +2 -2
- package/.next/build/chunks/[root-of-the-server]__51225daf._.js +0 -206
- package/.next/build/chunks/[root-of-the-server]__51225daf._.js.map +0 -8
- package/.next/build/chunks/[root-of-the-server]__974941ed._.js +0 -500
- package/.next/build/chunks/[root-of-the-server]__974941ed._.js.map +0 -11
- package/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_6920245c._.js +0 -13
- package/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_6920245c._.js.map +0 -5
- package/.next/build/chunks/[turbopack]_runtime.js +0 -795
- package/.next/build/chunks/[turbopack]_runtime.js.map +0 -10
- package/.next/build/chunks/node_modules_2d7da256._.js +0 -6765
- package/.next/build/chunks/node_modules_2d7da256._.js.map +0 -47
- package/.next/build/package.json +0 -1
- package/.next/build/postcss.js +0 -6
- package/.next/build/postcss.js.map +0 -5
- package/.next/fallback-build-manifest.json +0 -12
- package/.next/server/app/_global-error/page/app-paths-manifest.json +0 -3
- package/.next/server/app/_global-error/page/build-manifest.json +0 -17
- package/.next/server/app/_global-error/page/next-font-manifest.json +0 -6
- package/.next/server/app/_global-error/page/server-reference-manifest.json +0 -4
- package/.next/server/app/_global-error/page.js.map +0 -5
- package/.next/server/app/_not-found/page/app-paths-manifest.json +0 -3
- package/.next/server/app/_not-found/page/build-manifest.json +0 -17
- package/.next/server/app/_not-found/page/next-font-manifest.json +0 -11
- package/.next/server/app/_not-found/page/react-loadable-manifest.json +0 -1
- package/.next/server/app/_not-found/page/server-reference-manifest.json +0 -4
- package/.next/server/app/_not-found/page.js.map +0 -5
- package/.next/server/app/api/archive/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/archive/route/build-manifest.json +0 -11
- package/.next/server/app/api/archive/route/server-reference-manifest.json +0 -4
- package/.next/server/app/api/archive/route.js.map +0 -5
- package/.next/server/app/api/filesystem/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/filesystem/route/build-manifest.json +0 -11
- package/.next/server/app/api/filesystem/route/server-reference-manifest.json +0 -4
- package/.next/server/app/api/filesystem/route.js.map +0 -5
- package/.next/server/app/api/filesystem/tree/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/filesystem/tree/route/build-manifest.json +0 -11
- package/.next/server/app/api/filesystem/tree/route/server-reference-manifest.json +0 -4
- package/.next/server/app/api/filesystem/tree/route.js.map +0 -5
- package/.next/server/app/api/global-memo/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/global-memo/route/build-manifest.json +0 -11
- package/.next/server/app/api/global-memo/route/server-reference-manifest.json +0 -4
- package/.next/server/app/api/global-memo/route.js.map +0 -5
- package/.next/server/app/api/health/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/health/route/build-manifest.json +0 -11
- package/.next/server/app/api/health/route/server-reference-manifest.json +0 -4
- package/.next/server/app/api/health/route.js.map +0 -5
- package/.next/server/app/api/projects/[id]/apply-distribute/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/projects/[id]/apply-distribute/route/build-manifest.json +0 -11
- package/.next/server/app/api/projects/[id]/apply-distribute/route/server-reference-manifest.json +0 -4
- package/.next/server/app/api/projects/[id]/apply-distribute/route.js.map +0 -5
- package/.next/server/app/api/projects/[id]/auto-distribute/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/projects/[id]/auto-distribute/route/build-manifest.json +0 -11
- package/.next/server/app/api/projects/[id]/auto-distribute/route/server-reference-manifest.json +0 -4
- package/.next/server/app/api/projects/[id]/auto-distribute/route.js.map +0 -5
- package/.next/server/app/api/projects/[id]/brainstorm/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/projects/[id]/brainstorm/route/build-manifest.json +0 -11
- package/.next/server/app/api/projects/[id]/brainstorm/route/server-reference-manifest.json +0 -4
- package/.next/server/app/api/projects/[id]/brainstorm/route.js.map +0 -5
- package/.next/server/app/api/projects/[id]/git-sync/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/projects/[id]/git-sync/route/build-manifest.json +0 -11
- package/.next/server/app/api/projects/[id]/git-sync/route/server-reference-manifest.json +0 -4
- package/.next/server/app/api/projects/[id]/git-sync/route.js.map +0 -5
- package/.next/server/app/api/projects/[id]/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/projects/[id]/route/build-manifest.json +0 -11
- package/.next/server/app/api/projects/[id]/route/server-reference-manifest.json +0 -4
- package/.next/server/app/api/projects/[id]/route.js.map +0 -5
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/route/build-manifest.json +0 -11
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/route/server-reference-manifest.json +0 -4
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/route.js.map +0 -5
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/chat/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/chat/route/build-manifest.json +0 -11
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/chat/route/server-reference-manifest.json +0 -4
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/chat/route.js.map +0 -5
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/prompt/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/prompt/route/build-manifest.json +0 -11
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/prompt/route/server-reference-manifest.json +0 -4
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/prompt/route.js.map +0 -5
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/route/build-manifest.json +0 -11
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/route/server-reference-manifest.json +0 -4
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/route.js.map +0 -5
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/route/build-manifest.json +0 -11
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/route/server-reference-manifest.json +0 -4
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/route.js.map +0 -5
- package/.next/server/app/api/projects/[id]/sub-projects/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/projects/[id]/sub-projects/route/build-manifest.json +0 -11
- package/.next/server/app/api/projects/[id]/sub-projects/route/server-reference-manifest.json +0 -4
- package/.next/server/app/api/projects/[id]/sub-projects/route.js.map +0 -5
- package/.next/server/app/api/projects/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/projects/route/build-manifest.json +0 -11
- package/.next/server/app/api/projects/route/server-reference-manifest.json +0 -4
- package/.next/server/app/api/projects/route.js.map +0 -5
- package/.next/server/app/api/sync/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/sync/route/build-manifest.json +0 -11
- package/.next/server/app/api/sync/route/server-reference-manifest.json +0 -4
- package/.next/server/app/api/sync/route.js.map +0 -5
- package/.next/server/app/page/app-paths-manifest.json +0 -3
- package/.next/server/app/page/build-manifest.json +0 -17
- package/.next/server/app/page/next-font-manifest.json +0 -11
- package/.next/server/app/page/react-loadable-manifest.json +0 -1
- package/.next/server/app/page/server-reference-manifest.json +0 -4
- package/.next/server/app/page.js.map +0 -5
- package/.next/server/app/projects/[id]/page/app-paths-manifest.json +0 -3
- package/.next/server/app/projects/[id]/page/build-manifest.json +0 -17
- package/.next/server/app/projects/[id]/page/next-font-manifest.json +0 -11
- package/.next/server/app/projects/[id]/page/react-loadable-manifest.json +0 -1
- package/.next/server/app/projects/[id]/page/server-reference-manifest.json +0 -4
- package/.next/server/app/projects/[id]/page.js.map +0 -5
- package/.next/server/chunks/1a58a_projects_[id]_sub-projects_[subId]_tasks_[taskId]_chat_route_actions_1be27c01.js +0 -3
- package/.next/server/chunks/1a58a_projects_[id]_sub-projects_[subId]_tasks_[taskId]_chat_route_actions_1be27c01.js.map +0 -1
- package/.next/server/chunks/1a58a_projects_[id]_sub-projects_[subId]_tasks_[taskId]_prompt_route_actions_5ee3e100.js +0 -3
- package/.next/server/chunks/1a58a_projects_[id]_sub-projects_[subId]_tasks_[taskId]_prompt_route_actions_5ee3e100.js.map +0 -1
- package/.next/server/chunks/3e585_api_projects_[id]_sub-projects_[subId]_tasks_[taskId]_route_actions_47f36e9b.js +0 -3
- package/.next/server/chunks/3e585_api_projects_[id]_sub-projects_[subId]_tasks_[taskId]_route_actions_47f36e9b.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__2a52210d._.js +0 -100
- package/.next/server/chunks/[root-of-the-server]__2a52210d._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__34701b49._.js +0 -79
- package/.next/server/chunks/[root-of-the-server]__34701b49._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__3b497ee5._.js +0 -79
- package/.next/server/chunks/[root-of-the-server]__3b497ee5._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__496e96d0._.js +0 -79
- package/.next/server/chunks/[root-of-the-server]__496e96d0._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__5d7dc5dc._.js +0 -85
- package/.next/server/chunks/[root-of-the-server]__5d7dc5dc._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__65ee5804._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__65ee5804._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__78ead139._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__78ead139._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__7f22619d._.js +0 -79
- package/.next/server/chunks/[root-of-the-server]__7f22619d._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__894e451b._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__894e451b._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__8e7eb129._.js +0 -79
- package/.next/server/chunks/[root-of-the-server]__8e7eb129._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__b6f77030._.js +0 -85
- package/.next/server/chunks/[root-of-the-server]__b6f77030._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__bb8ddf02._.js +0 -85
- package/.next/server/chunks/[root-of-the-server]__bb8ddf02._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__c451a819._.js +0 -93
- package/.next/server/chunks/[root-of-the-server]__c451a819._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__c9875abe._.js +0 -123
- package/.next/server/chunks/[root-of-the-server]__c9875abe._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__d66bf38b._.js +0 -79
- package/.next/server/chunks/[root-of-the-server]__d66bf38b._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__eb0e8539._.js +0 -79
- package/.next/server/chunks/[root-of-the-server]__eb0e8539._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__f408c708._.js +0 -21
- package/.next/server/chunks/[root-of-the-server]__f408c708._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__fbbecda7._.js +0 -93
- package/.next/server/chunks/[root-of-the-server]__fbbecda7._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__fd0f0b60._.js +0 -99
- package/.next/server/chunks/[root-of-the-server]__fd0f0b60._.js.map +0 -1
- package/.next/server/chunks/[turbopack]_runtime.js +0 -795
- package/.next/server/chunks/[turbopack]_runtime.js.map +0 -10
- package/.next/server/chunks/_next-internal_server_app_api_archive_route_actions_f5db166b.js +0 -3
- package/.next/server/chunks/_next-internal_server_app_api_archive_route_actions_f5db166b.js.map +0 -1
- package/.next/server/chunks/_next-internal_server_app_api_filesystem_route_actions_4d8f988e.js +0 -3
- package/.next/server/chunks/_next-internal_server_app_api_filesystem_route_actions_4d8f988e.js.map +0 -1
- package/.next/server/chunks/_next-internal_server_app_api_filesystem_tree_route_actions_9c467f18.js +0 -3
- package/.next/server/chunks/_next-internal_server_app_api_filesystem_tree_route_actions_9c467f18.js.map +0 -1
- package/.next/server/chunks/_next-internal_server_app_api_global-memo_route_actions_22c30ae0.js +0 -3
- package/.next/server/chunks/_next-internal_server_app_api_global-memo_route_actions_22c30ae0.js.map +0 -1
- package/.next/server/chunks/_next-internal_server_app_api_health_route_actions_da3433c4.js +0 -3
- package/.next/server/chunks/_next-internal_server_app_api_health_route_actions_da3433c4.js.map +0 -1
- package/.next/server/chunks/_next-internal_server_app_api_projects_[id]_brainstorm_route_actions_e2dbd41e.js +0 -3
- package/.next/server/chunks/_next-internal_server_app_api_projects_[id]_brainstorm_route_actions_e2dbd41e.js.map +0 -1
- package/.next/server/chunks/_next-internal_server_app_api_projects_[id]_git-sync_route_actions_0a84c322.js +0 -3
- package/.next/server/chunks/_next-internal_server_app_api_projects_[id]_git-sync_route_actions_0a84c322.js.map +0 -1
- package/.next/server/chunks/_next-internal_server_app_api_projects_[id]_route_actions_6fd2e5a5.js +0 -3
- package/.next/server/chunks/_next-internal_server_app_api_projects_[id]_route_actions_6fd2e5a5.js.map +0 -1
- package/.next/server/chunks/_next-internal_server_app_api_projects_[id]_sub-projects_route_actions_0c31d31d.js +0 -3
- package/.next/server/chunks/_next-internal_server_app_api_projects_[id]_sub-projects_route_actions_0c31d31d.js.map +0 -1
- package/.next/server/chunks/_next-internal_server_app_api_projects_route_actions_38c611ee.js +0 -3
- package/.next/server/chunks/_next-internal_server_app_api_projects_route_actions_38c611ee.js.map +0 -1
- package/.next/server/chunks/_next-internal_server_app_api_sync_route_actions_78e25bf5.js +0 -3
- package/.next/server/chunks/_next-internal_server_app_api_sync_route_actions_78e25bf5.js.map +0 -1
- package/.next/server/chunks/ce889_server_app_api_projects_[id]_apply-distribute_route_actions_df2ffb77.js +0 -3
- package/.next/server/chunks/ce889_server_app_api_projects_[id]_apply-distribute_route_actions_df2ffb77.js.map +0 -1
- package/.next/server/chunks/ce889_server_app_api_projects_[id]_auto-distribute_route_actions_0d998155.js +0 -3
- package/.next/server/chunks/ce889_server_app_api_projects_[id]_auto-distribute_route_actions_0d998155.js.map +0 -1
- package/.next/server/chunks/ce889_server_app_api_projects_[id]_sub-projects_[subId]_route_actions_d3d7322e.js +0 -3
- package/.next/server/chunks/ce889_server_app_api_projects_[id]_sub-projects_[subId]_route_actions_d3d7322e.js.map +0 -1
- package/.next/server/chunks/ce889_server_app_api_projects_[id]_sub-projects_[subId]_tasks_route_actions_c6a0ca5c.js +0 -3
- package/.next/server/chunks/ce889_server_app_api_projects_[id]_sub-projects_[subId]_tasks_route_actions_c6a0ca5c.js.map +0 -1
- package/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_8aec5fa3.js +0 -3
- package/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_8aec5fa3.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__11fa4345._.js +0 -7
- package/.next/server/chunks/ssr/[root-of-the-server]__11fa4345._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__15600e29._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__15600e29._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1690ee0d._.js +0 -10
- package/.next/server/chunks/ssr/[root-of-the-server]__1690ee0d._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__25744882._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__25744882._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__685464c9._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__685464c9._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__72142a5d._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__72142a5d._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__75a388cb._.js +0 -20
- package/.next/server/chunks/ssr/[root-of-the-server]__75a388cb._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__830451e1._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__830451e1._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__b9356576._.js +0 -4
- package/.next/server/chunks/ssr/[root-of-the-server]__b9356576._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__ba92c669._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__ba92c669._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__eb5bf179._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__eb5bf179._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__f437da88._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__f437da88._.js.map +0 -1
- package/.next/server/chunks/ssr/[turbopack]_runtime.js +0 -795
- package/.next/server/chunks/ssr/[turbopack]_runtime.js.map +0 -10
- package/.next/server/chunks/ssr/_67775056._.js +0 -4
- package/.next/server/chunks/ssr/_67775056._.js.map +0 -1
- package/.next/server/chunks/ssr/_c1309523._.js +0 -4
- package/.next/server/chunks/ssr/_c1309523._.js.map +0 -1
- package/.next/server/chunks/ssr/_c6614283._.js +0 -6
- package/.next/server/chunks/ssr/_c6614283._.js.map +0 -1
- package/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_75761787.js +0 -3
- package/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_75761787.js.map +0 -1
- package/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_554ec2bf.js +0 -3
- package/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_554ec2bf.js.map +0 -1
- package/.next/server/chunks/ssr/_next-internal_server_app_page_actions_39d4fc33.js +0 -3
- package/.next/server/chunks/ssr/_next-internal_server_app_page_actions_39d4fc33.js.map +0 -1
- package/.next/server/chunks/ssr/_next-internal_server_app_projects_[id]_page_actions_38fa8475.js +0 -3
- package/.next/server/chunks/ssr/_next-internal_server_app_projects_[id]_page_actions_38fa8475.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_next_dist_08570d7f._.js +0 -4
- package/.next/server/chunks/ssr/node_modules_next_dist_08570d7f._.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_next_dist_4b63a0e1._.js +0 -3
- package/.next/server/chunks/ssr/node_modules_next_dist_4b63a0e1._.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_next_dist_681edc0a._.js +0 -6
- package/.next/server/chunks/ssr/node_modules_next_dist_681edc0a._.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_9774470f._.js +0 -3
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_9774470f._.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_45780354.js +0 -3
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_45780354.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_ece394eb.js +0 -3
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_ece394eb.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_15817684.js +0 -3
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_15817684.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_65a7265e.js +0 -4
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_65a7265e.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_next_dist_f9713a08._.js +0 -3
- package/.next/server/chunks/ssr/node_modules_next_dist_f9713a08._.js.map +0 -1
- package/.next/static/chunks/385fc008b130bf74.js +0 -18
- package/.next/static/chunks/49e97d465ceca13b.js +0 -1
- package/.next/static/chunks/6e093cead5296944.js +0 -1
- package/.next/static/chunks/7b694eaada62ea2a.js +0 -1
- package/.next/static/chunks/7de9141b1af425c3.js +0 -1
- package/.next/static/chunks/86a65d1968466727.js +0 -2
- package/.next/static/chunks/a6dad97d9634a72d.js.map +0 -1
- package/.next/static/chunks/beee8ee1af8e6c72.js +0 -4
- package/.next/static/chunks/c8ce5b975abff10f.css +0 -3
- package/.next/static/chunks/turbopack-95ef14dd34e4eb10.js +0 -4
- package/.next/static/rPCRfdyLwhwdfgixlvq0W/_buildManifest.js +0 -11
- package/.next/static/rPCRfdyLwhwdfgixlvq0W/_clientMiddlewareManifest.json +0 -1
- package/.next/turbopack +0 -0
- /package/.next/{server/app/_global-error/page/react-loadable-manifest.json → react-loadable-manifest.json} +0 -0
- /package/.next/static/chunks/{a6dad97d9634a72d.js → polyfills-42372ed130431b0a.js} +0 -0
- /package/.next/static/media/{caa3a2e1cccd8315-s.p.853070df.woff2 → 4cf2300e9c8272f7-s.p.woff2} +0 -0
- /package/.next/static/media/{bbc41e54d2fcbd21-s.799d8ef8.woff2 → 747892c23ea88013-s.woff2} +0 -0
- /package/.next/static/media/{8a480f0b521d4e75-s.8e0177b5.woff2 → 8d697b304b401681-s.woff2} +0 -0
- /package/.next/static/media/{797e433ab948586e-s.p.dbea232f.woff2 → 93f479601ee12b01-s.p.woff2} +0 -0
- /package/.next/static/media/{4fa387ec64143e14-s.c1fdd6c2.woff2 → 9610d9e46709d722-s.woff2} +0 -0
- /package/.next/static/media/{7178b3e590c64307-s.b97b3418.woff2 → ba015fad6dcf6784-s.woff2} +0 -0
- /package/.next/static/{rPCRfdyLwhwdfgixlvq0W → pg-uaAz_0WfqjOVXsPpiN}/_ssgManifest.js +0 -0
|
@@ -1,2 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST
|
|
2
|
-
globalThis.__RSC_MANIFEST["/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/prompt/route"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{},"ssrModuleMapping":{},"edgeSSRModuleMapping":{},"rscModuleMapping":{},"edgeRscModuleMapping":{},"entryCSSFiles":{},"entryJSFiles":{}}
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/prompt/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"484":{"*":{"id":"664","name":"*","chunks":[],"async":false}},"1048":{"*":{"id":"8935","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"440","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"1335","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"2265","name":"*","chunks":[],"async":false}},"5918":{"*":{"id":"4328","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"4661","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"5421","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"1921","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"4342","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/young/Toy/idea-manager/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist\",\"arguments\":[{\"variable\":\"--font-geist-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"geistSans\"}":{"id":421,"name":"*","chunks":["558","static/chunks/app/layout-52917f6c941a9818.js"],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist_Mono\",\"arguments\":[{\"variable\":\"--font-geist-mono\",\"subsets\":[\"latin\"]}],\"variableName\":\"geistMono\"}":{"id":9695,"name":"*","chunks":["558","static/chunks/app/layout-52917f6c941a9818.js"],"async":false},"/Users/young/Toy/idea-manager/src/app/globals.css":{"id":1743,"name":"*","chunks":["558","static/chunks/app/layout-52917f6c941a9818.js"],"async":false},"/Users/young/Toy/idea-manager/src/app/page.tsx":{"id":5918,"name":"*","chunks":["151","static/chunks/151-332d463cd8bd4db6.js","974","static/chunks/app/page-6bd6387a28d57acb.js"],"async":false},"/Users/young/Toy/idea-manager/src/app/projects/[id]/page.tsx":{"id":1048,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/young/Toy/idea-manager/src/":[],"/Users/young/Toy/idea-manager/src/app/layout":[{"inlined":false,"path":"static/css/cd2b29b661e5554a.css"}],"/Users/young/Toy/idea-manager/src/app/page":[],"/Users/young/Toy/idea-manager/src/app/api/projects/route":[],"/Users/young/Toy/idea-manager/src/app/api/projects/[id]/route":[],"/Users/young/Toy/idea-manager/src/app/api/projects/[id]/sub-projects/route":[],"/Users/young/Toy/idea-manager/src/app/api/projects/[id]/sub-projects/[subId]/route":[],"/Users/young/Toy/idea-manager/src/app/api/projects/[id]/sub-projects/[subId]/tasks/route":[],"/Users/young/Toy/idea-manager/src/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/route":[],"/Users/young/Toy/idea-manager/src/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/prompt/route":[]},"rscModuleMapping":{"484":{"*":{"id":"8562","name":"*","chunks":[],"async":false}},"1048":{"*":{"id":"8965","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"5098","name":"*","chunks":[],"async":false}},"1743":{"*":{"id":"1135","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"6237","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"3859","name":"*","chunks":[],"async":false}},"5918":{"*":{"id":"4494","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"6675","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"8099","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"5547","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"7644","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
@@ -1,6 +1,83 @@
|
|
|
1
|
-
var
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
(()=>{var a={};a.id=2,a.ids=[2],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},1421:a=>{"use strict";a.exports=require("node:child_process")},1799:(a,b,c)=>{"use strict";c.d(b,{bE:()=>m,sA:()=>k});var d=c(3873),e=c.n(d),f=c(1820),g=c.n(f),h=c(9021),i=c.n(h);let j=e().join(g().homedir(),".idea-manager","data");function k(){return e().join((i().existsSync(j)||i().mkdirSync(j,{recursive:!0}),j),"im.db")}let l=e().join(g().homedir(),".idea-manager","sync");function m(){return i().existsSync(l)||i().mkdirSync(l,{recursive:!0}),l}},1820:a=>{"use strict";a.exports=require("os")},3024:a=>{"use strict";a.exports=require("node:fs")},3033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3873:a=>{"use strict";a.exports=require("path")},4870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},5359:(a,b,c)=>{"use strict";let d,e;c.d(b,{$:()=>g});var f=c(7598);function g(){return function(a=21){var b;b=a|=0,!d||d.length<b?(d=Buffer.allocUnsafe(128*b),f.webcrypto.getRandomValues(d),e=0):e+b>d.length&&(f.webcrypto.getRandomValues(d),e=0),e+=b;let c="";for(let b=e-a;b<e;b++)c+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&d[b]];return c}(16)}},5440:(a,b,c)=>{"use strict";c.d(b,{t:()=>o,L:()=>p});var d=c(9021),e=c.n(d),f=c(1799),g=c(1421);let h=!1,i="";async function j(){let a=new Date,b=a.getHours(),c=`${a.getFullYear()}-${String(a.getMonth()+1).padStart(2,"0")}-${String(a.getDate()).padStart(2,"0")}`;if(9===b&&i!==c)try{let a,b;await o();let d=p(),e=d.prepare("SELECT t.title, t.status, p.name as project_name FROM tasks t JOIN projects p ON t.project_id = p.id WHERE t.is_today = 1 AND t.status != 'done'").all(),f=d.prepare("SELECT COUNT(*) as count FROM tasks WHERE status IN ('submitted', 'testing')").get(),h=d.prepare("SELECT COUNT(*) as count FROM tasks WHERE status = 'problem'").get(),j=[];if(e.length>0){for(let a of(j.push(`Today: ${e.length}개`),e.slice(0,5)))j.push(` - ${a.title}`);e.length>5&&j.push(` ... +${e.length-5}개`)}else j.push("Today 태스크가 없습니다.");f.count>0&&j.push(`진행 중: ${f.count}개`),h.count>0&&j.push(`문제: ${h.count}개`),a=j.join("\n").replace(/"/g,'\\"').replace(/\n/g,"\\n"),b=`display notification "${a}" with title "IM - 오늘의 할 일"`,(0,g.exec)(`osascript -e '${b}'`,a=>{a&&console.error("[Scheduler] notification error:",a.message)}),i=c}catch(a){console.error("[Scheduler] error:",a)}}class k{constructor(a,b){this.dirty=!1,this.db=a,this.dbPath=b}save(){if(!this.dirty)return;let a=this.db.export();e().writeFileSync(this.dbPath,Buffer.from(a)),this.dirty=!1}immediatelySave(){this.dirty=!0,this.save()}rowsToObjects(a,b){return b.map(b=>{let c={};return a.forEach((a,d)=>{c[a]=b[d]}),c})}prepare(a){let b=this,c=/^\s*(INSERT|UPDATE|DELETE|CREATE|ALTER|DROP)/i.test(a);return{all(...c){let d=b.db.prepare(a);c.length>0&&d.bind(c);let e=d.getColumnNames(),f=[];for(;d.step();)f.push(d.get());return d.free(),b.rowsToObjects(e,f)},get(...c){let d,e=b.db.prepare(a);if(c.length>0&&e.bind(c),e.step()){let a=e.getColumnNames(),b=e.get(),c={};a.forEach((a,d)=>{c[a]=b[d]}),d=c}return e.free(),d},run:(...d)=>(b.db.run(a,d),c&&b.immediatelySave(),{changes:b.db.getRowsModified()})}}exec(a){this.db.exec(a),/^\s*(INSERT|UPDATE|DELETE|CREATE|ALTER|DROP)/im.test(a)&&this.immediatelySave()}pragma(a){if(a.startsWith("table_info(")){let b=a.match(/table_info\((\w+)\)/)?.[1];if(!b)return[];let c=this.db.exec(`PRAGMA table_info(${b})`);return c.length?this.rowsToObjects(c[0].columns,c[0].values):[]}if(a.includes("journal_mode")||a.includes("wal_checkpoint"))return this.immediatelySave(),"memory";if(a.includes("foreign_keys")){try{this.db.run(`PRAGMA ${a}`)}catch{}return}try{let b=this.db.exec(`PRAGMA ${a}`);if(b.length>0&&b[0].values.length>0)return b[0].values[0][0]}catch{}}transaction(a){let b=this;return()=>{b.db.run("BEGIN");try{let c=a();return b.db.run("COMMIT"),b.immediatelySave(),c}catch(a){throw b.db.run("ROLLBACK"),a}}}close(){this.immediatelySave(),this.db.close()}}let l=null,m=null;async function n(){var a;let b,d,g;if(l)return l;let i=c(9482),m=await i(),n=(0,f.sA)();if(e().existsSync(n)){let a=e().readFileSync(n);b=new m.Database(a)}else b=new m.Database;return(a=l=new k(b,n)).exec(`
|
|
2
|
+
CREATE TABLE IF NOT EXISTS projects (
|
|
3
|
+
id TEXT PRIMARY KEY,
|
|
4
|
+
name TEXT NOT NULL,
|
|
5
|
+
description TEXT NOT NULL DEFAULT '',
|
|
6
|
+
project_path TEXT,
|
|
7
|
+
created_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
8
|
+
updated_at TEXT NOT NULL DEFAULT (datetime('now'))
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
CREATE TABLE IF NOT EXISTS brainstorms (
|
|
12
|
+
id TEXT PRIMARY KEY,
|
|
13
|
+
project_id TEXT NOT NULL,
|
|
14
|
+
content TEXT NOT NULL DEFAULT '',
|
|
15
|
+
version INTEGER NOT NULL DEFAULT 1,
|
|
16
|
+
created_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
17
|
+
updated_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
18
|
+
FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
`),(d=a.prepare("PRAGMA table_info(projects)").all()).some(a=>"project_path"===a.name)||a.exec("ALTER TABLE projects ADD COLUMN project_path TEXT"),d.some(a=>"ai_context"===a.name)||a.exec("ALTER TABLE projects ADD COLUMN ai_context TEXT NOT NULL DEFAULT ''"),d.some(a=>"watch_enabled"===a.name)||a.exec("ALTER TABLE projects ADD COLUMN watch_enabled INTEGER NOT NULL DEFAULT 0"),d.some(a=>"agent_type"===a.name)||a.exec("ALTER TABLE projects ADD COLUMN agent_type TEXT NOT NULL DEFAULT 'claude'"),a.exec(`
|
|
22
|
+
CREATE TABLE IF NOT EXISTS sub_projects (
|
|
23
|
+
id TEXT PRIMARY KEY,
|
|
24
|
+
project_id TEXT NOT NULL,
|
|
25
|
+
name TEXT NOT NULL,
|
|
26
|
+
description TEXT NOT NULL DEFAULT '',
|
|
27
|
+
folder_path TEXT,
|
|
28
|
+
sort_order INTEGER NOT NULL DEFAULT 0,
|
|
29
|
+
created_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
30
|
+
updated_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
31
|
+
FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
CREATE TABLE IF NOT EXISTS tasks (
|
|
35
|
+
id TEXT PRIMARY KEY,
|
|
36
|
+
project_id TEXT NOT NULL,
|
|
37
|
+
sub_project_id TEXT NOT NULL,
|
|
38
|
+
title TEXT NOT NULL,
|
|
39
|
+
description TEXT NOT NULL DEFAULT '',
|
|
40
|
+
status TEXT NOT NULL DEFAULT 'idea'
|
|
41
|
+
CHECK(status IN ('idea','writing','submitted','testing','done','problem')),
|
|
42
|
+
priority TEXT NOT NULL DEFAULT 'medium'
|
|
43
|
+
CHECK(priority IN ('high','medium','low')),
|
|
44
|
+
is_today INTEGER NOT NULL DEFAULT 0,
|
|
45
|
+
sort_order INTEGER NOT NULL DEFAULT 0,
|
|
46
|
+
created_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
47
|
+
updated_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
48
|
+
FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE,
|
|
49
|
+
FOREIGN KEY (sub_project_id) REFERENCES sub_projects(id) ON DELETE CASCADE
|
|
50
|
+
);
|
|
51
|
+
|
|
52
|
+
CREATE TABLE IF NOT EXISTS task_prompts (
|
|
53
|
+
id TEXT PRIMARY KEY,
|
|
54
|
+
task_id TEXT NOT NULL UNIQUE,
|
|
55
|
+
content TEXT NOT NULL DEFAULT '',
|
|
56
|
+
prompt_type TEXT NOT NULL DEFAULT 'manual'
|
|
57
|
+
CHECK(prompt_type IN ('manual','ai_assisted')),
|
|
58
|
+
created_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
59
|
+
updated_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
60
|
+
FOREIGN KEY (task_id) REFERENCES tasks(id) ON DELETE CASCADE
|
|
61
|
+
);
|
|
62
|
+
|
|
63
|
+
CREATE TABLE IF NOT EXISTS global_memos (
|
|
64
|
+
id TEXT PRIMARY KEY,
|
|
65
|
+
content TEXT NOT NULL DEFAULT '',
|
|
66
|
+
updated_at TEXT NOT NULL DEFAULT (datetime('now'))
|
|
67
|
+
);
|
|
68
|
+
|
|
69
|
+
CREATE TABLE IF NOT EXISTS task_conversations (
|
|
70
|
+
id TEXT PRIMARY KEY,
|
|
71
|
+
task_id TEXT NOT NULL,
|
|
72
|
+
role TEXT NOT NULL CHECK(role IN ('assistant','user')),
|
|
73
|
+
content TEXT NOT NULL,
|
|
74
|
+
created_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
75
|
+
FOREIGN KEY (task_id) REFERENCES tasks(id) ON DELETE CASCADE
|
|
76
|
+
);
|
|
77
|
+
`),(g=a.prepare("PRAGMA table_info(tasks)").all()).some(a=>"is_archived"===a.name)||a.exec("ALTER TABLE tasks ADD COLUMN is_archived INTEGER NOT NULL DEFAULT 0"),g.some(a=>"tags"===a.name)||a.exec("ALTER TABLE tasks ADD COLUMN tags TEXT NOT NULL DEFAULT '[]'"),process.on("exit",()=>l?.close()),h||(h=!0,setInterval(j,6e4),j(),console.log("[Scheduler] Morning notification scheduler started")),l}async function o(){return l||(m||(m=n()),m)}function p(){if(!l)throw Error("Database not initialized. Call await ensureDb() first.");return l}},6439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},6487:()=>{},7598:a=>{"use strict";a.exports=require("node:crypto")},8335:()=>{},9021:a=>{"use strict";a.exports=require("fs")},9294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},9645:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>G,patchFetch:()=>F,routeModule:()=>B,serverHooks:()=>E,workAsyncStorage:()=>C,workUnitAsyncStorage:()=>D});var d={};c.r(d),c.d(d,{DELETE:()=>A,GET:()=>y,PUT:()=>z});var e=c(9225),f=c(4006),g=c(8317),h=c(9373),i=c(4775),j=c(4235),k=c(261),l=c(4365),m=c(771),n=c(3461),o=c(7798),p=c(2280),q=c(2018),r=c(5696),s=c(7929),t=c(6439),u=c(7527),v=c(5592),w=c(9933),x=c(5440);async function y(a,{params:b}){await (0,x.t)();let{taskId:c}=await b,d=(0,w.gg)(c);return d?v.NextResponse.json(d):v.NextResponse.json({error:"Task not found"},{status:404})}async function z(a,{params:b}){await (0,x.t)();let{taskId:c}=await b,d=await a.json(),e=(0,w.lC)(c,d);return e?v.NextResponse.json(e):v.NextResponse.json({error:"Task not found"},{status:404})}async function A(a,{params:b}){await (0,x.t)();let{taskId:c}=await b;return"permanent"===(a.nextUrl.searchParams.get("mode")||"archive")?(0,w.vq)(c)?v.NextResponse.json({success:!0}):v.NextResponse.json({error:"Task not found"},{status:404}):(0,w.Q$)(c)?v.NextResponse.json({success:!0,archived:!0}):v.NextResponse.json({error:"Task not found"},{status:404})}let B=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/route",pathname:"/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]",filename:"route",bundlePath:"app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/young/Toy/idea-manager/src/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:C,workUnitAsyncStorage:D,serverHooks:E}=B;function F(){return(0,g.patchFetch)({workAsyncStorage:C,workUnitAsyncStorage:D})}async function G(a,b,c){B.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/route";"/index"===d&&(d="/");let e=await B.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,params:v,nextConfig:w,parsedUrl:x,isDraftMode:y,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(z.dynamicRoutes[H]||z.routes[E]),J=async()=>((null==A?void 0:A.render404)?await A.render404(a,b,x,!1):b.end("This page could not be found"),null);if(I&&!y){let a=!!z.routes[E],b=z.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(w.experimental.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||B.isDev||y||(K="/index"===(K=E)?"/":K);let L=!0===B.isDev||!I,M=I&&!L;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q={params:v,prerenderManifest:z,renderOpts:{experimental:{authInterrupts:!!w.experimental.authInterrupts},cacheComponents:!!w.cacheComponents,supportsDynamicResponse:L,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:w.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>B.onRequestError(a,b,d,e,A)},sharedContext:{buildId:g}},R=new l.NodeNextRequest(a),S=new l.NodeNextResponse(b),T=m.NextRequestAdapter.fromNodeNextRequest(R,(0,m.signalFromNodeResponse)(b));try{let e=async a=>B.handle(T,Q).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${N} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b)}else a.updateName(`${N} ${d}`)}),g=!!(0,h.getRequestMeta)(a,"minimalMode"),j=async h=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!g&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await e(h);a.fetchMetrics=Q.renderOpts.fetchMetrics;let i=Q.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=Q.renderOpts.collectedTags;if(!I)return await (0,p.I)(R,S,d,Q.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);j&&(b[s.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==Q.renderOpts.collectedRevalidate&&!(Q.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&Q.renderOpts.collectedRevalidate,e=void 0===Q.renderOpts.collectedExpire||Q.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:Q.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await B.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,A),b}},l=await B.handleResponse({req:a,nextConfig:w,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:k,waitUntil:c.waitUntil,isMinimalMode:g});if(!I)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});g||b.setHeader("x-nextjs-cache",C?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,q.fromNodeOutgoingHttpHeaders)(l.value.headers);return g&&I||m.delete(s.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,r.getCacheControlHeader)(l.cacheControl)),await (0,p.I)(R,S,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};P?await j(P):await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},j))}catch(b){if(b instanceof t.NoFallbackError||await B.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,A),I)throw b;return await (0,p.I)(R,S,new Response(null,{status:500})),null}}},9933:(a,b,c)=>{"use strict";c.d(b,{Q$:()=>j,UT:()=>l,ec:()=>k,fn:()=>i,gg:()=>h,lC:()=>m,vq:()=>n,x1:()=>g});var d=c(5440),e=c(5359);function f(a){let b=[];try{b=JSON.parse(a.tags||"[]")}catch{}return{...a,is_today:1===a.is_today,is_archived:(a.is_archived??0)===1,tags:b}}function g(a){return(0,d.L)().prepare("SELECT * FROM tasks WHERE sub_project_id = ? AND is_archived = 0 ORDER BY sort_order ASC").all(a).map(f)}function h(a){let b=(0,d.L)().prepare("SELECT * FROM tasks WHERE id = ?").get(a);return b?f(b):void 0}function i(a){let b=(0,d.L)();return(a?b.prepare("SELECT * FROM tasks WHERE project_id = ? AND is_archived = 1 ORDER BY updated_at DESC").all(a):b.prepare("SELECT * FROM tasks WHERE is_archived = 1 ORDER BY updated_at DESC").all()).map(f)}function j(a){let b=(0,d.L)(),c=new Date().toISOString();return b.prepare("UPDATE tasks SET is_archived = 1, is_today = 0, updated_at = ? WHERE id = ?").run(c,a),h(a)}function k(a){let b=(0,d.L)(),c=new Date().toISOString();return b.prepare("UPDATE tasks SET is_archived = 0, updated_at = ? WHERE id = ?").run(c,a),h(a)}function l(a){let b=(0,d.L)(),c=(0,e.$)(),f=new Date().toISOString(),g=b.prepare("SELECT MAX(sort_order) as max_order FROM tasks WHERE sub_project_id = ?").get(a.sub_project_id),i=(g?.max_order??-1)+1;return b.prepare(`INSERT INTO tasks (id, project_id, sub_project_id, title, description, status, priority, is_today, sort_order, created_at, updated_at)
|
|
78
|
+
VALUES (?, ?, ?, ?, ?, ?, ?, 0, ?, ?, ?)`).run(c,a.project_id,a.sub_project_id,a.title,a.description??"",a.status??"idea",a.priority??"medium",i,f,f),h(c)}function m(a,b){let c=(0,d.L)(),e=c.prepare("SELECT * FROM tasks WHERE id = ?").get(a);if(!e)return;let f=new Date().toISOString();return c.prepare(`
|
|
79
|
+
UPDATE tasks SET
|
|
80
|
+
title = ?, description = ?, status = ?, priority = ?,
|
|
81
|
+
is_today = ?, sort_order = ?, sub_project_id = ?, tags = ?, updated_at = ?
|
|
82
|
+
WHERE id = ?
|
|
83
|
+
`).run(b.title??e.title,b.description??e.description,b.status??e.status,b.priority??e.priority,void 0!==b.is_today?+!!b.is_today:e.is_today,b.sort_order??e.sort_order,b.sub_project_id??e.sub_project_id,b.tags?JSON.stringify(b.tags):e.tags,f,a),h(a)}function n(a){return(0,d.L)().prepare("DELETE FROM tasks WHERE id = ?").run(a).changes>0}}};var b=require("../../../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[445,813,482],()=>b(b.s=9645));module.exports=c})();
|
package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/route.js.nft.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page
|
|
1
|
+
{"version":1,"files":["../../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../../../../node_modules/next/dist/lib/semver-noop.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/cache-signal.js","../../../../../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.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/incremental-cache/memory-cache.external.js","../../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../../../../node_modules/next/package.json","../../../../../../../../../../package.json","../../../../../../../../../package.json","../../../../../../../../chunks/445.js","../../../../../../../../chunks/482.js","../../../../../../../../chunks/813.js","../../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST
|
|
2
|
-
globalThis.__RSC_MANIFEST["/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/route"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{},"ssrModuleMapping":{},"edgeSSRModuleMapping":{},"rscModuleMapping":{},"edgeRscModuleMapping":{},"entryCSSFiles":{},"entryJSFiles":{}}
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"484":{"*":{"id":"664","name":"*","chunks":[],"async":false}},"1048":{"*":{"id":"8935","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"440","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"1335","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"2265","name":"*","chunks":[],"async":false}},"5918":{"*":{"id":"4328","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"4661","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"5421","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"1921","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"4342","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/young/Toy/idea-manager/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist\",\"arguments\":[{\"variable\":\"--font-geist-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"geistSans\"}":{"id":421,"name":"*","chunks":["558","static/chunks/app/layout-52917f6c941a9818.js"],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist_Mono\",\"arguments\":[{\"variable\":\"--font-geist-mono\",\"subsets\":[\"latin\"]}],\"variableName\":\"geistMono\"}":{"id":9695,"name":"*","chunks":["558","static/chunks/app/layout-52917f6c941a9818.js"],"async":false},"/Users/young/Toy/idea-manager/src/app/globals.css":{"id":1743,"name":"*","chunks":["558","static/chunks/app/layout-52917f6c941a9818.js"],"async":false},"/Users/young/Toy/idea-manager/src/app/page.tsx":{"id":5918,"name":"*","chunks":["151","static/chunks/151-332d463cd8bd4db6.js","974","static/chunks/app/page-6bd6387a28d57acb.js"],"async":false},"/Users/young/Toy/idea-manager/src/app/projects/[id]/page.tsx":{"id":1048,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/young/Toy/idea-manager/src/":[],"/Users/young/Toy/idea-manager/src/app/layout":[{"inlined":false,"path":"static/css/cd2b29b661e5554a.css"}],"/Users/young/Toy/idea-manager/src/app/page":[],"/Users/young/Toy/idea-manager/src/app/api/projects/route":[],"/Users/young/Toy/idea-manager/src/app/api/projects/[id]/route":[],"/Users/young/Toy/idea-manager/src/app/api/projects/[id]/sub-projects/route":[],"/Users/young/Toy/idea-manager/src/app/api/projects/[id]/sub-projects/[subId]/route":[],"/Users/young/Toy/idea-manager/src/app/api/projects/[id]/sub-projects/[subId]/tasks/route":[],"/Users/young/Toy/idea-manager/src/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/route":[]},"rscModuleMapping":{"484":{"*":{"id":"8562","name":"*","chunks":[],"async":false}},"1048":{"*":{"id":"8965","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"5098","name":"*","chunks":[],"async":false}},"1743":{"*":{"id":"1135","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"6237","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"3859","name":"*","chunks":[],"async":false}},"5918":{"*":{"id":"4494","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"6675","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"8099","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"5547","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"7644","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
@@ -1,6 +1,83 @@
|
|
|
1
|
-
var R=require("../../../../../../../chunks/[turbopack]_runtime.js")("server/app/api/projects/[id]/sub-projects/[subId]/tasks/route.js")
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
(()=>{var a={};a.id=175,a.ids=[175],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},1421:a=>{"use strict";a.exports=require("node:child_process")},1799:(a,b,c)=>{"use strict";c.d(b,{bE:()=>m,sA:()=>k});var d=c(3873),e=c.n(d),f=c(1820),g=c.n(f),h=c(9021),i=c.n(h);let j=e().join(g().homedir(),".idea-manager","data");function k(){return e().join((i().existsSync(j)||i().mkdirSync(j,{recursive:!0}),j),"im.db")}let l=e().join(g().homedir(),".idea-manager","sync");function m(){return i().existsSync(l)||i().mkdirSync(l,{recursive:!0}),l}},1820:a=>{"use strict";a.exports=require("os")},2348:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>F,patchFetch:()=>E,routeModule:()=>A,serverHooks:()=>D,workAsyncStorage:()=>B,workUnitAsyncStorage:()=>C});var d={};c.r(d),c.d(d,{GET:()=>y,POST:()=>z});var e=c(9225),f=c(4006),g=c(8317),h=c(9373),i=c(4775),j=c(4235),k=c(261),l=c(4365),m=c(771),n=c(3461),o=c(7798),p=c(2280),q=c(2018),r=c(5696),s=c(7929),t=c(6439),u=c(7527),v=c(5592),w=c(9933),x=c(5440);async function y(a,{params:b}){await (0,x.t)();let{subId:c}=await b,d=(0,w.x1)(c);return v.NextResponse.json(d)}async function z(a,{params:b}){await (0,x.t)();let{id:c,subId:d}=await b,e=await a.json();if(!e.title||"string"!=typeof e.title)return v.NextResponse.json({error:"title is required"},{status:400});let f=(0,w.UT)({project_id:c,sub_project_id:d,title:e.title,description:e.description,status:e.status,priority:e.priority});return v.NextResponse.json(f,{status:201})}let A=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/projects/[id]/sub-projects/[subId]/tasks/route",pathname:"/api/projects/[id]/sub-projects/[subId]/tasks",filename:"route",bundlePath:"app/api/projects/[id]/sub-projects/[subId]/tasks/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/young/Toy/idea-manager/src/app/api/projects/[id]/sub-projects/[subId]/tasks/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:B,workUnitAsyncStorage:C,serverHooks:D}=A;function E(){return(0,g.patchFetch)({workAsyncStorage:B,workUnitAsyncStorage:C})}async function F(a,b,c){A.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/projects/[id]/sub-projects/[subId]/tasks/route";"/index"===d&&(d="/");let e=await A.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,params:v,nextConfig:w,parsedUrl:x,isDraftMode:y,prerenderManifest:z,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(z.dynamicRoutes[H]||z.routes[E]),J=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,x,!1):b.end("This page could not be found"),null);if(I&&!y){let a=!!z.routes[E],b=z.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(w.experimental.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||A.isDev||y||(K="/index"===(K=E)?"/":K);let L=!0===A.isDev||!I,M=I&&!L;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q={params:v,prerenderManifest:z,renderOpts:{experimental:{authInterrupts:!!w.experimental.authInterrupts},cacheComponents:!!w.cacheComponents,supportsDynamicResponse:L,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:w.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>A.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g}},R=new l.NodeNextRequest(a),S=new l.NodeNextResponse(b),T=m.NextRequestAdapter.fromNodeNextRequest(R,(0,m.signalFromNodeResponse)(b));try{let e=async a=>A.handle(T,Q).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${N} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b)}else a.updateName(`${N} ${d}`)}),g=!!(0,h.getRequestMeta)(a,"minimalMode"),j=async h=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!g&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await e(h);a.fetchMetrics=Q.renderOpts.fetchMetrics;let i=Q.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=Q.renderOpts.collectedTags;if(!I)return await (0,p.I)(R,S,d,Q.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);j&&(b[s.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==Q.renderOpts.collectedRevalidate&&!(Q.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&Q.renderOpts.collectedRevalidate,e=void 0===Q.renderOpts.collectedExpire||Q.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:Q.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await A.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),b}},l=await A.handleResponse({req:a,nextConfig:w,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:k,waitUntil:c.waitUntil,isMinimalMode:g});if(!I)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});g||b.setHeader("x-nextjs-cache",C?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,q.fromNodeOutgoingHttpHeaders)(l.value.headers);return g&&I||m.delete(s.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,r.getCacheControlHeader)(l.cacheControl)),await (0,p.I)(R,S,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};P?await j(P):await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},j))}catch(b){if(b instanceof t.NoFallbackError||await A.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),I)throw b;return await (0,p.I)(R,S,new Response(null,{status:500})),null}}},3024:a=>{"use strict";a.exports=require("node:fs")},3033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3873:a=>{"use strict";a.exports=require("path")},4870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},5359:(a,b,c)=>{"use strict";let d,e;c.d(b,{$:()=>g});var f=c(7598);function g(){return function(a=21){var b;b=a|=0,!d||d.length<b?(d=Buffer.allocUnsafe(128*b),f.webcrypto.getRandomValues(d),e=0):e+b>d.length&&(f.webcrypto.getRandomValues(d),e=0),e+=b;let c="";for(let b=e-a;b<e;b++)c+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&d[b]];return c}(16)}},5440:(a,b,c)=>{"use strict";c.d(b,{t:()=>o,L:()=>p});var d=c(9021),e=c.n(d),f=c(1799),g=c(1421);let h=!1,i="";async function j(){let a=new Date,b=a.getHours(),c=`${a.getFullYear()}-${String(a.getMonth()+1).padStart(2,"0")}-${String(a.getDate()).padStart(2,"0")}`;if(9===b&&i!==c)try{let a,b;await o();let d=p(),e=d.prepare("SELECT t.title, t.status, p.name as project_name FROM tasks t JOIN projects p ON t.project_id = p.id WHERE t.is_today = 1 AND t.status != 'done'").all(),f=d.prepare("SELECT COUNT(*) as count FROM tasks WHERE status IN ('submitted', 'testing')").get(),h=d.prepare("SELECT COUNT(*) as count FROM tasks WHERE status = 'problem'").get(),j=[];if(e.length>0){for(let a of(j.push(`Today: ${e.length}개`),e.slice(0,5)))j.push(` - ${a.title}`);e.length>5&&j.push(` ... +${e.length-5}개`)}else j.push("Today 태스크가 없습니다.");f.count>0&&j.push(`진행 중: ${f.count}개`),h.count>0&&j.push(`문제: ${h.count}개`),a=j.join("\n").replace(/"/g,'\\"').replace(/\n/g,"\\n"),b=`display notification "${a}" with title "IM - 오늘의 할 일"`,(0,g.exec)(`osascript -e '${b}'`,a=>{a&&console.error("[Scheduler] notification error:",a.message)}),i=c}catch(a){console.error("[Scheduler] error:",a)}}class k{constructor(a,b){this.dirty=!1,this.db=a,this.dbPath=b}save(){if(!this.dirty)return;let a=this.db.export();e().writeFileSync(this.dbPath,Buffer.from(a)),this.dirty=!1}immediatelySave(){this.dirty=!0,this.save()}rowsToObjects(a,b){return b.map(b=>{let c={};return a.forEach((a,d)=>{c[a]=b[d]}),c})}prepare(a){let b=this,c=/^\s*(INSERT|UPDATE|DELETE|CREATE|ALTER|DROP)/i.test(a);return{all(...c){let d=b.db.prepare(a);c.length>0&&d.bind(c);let e=d.getColumnNames(),f=[];for(;d.step();)f.push(d.get());return d.free(),b.rowsToObjects(e,f)},get(...c){let d,e=b.db.prepare(a);if(c.length>0&&e.bind(c),e.step()){let a=e.getColumnNames(),b=e.get(),c={};a.forEach((a,d)=>{c[a]=b[d]}),d=c}return e.free(),d},run:(...d)=>(b.db.run(a,d),c&&b.immediatelySave(),{changes:b.db.getRowsModified()})}}exec(a){this.db.exec(a),/^\s*(INSERT|UPDATE|DELETE|CREATE|ALTER|DROP)/im.test(a)&&this.immediatelySave()}pragma(a){if(a.startsWith("table_info(")){let b=a.match(/table_info\((\w+)\)/)?.[1];if(!b)return[];let c=this.db.exec(`PRAGMA table_info(${b})`);return c.length?this.rowsToObjects(c[0].columns,c[0].values):[]}if(a.includes("journal_mode")||a.includes("wal_checkpoint"))return this.immediatelySave(),"memory";if(a.includes("foreign_keys")){try{this.db.run(`PRAGMA ${a}`)}catch{}return}try{let b=this.db.exec(`PRAGMA ${a}`);if(b.length>0&&b[0].values.length>0)return b[0].values[0][0]}catch{}}transaction(a){let b=this;return()=>{b.db.run("BEGIN");try{let c=a();return b.db.run("COMMIT"),b.immediatelySave(),c}catch(a){throw b.db.run("ROLLBACK"),a}}}close(){this.immediatelySave(),this.db.close()}}let l=null,m=null;async function n(){var a;let b,d,g;if(l)return l;let i=c(9482),m=await i(),n=(0,f.sA)();if(e().existsSync(n)){let a=e().readFileSync(n);b=new m.Database(a)}else b=new m.Database;return(a=l=new k(b,n)).exec(`
|
|
2
|
+
CREATE TABLE IF NOT EXISTS projects (
|
|
3
|
+
id TEXT PRIMARY KEY,
|
|
4
|
+
name TEXT NOT NULL,
|
|
5
|
+
description TEXT NOT NULL DEFAULT '',
|
|
6
|
+
project_path TEXT,
|
|
7
|
+
created_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
8
|
+
updated_at TEXT NOT NULL DEFAULT (datetime('now'))
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
CREATE TABLE IF NOT EXISTS brainstorms (
|
|
12
|
+
id TEXT PRIMARY KEY,
|
|
13
|
+
project_id TEXT NOT NULL,
|
|
14
|
+
content TEXT NOT NULL DEFAULT '',
|
|
15
|
+
version INTEGER NOT NULL DEFAULT 1,
|
|
16
|
+
created_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
17
|
+
updated_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
18
|
+
FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
`),(d=a.prepare("PRAGMA table_info(projects)").all()).some(a=>"project_path"===a.name)||a.exec("ALTER TABLE projects ADD COLUMN project_path TEXT"),d.some(a=>"ai_context"===a.name)||a.exec("ALTER TABLE projects ADD COLUMN ai_context TEXT NOT NULL DEFAULT ''"),d.some(a=>"watch_enabled"===a.name)||a.exec("ALTER TABLE projects ADD COLUMN watch_enabled INTEGER NOT NULL DEFAULT 0"),d.some(a=>"agent_type"===a.name)||a.exec("ALTER TABLE projects ADD COLUMN agent_type TEXT NOT NULL DEFAULT 'claude'"),a.exec(`
|
|
22
|
+
CREATE TABLE IF NOT EXISTS sub_projects (
|
|
23
|
+
id TEXT PRIMARY KEY,
|
|
24
|
+
project_id TEXT NOT NULL,
|
|
25
|
+
name TEXT NOT NULL,
|
|
26
|
+
description TEXT NOT NULL DEFAULT '',
|
|
27
|
+
folder_path TEXT,
|
|
28
|
+
sort_order INTEGER NOT NULL DEFAULT 0,
|
|
29
|
+
created_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
30
|
+
updated_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
31
|
+
FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
CREATE TABLE IF NOT EXISTS tasks (
|
|
35
|
+
id TEXT PRIMARY KEY,
|
|
36
|
+
project_id TEXT NOT NULL,
|
|
37
|
+
sub_project_id TEXT NOT NULL,
|
|
38
|
+
title TEXT NOT NULL,
|
|
39
|
+
description TEXT NOT NULL DEFAULT '',
|
|
40
|
+
status TEXT NOT NULL DEFAULT 'idea'
|
|
41
|
+
CHECK(status IN ('idea','writing','submitted','testing','done','problem')),
|
|
42
|
+
priority TEXT NOT NULL DEFAULT 'medium'
|
|
43
|
+
CHECK(priority IN ('high','medium','low')),
|
|
44
|
+
is_today INTEGER NOT NULL DEFAULT 0,
|
|
45
|
+
sort_order INTEGER NOT NULL DEFAULT 0,
|
|
46
|
+
created_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
47
|
+
updated_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
48
|
+
FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE,
|
|
49
|
+
FOREIGN KEY (sub_project_id) REFERENCES sub_projects(id) ON DELETE CASCADE
|
|
50
|
+
);
|
|
51
|
+
|
|
52
|
+
CREATE TABLE IF NOT EXISTS task_prompts (
|
|
53
|
+
id TEXT PRIMARY KEY,
|
|
54
|
+
task_id TEXT NOT NULL UNIQUE,
|
|
55
|
+
content TEXT NOT NULL DEFAULT '',
|
|
56
|
+
prompt_type TEXT NOT NULL DEFAULT 'manual'
|
|
57
|
+
CHECK(prompt_type IN ('manual','ai_assisted')),
|
|
58
|
+
created_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
59
|
+
updated_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
60
|
+
FOREIGN KEY (task_id) REFERENCES tasks(id) ON DELETE CASCADE
|
|
61
|
+
);
|
|
62
|
+
|
|
63
|
+
CREATE TABLE IF NOT EXISTS global_memos (
|
|
64
|
+
id TEXT PRIMARY KEY,
|
|
65
|
+
content TEXT NOT NULL DEFAULT '',
|
|
66
|
+
updated_at TEXT NOT NULL DEFAULT (datetime('now'))
|
|
67
|
+
);
|
|
68
|
+
|
|
69
|
+
CREATE TABLE IF NOT EXISTS task_conversations (
|
|
70
|
+
id TEXT PRIMARY KEY,
|
|
71
|
+
task_id TEXT NOT NULL,
|
|
72
|
+
role TEXT NOT NULL CHECK(role IN ('assistant','user')),
|
|
73
|
+
content TEXT NOT NULL,
|
|
74
|
+
created_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
75
|
+
FOREIGN KEY (task_id) REFERENCES tasks(id) ON DELETE CASCADE
|
|
76
|
+
);
|
|
77
|
+
`),(g=a.prepare("PRAGMA table_info(tasks)").all()).some(a=>"is_archived"===a.name)||a.exec("ALTER TABLE tasks ADD COLUMN is_archived INTEGER NOT NULL DEFAULT 0"),g.some(a=>"tags"===a.name)||a.exec("ALTER TABLE tasks ADD COLUMN tags TEXT NOT NULL DEFAULT '[]'"),process.on("exit",()=>l?.close()),h||(h=!0,setInterval(j,6e4),j(),console.log("[Scheduler] Morning notification scheduler started")),l}async function o(){return l||(m||(m=n()),m)}function p(){if(!l)throw Error("Database not initialized. Call await ensureDb() first.");return l}},6439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},6487:()=>{},7598:a=>{"use strict";a.exports=require("node:crypto")},8335:()=>{},9021:a=>{"use strict";a.exports=require("fs")},9294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},9933:(a,b,c)=>{"use strict";c.d(b,{Q$:()=>j,UT:()=>l,ec:()=>k,fn:()=>i,gg:()=>h,lC:()=>m,vq:()=>n,x1:()=>g});var d=c(5440),e=c(5359);function f(a){let b=[];try{b=JSON.parse(a.tags||"[]")}catch{}return{...a,is_today:1===a.is_today,is_archived:(a.is_archived??0)===1,tags:b}}function g(a){return(0,d.L)().prepare("SELECT * FROM tasks WHERE sub_project_id = ? AND is_archived = 0 ORDER BY sort_order ASC").all(a).map(f)}function h(a){let b=(0,d.L)().prepare("SELECT * FROM tasks WHERE id = ?").get(a);return b?f(b):void 0}function i(a){let b=(0,d.L)();return(a?b.prepare("SELECT * FROM tasks WHERE project_id = ? AND is_archived = 1 ORDER BY updated_at DESC").all(a):b.prepare("SELECT * FROM tasks WHERE is_archived = 1 ORDER BY updated_at DESC").all()).map(f)}function j(a){let b=(0,d.L)(),c=new Date().toISOString();return b.prepare("UPDATE tasks SET is_archived = 1, is_today = 0, updated_at = ? WHERE id = ?").run(c,a),h(a)}function k(a){let b=(0,d.L)(),c=new Date().toISOString();return b.prepare("UPDATE tasks SET is_archived = 0, updated_at = ? WHERE id = ?").run(c,a),h(a)}function l(a){let b=(0,d.L)(),c=(0,e.$)(),f=new Date().toISOString(),g=b.prepare("SELECT MAX(sort_order) as max_order FROM tasks WHERE sub_project_id = ?").get(a.sub_project_id),i=(g?.max_order??-1)+1;return b.prepare(`INSERT INTO tasks (id, project_id, sub_project_id, title, description, status, priority, is_today, sort_order, created_at, updated_at)
|
|
78
|
+
VALUES (?, ?, ?, ?, ?, ?, ?, 0, ?, ?, ?)`).run(c,a.project_id,a.sub_project_id,a.title,a.description??"",a.status??"idea",a.priority??"medium",i,f,f),h(c)}function m(a,b){let c=(0,d.L)(),e=c.prepare("SELECT * FROM tasks WHERE id = ?").get(a);if(!e)return;let f=new Date().toISOString();return c.prepare(`
|
|
79
|
+
UPDATE tasks SET
|
|
80
|
+
title = ?, description = ?, status = ?, priority = ?,
|
|
81
|
+
is_today = ?, sort_order = ?, sub_project_id = ?, tags = ?, updated_at = ?
|
|
82
|
+
WHERE id = ?
|
|
83
|
+
`).run(b.title??e.title,b.description??e.description,b.status??e.status,b.priority??e.priority,void 0!==b.is_today?+!!b.is_today:e.is_today,b.sort_order??e.sort_order,b.sub_project_id??e.sub_project_id,b.tags?JSON.stringify(b.tags):e.tags,f,a),h(a)}function n(a){return(0,d.L)().prepare("DELETE FROM tasks WHERE id = ?").run(a).changes>0}}};var b=require("../../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[445,813,482],()=>b(b.s=2348));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page
|
|
1
|
+
{"version":1,"files":["../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../../../node_modules/next/dist/lib/semver-noop.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/cache-signal.js","../../../../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.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/incremental-cache/memory-cache.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../package.json","../../../../../../../chunks/445.js","../../../../../../../chunks/482.js","../../../../../../../chunks/813.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST
|
|
2
|
-
globalThis.__RSC_MANIFEST["/api/projects/[id]/sub-projects/[subId]/tasks/route"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{},"ssrModuleMapping":{},"edgeSSRModuleMapping":{},"rscModuleMapping":{},"edgeRscModuleMapping":{},"entryCSSFiles":{},"entryJSFiles":{}}
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/projects/[id]/sub-projects/[subId]/tasks/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"484":{"*":{"id":"664","name":"*","chunks":[],"async":false}},"1048":{"*":{"id":"8935","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"440","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"1335","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"2265","name":"*","chunks":[],"async":false}},"5918":{"*":{"id":"4328","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"4661","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"5421","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"1921","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"4342","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/young/Toy/idea-manager/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist\",\"arguments\":[{\"variable\":\"--font-geist-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"geistSans\"}":{"id":421,"name":"*","chunks":["558","static/chunks/app/layout-52917f6c941a9818.js"],"async":false},"/Users/young/Toy/idea-manager/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist_Mono\",\"arguments\":[{\"variable\":\"--font-geist-mono\",\"subsets\":[\"latin\"]}],\"variableName\":\"geistMono\"}":{"id":9695,"name":"*","chunks":["558","static/chunks/app/layout-52917f6c941a9818.js"],"async":false},"/Users/young/Toy/idea-manager/src/app/globals.css":{"id":1743,"name":"*","chunks":["558","static/chunks/app/layout-52917f6c941a9818.js"],"async":false},"/Users/young/Toy/idea-manager/src/app/page.tsx":{"id":5918,"name":"*","chunks":["151","static/chunks/151-332d463cd8bd4db6.js","974","static/chunks/app/page-6bd6387a28d57acb.js"],"async":false},"/Users/young/Toy/idea-manager/src/app/projects/[id]/page.tsx":{"id":1048,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/young/Toy/idea-manager/src/":[],"/Users/young/Toy/idea-manager/src/app/layout":[{"inlined":false,"path":"static/css/cd2b29b661e5554a.css"}],"/Users/young/Toy/idea-manager/src/app/page":[],"/Users/young/Toy/idea-manager/src/app/api/projects/route":[],"/Users/young/Toy/idea-manager/src/app/api/projects/[id]/route":[],"/Users/young/Toy/idea-manager/src/app/api/projects/[id]/sub-projects/route":[],"/Users/young/Toy/idea-manager/src/app/api/projects/[id]/sub-projects/[subId]/route":[],"/Users/young/Toy/idea-manager/src/app/api/projects/[id]/sub-projects/[subId]/tasks/route":[]},"rscModuleMapping":{"484":{"*":{"id":"8562","name":"*","chunks":[],"async":false}},"1048":{"*":{"id":"8965","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"5098","name":"*","chunks":[],"async":false}},"1743":{"*":{"id":"1135","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"6237","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"3859","name":"*","chunks":[],"async":false}},"5918":{"*":{"id":"4494","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"6675","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"8099","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"5547","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"7644","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
@@ -1,6 +1,91 @@
|
|
|
1
|
-
var
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
(()=>{var a={};a.id=980,a.ids=[980],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},1421:a=>{"use strict";a.exports=require("node:child_process")},1799:(a,b,c)=>{"use strict";c.d(b,{bE:()=>m,sA:()=>k});var d=c(3873),e=c.n(d),f=c(1820),g=c.n(f),h=c(9021),i=c.n(h);let j=e().join(g().homedir(),".idea-manager","data");function k(){return e().join((i().existsSync(j)||i().mkdirSync(j,{recursive:!0}),j),"im.db")}let l=e().join(g().homedir(),".idea-manager","sync");function m(){return i().existsSync(l)||i().mkdirSync(l,{recursive:!0}),l}},1820:a=>{"use strict";a.exports=require("os")},3024:a=>{"use strict";a.exports=require("node:fs")},3033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3873:a=>{"use strict";a.exports=require("path")},4870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},5359:(a,b,c)=>{"use strict";let d,e;c.d(b,{$:()=>g});var f=c(7598);function g(){return function(a=21){var b;b=a|=0,!d||d.length<b?(d=Buffer.allocUnsafe(128*b),f.webcrypto.getRandomValues(d),e=0):e+b>d.length&&(f.webcrypto.getRandomValues(d),e=0),e+=b;let c="";for(let b=e-a;b<e;b++)c+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&d[b]];return c}(16)}},5440:(a,b,c)=>{"use strict";c.d(b,{t:()=>o,L:()=>p});var d=c(9021),e=c.n(d),f=c(1799),g=c(1421);let h=!1,i="";async function j(){let a=new Date,b=a.getHours(),c=`${a.getFullYear()}-${String(a.getMonth()+1).padStart(2,"0")}-${String(a.getDate()).padStart(2,"0")}`;if(9===b&&i!==c)try{let a,b;await o();let d=p(),e=d.prepare("SELECT t.title, t.status, p.name as project_name FROM tasks t JOIN projects p ON t.project_id = p.id WHERE t.is_today = 1 AND t.status != 'done'").all(),f=d.prepare("SELECT COUNT(*) as count FROM tasks WHERE status IN ('submitted', 'testing')").get(),h=d.prepare("SELECT COUNT(*) as count FROM tasks WHERE status = 'problem'").get(),j=[];if(e.length>0){for(let a of(j.push(`Today: ${e.length}개`),e.slice(0,5)))j.push(` - ${a.title}`);e.length>5&&j.push(` ... +${e.length-5}개`)}else j.push("Today 태스크가 없습니다.");f.count>0&&j.push(`진행 중: ${f.count}개`),h.count>0&&j.push(`문제: ${h.count}개`),a=j.join("\n").replace(/"/g,'\\"').replace(/\n/g,"\\n"),b=`display notification "${a}" with title "IM - 오늘의 할 일"`,(0,g.exec)(`osascript -e '${b}'`,a=>{a&&console.error("[Scheduler] notification error:",a.message)}),i=c}catch(a){console.error("[Scheduler] error:",a)}}class k{constructor(a,b){this.dirty=!1,this.db=a,this.dbPath=b}save(){if(!this.dirty)return;let a=this.db.export();e().writeFileSync(this.dbPath,Buffer.from(a)),this.dirty=!1}immediatelySave(){this.dirty=!0,this.save()}rowsToObjects(a,b){return b.map(b=>{let c={};return a.forEach((a,d)=>{c[a]=b[d]}),c})}prepare(a){let b=this,c=/^\s*(INSERT|UPDATE|DELETE|CREATE|ALTER|DROP)/i.test(a);return{all(...c){let d=b.db.prepare(a);c.length>0&&d.bind(c);let e=d.getColumnNames(),f=[];for(;d.step();)f.push(d.get());return d.free(),b.rowsToObjects(e,f)},get(...c){let d,e=b.db.prepare(a);if(c.length>0&&e.bind(c),e.step()){let a=e.getColumnNames(),b=e.get(),c={};a.forEach((a,d)=>{c[a]=b[d]}),d=c}return e.free(),d},run:(...d)=>(b.db.run(a,d),c&&b.immediatelySave(),{changes:b.db.getRowsModified()})}}exec(a){this.db.exec(a),/^\s*(INSERT|UPDATE|DELETE|CREATE|ALTER|DROP)/im.test(a)&&this.immediatelySave()}pragma(a){if(a.startsWith("table_info(")){let b=a.match(/table_info\((\w+)\)/)?.[1];if(!b)return[];let c=this.db.exec(`PRAGMA table_info(${b})`);return c.length?this.rowsToObjects(c[0].columns,c[0].values):[]}if(a.includes("journal_mode")||a.includes("wal_checkpoint"))return this.immediatelySave(),"memory";if(a.includes("foreign_keys")){try{this.db.run(`PRAGMA ${a}`)}catch{}return}try{let b=this.db.exec(`PRAGMA ${a}`);if(b.length>0&&b[0].values.length>0)return b[0].values[0][0]}catch{}}transaction(a){let b=this;return()=>{b.db.run("BEGIN");try{let c=a();return b.db.run("COMMIT"),b.immediatelySave(),c}catch(a){throw b.db.run("ROLLBACK"),a}}}close(){this.immediatelySave(),this.db.close()}}let l=null,m=null;async function n(){var a;let b,d,g;if(l)return l;let i=c(9482),m=await i(),n=(0,f.sA)();if(e().existsSync(n)){let a=e().readFileSync(n);b=new m.Database(a)}else b=new m.Database;return(a=l=new k(b,n)).exec(`
|
|
2
|
+
CREATE TABLE IF NOT EXISTS projects (
|
|
3
|
+
id TEXT PRIMARY KEY,
|
|
4
|
+
name TEXT NOT NULL,
|
|
5
|
+
description TEXT NOT NULL DEFAULT '',
|
|
6
|
+
project_path TEXT,
|
|
7
|
+
created_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
8
|
+
updated_at TEXT NOT NULL DEFAULT (datetime('now'))
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
CREATE TABLE IF NOT EXISTS brainstorms (
|
|
12
|
+
id TEXT PRIMARY KEY,
|
|
13
|
+
project_id TEXT NOT NULL,
|
|
14
|
+
content TEXT NOT NULL DEFAULT '',
|
|
15
|
+
version INTEGER NOT NULL DEFAULT 1,
|
|
16
|
+
created_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
17
|
+
updated_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
18
|
+
FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
`),(d=a.prepare("PRAGMA table_info(projects)").all()).some(a=>"project_path"===a.name)||a.exec("ALTER TABLE projects ADD COLUMN project_path TEXT"),d.some(a=>"ai_context"===a.name)||a.exec("ALTER TABLE projects ADD COLUMN ai_context TEXT NOT NULL DEFAULT ''"),d.some(a=>"watch_enabled"===a.name)||a.exec("ALTER TABLE projects ADD COLUMN watch_enabled INTEGER NOT NULL DEFAULT 0"),d.some(a=>"agent_type"===a.name)||a.exec("ALTER TABLE projects ADD COLUMN agent_type TEXT NOT NULL DEFAULT 'claude'"),a.exec(`
|
|
22
|
+
CREATE TABLE IF NOT EXISTS sub_projects (
|
|
23
|
+
id TEXT PRIMARY KEY,
|
|
24
|
+
project_id TEXT NOT NULL,
|
|
25
|
+
name TEXT NOT NULL,
|
|
26
|
+
description TEXT NOT NULL DEFAULT '',
|
|
27
|
+
folder_path TEXT,
|
|
28
|
+
sort_order INTEGER NOT NULL DEFAULT 0,
|
|
29
|
+
created_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
30
|
+
updated_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
31
|
+
FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
CREATE TABLE IF NOT EXISTS tasks (
|
|
35
|
+
id TEXT PRIMARY KEY,
|
|
36
|
+
project_id TEXT NOT NULL,
|
|
37
|
+
sub_project_id TEXT NOT NULL,
|
|
38
|
+
title TEXT NOT NULL,
|
|
39
|
+
description TEXT NOT NULL DEFAULT '',
|
|
40
|
+
status TEXT NOT NULL DEFAULT 'idea'
|
|
41
|
+
CHECK(status IN ('idea','writing','submitted','testing','done','problem')),
|
|
42
|
+
priority TEXT NOT NULL DEFAULT 'medium'
|
|
43
|
+
CHECK(priority IN ('high','medium','low')),
|
|
44
|
+
is_today INTEGER NOT NULL DEFAULT 0,
|
|
45
|
+
sort_order INTEGER NOT NULL DEFAULT 0,
|
|
46
|
+
created_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
47
|
+
updated_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
48
|
+
FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE,
|
|
49
|
+
FOREIGN KEY (sub_project_id) REFERENCES sub_projects(id) ON DELETE CASCADE
|
|
50
|
+
);
|
|
51
|
+
|
|
52
|
+
CREATE TABLE IF NOT EXISTS task_prompts (
|
|
53
|
+
id TEXT PRIMARY KEY,
|
|
54
|
+
task_id TEXT NOT NULL UNIQUE,
|
|
55
|
+
content TEXT NOT NULL DEFAULT '',
|
|
56
|
+
prompt_type TEXT NOT NULL DEFAULT 'manual'
|
|
57
|
+
CHECK(prompt_type IN ('manual','ai_assisted')),
|
|
58
|
+
created_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
59
|
+
updated_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
60
|
+
FOREIGN KEY (task_id) REFERENCES tasks(id) ON DELETE CASCADE
|
|
61
|
+
);
|
|
62
|
+
|
|
63
|
+
CREATE TABLE IF NOT EXISTS global_memos (
|
|
64
|
+
id TEXT PRIMARY KEY,
|
|
65
|
+
content TEXT NOT NULL DEFAULT '',
|
|
66
|
+
updated_at TEXT NOT NULL DEFAULT (datetime('now'))
|
|
67
|
+
);
|
|
68
|
+
|
|
69
|
+
CREATE TABLE IF NOT EXISTS task_conversations (
|
|
70
|
+
id TEXT PRIMARY KEY,
|
|
71
|
+
task_id TEXT NOT NULL,
|
|
72
|
+
role TEXT NOT NULL CHECK(role IN ('assistant','user')),
|
|
73
|
+
content TEXT NOT NULL,
|
|
74
|
+
created_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
75
|
+
FOREIGN KEY (task_id) REFERENCES tasks(id) ON DELETE CASCADE
|
|
76
|
+
);
|
|
77
|
+
`),(g=a.prepare("PRAGMA table_info(tasks)").all()).some(a=>"is_archived"===a.name)||a.exec("ALTER TABLE tasks ADD COLUMN is_archived INTEGER NOT NULL DEFAULT 0"),g.some(a=>"tags"===a.name)||a.exec("ALTER TABLE tasks ADD COLUMN tags TEXT NOT NULL DEFAULT '[]'"),process.on("exit",()=>l?.close()),h||(h=!0,setInterval(j,6e4),j(),console.log("[Scheduler] Morning notification scheduler started")),l}async function o(){return l||(m||(m=n()),m)}function p(){if(!l)throw Error("Database not initialized. Call await ensureDb() first.");return l}},6439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},6487:()=>{},7228:(a,b,c)=>{"use strict";c.d(b,{G8:()=>f,NG:()=>j,bU:()=>i,en:()=>h,kh:()=>g,y4:()=>k});var d=c(5440),e=c(5359);function f(a){return(0,d.L)().prepare("SELECT * FROM sub_projects WHERE id = ?").get(a)}function g(a){let b=(0,d.L)();return b.prepare("SELECT * FROM sub_projects WHERE project_id = ? ORDER BY sort_order ASC").all(a).map(a=>{let c=b.prepare(`
|
|
78
|
+
SELECT
|
|
79
|
+
COUNT(*) as task_count,
|
|
80
|
+
SUM(CASE WHEN status IN ('submitted','testing') THEN 1 ELSE 0 END) as active_count,
|
|
81
|
+
SUM(CASE WHEN status IN ('idea','writing') THEN 1 ELSE 0 END) as pending_count,
|
|
82
|
+
SUM(CASE WHEN status = 'done' THEN 1 ELSE 0 END) as done_count,
|
|
83
|
+
SUM(CASE WHEN status = 'problem' THEN 1 ELSE 0 END) as problem_count,
|
|
84
|
+
MAX(updated_at) as last_activity
|
|
85
|
+
FROM tasks WHERE sub_project_id = ? AND is_archived = 0
|
|
86
|
+
`).get(a.id),d=b.prepare(`SELECT title, status FROM tasks WHERE sub_project_id = ? AND is_archived = 0
|
|
87
|
+
ORDER BY CASE status
|
|
88
|
+
WHEN 'submitted' THEN 0 WHEN 'testing' THEN 1 WHEN 'writing' THEN 2
|
|
89
|
+
WHEN 'idea' THEN 3 WHEN 'problem' THEN 4 WHEN 'done' THEN 5
|
|
90
|
+
END, sort_order ASC LIMIT 5`).all(a.id);return{...a,task_count:c.task_count??0,active_count:c.active_count??0,pending_count:c.pending_count??0,done_count:c.done_count??0,problem_count:c.problem_count??0,last_activity:c.last_activity,preview_tasks:d}})}function h(a){let b=(0,d.L)(),c=(0,e.$)(),g=new Date().toISOString(),h=b.prepare("SELECT MAX(sort_order) as max_order FROM sub_projects WHERE project_id = ?").get(a.project_id),i=(h?.max_order??-1)+1;return b.prepare(`INSERT INTO sub_projects (id, project_id, name, description, folder_path, sort_order, created_at, updated_at)
|
|
91
|
+
VALUES (?, ?, ?, ?, ?, ?, ?, ?)`).run(c,a.project_id,a.name,a.description??"",a.folder_path??null,i,g,g),f(c)}function i(a,b){let c=(0,d.L)(),e=f(a);if(!e)return;let g=new Date().toISOString();return c.prepare("UPDATE sub_projects SET name = ?, description = ?, folder_path = ?, updated_at = ? WHERE id = ?").run(b.name??e.name,b.description??e.description,void 0!==b.folder_path?b.folder_path:e.folder_path,g,a),f(a)}function j(a){return(0,d.L)().prepare("DELETE FROM sub_projects WHERE id = ?").run(a).changes>0}function k(a,b){let c=(0,d.L)(),e=c.prepare("UPDATE sub_projects SET sort_order = ? WHERE id = ? AND project_id = ?");c.transaction(()=>{b.forEach((b,c)=>e.run(c,b,a))})()}},7598:a=>{"use strict";a.exports=require("node:crypto")},8231:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>G,patchFetch:()=>F,routeModule:()=>B,serverHooks:()=>E,workAsyncStorage:()=>C,workUnitAsyncStorage:()=>D});var d={};c.r(d),c.d(d,{GET:()=>y,POST:()=>z,PUT:()=>A});var e=c(9225),f=c(4006),g=c(8317),h=c(9373),i=c(4775),j=c(4235),k=c(261),l=c(4365),m=c(771),n=c(3461),o=c(7798),p=c(2280),q=c(2018),r=c(5696),s=c(7929),t=c(6439),u=c(7527),v=c(5592),w=c(7228),x=c(5440);async function y(a,{params:b}){await (0,x.t)();let{id:c}=await b,d=(0,w.kh)(c);return v.NextResponse.json(d)}async function z(a,{params:b}){await (0,x.t)();let{id:c}=await b,d=await a.json();if(!d.name||"string"!=typeof d.name)return v.NextResponse.json({error:"name is required"},{status:400});let e=(0,w.en)({project_id:c,name:d.name,description:d.description,folder_path:d.folder_path});return v.NextResponse.json(e,{status:201})}async function A(a,{params:b}){await (0,x.t)();let{id:c}=await b,d=await a.json();if(!Array.isArray(d.orderedIds))return v.NextResponse.json({error:"orderedIds array is required"},{status:400});(0,w.y4)(c,d.orderedIds);let e=(0,w.kh)(c);return v.NextResponse.json(e)}let B=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/projects/[id]/sub-projects/route",pathname:"/api/projects/[id]/sub-projects",filename:"route",bundlePath:"app/api/projects/[id]/sub-projects/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/young/Toy/idea-manager/src/app/api/projects/[id]/sub-projects/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:C,workUnitAsyncStorage:D,serverHooks:E}=B;function F(){return(0,g.patchFetch)({workAsyncStorage:C,workUnitAsyncStorage:D})}async function G(a,b,c){B.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/projects/[id]/sub-projects/route";"/index"===d&&(d="/");let e=await B.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,params:v,nextConfig:w,parsedUrl:x,isDraftMode:y,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(z.dynamicRoutes[H]||z.routes[E]),J=async()=>((null==A?void 0:A.render404)?await A.render404(a,b,x,!1):b.end("This page could not be found"),null);if(I&&!y){let a=!!z.routes[E],b=z.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(w.experimental.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||B.isDev||y||(K="/index"===(K=E)?"/":K);let L=!0===B.isDev||!I,M=I&&!L;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q={params:v,prerenderManifest:z,renderOpts:{experimental:{authInterrupts:!!w.experimental.authInterrupts},cacheComponents:!!w.cacheComponents,supportsDynamicResponse:L,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:w.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>B.onRequestError(a,b,d,e,A)},sharedContext:{buildId:g}},R=new l.NodeNextRequest(a),S=new l.NodeNextResponse(b),T=m.NextRequestAdapter.fromNodeNextRequest(R,(0,m.signalFromNodeResponse)(b));try{let e=async a=>B.handle(T,Q).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${N} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b)}else a.updateName(`${N} ${d}`)}),g=!!(0,h.getRequestMeta)(a,"minimalMode"),j=async h=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!g&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await e(h);a.fetchMetrics=Q.renderOpts.fetchMetrics;let i=Q.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=Q.renderOpts.collectedTags;if(!I)return await (0,p.I)(R,S,d,Q.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);j&&(b[s.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==Q.renderOpts.collectedRevalidate&&!(Q.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&Q.renderOpts.collectedRevalidate,e=void 0===Q.renderOpts.collectedExpire||Q.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:Q.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await B.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,A),b}},l=await B.handleResponse({req:a,nextConfig:w,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:k,waitUntil:c.waitUntil,isMinimalMode:g});if(!I)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});g||b.setHeader("x-nextjs-cache",C?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,q.fromNodeOutgoingHttpHeaders)(l.value.headers);return g&&I||m.delete(s.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,r.getCacheControlHeader)(l.cacheControl)),await (0,p.I)(R,S,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};P?await j(P):await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},j))}catch(b){if(b instanceof t.NoFallbackError||await B.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,A),I)throw b;return await (0,p.I)(R,S,new Response(null,{status:500})),null}}},8335:()=>{},9021:a=>{"use strict";a.exports=require("fs")},9294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[445,813,482],()=>b(b.s=8231));module.exports=c})();
|